diff --git a/AUTHORS.rst b/AUTHORS.rst index f2807d8478f..bec158e3c26 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -92,3 +92,4 @@ The following organizations or individuals have contributed to ScanCode: - Yash D. Saraf @yashdsaraf - Yash Nisar @yash-nisar - Yash Sharma @yasharmaster +- Yunus Rahbar @yns88 diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 55c10bfb210..9fa30292f0a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,11 +1,15 @@ Changelog ========= -v21.x.x (next) --------------- +v21.x.x (next, future) +----------------------- -Breaking API changes: -~~~~~~~~~~~~~~~~~~~~~ +Important API changes: +~~~~~~~~~~~~~~~~~~~~~~~~ + + - The data structure of the JSON output is now versioned and the next version + is available with a new command line option. We are also documenting a new + and clear API policy and backward compatibility policy. - The data structure of the JSON output has changed for copyrights, authors and holders: we now use proper name for attributes and not a generic "value". @@ -20,53 +24,232 @@ Breaking API changes: - The data structure of the JSON output has changed for packages: we now return "package_manifests" package information at the manifest file-level rather than "packages". There is a a new top-level "packages" attribute - that contains each package instace that can be aggregating data from + that contains each package instance that can be aggregating data from multiple manifests for a single package instance. + - The data structure for HTML output has been changed to include emails and urls under the + "infos" object. Now HTML template will output holders, authors, emails, and + urls into separate tables like "licenses" and "copyrights". + +Copyright detection: +~~~~~~~~~~~~~~~~~~~~ + + - The data structure in the JSON is now using consistently named attributes as + opposed to a plain value. + + +Package detection: +~~~~~~~~~~~~~~~~~~ + + - Add support for OpenWRT packages. + - Add support for Yocto/BitBake .bb recipes. + - Add support to track installed files for each Package type. + + +License detection: +~~~~~~~~~~~~~~~~~~~ + +- Unknown licenses have a new flag "is_unknown" to identify them + beyond just the naming convention of having "unknown" as part of their name. + +- Rules that match at least one unknown license have a flag "has_unknown" set + in the returned match results. + + +Many thanks to every contributors that made this possible and in particular: + +- Akanksha Garg @akugarg +- Ayan Sinha Mahapatra @AyanSinhaMahapatra +- Jono Yang @JonoYang +- Philippe Ombredanne @pombredanne + + + +v21.8.4 +--------- + +This is a minor bug fix release primarily for Windows installation. +There is no feature change. + +Installation: +~~~~~~~~~~~~~~~~~~ + +- Application installation on Windows works again. This fixes #2610 +- We now build and test app bundles on all supported Python versions: 3.6 to 3.9 + + +Thank you to @gunaztar for reporting the #2610 bug + +Documentation: +~~~~~~~~~~~~~~~~~~ + +- Documentation is updated to reference supported Python versions 3.6 to 3.9 + + + +v21.7.30 +--------- + +This is a minor release with several bug fixes, major performance improvements +and support for new and improved package formats + + +Many thanks to every contributors that made this possible and in particular: + +- Abhigya Verma @abhi27-web +- Ayan Sinha Mahapatra @AyanSinhaMahapatra +- Dennis Clark @DennisClark +- Jono Yang @JonoYang +- Mayur Agarwal @mrmayurgithub +- Philippe Ombredanne @pombredanne +- Pierre Tardy @tardyp + + +Outputs: +~~~~~~~~ + + - Add new YAML-formatted output. This is exactly the same data structure as for + the JSON output + - Add new Debian machine readable copyright output. + - The CSV output "Resource" column has been renamed to "path". + - The SPDX output now has the mandatory DocumentNamespace attribute per SPDX specs #2344 + + +Copyright detection: +~~~~~~~~~~~~~~~~~~~~ + + - The copyright detection speed has been significantly improved with the tests + taking roughly 1/2 of the time to run. This is achieved mostly by replacing + NLTK with a the minimal and simplified subset we need in a new library named + pygmars. + +License detection: +~~~~~~~~~~~~~~~~~~~ + + - Add new licenses: now tracking 1763 licenses + - Add new license detection rules: now tracking 29475 license detection rules + - We have also improved license expression parsing and processing + -v21.6.2 +Package detection: +~~~~~~~~~~~~~~~~~~ + + - The Debian packages declared license detection has been significantly improved. + - The Alpine packages declared license detection has been significantly improved. + - There is new support for shell parsing and Alpine packages APKBUILD data collection. + - There is new support for various Windows packages detection using multiple + techniques including MSI, Windows registry and several more. + - There is new support for Distroless Debian-like installed packages. + - There is new support for Dart Pub package manifests. + + +v21.6.7 -------- +This is a major new release with important security and bug fixes, as well as +significant improvement in license detection. + + +Many thanks to every contributors that made this possible and in particular: + +- Akanksha Garg @akugarg +- Ayan Sinha Mahapatra @AyanSinhaMahapatra +- Dennis Clark @DennisClark +- François Granade @farialima +- Hanna Modica @hanna-modica +- Jelmer Vernooij @jelmer +- Jono Yang @JonoYang +- Konrad Weihmann @priv-kweihmann +- Philippe Ombredanne @pombredanne +- Pierre Tardy @tardyp +- Sarita Singh @itssingh +- Sebastian Thomas @sebathomas +- Steven Esser @majurg +- Till Jaeger @LeChasseur +- Thomas Druez @tdruez + + + Breaking API changes: ~~~~~~~~~~~~~~~~~~~~~ - The configure scripts for Linux, macOS and Windows have been entirely refactored and should be considered as new. These are now only native scripts (.bat on Windows and .sh on POSIX) and the Python script etc/configure.py - has been removed. Use the PYTHON_EXECUTABLE enviroment variable to point to + has been removed. Use the PYTHON_EXECUTABLE environment variable to point to alternative non-default Python executable and this on all OSes. + Security updates: ~~~~~~~~~~~~~~~~~ - Update minimum versions and pinned version of thirdparty dependencies - to benefit from latest improvements and sceurity fixes. This includes in + to benefit from latest improvements and security fixes. This includes in particular this issues: - pkg:pypi/pygments: (low severity, limited impact) CVE-2021-20270, CVE-2021-27291 - pkg:pypi/lxml: (low severity, likely no impact) CVE-2021-28957 - pkg:pypi/nltk: (low severity, likely no impact) CVE-2019-14751 - pkg:pypi/jinja2: (low severity, likely no impact) CVE-2020-28493, CVE-2019-10906 - - pkg:pypi/pycryptodome: (high severity) CVE-2018-15560 (dropped since no longer used) + - pkg:pypi/pycryptodome: (high severity) CVE-2018-15560 (dropped since no + longer used by pdfminer) -Ouputs: -~~~~~~~ +Outputs: +~~~~~~~~ - - Add new YAML-formatted output. This is exactly the same data structure as for - the JSON output + - The JSON output packages section has a new "extra_data" attributes which is + a JSON object that can contain arbitrary data that are specific to a package + type. -License scanning: -~~~~~~~~~~~~~~~~~ +License detection: +~~~~~~~~~~~~~~~~~~~ - - Add new command line option to filter ignorable copyrights when included - in licenses. + - The SPDX license list has been update to 3.13 - - Add new and improved license detection rules. - Thank you to: - - Sebastian Thomas @sebathomas - - Till Jaeger @LeChasseur + - Add 42 new and update 45 existing licenses. + + - Over 14,300 new and improved license detection rules have been added. A large + number of these (~13,400) are to avoid false positive detection. + + +Copyright detection: +~~~~~~~~~~~~~~~~~~~~ + + - Improved speed and fixed some timeout issues. Fixed minor misc. bugs. + + - Allow calling copyright detection from text lines to ease integration + + +Package detection: +~~~~~~~~~~~~~~~~~~ + + - A new "extra_data" dictionary is now part of the "packages" data in the + returned JSON. This is used to store arbitrary type-specific data that do + cannot be fit in the Package data structure. + + - The Debian copyright files license detection has been reworked and + significantly improved. + + - The PyPI package detection and manifest parsing has been reworked and + significantly improved. + + - The detection of Windows executables and DLLs metadata has been enabled. + These metadata are returned as packages. + + +Other: +~~~~~~~ + - Most third-party libraries have been updated to their newer versions. Some + dependency constraints have been relaxed to help some usage as a library. + + - The on-commit CI tests now validate that we can install from PyPI without + problem. + + - Fix several installation issues. + + - Add new function to detect copyrights from lines. @@ -121,9 +304,6 @@ Copyright scanning: - Fix bug when using the --filter-clues command line option Thank you to Van Lindberg @VanL - - Allow calling copyright detection from text lines to ease integration - Thank you to Jelmer Vernooij @jelmer - - Fixed copyright truncation bug Thank you to Akanksha Garg @akugarg @@ -152,8 +332,8 @@ Package scanning: Thank you to Jonothan Yang @JonoYang and Steven Esser @majurg -Ouputs: -~~~~~~~ +Outputs: +~~~~~~~~~ - Add new Debian copyright-formatted output. Thank you to Jelmer Vernooij @jelmer @@ -420,33 +600,33 @@ v3.0.0 (2019-02-14) ------------------- License detection: - * Add new and improved licenses and license detection rules #1334 #1335 #1336 #1337 ##1357 - * Fix-up the license text inside the `bsl-*.LICENSE` files #1338 by @fviernau - * Add tests for commnon NuGet license bare URLs (until recently NuGet nupsec + - Add new and improved licenses and license detection rules #1334 #1335 #1336 #1337 ##1357 + - Fix-up the license text inside the `bsl-*.LICENSE` files #1338 by @fviernau + - Add tests for commnon NuGet license bare URLs (until recently NuGet nupsec only had a license URL as licensing documentation) - * Add a license for the `PSK` contributions to OpenSSL #1341 by @fviernau - * Improve License Match scoring and filtering for very short rules - * Do not run license and copyright detection on media files: Media should not + - Add a license for the `PSK` contributions to OpenSSL #1341 by @fviernau + - Improve License Match scoring and filtering for very short rules + - Do not run license and copyright detection on media files: Media should not contain text #1347 #1348 - * Detect scea-1.0 license correctly #1346 - * Do not detect warranty disclaimer as GPL #1345 - * Support quoted SPDX expressions and more comment marker prefixes - * Use Free Restricted category for fraunhofer-fdk-aac-codec #1352 by @LeChasseur - * Remove the spdx_license_key from here-proprietary #1360 by @sschuberth - * Add new post-scan plugin to tag a file containing only license #1366 - * Add new license #1365 and rules #1358 + - Detect scea-1.0 license correctly #1346 + - Do not detect warranty disclaimer as GPL #1345 + - Support quoted SPDX expressions and more comment marker prefixes + - Use Free Restricted category for fraunhofer-fdk-aac-codec #1352 by @LeChasseur + - Remove the spdx_license_key from here-proprietary #1360 by @sschuberth + - Add new post-scan plugin to tag a file containing only license #1366 + - Add new license #1365 and rules #1358 Packages: - * Improve npm vcs_url handling #1314 by @majurg - * Improve Maven POM license detection #1344 - * Add Maven POM URL detection - * Recognize .gem archives as packages - * Improve parsing of Pypi Python setup.py - * Improve package summaries. Add new plugin to improve package classification #1339 + - Improve npm vcs_url handling #1314 by @majurg + - Improve Maven POM license detection #1344 + - Add Maven POM URL detection + - Recognize .gem archives as packages + - Improve parsing of Pypi Python setup.py + - Improve package summaries. Add new plugin to improve package classification #1339 Other: - * Fix doc typo by #1329 @farialima - * Add new experimental pre-scan plugin to ignore binaries + - Fix doc typo by #1329 @farialima + - Add new experimental pre-scan plugin to ignore binaries v2.9.9 (2018-12-12) @@ -455,15 +635,15 @@ v2.9.9 (2018-12-12) This is the penultimate pre-release of what will come up for 3.0 with some API change for packages. API changes: - * Streamline Package models #1226 #1324 and #1327. In particular the way checksums are managed has changed + - Streamline Package models #1226 #1324 and #1327. In particular the way checksums are managed has changed Other changes: - * Copyright detection improvements #1305 by @JonoYang - * Correct CC-BY V3.0 and V4.0 license texts by correct one by @sschuberth #1320 - * Add new and improved licenses and license detection rules including the latest SPDX list 3.4 and #1322 #1324 - * Rename proprietary license key to proprietary-license - * Rename commercial license key to commercial-license - * Improve npm package.json handling #1308 and #1314 by @majurg + - Copyright detection improvements #1305 by @JonoYang + - Correct CC-BY V3.0 and V4.0 license texts by correct one by @sschuberth #1320 + - Add new and improved licenses and license detection rules including the latest SPDX list 3.4 and #1322 #1324 + - Rename proprietary license key to proprietary-license + - Rename commercial license key to commercial-license + - Improve npm package.json handling #1308 and #1314 by @majurg v2.9.8 (2018-12-12) @@ -472,85 +652,85 @@ v2.9.8 (2018-12-12) This is a close-to-final pre-release of what will come up for 3.0 with some API change for packages. API changes: - * In Package models, rename normalized_license to license_expression and + - In Package models, rename normalized_license to license_expression and add license detection on the declared_license to populate the license_expression #1092 #1268 #1278 Outputs: - * Do not open output files until the command lines are validated as correct #1266 - * The html-app output is marked as DEPRECATED. Use the AboutCode manager app instead # - * Ensure HTML outputs can deal with non-ASCII file paths without crashsing #1292 - * JSON outputs now use a "headers" attributes for top-level scan headers # - * SPDX output is now possible even without "--info" SHA1 checksums. This creates a partially valid document - * LicenseRef for non-SPDX ScanCode licenses are named as "LicenseRef-scancode-" # - * license_expression are correctly included in the CSV output #1238 - * do not crash with multiple outputs #1199 - * Ensure CSV output include packages #1145 + - Do not open output files until the command lines are validated as correct #1266 + - The html-app output is marked as DEPRECATED. Use the AboutCode manager app instead # + - Ensure HTML outputs can deal with non-ASCII file paths without crashsing #1292 + - JSON outputs now use a "headers" attributes for top-level scan headers # + - SPDX output is now possible even without "--info" SHA1 checksums. This creates a partially valid document + - LicenseRef for non-SPDX ScanCode licenses are named as "LicenseRef-scancode-" # + - license_expression are correctly included in the CSV output #1238 + - do not crash with multiple outputs #1199 + - Ensure CSV output include packages #1145 License detection: - * Ensure license expressions are present in CSV output #1238 - * Fix 'license detection tests' collection on Windows #1182 - * An optional "relevance" attribute has been added to the license YAML + - Ensure license expressions are present in CSV output #1238 + - Fix 'license detection tests' collection on Windows #1182 + - An optional "relevance" attribute has been added to the license YAML attributes. This is to store the relevance to e matched .LICENSE text when used as a rule. - * Licenses have been synchronized with the latest v3.3 SPDX license list and the latest DejaCode licenses #1242 - * Duplicated SPDX keys have been fixed #1264 - * Add new and improved license detection rules #1313 #1306 #1302 #1298 #1293 + - Licenses have been synchronized with the latest v3.3 SPDX license list and the latest DejaCode licenses #1242 + - Duplicated SPDX keys have been fixed #1264 + - Add new and improved license detection rules #1313 #1306 #1302 #1298 #1293 #1291 #1289 #1270 #1269 #1192 #1186 #1170 #1164 #1128 #1124 #1112 #1110 #1108 #1098 #1069 #1063 #1058 #1052 #1050 #1039 #987 #962 #929 Packages: - * Add support for haxe "haxelib" package manifests #1227 - * Remove code_type attribute from Package models - * In Package models, rename normalized_license to license_expression and + - Add support for haxe "haxelib" package manifests #1227 + - Remove code_type attribute from Package models + - In Package models, rename normalized_license to license_expression and add license detection on the declared_license to populate the license_expression #1092 #1268 #1278 - * Improve data returned for PHP Composer packages - * Add PackageURL to top level ouput for packages - * Report nuget as proper packages #1088 + - Improve data returned for PHP Composer packages + - Add PackageURL to top level output for packages + - Report nuget as proper packages #1088 Summary: - * improve summary and license score computation #1180 + - improve summary and license score computation #1180 Misc: - * Minor copyright detection improvements #1248 #1244 #1234 #1198 #1123 #1087 - * Ensure all temporary directories are prefixed with "scancode-" - * Drop support for Linux 32 bits #1259 - * Do not attempt to scan encrypted PDF documents - * Improve "data" files detection - * ScanCode can be installed from Pypi correctly #1214 #1183 - * Improve reporting of programming languages #1194 - * Fix running post scan plugins #1141 + - Minor copyright detection improvements #1248 #1244 #1234 #1198 #1123 #1087 + - Ensure all temporary directories are prefixed with "scancode-" + - Drop support for Linux 32 bits #1259 + - Do not attempt to scan encrypted PDF documents + - Improve "data" files detection + - ScanCode can be installed from Pypi correctly #1214 #1183 + - Improve reporting of programming languages #1194 + - Fix running post scan plugins #1141 Command line: - * Always delete temporary files when no longer needed. #1231 - * Add a new --keep-temp-files option to keep temp files which is false by default. #1231 - * Improve dependent plugin activation so it is done only when needed #1235 + - Always delete temporary files when no longer needed. #1231 + - Add a new --keep-temp-files option to keep temp files which is false by default. #1231 + - Improve dependent plugin activation so it is done only when needed #1235 Internals: - * Improve reusing resource.VirtualCode - * Place all third-party packages under thirdparty #1219 and update ABOUT files + - Improve reusing resource.VirtualCode + - Place all third-party packages under thirdparty #1219 and update ABOUT files Credits: Many thanks to everyone that contributed to this release with code and bug reports - * @nicoddemus - * @chinyeungli - * @johnmhoran - * @jonasob - * @DennisClark - * @arthur657834 - * @JonoYang - * @armijnhemel - * @furuholm - * @mjherzog - * @sschuberth - * @MartinPetkov - * @jhgoebbert - * @bobgob - * @majurg - * @tdruez - * @tomeks666 - * @geneh - * @jonassmedegaard + - @nicoddemus + - @chinyeungli + - @johnmhoran + - @jonasob + - @DennisClark + - @arthur657834 + - @JonoYang + - @armijnhemel + - @furuholm + - @mjherzog + - @sschuberth + - @MartinPetkov + - @jhgoebbert + - @bobgob + - @majurg + - @tdruez + - @tomeks666 + - @geneh + - @jonassmedegaard and many other that I may have missed. @@ -566,11 +746,11 @@ No changes. v2.9.6 (2018-10-25) ------------------- - * Add declared license normalization #1092 - * Add new and improved license rules - * Add mising and clean up ABOUT files for all embedded third-party libraries - * Improve npm package.json handling (better keuword support) - * Update thirdparty libraries #1224 + - Add declared license normalization #1092 + - Add new and improved license rules + - Add mising and clean up ABOUT files for all embedded third-party libraries + - Improve npm package.json handling (better keuword support) + - Update thirdparty libraries #1224 Credits: Many thanks to everyone that contributed to this release with code and bug reports @@ -580,11 +760,11 @@ v2.9.5 (2018-10-22) This is a minor pre-release of what will come up for 3.0 with no API change. - * Place all third-party packages under thirdparty #1219 + - Place all third-party packages under thirdparty #1219 Credits: Many thanks to everyone that contributed to this release with code and bug reports - * @JonoYang + - @JonoYang v2.9.4 (2018-10-19) @@ -593,30 +773,30 @@ v2.9.4 (2018-10-19) This is a pre-release of what will come up for 3.0 with several API changes related to packages. - * Add Package URL field to top-level package output #1149 - * --package option should collect homepage URL for packages #645 - * Support installation from Pypi and update various third-parties to their + - Add Package URL field to top-level package output #1149 + - --package option should collect homepage URL for packages #645 + - Support installation from Pypi and update various third-parties to their latest version #1183 - * Fix bug where multiple outputs with --html would crash scancode # - * Add new and improved licenses and license detection rules #1192 #1186 - * Ensure that plugin failure trigger a proper error exit code #1199 - * Allow plugins to contribute codebase-level attributes in addition to + - Fix bug where multiple outputs with --html would crash scancode # + - Add new and improved licenses and license detection rules #1192 #1186 + - Ensure that plugin failure trigger a proper error exit code #1199 + - Allow plugins to contribute codebase-level attributes in addition to resource-level attributes. - * Output plugins can now be called from code #1148 - * Fix incorrect copyright detection #1198 - * Detect programming language more strictly and efficiently #1194 - * Use simpler list of source package URLs/purls #1206 - * Add purl to the packages data #1149 - * Use direct attributes for package checksums #1189 - * Remove package_manifest attribute for packages - * Add new Package "manifest_path" attribute which is a relative path to + - Output plugins can now be called from code #1148 + - Fix incorrect copyright detection #1198 + - Detect programming language more strictly and efficiently #1194 + - Use simpler list of source package URLs/purls #1206 + - Add purl to the packages data #1149 + - Use direct attributes for package checksums #1189 + - Remove package_manifest attribute for packages + - Add new Package "manifest_path" attribute which is a relative path to the manifest file if any, such as a Maven .pom or a npm package.json. Credits: Many thanks to everyone that contributed to this release with code and bug reports - * @MartinPetkov - * @majurg - * @JonoYang + - @MartinPetkov + - @majurg + - @JonoYang v2.9.3 (2018-09-27) @@ -625,39 +805,39 @@ v2.9.3 (2018-09-27) This is a pre-release of what will come up for 3.0 with an API change. API change: - * The returned copyright data structure has changed and is now simpler and less nested + - The returned copyright data structure has changed and is now simpler and less nested Licenses: - * Add new license and rules and improve licene rules #1186 #1108 #1124 #1171 #1173 #1039 #1098 #1111 - * Add new license clarity scoring #1180 + - Add new license and rules and improve licene rules #1186 #1108 #1124 #1171 #1173 #1039 #1098 #1111 + - Add new license clarity scoring #1180 This is also for use in the ClearlyDefined project - * Add is_exception to license scan results #1159 + - Add is_exception to license scan results #1159 Copyrights: - * Copyright detection has been improved #930 #965 #1103 - * Copyright data structure has been updated + - Copyright detection has been improved #930 #965 #1103 + - Copyright data structure has been updated Packages: - * Add support for FreeBSD packages (ports) #1073 - * Add support for package root detection - * Detect nuget packages correctly @1088 + - Add support for FreeBSD packages (ports) #1073 + - Add support for package root detection + - Detect nuget packages correctly @1088 Misc: - * Add facet, classification and summarizer plugins #357 - * Fix file counts #1055 - * Fix corrupted license cache error - * Upgrade all thridparty libraries #1070 - * De-vendor prebuilt binaries to ease packaging for Linux distros #469 + - Add facet, classification and summarizer plugins #357 + - Fix file counts #1055 + - Fix corrupted license cache error + - Upgrade all thridparty libraries #1070 + - De-vendor prebuilt binaries to ease packaging for Linux distros #469 Credits: Many thanks to everyone that contributed to this release with code and bug reports - * @selmf - * @paralax - * @majurg - * @mueller-ma - * @MartinPetkov - * @techytushar + - @selmf + - @paralax + - @majurg + - @mueller-ma + - @MartinPetkov + - @techytushar @@ -667,50 +847,50 @@ This is a major pre-release of what will come up for 3.0. with significant packages and license API changes. API changes: - * Simplify output option names #789 - * Update the packages data structure and introduce Package URLs #275 - * Add support for license expressions #74 with full exceptions support + - Simplify output option names #789 + - Update the packages data structure and introduce Package URLs #275 + - Add support for license expressions #74 with full exceptions support Licenses: - * Add support for license expressions #74 with full exceptions support - * Enable SPDX license identifier match #81 - * Update and change handling of composite licenses now that we support expressions - * Symchronize licenses with latest from SPDX and DejaCode #41 - * Add new licenses ofr odds and ends: other-permissive and other-copyleft - * refine license index cache handling - * remove tests without value - * Add new license policy plugin #214, #880 + - Add support for license expressions #74 with full exceptions support + - Enable SPDX license identifier match #81 + - Update and change handling of composite licenses now that we support expressions + - Symchronize licenses with latest from SPDX and DejaCode #41 + - Add new licenses ofr odds and ends: other-permissive and other-copyleft + - refine license index cache handling + - remove tests without value + - Add new license policy plugin #214, #880 Packages: - * Split packages from package_manifest #1027. This is experimental + - Split packages from package_manifest #1027. This is experimental The packages scan return now a single package_manifest key (not a list) And a post_scan plugin (responding to the same --package) option perform a roll-up of the manifest informationat the proper level for a package type as the "packages" attribute (which is still a list). For instance a package.json "package_manifest" will end up having a "packages" entry in its parent directory. - * Include and return Package URLs (purl) #805 and #275 - * Major rework of the package data structure #275 - * Rename asserted_license to declared_licensing #275 - * Add basic Godeps parsing support #275 - * Add basic gemspec and Rubygems parsing support #275 - * Add basic Gemfile.lock parsing support #275 - * Add basic Win DLL parsing support #275 - * Replace MD5/SHA1 by a list of checksums #275 - * Use a single download_url, not a list #275 - * Add namespace to npm. Compute defaults URL #275 + - Include and return Package URLs (purl) #805 and #275 + - Major rework of the package data structure #275 + - Rename asserted_license to declared_licensing #275 + - Add basic Godeps parsing support #275 + - Add basic gemspec and Rubygems parsing support #275 + - Add basic Gemfile.lock parsing support #275 + - Add basic Win DLL parsing support #275 + - Replace MD5/SHA1 by a list of checksums #275 + - Use a single download_url, not a list #275 + - Add namespace to npm. Compute defaults URL #275 Misc: - * multiple minor bug fixes - * do not ignore .repo files #881 + - multiple minor bug fixes + - do not ignore .repo files #881 Credits: Many thanks to everyone that contributed to this release with code and bug reports - * @JonoYang - * @majurg - * @pombredanne - * @yash-nisar - * @ThorstenHarter + - @JonoYang + - @majurg + - @pombredanne + - @yash-nisar + - @ThorstenHarter v2.9.1 (2018-03-22) @@ -719,23 +899,23 @@ v2.9.1 (2018-03-22) This is a minor pre-release of what will come up for 3.0 with no API change. Licenses: - * There are new and improved licenses and license detection rules #994 #991 #695 #983 #998 #969 + - There are new and improved licenses and license detection rules #994 #991 #695 #983 #998 #969 Copyrights: - * Copyright detection has been improved #930 #965 + - Copyright detection has been improved #930 #965 Misc: - * Improve support for JavaScript map files: they may contain both debugging + - Improve support for JavaScript map files: they may contain both debugging information and whole package source code. - * multiple minor bug fixes + - multiple minor bug fixes Credits: Many thanks to everyone that contributed to this release with code and bug reports - * @haikoschol - * @jamesward - * @JonoYang - * @DennisClark - * @swinslow + - @haikoschol + - @jamesward + - @JonoYang + - @DennisClark + - @swinslow v2.9.0b1 (2018-03-02) @@ -747,112 +927,112 @@ This has a lot of new changes including improved plugins, speed and detection that are not yet fully documented but it can be used for testing. API changes: - * Command line API + - Command line API - * `--diag` option renamed to `--license-diag` + - `--diag` option renamed to `--license-diag` - * `--format ` option has been replaced by multiple options one + - `--format ` option has been replaced by multiple options one for each format such as `--format-csv` `--format-json` and multiple formats can be requested at once - * new experimental `--cache-dir` option and `SCANCODE_CACHE` environment variable + - new experimental `--cache-dir` option and `SCANCODE_CACHE` environment variable and `--temp-dir` and `SCANCODE_TMP` environment variable to set the temp and cache directories. - * JSON data output format: no major changes + - JSON data output format: no major changes - * programmatic API in scancode/api.py: + - programmatic API in scancode/api.py: - * get_urls(location, threshold=50): new threshold argument + - get_urls(location, threshold=50): new threshold argument - * get_emails(location, threshold=50): new threshold argument + - get_emails(location, threshold=50): new threshold argument - * get_file_infos renamed to get_file_info + - get_file_infos renamed to get_file_info - * Resource moved to scancode.resource and significantly updated + - Resource moved to scancode.resource and significantly updated - * get_package_infos renamed to get_package_info + - get_package_infos renamed to get_package_info Command line - * You can select multiple outputs at once (e.g. JSON and CSV, etc.) #789 - * There is a new capability to reload a JSON scan to reprocess it with postcsan + - You can select multiple outputs at once (e.g. JSON and CSV, etc.) #789 + - There is a new capability to reload a JSON scan to reprocess it with postcsan plugins and or converting a JSON scan to CSV or else. Licenses: - * There are several new and improved licenses and license detection rules #799 #774 #589 - * Licenses data now contains the full name as well as the short name. + - There are several new and improved licenses and license detection rules #799 #774 #589 + - Licenses data now contains the full name as well as the short name. - * License match have a notion of "coverage" which is the number of matched + - License match have a notion of "coverage" which is the number of matched words compared to the number of words in the matched rule. - * The license cache is not checked anymore for consistency once created which + - The license cache is not checked anymore for consistency once created which improved startup times. (unless you are using a Git checkout and you are developping with a SCANCODE_DEV_MODE tag file present) - * License catagory names have been improved + - License catagory names have been improved Copyrights: - * Copyright detection in binary files has been improved - * There are several improvements to the copyright detection quality fixing these + - Copyright detection in binary files has been improved + - There are several improvements to the copyright detection quality fixing these tickets: #795 #677 #305 #795 - * There is a new post scan plugin that can be used to ignore certain copyright in + - There is a new post scan plugin that can be used to ignore certain copyright in the results Summaries: - * Add new support for copyright summaries using smart holder deduplication #930 + - Add new support for copyright summaries using smart holder deduplication #930 Misc: - * Add options to limit the number of emails and urls that are collected from + - Add options to limit the number of emails and urls that are collected from each file (with a default to 50) #384 - * When configuring in dev mode, VS Code settings are created - * Archive detection has been improved - * There is a new cache and temporary file configuration with --cache-dir and + - When configuring in dev mode, VS Code settings are created + - Archive detection has been improved + - There is a new cache and temporary file configuration with --cache-dir and --temp-dir CLI options. The --no-cache option has been removed - * Add new --examples to show usage examples help - * Move essential configuration to a scancode_config.py module - * Only read a few pages from PDF files by default - * Improve handling of files with weird characters in their names on all OSses - * Improve detection of archive vs. comrpessed files - * Make all copyright tests data driven using YAML files like for license tests + - Add new --examples to show usage examples help + - Move essential configuration to a scancode_config.py module + - Only read a few pages from PDF files by default + - Improve handling of files with weird characters in their names on all OSses + - Improve detection of archive vs. comrpessed files + - Make all copyright tests data driven using YAML files like for license tests Plugins - * Prescan plugins can now exclude files from the scans - * Plugins can now contribute arbitrary command line options #787 and #748 - * there is a new plugin stage called output_filter to optionally filter a scan before output. + - Prescan plugins can now exclude files from the scans + - Plugins can now contribute arbitrary command line options #787 and #748 + - there is a new plugin stage called output_filter to optionally filter a scan before output. One example is to keep "only findings" #787 - * The core processing is centered now on a Codebase and Resource abstraction + - The core processing is centered now on a Codebase and Resource abstraction that represents the scanned filesystem in memory #717 #736 All plugins operate on this abstraction - * All scanners are also plugins #698 and now everything is a plugin including the scans - * The interface for output plugins is the same as other plugins #715 + - All scanners are also plugins #698 and now everything is a plugin including the scans + - The interface for output plugins is the same as other plugins #715 Credits: Many thanks to everyone that contributed to this release with code and bug reports (and this list is likely missing some) - * @SaravananOffl - * @jpopelka - * @yashdsaraf - * @haikoschol - * @jdaguil - * @ajeans - * @DennisClark - * @susg - * @pombredane - * @mjherzog - * @Sidsharik - * @nishakm - * @yasharmaster - * @techytushar - * @JonoYang - * @majurg - * @aviral1701 - * @haikoschol - * @chinyeungli - * @vivonk - * @Chaitya62 - * @inishchith + - @SaravananOffl + - @jpopelka + - @yashdsaraf + - @haikoschol + - @jdaguil + - @ajeans + - @DennisClark + - @susg + - @pombredane + - @mjherzog + - @Sidsharik + - @nishakm + - @yasharmaster + - @techytushar + - @JonoYang + - @majurg + - @aviral1701 + - @haikoschol + - @chinyeungli + - @vivonk + - @Chaitya62 + - @inishchith v2.2.1 (2017-10-05) @@ -861,16 +1041,18 @@ v2.2.1 (2017-10-05) This is a minor release with several bug fixes, one new feature and one (minor) API change. -* API change: +API change: +~~~~~~~~~~~ - * Licenses data now contains a new reference_url attribute instead of a + - Licenses data now contains a new reference_url attribute instead of a dejacode_url attribute. This defaults to the public DejaCode URL and can be configured with the new --license-url-template command line option. -* New feature: +New feature: +~~~~~~~~~~~~~~~ - * There is a new "--format jsonlines" output format option. + - There is a new "--format jsonlines" output format option. In this format, each line in the output is a valid JSON document. The first line contains a "header" object with header-level data such as notice, version, etc. Each line after the first contains the scan @@ -878,25 +1060,26 @@ and one (minor) API change. whole scan results JSON documents but without any header-level attributes. See also http://jsonlines.org/ -* Other changes: +Other changes: +~~~~~~~~~~~~~~~ - * Several new and improved license detection rules have been added. + - Several new and improved license detection rules have been added. The logic of detection has been refined to handle some rare corner cases. The underscore character "_" is treated as part of a license word and the handling of negative and false_positive license rules has been simplified. - * Several issues with dealing with codebase with non-ASCII, + - Several issues with dealing with codebase with non-ASCII, non-UTF-decodable file paths and other filesystem encodings-related bug have been fixed. - * Several copyright detection bugs have been fixed. - * PHP Composer and RPM packages are now detected with --package - * Several other package types are now detected with --package even + - Several copyright detection bugs have been fixed. + - PHP Composer and RPM packages are now detected with --package + - Several other package types are now detected with --package even though only a few attribute may be returned for now until full parser are added. - * Several parsing NPM packages bugs have been fixed. - * There are some minor performance improvements when scanning some + - Several parsing NPM packages bugs have been fixed. + - There are some minor performance improvements when scanning some large file for licenses. @@ -906,22 +1089,22 @@ v2.1.0 (2017-09-22) This is a minor release with several new and improved features and bug fixes but no significant API changes. - * New plugin architecture by @yashdsaraf + - New plugin architecture by @yashdsaraf - * we can now have pre-scan, post-scan and output format plugins - * there is a new CSV output format and some example, experimental plugins - * the CLI UI has changed to better support these plugins + - we can now have pre-scan, post-scan and output format plugins + - there is a new CSV output format and some example, experimental plugins + - the CLI UI has changed to better support these plugins - * New and improved licenses and license detection rules including + - New and improved licenses and license detection rules including support for EPL-2.0 and OpenJDK-related licensing and synchronization with the latest SPDX license list - * Multiple bug fixes such as: + - Multiple bug fixes such as: - * Ensure that authors are reported even if there is no copyright #669 - * Fix Maven package POM parsing infinite loop #721 - * Improve handling of weird non-unicode byte paths #688 and #706 - * Improve PDF parsing to avoid some crash #723 + - Ensure that authors are reported even if there is no copyright #669 + - Fix Maven package POM parsing infinite loop #721 + - Improve handling of weird non-unicode byte paths #688 and #706 + - Improve PDF parsing to avoid some crash #723 Credits: Many thanks to everyone that contributed to this release with code and bug reports (and this list is likely missing some) @@ -948,13 +1131,13 @@ v2.0.1 (2017-07-03) This is a minor release with minor new and improved features and bug fixes. - * New and improved license detection, including refined match scoring + - New and improved license detection, including refined match scoring for #534 - * Bug fixed in License detection leading to a very long scan time for some + - Bug fixed in License detection leading to a very long scan time for some rare JavaScript files. Reported by @jarnugirdhar - * New "base_name" attribute returned with file information. Reported by + - New "base_name" attribute returned with file information. Reported by @chinyeungli - * Bug fixed in Maven POM package detection. Reported by @kalagp + - Bug fixed in Maven POM package detection. Reported by @kalagp v2.0.0 (2017-06-23) @@ -965,86 +1148,91 @@ v2.0.0 (2017-06-23) Some of the key highlights include: - * License: +License detection: +~~~~~~~~~~~~~~~~~~~ - * Brand new, faster and accurate detection engine using multiple + - Brand new, faster and accurate detection engine using multiple techniques eventually doing multiple exhaustive comparisons of a scanned file content against all the license and rule texts. - * Several new licenses and over 2500+ new and improved licenses + - Several new licenses and over 2500+ new and improved licenses detection rules have been added making the detection significantly better (and weirdly enough faster too as a side-effect of the new detection engine) - * the matched license text can be optionally returned with the + - the matched license text can be optionally returned with the `--license-text` option - * The detection accuracy has been benchmarked against other detection + - The detection accuracy has been benchmarked against other detection engine and ScanCode has shown to be more accurate and comprehensive than all the other engines reviewed. - * improved scoring of license matches + - improved scoring of license matches - * Package and dependencies: +Package and dependencies: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - * new and improved detection of multiple package formats: NPM, Maven, + - new and improved detection of multiple package formats: NPM, Maven, NuGet, PHP Composer, Python Pypi and RPM. In most cases direct, declared dependencies are also reported. - * several additional package formats will be reported in the future + - several additional package formats will be reported in the future version. - * note: the structure of Packages data is evolving and should not be + - note: the structure of Packages data is evolving and should not be considered API at this stage - * Scan outputs: +Scan outputs: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - * New SPDX tag/values and RDF outputs. + - New SPDX tag/values and RDF outputs. - * new compact JSON format (the pretty printed format is still + - new compact JSON format (the pretty printed format is still available with the the `json-pp` format). The JSON format has been changed significantly and is closer to a documented, standard format that we call the ABC data format. - * Minor refinements on the html and html-app format. Note that the + - Minor refinements on the html and html-app format. Note that the html-app format will be deprecated and replaced by the new AboutCode Manager desktop app (electron-based) in future versions. - * Copyright: Improved copyright detection: several false positive are + - Copyright: Improved copyright detection: several false positive are no longer returned and copyrights are more accurate - * Archive: support for shallow extraction and support for new archive + - Archive: support for shallow extraction and support for new archive types (such as Spring boot shell archives) - * Performance: +Performance: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - * Everything is generally faster, and license detection performance + - Everything is generally faster, and license detection performance has been significantly improved. - * Scans can run on multiple processes in parallel with the new + - Scans can run on multiple processes in parallel with the new `--processes` option speeding up things even further. A scan of a full Debian pool of source packages was reported to scan in about 11 hours (on a rather beefy 144 cores, 256GB machine) - * Reduced memory usage with the use of caching + - Reduced memory usage with the use of caching - * Other notes: +Other notes: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - * This is the last release with Linux 32 bits architecture support - * The scan of a file can be interrupted after a timeout with a 120 + - This is the last release with Linux 32 bits architecture support + - The scan of a file can be interrupted after a timeout with a 120 seconds default - * ScanCode is now available as a library on the Pypi Python package + - ScanCode is now available as a library on the Pypi Python package index for use as a library. The documentation for the library usage will follow in future versions - * New `--ignore` option: You can optionally ignore certain file and + - New `--ignore` option: You can optionally ignore certain file and paths during a scan - * New `--diag option`: display additional debug and diagnostic data - * The scanned file paths can now reported as relative, rooted or + - New `--diag option`: display additional debug and diagnostic data + - The scanned file paths can now reported as relative, rooted or absolute with new command line options with a default to a rooted path. @@ -1052,7 +1240,8 @@ v2.0.0 (2017-06-23) Thank you to all contributors to this release and the 200+ stars and 60+ forks on GitHub! - * Credits in alphabetical order: +Credits in alphabetical order: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Alexander Lisianoi Avi Aryan @@ -1086,24 +1275,26 @@ v2.0.0 (2017-06-23) v1.6.0 (2016-01-29) ------------------- -* New features +New features +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - * The HTML app now displays a copyright holder summary graphic - * HTML app ui enhancements - * File extraction fixes - * New and improved license and detection rules - * Other minor improvements and minor bug fixes + - The HTML app now displays a copyright holder summary graphic + - HTML app ui enhancements + - File extraction fixes + - New and improved license and detection rules + - Other minor improvements and minor bug fixes v1.5.0 (2015-12-15) ------------------- -* New features +New features +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - * The HTML app now display a license summary graphic - * Copyright holders and Authors are now collected together with copyrights - * New email and url scan options: scan for URLs and emails - * New and improved license and detection rules + - The HTML app now display a license summary graphic + - Copyright holders and Authors are now collected together with copyrights + - New email and url scan options: scan for URLs and emails + - New and improved license and detection rules These scans are for now only available in the JSON output @@ -1111,9 +1302,10 @@ These scans are for now only available in the JSON output v1.4.3 (2015-12-03) ------------------- -* Minor bug fix +Minor bug fix +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - * In the HTML app, the scanned path was hardcoded as + - In the HTML app, the scanned path was hardcoded as scancode-toolkit2/scancode-toolkit/samples instead of displaying the path that was scanned. @@ -1121,11 +1313,12 @@ v1.4.3 (2015-12-03) v1.4.2 (2015-12-03) ------------------- -* Minor features and bug fixes +Minor features and bug fixes +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - * The release archives were missing some code (packagedcode) - * Improved --quiet option for command line operations - * New support for custom Jinja templates for the HTML output. + - The release archives were missing some code (packagedcode) + - Improved --quiet option for command line operations + - New support for custom Jinja templates for the HTML output. The template also has access to the whole License object to output full license texts or other data. Thanks to @ened Sebastian Roth for this. @@ -1133,107 +1326,117 @@ v1.4.2 (2015-12-03) v1.4.0 (2015-11-24) ------------------- -* New features and bug fixes +New features and bug fixes +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - * Separated JSON data into a separate file for the html app. + - Separated JSON data into a separate file for the html app. https://github.com/nexB/scancode-toolkit/issues/38 - * Added support for scanning package and file information. - * Added file and package information to the html-app and html output. + - Added support for scanning package and file information. + - Added file and package information to the html-app and html output. https://github.com/nexB/scancode-toolkit/issues/76 - * improved CSS for html format output + - improved CSS for html format output https://github.com/nexB/scancode-toolkit/issues/12 - * New and improved licenses rules and licenses. - * Added support for nuget .nupkg as archives. - * Created new extractcode standalone command for + - New and improved licenses rules and licenses. + - Added support for nuget .nupkg as archives. + - Created new extractcode standalone command for https://github.com/nexB/scancode-toolkit/issues/52 Extracting archives is no longer part of the scancode command. - * Scancode can now be called from anywhere. + - Scancode can now be called from anywhere. https://github.com/nexB/scancode-toolkit/issues/55 - * Various minor improvements for copyright detection. + - Various minor improvements for copyright detection. v1.3.1 (2015-07-27) ------------------- -* Minor bug fixes. +Minor bug fixes. +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - * fixed --verbose option https://github.com/nexB/scancode-toolkit/issues/37 - * Improved copyright and license detections (new rules, etc.) - * other minor improvements and minor bug fixes: + - fixed --verbose option https://github.com/nexB/scancode-toolkit/issues/37 + - Improved copyright and license detections (new rules, etc.) + - other minor improvements and minor bug fixes: temptative fix for https://github.com/nexB/scancode-toolkit/issues/4 - * fixed for unsupported inclusion of Linux-32 bits pre-built binaries + - fixed for unsupported inclusion of Linux-32 bits pre-built binaries https://github.com/nexB/scancode-toolkit/issues/33 v1.3.0 (2015-07-24) ------------------- -* New features and bug fixes +New features and bug fixes +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - * scancode now ignores version control directories by default (.svn, .git, etc) - * Improved copyright and license detections (new rules, etc.) - * other minor improvements and minor bug fixes. - * experimental and unsupported inclusion of Linux-32 bits pre-built binaries + - scancode now ignores version control directories by default (.svn, .git, etc) + - Improved copyright and license detections (new rules, etc.) + - other minor improvements and minor bug fixes. + - experimental and unsupported inclusion of Linux-32 bits pre-built binaries v1.2.4 (2015-07-22) ------------------- -* Minor bug fixes. +Minor bug fixes. +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - * Improved copyright detections. - * can scan a single file located in the installation directory - * other minor improvements and minor bug fixes. + - Improved copyright detections. + - can scan a single file located in the installation directory + - other minor improvements and minor bug fixes. v1.2.3 (2015-07-16) ------------------- -* Major bug fixes on Windows. +Major bug fixes on Windows. +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - * This is a major bug fix release for Windows. + - This is a major bug fix release for Windows. The -extract option was not working on Windows in previous 1.2.x pre-releases v1.2.2 (2015-07-14) ------------------- -* Minor bug fixes. +Minor bug fixes. +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - * Support relative path when doing extract. + - Support relative path when doing extract. v1.2.1 (2015-07-13) ------------------- -* Minor bug fixes. +Minor bug fixes. +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - * Improper extract warning handling + - Improper extract warning handling v1.2.0 (2015-07-13) ------------------- -* Major bug fixes. +Major bug fixes. +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - * Fixed issue #26: Slow --extract - * Added support for progress during extraction (#27) + - Fixed issue #26: Slow --extract + - Added support for progress during extraction (#27) v1.1.0 (2015-07-06) ------------------- -* Minor bug fixes. +Minor bug fixes. +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - * Enforced exclusivity of --extract option - * Improved command line help. - * Added continuous testing with Travis and Appveyor and fixed tests + - Enforced exclusivity of --extract option + - Improved command line help. + - Added continuous testing with Travis and Appveyor and fixed tests v1.0.0 (2015-06-30) ------------------- -* Initial release. +Initial release. +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - * support for scanning licenses and copyrights - * simple command line with html, html-app and JSON formats output + - support for scanning licenses and copyrights + - simple command line with html, html-app and JSON formats output diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 7161f10bdcc..640f1b08901 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -22,7 +22,7 @@ with your name and email:: Signed-off-by: Jane Doe Please try to write a good commit message, see `good commit message wiki -`_ for +` for details. In particular use the imperative for your commit subject: think that you are giving an order to the codebase to update itself. @@ -134,25 +134,34 @@ To set up ScanCode for local development: Run this command to configure ScanCode:: - ./configure + ./configure --dev On Windows use instead:: - configure + configure --dev - Then run this: `source bin/activate` or `. bin/activate` - (or run `bin\\activate` on Windows) + Then activate the virtual environment:: + + source bin/activate + + or + + . bin/activate + + On Windows use:: + + Scripts\activate When you create a new terminal/shell to work on ScanCode rerun the activate step. When you pull new code from git, rerun ./configure - + 5. Now you can make your code changes in your local clone. Please create new unit tests for your code. We love tests! 6. When you are done with your changes, run all the tests. - Use this command:: + Use this command:: py.test @@ -162,25 +171,25 @@ To set up ScanCode for local development: If you are running this on a RedHat based OS you may come across this failure:: - + OSError: libbz2.so.1.0: cannot open shared object file: No such file or directory - + Try creating a symbolic link to libbz2.so.1.0 to solve this issue:: locate libbz2.so.1.0 cd sudo ln -s libbz2.so.1.0 - + See `this issue `_ for more information. 7. Check the status of your local repository before commit, regarding files changed:: - + git status 8. Commit your changes and push your branch to your GitHub fork:: - git add + git add git commit -m "Your detailed description of your changes." --signoff git push name-of-your-bugfix-or-feature @@ -196,7 +205,7 @@ create a pull request. You can add new commits to your branch as needed. For merging, your request would need to: 1. Include unit tests that are passing (run ``py.test``). -2. Update documentation as needed for new API, functionality etc. +2. Update documentation as needed for new API, functionality etc. 3. Add a note to ``CHANGELOG.rst`` about the changes. 4. Add your name to ``AUTHORS.rst``. diff --git a/INSTALL.rst b/INSTALL.rst index a4ea89b4cb4..139f742cc88 100644 --- a/INSTALL.rst +++ b/INSTALL.rst @@ -16,13 +16,12 @@ Prerequisites ------------- Before installing ScanCode make sure you have installed these prerequisites. -The main one is a Python interpreter. -Python 3.6 is required for the standard installation. +The main one is to have Python installed version 3.6, 3.7, 3.8 or 3.9. - For Linux(Ubuntu): ``sudo apt install python3.6-dev bzip2 xz-utils zlib1g libxml2-dev libxslt1-dev`` -- For MacOS: Install Python 3.6.8 from https://www.python.org/ftp/python/3.6.8/python-3.6.8-macosx10.9.pkg -- For Windows: Install Python 3.6.8 from https://www.python.org/ftp/python/3.6.8/python-3.6.8-amd64.exe -- For FreeBSD: (this ineeds to be documented) +- For MacOS: Install Python 3.x from https://www.python.org/ +- For Windows: Install Python 3.x from https://www.python.org/ using the 64 bits amd64 variant +- For FreeBSD: (this needs to be documented) Refer `Prerequisites `_ for detailed information on all different operating systems and Python versions. @@ -46,9 +45,9 @@ Use a release download and install as an application Advanced installation: pip install a Python PyPI package -------------------------------------------------------- -- Create a virtual environment for Python 3.6 (of higher) and activate it:: +- Create a virtual environment for Python 3.x and activate it:: - virtualenv -p /usr/bin/python3.6 venv-scancode && source venv-scancode/bin/activate + virtualenv -p python3 venv-scancode && source venv-scancode/bin/activate - Run ``pip install scancode-toolkit[full]`` diff --git a/README.rst b/README.rst index 88d41e3894f..9b175e37a41 100644 --- a/README.rst +++ b/README.rst @@ -6,7 +6,11 @@ A typical software project often reuses hundreds of third-party packages. License and origin information is not always easy to find and not normalized: ScanCode discovers and normalizes this data for you. -Read more about ScanCode here: `scancode-toolkit.readthedocs.io `_. +Read more about ScanCode here: `scancode-toolkit.readthedocs.io +`_. + +Check out the code at https://github.com/nexB/scancode-toolkit + Why use ScanCode? ================= @@ -25,8 +29,10 @@ Why use ScanCode? `RedHat Fabric8 analytics `_, and many more. -- ScanCode detects licenses, copyrights, package manifests, direct - dependencies, and more both in **source code** and **binary** files. +- ScanCode detects licenses, copyrights, package manifests, direct dependencies, + and more both in **source code** and **binary** files and is considered as the + best-in-class and reference tool in this domain, re-used as the core tools for + software composition data collection by several open source tools. - ScanCode provides the **most accurate license detection engine** and does a full comparison (also known as diff or red line comparison) between a database @@ -37,14 +43,12 @@ Why use ScanCode? new and improved scanners, data summarization, package manifest parsers, and new outputs. -- You can save your scan results as **JSON, HTML, CSV or SPDX**. And you can use the - companion `ScanCode workbench GUI app `_ - to review and display scan results, statistics and graphics. +- You can save your scan results as **JSON, HTML, CSV or SPDX** or create your + own format with Jinja templates. - You can also organize and run ScanCode server-side with the - companion `ScanCode.io web app `_ - to organize and store multiple scan projects including scripting scanning piplines. - + companion `ScanCode.io web app `_ + to organize and store multiple scan projects including scripted scanning pipelines. - ScanCode is **actively maintained**, has a **growing users and contributors community**. @@ -53,6 +57,20 @@ Why use ScanCode? - ScanCode has an extensive and growing documentation. +- ScanCode can process these packages, build manifest and lockfile formats to extract metadata: + Alpine packages, BUCK files, ABOUT files, Android apps, Autotools, Bazel, + JavaScript Bower, Java Axis, MS Cab, Rust Cargo, Chef Chrome apps, + PHP Composer and composer.lock, Conda, CPAN, Debian, Apple dmg, + Java EAR, WAR, JAR, FreeBSD packages, Rubygems gemspec, Gemfile and Gemfile.lock, + Go modules, Haxe packages, InstallShield installers, iOS apps, ISO images, + Apache IVY, JBoss Sar, R CRAN, Apache Maven, Meteor, Mozilla extensions, + MSI installers, JavaScript npm packages, package-lock.json, yarn.lock, + NSIS Installers, NugGet, OPam, Cocoapods, Python PyPI setup.py, setup.cfg, and + several related lockfile formats, semi structured README + files such as README.android, README.chromium, README.facebook, README.google, + README.thirdparty, RPMs, Shell Archives, Squashfs images, Java WAR, Windows executables. + + See our `roadmap `_ for upcoming features. @@ -60,22 +78,14 @@ for upcoming features. Build and tests status ====================== -+-------+--------------+-----------------+--------------+ -|Branch | **Coverage** | **Linux/macOS** | **Windows** | -+=======+==============+=================+==============+ -|Master | |master-cov| | |master-posix| | |master-win| | -+-------+--------------+-----------------+--------------+ -|Develop| |devel-cov| | |devel-posix| | |devel-win| | -+-------+--------------+-----------------+--------------+ +We run tests on multiple CIs to ensure a good platform compabitility and on +multiple version of Windows, Linux and macOS. -Documentation Build -------------------- - -+--------+--------------+ -|Version | **RTD Build**| -+========+==============+ -| Latest | |docs-rtd| | -+--------+--------------+ ++--------------+--------------+--------------+ +| **Appveyor** | **Azure** | **RTD Build**| ++==============+==============+==============+ +| |appveyor| | |azure| | |docs-rtd| | ++--------------+--------------+--------------+ Documentation @@ -110,7 +120,8 @@ Installation ============ Before installing ScanCode make sure that you have installed the prerequisites -properly. This means installing Python (Python 3.6+ is required). +properly. This means installing Python (Python 3.6 or higher is required). + See `prerequisites `_ for detailed information on the support platforms and Python versions. @@ -215,19 +226,13 @@ See the NOTICE file and the .ABOUT files that document the origin and license of the third-party code used in ScanCode for more details. -.. |master-posix| image:: https://api.travis-ci.org/nexB/scancode-toolkit.png?branch=master +.. |appveyor| image:: https://ci.appveyor.com/api/projects/status/4webymu0l2ip8utr?svg=true :target: https://travis-ci.org/nexB/scancode-toolkit - :alt: Linux Master branch tests status -.. |devel-posix| image:: https://api.travis-ci.org/nexB/scancode-toolkit.png?branch=develop - :target: https://travis-ci.org/nexB/scancode-toolkit - :alt: Linux Develop branch tests status - -.. |master-win| image:: https://ci.appveyor.com/api/projects/status/4webymu0l2ip8utr/branch/master?png=true - :target: https://ci.appveyor.com/project/nexB/scancode-toolkit - :alt: Windows Master branch tests status -.. |devel-win| image:: https://ci.appveyor.com/api/projects/status/4webymu0l2ip8utr/branch/develop?png=true - :target: https://ci.appveyor.com/project/nexB/scancode-toolkit - :alt: Windows Develop branch tests status + :alt: Appveyor tests status (Windows) + +.. |azure| image:: https://dev.azure.com/nexB/scancode-toolkit/_apis/build/status/nexB.scancode-toolkit?branchName=develop + :target: https://dev.azure.com/nexB/scancode-toolkit/_build/latest?definitionId=1&branchName=develop + :alt: Azure tests status (Linux, macOS, Windows) .. |docs-rtd| image:: https://readthedocs.org/projects/scancode-toolkit/badge/?version=latest :target: https://scancode-toolkit.readthedocs.io/en/latest/?badge=latest diff --git a/configure b/configure index 02a69f132de..120627280e5 100755 --- a/configure +++ b/configure @@ -45,10 +45,12 @@ CLEANABLE=" .eggs pip-selfcheck.json src/scancode_toolkit.egg-info + src/scancode_toolkit_mini.egg-info SCANCODE_DEV_MODE man Scripts" + # extra arguments passed to pip PIP_EXTRA_ARGS=" " @@ -65,12 +67,17 @@ CFG_BIN_DIR=$CFG_ROOT_DIR/$VIRTUALENV_DIR/bin ################################ # scancode-specific: Thirdparty package locations and index handling -# Do we have thirdparty/files? use the mit.LICENSE as a proxy -if [[ -f "$CFG_ROOT_DIR/thirdparty/mit.LICENSE" ]]; then - LINKS=$CFG_ROOT_DIR/thirdparty +if [[ "$PYPI_LINKS" == "" ]]; then + # Do we have thirdparty/files? use the mit.LICENSE as a proxy + if [[ -f "$CFG_ROOT_DIR/thirdparty/mit.LICENSE" ]]; then + LINKS=$CFG_ROOT_DIR/thirdparty + else + LINKS=https://thirdparty.aboutcode.org/pypi + fi else - LINKS=https://thirdparty.aboutcode.org/pypi + LINKS=$PYPI_LINKS fi + PIP_EXTRA_ARGS="--no-index --find-links $LINKS" ################################ diff --git a/docs/source/cli-reference/output-format.rst b/docs/source/cli-reference/output-format.rst index 2fee3f90086..8667de40793 100644 --- a/docs/source/cli-reference/output-format.rst +++ b/docs/source/cli-reference/output-format.rst @@ -29,8 +29,6 @@ following options. others. Scancode Workbench and other applications that use Scancode Result data as input accept only the ``json`` format. - .. include:: /rst_snippets/note_snippets/output_json_notdef.rst - The following code performs a scan on the samples directory, and publishes the results in ``json`` format:: @@ -179,6 +177,7 @@ following options. "short_name": "MIT Old Style", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", "text_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", diff --git a/docs/source/cli-reference/synopsis.rst b/docs/source/cli-reference/synopsis.rst index ca4d2f8ede4..14955e530f0 100644 --- a/docs/source/cli-reference/synopsis.rst +++ b/docs/source/cli-reference/synopsis.rst @@ -228,6 +228,7 @@ A sample JSON output for an individual file will look like:: "short_name": "MIT Old Style", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", "text_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", diff --git a/docs/source/conf.py b/docs/source/conf.py index b869afa112b..9a35b78552f 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -18,8 +18,8 @@ # -- Project information ----------------------------------------------------- project = 'ScanCode-Toolkit' -copyright = '2019 ScanCode-Toolkit.org' -author = 'ScanCode-Toolkit.org' +copyright = 'nexB Inc. and others.' +author = 'AboutCode.org authors and contributors' # -- General configuration --------------------------------------------------- diff --git a/docs/source/contribute/contrib_dev.rst b/docs/source/contribute/contrib_dev.rst index ec59ec98cfa..91417460c30 100644 --- a/docs/source/contribute/contrib_dev.rst +++ b/docs/source/contribute/contrib_dev.rst @@ -3,131 +3,175 @@ Contributing to Code Development ================================ +TL;DR: + +- Contributions comes as bugs/questions/issues and as pull requests. +- Source code and runtime data are in the /src/ directory. +- Test code and test data are in the /tests/ directory. +- Datasets (inluding licenses) and test data are in /data/ sub-directories. +- We use DCO signoff in commit messages, like Linux does. +- Porting ScanCode to other OS (FreeBSD is supported, etc.) is possible. Enter an issue for help. + See `CONTRIBUTING.rst `_ for details. + .. _contrib_code_conven: Code layout and conventions --------------------------- -Source code is in ``src/`` Tests are in ``tests/``. +Source code is in the ``src/`` directory, tests are in the ``tests/`` directory. +Miscellaneous scripts and configuration files are in the ``etc/`` directory. -There is one Python package for each major feature under ``src/`` and a corresponding directory -with the same name under ``tests`` (but this is not a package by design). +There is one Python package for each major feature under ``src/`` and a +corresponding directory with the same name under ``tests`` (but this is not a +package by design as it would not make sense to have a top level "tests" package +which is a name that's too common). -Each test script is named ``test_XXXX`` and while we love to use ``py.test`` as a test runner, -most tests have no dependencies on ``py.test``, only on the ``unittest`` module (with the exception -of some command line tests that depend on pytest monkeypatching capabilities. +Each test script is named ``test_XXXX``; we prefer organizing tests in subclasses +of the standard library ``unittest`` module. But we also use plain functions +that are discovered nicely by ``pytest``. When source or tests need data files, we store these in a ``data`` subdirectory. +This is used extensively in tests and also in source code for the reference +license texts and data and license detection rules files. -We use PEP8 conventions with a relaxed line length that can be up to 90'ish characters long when -needed to keep the code clear and readable. +We use PEP8 conventions with a relaxed line length that can be up to 90'ish +characters long when needed to keep the code clear and readable. -We store pre-built bundled native binaries in ``bin/`` sub-directories of each ``src/`` packages. -These binaries are organized by OS and architecture. This ensures that ScanCode works out of the box -either using a checkout or a download, without needing a compiler and toolchain to be installed. -The corresponding source code for the pre-built binaries are stored in a separate repository at -https://github.com/nexB/scancode-thirdparty-src. +We write tests, a lot of tests, thousands of tests. When finding bugs or adding +new features, we add tests. See existing test code for examples which form also +a good specification for the supported features. -We store bundled thirdparty components and libraries in the ``thirdparty`` directory. Python -libraries are stored as wheels, eventually pre-built if the corresponding wheel is not available -in the Pypi repository. Some of these components may be advanced builds with bug fixes or advanced -patches. +The tests should pass on Linux 64 bits, Windows 64 bits and on +macOS 10.14 and up. We maintain multiple CI loops with Azure (all OSes) +at https://dev.azure.com/nexB/scancode-toolkit/_build and Appveyor (Windows) at +https://ci.appveyor.com/project/nexB/scancode-toolkit . -We write tests, a lot of tests, thousands of tests. Several tests are data-driven and use data -files as test input and sometimes data files as test expectation (in this case using either -JSON or YAML files). The tests should pass on Linux 64 bits, Windows 32 and 64 bits and on -MacOS 10.9 and up. We maintain two CI loops with Travis (Linux) at -https://travis-ci.org/nexB/scancode-toolkit and Appveyor (Windows) at -https://ci.appveyor.com/project/nexB/scancode-toolkit. -When finding bugs or adding new features, we add tests. See existing test code for examples. +Several tests are data-driven and use data files as test input and sometimes +data files as test expectation (in this case using either JSON or YAML files); +a large number of copyright, license and package manifest parsing tests are such +data-driven tests. -More info: -- Source code and license datasets are in the /src/ directory. -- Test code and test data are in the /tests/ directory. -- Datasets and test data are in /data/ sub-directories. -- Third-party components are vendored in the /thirdparty/ directory. ScanCode is self contained - and should not require network access for installation or configuration of third-party libraries. -- Additional pre-compiled vendored binaries are stored in bin/ sub-directories of the /src/ - directory with their sources in this repo: https://github.com/nexB/scancode-thirdparty-src/ -- Porting ScanCode to other OS (FreeBSD, etc.) is possible. Enter an issue for help. -- Bugs and pull requests are welcomed. -- See the wiki and CONTRIBUTING.rst for more info. - -.. _scancode_toolkit_developement_running_tests: +.. _scancode_toolkit_development_running_tests: Running tests ------------- -ScanCode comes with over 13,000 unit tests to ensure detection accuracy and stability across Linux, -Windows and macOS OSes: we kinda love tests, do we? +ScanCode comes with over 29,000 unit tests to ensure detection accuracy and +stability across Linux, Windows and macOS OSes: we kinda love tests, do we? -We use pytest to run the tests: call the ``py.test`` script to run the whole test suite. This is -installed by ``pytest``, which is bundled with a ScanCode checkout and installed when you -run ``./configure``). +We use pytest to run the tests: call the ``pytest`` script to run the whole +test suite. This is installed with the ``pytest`` package which is installed +when you run ``./configure --dev``). If you are running from a fresh git clone and you run ``./configure`` and then -``source bin/activate`` the ``py.test`` command will be available in your path. +``source bin/activate`` the ``pytest`` command will be available in your path. -Alternatively, if you have already configured but are not in an activated "virtualenv" the -``py.test`` command is available under ``/bin/py.test`` +Alternatively, if you have already configured but are not in an activated +"virtualenv" the ``pytest`` command is available under +``/bin/pytest`` (Note: paths here are for POSIX, but mostly the same applies to Windows) -If you have a multiprocessor machine you might want to run the tests in parallel (and faster) -For instance: ``py.test -n4`` runs the tests on 4 CPUs. We typically run the tests in -verbose mode with ``py.test -vvs -n4``. +If you have a multiprocessor machine you might want to run the tests in parallel +(and faster). For instance: ``pytest -n4`` runs the tests on 4 CPUs. We +typically run the tests in verbose mode with ``pytest -vvs -n4``. You can also run a subset of the test suite as shown in the CI configs https://github.com/nexB/scancode-toolkit/blob/develop/appveyor.yml#L6 e,g, -``py.test -n 2 -vvs tests/scancode`` runs only the test scripts present in the ``tests/scancode`` -directory. (You can pass a path to a specific test script file there too). - -See also https://docs.pytest.org for details or use the ``py.test -h`` command to show the many -other options available. - -One useful option is to run a select subset of the test functions matching a pattern with the -``-k`` option, for instance: ``py.test -vvs -k tcpdump`` would only run test functions that contain -the string "tcpdump" in their name or their class name or module name . - -Another useful option after a test run with some failures is to re-run only the failed tests with -the ``--lf`` option, for instance: ``py.test -vvs --lf`` would only run only test functions that -failed in the previous run. - -.. _contrib_dev_pip_and_configure: - -pip requirements and the configure script ------------------------------------------ - -ScanCode use the ``configure`` and ``configure.bat`` (and ``etc/configure.py`` behind the scenes) -scripts to install a `virtualenv `_ , install required -packaged dependencies as `pip `_ requirements and more configure tasks -such that ScanCode can be installed in a self-contained way with no network connectivity required. - -Earlier unreleased versions of ScanCode where using ``buildout`` to install and configure -eventually complex dependencies. We had some improvements that were merged in the upstream -``buildout`` to support bootstrapping and installing without a network connection and When we -migrated to use ``pip`` and ``wheels`` as new, improved and faster way to install and configure -dependencies we missed some of the features of ``buildout`` like the ``recipes``, being able to -invoke arbitrary Python or shell scripts after installing packages and have scripts or requirements -that are operating system-specific. - -ScanCode requirements and third-party Python libraries ------------------------------------------------------- +``pytest -n 2 -vvs tests/scancode`` runs only the test scripts present in the +``tests/scancode`` directory. (You can give the path to a specific test script +file there too). + +See also https://docs.pytest.org for details or use the ``pytest -h`` command +to show the many other options available. + +One useful option is to run a select subset of the test functions matching a +pattern with the ``-k`` option, for instance: ``pytest -vvs -k tcpdump`` would +only run test functions that contain the string "tcpdump" in their name or their +class name or module name. + +Another useful option after a test run with some failures is to re-run only the +failed tests with the ``--lf`` option, for instance: ``pytest -vvs --lf`` would +only run only test functions that failed in the previous run. + +Because we have a lot of tests (over 29,000), we organized theses in test suites +using pytest markers that are defined in the ``conftest.py`` pytest plugin. +These are enabled by adding a ``--test-suite`` option to the pytest command. + +- ``--test-suite=standard`` is the default and runs a decent but basic test suite +- ``--test-suite=all`` runs the ``standard`` test and adds a comprehensive test suite +- ``--test-suite=validate`` runs the ``standra`` and ``all`` test and adds + extensive data-driven and data validations (for package, copyright and license + detection) + + + +.. _scancode_toolkit_development_thirdparty_libraries: + +Thirdparty libraries and dependencies management +----------------------------------------------------- + +ScanCode uses the ``configure`` and ``configure.bat`` scripts to install a +`virtualenv `_ , install required +packaged dependencies using `setuptools `_ +and such that ScanCode can be installed in a repeatable and consistent manner on +all OSes and Python versions. + +For this we maintain a ``setup.cfg`` with our direct dependencies with loose +minimum version constraints; and we keep pinned exact versions of these +dependencies in the ``requirements.txt`` and ``requirements-dev.txt`` (for +testing and development). + +Note: we also have a ``setup-mini.cfg`` used to create a ScanCode PyPI package +with minimal dependencies (and limited features). This is mostly duplicated +from ``setup.cfg``. + +And to ensure that we also all use well known version of the core virtualenv, +pip, setuptools and wheel libraries, we use the ``virtualenv.pyz`` Python +zipp app from https://github.com/pypa/get-virtualenv/tree/master/public and +store it in the Git repo in the ``etc/thirdparty`` directory. + +We bundle pre-built bundled native binaries as plugins which are installed as +wheels. These binaries are organized by OS and architecture; they ensure that +ScanCode works out of the box either using a checkout or a download, without +needing a compiler and toolchain to be installed. + +The corresponding source code and build scripts for all for the +pre-built binaries are stored in a separate repository at +https://github.com/nexB/scancode-plugins + +ScanCode app archives should not require network access for installation or +configuration of its third-party libraries and dependencies. To enable this, +we store bundled thirdparty components and libraries in the ``thirdparty`` +directory of released app archives; this is done at build time. +These dependencies are stored as pre-built wheels. These wheels are sometimes +built by us when there is no wheel available upstream on PyPI. We store all +these prebuilt wheels with corresponding .ABOUT and .LICENSE files in +https://github.com/nexB/thirdparty-packages/tree/main/pypi which is published +for download at https://thirdparty.aboutcode.org/pypi/ + +Because this is used by the configure script, all the thirdparty dependencies +used in ScanCode MUST be available there first. Therefore adding a new +dependency means requesting a merge/PR in +https://github.com/nexB/thirdparty-packages/ first that contains all the +recursive dependencies. + +There are utility scripts in ``etc/release`` that can help with the dependencies +management process in particular to build or update wheels with native code for +multiple OSes (Linux, macOS and Windows) and multiple Python versions (3.6+), +which is not a completely simple operation (and requires eventually 12 wheels +and one source distribution to be published as we support 3 OSes and 4 Python +versions). -In a somewhat unconventional way, all the required libraries are bundled aka. Copied in the repo -itself in the thirdparty/ directory. If ScanCode were only a library it would not make sense. But -it is first an application and having a well defined frozen set of dependent packages is important -for an app. The benefit of this approach (combined with the ``configure`` script) means that a mere -checkout of the repository contains everything needed to run ScanCode except for a -Python interpreter. Using ScanCode as a Python library ---------------------------------- -ScanCode can be used alright as a Python library and is available as as a Python wheel in Pypi and -installed with ``pip install scancode-toolkit``. +ScanCode can be used alright as a Python library and is available as as a +Python wheel in Pypi and installed with ``pip install scancode-toolkit`` or +``pip install scancode-toolkit-mini``. diff --git a/docs/source/contribute/contrib_doc.rst b/docs/source/contribute/contrib_doc.rst index 3a10a7f8760..df597f030c5 100644 --- a/docs/source/contribute/contrib_doc.rst +++ b/docs/source/contribute/contrib_doc.rst @@ -18,7 +18,7 @@ That will create an ``/scancode-toolkit`` directory in your working directory. Now you can install the dependencies in a virtualenv:: cd scancode-toolkit - virtualenv -p /usr/bin/python3.6 docs-venv + virtualenv -p /usr/bin/python3 docs-venv source docs-venv/bin/activate Now, the following prerequisites are installed diff --git a/docs/source/contribute/gsoc21_final_report.rst b/docs/source/contribute/gsoc21_final_report.rst new file mode 100644 index 00000000000..849f26d29c7 --- /dev/null +++ b/docs/source/contribute/gsoc21_final_report.rst @@ -0,0 +1,74 @@ +Google Summer of Code 2021 Final report +========================================= + +Organisation - `AboutCode `_ +--------------------------------------------------------- + +Akanksha Garg + +`GITHUB `_ + +Project: Detect Unknown Licenses and Indirect License References in Scancode +----------------------------------------------------------------------------- + +`ScanCode-toolkit `_ + +`Project Link `_ + +`Proposal `_ + +Description +------------ +- The main motive of this project was to improve license detection of unknown licenses and follow references to indirect license references in Scancode-TK + + **Improvement in the License Data Model Definition** +- Unknown Licenses are the ones which are matched to a license rule tagged with 'unknown' license key . Since these are some of the 'special' licenses , reporting them with special attributes will + provide more clarification. Now unknown licenses are tagged with a new flag **"is_unknown"** to identify them beyond just the naming convention of having "unknown" as part of their name. + Rules that match at least one unknown license have a flag **"has_unknown"** set + in the returned match results. + + `nexB/scancode-toolkit#2548 `_ + + **Reporting known and Unknown licenses separately** +- We considered having a separate section for of scan results to report 'unknown licenses' separately and not mixed with main license detection results. But after implementing a separate section for + unknown ones ,it doesn't seem to be good idea to have currently. + + `nexB/scancode-toolkit#2578 `_ + + **Follow License References to another file** +- Some license references such as "see license in file LICENSE.txt" e.g. mentions to look for license details in another file are reported as unknown license references and we could instead follow + the referenced file to find what was detected there. The approach was to use already contained attribute ```refrenced_filenames``` in license RULE data files. Since this was a ```process_codebase``` + step in scan plugin , it was needed that our API function should return ```refrenced_filenames``` to keep track of these files corresponding to licenses detected. This was tracked in - + + `nexB/scancode-toolkit#2632 `_ + +- The ```process_codebase``` step is tracked in - + + `nexB/scancode-toolkit#2616 `_ + + **Improve license detection of Unknown Licenses** +- The approach was to use index of n-grams for detecting unknowns besides having our actual detection of "unknown" license rules. Firstly matches were filtered after running our normal procedure + of license detection and the remaining spans are run through a automaton index containing n-grams from all regular license texts and rules. This is tracked in- + + `nexB/scancode-toolkit#2592 `_ + + **Addition of some new Licenses** +- There were some licenses that were not present in Scancode-toolkit as for now. They have been added now. + + `nexB/scancode-toolkit#2625 `_ + + +Pre-GSoC +---------- + +**Contributions** + +- `nexB/scancode-toolkit#2423 `_ +- `nexB/scancode-toolkit#2473 `_ +- `nexB/scancode-toolkit#2464 `_ +- `nexB/scancode-toolkit#2381 `_ + +I’ve had a wonderful summer during these 10 weeks journey and have learned plenty of things. I am thankful to Google and Aboutcode for giving me this opportunity to work with such an amazing +community. I am fortunate to have mentors `Philippe Ombredanne `_ and `Ayan Sinha Mahapatra `_ who helped me a lot throughout +my GSoC project and provided constant support. + diff --git a/docs/source/contribute/long_running_issues.rst b/docs/source/contribute/long_running_issues.rst index d41db92b2b6..aaec386a1db 100644 --- a/docs/source/contribute/long_running_issues.rst +++ b/docs/source/contribute/long_running_issues.rst @@ -22,8 +22,6 @@ are considering, what the long-term goals are. - :ref:`roadmap` - `Milestones `_ -- `v3.1 `_ -- `v3.2 `_ - `Documentation Roadmap `_ .. _good_first_issue: diff --git a/docs/source/explanations/overview.rst b/docs/source/explanations/overview.rst index c3df546cee5..5f42cc41761 100644 --- a/docs/source/explanations/overview.rst +++ b/docs/source/explanations/overview.rst @@ -3,8 +3,8 @@ Overview .. _explain_how_scancode_works: -How does ScanCode work? ------------------------ +How does ScanCode detect licenses? +-------------------------------------- For license detection, ScanCode uses a (large) number of license texts and license detection 'rules' that are compiled in a search index. When scanning, the text of the target file is diff --git a/docs/source/getting-started/home.rst b/docs/source/getting-started/home.rst index 40dd19a43f4..813960e3f51 100644 --- a/docs/source/getting-started/home.rst +++ b/docs/source/getting-started/home.rst @@ -1,97 +1,137 @@ Home ==== -ScanCode is a tool to scan code and detect licenses, copyrights and more. +ScanCode does scan code to detect packages and dependencies, licenses, +copyrights and more. + Why ScanCode? ------------- -Discovering the origin and license for a software component is important, but it is often much -harder to accomplish than it should be because: +Discovering the origin and license for a software component is important, but it +is often much harder to accomplish than it should be because: -- A typical software project may reuse tens or hundreds of third-party software components +- A typical software project may reuse tens or thousands of third-party software components - Software authors do not always provide copyright and license information - Copyright and license information that is provided may be hard to find and interpret -ScanCode tries to address this issue by offering: -- A comprehensive code scanner that can detect origin or license information inside codebase files -- A simple command line approach that runs on Windows, Linux, and Mac -- Your choice of JSON or other output formats (SPDX, HTML, CSV) for integration with other tools -- ScanCode workbench for Visualization +ScanCode tries to address these issues by offering: + +- A simple command line approach that runs on Windows, Linux, and macOS +- A comprehensive code scanner that can detect origin and license information in + codebase files, including binaries +- A comprehensive set of package manifests and lockfile parsers to report direct + and pinned dependencies +- Your choice of JSON or other output formats (YAML, SPDX, HTML, CSV) for + integration with other tools - Well-tested, easy to hack, and well-documented code -- Release of the code and reference data under attribution licenses (Apache 2.0 and CC0-1.0) -- Plugin System for easily adding new Functionality to Scans. -- Python 3 Unicode Capabilities for better supporting users from 100+ languages. -- Extensive Documentation Support. +- A plugin system for easily adding new Functionality to Scans. +- Extensive documentation and support. +- We release of the code and reference data under permissive licenses (Apache + 2.0 and CC-BY-4.0) +- ScanCode.io to assemble scripted and specialied code analysis pipelines with + a web-based analysis server +- ScanCode workbench for desktop-based scans visualization + +ScanCode is recognized as the industry leading engine for license and copyright +detection and used as the basis of several open source compliance efforts in +open source projects and companies. It's detection engine is embedded in the +most advanced open source and commercial tools available today for Software +Composition Analysis. + What does ScanCode Toolkit do? ------------------------------ -ScanCode finds the origin history information that is in your codebase with a focus on: +ScanCode detects and normalizes origin, dependencies, licensing and other +related information in your code: + +- by parsing package manifests and dependencies lock files to a normalized + metadata model and assigning each an identifying `Package URL + `_, -- Copyright and other origin clues (emails, urls, authors etc) -- License notices and license text with reference information about detected licenses. +- by detecting license tags, notices and texts in text and binaries using the + world most comprehensive database of licenses texts and notices and a unique + combination of techniuqes, + +- by recognizing copyright statements using an advanced natural language parsing + grammar and detecting other origin clues (such as emails, urls, and authors) Using this data you can: - Discover the origin and license of the open source and third-party software components that you use, -- Create a software component Inventory for your codebase, and -- Use this data to comply with open source license obligations such as attribution - and redistribution. + +- Discover direct dependent pacakges and indirect pinned or locked dependencies, + +- Assemble a software component Inventory of your codebase, and report the data + using standard SBOM formats, + +- Use this data as the input to: + + - open source license compliance obligations such as attribution and redistribution. + - open source package vulnerability detection. + How does it work? ----------------- -Given a codebase in a directory, ScanCode will: +Given a code directory, ScanCode will "scan code": + +- Extract files from any archive using a `universal archive extractor + `_ - Collect an inventory of the code files and classify the code using file types -- Extract files from any archive using a general purpose extractor -- Extract texts from binary files if needed -- Use an extensible rules engine to detect open source license text and notices -- Use a specialized parser to capture copyright statements -- Identify packaged code and collect metadata from packages -- Report the results in the formats of your choice (JSON, SPDX, etc.) for integration with - other tools -- Browse the results using the `ScanCode Workbench `_ - companion app to assist your analysis. - -ScanCode should enable you to identify the “easy” cases on your own, but a software development -team will probably need to build internal expertise or use outside experts (like nexB) in -many cases. +- Extract texts from binary files as needed +- Use an extensible rules engine to detect open source license text, notices + tags, mentions and license expressions with over 31,000 detection rules. + +- Use a specialized natural language parser and grammar to capture copyright + statements + +- Identify packaged code and collect metadata from packages by parsing the + manifest and lockfiles (and in some cases also the installed databases for + system packages) for these package types: .ABOUT, Alpine Linux apk as packages + or installed, Android apk, Autotools, Bazel, JS Bower, Buck, Msft Cab, Rust + Cargo, Chef, Chrome, PHP Composer, Conda, Perl CPAN, R CRAN, Debian deb as + packages or installed, Apple dmg, Java EAR, FreeBSD, Ruby Gem, Go modules, + Haxe, InstallShield, iOS ipa, ISO disk images, Apache IVY, Java JAR, JBoss + SAR, Maven, JS Meteor, Mozilla Extension, Msft MSI, JS npm, NSIS Installer, + NuGet, Ocaml OPAM, Cocoapods, Dart Pub, Python PyPI wheel and related, + structured README, RPMs as packages or installed, Shell archive, Squashfs, + Java WAR, Msft Update Manifest, and Windows Executable. + +- Report the results in the formats of your choice (JSON, YAML, CSV, SPDX, etc.) + for integration with other tools + ScanCode is written in Python and also uses other open source packages. -Alternatives? + +Alternative? -------------- -There are several utilities that do some of what ScanCode does - e.g. You can grep files for -copyright and license text. This may work well for simple cases - e.g. at the single file level, -but we created ScanCode for ourselves because this approach does not help you to see the -recurring patterns of licenses and other origin history clues. +There are several utilities that do some of what ScanCode does - for instance +you can grep files for copyright and license text. This may work well for simple +cases - e.g. at the single whole license text files and well structured +copyright statements, but we created ScanCode for ourselves because this +approach does not help you to see the recurring patterns of licenses and other +origin history clues at scale. -Or you can consider other tools such as: +You can consider other tools such as: - FOSSology (open source, written in C, Linux only, GPL-licensed) -- Ninka (open source, written in Perl, GPL-licensed) -- Commercially-licensed tools, most of them written in Java + History ------- -ScanCode was originally created by nexB to support our software audit consulting services. We have -used and continuously enhanced the underlying toolkit for six years. We decided to release -ScanCode as open source software to give software development teams the opportunity to perform -as much of the software audit function as they like on their own. - -If you have questions or are interested in nexB-provided training or support for ScanCode, please -send us a note at info@scancode.io or visit http://www.nexb.com/. - -We are part of nexB Inc. and most of us are located in the San Francisco Bay Area. Our mission is -to provide the tools and services that enable and accelerate component-based software development. -Reusing software components is essential for the efficient delivery of software products and -systems in every industry. +ScanCode was originally created by nexB to support our software audit consulting +services. We have used and continuously enhanced the underlying toolkit for over +12 years. We decided to release ScanCode as open source software to give +software development teams the opportunity to perform as much of the software +audit function as they like on their own. Thank you for giving ScanCode a try! diff --git a/docs/source/getting-started/ide-config.rst b/docs/source/getting-started/ide-config.rst index 9ebfb95e194..ac42499b386 100644 --- a/docs/source/getting-started/ide-config.rst +++ b/docs/source/getting-started/ide-config.rst @@ -16,6 +16,7 @@ breakpoint. Right click in the test and select "Debug ". Afterward the same test in the debugger using the appropriate keyboard shortcut (e.g. Shift-F9, depending on platform and configured layout). + Visual Studio Code ------------------ diff --git a/docs/source/getting-started/index.rst b/docs/source/getting-started/index.rst index a2f44536ce1..a6664edcfb1 100644 --- a/docs/source/getting-started/index.rst +++ b/docs/source/getting-started/index.rst @@ -7,7 +7,6 @@ home install ide-config - whats-new newcomer .. diff --git a/docs/source/getting-started/install.rst b/docs/source/getting-started/install.rst index a90152dbf3f..a9bd1276981 100644 --- a/docs/source/getting-started/install.rst +++ b/docs/source/getting-started/install.rst @@ -1,54 +1,53 @@ Comprehensive Installation ========================== -There are 4 main ways you can install ScanCode. + +There are four main ways to install ScanCode. - :ref:`app_install` - The recommended method for installing ScanCode is Downloading the latest release as an - application and then configure and use directly. This is easy because no knowledge of pip/git - or other developer tools is necessary. + The recommended method is to download the latest application release as an + application and then configure and use directly. No knowledge of pip/git or + other developer tools is necessary. - :ref:`docker_install` - An alternative to installing the latest Scancode Toolkit release natively is to build - a Docker image from the included Dockerfile. This is easy because the only prerequisite + An alternative to installing the latest Scancode Toolkit release natively is + to build a Docker image from the included Dockerfile. The only prerequisite is a working Docker installation. - :ref:`source_code_install` - You can download/clone the source code repository via git/GitHub and then run a configure script - to install ScanCode. + You can clone the git source code repository and then run a configure script + to configure and install ScanCode. - :ref:`pip_install` - To use ScanCode as a library in your application, you can install it via ``pip``. This is - recommended for developers/users familiar with Package managers/virtualenv. + To use ScanCode as a library in your application, you can install it via + ``pip``. This is recommended for developers/users familiar with Python. ---- Before Installing ----------------- -- ScanCode supports Python 3.6 and higher and is tested on Linux, Mac, and Windows. -- ScanCode supports Python 3.6, 3.7, 3.8. and 3.9 when installed from ``pip``. -- When installing as an application from a release archive, Python 3.6 is required. - -Make sure Python is installed first. +- ScanCode requires a Python version 3.6, 3.7, 3.8. or 3.9 and is + tested on Linux, macOS, and Windows. It should work fine on FreeBSD. System Requirements ^^^^^^^^^^^^^^^^^^^ - Hardware : ScanCode will run best with a modern X86 processor and at least 4GB - of RAM and 500MB of disk. + of RAM and 500MB of disk. These are bare minimum requirements. - Supported operating systems: ScanCode should run on these 64-bit OSes running X86_64 processors: #. Linux: on recent 64-bit Linux distributions, #. Mac: on recent 64-bit macOS (10.14 and up), - #. Windows: on Windows 7 and up, + #. Windows: on Windows 10 and up, + #. FreeBSD, .. _install_prerequisites: @@ -56,44 +55,42 @@ System Requirements Prerequisites ^^^^^^^^^^^^^ -ScanCode needs a Python 3.6 interpreter when installed as an application. +ScanCode needs a Python 3.6+ interpreter; We support all Python versions from +3.6 to 3.9. - **On Linux**: - Use your package manager to install ``python3.6`` (*Recommended*). + Use your package manager to install ``python3``. + + For Ubuntu, it is ``sudo apt install python3-dev`` + + - On Ubuntu 14, 16, 18 and 20 run:: + + sudo apt install python-dev bzip2 xz-utils zlib1g libxml2-dev libxslt1-dev libpopt0 - For ubuntu, it is ``sudo apt install python3.6-dev`` + - On Debian and Debian-based distros run:: - - On Ubuntu 14, 16, 18 and 20 run: - ``sudo apt install python3.6-dev bzip2 xz-utils zlib1g libxml2-dev libxslt1-dev libpopt0`` + sudo apt-get install python3-dev libbz2-1.0 xz-utils zlib1g libxml2-dev libxslt1-devlibpopt0 - - On Debian and Debian-based distros run: - ``sudo apt-get install python3.6-dev libbz2-1.0 xz-utils zlib1g libxml2-dev libxslt1-devlibpopt0`` + - On RPM-based distros run:: - - On RPM-based distros run: - ``sudo yum install python3.6-devel zlib bzip2-libs xz-libs libxml2-devel libxslt-devellibpopt0`` + sudo yum install python3.6-devel zlib bzip2-libs xz-libs libxml2-devel libxslt-devellibpopt0 + + - On Fedora 22 and later run:: + + sudo dnf install python3.6-devel xz-libs zlib libxml2-devel libxslt-devel bzip2-libs libpopt0 - - On Fedora 22 and later run: - ``sudo dnf install python3.6-devel xz-libs zlib libxml2-devel libxslt-devel bzip2-libs libpopt0`` If these packages are not available from your package manager, you must compile them from sources. - **On Mac**: - Download and install Python from this url: - - - Python 3.6.8: https://www.python.org/ftp/python/3.6.8/python-3.6.8-macosx10.6.pkg + Download and install Python 3.6 or higher from https://www.python.org/ - **On Windows**: - Download and install Python from this url: - - - Python 3.6.8: https://www.python.org/ftp/python/3.6.8/python-3.6.8.exe - - Add python to PATH, as ScanCode uses the python from PATH. The last Python you install - registers itself in the environment is the default, if you select the "Add to PATH" option - while installing. + Download and install Python 3.6 or higher from https://www.python.org/ .. Note:: @@ -104,15 +101,15 @@ ScanCode needs a Python 3.6 interpreter when installed as an application. .. Note:: - ScanCode comes with packaged with all dependencies, and so apart from downloading it as an - application, only Python has to be downloaded and installed separately. + ScanCode app archives come with packaged with all required dependencies except + for Python that has to be downloaded and installed separately. ---- .. _app_install: Installation as an Application: Downloading Releases ----------------------------------------------------- +----------------------------------------------------- Installation on Linux and Mac ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -120,12 +117,12 @@ Installation on Linux and Mac Get the Scancode Toolkit tarball archive of a specific version and your operating system by going to the `project releases page `_ -For example, Version 21.6.2 archive can be obtained from -`Toolkit release 21.6.2 `_ +For example, Version 21.8.1 archive can be obtained from +`Toolkit release 21.8.1 `_ under assets options. Download the archive for your operating systen and extract the archive from command line:: - tar -xvf scancode-toolkit-21.6.2_py36-linux.tar.xz + tar -xvf scancode-toolkit-21.8.1_py39-linux.tar.xz Or, on Linux, right click and select "Extract Here". @@ -176,8 +173,9 @@ Installation on Windows 10 - A new 'Command Prompt'pops up. -- In this window (aka a 'command prompt'), type 'cd' followed by a space and then Right-click in - this window and select Paste. This will paste the path where you extracted ScanCode:: +- In this window (aka a 'command prompt'), type 'cd' followed by a space and + then Right-click in this window and select Paste. This will paste the path you + copied before and is where you extracted ScanCode:: cd path/to/extracted_ScanCode @@ -197,15 +195,12 @@ Installation on Windows 10 - The installation is complete. -This uses the default Python present in the PATH environment variable i.e. the last Python -installed registers itself in the environment as the default. - - Un-installation ^^^^^^^^^^^^^^^ - Delete the directory in which you extracted ScanCode. -- Delete any temporary files created in your system temp directory under a ScanCode directory. +- Delete any temporary files created in your system temp and user temp directory + under a scanCode-prefixed directory. ---- @@ -218,11 +213,14 @@ Installation via Docker: You can install Scancode Toolkit by building a Docker image from the included Dockerfile. The prerequisite is a working `docker installation `_. + Download the ScanCode-Toolkit Source Code ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- Either download the Source Code for one of the releases ( :ref:`app_install` ) and unzip it. -- Or git clone the latest ( :ref:`source_code_install` ) Source Code. +- Either download the Source Code for one of the releases ( :ref:`app_install` ) + and unzip it. +- Or ``git clone https://github.com/nexB/scancode-toolkit`` to get the latest + ( :ref:`source_code_install` ) Source Code. Build the Docker image @@ -261,7 +259,7 @@ those after will be forwarded to scancode. .. _source_code_install: Installation from Source Code: Git Clone ----------------------------------------- +----------------------------------------- You can also download the Scancode Toolkit Source Code and build from it yourself. This is how you would want to do it if: @@ -286,13 +284,13 @@ Or you can run the following if you have `Git `_ installed Now, by default the files are checked out to the develop branch, but you can jump to any checkpoint using the following command:: - git checkout main + git checkout develop -Here, ``main`` branch has the latest release of Scancode-Toolkit. You can also check out to any -of the following: +Here, ``develop`` branch has the latest release of Scancode-Toolkit. +You can also check out to any of the following: -- Branches (Locally created or already present) [Example - ``main``] -- Tags (essentially version numbers) [Example - ``v21.2.25``, ``v21.6.1``] +- Branches (Locally created or already present) [Example - ``develop``] +- Tags (essentially version numbers) [Example - ``v21.8.1``, ``v21.5.31``] - Commits (use the shortened commit hash) [Example - ``4502055``, ``f276398``] @@ -319,6 +317,12 @@ On Windows: Now you are ready to use the freshly configured scancode-toolkit. +.. NOTE:: + + For use in development, run instead ``configure --dev``. If your face + issues while configuring a previous version, ``configure --clean`` to + clean and reset your enviroment. You will need to run ``configure`` again. + ---- @@ -327,25 +331,30 @@ Now you are ready to use the freshly configured scancode-toolkit. Installation as a library: via ``pip`` -------------------------------------- -ScanCode can be installed using ``pip``, the default Python Package Manager. The steps are: +ScanCode can be installed using ``pip``, the default Python Package Manager. +The steps are: + +#. Create a Python virtual environment:: -#. Create a Python 3.6 Virtual Environment:: + /usr/bin/python3 -m venv . - virtualenv -p /usr/bin/python3.6 venv-scancode +For more information on Python virtualenv, visit this +`page `_. -For more information on Python virtualenv, visit this `page `_. +#. Activate the virtual environment you just created:: -#. Activate the Virtual Environment you just created:: + source bin/activate - source venv-scancode/bin/activate +#. Run ``pip install --upgraded pip setuptools wheel`` to install the latest + versions of base utilities. -#. Run ``pip install scancode-toolkit`` to install the latest version of Scancode. +#. Run ``pip install scancode-toolkit`` to install the latest version of ScanCode. .. NOTE:: For advanced usage, ``scancode-toolkit-mini`` is an alternative package with no default dependencies on pre-built binaries. This may come handy for some - special use cases such as packaging for a Linux of FreeBSD distro. + special use cases such as packaging for a Linux or FreeBSD distro. To uninstall, run ``pip uninstall scancode-toolkit``. diff --git a/docs/source/getting-started/newcomer.rst b/docs/source/getting-started/newcomer.rst index 60b23a9a985..e173eb2bde7 100644 --- a/docs/source/getting-started/newcomer.rst +++ b/docs/source/getting-started/newcomer.rst @@ -63,14 +63,14 @@ Scancode-Toolkit can be installed in 3 different methods. .. include:: /rst_snippets/note_snippets/synopsis_install_quickstart.rst -#. The :ref:`newcomer_scan_codebase` section helps you with configuring your virtual environment, - installing Scancode and performing a basic scan, and subsequently visualize the results. +#. The :ref:`newcomer_scan_codebase` section helps you with configuring and + installing Scancode and performing a basic scan, then visualize the results. -#. The :ref:`newcomer_scancode_tips` section helps you customize the scan according to your - requirements, and better understand the advanced features you can use. +#. The :ref:`newcomer_scancode_tips` section helps you customize the scan + according to your requirements, and better understand advanced features. -#. The :ref:`newcomer_all_tutorials` is essentially an exhaustive list of all Tutorials and - How To's with a brief description. +#. The :ref:`newcomer_all_tutorials` is an exhaustive directory of all Tutorials + and How To's with a brief description. .. _newcomer_before: @@ -154,8 +154,7 @@ ScanCode Versions ^^^^^^^^^^^^^^^^^ #. You can see all Scancode Toolkit versions on the `GitHub release page `_. -#. Refer :ref:`whats_new_this_release` to know more about the latest release. -#. You can also refer the `CHANGELOG `_ for more information on specific releases. +#. Read the `CHANGELOG `_ for more information on specific releases. #. If you want to use/test a specific version of Scancode Toolkit, you can follow the instructions in :ref:`source_code_install` docs. @@ -239,12 +238,7 @@ To determine where to contribute, you can refer: #. ScanCode Toolkit tracks issues via the `GitHub Issue tracker `_ #. Broad `milestones `_ for upcoming versions are also maintained. -And documentation related to contributing code can be referred at :ref:`contrib_code_dev`. The main -sections are: - -#. :ref:`contrib_code_conven` -#. :ref:`scancode_toolkit_developement_running_tests` -#. :ref:`contrib_dev_pip_and_configure` +And documentation related to contributing code can be referred at :ref:`contrib_code_dev`. .. _newcomer_good_first_issue: @@ -301,10 +295,10 @@ The sections in this page cover the following: You can contribute to the following Open Issues on documentation. -#. `Issues with label Documentation `_ +#. `First Timers Only Issues List `_ #. `Documentation Inconsistencies Tracker `_ #. `ScanCode Toolkit Documentation Roadmap `_ -#. `First Timers Only Issues List `_ +#. `Issues with label Documentation `_ .. note:: @@ -314,6 +308,7 @@ Also, consider contributing to other Aboutcode Project Documentations, as they n .. _newcomer_gsoc_gsod: + Participate in GSoC/GSoD ^^^^^^^^^^^^^^^^^^^^^^^^ @@ -325,8 +320,8 @@ If you want to participate in any of the two programs: Then: #. Keep an eye out for Application Timelines. -#. Solve multiple of these :ref:`good_first_issue` to demonstrate your skills, and improve your - chances of selection. +#. Solve multiple of these :ref:`good_first_issue` to demonstrate your skills, + and improve your chances of selection. #. Refer the Projects Ideas list for details on tentative projects. - :ref:`GSoC2019` diff --git a/docs/source/getting-started/whats-new.rst b/docs/source/getting-started/whats-new.rst deleted file mode 100644 index e4e5a43ad74..00000000000 --- a/docs/source/getting-started/whats-new.rst +++ /dev/null @@ -1,73 +0,0 @@ -.. _whats_new_this_release: - -What's New in This Release? -=========================== - -A new release of Scancode-Toolkit is here! - -Quick Summary -------------- - -- Version - 3.1.1 -- Tag - ``v.3.1.1`` -- Date - 5th September 2019 -- Type - Pre-Release -- Comments - Release v3.1.1 which the release candidate 2 of 3.1.x - -Main New Features ------------------ - -This is the first 3.1 release with the best, fastest and most efficient ScanCode ever released. - -This release contains many improvements, fixes and new features including breaking API changes (when compared to 2.2.x). See the `CHANGELOG `_ for details. - -This release also comes with a Full Documentation hosted at -`aboutcode.readthedocs.io `_. - -To install, download scancode-toolkit-3.1.1.zip or scancode-toolkit-3.1.1.tar.bz2 from the Downloads section below and follow installation instructions in the `README `_. - -This is also available as a Python library from Pypi with ``pip install scancode-toolkit``. - -You can also download the corresponding source code for bundled pre-built third-party binaries from -these locations: - -- https://github.com/nexB/scancode-thirdparty-src/archive/v1.0.0.tar.gz -- https://github.com/nexB/scancode-thirdparty-src/archive/v1.0.0.zip - -Brief Summary Of Changes ------------------------- - -Documentation Support -^^^^^^^^^^^^^^^^^^^^^ - -From Scancode 3.1.1 Scancode comes with improved and comprehensive Documentation Support. - -The documentation is available both offline (distributed with Scancode) and online, -at ``scancode-toolkit.readthedocs.io/en/latest/``. The documentation in GitHub wiki's will be -deprecated hereafter. The new documentation has improved support in terms of: - -#. Consistent with the Latest Version -#. Command Line Interface Reference -#. Getting Started Support for Newcomers -#. Restructured to fit into the recommended `4 Category Doc Format `_ -#. Updated Tutorials/How To's -#. Updated Plugin Support - -This results in a much better documentation experience in Users and even contributors. - -Python 3 Support -^^^^^^^^^^^^^^^^ - -Python 3 is now officially supported by Scancode-Toolkit. - -This also means improved Unicode support, so it's easy to translate strings from Unicode to -other languages. And as Scancode has users in more than 100 languages, this is a major improvement. - -Better install Support -^^^^^^^^^^^^^^^^^^^^^^^ - -Now, Downloading ScanCode as an Application is the recommended install method, across all -platforms. This greatly simplifies the install process, and is much easier for all users. -Developers familiar with package managers can also download ScanCode as a library, via ``pip`` -or configure from the source. All these methods are properly documented, across all platforms -and scenarios. diff --git a/docs/source/how-to-guides/add_new_license.rst b/docs/source/how-to-guides/add_new_license.rst index b509f995b99..afa30bd7c31 100644 --- a/docs/source/how-to-guides/add_new_license.rst +++ b/docs/source/how-to-guides/add_new_license.rst @@ -6,15 +6,18 @@ How To Add a New License for Detection How to add a new license for detection? --------------------------------------- -To add new license, you first need to select a new and unique license key (mit and gpl-2.0 are -some of the existing license keys). All licenses are stored as plain text files in the -src/licensedcode/data/licenses directory using their key as part of the file names. +To add new license, you first need to select a new and unique license key (mit +and gpl-2.0 are some of the existing license keys). All licenses are stored as +plain text files in the src/licensedcode/data/licenses directory using their key +as base for the file name(s). You need to create a pair of files: -- a file with the text of the license saved in a plain text file named key.LICENSE +- a file with the text of the license saved in a plain text file named + key.LICENSE -- a small text data file (in YAML format) named key.yml that contains license information such as:: +- a small text data file (in YAML format) named key.yml that contains license + information such as:: key: my-license name: My License @@ -29,4 +32,4 @@ Save these two files in the ``src/licensedcode/data/licenses/`` directory. Done! -See the ``src/licensedcode/data/licenses/`` directory for examples. +See the ``src/licensedcode/data/licenses/`` directory for many examples. diff --git a/docs/source/how-to-guides/add_new_license_detection_rule.rst b/docs/source/how-to-guides/add_new_license_detection_rule.rst index 2a8f09c6eaf..239a5bc9c70 100644 --- a/docs/source/how-to-guides/add_new_license_detection_rule.rst +++ b/docs/source/how-to-guides/add_new_license_detection_rule.rst @@ -3,9 +3,10 @@ How to Add New License Rules for Enhanced Detection =================================================== -ScanCode relies on license rules to detect licenses. A rule is a simple text file containing a -license text or notice or mention. And a small YAML text file that tells ScanCode which licenses -to report when the text is detected. +ScanCode relies on license rules to detect licenses. A rule is a simple text +file containing a license text or notice or mention; And a small companion YAML +text file that tells ScanCode which license expression to report when the text +is detected. See the :ref:`faq` for a high level description of :ref:`add_new_license_det_rule`. @@ -14,60 +15,50 @@ How to add a new license detection rule? A license detection rule is a pair of files: -- a plain text rule file that is typically a variant of a license text, notice or license mention. -- a small text data file (in YAML format) documenting which license(s) should be detected for the - rule text. +- a plain text rule file that is typically a variant of a license text, notice + or license mention. -To add a new rule, you need to pick a unique base file name. As a convention, we like to include the -license key(s) that should be detected in that name to make it more descriptive. For example: -mit_and_gpl-2.0 is a good base name. Add a suffix to make it unique if there is already a rule -with this base name. Do not use spaces or special characters in that name. +- a small text data file (in YAML format) documenting which license expression + should be detected when the rule text is found in a codebase. -Then create the rule file in the src/licensedcode/data/rules/ directory using this name, replacing -selected_base_name with the base name you selected:: +To add a new rule, you need to pick a unique base file name. As a convention, we +like to include the license expression that should be detected in that name to +make it more descriptive. For example: mit_and_gpl-2.0 is a good base name for a +rule that would detect an MIT and GPL-2.0 license combination at once. Add a +suffix to make it unique if there is already a rule with this base name. Do not +use spaces or special characters in that name. + +Then create the rule file in the src/licensedcode/data/rules/ directory using +this name, replacing selected_base_name with the base name you selected:: selected_base_name.RULE Save your rule text in this file. -Then create the YAML data file in the src/licensedcode/data/rules/ directory using this name:: +Then create the YAML data file in the src/licensedcode/data/rules/ directory +using this name:: selected_base_name.yml -For a simple mit and gpl-2.0 detection license keys detection, the content of this file can be -this YAML snippet:: +For a simple mit and gpl-2.0 license expression detection, the content of +this file can be this YAML snippet:: - licenses: - - mit - - gpl-2.0 + license_expression: mit AND gpl-2.0 + is_license_notice: yes -Save these two files in the ``src/licensedcode/data/licenses/`` directory and you are done! +Save these two files in the ``src/licensedcode/data/licenses/`` directory and +you are done! -See the ``src/licensedcode/data/rules/`` directory for examples. +See the ``src/licensedcode/data/rules/`` directory for many examples. More (advanced) rules options: -- you can use a notes: text field to document this rule. - -- if no license should be detected for your .RULE text, do not add a list of license keys, - just add a note. - -- .RULE text can contain special text regions that can be ignored when scanning for licenses. - You can mark a template region in your rule text using {{double curly braces}} and up to five - words can vary and still match this rule. You must add this field in your .yml data file to mark - this rule as a template - -:: - - template: yes - -- By using a number after the opening braces, more than five words can be skipped. - With {{10 double curly braces }} ten words would be skipped. - -- To mark a rule as detecting a choice of licenses, add this field in your .yml file:: +- you can use a notes: text field to document this rule and explain where you + found it first. - license_choice: yes +- if no license should be detected for your .RULE text, do not add a license expression, + just add a ``notes`` field. -See the `#257 issue `_ and the related -`#258 pull request `_ for an example: -this adds a new rule to detect a combination of MIT or GPL. +- Each rules needs have one flag such as is_license_notice. See the + ``src/licensedcode/models.py`` directory for a list of all possible values and + other options. diff --git a/docs/source/index.rst b/docs/source/index.rst index 9d21d4b23e4..cffcec81f65 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -94,7 +94,6 @@ Miscellaneous Documents :maxdepth: 2 misc/index - license Discussion Documents diff --git a/docs/source/license.rst b/docs/source/license.rst deleted file mode 100644 index c9380b6a32a..00000000000 --- a/docs/source/license.rst +++ /dev/null @@ -1,6 +0,0 @@ -License -======= - -ScanCode Toolkit includes documents that are dedicated to the Public Domain using the -Creative Commons CC0 1.0 Universal (CC0 1.0) Public Domain Dedication: -https://creativecommons.org/publicdomain/zero/1.0/ diff --git a/docs/source/misc/faq.rst b/docs/source/misc/faq.rst index 4662fc40b3a..3456b09b83e 100644 --- a/docs/source/misc/faq.rst +++ b/docs/source/misc/faq.rst @@ -12,65 +12,72 @@ We could not find an existing tool (open source or commercial) meeting our needs - running on Linux, Mac and Windows - written in a higher level language such as Python - easy to extend and evolve +- accurately detecting most licenses and copyrights -Can licenses be synchronized with the DejaCode license library? ---------------------------------------------------------------- -The license keys are the same that are used in DejaCode. They are kept in sync by hand in the -short term. There is also a ticket to automate that sync with DejaCode and possibly other sources. -See https://github.com/nexB/scancode-toolkit/issues/41 +How is ScanCode different from Debian licensecheck? +------------------------------------------------------- -How is ScanCode different from licensecheck? --------------------------------------------- +At a high level, ScanCode detects more licenses and copyrights than licensecheck +does, reporting more details about the matches. It is likely slower. -At a high level, ScanCode detects more licenses and copyrights than licensecheck does, reporting -more details about the matches. It is likely slower. +In more details: ScanCode is a Python app using a data-driven approach (as +opposed to carefully crafted regex like licensecheck uses): -In more details: ScanCode is a Python app using a data-driven approach (as opposed to carefully -crafted regex): +- for license scan, the detection is based on a (large) number of license full + texts (~1800) and license notices, mentions and variants (~29,000 and is data- + driven as opposed to be regex-driven. It detects and reports exactly where + license text is found in a file. Just throw in more license texts to improve + the detection. + +- for copyright scan, the approach is natural language parsing grammar; it has a + few thousand tests. -- for license scan, the detection is based on a (large) number of license full texts (~900) and - license notices/rules (~1800) and is data driven as opposed to regex-driven. It detects exactly - where in a file a license text is found. Just throw in more license texts to improve the - detection. -- for copyright scan, the approach is natural language parsing (using NLTK) with POS tagging and - a grammar; it has a few thousand tests. - licenses and copyrights are detected in texts and binaries -Licensecheck (available here for reference: /https://metacpan.org/pod/App::Licensecheck ) -is a Perl script using hand-crafted regex patterns to find typical copyright statements and -about 50 common licenses. There are about 50 license detection tests. +- licenses and copyrights are also detected in structured package manifests + + +Licensecheck (available here for reference: +https://metacpan.org/pod/App::Licensecheck ) is a Perl script using hand- +crafted regex patterns to find typical copyright statements and about 50 common +licenses. There are about 50 license detection tests. + +A quick test (in July 2015, before a major refactoring, but for this may still +be still valid) shows several things that are not detected by licensecheck that +are detected by ScanCode. -A quick test (in July 2015, before a major refactoring, but for this notice still valid) shows -several things that are not detected by licensecheck that are detected by ScanCode. How can I integrate ScanCode in my application? ----------------------------------------------- -More specifically, does this tool provide an API which can be used by us for the integration -with my system to trigger the license check and to use the result? +More specifically, does this tool provide an API which can be used by us for the +integration with my system to trigger the license check and to use the result? In terms of API, there are two stable entry points: -#. The JSON output when you use it as a command line tool from any language or when you call -the scancode.cli.scancode function from a Python script. -#. Otherwise the scancode.cli.api module provides a simple function if you are only interested -in calling a certain service on a given file (such as license detection or copyright detection) +#. The JSON output when you use it as a command line tool from any language or +when you call the scancode.cli.scancode function from a Python script. + +#. Otherwise the scancode.cli.api module provides a simple function if you are +only interested in calling a certain service on a given file (such as license +detection or copyright detection) + Can I install ScanCode in a Unicode path? ----------------------------------------- -Not for now. See https://github.com/nexB/scancode-toolkit/issues/867 There is a bug in virtualenv -on Python2 https://github.com/pypa/virtualenv/issues/457 At this stage and until we completed the -migration to Python 3 there is no way out but to use a path that contains only ASCII characters. +Yes but but it is best to void this for now. See +https://github.com/nexB/scancode- toolkit/issues/867 + +There is a bug in virtualenv https://github.com/pypa/virtualenv/issues/457 that +is now fixed but has not been extensively tested for ScanCode. -.. - [ToDo] Update from Python 2.x to Python 3.x The line numbers for a copyright found in a binary are weird. What do they mean? -------------------------------------------------------------------------------- -When scanning binaries, the line numbers are just a relative indication of where a detection was -found: there is no such thing as lines in a binary. The numbers reported are based on the strings -extracted from the binaries, typically broken as new lines with each NULL character. They can be -safely ignored. +When scanning binaries, the line numbers are just a relative indication of where +a detection was found: there is no such thing as lines in a binary. The numbers +reported are based on the strings extracted from the binaries, typically broken +as new lines with each NULL character. diff --git a/docs/source/misc/support.rst b/docs/source/misc/support.rst index 13e3b0c7eab..48064e2f8b0 100644 --- a/docs/source/misc/support.rst +++ b/docs/source/misc/support.rst @@ -8,24 +8,16 @@ Documentation The ScanCode toolkit documentation lives at aboutcode.readthedocs.io/en/latest/scancode-toolkit/. + Issue Tracker ------------- Post questions and bugs as GitHub tickets at: https://github.com/nexB/scancode-toolkit/issues -StackOverflow -------------- - -Ask question on StackOverflow using the [scancode] tag. -Talk to the Developers +Join the conversation ---------------------- -Join our `Gitter Channel `_ to talk with the developers of -ScanCode Toolkit. - -Documentation -------------- +Join our `Gitter Channel `_ to chat +with users and developers of ScanCode Toolkit. -For more information on Documentation or to leave feedback mail at aboutCode@groups.io, or leave a -message at our `Docs Channel `_. diff --git a/docs/source/plugins/plugin_arch.rst b/docs/source/plugins/plugin_arch.rst index 7c998426ce3..be075774a0b 100644 --- a/docs/source/plugins/plugin_arch.rst +++ b/docs/source/plugins/plugin_arch.rst @@ -3,54 +3,51 @@ Plugin Architecture =================== -Notes: this is the initial design for ScanCode plugins. The actual architecture evolved and is -different. - Abstract: --------- -This project’s purpose is to create a decoupled plugin architecture for scancode such that it can -handle plugins at different stages of a scan and can be coupled at runtime. These stages would be - -* Pre - scan: Before starting the scan - -E.g Plugins to handle extraction of different archive types or instructions on how to handle -certain types of files. +The purpose of plugins is to create a decoupled architecture such that ScanCode can +support extensibility at different stages of a scan. These stages are: -* Scan proper: During the scan +* Pre-scan: Before starting the scan proper, such as plugins to handle + extraction of different archive types or instructions on how to handle certain + types of files, or to collect filetypes. These plugins process a whole codebase + at once. -E.g Plugins to add more options for the scan, maybe to ignore certain files or add some -command line arguments, create new scans (alternative or as a dependency for further scanning) etc. +* Scan proper: plugins to scan a file e.g. collect data and evidece from the + files. These plugins process one file at a teim and can do a whole codebase + pass once all files are scanned. -* Post - scan: After the scan +* Post-scan: After the scan, e.g plugins for summarization and other aggregated + operation once all scans are completed. These plugins process a whole codebase + at once. -E.g Plugins for output deduction, formatting or converting output to other formats -(such as json, spdx, csv, xml, etc.) +* Output and output filter: plugins for output creation and filtering such as + formatting or converting output to other formats (such as json, spdx, csv, + yaml). These plugins process a whole codebase at once. -Upside of building a pluggable system would be to allow easier additions and rare modifications -to code, without having to really fiddle around with core codebase. This will also provide a level -of abstraction between the plugins and scancode so that any erroneous plugin would not affect the -functioning of scancode as a whole. Description: ------------ -This project aims at making scancode a “pluggable” system, where new functionalities can be added -to scancode at runtime as “plugins”. These plugins can be hooked into scancode using some -predefined hooks. I would consider pluggy as the way to go for a plugin management system. +This project aims at making scancode a “pluggable” system, where new +functionalities can be added to scancode at runtime as “plugins”. These plugins +can be hooked into scancode using some predefined hooks. I would consider pluggy +as the way to go for a plugin management system. Why pluggy? ^^^^^^^^^^^ -Pluggy is well documented and maintained regularly, and has proved its worth in projects such as -py.test. Pluggy relies on hook specifications and hook implementations (callbacks) instead of the -conventional subclassing approach which may encourage tight-coupling in the overlying framework. -Basically a hook specification contains method signatures (no code), these are defined by the -application. A hook implementation contains definitions for methods declared in the corresponding -hook specification implemented by a plugin. +Pluggy is well documented and maintained regularly, and has proved its worth in +projects such as pytest. Pluggy relies on hook specifications and hook +implementations (callbacks) instead of the conventional subclassing approach +which may encourage tight-coupling in the overlying framework. Basically a hook +specification contains method signatures (no code), these are defined by the +application. A hook implementation contains definitions for methods declared in +the corresponding hook specification implemented by a plugin. -As mentioned in the abstract, the plugin architecture will have 3 hook specifications (can be -increased if required) +As mentioned in the abstract, the plugin architecture will have 3 hook +specifications (can be increased if required) 1. Pre - scan hook ^^^^^^^^^^^^^^^^^^ diff --git a/docs/source/rst_snippets/note_snippets/output_json_notdef.rst b/docs/source/rst_snippets/note_snippets/output_json_notdef.rst deleted file mode 100644 index 6de990df537..00000000000 --- a/docs/source/rst_snippets/note_snippets/output_json_notdef.rst +++ /dev/null @@ -1,4 +0,0 @@ -.. note:: - - There isn't any default output option in Scancode Versions 3.x, unlike 2.x versions (which had - ``json`` as default). diff --git a/docs/source/tutorials/how_to_run_a_scan.rst b/docs/source/tutorials/how_to_run_a_scan.rst index a65601b15e9..4559f2e545d 100644 --- a/docs/source/tutorials/how_to_run_a_scan.rst +++ b/docs/source/tutorials/how_to_run_a_scan.rst @@ -8,7 +8,7 @@ by default with Scancode. Prerequisites ------------- -Refer to the :ref:`install` installation guide. +Refer to the :ref:'install' installation guide. Looking into Files diff --git a/etc/release/fetch_requirements.py b/etc/release/fetch_requirements.py index 6cb73ed0b2c..dfd202a7f53 100755 --- a/etc/release/fetch_requirements.py +++ b/etc/release/fetch_requirements.py @@ -8,10 +8,11 @@ # See https://github.com/nexB/scancode-toolkit for support or download. # See https://aboutcode.org for more information about nexB OSS projects. # +import itertools + import click import utils_thirdparty -import itertools @click.command() @@ -63,6 +64,15 @@ is_flag=True, help='Fetch only the corresponding source distributions.', ) +@click.option('-u', '--remote-links-url', + type=str, + metavar='URL', + default=utils_thirdparty.REMOTE_LINKS_URL, + show_default=True, + help='URL to a PyPI-like links web site. ' + 'Or local path to a directory with wheels.', +) + @click.help_option('-h', '--help') def fetch_requirements( requirements_file, @@ -73,6 +83,7 @@ def fetch_requirements( with_about, allow_unpinned, only_sources, + remote_links_url=utils_thirdparty.REMOTE_LINKS_URL, ): """ Fetch and save to THIRDPARTY_DIR all the required wheels for pinned @@ -82,7 +93,9 @@ def fetch_requirements( Also fetch the corresponding .ABOUT, .LICENSE and .NOTICE files together with a virtualenv.pyz app. - Use exclusively our remote repository (and not PyPI). + Use exclusively wheel not from PyPI but rather found in the PyPI-like link + repo ``remote_links_url`` if this is a URL. Treat this ``remote_links_url`` + as a local directory path to a wheels directory if this is not a a URL. """ # fetch wheels @@ -93,23 +106,28 @@ def fetch_requirements( if not only_sources: envs = itertools.product(python_versions, operating_systems) envs = (utils_thirdparty.Environment.from_pyver_and_os(pyv, os) for pyv, os in envs) + for env, reqf in itertools.product(envs, requirements_files): + for package, error in utils_thirdparty.fetch_wheels( environment=env, requirements_file=reqf, allow_unpinned=allow_unpinned, dest_dir=thirdparty_dir, + remote_links_url=remote_links_url, ): if error: print('Failed to fetch wheel:', package, ':', error) # optionally fetch sources if with_sources or only_sources: + for reqf in requirements_files: for package, error in utils_thirdparty.fetch_sources( requirements_file=reqf, allow_unpinned=allow_unpinned, dest_dir=thirdparty_dir, + remote_links_url=remote_links_url, ): if error: print('Failed to fetch source:', package, ':', error) diff --git a/etc/release/gen_pypi_simple.py b/etc/release/gen_pypi_simple.py new file mode 100644 index 00000000000..887e407a258 --- /dev/null +++ b/etc/release/gen_pypi_simple.py @@ -0,0 +1,191 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +# SPDX-License-Identifier: BSD-2-Clause-Views AND MIT +# Copyright (c) 2010 David Wolever . All rights reserved. +# originally from https://github.com/wolever/pip2pi + +import os +import re +import shutil + +from html import escape +from pathlib import Path + +""" +name: pip compatibility tags +version: 20.3.1 +download_url: https://github.com/pypa/pip/blob/20.3.1/src/pip/_internal/models/wheel.py +copyright: Copyright (c) 2008-2020 The pip developers (see AUTHORS.txt file) +license_expression: mit +notes: the weel name regex is copied from pip-20.3.1 pip/_internal/models/wheel.py + +Copyright (c) 2008-2020 The pip developers (see AUTHORS.txt file) + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +""" +get_wheel_from_filename = re.compile( + r"""^(?P(?P.+?)-(?P.*?)) + ((-(?P\d[^-]*?))?-(?P.+?)-(?P.+?)-(?P.+?) + \.whl)$""", + re.VERBOSE +).match + +sdist_exts = ".tar.gz", ".tar.bz2", ".zip", ".tar.xz", +wheel_ext = ".whl" +app_ext = ".pyz" +dist_exts = sdist_exts + (wheel_ext, app_ext) + + +class InvalidDistributionFilename(Exception): + pass + + +def get_package_name_from_filename(filename, normalize=True): + """ + Return the package name extracted from a package ``filename``. + Optionally ``normalize`` the name according to distribution name rules. + Raise an ``InvalidDistributionFilename`` if the ``filename`` is invalid:: + + >>> get_package_name_from_filename("foo-1.2.3_rc1.tar.gz") + 'foo' + >>> get_package_name_from_filename("foo-bar-1.2-py27-none-any.whl") + 'foo-bar' + >>> get_package_name_from_filename("Cython-0.17.2-cp26-none-linux_x86_64.whl") + 'cython' + >>> get_package_name_from_filename("python_ldap-2.4.19-cp27-none-macosx_10_10_x86_64.whl") + 'python-ldap' + >>> get_package_name_from_filename("foo.whl") + Traceback (most recent call last): + ... + InvalidDistributionFilename: ... + >>> get_package_name_from_filename("foo.png") + Traceback (most recent call last): + ... + InvalidFilePackageName: ... + """ + if not filename or not filename.endswith(dist_exts): + raise InvalidDistributionFilename(filename) + + filename = os.path.basename(filename) + + if filename.endswith(sdist_exts): + name_ver = None + extension = None + + for ext in sdist_exts: + if filename.endswith(ext): + name_ver, extension, _ = filename.rpartition(ext) + break + + if not extension or not name_ver: + raise InvalidDistributionFilename(filename) + + name, _, version = name_ver.rpartition('-') + + if not (name and version): + raise InvalidDistributionFilename(filename) + + elif filename.endswith(wheel_ext): + + wheel_info = get_wheel_from_filename(filename) + + if not wheel_info: + raise InvalidDistributionFilename(filename) + + name = wheel_info.group('name') + version = wheel_info.group('version') + + if not (name and version): + raise InvalidDistributionFilename(filename) + + elif filename.endswith(app_ext): + name_ver, extension, _ = filename.rpartition(".pyz") + + if "-" in filename: + name, _, version = name_ver.rpartition('-') + else: + name = name_ver + + if not name: + raise InvalidDistributionFilename(filename) + + if normalize: + name = name.lower().replace('_', '-') + return name + + +def build_pypi_index(directory, write_index=False): + """ + Using a ``directory`` directory of wheels and sdists, create the a PyPI simple + directory index at ``directory``/simple/ populated with the proper PyPI simple + index directory structure crafted using symlinks. + + WARNING: The ``directory``/simple/ directory is removed if it exists. + """ + + directory = Path(directory) + + index_dir = directory / "simple" + if index_dir.exists(): + shutil.rmtree(str(index_dir), ignore_errors=True) + + index_dir.mkdir(parents=True) + + if write_index: + simple_html_index = [ + "PyPI Simple Index", + "", + ] + + package_names = set() + for pkg_file in directory.iterdir(): + + pkg_filename = pkg_file.name + + if ( + not pkg_file.is_file() + or not pkg_filename.endswith(dist_exts) + or pkg_filename.startswith(".") + ): + continue + + pkg_name = get_package_name_from_filename(pkg_filename) + pkg_index_dir = index_dir / pkg_name + pkg_index_dir.mkdir(parents=True, exist_ok=True) + pkg_indexed_file = pkg_index_dir / pkg_filename + link_target = Path("../..") / pkg_filename + pkg_indexed_file.symlink_to(link_target) + + if write_index and pkg_name not in package_names: + esc_name = escape(pkg_name) + simple_html_index.append(f'{esc_name}
') + package_names.add(pkg_name) + + if write_index: + simple_html_index.append("") + index_html = index_dir / "index.html" + index_html.write_text("\n".join(simple_html_index)) + + +if __name__ == "__main__": + import sys + pkg_dir = sys.argv[1] + build_pypi_index(pkg_dir) diff --git a/etc/release/gen_pypi_simple.py.ABOUT b/etc/release/gen_pypi_simple.py.ABOUT new file mode 100644 index 00000000000..4de5ded0def --- /dev/null +++ b/etc/release/gen_pypi_simple.py.ABOUT @@ -0,0 +1,8 @@ +about_resource: gen_pypi_simple.py +name: gen_pypi_simple.py +license_expression: bsd-2-clause-views and mit +copyright: Copyright (c) nexB Inc. + Copyright (c) 2010 David Wolever + Copyright (c) The pip developers +notes: Originally from https://github.com/wolever/pip2pi and modified extensivley + Also partially derived from pip code diff --git a/etc/release/gen_pypi_simple.py.NOTICE b/etc/release/gen_pypi_simple.py.NOTICE new file mode 100644 index 00000000000..6e0fbbcd5c4 --- /dev/null +++ b/etc/release/gen_pypi_simple.py.NOTICE @@ -0,0 +1,56 @@ +SPDX-License-Identifier: BSD-2-Clause-Views AND mit + +Copyright (c) nexB Inc. +Copyright (c) 2010 David Wolever +Copyright (c) The pip developers + + +Original code: copyright 2010 David Wolever . All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +EVENT SHALL OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +The views and conclusions contained in the software and documentation are those +of the authors and should not be interpreted as representing official policies, +either expressed or implied, of David Wolever. + + +Original code: Copyright (c) 2008-2020 The pip developers + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/etc/release/scancode-create-release.sh b/etc/release/scancode-create-release.sh index bdfa50a7a42..1960d4ffe00 100755 --- a/etc/release/scancode-create-release.sh +++ b/etc/release/scancode-create-release.sh @@ -6,14 +6,18 @@ ################################################################################ # ScanCode release build script # Create, test and publish release archives, wheels and sdists. -# Use the --test to also run basic somke test of the built archives +# Use the --test to also run basic smoke tests of the built archives +# +# To use a local checkout of https://github.com/nexB/thirdparty-packages/ rather +# than https://thirdparty.aboutcode.org/ set the variable PYPI_LINKS to point +# to your thirdparty-packages/pypi local directory (this speeds up the release +# creation and allow to work mostly offline. # ################################################################################ # Supported current app Python version and OS # one archive or installer is built for each python x OS combo -PYTHON_APP_VERSION="36" -PYTHON_APP_DOT_VERSION="3.6" +PYTHON_APP_DOT_VERSIONS="3.6 3.7 3.8 3.9" PYTHON_PYPI_TESTS_DOT_VERSIONS="3.6 3.7 3.8 3.9" @@ -50,14 +54,18 @@ function run_app_smoke_tests { # # Arguments: # operating_system: One of windows, linux or macos + # python_app_dot_version: the python version to test (no dot) operating_system=$1 + python_app_dot_version=$2 + # remove dots + python_app_version=${python_app_dot_version/./} echo " " - echo "### Testing app on OS: $operating_system" - archive_to_test=$(ls -1 -R release/archives/ | grep "$PYTHON_APP_VERSION-$operating_system") + echo "### Testing app with Python $python_app_dot_version on OS: $operating_system" + archive_to_test=$(ls -1 -R release/archives/ | grep "$python_app_version-$operating_system") - echo "#### Testing $archive_to_test with Python $PYTHON_APP_DOT_VERSION on OS: $operating_system" + echo "#### Testing $archive_to_test with Python $python_app_dot_version on OS: $operating_system" # Check checksum of archive and script since it transits through file.io sha_arch=$(sha256sum release/archives/$archive_to_test | awk '{ print $1 }') @@ -77,12 +85,12 @@ function run_app_smoke_tests { --interpreter cpython \ --architecture x86_64 \ --check-period 5 \ - --version $PYTHON_APP_DOT_VERSION \ + --version $python_app_dot_version \ --platform $operating_system \ --archive-file $archive_file \ --command "python scancode_release_tests.py app $archive_to_test $sha_arch $sha_py" - echo "#### RELEASE TEST: Completed App tests of $archive_to_test with Python $PYTHON_APP_DOT_VERSION on OS: $operating_system" + echo "#### RELEASE TEST: Completed App tests of $archive_to_test with Python $python_app_dot_version on OS: $operating_system" } @@ -91,15 +99,14 @@ function run_pypi_smoke_tests { # the selected Python and operating system remotely using Azure # # Arguments: - # dist: One of whl for wheel, or tar.gz for sdist + # archive_to_test: The naem of a wheel file or tar.gz sdist file # python_dot_versions: run with these Python version as in "3.6 3.7" # operating_systems: run on these operating_systems as in "windows linux macos" - dist=$1 + archive_to_test=$1 python_dot_versions=$2 operating_systems=$3 - archive_to_test=$(ls -1 -R release/pypi | grep "$dist") echo " " echo "### Testing $archive_to_test with Pythons: $python_dot_versions on OSses: $operating_systems" @@ -115,7 +122,7 @@ function run_pypi_smoke_tests { tar -tvf $archive_file - echo "#### Remote test command: python scancode_release_tests.py pypi $archive_to_test $sha_arch $sha_py" + echo "#### Remote test command: python scancode_release_tests.py pypi archive_to_test:$archive_to_test sha_arch:$sha_arch sha_py:$sha_py" # build options for Python versions and OS ver_opts=" " @@ -142,33 +149,35 @@ function run_pypi_smoke_tests { echo "#### RELEASE TEST: Completed PyPI tests of $archive_to_test with Pythons: $python_dot_versions on OSses: $operating_systems" } + + if [ "$CLI_ARGS" == "--test" ]; then echo "##########################################################################" - echo "### TESTING build for Python: $PYTHON_APP_VERSIONS on OS: $OPERATING_SYSTEMS" + echo "### TESTING build for Python: $PYTHON_APP_DOT_VERSIONS on OS: $OPERATING_SYSTEMS" for operating_system in $OPERATING_SYSTEMS do - run_app_smoke_tests $operating_system + for pyver in $PYTHON_APP_DOT_VERSIONS + do + run_app_smoke_tests $operating_system $pyver + done done echo "##########################################################################" echo "### TESTING PyPI archives for Python: $PYTHON_PYPI_TESTS_DOT_VERSIONS on OS: $OPERATING_SYSTEMS" - run_pypi_smoke_tests .whl "$PYTHON_PYPI_TESTS_DOT_VERSIONS" "$OPERATING_SYSTEMS" - run_pypi_smoke_tests .tar.gz "$PYTHON_PYPI_TESTS_DOT_VERSIONS" "$OPERATING_SYSTEMS" - + for archive in $(find release/pypi/ -type f -printf "%f\n") + do + run_pypi_smoke_tests $archive "$PYTHON_PYPI_TESTS_DOT_VERSIONS" "$OPERATING_SYSTEMS" + done set +e set +x exit fi - - echo "##########################################################################" echo "### BUILDING App for Python: $PYTHON_APP_VERSIONS on OS: $OPERATING_SYSTEMS" - - ################################ # Setup ################################ @@ -187,51 +196,47 @@ function backup_previous_release { fi } -function clean_build { - rm -rf build dist thirdparty PYTHON_EXECUTABLE SCANCODE_DEV_MODE -} - -backup_previous_release -clean_build -mkdir release - -echo "## RELEASE: Setup environment" - -echo "## RELEASE: Clean and configure, then regen license index" -./configure --clean -./configure -source bin/activate -scancode --reindex-licenses - +function clean_egg_info { + rm -rf .eggs src/scancode_toolkit.egg-info src/scancode_toolkit_mini.egg-info +} -echo "## RELEASE: Install release requirements" -# We do not need a full env for releasing -bin/pip install $QUIET -r etc/release/requirements.txt +function clean_build { + rm -rf build dist thirdparty PYTHON_EXECUTABLE SCANCODE_DEV_MODE + clean_egg_info +} ################################ # PyPI wheels and sdist: these are not Python version- or OS-dependent ################################ -echo " " -echo "## RELEASE: Building a wheel and a source distribution" -bin/python setup.py $QUIET sdist bdist_wheel +function build_wheels { + # Build scancode wheels and dist for PyPI + # Arguments: -mv dist release/pypi + echo " " + echo "## RELEASE: Building a wheel and a source distribution" + clean_egg_info + bin/python setup.py $QUIET sdist bdist_wheel -echo " " -echo "## RELEASE: Building a mini wheel and a source distribution" -mv setup.cfg setup-full.cfg -cp setup-mini.cfg setup.cfg -rm -rf build -bin/python setup.py $QUIET sdist bdist_wheel -mv setup-full.cfg setup.cfg + mv dist release/pypi -cp dist/* release/pypi/ + echo " " + echo "## RELEASE: Building a mini wheel and a source distribution" + clean_egg_info + mv setup.cfg setup-full.cfg + cp setup-mini.cfg setup.cfg + rm -rf build + bin/python setup.py $QUIET sdist bdist_wheel + mv setup-full.cfg setup.cfg -echo "## RELEASE: full and mini, wheel and source distribution(s) built and ready for PyPI upload" -find release -ls + cp dist/* release/pypi/ + clean_egg_info + echo "## RELEASE: full and mini, wheel and source distribution(s) built and ready for PyPI upload" + find release -ls + +} ################################ # Build OSes and Pythons-specific release archives @@ -243,40 +248,54 @@ function build_app_archive { # Arguments: # operating_system: only include wheels for this operating_system. # One of windows, linux or macos + # python_app_dot_version: the python version to build (with dot) operating_system=$1 + python_app_dot_version=$2 + # remove dots + python_app_version=${python_app_dot_version/./} echo " " - echo "## RELEASE: Building archive for Python $PYTHON_APP_VERSION on operating system: $operating_system" - - clean_build - mkdir -p thirdparty + echo "## RELEASE: Building archive for Python $python_app_version on operating system: $operating_system" if [ "$operating_system" == "windows" ]; then # create a zip only on Windows formats=zip - echo -n "py 3.6">PYTHON_EXECUTABLE + formats_ext=.zip else formats=xztar - echo -n "python3.6">PYTHON_EXECUTABLE + formats_ext=.tar.xz fi - # 1. Collect thirdparty deps only for the subset for this Python/operating_system - bin/python etc/release/fetch_requirements.py \ - --requirements-file=requirements.txt \ - --thirdparty-dir=thirdparty \ - --python-version=$PYTHON_APP_VERSION \ - --operating-system=$operating_system \ - --with-about + if [ ! -f release/archives/scancode-toolkit-*_py$python_app_version-$operating_system$formats_ext ]; then + clean_build + mkdir -p thirdparty + + if [ "$operating_system" == "windows" ]; then + echo -n "py -$python_app_dot_version">PYTHON_EXECUTABLE + else + echo -n "python$python_app_dot_version">PYTHON_EXECUTABLE + fi + + # 1. Collect thirdparty deps only for the subset for this Python/operating_system + bin/python etc/release/fetch_requirements.py \ + --requirements-file=requirements.txt \ + --thirdparty-dir=thirdparty \ + --python-version=$python_app_version \ + --operating-system=$operating_system \ + --with-about \ + --remote-links-url=$PYPI_LINKS + + # 2. Create tarball or zip. + # For now as a shortcut we use the Python setup.py sdist to create a tarball. + # This is hackish and we should instead use our own archiving code that + # would take a distutils manifest-like input + bin/python setup.py $QUIET sdist --formats=$formats + bin/python etc/release/scancode_rename_archives.py dist/ _py$python_app_version-$operating_system + mkdir -p release/archives + mv dist/* release/archives/ + fi - # 2. Create tarball or zip. - # For now as a shortcut we use the Python setup.py sdist to create a tarball. - # This is hackish and we should instead use our own archiving code that - # would take a distutils manifest-like input - bin/python setup.py $QUIET sdist --formats=$formats - bin/python etc/release/scancode_rename_archives.py dist/ _py$PYTHON_APP_VERSION-$operating_system - mkdir -p release/archives - mv dist/* release/archives/ } @@ -295,7 +314,8 @@ function build_source_archive { --requirements-file=requirements.txt \ --thirdparty-dir=thirdparty \ --with-about \ - --only-sources + --only-sources \ + --remote-links-url=$PYPI_LINKS # 2. Create tarball # For now as a shortcut we use the Python setup.py sdist to create a tarball. @@ -309,10 +329,38 @@ function build_source_archive { } +if [ "$CLI_ARGS" != "--continue" ]; then + echo "############# Reset release creation #############################" + backup_previous_release + clean_build + mkdir release + + echo "## RELEASE: Setup environment" + + echo "## RELEASE: Clean and configure, then regen license index" + ./configure --clean + PYPI_LINKS=$PYPI_LINKS ./configure --local + source bin/activate + scancode --reindex-licenses + + echo "## RELEASE: Install release requirements" + # We do not need a full env for releasing + bin/pip install $QUIET -r etc/release/requirements.txt +else + echo "############# Continuing previous release creation #############################" +fi + + +# wheels +build_wheels + # build the app combos on the current App Python for operating_system in $OPERATING_SYSTEMS do - build_app_archive $operating_system + for pyver in $PYTHON_APP_DOT_VERSIONS + do + build_app_archive $operating_system $pyver + done done build_source_archive @@ -344,6 +392,5 @@ echo "### RELEASE is ready for publishing ###" # ping on chat and twitter # send email - set +e set +x diff --git a/etc/release/utils_thirdparty.py b/etc/release/utils_thirdparty.py index 4c78cd9cdcc..360f07a6dde 100755 --- a/etc/release/utils_thirdparty.py +++ b/etc/release/utils_thirdparty.py @@ -146,20 +146,24 @@ def fetch_wheels( requirements_file='requirements.txt', allow_unpinned=False, dest_dir=THIRDPARTY_DIR, + remote_links_url=REMOTE_LINKS_URL, ): """ - Download all of the wheel of packages listed in the `requirements_file` - requirements file into `dest_dir` directory. + Download all of the wheel of packages listed in the ``requirements_file`` + requirements file into ``dest_dir`` directory. - Only get wheels for the `environment` Enviromnent constraints. If the - provided `environment` is None then the current Python interpreter + Only get wheels for the ``environment`` Enviromnent constraints. If the + provided ``environment`` is None then the current Python interpreter environment is used implicitly. - Only accept pinned requirements (e.g. with a version) unless allow_unpinned - is True. + Only accept pinned requirements (e.g. with a version) unless + ``allow_unpinned`` is True. - Use direct downloads from our remote repo exclusively. - Yield tuples of (PypiPackage, error) where is None on success + Use exclusively direct downloads from a remote repo at URL + ``remote_links_url``. If ``remote_links_url`` is a path, use this as a + directory of links instead of a URL. + + Yield tuples of (PypiPackage, error) where is None on success. """ missed = [] @@ -171,6 +175,7 @@ def fetch_wheels( rrp = list(get_required_remote_packages( requirements_file=requirements_file, force_pinned=force_pinned, + remote_links_url=remote_links_url, )) fetched_filenames = set() @@ -182,7 +187,11 @@ def fetch_wheels( else: fetched_filename = package.fetch_wheel( - environment=environment, fetched_filenames=fetched_filenames, dest_dir=dest_dir) + environment=environment, + fetched_filenames=fetched_filenames, + dest_dir=dest_dir, + ) + if fetched_filename: fetched_filenames.add(fetched_filename) error = None @@ -208,16 +217,20 @@ def fetch_sources( requirements_file='requirements.txt', allow_unpinned=False, dest_dir=THIRDPARTY_DIR, + remote_links_url=REMOTE_LINKS_URL, ): """ - Download all of the dependent package sources listed in the `requirement` - requirements file into `dest_dir` directory. + Download all of the dependent package sources listed in the + ``requirements_file`` requirements file into ``dest_dir`` destination + directory. - Use direct downloads to achieve this (not pip download). Use only the - packages found in our remote repo. + Use direct downloads to achieve this (not pip download). Use exclusively the + packages found from a remote repo at URL ``remote_links_url``. If + ``remote_links_url`` is a path, use this as a directory of links instead of + a URL. - Only accept pinned requirements (e.g. with a version) unless allow_unpinned - is True. + Only accept pinned requirements (e.g. with a version) unless + ``allow_unpinned`` is True. Yield tuples of (PypiPackage, error message) for each package where error message will empty on success. @@ -232,6 +245,7 @@ def fetch_sources( rrp = list(get_required_remote_packages( requirements_file=requirements_file, force_pinned=force_pinned, + remote_links_url=remote_links_url, )) for name, version, package in rrp: @@ -975,7 +989,7 @@ class Sdist(Distribution): @classmethod def from_filename(cls, filename): """ - Return a sdist object built from a filename. + Return a Sdist object built from a filename. Raise an exception if this is not a valid sdist filename """ name_ver = None @@ -1048,12 +1062,12 @@ class Wheel(Distribution): WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ - wheel_file_re = re.compile( + get_wheel_from_filename = re.compile( r"""^(?P(?P.+?)-(?P.*?)) ((-(?P\d[^-]*?))?-(?P.+?)-(?P.+?)-(?P.+?) \.whl)$""", re.VERBOSE - ) + ).match build = attr.ib( type=str, @@ -1092,7 +1106,7 @@ def from_filename(cls, filename): Return a wheel object built from a filename. Raise an exception if this is not a valid wheel filename """ - wheel_info = cls.wheel_file_re.match(filename) + wheel_info = cls.get_wheel_from_filename(filename) if not wheel_info: raise InvalidDistributionFilename(filename) @@ -1297,7 +1311,7 @@ def packages_from_one_path_or_url(cls, path_or_url): @classmethod def packages_from_many_paths_or_urls(cls, paths_or_urls): """ - Yield PypiPackages built from a list of of paths or URLs. + Yield PypiPackages built from a list of paths or URLs. """ dists = cls.get_dists(paths_or_urls) dists = NameVer.sorted(dists) @@ -1366,19 +1380,30 @@ def get_name_version(cls, name, version, packages): raise Exception(f'More than one PypiPackage with {name}=={version}') - def fetch_wheel(self, environment=None, fetched_filenames=None, dest_dir=THIRDPARTY_DIR): + def fetch_wheel( + self, + environment=None, + fetched_filenames=None, + dest_dir=THIRDPARTY_DIR, + ): """ - Download a binary wheel of this package matching the `environment` - Enviromnent constraints into `dest_dir` directory. + Download a binary wheel of this package matching the ``environment`` + Enviromnent constraints into ``dest_dir`` directory. Return the wheel filename if it was fetched, None otherwise. - If the provided `environment` is None then the current Python - interpreter environment is used implicitly. + If the provided ``environment`` is None then the current Python + interpreter environment is used implicitly. Do not refetch wheel if + their name is in a provided ``fetched_filenames`` set. """ fetched_wheel_filename = None - fetched_filenames = fetched_filenames if fetched_filenames is not None else set() + if fetched_filenames is not None: + fetched_filenames = fetched_filenames + else: + fetched_filenames = set() + for wheel in self.get_supported_wheels(environment): + if wheel.filename not in fetched_filenames: fetch_and_save_path_or_url( filename=wheel.filename, @@ -2272,20 +2297,34 @@ def get_required_packages(required_name_versions): return remote_packages, pypi_packages -def get_required_remote_packages(requirements_file='requirements.txt', force_pinned=True): +def get_required_remote_packages( + requirements_file='requirements.txt', + force_pinned=True, + remote_links_url=REMOTE_LINKS_URL, +): """ Yield tuple of (name, version, PypiPackage) for packages listed in the - `requirements_file` requirements file and found in our remote repo exclusively. + `requirements_file` requirements file and found in the PyPI-like link repo + ``remote_links_url`` if this is a URL. Treat this ``remote_links_url`` as a + local directory path to a wheels directory if this is not a a URL. """ required_name_versions = load_requirements( - requirements_file=requirements_file, force_pinned=force_pinned) + requirements_file=requirements_file, + force_pinned=force_pinned, + ) + + if remote_links_url.startswith('https://'): + repo = get_remote_repo(remote_links_url=remote_links_url) + else: + # a local path + assert os.path.exists(remote_links_url) + repo = get_local_repo(directory=remote_links_url) - remote_repo = get_remote_repo() for name, version in required_name_versions: if version: - yield name, version, remote_repo.get_package(name, version) + yield name, version, repo.get_package(name, version) else: - yield name, version, remote_repo.get_latest_version(name) + yield name, version, repo.get_latest_version(name) def update_requirements(name, version=None, requirements_file='requirements.txt'): diff --git a/etc/scripts/licenses/buildrules.py b/etc/scripts/licenses/buildrules.py index 837cdea0cf5..ca9c338139c 100644 --- a/etc/scripts/licenses/buildrules.py +++ b/etc/scripts/licenses/buildrules.py @@ -235,8 +235,8 @@ def cli(licenses_file): print('Skipping already added rule with text for:', base_name) else: rules_tokens.add(rule_tokens) - rulerec.dump() models.update_ignorables(rulerec, verbose=False) + rulerec.dump() print('Rule added:', 'file://' + rulerec.data_file, '\n', 'file://' + rulerec.text_file,) diff --git a/etc/scripts/licenses/synclic.py b/etc/scripts/licenses/synclic.py index 17a0a7ffba0..5ace50fb788 100644 --- a/etc/scripts/licenses/synclic.py +++ b/etc/scripts/licenses/synclic.py @@ -26,6 +26,7 @@ from commoncode import fileutils import licensedcode +from licensedcode import models from licensedcode.models import load_licenses from licensedcode.models import License @@ -76,6 +77,7 @@ def _clean(licenses): lic.notes = clean_text(lic.notes) if updated: + models.update_ignorables(lic, verbose=False) lic.dump() for lics in [self.by_key, self.non_english_by_key]: @@ -174,6 +176,7 @@ def get_licenses(self, scancode_licenses=None, **kwargs): try: with io.open(lic.text_file, 'w', encoding='utf-8')as tf: tf.write(text) + models.update_ignorables(lic, verbose=False) lic.dump() licenses.append(lic) except: @@ -546,7 +549,7 @@ def build_license(self, mapping, scancode_licenses): # instead each part of the combo dejacode_special_composites = set([ 'intel-bsd-special', - #'newlib-subdirectory', + # 'newlib-subdirectory', ]) is_component_license = mapping.get('is_component_license') or False @@ -816,8 +819,8 @@ def license_to_dict(lico): def merge_licenses( - scancode_license, - external_license, + scancode_license, + external_license, updatable_attributes, from_spdx=False, ): @@ -948,7 +951,7 @@ def update_external(_attrib, _sc_val, _ext_val): # on difference, the other license wins if scancode_value != external_value: # unless we have SPDX ids - if attrib== 'spdx_license_key' and external_value.startswith('LicenseRef-scancode'): + if attrib == 'spdx_license_key' and external_value.startswith('LicenseRef-scancode'): update_external(attrib, scancode_value, external_value) else: update_scancode(attrib, scancode_value, external_value) @@ -1138,10 +1141,14 @@ def synchronize_licenses(scancode_licenses, external_source, use_spdx_key=False, # finally write changes in place for updates and news for k in updated_in_scancode | added_to_scancode: - scancodes_by_key[k].dump() + lic = scancodes_by_key[k] + models.update_ignorables(lic, verbose=False) + lic.dump() for k in updated_in_external | added_to_external: - externals_by_key[k].dump() + lic = externals_by_key[k] + # models.update_ignorables(lic, verbose=False) + lic.dump() # TODO: at last: print report of incorrect OTHER licenses to submit # updates eg. make API calls to DejaCode to create or update diff --git a/etc/thirdparty/virtualenv.pyz b/etc/thirdparty/virtualenv.pyz index 221f6511429..3058a088324 100644 Binary files a/etc/thirdparty/virtualenv.pyz and b/etc/thirdparty/virtualenv.pyz differ diff --git a/etc/thirdparty/virtualenv.pyz.ABOUT b/etc/thirdparty/virtualenv.pyz.ABOUT index 224298c4c7c..9af684d60ce 100644 --- a/etc/thirdparty/virtualenv.pyz.ABOUT +++ b/etc/thirdparty/virtualenv.pyz.ABOUT @@ -1,7 +1,7 @@ about_resource: virtualenv.pyz name: get-virtualenv -version: 20.4.7 -download_url: https://github.com/pypa/get-virtualenv/raw/20.4.7/public/virtualenv.pyz +version: 20.6.0 +download_url: https://github.com/pypa/get-virtualenv/raw/20.6.0/public/virtualenv.pyz description: virtualenv is a tool to create isolated Python environments. homepage_url: https://github.com/pypa/virtualenv license_expression: lgpl-2.1-plus AND (bsd-new OR apache-2.0) AND mit AND python AND bsd-new @@ -10,4 +10,4 @@ copyright: Copyright (c) The Python Software Foundation and others redistribute: yes attribute: yes track_changes: yes -package_url: pkg:github/pypa/get-virtualenv@20.4.7#public/virtualenv.pyz \ No newline at end of file +package_url: pkg:github/pypa/get-virtualenv@20.6.0#public/virtualenv.pyz \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index e992e8449a9..c6aae019a27 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,11 +9,12 @@ cffi==1.14.5 chardet==4.0.0 click==8.0.1 colorama==0.4.4 -commoncode==21.5.25 +commoncode==21.7.23 +construct==2.10.67 cryptography==3.4.7 debian-inspector==21.5.25 dparse==0.5.1 -extractcode==21.6.1 +extractcode==21.7.23 extractcode-7z==16.5.210531 extractcode-libarchive==3.5.1.210531 fasteners==0.16 @@ -24,24 +25,26 @@ gemfileparser==0.8.0 html5lib==1.1 idna==2.10 importlib-metadata==4.4.0 +inflection==0.5.1 intbitset==2.4.1 isodate==0.6.0 jaraco.functools==3.3.0 javaproperties==0.8.0 Jinja2==3.0.1 jsonstreams==0.6.0 -license-expression==1.2 +license-expression==21.6.14 lxml==4.6.3 MarkupSafe==2.0.1 more-itertools==8.8.0 -nltk==3.4.5 normality==2.2.2 +packagedcode-msitools==0.101.210706 packageurl-python==0.9.4 packaging==20.9 patch==1.16 +#parameter_expansion==0.2.0 +parameter-expansion-patched==0.2.1b4 pdfminer.six==20201018 pefile==2021.5.24 -pip==21.1.2 pkginfo==1.7.0 pluggy==0.13.1 plugincode==21.1.21 @@ -50,14 +53,16 @@ publicsuffix2==2.20191221 pyahocorasick==1.4.2 pycparser==2.20 Pygments==2.9.0 +pygmars==0.7.0 pymaven-patch==0.3.0 pyparsing==2.4.7 +pytz==2021.1 PyYAML==5.4.1 rdflib==5.0.0 +regipy==2.0.0 requests==2.25.1 rpm-inspector-rpm==4.16.1.3.210404 saneyaml==0.5.2 -setuptools==57.0.0 six==1.16.0 sortedcontainers==2.4.0 soupsieve==2.2.1 @@ -72,6 +77,5 @@ urllib3==1.26.5 urlpy==0.5 wcwidth==0.2.5 webencodings==0.5.1 -wheel==0.36.2 xmltodict==0.12.0 zipp==3.4.1 diff --git a/setup-mini.cfg b/setup-mini.cfg index d0ec676d877..6af37aa8ce2 100644 --- a/setup-mini.cfg +++ b/setup-mini.cfg @@ -1,6 +1,6 @@ [metadata] name = scancode-toolkit-mini -version = 21.6.2 +version = 21.8.4 license = Apache-2.0 AND CC-BY-4.0 AND LicenseRef-scancode-other-permissive AND LicenseRef-scancode-other-copyleft description = ScanCode is a tool to scan code for license, copyright, package and their documented dependencies and other interesting facts. scancode-toolkit-mini is a special build that does not come with pre-built binary dependencies by default. These are instead installed separately or with the extra_requires scancode-toolkit-mini[full] @@ -73,12 +73,14 @@ install_requires = javaproperties >= 0.5 jinja2 >= 2.7.0, < 4.0.0 jsonstreams >= 0.5.0 - license_expression >= 1.0 + license_expression >= 21.6.14 lxml >= 4.6.3, < 5.0.0 MarkupSafe >= 1.0 - nltk >= 3.2, !=3.6, < 4.0 packageurl_python >= 0.9.0 packaging > 20 + # parameter_expansion >= 0.2.0 + # use temp advanced patched release + parameter-expansion-patched >= 0.2.1b4 pdfminer.six >= 20200101 pefile >= 2020.1.1 pkginfo >= 1.7.0 @@ -86,6 +88,7 @@ install_requires = plugincode >= 21.1.21 publicsuffix2 pyahocorasick >= 1.4.0, < 1.5 + pygmars >= 0.7.0 pygments pymaven_patch >= 0.2.8 requests >= 2.7.0, < 3.0.0 @@ -112,6 +115,8 @@ full = # linux-only package handling packages = rpm_inspector_rpm >= 4.16.1.3; platform_system == 'Linux' + regipy >= 1.9.3; platform_system == 'Linux' + packagedcode_msitools >= 0.101.210706; platform_system == 'Linux' dev = pytest @@ -234,6 +239,6 @@ python_functions=test addopts = -rfExXw - --strict + --strict-markers --ignore setup.py --doctest-modules diff --git a/setup.cfg b/setup.cfg index c5b521b71d2..483b01c17e7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = scancode-toolkit -version = 21.6.2 +version = 21.8.4 license = Apache-2.0 AND CC-BY-4.0 AND LicenseRef-scancode-other-permissive AND LicenseRef-scancode-other-copyleft description = ScanCode is a tool to scan code for license, copyright, package and their documented dependencies and other interesting facts. @@ -59,7 +59,7 @@ install_requires = chardet >= 3.0.0 click >= 6.7, !=7.0 colorama >= 0.3.9 - commoncode >= 21.5.25 + commoncode >= 21.7.23 debian-inspector >= 21.5.25 dparse >= 0.5.1 fasteners @@ -73,12 +73,14 @@ install_requires = javaproperties >= 0.5 jinja2 >= 2.7.0, < 4.0.0 jsonstreams >= 0.5.0 - license_expression >= 1.0 + license_expression >= 21.6.14 lxml >= 4.6.3, < 5.0.0 MarkupSafe >= 1.0 - nltk >= 3.2, !=3.6, < 4.0 packageurl_python >= 0.9.0 packaging > 20 + # parameter_expansion >= 0.2.0 + # use temp advanced patched release + parameter-expansion-patched >= 0.2.1b4 pdfminer.six >= 20200101 pefile >= 2020.1.1 pkginfo >= 1.7.0 @@ -86,6 +88,7 @@ install_requires = plugincode >= 21.1.21 publicsuffix2 pyahocorasick >= 1.4.0, < 1.5 + pygmars >= 0.7.0 pygments pymaven_patch >= 0.2.8 requests >= 2.7.0, < 3.0.0 @@ -97,7 +100,7 @@ install_requires = urlpy xmltodict >= 0.11.0 zipp >= 3.0.0; python_version < "3.9" - extractcode[full] >= 21.6.1 + extractcode[full] >= 21.7.23 typecode[full] >= 21.6.1 @@ -112,6 +115,8 @@ full = # linux-only package handling packages = rpm_inspector_rpm >= 4.16.1.3; platform_system == 'Linux' + regipy >= 2.0.0; platform_system == 'Linux' + packagedcode_msitools >= 0.101.210706; platform_system == 'Linux' dev = pytest @@ -192,6 +197,7 @@ scancode_output = jsonlines = formattedcode.output_jsonlines:JsonLinesOutput template = formattedcode.output_html:CustomTemplateOutput debian = formattedcode.output_debian:DebianCopyrightOutput + yaml = formattedcode.output_yaml:YamlOutput [tool:pytest] @@ -234,6 +240,6 @@ python_functions=test addopts = -rfExXw - --strict + --strict-markers --ignore setup.py --doctest-modules diff --git a/src/cluecode/copyrights.py b/src/cluecode/copyrights.py index d491c416423..443f45f8367 100644 --- a/src/cluecode/copyrights.py +++ b/src/cluecode/copyrights.py @@ -7,23 +7,35 @@ # See https://github.com/nexB/scancode-toolkit for support or download. # See https://aboutcode.org for more information about nexB OSS projects. # -from collections import deque -from functools import partial import os import re import sys +from collections import deque from time import time -from cluecode import copyrights_hint +import attr +from pygmars import lex +from pygmars import parse +from pygmars import Token +from pygmars import tree + from commoncode.text import toascii from commoncode.text import unixlinesep +from cluecode import copyrights_hint + # Tracing flags TRACE = False or os.environ.get('SCANCODE_DEBUG_COPYRIGHT', False) -# set to 1 to enable nltk deep tracing + +# set to 1 to enable pygmars deep tracing TRACE_DEEP = 0 if os.environ.get('SCANCODE_DEBUG_COPYRIGHT_DEEP'): TRACE_DEEP = 1 + TRACE = False + +TRACE_TOK = False or os.environ.get('SCANCODE_DEBUG_COPYRIGHT_TOKEN', False) + +VALIDATE = False or os.environ.get('SCANCODE_DEBUG_COPYRIGHT_VALIDATE', False) # Tracing flags @@ -31,7 +43,7 @@ def logger_debug(*args): pass -if TRACE or TRACE_DEEP: +if TRACE or TRACE_DEEP or TRACE_TOK: import logging logger = logging.getLogger(__name__) @@ -46,59 +58,116 @@ def logger_debug(*args): The process consists in: - prepare and cleanup text - - identify regions of text that may contain copyright (using hints) - - tag the text for parts-of-speech (POS) to identify various copyright - statements parts such as dates, names ("named entities"), etc. This is done - using NLTK POS tagging + - identify regions of text that may contain copyright (using hints). + These are called "candidates". + - tag the text to recognize (e.g. lex) parts-of-speech (POS) tags to identify various copyright + statements parts such as dates, companies, names ("named entities"), etc. + This is done using pygmars which contains a lexer derived from NLTK POS tagger. - feed the tagged text to a parsing grammar describing actual copyright - statements - - yield copyright statements,holder and authors with start and end line - from the parse tree with some post-detection cleanups. + statements (also using pygmars) and obtain a parse tree. + - Walk the parse tree and yield copyright statements, holder and authors with start + and end line from the parse tree with some extra post-detection cleanups. """ -def detect_copyrights(location, copyrights=True, holders=True, authors=True, - include_years=True, include_allrights=False, - demarkup=True, - deadline=sys.maxsize): +def detect_copyrights( + location, + copyrights=True, + holders=True, + authors=True, + include_years=True, + include_allrights=False, + demarkup=True, + deadline=sys.maxsize, +): """ Yield tuples of (detection type, detected string, start line, end line) - detected in file at `location`. - Include years in copyrights if include_years is True. - Valid detection types are: copyrights, authors, holders. - These are included in the yielded tuples based on the values of `copyrights=True`, `holders=True`, `authors=True`, + detected in the file at ``location``. + + "detection type" is one of: "copyrights", "authors", or "holders". + + These are included in the yielded tuples based on the values of + ``copyrights=True``, ``holders=True``, ``authors=True`` + + - Include years in copyrights, if ``include_years`` is True. + - Include trailing "all rights reserved"-style mentions, if + ``include_allrights`` is True. + - Strip markup from text, if ``demarkup`` is True. + - Run for up to ``deadline`` seconds and return results found so far. """ from textcode.analysis import numbered_text_lines + numbered_lines = numbered_text_lines(location, demarkup=demarkup) numbered_lines = list(numbered_lines) + if TRACE: - numbered_lines = list(numbered_lines) + logger_debug('detect_copyrights: numbered_lines') for nl in numbered_lines: - logger_debug('numbered_line:', repr(nl)) + logger_debug(' numbered_line:', repr(nl)) yield from detect_copyrights_from_lines( - numbered_lines, + numbered_lines=numbered_lines, copyrights=copyrights, holders=holders, authors=authors, include_years=include_years, include_allrights=include_allrights, - deadline=deadline) + deadline=deadline, + ) + +DETECTOR = None -def detect_copyrights_from_lines(numbered_lines, copyrights=True, holders=True, authors=True, - include_years=True, include_allrights=False, - deadline=sys.maxsize): + +def detect_copyrights_from_lines( + numbered_lines, + copyrights=True, + holders=True, + authors=True, + include_years=True, + include_allrights=False, + deadline=sys.maxsize, +): """ Yield tuples of (detection type, detected string, start line, end line) - detected in numbered lines - Include years in copyrights if include_years is True. - Valid detection types are: copyrights, authors, holders. - These are included in the yielded tuples based on the values of `copyrights=True`, `holders=True`, `authors=True`, + detected in a ``numbered_lines`` sequence of tuples of (line number, text) + + "detection type" is one of : "copyrights", "authors", "holders". + + These are included in the yielded tuples based on the values of + ``copyrights=True``, ``holders=True``, ``authors=True`` + + - Include years in copyrights if ``include_years`` is True. + - Include trailing "all rights reserved"-style mentions if + ``include_allrights`` is True. + - Strip markup from text if ``demarkup`` is True. + - Run for up to ``deadline`` seconds and return results found so far. """ - detector = CopyrightDetector() + if not numbered_lines: + return - for candidates in candidate_lines(numbered_lines): + global DETECTOR + if not DETECTOR: + DETECTOR = detector = CopyrightDetector() + else: + detector = DETECTOR + + candidate_lines_groups = candidate_lines(numbered_lines) + if TRACE: + candidate_lines_groups = list(candidate_lines_groups) + logger_debug( + f'detect_copyrights_from_lines: ALL groups of candidate ' + f'lines collected: {len(candidate_lines_groups)}', + ) + + for candidates in candidate_lines_groups: + if TRACE: + from pprint import pformat + can = pformat(candidates, width=160) + logger_debug( + f' detect_copyrights_from_lines: processing candidates group:\n' + f' {can}' + ) detections = detector.detect( numbered_lines=candidates, @@ -109,60 +178,77 @@ def detect_copyrights_from_lines(numbered_lines, copyrights=True, holders=True, include_allrights=include_allrights ) + if TRACE: + detections = list(detections) + logger_debug(f' detect_copyrights_from_lines: {detections}') + for detection in detections: - # tuple of type, string, start, end - yield detection + yield ( + detection.type, + detection.value, + detection.start_line, + detection.end_line, + ) + if time() > deadline: break - ################################################################################ # DETECTION PROPER ################################################################################ -# simple tokenization: spaces and some punctuation -splitter = re.compile('[\\t =;]+').split - - class CopyrightDetector(object): """ Detect copyrights and authors. """ def __init__(self): - import nltk - self.tagger = nltk.RegexpTagger(patterns) - self.chunker = nltk.RegexpParser(grammar, trace=TRACE_DEEP) + self.lexer = lex.Lexer(patterns) + self.parser = parse.Parser(grammar, trace=TRACE_DEEP, validate=VALIDATE) - def detect(self, numbered_lines, - copyrights=True, holders=True, authors=True, - include_years=True, include_allrights=False): + def detect(self, + numbered_lines, + copyrights=True, + holders=True, + authors=True, + include_years=True, + include_allrights=False, + ): """ - Yield tuples of (detection type, detected value, start_line, end_line) - where the type is one of copyrights, authors, holders. Use an iterable - of `numbered_lines` tuples of (line number, line text). - If `include_years` is False, the copyright statement do not have years - or year range information. + Yield Detection objects detected in a ``numbered_lines`` sequence of + tuples of (line number, text). + + "detection type" is one of : "copyrights", "authors", "holders". + + These are included in the yielded tuples based on the values of + ``copyrights=True``, ``holders=True``, ``authors=True`` + + - Include years in copyrights statements if ``include_years`` is True. + - Include trailing "all rights reserved"-style mentions if + ``include_allrights`` is True. + - Strip markup from text if ``demarkup`` is True. """ - from nltk.tree import Tree numbered_lines = list(numbered_lines) - start_line = numbered_lines[0][0] - end_line = numbered_lines[-1][0] - tokens = self.get_tokens(numbered_lines) + if not numbered_lines: + return + + if TRACE: logger_debug(f'CopyrightDetector: numbered_lines: {numbered_lines}') + + tokens = list(get_tokens(numbered_lines)) + + if TRACE: logger_debug(f'CopyrightDetector: initial tokens: {tokens}') if not tokens: return # first, POS tag each token using token regexes - tagged_text = self.tagger.tag(tokens) - if TRACE: logger_debug('CopyrightDetector:tagged_text: ' + str(tagged_text)) - - # then build a parse tree based on tagged tokens - tree = self.chunker.parse(tagged_text) - if TRACE: logger_debug('CopyrightDetector:parse tree: ' + str(tree)) + lexed_text = list(self.lexer.lex_tokens(tokens)) + if TRACE: logger_debug(f'CopyrightDetector: lexed tokens: {lexed_text}') - as_str = partial(CopyrightDetector.as_str, include_allrights=include_allrights) + # then build a parse parse_tree based on tagged tokens + parse_tree = self.parser.parse(lexed_text) + if TRACE: logger_debug(f'CopyrightDetector: parse_tree: {parse_tree}') non_copyright_labels = frozenset() if not include_years: @@ -189,85 +275,136 @@ def detect(self, numbered_lines, 'HOLDER', 'AUTHOR', ]) - # then walk the parse tree, collecting copyrights, years and authors - for tree_node in tree: - if not isinstance(tree_node, Tree): + # then walk the parse parse_tree, collecting copyrights, years and authors + for tree_node in parse_tree: + if not isinstance(tree_node, tree.Tree): continue - node_text = as_str(tree_node, ignores=non_copyright_labels) - if TRACE: logger_debug('detect:node_text:', node_text) - - tree_node_label = tree_node.label() - - if 'COPYRIGHT' in tree_node_label: - if TRACE: logger_debug('CopyrightDetector:Copyright tree node: ' + str(tree_node)) - if node_text and node_text.strip(): - refined = refine_copyright(node_text) - # checking for junk is a last resort - if refined and refined.lower() not in COPYRIGHTS_JUNK: + if TRACE: logger_debug(f'CopyrightDetector: parse_tree node: {tree_node}') + + tree_node_label = tree_node.label + + if (copyrights or holders) and 'COPYRIGHT' in tree_node_label: + copyrght = Detection.from_node( + node=tree_node, + type='copyrights', + ignores=non_copyright_labels, + include_allrights=include_allrights, + refiner=refine_copyright, + junk=COPYRIGHTS_JUNK, + ) + if TRACE: logger_debug(f'CopyrightDetector: detection: {copyrght}') + + if copyrght: + if copyrights: + + yield copyrght + + if holders: + # By default we strip email and urls from holders .... + holder = Detection.from_node( + node=tree_node, + type='holders', + ignores=non_holder_labels, + refiner=refine_holder, + ) + + if not holder: + # ... but if we have no holder, we try again and + # this time we keep email and URLs for holders using + # "non_holder_labels_mini" as an ignores label set + holder = Detection.from_node( + node=tree_node, + type='holders', + ignores=non_holder_labels_mini, + refiner=refine_holder, + ) + + if holder: + if TRACE: logger_debug(f'CopyrightDetector: holders: {holder}') + yield holder - if copyrights: - if TRACE: logger_debug('CopyrightDetector: detected copyrights:', refined, start_line, end_line) - yield 'copyrights', refined, start_line, end_line - - if holders: - # by default with strip email and urls from holders - holder = as_str(tree_node, ignores=non_holder_labels) - refined_holder = refine_holder(holder) - - if not refined_holder: - # ... if we have no holder, we try again, this - # time keeping email and URLs for holders using - # "non_holder_labels_mini" - holder = as_str(tree_node, ignores=non_holder_labels_mini) - refined_holder = refine_holder(holder) + elif authors and tree_node_label == 'AUTHOR': + author = Detection.from_node( + node=tree_node, + type='authors', + ignores=non_authors_labels, + include_allrights=False, + refiner=refine_author, + junk=AUTHORS_JUNK, + ) - if refined_holder: - yield 'holders', refined_holder, start_line, end_line - if TRACE: logger_debug('CopyrightDetector: detected holders:', refined_holder, start_line, end_line) + if author: + if TRACE: logger_debug(f'CopyrightDetector: detected authors: {author}') + yield author - elif authors and tree_node_label == 'AUTHOR': - node_text = as_str(tree_node, ignores=non_authors_labels) - refined_auth = refine_author(node_text) - if refined_auth and refined_auth.lower() not in AUTHORS_JUNK: - if TRACE: logger_debug('CopyrightDetector: detected authors:', refined_auth, start_line, end_line) - yield 'authors', refined_auth, start_line, end_line +def get_tokens(numbered_lines, splitter=re.compile('[\\t =;]+').split): + """ + Return an iterable of pygmars.Token built from a ``numbered_lines`` iterable + of tuples of (line number, text). - def get_tokens(self, numbered_lines): - """ - Return an iterable of tokens from lines of text. - """ - tokens = [] - tokens_append = tokens.append - - for _line_number, line in numbered_lines: - if TRACE: logger_debug(' get_tokens: bare line: ' + repr(line)) - line = prepare_text_line(line) - if TRACE: logger_debug(' get_tokens:preped line: ' + repr(line)) - for tok in splitter(line): - # strip trailing single quotes and ignore empties - tok = tok.strip("' ") - # strip trailing colons: why? - tok = tok.rstrip(':').strip() - # strip leading @: : why? - tok = tok.lstrip('@').strip() - if tok and tok not in (':',): - tokens_append(tok) - if TRACE: logger_debug(' get_tokens:tokens: ' + repr(tokens)) - return tokens + We perform a simple tokenization on spaces, tabs and some punctuation =; + """ + for start_line, line in numbered_lines: + if TRACE_TOK: + logger_debug(' get_tokens: bare line: ' + repr(line)) + + line = prepare_text_line(line) + + if TRACE_TOK: + logger_debug(' get_tokens: preped line: ' + repr(line)) + + pos = 0 + for tok in splitter(line): + # FIXME: strip trailing single quotes and ignore empties + tok = tok.strip("' ") + # FIXME: strip trailing colons: why? + tok = tok.rstrip(':').strip() + # FIXME: strip leading @: : why? + tok = tok.lstrip('@').strip() + # FIXME: why? + if tok and tok != ':': + yield Token(value=tok, start_line=start_line, pos=pos) + pos += 1 + + +@attr.s +class Detection: + """ + Represent a "copyrights" or "authors" detection with a start and end line. + """ + value = attr.ib() + type = attr.ib() + start_line = attr.ib() + end_line = attr.ib() @classmethod - def as_str(cls, node, ignores=frozenset(), include_allrights=False): + def from_node( + cls, + node, + type, # NOQA + ignores=frozenset(), + include_allrights=False, + refiner=None, + junk=frozenset(), + ): """ - Return a parse tree node as a space-normalized string. - Optionally filters node labels provided in the ignores set. + Return a Detection object from a pygmars.tree.Tree ``node`` with a + space-normalized string value or None. + Use the provided ``type`` (such as "copyrights") + Filter ``node`` Tokens with a type found in the ``ignores`` set of + ignorable token types. + Include trailing "All rights reserved" if ``include_allrights`` is True. + Apply the ``refiner`` callable function to the detection string. + Return None if the value exists in the ``junk`` strings set. """ - # if TRACE_DEEP: logger_debug('CopyrightDetector: as_str: starting node.leaves():', node.leaves()) if ignores: - leaves = [(text, label) for text, label in node.leaves() - if label not in ignores] + leaves = [ + token for token in node.leaves() + if token.label not in ignores + ] else: leaves = node.leaves() @@ -277,38 +414,46 @@ def as_str(cls, node, ignores=frozenset(), include_allrights=False): filtered = leaves else: filtered = [] - for text, label in leaves: - # pop ALL RIGHT RESERVED if there - if (label == 'RESERVED' and - len(filtered) >= 2 and - filtered[-1][1] == 'RIGHT' and - filtered[-2][1] in ('NN', 'CAPS', 'NNP')): - - # if TRACE_DEEP: logger_debug(' droping:', filtered[-2], filtered[-1], (text, label),) - # if TRACE_DEEP: logger_debug(' before droping: filtered:', filtered) - filtered = filtered[:-2] - # if TRACE_DEEP: logger_debug(' after droping: filtered:', filtered) + for token in leaves: + # FIXME: this should operate on the tree and not on the leaves + # ALLRIGHTRESERVED: ? + + # This pops ALL RIGHT RESERVED py finding it backwards from RESERVED + if token.label == 'RESERVED': + if ( + len(filtered) >= 2 + and filtered[-1].label == 'RIGHT' + and filtered[-2].label in ('NN', 'CAPS', 'NNP') + ): + filtered = filtered[:-2] + elif ( + len(filtered) >= 3 + and filtered[-1].label in ('NN', 'CAPS', 'NNP') + and filtered[-2].label == 'RIGHT' + and filtered[-3].label in ('NN', 'CAPS', 'NNP') + ): + filtered = filtered[:-3] else: - # if TRACE_DEEP: logger_debug(' keeping:', (text, label)) - filtered.append((text, label)) + filtered.append(token) + + node_string = ' '.join(t.value for t in filtered) + node_string = ' '.join(node_string.split()) + if refiner: + node_string = refiner(node_string) - # if TRACE_DEEP: logger_debug(' final: filtered:', filtered) - # if TRACE_DEEP: logger_debug() - node_string = u' '.join(t for t, _ in filtered) - return u' '.join(node_string.split()) + if node_string and node_string.lower() not in junk: + return cls( + value=node_string, + type=type, + start_line=filtered[0].start_line, + end_line=filtered[-1].start_line, + ) ################################################################################ -# POS TAGGING AND CHUNKING +# LEXING AND PARSING ################################################################################ -############################################################################ -############################################################################ -# NOTE: IN THE PAST PATTERNS WERE COMPACT AND HARD TO READ!!! -# USE SIMPLER PATTERNS AS NEEDED: The focus must be on readability!!! -############################################################################ -############################################################################ - _YEAR = (r'(' '19[6-9][0-9]' # 1960 to 1999 @@ -437,12 +582,12 @@ def as_str(cls, node, ignores=frozenset(), include_allrights=False): ############################################################################ # Combo of many (3+) letters and punctuations groups without spaces is likely junk - # "AEO>>,o>>u'!xeoI?o?O1/4thuA/" + # "AEO>>,o>>'!xeoI?o?O1/4thuA/" # (r'((\w+\W+){3,})+', 'JUNK'), # CamELCaseeXXX is typcally JUNK such as code variable names # AzaAzaaaAz BBSDSB002923, - (r'^([A-Z][a-z]+){3,}[A-Z]+[0-9]*,?$', 'JUNK'), + (r'^([A-Z][a-z]+){3,20}[A-Z]+[0-9]*,?$', 'JUNK'), # multiple parens (at least two (x) groups) is a sign of junk # such as in (1)(ii)(OCT @@ -501,7 +646,7 @@ def as_str(cls, node, ignores=frozenset(), include_allrights=False): (r'^Last$', 'JUNK'), (r'^[Rr]eleased?$', 'JUNK'), (r'^[Cc]opyrighting$', 'JUNK'), - (r'^Authori.*$', 'JUNK'), + (r'^[Aa]uthori.*$', 'JUNK'), (r'^such$', 'JUNK'), (r'^[Aa]ssignments?[.,]?$', 'JUNK'), (r'^[Bb]uild$', 'JUNK'), @@ -761,6 +906,12 @@ def as_str(cls, node, ignores=frozenset(), include_allrights=False): # JUNK from binary (r'^x1b|1H$', 'JUNK'), + # JUNK as camel case with a single hump such as in "processingInfo" + (r'^[a-z]{3,10}[A-Z][a-z]{3,10}$', 'JUNK'), + + (r'^\$?Guid$', 'JUNK'), + (r'^Small$', 'NN'), + ############################################################################ # Nouns and proper Nouns ############################################################################ @@ -805,7 +956,7 @@ def as_str(cls, node, ignores=frozenset(), include_allrights=False): (r'^Assignment', 'NN'), (r'^Atomic$', 'NN'), (r'^Attribution$', 'NN'), - (r'^Authored$', 'NN'), + (r'^[Aa]uthored$', 'NN'), (r'^Baslerstr\.?$', 'NN'), (r'^BSD$', 'NN'), (r'^BUT$', 'NN'), @@ -908,6 +1059,7 @@ def as_str(cls, node, ignores=frozenset(), include_allrights=False): (r'^Mode$', 'NN'), (r'^Modified$', 'NN'), (r'^Mouse$', 'NN'), + (r'^Module$', 'NN'), (r'^Natural$', 'NN'), (r'^New$', 'NN'), (r'^NEWS$', 'NN'), @@ -1013,6 +1165,12 @@ def as_str(cls, node, ignores=frozenset(), include_allrights=False): (r'^Create$', 'NN'), (r'^Engine\.$', 'NN'), (r'^While$', 'NN'), + (r'^Review', 'NN'), + (r'^Help', 'NN'), + (r'^Web', 'NN'), + + # alone this is not enough for an NNP + (r'^Free$', 'NN'), # Hours/Date/Day/Month text references (r'^am$', 'NN'), @@ -1147,34 +1305,34 @@ def as_str(cls, node, ignores=frozenset(), include_allrights=False): (r'^LIMITED[,\.]??$', 'COMP'), # Caps company suffixes - (r'^INC\.?,?\)?$', 'COMP'), - (r'^INCORPORATED\.?,?\)?$', 'COMP'), - (r'^CORP\.?,?\)?$', 'COMP'), - (r'^CORPORATION\.?,?\)?$', 'COMP'), - (r'^FOUNDATION\.?,?$', 'COMP'), - (r'^GROUP\.?,?$', 'COMP'), - (r'^COMPANY\.?,?$', 'COMP'), - (r'^\(tm\).?$', 'COMP'), - (r'^[Ff]orum\.?,?', 'COMP'), + (r'^INC[\.,\)]*$', 'COMP'), + (r'^INCORPORATED[\.,\)]*$', 'COMP'), + (r'^CORP[\.,\)]*$', 'COMP'), + (r'^CORPORATION[\.,\)]*$', 'COMP'), + (r'^FOUNDATION[\.,\)]*$', 'COMP'), + (r'^GROUP[\.,\)]*$', 'COMP'), + (r'^COMPANY[\.,\)]*$', 'COMP'), + (r'^\(tm\)[\.,]?$', 'COMP'), + (r'^[Ff]orum[\.,\)]*', 'COMP'), # company suffix - (r'^[Cc]orp\.?,?\)?$', 'COMP'), - (r'^[Cc]orp(oration|\.,?)?\)?$', 'COMP'), - (r'^[Cc][oO]\.,?$', 'COMP'), - (r'^[Cc]orporations?\.?,?$', 'COMP'), - (r'^[Ff]oundation\.?,?$', 'COMP'), - (r'^[Aa]lliance\.?,?$', 'COMP'), + (r'^[Cc]orp[\.,\)]*$', 'COMP'), + (r'^[Cc]orporation[\.,\)]*$', 'COMP'), + (r'^[Cc][oO][\.,\)]*$', 'COMP'), + (r'^[Cc]orporations?[\.,\)]*$', 'COMP'), + (r'^[Cc]onsortium[\.,\)]*$', 'COMP'), + + (r'^[Ff]oundation[\.,\)]*$', 'COMP'), + (r'^[Aa]lliance[\.,\)]*$', 'COMP'), (r'^Working$', 'COMP'), - (r'^[Gg]roup\.?,?$', 'COMP'), - (r'^[Tt]echnology\.?,?$', 'COMP'), - (r'^[Tt]echnologies\.?,?$', 'COMP'), - (r'^[Cc]ommunity\.?,?$', 'COMP'), - (r'^[Cc]ommunities\.?,?$', 'COMP'), - (r'^[Mm]icrosystems\.?,?$', 'COMP'), - (r'^[Pp]rojects?\.?,?$', 'COMP'), - (r'^[Tt]eams?\.?$', 'COMP'), - (r'^[Tt]ech\.?,?$', 'COMP'), - (r"^Limited'?\.?,?$", 'COMP'), + (r'^[Gg]roup[\.,\)]*$', 'COMP'), + (r'^[Tt]echnolog(y|ies)[\.,\)]*$', 'COMP'), + (r'^[Cc]ommunit(y|ies)[\.,\)]*$', 'COMP'), + (r'^[Mm]icrosystems[\.,\)]*$', 'COMP'), + (r'^[Pp]rojects?[\.,\)]*,?$', 'COMP'), + (r'^[Tt]eams?[\.,\)]*$', 'COMP'), + (r'^[Tt]ech[\.,\)]*$', 'COMP'), + (r"^Limited'?[\.,\)]*$", 'COMP'), # company suffix : LLC, LTD, LLP followed by one extra char (r'^[Ll][Tt][Dd]\.?,?$', 'COMP'), @@ -1186,7 +1344,8 @@ def as_str(cls, node, ignores=frozenset(), include_allrights=False): # company suffix : SA, SAS, AG, AB, AS, CO, labs followed by a dot (r'^(S\.?A\.?S?|Sas|sas|A\/S|AG,?|AB|Labs?|[Cc][Oo]|Research|Center|INRIA|Societe)\.?$', 'COMP'), - + # French SARL + (r'^(SARL|S\.A\.R\.L\.)[\.,\)]*$', 'COMP'), # company suffix : AS: this is frequent beyond Norway. (r'^AS.$', 'COMP'), (r'^AS', 'CAPS'), @@ -1206,11 +1365,13 @@ def as_str(cls, node, ignores=frozenset(), include_allrights=False): # (dutch and belgian) company suffix (r'^[Bb]\.?[Vv]\.?|BVBA$', 'COMP'), # university - (r'^\(?[Uu]niv(?:[.]|ersit(?:y|e|at?|ad?))\)?\.?$', 'UNI'), + (r'^\(?[Uu]niv(?:[.]|ersit(?:y|e|at?|ad?))[\.,\)]*$', 'UNI'), (r'^UNIVERSITY$', 'UNI'), (r'^College$', 'UNI'), # Academia/ie (r'^[Ac]cademi[ae]s?$', 'UNI'), + # Academia/ie + (r'^[Ac]cademy[\.,\)]*$', 'UNI'), # institutes (r'INSTITUTE', 'COMP'), @@ -1446,8 +1607,8 @@ def as_str(cls, node, ignores=frozenset(), include_allrights=False): ############################################################################ # email start-at-end: : - (r'^<([a-zA-Z]+[a-zA-Z\.]){3,}$', 'EMAIL_START'), - (r'^[a-zA-Z\.]{2,}>$', 'EMAIL_END'), + (r'^<([a-zA-Z]+[a-zA-Z\.]){2,5}$', 'EMAIL_START'), + (r'^[a-zA-Z\.]{2,5}>$', 'EMAIL_END'), # a .sh shell scripts is NOT an email. (r'^.*\.sh\.?$', 'JUNK'), @@ -1457,11 +1618,11 @@ def as_str(cls, node, ignores=frozenset(), include_allrights=False): # URLS such as <(http://fedorahosted.org/lohit)> or () (r'[<\(]https?:.*[>\)]', 'URL'), # URLS such as ibm.com without a scheme - (r'\s?[a-z0-9A-Z\-\.\_]+\.([Cc][Oo][Mm]|[Nn][Ee][Tt]|[Oo][Rr][Gg]|us|mil|io|edu|co\.[a-z][a-z]|eu|ch|fr|de|be|nl|au|biz)\s?\.?$', 'URL2'), + (r'\s?[a-z0-9A-Z\-\.\_]+\.([Cc][Oo][Mm]|[Nn][Ee][Tt]|[Oo][Rr][Gg]|us|mil|io|edu|co\.[a-z][a-z]|eu|ch|fr|de|be|se|nl|au|biz)\s?\.?$', 'URL2'), # TODO: add more extensions: there are so main TLD these days! # URL wrapped in () or <> - (r'[\(<]+\s?[a-z0-9A-Z\-\.\_]+\.(com|net|org|us|mil|io|edu|co\.[a-z][a-z]|eu|ch|fr|jp|de|be|nl|au|biz)\s?[\.\)>]+$', 'URL'), - (r']?$', 'URL'), + (r'[\(<]+\s?[a-z0-9A-Z\-\.\_]+\.(com|net|org|us|mil|io|edu|co\.[a-z][a-z]|eu|ch|fr|jp|de|be|se|nl|au|biz)\s?[\.\)>]+$', 'URL'), + (r']?$', 'URL'), # derived from regex in cluecode.finder (r'\[\]"]+' @@ -1487,6 +1648,13 @@ def as_str(cls, node, ignores=frozenset(), include_allrights=False): # Code variable names including snake case (r'^.*(_.*)+$', 'JUNK'), + # !$? + (r'^\!\$\?$', 'JUNK'), + + # things composed only of non-word letters (e.g. junk punctuations) + # but keeping _ ? and () as parts of words + (r'^[^\w\?()]{2,10}$', 'JUNK'), + ############################################################################ # catch all other as Nouns ############################################################################ @@ -1496,6 +1664,8 @@ def as_str(cls, node, ignores=frozenset(), include_allrights=False): ] # Comments in the Grammar are lines that start with # +# End of line commenst are rules descriptions. +# One rule per line. grammar = """ ####################################### @@ -1518,7 +1688,7 @@ def as_str(cls, node, ignores=frozenset(), include_allrights=False): ####################################### # All/No/Some Rights Reserved OR All Rights Are Reserved - ALLRIGHTRESERVED: { ? } #allrightsreserved + ALLRIGHTRESERVED: { ? } #allrightsreserved ####################################### @@ -1569,16 +1739,16 @@ def as_str(cls, node, ignores=frozenset(), include_allrights=False): DASHCAPS: { } # INRIA - CIRAD - INRA - COMPANY: { +} #1280 + COMPANY: { +} #1280 # Project Admins leethomason - COMPANY: { +} #1281 + COMPANY: { +} #1281 # the Regents of the University of California COMPANY: {? ?} #130 # Free Software Foundation, Inc. - COMPANY: { } #135 + COMPANY: { } #135 # Mediatrix Telecom, inc. COMPANY: {+ } #136 @@ -1598,7 +1768,7 @@ def as_str(cls, node, ignores=frozenset(), include_allrights=False): # Commonwealth Scientific and Industrial Research Organisation (CSIRO) COMPANY: { } - COMPANY: { ?} #200 + COMPANY: { *} #200 # Android Open Source Project, 3Dfx Interactive, Inc. COMPANY: {? } #205 @@ -1609,8 +1779,14 @@ def as_str(cls, node, ignores=frozenset(), include_allrights=False): # NNP NN NNP NNP COMP COMP') COMPANY: { +} #207 - # was: COMPANY: { ? ? ? ? ? ?} #210 - COMPANY: {+ +} #210 + # Massachusetts Institute of Technology + COMPANY: { +} #208 + + COMPANY: {+ +} #210 + + # University of Southern California, Information Sciences Institute (ISI) + COMPANY: { ?} #211 + COMPANY: { + ?} #220 COMPANY: {+ } #230 COMPANY: { } #240 @@ -1619,6 +1795,9 @@ def as_str(cls, node, ignores=frozenset(), include_allrights=False): # University of Southern California, Information Sciences Institute (ISI) COMPANY: { } #251 + # University of Technology + COMPANY: { } #252 + # GNOME i18n Project for Vietnamese COMPANY: { } #253 @@ -1682,16 +1861,16 @@ def as_str(cls, node, ignores=frozenset(), include_allrights=False): NAME: { } #483 # Kungliga Tekniska Hogskolan (Royal Institute of Technology, Stockholm, Sweden) - COMPANY: { } #529 + COMPANY: { } #529 # Instituto Nokia de Tecnologia - COMPANY: { } # 5391 + COMPANY: { } # 5391 # Laboratoire MASI - Institut Blaise Pascal - COMPANY: { } #5292 + COMPANY: { } #5292 # Nara Institute of Science and Technology. - COMPANY: { } #5293 + COMPANY: { } #5293 # Instituto Nokia de Tecnologia - INdT COMPANY: { } #52934 @@ -1715,7 +1894,7 @@ def as_str(cls, node, ignores=frozenset(), include_allrights=False): NAME-YEAR: { + ?} #5612 #Academy of Motion Picture Arts and Sciences - NAME: { } # 561 + NAME: { } # 561 # Adam Weinberger and the GNOME Foundation NAME: { } # 565 @@ -1749,12 +1928,12 @@ def as_str(cls, node, ignores=frozenset(), include_allrights=False): NAME: { } #710 NAME: {? } #720 NAME: {} #730 - NAME: { + } #740 + NAME: { + } #740 # by BitRouter - NAME: { } #741 + NAME: { } #741 # Philippe http//nexb.com joe@nexb.com - NAME: { } #742 + NAME: { } #742 # Companies COMPANY: {+ ? ?} #770 @@ -1773,6 +1952,9 @@ def as_str(cls, node, ignores=frozenset(), include_allrights=False): COMPANY: { } #840 + # the Software and Component Technologies group of Trimble Navigation, Ltd. + COMPANY: { } #840.1 + # University Corporation for Advanced Internet Development, Inc. COMPANY: { } #845 @@ -1790,7 +1972,8 @@ def as_str(cls, node, ignores=frozenset(), include_allrights=False): ANDCO: { } #940 ANDCO: { +} #950 - # Copyright 2005-2007 Christopher Montgomery, Jean-Marc Valin, Timothy Terriberry, CSIRO, and other contributors + # Copyright 2005-2007 Christopher Montgomery, Jean-Marc Valin, + # Timothy Terriberry, CSIRO, and other contributors ANDCO: { +} #960 COMPANY: { +} #970 @@ -1858,7 +2041,8 @@ def as_str(cls, node, ignores=frozenset(), include_allrights=False): COMPANY: {+} #1480 - # Copyright (c) 2002 World Wide Web Consortium, (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). + # Copyright (c) 2002 World Wide Web Consortium, (Massachusetts Institute of + # Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). COMPANY: { } #1490 # Oracle and/or its affiliates. @@ -1870,17 +2054,18 @@ def as_str(cls, node, ignores=frozenset(), include_allrights=False): # UC Berkeley and its contributors NAME: { } #1412 - #copyrighted by Douglas C. Schmidt and his research group at Washington University, University of California, Irvine, and Vanderbilt University, Copyright (c) 1993-2008, + # copyrighted by Douglas C. Schmidt and his research group at Washington University, + # University of California, Irvine, and Vanderbilt University, Copyright (c) 1993-2008, COMPANY: { +} #1413 # The University of Utah and the Regents of the University of California COMPANY: { } #1414 # by the Massachusetts Institute of Technology - COMPANY: { } #1415 + COMPANY: { } #1415 # Computer Systems and Communication Lab, Institute of Information Science, Academia Sinica. - COMPANY: { } #1416 + COMPANY: { } #1416 # Copyright 2007-2010 the original author or authors. # Copyright (c) 2007-2010 the original author or authors. @@ -2005,10 +2190,10 @@ def as_str(cls, node, ignores=frozenset(), include_allrights=False): COPYRIGHT: {+ } #2274 # Copyright (c) 2017 Contributors et.al. - COPYRIGHT: { } #2276 + COPYRIGHT: { } #2276 #Copyright (c) 2020 Contributors as noted in the AUTHORS file - COPYRIGHT: { * ? * } + COPYRIGHT: { * ? * } # copyrighted by Object Computing, Inc., St. Louis Missouri, Copyright (C) 2002, all rights reserved. COPYRIGHT: { + } #2278 @@ -2107,9 +2292,6 @@ def as_str(cls, node, ignores=frozenset(), include_allrights=False): # (C) 2001-2009, Takuo KITAME, Bart Martens, and Canonical, LTD COPYRIGHT: { } #26381 - #Copyright Holders Kevin Vandersloot Erik Johnsson - COPYRIGHT: { } #26383 - #Copyright (c) 1995, 1996 - Blue Sky Software Corp. COPYRIGHT: { } #2639 @@ -2275,6 +2457,12 @@ def as_str(cls, node, ignores=frozenset(), include_allrights=False): # Copyright (c) 2008 Intel Corporation / Qualcomm Inc. COPYRIGHT: { } #copydash-co + #Copyright Holders Kevin Vandersloot Erik Johnsson + COPYRIGHT: { } #83000 + + #holder is Tim Hudson (tjh@mincom.oz.au). + COPYRIGHT: { } #83001 + ####################################### # Authors ####################################### @@ -2351,7 +2539,7 @@ def as_str(cls, node, ignores=frozenset(), include_allrights=False): ####################################### -# Last resort catch all ending with allrights +# Last resort catch all ending with ALLRIGHTRESERVED ####################################### COPYRIGHT: {+} #99900 @@ -2373,18 +2561,20 @@ def refine_copyright(c): Refine a detected copyright string. FIXME: the grammar should not allow this to happen. """ - c = u' '.join(c.split()) + if not c: + return + c = ' '.join(c.split()) c = strip_some_punct(c) # this catches trailing slashes in URL for consistency - c = c.strip(u'/ ') + c = c.strip('/ ') # c = fix_trailing_space_dot(c) c = strip_all_unbalanced_parens(c) c = remove_same_extra_words(c) - c = u' '.join(c.split()) + c = ' '.join(c.split()) c = remove_dupe_copyright_words(c) - c = strip_prefixes(c, prefixes=set([u'by', u'c'])) + c = strip_prefixes(c, prefixes=set(['by', 'c'])) c = c.strip() - c = c.strip(u'+') + c = c.strip('+') c = strip_balanced_edge_parens(c) c = strip_suffixes(c, suffixes=COPYRIGHTS_SUFFIXES) c = strip_trailing_period(c) @@ -2397,9 +2587,11 @@ def refine_holder(h): Refine a detected holder. FIXME: the grammar should not allow this to happen. """ + if not h: + return # handle the acse where "all right reserved" is in the middle and the # company name contains the word all. - if u'reserved' in h.lower(): + if 'reserved' in h.lower(): prefixes = HOLDERS_PREFIXES_WITH_ALL else: prefixes = HOLDERS_PREFIXES @@ -2420,6 +2612,8 @@ def refine_author(a): Refine a detected author. FIXME: the grammar should not allow this to happen. """ + if not a: + return # FIXME: we could consider to split comma separated lists such as # gthomas, sorin@netappi.com, andrew.lunn@ascom.che.g. a = refine_names(a, prefixes=AUTHORS_PREFIXES) @@ -2497,6 +2691,7 @@ def refine_names(s, prefixes): 'author', 'all', 'some', + 'and' ]) # Set of statements that get detected and are junk/false positive @@ -2606,6 +2801,7 @@ def refine_names(s, prefixes): 'copyright 2003 m. y.', 'copyright 2001 m. y. name', 'copyright 2001 m. y.', + 'copyright help center', ]) ################################################################################ @@ -2686,6 +2882,7 @@ def refine_names(s, prefixes): 'reserved', 'held', 'by', + 'is', ]) )) @@ -2784,7 +2981,7 @@ def strip_prefixes(s, prefixes=()): # author vs copyright grammar in two while s and s[0].lower() in prefixes: s = s[1:] - s = u' '.join(s) + s = ' '.join(s) return s @@ -2796,7 +2993,7 @@ def strip_suffixes(s, suffixes=()): s = s.split() while s and s[-1].lower() in suffixes: s = s[:-1] - s = u' '.join(s) + s = ' '.join(s) return s @@ -2839,12 +3036,12 @@ def refine_date(c): def strip_leading_numbers(s): """ - Return a string removing leading words made only of numbers. + Return a string removing leading words made only of digits. """ s = s.split() while s and s[0].isdigit(): s = s[1:] - return u' '.join(s) + return ' '.join(s) def strip_some_punct(s): @@ -2987,7 +3184,7 @@ def prep_line(line): for candidate and other checks or None. """ line = prepare_text_line(line.lower(), dedeb=False) - chars_only = remove_non_chars(u'', line) + chars_only = remove_non_chars('', line) return line, chars_only.strip() @@ -3002,28 +3199,30 @@ def is_candidate(prepared_line): return False if is_only_digit_and_punct(prepared_line): - if TRACE: logger_debug('is_candidate: is_only_digit_and_punct:\n%(prepared_line)r' % locals()) + if TRACE: + logger_debug( + f'is_candidate: is_only_digit_and_punct:\n{prepared_line!r}') + return False if copyrights_hint.years(prepared_line): - # if TRACE: logger_debug('is_candidate: year in line:\n%(prepared_line)r' % locals()) return True else: - # if TRACE: logger_debug('is_candidate: NOT year in line:\n%(prepared_line)r' % locals()) pass for marker in copyrights_hint.statement_markers: if marker in prepared_line: - # if TRACE: logger_debug('is_candidate: %(marker)r in line:\n%(prepared_line)r' % locals()) return True -def is_inside_statement(chars_only_line): +def is_inside_statement( + chars_only_line, + markers=('copyright', 'copyrights', 'copyrightby',) + copyrights_hint.all_years, +): """ Return True if a line ends with some strings that indicate we are still inside a statement. """ - markers = ('copyright', 'copyrights', 'copyrightby',) + copyrights_hint.all_years return chars_only_line and chars_only_line.endswith(markers) @@ -3032,14 +3231,20 @@ def is_end_of_statement(chars_only_line): Return True if a line ends with some strings that indicate we are at the end of a statement. """ - return chars_only_line and chars_only_line.endswith(('rightreserved', 'rightsreserved')) + return ( + chars_only_line + and chars_only_line.endswith(('rightreserved', 'rightsreserved')) + ) + + +has_trailing_year = re.compile(r'(?:19\d\d|20[0-4]\d)+$').findall def candidate_lines(numbered_lines): """ - Yield lists of candidate lines where each list element is a tuple of - (line number, line text) given an iterable of numbered_lines as tuples of - (line number, line text) . + Yield groups of candidate line lists where each list element is a tuple of + (line number, line text) given an iterable of ``numbered_lines`` as tuples + of (line number, line text) . A candidate line is a line of text that may contain copyright statements. A few lines before and after a candidate line are also included. @@ -3054,8 +3259,11 @@ def candidate_lines(numbered_lines): # the previous line (chars only) previous_chars = None for numbered_line in numbered_lines: - if TRACE: logger_debug('# candidate_lines: evaluating line:' + repr(numbered_line)) - line_number, line = numbered_line + if TRACE: + logger_debug( + f'# candidate_lines: evaluating line: {numbered_line!r}') + + _line_number, line = numbered_line # FIXME: we should get the prepared text from here and return # effectively pre-preped lines... but the prep taking place here is @@ -3067,7 +3275,10 @@ def candidate_lines(numbered_lines): if TRACE: cands = list(candidates) - logger_debug(' candidate_lines: is EOS: yielding candidates\n %(cands)r\n\n' % locals()) + logger_debug( + ' candidate_lines: is EOS: yielding candidates\n' + f' {cands}r\n\n' + ) yield list(candidates) candidates_clear() @@ -3082,7 +3293,6 @@ def candidate_lines(numbered_lines): previous_chars = chars_only if TRACE: logger_debug(' candidate_lines: line is candidate') - elif 's>' in line: # this is for debian-style copyright name tags # the state is now "in copyright" @@ -3090,16 +3300,34 @@ def candidate_lines(numbered_lines): candidates_append(numbered_line) previous_chars = chars_only - if TRACE: logger_debug(' candidate_lines: line is candidate') + if TRACE: + logger_debug(' candidate_lines: line is candidate') elif in_copyright > 0: - if ((not chars_only) - and (not previous_chars.endswith(('copyright', 'copyrights', 'copyrightsby', 'copyrightby',)))): + # these are a sign that the copyrights continue after + # a possibly empty line + # see https://github.com/nexB/scancode-toolkit/issues/1565 + # if these are no present we treat empty lines... as empty! + if ( + (not chars_only) + and ( + not previous_chars.endswith(( + 'copyright', + 'copyrights', + 'and', + 'by', + )) + ) + and not has_trailing_year(previous_chars) + ): # completely empty or only made of punctuations if TRACE: cands = list(candidates) - logger_debug(' candidate_lines: empty: yielding candidates\n %(cands)r\n\n' % locals()) + logger_debug( + ' candidate_lines: empty: yielding candidates\n' + f' {cands}r\n\n' + ) yield list(candidates) candidates_clear() @@ -3110,12 +3338,17 @@ def candidate_lines(numbered_lines): candidates_append(numbered_line) # and decrement our state in_copyright -= 1 - if TRACE: logger_debug(' candidate_lines: line is in copyright') + if TRACE: + logger_debug(' candidate_lines: line is in copyright') elif candidates: if TRACE: cands = list(candidates) - logger_debug(' candidate_lines: not in COP: yielding candidates\n %(cands)r\n\n' % locals()) + logger_debug( + ' candidate_lines: not in COP: yielding candidates\n' + f' {cands}r\n\n' + ) + yield list(candidates) candidates_clear() in_copyright = 0 @@ -3125,7 +3358,10 @@ def candidate_lines(numbered_lines): if candidates: if TRACE: cands = list(candidates) - logger_debug('candidate_lines: finally yielding candidates\n %(cands)r\n\n' % locals()) + logger_debug( + 'candidate_lines: finally yielding candidates\n' + f' {cands}r\n\n' + ) yield list(candidates) @@ -3136,24 +3372,26 @@ def candidate_lines(numbered_lines): # this catches tags but not does not remove the text inside tags remove_tags = re.compile( - r'<' - r'[(--)\?\!\%\/]?' - r'[a-gi-vx-zA-GI-VX-Z][a-zA-Z#\"\=\s\.\;\:\%\&?!,\+\*\-_\/]*' - r'[a-zA-Z0-9#\"\=\s\.\;\:\%\&?!,\+\*\-_\/]+' - r'\/?>', - re.MULTILINE | re.UNICODE - ).sub + r'<' + r'[(--)\?\!\%\/]?' + r'[a-gi-vx-zA-GI-VX-Z][a-zA-Z#\"\=\s\.\;\:\%\&?!,\+\*\-_\/]*' + r'[a-zA-Z0-9#\"\=\s\.\;\:\%\&?!,\+\*\-_\/]+' + r'\/?>', + re.MULTILINE | re.UNICODE +).sub def strip_markup(text, dedeb=True): """ - Strip markup tags from text. - If `dedeb` is True, also remove "Debian" markup tags. + Strip markup tags from ``text``. + + If ``dedeb`` is True, remove "Debian" markup tags seen in + older copyright files. """ - text = remove_tags(u' ', text) + text = remove_tags(' ', text) # Debian copyright file markup if dedeb: - return text.replace(u'', u'').replace(u'', u'').replace(u'', u'') + return text.replace('', '').replace('', '').replace('', '') else: return text @@ -3177,79 +3415,82 @@ def strip_markup(text, dedeb=True): def prepare_text_line(line, dedeb=True, to_ascii=True): """ - Prepare a unicode `line` of text for copyright detection. - If `dedeb` is True, also remove "Debian" markup tags. + Prepare a text ``line`` for copyright detection. + + If ``dedeb`` is True, remove "Debian" markup tags seen in + older copyright files. + + If ``to_ascii`` convert the text to ASCII characters. """ # remove some junk in man pages: \(co line = (line - .replace(u'\\\\ co', u' ') - .replace(u'\\ co', u' ') - .replace(u'(co ', u' ') + .replace('\\\\ co', ' ') + .replace('\\ co', ' ') + .replace('(co ', ' ') ) - line = remove_printf_format_codes(u' ', line) + line = remove_printf_format_codes(' ', line) - # un common comment line prefixes - line = remove_comment_markers(u' ', line) - line = remove_man_comment_markers(u' ', line) + # less common comment line prefixes + line = remove_comment_markers(' ', line) + line = remove_man_comment_markers(' ', line) line = (line - # C and C++ style markers - .replace(u'^//', u' ') - .replace(u'/*', u' ').replace(u'*/', u' ') - + # C and C++ style comment markers + .replace('/*', ' ').replace('*/', ' ') + .strip().strip('/*#') # un common pipe chars in some ascii art - .replace(u'|', u' ') + .replace('|', ' ') # normalize copyright signs and spacing around them - .replace(u'"Copyright', u'" Copyright') - .replace(u'( C)', u' (c) ') - .replace(u'(C)', u' (c) ') - .replace(u'(c)', u' (c) ') + .replace('"Copyright', '" Copyright') + .replace('( C)', ' (c) ') + .replace('(C)', ' (c) ') + .replace('(c)', ' (c) ') # the case of \251 is tested by 'weirdencoding.h' - .replace(u'©', u' (c) ') - .replace(u'\251', u' (c) ') - .replace(u'©', u' (c) ') - .replace(u'©', u' (c) ') - .replace(u'©', u' (c) ') - .replace(u'©', u' (c) ') - .replace(u'©', u' (c) ') - .replace(u'u00A9', u' (c) ') - .replace(u'u00a9', u' (c) ') - .replace(u'\xa9', u' (c) ') - .replace(u'\\XA9', u' (c) ') + .replace('©', ' (c) ') + .replace('\251', ' (c) ') + .replace('©', ' (c) ') + .replace('©', ' (c) ') + .replace('©', ' (c) ') + .replace('©', ' (c) ') + .replace('©', ' (c) ') + .replace('u00A9', ' (c) ') + .replace('u00a9', ' (c) ') + .replace('\xa9', ' (c) ') + .replace('\\XA9', ' (c) ') # \xc2 is a  - .replace(u'\xc2', u'') - .replace(u'\\xc2', u'') + .replace('\xc2', '') + .replace('\\xc2', '') # not really a dash: an emdash - .replace(u'–', u'-') + .replace('–', '-') # TODO: add more HTML entities replacements # see http://www.htmlhelp.com/reference/html40/entities/special.html # convert html entities CR LF to space - .replace(u' ', u' ') - .replace(u' ', u' ') - .replace(u' ', u' ') + .replace(' ', ' ') + .replace(' ', ' ') + .replace(' ', ' ') # spaces - .replace(u' ', u' ') - .replace(u' ', u' ') - .replace(u' ', u' ') + .replace(' ', ' ') + .replace(' ', ' ') + .replace(' ', ' ') # common named HTML entities - .replace(u'"', u'"') - .replace(u'"', u'"') - .replace(u'&', u'&') - .replace(u'&', u'&') - .replace(u'>', u'>') - .replace(u'>', u'>') - .replace(u'<', u'<') - .replace(u'<', u'<') + .replace('"', '"') + .replace('"', '"') + .replace('&', '&') + .replace('&', '&') + .replace('>', '>') + .replace('>', '>') + .replace('<', '<') + .replace('<', '<') # normalize (possibly repeated) quotes to unique single quote ' # backticks ` and " - .replace(u'`', u"'") - .replace(u'"', u"'") + .replace('`', u"'") + .replace('"', u"'") ) # keep only one quote line = fold_consecutive_quotes(u"'", line) @@ -3257,34 +3498,34 @@ def prepare_text_line(line, dedeb=True, to_ascii=True): # treat some escaped literal CR, LF, tabs, \00 as new lines # such as in code literals: a="\\n some text" line = (line - .replace(u'\\t', u' ') - .replace(u'\\n', u' ') - .replace(u'\\r', u' ') - .replace(u'\\0', u' ') + .replace('\\t', ' ') + .replace('\\n', ' ') + .replace('\\r', ' ') + .replace('\\0', ' ') # TODO: why backslashes? - .replace(u'\\', u' ') + .replace('\\', ' ') # replace (' - .replace(u'("', u' ') + .replace('("', ' ') # some trailing garbage ') - .replace(u"')", u' ') - .replace(u"],", u' ') + .replace(u"')", ' ') + .replace(u"],", ' ') ) # note that we do not replace the debian tag by a space: we remove it line = strip_markup(line, dedeb=dedeb) - line = remove_punctuation(u' ', line) + line = remove_punctuation(' ', line) # normalize spaces around commas - line = line.replace(u' , ', u', ') + line = line.replace(' , ', ', ') # remove ASCII "line decorations" # such as in --- or === or !!! or ***** - line = remove_ascii_decorations(u' ', line) + line = remove_ascii_decorations(' ', line) # in apache'>Copyright replace ">" by "> " - line = line.replace(u'>', u'> ').replace(u'<', u' <') + line = line.replace('>', '> ').replace('<', ' <') # normalize to ascii text if to_ascii: @@ -3296,9 +3537,9 @@ def prepare_text_line(line, dedeb=True, to_ascii=True): # strip verbatim back slash and comment signs again at both ends of a line # FIXME: this is done at the start of this function already - line = line.strip(u'\\/*#%;') + line = line.strip('\\/*#%;') # normalize spaces - line = u' '.join(line.split()) + line = ' '.join(line.split()) return line diff --git a/src/cluecode/finder.py b/src/cluecode/finder.py index 1386900c9f3..806ade5ee74 100644 --- a/src/cluecode/finder.py +++ b/src/cluecode/finder.py @@ -60,14 +60,14 @@ def find(location, patterns): loc = pformat(location) logger_debug('find(location=%(loc)r,\n patterns=%(patterns)r)' % locals()) - for lineno, line in analysis.numbered_text_lines(location, demarkup=False): + for line_number, line in analysis.numbered_text_lines(location, demarkup=False): for key, pattern in patterns: for match in pattern.findall(line): if TRACE: logger_debug('find: yielding match: key=%(key)r, ' 'match=%(match)r,\n line=%(line)r' % locals()) - yield key, toascii(match), line, lineno + yield key, toascii(match), line, line_number def unique_filter(matches): @@ -75,11 +75,11 @@ def unique_filter(matches): Iterate over matches and yield unique matches. """ uniques = set() - for key, match, line, lineno in matches: + for key, match, line, line_number in matches: if (key, match,) in uniques: continue uniques.add((key, match,)) - yield key, match, line, lineno + yield key, match, line, line_number def apply_filters(matches, *filters): @@ -88,8 +88,8 @@ def apply_filters(matches, *filters): matches iterable. A filter must accept a single arg: an iterable of tuples of (key, match, - line, lineno) and must return an iterable of tuples of (key, match, line, - lineno). + line, line_number) and must return an iterable of tuples of (key, match, line, + line_number). """ for filt in filters: matches = filt(matches) @@ -105,12 +105,12 @@ def build_regex_filter(pattern): def re_filt(matches): if TRACE: logger_debug('re_filt: pattern="{}"'.format(pattern)) - for key, match, line, lineno in matches: + for key, match, line, line_number in matches: if matcher(match): if TRACE: logger_debug('re_filt: filtering match: "{}"'.format(match)) continue - yield key, match, line, lineno + yield key, match, line, line_number matcher = re.compile(pattern, re.UNICODE | re.IGNORECASE).match return re_filt @@ -126,8 +126,8 @@ def emails_regex(): def find_emails(location, unique=True): """ - Yield emails found in file at location. - Only return unique items if unique is True. + Yield an iterable of (email, line_number) found in file at ``location``. + Only return unique items if ``unique`` is True. """ patterns = [('emails', emails_regex(),)] matches = find(location, patterns) @@ -141,8 +141,8 @@ def find_emails(location, unique=True): if unique: filters += (unique_filter,) matches = apply_filters(matches, *filters) - for _key, email, _line, lineno in matches: - yield email, lineno + for _key, email, _line, line_number in matches: + yield email, line_number def junk_email_domains_filter(matches): @@ -151,11 +151,11 @@ def junk_email_domains_filter(matches): common uninteresting domains have been removed, such as local, non public or example.com emails. """ - for key, email, line, lineno in matches: + for key, email, line, line_number in matches: domain = email.split('@')[-1] if not is_good_host(domain): continue - yield key, email, line, lineno + yield key, email, line, line_number def uninteresting_emails_filter(matches): @@ -163,11 +163,11 @@ def uninteresting_emails_filter(matches): Given an iterable of emails matches, return an iterable where common uninteresting emails have been removed. """ - for key, email, line, lineno in matches: + for key, email, line, line_number in matches: good_email = finder_data.classify_email(email) if not good_email: continue - yield key, email, line, lineno + yield key, email, line, line_number # TODO: consider: http://www.regexguru.com/2008/11/detecting-urls-in-a-block-of-text/ # TODO: consider: http://blog.codinghorror.com/the-problem-with-urls/ @@ -199,8 +199,8 @@ def urls_regex(): def find_urls(location, unique=True): """ - Yield urls found in file at `location`. - Only return unique items if unique is True. + Yield an iterable of (url, line_number) found in file at ``location``. + Only return unique items if ``unique`` is True. `location` can be a list of strings for testing. """ patterns = [('urls', urls_regex(),)] @@ -225,11 +225,11 @@ def find_urls(location, unique=True): filters += (unique_filter,) matches = apply_filters(matches, *filters) - for _key, url, _line, lineno in matches: + for _key, url, _line, line_number in matches: if TRACE_URL: - logger_debug('find_urls: lineno:', lineno, '_line:', repr(_line), + logger_debug('find_urls: line_number:', line_number, '_line:', repr(_line), 'type(url):', type(url), 'url:', repr(url)) - yield str(url), lineno + yield str(url), line_number EMPTY_URLS = set(['https', 'http', 'ftp', 'www', ]) @@ -239,13 +239,13 @@ def empty_urls_filter(matches): """ Given an iterable of URL matches, return an iterable without empty URLs. """ - for key, match, line, lineno in matches: + for key, match, line, line_number in matches: junk = match.lower().strip(string.punctuation).strip() if not junk or junk in EMPTY_URLS: if TRACE: logger_debug('empty_urls_filter: filtering match: %(match)r' % locals()) continue - yield key, match, line, lineno + yield key, match, line, line_number def verbatim_crlf_url_cleaner(matches): @@ -255,11 +255,11 @@ def verbatim_crlf_url_cleaner(matches): a URL have been removed. """ # FIXME: when is this possible and could happen? - for key, url, line, lineno in matches: + for key, url, line, line_number in matches: if not url.endswith('/'): url = url.replace('\n', '') url = url.replace('\r', '') - yield key, url, line, lineno + yield key, url, line, line_number def end_of_url_cleaner(matches): @@ -268,7 +268,7 @@ def end_of_url_cleaner(matches): commonly found at the end of a URL are removed. This is not entirely correct, but works practically. """ - for key, url, line, lineno in matches: + for key, url, line, line_number in matches: if not url.endswith('/'): url = url.replace(u'<', u'<') url = url.replace(u'>', u'>') @@ -283,7 +283,7 @@ def end_of_url_cleaner(matches): url = url.split(u']')[0] url = url.split(u'"')[0] url = url.split(u"'")[0] - yield key, url, line, lineno + yield key, url, line, line_number non_standard_urls_prefix = ('git@',) @@ -301,10 +301,10 @@ def scheme_adder(matches): """ Add a fake http:// scheme if there was none. """ - for key, match, line, lineno in matches: + for key, match, line, line_number in matches: if is_filterable(match): match = add_fake_scheme(match) - yield key, match, line, lineno + yield key, match, line, line_number def add_fake_scheme(url): @@ -328,7 +328,7 @@ def user_pass_cleaning_filter(matches): Given an iterable of URL matches, return an iterable where user and password are removed from the URLs host. """ - for key, match, line, lineno in matches: + for key, match, line, line_number in matches: if is_filterable(match): host, _domain = url_host_domain(match) if not host: @@ -339,7 +339,7 @@ def user_pass_cleaning_filter(matches): if '@' in host: # strips any user/pass host = host.split(u'@')[-1] - yield key, match, line, lineno + yield key, match, line, line_number DEFAULT_PORTS = { @@ -393,7 +393,7 @@ def canonical_url_cleaner(matches): Given an iterable of URL matches, return an iterable where URLs have been canonicalized. """ - for key, match, line, lineno in matches: + for key, match, line, line_number in matches: if is_filterable(match): canonical = canonical_url(match) if TRACE: @@ -401,7 +401,7 @@ def canonical_url_cleaner(matches): 'match=%(match)r, canonical=%(canonical)r' % locals()) match = canonical if match: - yield key, match , line, lineno + yield key, match , line, line_number IP_V4_RE = '^(\\d{1,3}\\.){0,3}\\d{1,3}$' @@ -521,7 +521,7 @@ def junk_url_hosts_filter(matches): common uninteresting hosts or domains have been removed, such as local, non public or example.com URLs. """ - for key, match, line, lineno in matches: + for key, match, line, line_number in matches: if is_filterable(match): host, domain = url_host_domain(match) if not is_good_host(host): @@ -535,7 +535,7 @@ def junk_url_hosts_filter(matches): logger_debug('junk_url_hosts_filter: ''!is_good_host:%(domain)r ' 'and !is_ip:%(host)r: %(match)r' % locals()) continue - yield key, match, line, lineno + yield key, match, line, line_number def junk_urls_filter(matches): @@ -544,13 +544,13 @@ def junk_urls_filter(matches): common uninteresting URLs, or uninteresting URL hosts or domains have been removed, such as local, non public or example.com URLs. """ - for key, match, line, lineno in matches: + for key, match, line, line_number in matches: good_url = finder_data.classify_url(match) if not good_url: if TRACE: logger_debug('junk_url_filter: %(match)r' % locals()) continue - yield key, match, line, lineno + yield key, match, line, line_number def find_pattern(location, pattern, unique=False): @@ -563,5 +563,5 @@ def find_pattern(location, pattern, unique=False): matches = find(location, [(None, pattern,)]) if unique: matches = unique_filter(matches) - for _key, match , _line, lineno in matches: - yield match, lineno + for _key, match , _line, line_number in matches: + yield match, line_number diff --git a/src/cluecode/plugin_filter_clues.py b/src/cluecode/plugin_filter_clues.py index a91183fc669..c2cd8fa0029 100644 --- a/src/cluecode/plugin_filter_clues.py +++ b/src/cluecode/plugin_filter_clues.py @@ -38,8 +38,8 @@ def logger_debug(*args): @post_scan_impl class RedundantCluesFilter(PostScanPlugin): """ - Filter redundant clues (copyrights, authors, emails, and urls) that are already - contained in another more important scan result. + Filter redundant clues (copyrights, authors, emails, and urls) that are + already contained in a matched license text. """ sort_order = 1 @@ -275,13 +275,14 @@ def filter_ignorable_clues(detections, rules_by_id): def filter_values(attributes, ignorables, value_key='value', strip=''): """ - Yield filtered `attributes` based on line positions and values found in a - ignorables. + Yield filtered ``attributes`` based on line positions and values found in a + ``ignorables`` Ignorables object. Use the ``value_key`` key for getting the + value. `attributes` is a list of mappings that contain a `start_line`, `end_line` and a `value_key` key. - Optionally strip `strip` from the the values. + Optionally strip the ``strip`` characters from the values. """ for item in attributes: if TRACE: @@ -296,7 +297,7 @@ def filter_values(attributes, ignorables, value_key='value', strip=''): for ign in ignorables: if TRACE: logger_debug(' filter_values: ign:', ign) - if (ls in ign.lines_range or el in ign.lines_range) and val in ign.value: + if (ls in ign.lines_range or el in ign.lines_range) and val in ign.value: ignored = True if TRACE: logger_debug(' filter_values: skipped') break @@ -307,13 +308,12 @@ def filter_values(attributes, ignorables, value_key='value', strip=''): def collect_ignorables(license_matches, rules_by_id): """ - Collect and return an ignorable Clues object built from `license_matches` - matched licenses which is the list of "licenses" objects returned in JSON - results. + Collect and return an Ignorables object built from ``license_matches`` + matched licenses list of "licenses" objects returned in ScanCode JSON + results and the ``rules_by_id`` mapping of Rule objects by identifier. - The value of each ignorable list of clues is a set of (set of - lines number, set of ignorable values). The return values is a mapping - {label: ignorables}. + The value of each ignorable list of clues is a set of (set of lines number, + set of ignorable values). """ emails = set() urls = set() @@ -323,16 +323,17 @@ def collect_ignorables(license_matches, rules_by_id): if not license_matches: return Ignorables( - copyrights=frozenset(copyrights), - holders=frozenset(holders), - authors=frozenset(authors), - urls=frozenset(urls), - emails=frozenset(emails), - ) + copyrights=frozenset(copyrights), + holders=frozenset(holders), + authors=frozenset(authors), + urls=frozenset(urls), + emails=frozenset(emails), + ) # build tuple of (set of lines number, set of ignorbale values) for lic in license_matches: - if TRACE: logger_debug('collect_ignorables: license:', lic['key'], lic['score']) + if TRACE: + logger_debug('collect_ignorables: license:', lic['key'], lic['score']) matched_rule = lic.get('matched_rule', {}) rid = matched_rule.get('identifier') @@ -341,7 +342,8 @@ def collect_ignorables(license_matches, rules_by_id): # ignore poor partial matches # TODO: there must be a better way using coverage if match_coverage < 90: - if TRACE: logger_debug(' collect_ignorables: skipping, match_coverage under 90%') + if TRACE: + logger_debug(' collect_ignorables: skipping, match_coverage under 90%') continue if not rid: diff --git a/src/formattedcode/output_debian.py b/src/formattedcode/output_debian.py index 5fcbed5472e..7ded3b0fea1 100644 --- a/src/formattedcode/output_debian.py +++ b/src/formattedcode/output_debian.py @@ -6,9 +6,9 @@ # See https://github.com/nexB/scancode-toolkit for support or download. # See https://aboutcode.org for more information about nexB OSS projects. -from debut.copyright import CopyrightFilesParagraph -from debut.copyright import CopyrightHeaderParagraph -from debut.copyright import DebianCopyright +from debian_inspector.copyright import CopyrightFilesParagraph +from debian_inspector.copyright import CopyrightHeaderParagraph +from debian_inspector.copyright import DebianCopyright from license_expression import Licensing from commoncode.cliutils import PluggableCommandLineOption diff --git a/src/formattedcode/output_html.py b/src/formattedcode/output_html.py index 8af9dfac74b..d3187092c6e 100644 --- a/src/formattedcode/output_html.py +++ b/src/formattedcode/output_html.py @@ -155,8 +155,6 @@ def generate_output(results, version, template): LICENSES = 'licenses' COPYRIGHTS = 'copyrights' PACKAGES = 'packages' - URLS = 'urls' - EMAILS = 'emails' # Create a flattened data dict keyed by path for scanned_file in results: @@ -197,7 +195,7 @@ def generate_output(results, version, template): # denormalizing the list here?? converted_infos[path] = {} for name, value in scanned_file.items(): - if name in (LICENSES, PACKAGES, COPYRIGHTS, EMAILS, URLS): + if name in (LICENSES, PACKAGES, COPYRIGHTS): continue converted_infos[path][name] = value diff --git a/src/formattedcode/output_json.py b/src/formattedcode/output_json.py index f9261c3f449..2bb34971576 100644 --- a/src/formattedcode/output_json.py +++ b/src/formattedcode/output_json.py @@ -98,7 +98,12 @@ def write_results(codebase, output_file, pretty=False, **kwargs): close_fd = True # Begin wri'w' JSON to `output_file` - with jsonstreams.Stream(jsonstreams.Type.object, fd=output_file, close_fd=close_fd, **jsonstreams_kwargs) as s: + with jsonstreams.Stream( + jsonstreams.Type.OBJECT, + fd=output_file, + close_fd=close_fd, + **jsonstreams_kwargs + ) as s: # Write headers codebase.add_files_count_to_current_header() codebase_headers = codebase.get_headers() diff --git a/src/formattedcode/output_spdx.py b/src/formattedcode/output_spdx.py index 38ca577d3a8..900672b8a90 100644 --- a/src/formattedcode/output_spdx.py +++ b/src/formattedcode/output_spdx.py @@ -6,34 +6,31 @@ # See https://github.com/nexB/scancode-toolkit for support or download. # See https://aboutcode.org for more information about nexB OSS projects. # -from os.path import abspath -from os.path import basename -from os.path import dirname -from os.path import isdir import sys - +import uuid from io import BytesIO -try: - from StringIO import StringIO -except ImportError: - from io import StringIO +from io import StringIO from spdx.checksum import Algorithm from spdx.creationinfo import Tool +from spdx.document import ExtractedLicense from spdx.document import Document from spdx.document import License -from spdx.document import ExtractedLicense from spdx.file import File from spdx.package import Package from spdx.utils import NoAssert from spdx.utils import SPDXNone from spdx.version import Version -from formattedcode import FileOptionType from commoncode.cliutils import OUTPUT_GROUP from commoncode.cliutils import PluggableCommandLineOption +from commoncode.fileutils import file_name +from commoncode.text import python_safe_name +from formattedcode import FileOptionType from plugincode.output import output_impl from plugincode.output import OutputPlugin +from commoncode.fileutils import parent_directory +import os # Tracing flags TRACE = False @@ -64,8 +61,8 @@ def logger_debug(*args): def _patch_license_list(): """ - Patch the SPDX library license list to match the list of ScanCode known SPDX - licenses. + Patch the SPDX Python library license list to match the list of ScanCode + known SPDX licenses. """ global _spdx_list_is_patched if not _spdx_list_is_patched: @@ -79,8 +76,8 @@ def _patch_license_list(): def get_licenses_by_spdx_key(licenses): """ - Return a mapping of {spdx_key: license object} given a sequence of License - objects. + Return a mapping of {spdx_key: license object} given a ``license`` sequence + of License objects. """ spdx_licenses = {} for lic in licenses: @@ -118,16 +115,14 @@ def is_enabled(self, spdx_tv, **kwargs): return spdx_tv def process_codebase(self, codebase, spdx_tv, **kwargs): - check_sha1(codebase) - files = self.get_files(codebase, **kwargs) - header = codebase.get_or_create_current_header() - tool_name = header.tool_name - tool_version = header.tool_version - notice = header.notice - input = kwargs.get('input', '') # NOQA - - write_spdx( - spdx_tv, files, tool_name, tool_version, notice, input, as_tagvalue=True) + _process_codebase( + spdx_plugin=self, + codebase=codebase, + input_path=kwargs.get('input', ''), + output_file=spdx_tv, + as_tagvalue=True, + **kwargs + ) @output_impl @@ -145,16 +140,55 @@ def is_enabled(self, spdx_rdf, **kwargs): return spdx_rdf def process_codebase(self, codebase, spdx_rdf, **kwargs): - check_sha1(codebase) - files = self.get_files(codebase, **kwargs) - header = codebase.get_or_create_current_header() - tool_name = header.tool_name - tool_version = header.tool_version - notice = header.notice - input = kwargs.get('input', '') # NOQA + _process_codebase( + spdx_plugin=self, + codebase=codebase, + input_path=kwargs.get('input', ''), + output_file=spdx_rdf, + as_tagvalue=False, + **kwargs + ) - write_spdx( - spdx_rdf, files, tool_name, tool_version, notice, input, as_tagvalue=False) + +def _process_codebase( + spdx_plugin, + codebase, + input_path, + output_file, + as_tagvalue=True, + **kwargs, +): + check_sha1(codebase) + files = spdx_plugin.get_files(codebase, **kwargs) + header = codebase.get_or_create_current_header() + tool_name = header.tool_name + tool_version = header.tool_version + notice = header.notice + package_name = build_package_name(input_path) + + write_spdx( + output_file=output_file, + files=files, + tool_name=tool_name, + tool_version=tool_version, + notice=notice, + package_name=package_name, + as_tagvalue=as_tagvalue, + ) + + +def build_package_name(input_path): + """ + Return a package name built from an ``input_path`` path. + + """ + if input_path: + absinput = absinput = os.path.abspath(input_path) + if os.path.isfile(absinput): + input_path = parent_directory(absinput) + return python_safe_name(file_name(input_path)) + + return 'scancode-toolkit-analyzed-package' def check_sha1(codebase): @@ -166,31 +200,45 @@ def check_sha1(codebase): 'WARNING: Files are missing a SHA1 attribute. ' 'Incomplete SPDX document created.', err=True, - fg='red') + fg='red', + ) -def write_spdx(output_file, files, tool_name, tool_version, notice, input_file, as_tagvalue=True): +def write_spdx( + output_file, + files, + tool_name, + tool_version, + notice, + package_name='', + download_location=NoAssert(), + as_tagvalue=True, +): """ - Write scan output as SPDX Tag/value or RDF. + Write scan output as SPDX Tag/value to ``output_file`` file-like + object using the ``files`` list of scanned file data. + Write as RDF XML if ``as_tagvalue`` is False. + + Use the ``notice`` string as a notice included in a document comment. + Include the ``tool_name`` and ``tool_version`` to indicate which tool is + producing this SPDX document. + Use ``package_name`` as a Package name and as a namespace prefix base. """ as_rdf = not as_tagvalue _patch_license_list() - absinput = abspath(input_file) - if isdir(absinput): - input_path = absinput - else: - input_path = dirname(absinput) + ns_prefix = '_'.join(package_name.lower().split()) doc = Document(Version(2, 1), License.from_identifier('CC0-1.0')) doc.comment = notice + doc.namespace = f'http://spdx.org/spdxdocs/{ns_prefix}-{uuid.uuid4()}' tool_name = tool_name or 'ScanCode' - doc.creation_info.add_creator(Tool(tool_name + ' ' + tool_version)) + doc.creation_info.add_creator(Tool(f'{tool_name} {tool_version}')) doc.creation_info.set_created_now() package = doc.package = Package( - name=basename(input_path), - download_location=NoAssert() + name=package_name, + download_location=download_location ) # Use a set of unique copyrights for the package. @@ -222,7 +270,7 @@ def write_spdx(output_file, files, tool_name, tool_version, notice, input_file, spdx_id = file_license.get('spdx_license_key') if not spdx_id: - spdx_id = 'LicenseRef-scancode-' + license_key + spdx_id = f'LicenseRef-scancode-{license_key}' is_license_ref = spdx_id.lower().startswith('licenseref-') if not is_license_ref: @@ -230,18 +278,22 @@ def write_spdx(output_file, files, tool_name, tool_version, notice, input_file, else: spdx_license = ExtractedLicense(spdx_id) spdx_license.name = file_license.get('short_name') - comment = ('See details at https://github.com/nexB/scancode-toolkit' - '/blob/develop/src/licensedcode/data/licenses/%s.yml\n' % license_key) + # FIXME: replace this with the licensedb URL + comment = ( + f'See details at https://github.com/nexB/scancode-toolkit' + f'/blob/develop/src/licensedcode/data/licenses/{license_key}.yml\n' + ) spdx_license.comment = comment text = file_license.get('matched_text') - # always set some text, even if we did not extract the matched text + # always set some text, even if we did not extract the + # matched text if not text: text = comment spdx_license.text = text doc.add_extr_lic(spdx_license) - # Add licenses in the order they appear in the file. Maintaining the order - # might be useful for provenance purposes. + # Add licenses in the order they appear in the file. Maintaining + # the order might be useful for provenance purposes. file_entry.add_lics(spdx_license) package.add_lics_from_file(spdx_license) @@ -263,8 +315,9 @@ def write_spdx(output_file, files, tool_name, tool_version, notice, input_file, package.cr_text.update(file_entry.copyright) - # Create a text of copyright statements in the order they appear in the file. - # Maintaining the order might be useful for provenance purposes. + # Create a text of copyright statements in the order they appear in + # the file. Maintaining the order might be useful for provenance + # purposes. file_entry.copyright = '\n'.join(file_entry.copyright) + '\n' elif file_copyrights is None: @@ -285,7 +338,7 @@ def write_spdx(output_file, files, tool_name, tool_version, notice, input_file, output_file.write(msg) # Remove duplicate licenses from the list for the package. - unique_licenses = {(l.identifier, l.full_name): l for l in package.licenses_from_files} + unique_licenses = {l.identifier: l for l in package.licenses_from_files} unique_licenses = list(unique_licenses.values()) if not len(package.licenses_from_files): if all_files_have_no_license: @@ -294,7 +347,10 @@ def write_spdx(output_file, files, tool_name, tool_version, notice, input_file, package.licenses_from_files = [NoAssert()] else: # List license identifiers alphabetically for the package. - package.licenses_from_files = sorted(unique_licenses, key=lambda x: x.identifier) + package.licenses_from_files = sorted( + unique_licenses, + key=lambda x: x.identifier, + ) if len(package.cr_text) == 0: if all_files_have_no_copyright: diff --git a/src/formattedcode/output_yaml.py b/src/formattedcode/output_yaml.py new file mode 100644 index 00000000000..367d49c8ac9 --- /dev/null +++ b/src/formattedcode/output_yaml.py @@ -0,0 +1,50 @@ +# +# Copyright (c) nexB Inc. and others. All rights reserved. + # ScanCode is a trademark of nexB Inc. +# SPDX-License-Identifier: Apache-2.0 +# See http://www.apache.org/licenses/LICENSE-2.0 for the license text. +# See https://github.com/nexB/scancode-toolkit for support or download. +# See https://aboutcode.org for more information about nexB OSS projects. +# + +import saneyaml + +from commoncode.cliutils import PluggableCommandLineOption +from commoncode.cliutils import OUTPUT_GROUP +from formattedcode import FileOptionType +from formattedcode import output_json +from plugincode.output import output_impl +from plugincode.output import OutputPlugin + +""" +Output plugin to write scan results as YAML. +""" + + +@output_impl +class YamlOutput(OutputPlugin): + + options = [ + PluggableCommandLineOption(('--yaml', 'output_yaml',), + type=FileOptionType(mode='w', encoding='utf-8', lazy=True), + metavar='FILE', + help='Write scan output as YAML to FILE.', + help_group=OUTPUT_GROUP, + sort_order=20 + ), + ] + + def is_enabled(self, output_yaml, **kwargs): + return output_yaml + + def process_codebase(self, codebase, output_yaml, **kwargs): + results = output_json.get_results(codebase, as_list=True, **kwargs) + write_yaml(results, output_file=output_yaml, pretty=False) + + +def write_yaml(results, output_file, **kwargs): + """ + Write `results` to the `output_file` opened file-like object. + """ + output_file.write(saneyaml.dump(results, indent=4)) + output_file.write('\n') diff --git a/src/formattedcode/templates/html/template.html b/src/formattedcode/templates/html/template.html index 484dddffa99..6f97e1dc726 100644 --- a/src/formattedcode/templates/html/template.html +++ b/src/formattedcode/templates/html/template.html @@ -131,6 +131,106 @@ {% endfor %} + + + + + + + + + + + + {% for path, row in files.infos.items() %} + {% if row.holders %} + {% for data in row.holders %} + + + + + + + {% endfor %} + {% endif %} + {% endfor %} + +
Holders
pathholderstartend
{{ path }}{{ data.value }}{{ data.start_line }}{{ data.end_line }}
+ + + + + + + + + + + + {% for path, row in files.infos.items() %} + {% if row.authors %} + {% for data in row.authors %} + + + + + + + {% endfor %} + {% endif %} + {% endfor %} + +
Authors
pathAuthorstartend
{{ path }}{{ data.value }}{{ data.start_line }}{{ data.end_line }}
+ + + + + + + + + + + + {% for path, row in files.infos.items() %} + {% if row.emails %} + {% for data in row.emails %} + + + + + + + {% endfor %} + {% endif %} + {% endfor %} + +
Emails
pathemailstartend
{{ path }}{{ data.email |urlize(target='_blank') }}{{ data.start_line }}{{ data.end_line }}
+ + + + + + + + + + + + {% for path, row in files.infos.items() %} + {% if row.urls %} + {% for data in row.urls %} + + + + + + + {% endfor %} + {% endif %} + {% endfor %} + +
Urls
pathurlstartend
{{ path }}{{ data.url |urlize(target='_blank') }}{{ data.start_line }}{{ data.end_line }}
{% endif %} {% if files.packages %} diff --git a/src/licensedcode/data/licenses/anti-capitalist-1.4.LICENSE b/src/licensedcode/data/licenses/anti-capitalist-1.4.LICENSE new file mode 100644 index 00000000000..c035be80cde --- /dev/null +++ b/src/licensedcode/data/licenses/anti-capitalist-1.4.LICENSE @@ -0,0 +1,19 @@ +ANTI-CAPITALIST SOFTWARE LICENSE (v 1.4) + +This is anti-capitalist software, released for free use by individuals and organizations that do not operate by capitalist principles. + +Permission is hereby granted, free of charge, to any person or organization (the "User") obtaining a copy of this software and associated documentation files (the "Software"), to use, copy, modify, merge, distribute, and/or sell copies of the Software, subject to the following conditions: + +1. The above copyright notice and this permission notice shall be included in all copies or modified versions of the Software. + +2. The User is one of the following: +a. An individual person, laboring for themselves +b. A non-profit organization +c. An educational institution +d. An organization that seeks shared profit for all of its members, and allows non-members to set the cost of their labor + +3. If the User is an organization with owners, then all owners are workers and all workers are owners with equal equity and/or equal vote. + +4. If the User is an organization, then the User is not law enforcement or military, or working for or under either. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT EXPRESS OR IMPLIED WARRANTY OF ANY KIND, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/src/licensedcode/data/licenses/anti-capitalist-1.4.yml b/src/licensedcode/data/licenses/anti-capitalist-1.4.yml new file mode 100644 index 00000000000..c5a521151c1 --- /dev/null +++ b/src/licensedcode/data/licenses/anti-capitalist-1.4.yml @@ -0,0 +1,7 @@ +key: anti-capitalist-1.4 +short_name: ACSL v. 1.4 +name: ANTI-CAPITALIST SOFTWARE LICENSE (v 1.4) +category: Free Restricted +owner: Everest Pipkin and Ramsey Nasser +homepage_url: https://anticapitalist.software/ +spdx_license_key: LicenseRef-scancode-anti-capitalist-1.4 \ No newline at end of file diff --git a/src/licensedcode/data/licenses/bitstream.yml b/src/licensedcode/data/licenses/bitstream.yml index 8e4cad7460a..9d157384874 100644 --- a/src/licensedcode/data/licenses/bitstream.yml +++ b/src/licensedcode/data/licenses/bitstream.yml @@ -8,5 +8,4 @@ spdx_license_key: LicenseRef-scancode-bitstream text_urls: - http://www.gnome.org/fonts/#Final_Bitstream_Vera_Fonts minimum_coverage: 50 -ignorable_authors: - - authorization from the Gnome Foundation or Bitstream Inc. + diff --git a/src/licensedcode/data/licenses/bohl-0.2.LICENSE b/src/licensedcode/data/licenses/bohl-0.2.LICENSE new file mode 100644 index 00000000000..ad64a598984 --- /dev/null +++ b/src/licensedcode/data/licenses/bohl-0.2.LICENSE @@ -0,0 +1,40 @@ +The Balloon Open Hardware License (BOHL) +Version 0.2 For Discussion +The Text of this License is Copyright (c) 2006 2007 iTechnic Ltd +Permission is granted to copy this license unmodified and use it to protect Open Hardware +Designs. + +Preamble +This license agreement covers hardware designed, manufactured and distributed on an open basis. +The license outlines the Terms and Conditions placed on the use of the design. When licensing +Open Hardware it is important to note that there is a significant distinction between Open +Hardware and Open Software particularly with respect to both the design process and the +replication process. +Firstly the design and replication of hardware is different because there are intermediate steps in +the processes that are valuable in their own right. Secondly the process of replication can involve +considerable time, cost and expertise. For these reasons it is not appropriate to simply transfer +licenses that have validity in the software domain (such as the GPL) to the hardware domain. +This license is intended to establish an Open Design approach in the hardware domain while +building in practical safeguards, which are necessary for the design and manufacture of hardware, +where manufacturers take a financial and legal risk when replicating Open Hardware and where +the physical product must conform to approvals if its sale is to be legal. It is also important to +protect designers from issues of liability particularly as many designers may be working as +individuals and therefore not protected by an employer. +The license is written to apply to any type of hardware produced using an Open Hardware design +process. It has originated from the Balloon Project (www.balloonboard.org) but the license can be +freely applied to any Open Hardware. +In order to augment the text of the license it is accompanied by Notes and Appendices. The +notes help to provide interpretation and guidance within the text of the license and the +appendices contain more detailed discussions about the operation of the license and detail the +types of Manufacturing Information and Design Documentation that might be provided as a part +of any Open Hardware Design. The notes do not form part of the License but are intended to +clarify the intention of the license. The Appendices are intended to provide uniformity to the way +that hardware designs are released and managed when using this license. +{Notes occur in the text of the License between curly brackets and in italics} + +Purpose +The purpose of this license is to protect the designers of the hardware from any form of litigation +resulting from its design, manufacture, distribution or use. +It is also the purpose of this license to ensure that the design remains Open in the sense detailed +in the license and that manufacturers, distributors, and users are obliged to adhere to the Open +principles of the design and to protect their rights to access the design as specified in the license. diff --git a/src/licensedcode/data/licenses/bohl-0.2.yml b/src/licensedcode/data/licenses/bohl-0.2.yml new file mode 100644 index 00000000000..701b3bc45c9 --- /dev/null +++ b/src/licensedcode/data/licenses/bohl-0.2.yml @@ -0,0 +1,14 @@ +key: bohl-0.2 +short_name: BOHL-0.2 +name: The Balloon Open Hardware License v0.2 +category: Permissive +spdx_license_key: LicenseRef-scancode-bohl-0.2 +owner: The Balloon +text_urls: + - https://web.archive.org/web/20140426215620/http://www.balloonboard.org/docs/Balloon_License_0v2.pdf +ignorable_copyrights: + - Copyright (c) 2006 2007 iTechnic Ltd +ignorable_holders: + - iTechnic Ltd +ignorable_urls: + - http://www.balloonboard.org/ diff --git a/src/licensedcode/data/licenses/bsd-4-clause-shortened.yml b/src/licensedcode/data/licenses/bsd-4-clause-shortened.yml index 0f3f6fd32b8..a11a1629d85 100644 --- a/src/licensedcode/data/licenses/bsd-4-clause-shortened.yml +++ b/src/licensedcode/data/licenses/bsd-4-clause-shortened.yml @@ -6,3 +6,6 @@ owner: Regents of the University of California spdx_license_key: BSD-4-Clause-Shortened other_urls: - https://metadata.ftp-master.debian.org/changelogs//main/a/arpwatch/arpwatch_2.1a15-7_copyright +ignorable_authors: + - the University of California, Lawrence Berkeley Laboratory and its contributors + diff --git a/src/licensedcode/data/licenses/cooperative-non-violent-4.0.yml b/src/licensedcode/data/licenses/cooperative-non-violent-4.0.yml index 315948bfc2b..6f9aae0ad73 100644 --- a/src/licensedcode/data/licenses/cooperative-non-violent-4.0.yml +++ b/src/licensedcode/data/licenses/cooperative-non-violent-4.0.yml @@ -5,7 +5,5 @@ category: Proprietary Free owner: Thufie homepage_url: https://thufie.lain.haus/NPL.html spdx_license_key: LicenseRef-scancode-cooperative-non-violent-4.0 -ignorable_authors: - - the Web Service ignorable_urls: - https://thufie.lain.haus/NPL.html diff --git a/src/licensedcode/data/licenses/defensive-patent-1.1.LICENSE b/src/licensedcode/data/licenses/defensive-patent-1.1.LICENSE new file mode 100644 index 00000000000..d8df4ac6e79 --- /dev/null +++ b/src/licensedcode/data/licenses/defensive-patent-1.1.LICENSE @@ -0,0 +1,83 @@ +PREFACE +The Defensive Patent License (DPL) is a free, copyleft-style license for patents. + +Most patents and patent licenses are designed to take away the public’s access to knowledge and the freedom to share and improve on the patented inventions. By contrast, the DPL is intended to protect the freedom to share and improve patented inventions, among a community of like-minded people. It is also intended to help establish a robust body of prior art that prevents subsequent attempts to patent the same inventions in ways that restrict access and freedom. + +To join this community, all that a person or company must do is to guarantee the same freedom to everyone else in the DPL community, with respect to all of their own patents (and any future patents they may acquire). However, you do not need to own any patents to become part of the DPL community. You need only make the same commitment and then abide by it in the case that you do acquire patents at some future time. + +The result is that this patent-sharing community ends up with a network of patents that guarantees each member a zero-cost license to any or all of the patents within the network, while still leaving those patents enforceable against anyone who has chosen not to join the DPL’s patent-sharing community. + +Unlike copyright-based licenses such as the GNU General Public License, the DPL v1.1 requires that a person or organization license ALL their patents under the DPL in order to receive free licenses from other DPL users. This is due to differences between patents and copyrights and the ways in which patents can threaten access to knowledge and freedom in ways that copyright cannot. In requiring this, the DPL stands as a unequivocal commitment to non-aggression among + a community of people and companies who obtain patents to defend themselves, but who do not want to use those patents aggressively against the public. + +At the start, the DPL patent-sharing community is likely to be small, so joining it will seldom impact the revenues that a patent holder obtains from commercial licensees. As the community grows, it becomes more and more attractive to join the community, even for large companies with many patents. The benefit to each existing community member grows as more and more patent-holders join and freely license their patents to all the members. + +Another benefit is creating a robust body of prior art to prevent proprietary patent owners from patenting similar inventions. Currently, many innovators choose not to patent what they create because they disagree with the patent system or they are cautious or skeptical that their patents will end up being used to bully or troll other creators. The DPL legally binds patent owners to supporting access and freedom within the DPL community and thus provides assurances that + patenting a given innovation will not be abused or misused within the DPL community. In this way, DPL patents provide assurances regarding freedom and access while at the same time serving as serious roadblocks to subsequent attempts to file patents on the same inventions. + +The effect of the DPL v.1.1’s “all-in” requirement is that companies with large inventories of proprietary patents may be less likely to join the patent-sharing community at first. However, this means that DPL patent holders are free to enter commercial licenses with, collect royalties from, and/or file lawsuits against those companies. Alternatively, if such companies do at some point join the patent-sharing community, the community would get the free use of all of their numerous patents. + +To join the DPL community, you simply declare on a publicly available website your commitment to offer any patents you have or obtain under the DPL to anyone who makes a similar commitment (what we are calling an “Offering Announcement”) and then, when you contact another DPL user to accept the license to its patents, you provide it with the URL for the website where you posted your commitment. We also encourage you to email your Offering Announcement URL +to the DPL Foundation via the email address listed on its website (http://www.defensivepatentlicense.org/content/frequently-asked-questions#how-can-I-start) so others can learn about it and contact you to accept your licenses. + +If you were to change your mind later, you can withdraw from the DPL patent-sharing community on 180 days’ notice. You can effectuate this by posting another announcement on a publicly available website (what we are calling a “Discontinuation Announcement”) declaring the final date you will be offering your patents under the DPL and then emailing that URL to anyone from whom you’ve taken the DPL license. Again, we also encourage but do not require that you email +the DPL Foundation with your Discontinuation Announcement. + +After withdrawing, existing licenses you previously granted to community members remain valid, but your obligation to grant free licenses to the DPL community ceases. Also, you retain any free licenses that you obtained from other DPL users. But those other DPL users have the right at any point to convert your license to a similar license that requires you to pay a fair, reasonable, and non-discriminatory royalty for each licensed product or service. + +LICENSE +NOTICE +NOTICE: ALL RIGHTS IN LICENSED PATENTS (as defined below) PROVIDED UNDER THIS DEFENSIVE PATENT LICENSE (“DPL”) ARE SUBJECT TO ALL OF THE CONDITIONS AND LIMITATIONS SET FORTH BELOW. MAKING, USING, SELLING, OFFERING FOR SALE, IMPORTING, OR DISTRIBUTING PRODUCTS OR SERVICES EMBODYING THE LICENSED PATENTS, OTHER THAN AS EXPLICITLY AUTHORIZED UNDER THIS LICENSE OR PATENT LAW, IS PROHIBITED. +1. +LICENSE GRANT +Subject to the conditions and limitations of this License, Licensor hereby grants and agrees to grant to any DPL User (as defined in Section 7.6) who follows the procedures for License Acceptance (as defined in Section 1.1) a worldwide, royalty-free, no-charge, non-exclusive, irrevocable (except as stated in Sections 2(e) and 2(f)) license, perpetual for the term of the relevant Licensed Patents, to make, have made, use, sell, offer for sale, import, and distribute Licensed Products and Services that would otherwise infringe any claim of Licensed Patents. A Licensee’s sale of Licensed Products +and Services pursuant to this agreement exhausts the Licensor’s ability to assert infringement against a downstream purchaser or user of the Licensed Products or Services. Licensor’s obligation to grant Licenses under this provision ceases upon the arrival of any applicable Discontinuation Date, unless that Date is followed by a subsequent Offering Announcement. + +1.1 +LICENSE ACCEPTANCE +In order to accept this License, Licensee must qualify as a DPL User (as defined in Section 7.6) and must contact Licensor via the information provided in Licensor’s Offering Announcement to state affirmatively that Licensee accepts the terms of this License. Licensee must also communicate the URL of its own Offering Announcement (as defined in Section 7.13) and specify whether it is accepting the License to all Licensor’s Patents or only a subset of those Patents. If Licensee is only accepting the License to a subset +of Licensor’s Patents, Licensee must specify each individual Patent’s country of issuance and corresponding patent number for which it is accepting a License. There is no requirement that the Licensor respond to the Licensee’s affirmative acceptance of this License. + +2. +LICENSE RESTRICTIONS +Notwithstanding the foregoing, this License is expressly subject to and limited by the following restrictions: + +(a) No Sublicensing. This License does not include the right to sublicense any Licensed Patent of any Licensor. + +(b) License Extends Solely to Licensed Patents in Connection with Licensed Products and Services. For clarity, this License does not purport to grant any rights in any Licensor’s copyright, trademark, trade dress, design, trade secret, other intellectual property, or any other rights of Licensor other than the rights to Licensed Patents granted in Section 2, nor does the License cover products or services other than the Licensed Products and Services. For example, this License would not apply to any conduct of a Licensee that occurred prior to accepting this License under Section 1.1. + +(c) Scope. This License does not include Patents with a priority date or Effective Filing Date later than Licensor’s last Discontinuation Date that has not been followed by a subsequent Offering Announcement by Licensor. + +(d) Future DPL Users. This License does not extend to any DPL User whose Offering Announcement occurs later than Licensor’s last Discontinuation Date that has not been followed by a subsequent Offering Announcement by Licensor. + +(e) Revocation and Termination Rights. Licensor reserves the right to revoke and/or terminate this License with respect to a particular Licensee if, after the date of the Licensee’s most recent Offering Announcement: + +i. Licensee makes any Infringement Claim, not including Defensive Patent Claims, against a DPL User; or + +ii. Licensee assigns, transfers, or grants an exclusive license for a Patent to an entity or individual other than a DPL User without conditioning the assignment, transfer, or exclusive license on the recipient continuing to abide by the terms of this License, including but not limited to the revocation and termination rights under this Section. + +(f) Optional Conversion to FRAND Upon Discontinuation. Notwithstanding any other provision in this License, as of any particular Licensee’s Discontinuation Date, Licensor has the right to convert the License of that particular Licensee from one that is royalty-free and no-charge to one that is subject to Fair, Reasonable, And Non-Discriminatory (FRAND) terms going forward. No other terms in the license may be altered in any way under this provision. + +3. +VERSIONS OF THE LICENSE +(a) New Versions + +The DPL Foundation, Jason M. Schultz of New York University, and Jennifer M. Urban of the University of California at Berkeley are the license stewards. Unless otherwise designated by one of the license stewards, no one other than the license stewards has the right to modify or publish new versions of this License. Each version will be given a distinguishing version number. + +(b) Effect of New or Revised Versions + +Any one of the license stewards may publish revised and/or new versions of the DPL from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If Licensor specifies in her Offering Announcement that she is offering a certain numbered version of the DPL “or any later version”, Licensee has the option of following the terms and conditions either of that numbered version or of any later version published by one of the license stewards. If Licensor does not specify a version number of the DPL in her Offering Announcement, +Licensee may choose any version ever published by any of the license stewards. + +4. +DISCLAIMER OF CLAIMS RELATED TO PATENT VALIDITY & NON-INFRINGEMENT +Licensor makes no representations and disclaims any and all warranties as to the validity of the Licensed Patents or the products or processes covered by Licensed Patents do not infringe the patent, copyright, trademark, trade secret, or other intellectual property rights of any other party. +5. +DISCLAIMER OF WARRANTIES +UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE PATENT LICENSE GRANTED HEREIN “AS IS” AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE LICENSED PATENTS OR ANY PRODUCT EMBODYING ANY LICENSED PATENT, EXPRESS OR IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE PRESENCE OR ABSENCE OF ERRORS, REGARDLESS OF THEIR DISCOVERABILITY. +SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, IN WHICH CASE SUCH EXCLUSION MAY NOT APPLY TO LICENSEE. +6. +LIMITATION OF LIABILITY +LICENSOR SHALL NOT BE LIABLE FOR ANY DAMAGES ARISING FROM OR RELATED TO THIS LICENSE, INCLUDING INDIRECT, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR SPECIAL DAMAGES, WHETHER ON WARRANTY, CONTRACT, NEGLIGENCE, OR OTHERWISE, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES PRIOR TO SUCH AN OCCURRENCE. diff --git a/src/licensedcode/data/licenses/defensive-patent-1.1.yml b/src/licensedcode/data/licenses/defensive-patent-1.1.yml new file mode 100644 index 00000000000..e582319f5e6 --- /dev/null +++ b/src/licensedcode/data/licenses/defensive-patent-1.1.yml @@ -0,0 +1,11 @@ +key: defensive-patent-1.1 +short_name: Defensive Patent License v1.1 +name: Defensive Patent License v1.1 +owner: DPL +category: Copyleft +spdx_license_key: LicenseRef-scancode-defensive-patent-1.1 +homepage_url: https://www.defensivepatentlicense.org/ +text_urls: + - https://www.defensivepatentlicense.org/license +ignorable_urls: + - http://www.defensivepatentlicense.org/content/frequently-asked-questions#how-can-I-start diff --git a/src/licensedcode/data/licenses/dropbear.yml b/src/licensedcode/data/licenses/dropbear.yml index 185bebbe405..4e851eea8fc 100644 --- a/src/licensedcode/data/licenses/dropbear.yml +++ b/src/licensedcode/data/licenses/dropbear.yml @@ -10,7 +10,7 @@ minimum_coverage: 80 ignorable_copyrights: - (c) 2004 Mihnea Stoenescu - (c) Todd C. Miller - - Copyright (c) 1995 Tatu Ylonen , Timo Rinne + - Copyright (c) 1995 Tatu Ylonen , Timo Rinne ,Espoo, Finland - Copyright (c) 1995,1999 Theo de Raadt - Copyright (c) 1998 Todd C. Miller - Copyright (c) 2000 Andre Lucas @@ -35,7 +35,7 @@ ignorable_holders: - Robert de Bath, Joris van Rantwijk, Delian Delchev, Andreas Schultz, Jeroen Massar, Wez Furlong, Nicolas Barry, Justin Bradford, and CORE SDI S.A. - Simon Tatham - - Tatu Ylonen , Timo Rinne + - Tatu Ylonen , Timo Rinne ,Espoo, Finland - Theo de Raadt - Todd C. Miller ignorable_emails: diff --git a/src/licensedcode/data/licenses/fraunhofer-iso-14496-10.yml b/src/licensedcode/data/licenses/fraunhofer-iso-14496-10.yml index 2c399a098a7..d68364091bf 100644 --- a/src/licensedcode/data/licenses/fraunhofer-iso-14496-10.yml +++ b/src/licensedcode/data/licenses/fraunhofer-iso-14496-10.yml @@ -5,6 +5,8 @@ category: Permissive owner: Fraunhofer-Gesellschaft spdx_license_key: LicenseRef-scancode-fraunhofer-iso-14496-10 minimum_coverage: 60 +ignorable_authors: + - Heiko Schwarz ignorable_copyrights: - Copyright (c) ISO/IEC 2005 - Copyright 2005, International Telecommunications Union, Geneva diff --git a/src/licensedcode/data/licenses/free-unknown.yml b/src/licensedcode/data/licenses/free-unknown.yml index 2266acfbe15..46ecfaad329 100644 --- a/src/licensedcode/data/licenses/free-unknown.yml +++ b/src/licensedcode/data/licenses/free-unknown.yml @@ -3,4 +3,6 @@ short_name: Free unknown name: Free unknown license detected but not recognized category: Unstated License owner: Unspecified +is_unknown: yes spdx_license_key: LicenseRef-scancode-free-unknown + diff --git a/src/licensedcode/data/licenses/google-analytics-tos-2019.LICENSE b/src/licensedcode/data/licenses/google-analytics-tos-2019.LICENSE new file mode 100644 index 00000000000..ec16fe96f03 --- /dev/null +++ b/src/licensedcode/data/licenses/google-analytics-tos-2019.LICENSE @@ -0,0 +1,119 @@ + +Google Analytics Terms of Service + +These Google Analytics Terms of Service (this "Agreement") are entered into by Google LLC ("Google") and the entity executing this Agreement ("You"). This Agreement governs Your use of the standard Google Analytics (the "Service"). BY CLICKING THE "I ACCEPT" BUTTON, COMPLETING THE REGISTRATION PROCESS, OR USING THE SERVICE, YOU ACKNOWLEDGE THAT YOU HAVE REVIEWED AND ACCEPT THIS AGREEMENT AND ARE AUTHORIZED TO ACT ON BEHALF OF, AND BIND TO THIS AGREEMENT, THE OWNER OF THIS ACCOUNT. In consideration of the foregoing, the parties agree as follows: + +1. Definitions. + +"Account" refers to the account for the Service. All Profiles (as applicable) linked to a single Property will have their Hits aggregated before determining the charge for the Service for that Property. + +"Confidential Information" includes any proprietary data and any other information disclosed by one party to the other in writing and marked "confidential" or disclosed orally and, within five business days, reduced to writing and marked "confidential". However, Confidential Information will not include any information that is or becomes known to the general public, which is already in the receiving party's possession prior to disclosure by a party or which is independently developed by the receiving party without the use of Confidential Information. + +"Customer Data" or "Google Analytics Data" means the data you collect, process or store using the Service concerning the characteristics and activities of Users. + +"Documentation" means any accompanying documentation made available to You by Google for use with the Processing Software, including any documentation available online. + +"GAMC" means the Google Analytics Measurement Code, which is installed on a Property for the purpose of collecting Customer Data, together with any fixes, updates and upgrades provided to You. + +"Hit" means a collection of interactions that results in data being sent to the Service and processed. Examples of Hits may include page view hits and ecommerce hits. A Hit can be a call to the Service by various libraries, but does not have to be so (e.g., a Hit can be delivered to the Service by other Google Analytics-supported protocols and mechanisms made available by the Service to You). + +"Platform Home" means the user interface through which You can access certain Google Marketing Platform-level functionality. + +"Processing Software" means the Google Analytics server-side software and any upgrades, which analyzes the Customer Data and generates the Reports. + +"Profile" means the collection of settings that together determine the information to be included in, or excluded from, a particular Report. For example, a Profile could be established to view a small portion of a web site as a unique Report. + +"Property" means any web page, application, other property or resource under Your control that sends data to Google Analytics. + +"Privacy Policy" means the privacy policy on a Property. + +"Report" means the resulting analysis shown at www.google.com/analytics/, some of which may include analysis for a Profile. + +"Servers" means the servers controlled by Google (or its wholly-owned subsidiaries) on which the Processing Software and Customer Data are stored. + +“SDKs” mean certain software development kits, which may be used or incorporated into a Property app for the purpose of collecting Customer Data, together with any fixes, updates, and upgrades provided to You. + +"Software" means the Processing Software, GAMC and/or SDKs. + +"Third Party" means any third party (i) to which You provide access to Your Account or (ii) for which You use the Service to collect information on the third party's behalf. + +"Users" means users and/or visitors to Your Properties. + +The words "include" and "including" mean "including but not limited to." + +2. Fees and Service. + +Subject to Section 15, the Service is provided without charge to You for up to 10 million Hits per month per Account. Google may change its fees and payment policies for the Service from time to time including the addition of costs for geographic data, the importing of cost data from search engines, or other fees charged to Google or its wholly-owned subsidiaries by third party vendors for the inclusion of data in the Service reports. The changes to the fees or payment policies are effective upon Your acceptance of those changes which will be posted at www.google.com/analytics/. Unless otherwise stated, all fees are quoted in U.S. Dollars. Any outstanding balance becomes immediately due and payable upon termination of this Agreement and any collection expenses (including attorneys' fees) incurred by Google will be included in the amount owed, and may be charged to the credit card or other billing mechanism associated with Your AdWords account. + +3. Member Account, Password, and Security. + +To register for the Service, You must complete the registration process by providing Google with current, complete and accurate information as prompted by the registration form, including Your e-mail address (username) and password. You will protect Your passwords and take full responsibility for Your own, and third party, use of Your accounts. You are solely responsible for any and all activities that occur under Your Account. You will notify Google immediately upon learning of any unauthorized use of Your Account or any other breach of security. Google's (or its wholly-owned subsidiaries) support staff may, from time to time, log in to the Service under Your customer password in order to maintain or improve service, including to provide You assistance with technical or billing issues. + +4. Nonexclusive License. + +Subject to the terms and conditions of this Agreement, (a) Google grants You a limited, revocable, non-exclusive, non-sublicensable license to install, copy and use the GAMC and/or SDKs solely as necessary for You to use the Service on Your Properties or Third Party's Properties; and (b) You may remotely access, view and download Your Reports stored at www.google.com/analytics/. You will not (and You will not allow any third party to) (i) copy, modify, adapt, translate or otherwise create derivative works of the Software or the Documentation; (ii) reverse engineer, decompile, disassemble or otherwise attempt to discover the source code of the Software, except as expressly permitted by the law in effect in the jurisdiction in which You are located; (iii) rent, lease, sell, assign or otherwise transfer rights in or to the Software, the Documentation or the Service; (iv) remove any proprietary notices or labels on the Software or placed by the Service; (v) use, post, transmit or introduce any device, software or routine which interferes or attempts to interfere with the operation of the Service or the Software; or (vi) use data labeled as belonging to a third party in the Service for purposes other than generating, viewing, and downloading Reports. You will comply with all applicable laws and regulations in Your use of and access to the Documentation, Software, Service and Reports. + +5. Confidentiality and Beta Features. + +Neither party will use or disclose the other party's Confidential Information without the other's prior written consent except for the purpose of performing its obligations under this Agreement or if required by law, regulation or court order; in which case, the party being compelled to disclose Confidential Information will give the other party as much notice as is reasonably practicable prior to disclosing the Confidential Information. Certain Service features are identified as "Alpha," "Beta," "Experiment," (either within the Service or elsewhere by Google) or as otherwise unsupported or confidential (collectively, "Beta Features"). You may not disclose any information from Beta Features or the terms or existence of any non-public Beta Features. Google will have no liability arising out of or related to any Beta Features. + +6. Information Rights and Publicity. + +Google and its wholly owned subsidiaries may retain and use, subject to the terms of its privacy policy (located at https://www.google.com/policies/privacy/), information collected in Your use of the Service. Google will not share Your Customer Data or any Third Party's Customer Data with any third parties unless Google (i) has Your consent for any Customer Data or any Third Party's consent for the Third Party's Customer Data; (ii) concludes that it is required by law or has a good faith belief that access, preservation or disclosure of Customer Data is reasonably necessary to protect the rights, property or safety of Google, its users or the public; or (iii) provides Customer Data in certain limited circumstances to third parties to carry out tasks on Google's behalf (e.g., billing or data storage) with strict restrictions that prevent the data from being used or shared except as directed by Google. When this is done, it is subject to agreements that oblige those parties to process Customer Data only on Google's instructions and in compliance with this Agreement and appropriate confidentiality and security measures. + +7. Privacy. + +You will not and will not assist or permit any third party to, pass information to Google that Google could use or recognize as personally identifiable information. You will have and abide by an appropriate Privacy Policy and will comply with all applicable laws, policies, and regulations relating to the collection of information from Users. You must post a Privacy Policy and that Privacy Policy must provide notice of Your use of cookies, identifiers for mobile devices (e.g., Android Advertising Identifier or Advertising Identifier for iOS) or similar technology used to collect data. You must disclose the use of Google Analytics, and how it collects and processes data. This can be done by displaying a prominent link to the site "How Google uses data when you use our partners' sites or apps", (located at www.google.com/policies/privacy/partners/, or any other URL Google may provide from time to time). You will use commercially reasonable efforts to ensure that a User is provided with clear and comprehensive information about, and consents to, the storing and accessing of cookies or other information on the User’s device where such activity occurs in connection with the Service and where providing such information and obtaining such consent is required by law. + +You must not circumvent any privacy features (e.g., an opt-out) that are part of the Service. You will comply with all applicable Google Analytics policies located at www.google.com/analytics/policies/ (or such other URL as Google may provide) as modified from time to time (the "Google Analytics Policies"). + +You may participate in an integrated version of Google Analytics and certain Google advertising services ("Google Analytics Advertising Features"). If You use Google Analytics Advertising Features, You will adhere to the Google Analytics Advertising Features policy (available at support.google.com/analytics/bin/answer.py?hl=en&topic=2611283&answer=2700409). Your access to and use of any Google advertising service is subject to the applicable terms between You and Google regarding that service. + +If You use the Platform Home, Your use of the Platform Home is subject to the Platform Home Additional Terms (or as subsequently re-named) available at https://support.google.com/marketingplatform/answer/9047313 (or such other URL as Google may provide) as modified from time to time (the "Platform Home Terms"). + +8. Indemnification. + +To the extent permitted by applicable law, You will indemnify, hold harmless and defend Google and its wholly-owned subsidiaries, at Your expense, from any and all third-party claims, actions, proceedings, and suits brought against Google or any of its officers, directors, employees, agents or affiliates, and all related liabilities, damages, settlements, penalties, fines, costs or expenses (including, reasonable attorneys' fees and other litigation expenses) incurred by Google or any of its officers, directors, employees, agents or affiliates, arising out of or relating to (i) Your breach of any term or condition of this Agreement, (ii) Your use of the Service, (iii) Your violations of applicable laws, rules or regulations in connection with the Service, (iv) any representations and warranties made by You concerning any aspect of the Service, the Software or Reports to any Third Party; (v) any claims made by or on behalf of any Third Party pertaining directly or indirectly to Your use of the Service, the Software or Reports; (vi) violations of Your obligations of privacy to any Third Party; and (vii) any claims with respect to acts or omissions of any Third Party in connection with the Service, the Software or Reports. Google will provide You with written notice of any claim, suit or action from which You must indemnify Google. You will cooperate as fully as reasonably required in the defense of any claim. Google reserves the right, at its own expense, to assume the exclusive defense and control of any matter subject to indemnification by You. + +9. Third Parties. + +If You use the Service on behalf of the Third Party or a Third Party otherwise uses the Service through Your Account, whether or not You are authorized by Google to do so, then You represent and warrant that (a) You are authorized to act on behalf of, and bind to this Agreement, the Third Party to all obligations that You have under this Agreement, (b) Google may share with the Third Party any Customer Data that is specific to the Third Party's Properties, and (c) You will not disclose Third Party's Customer Data to any other party without the Third Party's consent. + +10. DISCLAIMER OF WARRANTIES. + +TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, EXCEPT AS EXPRESSLY PROVIDED FOR IN THIS AGREEMENT, GOOGLE MAKES NO OTHER WARRANTY OF ANY KIND, WHETHER EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR USE AND NONINFRINGEMENT. + +11. LIMITATION OF LIABILITY. + +TO THE EXTENT PERMITTED BY APPLICABLE LAW, GOOGLE WILL NOT BE LIABLE FOR YOUR LOST REVENUES OR INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES, EVEN IF GOOGLE OR ITS SUBSIDIARIES AND AFFILIATES HAVE BEEN ADVISED OF, KNEW OR SHOULD HAVE KNOWN THAT SUCH DAMAGES WERE POSSIBLE AND EVEN IF DIRECT DAMAGES DO NOT SATISFY A REMEDY. GOOGLE'S (AND ITS WHOLLY OWNED SUBSIDIARIES’) TOTAL CUMULATIVE LIABILITY TO YOU OR ANY OTHER PARTY FOR ANY LOSS OR DAMAGES RESULTING FROM CLAIMS, DEMANDS, OR ACTIONS ARISING OUT OF OR RELATING TO THIS AGREEMENT WILL NOT EXCEED $500 (USD). + +12. Proprietary Rights Notice. + +The Service, which includes the Software and all Intellectual Property Rights therein are, and will remain, the property of Google (and its wholly owned subsidiaries). All rights in and to the Software not expressly granted to You in this Agreement are reserved and retained by Google and its licensors without restriction, including, Google's (and its wholly owned subsidiaries’) right to sole ownership of the Software and Documentation. Without limiting the generality of the foregoing, You agree not to (and not to allow any third party to): (a) sublicense, distribute, or use the Service or Software outside of the scope of the license granted in this Agreement; (b) copy, modify, adapt, translate, prepare derivative works from, reverse engineer, disassemble, or decompile the Software or otherwise attempt to discover any source code or trade secrets related to the Service; (c) rent, lease, sell, assign or otherwise transfer rights in or to the Software, Documentation or the Service; (d) use, post, transmit or introduce any device, software or routine which interferes or attempts to interfere with the operation of the Service or the Software; (e) use the trademarks, trade names, service marks, logos, domain names and other distinctive brand features or any copyright or other proprietary rights associated with the Service for any purpose without the express written consent of Google; (f) register, attempt to register, or assist anyone else to register any trademark, trade name, serve marks, logos, domain names and other distinctive brand features, copyright or other proprietary rights associated with Google (or its wholly owned subsidiaries) other than in the name of Google (or its wholly owned subsidiaries, as the case may be); (g) remove, obscure, or alter any notice of copyright, trademark, or other proprietary right appearing in or on any item included with the Service or Software; or (h) seek, in a proceeding filed during the term of this Agreement or for one year after such term, an injunction of any portion of the Service based on patent infringement. + +13. U.S. Government Rights. + +If the use of the Service is being acquired by or on behalf of the U.S. Government or by a U.S. Government prime contractor or subcontractor (at any tier), in accordance with 48 C.F.R. 227.7202-4 (for Department of Defense (DOD) acquisitions) and 48 C.F.R. 2.101 and 12.212 (for non-DOD acquisitions), the Government's rights in the Software, including its rights to use, modify, reproduce, release, perform, display or disclose the Software or Documentation, will be subject in all respects to the commercial license rights and restrictions provided in this Agreement. + +14. Term and Termination. + +Either party may terminate this Agreement at any time with notice. Upon any termination of this Agreement, Google will stop providing, and You will stop accessing the Service. Additionally, if Your Account and/or Properties are terminated, You will (i) delete all copies of the GAMC from all Properties and/or (ii) suspend any and all use of the SDKs within 3 business days of such termination. In the event of any termination (a) You will not be entitled to any refunds of any usage fees or any other fees, and (b) any outstanding balance for Service rendered through the date of termination will be immediately due and payable in full and (c) all of Your historical Report data will no longer be available to You. + +15. Modifications to Terms of Service and Other Policies. + +Google may modify these terms or any additional terms that apply to the Service to, for example, reflect changes to the law or changes to the Service. You should look at the terms regularly. Google will post notice of modifications to these terms at https://www.google.com/analytics/terms/, the Google Analytics Policies at www.google.com/analytics/policies/, or other policies referenced in these terms at the applicable URL for such policies. Changes will not apply retroactively and will become effective no sooner than 14 days after they are posted. If You do not agree to the modified terms for the Service, You should discontinue Your use Google Analytics. No amendment to or modification of this Agreement will be binding unless (i) in writing and signed by a duly authorized representative of Google, (ii) You accept updated terms online, or (iii) You continue to use the Service after Google has posted updates to the Agreement or to any policy governing the Service. + +16. Miscellaneous, Applicable Law and Venue. + +Google will be excused from performance in this Agreement to the extent that performance is prevented, delayed or obstructed by causes beyond its reasonable control. This Agreement (including any amendment agreed upon by the parties in writing) represents the complete agreement between You and Google concerning its subject matter, and supersedes all prior agreements and representations between the parties. If any provision of this Agreement is held to be unenforceable for any reason, such provision will be reformed to the extent necessary to make it enforceable to the maximum extent permissible so as to effect the intent of the parties, and the remainder of this Agreement will continue in full force and effect. This Agreement will be governed by and construed under the laws of the state of California without reference to its conflict of law principles. In the event of any conflicts between foreign law, rules, and regulations, and California law, rules, and regulations, California law, rules and regulations will prevail and govern. Each party agrees to submit to the exclusive and personal jurisdiction of the courts located in Santa Clara County, California. The United Nations Convention on Contracts for the International Sale of Goods and the Uniform Computer Information Transactions Act do not apply to this Agreement. The Software is controlled by U.S. Export Regulations, and it may be not be exported to or used by embargoed countries or individuals. Any notices to Google must be sent to: Google LLC, 1600 Amphitheatre Parkway, Mountain View, CA 94043, USA, with a copy to Legal Department, via first class or air mail or overnight courier, and are deemed given upon receipt. A waiver of any default is not a waiver of any subsequent default. You may not assign or otherwise transfer any of Your rights in this Agreement without Google's prior written consent, and any such attempt is void. The relationship between Google and You is not one of a legal partnership relationship, but is one of independent contractors. This Agreement will be binding upon and inure to the benefit of the respective successors and assigns of the parties hereto. The following sections of this Agreement will survive any termination thereof: 1, 4, 5, 6 (except the last two sentences), 7, 8, 9, 10, 11, 12, 14, 16, and 17. + +17. Google Analytics for Firebase. + +If You link a Property to Firebase (“Firebase Linkage”) as part of using the Service, the following terms, in addition to Sections 1-16 above, will also apply to You, and will also govern Your use of the Service, including with respect to Your use of Firebase Linkage. Other than as modified below, all other terms will stay the same and continue to apply. In the event of a conflict between this Section 17 and Sections 1-16 above, the terms in Section 17 will govern and control solely with respect to Your use of the Firebase Linkage. + + A. The following definition in Section 1 is modified as follows: + a. "Hit" means a collection of interactions that results in data being sent to the Service and processed. Examples of Hits may include page view hits and ecommerce hits. A Hit can be a call to the Service by various libraries, but does not have to be so (e.g., a Hit can be delivered to the Service by other Google Analytics-supported protocols and mechanisms made available by the Service to You). For the sake of clarity, a Hit does not include certain events whose collection reflects interactions with certain Properties capable of supporting multiple data streams, and which may include screen views and custom events (the collection of events, an “Enhanced Packet”). + B. The following sentence is added to the end of Section 7 as follows: + a. If You link a Property to a Firebase project (“Firebase Linkage”) (i) certain data from Your Property, including Customer Data, may be made accessible within or to any other entity or personnel according to permissions set in Firebase and (ii) that Property may have certain Service settings modified by authorized personnel of Firebase (notwithstanding the settings You may have designated for that Property within the Service). + +Last Updated June 17, 2019 diff --git a/src/licensedcode/data/licenses/google-analytics-tos-2019.yml b/src/licensedcode/data/licenses/google-analytics-tos-2019.yml new file mode 100644 index 00000000000..6952ef98116 --- /dev/null +++ b/src/licensedcode/data/licenses/google-analytics-tos-2019.yml @@ -0,0 +1,20 @@ +key: google-analytics-tos-2019 +short_name: Google Analytics Terms of Service 2019 +name: Google Analytics Terms of Service 2019 +category: Proprietary Free +owner: Google +homepage_url: https://marketingplatform.google.com/about/analytics/terms/us/ +spdx_license_key: LicenseRef-scancode-google-analytics-tos-2019 +other_urls: + - http://www.google.com/analytics + - http://www.google.com/privacy.html + - https://support.google.com/analytics/#topic=3544906 +ignorable_urls: + - http://www.google.com/analytics + - http://www.google.com/analytics/policies + - http://www.google.com/analytics/policies/ + - http://www.google.com/policies/privacy/partners + - https://support.google.com/marketingplatform/answer/9047313 + - https://www.google.com/analytics/terms + - https://www.google.com/policies/privacy + diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-02-07.LICENSE b/src/licensedcode/data/licenses/google-maps-tos-2018-02-07.LICENSE new file mode 100644 index 00000000000..232999ed099 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-02-07.LICENSE @@ -0,0 +1,334 @@ +Google Maps APIs Terms of Service + +Thank you for your interest in the Google Maps APIs. The Google Maps APIs are a collection of services that allow you to include maps, geocoding, places, and other content from Google in your web pages or applications. + +Last Updated: February 7, 2018 + +This page contains the Google Maps Platform Terms of Service. If you have questions about these terms, please consult the FAQ’s Terms of Service section. These terms do not apply if you have entered into a separate written agreement with Google (such as a Google Maps Platform Premium Plan or Google Maps APIs for Work agreement) related to the Google Maps APIs. +1. Your relationship with Google. + +1.1 Use of the Service is Subject to these Terms. Your use of any of the Google Maps APIs (referred to in this document as the "Maps API(s)" or the "Service") is subject to the terms of a legal agreement between you and Google (the "Terms"). "Google" means either (a) Google Ireland Limited, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if your billing address is in any country within Europe, the Middle East, or Africa ("EMEA"); (b) Google Asia Pacific Pte. Ltd., with offices at 70 Pasir Panjang Road, #03-71, Mapletree Business City, Singapore 117371, if your billing address is in any country within the Asia Pacific region excluding Australia ("APAC"); (c) Google Australia Pty Ltd. with offices at Level 5, 48 Pirrama Road, Pyrmont 2009, NSW, Australia, if your billing address is in Australia; or (d) Google Inc., with offices at 1600 Amphitheatre Parkway, Mountain View, California 94043, USA, if your billing address is in any country in the world other than those in EMEA, APAC or Australia. + +1.2 The Terms include Google's Legal Notices and Privacy Policy. + + Unless otherwise agreed in writing with Google, the Terms will include the following: + the terms and conditions in this document (the "Maps APIs Terms"); + the Legal Notices; and + the Privacy Policy. + Before you use the Maps API(s), you should read each of the documents comprising the Terms, and print or save a local copy for your records. + +1.3 Use of Other Google Services and Additional Terms. If you use the Maps API(s) in conjunction with any other Google products, including any other Google API(s), (collectively, the Service and all other Google products and services are referred to as the "Google Services"), your agreement with Google will also include the terms applicable to those Google Services. All of these are referred to as the "Additional Terms." If Additional Terms apply, they will be accessible to you either within or through your use of the applicable Google Services. If there is any contradiction between the Additional Terms and the Maps APIs Terms, then the Maps APIs Terms will take precedence only as they relate to the Maps API(s), and not to any other Google Services. + +1.4 Precedence of Maps APIs Terms. If there is any contradiction between the Maps APIs Terms and other Maps API(s)-related documents (including the Maps APIs Documentation), then the Maps APIs Terms will take precedence. + +1.5 Changes to the Terms. Google reserves the right to make changes to the Terms from time to time. When these changes are made, Google will make a new copy of the Terms available at http://developers.google.com/maps/terms (or such other URL as Google may provide). You understand and agree that if you use the Service after the date on which the Terms have changed, Google will treat your use as acceptance of the updated Terms. If a modification is unacceptable to you, you may terminate this agreement by ceasing use of the Maps API(s). +2. Accepting the Terms. + +2.1 Clicking to Accept or Using the Maps API(s). In order to use the Maps API(s), you must agree to the Terms by: + + clicking to accept the Terms, where this option is made available to you by Google in the Service’s user interface; or + using the Maps API(s). You understand and agree that Google will treat your use of the Maps API(s) as acceptance of the Terms from that point onwards. + +2.2 U.S. Law Restrictions. You may not use the Maps API(s) and may not accept the Terms if you are a person barred from using the Service under United States law. + +2.3 Authority to Accept the Terms. You represent that you have full power, capacity, and authority to accept these Terms. If you are accepting on behalf of your employer or another entity, you represent that you have full legal authority to bind your employer or such entity to these Terms. If you don't have the legal authority to bind, please ensure that an authorized person from your entity consents to and accepts these Terms. +3. Privacy and Personal Information. + +3.1 Google’s Privacy Policy. For information about Google's data protection practices, please read Google's Privacy Policy. This policy explains how Google treats your personal information and protects your privacy when you use the Service. + +3.2 Use of Your Data under Google’s Privacy Policy. You agree to the use of your data in accordance with Google's Privacy Policy. + +3.3 Your Privacy Policy. You must post and abide by an appropriate privacy policy in your Maps API Implementation in accordance with Section 9.3 (End User Terms and Privacy Policy). + +3.4 Applicable Privacy Laws. You will comply with all applicable laws relating to the collection of information from visitors to your Maps API Implementation. + +3.5 European Data Protection Terms. You and Google agree to the Google Maps Controller-Controller Data Protection Terms. + +3.6 No Personally Identifiable Information or Personal Data. You must not provide to Google: (a) any personally identifiable information or device identifiers; or (b) any European person’s Personal Data (where “European” means “European Economic Area or Switzerland” and “Personal Data” has the meaning provided in the General Data Protection Regulation (EU) 2016/679 of the European Parliament and of the Council of April 27, 2016). Users of your Maps API Implementation may provide information directly to Google through your Maps API Implementation, as needed. +4. Provision of the Service by Google. + +4.1 Google’s Subsidiaries and Affiliates. Google has subsidiaries and affiliated legal entities around the world ("Subsidiaries and Affiliates"). Sometimes, these companies will be providing the Service to you on behalf of Google itself. You understand and agree that Subsidiaries and Affiliates will be entitled to provide the Service to you. + +4.2 Limits on Your Use of the Service. You understand and agree that Google may limit the number of transactions you may send or receive through the Service; such fixed upper limits may be set by Google at any time, at Google’s discretion. For further information, see Section 10.4(b) below. + +4.3 Advertising. + + In places results. Google reserves the right to include advertising in the places results provided to you through the Maps API(s). By using the Maps API(s) to obtain places results, you agree to display such advertising in the form provided to you by Google. + In maps images. Google also reserves the right to include advertising in the maps images provided to you through the Maps API(s), subject to the following provisions. In this Section, "Ads Notice" means a notice from Google that it will include advertising in a particular Maps API. The Ads Notice may be provided on relevant Google websites, including the Google Geo Developers Blog (or such other URL as Google may provide) and the applicable Google Maps API Groups. + New Maps API(s) and major version upgrades of existing Maps API(s) launched with an Ads Notice. A "major version" of a Maps API is denoted by a new "whole number" in the version name (for example, a "major version" change occurs if API v4.5 is replaced by v5.0). By using the maps images in these new or major version upgrades of the Maps API(s), you agree to display the advertising included in those maps images in the form provided to you by Google. + Maps API(s) and major version upgrades of existing Maps API(s) launched without an Ads Notice. For any Maps API that Google has launched (or launches in the future) without an Ads Notice, Google will not include advertising in that API’s maps images unless Google provides you with an Ads Notice at least 90 days beforehand (the "Ads Notice Period"). + Maps API Implementations that incorporated the Maps API(s) before April 8, 2011. If your Maps API Implementation incorporated a major version of a Maps API before April 8, 2011, you have a limited right to opt out of advertising in the maps images provided through that major version of that Maps API by providing written notice to Google during the Ads Notice Period; your notice must state that you refuse to accept advertising in the maps images and must be provided to Google in accordance with Google's notice requirements (as specified in Google's Ads Notice). + Opting out of ads. You may at any time opt out of advertising in the places results and the maps images by either: + contacting the Google Maps sales team to obtain a Google enterprise license; or + terminating your use of the Service. + Indexing and caching for ads serving. By using an API that serves ads, you give Google the right to access, index, and cache the web pages or applications that contain your Maps API Implementation. + +4.4 Changes to the Service; Deprecation Policy. The following is the Service’s "Deprecation Policy": + + Google will announce if it intends to remove major features from, or discontinue, an API or the Service. + Google will use commercially reasonable efforts to continue to operate those Google Maps API versions and features identified at http://developers.google.com/maps/maps-api-list without these changes until one year after the announcement, unless Google determines in its reasonable good faith judgment that: + it is required by law or third-party relationship (including changes in law or relationships) to make those changes earlier; or + doing so could create a security risk or substantial economic or material technical burden. + +5. Your Google Account. + +5.1 Signing Up for a Google Account. In order to access the Service, you must have and maintain a Google Account in good standing. You must ensure that any information you give to Google in connection with your Google Account or the Service will always be accurate, correct, and up to date. + +5.2 Your Passwords and Account Security. You will be solely responsible to Google for your use of the Service. You must notify Google immediately if you become aware of any unauthorized use of your password; your Google Account; or any unique identifier that Google requires you to use, such as an API Key or client ID (a "Developer Identifier"). +6. Google’s Proprietary Rights. + +You understand and agree that Google and its licensors and their suppliers (as applicable) own all legal right, title, and interest in and to the Service and Content, including any intellectual property rights in the Service and Content (whether those rights are registered or not, and wherever in the world those rights may exist). +7. Permitted Uses. + +You will use the Service only for purposes that: + + are permitted by the Terms (including the Licenses in Section 8); + are permitted by any applicable law or third-party contract in the relevant jurisdictions; and + comply with all applicable policies or guidelines made available by Google, including in the Maps APIs Documentation and the Permission Guidelines for Google Maps and Google Earth. + +8. Licenses from Google to You. + +8.1 Definitions. + + "Brand Features" means trade names, trademarks, logos, domain names, and other distinctive brand features. + "Content" means any content provided through the Service (whether created by Google or its third-party licensors), including map and terrain data, imagery, traffic data, and places data (including business listings). + "Maps API Implementation" means a software application, website, or other implementation that uses the Maps API(s) to obtain and display Content in conjunction with Your Content. + "Your Content" means any content that you provide in your Maps API Implementation, including data, images, video, or software. Your Content does not include the Content as defined in Subsection (b). + +8.2 Service License. Subject to these Terms (including Section 9 (License Requirements) and Section 10 (License Restrictions)), during the term of this agreement, Google gives you a non-exclusive, worldwide, personal, non-transferable, non-assignable, non-sublicensable, royalty-free license to use the Service as provided by Google, in the manner permitted by the Terms. + +8.3 Content License. Subject to these Terms (including Sections 8.3(a) and (b), Section 9 (License Requirements), and Section 10 (License Restrictions)), during the term of this agreement, Google gives you a non-exclusive, worldwide, personal, non-transferable,non-assignable, non-sublicensable, royalty-free license to use the Content in your Maps API Implementation, as the Content is provided in the Service, and in the manner permitted by the Terms. + + Content (including map data, traffic, directions, and places) is provided for planning purposes only. You may find that weather conditions, construction projects, closures,or other events may cause road conditions or directions to differ from the results depicted in the Content. You should exercise judgment in your use of the Content. + Certain Content is provided under license from third parties, and is subject to copyright and other intellectual property rights owned by or licensed to such third parties. You may be held liable for any unauthorized use of this content. Your use of third-party Content (including certain business listings Content) is subject to additional restrictions located in the Legal Notices page. + +8.4 Brand Features License. + + Grant. Subject to these Terms (including Section 8.4(b), Section 9 (License Requirements), and Section 10 (License Restrictions)), during the term of this agreement, Google gives you a non-exclusive, worldwide, personal, non-transferable, non-assignable, non-sublicensable, royalty-free license to display Google’s Brand Features solely for the purposes of (i) promoting or advertising your authorized use of the Service in accordance with this Section and (ii) fulfilling your obligations under the Terms. + Restrictions. In using Google Brand Features, you will not: + display a Google Brand Feature in any manner that implies a relationship or affiliation with, sponsorship, or endorsement by Google (other than your use of the Service), or that can be reasonably interpreted to suggest editorial content has been authored by, or represents the views or opinions of, Google or its personnel; + display a Google Brand Feature in your Maps API Implementation, site, or other propert(ies) if any of them contain or display adult content or promote illegal activities, gambling, or the sale of tobacco or alcohol to persons under 21 years of age; + have the Google logo as the largest logo in your Maps API Implementation, site, or other propert(ies) (except as displayed in the map image itself); + display a Google Brand Feature as the most prominent element in your Maps API Implementation, on any page of your site, or on any of your other propert(ies); + display a Google Brand Feature in a manner that is misleading, defamatory, infringing, libelous, disparaging, obscene, or otherwise objectionable to Google; + use Google Brand Features to disparage Google or the Google Services; + display a Google Brand Feature in your Maps API Implementation, site, or other propert(ies) that violate any law or regulation; or + remove, distort, or alter any element of a Google Brand Feature (including squeezing, stretching, inverting, or discoloring). + No further license grant; no challenges. Except as stated in this Section, nothing in the Terms grants or will be deemed to grant you any right, title, or interest in Google’s Brand Features. Your use of Google’s Brand Features (including any goodwill associated with them) will inure to Google’s benefit. During and after the Term, and to the maximum extent permitted by applicable law, you will not challenge or assist others to challenge Google’s Brand Features (or their registration by Google), and you will not attempt to register any Brand Features (including domain names) that are confusingly similar to Google’s in any way (including in sound, appearance, or spelling). + +8.5 Proprietary Rights Notices. You will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices, Terms of Use links, or Brand Features) displayed or provided through the Service. Where such notices are not displayed or provided within the Service, you must display such notices according to the Maps APIs Documentation. + +8.6 U.S. Government Restricted Rights. If the Service or Content is being used or accessed by or on behalf of the United States government, such use is subject to additional terms located in our Legal Notices page’s "Government End Users" section. + +8.7 Determination of Compliance. Google reserves the sole right and discretion to determine whether your use of the Service, Content, and Brand Features complies with these Terms. +9. License Requirements. + +Google’s licenses above are subject to your compliance with the following requirements: + +9.1 Free, Public Accessibility to Your Maps API Implementation. + +9.1.1 General Rules. + + Free access (no fees). Subject to Section 9.1.2 (Exceptions), your Maps API Implementation must be accessible to the general public without charge and must not require a fee-based subscription or other fee-based restricted access. This rule applies to Your Content and any other content in your Maps API Implementation, whether Your Content or the other content exists now or is added later. + Public access (no firewall). Your Maps API Implementation must not operate (i) only behind a firewall; or (ii) only on an internal network (except during the development and testing phase); or (iii) in a closed community (for example, through invitation-only access). + +9.1.2 Exceptions. + + Enterprise agreement with Google. The rules in Section 9.1.1 (Free access, Public access) do not apply if you have entered into a separate written agreement with Google (such as a Google Maps agreement) or obtained Google's written permission. + Mobile applications. + The rule in Section 9.1.1(a) (Free access) does not apply if your Maps API Implementation is used in a mobile application that is sold for a fee through an online store and is downloadable to a mobile device that can access the online store. + The rule in Section 9.1.1(b) (Public access) does not apply if your Maps API Implementation is an Android application that uses the Google Maps Android API. (However, the rule in Section 9.1.1(b) (Public access) will continue to apply if your Maps API Implementation is an Android application that uses any other Maps APIs, unless the Maps API Implementation qualifies for the exception in Section 9.1.2(a) (Enterprise agreement with Google).) + +9.1.3 Examples. + + You can require users to log in to your Maps API Implementation if you do not require users to pay a fee. + You can charge a fee for your Maps API Implementation if it is an Android application downloadable to mobile devices from the Google Play Store. + If you are a consultant who creates or hosts Maps API Implementations for third-party customers, you may charge those customers a fee for your consulting or hosting services (but not for the Maps API Implementations themselves, except as permitted under Section 9.1.2 (Exceptions)). + +9.2 Reporting. You must implement those reporting mechanisms that Google requires (as updated from time to time in these Terms and in the Maps APIs Documentation). + +9.3 End User Terms and Privacy Policy. If you develop a Maps API Implementation for use by other users, you must: + + display to the users of your Maps API Implementation the link to Google’s Terms of Service as presented through the Service or described in the Maps APIs Documentation; + explicitly state in your Maps API Implementation’s terms of use that, by using your Maps API Implementation, your users are agreeing to be bound by the Google Maps/Google Earth Additional Terms of Service; and + protect the privacy and legal rights of those users. + Your privacy policy. You must make publicly available, and must abide by, an appropriate privacy policy in your Maps API Implementation. In particular, if your Maps API Implementation enables you or any party to gain access to information about users of the Maps API(s), including personally identifiable information (such as user names) or non-personally identifiable usage information (such as location), your privacy policy must describe your use and retention of this information. + Geolocation privacy + Your Maps API Implementation must notify the user in advance of the type(s) of data that you intend to collect from the user or the user’s device. Your Maps API Implementation must not obtain or cache any user’s location in any manner except with the user's prior consent. Your Maps API Implementation must let the user revoke the user's consent at any time. + If your Maps API Implementation provides Google with geolocation data, that geolocation data must not enable Google to identify an individual user. For example, if your Maps API Implementation sends Google Your Content, and Your Content includes geolocation data, Your Content must not also include unique device identifiers associated with individual users. + If you intend to obtain the user’s location and use it with any other data provider's data, you must disclose this fact to the user. + Google’s Privacy Policy. Your privacy policy must notify users that you are using the Maps API(s) and incorporate by reference Google’s Privacy Policy by including a link to Google’s then-current Privacy Policy (at http://www.google.com/policies/privacy or such other URL as Google may provide). + Cookies. As noted in the Documentation, certain Maps API(s) store and access cookies and other information on end users’ devices. If you use any of these cookie-enabled Maps API(s) in your Maps API Implementation, then for end users in the European Union, you must comply with the EU User Consent Policy. + +9.4 Attribution. + + Content provided to you through the Service may contain the Brand Features of Google, its strategic partners, or other third-party rights holders of content that Google indexes. When Google provides those Brand Features or other attribution through the Service, you must display such attribution as provided (or as described in the Maps APIs Documentation) and must not delete or alter the attribution. + You must conspicuously display the "powered by Google" attribution (and any other attribution(s) required by Google in the Maps APIs Documentation) on or adjacent to the relevant Service search box and Google search results. If you use the standard Google search control, or the standard Google search control form, this attribution will be included automatically, and you must not modify or obscure this automatically-generated attribution. + You understand and agree that Google has the sole right and discretion to determine whether your attribution(s) are in compliance with the above requirements. + +9.5 Preventing Unauthorized Use. You will use all reasonable efforts to prevent unauthorized use of the Service and to terminate any such unauthorized use. + +9.6 Responsibility for Breaches. You are solely responsible for (and Google has no responsibility to you or any third party for) any breach of your obligations under the Terms and for the consequences of any such breach (including any loss or damage that Google may suffer). +10. License Restrictions. + +Except as expressly permitted under the Terms, or unless you have received prior written authorization from Google (or, as applicable, from the particular Content provider), Google’s licenses above are conditioned on your adherence to all of the restrictions below. In this Section 10, the phrase "you will not" means "when using the Service, you will not, and will not permit a third party to." + +10.1 Administrative Restrictions. + + No access to APIs or Content except through the Service. You will not access the Maps API(s) or the Content except through the Service. For example, you must not access map tiles or imagery through interfaces or channels (including undocumented Google interfaces) other than the Maps API(s). + No access to Service without applicable Developer Identifier(s). For certain versions or features of the Maps API(s), Google may require you to use a Developer Identifier to access and administer the Service. If a Developer Identifier is required under the Maps APIs Documentation, you will not access the Service without the Developer Identifier. + No hiding identity. You will not hide from Google the identity of your Maps API Implementation. You must follow the identification conventions in the Maps APIs Documentation. + +10.2 General Google API Restrictions. The following restrictions apply generally to all Google Services, including the Google application programming interfaces at https://developers.google.com/products/ (or such other URL as Google may provide) (the “Google API(s)”). You will not: + + Sublicense a Google API for use by a third party. Consequently, you will not create an API client that functions substantially the same as the Google APIs and offer it for use by third parties. + Perform an action with the intent of introducing to Google Services any viruses, worms, defects, Trojan horses, malware, or any items of a destructive nature. + Defame, abuse, harass, stalk, or threaten others. + Interfere with or disrupt the Google APIs or the servers or networks providing the Google APIs. + Promote or facilitate unlawful online gambling or disruptive commercial messages or advertisements. + Reverse engineer or attempt to extract the source code from any Google API or any related software, except to the extent that this restriction is expressly prohibited by applicable law. + Use the Google APIs for any activities where the use or failure of the Google APIs could lead to death, personal injury, or environmental damage (such as the operation of nuclear facilities, air traffic control, or life support systems). + Use the Google APIs to process or store any data that is subject to the International Traffic in Arms Regulations maintained by the U.S. Department of State. + Remove, obscure, or alter any Google terms of service, or any links to or notices of those terms. + +10.3 Quality Standards Restrictions. + + No violation of Google’s Software Principles. You will not violate Google’s Software Principles at http://www.google.com/intl/en/about/company/software-principles.html (or such other URLs that Google may designate). + No modification of search results. You will not modify, reorder, augment, or manipulate search results in any way unless you explicitly notify the end user of your actions. + +10.4 Restrictions on Unfair Exploitation of the Service and Content. + + No use except under these Terms. You will not use the Service or Content except as expressly permitted under these Terms. For example: + No fees. You will not charge any third party a fee to use your Maps API Implementation, the Service, or the Content, unless you have purchased an applicable Google Maps Platform Premium Plan or Google Maps APIs for Work license that expressly permits this use. + No printing 5,000+ copies for direct marketing. You will not print more than 5,000 copies of sales collateral materials containing a screenshot of the Content for purposes of commercial sales lead generation. + No use as a core part of printed matter. You will not incorporate the Content as a core part of printed matter (such as a printed map or guide book) that is redistributed for a fee. + No use beyond transaction limits and usage policies. If your Maps API Implementation generates a high volume of transactions, Google reserves the right to set transaction limits, as described in the Maps APIs Documentation here. Google also reserves the right to set other usage policies in the Documentation from time to time. If you want to engage in use outside these transaction limits or usage policies, you can purchase more usage capacity through the Maps API Standard pricing plan, or you can contact the Google Maps sales team for licensing options to address your needs. Google may decline your request, or condition acceptance on your agreement to additional terms and/or charges for that use. + Restrictions on your Maps API Implementations. + No creation of a substitute service. You will not use the Service to create a Maps API Implementation that is a substitute for, or substantially similar service to, Google Maps (at https://www.google.com/maps (or such other URL as Google may provide)) ("Google Maps") or the Service. + No creation or augmentation of data sets based on Google’s Content or Services. You will not use Google’s Content or Services to create or augment your own mapping-related dataset (or that of a third party), including a mapping or navigation dataset, business listings database, mailing list, or telemarketing list. + No navigation. You will not use the Service or Content for or in connection with (a) real-time navigation or route guidance; or (b) automatic or autonomous vehicle control. + No asset-tracking unless you have purchased the applicable enterprise license. Unless you have purchased an applicable Premium Plan or Maps APIs for Work license that expressly permits you to do so, you will not use the Service or Content for commercial asset-tracking or in Maps API Implementations whose primary purpose is to assess vehicle insurance risks. + Commercial asset-tracking includes dispatch, fleet management, and Maps API Implementations that track your (or your end users’) assets (for example, private or commercial transportation applications, including taxi and vehicle-for-hire applications). + Non-commercial asset-tracking implementations include applications used for a non-commercial purpose (for example, a free, publicly accessible Maps API Implementation that displays real-time public transit or other transportation status information or that allows end users to share real-time location with others). + No use of Content in a listings service. You will not use business listings-related Content in any Customer Implementation that has the primary purpose of making available business, residential address, or telephone directory listings. + No use of Content for an Ads product. You will not use business listings-related Content to create or augment an advertising product. + No use of Content without a Google map. Unless the Maps APIs Documentation expressly permits you to do so, you will not use the Content in a Maps API Implementation without a corresponding Google map. For example, you may display Street View imagery without a corresponding Google map because the Maps APIs Documentation expressly permits this use. + No use of Content with a non-Google map. You must not use the Content in a Maps API Implementation that contains a non-Google map. + +10.5 Intellectual Property Restrictions. + + No distribution or sale except as permitted under the Terms. You will not distribute, sell, or otherwise make any part of the Service available to third parties except as permitted by these Terms. + No derivative works. You will not modify or create a derivative work based on any Content unless expressly permitted to do so under these Terms. For example, the following are prohibited: (i) creating server-side modification of map tiles; (ii) stitching multiple static map images together to display a map that is larger than permitted in the Maps APIs Documentation; or (iii) tracing or copying the copyrightable elements of Google’s maps or building outlines and creating a new work, such as a new mapping or navigation dataset. + No use of Content outside the Service. You will not use any Content outside of the Service except as expressly permitted to do so in Subsection (d). For example, you will not export or save the Content to a third party’s platform or service. + No caching or storage. You will not pre-fetch, cache, index, or store any Content to be used outside the Service, except that you may store limited amounts of Content solely for the purpose of improving the performance of your Maps API Implementation due to network latency (and not for the purpose of preventing Google from accurately tracking usage), and only if such storage: + is temporary (and in no event more than 30 calendar days); + is secure; + does not manipulate or aggregate any part of the Content or Service; and + does not modify attribution in any way. + No mass downloading. You will not use the Service in a manner that gives you or a third party access to mass downloads or bulk feeds of any Content. For example, you are not permitted to offer a batch geocoding service that uses Content contained in the Maps API(s). + No incorporating Google software into other software. You will not incorporate any software provided as part of the Service into other software. + No removing, obscuring, or altering terms of service, links, or proprietary rights notices. You will not: + remove, obscure, or alter any Google terms of service or any links to or notices of those terms, or any copyright, trademark, or other proprietary rights notices; or + falsify or delete any author attributions, legal notices, or other labels of the origin or source of material. + +10.6 Restrictions on Trying to Shut Down the Service. We want to make sure that the Services remain online and available for all users. To help ensure this, during the agreement term, you will not try to shut down the Services that you have been using by seeking an injunction or exclusion order. +11. Licenses from You to Google. + +11.1 Content License. Google claims no ownership over Your Content, and you retain copyright and any other rights you already hold in Your Content. By submitting or displaying Your Content through the Service, you give Google a perpetual, irrevocable, non-exclusive, worldwide, sublicensable, royalty-free license to use Your Content solely for the following purposes: + + enabling Google to provide you with the Service; + if you opt to do so through your Maps API Implementation’s features, allowing end users to use Your Content in Google Services; and + if you opt to submit Your Content through the Google Places API(s), allowing Google to use that content in Google Services. + +11.2 Marketing License. During the term of this agreement, you give Google a non-exclusive, worldwide, sublicensable, royalty-free license to use Your Brand Features and Your Content to publicize or advertise that you are using the Service (for example, by using your marks in presentations, marketing materials, customer lists, financial reports, and website listings (including links to your website), or by creating marketing or advertising materials that show screenshots of the Service in which Your Content is featured). + +11.3 Authority to Grant Licenses. You represent and warrant that you have all the rights, power, and authority necessary to grant the above licenses. +12. Maps API Standard Pricing Plan and Payment Terms. + +This Section 12 applies if you purchase usage capacity (beyond the Service’s transaction limits) through the Maps API Standard pricing plan: + +12.1 Free Quota. Certain parts of the Service are provided to you without charge up to the transaction limits described in the Maps APIs Documentation here. + +12.2 Online Billing. Google will issue an electronic bill to you for all charges accrued above the transaction limits based on your use of the Service during the previous month. You will pay all fees specified in the invoice, including the invoice’s specified currency and payment terms. Google’s measurement of your use of the Service is final. + +12.3 Taxes. In association with your purchase of Maps API usage, you are responsible for all applicable government-imposed taxes, except for taxes based on Google’s net income, net worth, employment, and assets (including personal and real property) ("Taxes"), and you will pay Google for the Service without any reduction for Taxes. If Google is obligated to collect or pay Taxes, the Taxes will be invoiced to you, unless you provide Google with a timely and valid tax exemption certificate authorized by the appropriate taxing authority. In some states the sales tax is due on the total purchase price at the time of sale and must be invoiced and collected at the time of the sale. + +12.4 Invoice Disputes & Refunds. To the fullest extent permitted by law, you waive all claims relating to fees unless claimed within sixty days after charged (this does not affect any of your rights with your credit card issuer). Refunds (if any) are at Google’s discretion and will only be in the form of credit for the Service. Nothing in these Terms obligates Google to extend credit to any party. + +12.5 Delinquent Payments. Late payments may bear interest at the rate of 1.5% per month (or the highest rate permitted by law, if less). Google reserves the right to suspend your access to the Service for any late payments. +13. Terminating this Agreement. + +13.1 The Terms will continue to apply until terminated by either you or Google as described below. + +13.2 You may terminate your legal agreement with Google by removing the Maps API(s) code from your Maps API Implementation and discontinuing your use of the Service at any time. You do not need to specifically inform Google when you stop using the Service. + +13.3 Google reserves the right to terminate these Terms or discontinue the Service, or any portion or feature of the Service, for any reason and at any time without liability or other obligation to you, except as described under Section 4.4 (Changes to the Service; Deprecation Policy). + +13.4 Nothing in this Section 13 will affect Google’s rights under Section 4 (Provision of Service by Google). + +13.5 When this legal agreement comes to an end, those Terms that by their nature are intended to continue indefinitely will continue to apply, including Sections 3.5 (European Data Protection Terms); 6 (Google’s Proprietary Rights); 11.1 (Content License); 13.4 and 13.5 (Terminating this Agreement); 14 (Exclusion of Warranties); 15 (Limitations of Liability); 16 (Indemnities); and 19 (General Legal Terms). +14. EXCLUSION OF WARRANTIES. + +14.1 NOTHING IN THESE TERMS, INCLUDING SECTIONS 14 AND 15, WILL EXCLUDE OR LIMIT GOOGLE’S WARRANTY OR LIABILITY FOR LOSSES THAT MAY NOT BE LAWFULLY EXCLUDED OR LIMITED BY APPLICABLE LAW. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF CERTAIN WARRANTIES OR CONDITIONS OR THE LIMITATION OR EXCLUSION OF LIABILITY FOR CERTAIN TYPES OF LOSS OR DAMAGES. ACCORDINGLY, ONLY THE LIMITATIONS THAT ARE LAWFUL IN YOUR JURISDICTION WILL APPLY TO YOU, AND GOOGLE’S LIABILITY WILL BE LIMITED TO THE MAXIMUM EXTENT PERMITTED BY LAW. + +14.2 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SERVICE AND THE CONTENT IS AT YOUR SOLE RISK AND THAT THE SERVICE AND THE CONTENT ARE PROVIDED "AS IS" AND "AS AVAILABLE." IN PARTICULAR, GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS AND THEIR SUPPLIERS, DO NOT REPRESENT OR WARRANT TO YOU THAT: + + THE SERVICE WILL MEET YOUR REQUIREMENTS; + THE SERVICE WILL BE UNINTERRUPTED, TIMELY, SECURE, OR ERROR-FREE; + THE SERVICE WILL BE ACCURATE OR RELIABLE; AND + DEFECTS IN THE OPERATION OR FUNCTIONALITY OF ANY SOFTWARE PROVIDED TO YOU AS PART OF THE SERVICE WILL BE CORRECTED. + +14.3 ANY CONTENT OBTAINED THROUGH THE GOOGLE SERVICES IS AT YOUR OWN DISCRETION AND RISK AND YOU WILL BE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE, LOSS OF DATA, OR ANY OTHER DAMAGE OR INJURY THAT RESULTS FROM DOWNLOADING OR USING ANY SUCH CONTENT. + +14.4 NO ADVICE OR INFORMATION, WHETHER ORAL OR WRITTEN, OBTAINED BY YOU FROM GOOGLE, OR THROUGH OR FROM THE SERVICE OR CONTENT, WILL CREATE ANY WARRANTY NOT EXPRESSLY STATED IN THE TERMS. + +14.5 GOOGLE, ITS LICENSORS, AND THEIR SUPPLIERS FURTHER EXPRESSLY DISCLAIM ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. +15. LIMITATIONS OF LIABILITY. + +15.1 SUBJECT TO SECTION 14.1, YOU EXPRESSLY UNDERSTAND AND AGREE THAT, TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, GOOGLE, ITS SUBSIDIARIES, AND AFFILIATES, AND GOOGLE'S LICENSORS AND THEIR SUPPLIERS, WILL NOT BE LIABLE TO YOU FOR: + + ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES THAT MAY BE INCURRED BY YOU, HOWEVER CAUSED AND UNDER ANY THEORY OF LIABILITY (INCLUDING CONTRACT, TORT, COMMON LAW, OR STATUTORY DAMAGES); ANY LOSS OF REVENUES OR PROFIT (WHETHER INCURRED DIRECTLY OR INDIRECTLY); ANY LOSS OF GOODWILL OR BUSINESS REPUTATION; ANY LOSS OF DATA; ANY COST TO PROCURE SUBSTITUTE GOODS OR SERVICES; OR ANY INTANGIBLE LOSS; OR + ANY LOSS OR DAMAGE AS A RESULT OF: + ANY RELIANCE PLACED BY YOU ON THE COMPLETENESS, ACCURACY, OR EXISTENCE OF ANY ADVERTISING, OR AS A RESULT OF ANY RELATIONSHIP OR TRANSACTION BETWEEN YOU AND ANY ADVERTISER OR SPONSOR WHOSE ADVERTISING APPEARS ON GOOGLE SERVICES; + ANY CHANGES THAT GOOGLE MAY MAKE TO THE SERVICE, OR ANY PERMANENT OR TEMPORARY DISCONTINUATION OF THE SERVICE (OR ANY FEATURES WITHIN THE SERVICE); + THE DELETION OR CORRUPTION OF, OR FAILURE TO STORE, ANY CONTENT AND OTHER DATA MAINTAINED OR TRANSMITTED BY OR THROUGH YOUR USE OF THE SERVICE; + YOUR FAILURE TO PROVIDE GOOGLE WITH ACCURATE ACCOUNT INFORMATION; OR + YOUR FAILURE TO KEEP YOUR PASSWORD OR ACCOUNT DETAILS SECURE AND CONFIDENTIAL. + +15.2 THE LIMITATIONS ON GOOGLE’S LIABILITY IN SECTION 15.1 ABOVE WILL APPLY WHETHER OR NOT GOOGLE, ITS SUBSIDIARIES, AFFILIATES, LICENSORS OR THEIR SUPPLIERS HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES OR DAMAGES. +16. Indemnities. + +16.1 You will defend and indemnify Google and its affiliates, directors, officers, employees, strategic partners, licensors, and their suppliers (the "Indemnified Parties") against all liabilities, damages, losses, costs, fees (including legal fees), and expenses relating to any allegation or third-party legal proceeding to the extent arising from: + + your use of the Service or the Content in breach of the Terms or applicable policies; + your Maps API Implementation, including any claim that your Maps API Implementation infringes a third party’s rights or violates applicable law; or + Your Content. + +16.2 You will cooperate as fully as reasonably required in the defense of any allegation or third-party legal proceeding. Google reserves the right, at its own expense, to assume the exclusive control and defense of any indemnified matter under this Section 16. +17. Copyright Policies; Content Removal; Termination of Repeat Offenders’ Accounts. + +It is Google’s policy to respond to notices of alleged copyright infringement that comply with applicable international intellectual property law (including, in the United States, the Digital Millennium Copyright Act) and to terminate the accounts of repeat offenders. Details of Google’s policy can be found here. +18. Other Content. + +18.1 The Service may include hyperlinks to other websites or content or resources. Google has no control over any websites or resources that are provided by companies or persons other than Google. You understand and agree that Google is not responsible for the availability of any such external sites or resources, and does not endorse any advertising, products, or other materials on, or available from, such websites or resources. + +18.2 You understand and agree that Google is not liable for any loss or damage that you may incur as a result of the availability of those external sites or resources, or as a result of any reliance by you on the completeness, accuracy, or existence of any advertising, products, or other materials on, or available from, such websites or resources. +19. General Legal Terms. + +19.1 Notices. Google may provide you with notices, including those regarding changes to the Terms, by email, regular mail, or postings on the Service. + +19.2 Assignment. Google may assign any part of this agreement without written consent. + +19.3 No Waiver. Google will not be treated as having waived any rights by not exercising (or delaying the exercise of) any rights under these Terms. A waiver will be effective only if Google expressly states in a writing signed by an authorized representative that Google is waiving a specified Term. + +19.4 Third-Party Beneficiaries. Google’s affiliates and the Indemnified Parties are third-party beneficiaries to the Terms and are entitled to directly enforce, and rely on, any Terms that confer a right or benefit to them. There are no other third-party beneficiaries to the Terms. + +19.5 Entire Agreement. These Terms set out all terms agreed between the parties and supersede all other agreements between the parties relating to its subject matter. + +19.6 Severability. If any term (or part of a term) of these Terms is invalid, illegal or unenforceable, the rest of the Terms will remain in effect. + +19.7 Equitable Relief. You understand and agree that damages for improper use of the Maps API(s) may be irreparable; therefore, Google is entitled to seek equitable relief, including injunctions in any jurisdiction, in addition to all other remedies it may have. + +19.8 Conflicting Languages. If these Terms are translated into any other language, and there is a discrepancy between the English text and the translated text, the English text will govern. + +19.9 Governing Law. ALL CLAIMS ARISING OUT OF OR RELATING TO THESE TERMS OR ANY RELATED GOOGLE SERVICES WILL BE GOVERNED BY CALIFORNIA LAW, EXCLUDING CALIFORNIA'S CONFLICT OF LAWS RULES, AND WILL BE LITIGATED EXCLUSIVELY IN THE FEDERAL OR STATE COURTS OF SANTA CLARA COUNTY, CALIFORNIA, USA; THE PARTIES CONSENT TO PERSONAL JURISDICTION IN THOSE COURTS. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-02-07.yml b/src/licensedcode/data/licenses/google-maps-tos-2018-02-07.yml new file mode 100644 index 00000000000..0220171e354 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-02-07.yml @@ -0,0 +1,24 @@ +key: google-maps-tos-2018-02-07 +short_name: Google Maps Platform ToS 2018-02-07 +name: Google Maps Platform Terms of Service 2018-02-07 +category: Proprietary Free +owner: Google +homepage_url: https://cloud.google.com/maps-platform/terms +spdx_license_key: LicenseRef-scancode-google-maps-tos-2018-02-07 +text_urls: + - https://developers.google.com/maps/terms-20180207 +minimum_coverage: 90 +ignorable_authors: + - the U.S. Department of State. Remove +ignorable_copyrights: + - (c) Google Australia Pty Ltd. +ignorable_holders: + - Google Australia Pty Ltd. +ignorable_urls: + - http://developers.google.com/maps/maps-api-list + - http://developers.google.com/maps/terms + - http://www.google.com/intl/en/about/company/software-principles.html + - http://www.google.com/policies/privacy + - https://developers.google.com/products/ + - https://www.google.com/maps + diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-05-01.LICENSE b/src/licensedcode/data/licenses/google-maps-tos-2018-05-01.LICENSE new file mode 100644 index 00000000000..efc96ca15cf --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-05-01.LICENSE @@ -0,0 +1,339 @@ +Google Maps Platform Terms of Service + +Last modified: May 1, 2018 + +This Google Maps Platform License Agreement takes effect on June 11, 2018. + +If you are currently using the Google Maps Standard Plan, this Google Maps Platform License Agreement will govern your use of the Google Maps Platform as of June 11, 2018. The current Google Maps Platform Terms of Service, which govern your use of the Google Maps Platform until June 11, 2018, is available at https://developers.google.com/maps/terms. + +Google Maps Platform License Agreement + +This Google Maps Platform License Agreement (the "Agreement") is made and entered into between Google and the entity or person agreeing to these terms ("Customer"). "Google" means either (i) Google Commerce Limited (“GCL”), a company incorporated under the laws of Ireland, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer has a billing address in the EU and has chosen “non-business” as the tax status/setting for its Google account, (ii) Google Ireland Limited, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer's billing address is in any country within Europe, the Middle East, or Africa ("EMEA"), (iii) Google Asia Pacific Pte. Ltd., with offices at 70 Pasir Panjang Road, #03-71, Mapletree Business City II Singapore 117371, if Customer's billing address is in any country within the Asia Pacific region ("APAC") except as provided below for Customers with the billing address in Japan or Australia, (iv) Google Cloud Japan G.K., with offices at Roppongi Hills Mori Tower, 10-1, Roppongi 6-chome, Minato-ku Tokyo, if Customer’s billing address is in Japan, (v) Google Australia Pty Ltd., with offices at Level 5, 48 Pirrama Road, Pyrmont, NSW 2009 Australia, if Customer’s billing address is in Australia, or (vi) Google LLC, with offices at 1600 Amphitheatre Parkway, Mountain View, California 94043, if Customer's billing address is in any country in the world other than those in EMEA and APAC. + +This Agreement is effective as of the date Customer clicks to accept the Agreement (the "Effective Date"). If you are accepting on behalf of Customer, you represent and warrant that: (i) you have full legal authority to bind Customer to this Agreement; (ii) you have read and understand this Agreement; and (iii) you agree, on behalf of Customer, to this Agreement. If you do not have the legal authority to bind Customer, please do not click to accept. This Agreement governs Customer's access to and use of the Services. + +For an offline variant of this Agreement, you may contact Google for more information. +1. Provision of the Services. + +1.1 Use of the Services in Customer Applications. Google will provide the Services to Customer in accordance with the applicable SLA, and Customer may use the Google Maps Core Services in Customer Application(s) in accordance with Section 3 (License). + +1.2 Admin Console; Projects; API Keys. Customer will administer the Services through the online Admin Console. To access the Services, Customer must create Project(s) and use its API key(s) in accordance with the Documentation. + +1.3 Accounts. Customer must have an Account to use the Services. Customer is responsible for the information it provides in connection with the Account, its passwords, and use of its Account. + +1.4 New Features and Services. Google may: (a) make new features or functionality available through the Services and (b) add new services to the "Services" definition (by adding them at the URL stated under that definition). Customer’s use of new features or functionality may be contingent on Customer’s agreement to additional terms applicable to the new feature or functionality. + +1.5 Modifications. + +1.5.1 To the Services. Google may make changes to the Services, subject to Section 9 (Deprecation Policy), which may include adding, updating, or discontinuing any Services or portion or feature(s) of the Services. Google will notify Customer of any material change to the Services. + +1.5.2. To the Agreement. Google may make changes to this Agreement, including pricing (and any linked documents). Unless otherwise noted by Google, material changes to the Agreement will become effective 30 days after notice is given, except if the changes apply to new functionality in which case they will be effective immediately. Google will provide at least 90 days advance notice for materially adverse changes to any SLAs by: (a) sending an email to Customer’s primary point of contact; (b) posting a notice in the Admin Console; or (c) posting a notice to the applicable SLA webpage. If Customer does not agree to the revised Agreement, Customer should stop using the Services. Google will post any modification to this Agreement to the Terms URL. +2. Payment Terms. + +2.1 Free Quota. Certain Services are provided to Customer without charge up to the Fee Threshold, as applicable. + +2.2 Online Billing. At the end of the applicable Fee Accrual Period, Google will issue an electronic bill to Customer for all charges accrued above the Fee Threshold based on (a) Customer’s use of the Services during the previous Fee Accrual Period; (b) any Committed Purchases selected; and (c) any Package Purchases selected. For use above the Fee Threshold, Customer will be responsible for all Fees up to the amount set in the Account and will pay all Fees in the currency set forth in the invoice. If Customer elects to pay by credit card, debit card, or other non-invoiced form of payment, Google will charge (and Customer will pay) all Fees immediately at the end of the Fee Accrual Period. If Customer elects to pay by invoice (and Google agrees), all Fees are due as stated in the invoice. Customer’s obligation to pay all Fees is non-cancellable. Google's measurement of Customer’s use of the Services is final. Google has no obligation to provide multiple bills. Payments made via wire transfer must include the bank information provided by Google. If Customer has entered into the Agreement with GCL, Google may collect payments via Google Payment Limited, a company incorporated in England and Wales with offices at Belgrave House, 76 Buckingham Palace Road, London, SW1W 9TQ, United Kingdom. + +2.3 Taxes. + +2.3.1 Customer is responsible for any Taxes, and Customer will pay Google for the Services without any reduction for Taxes. If Google is obligated to collect or pay Taxes, the Taxes will be invoiced to Customer, unless Customer provides Google with a timely and valid tax exemption certificate authorized by the appropriate taxing authority. In some states the sales tax is due on the total purchase price at the time of sale and must be invoiced and collected at the time of the sale. If Customer is required by law to withhold any Taxes from its payments to Google, Customer must provide Google with an official tax receipt or other appropriate documentation to support such withholding. If under the applicable tax legislation the Services are subject to local VAT and the Customer is required to make a withholding of local VAT from amounts payable to Google, the value of Services calculated in accordance with the above procedure will be increased (grossed up) by the Customer for the respective amount of local VAT and the grossed up amount will be regarded as a VAT inclusive price. Local VAT amount withheld from the VAT-inclusive price will be remitted to the applicable local tax entity by the Customer and Customer will ensure that Google will receives payment for its services for the net amount as would otherwise be due (the VAT inclusive price less the local VAT withheld and remitted to applicable tax authority). + +2.3.2 If required under applicable law, Customer will provide Google with applicable tax identification information that Google may require to ensure its compliance with applicable tax regulations and authorities in applicable jurisdictions. Customer will be liable to pay (or reimburse Google for) any taxes, interest, penalties or fines arising out of any mis-declaration by the Customer. + +2.4 Invoice Disputes & Refunds. Any invoice disputes must be submitted before the payment due date. If the parties determine that certain billing inaccuracies are attributable to Google, Google will not issue a corrected invoice, but will instead issue a credit memo specifying the incorrect amount in the affected invoice. If the disputed invoice has not yet been paid, Google will apply the credit memo amount to the disputed invoice and Customer will be responsible for paying the resulting net balance due on that invoice. To the fullest extent permitted by law, Customer waives all claims relating to Fees unless claimed within 60 days after charged (this does not affect any Customer rights with its credit card issuer). Refunds (if any) are at the discretion of Google and will only be in the form of credit for the Services. Nothing in this Agreement obligates Google to extend credit to any party. + +2.5 Delinquent Payments; Suspension. Late payments may bear interest at the rate of 1.5% per month (or the highest rate permitted by law, if less) from the payment due date until paid in full. Customer will be responsible for all reasonable expenses (including attorneys’ fees) incurred by Google in collecting such delinquent amounts. If Customer is late on payment for the Services, Google may suspend the Services or terminate the Agreement for breach under Section 11.2 (Termination for Breach). + +2.6 No Purchase Order Number Required. Google is not required to provide a purchase order number on Google’s invoice (or otherwise). +3. License. + +3.1 License Grant. Subject to this Agreement's terms, during the Term, Google grants to Customer a non-exclusive, non-transferable, non-sublicensable, license to use the Services in Customer Application(s), which may be: (a) fee-based or non-fee-based; (b) public/external or private/internal; (c) business-to-business or business-to-consumer; or (d) asset tracking. + +3.2 License Requirements and Restrictions. The following are conditions of the license granted in Section 3.1. In this Section 3.2, the phrase “Customer will not” means “Customer will not, and will not permit a third party to”. + +3.2.2 General Restrictions. Unless Google specifically agrees in writing, Customer will not: (a) copy, modify, create a derivative work of, reverse engineer, decompile, translate, disassemble, or otherwise attempt to extract any or all of the source code (except to the extent such restriction is expressly prohibited by applicable law); (b) sublicense, transfer, or distribute any of the Services; (c) sell, resell, or otherwise make the Services available as a commercial offering to a third party; or (d) access or use the Services: (i) for High Risk Activities; (ii) in a manner intended to avoid incurring Fees; (iii) for activities that are subject to the International Traffic in Arms Regulations (ITAR) maintained by the United States Department of State; (iv) on behalf of or for the benefit of any entity or person who is legally prohibited from using the Services; or (v) to transmit, store, or process Protected Health Information (as defined in and subject to HIPAA). + +3.2.3 Requirements for Using the Services. + +(a) End User Terms and Privacy Policy. Customer’s End User terms of service will state that End Users’ use of Google Maps is subject to the then-current Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html and Google Privacy Policy at https://www.google.com/policies/privacy/. + +(b) Attribution. Customer will display all attribution that (i) Google provides through the Services (including branding, logos, and copyright and trademark notices); or (ii) is specified in the Service Specific Terms. Customer will not modify, obscure, or delete such attribution. + +(c) Review of Customer Applications. At Google’s request, Customer will submit Customer Application(s) and Project(s) to Google for review to ensure compliance with the Agreement (including the AUP). + +3.2.4 Restrictions Against Misusing the Services. + +(a) No Scraping. Customer will not extract, export, or scrape Google Maps Content for use outside the Services. For example, Customer will not:(i) pre-fetch, cache, index, or store Google Maps Content for more than 30 days; (ii) bulk download geocodes; or (iii) copy business names, addresses, or user reviews. + +(b) No Creating Content From Google Maps Content. Customer will not create content based on Google Maps Content, including tracing, digitizing, or creating other datasets based on Google Maps Content. + +(c) No Re-Creating Google Products or Features. Customer will not use the Services to create a product or service with features that are substantially similar to or that re-create the features of another Google product or service. Customer’s product or service must contain substantial, independent value and features beyond the Google products or services. For example, Customer will not: (i) re-distribute the Google Maps Core Services or pass them off as if they were Customer’s services; (ii) create a substitute of the Google Maps Core Services, Google Maps, or Google Maps mobile apps, or their features; (iii) use the Google Maps Core Services in a listings or directory service or to create or augment an advertising product; (iv) combine data from the Directions API, Geolocation API, and Maps SDK for Android to create real-time navigation functionality substantially similar to the functionality provided by the Google Maps for Android mobile app. + +(d) No Use With Non-Google Maps. Customer will not use the Google Maps Core Services in a Customer Application that contains a non-Google map. For example, Customer will not (i) display Places listings on a non-Google map, or (ii) display Street View imagery and non-Google maps in the same Customer Application. + +(e) No Circumventing Fees. Customer will not circumvent the applicable Fees. For example, Customer will not create multiple billing accounts or Projects to avoid incurring Fees; prevent Google from accurately calculating Customer’s Service usage levels; abuse any free Service quotas; or offer access to the Services under a “time-sharing” or “service bureau” model. + +(f) No Use in Prohibited Territories. Customer will not distribute or market in a Prohibited Territory any Customer Application(s) that use the Google Maps Core Services. + +(g) No Use in Embedded Vehicle Systems. Customer will not use the Google Maps Core Services in connection with any Customer Application or device embedded in a vehicle. For example, Customer will not create a Customer Application that (i) is embedded in an in-dashboard automotive infotainment system; and (ii) allows End Users to request driving directions from the Directions API. + +(h) No Modifying Search Results Integrity. Customer will not modify any of the Service’s search results. + +(i) No Use for High Risk Activities. Customer will not use the Google Maps Core Services for High Risk Activities. + +3.2.5 Benchmarking. Customer may not publicly disclose directly or through a third party the results of any comparative or compatibility testing, benchmarking, or evaluation of the Services (each, a “Test”), unless the disclosure includes all information necessary for Google or a third party to replicate the Test. If Customer conducts, or directs a third party to conduct, a Test of the Services and publicly discloses the results directly or through a third party, then Google (or a Google directed third party) may conduct Tests of any publicly available cloud products or services provided by Customer and publicly disclose the results of any such Test (which disclosure will include all information necessary for Customer or a third party to replicate the Test). +4. Customer Obligations. + +4.1 Customer Domains and Applications. Customer must list in the Admin Console each authorized domain and application that uses the Services. Customer is responsible for ensuring that only authorized domains and applications use the Services. + +4.2 Compliance. Customer will: (a) ensure that Customer’s and its End Users’ use of the Services complies with the Agreement, including the applicable Services’ AUP and URL Terms; and (b) use commercially reasonable efforts to prevent, promptly notify Google of, and terminate any unauthorized use of or access to its Account(s) or the Services. + +4.3 Documentation. Google may provide Documentation for Customer’s use of the Services. The Documentation may specify restrictions (e.g. attribution or HTML restrictions) on how the Services may be used and Customer will comply with any such restrictions specified. + +4.4 Copyright Policy. Google provides information to help copyright holders manage their intellectual property online, but Google cannot determine whether something is being used legally or not without their input. Google responds to notices of alleged copyright infringement and terminates accounts of repeat infringers according to applicable copyright laws including in particular the process set out in the U.S. Digital Millennium Copyright Act. If Customer thinks somebody is violating Customer’s or Customer End Users’ copyrights and wants to notify Google, Customer can find information about submitting notices, and Google's policy about responding to notices at https://www.google.com/dmca.html. + +4.5 Data Use, Protection, and Privacy. + +4.5.1 Data Use and Retention. To provide the Services through the Customer Application(s), Google must receive and collect data from End Users and Customer, including search terms, IP addresses, and latitude/longitude coordinates. Customer acknowledges and agrees that Google and its Affiliates may use and retain this data to provide and improve Google products and services, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. + +4.5.2 European Data Protection Terms. Google and Customer agree to the Google Maps Controller-Controller Data Protection Terms at https://cloud.google.com/maps-platform/terms/maps-controller-terms. + +4.5.3 General Privacy Requirements. + +(a) End User Privacy. Customer’s use of the Services in the Customer Application will comply with applicable privacy laws, including laws regarding Services that store and access Cookies on End Users’ devices. If Customer has End Users in the European Economic Area, Customer will comply with the EU End User Consent Policy at https://www.google.com/about/company/user-consent-policy.html. + +(b) End User Personal Data. Through the normal functioning of the Google Maps Core Services, End Users provide device identifiers and Personal Data directly to Google, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. However, Customer acknowledges and agrees that Customer will not provide these categories of data to Google. + +(c) End User Location Privacy Requirements. To safeguard End Users’ location privacy, Customer will ensure that the Customer Application(s): (i) notify End Users in advance of (y) the type(s) of data that Customer intends to collect from the End Users or the End Users’ devices, and (z) the combination and use of End User's location with any other data provider's data; and (ii) will not obtain or cache any End User's location except with the End User's express, prior, revocable consent. +5. Suspension. + +5.1 For License Restrictions Violations. Google may Suspend the Services without prior notice if Customer breaches Section 3.2 (License Requirements and Restrictions). + +5.2 For AUP Violations or Emergency Security Issues. Google may also Suspend Services as described in Subsections 5.2.1 (AUP Violations) and 5.2.2 (Emergency Security Issues). Any Suspension under those Sections will be to the minimum extent and for the shortest duration required to: (a) prevent or terminate the offending use, (b) prevent or resolve the Emergency Security Issue, or (c) comply with applicable law. + +5.2.1 AUP Violations. If Google becomes aware that Customer’s or any End User’s use of the Services violates the AUP, Google will give Customer notice of such violation by requesting that Customer correct the violation. If Customer fails to correct such violation within 24 hours, or if Google is otherwise required by applicable law to take action, then Google may Suspend all or part of Customer’s use of the Services. + +5.2.2 Emergency Security Issues. Google may immediately Suspend Customer’s use of the Services if (a) there is an Emergency Security Issue or (b) Google is required to Suspend such use immediately to comply with applicable law. At Customer’s request, unless prohibited by applicable law, Google will notify Customer of the basis for the Suspension as soon as is reasonably possible. + +5.3 For Alleged Third-Party Intellectual Property Rights Infringement. If the Customer Application is alleged to infringe a third party’s Intellectual Property Rights, Google may require Customer to suspend distributing or selling the Customer Application on 30 days’ written notice until such allegation is fully resolved. In any event, this Section 5.3 does not reduce Customer’s obligations under Section 15 (Indemnification). +6. Intellectual Property Rights; Feedback. + +6.1 Intellectual Property Rights. Except as expressly stated in this Agreement, this Agreement does not grant either party any rights, implied or otherwise, to the other’s content or any of the other’s intellectual property. As between the parties, Customer owns all Intellectual Property Rights in the Customer Application, and Google owns all Intellectual Property Rights in the Services and Software. + +6.2 Customer Feedback. If Customer provides Google Feedback about the Services, then Google may use that information without obligation to Customer, and Customer irrevocably assigns to Google all right, title, and interest in that Feedback. +7. Third Party Legal Notices and License Terms. + +Certain components of the Services (including open source software) are subject to third-party copyright and other Intellectual Property Rights, as specified in: (a) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and (b) separate, publicly-available third-party license terms, which Google will provide to Customer on request. +8. Technical Support Services. + +8.1 By Google. Google will provide the Technical Support Services to Customer in accordance with the Technical Support Services Guidelines. + +8.2 By Customer. Customer is responsible for technical support of its Customer Applications and Projects. +9. Deprecation Policy. + +9.1 Google will notify Customer at least 12 months before making material discontinuance(s) or backwards incompatible change(s) to the Services, unless Google reasonably determines that: (a) Google cannot do so by law or by contract (including if there is a change in applicable law or contract) or (b) continuing to provide the Services could create a (i) security risk or (ii) substantial economic or technical burden. + +9.2 Section 9.1 applies to the Services listed at https://cloud.google.com/maps-platform/terms/maps-deprecation/. If Google deprecates any Services that are not listed at the above URL, Google will use commercially reasonable efforts to minimize the adverse impacts of such deprecations. +10. Confidential Information. + +10.1 Obligations. The recipient will not disclose the Confidential Information, except to Affiliates, employees, agents or professional advisors who need to know it and who have agreed in writing (or in the case of professional advisors are otherwise bound) to keep it confidential. Subject to Section 10.2 (Required Disclosure), the recipient will ensure that those people and entities use the received Confidential Information only to exercise rights and fulfill obligations under this Agreement, while using reasonable care to keep it confidential. + +10.2 Required Disclosure. The recipient may disclose the other party’s Confidential Information to the extent required by applicable Legal Process; provided that the recipient uses commercially reasonable efforts to: (a) promptly notify the other party of such disclosure before disclosing; and (b) comply with the other party’s reasonable requests regarding its efforts to oppose the disclosure. Notwithstanding the foregoing, subsections (a) and (b) above will not apply if the recipient determines that complying with (a) and (b) could: (i) result in a violation of Legal Process; (ii) obstruct a governmental investigation; and/or (iii) lead to death or serious physical harm to an individual. As between the parties, Customer is responsible for responding to all third party requests concerning its use and Customer End Users’ use of the Services. +11. Term and Termination. + +11.1 Agreement Term. The “Term” of this Agreement will begin on the Effective Date and continue until the Agreement is terminated under this Section. + +11.2 Termination for Breach. Either party may terminate this Agreement for breach if: (a) the other party is in material breach of the Agreement and fails to cure that breach within 30 days after receipt of written notice; or (b) the other party ceases its business operations or becomes subject to insolvency proceedings and the proceedings are not dismissed within 90 days. In addition, Google may terminate any, all, or any portion of the Services or Projects, if Customer meets any of the conditions in subsections (a) or (b). + +11.3 Termination for Inactivity. Google reserves the right to terminate provision of Service(s) to a Project on 30 days advance notice if, for more than 180 days, such Project (a) has not made any requests to the Services from any Customer Applications; or (b) such Project has not incurred any Fees for such Service(s). + +11.4 Termination for Convenience. Customer may stop using the Services at any time. Subject to any financial commitments expressly made by this Agreement, Customer may terminate this Agreement for its convenience at any time on prior written notice and upon termination, must cease use of the applicable Services. Google may terminate this Agreement for its convenience at any time without liability to Customer. + +11.5 Effects of Termination. + +11.5.1 If the Agreement is terminated, then: (a) the rights granted by one party to the other will immediately cease; (b) all Fees owed by Customer to Google are immediately due upon receipt of the final electronic bill; and (c) Customer will delete the Software and any content from the Services by the termination effective date. + +11.5.2 The following will survive expiration or termination of the Agreement: Section 2 (Payment Terms), Section 3.2 (License Requirements and Restrictions), Section 4.5 (Data Use, Protection, and Privacy), Section 6 (Intellectual Property; Feedback), Section 10 (Confidential Information), Section 11.5 (Effects of Termination), Section 14 (Disclaimer), Section 15 (Indemnification), Section 16 (Limitation of Liability), Section 19 (Miscellaneous), and Section 20 (Definitions). +12. Publicity. + +Customer may state publicly that it is a customer of the Services, consistent with the Trademark Guidelines. If Customer wants to display Google Brand Features in connection with its use of the Services, Customer must obtain written permission from Google through the process specified in the Trademark Guidelines. Google may include Customer’s name or Brand Features in a list of Google customers, online or in promotional materials. Google may also verbally reference Customer as a customer of the Services. Neither party needs approval if it is repeating a public statement that is substantially similar to a previously-approved public statement. Any use of a party’s Brand Features will inure to the benefit of the party holding Intellectual Property Rights to those Brand Features. A party may revoke the other party’s right to use its Brand Features under this Section with written notice to the other party and a reasonable period to stop the use. Where applicable, Customer may use Google Maps Content in accordance with the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademarkpolicy, which will be considered “Google’s prior written consent” for the permitted uses. +13. Representations and Warranties. + +Each party represents and warrants that: (a) it has full power and authority to enter into the Agreement; and (b) it will comply with Export Control Laws and Anti-Bribery Laws applicable to its provision, receipt, or use, of the Services, as applicable. +14. Disclaimer. + + EXCEPT AS EXPRESSLY PROVIDED FOR IN THE AGREEMENT, TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, GOOGLE: (A) DOES NOT MAKE ANY WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR USE, NONINFRINGEMENT, OR ERROR-FREE OR UNINTERRUPTED USE OF THE SERVICES OR SOFTWARE; (B) MAKES NO REPRESENTATION ABOUT CONTENT OR INFORMATION ACCESSIBLE THROUGH THE SERVICES; AND (C) WILL ONLY BE REQUIRED TO PROVIDE THE REMEDIES EXPRESSLY STATED IN THE SLA FOR FAILURE TO PROVIDE THE SERVICES. GOOGLE MAPS CORE SERVICES ARE PROVIDED FOR PLANNING PURPOSES ONLY. INFORMATION FROM THE GOOGLE MAPS CORE SERVICES MAY DIFFER FROM ACTUAL CONDITIONS, AND MAY NOT BE SUITABLE FOR THE CUSTOMER APPLICATION. CUSTOMER MUST EXERCISE INDEPENDENT JUDGMENT WHEN USING THE SERVICES TO ENSURE THAT THE CUSTOMER APPLICATION IS SAFE AND SUITABLE FOR USE WITH GOOGLE MAPS. +15. Indemnification. + +15.1 By Customer. Unless prohibited by applicable law, Customer will defend Google and its Affiliates and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from (a) any Customer Indemnified Materials or (b) Customer’s or an End User’s use of the Services in violation of the Agreement. + +15.2 By Google. Google will defend Customer and its Affiliates participating under the Agreement (“Customer Indemnified Parties”), and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from an allegation that Customer Indemnified Parties' use in accordance with the Agreement of Google Indemnified Materials infringes the third party's Intellectual Property Rights. + +15.3 Exclusions. This Section 15 will not apply to the extent the underlying allegation arises from (a) the indemnified party’s breach of the Agreement or (b) a combination of the indemnifying party’s technology or Brand Features with materials not provided by the indemnifying party, unless the combination is required by the Agreement. + +15.4 Conditions. Sections 15.1 and 15.2 will apply only to the extent: + +(a) The indemnified party has promptly notified the indemnifying party in writing of any Allegation(s) that preceded the Third-Party Legal Proceeding and cooperates reasonably with the indemnifying party to resolve the Allegation(s) and Third-Party Legal Proceeding. If breach of this Section 15.4(a) prejudices the defense of the Third-Party Legal Proceeding, the indemnifying party’s obligations under Section 15.1 or 15.2 (as applicable) will be reduced in proportion to the prejudice. + +(b) The indemnified party tenders sole control of the indemnified portion of the Third-Party Legal Proceeding to the indemnifying party, subject to the following: (i) the indemnified party may appoint its own non-controlling counsel, at its own expense; and (ii) any settlement requiring the indemnified party to admit liability, pay money, or take (or refrain from taking) any action, will require the indemnified party’s prior written consent, not to be unreasonably withheld, conditioned, or delayed. + +15.5 Remedies. + +(a) If Google reasonably believes the Services might infringe a third party’s Intellectual Property Rights, then Google may, at its sole option and expense: (i) procure the right for Customer to continue using the Services; (ii) modify the Services to make them non-infringing without materially reducing their functionality; or (iii) replace the Services with a non-infringing, functionally equivalent alternative. + +(b) If Google does not believe the remedies in Section 15.5(a) are commercially reasonable, then Google may suspend or terminate Customer’s use of the impacted Services. + +15.6 Sole Rights and Obligations. Without affecting either party’s termination rights, this Section 15 states the parties’ sole and exclusive remedy under this Agreement for any third party's Intellectual Property Rights Allegations and Third-Party Legal Proceedings covered by this Section 15 (Indemnification). +16. Limitation of Liability. + +16.1 Limitation on Indirect Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, WILL NOT BE LIABLE UNDER THIS AGREEMENT FOR LOST REVENUES OR PROFITS (WHETHER DIRECT OR INDIRECT), INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES, EVEN IF THE PARTY OR LICENSOR, AS APPLICABLE, KNEW OR SHOULD HAVE KNOWN THAT SUCH DAMAGES WERE POSSIBLE AND EVEN IF DIRECT DAMAGES DO NOT SATISFY A REMEDY. + +16.2 Limitation on Amount of Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, MAY NOT BE HELD LIABLE UNDER THIS AGREEMENT FOR MORE THAN THE AMOUNT PAID BY CUSTOMER TO GOOGLE UNDER THIS AGREEMENT DURING THE TWELVE MONTHS BEFORE THE EVENT GIVING RISE TO LIABILITY. + +16.3 Exceptions to Limitations. These limitations of liability do not apply to breaches of confidentiality obligations, violations of a party’s Intellectual Property Rights by the other party, or Customer's payment obligations. +17. Advertising. + + Customer may configure the Service in its sole discretion to either display or not display advertisements served by Google. +18. U.S. Federal Agency Users. + +The Services were developed solely at private expense and are commercial computer software and related documentation within the meaning of the applicable Federal Acquisition Regulations and their agency supplements. +19. Miscellaneous. + +19.1 Notices. All notices must be in writing and addressed to the other party’s legal department and primary point of contact. The email address for notices being sent to Google’s Legal Department is legal-notices@google.com. Notice will be treated as given on receipt as verified by written or automated receipt or by electronic log (as applicable). + +19.2 Assignment. Neither party may assign any part of this Agreement without the written consent of the other, except to an Affiliate where: (a) the assignee has agreed in writing to be bound by the terms of this Agreement; (b) the assigning party remains liable for obligations under the Agreement if the assignee defaults on them; and (c) the assigning party has notified the other party of the assignment. Any other attempt to assign is void. + +19.3 Change of Control. If a party experiences a change of Control (for example, through a stock purchase or sale, merger, or other form of corporate transaction): (a) that party will give written notice to the other party within 30 days after the change of Control; and (b) the other party may immediately terminate this Agreement any time between the change of Control and 30 days after it receives that written notice. + +19.4 Force Majeure. Neither party will be liable for failure or delay in performance to the extent caused by circumstances beyond its reasonable control, including acts of God, natural disasters, terrorism, riots, or war. + +19.5 Subcontracting. Google may subcontract obligations under the Agreement but will remain liable to Customer for any subcontracted obligations. + +19.6 No Agency. This Agreement does not create any agency, partnership or joint venture between the parties. + +19.7 No Waiver. Neither party will be treated as having waived any rights by not exercising (or delaying the exercise of) any rights under this Agreement. + +19.8 Severability. If any term (or part of a term) of this Agreement is invalid, illegal, or unenforceable, the rest of the Agreement will remain in effect. + +19.9 No Third-Party Beneficiaries. This Agreement does not confer any benefits on any third party unless it expressly states that it does. + +19.10 Equitable Relief. Nothing in this Agreement will limit either party’s ability to seek equitable relief. + +19.11 Governing Law. + +19.11.1 For U.S. City, County, and State Government Entities. If Customer is a U.S. city, county or state government entity, then the Agreement will be silent regarding governing law and venue. + +19.11.2 For U.S. Federal Government Entities. If Customer is a U.S. federal government entity then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY THE LAWS OF THE UNITED STATES OF AMERICA, EXCLUDING ITS CONFLICT OF LAWS RULES. SOLELY TO THE EXTENT PERMITTED BY FEDERAL LAW: (I) THE LAWS OF THE STATE OF CALIFORNIA (EXCLUDING CALIFORNIA’S CONFLICT OF LAWS RULES) WILL APPLY IN THE ABSENCE OF APPLICABLE FEDERAL LAW; AND (II) FOR ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES, THE PARTIES CONSENT TO PERSONAL JURISDICTION IN, AND THE EXCLUSIVE VENUE OF, THE COURTS IN SANTA CLARA COUNTY, CALIFORNIA. + +19.11.3 For All Other Entities. If Customer is any entity not listed in Section 19.11.1 or 19.11.2 then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY CALIFORNIA LAW, EXCLUDING THAT STATE’S CONFLICT OF LAWS RULES, AND WILL BE LITIGATED EXCLUSIVELY IN THE FEDERAL OR STATE COURTS OF SANTA CLARA COUNTY, CALIFORNIA, USA; THE PARTIES CONSENT TO PERSONAL JURISDICTION IN THOSE COURTS. + +19.12 Amendments. Except as stated in Section 1.5.2 (Modifications; To the Agreement), any amendment must be in writing, signed by both parties, and expressly state that it is amending this Agreement. + +19.13 Entire Agreement. This Agreement sets out all terms agreed between the parties and supersedes all other agreements between the parties relating to its subject matter. In entering into this Agreement, neither party has relied on, and neither party will have any right or remedy based on, any statement, representation or warranty (whether made negligently or innocently), except those expressly stated in this Agreement. The terms located at any URL referenced in this Agreement and the Documentation are incorporated by reference into the Agreement. After the Effective Date, Google may provide an updated URL in place of any URL in this Agreement. + +19.14 Conflicting Terms. If there is a conflict between the documents that make up this Agreement, the documents will control in the following order: the Agreement, and the terms at any URL. + +19.15 Conflicting Translations. If this Agreement is translated into any other language, and there is a discrepancy between the English text and the translated text, the English text will govern. +20. Definitions. + +"Account" means Customer’s Google Account. + +"Admin Console" means the online console(s) and tool(s) provided by Google to Customer for administering the Services. + +"Affiliate" means any entity that directly or indirectly Controls, is Controlled by, or is under common Control with a party. + +"Allegation" means an unaffiliated third party’s allegation. + +“Anti-Bribery Laws” means all applicable commercial and public anti-bribery laws, (for example, the U.S. Foreign Corrupt Practices Act of 1977 and the UK Bribery Act 2010), which prohibit corrupt offers of anything of value, either directly or indirectly, to anyone, including government officials, to obtain or keep business or to secure any other improper commercial advantage. “Government officials” include any government employee; candidate for public office; and employee of government-owned or government-controlled companies, public international organizations, and political parties. + +"AUP" or "Acceptable Use Policy" means the then-current Acceptable Use Policy for the Services at: https://cloud.google.com/maps-platform/terms/aup/. + +"Brand Features" means the trade names, tradmarks, service marks, logos, domain names, and other distinctive brand features of each party, respectively, as secured by such party. + +"Committed Purchase(s)" has the meaning provided in the Service Specific Terms. + +"Confidential Information" means information that one party (or an Affiliate) discloses to the other party under this Agreement, and which is marked as confidential or would normally under the circumstances be considered confidential information. It does not include information that is independently developed by the recipient, is rightfully given to the recipient by a third party without confidentiality obligations, or becomes public through no fault of the recipient. + +"Control" means control of greater than fifty percent of the voting rights or equity interests of a party. + +"Customer Application" means any web domain or application (including features) listed in the Admin Console. + +"Customer End User" or "End User" means an individual or entity that Customer permits to use the Services or Customer Application(s). + +“Customer Indemnified Materials” means the Customer Application and Customer Brand Features. + +"Documentation" means the Google documentation (as may be updated) in the form generally made available by Google for use with the Services at https://developers.google.com/maps/. + +"Emergency Security Issue" means either: (a) Customer’s or Customer End Users’ use of the Services in violation of the AUP, which could disrupt: (i) the Services; (ii) other customers’ or their customer end users’ use of the Services; or (iii) the Google network or servers used to provide the Services; or (b) unauthorized third party access to the Services. + +"Europe" or "European" means European Economic Area or Switzerland. + +“Export Control Laws” means all applicable export and re-export control laws and regulations, including any applicable munitions- or defense-related regulations (for example, the International Traffic in Arms Regulations maintained by the U.S. Department of State). + +"Fee Accrual Period" means a calendar month or another period specified by Google in the Admin Console. + +"Fee Threshold" means the threshold (as may be updated), as applicable for certain Services, as set out in the Admin Console. + +“Feedback” means feedback or suggestions about the Services provided to Google by Customer. + +"Fees" means the applicable fees for each Service and any applicable Taxes. The Fees for each Service are available at https://cloud.google.com/maps-platform/pricing/sheet/ (or other such URL provided by Google). + +"Google Indemnified Materials" means Google's technology used to provide the Services (excluding any open source software) and Google's Brand Features. + +"Google Maps Content" means any content provided through the Services (whether created by Google or its third-party licensors), including map and terrain data, imagery, traffic data, and places data (including business listings). + +"High Risk Activities" means activities where the use or failure of the Services could lead to death, personal injury, or environmental damage, including (a) emergency response services; (b) autonomous and semi-autonomous vehicle or drone control; (c) vessel navigation; (d) aviation; (e) air traffic control; (f) nuclear facilities operation; (g) precision targeting. + +"HIPAA" means the Health Insurance Portability and Accountability Act of 1996 as it may be amended, and any regulations issued under it. + +"Indemnified Liabilities" means any (a) settlement amounts approved by the indemnifying party; and (b) damages and costs finally awarded against the indemnified party and its Affiliates by a court of competent jurisdiction. + +"including" means "including but not limited to". + +"Intellectual Property Rights" means current and future worldwide rights under patent, copyright, trade secret, trademark, and moral rights laws, and other similar rights. + +"Legal Process" means a data disclosure request made under law, governmental regulation, court order, subpoena, warrant, governmental regulatory or agency request, or other valid legal authority, legal procedure, or similar process. + +"Package Purchase" has the meaning set out in the Service Specific Terms. + +"Personal Data" has the meaning provided in the General Data Protection Regulation (EU) 2016/679 of the European Parliament and of the Council of April 27, 2016. + +"Prohibited Territory" means the countries listed at https://cloud.google.com/maps-platform/terms/maps-prohibited-territories/. + +"Project" means a Customer-selected grouping of Google Maps Core Services resources for a particular Customer Application. + +"Services" and "Google Maps Core Services" means the services described at https://cloud.google.com/maps-platform/terms/maps-services/. The Services include the Google Maps Content. + +"Service Specific Terms" means the terms specific to one or more Services set forth here: https://cloud.google.com/maps-platform/terms/maps-service-terms/. + +"SLA" or "Service Level Agreement" means each of the then-current service level agreements at: https://cloud.google.com/maps-platform/terms/sla/. + +"Software" means any downloadable tools, software development kits or other such proprietary computer software provided by Google in connection with the Services, which may be downloaded by Customer, and any updates Google may make to such Software. + +"Taxes" means any duties, customs fees, or taxes (other than Google’s income tax) associated with the purchase of the Services, including any related penalties or interest. + +“Technical Support Services” or "TSS" means the technical support service provided by Google to Customer under the Technical Support Services Guidelines. + +“Technical Support Services Guidelines” or "TSS Guidelines" means the then-current technical support service guidelines at https://cloud.google.com/maps-platform/terms/tssg/. + +"Term" has the meaning stated in Section 1.6 of this Agreement. + +“Terms URL” means the following URL set forth here: https://cloud.google.com/maps-platform/terms/. + +"Third-Party Legal Proceeding" means any formal legal proceeding filed by an unaffiliated third party before a court or government tribunal (including any appellate proceeding). + +"Trademark Guidelines" means (a) Google’s Brand Terms and Conditions, located at: https://www.google.com/permissions/trademark/brand-terms.html; and (b) the “Use of Trademarks” section of the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademark policy. + +“URL Terms” means the following, which will control in the following order if there is a conflict: + +(a) the AUP; + +(b) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; + +(c) the Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html; + +(d) the Service Specific Terms; + +(e) the SLA; and + +(f) the Technical Support Services Guidelines. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-05-01.yml b/src/licensedcode/data/licenses/google-maps-tos-2018-05-01.yml new file mode 100644 index 00000000000..1f9278729eb --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-05-01.yml @@ -0,0 +1,36 @@ +key: google-maps-tos-2018-05-01 +short_name: Google Maps Platform ToS 2018-05-01 +name: Google Maps Platform Terms of Service 2018-05-01 +category: Proprietary Free +owner: Google +homepage_url: https://cloud.google.com/maps-platform/terms +spdx_license_key: LicenseRef-scancode-google-maps-tos-2018-05-01 +text_urls: + - https://cloud.google.com/maps-platform/terms/index-20180501 +minimum_coverage: 90 +ignorable_authors: + - the U.S. Department + - the United States Department of State +ignorable_emails: + - legal-notices@google.com +ignorable_urls: + - https://cloud.google.com/maps-platform/pricing/sheet/ + - https://cloud.google.com/maps-platform/terms + - https://cloud.google.com/maps-platform/terms/aup + - https://cloud.google.com/maps-platform/terms/maps-controller-terms + - https://cloud.google.com/maps-platform/terms/maps-deprecation + - https://cloud.google.com/maps-platform/terms/maps-prohibited-territories + - https://cloud.google.com/maps-platform/terms/maps-service-terms + - https://cloud.google.com/maps-platform/terms/maps-services + - https://cloud.google.com/maps-platform/terms/sla + - https://cloud.google.com/maps-platform/terms/tssg + - https://developers.google.com/maps + - https://developers.google.com/maps/terms + - https://www.google.com/about/company/user-consent-policy.html + - https://www.google.com/dmca.html + - https://www.google.com/help/legalnotices_maps.html + - https://www.google.com/permissions/geoguidelines.html#geotrademark + - https://www.google.com/permissions/geoguidelines.html#geotrademarkpolicy + - https://www.google.com/permissions/trademark/brand-terms.html + - https://www.google.com/policies/privacy + diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-06-07.LICENSE b/src/licensedcode/data/licenses/google-maps-tos-2018-06-07.LICENSE new file mode 100644 index 00000000000..f27fd78ef47 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-06-07.LICENSE @@ -0,0 +1,335 @@ +Google Maps Platform Terms of Service + +Last modified: June 7, 2018 + +Google Maps Platform License Agreement + +This Google Maps Platform License Agreement (the "Agreement") is made and entered into between Google and the entity or person agreeing to these terms ("Customer"). "Google" means either (i) Google Commerce Limited (“GCL”), a company incorporated under the laws of Ireland, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer has a billing address in the EU and has chosen “non-business” as the tax status/setting for its Google account, (ii) Google Ireland Limited, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer's billing address is in any country within Europe, the Middle East, or Africa ("EMEA"), (iii) Google Asia Pacific Pte. Ltd., with offices at 70 Pasir Panjang Road, #03-71, Mapletree Business City II Singapore 117371, if Customer's billing address is in any country within the Asia Pacific region ("APAC") except as provided below for Customers with the billing address in Japan or Australia, (iv) Google Cloud Japan G.K., with offices at Roppongi Hills Mori Tower, 10-1, Roppongi 6-chome, Minato-ku Tokyo, if Customer’s billing address is in Japan, (v) Google Australia Pty Ltd., with offices at Level 5, 48 Pirrama Road, Pyrmont, NSW 2009 Australia, if Customer’s billing address is in Australia, or (vi) Google LLC, with offices at 1600 Amphitheatre Parkway, Mountain View, California 94043, if Customer's billing address is in any country in the world other than those in EMEA and APAC. + +This Agreement is effective as of the date Customer clicks to accept the Agreement (the "Effective Date"). If you are accepting on behalf of Customer, you represent and warrant that: (i) you have full legal authority to bind Customer to this Agreement; (ii) you have read and understand this Agreement; and (iii) you agree, on behalf of Customer, to this Agreement. If you do not have the legal authority to bind Customer, please do not click to accept. This Agreement governs Customer's access to and use of the Services. + +For an offline variant of this Agreement, you may contact Google for more information. +1. Provision of the Services. + +1.1 Use of the Services in Customer Applications. Google will provide the Services to Customer in accordance with the applicable SLA, and Customer may use the Google Maps Core Services in Customer Application(s) in accordance with Section 3 (License). + +1.2 Admin Console; Projects; API Keys. Customer will administer the Services through the online Admin Console. To access the Services, Customer must create Project(s) and use its API key(s) in accordance with the Documentation. + +1.3 Accounts. Customer must have an Account to use the Services. Customer is responsible for the information it provides in connection with the Account, its passwords, and use of its Account. + +1.4 New Features and Services. Google may: (a) make new features or functionality available through the Services and (b) add new services to the "Services" definition (by adding them at the URL stated under that definition). Customer’s use of new features or functionality may be contingent on Customer’s agreement to additional terms applicable to the new feature or functionality. + +1.5 Modifications. + +1.5.1 To the Services. Google may make changes to the Services, subject to Section 9 (Deprecation Policy), which may include adding, updating, or discontinuing any Services or portion or feature(s) of the Services. Google will notify Customer of any material change to the Services. + +1.5.2. To the Agreement. Google may make changes to this Agreement, including pricing (and any linked documents). Unless otherwise noted by Google, material changes to the Agreement will become effective 30 days after notice is given, except if the changes apply to new functionality in which case they will be effective immediately. Google will provide at least 90 days advance notice for materially adverse changes to any SLAs by: (a) sending an email to Customer’s primary point of contact; (b) posting a notice in the Admin Console; or (c) posting a notice to the applicable SLA webpage. If Customer does not agree to the revised Agreement, Customer should stop using the Services. Google will post any modification to this Agreement to the Terms URL. +2. Payment Terms. + +2.1 Free Quota. Certain Services are provided to Customer without charge up to the Fee Threshold, as applicable. + +2.2 Online Billing. At the end of the applicable Fee Accrual Period, Google will issue an electronic bill to Customer for all charges accrued above the Fee Threshold based on (a) Customer’s use of the Services during the previous Fee Accrual Period; (b) any Committed Purchases selected; and (c) any Package Purchases selected. For use above the Fee Threshold, Customer will be responsible for all Fees up to the amount set in the Account and will pay all Fees in the currency set forth in the invoice. If Customer elects to pay by credit card, debit card, or other non-invoiced form of payment, Google will charge (and Customer will pay) all Fees immediately at the end of the Fee Accrual Period. If Customer elects to pay by invoice (and Google agrees), all Fees are due as stated in the invoice. Customer’s obligation to pay all Fees is non-cancellable. Google's measurement of Customer’s use of the Services is final. Google has no obligation to provide multiple bills. Payments made via wire transfer must include the bank information provided by Google. If Customer has entered into the Agreement with GCL, Google may collect payments via Google Payment Limited, a company incorporated in England and Wales with offices at Belgrave House, 76 Buckingham Palace Road, London, SW1W 9TQ, United Kingdom. + +2.3 Taxes. + +2.3.1 Customer is responsible for any Taxes, and Customer will pay Google for the Services without any reduction for Taxes. If Google is obligated to collect or pay Taxes, the Taxes will be invoiced to Customer, unless Customer provides Google with a timely and valid tax exemption certificate authorized by the appropriate taxing authority. In some states the sales tax is due on the total purchase price at the time of sale and must be invoiced and collected at the time of the sale. If Customer is required by law to withhold any Taxes from its payments to Google, Customer must provide Google with an official tax receipt or other appropriate documentation to support such withholding. If under the applicable tax legislation the Services are subject to local VAT and the Customer is required to make a withholding of local VAT from amounts payable to Google, the value of Services calculated in accordance with the above procedure will be increased (grossed up) by the Customer for the respective amount of local VAT and the grossed up amount will be regarded as a VAT inclusive price. Local VAT amount withheld from the VAT-inclusive price will be remitted to the applicable local tax entity by the Customer and Customer will ensure that Google will receives payment for its services for the net amount as would otherwise be due (the VAT inclusive price less the local VAT withheld and remitted to applicable tax authority). + +2.3.2 If required under applicable law, Customer will provide Google with applicable tax identification information that Google may require to ensure its compliance with applicable tax regulations and authorities in applicable jurisdictions. Customer will be liable to pay (or reimburse Google for) any taxes, interest, penalties or fines arising out of any mis-declaration by the Customer. + +2.4 Invoice Disputes & Refunds. Any invoice disputes must be submitted before the payment due date. If the parties determine that certain billing inaccuracies are attributable to Google, Google will not issue a corrected invoice, but will instead issue a credit memo specifying the incorrect amount in the affected invoice. If the disputed invoice has not yet been paid, Google will apply the credit memo amount to the disputed invoice and Customer will be responsible for paying the resulting net balance due on that invoice. To the fullest extent permitted by law, Customer waives all claims relating to Fees unless claimed within 60 days after charged (this does not affect any Customer rights with its credit card issuer). Refunds (if any) are at the discretion of Google and will only be in the form of credit for the Services. Nothing in this Agreement obligates Google to extend credit to any party. + +2.5 Delinquent Payments; Suspension. Late payments may bear interest at the rate of 1.5% per month (or the highest rate permitted by law, if less) from the payment due date until paid in full. Customer will be responsible for all reasonable expenses (including attorneys’ fees) incurred by Google in collecting such delinquent amounts. If Customer is late on payment for the Services, Google may suspend the Services or terminate the Agreement for breach under Section 11.2 (Termination for Breach). + +2.6 No Purchase Order Number Required. Google is not required to provide a purchase order number on Google’s invoice (or otherwise). +3. License. + +3.1 License Grant. Subject to this Agreement's terms, during the Term, Google grants to Customer a non-exclusive, non-transferable, non-sublicensable, license to use the Services in Customer Application(s), which may be: (a) fee-based or non-fee-based; (b) public/external or private/internal; (c) business-to-business or business-to-consumer; or (d) asset tracking. + +3.2 License Requirements and Restrictions. The following are conditions of the license granted in Section 3.1. In this Section 3.2, the phrase “Customer will not” means “Customer will not, and will not permit a third party to”. + +3.2.2 General Restrictions. Unless Google specifically agrees in writing, Customer will not: (a) copy, modify, create a derivative work of, reverse engineer, decompile, translate, disassemble, or otherwise attempt to extract any or all of the source code (except to the extent such restriction is expressly prohibited by applicable law); (b) sublicense, transfer, or distribute any of the Services; (c) sell, resell, or otherwise make the Services available as a commercial offering to a third party; or (d) access or use the Services: (i) for High Risk Activities; (ii) in a manner intended to avoid incurring Fees; (iii) for activities that are subject to the International Traffic in Arms Regulations (ITAR) maintained by the United States Department of State; (iv) on behalf of or for the benefit of any entity or person who is legally prohibited from using the Services; or (v) to transmit, store, or process Protected Health Information (as defined in and subject to HIPAA). + +3.2.3 Requirements for Using the Services. + +(a) End User Terms and Privacy Policy. Customer’s End User terms of service will state that End Users’ use of Google Maps is subject to the then-current Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html and Google Privacy Policy at https://www.google.com/policies/privacy/. + +(b) Attribution. Customer will display all attribution that (i) Google provides through the Services (including branding, logos, and copyright and trademark notices); or (ii) is specified in the Service Specific Terms. Customer will not modify, obscure, or delete such attribution. + +(c) Review of Customer Applications. At Google’s request, Customer will submit Customer Application(s) and Project(s) to Google for review to ensure compliance with the Agreement (including the AUP). + +3.2.4 Restrictions Against Misusing the Services. + +(a) No Scraping. Customer will not extract, export, or scrape Google Maps Content for use outside the Services. For example, Customer will not:(i) pre-fetch, cache, index, or store Google Maps Content for more than 30 days; (ii) bulk download geocodes; or (iii) copy business names, addresses, or user reviews. + +(b) No Creating Content From Google Maps Content. Customer will not create content based on Google Maps Content, including tracing, digitizing, or creating other datasets based on Google Maps Content. + +(c) No Re-Creating Google Products or Features. Customer will not use the Services to create a product or service with features that are substantially similar to or that re-create the features of another Google product or service. Customer’s product or service must contain substantial, independent value and features beyond the Google products or services. For example, Customer will not: (i) re-distribute the Google Maps Core Services or pass them off as if they were Customer’s services; (ii) create a substitute of the Google Maps Core Services, Google Maps, or Google Maps mobile apps, or their features; (iii) use the Google Maps Core Services in a listings or directory service or to create or augment an advertising product; (iv) combine data from the Directions API, Geolocation API, and Maps SDK for Android to create real-time navigation functionality substantially similar to the functionality provided by the Google Maps for Android mobile app. + +(d) No Use With Non-Google Maps. Customer will not use the Google Maps Core Services in a Customer Application that contains a non-Google map. For example, Customer will not (i) display Places listings on a non-Google map, or (ii) display Street View imagery and non-Google maps in the same Customer Application. + +(e) No Circumventing Fees. Customer will not circumvent the applicable Fees. For example, Customer will not create multiple billing accounts or Projects to avoid incurring Fees; prevent Google from accurately calculating Customer’s Service usage levels; abuse any free Service quotas; or offer access to the Services under a “time-sharing” or “service bureau” model. + +(f) No Use in Prohibited Territories. Customer will not distribute or market in a Prohibited Territory any Customer Application(s) that use the Google Maps Core Services. + +(g) No Use in Embedded Vehicle Systems. Customer will not use the Google Maps Core Services in connection with any Customer Application or device embedded in a vehicle. For example, Customer will not create a Customer Application that (i) is embedded in an in-dashboard automotive infotainment system; and (ii) allows End Users to request driving directions from the Directions API. + +(h) No Modifying Search Results Integrity. Customer will not modify any of the Service’s search results. + +(i) No Use for High Risk Activities. Customer will not use the Google Maps Core Services for High Risk Activities. + +3.2.5 Benchmarking. Customer may not publicly disclose directly or through a third party the results of any comparative or compatibility testing, benchmarking, or evaluation of the Services (each, a “Test”), unless the disclosure includes all information necessary for Google or a third party to replicate the Test. If Customer conducts, or directs a third party to conduct, a Test of the Services and publicly discloses the results directly or through a third party, then Google (or a Google directed third party) may conduct Tests of any publicly available cloud products or services provided by Customer and publicly disclose the results of any such Test (which disclosure will include all information necessary for Customer or a third party to replicate the Test). +4. Customer Obligations. + +4.1 Customer Domains and Applications. Customer must list in the Admin Console each authorized domain and application that uses the Services. Customer is responsible for ensuring that only authorized domains and applications use the Services. + +4.2 Compliance. Customer will: (a) ensure that Customer’s and its End Users’ use of the Services complies with the Agreement, including the applicable Services’ AUP and URL Terms; and (b) use commercially reasonable efforts to prevent, promptly notify Google of, and terminate any unauthorized use of or access to its Account(s) or the Services. + +4.3 Documentation. Google may provide Documentation for Customer’s use of the Services. The Documentation may specify restrictions (e.g. attribution or HTML restrictions) on how the Services may be used and Customer will comply with any such restrictions specified. + +4.4 Copyright Policy. Google provides information to help copyright holders manage their intellectual property online, but Google cannot determine whether something is being used legally or not without their input. Google responds to notices of alleged copyright infringement and terminates accounts of repeat infringers according to applicable copyright laws including in particular the process set out in the U.S. Digital Millennium Copyright Act. If Customer thinks somebody is violating Customer’s or Customer End Users’ copyrights and wants to notify Google, Customer can find information about submitting notices, and Google's policy about responding to notices at https://www.google.com/dmca.html. + +4.5 Data Use, Protection, and Privacy. + +4.5.1 Data Use and Retention. To provide the Services through the Customer Application(s), Google must receive and collect data from End Users and Customer, including search terms, IP addresses, and latitude/longitude coordinates. Customer acknowledges and agrees that Google and its Affiliates may use and retain this data to provide and improve Google products and services, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. + +4.5.2 European Data Protection Terms. Google and Customer agree to the Google Maps Controller-Controller Data Protection Terms at https://cloud.google.com/maps-platform/terms/maps-controller-terms. + +4.5.3 General Privacy Requirements. + +(a) End User Privacy. Customer’s use of the Services in the Customer Application will comply with applicable privacy laws, including laws regarding Services that store and access Cookies on End Users’ devices. If Customer has End Users in the European Economic Area, Customer will comply with the EU End User Consent Policy at https://www.google.com/about/company/user-consent-policy.html. + +(b) End User Personal Data. Through the normal functioning of the Google Maps Core Services, End Users provide device identifiers and Personal Data directly to Google, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. However, Customer acknowledges and agrees that Customer will not provide these categories of data to Google. + +(c) End User Location Privacy Requirements. To safeguard End Users’ location privacy, Customer will ensure that the Customer Application(s): (i) notify End Users in advance of (y) the type(s) of data that Customer intends to collect from the End Users or the End Users’ devices, and (z) the combination and use of End User's location with any other data provider's data; and (ii) will not obtain or cache any End User's location except with the End User's express, prior, revocable consent. +5. Suspension. + +5.1 For License Restrictions Violations. Google may Suspend the Services without prior notice if Customer breaches Section 3.2 (License Requirements and Restrictions). + +5.2 For AUP Violations or Emergency Security Issues. Google may also Suspend Services as described in Subsections 5.2.1 (AUP Violations) and 5.2.2 (Emergency Security Issues). Any Suspension under those Sections will be to the minimum extent and for the shortest duration required to: (a) prevent or terminate the offending use, (b) prevent or resolve the Emergency Security Issue, or (c) comply with applicable law. + +5.2.1 AUP Violations. If Google becomes aware that Customer’s or any End User’s use of the Services violates the AUP, Google will give Customer notice of such violation by requesting that Customer correct the violation. If Customer fails to correct such violation within 24 hours, or if Google is otherwise required by applicable law to take action, then Google may Suspend all or part of Customer’s use of the Services. + +5.2.2 Emergency Security Issues. Google may immediately Suspend Customer’s use of the Services if (a) there is an Emergency Security Issue or (b) Google is required to Suspend such use immediately to comply with applicable law. At Customer’s request, unless prohibited by applicable law, Google will notify Customer of the basis for the Suspension as soon as is reasonably possible. + +5.3 For Alleged Third-Party Intellectual Property Rights Infringement. If the Customer Application is alleged to infringe a third party’s Intellectual Property Rights, Google may require Customer to suspend distributing or selling the Customer Application on 30 days’ written notice until such allegation is fully resolved. In any event, this Section 5.3 does not reduce Customer’s obligations under Section 15 (Indemnification). +6. Intellectual Property Rights; Feedback. + +6.1 Intellectual Property Rights. Except as expressly stated in this Agreement, this Agreement does not grant either party any rights, implied or otherwise, to the other’s content or any of the other’s intellectual property. As between the parties, Customer owns all Intellectual Property Rights in the Customer Application, and Google owns all Intellectual Property Rights in the Services and Software. + +6.2 Customer Feedback. If Customer provides Google Feedback about the Services, then Google may use that information without obligation to Customer, and Customer irrevocably assigns to Google all right, title, and interest in that Feedback. +7. Third Party Legal Notices and License Terms. + +Certain components of the Services (including open source software) are subject to third-party copyright and other Intellectual Property Rights, as specified in: (a) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and (b) separate, publicly-available third-party license terms, which Google will provide to Customer on request. +8. Technical Support Services. + +8.1 By Google. Google will provide the Technical Support Services to Customer in accordance with the Technical Support Services Guidelines. + +8.2 By Customer. Customer is responsible for technical support of its Customer Applications and Projects. +9. Deprecation Policy. + +9.1 Google will notify Customer at least 12 months before making material discontinuance(s) or backwards incompatible change(s) to the Services, unless Google reasonably determines that: (a) Google cannot do so by law or by contract (including if there is a change in applicable law or contract) or (b) continuing to provide the Services could create a (i) security risk or (ii) substantial economic or technical burden. + +9.2 Section 9.1 applies to the Services listed at https://cloud.google.com/maps-platform/terms/maps-deprecation/. If Google deprecates any Services that are not listed at the above URL, Google will use commercially reasonable efforts to minimize the adverse impacts of such deprecations. +10. Confidential Information. + +10.1 Obligations. The recipient will not disclose the Confidential Information, except to Affiliates, employees, agents or professional advisors who need to know it and who have agreed in writing (or in the case of professional advisors are otherwise bound) to keep it confidential. Subject to Section 10.2 (Required Disclosure), the recipient will ensure that those people and entities use the received Confidential Information only to exercise rights and fulfill obligations under this Agreement, while using reasonable care to keep it confidential. + +10.2 Required Disclosure. The recipient may disclose the other party’s Confidential Information to the extent required by applicable Legal Process; provided that the recipient uses commercially reasonable efforts to: (a) promptly notify the other party of such disclosure before disclosing; and (b) comply with the other party’s reasonable requests regarding its efforts to oppose the disclosure. Notwithstanding the foregoing, subsections (a) and (b) above will not apply if the recipient determines that complying with (a) and (b) could: (i) result in a violation of Legal Process; (ii) obstruct a governmental investigation; and/or (iii) lead to death or serious physical harm to an individual. As between the parties, Customer is responsible for responding to all third party requests concerning its use and Customer End Users’ use of the Services. +11. Term and Termination. + +11.1 Agreement Term. The “Term” of this Agreement will begin on the Effective Date and continue until the Agreement is terminated under this Section. + +11.2 Termination for Breach. Either party may terminate this Agreement for breach if: (a) the other party is in material breach of the Agreement and fails to cure that breach within 30 days after receipt of written notice; or (b) the other party ceases its business operations or becomes subject to insolvency proceedings and the proceedings are not dismissed within 90 days. In addition, Google may terminate any, all, or any portion of the Services or Projects, if Customer meets any of the conditions in subsections (a) or (b). + +11.3 Termination for Inactivity. Google reserves the right to terminate provision of Service(s) to a Project on 30 days advance notice if, for more than 180 days, such Project (a) has not made any requests to the Services from any Customer Applications; or (b) such Project has not incurred any Fees for such Service(s). + +11.4 Termination for Convenience. Customer may stop using the Services at any time. Subject to any financial commitments expressly made by this Agreement, Customer may terminate this Agreement for its convenience at any time on prior written notice and upon termination, must cease use of the applicable Services. Google may terminate this Agreement for its convenience at any time without liability to Customer. + +11.5 Effects of Termination. + +11.5.1 If the Agreement is terminated, then: (a) the rights granted by one party to the other will immediately cease; (b) all Fees owed by Customer to Google are immediately due upon receipt of the final electronic bill; and (c) Customer will delete the Software and any content from the Services by the termination effective date. + +11.5.2 The following will survive expiration or termination of the Agreement: Section 2 (Payment Terms), Section 3.2 (License Requirements and Restrictions), Section 4.5 (Data Use, Protection, and Privacy), Section 6 (Intellectual Property; Feedback), Section 10 (Confidential Information), Section 11.5 (Effects of Termination), Section 14 (Disclaimer), Section 15 (Indemnification), Section 16 (Limitation of Liability), Section 19 (Miscellaneous), and Section 20 (Definitions). +12. Publicity. + +Customer may state publicly that it is a customer of the Services, consistent with the Trademark Guidelines. If Customer wants to display Google Brand Features in connection with its use of the Services, Customer must obtain written permission from Google through the process specified in the Trademark Guidelines. Google may include Customer’s name or Brand Features in a list of Google customers, online or in promotional materials. Google may also verbally reference Customer as a customer of the Services. Neither party needs approval if it is repeating a public statement that is substantially similar to a previously-approved public statement. Any use of a party’s Brand Features will inure to the benefit of the party holding Intellectual Property Rights to those Brand Features. A party may revoke the other party’s right to use its Brand Features under this Section with written notice to the other party and a reasonable period to stop the use. Where applicable, Customer may use Google Maps Content in accordance with the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademarkpolicy, which will be considered “Google’s prior written consent” for the permitted uses. +13. Representations and Warranties. + +Each party represents and warrants that: (a) it has full power and authority to enter into the Agreement; and (b) it will comply with Export Control Laws and Anti-Bribery Laws applicable to its provision, receipt, or use, of the Services, as applicable. +14. Disclaimer. + + EXCEPT AS EXPRESSLY PROVIDED FOR IN THE AGREEMENT, TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, GOOGLE: (A) DOES NOT MAKE ANY WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR USE, NONINFRINGEMENT, OR ERROR-FREE OR UNINTERRUPTED USE OF THE SERVICES OR SOFTWARE; (B) MAKES NO REPRESENTATION ABOUT CONTENT OR INFORMATION ACCESSIBLE THROUGH THE SERVICES; AND (C) WILL ONLY BE REQUIRED TO PROVIDE THE REMEDIES EXPRESSLY STATED IN THE SLA FOR FAILURE TO PROVIDE THE SERVICES. GOOGLE MAPS CORE SERVICES ARE PROVIDED FOR PLANNING PURPOSES ONLY. INFORMATION FROM THE GOOGLE MAPS CORE SERVICES MAY DIFFER FROM ACTUAL CONDITIONS, AND MAY NOT BE SUITABLE FOR THE CUSTOMER APPLICATION. CUSTOMER MUST EXERCISE INDEPENDENT JUDGMENT WHEN USING THE SERVICES TO ENSURE THAT THE CUSTOMER APPLICATION IS SAFE AND SUITABLE FOR USE WITH GOOGLE MAPS. +15. Indemnification. + +15.1 By Customer. Unless prohibited by applicable law, Customer will defend Google and its Affiliates and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from (a) any Customer Indemnified Materials or (b) Customer’s or an End User’s use of the Services in violation of the Agreement. + +15.2 By Google. Google will defend Customer and its Affiliates participating under the Agreement (“Customer Indemnified Parties”), and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from an allegation that Customer Indemnified Parties' use in accordance with the Agreement of Google Indemnified Materials infringes the third party's Intellectual Property Rights. + +15.3 Exclusions. This Section 15 will not apply to the extent the underlying allegation arises from (a) the indemnified party’s breach of the Agreement or (b) a combination of the indemnifying party’s technology or Brand Features with materials not provided by the indemnifying party, unless the combination is required by the Agreement. + +15.4 Conditions. Sections 15.1 and 15.2 will apply only to the extent: + +(a) The indemnified party has promptly notified the indemnifying party in writing of any Allegation(s) that preceded the Third-Party Legal Proceeding and cooperates reasonably with the indemnifying party to resolve the Allegation(s) and Third-Party Legal Proceeding. If breach of this Section 15.4(a) prejudices the defense of the Third-Party Legal Proceeding, the indemnifying party’s obligations under Section 15.1 or 15.2 (as applicable) will be reduced in proportion to the prejudice. + +(b) The indemnified party tenders sole control of the indemnified portion of the Third-Party Legal Proceeding to the indemnifying party, subject to the following: (i) the indemnified party may appoint its own non-controlling counsel, at its own expense; and (ii) any settlement requiring the indemnified party to admit liability, pay money, or take (or refrain from taking) any action, will require the indemnified party’s prior written consent, not to be unreasonably withheld, conditioned, or delayed. + +15.5 Remedies. + +(a) If Google reasonably believes the Services might infringe a third party’s Intellectual Property Rights, then Google may, at its sole option and expense: (i) procure the right for Customer to continue using the Services; (ii) modify the Services to make them non-infringing without materially reducing their functionality; or (iii) replace the Services with a non-infringing, functionally equivalent alternative. + +(b) If Google does not believe the remedies in Section 15.5(a) are commercially reasonable, then Google may suspend or terminate Customer’s use of the impacted Services. + +15.6 Sole Rights and Obligations. Without affecting either party’s termination rights, this Section 15 states the parties’ sole and exclusive remedy under this Agreement for any third party's Intellectual Property Rights Allegations and Third-Party Legal Proceedings covered by this Section 15 (Indemnification). +16. Limitation of Liability. + +16.1 Limitation on Indirect Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, WILL NOT BE LIABLE UNDER THIS AGREEMENT FOR LOST REVENUES OR PROFITS (WHETHER DIRECT OR INDIRECT), INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES, EVEN IF THE PARTY OR LICENSOR, AS APPLICABLE, KNEW OR SHOULD HAVE KNOWN THAT SUCH DAMAGES WERE POSSIBLE AND EVEN IF DIRECT DAMAGES DO NOT SATISFY A REMEDY. + +16.2 Limitation on Amount of Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, MAY NOT BE HELD LIABLE UNDER THIS AGREEMENT FOR MORE THAN THE AMOUNT PAID BY CUSTOMER TO GOOGLE UNDER THIS AGREEMENT DURING THE TWELVE MONTHS BEFORE THE EVENT GIVING RISE TO LIABILITY. + +16.3 Exceptions to Limitations. These limitations of liability do not apply to breaches of confidentiality obligations, violations of a party’s Intellectual Property Rights by the other party, or Customer's payment obligations. +17. Advertising. + + Customer may configure the Service in its sole discretion to either display or not display advertisements served by Google. +18. U.S. Federal Agency Users. + +The Services were developed solely at private expense and are commercial computer software and related documentation within the meaning of the applicable Federal Acquisition Regulations and their agency supplements. +19. Miscellaneous. + +19.1 Notices. All notices must be in writing and addressed to the other party’s legal department and primary point of contact. The email address for notices being sent to Google’s Legal Department is legal-notices@google.com. Notice will be treated as given on receipt as verified by written or automated receipt or by electronic log (as applicable). + +19.2 Assignment. Neither party may assign any part of this Agreement without the written consent of the other, except to an Affiliate where: (a) the assignee has agreed in writing to be bound by the terms of this Agreement; (b) the assigning party remains liable for obligations under the Agreement if the assignee defaults on them; and (c) the assigning party has notified the other party of the assignment. Any other attempt to assign is void. + +19.3 Change of Control. If a party experiences a change of Control (for example, through a stock purchase or sale, merger, or other form of corporate transaction): (a) that party will give written notice to the other party within 30 days after the change of Control; and (b) the other party may immediately terminate this Agreement any time between the change of Control and 30 days after it receives that written notice. + +19.4 Force Majeure. Neither party will be liable for failure or delay in performance to the extent caused by circumstances beyond its reasonable control, including acts of God, natural disasters, terrorism, riots, or war. + +19.5 Subcontracting. Google may subcontract obligations under the Agreement but will remain liable to Customer for any subcontracted obligations. + +19.6 No Agency. This Agreement does not create any agency, partnership or joint venture between the parties. + +19.7 No Waiver. Neither party will be treated as having waived any rights by not exercising (or delaying the exercise of) any rights under this Agreement. + +19.8 Severability. If any term (or part of a term) of this Agreement is invalid, illegal, or unenforceable, the rest of the Agreement will remain in effect. + +19.9 No Third-Party Beneficiaries. This Agreement does not confer any benefits on any third party unless it expressly states that it does. + +19.10 Equitable Relief. Nothing in this Agreement will limit either party’s ability to seek equitable relief. + +19.11 Governing Law. + +19.11.1 For U.S. City, County, and State Government Entities. If Customer is a U.S. city, county or state government entity, then the Agreement will be silent regarding governing law and venue. + +19.11.2 For U.S. Federal Government Entities. If Customer is a U.S. federal government entity then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY THE LAWS OF THE UNITED STATES OF AMERICA, EXCLUDING ITS CONFLICT OF LAWS RULES. SOLELY TO THE EXTENT PERMITTED BY FEDERAL LAW: (I) THE LAWS OF THE STATE OF CALIFORNIA (EXCLUDING CALIFORNIA’S CONFLICT OF LAWS RULES) WILL APPLY IN THE ABSENCE OF APPLICABLE FEDERAL LAW; AND (II) FOR ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES, THE PARTIES CONSENT TO PERSONAL JURISDICTION IN, AND THE EXCLUSIVE VENUE OF, THE COURTS IN SANTA CLARA COUNTY, CALIFORNIA. + +19.11.3 For All Other Entities. If Customer is any entity not listed in Section 19.11.1 or 19.11.2 then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY CALIFORNIA LAW, EXCLUDING THAT STATE’S CONFLICT OF LAWS RULES, AND WILL BE LITIGATED EXCLUSIVELY IN THE FEDERAL OR STATE COURTS OF SANTA CLARA COUNTY, CALIFORNIA, USA; THE PARTIES CONSENT TO PERSONAL JURISDICTION IN THOSE COURTS. + +19.12 Amendments. Except as stated in Section 1.5.2 (Modifications; To the Agreement), any amendment must be in writing, signed by both parties, and expressly state that it is amending this Agreement. + +19.13 Entire Agreement. This Agreement sets out all terms agreed between the parties and supersedes all other agreements between the parties relating to its subject matter. In entering into this Agreement, neither party has relied on, and neither party will have any right or remedy based on, any statement, representation or warranty (whether made negligently or innocently), except those expressly stated in this Agreement. The terms located at any URL referenced in this Agreement and the Documentation are incorporated by reference into the Agreement. After the Effective Date, Google may provide an updated URL in place of any URL in this Agreement. + +19.14 Conflicting Terms. If there is a conflict between the documents that make up this Agreement, the documents will control in the following order: the Agreement, and the terms at any URL. + +19.15 Conflicting Translations. If this Agreement is translated into any other language, and there is a discrepancy between the English text and the translated text, the English text will govern. +20. Definitions. + +"Account" means Customer’s Google Account. + +"Admin Console" means the online console(s) and tool(s) provided by Google to Customer for administering the Services. + +"Affiliate" means any entity that directly or indirectly Controls, is Controlled by, or is under common Control with a party. + +"Allegation" means an unaffiliated third party’s allegation. + +“Anti-Bribery Laws” means all applicable commercial and public anti-bribery laws, (for example, the U.S. Foreign Corrupt Practices Act of 1977 and the UK Bribery Act 2010), which prohibit corrupt offers of anything of value, either directly or indirectly, to anyone, including government officials, to obtain or keep business or to secure any other improper commercial advantage. “Government officials” include any government employee; candidate for public office; and employee of government-owned or government-controlled companies, public international organizations, and political parties. + +"AUP" or "Acceptable Use Policy" means the then-current Acceptable Use Policy for the Services at: https://cloud.google.com/maps-platform/terms/aup/. + +"Brand Features" means the trade names, tradmarks, service marks, logos, domain names, and other distinctive brand features of each party, respectively, as secured by such party. + +"Committed Purchase(s)" has the meaning provided in the Service Specific Terms. + +"Confidential Information" means information that one party (or an Affiliate) discloses to the other party under this Agreement, and which is marked as confidential or would normally under the circumstances be considered confidential information. It does not include information that is independently developed by the recipient, is rightfully given to the recipient by a third party without confidentiality obligations, or becomes public through no fault of the recipient. + +"Control" means control of greater than fifty percent of the voting rights or equity interests of a party. + +"Customer Application" means any web domain or application (including features) listed in the Admin Console. + +"Customer End User" or "End User" means an individual or entity that Customer permits to use the Services or Customer Application(s). + +“Customer Indemnified Materials” means the Customer Application and Customer Brand Features. + +"Documentation" means the Google documentation (as may be updated) in the form generally made available by Google for use with the Services at https://developers.google.com/maps/. + +"Emergency Security Issue" means either: (a) Customer’s or Customer End Users’ use of the Services in violation of the AUP, which could disrupt: (i) the Services; (ii) other customers’ or their customer end users’ use of the Services; or (iii) the Google network or servers used to provide the Services; or (b) unauthorized third party access to the Services. + +"Europe" or "European" means European Economic Area or Switzerland. + +“Export Control Laws” means all applicable export and re-export control laws and regulations, including any applicable munitions- or defense-related regulations (for example, the International Traffic in Arms Regulations maintained by the U.S. Department of State). + +"Fee Accrual Period" means a calendar month or another period specified by Google in the Admin Console. + +"Fee Threshold" means the threshold (as may be updated), as applicable for certain Services, as set out in the Admin Console. + +“Feedback” means feedback or suggestions about the Services provided to Google by Customer. + +"Fees" means the applicable fees for each Service and any applicable Taxes. The Fees for each Service are available at https://cloud.google.com/maps-platform/pricing/sheet/ (or other such URL provided by Google). + +"Google Indemnified Materials" means Google's technology used to provide the Services (excluding any open source software) and Google's Brand Features. + +"Google Maps Content" means any content provided through the Services (whether created by Google or its third-party licensors), including map and terrain data, imagery, traffic data, and places data (including business listings). + +"High Risk Activities" means activities where the use or failure of the Services could lead to death, personal injury, or environmental damage, including (a) emergency response services; (b) autonomous and semi-autonomous vehicle or drone control; (c) vessel navigation; (d) aviation; (e) air traffic control; (f) nuclear facilities operation; (g) precision targeting. + +"HIPAA" means the Health Insurance Portability and Accountability Act of 1996 as it may be amended, and any regulations issued under it. + +"Indemnified Liabilities" means any (a) settlement amounts approved by the indemnifying party; and (b) damages and costs finally awarded against the indemnified party and its Affiliates by a court of competent jurisdiction. + +"including" means "including but not limited to". + +"Intellectual Property Rights" means current and future worldwide rights under patent, copyright, trade secret, trademark, and moral rights laws, and other similar rights. + +"Legal Process" means a data disclosure request made under law, governmental regulation, court order, subpoena, warrant, governmental regulatory or agency request, or other valid legal authority, legal procedure, or similar process. + +"Package Purchase" has the meaning set out in the Service Specific Terms. + +"Personal Data" has the meaning provided in the General Data Protection Regulation (EU) 2016/679 of the European Parliament and of the Council of April 27, 2016. + +"Prohibited Territory" means the countries listed at https://cloud.google.com/maps-platform/terms/maps-prohibited-territories/. + +"Project" means a Customer-selected grouping of Google Maps Core Services resources for a particular Customer Application. + +"Services" and "Google Maps Core Services" means the services described at https://cloud.google.com/maps-platform/terms/maps-services/. The Services include the Google Maps Content. + +"Service Specific Terms" means the terms specific to one or more Services set forth here: https://cloud.google.com/maps-platform/terms/maps-service-terms/. + +"SLA" or "Service Level Agreement" means each of the then-current service level agreements at: https://cloud.google.com/maps-platform/terms/sla/. + +"Software" means any downloadable tools, software development kits or other such proprietary computer software provided by Google in connection with the Services, which may be downloaded by Customer, and any updates Google may make to such Software. + +"Taxes" means any duties, customs fees, or taxes (other than Google’s income tax) associated with the purchase of the Services, including any related penalties or interest. + +“Technical Support Services” or "TSS" means the technical support service provided by Google to Customer under the Technical Support Services Guidelines. + +“Technical Support Services Guidelines” or "TSS Guidelines" means the then-current technical support service guidelines at https://cloud.google.com/maps-platform/terms/tssg/. + +"Term" has the meaning stated in Section 1.6 of this Agreement. + +“Terms URL” means the following URL set forth here: https://cloud.google.com/maps-platform/terms/. + +"Third-Party Legal Proceeding" means any formal legal proceeding filed by an unaffiliated third party before a court or government tribunal (including any appellate proceeding). + +"Trademark Guidelines" means (a) Google’s Brand Terms and Conditions, located at: https://www.google.com/permissions/trademark/brand-terms.html; and (b) the “Use of Trademarks” section of the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademark policy. + +“URL Terms” means the following, which will control in the following order if there is a conflict: + +(a) the AUP; + +(b) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; + +(c) the Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html; + +(d) the Service Specific Terms; + +(e) the SLA; and + +(f) the Technical Support Services Guidelines. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-06-07.yml b/src/licensedcode/data/licenses/google-maps-tos-2018-06-07.yml new file mode 100644 index 00000000000..f925fdc7f56 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-06-07.yml @@ -0,0 +1,35 @@ +key: google-maps-tos-2018-06-07 +short_name: Google Maps Platform ToS 2018-06-07 +name: Google Maps Platform Terms of Service 2018-06-07 +category: Proprietary Free +owner: Google +homepage_url: https://cloud.google.com/maps-platform/terms +spdx_license_key: LicenseRef-scancode-google-maps-tos-2018-06-07 +text_urls: + - https://cloud.google.com/maps-platform/terms/index-20180607 +minimum_coverage: 90 +ignorable_authors: + - the U.S. Department + - the United States Department of State +ignorable_emails: + - legal-notices@google.com +ignorable_urls: + - https://cloud.google.com/maps-platform/pricing/sheet/ + - https://cloud.google.com/maps-platform/terms + - https://cloud.google.com/maps-platform/terms/aup + - https://cloud.google.com/maps-platform/terms/maps-controller-terms + - https://cloud.google.com/maps-platform/terms/maps-deprecation + - https://cloud.google.com/maps-platform/terms/maps-prohibited-territories + - https://cloud.google.com/maps-platform/terms/maps-service-terms + - https://cloud.google.com/maps-platform/terms/maps-services + - https://cloud.google.com/maps-platform/terms/sla + - https://cloud.google.com/maps-platform/terms/tssg + - https://developers.google.com/maps + - https://www.google.com/about/company/user-consent-policy.html + - https://www.google.com/dmca.html + - https://www.google.com/help/legalnotices_maps.html + - https://www.google.com/permissions/geoguidelines.html#geotrademark + - https://www.google.com/permissions/geoguidelines.html#geotrademarkpolicy + - https://www.google.com/permissions/trademark/brand-terms.html + - https://www.google.com/policies/privacy + diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-07-09.LICENSE b/src/licensedcode/data/licenses/google-maps-tos-2018-07-09.LICENSE new file mode 100644 index 00000000000..6479c1a8a05 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-07-09.LICENSE @@ -0,0 +1,360 @@ +Google Maps Platform Terms of Service + +Last modified: July 9, 2018 + +This Google Maps Platform License Agreement takes effect on July 16, 2018. + +If you are currently using the Google Maps Standard Plan, this Google Maps Platform License Agreement will govern your use of the Google Maps Platform as of July 16, 2018. The current Google Maps Platform Terms of Service, which govern your use of the Google Maps Platform until July 16, 2018, is available at https://developers.google.com/maps/terms. + +Google Maps Platform License Agreement + +This Google Maps Platform License Agreement (the "Agreement") is made and entered into between Google and the entity or person agreeing to these terms ("Customer"). "Google" means either (i) Google Commerce Limited (“GCL”), a company incorporated under the laws of Ireland, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer has a billing address in the EU and has chosen “non-business” as the tax status/setting for its Google account, (ii) Google Ireland Limited, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer's billing address is in any country within Europe, the Middle East, or Africa ("EMEA"), (iii) Google Asia Pacific Pte. Ltd., with offices at 70 Pasir Panjang Road, #03-71, Mapletree Business City II Singapore 117371, if Customer's billing address is in any country within the Asia Pacific region ("APAC") except as provided below for Customers with the billing address in Japan or Australia, (iv) Google Cloud Japan G.K., with offices at Roppongi Hills Mori Tower, 10-1, Roppongi 6-chome, Minato-ku Tokyo, if Customer’s billing address is in Japan, (v) Google Australia Pty Ltd., with offices at Level 5, 48 Pirrama Road, Pyrmont, NSW 2009 Australia, if Customer’s billing address is in Australia, or (vi) Google LLC, with offices at 1600 Amphitheatre Parkway, Mountain View, California 94043, if Customer's billing address is in any country in the world other than those in EMEA and APAC. + +This Agreement is effective as of the date Customer clicks to accept the Agreement, or enters into a Reseller Agreement if purchasing through a Reseller (the "Effective Date"). If you are accepting on behalf of Customer, you represent and warrant that: (i) you have full legal authority to bind Customer to this Agreement; (ii) you have read and understand this Agreement; and (iii) you agree, on behalf of Customer, to this Agreement. If you do not have the legal authority to bind Customer, please do not click to accept. This Agreement governs Customer's access to and use of the Services. + +For an offline variant of this Agreement, you may contact Google for more information. +1. Provision of the Services. + +1.1 Use of the Services in Customer Applications. Google will provide the Services to Customer in accordance with the applicable SLA, and Customer may use the Google Maps Core Services in Customer Application(s) in accordance with Section 3 (License). + +1.2 Admin Console; Projects; API Keys. Customer will administer the Services through the online Admin Console. To access the Services, Customer must create Project(s) and use its API key(s) in accordance with the Documentation. + +1.3 Accounts. Customer must have an Account to access the Admin Console through which Customer may administer its use of the Services. Customer is responsible for: (a) the information it provides in connection with the Account; (b) maintaining the confidentiality and security of the Account and associated passwords; and (c) any use of its Account. + +1.4 Customer Domains and Applications. Customer must list in the Admin Console each authorized domain and application that uses the Services. Customer is responsible for ensuring that only authorized domains and applications use the Services. + +1.5 New Features and Services. Google may: (a) make new features or functionality available through the Services and (b) add new services to the "Services" definition (by adding them at the URL stated under that definition). Customer’s use of new features or functionality may be contingent on Customer’s agreement to additional terms applicable to the new feature or functionality. + +1.6 Modifications. + +1.6.1 To the Services. Google may make changes to the Services, subject to Section 9 (Deprecation Policy), which may include adding, updating, or discontinuing any Services or portion or feature(s) of the Services. Google will notify Customer of any material change to the Services. + +1.6.2. To the Agreement. Google may make changes to this Agreement, including pricing (and any linked documents). Unless otherwise noted by Google, material changes to the Agreement will become effective 30 days after notice is given, except if the changes apply to new functionality in which case they will be effective immediately. Google will provide at least 90 days advance notice for materially adverse changes to any SLAs by: (a) sending an email to Customer’s primary point of contact; (b) posting a notice in the Admin Console; or (c) posting a notice to the applicable SLA webpage. If Customer does not agree to the revised Agreement, Customer should stop using the Services. Google will post any modification to this Agreement to the Terms URL. +2. Payment Terms. + +2.1 Free Quota. Certain Services are provided to Customer without charge up to the Fee Threshold, as applicable. + +2.2 Online Billing. At the end of the applicable Fee Accrual Period, Google will issue an electronic bill to Customer for all charges accrued above the Fee Threshold based on (a) Customer’s use of the Services during the previous Fee Accrual Period; (b) any Committed Purchases selected; and (c) any Package Purchases selected. For use above the Fee Threshold, Customer will be responsible for all Fees up to the amount set in the Account and will pay all Fees in the currency set forth in the invoice. If Customer elects to pay by credit card, debit card, or other non-invoiced form of payment, Google will charge (and Customer will pay) all Fees immediately at the end of the Fee Accrual Period. If Customer elects to pay by invoice (and Google agrees), all Fees are due as stated in the invoice. Customer’s obligation to pay all Fees is non-cancellable. Google's measurement of Customer’s use of the Services is final. Google has no obligation to provide multiple bills. Payments made via wire transfer must include the bank information provided by Google. If Customer has entered into the Agreement with GCL, Google may collect payments via Google Payment Limited, a company incorporated in England and Wales with offices at Belgrave House, 76 Buckingham Palace Road, London, SW1W 9TQ, United Kingdom. + +2.3 Taxes. + +2.3.1 Customer is responsible for any Taxes, and Customer will pay Google for the Services without any reduction for Taxes. If Google is obligated to collect or pay Taxes, the Taxes will be invoiced to Customer, unless Customer provides Google with a timely and valid tax exemption certificate authorized by the appropriate taxing authority. In some states the sales tax is due on the total purchase price at the time of sale and must be invoiced and collected at the time of the sale. If Customer is required by law to withhold any Taxes from its payments to Google, Customer must provide Google with an official tax receipt or other appropriate documentation to support such withholding. If under the applicable tax legislation the Services are subject to local VAT and the Customer is required to make a withholding of local VAT from amounts payable to Google, the value of Services calculated in accordance with the above procedure will be increased (grossed up) by the Customer for the respective amount of local VAT and the grossed up amount will be regarded as a VAT inclusive price. Local VAT amount withheld from the VAT-inclusive price will be remitted to the applicable local tax entity by the Customer and Customer will ensure that Google will receives payment for its services for the net amount as would otherwise be due (the VAT inclusive price less the local VAT withheld and remitted to applicable tax authority). + +2.3.2 If required under applicable law, Customer will provide Google with applicable tax identification information that Google may require to ensure its compliance with applicable tax regulations and authorities in applicable jurisdictions. Customer will be liable to pay (or reimburse Google for) any taxes, interest, penalties or fines arising out of any mis-declaration by the Customer. + +2.4 Invoice Disputes & Refunds. Any invoice disputes must be submitted before the payment due date. If the parties determine that certain billing inaccuracies are attributable to Google, Google will not issue a corrected invoice, but will instead issue a credit memo specifying the incorrect amount in the affected invoice. If the disputed invoice has not yet been paid, Google will apply the credit memo amount to the disputed invoice and Customer will be responsible for paying the resulting net balance due on that invoice. To the fullest extent permitted by law, Customer waives all claims relating to Fees unless claimed within 60 days after charged (this does not affect any Customer rights with its credit card issuer). Refunds (if any) are at the discretion of Google and will only be in the form of credit for the Services. Nothing in this Agreement obligates Google to extend credit to any party. + +2.5 Delinquent Payments; Suspension. Late payments may bear interest at the rate of 1.5% per month (or the highest rate permitted by law, if less) from the payment due date until paid in full. Customer will be responsible for all reasonable expenses (including attorneys’ fees) incurred by Google in collecting such delinquent amounts. If Customer is late on payment for the Services, Google may suspend the Services or terminate the Agreement for breach under Section 11.2 (Termination for Breach). + +2.6 No Purchase Order Number Required. Google is not required to provide a purchase order number on Google’s invoice (or otherwise). +3. License. + +3.1 License Grant. Subject to this Agreement's terms, during the Term, Google grants to Customer a non-exclusive, non-transferable, non-sublicensable, license to use the Services in Customer Application(s), which may be: (a) fee-based or non-fee-based; (b) public/external or private/internal; (c) business-to-business or business-to-consumer; or (d) asset tracking. + +3.2 License Requirements and Restrictions. The following are conditions of the license granted in Section 3.1. In this Section 3.2, the phrase “Customer will not” means “Customer will not, and will not permit a third party to”. + +3.2.2 General Restrictions. Unless Google specifically agrees in writing, Customer will not: (a) copy, modify, create a derivative work of, reverse engineer, decompile, translate, disassemble, or otherwise attempt to extract any or all of the source code (except to the extent such restriction is expressly prohibited by applicable law); (b) sublicense, transfer, or distribute any of the Services; (c) sell, resell, or otherwise make the Services available as a commercial offering to a third party; or (d) access or use the Services: (i) for High Risk Activities; (ii) in a manner intended to avoid incurring Fees; (iii) for activities that are subject to the International Traffic in Arms Regulations (ITAR) maintained by the United States Department of State; (iv) on behalf of or for the benefit of any entity or person who is legally prohibited from using the Services; or (v) to transmit, store, or process Protected Health Information (as defined in and subject to HIPAA). + +3.2.3 Requirements for Using the Services. + +(a) End User Terms and Privacy Policy. Customer’s End User terms of service will state that End Users’ use of Google Maps is subject to the then-current Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html and Google Privacy Policy at https://www.google.com/policies/privacy/. + +(b) Attribution. Customer will display all attribution that (i) Google provides through the Services (including branding, logos, and copyright and trademark notices); or (ii) is specified in the Maps Service Specific Terms. Customer will not modify, obscure, or delete such attribution. + +(c) Review of Customer Applications. At Google’s request, Customer will submit Customer Application(s) and Project(s) to Google for review to ensure compliance with the Agreement (including the AUP). + +3.2.4 Restrictions Against Misusing the Services. + +(a) No Scraping. Customer will not extract, export, or scrape Google Maps Content for use outside the Services. For example, Customer will not:(i) pre-fetch, cache, index, or store Google Maps Content for more than 30 days; (ii) bulk download geocodes; or (iii) copy business names, addresses, or user reviews. + +(b) No Creating Content From Google Maps Content. Customer will not create content based on Google Maps Content, including tracing, digitizing, or creating other datasets based on Google Maps Content. + +(c) No Re-Creating Google Products or Features. Customer will not use the Services to create a product or service with features that are substantially similar to or that re-create the features of another Google product or service. Customer’s product or service must contain substantial, independent value and features beyond the Google products or services. For example, Customer will not: (i) re-distribute the Google Maps Core Services or pass them off as if they were Customer’s services; (ii) create a substitute of the Google Maps Core Services, Google Maps, or Google Maps mobile apps, or their features; (iii) use the Google Maps Core Services in a listings or directory service or to create or augment an advertising product; (iv) combine data from the Directions API, Geolocation API, and Maps SDK for Android to create real-time navigation functionality substantially similar to the functionality provided by the Google Maps for Android mobile app. + +(d) No Use With Non-Google Maps. Customer will not use the Google Maps Core Services in a Customer Application that contains a non-Google map. For example, Customer will not (i) display Places listings on a non-Google map, or (ii) display Street View imagery and non-Google maps in the same Customer Application. + +(e) No Circumventing Fees. Customer will not circumvent the applicable Fees. For example, Customer will not create multiple billing accounts or Projects to avoid incurring Fees; prevent Google from accurately calculating Customer’s Service usage levels; abuse any free Service quotas; or offer access to the Services under a “time-sharing” or “service bureau” model. + +(f) No Use in Prohibited Territories. Customer will not distribute or market in a Prohibited Territory any Customer Application(s) that use the Google Maps Core Services. + +(g) No Use in Embedded Vehicle Systems. Customer will not use the Google Maps Core Services in connection with any Customer Application or device embedded in a vehicle. For example, Customer will not create a Customer Application that (i) is embedded in an in-dashboard automotive infotainment system; and (ii) allows End Users to request driving directions from the Directions API. + +(h) No Modifying Search Results Integrity. Customer will not modify any of the Service’s search results. + +(i) No Use for High Risk Activities. Customer will not use the Google Maps Core Services for High Risk Activities. + +3.2.5 Benchmarking. Customer may not publicly disclose directly or through a third party the results of any comparative or compatibility testing, benchmarking, or evaluation of the Services (each, a “Test”), unless the disclosure includes all information necessary for Google or a third party to replicate the Test. If Customer conducts, or directs a third party to conduct, a Test of the Services and publicly discloses the results directly or through a third party, then Google (or a Google directed third party) may conduct Tests of any publicly available cloud products or services provided by Customer and publicly disclose the results of any such Test (which disclosure will include all information necessary for Customer or a third party to replicate the Test). +4. Customer Obligations. + +4.1 Customer Domains and Applications. Customer must list in the Admin Console each authorized domain and application that uses the Services. Customer is responsible for ensuring that only authorized domains and applications use the Services. + +4.2 Compliance. Customer will: (a) ensure that Customer’s and its End Users’ use of the Services complies with the Agreement, including the applicable Services’ AUP and URL Terms; and (b) use commercially reasonable efforts to prevent, promptly notify Google of, and terminate any unauthorized use of or access to its Account(s) or the Services. + +4.3 Documentation. Google may provide Documentation for Customer’s use of the Services. The Documentation may specify restrictions (e.g. attribution or HTML restrictions) on how the Services may be used and Customer will comply with any such restrictions specified. + +4.4 Copyright Policy. Google provides information to help copyright holders manage their intellectual property online, but Google cannot determine whether something is being used legally or not without their input. Google responds to notices of alleged copyright infringement and terminates accounts of repeat infringers according to applicable copyright laws including in particular the process set out in the U.S. Digital Millennium Copyright Act. If Customer thinks somebody is violating Customer’s or Customer End Users’ copyrights and wants to notify Google, Customer can find information about submitting notices, and Google's policy about responding to notices at https://www.google.com/dmca.html. + +4.5 Data Use, Protection, and Privacy. + +4.5.1 Data Use and Retention. To provide the Services through the Customer Application(s), Google must receive and collect data from End Users and Customer, including search terms, IP addresses, and latitude/longitude coordinates. Customer acknowledges and agrees that Google and its Affiliates may use and retain this data to provide and improve Google products and services, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. + +4.5.2 European Data Protection Terms. Google and Customer agree to the Google Maps Controller-Controller Data Protection Terms at https://cloud.google.com/maps-platform/terms/maps-controller-terms. + +4.5.3 General Privacy Requirements. + +(a) End User Privacy. Customer’s use of the Services in the Customer Application will comply with applicable privacy laws, including laws regarding Services that store and access Cookies on End Users’ devices. If Customer has End Users in the European Economic Area, Customer will comply with the EU End User Consent Policy at https://www.google.com/about/company/user-consent-policy.html. + +(b) End User Personal Data. Through the normal functioning of the Google Maps Core Services, End Users provide device identifiers and Personal Data directly to Google, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. However, Customer acknowledges and agrees that Customer will not provide these categories of data to Google. + +(c) End User Location Privacy Requirements. To safeguard End Users’ location privacy, Customer will ensure that the Customer Application(s): (i) notify End Users in advance of (y) the type(s) of data that Customer intends to collect from the End Users or the End Users’ devices, and (z) the combination and use of End User's location with any other data provider's data; and (ii) will not obtain or cache any End User's location except with the End User's express, prior, revocable consent. +5. Suspension. + +5.1 For License Restrictions Violations. Google may Suspend the Services without prior notice if Customer breaches Section 3.2 (License Requirements and Restrictions). + +5.2 For AUP Violations or Emergency Security Issues. Google may also Suspend Services as described in Subsections 5.2.1 (AUP Violations) and 5.2.2 (Emergency Security Issues). Any Suspension under those Sections will be to the minimum extent and for the shortest duration required to: (a) prevent or terminate the offending use, (b) prevent or resolve the Emergency Security Issue, or (c) comply with applicable law. + +5.2.1 AUP Violations. If Google becomes aware that Customer’s or any End User’s use of the Services violates the AUP, Google will give Customer notice of such violation by requesting that Customer correct the violation. If Customer fails to correct such violation within 24 hours, or if Google is otherwise required by applicable law to take action, then Google may Suspend all or part of Customer’s use of the Services. + +5.2.2 Emergency Security Issues. Google may immediately Suspend Customer’s use of the Services if (a) there is an Emergency Security Issue or (b) Google is required to Suspend such use immediately to comply with applicable law. At Customer’s request, unless prohibited by applicable law, Google will notify Customer of the basis for the Suspension as soon as is reasonably possible. + +5.3 For Alleged Third-Party Intellectual Property Rights Infringement. If the Customer Application is alleged to infringe a third party’s Intellectual Property Rights, Google may require Customer to suspend distributing or selling the Customer Application on 30 days’ written notice until such allegation is fully resolved. In any event, this Section 5.3 does not reduce Customer’s obligations under Section 15 (Indemnification). +6. Intellectual Property Rights; Feedback. + +6.1 Intellectual Property Rights. Except as expressly stated in this Agreement, this Agreement does not grant either party any rights, implied or otherwise, to the other’s content or any of the other’s intellectual property. As between the parties, Customer owns all Intellectual Property Rights in the Customer Application, and Google owns all Intellectual Property Rights in the Services and Software. + +6.2 Customer Feedback. If Customer provides Google Feedback about the Services, then Google may use that information without obligation to Customer, and Customer irrevocably assigns to Google all right, title, and interest in that Feedback. +7. Third Party Legal Notices and License Terms. + +Certain components of the Services (including open source software) are subject to third-party copyright and other Intellectual Property Rights, as specified in: (a) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and (b) separate, publicly-available third-party license terms, which Google will provide to Customer on request. +8. Technical Support Services. + +8.1 By Google. Google will provide Maps Technical Support Services to Customer in accordance with the Maps Technical Support Services Guidelines. + +8.2 By Customer. Customer is responsible for technical support of its Customer Applications and Projects. +9. Deprecation Policy. + +9.1 Google will notify Customer at least 12 months before making material discontinuance(s) or backwards incompatible change(s) to the Services, unless Google reasonably determines that: (a) Google cannot do so by law or by contract (including if there is a change in applicable law or contract) or (b) continuing to provide the Services could create a (i) security risk or (ii) substantial economic or technical burden. + +9.2 Section 9.1 applies to the Services listed at https://cloud.google.com/maps-platform/terms/maps-deprecation/. If Google deprecates any Services that are not listed at the above URL, Google will use commercially reasonable efforts to minimize the adverse impacts of such deprecations. +10. Confidential Information. + +10.1 Obligations. The recipient will not disclose the Confidential Information, except to Affiliates, employees, agents or professional advisors who need to know it and who have agreed in writing (or in the case of professional advisors are otherwise bound) to keep it confidential. Subject to Section 10.2 (Required Disclosure), the recipient will ensure that those people and entities use the received Confidential Information only to exercise rights and fulfill obligations under this Agreement, while using reasonable care to keep it confidential. + +10.2 Required Disclosure. The recipient may disclose the other party’s Confidential Information to the extent required by applicable Legal Process; provided that the recipient uses commercially reasonable efforts to: (a) promptly notify the other party of such disclosure before disclosing; and (b) comply with the other party’s reasonable requests regarding its efforts to oppose the disclosure. Notwithstanding the foregoing, subsections (a) and (b) above will not apply if the recipient determines that complying with (a) and (b) could: (i) result in a violation of Legal Process; (ii) obstruct a governmental investigation; and/or (iii) lead to death or serious physical harm to an individual. As between the parties, Customer is responsible for responding to all third party requests concerning its use and Customer End Users’ use of the Services. +11. Term and Termination. + +11.1 Agreement Term. The “Term” of this Agreement will begin on the Effective Date and continue until the Agreement is terminated under this Section. + +11.2 Termination for Breach. Either party may terminate this Agreement for breach if: (a) the other party is in material breach of the Agreement and fails to cure that breach within 30 days after receipt of written notice; or (b) the other party ceases its business operations or becomes subject to insolvency proceedings and the proceedings are not dismissed within 90 days. In addition, Google may terminate any, all, or any portion of the Services or Projects, if Customer meets any of the conditions in subsections (a) or (b). + +11.3 Termination for Inactivity. Google reserves the right to terminate provision of Service(s) to a Project on 30 days advance notice if, for more than 180 days, such Project (a) has not made any requests to the Services from any Customer Applications; or (b) such Project has not incurred any Fees for such Service(s). + +11.4 Termination for Convenience. Customer may stop using the Services at any time. Subject to any financial commitments expressly made by this Agreement, Customer may terminate this Agreement for its convenience at any time on prior written notice and upon termination, must cease use of the applicable Services. Google may terminate this Agreement for its convenience at any time without liability to Customer. + +11.5 Effects of Termination. + +11.5.1 If the Agreement is terminated, then: (a) the rights granted by one party to the other will immediately cease; (b) all Fees owed by Customer to Google are immediately due upon receipt of the final electronic bill; and (c) Customer will delete the Software and any content from the Services by the termination effective date. + +11.5.2 The following will survive expiration or termination of the Agreement: Section 2 (Payment Terms), Section 3.2 (License Requirements and Restrictions), Section 4.5 (Data Use, Protection, and Privacy), Section 6 (Intellectual Property; Feedback), Section 10 (Confidential Information), Section 11.5 (Effects of Termination), Section 14 (Disclaimer), Section 15 (Indemnification), Section 16 (Limitation of Liability), Section 19 (Miscellaneous), and Section 20 (Definitions). +12. Publicity. + +Customer may state publicly that it is a customer of the Services, consistent with the Trademark Guidelines. If Customer wants to display Google Brand Features in connection with its use of the Services, Customer must obtain written permission from Google through the process specified in the Trademark Guidelines. Google may include Customer’s name or Brand Features in a list of Google customers, online or in promotional materials. Google may also verbally reference Customer as a customer of the Services. Neither party needs approval if it is repeating a public statement that is substantially similar to a previously-approved public statement. Any use of a party’s Brand Features will inure to the benefit of the party holding Intellectual Property Rights to those Brand Features. A party may revoke the other party’s right to use its Brand Features under this Section with written notice to the other party and a reasonable period to stop the use. Where applicable, Customer may use Google Maps Content in accordance with the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademarkpolicy, which will be considered “Google’s prior written consent” for the permitted uses. +13. Representations and Warranties. + +Each party represents and warrants that: (a) it has full power and authority to enter into the Agreement; and (b) it will comply with Export Control Laws and Anti-Bribery Laws applicable to its provision, receipt, or use, of the Services, as applicable. +14. Disclaimer. + + EXCEPT AS EXPRESSLY PROVIDED FOR IN THE AGREEMENT, TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, GOOGLE: (A) DOES NOT MAKE ANY WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR USE, NONINFRINGEMENT, OR ERROR-FREE OR UNINTERRUPTED USE OF THE SERVICES OR SOFTWARE; (B) MAKES NO REPRESENTATION ABOUT CONTENT OR INFORMATION ACCESSIBLE THROUGH THE SERVICES; AND (C) WILL ONLY BE REQUIRED TO PROVIDE THE REMEDIES EXPRESSLY STATED IN THE SLA FOR FAILURE TO PROVIDE THE SERVICES. GOOGLE MAPS CORE SERVICES ARE PROVIDED FOR PLANNING PURPOSES ONLY. INFORMATION FROM THE GOOGLE MAPS CORE SERVICES MAY DIFFER FROM ACTUAL CONDITIONS, AND MAY NOT BE SUITABLE FOR THE CUSTOMER APPLICATION. CUSTOMER MUST EXERCISE INDEPENDENT JUDGMENT WHEN USING THE SERVICES TO ENSURE THAT THE CUSTOMER APPLICATION IS SAFE FOR END USERS AND OTHER THIRD PARTIES. +15. Indemnification. + +15.1 By Customer. Unless prohibited by applicable law, Customer will defend Google and its Affiliates and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from (a) any Customer Indemnified Materials or (b) Customer’s or an End User’s use of the Services in violation of the Agreement. + +15.2 By Google. Google will defend Customer and its Affiliates participating under the Agreement (“Customer Indemnified Parties”), and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from an allegation that Customer Indemnified Parties' use in accordance with the Agreement of Google Indemnified Materials infringes the third party's Intellectual Property Rights. + +15.3 Exclusions. This Section 15 will not apply to the extent the underlying allegation arises from (a) the indemnified party’s breach of the Agreement or (b) a combination of the indemnifying party’s technology or Brand Features with materials not provided by the indemnifying party, unless the combination is required by the Agreement. + +15.4 Conditions. Sections 15.1 and 15.2 will apply only to the extent: + +(a) The indemnified party has promptly notified the indemnifying party in writing of any Allegation(s) that preceded the Third-Party Legal Proceeding and cooperates reasonably with the indemnifying party to resolve the Allegation(s) and Third-Party Legal Proceeding. If breach of this Section 15.4(a) prejudices the defense of the Third-Party Legal Proceeding, the indemnifying party’s obligations under Section 15.1 or 15.2 (as applicable) will be reduced in proportion to the prejudice. + +(b) The indemnified party tenders sole control of the indemnified portion of the Third-Party Legal Proceeding to the indemnifying party, subject to the following: (i) the indemnified party may appoint its own non-controlling counsel, at its own expense; and (ii) any settlement requiring the indemnified party to admit liability, pay money, or take (or refrain from taking) any action, will require the indemnified party’s prior written consent, not to be unreasonably withheld, conditioned, or delayed. + +15.5 Remedies. + +(a) If Google reasonably believes the Services might infringe a third party’s Intellectual Property Rights, then Google may, at its sole option and expense: (i) procure the right for Customer to continue using the Services; (ii) modify the Services to make them non-infringing without materially reducing their functionality; or (iii) replace the Services with a non-infringing, functionally equivalent alternative. + +(b) If Google does not believe the remedies in Section 15.5(a) are commercially reasonable, then Google may suspend or terminate Customer’s use of the impacted Services. + +15.6 Sole Rights and Obligations. Without affecting either party’s termination rights, this Section 15 states the parties’ sole and exclusive remedy under this Agreement for any third party's Intellectual Property Rights Allegations and Third-Party Legal Proceedings covered by this Section 15 (Indemnification). +16. Limitation of Liability. + +16.1 Limitation on Indirect Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, WILL NOT BE LIABLE UNDER THIS AGREEMENT FOR LOST REVENUES OR PROFITS (WHETHER DIRECT OR INDIRECT), INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES, EVEN IF THE PARTY OR LICENSOR, AS APPLICABLE, KNEW OR SHOULD HAVE KNOWN THAT SUCH DAMAGES WERE POSSIBLE AND EVEN IF DIRECT DAMAGES DO NOT SATISFY A REMEDY. + +16.2 Limitation on Amount of Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, MAY NOT BE HELD LIABLE UNDER THIS AGREEMENT FOR MORE THAN THE AMOUNT PAID BY CUSTOMER TO GOOGLE UNDER THIS AGREEMENT DURING THE TWELVE MONTHS BEFORE THE EVENT GIVING RISE TO LIABILITY. + +16.3 Exceptions to Limitations. These limitations of liability do not apply to breaches of confidentiality obligations, violations of a party’s Intellectual Property Rights by the other party, or Customer's payment obligations. +17. Advertising. + +In its sole discretion, Customer may configure the Service to either display or not display advertisements served by Google. +18. U.S. Federal Agency Users. + +The Services were developed solely at private expense and are commercial computer software and related documentation within the meaning of the applicable Federal Acquisition Regulations and their agency supplements. +19. Miscellaneous. + +19.1 Notices. All notices must be in writing and addressed to the other party’s legal department and primary point of contact. The email address for notices being sent to Google’s Legal Department is legal-notices@google.com. Notice will be treated as given on receipt as verified by written or automated receipt or by electronic log (as applicable). + +19.2 Assignment. Neither party may assign any part of this Agreement without the written consent of the other, except to an Affiliate where: (a) the assignee has agreed in writing to be bound by the terms of this Agreement; (b) the assigning party remains liable for obligations under the Agreement if the assignee defaults on them; and (c) the assigning party has notified the other party of the assignment. Any other attempt to assign is void. + +19.3 Change of Control. If a party experiences a change of Control (for example, through a stock purchase or sale, merger, or other form of corporate transaction): (a) that party will give written notice to the other party within 30 days after the change of Control; and (b) the other party may immediately terminate this Agreement any time between the change of Control and 30 days after it receives that written notice. + +19.4 Force Majeure. Neither party will be liable for failure or delay in performance to the extent caused by circumstances beyond its reasonable control, including acts of God, natural disasters, terrorism, riots, or war. + +19.5 Subcontracting. Google may subcontract obligations under the Agreement but will remain liable to Customer for any subcontracted obligations. + +19.6 No Agency. This Agreement does not create any agency, partnership or joint venture between the parties. + +19.7 No Waiver. Neither party will be treated as having waived any rights by not exercising (or delaying the exercise of) any rights under this Agreement. + +19.8 Severability. If any term (or part of a term) of this Agreement is invalid, illegal, or unenforceable, the rest of the Agreement will remain in effect. + +19.9 No Third-Party Beneficiaries. This Agreement does not confer any benefits on any third party unless it expressly states that it does. + +19.10 Equitable Relief. Nothing in this Agreement will limit either party’s ability to seek equitable relief. + +19.11 Governing Law. + +19.11.1 For U.S. City, County, and State Government Entities. If Customer is a U.S. city, county or state government entity, then the Agreement will be silent regarding governing law and venue. + +19.11.2 For U.S. Federal Government Entities. If Customer is a U.S. federal government entity then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY THE LAWS OF THE UNITED STATES OF AMERICA, EXCLUDING ITS CONFLICT OF LAWS RULES. SOLELY TO THE EXTENT PERMITTED BY FEDERAL LAW: (I) THE LAWS OF THE STATE OF CALIFORNIA (EXCLUDING CALIFORNIA’S CONFLICT OF LAWS RULES) WILL APPLY IN THE ABSENCE OF APPLICABLE FEDERAL LAW; AND (II) FOR ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES, THE PARTIES CONSENT TO PERSONAL JURISDICTION IN, AND THE EXCLUSIVE VENUE OF, THE COURTS IN SANTA CLARA COUNTY, CALIFORNIA. + +19.11.3 For All Other Entities. If Customer is any entity not listed in Section 19.11.1 or 19.11.2 then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY CALIFORNIA LAW, EXCLUDING THAT STATE’S CONFLICT OF LAWS RULES, AND WILL BE LITIGATED EXCLUSIVELY IN THE FEDERAL OR STATE COURTS OF SANTA CLARA COUNTY, CALIFORNIA, USA; THE PARTIES CONSENT TO PERSONAL JURISDICTION IN THOSE COURTS. + +19.12 Amendments. Except as stated in Section 1.5.2 (Modifications; To the Agreement), any amendment must be in writing, signed by both parties, and expressly state that it is amending this Agreement. + +19.13 Entire Agreement. This Agreement sets out all terms agreed between the parties and supersedes all other agreements between the parties relating to its subject matter. In entering into this Agreement, neither party has relied on, and neither party will have any right or remedy based on, any statement, representation or warranty (whether made negligently or innocently), except those expressly stated in this Agreement. The terms located at any URL referenced in this Agreement and the Documentation are incorporated by reference into the Agreement. After the Effective Date, Google may provide an updated URL in place of any URL in this Agreement. + +19.14 Conflicting Terms. If there is a conflict between the documents that make up this Agreement, the documents will control in the following order: the Agreement, and the terms at any URL. + +19.15 Conflicting Translations. If this Agreement is translated into any other language, and there is a discrepancy between the English text and the translated text, the English text will govern. +20. Reseller Orders. + +This Section applies if Customer orders the Services from a Reseller under a Reseller Agreement (including the Reseller Order Form). + +20.1 Orders. If Customer orders Services from Reseller, then: (a) fees for the Services will be set between Customer and Reseller, and any payments will be made directly to Reseller under the Reseller Agreement; (b) Section 2 of this Agreement (Payment Terms) will not apply to the Services; (c) any SLA obligation to Customer is subject to the terms of the Reseller Agreement; and (d) Google will have no obligation to provide any SLA credits to a Customer who orders Services from the Reseller. + +20.2 Conflicting Terms. If Customer orders Google Maps Core Services from a Reseller and if any documents conflict, then the documents will control in the following order: the Agreement, the terms at any URL (including the URL Terms), Reseller Order Form. For example, if there is a conflict between the Maps Service Specific Terms and the Reseller Order Form, the Maps Service Specific Terms will control. + +20.3 Reseller as Administrator. At Customer's discretion, Reseller may access Customer's Projects, Accounts, or the Services on behalf of Customer. As between Google and Customer, Customer is solely responsible for: (a) any access by Reseller to Customer’s Account(s), Project(s), or the Services; and (b) defining in the Reseller Agreement any rights or obligations as between Reseller and Customer with respect to the Accounts, Projects, or Services. + +20.4 Reseller Verification of Customer Application(s). Before providing the Services, Reseller may also verify that Customer owns or controls the Customer Applications. If Reseller determines that Customer does not own or control the Customer Applications, then Google will have no obligation to provide the Services to Customer. +21. Definitions. + +"Account" means Customer’s Google Account. + +"Admin Console" means the online console(s) and/or tool(s) provided by Google to Customer for administering the Services. + +"Affiliate" means any entity that directly or indirectly Controls, is Controlled by, or is under common Control with a party. + +"Allegation" means an unaffiliated third party’s allegation. + +“Anti-Bribery Laws” means all applicable commercial and public anti-bribery laws, (for example, the U.S. Foreign Corrupt Practices Act of 1977 and the UK Bribery Act 2010), which prohibit corrupt offers of anything of value, either directly or indirectly, to anyone, including government officials, to obtain or keep business or to secure any other improper commercial advantage. “Government officials” include any government employee; candidate for public office; and employee of government-owned or government-controlled companies, public international organizations, and political parties. + +"AUP" or "Acceptable Use Policy" means the then-current Acceptable Use Policy for the Services at: https://cloud.google.com/maps-platform/terms/aup/. + +"Brand Features" means the trade names, tradmarks, service marks, logos, domain names, and other distinctive brand features of each party, respectively, as secured by such party. + +"Committed Purchase(s)" has the meaning provided in the Maps Service Specific Terms. + +"Confidential Information" means information that one party (or an Affiliate) discloses to the other party under this Agreement, and which is marked as confidential or would normally under the circumstances be considered confidential information. It does not include information that is independently developed by the recipient, is rightfully given to the recipient by a third party without confidentiality obligations, or becomes public through no fault of the recipient. + +"Control" means control of greater than 50% of the voting rights or equity interests of a party. + +"Customer Application" means any web domain or application (including all source code and features) owned or controlled by Customer, or that Customer is authorized to use. + +"Customer End User" or "End User" means an individual or entity that Customer permits to use the Services or Customer Application(s). + +“Customer Indemnified Materials” means the Customer Application and Customer Brand Features. + +"Documentation" means the Google documentation (as may be updated) in the form generally made available by Google for use with the Services at https://developers.google.com/maps/documentation. + +"Emergency Security Issue" means either: (a) Customer’s or Customer End Users’ use of the Services in violation of the AUP, which could disrupt: (i) the Services; (ii) other customers’ or their customer end users’ use of the Services; or (iii) the Google network or servers used to provide the Services; or (b) unauthorized third party access to the Services. + +"Europe" or "European" means European Economic Area or Switzerland. + +“Export Control Laws” means all applicable export and re-export control laws and regulations, including any applicable munitions- or defense-related regulations (for example, the International Traffic in Arms Regulations maintained by the U.S. Department of State). + +"Fee Accrual Period" means a calendar month or another period specified by Google in the Admin Console. + +"Fee Threshold" means the threshold (as may be updated), as applicable for certain Services, as set out in the Admin Console. + +“Feedback” means feedback or suggestions about the Services provided by Customer to Google. + +"Fees" means the product of the amount of Services used or ordered by Customer multiplied by the Prices, plus any applicable Taxes. + +"Google Indemnified Materials" means Google's technology used to provide the Services (excluding any open source software) and Google's Brand Features. + +"Google Maps Content" means any content provided through the Services (whether created by Google or its third-party licensors), including map and terrain data, imagery, traffic data, and places data (including business listings). + +"High Risk Activities" means activities where the use or failure of the Services could lead to death, personal injury, or environmental damage, including (a) emergency response services; (b) autonomous and semi-autonomous vehicle or drone control; (c) vessel navigation; (d) aviation; (e) air traffic control; (f) nuclear facilities operation. + +"HIPAA" means the Health Insurance Portability and Accountability Act of 1996 as it may be amended, and any regulations issued under it. + +"Indemnified Liabilities" means any (a) settlement amounts approved by the indemnifying party; and (b) damages and costs finally awarded against the indemnified party and its Affiliates by a court of competent jurisdiction. + +"including" means "including but not limited to". + +"Intellectual Property Rights" means current and future worldwide rights under patent, copyright, trade secret, trademark, and moral rights laws, and other similar rights. + +"Legal Process" means a data disclosure request made under law, governmental regulation, court order, subpoena, warrant, governmental regulatory or agency request, or other valid legal authority, legal procedure, or similar process. + +"Maps Service Specific Terms" means the then-current terms specific to one or more Services at https://cloud.google.com/maps-platform/terms/maps-service-terms/. + +"Maps Technical Support Services" means the technical support service provided by Google to Customer under the then-current Maps Technical Support Services Guidelines. + +"Maps Technical Support Services Guidelines" means the then-current technical support service guidelines at https://cloud.google.com/maps-platform/terms/tssg/. + +"Package Purchase" has the meaning set out in the Maps Service Specific Terms. + +"Personal Data" has the meaning provided in the General Data Protection Regulation (EU) 2016/679 of the European Parliament and of the Council of April 27, 2016. + +"Price" means the then-current applicable price(s) stated at https://cloud.google.com/maps-platform/pricing/sheet/. + +"Prohibited Territory" means the countries listed at https://cloud.google.com/maps-platform/terms/maps-prohibited-territories/. + +"Project" means a Customer-selected grouping of Google Maps Core Services resources for a particular Customer Application. + +"Reseller" means, if applicable, the authorized reseller that sells or supplies the Services to Customer. + +"Reseller Agreement" means, if applicable, a separate, independent agreement between Customer and Reseller regarding the Services. + +"Reseller Order Form" means an order form entered into by Reseller and Customer, subject to the Reseller Agreement. + +"Services" and "Google Maps Core Services" means the services described at https://cloud.google.com/maps-platform/terms/maps-services/. The Services include the Google Maps Content and the Software. + +"SLA" or "Service Level Agreement" means each of the then-current service level agreements at: https://cloud.google.com/maps-platform/terms/sla/. + +"Software" means any downloadable tools, software development kits, or other computer software provided by Google for use as part of the Services, including updates. + +"Taxes" means any duties, customs fees, or taxes (other than Google’s income tax) associated with the purchase of the Services, including any related penalties or interest. + +"Term" has the meaning stated in Section 1.6 of this Agreement. + +“Terms URL” means the following URL set forth here: https://cloud.google.com/maps-platform/terms/. + +"Third-Party Legal Proceeding" means any formal legal proceeding filed by an unaffiliated third party before a court or government tribunal (including any appellate proceeding). + +"Trademark Guidelines" means (a) Google’s Brand Terms and Conditions, located at: https://www.google.com/permissions/trademark/brand-terms.html; and (b) the “Use of Trademarks” section of the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademark policy. + +“URL Terms” means the following, which will control in the following order if there is a conflict: + +(a) the Maps Service Specific Terms; + +(b) the SLA; + +(c) the AUP; + +(d) the Maps Technical Support Services Guidelines; + +(e) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and + +(f) the Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-07-09.yml b/src/licensedcode/data/licenses/google-maps-tos-2018-07-09.yml new file mode 100644 index 00000000000..3fca82539c9 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-07-09.yml @@ -0,0 +1,36 @@ +key: google-maps-tos-2018-07-09 +short_name: Google Maps Platform ToS 2018-07-09 +name: Google Maps Platform Terms of Service 2018-07-09 +category: Proprietary Free +owner: Google +homepage_url: https://cloud.google.com/maps-platform/terms +spdx_license_key: LicenseRef-scancode-google-maps-tos-2018-07-09 +text_urls: + - https://cloud.google.com/maps-platform/terms/index-20180709 +minimum_coverage: 90 +ignorable_authors: + - the U.S. Department + - the United States Department of State +ignorable_emails: + - legal-notices@google.com +ignorable_urls: + - https://cloud.google.com/maps-platform/pricing/sheet + - https://cloud.google.com/maps-platform/terms + - https://cloud.google.com/maps-platform/terms/aup + - https://cloud.google.com/maps-platform/terms/maps-controller-terms + - https://cloud.google.com/maps-platform/terms/maps-deprecation + - https://cloud.google.com/maps-platform/terms/maps-prohibited-territories + - https://cloud.google.com/maps-platform/terms/maps-service-terms + - https://cloud.google.com/maps-platform/terms/maps-services + - https://cloud.google.com/maps-platform/terms/sla + - https://cloud.google.com/maps-platform/terms/tssg + - https://developers.google.com/maps/documentation + - https://developers.google.com/maps/terms + - https://www.google.com/about/company/user-consent-policy.html + - https://www.google.com/dmca.html + - https://www.google.com/help/legalnotices_maps.html + - https://www.google.com/permissions/geoguidelines.html#geotrademark + - https://www.google.com/permissions/geoguidelines.html#geotrademarkpolicy + - https://www.google.com/permissions/trademark/brand-terms.html + - https://www.google.com/policies/privacy + diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-07-19.LICENSE b/src/licensedcode/data/licenses/google-maps-tos-2018-07-19.LICENSE new file mode 100644 index 00000000000..5430ba23ab6 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-07-19.LICENSE @@ -0,0 +1,358 @@ +Google Maps Platform Terms of Service + +Last modified: July 19, 2018 + +If you have entered into an offline variant of this Agreement, the terms below do not apply, and your offline agreement governs your use of the Google Maps Core Services. + +Google Maps Platform License Agreement + +This Google Maps Platform License Agreement (the "Agreement") is made and entered into between Google and the entity or person agreeing to these terms ("Customer"). "Google" means either (i) Google Commerce Limited (“GCL”), a company incorporated under the laws of Ireland, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer has a billing address in the EU and has chosen “non-business” as the tax status/setting for its Google account, (ii) Google Ireland Limited, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer's billing address is in any country within Europe, the Middle East, or Africa ("EMEA"), (iii) Google Asia Pacific Pte. Ltd., with offices at 70 Pasir Panjang Road, #03-71, Mapletree Business City II Singapore 117371, if Customer's billing address is in any country within the Asia Pacific region ("APAC") except as provided below for Customers with the billing address in Japan or Australia, (iv) Google Cloud Japan G.K., with offices at Roppongi Hills Mori Tower, 10-1, Roppongi 6-chome, Minato-ku Tokyo, if Customer’s billing address is in Japan, (v) Google Australia Pty Ltd., with offices at Level 5, 48 Pirrama Road, Pyrmont, NSW 2009 Australia, if Customer’s billing address is in Australia, or (vi) Google LLC, with offices at 1600 Amphitheatre Parkway, Mountain View, California 94043, if Customer's billing address is in any country in the world other than those in EMEA and APAC. + +This Agreement is effective as of the date Customer clicks to accept the Agreement, or enters into a Reseller Agreement if purchasing through a Reseller (the "Effective Date"). If you are accepting on behalf of Customer, you represent and warrant that: (i) you have full legal authority to bind Customer to this Agreement; (ii) you have read and understand this Agreement; and (iii) you agree, on behalf of Customer, to this Agreement. If you do not have the legal authority to bind Customer, please do not click to accept. This Agreement governs Customer's access to and use of the Services. + +For an offline variant of this Agreement, you may contact Google for more information. +1. Provision of the Services. + +1.1 Use of the Services in Customer Applications. Google will provide the Services to Customer in accordance with the applicable SLA, and Customer may use the Google Maps Core Services in Customer Application(s) in accordance with Section 3 (License). + +1.2 Admin Console; Projects; API Keys. Customer will administer the Services through the online Admin Console. To access the Services, Customer must create Project(s) and use its API key(s) in accordance with the Documentation. + +1.3 Accounts. Customer must have an Account to access the Admin Console through which Customer may administer its use of the Services. Customer is responsible for: (a) the information it provides in connection with the Account; (b) maintaining the confidentiality and security of the Account and associated passwords; and (c) any use of its Account. + +1.4 Customer Domains and Applications. Customer must list in the Admin Console each authorized domain and application that uses the Services. Customer is responsible for ensuring that only authorized domains and applications use the Services. + +1.5 New Features and Services. Google may: (a) make new features or functionality available through the Services and (b) add new services to the "Services" definition (by adding them at the URL stated under that definition). Customer’s use of new features or functionality may be contingent on Customer’s agreement to additional terms applicable to the new feature or functionality. + +1.6 Modifications. + +1.6.1 To the Services. Google may make changes to the Services, subject to Section 9 (Deprecation Policy), which may include adding, updating, or discontinuing any Services or portion or feature(s) of the Services. Google will notify Customer of any material change to the Services. + +1.6.2. To the Agreement. Google may make changes to this Agreement, including pricing (and any linked documents). Unless otherwise noted by Google, material changes to the Agreement will become effective 30 days after notice is given, except if the changes apply to new functionality in which case they will be effective immediately. Google will provide at least 90 days advance notice for materially adverse changes to any SLAs by: (a) sending an email to Customer’s primary point of contact; (b) posting a notice in the Admin Console; or (c) posting a notice to the applicable SLA webpage. If Customer does not agree to the revised Agreement, Customer should stop using the Services. Google will post any modification to this Agreement to the Terms URL. +2. Payment Terms. + +2.1 Free Quota. Certain Services are provided to Customer without charge up to the Fee Threshold, as applicable. + +2.2 Online Billing. At the end of the applicable Fee Accrual Period, Google will issue an electronic bill to Customer for all charges accrued above the Fee Threshold based on (a) Customer’s use of the Services during the previous Fee Accrual Period; (b) any Committed Purchases selected; and (c) any Package Purchases selected. For use above the Fee Threshold, Customer will be responsible for all Fees up to the amount set in the Account and will pay all Fees in the currency set forth in the invoice. If Customer elects to pay by credit card, debit card, or other non-invoiced form of payment, Google will charge (and Customer will pay) all Fees immediately at the end of the Fee Accrual Period. If Customer elects to pay by invoice (and Google agrees), all Fees are due as stated in the invoice. Customer’s obligation to pay all Fees is non-cancellable. Google's measurement of Customer’s use of the Services is final. Google has no obligation to provide multiple bills. Payments made via wire transfer must include the bank information provided by Google. If Customer has entered into the Agreement with GCL, Google may collect payments via Google Payment Limited, a company incorporated in England and Wales with offices at Belgrave House, 76 Buckingham Palace Road, London, SW1W 9TQ, United Kingdom. + +2.3 Taxes. + +2.3.1 Customer is responsible for any Taxes, and Customer will pay Google for the Services without any reduction for Taxes. If Google is obligated to collect or pay Taxes, the Taxes will be invoiced to Customer, unless Customer provides Google with a timely and valid tax exemption certificate authorized by the appropriate taxing authority. In some states the sales tax is due on the total purchase price at the time of sale and must be invoiced and collected at the time of the sale. If Customer is required by law to withhold any Taxes from its payments to Google, Customer must provide Google with an official tax receipt or other appropriate documentation to support such withholding. If under the applicable tax legislation the Services are subject to local VAT and the Customer is required to make a withholding of local VAT from amounts payable to Google, the value of Services calculated in accordance with the above procedure will be increased (grossed up) by the Customer for the respective amount of local VAT and the grossed up amount will be regarded as a VAT inclusive price. Local VAT amount withheld from the VAT-inclusive price will be remitted to the applicable local tax entity by the Customer and Customer will ensure that Google will receives payment for its services for the net amount as would otherwise be due (the VAT inclusive price less the local VAT withheld and remitted to applicable tax authority). + +2.3.2 If required under applicable law, Customer will provide Google with applicable tax identification information that Google may require to ensure its compliance with applicable tax regulations and authorities in applicable jurisdictions. Customer will be liable to pay (or reimburse Google for) any taxes, interest, penalties or fines arising out of any mis-declaration by the Customer. + +2.4 Invoice Disputes & Refunds. Any invoice disputes must be submitted before the payment due date. If the parties determine that certain billing inaccuracies are attributable to Google, Google will not issue a corrected invoice, but will instead issue a credit memo specifying the incorrect amount in the affected invoice. If the disputed invoice has not yet been paid, Google will apply the credit memo amount to the disputed invoice and Customer will be responsible for paying the resulting net balance due on that invoice. To the fullest extent permitted by law, Customer waives all claims relating to Fees unless claimed within 60 days after charged (this does not affect any Customer rights with its credit card issuer). Refunds (if any) are at the discretion of Google and will only be in the form of credit for the Services. Nothing in this Agreement obligates Google to extend credit to any party. + +2.5 Delinquent Payments; Suspension. Late payments may bear interest at the rate of 1.5% per month (or the highest rate permitted by law, if less) from the payment due date until paid in full. Customer will be responsible for all reasonable expenses (including attorneys’ fees) incurred by Google in collecting such delinquent amounts. If Customer is late on payment for the Services, Google may suspend the Services or terminate the Agreement for breach under Section 11.2 (Termination for Breach). + +2.6 No Purchase Order Number Required. Google is not required to provide a purchase order number on Google’s invoice (or otherwise). +3. License. + +3.1 License Grant. Subject to this Agreement's terms, during the Term, Google grants to Customer a non-exclusive, non-transferable, non-sublicensable, license to use the Services in Customer Application(s), which may be: (a) fee-based or non-fee-based; (b) public/external or private/internal; (c) business-to-business or business-to-consumer; or (d) asset tracking. + +3.2 License Requirements and Restrictions. The following are conditions of the license granted in Section 3.1. In this Section 3.2, the phrase “Customer will not” means “Customer will not, and will not permit a third party to”. + +3.2.2 General Restrictions. Unless Google specifically agrees in writing, Customer will not: (a) copy, modify, create a derivative work of, reverse engineer, decompile, translate, disassemble, or otherwise attempt to extract any or all of the source code (except to the extent such restriction is expressly prohibited by applicable law); (b) sublicense, transfer, or distribute any of the Services; (c) sell, resell, or otherwise make the Services available as a commercial offering to a third party; or (d) access or use the Services: (i) for High Risk Activities; (ii) in a manner intended to avoid incurring Fees; (iii) for activities that are subject to the International Traffic in Arms Regulations (ITAR) maintained by the United States Department of State; (iv) on behalf of or for the benefit of any entity or person who is legally prohibited from using the Services; or (v) to transmit, store, or process Protected Health Information (as defined in and subject to HIPAA). + +3.2.3 Requirements for Using the Services. + +(a) End User Terms and Privacy Policy. Customer’s End User terms of service will state that End Users’ use of Google Maps is subject to the then-current Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html and Google Privacy Policy at https://www.google.com/policies/privacy/. + +(b) Attribution. Customer will display all attribution that (i) Google provides through the Services (including branding, logos, and copyright and trademark notices); or (ii) is specified in the Maps Service Specific Terms. Customer will not modify, obscure, or delete such attribution. + +(c) Review of Customer Applications. At Google’s request, Customer will submit Customer Application(s) and Project(s) to Google for review to ensure compliance with the Agreement (including the AUP). + +3.2.4 Restrictions Against Misusing the Services. + +(a) No Scraping. Customer will not extract, export, scrape, or cache Google Maps Content for use outside the Services. For example, Customer will not:(i) pre-fetch, index, store, reshare, or rehost Google Maps Content outside the services; (ii) bulk download geocodes; (iii) copy business names, addresses, or user reviews; or (iv) use Google Maps Content with text-to-speech services. Caching is permitted for certain Services as described in the Maps Service Specific Terms. + +(b) No Creating Content From Google Maps Content. Customer will not create content based on Google Maps Content, including tracing, digitizing, or creating other datasets based on Google Maps Content. + +(c) No Re-Creating Google Products or Features. Customer will not use the Services to create a product or service with features that are substantially similar to or that re-create the features of another Google product or service. Customer’s product or service must contain substantial, independent value and features beyond the Google products or services. For example, Customer will not: (i) re-distribute the Google Maps Core Services or pass them off as if they were Customer’s services; (ii) create a substitute of the Google Maps Core Services, Google Maps, or Google Maps mobile apps, or their features; (iii) use the Google Maps Core Services in a listings or directory service or to create or augment an advertising product; (iv) combine data from the Directions API, Geolocation API, and Maps SDK for Android to create real-time navigation functionality substantially similar to the functionality provided by the Google Maps for Android mobile app. + +(d) No Use With Non-Google Maps. Customer will not use the Google Maps Core Services in a Customer Application that contains a non-Google map. For example, Customer will not (i) display Places listings on a non-Google map, or (ii) display Street View imagery and non-Google maps in the same Customer Application. + +(e) No Circumventing Fees. Customer will not circumvent the applicable Fees. For example, Customer will not create multiple billing accounts or Projects to avoid incurring Fees; prevent Google from accurately calculating Customer’s Service usage levels; abuse any free Service quotas; or offer access to the Services under a “time-sharing” or “service bureau” model. + +(f) No Use in Prohibited Territories. Customer will not distribute or market in a Prohibited Territory any Customer Application(s) that use the Google Maps Core Services. + +(g) No Use in Embedded Vehicle Systems. Customer will not use the Google Maps Core Services in connection with any Customer Application or device embedded in a vehicle. For example, Customer will not create a Customer Application that (i) is embedded in an in-dashboard automotive infotainment system; and (ii) allows End Users to request driving directions from the Directions API. + +(h) No Modifying Search Results Integrity. Customer will not modify any of the Service’s search results. + +(i) No Use for High Risk Activities. Customer will not use the Google Maps Core Services for High Risk Activities. + +3.2.5 Benchmarking. Customer may not publicly disclose directly or through a third party the results of any comparative or compatibility testing, benchmarking, or evaluation of the Services (each, a “Test”), unless the disclosure includes all information necessary for Google or a third party to replicate the Test. If Customer conducts, or directs a third party to conduct, a Test of the Services and publicly discloses the results directly or through a third party, then Google (or a Google directed third party) may conduct Tests of any publicly available cloud products or services provided by Customer and publicly disclose the results of any such Test (which disclosure will include all information necessary for Customer or a third party to replicate the Test). +4. Customer Obligations. + +4.1 Customer Domains and Applications. Customer must list in the Admin Console each authorized domain and application that uses the Services. Customer is responsible for ensuring that only authorized domains and applications use the Services. + +4.2 Compliance. Customer will: (a) ensure that Customer’s and its End Users’ use of the Services complies with the Agreement, including the applicable Services’ AUP and URL Terms; and (b) use commercially reasonable efforts to prevent, promptly notify Google of, and terminate any unauthorized use of or access to its Account(s) or the Services. + +4.3 Documentation. Google may provide Documentation for Customer’s use of the Services. The Documentation may specify restrictions (e.g. attribution or HTML restrictions) on how the Services may be used and Customer will comply with any such restrictions specified. + +4.4 Copyright Policy. Google provides information to help copyright holders manage their intellectual property online, but Google cannot determine whether something is being used legally or not without their input. Google responds to notices of alleged copyright infringement and terminates accounts of repeat infringers according to applicable copyright laws including in particular the process set out in the U.S. Digital Millennium Copyright Act. If Customer thinks somebody is violating Customer’s or Customer End Users’ copyrights and wants to notify Google, Customer can find information about submitting notices, and Google's policy about responding to notices at https://www.google.com/dmca.html. + +4.5 Data Use, Protection, and Privacy. + +4.5.1 Data Use and Retention. To provide the Services through the Customer Application(s), Google must receive and collect data from End Users and Customer, including search terms, IP addresses, and latitude/longitude coordinates. Customer acknowledges and agrees that Google and its Affiliates may use and retain this data to provide and improve Google products and services, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. + +4.5.2 European Data Protection Terms. Google and Customer agree to the Google Maps Controller-Controller Data Protection Terms at https://cloud.google.com/maps-platform/terms/maps-controller-terms. + +4.5.3 General Privacy Requirements. + +(a) End User Privacy. Customer’s use of the Services in the Customer Application will comply with applicable privacy laws, including laws regarding Services that store and access Cookies on End Users’ devices. If Customer has End Users in the European Economic Area, Customer will comply with the EU End User Consent Policy at https://www.google.com/about/company/user-consent-policy.html. + +(b) End User Personal Data. Through the normal functioning of the Google Maps Core Services, End Users provide device identifiers and Personal Data directly to Google, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. However, Customer acknowledges and agrees that Customer will not provide these categories of data to Google. + +(c) End User Location Privacy Requirements. To safeguard End Users’ location privacy, Customer will ensure that the Customer Application(s): (i) notify End Users in advance of (y) the type(s) of data that Customer intends to collect from the End Users or the End Users’ devices, and (z) the combination and use of End User's location with any other data provider's data; and (ii) will not obtain or cache any End User's location except with the End User's express, prior, revocable consent. +5. Suspension. + +5.1 For License Restrictions Violations. Google may Suspend the Services without prior notice if Customer breaches Section 3.2 (License Requirements and Restrictions). + +5.2 For AUP Violations or Emergency Security Issues. Google may also Suspend Services as described in Subsections 5.2.1 (AUP Violations) and 5.2.2 (Emergency Security Issues). Any Suspension under those Sections will be to the minimum extent and for the shortest duration required to: (a) prevent or terminate the offending use, (b) prevent or resolve the Emergency Security Issue, or (c) comply with applicable law. + +5.2.1 AUP Violations. If Google becomes aware that Customer’s or any End User’s use of the Services violates the AUP, Google will give Customer notice of such violation by requesting that Customer correct the violation. If Customer fails to correct such violation within 24 hours, or if Google is otherwise required by applicable law to take action, then Google may Suspend all or part of Customer’s use of the Services. + +5.2.2 Emergency Security Issues. Google may immediately Suspend Customer’s use of the Services if (a) there is an Emergency Security Issue or (b) Google is required to Suspend such use immediately to comply with applicable law. At Customer’s request, unless prohibited by applicable law, Google will notify Customer of the basis for the Suspension as soon as is reasonably possible. + +5.3 For Alleged Third-Party Intellectual Property Rights Infringement. If the Customer Application is alleged to infringe a third party’s Intellectual Property Rights, Google may require Customer to suspend distributing or selling the Customer Application on 30 days’ written notice until such allegation is fully resolved. In any event, this Section 5.3 does not reduce Customer’s obligations under Section 15 (Indemnification). +6. Intellectual Property Rights; Feedback. + +6.1 Intellectual Property Rights. Except as expressly stated in this Agreement, this Agreement does not grant either party any rights, implied or otherwise, to the other’s content or any of the other’s intellectual property. As between the parties, Customer owns all Intellectual Property Rights in the Customer Application, and Google owns all Intellectual Property Rights in the Services and Software. + +6.2 Customer Feedback. If Customer provides Google Feedback about the Services, then Google may use that information without obligation to Customer, and Customer irrevocably assigns to Google all right, title, and interest in that Feedback. +7. Third Party Legal Notices and License Terms. + +Certain components of the Services (including open source software) are subject to third-party copyright and other Intellectual Property Rights, as specified in: (a) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and (b) separate, publicly-available third-party license terms, which Google will provide to Customer on request. +8. Technical Support Services. + +8.1 By Google. Google will provide Maps Technical Support Services to Customer in accordance with the Maps Technical Support Services Guidelines. + +8.2 By Customer. Customer is responsible for technical support of its Customer Applications and Projects. +9. Deprecation Policy. + +9.1 Google will notify Customer at least 12 months before making material discontinuance(s) or backwards incompatible change(s) to the Services, unless Google reasonably determines that: (a) Google cannot do so by law or by contract (including if there is a change in applicable law or contract) or (b) continuing to provide the Services could create a (i) security risk or (ii) substantial economic or technical burden. + +9.2 Section 9.1 applies to the Services listed at https://cloud.google.com/maps-platform/terms/maps-deprecation/. If Google deprecates any Services that are not listed at the above URL, Google will use commercially reasonable efforts to minimize the adverse impacts of such deprecations. +10. Confidential Information. + +10.1 Obligations. The recipient will not disclose the Confidential Information, except to Affiliates, employees, agents or professional advisors who need to know it and who have agreed in writing (or in the case of professional advisors are otherwise bound) to keep it confidential. Subject to Section 10.2 (Required Disclosure), the recipient will ensure that those people and entities use the received Confidential Information only to exercise rights and fulfill obligations under this Agreement, while using reasonable care to keep it confidential. + +10.2 Required Disclosure. The recipient may disclose the other party’s Confidential Information to the extent required by applicable Legal Process; provided that the recipient uses commercially reasonable efforts to: (a) promptly notify the other party of such disclosure before disclosing; and (b) comply with the other party’s reasonable requests regarding its efforts to oppose the disclosure. Notwithstanding the foregoing, subsections (a) and (b) above will not apply if the recipient determines that complying with (a) and (b) could: (i) result in a violation of Legal Process; (ii) obstruct a governmental investigation; and/or (iii) lead to death or serious physical harm to an individual. As between the parties, Customer is responsible for responding to all third party requests concerning its use and Customer End Users’ use of the Services. +11. Term and Termination. + +11.1 Agreement Term. The “Term” of this Agreement will begin on the Effective Date and continue until the Agreement is terminated under this Section. + +11.2 Termination for Breach. Either party may terminate this Agreement for breach if: (a) the other party is in material breach of the Agreement and fails to cure that breach within 30 days after receipt of written notice; or (b) the other party ceases its business operations or becomes subject to insolvency proceedings and the proceedings are not dismissed within 90 days. In addition, Google may terminate any, all, or any portion of the Services or Projects, if Customer meets any of the conditions in subsections (a) or (b). + +11.3 Termination for Inactivity. Google reserves the right to terminate provision of Service(s) to a Project on 30 days advance notice if, for more than 180 days, such Project (a) has not made any requests to the Services from any Customer Applications; or (b) such Project has not incurred any Fees for such Service(s). + +11.4 Termination for Convenience. Customer may stop using the Services at any time. Subject to any financial commitments expressly made by this Agreement, Customer may terminate this Agreement for its convenience at any time on prior written notice and upon termination, must cease use of the applicable Services. Google may terminate this Agreement for its convenience at any time without liability to Customer. + +11.5 Effects of Termination. + +11.5.1 If the Agreement is terminated, then: (a) the rights granted by one party to the other will immediately cease; (b) all Fees owed by Customer to Google are immediately due upon receipt of the final electronic bill; and (c) Customer will delete the Software and any content from the Services by the termination effective date. + +11.5.2 The following will survive expiration or termination of the Agreement: Section 2 (Payment Terms), Section 3.2 (License Requirements and Restrictions), Section 4.5 (Data Use, Protection, and Privacy), Section 6 (Intellectual Property; Feedback), Section 10 (Confidential Information), Section 11.5 (Effects of Termination), Section 14 (Disclaimer), Section 15 (Indemnification), Section 16 (Limitation of Liability), Section 19 (Miscellaneous), and Section 20 (Definitions). +12. Publicity. + +Customer may state publicly that it is a customer of the Services, consistent with the Trademark Guidelines. If Customer wants to display Google Brand Features in connection with its use of the Services, Customer must obtain written permission from Google through the process specified in the Trademark Guidelines. Google may include Customer’s name or Brand Features in a list of Google customers, online or in promotional materials. Google may also verbally reference Customer as a customer of the Services. Neither party needs approval if it is repeating a public statement that is substantially similar to a previously-approved public statement. Any use of a party’s Brand Features will inure to the benefit of the party holding Intellectual Property Rights to those Brand Features. A party may revoke the other party’s right to use its Brand Features under this Section with written notice to the other party and a reasonable period to stop the use. Where applicable, Customer may use Google Maps Content in accordance with the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademarkpolicy, which will be considered “Google’s prior written consent” for the permitted uses. +13. Representations and Warranties. + +Each party represents and warrants that: (a) it has full power and authority to enter into the Agreement; and (b) it will comply with Export Control Laws and Anti-Bribery Laws applicable to its provision, receipt, or use, of the Services, as applicable. +14. Disclaimer. + + EXCEPT AS EXPRESSLY PROVIDED FOR IN THE AGREEMENT, TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, GOOGLE: (A) DOES NOT MAKE ANY WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR USE, NONINFRINGEMENT, OR ERROR-FREE OR UNINTERRUPTED USE OF THE SERVICES OR SOFTWARE; (B) MAKES NO REPRESENTATION ABOUT CONTENT OR INFORMATION ACCESSIBLE THROUGH THE SERVICES; AND (C) WILL ONLY BE REQUIRED TO PROVIDE THE REMEDIES EXPRESSLY STATED IN THE SLA FOR FAILURE TO PROVIDE THE SERVICES. GOOGLE MAPS CORE SERVICES ARE PROVIDED FOR PLANNING PURPOSES ONLY. INFORMATION FROM THE GOOGLE MAPS CORE SERVICES MAY DIFFER FROM ACTUAL CONDITIONS, AND MAY NOT BE SUITABLE FOR THE CUSTOMER APPLICATION. CUSTOMER MUST EXERCISE INDEPENDENT JUDGMENT WHEN USING THE SERVICES TO ENSURE THAT THE CUSTOMER APPLICATION IS SAFE FOR END USERS AND OTHER THIRD PARTIES. +15. Indemnification. + +15.1 By Customer. Unless prohibited by applicable law, Customer will defend Google and its Affiliates and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from (a) any Customer Indemnified Materials or (b) Customer’s or an End User’s use of the Services in violation of the Agreement. + +15.2 By Google. Google will defend Customer and its Affiliates participating under the Agreement (“Customer Indemnified Parties”), and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from an allegation that Customer Indemnified Parties' use in accordance with the Agreement of Google Indemnified Materials infringes the third party's Intellectual Property Rights. + +15.3 Exclusions. This Section 15 will not apply to the extent the underlying allegation arises from (a) the indemnified party’s breach of the Agreement or (b) a combination of the indemnifying party’s technology or Brand Features with materials not provided by the indemnifying party, unless the combination is required by the Agreement. + +15.4 Conditions. Sections 15.1 and 15.2 will apply only to the extent: + +(a) The indemnified party has promptly notified the indemnifying party in writing of any Allegation(s) that preceded the Third-Party Legal Proceeding and cooperates reasonably with the indemnifying party to resolve the Allegation(s) and Third-Party Legal Proceeding. If breach of this Section 15.4(a) prejudices the defense of the Third-Party Legal Proceeding, the indemnifying party’s obligations under Section 15.1 or 15.2 (as applicable) will be reduced in proportion to the prejudice. + +(b) The indemnified party tenders sole control of the indemnified portion of the Third-Party Legal Proceeding to the indemnifying party, subject to the following: (i) the indemnified party may appoint its own non-controlling counsel, at its own expense; and (ii) any settlement requiring the indemnified party to admit liability, pay money, or take (or refrain from taking) any action, will require the indemnified party’s prior written consent, not to be unreasonably withheld, conditioned, or delayed. + +15.5 Remedies. + +(a) If Google reasonably believes the Services might infringe a third party’s Intellectual Property Rights, then Google may, at its sole option and expense: (i) procure the right for Customer to continue using the Services; (ii) modify the Services to make them non-infringing without materially reducing their functionality; or (iii) replace the Services with a non-infringing, functionally equivalent alternative. + +(b) If Google does not believe the remedies in Section 15.5(a) are commercially reasonable, then Google may suspend or terminate Customer’s use of the impacted Services. + +15.6 Sole Rights and Obligations. Without affecting either party’s termination rights, this Section 15 states the parties’ sole and exclusive remedy under this Agreement for any third party's Intellectual Property Rights Allegations and Third-Party Legal Proceedings covered by this Section 15 (Indemnification). +16. Limitation of Liability. + +16.1 Limitation on Indirect Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, WILL NOT BE LIABLE UNDER THIS AGREEMENT FOR LOST REVENUES OR PROFITS (WHETHER DIRECT OR INDIRECT), INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES, EVEN IF THE PARTY OR LICENSOR, AS APPLICABLE, KNEW OR SHOULD HAVE KNOWN THAT SUCH DAMAGES WERE POSSIBLE AND EVEN IF DIRECT DAMAGES DO NOT SATISFY A REMEDY. + +16.2 Limitation on Amount of Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, MAY NOT BE HELD LIABLE UNDER THIS AGREEMENT FOR MORE THAN THE AMOUNT PAID BY CUSTOMER TO GOOGLE UNDER THIS AGREEMENT DURING THE TWELVE MONTHS BEFORE THE EVENT GIVING RISE TO LIABILITY. + +16.3 Exceptions to Limitations. These limitations of liability do not apply to breaches of confidentiality obligations, violations of a party’s Intellectual Property Rights by the other party, or Customer's payment obligations. +17. Advertising. + +In its sole discretion, Customer may configure the Service to either display or not display advertisements served by Google. +18. U.S. Federal Agency Users. + +The Services were developed solely at private expense and are commercial computer software and related documentation within the meaning of the applicable Federal Acquisition Regulations and their agency supplements. +19. Miscellaneous. + +19.1 Notices. All notices must be in writing and addressed to the other party’s legal department and primary point of contact. The email address for notices being sent to Google’s Legal Department is legal-notices@google.com. Notice will be treated as given on receipt as verified by written or automated receipt or by electronic log (as applicable). + +19.2 Assignment. Neither party may assign any part of this Agreement without the written consent of the other, except to an Affiliate where: (a) the assignee has agreed in writing to be bound by the terms of this Agreement; (b) the assigning party remains liable for obligations under the Agreement if the assignee defaults on them; and (c) the assigning party has notified the other party of the assignment. Any other attempt to assign is void. + +19.3 Change of Control. If a party experiences a change of Control (for example, through a stock purchase or sale, merger, or other form of corporate transaction): (a) that party will give written notice to the other party within 30 days after the change of Control; and (b) the other party may immediately terminate this Agreement any time between the change of Control and 30 days after it receives that written notice. + +19.4 Force Majeure. Neither party will be liable for failure or delay in performance to the extent caused by circumstances beyond its reasonable control, including acts of God, natural disasters, terrorism, riots, or war. + +19.5 Subcontracting. Google may subcontract obligations under the Agreement but will remain liable to Customer for any subcontracted obligations. + +19.6 No Agency. This Agreement does not create any agency, partnership or joint venture between the parties. + +19.7 No Waiver. Neither party will be treated as having waived any rights by not exercising (or delaying the exercise of) any rights under this Agreement. + +19.8 Severability. If any term (or part of a term) of this Agreement is invalid, illegal, or unenforceable, the rest of the Agreement will remain in effect. + +19.9 No Third-Party Beneficiaries. This Agreement does not confer any benefits on any third party unless it expressly states that it does. + +19.10 Equitable Relief. Nothing in this Agreement will limit either party’s ability to seek equitable relief. + +19.11 Governing Law. + +19.11.1 For U.S. City, County, and State Government Entities. If Customer is a U.S. city, county or state government entity, then the Agreement will be silent regarding governing law and venue. + +19.11.2 For U.S. Federal Government Entities. If Customer is a U.S. federal government entity then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY THE LAWS OF THE UNITED STATES OF AMERICA, EXCLUDING ITS CONFLICT OF LAWS RULES. SOLELY TO THE EXTENT PERMITTED BY FEDERAL LAW: (I) THE LAWS OF THE STATE OF CALIFORNIA (EXCLUDING CALIFORNIA’S CONFLICT OF LAWS RULES) WILL APPLY IN THE ABSENCE OF APPLICABLE FEDERAL LAW; AND (II) FOR ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES, THE PARTIES CONSENT TO PERSONAL JURISDICTION IN, AND THE EXCLUSIVE VENUE OF, THE COURTS IN SANTA CLARA COUNTY, CALIFORNIA. + +19.11.3 For All Other Entities. If Customer is any entity not listed in Section 19.11.1 or 19.11.2 then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY CALIFORNIA LAW, EXCLUDING THAT STATE’S CONFLICT OF LAWS RULES, AND WILL BE LITIGATED EXCLUSIVELY IN THE FEDERAL OR STATE COURTS OF SANTA CLARA COUNTY, CALIFORNIA, USA; THE PARTIES CONSENT TO PERSONAL JURISDICTION IN THOSE COURTS. + +19.12 Amendments. Except as stated in Section 1.5.2 (Modifications; To the Agreement), any amendment must be in writing, signed by both parties, and expressly state that it is amending this Agreement. + +19.13 Entire Agreement. This Agreement sets out all terms agreed between the parties and supersedes all other agreements between the parties relating to its subject matter. In entering into this Agreement, neither party has relied on, and neither party will have any right or remedy based on, any statement, representation or warranty (whether made negligently or innocently), except those expressly stated in this Agreement. The terms located at any URL referenced in this Agreement and the Documentation are incorporated by reference into the Agreement. After the Effective Date, Google may provide an updated URL in place of any URL in this Agreement. + +19.14 Conflicting Terms. If there is a conflict between the documents that make up this Agreement, the documents will control in the following order: the Agreement, and the terms at any URL. + +19.15 Conflicting Translations. If this Agreement is translated into any other language, and there is a discrepancy between the English text and the translated text, the English text will govern. +20. Reseller Orders. + +This Section applies if Customer orders the Services from a Reseller under a Reseller Agreement (including the Reseller Order Form). + +20.1 Orders. If Customer orders Services from Reseller, then: (a) fees for the Services will be set between Customer and Reseller, and any payments will be made directly to Reseller under the Reseller Agreement; (b) Section 2 of this Agreement (Payment Terms) will not apply to the Services; (c) Customer will receive any applicable SLA credits from Reseller, if owed to Customer in accordance with the SLA; and (d) Google will have no obligation to provide any SLA credits to a Customer who orders Services from the Reseller. + +20.2 Conflicting Terms. If Customer orders Google Maps Core Services from a Reseller and if any documents conflict, then the documents will control in the following order: the Agreement, the terms at any URL (including the URL Terms), Reseller Order Form. For example, if there is a conflict between the Maps Service Specific Terms and the Reseller Order Form, the Maps Service Specific Terms will control. + +20.3 Reseller as Administrator. At Customer's discretion, Reseller may access Customer's Projects, Accounts, or the Services on behalf of Customer. As between Google and Customer, Customer is solely responsible for: (a) any access by Reseller to Customer’s Account(s), Project(s), or the Services; and (b) defining in the Reseller Agreement any rights or obligations as between Reseller and Customer with respect to the Accounts, Projects, or Services. + +20.4 Reseller Verification of Customer Application(s). Before providing the Services, Reseller may also verify that Customer owns or controls the Customer Applications. If Reseller determines that Customer does not own or control the Customer Applications, then Google will have no obligation to provide the Services to Customer. +21. Definitions. + +"Account" means Customer’s Google Account. + +"Admin Console" means the online console(s) and/or tool(s) provided by Google to Customer for administering the Services. + +"Affiliate" means any entity that directly or indirectly Controls, is Controlled by, or is under common Control with a party. + +"Allegation" means an unaffiliated third party’s allegation. + +“Anti-Bribery Laws” means all applicable commercial and public anti-bribery laws, (for example, the U.S. Foreign Corrupt Practices Act of 1977 and the UK Bribery Act 2010), which prohibit corrupt offers of anything of value, either directly or indirectly, to anyone, including government officials, to obtain or keep business or to secure any other improper commercial advantage. “Government officials” include any government employee; candidate for public office; and employee of government-owned or government-controlled companies, public international organizations, and political parties. + +"AUP" or "Acceptable Use Policy" means the then-current Acceptable Use Policy for the Services at: https://cloud.google.com/maps-platform/terms/aup/. + +"Brand Features" means the trade names, tradmarks, service marks, logos, domain names, and other distinctive brand features of each party, respectively, as secured by such party. + +"Committed Purchase(s)" has the meaning provided in the Maps Service Specific Terms. + +"Confidential Information" means information that one party (or an Affiliate) discloses to the other party under this Agreement, and which is marked as confidential or would normally under the circumstances be considered confidential information. It does not include information that is independently developed by the recipient, is rightfully given to the recipient by a third party without confidentiality obligations, or becomes public through no fault of the recipient. + +"Control" means control of greater than 50% of the voting rights or equity interests of a party. + +"Customer Application" means any web domain or application (including all source code and features) owned or controlled by Customer, or that Customer is authorized to use. + +"Customer End User" or "End User" means an individual or entity that Customer permits to use the Services or Customer Application(s). + +“Customer Indemnified Materials” means the Customer Application and Customer Brand Features. + +"Documentation" means the Google documentation (as may be updated) in the form generally made available by Google for use with the Services at https://developers.google.com/maps/documentation. + +"Emergency Security Issue" means either: (a) Customer’s or Customer End Users’ use of the Services in violation of the AUP, which could disrupt: (i) the Services; (ii) other customers’ or their customer end users’ use of the Services; or (iii) the Google network or servers used to provide the Services; or (b) unauthorized third party access to the Services. + +"Europe" or "European" means European Economic Area or Switzerland. + +“Export Control Laws” means all applicable export and re-export control laws and regulations, including any applicable munitions- or defense-related regulations (for example, the International Traffic in Arms Regulations maintained by the U.S. Department of State). + +"Fee Accrual Period" means a calendar month or another period specified by Google in the Admin Console. + +"Fee Threshold" means the threshold (as may be updated), as applicable for certain Services, as set out in the Admin Console. + +“Feedback” means feedback or suggestions about the Services provided by Customer to Google. + +"Fees" means the product of the amount of Services used or ordered by Customer multiplied by the Prices, plus any applicable Taxes. + +"Google Indemnified Materials" means Google's technology used to provide the Services (excluding any open source software) and Google's Brand Features. + +"Google Maps Content" means any content provided through the Services (whether created by Google or its third-party licensors), including map and terrain data, imagery, traffic data, and places data (including business listings). + +"High Risk Activities" means activities where the use or failure of the Services could lead to death, personal injury, or environmental damage, including (a) emergency response services; (b) autonomous and semi-autonomous vehicle or drone control; (c) vessel navigation; (d) aviation; (e) air traffic control; (f) nuclear facilities operation. + +"HIPAA" means the Health Insurance Portability and Accountability Act of 1996 as it may be amended, and any regulations issued under it. + +"Indemnified Liabilities" means any (a) settlement amounts approved by the indemnifying party; and (b) damages and costs finally awarded against the indemnified party and its Affiliates by a court of competent jurisdiction. + +"including" means "including but not limited to". + +"Intellectual Property Rights" means current and future worldwide rights under patent, copyright, trade secret, trademark, and moral rights laws, and other similar rights. + +"Legal Process" means a data disclosure request made under law, governmental regulation, court order, subpoena, warrant, governmental regulatory or agency request, or other valid legal authority, legal procedure, or similar process. + +"Maps Service Specific Terms" means the then-current terms specific to one or more Services at https://cloud.google.com/maps-platform/terms/maps-service-terms/. + +"Maps Technical Support Services" means the technical support service provided by Google to Customer under the then-current Maps Technical Support Services Guidelines. + +"Maps Technical Support Services Guidelines" means the then-current technical support service guidelines at https://cloud.google.com/maps-platform/terms/tssg/. + +"Package Purchase" has the meaning set out in the Maps Service Specific Terms. + +"Personal Data" has the meaning provided in the General Data Protection Regulation (EU) 2016/679 of the European Parliament and of the Council of April 27, 2016. + +"Price" means the then-current applicable price(s) stated at https://cloud.google.com/maps-platform/pricing/sheet/. + +"Prohibited Territory" means the countries listed at https://cloud.google.com/maps-platform/terms/maps-prohibited-territories/. + +"Project" means a Customer-selected grouping of Google Maps Core Services resources for a particular Customer Application. + +"Reseller" means, if applicable, the authorized reseller that sells or supplies the Services to Customer. + +"Reseller Agreement" means, if applicable, a separate, independent agreement between Customer and Reseller regarding the Services. + +"Reseller Order Form" means an order form entered into by Reseller and Customer, subject to the Reseller Agreement. + +"Services" and "Google Maps Core Services" means the services described at https://cloud.google.com/maps-platform/terms/maps-services/. The Services include the Google Maps Content and the Software. + +"SLA" or "Service Level Agreement" means each of the then-current service level agreements at: https://cloud.google.com/maps-platform/terms/sla/. + +"Software" means any downloadable tools, software development kits, or other computer software provided by Google for use as part of the Services, including updates. + +"Taxes" means any duties, customs fees, or taxes (other than Google’s income tax) associated with the purchase of the Services, including any related penalties or interest. + +"Term" has the meaning stated in Section 1.6 of this Agreement. + +“Terms URL” means the following URL set forth here: https://cloud.google.com/maps-platform/terms/. + +"Third-Party Legal Proceeding" means any formal legal proceeding filed by an unaffiliated third party before a court or government tribunal (including any appellate proceeding). + +"Trademark Guidelines" means (a) Google’s Brand Terms and Conditions, located at: https://www.google.com/permissions/trademark/brand-terms.html; and (b) the “Use of Trademarks” section of the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademark policy. + +“URL Terms” means the following, which will control in the following order if there is a conflict: + +(a) the Maps Service Specific Terms; + +(b) the SLA; + +(c) the AUP; + +(d) the Maps Technical Support Services Guidelines; + +(e) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and + +(f) the Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-07-19.yml b/src/licensedcode/data/licenses/google-maps-tos-2018-07-19.yml new file mode 100644 index 00000000000..a53a4ebea49 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-07-19.yml @@ -0,0 +1,35 @@ +key: google-maps-tos-2018-07-19 +short_name: Google Maps Platform ToS 2018-07-19 +name: Google Maps Platform Terms of Service 2018-07-19 +category: Proprietary Free +owner: Google +homepage_url: https://cloud.google.com/maps-platform/terms +spdx_license_key: LicenseRef-scancode-google-maps-tos-2018-07-19 +text_urls: + - https://cloud.google.com/maps-platform/terms/index-20180719 +minimum_coverage: 90 +ignorable_authors: + - the U.S. Department + - the United States Department of State +ignorable_emails: + - legal-notices@google.com +ignorable_urls: + - https://cloud.google.com/maps-platform/pricing/sheet + - https://cloud.google.com/maps-platform/terms + - https://cloud.google.com/maps-platform/terms/aup + - https://cloud.google.com/maps-platform/terms/maps-controller-terms + - https://cloud.google.com/maps-platform/terms/maps-deprecation + - https://cloud.google.com/maps-platform/terms/maps-prohibited-territories + - https://cloud.google.com/maps-platform/terms/maps-service-terms + - https://cloud.google.com/maps-platform/terms/maps-services + - https://cloud.google.com/maps-platform/terms/sla + - https://cloud.google.com/maps-platform/terms/tssg + - https://developers.google.com/maps/documentation + - https://www.google.com/about/company/user-consent-policy.html + - https://www.google.com/dmca.html + - https://www.google.com/help/legalnotices_maps.html + - https://www.google.com/permissions/geoguidelines.html#geotrademark + - https://www.google.com/permissions/geoguidelines.html#geotrademarkpolicy + - https://www.google.com/permissions/trademark/brand-terms.html + - https://www.google.com/policies/privacy + diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-10-01.LICENSE b/src/licensedcode/data/licenses/google-maps-tos-2018-10-01.LICENSE new file mode 100644 index 00000000000..09f1ef92259 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-10-01.LICENSE @@ -0,0 +1,358 @@ +Google Maps Platform Terms of Service + +Last modified: October 1, 2018 + +If you have entered into an offline variant of this Agreement, the terms below do not apply, and your offline agreement governs your use of the Google Maps Core Services. + +Google Maps Platform License Agreement + +This Google Maps Platform License Agreement (the "Agreement") is made and entered into between Google and the entity or person agreeing to these terms ("Customer"). "Google" means either (i) Google Commerce Limited (“GCL”), a company incorporated under the laws of Ireland, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer has a billing address in the EU and has chosen “non-business” as the tax status/setting for its Google account, (ii) Google Ireland Limited, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer's billing address is in any country within Europe, the Middle East, or Africa ("EMEA"), (iii) Google Asia Pacific Pte. Ltd., with offices at 70 Pasir Panjang Road, #03-71, Mapletree Business City II Singapore 117371, if Customer's billing address is in any country within the Asia Pacific region ("APAC") except as provided below for Customers with the billing address in Japan, New Zealand, or Australia, (iv) Google Cloud Japan G.K., with offices at Roppongi Hills Mori Tower, 10-1, Roppongi 6-chome, Minato-ku Tokyo, if Customer’s billing address is in Japan, (v) Google Australia Pty Ltd., with offices at Level 5, 48 Pirrama Road, Pyrmont, NSW 2009 Australia, if Customer’s billing address is in Australia, or (vi) Google LLC, with offices at 1600 Amphitheatre Parkway, Mountain View, California 94043, if Customer's billing address is in any country in the world other than those in EMEA and APAC. For Customers with a billing address in New Zealand, as of November 1, 2018, this Agreement is made and entered into by and between Customer and Google New Zealand Limited, with offices at PWC Tower, Level 27, 188 Quay Street, Auckland, New Zealand 1010, as an authorized reseller in New Zealand of the Services and “Google” means Google Asia Pacific Pte. Ltd. and/or its affiliates (including Google New Zealand Limited) as the context requires. + +This Agreement is effective as of the date Customer clicks to accept the Agreement, or enters into a Reseller Agreement if purchasing through a Reseller (the "Effective Date"). If you are accepting on behalf of Customer, you represent and warrant that: (i) you have full legal authority to bind Customer to this Agreement; (ii) you have read and understand this Agreement; and (iii) you agree, on behalf of Customer, to this Agreement. If you do not have the legal authority to bind Customer, please do not click to accept. This Agreement governs Customer's access to and use of the Services. + +For an offline variant of this Agreement, you may contact Google for more information. +1. Provision of the Services. + +1.1 Use of the Services in Customer Applications. Google will provide the Services to Customer in accordance with the applicable SLA, and Customer may use the Google Maps Core Services in Customer Application(s) in accordance with Section 3 (License). + +1.2 Admin Console; Projects; API Keys. Customer will administer the Services through the online Admin Console. To access the Services, Customer must create Project(s) and use its API key(s) in accordance with the Documentation. + +1.3 Accounts. Customer must have an Account to access the Admin Console through which Customer may administer its use of the Services. Customer is responsible for: (a) the information it provides in connection with the Account; (b) maintaining the confidentiality and security of the Account and associated passwords; and (c) any use of its Account. + +1.4 Customer Domains and Applications. Customer must list in the Admin Console each authorized domain and application that uses the Services. Customer is responsible for ensuring that only authorized domains and applications use the Services. + +1.5 New Features and Services. Google may: (a) make new features or functionality available through the Services and (b) add new services to the "Services" definition (by adding them at the URL stated under that definition). Customer’s use of new features or functionality may be contingent on Customer’s agreement to additional terms applicable to the new feature or functionality. + +1.6 Modifications. + +1.6.1 To the Services. Google may make changes to the Services, subject to Section 9 (Deprecation Policy), which may include adding, updating, or discontinuing any Services or portion or feature(s) of the Services. Google will notify Customer of any material change to the Services. + +1.6.2. To the Agreement. Google may make changes to this Agreement, including pricing (and any linked documents). Unless otherwise noted by Google, material changes to the Agreement will become effective 30 days after notice is given, except if the changes apply to new functionality in which case they will be effective immediately. Google will provide at least 90 days advance notice for materially adverse changes to any SLAs by: (a) sending an email to Customer’s primary point of contact; (b) posting a notice in the Admin Console; or (c) posting a notice to the applicable SLA webpage. If Customer does not agree to the revised Agreement, Customer should stop using the Services. Google will post any modification to this Agreement to the Terms URL. +2. Payment Terms. + +2.1 Free Quota. Certain Services are provided to Customer without charge up to the Fee Threshold, as applicable. + +2.2 Online Billing. At the end of the applicable Fee Accrual Period, Google will issue an electronic bill to Customer for all charges accrued above the Fee Threshold based on (a) Customer’s use of the Services during the previous Fee Accrual Period; (b) any Committed Purchases selected; and (c) any Package Purchases selected. For use above the Fee Threshold, Customer will be responsible for all Fees up to the amount set in the Account and will pay all Fees in the currency set forth in the invoice. If Customer elects to pay by credit card, debit card, or other non-invoiced form of payment, Google will charge (and Customer will pay) all Fees immediately at the end of the Fee Accrual Period. If Customer elects to pay by invoice (and Google agrees), all Fees are due as stated in the invoice. Customer’s obligation to pay all Fees is non-cancellable. Google's measurement of Customer’s use of the Services is final. Google has no obligation to provide multiple bills. Payments made via wire transfer must include the bank information provided by Google. If Customer has entered into the Agreement with GCL, Google may collect payments via Google Payment Limited, a company incorporated in England and Wales with offices at Belgrave House, 76 Buckingham Palace Road, London, SW1W 9TQ, United Kingdom. + +2.3 Taxes. + +2.3.1 Customer is responsible for any Taxes, and Customer will pay Google for the Services without any reduction for Taxes. If Google is obligated to collect or pay Taxes, the Taxes will be invoiced to Customer, unless Customer provides Google with a timely and valid tax exemption certificate authorized by the appropriate taxing authority. In some states the sales tax is due on the total purchase price at the time of sale and must be invoiced and collected at the time of the sale. If Customer is required by law to withhold any Taxes from its payments to Google, Customer must provide Google with an official tax receipt or other appropriate documentation to support such withholding. If under the applicable tax legislation the Services are subject to local VAT and the Customer is required to make a withholding of local VAT from amounts payable to Google, the value of Services calculated in accordance with the above procedure will be increased (grossed up) by the Customer for the respective amount of local VAT and the grossed up amount will be regarded as a VAT inclusive price. Local VAT amount withheld from the VAT-inclusive price will be remitted to the applicable local tax entity by the Customer and Customer will ensure that Google will receives payment for its services for the net amount as would otherwise be due (the VAT inclusive price less the local VAT withheld and remitted to applicable tax authority). + +2.3.2 If required under applicable law, Customer will provide Google with applicable tax identification information that Google may require to ensure its compliance with applicable tax regulations and authorities in applicable jurisdictions. Customer will be liable to pay (or reimburse Google for) any taxes, interest, penalties or fines arising out of any mis-declaration by the Customer. + +2.4 Invoice Disputes & Refunds. Any invoice disputes must be submitted before the payment due date. If the parties determine that certain billing inaccuracies are attributable to Google, Google will not issue a corrected invoice, but will instead issue a credit memo specifying the incorrect amount in the affected invoice. If the disputed invoice has not yet been paid, Google will apply the credit memo amount to the disputed invoice and Customer will be responsible for paying the resulting net balance due on that invoice. To the fullest extent permitted by law, Customer waives all claims relating to Fees unless claimed within 60 days after charged (this does not affect any Customer rights with its credit card issuer). Refunds (if any) are at the discretion of Google and will only be in the form of credit for the Services. Nothing in this Agreement obligates Google to extend credit to any party. + +2.5 Delinquent Payments; Suspension. Late payments may bear interest at the rate of 1.5% per month (or the highest rate permitted by law, if less) from the payment due date until paid in full. Customer will be responsible for all reasonable expenses (including attorneys’ fees) incurred by Google in collecting such delinquent amounts. If Customer is late on payment for the Services, Google may suspend the Services or terminate the Agreement for breach under Section 11.2 (Termination for Breach). + +2.6 No Purchase Order Number Required. Google is not required to provide a purchase order number on Google’s invoice (or otherwise). +3. License. + +3.1 License Grant. Subject to this Agreement's terms, during the Term, Google grants to Customer a non-exclusive, non-transferable, non-sublicensable, license to use the Services in Customer Application(s), which may be: (a) fee-based or non-fee-based; (b) public/external or private/internal; (c) business-to-business or business-to-consumer; or (d) asset tracking. + +3.2 License Requirements and Restrictions. The following are conditions of the license granted in Section 3.1. In this Section 3.2, the phrase “Customer will not” means “Customer will not, and will not permit a third party to”. + +3.2.2 General Restrictions. Unless Google specifically agrees in writing, Customer will not: (a) copy, modify, create a derivative work of, reverse engineer, decompile, translate, disassemble, or otherwise attempt to extract any or all of the source code (except to the extent such restriction is expressly prohibited by applicable law); (b) sublicense, transfer, or distribute any of the Services; (c) sell, resell, or otherwise make the Services available as a commercial offering to a third party; or (d) access or use the Services: (i) for High Risk Activities; (ii) in a manner intended to avoid incurring Fees; (iii) for activities that are subject to the International Traffic in Arms Regulations (ITAR) maintained by the United States Department of State; (iv) on behalf of or for the benefit of any entity or person who is legally prohibited from using the Services; or (v) to transmit, store, or process Protected Health Information (as defined in and subject to HIPAA). + +3.2.3 Requirements for Using the Services. + +(a) End User Terms and Privacy Policy. Customer’s End User terms of service will state that End Users’ use of Google Maps is subject to the then-current Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html and Google Privacy Policy at https://www.google.com/policies/privacy/. + +(b) Attribution. Customer will display all attribution that (i) Google provides through the Services (including branding, logos, and copyright and trademark notices); or (ii) is specified in the Maps Service Specific Terms. Customer will not modify, obscure, or delete such attribution. + +(c) Review of Customer Applications. At Google’s request, Customer will submit Customer Application(s) and Project(s) to Google for review to ensure compliance with the Agreement (including the AUP). + +3.2.4 Restrictions Against Misusing the Services. + +(a) No Scraping. Customer will not extract, export, scrape, or cache Google Maps Content for use outside the Services. For example, Customer will not:(i) pre-fetch, index, store, reshare, or rehost Google Maps Content outside the services; (ii) bulk download geocodes; (iii) copy business names, addresses, or user reviews; or (iv) use Google Maps Content with text-to-speech services. Caching is permitted for certain Services as described in the Maps Service Specific Terms. + +(b) No Creating Content From Google Maps Content. Customer will not create content based on Google Maps Content, including tracing, digitizing, or creating other datasets based on Google Maps Content. + +(c) No Re-Creating Google Products or Features. Customer will not use the Services to create a product or service with features that are substantially similar to or that re-create the features of another Google product or service. Customer’s product or service must contain substantial, independent value and features beyond the Google products or services. For example, Customer will not: (i) re-distribute the Google Maps Core Services or pass them off as if they were Customer’s services; (ii) create a substitute of the Google Maps Core Services, Google Maps, or Google Maps mobile apps, or their features; (iii) use the Google Maps Core Services in a listings or directory service or to create or augment an advertising product; (iv) combine data from the Directions API, Geolocation API, and Maps SDK for Android to create real-time navigation functionality substantially similar to the functionality provided by the Google Maps for Android mobile app. + +(d) No Use With Non-Google Maps. Customer will not use the Google Maps Core Services in a Customer Application that contains a non-Google map. For example, Customer will not (i) display Places listings on a non-Google map, or (ii) display Street View imagery and non-Google maps in the same Customer Application. + +(e) No Circumventing Fees. Customer will not circumvent the applicable Fees. For example, Customer will not create multiple billing accounts or Projects to avoid incurring Fees; prevent Google from accurately calculating Customer’s Service usage levels; abuse any free Service quotas; or offer access to the Services under a “time-sharing” or “service bureau” model. + +(f) No Use in Prohibited Territories. Customer will not distribute or market in a Prohibited Territory any Customer Application(s) that use the Google Maps Core Services. + +(g) No Use in Embedded Vehicle Systems. Customer will not use the Google Maps Core Services in connection with any Customer Application or device embedded in a vehicle. For example, Customer will not create a Customer Application that (i) is embedded in an in-dashboard automotive infotainment system; and (ii) allows End Users to request driving directions from the Directions API. + +(h) No Modifying Search Results Integrity. Customer will not modify any of the Service’s search results. + +(i) No Use for High Risk Activities. Customer will not use the Google Maps Core Services for High Risk Activities. + +3.2.5 Benchmarking. Customer may not publicly disclose directly or through a third party the results of any comparative or compatibility testing, benchmarking, or evaluation of the Services (each, a “Test”), unless the disclosure includes all information necessary for Google or a third party to replicate the Test. If Customer conducts, or directs a third party to conduct, a Test of the Services and publicly discloses the results directly or through a third party, then Google (or a Google directed third party) may conduct Tests of any publicly available cloud products or services provided by Customer and publicly disclose the results of any such Test (which disclosure will include all information necessary for Customer or a third party to replicate the Test). +4. Customer Obligations. + +4.1 Customer Domains and Applications. Customer must list in the Admin Console each authorized domain and application that uses the Services. Customer is responsible for ensuring that only authorized domains and applications use the Services. + +4.2 Compliance. Customer will: (a) ensure that Customer’s and its End Users’ use of the Services complies with the Agreement, including the applicable Services’ AUP and URL Terms; and (b) use commercially reasonable efforts to prevent, promptly notify Google of, and terminate any unauthorized use of or access to its Account(s) or the Services. + +4.3 Documentation. Google may provide Documentation for Customer’s use of the Services. The Documentation may specify restrictions (e.g. attribution or HTML restrictions) on how the Services may be used and Customer will comply with any such restrictions specified. + +4.4 Copyright Policy. Google provides information to help copyright holders manage their intellectual property online, but Google cannot determine whether something is being used legally or not without their input. Google responds to notices of alleged copyright infringement and terminates accounts of repeat infringers according to applicable copyright laws including in particular the process set out in the U.S. Digital Millennium Copyright Act. If Customer thinks somebody is violating Customer’s or Customer End Users’ copyrights and wants to notify Google, Customer can find information about submitting notices, and Google's policy about responding to notices at https://www.google.com/dmca.html. + +4.5 Data Use, Protection, and Privacy. + +4.5.1 Data Use and Retention. To provide the Services through the Customer Application(s), Google must receive and collect data from End Users and Customer, including search terms, IP addresses, and latitude/longitude coordinates. Customer acknowledges and agrees that Google and its Affiliates may use and retain this data to provide and improve Google products and services, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. + +4.5.2 European Data Protection Terms. Google and Customer agree to the Google Maps Controller-Controller Data Protection Terms at https://cloud.google.com/maps-platform/terms/maps-controller-terms. + +4.5.3 General Privacy Requirements. + +(a) End User Privacy. Customer’s use of the Services in the Customer Application will comply with applicable privacy laws, including laws regarding Services that store and access Cookies on End Users’ devices. If Customer has End Users in the European Economic Area, Customer will comply with the EU End User Consent Policy at https://www.google.com/about/company/user-consent-policy.html. + +(b) End User Personal Data. Through the normal functioning of the Google Maps Core Services, End Users provide device identifiers and Personal Data directly to Google, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. However, Customer acknowledges and agrees that Customer will not provide these categories of data to Google. + +(c) End User Location Privacy Requirements. To safeguard End Users’ location privacy, Customer will ensure that the Customer Application(s): (i) notify End Users in advance of (y) the type(s) of data that Customer intends to collect from the End Users or the End Users’ devices, and (z) the combination and use of End User's location with any other data provider's data; and (ii) will not obtain or cache any End User's location except with the End User's express, prior, revocable consent. +5. Suspension. + +5.1 For License Restrictions Violations. Google may Suspend the Services without prior notice if Customer breaches Section 3.2 (License Requirements and Restrictions). + +5.2 For AUP Violations or Emergency Security Issues. Google may also Suspend Services as described in Subsections 5.2.1 (AUP Violations) and 5.2.2 (Emergency Security Issues). Any Suspension under those Sections will be to the minimum extent and for the shortest duration required to: (a) prevent or terminate the offending use, (b) prevent or resolve the Emergency Security Issue, or (c) comply with applicable law. + +5.2.1 AUP Violations. If Google becomes aware that Customer’s or any End User’s use of the Services violates the AUP, Google will give Customer notice of such violation by requesting that Customer correct the violation. If Customer fails to correct such violation within 24 hours, or if Google is otherwise required by applicable law to take action, then Google may Suspend all or part of Customer’s use of the Services. + +5.2.2 Emergency Security Issues. Google may immediately Suspend Customer’s use of the Services if (a) there is an Emergency Security Issue or (b) Google is required to Suspend such use immediately to comply with applicable law. At Customer’s request, unless prohibited by applicable law, Google will notify Customer of the basis for the Suspension as soon as is reasonably possible. + +5.3 For Alleged Third-Party Intellectual Property Rights Infringement. If the Customer Application is alleged to infringe a third party’s Intellectual Property Rights, Google may require Customer to suspend distributing or selling the Customer Application on 30 days’ written notice until such allegation is fully resolved. In any event, this Section 5.3 does not reduce Customer’s obligations under Section 15 (Indemnification). +6. Intellectual Property Rights; Feedback. + +6.1 Intellectual Property Rights. Except as expressly stated in this Agreement, this Agreement does not grant either party any rights, implied or otherwise, to the other’s content or any of the other’s intellectual property. As between the parties, Customer owns all Intellectual Property Rights in the Customer Application, and Google owns all Intellectual Property Rights in the Services and Software. + +6.2 Customer Feedback. If Customer provides Google Feedback about the Services, then Google may use that information without obligation to Customer, and Customer irrevocably assigns to Google all right, title, and interest in that Feedback. +7. Third Party Legal Notices and License Terms. + +Certain components of the Services (including open source software) are subject to third-party copyright and other Intellectual Property Rights, as specified in: (a) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and (b) separate, publicly-available third-party license terms, which Google will provide to Customer on request. +8. Technical Support Services. + +8.1 By Google. Google will provide Maps Technical Support Services to Customer in accordance with the Maps Technical Support Services Guidelines. + +8.2 By Customer. Customer is responsible for technical support of its Customer Applications and Projects. +9. Deprecation Policy. + +9.1 Google will notify Customer at least 12 months before making material discontinuance(s) or backwards incompatible change(s) to the Services, unless Google reasonably determines that: (a) Google cannot do so by law or by contract (including if there is a change in applicable law or contract) or (b) continuing to provide the Services could create a (i) security risk or (ii) substantial economic or technical burden. + +9.2 Section 9.1 applies to the Services listed at https://cloud.google.com/maps-platform/terms/maps-deprecation/. If Google deprecates any Services that are not listed at the above URL, Google will use commercially reasonable efforts to minimize the adverse impacts of such deprecations. +10. Confidential Information. + +10.1 Obligations. The recipient will not disclose the Confidential Information, except to Affiliates, employees, agents or professional advisors who need to know it and who have agreed in writing (or in the case of professional advisors are otherwise bound) to keep it confidential. Subject to Section 10.2 (Required Disclosure), the recipient will ensure that those people and entities use the received Confidential Information only to exercise rights and fulfill obligations under this Agreement, while using reasonable care to keep it confidential. + +10.2 Required Disclosure. The recipient may disclose the other party’s Confidential Information to the extent required by applicable Legal Process; provided that the recipient uses commercially reasonable efforts to: (a) promptly notify the other party of such disclosure before disclosing; and (b) comply with the other party’s reasonable requests regarding its efforts to oppose the disclosure. Notwithstanding the foregoing, subsections (a) and (b) above will not apply if the recipient determines that complying with (a) and (b) could: (i) result in a violation of Legal Process; (ii) obstruct a governmental investigation; and/or (iii) lead to death or serious physical harm to an individual. As between the parties, Customer is responsible for responding to all third party requests concerning its use and Customer End Users’ use of the Services. +11. Term and Termination. + +11.1 Agreement Term. The “Term” of this Agreement will begin on the Effective Date and continue until the Agreement is terminated under this Section. + +11.2 Termination for Breach. Either party may terminate this Agreement for breach if: (a) the other party is in material breach of the Agreement and fails to cure that breach within 30 days after receipt of written notice; or (b) the other party ceases its business operations or becomes subject to insolvency proceedings and the proceedings are not dismissed within 90 days. In addition, Google may terminate any, all, or any portion of the Services or Projects, if Customer meets any of the conditions in subsections (a) or (b). + +11.3 Termination for Inactivity. Google reserves the right to terminate provision of Service(s) to a Project on 30 days advance notice if, for more than 180 days, such Project (a) has not made any requests to the Services from any Customer Applications; or (b) such Project has not incurred any Fees for such Service(s). + +11.4 Termination for Convenience. Customer may stop using the Services at any time. Subject to any financial commitments expressly made by this Agreement, Customer may terminate this Agreement for its convenience at any time on prior written notice and upon termination, must cease use of the applicable Services. Google may terminate this Agreement for its convenience at any time without liability to Customer. + +11.5 Effects of Termination. + +11.5.1 If the Agreement is terminated, then: (a) the rights granted by one party to the other will immediately cease; (b) all Fees owed by Customer to Google are immediately due upon receipt of the final electronic bill; and (c) Customer will delete the Software and any content from the Services by the termination effective date. + +11.5.2 The following will survive expiration or termination of the Agreement: Section 2 (Payment Terms), Section 3.2 (License Requirements and Restrictions), Section 4.5 (Data Use, Protection, and Privacy), Section 6 (Intellectual Property; Feedback), Section 10 (Confidential Information), Section 11.5 (Effects of Termination), Section 14 (Disclaimer), Section 15 (Indemnification), Section 16 (Limitation of Liability), Section 19 (Miscellaneous), and Section 20 (Definitions). +12. Publicity. + +Customer may state publicly that it is a customer of the Services, consistent with the Trademark Guidelines. If Customer wants to display Google Brand Features in connection with its use of the Services, Customer must obtain written permission from Google through the process specified in the Trademark Guidelines. Google may include Customer’s name or Brand Features in a list of Google customers, online or in promotional materials. Google may also verbally reference Customer as a customer of the Services. Neither party needs approval if it is repeating a public statement that is substantially similar to a previously-approved public statement. Any use of a party’s Brand Features will inure to the benefit of the party holding Intellectual Property Rights to those Brand Features. A party may revoke the other party’s right to use its Brand Features under this Section with written notice to the other party and a reasonable period to stop the use. Where applicable, Customer may use Google Maps Content in accordance with the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademarkpolicy, which will be considered “Google’s prior written consent” for the permitted uses. +13. Representations and Warranties. + +Each party represents and warrants that: (a) it has full power and authority to enter into the Agreement; and (b) it will comply with Export Control Laws and Anti-Bribery Laws applicable to its provision, receipt, or use, of the Services, as applicable. +14. Disclaimer. + + EXCEPT AS EXPRESSLY PROVIDED FOR IN THE AGREEMENT, TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, GOOGLE: (A) DOES NOT MAKE ANY WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR USE, NONINFRINGEMENT, OR ERROR-FREE OR UNINTERRUPTED USE OF THE SERVICES OR SOFTWARE; (B) MAKES NO REPRESENTATION ABOUT CONTENT OR INFORMATION ACCESSIBLE THROUGH THE SERVICES; AND (C) WILL ONLY BE REQUIRED TO PROVIDE THE REMEDIES EXPRESSLY STATED IN THE SLA FOR FAILURE TO PROVIDE THE SERVICES. GOOGLE MAPS CORE SERVICES ARE PROVIDED FOR PLANNING PURPOSES ONLY. INFORMATION FROM THE GOOGLE MAPS CORE SERVICES MAY DIFFER FROM ACTUAL CONDITIONS, AND MAY NOT BE SUITABLE FOR THE CUSTOMER APPLICATION. CUSTOMER MUST EXERCISE INDEPENDENT JUDGMENT WHEN USING THE SERVICES TO ENSURE THAT THE CUSTOMER APPLICATION IS SAFE FOR END USERS AND OTHER THIRD PARTIES. +15. Indemnification. + +15.1 By Customer. Unless prohibited by applicable law, Customer will defend Google and its Affiliates and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from (a) any Customer Indemnified Materials or (b) Customer’s or an End User’s use of the Services in violation of the Agreement. + +15.2 By Google. Google will defend Customer and its Affiliates participating under the Agreement (“Customer Indemnified Parties”), and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from an allegation that Customer Indemnified Parties' use in accordance with the Agreement of Google Indemnified Materials infringes the third party's Intellectual Property Rights. + +15.3 Exclusions. This Section 15 will not apply to the extent the underlying allegation arises from (a) the indemnified party’s breach of the Agreement or (b) a combination of the indemnifying party’s technology or Brand Features with materials not provided by the indemnifying party, unless the combination is required by the Agreement. + +15.4 Conditions. Sections 15.1 and 15.2 will apply only to the extent: + +(a) The indemnified party has promptly notified the indemnifying party in writing of any Allegation(s) that preceded the Third-Party Legal Proceeding and cooperates reasonably with the indemnifying party to resolve the Allegation(s) and Third-Party Legal Proceeding. If breach of this Section 15.4(a) prejudices the defense of the Third-Party Legal Proceeding, the indemnifying party’s obligations under Section 15.1 or 15.2 (as applicable) will be reduced in proportion to the prejudice. + +(b) The indemnified party tenders sole control of the indemnified portion of the Third-Party Legal Proceeding to the indemnifying party, subject to the following: (i) the indemnified party may appoint its own non-controlling counsel, at its own expense; and (ii) any settlement requiring the indemnified party to admit liability, pay money, or take (or refrain from taking) any action, will require the indemnified party’s prior written consent, not to be unreasonably withheld, conditioned, or delayed. + +15.5 Remedies. + +(a) If Google reasonably believes the Services might infringe a third party’s Intellectual Property Rights, then Google may, at its sole option and expense: (i) procure the right for Customer to continue using the Services; (ii) modify the Services to make them non-infringing without materially reducing their functionality; or (iii) replace the Services with a non-infringing, functionally equivalent alternative. + +(b) If Google does not believe the remedies in Section 15.5(a) are commercially reasonable, then Google may suspend or terminate Customer’s use of the impacted Services. + +15.6 Sole Rights and Obligations. Without affecting either party’s termination rights, this Section 15 states the parties’ sole and exclusive remedy under this Agreement for any third party's Intellectual Property Rights Allegations and Third-Party Legal Proceedings covered by this Section 15 (Indemnification). +16. Limitation of Liability. + +16.1 Limitation on Indirect Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, WILL NOT BE LIABLE UNDER THIS AGREEMENT FOR LOST REVENUES OR PROFITS (WHETHER DIRECT OR INDIRECT), INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES, EVEN IF THE PARTY OR LICENSOR, AS APPLICABLE, KNEW OR SHOULD HAVE KNOWN THAT SUCH DAMAGES WERE POSSIBLE AND EVEN IF DIRECT DAMAGES DO NOT SATISFY A REMEDY. + +16.2 Limitation on Amount of Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, MAY NOT BE HELD LIABLE UNDER THIS AGREEMENT FOR MORE THAN THE AMOUNT PAID BY CUSTOMER TO GOOGLE UNDER THIS AGREEMENT DURING THE TWELVE MONTHS BEFORE THE EVENT GIVING RISE TO LIABILITY. + +16.3 Exceptions to Limitations. These limitations of liability do not apply to breaches of confidentiality obligations, violations of a party’s Intellectual Property Rights by the other party, or Customer's payment obligations. +17. Advertising. + +In its sole discretion, Customer may configure the Service to either display or not display advertisements served by Google. +18. U.S. Federal Agency Users. + +The Services were developed solely at private expense and are commercial computer software and related documentation within the meaning of the applicable Federal Acquisition Regulations and their agency supplements. +19. Miscellaneous. + +19.1 Notices. All notices must be in writing and addressed to the other party’s legal department and primary point of contact. The email address for notices being sent to Google’s Legal Department is legal-notices@google.com. Notice will be treated as given on receipt as verified by written or automated receipt or by electronic log (as applicable). + +19.2 Assignment. Neither party may assign any part of this Agreement without the written consent of the other, except to an Affiliate where: (a) the assignee has agreed in writing to be bound by the terms of this Agreement; (b) the assigning party remains liable for obligations under the Agreement if the assignee defaults on them; and (c) the assigning party has notified the other party of the assignment. Any other attempt to assign is void. + +19.3 Change of Control. If a party experiences a change of Control (for example, through a stock purchase or sale, merger, or other form of corporate transaction): (a) that party will give written notice to the other party within 30 days after the change of Control; and (b) the other party may immediately terminate this Agreement any time between the change of Control and 30 days after it receives that written notice. + +19.4 Force Majeure. Neither party will be liable for failure or delay in performance to the extent caused by circumstances beyond its reasonable control, including acts of God, natural disasters, terrorism, riots, or war. + +19.5 Subcontracting. Google may subcontract obligations under the Agreement but will remain liable to Customer for any subcontracted obligations. + +19.6 No Agency. This Agreement does not create any agency, partnership or joint venture between the parties. + +19.7 No Waiver. Neither party will be treated as having waived any rights by not exercising (or delaying the exercise of) any rights under this Agreement. + +19.8 Severability. If any term (or part of a term) of this Agreement is invalid, illegal, or unenforceable, the rest of the Agreement will remain in effect. + +19.9 No Third-Party Beneficiaries. This Agreement does not confer any benefits on any third party unless it expressly states that it does. + +19.10 Equitable Relief. Nothing in this Agreement will limit either party’s ability to seek equitable relief. + +19.11 Governing Law. + +19.11.1 For U.S. City, County, and State Government Entities. If Customer is a U.S. city, county or state government entity, then the Agreement will be silent regarding governing law and venue. + +19.11.2 For U.S. Federal Government Entities. If Customer is a U.S. federal government entity then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY THE LAWS OF THE UNITED STATES OF AMERICA, EXCLUDING ITS CONFLICT OF LAWS RULES. SOLELY TO THE EXTENT PERMITTED BY FEDERAL LAW: (I) THE LAWS OF THE STATE OF CALIFORNIA (EXCLUDING CALIFORNIA’S CONFLICT OF LAWS RULES) WILL APPLY IN THE ABSENCE OF APPLICABLE FEDERAL LAW; AND (II) FOR ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES, THE PARTIES CONSENT TO PERSONAL JURISDICTION IN, AND THE EXCLUSIVE VENUE OF, THE COURTS IN SANTA CLARA COUNTY, CALIFORNIA. + +19.11.3 For All Other Entities. If Customer is any entity not listed in Section 19.11.1 or 19.11.2 then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY CALIFORNIA LAW, EXCLUDING THAT STATE’S CONFLICT OF LAWS RULES, AND WILL BE LITIGATED EXCLUSIVELY IN THE FEDERAL OR STATE COURTS OF SANTA CLARA COUNTY, CALIFORNIA, USA; THE PARTIES CONSENT TO PERSONAL JURISDICTION IN THOSE COURTS. + +19.12 Amendments. Except as stated in Section 1.5.2 (Modifications; To the Agreement), any amendment must be in writing, signed by both parties, and expressly state that it is amending this Agreement. + +19.13 Entire Agreement. This Agreement sets out all terms agreed between the parties and supersedes all other agreements between the parties relating to its subject matter. In entering into this Agreement, neither party has relied on, and neither party will have any right or remedy based on, any statement, representation or warranty (whether made negligently or innocently), except those expressly stated in this Agreement. The terms located at any URL referenced in this Agreement and the Documentation are incorporated by reference into the Agreement. After the Effective Date, Google may provide an updated URL in place of any URL in this Agreement. + +19.14 Conflicting Terms. If there is a conflict between the documents that make up this Agreement, the documents will control in the following order: the Agreement, and the terms at any URL. + +19.15 Conflicting Translations. If this Agreement is translated into any other language, and there is a discrepancy between the English text and the translated text, the English text will govern. +20. Reseller Orders. + +This Section applies if Customer orders the Services from a Reseller under a Reseller Agreement (including the Reseller Order Form). + +20.1 Orders. If Customer orders Services from Reseller, then: (a) fees for the Services will be set between Customer and Reseller, and any payments will be made directly to Reseller under the Reseller Agreement; (b) Section 2 of this Agreement (Payment Terms) will not apply to the Services; (c) Customer will receive any applicable SLA credits from Reseller, if owed to Customer in accordance with the SLA; and (d) Google will have no obligation to provide any SLA credits to a Customer who orders Services from the Reseller. + +20.2 Conflicting Terms. If Customer orders Google Maps Core Services from a Reseller and if any documents conflict, then the documents will control in the following order: the Agreement, the terms at any URL (including the URL Terms), Reseller Order Form. For example, if there is a conflict between the Maps Service Specific Terms and the Reseller Order Form, the Maps Service Specific Terms will control. + +20.3 Reseller as Administrator. At Customer's discretion, Reseller may access Customer's Projects, Accounts, or the Services on behalf of Customer. As between Google and Customer, Customer is solely responsible for: (a) any access by Reseller to Customer’s Account(s), Project(s), or the Services; and (b) defining in the Reseller Agreement any rights or obligations as between Reseller and Customer with respect to the Accounts, Projects, or Services. + +20.4 Reseller Verification of Customer Application(s). Before providing the Services, Reseller may also verify that Customer owns or controls the Customer Applications. If Reseller determines that Customer does not own or control the Customer Applications, then Google will have no obligation to provide the Services to Customer. +21. Definitions. + +"Account" means Customer’s Google Account. + +"Admin Console" means the online console(s) and/or tool(s) provided by Google to Customer for administering the Services. + +"Affiliate" means any entity that directly or indirectly Controls, is Controlled by, or is under common Control with a party. + +"Allegation" means an unaffiliated third party’s allegation. + +“Anti-Bribery Laws” means all applicable commercial and public anti-bribery laws, (for example, the U.S. Foreign Corrupt Practices Act of 1977 and the UK Bribery Act 2010), which prohibit corrupt offers of anything of value, either directly or indirectly, to anyone, including government officials, to obtain or keep business or to secure any other improper commercial advantage. “Government officials” include any government employee; candidate for public office; and employee of government-owned or government-controlled companies, public international organizations, and political parties. + +"AUP" or "Acceptable Use Policy" means the then-current Acceptable Use Policy for the Services at: https://cloud.google.com/maps-platform/terms/aup/. + +"Brand Features" means the trade names, tradmarks, service marks, logos, domain names, and other distinctive brand features of each party, respectively, as secured by such party. + +"Committed Purchase(s)" has the meaning provided in the Maps Service Specific Terms. + +"Confidential Information" means information that one party (or an Affiliate) discloses to the other party under this Agreement, and which is marked as confidential or would normally under the circumstances be considered confidential information. It does not include information that is independently developed by the recipient, is rightfully given to the recipient by a third party without confidentiality obligations, or becomes public through no fault of the recipient. + +"Control" means control of greater than 50% of the voting rights or equity interests of a party. + +"Customer Application" means any web domain or application (including all source code and features) owned or controlled by Customer, or that Customer is authorized to use. + +"Customer End User" or "End User" means an individual or entity that Customer permits to use the Services or Customer Application(s). + +“Customer Indemnified Materials” means the Customer Application and Customer Brand Features. + +"Documentation" means the Google documentation (as may be updated) in the form generally made available by Google for use with the Services at https://developers.google.com/maps/documentation. + +"Emergency Security Issue" means either: (a) Customer’s or Customer End Users’ use of the Services in violation of the AUP, which could disrupt: (i) the Services; (ii) other customers’ or their customer end users’ use of the Services; or (iii) the Google network or servers used to provide the Services; or (b) unauthorized third party access to the Services. + +"Europe" or "European" means European Economic Area or Switzerland. + +“Export Control Laws” means all applicable export and re-export control laws and regulations, including any applicable munitions- or defense-related regulations (for example, the International Traffic in Arms Regulations maintained by the U.S. Department of State). + +"Fee Accrual Period" means a calendar month or another period specified by Google in the Admin Console. + +"Fee Threshold" means the threshold (as may be updated), as applicable for certain Services, as set out in the Admin Console. + +“Feedback” means feedback or suggestions about the Services provided by Customer to Google. + +"Fees" means the product of the amount of Services used or ordered by Customer multiplied by the Prices, plus any applicable Taxes. + +"Google Indemnified Materials" means Google's technology used to provide the Services (excluding any open source software) and Google's Brand Features. + +"Google Maps Content" means any content provided through the Services (whether created by Google or its third-party licensors), including map and terrain data, imagery, traffic data, and places data (including business listings). + +"High Risk Activities" means activities where the use or failure of the Services could lead to death, personal injury, or environmental damage, including (a) emergency response services; (b) autonomous and semi-autonomous vehicle or drone control; (c) vessel navigation; (d) aviation; (e) air traffic control; (f) nuclear facilities operation. + +"HIPAA" means the Health Insurance Portability and Accountability Act of 1996 as it may be amended, and any regulations issued under it. + +"Indemnified Liabilities" means any (a) settlement amounts approved by the indemnifying party; and (b) damages and costs finally awarded against the indemnified party and its Affiliates by a court of competent jurisdiction. + +"including" means "including but not limited to". + +"Intellectual Property Rights" means current and future worldwide rights under patent, copyright, trade secret, trademark, and moral rights laws, and other similar rights. + +"Legal Process" means a data disclosure request made under law, governmental regulation, court order, subpoena, warrant, governmental regulatory or agency request, or other valid legal authority, legal procedure, or similar process. + +"Maps Service Specific Terms" means the then-current terms specific to one or more Services at https://cloud.google.com/maps-platform/terms/maps-service-terms/. + +"Maps Technical Support Services" means the technical support service provided by Google to Customer under the then-current Maps Technical Support Services Guidelines. + +"Maps Technical Support Services Guidelines" means the then-current technical support service guidelines at https://cloud.google.com/maps-platform/terms/tssg/. + +"Package Purchase" has the meaning set out in the Maps Service Specific Terms. + +"Personal Data" has the meaning provided in the General Data Protection Regulation (EU) 2016/679 of the European Parliament and of the Council of April 27, 2016. + +"Price" means the then-current applicable price(s) stated at https://cloud.google.com/maps-platform/pricing/sheet/. + +"Prohibited Territory" means the countries listed at https://cloud.google.com/maps-platform/terms/maps-prohibited-territories/. + +"Project" means a Customer-selected grouping of Google Maps Core Services resources for a particular Customer Application. + +"Reseller" means, if applicable, the authorized reseller that sells or supplies the Services to Customer. + +"Reseller Agreement" means, if applicable, a separate, independent agreement between Customer and Reseller regarding the Services. + +"Reseller Order Form" means an order form entered into by Reseller and Customer, subject to the Reseller Agreement. + +"Services" and "Google Maps Core Services" means the services described at https://cloud.google.com/maps-platform/terms/maps-services/. The Services include the Google Maps Content and the Software. + +"SLA" or "Service Level Agreement" means each of the then-current service level agreements at: https://cloud.google.com/maps-platform/terms/sla/. + +"Software" means any downloadable tools, software development kits, or other computer software provided by Google for use as part of the Services, including updates. + +"Taxes" means any duties, customs fees, or taxes (other than Google’s income tax) associated with the purchase of the Services, including any related penalties or interest. + +"Term" has the meaning stated in Section 1.6 of this Agreement. + +“Terms URL” means the following URL set forth here: https://cloud.google.com/maps-platform/terms/. + +"Third-Party Legal Proceeding" means any formal legal proceeding filed by an unaffiliated third party before a court or government tribunal (including any appellate proceeding). + +"Trademark Guidelines" means (a) Google’s Brand Terms and Conditions, located at: https://www.google.com/permissions/trademark/brand-terms.html; and (b) the “Use of Trademarks” section of the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademark policy. + +“URL Terms” means the following, which will control in the following order if there is a conflict: + +(a) the Maps Service Specific Terms; + +(b) the SLA; + +(c) the AUP; + +(d) the Maps Technical Support Services Guidelines; + +(e) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and + +(f) the Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-10-01.yml b/src/licensedcode/data/licenses/google-maps-tos-2018-10-01.yml new file mode 100644 index 00000000000..465a4c9664e --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-10-01.yml @@ -0,0 +1,35 @@ +key: google-maps-tos-2018-10-01 +short_name: Google Maps Platform ToS 2018-10-01 +name: Google Maps Platform Terms of Service 2018-10-01 +category: Proprietary Free +owner: Google +homepage_url: https://cloud.google.com/maps-platform/terms +spdx_license_key: LicenseRef-scancode-google-maps-tos-2018-10-01 +text_urls: + - https://cloud.google.com/maps-platform/terms/index-20181001 +minimum_coverage: 90 +ignorable_authors: + - the U.S. Department + - the United States Department of State +ignorable_emails: + - legal-notices@google.com +ignorable_urls: + - https://cloud.google.com/maps-platform/pricing/sheet + - https://cloud.google.com/maps-platform/terms + - https://cloud.google.com/maps-platform/terms/aup + - https://cloud.google.com/maps-platform/terms/maps-controller-terms + - https://cloud.google.com/maps-platform/terms/maps-deprecation + - https://cloud.google.com/maps-platform/terms/maps-prohibited-territories + - https://cloud.google.com/maps-platform/terms/maps-service-terms + - https://cloud.google.com/maps-platform/terms/maps-services + - https://cloud.google.com/maps-platform/terms/sla + - https://cloud.google.com/maps-platform/terms/tssg + - https://developers.google.com/maps/documentation + - https://www.google.com/about/company/user-consent-policy.html + - https://www.google.com/dmca.html + - https://www.google.com/help/legalnotices_maps.html + - https://www.google.com/permissions/geoguidelines.html#geotrademark + - https://www.google.com/permissions/geoguidelines.html#geotrademarkpolicy + - https://www.google.com/permissions/trademark/brand-terms.html + - https://www.google.com/policies/privacy + diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-10-31.LICENSE b/src/licensedcode/data/licenses/google-maps-tos-2018-10-31.LICENSE new file mode 100644 index 00000000000..310e6d04300 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-10-31.LICENSE @@ -0,0 +1,358 @@ +Google Maps Platform Terms of Service + +Last modified: October 31, 2018 + +If you have entered into an offline variant of this Agreement, the terms below do not apply, and your offline agreement governs your use of the Google Maps Core Services. + +Google Maps Platform License Agreement + +This Google Maps Platform License Agreement (the "Agreement") is made and entered into between Google and the entity or person agreeing to these terms ("Customer"). "Google" means either (i) Google Commerce Limited (“GCL”), a company incorporated under the laws of Ireland, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer has a billing address in the EU and has chosen “non-business” as the tax status/setting for its Google account, (ii) Google Ireland Limited, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer’s billing address is in any country within Europe, the Middle East, or Africa ("EMEA"), (iii) Google Asia Pacific Pte. Ltd., with offices at 70 Pasir Panjang Road, #03-71, Mapletree Business City II Singapore 117371, if Customer’s billing address is in any country within the Asia Pacific region ("APAC") except as provided below for Customers with the billing address in Japan, New Zealand, or Australia, (iv) Google Cloud Japan G.K., with offices at Roppongi Hills Mori Tower, 10-1, Roppongi 6-chome, Minato-ku Tokyo, if Customer’s billing address is in Japan, (v) Google Australia Pty Ltd., with offices at Level 5, 48 Pirrama Road, Pyrmont, NSW 2009 Australia, if Customer’s billing address is in Australia, or (vi) Google LLC, with offices at 1600 Amphitheatre Parkway, Mountain View, California 94043, if Customer’s billing address is in any country in the world other than those in EMEA and APAC. For Customers with a billing address in New Zealand, this Agreement is made and entered into by and between Customer and Google New Zealand Limited, with offices at PWC Tower, Level 27, 188 Quay Street, Auckland, New Zealand 1010, as an authorized reseller in New Zealand of the Services and “Google” means Google Asia Pacific Pte. Ltd. and/or its affiliates (including Google New Zealand Limited) as the context requires. + +This Agreement is effective as of the date Customer clicks to accept the Agreement, or enters into a Reseller Agreement if purchasing through a Reseller (the "Effective Date"). If you are accepting on behalf of Customer, you represent and warrant that: (i) you have full legal authority to bind Customer to this Agreement; (ii) you have read and understand this Agreement; and (iii) you agree, on behalf of Customer, to this Agreement. If you do not have the legal authority to bind Customer, please do not click to accept. This Agreement governs Customer’s access to and use of the Services. + +For an offline variant of this Agreement, you may contact Google for more information. +1. Provision of the Services. + +1.1 Use of the Services in Customer Applications. Google will provide the Services to Customer in accordance with the applicable SLA, and Customer may use the Google Maps Core Services in Customer Application(s) in accordance with Section 3 (License). + +1.2 Admin Console; Projects; API Keys. Customer will administer the Services through the online Admin Console. To access the Services, Customer must create Project(s) and use its API key(s) in accordance with the Documentation. + +1.3 Accounts. Customer must have an Account to access the Admin Console through which Customer may administer its use of the Services. Customer is responsible for: (a) the information it provides in connection with the Account; (b) maintaining the confidentiality and security of the Account and associated passwords; and (c) any use of its Account. + +1.4 Customer Domains and Applications. Customer must list in the Admin Console each authorized domain and application that uses the Services. Customer is responsible for ensuring that only authorized domains and applications use the Services. + +1.5 New Features and Services. Google may: (a) make new features or functionality available through the Services and (b) add new services to the "Services" definition (by adding them at the URL stated under that definition). Customer’s use of new features or functionality may be contingent on Customer’s agreement to additional terms applicable to the new feature or functionality. + +1.6 Modifications. + +1.6.1 To the Services. Google may make changes to the Services, subject to Section 9 (Deprecation Policy), which may include adding, updating, or discontinuing any Services or portion or feature(s) of the Services. Google will notify Customer of any material change to the Services. + +1.6.2. To the Agreement. Google may make changes to this Agreement, including pricing (and any linked documents). Unless otherwise noted by Google, material changes to the Agreement will become effective 30 days after notice is given, except if the changes apply to new functionality in which case they will be effective immediately. Google will provide at least 90 days advance notice for materially adverse changes to any SLAs by: (a) sending an email to Customer’s primary point of contact; (b) posting a notice in the Admin Console; or (c) posting a notice to the applicable SLA webpage. If Customer does not agree to the revised Agreement, Customer should stop using the Services. Google will post any modification to this Agreement to the Terms URL. +2. Payment Terms. + +2.1 Free Quota. Certain Services are provided to Customer without charge up to the Fee Threshold, as applicable. + +2.2 Online Billing. At the end of the applicable Fee Accrual Period, Google will issue an electronic bill to Customer for all charges accrued above the Fee Threshold based on (a) Customer’s use of the Services during the previous Fee Accrual Period; (b) any Committed Purchases selected; and (c) any Package Purchases selected. For use above the Fee Threshold, Customer will be responsible for all Fees up to the amount set in the Account and will pay all Fees in the currency set forth in the invoice. If Customer elects to pay by credit card, debit card, or other non-invoiced form of payment, Google will charge (and Customer will pay) all Fees immediately at the end of the Fee Accrual Period. If Customer elects to pay by invoice (and Google agrees), all Fees are due as stated in the invoice. Customer’s obligation to pay all Fees is non-cancellable. Google’s measurement of Customer’s use of the Services is final. Google has no obligation to provide multiple bills. Payments made via wire transfer must include the bank information provided by Google. If Customer has entered into the Agreement with GCL, Google may collect payments via Google Payment Limited, a company incorporated in England and Wales with offices at Belgrave House, 76 Buckingham Palace Road, London, SW1W 9TQ, United Kingdom. + +2.3 Taxes. + +2.3.1 Customer is responsible for any Taxes, and Customer will pay Google for the Services without any reduction for Taxes. If Google is obligated to collect or pay Taxes, the Taxes will be invoiced to Customer, unless Customer provides Google with a timely and valid tax exemption certificate authorized by the appropriate taxing authority. In some states the sales tax is due on the total purchase price at the time of sale and must be invoiced and collected at the time of the sale. If Customer is required by law to withhold any Taxes from its payments to Google, Customer must provide Google with an official tax receipt or other appropriate documentation to support such withholding. If under the applicable tax legislation the Services are subject to local VAT and the Customer is required to make a withholding of local VAT from amounts payable to Google, the value of Services calculated in accordance with the above procedure will be increased (grossed up) by the Customer for the respective amount of local VAT and the grossed up amount will be regarded as a VAT inclusive price. Local VAT amount withheld from the VAT-inclusive price will be remitted to the applicable local tax entity by the Customer and Customer will ensure that Google will receives payment for its services for the net amount as would otherwise be due (the VAT inclusive price less the local VAT withheld and remitted to applicable tax authority). + +2.3.2 If required under applicable law, Customer will provide Google with applicable tax identification information that Google may require to ensure its compliance with applicable tax regulations and authorities in applicable jurisdictions. Customer will be liable to pay (or reimburse Google for) any taxes, interest, penalties or fines arising out of any mis-declaration by the Customer. + +2.4 Invoice Disputes & Refunds. Any invoice disputes must be submitted before the payment due date. If the parties determine that certain billing inaccuracies are attributable to Google, Google will not issue a corrected invoice, but will instead issue a credit memo specifying the incorrect amount in the affected invoice. If the disputed invoice has not yet been paid, Google will apply the credit memo amount to the disputed invoice and Customer will be responsible for paying the resulting net balance due on that invoice. To the fullest extent permitted by law, Customer waives all claims relating to Fees unless claimed within 60 days after charged (this does not affect any Customer rights with its credit card issuer). Refunds (if any) are at the discretion of Google and will only be in the form of credit for the Services. Nothing in this Agreement obligates Google to extend credit to any party. + +2.5 Delinquent Payments; Suspension. Late payments may bear interest at the rate of 1.5% per month (or the highest rate permitted by law, if less) from the payment due date until paid in full. Customer will be responsible for all reasonable expenses (including attorneys’ fees) incurred by Google in collecting such delinquent amounts. If Customer is late on payment for the Services, Google may suspend the Services or terminate the Agreement for breach under Section 11.2 (Termination for Breach). + +2.6 No Purchase Order Number Required. Google is not required to provide a purchase order number on Google’s invoice (or otherwise). +3. License. + +3.1 License Grant. Subject to this Agreement’s terms, during the Term, Google grants to Customer a non-exclusive, non-transferable, non-sublicensable, license to use the Services in Customer Application(s), which may be: (a) fee-based or non-fee-based; (b) public/external or private/internal; (c) business-to-business or business-to-consumer; or (d) asset tracking. + +3.2 License Requirements and Restrictions. The following are conditions of the license granted in Section 3.1. In this Section 3.2, the phrase “Customer will not” means “Customer will not, and will not permit a third party to”. + +3.2.2 General Restrictions. Unless Google specifically agrees in writing, Customer will not: (a) copy, modify, create a derivative work of, reverse engineer, decompile, translate, disassemble, or otherwise attempt to extract any or all of the source code (except to the extent such restriction is expressly prohibited by applicable law); (b) sublicense, transfer, or distribute any of the Services; (c) sell, resell, or otherwise make the Services available as a commercial offering to a third party; or (d) access or use the Services: (i) for High Risk Activities; (ii) in a manner intended to avoid incurring Fees; (iii) for activities that are subject to the International Traffic in Arms Regulations (ITAR) maintained by the United States Department of State; (iv) on behalf of or for the benefit of any entity or person who is legally prohibited from using the Services; or (v) to transmit, store, or process Protected Health Information (as defined in and subject to HIPAA). + +3.2.3 Requirements for Using the Services. + +(a) End User Terms and Privacy Policy. Customer’s End User terms of service will state that End Users’ use of Google Maps is subject to the then-current Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html and Google Privacy Policy at https://www.google.com/policies/privacy/. + +(b) Attribution. Customer will display all attribution that (i) Google provides through the Services (including branding, logos, and copyright and trademark notices); or (ii) is specified in the Maps Service Specific Terms. Customer will not modify, obscure, or delete such attribution. + +(c) Review of Customer Applications. At Google’s request, Customer will submit Customer Application(s) and Project(s) to Google for review to ensure compliance with the Agreement (including the AUP). + +3.2.4 Restrictions Against Misusing the Services. + +(a) No Scraping. Customer will not extract, export, scrape, or cache Google Maps Content for use outside the Services. For example, Customer will not:(i) pre-fetch, index, store, reshare, or rehost Google Maps Content outside the services; (ii) bulk download geocodes; (iii) copy business names, addresses, or user reviews; or (iv) use Google Maps Content with text-to-speech services. Caching is permitted for certain Services as described in the Maps Service Specific Terms. + +(b) No Creating Content From Google Maps Content. Customer will not create content based on Google Maps Content, including tracing, digitizing, or creating other datasets based on Google Maps Content. + +(c) No Re-Creating Google Products or Features. Customer will not use the Services to create a product or service with features that are substantially similar to or that re-create the features of another Google product or service. Customer’s product or service must contain substantial, independent value and features beyond the Google products or services. For example, Customer will not: (i) re-distribute the Google Maps Core Services or pass them off as if they were Customer’s services; (ii) create a substitute of the Google Maps Core Services, Google Maps, or Google Maps mobile apps, or their features; (iii) use the Google Maps Core Services in a listings or directory service or to create or augment an advertising product; (iv) combine data from the Directions API, Geolocation API, and Maps SDK for Android to create real-time navigation functionality substantially similar to the functionality provided by the Google Maps for Android mobile app. + +(d) No Use With Non-Google Maps. Customer will not use the Google Maps Core Services in a Customer Application that contains a non-Google map. For example, Customer will not (i) display Places listings on a non-Google map, or (ii) display Street View imagery and non-Google maps in the same Customer Application. + +(e) No Circumventing Fees. Customer will not circumvent the applicable Fees. For example, Customer will not create multiple billing accounts or Projects to avoid incurring Fees; prevent Google from accurately calculating Customer’s Service usage levels; abuse any free Service quotas; or offer access to the Services under a “time-sharing” or “service bureau” model. + +(f) No Use in Prohibited Territories. Customer will not distribute or market in a Prohibited Territory any Customer Application(s) that use the Google Maps Core Services. + +(g) No Use in Embedded Vehicle Systems. Customer will not use the Google Maps Core Services in connection with any Customer Application or device embedded in a vehicle. For example, Customer will not create a Customer Application that (i) is embedded in an in-dashboard automotive infotainment system; and (ii) allows End Users to request driving directions from the Directions API. + +(h) No Modifying Search Results Integrity. Customer will not modify any of the Service’s search results. + +(i) No Use for High Risk Activities. Customer will not use the Google Maps Core Services for High Risk Activities. + +3.2.5 Benchmarking. Customer may not publicly disclose directly or through a third party the results of any comparative or compatibility testing, benchmarking, or evaluation of the Services (each, a “Test”), unless the disclosure includes all information necessary for Google or a third party to replicate the Test. If Customer conducts, or directs a third party to conduct, a Test of the Services and publicly discloses the results directly or through a third party, then Google (or a Google directed third party) may conduct Tests of any publicly available cloud products or services provided by Customer and publicly disclose the results of any such Test (which disclosure will include all information necessary for Customer or a third party to replicate the Test). +4. Customer Obligations. + +4.1 Customer Domains and Applications. Customer must list in the Admin Console each authorized domain and application that uses the Services. Customer is responsible for ensuring that only authorized domains and applications use the Services. + +4.2 Compliance. Customer will: (a) ensure that Customer’s and its End Users’ use of the Services complies with the Agreement, including the applicable Services’ AUP and URL Terms; and (b) use commercially reasonable efforts to prevent, promptly notify Google of, and terminate any unauthorized use of or access to its Account(s) or the Services. + +4.3 Documentation. Google may provide Documentation for Customer’s use of the Services. The Documentation may specify restrictions (e.g. attribution or HTML restrictions) on how the Services may be used and Customer will comply with any such restrictions specified. + +4.4 Copyright Policy. Google provides information to help copyright holders manage their intellectual property online, but Google cannot determine whether something is being used legally or not without their input. Google responds to notices of alleged copyright infringement and terminates accounts of repeat infringers according to applicable copyright laws including in particular the process set out in the U.S. Digital Millennium Copyright Act. If Customer thinks somebody is violating Customer’s or Customer End Users’ copyrights and wants to notify Google, Customer can find information about submitting notices, and Google’s policy about responding to notices at https://www.google.com/dmca.html. + +4.5 Data Use, Protection, and Privacy. + +4.5.1 Data Use and Retention. To provide the Services through the Customer Application(s), Google must receive and collect data from End Users and Customer, including search terms, IP addresses, and latitude/longitude coordinates. Customer acknowledges and agrees that Google and its Affiliates may use and retain this data to provide and improve Google products and services, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. + +4.5.2 European Data Protection Terms. Google and Customer agree to the Google Maps Controller-Controller Data Protection Terms at https://cloud.google.com/maps-platform/terms/maps-controller-terms. + +4.5.3 General Privacy Requirements. + +(a) End User Privacy. Customer’s use of the Services in the Customer Application will comply with applicable privacy laws, including laws regarding Services that store and access Cookies on End Users’ devices. If Customer has End Users in the European Economic Area, Customer will comply with the EU End User Consent Policy at https://www.google.com/about/company/user-consent-policy.html. + +(b) End User Personal Data. Through the normal functioning of the Google Maps Core Services, End Users provide device identifiers and Personal Data directly to Google, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. However, Customer acknowledges and agrees that Customer will not provide these categories of data to Google. + +(c) End User Location Privacy Requirements. To safeguard End Users’ location privacy, Customer will ensure that the Customer Application(s): (i) notify End Users in advance of (y) the type(s) of data that Customer intends to collect from the End Users or the End Users’ devices, and (z) the combination and use of End User’s location with any other data provider’s data; and (ii) will not obtain or cache any End User’s location except with the End User’s express, prior, revocable consent. +5. Suspension. + +5.1 For License Restrictions Violations. Google may Suspend the Services without prior notice if Customer breaches Section 3.2 (License Requirements and Restrictions). + +5.2 For AUP Violations or Emergency Security Issues. Google may also Suspend Services as described in Subsections 5.2.1 (AUP Violations) and 5.2.2 (Emergency Security Issues). Any Suspension under those Sections will be to the minimum extent and for the shortest duration required to: (a) prevent or terminate the offending use, (b) prevent or resolve the Emergency Security Issue, or (c) comply with applicable law. + +5.2.1 AUP Violations. If Google becomes aware that Customer’s or any End User’s use of the Services violates the AUP, Google will give Customer notice of such violation by requesting that Customer correct the violation. If Customer fails to correct such violation within 24 hours, or if Google is otherwise required by applicable law to take action, then Google may Suspend all or part of Customer’s use of the Services. + +5.2.2 Emergency Security Issues. Google may immediately Suspend Customer’s use of the Services if (a) there is an Emergency Security Issue or (b) Google is required to Suspend such use immediately to comply with applicable law. At Customer’s request, unless prohibited by applicable law, Google will notify Customer of the basis for the Suspension as soon as is reasonably possible. + +5.3 For Alleged Third-Party Intellectual Property Rights Infringement. If the Customer Application is alleged to infringe a third party’s Intellectual Property Rights, Google may require Customer to suspend distributing or selling the Customer Application on 30 days’ written notice until such allegation is fully resolved. In any event, this Section 5.3 does not reduce Customer’s obligations under Section 15 (Indemnification). +6. Intellectual Property Rights; Feedback. + +6.1 Intellectual Property Rights. Except as expressly stated in this Agreement, this Agreement does not grant either party any rights, implied or otherwise, to the other’s content or any of the other’s intellectual property. As between the parties, Customer owns all Intellectual Property Rights in the Customer Application, and Google owns all Intellectual Property Rights in the Services and Software. + +6.2 Customer Feedback. If Customer provides Google Feedback about the Services, then Google may use that information without obligation to Customer, and Customer irrevocably assigns to Google all right, title, and interest in that Feedback. +7. Third Party Legal Notices and License Terms. + +Certain components of the Services (including open source software) are subject to third-party copyright and other Intellectual Property Rights, as specified in: (a) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and (b) separate, publicly-available third-party license terms, which Google will provide to Customer on request. +8. Technical Support Services. + +8.1 By Google. Google will provide Maps Technical Support Services to Customer in accordance with the Maps Technical Support Services Guidelines. + +8.2 By Customer. Customer is responsible for technical support of its Customer Applications and Projects. +9. Deprecation Policy. + +9.1 Google will notify Customer at least 12 months before making material discontinuance(s) or backwards incompatible change(s) to the Services, unless Google reasonably determines that: (a) Google cannot do so by law or by contract (including if there is a change in applicable law or contract) or (b) continuing to provide the Services could create a (i) security risk or (ii) substantial economic or technical burden. + +9.2 Section 9.1 applies to the Services listed at https://cloud.google.com/maps-platform/terms/maps-deprecation/. If Google deprecates any Services that are not listed at the above URL, Google will use commercially reasonable efforts to minimize the adverse impacts of such deprecations. +10. Confidential Information. + +10.1 Obligations. The recipient will not disclose the Confidential Information, except to Affiliates, employees, agents or professional advisors who need to know it and who have agreed in writing (or in the case of professional advisors are otherwise bound) to keep it confidential. Subject to Section 10.2 (Required Disclosure), the recipient will ensure that those people and entities use the received Confidential Information only to exercise rights and fulfill obligations under this Agreement, while using reasonable care to keep it confidential. + +10.2 Required Disclosure. The recipient may disclose the other party’s Confidential Information to the extent required by applicable Legal Process; provided that the recipient uses commercially reasonable efforts to: (a) promptly notify the other party of such disclosure before disclosing; and (b) comply with the other party’s reasonable requests regarding its efforts to oppose the disclosure. Notwithstanding the foregoing, subsections (a) and (b) above will not apply if the recipient determines that complying with (a) and (b) could: (i) result in a violation of Legal Process; (ii) obstruct a governmental investigation; and/or (iii) lead to death or serious physical harm to an individual. As between the parties, Customer is responsible for responding to all third party requests concerning its use and Customer End Users’ use of the Services. +11. Term and Termination. + +11.1 Agreement Term. The “Term” of this Agreement will begin on the Effective Date and continue until the Agreement is terminated under this Section. + +11.2 Termination for Breach. Either party may terminate this Agreement for breach if: (a) the other party is in material breach of the Agreement and fails to cure that breach within 30 days after receipt of written notice; or (b) the other party ceases its business operations or becomes subject to insolvency proceedings and the proceedings are not dismissed within 90 days. In addition, Google may terminate any, all, or any portion of the Services or Projects, if Customer meets any of the conditions in subsections (a) or (b). + +11.3 Termination for Inactivity. Google reserves the right to terminate provision of Service(s) to a Project on 30 days advance notice if, for more than 180 days, such Project (a) has not made any requests to the Services from any Customer Applications; or (b) such Project has not incurred any Fees for such Service(s). + +11.4 Termination for Convenience. Customer may stop using the Services at any time. Subject to any financial commitments expressly made by this Agreement, Customer may terminate this Agreement for its convenience at any time on prior written notice and upon termination, must cease use of the applicable Services. Google may terminate this Agreement for its convenience at any time without liability to Customer. + +11.5 Effects of Termination. + +11.5.1 If the Agreement is terminated, then: (a) the rights granted by one party to the other will immediately cease; (b) all Fees owed by Customer to Google are immediately due upon receipt of the final electronic bill; and (c) Customer will delete the Software and any content from the Services by the termination effective date. + +11.5.2 The following will survive expiration or termination of the Agreement: Section 2 (Payment Terms), Section 3.2 (License Requirements and Restrictions), Section 4.5 (Data Use, Protection, and Privacy), Section 6 (Intellectual Property; Feedback), Section 10 (Confidential Information), Section 11.5 (Effects of Termination), Section 14 (Disclaimer), Section 15 (Indemnification), Section 16 (Limitation of Liability), Section 19 (Miscellaneous), and Section 20 (Definitions). +12. Publicity. + +Customer may state publicly that it is a customer of the Services, consistent with the Trademark Guidelines. If Customer wants to display Google Brand Features in connection with its use of the Services, Customer must obtain written permission from Google through the process specified in the Trademark Guidelines. Google may include Customer’s name or Brand Features in a list of Google customers, online or in promotional materials. Google may also verbally reference Customer as a customer of the Services. Neither party needs approval if it is repeating a public statement that is substantially similar to a previously-approved public statement. Any use of a party’s Brand Features will inure to the benefit of the party holding Intellectual Property Rights to those Brand Features. A party may revoke the other party’s right to use its Brand Features under this Section with written notice to the other party and a reasonable period to stop the use. Where applicable, Customer may use Google Maps Content in accordance with the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademarkpolicy, which will be considered “Google’s prior written consent” for the permitted uses. +13. Representations and Warranties. + +Each party represents and warrants that: (a) it has full power and authority to enter into the Agreement; and (b) it will comply with Export Control Laws and Anti-Bribery Laws applicable to its provision, receipt, or use, of the Services, as applicable. +14. Disclaimer. + + EXCEPT AS EXPRESSLY PROVIDED FOR IN THE AGREEMENT, TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, GOOGLE: (A) DOES NOT MAKE ANY WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR USE, NONINFRINGEMENT, OR ERROR-FREE OR UNINTERRUPTED USE OF THE SERVICES OR SOFTWARE; (B) MAKES NO REPRESENTATION ABOUT CONTENT OR INFORMATION ACCESSIBLE THROUGH THE SERVICES; AND (C) WILL ONLY BE REQUIRED TO PROVIDE THE REMEDIES EXPRESSLY STATED IN THE SLA FOR FAILURE TO PROVIDE THE SERVICES. GOOGLE MAPS CORE SERVICES ARE PROVIDED FOR PLANNING PURPOSES ONLY. INFORMATION FROM THE GOOGLE MAPS CORE SERVICES MAY DIFFER FROM ACTUAL CONDITIONS, AND MAY NOT BE SUITABLE FOR THE CUSTOMER APPLICATION. CUSTOMER MUST EXERCISE INDEPENDENT JUDGMENT WHEN USING THE SERVICES TO ENSURE THAT THE CUSTOMER APPLICATION IS SAFE FOR END USERS AND OTHER THIRD PARTIES. +15. Indemnification. + +15.1 By Customer. Unless prohibited by applicable law, Customer will defend Google and its Affiliates and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from (a) any Customer Indemnified Materials or (b) Customer’s or an End User’s use of the Services in violation of the Agreement. + +15.2 By Google. Google will defend Customer and its Affiliates participating under the Agreement (“Customer Indemnified Parties”), and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from an allegation that Customer Indemnified Parties’ use in accordance with the Agreement of Google Indemnified Materials infringes the third party’s Intellectual Property Rights. + +15.3 Exclusions. This Section 15 will not apply to the extent the underlying allegation arises from (a) the indemnified party’s breach of the Agreement or (b) a combination of the indemnifying party’s technology or Brand Features with materials not provided by the indemnifying party, unless the combination is required by the Agreement. + +15.4 Conditions. Sections 15.1 and 15.2 will apply only to the extent: + +(a) The indemnified party has promptly notified the indemnifying party in writing of any Allegation(s) that preceded the Third-Party Legal Proceeding and cooperates reasonably with the indemnifying party to resolve the Allegation(s) and Third-Party Legal Proceeding. If breach of this Section 15.4(a) prejudices the defense of the Third-Party Legal Proceeding, the indemnifying party’s obligations under Section 15.1 or 15.2 (as applicable) will be reduced in proportion to the prejudice. + +(b) The indemnified party tenders sole control of the indemnified portion of the Third-Party Legal Proceeding to the indemnifying party, subject to the following: (i) the indemnified party may appoint its own non-controlling counsel, at its own expense; and (ii) any settlement requiring the indemnified party to admit liability, pay money, or take (or refrain from taking) any action, will require the indemnified party’s prior written consent, not to be unreasonably withheld, conditioned, or delayed. + +15.5 Remedies. + +(a) If Google reasonably believes the Services might infringe a third party’s Intellectual Property Rights, then Google may, at its sole option and expense: (i) procure the right for Customer to continue using the Services; (ii) modify the Services to make them non-infringing without materially reducing their functionality; or (iii) replace the Services with a non-infringing, functionally equivalent alternative. + +(b) If Google does not believe the remedies in Section 15.5(a) are commercially reasonable, then Google may suspend or terminate Customer’s use of the impacted Services. + +15.6 Sole Rights and Obligations. Without affecting either party’s termination rights, this Section 15 states the parties’ sole and exclusive remedy under this Agreement for any third party’s Intellectual Property Rights Allegations and Third-Party Legal Proceedings covered by this Section 15 (Indemnification). +16. Limitation of Liability. + +16.1 Limitation on Indirect Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, WILL NOT BE LIABLE UNDER THIS AGREEMENT FOR LOST REVENUES OR PROFITS (WHETHER DIRECT OR INDIRECT), INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES, EVEN IF THE PARTY OR LICENSOR, AS APPLICABLE, KNEW OR SHOULD HAVE KNOWN THAT SUCH DAMAGES WERE POSSIBLE AND EVEN IF DIRECT DAMAGES DO NOT SATISFY A REMEDY. + +16.2 Limitation on Amount of Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, MAY NOT BE HELD LIABLE UNDER THIS AGREEMENT FOR MORE THAN THE AMOUNT PAID BY CUSTOMER TO GOOGLE UNDER THIS AGREEMENT DURING THE TWELVE MONTHS BEFORE THE EVENT GIVING RISE TO LIABILITY. + +16.3 Exceptions to Limitations. These limitations of liability do not apply to breaches of confidentiality obligations, violations of a party’s Intellectual Property Rights by the other party, or Customer’s payment obligations. +17. Advertising. + +In its sole discretion, Customer may configure the Service to either display or not display advertisements served by Google. +18. U.S. Federal Agency Users. + +The Services were developed solely at private expense and are commercial computer software and related documentation within the meaning of the applicable Federal Acquisition Regulations and their agency supplements. +19. Miscellaneous. + +19.1 Notices. All notices must be in writing and addressed to the other party’s legal department and primary point of contact. The email address for notices being sent to Google’s Legal Department is legal-notices@google.com. Notice will be treated as given on receipt as verified by written or automated receipt or by electronic log (as applicable). + +19.2 Assignment. Neither party may assign any part of this Agreement without the written consent of the other, except to an Affiliate where: (a) the assignee has agreed in writing to be bound by the terms of this Agreement; (b) the assigning party remains liable for obligations under the Agreement if the assignee defaults on them; and (c) the assigning party has notified the other party of the assignment. Any other attempt to assign is void. + +19.3 Change of Control. If a party experiences a change of Control (for example, through a stock purchase or sale, merger, or other form of corporate transaction): (a) that party will give written notice to the other party within 30 days after the change of Control; and (b) the other party may immediately terminate this Agreement any time between the change of Control and 30 days after it receives that written notice. + +19.4 Force Majeure. Neither party will be liable for failure or delay in performance to the extent caused by circumstances beyond its reasonable control, including acts of God, natural disasters, terrorism, riots, or war. + +19.5 Subcontracting. Google may subcontract obligations under the Agreement but will remain liable to Customer for any subcontracted obligations. + +19.6 No Agency. This Agreement does not create any agency, partnership or joint venture between the parties. + +19.7 No Waiver. Neither party will be treated as having waived any rights by not exercising (or delaying the exercise of) any rights under this Agreement. + +19.8 Severability. If any term (or part of a term) of this Agreement is invalid, illegal, or unenforceable, the rest of the Agreement will remain in effect. + +19.9 No Third-Party Beneficiaries. This Agreement does not confer any benefits on any third party unless it expressly states that it does. + +19.10 Equitable Relief. Nothing in this Agreement will limit either party’s ability to seek equitable relief. + +19.11 Governing Law. + +19.11.1 For U.S. City, County, and State Government Entities. If Customer is a U.S. city, county or state government entity, then the Agreement will be silent regarding governing law and venue. + +19.11.2 For U.S. Federal Government Entities. If Customer is a U.S. federal government entity then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY THE LAWS OF THE UNITED STATES OF AMERICA, EXCLUDING ITS CONFLICT OF LAWS RULES. SOLELY TO THE EXTENT PERMITTED BY FEDERAL LAW: (I) THE LAWS OF THE STATE OF CALIFORNIA (EXCLUDING CALIFORNIA’S CONFLICT OF LAWS RULES) WILL APPLY IN THE ABSENCE OF APPLICABLE FEDERAL LAW; AND (II) FOR ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES, THE PARTIES CONSENT TO PERSONAL JURISDICTION IN, AND THE EXCLUSIVE VENUE OF, THE COURTS IN SANTA CLARA COUNTY, CALIFORNIA. + +19.11.3 For All Other Entities. If Customer is any entity not listed in Section 19.11.1 or 19.11.2 then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY CALIFORNIA LAW, EXCLUDING THAT STATE’S CONFLICT OF LAWS RULES, AND WILL BE LITIGATED EXCLUSIVELY IN THE FEDERAL OR STATE COURTS OF SANTA CLARA COUNTY, CALIFORNIA, USA; THE PARTIES CONSENT TO PERSONAL JURISDICTION IN THOSE COURTS. + +19.12 Amendments. Except as stated in Section 1.5.2 (Modifications; To the Agreement), any amendment must be in writing, signed by both parties, and expressly state that it is amending this Agreement. + +19.13 Entire Agreement. This Agreement sets out all terms agreed between the parties and supersedes all other agreements between the parties relating to its subject matter. In entering into this Agreement, neither party has relied on, and neither party will have any right or remedy based on, any statement, representation or warranty (whether made negligently or innocently), except those expressly stated in this Agreement. The terms located at any URL referenced in this Agreement and the Documentation are incorporated by reference into the Agreement. After the Effective Date, Google may provide an updated URL in place of any URL in this Agreement. + +19.14 Conflicting Terms. If there is a conflict between the documents that make up this Agreement, the documents will control in the following order: the Agreement, and the terms at any URL. + +19.15 Conflicting Translations. If this Agreement is translated into any other language, and there is a discrepancy between the English text and the translated text, the English text will govern. +20. Reseller Orders. + +This Section applies if Customer orders the Services from a Reseller under a Reseller Agreement (including the Reseller Order Form). + +20.1 Orders. If Customer orders Services from Reseller, then: (a) fees for the Services will be set between Customer and Reseller, and any payments will be made directly to Reseller under the Reseller Agreement; (b) Section 2 of this Agreement (Payment Terms) will not apply to the Services; (c) Customer will receive any applicable SLA credits from Reseller, if owed to Customer in accordance with the SLA; and (d) Google will have no obligation to provide any SLA credits to a Customer who orders Services from the Reseller. + +20.2 Conflicting Terms. If Customer orders Google Maps Core Services from a Reseller and if any documents conflict, then the documents will control in the following order: the Agreement, the terms at any URL (including the URL Terms), Reseller Order Form. For example, if there is a conflict between the Maps Service Specific Terms and the Reseller Order Form, the Maps Service Specific Terms will control. + +20.3 Reseller as Administrator. At Customer’s discretion, Reseller may access Customer’s Projects, Accounts, or the Services on behalf of Customer. As between Google and Customer, Customer is solely responsible for: (a) any access by Reseller to Customer’s Account(s), Project(s), or the Services; and (b) defining in the Reseller Agreement any rights or obligations as between Reseller and Customer with respect to the Accounts, Projects, or Services. + +20.4 Reseller Verification of Customer Application(s). Before providing the Services, Reseller may also verify that Customer owns or controls the Customer Applications. If Reseller determines that Customer does not own or control the Customer Applications, then Google will have no obligation to provide the Services to Customer. +21. Definitions. + +"Account" means Customer’s Google Account. + +"Admin Console" means the online console(s) and/or tool(s) provided by Google to Customer for administering the Services. + +"Affiliate" means any entity that directly or indirectly Controls, is Controlled by, or is under common Control with a party. + +"Allegation" means an unaffiliated third party’s allegation. + +“Anti-Bribery Laws” means all applicable commercial and public anti-bribery laws, (for example, the U.S. Foreign Corrupt Practices Act of 1977 and the UK Bribery Act 2010), which prohibit corrupt offers of anything of value, either directly or indirectly, to anyone, including government officials, to obtain or keep business or to secure any other improper commercial advantage. “Government officials” include any government employee; candidate for public office; and employee of government-owned or government-controlled companies, public international organizations, and political parties. + +"AUP" or "Acceptable Use Policy" means the then-current Acceptable Use Policy for the Services at: https://cloud.google.com/maps-platform/terms/aup/. + +"Brand Features" means the trade names, tradmarks, service marks, logos, domain names, and other distinctive brand features of each party, respectively, as secured by such party. + +"Committed Purchase(s)" has the meaning provided in the Maps Service Specific Terms. + +"Confidential Information" means information that one party (or an Affiliate) discloses to the other party under this Agreement, and which is marked as confidential or would normally under the circumstances be considered confidential information. It does not include information that is independently developed by the recipient, is rightfully given to the recipient by a third party without confidentiality obligations, or becomes public through no fault of the recipient. + +"Control" means control of greater than 50% of the voting rights or equity interests of a party. + +"Customer Application" means any web domain or application (including all source code and features) owned or controlled by Customer, or that Customer is authorized to use. + +"Customer End User" or "End User" means an individual or entity that Customer permits to use the Services or Customer Application(s). + +“Customer Indemnified Materials” means the Customer Application and Customer Brand Features. + +"Documentation" means the Google documentation (as may be updated) in the form generally made available by Google for use with the Services at https://developers.google.com/maps/documentation. + +"Emergency Security Issue" means either: (a) Customer’s or Customer End Users’ use of the Services in violation of the AUP, which could disrupt: (i) the Services; (ii) other customers’ or their customer end users’ use of the Services; or (iii) the Google network or servers used to provide the Services; or (b) unauthorized third party access to the Services. + +"Europe" or "European" means European Economic Area or Switzerland. + +“Export Control Laws” means all applicable export and re-export control laws and regulations, including any applicable munitions- or defense-related regulations (for example, the International Traffic in Arms Regulations maintained by the U.S. Department of State). + +"Fee Accrual Period" means a calendar month or another period specified by Google in the Admin Console. + +"Fee Threshold" means the threshold (as may be updated), as applicable for certain Services, as set out in the Admin Console. + +“Feedback” means feedback or suggestions about the Services provided by Customer to Google. + +"Fees" means the product of the amount of Services used or ordered by Customer multiplied by the Prices, plus any applicable Taxes. + +"Google Indemnified Materials" means Google's technology used to provide the Services (excluding any open source software) and Google's Brand Features. + +"Google Maps Content" means any content provided through the Services (whether created by Google or its third-party licensors), including map and terrain data, imagery, traffic data, and places data (including business listings). + +"High Risk Activities" means activities where the use or failure of the Services could lead to death, personal injury, or environmental damage, including (a) emergency response services; (b) autonomous and semi-autonomous vehicle or drone control; (c) vessel navigation; (d) aviation; (e) air traffic control; (f) nuclear facilities operation. + +"HIPAA" means the Health Insurance Portability and Accountability Act of 1996 as it may be amended, and any regulations issued under it. + +"Indemnified Liabilities" means any (a) settlement amounts approved by the indemnifying party; and (b) damages and costs finally awarded against the indemnified party and its Affiliates by a court of competent jurisdiction. + +"including" means "including but not limited to". + +"Intellectual Property Rights" means current and future worldwide rights under patent, copyright, trade secret, trademark, and moral rights laws, and other similar rights. + +"Legal Process" means a data disclosure request made under law, governmental regulation, court order, subpoena, warrant, governmental regulatory or agency request, or other valid legal authority, legal procedure, or similar process. + +"Maps Service Specific Terms" means the then-current terms specific to one or more Services at https://cloud.google.com/maps-platform/terms/maps-service-terms/. + +"Maps Technical Support Services" means the technical support service provided by Google to Customer under the then-current Maps Technical Support Services Guidelines. + +"Maps Technical Support Services Guidelines" means the then-current technical support service guidelines at https://cloud.google.com/maps-platform/terms/tssg/. + +"Package Purchase" has the meaning set out in the Maps Service Specific Terms. + +"Personal Data" has the meaning provided in the General Data Protection Regulation (EU) 2016/679 of the European Parliament and of the Council of April 27, 2016. + +"Price" means the then-current applicable price(s) stated at https://cloud.google.com/maps-platform/pricing/sheet/. + +"Prohibited Territory" means the countries listed at https://cloud.google.com/maps-platform/terms/maps-prohibited-territories/. + +"Project" means a Customer-selected grouping of Google Maps Core Services resources for a particular Customer Application. + +"Reseller" means, if applicable, the authorized reseller that sells or supplies the Services to Customer. + +"Reseller Agreement" means, if applicable, a separate, independent agreement between Customer and Reseller regarding the Services. + +"Reseller Order Form" means an order form entered into by Reseller and Customer, subject to the Reseller Agreement. + +"Services" and "Google Maps Core Services" means the services described at https://cloud.google.com/maps-platform/terms/maps-services/. The Services include the Google Maps Content and the Software. + +"SLA" or "Service Level Agreement" means each of the then-current service level agreements at: https://cloud.google.com/maps-platform/terms/sla/. + +"Software" means any downloadable tools, software development kits, or other computer software provided by Google for use as part of the Services, including updates. + +"Taxes" means any duties, customs fees, or taxes (other than Google’s income tax) associated with the purchase of the Services, including any related penalties or interest. + +"Term" has the meaning stated in Section 1.6 of this Agreement. + +“Terms URL” means the following URL set forth here: https://cloud.google.com/maps-platform/terms/. + +"Third-Party Legal Proceeding" means any formal legal proceeding filed by an unaffiliated third party before a court or government tribunal (including any appellate proceeding). + +"Trademark Guidelines" means (a) Google’s Brand Terms and Conditions, located at: https://www.google.com/permissions/trademark/brand-terms.html; and (b) the “Use of Trademarks” section of the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademark policy. + +“URL Terms” means the following, which will control in the following order if there is a conflict: + +(a) the Maps Service Specific Terms; + +(b) the SLA; + +(c) the AUP; + +(d) the Maps Technical Support Services Guidelines; + +(e) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and + +(f) the Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-maps-tos-2018-10-31.yml b/src/licensedcode/data/licenses/google-maps-tos-2018-10-31.yml new file mode 100644 index 00000000000..389999970cc --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2018-10-31.yml @@ -0,0 +1,35 @@ +key: google-maps-tos-2018-10-31 +short_name: Google Maps Platform ToS 2018-10-31 +name: Google Maps Platform Terms of Service 2018-10-31 +category: Proprietary Free +owner: Google +homepage_url: https://cloud.google.com/maps-platform/terms +spdx_license_key: LicenseRef-scancode-google-maps-tos-2018-10-31 +text_urls: + - https://cloud.google.com/maps-platform/terms/index-20181031 +minimum_coverage: 90 +ignorable_authors: + - the U.S. Department + - the United States Department of State +ignorable_emails: + - legal-notices@google.com +ignorable_urls: + - https://cloud.google.com/maps-platform/pricing/sheet + - https://cloud.google.com/maps-platform/terms + - https://cloud.google.com/maps-platform/terms/aup + - https://cloud.google.com/maps-platform/terms/maps-controller-terms + - https://cloud.google.com/maps-platform/terms/maps-deprecation + - https://cloud.google.com/maps-platform/terms/maps-prohibited-territories + - https://cloud.google.com/maps-platform/terms/maps-service-terms + - https://cloud.google.com/maps-platform/terms/maps-services + - https://cloud.google.com/maps-platform/terms/sla + - https://cloud.google.com/maps-platform/terms/tssg + - https://developers.google.com/maps/documentation + - https://www.google.com/about/company/user-consent-policy.html + - https://www.google.com/dmca.html + - https://www.google.com/help/legalnotices_maps.html + - https://www.google.com/permissions/geoguidelines.html#geotrademark + - https://www.google.com/permissions/geoguidelines.html#geotrademarkpolicy + - https://www.google.com/permissions/trademark/brand-terms.html + - https://www.google.com/policies/privacy + diff --git a/src/licensedcode/data/licenses/google-maps-tos-2019-05-02.LICENSE b/src/licensedcode/data/licenses/google-maps-tos-2019-05-02.LICENSE new file mode 100644 index 00000000000..01353288828 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2019-05-02.LICENSE @@ -0,0 +1,356 @@ +Google Maps Platform Terms of Service + +Last modified: May 02, 2019 + +If you have entered into an offline variant of this Agreement, the terms below do not apply, and your offline agreement governs your use of the Google Maps Core Services. + +If your billing account is in Brazil, please review these Terms of Service, which apply to your use of Google Cloud Platform. + +Se a sua conta para faturamento é no Brasil, por gentileza veja o Termos de Serviço, que será o Termo aplicável à sua utilização da Google Maps Platform. + +Google Maps Platform License Agreement + +This Google Maps Platform License Agreement (the "Agreement") is made and entered into between Google and the entity or person agreeing to these terms ("Customer"). "Google" means either (i) Google Commerce Limited (“GCL”), a company incorporated under the laws of Ireland, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer has a billing address in the EU and has chosen “non-business” as the tax status/setting for its Google account, (ii) Google Ireland Limited, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer's billing address is in any country within Europe, the Middle East, or Africa ("EMEA"), (iii) Google Asia Pacific Pte. Ltd., with offices at 70 Pasir Panjang Road, #03-71, Mapletree Business City II Singapore 117371, if Customer's billing address is in any country within the Asia Pacific region ("APAC") except as provided below for Customers with the billing address in Japan, New Zealand, or Australia, (iv) Google Cloud Japan G.K., with offices at Roppongi Hills Mori Tower, 10-1, Roppongi 6-chome, Minato-ku Tokyo, if Customer’s billing address is in Japan, (v) Google Australia Pty Ltd., with offices at Level 5, 48 Pirrama Road, Pyrmont, NSW 2009 Australia, if Customer’s billing address is in Australia, (vi) Google Cloud Canada Corporation, with offices at 111 Richmond Street West, Toronto, ON M5H 2G4, Canada, if Customer’s billing address is in Canada, or (vii) Google LLC, with offices at 1600 Amphitheatre Parkway, Mountain View, California 94043, if Customer's billing address is in any country in the world other than those in EMEA and APAC. For Customers with a billing address in New Zealand, this Agreement is made and entered into by and between Customer and Google New Zealand Limited, with offices at PWC Tower, Level 27, 188 Quay Street, Auckland, New Zealand 1010, as an authorized reseller in New Zealand of the Services and “Google” means Google Asia Pacific Pte. Ltd. and/or its affiliates (including Google New Zealand Limited) as the context requires. + +This Agreement is effective as of the date Customer clicks to accept the Agreement, or enters into a Reseller Agreement if purchasing through a Reseller (the "Effective Date"). If you are accepting on behalf of Customer, you represent and warrant that: (i) you have full legal authority to bind Customer to this Agreement; (ii) you have read and understand this Agreement; and (iii) you agree, on behalf of Customer, to this Agreement. If you do not have the legal authority to bind Customer, please do not click to accept. This Agreement governs Customer's access to and use of the Services. + +For an offline variant of this Agreement, you may contact Google for more information. +1. Provision of the Services. + +1.1 Use of the Services in Customer Applications. Google will provide the Services to Customer in accordance with the applicable SLA, and Customer may use the Google Maps Core Services in Customer Application(s) in accordance with Section 3 (License). + +1.2 Admin Console; Projects; API Keys. Customer will administer the Services through the online Admin Console. To access the Services, Customer must create Project(s) and use its API key(s) in accordance with the Documentation. + +1.3 Accounts. Customer must have an Account. Customer is responsible for: (a) the information it provides in connection with the Account; (b) maintaining the confidentiality and security of the Account and associated passwords; and (c) any use of its Account. + +1.4 Customer Domains and Applications. Customer must list in the Admin Console each authorized domain and application that uses the Services. Customer is responsible for ensuring that only authorized domains and applications use the Services. + +1.5 New Features and Services. Google may: (a) make new features or functionality available through the Services and (b) add new services to the "Services" definition (by adding them at the URL stated under that definition). Customer’s use of new features or functionality may be contingent on Customer’s agreement to additional terms applicable to the new feature or functionality. + +1.6 Modifications. + +1.6.1 To the Services. Google may make changes to the Services, subject to Section 9 (Deprecation Policy), which may include adding, updating, or discontinuing any Services or portion or feature(s) of the Services. Google will notify Customer of any material change to the Services. + +1.6.2. To the Agreement. Google may make changes to this Agreement, including pricing (and any linked documents). Unless otherwise noted by Google, material changes to the Agreement will become effective 30 days after notice is given, except if the changes apply to new functionality in which case they will be effective immediately. Google will provide at least 90 days advance notice for materially adverse changes to any SLAs by: (a) sending an email to Customer’s primary point of contact; (b) posting a notice in the Admin Console; or (c) posting a notice to the applicable SLA webpage. If Customer does not agree to the revised Agreement, Customer should stop using the Services. Google will post any modification to this Agreement to the Terms URL. +2. Payment Terms. + +2.1 Free Quota. Certain Services are provided to Customer without charge up to the Fee Threshold, as applicable. + +2.2 Online Billing. At the end of the applicable Fee Accrual Period, Google will issue an electronic bill to Customer for all charges accrued above the Fee Threshold based on (a) Customer’s use of the Services during the previous Fee Accrual Period; (b) any Committed Purchases selected; and (c) any Package Purchases selected. For use above the Fee Threshold, Customer will be responsible for all Fees up to the amount set in the Account and will pay all Fees in the currency set forth in the invoice. If Customer elects to pay by credit card, debit card, or other non-invoiced form of payment, Google will charge (and Customer will pay) all Fees immediately at the end of the Fee Accrual Period. If Customer elects to pay by invoice (and Google agrees), all Fees are due as stated in the invoice. Customer’s obligation to pay all Fees is non-cancellable. Google's measurement of Customer’s use of the Services is final. Google has no obligation to provide multiple bills. Payments made via wire transfer must include the bank information provided by Google. If Customer has entered into the Agreement with GCL, Google may collect payments via Google Payment Limited, a company incorporated in England and Wales with offices at Belgrave House, 76 Buckingham Palace Road, London, SW1W 9TQ, United Kingdom. + +2.3 Taxes. + +2.3.1 Customer is responsible for any Taxes, and Customer will pay Google for the Services without any reduction for Taxes. If Google is obligated to collect or pay Taxes, the Taxes will be invoiced to Customer, unless Customer provides Google with a timely and valid tax exemption certificate authorized by the appropriate taxing authority. In some states the sales tax is due on the total purchase price at the time of sale and must be invoiced and collected at the time of the sale. If Customer is required by law to withhold any Taxes from its payments to Google, Customer must provide Google with an official tax receipt or other appropriate documentation to support such withholding. If under the applicable tax legislation the Services are subject to local VAT and the Customer is required to make a withholding of local VAT from amounts payable to Google, the value of Services calculated in accordance with the above procedure will be increased (grossed up) by the Customer for the respective amount of local VAT and the grossed up amount will be regarded as a VAT inclusive price. Local VAT amount withheld from the VAT-inclusive price will be remitted to the applicable local tax entity by the Customer and Customer will ensure that Google will receives payment for its services for the net amount as would otherwise be due (the VAT inclusive price less the local VAT withheld and remitted to applicable tax authority). + +2.3.2 If required under applicable law, Customer will provide Google with applicable tax identification information that Google may require to ensure its compliance with applicable tax regulations and authorities in applicable jurisdictions. Customer will be liable to pay (or reimburse Google for) any taxes, interest, penalties or fines arising out of any mis-declaration by the Customer. + +2.4 Invoice Disputes & Refunds. Any invoice disputes must be submitted before the payment due date. If the parties determine that certain billing inaccuracies are attributable to Google, Google will not issue a corrected invoice, but will instead issue a credit memo specifying the incorrect amount in the affected invoice. If the disputed invoice has not yet been paid, Google will apply the credit memo amount to the disputed invoice and Customer will be responsible for paying the resulting net balance due on that invoice. To the fullest extent permitted by law, Customer waives all claims relating to Fees unless claimed within 60 days after charged (this does not affect any Customer rights with its credit card issuer). Refunds (if any) are at the discretion of Google and will only be in the form of credit for the Services. Nothing in this Agreement obligates Google to extend credit to any party. + +2.5 Delinquent Payments; Suspension. Late payments may bear interest at the rate of 1.5% per month (or the highest rate permitted by law, if less) from the payment due date until paid in full. Customer will be responsible for all reasonable expenses (including attorneys’ fees) incurred by Google in collecting such delinquent amounts. If Customer is late on payment for the Services, Google may suspend the Services or terminate the Agreement for breach under Section 11.2 (Termination for Breach). + +2.6 No Purchase Order Number Required. Google is not required to provide a purchase order number on Google’s invoice (or otherwise). +3. License. + +3.1 License Grant. Subject to this Agreement's terms, during the Term, Google grants to Customer a non-exclusive, non-transferable, non-sublicensable, license to use the Services in Customer Application(s), which may be: (a) fee-based or non-fee-based; (b) public/external or private/internal; (c) business-to-business or business-to-consumer; or (d) asset tracking. + +3.2 License Requirements and Restrictions. The following are conditions of the license granted in Section 3.1. In this Section 3.2, the phrase “Customer will not” means “Customer will not, and will not permit a third party to”. + +3.2.2 General Restrictions. Unless Google specifically agrees in writing, Customer will not: (a) copy, modify, create a derivative work of, reverse engineer, decompile, translate, disassemble, or otherwise attempt to extract any or all of the source code (except to the extent such restriction is expressly prohibited by applicable law); (b) sublicense, transfer, or distribute any of the Services; (c) sell, resell, or otherwise make the Services available as a commercial offering to a third party; or (d) access or use the Services: (i) for High Risk Activities; (ii) in a manner intended to avoid incurring Fees; (iii) for activities that are subject to the International Traffic in Arms Regulations (ITAR) maintained by the United States Department of State; (iv) on behalf of or for the benefit of any entity or person who is legally prohibited from using the Services; or (v) to transmit, store, or process Protected Health Information (as defined in and subject to HIPAA). + +3.2.3 Requirements for Using the Services. + +(a) Terms of Service and Privacy Policy. The Customer Application’s terms of service will (A) notify users that the Customer Application includes Google Maps features and content; and (B) state that use of Google Maps features and content is subject to the then-current versions of the: (1) Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html; and (2) Google Privacy Policy at https://www.google.com/policies/privacy/. If the Customer Application allows users to include the Google Maps Core Services in Downstream Products, then Customer will contractually require that all Downstream Products’ terms of service satisfy the same notice and flow-down requirements that apply to the Customer Application under Section 3.2.3(a)(Terms of Service and Privacy Policy). If users of the Customer Application (and Downstream Products, if any) fail to comply with applicable terms of the Google Maps/Google Earth Additional Terms of Service, then Customer will take appropriate enforcement action, including suspending or terminating those users’ use of Google Maps features and content in the Customer Application or Downstream Products. + +(b) Attribution. Customer will display all attribution that (i) Google provides through the Services (including branding, logos, and copyright and trademark notices); or (ii) is specified in the Maps Service Specific Terms. Customer will not modify, obscure, or delete such attribution. + +(c) Review of Customer Applications. At Google’s request, Customer will submit Customer Application(s) and Project(s) to Google for review to ensure compliance with the Agreement (including the AUP). + +3.2.4 Restrictions Against Misusing the Services. + +(a) No Scraping. Customer will not extract, export, or otherwise scrape Google Maps Content for use outside the Services. For example, Customer will not: (i) pre-fetch, index, store, reshare, or rehost Google Maps Content outside the services; (ii) bulk download Google Maps tiles, Street View images, geocodes, directions, distance matrix results, roads information, places information, elevation values, and time zone details; (iii) copy and save business names, addresses, or user reviews; or (iv) use Google Maps Content with text-to-speech services. + +(b) No Caching. Customer will not cache Google Maps Content except as expressly permitted under the Maps Service Specific Terms. + +(c) No Creating Content From Google Maps Content. Customer will not create content based on Google Maps Content. For example, Customer will not: (i) trace or digitize roadways, building outlines, utility posts, or electrical lines from the Maps JavaScript API Satellite base map type; (ii) create 3D building models from 45° Imagery from Maps JavaScript API; (iii) build terrain models based on elevation values from the Elevation API; (iv) use latitude/longitude values from the Places API as an input for point-in-polygon analysis; (v) construct an index of tree locations within a city from Street View imagery; or (vi) convert text-based driving times into synthesized speech results. + +(d) No Re-Creating Google Products or Features. Customer will not use the Services to create a product or service with features that are substantially similar to or that re-create the features of another Google product or service. Customer’s product or service must contain substantial, independent value and features beyond the Google products or services. For example, Customer will not: (i) re-distribute the Google Maps Core Services or pass them off as if they were Customer’s services; (ii) create a substitute of the Google Maps Core Services, Google Maps, or Google Maps mobile apps, or their features; (iii) use the Google Maps Core Services in a listings or directory service or to create or augment an advertising product; (iv) combine data from the Directions API, Geolocation API, and Maps SDK for Android to create real-time navigation functionality substantially similar to the functionality provided by the Google Maps for Android mobile app. + +(e) No Use With Non-Google Maps. Customer will not use the Google Maps Core Services in a Customer Application that contains a non-Google map. For example, Customer will not (i) display Places listings on a non-Google map, or (ii) display Street View imagery and non-Google maps in the same Customer Application. + +(f) No Circumventing Fees. Customer will not circumvent the applicable Fees. For example, Customer will not create multiple billing accounts or Projects to avoid incurring Fees, prevent Google from accurately calculating Customer’s Service usage levels, abuse any free Service quotas, or offer access to the Services under a “time-sharing” or “service bureau” model. + +(g) No Use in Prohibited Territories. Customer will not distribute or market in a Prohibited Territory any Customer Application(s) that use the Google Maps Core Services. + +(h) No Use in Embedded Vehicle Systems. Customer will not use the Google Maps Core Services in connection with any Customer Application or device embedded in a vehicle. For example, Customer will not create a Customer Application that (i) is embedded in an in-dashboard automotive infotainment system; and (ii) allows End Users to request driving directions from the Directions API. + +(i) No Modifying Search Results Integrity. Customer will not modify any of the Service’s search results. + +3.2.5 Benchmarking. Customer may not publicly disclose directly or through a third party the results of any comparative or compatibility testing, benchmarking, or evaluation of the Services (each, a “Test”), unless the disclosure includes all information necessary for Google or a third party to replicate the Test. If Customer conducts, or directs a third party to conduct, a Test of the Services and publicly discloses the results directly or through a third party, then Google (or a Google directed third party) may conduct Tests of any publicly available cloud products or services provided by Customer and publicly disclose the results of any such Test (which disclosure will include all information necessary for Customer or a third party to replicate the Test). +4. Customer Obligations. + +4.1 Compliance. Customer will: (a) ensure that Customer’s and its End Users’ use of the Services complies with the Agreement; and (b) use commercially reasonable efforts to prevent, promptly notify Google of, and terminate any unauthorized use of or access to its Account(s) or the Services. + +4.2 Documentation. Google may provide Documentation for Customer’s use of the Services. The Documentation may specify restrictions (e.g. attribution or HTML restrictions) on how the Services may be used and Customer will comply with any such restrictions specified. + +4.3 Copyright Policy. Google provides information to help copyright holders manage their intellectual property online, but Google cannot determine whether something is being used legally or not without their input. Google responds to notices of alleged copyright infringement and terminates accounts of repeat infringers according to applicable copyright laws including in particular the process set out in the U.S. Digital Millennium Copyright Act. If Customer thinks somebody is violating Customer’s or Customer End Users’ copyrights and wants to notify Google, Customer can find information about submitting notices, and Google's policy about responding to notices at https://www.google.com/dmca.html. + +4.4 Data Use, Protection, and Privacy. + +4.4.1 Data Use and Retention. To provide the Services through the Customer Application(s), Google must receive and collect data from End Users and Customer, including search terms, IP addresses, and latitude/longitude coordinates. Customer acknowledges and agrees that Google and its Affiliates may use and retain this data to provide and improve Google products and services, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. + +4.4.2 European Data Protection Terms. Google and Customer agree to the Google Maps Controller-Controller Data Protection Terms at https://cloud.google.com/maps-platform/terms/maps-controller-terms. + +4.4.3 End User Requirements. + +(a) End User Privacy. Customer’s use of the Services in the Customer Application will comply with applicable privacy laws, including laws regarding Services that store and access Cookies on End Users’ devices. If Customer has End Users in the European Economic Area, Customer will comply with the EU End User Consent Policy at https://www.google.com/about/company/user-consent-policy.html. + +(b) End User Personal Data. Through the normal functioning of the Google Maps Core Services, End Users provide personally identifiable information and Personal Data directly to Google, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. However, Customer acknowledges and agrees that Customer will not provide these categories of data to Google. + +(c) End User Location Privacy Requirements. To safeguard End Users’ location privacy, Customer will ensure that the Customer Application(s): (i) notify End Users in advance of (1) the type(s) of data that Customer intends to collect from the End Users or the End Users’ devices, and (2) the combination and use of End User's location with any other data provider's data; and (ii) will not obtain or cache any End User's location except with the End User's express, prior, revocable consent. +5. Suspension. + +5.1 For License Restrictions Violations. Google may Suspend the Services without prior notice if Customer breaches Section 3.2 (License Requirements and Restrictions). + +5.2 For AUP Violations or Emergency Security Issues. Google may also Suspend Services as described in Subsections 5.2.1 (AUP Violations) and 5.2.2 (Emergency Security Issues). Any Suspension under those Sections will be to the minimum extent and for the shortest duration required to: (a) prevent or terminate the offending use, (b) prevent or resolve the Emergency Security Issue, or (c) comply with applicable law. + +5.2.1 AUP Violations. If Google becomes aware that Customer’s or any End User’s use of the Services violates the AUP, Google will give Customer notice of such violation by requesting that Customer correct the violation. If Customer fails to correct such violation within 24 hours, or if Google is otherwise required by applicable law to take action, then Google may Suspend all or part of Customer’s use of the Services. + +5.2.2 Emergency Security Issues. Google may immediately Suspend Customer’s use of the Services if (a) there is an Emergency Security Issue or (b) Google is required to Suspend such use immediately to comply with applicable law. At Customer’s request, unless prohibited by applicable law, Google will notify Customer of the basis for the Suspension as soon as is reasonably possible. + +5.3 For Alleged Third-Party Intellectual Property Rights Infringement. If the Customer Application is alleged to infringe a third party’s Intellectual Property Rights, Google may require Customer to suspend distributing or selling the Customer Application with 30 days’ written notice until such allegation is fully resolved. In any event, this Section 5.3 does not reduce Customer’s obligations under Section 15 (Indemnification). +6. Intellectual Property Rights; Feedback. + +6.1 Intellectual Property Rights. Except as expressly stated in this Agreement, this Agreement does not grant either party any rights, implied or otherwise, to the other’s content or any of the other’s intellectual property. As between the parties, Customer owns all Intellectual Property Rights in the Customer Application, and Google owns all Intellectual Property Rights in the Services and Software. + +6.2 Customer Feedback. If Customer provides Google Feedback about the Services, then Google may use that information without obligation to Customer, and Customer irrevocably assigns to Google all right, title, and interest in that Feedback. +7. Third Party Legal Notices and License Terms. + +Certain components of the Services (including open source software) are subject to third-party copyright and other Intellectual Property Rights, as specified in: (a) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and (b) separate, publicly-available third-party license terms, which Google will provide to Customer on request. +8. Technical Support Services. + +8.1 By Google. Google will provide Maps Technical Support Services to Customer in accordance with the Maps Technical Support Services Guidelines. + +8.2 By Customer. Customer is responsible for technical support of its Customer Applications and Projects. +9. Deprecation Policy. + +9.1 Google will notify Customer at least 12 months before making material discontinuance(s) or backwards incompatible change(s) to the Services, unless Google reasonably determines that: (a) Google cannot do so by law or by contract (including if there is a change in applicable law or contract) or (b) continuing to provide the Services could create a (i) security risk or (ii) substantial economic or technical burden. + +9.2 Section 9.1 applies to the Services listed at https://cloud.google.com/maps-platform/terms/maps-deprecation/. If Google deprecates any Services that are not listed at the above URL, Google will use commercially reasonable efforts to minimize the adverse impacts of such deprecations. +10. Confidential Information. + +10.1 Obligations. Subject to Section 10.2 (Required Disclosure), the recipient will use the other party’s Confidential Information only to exercise its rights and fulfill its obligations under the Agreement. The recipient will use reasonable care to protect against disclosure of the other party’s Confidential Information to parties other than the recipient’s employees, Affiliates, agents, or professional advisors (“Delegates”) who need to know it and who have a legal obligation to keep it confidential. The recipient will ensure that its Delegates are also subject to the same non-disclosure and use obligations. + +10.2 Required Disclosure. The recipient may disclose the other party’s Confidential Information to the extent required by applicable Legal Process; provided that the recipient uses commercially reasonable efforts to: (a) promptly notify the other party of such disclosure before disclosing; and (b) comply with the other party’s reasonable requests regarding its efforts to oppose the disclosure. Notwithstanding the foregoing, subsections (a) and (b) above will not apply if the recipient determines that complying with (a) and (b) could: (i) result in a violation of Legal Process; (ii) obstruct a governmental investigation; and/or (iii) lead to death or serious physical harm to an individual. As between the parties, Customer is responsible for responding to all third party requests concerning its use and Customer End Users’ use of the Services. +11. Term and Termination. + +11.1 Agreement Term. The “Term” of this Agreement will begin on the Effective Date and continue until the Agreement is terminated under this Section. + +11.2 Termination for Breach. Either party may terminate this Agreement for breach if: (a) the other party is in material breach of the Agreement and fails to cure that breach within 30 days after receipt of written notice; or (b) the other party ceases its business operations or becomes subject to insolvency proceedings and the proceedings are not dismissed within 90 days. In addition, Google may terminate any, all, or any portion of the Services or Projects, if Customer meets any of the conditions in subsections (a) or (b). + +11.3 Termination for Inactivity. Google reserves the right to terminate provision of Service(s) to a Project on 30 days advance notice if, for more than 180 days, such Project (a) has not made any requests to the Services from any Customer Applications; or (b) such Project has not incurred any Fees for such Service(s). + +11.4 Termination for Convenience. Customer may stop using the Services at any time. Subject to any financial commitments expressly made by this Agreement, Customer may terminate this Agreement for its convenience at any time on prior written notice and upon termination, must cease use of the applicable Services. Google may terminate this Agreement for its convenience at any time without liability to Customer. + +11.5 Effects of Termination. + +11.5.1 If the Agreement is terminated, then: (a) the rights granted by one party to the other will immediately cease; (b) all Fees owed by Customer to Google are immediately due upon receipt of the final electronic bill; and (c) Customer will delete the Software and any content from the Services by the termination effective date. + +11.5.2 The following will survive expiration or termination of the Agreement: Section 2 (Payment Terms), Section 3.2 (License Requirements and Restrictions), Section 4.4 (Data Use, Protection, and Privacy), Section 6 (Intellectual Property; Feedback), Section 10 (Confidential Information), Section 11.5 (Effects of Termination), Section 14 (Disclaimer), Section 15 (Indemnification), Section 16 (Limitation of Liability), Section 19 (Miscellaneous), and Section 20 (Definitions). +12. Publicity. + +Customer may state publicly that it is a customer of the Services, consistent with the Trademark Guidelines. If Customer wants to display Google Brand Features in connection with its use of the Services, Customer must obtain written permission from Google through the process specified in the Trademark Guidelines. Google may include Customer’s name or Brand Features in a list of Google customers, online or in promotional materials. Google may also verbally reference Customer as a customer of the Services. Neither party needs approval if it is repeating a public statement that is substantially similar to a previously-approved public statement. Any use of a party’s Brand Features will inure to the benefit of the party holding Intellectual Property Rights to those Brand Features. A party may revoke the other party’s right to use its Brand Features under this Section with written notice to the other party and a reasonable period to stop the use. +13. Representations and Warranties. + +Each party represents and warrants that: (a) it has full power and authority to enter into the Agreement; and (b) it will comply with Export Control Laws and Anti-Bribery Laws applicable to its provision, receipt, or use, of the Services, as applicable. +14. Disclaimer. + + EXCEPT AS EXPRESSLY PROVIDED FOR IN THE AGREEMENT, TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, GOOGLE: (A) DOES NOT MAKE ANY WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR USE, NONINFRINGEMENT, OR ERROR-FREE OR UNINTERRUPTED USE OF THE SERVICES OR SOFTWARE; (B) MAKES NO REPRESENTATION ABOUT CONTENT OR INFORMATION ACCESSIBLE THROUGH THE SERVICES; AND (C) WILL ONLY BE REQUIRED TO PROVIDE THE REMEDIES EXPRESSLY STATED IN THE SLA FOR FAILURE TO PROVIDE THE SERVICES. GOOGLE MAPS CORE SERVICES ARE PROVIDED FOR PLANNING PURPOSES ONLY. INFORMATION FROM THE GOOGLE MAPS CORE SERVICES MAY DIFFER FROM ACTUAL CONDITIONS, AND MAY NOT BE SUITABLE FOR THE CUSTOMER APPLICATION. CUSTOMER MUST EXERCISE INDEPENDENT JUDGMENT WHEN USING THE SERVICES TO ENSURE THAT THE CUSTOMER APPLICATION IS SAFE FOR END USERS AND OTHER THIRD PARTIES. +15. Indemnification. + +15.1 By Customer. Unless prohibited by applicable law, Customer will defend Google and its Affiliates and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from (a) any Customer Indemnified Materials or (b) Customer’s or an End User’s use of the Services in violation of the AUP or in violation of the Agreement. + +15.2 By Google. Google will defend Customer and its Affiliates participating under the Agreement (“Customer Indemnified Parties”), and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from an allegation that Customer Indemnified Parties' use of Google Indemnified Materials infringes the third party's Intellectual Property Rights. + +15.3 Exclusions. This Section 15 will not apply to the extent the underlying allegation arises from (a) the indemnified party’s breach of the Agreement or (b) a combination of the indemnifying party’s technology or Brand Features with materials not provided by the indemnifying party, unless the combination is required by the Agreement. + +15.4 Conditions. Sections 15.1 and 15.2 will apply only to the extent: + +(a) The indemnified party has promptly notified the indemnifying party in writing of any Allegation(s) that preceded the Third-Party Legal Proceeding and cooperates reasonably with the indemnifying party to resolve the Allegation(s) and Third-Party Legal Proceeding. If breach of this Section 15.4(a) prejudices the defense of the Third-Party Legal Proceeding, the indemnifying party’s obligations under Section 15.1 or 15.2 (as applicable) will be reduced in proportion to the prejudice. + +(b) The indemnified party tenders sole control of the indemnified portion of the Third-Party Legal Proceeding to the indemnifying party, subject to the following: (i) the indemnified party may appoint its own non-controlling counsel, at its own expense; and (ii) any settlement requiring the indemnified party to admit liability, pay money, or take (or refrain from taking) any action, will require the indemnified party’s prior written consent, not to be unreasonably withheld, conditioned, or delayed. + +15.5 Remedies. + +(a) If Google reasonably believes the Services might infringe a third party’s Intellectual Property Rights, then Google may, at its sole option and expense: (i) procure the right for Customer to continue using the Services; (ii) modify the Services to make them non-infringing without materially reducing their functionality; or (iii) replace the Services with a non-infringing, functionally equivalent alternative. + +(b) If Google does not believe the remedies in Section 15.5(a) are commercially reasonable, then Google may suspend or terminate Customer’s use of the impacted Services. + +15.6 Sole Rights and Obligations. Without affecting either party’s termination rights, this Section 15 states the parties’ sole and exclusive remedy under this Agreement for any third party's Intellectual Property Rights Allegations and Third-Party Legal Proceedings covered by this Section 15 (Indemnification). +16. Limitation of Liability. + +16.1 Limitation on Indirect Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, WILL NOT BE LIABLE UNDER THIS AGREEMENT FOR LOST REVENUES OR PROFITS (WHETHER DIRECT OR INDIRECT), SAVINGS, GOODWILL, INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES, EVEN IF THE PARTY OR LICENSOR, AS APPLICABLE, KNEW OR SHOULD HAVE KNOWN THAT SUCH DAMAGES WERE POSSIBLE AND EVEN IF DIRECT DAMAGES DO NOT SATISFY A REMEDY. + +16.2 Limitation on Amount of Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, MAY NOT BE HELD LIABLE UNDER THIS AGREEMENT FOR MORE THAN THE AMOUNT PAID BY CUSTOMER TO GOOGLE UNDER THIS AGREEMENT DURING THE TWELVE MONTHS BEFORE THE EVENT GIVING RISE TO LIABILITY. + +16.3 Exceptions to Limitations. These limitations of liability do not apply to breaches of confidentiality obligations, violations of a party’s Intellectual Property Rights by the other party, or Customer's payment obligations. +17. Advertising. + +In its sole discretion, Customer may configure the Service to either display or not display advertisements served by Google. +18. U.S. Federal Agency Users. + +The Services were developed solely at private expense and are commercial computer software and related documentation within the meaning of the applicable Federal Acquisition Regulations and their agency supplements. +19. Miscellaneous. + +19.1 Notices. All notices must be in writing and addressed to the other party’s legal department and primary point of contact. The email address for notices being sent to Google’s Legal Department is legal-notices@google.com. Notice will be treated as given on receipt as verified by written or automated receipt or by electronic log (as applicable). + +19.2 Assignment. Neither party may assign any part of this Agreement without the written consent of the other, except to an Affiliate where: (a) the assignee has agreed in writing to be bound by the terms of this Agreement; (b) the assigning party remains liable for obligations under the Agreement if the assignee defaults on them; and (c) the assigning party has notified the other party of the assignment. Any other attempt to assign is void. + +19.3 Change of Control. If a party experiences a change of Control (for example, through a stock purchase or sale, merger, or other form of corporate transaction): (a) that party will give written notice to the other party within 30 days after the change of Control; and (b) the other party may immediately terminate this Agreement any time between the change of Control and 30 days after it receives that written notice. + +19.4 Force Majeure. Neither party will be liable for failure or delay in performance to the extent caused by circumstances beyond its reasonable control, including acts of God, natural disasters, terrorism, riots, or war. + +19.5 Subcontracting. Google may subcontract obligations under the Agreement but will remain liable to Customer for any subcontracted obligations. + +19.6 No Agency. This Agreement does not create any agency, partnership or joint venture between the parties. + +19.7 No Waiver. Neither party will be treated as having waived any rights by not exercising (or delaying the exercise of) any rights under this Agreement. + +19.8 Severability. If any term (or part of a term) of this Agreement is invalid, illegal, or unenforceable, the rest of the Agreement will remain in effect. + +19.9 No Third-Party Beneficiaries. This Agreement does not confer any benefits on any third party unless it expressly states that it does. + +19.10 Equitable Relief. Nothing in this Agreement will limit either party’s ability to seek equitable relief. + +19.11 Governing Law. + +19.11.1 For U.S. City, County, and State Government Entities. If Customer is a U.S. city, county or state government entity, then the Agreement will be silent regarding governing law and venue. + +19.11.2 For U.S. Federal Government Entities. If Customer is a U.S. federal government entity then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY THE LAWS OF THE UNITED STATES OF AMERICA, EXCLUDING ITS CONFLICT OF LAWS RULES. SOLELY TO THE EXTENT PERMITTED BY FEDERAL LAW: (I) THE LAWS OF THE STATE OF CALIFORNIA (EXCLUDING CALIFORNIA’S CONFLICT OF LAWS RULES) WILL APPLY IN THE ABSENCE OF APPLICABLE FEDERAL LAW; AND (II) FOR ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES, THE PARTIES CONSENT TO PERSONAL JURISDICTION IN, AND THE EXCLUSIVE VENUE OF, THE COURTS IN SANTA CLARA COUNTY, CALIFORNIA. + +19.11.3 For All Other Entities. If Customer is any entity not listed in Section 19.11.1 or 19.11.2 then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY CALIFORNIA LAW, EXCLUDING THAT STATE’S CONFLICT OF LAWS RULES, AND WILL BE LITIGATED EXCLUSIVELY IN THE FEDERAL OR STATE COURTS OF SANTA CLARA COUNTY, CALIFORNIA, USA; THE PARTIES CONSENT TO PERSONAL JURISDICTION IN THOSE COURTS. + +19.12 Amendments. Except as stated in Section 1.5.2 (Modifications; To the Agreement), any amendment must be in writing, signed by both parties, and expressly state that it is amending this Agreement. + +19.13 Entire Agreement. This Agreement sets out all terms agreed between the parties and supersedes all other agreements between the parties relating to its subject matter. In entering into this Agreement, neither party has relied on, and neither party will have any right or remedy based on, any statement, representation or warranty (whether made negligently or innocently), except those expressly stated in this Agreement. The terms located at any URL referenced in this Agreement and the Documentation are incorporated by reference into the Agreement. After the Effective Date, Google may provide an updated URL in place of any URL in this Agreement. + +19.14 Conflicting Terms. If there is a conflict between the documents that make up this Agreement, the documents will control in the following order: the Agreement, and the terms at any URL. + +19.15 Conflicting Translations. If this Agreement is translated into any other language, and there is a discrepancy between the English text and the translated text, the English text will govern. +20. Reseller Orders. + +This Section applies if Customer orders the Services from a Reseller under a Reseller Agreement (including the Reseller Order Form). + +20.1 Orders. If Customer orders Services from Reseller, then: (a) fees for the Services will be set between Customer and Reseller, and any payments will be made directly to Reseller under the Reseller Agreement; (b) Section 2 of this Agreement (Payment Terms) will not apply to the Services; (c) Customer will receive any applicable SLA credits from Reseller, if owed to Customer in accordance with the SLA; and (d) Google will have no obligation to provide any SLA credits to a Customer who orders Services from the Reseller. + +20.2 Conflicting Terms. If Customer orders Google Maps Core Services from a Reseller and if any documents conflict, then the documents will control in the following order: the Agreement, the terms at any URL (including the URL Terms), Reseller Order Form. For example, if there is a conflict between the Maps Service Specific Terms and the Reseller Order Form, the Maps Service Specific Terms will control. + +20.3 Reseller as Administrator. At Customer's discretion, Reseller may access Customer's Projects, Accounts, or the Services on behalf of Customer. As between Google and Customer, Customer is solely responsible for: (a) any access by Reseller to Customer’s Account(s), Project(s), or the Services; and (b) defining in the Reseller Agreement any rights or obligations as between Reseller and Customer with respect to the Accounts, Projects, or Services. + +20.4 Reseller Verification of Customer Application(s). Before providing the Services, Reseller may also verify that Customer owns or controls the Customer Applications. If Reseller determines that Customer does not own or control the Customer Applications, then Google will have no obligation to provide the Services to Customer. +21. Definitions. + +"Account" means Customer’s Google Account. + +"Admin Console" means the online console(s) and/or tool(s) provided by Google to Customer for administering the Services. + +"Affiliate" means any entity that directly or indirectly Controls, is Controlled by, or is under common Control with a party. + +"Allegation" means an unaffiliated third party’s allegation. + +“Anti-Bribery Laws” means all applicable commercial and public anti-bribery laws, (for example, the U.S. Foreign Corrupt Practices Act of 1977 and the UK Bribery Act 2010), which prohibit corrupt offers of anything of value, either directly or indirectly, to anyone, including government officials, to obtain or keep business or to secure any other improper commercial advantage. “Government officials” include any government employee; candidate for public office; and employee of government-owned or government-controlled companies, public international organizations, and political parties. + +"AUP" or "Acceptable Use Policy" means the then-current Acceptable Use Policy for the Services at: https://cloud.google.com/maps-platform/terms/aup/. + +"Brand Features" means the trade names, trademarks, service marks, logos, domain names, and other distinctive brand features of each party, respectively, as secured by such party. + +"Confidential Information" means information that one party (or an Affiliate) discloses to the other party under this Agreement, and which is marked as confidential or would normally under the circumstances be considered confidential information. It does not include information that is independently developed by the recipient, is rightfully given to the recipient by a third party without confidentiality obligations, or becomes public through no fault of the recipient. + +"Control" means control of greater than 50% of the voting rights or equity interests of a party. + +"Customer Application" means any web domain or application (including all source code and features) owned or controlled by Customer, or that Customer is authorized to use. + +"Customer End User" or "End User" means an individual or entity that Customer permits to use the Services or Customer Application(s). + +“Customer Indemnified Materials” means the Customer Application and Customer Brand Features. + +"Documentation" means the Google documentation (as may be updated) in the form generally made available by Google for use with the Services at https://developers.google.com/maps/documentation. + +"Emergency Security Issue" means either: (a) Customer’s or Customer End Users’ use of the Services in violation of the AUP, which could disrupt: (i) the Services; (ii) other customers’ or their customer end users’ use of the Services; or (iii) the Google network or servers used to provide the Services; or (b) unauthorized third party access to the Services. + +"Europe" or "European" means European Economic Area or Switzerland. + +“Export Control Laws” means all applicable export and re-export control laws and regulations, including any applicable munitions- or defense-related regulations (for example, the International Traffic in Arms Regulations maintained by the U.S. Department of State). + +"Fee Accrual Period" means a calendar month or another period specified by Google in the Admin Console. + +"Fee Threshold" means the threshold (as may be updated), as applicable for certain Services, as set out in the Admin Console. + +“Feedback” means feedback or suggestions about the Services provided by Customer to Google. + +"Fees" means the product of the amount of Services used or ordered by Customer multiplied by the Prices, plus any applicable Taxes. + +"Google Indemnified Materials" means Google's technology used to provide the Services (excluding any open source software) and Google's Brand Features. + +"Google Maps Content" means any content provided through the Services (whether created by Google or its third-party licensors), including map and terrain data, imagery, traffic data, and places data (including business listings). + +"High Risk Activities" means activities where the use or failure of the Services could lead to death, personal injury, or environmental damage, including (a) emergency response services; (b) autonomous and semi-autonomous vehicle or drone control; (c) vessel navigation; (d) aviation; (e) air traffic control; (f) nuclear facilities operation. + +"HIPAA" means the Health Insurance Portability and Accountability Act of 1996 as it may be amended, and any regulations issued under it. + +"Indemnified Liabilities" means any (a) settlement amounts approved by the indemnifying party; and (b) damages and costs finally awarded against the indemnified party and its Affiliates by a court of competent jurisdiction. + +"including" means "including but not limited to". + +"Intellectual Property Rights" means current and future worldwide rights under patent, copyright, trade secret, trademark, and moral rights laws, and other similar rights. + +"Legal Process" means a data disclosure request made under law, governmental regulation, court order, subpoena, warrant, governmental regulatory or agency request, or other valid legal authority, legal procedure, or similar process. + +"Maps Service Specific Terms" means the then-current terms specific to one or more Services at https://cloud.google.com/maps-platform/terms/maps-service-terms/. + +"Maps Technical Support Services" means the technical support service provided by Google to Customer under the then-current Maps Technical Support Services Guidelines. + +"Maps Technical Support Services Guidelines" means the then-current technical support service guidelines at https://cloud.google.com/maps-platform/terms/tssg/. + +"Personal Data" has the meaning provided in the General Data Protection Regulation (EU) 2016/679 of the European Parliament and of the Council of April 27, 2016. + +"Price" means the then-current applicable price(s) stated at https://cloud.google.com/maps-platform/pricing/sheet/. + +"Prohibited Territory" means the countries listed at https://cloud.google.com/maps-platform/terms/maps-prohibited-territories/. + +"Project" means a Customer-selected grouping of Google Maps Core Services resources for a particular Customer Application. + +"Reseller" means, if applicable, the authorized reseller that sells or supplies the Services to Customer. + +"Reseller Agreement" means, if applicable, a separate, independent agreement between Customer and Reseller regarding the Services. + +"Reseller Order Form" means an order form entered into by Reseller and Customer, subject to the Reseller Agreement. + +"Services" and "Google Maps Core Services" means the services described at https://cloud.google.com/maps-platform/terms/maps-services/. The Services include the Google Maps Content and the Software. + +"SLA" or "Service Level Agreement" means each of the then-current service level agreements at: https://cloud.google.com/maps-platform/terms/sla/. + +"Software" means any downloadable tools, software development kits, or other computer software provided by Google for use as part of the Services, including updates. + +"Taxes" means any duties, customs fees, or taxes (other than Google’s income tax) associated with the purchase of the Services, including any related penalties or interest. + +"Term" has the meaning stated in Section 1.6 of this Agreement. + +“Terms URL” means the following URL set forth here: https://cloud.google.com/maps-platform/terms/. + +"Third-Party Legal Proceeding" means any formal legal proceeding filed by an unaffiliated third party before a court or government tribunal (including any appellate proceeding). + +"Trademark Guidelines" means (a) Google’s Brand Terms and Conditions, located at: https://www.google.com/permissions/trademark/brand-terms.html; and (b) the “Use of Trademarks” section of the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademark policy. + +“URL Terms” means the following, which will control in the following order if there is a conflict: + +(a) the Maps Service Specific Terms; + +(b) the SLA; + +(c) the AUP; + +(d) the Maps Technical Support Services Guidelines; + +(e) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and + +(f) the Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-maps-tos-2019-05-02.yml b/src/licensedcode/data/licenses/google-maps-tos-2019-05-02.yml new file mode 100644 index 00000000000..f855bc24868 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2019-05-02.yml @@ -0,0 +1,34 @@ +key: google-maps-tos-2019-05-02 +short_name: Google Maps Platform ToS 2019-05-02 +name: Google Maps Platform Terms of Service 2019-05-02 +category: Proprietary Free +owner: Google +homepage_url: https://cloud.google.com/maps-platform/terms +spdx_license_key: LicenseRef-scancode-google-maps-tos-2019-05-02 +text_urls: + - https://cloud.google.com/maps-platform/terms/index-20190502 +minimum_coverage: 90 +ignorable_authors: + - the U.S. Department + - the United States Department of State +ignorable_emails: + - legal-notices@google.com +ignorable_urls: + - https://cloud.google.com/maps-platform/pricing/sheet + - https://cloud.google.com/maps-platform/terms + - https://cloud.google.com/maps-platform/terms/aup + - https://cloud.google.com/maps-platform/terms/maps-controller-terms + - https://cloud.google.com/maps-platform/terms/maps-deprecation + - https://cloud.google.com/maps-platform/terms/maps-prohibited-territories + - https://cloud.google.com/maps-platform/terms/maps-service-terms + - https://cloud.google.com/maps-platform/terms/maps-services + - https://cloud.google.com/maps-platform/terms/sla + - https://cloud.google.com/maps-platform/terms/tssg + - https://developers.google.com/maps/documentation + - https://www.google.com/about/company/user-consent-policy.html + - https://www.google.com/dmca.html + - https://www.google.com/help/legalnotices_maps.html + - https://www.google.com/permissions/geoguidelines.html#geotrademark + - https://www.google.com/permissions/trademark/brand-terms.html + - https://www.google.com/policies/privacy + diff --git a/src/licensedcode/data/licenses/google-maps-tos-2019-11-21.LICENSE b/src/licensedcode/data/licenses/google-maps-tos-2019-11-21.LICENSE new file mode 100644 index 00000000000..63b4f98ad72 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2019-11-21.LICENSE @@ -0,0 +1,369 @@ +Google Maps Platform Terms of Service + +Last modified: November 21, 2019 +This is not the current version of this document and is provided for archival purposes.View the current version + +If you have entered into an offline variant of this Agreement, the terms below do not apply, and your offline agreement governs your use of the Google Maps Core Services. + +If your billing account is in Brazil, please review these Terms of Service, which apply to your use of Google Cloud Platform. + +Se a sua conta para faturamento é no Brasil, por gentileza veja o Termos de Serviço, que será o Termo aplicável à sua utilização da Google Maps Platform. + +Google Maps Platform License Agreement + +This Google Maps Platform License Agreement (the "Agreement") is made and entered into between Google and the entity or person agreeing to these terms ("Customer"). "Google" means either (i) Google Commerce Limited (“GCL”), a company incorporated under the laws of Ireland, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer has a billing address in the EU and has chosen “non-business” as the tax status/setting for its Google account, (ii) Google Ireland Limited, with offices at Gordon House, Barrow Street, Dublin 4, Ireland, if Customer's billing address is in any country within Europe, the Middle East, or Africa ("EMEA"), (iii) Google Asia Pacific Pte. Ltd., with offices at 70 Pasir Panjang Road, #03-71, Mapletree Business City II Singapore 117371, if Customer's billing address is in any country within the Asia Pacific region ("APAC") except as provided below for Customers with a billing address in Japan, South Korea, New Zealand, or Australia, (iv) Google Cloud Canada Corporation, with offices at 111 Richmond Street West, Toronto, ON M5H 2G4, Canada, if Customer’s billing address is in Canada, or (v) Google LLC, with offices at 1600 Amphitheatre Parkway, Mountain View, California 94043, if Customer's billing address is in any country in the world other than those in Canada, EMEA and APAC. + +For Customers with a billing address in Japan, South Korea, Australia, or New Zealand, "Google" means Google Asia Pacific Pte. Ltd and/or its affiliates as the context requires, provided further that: this Agreement is made and entered into by and between Customer and the following entity as an authorized reseller of the Services: + + for customers in Australia: Google Australia Pty Ltd., with offices at Level 5, 48 Pirrama Road, Pyrmont, NSW 2009 Australia; + + for customers in Japan: Google Cloud Japan G.K., with offices at Roppongi Hills Mori Tower, 10-1, Roppongi 6-chome, Minato-ku Tokyo; + + for customers in South Korea: Google Cloud Korea LLC, with offices at Gangnam Finance Center 20fl., 152 Teheran-ro, Gangnam-gu, Seoul, South Korea; and + + for customers in New Zealand: Google New Zealand Limited, with offices at PWC Tower, Level 27, 188 Quay Street, Auckland, New Zealand 1010. + +This Agreement is effective as of the date Customer clicks to accept the Agreement, or enters into a Reseller Agreement if purchasing through a Reseller (the "Effective Date"). If you are accepting on behalf of Customer, you represent and warrant that: (i) you have full legal authority to bind Customer to this Agreement; (ii) you have read and understand this Agreement; and (iii) you agree, on behalf of Customer, to this Agreement. If you do not have the legal authority to bind Customer, please do not click to accept. This Agreement governs Customer's access to and use of the Services. + +For an offline variant of this Agreement, you may contact Google for more information. +1. Provision of the Services. + +1.1 Use of the Services in Customer Applications. Google will provide the Services to Customer in accordance with the applicable SLA, and Customer may use the Google Maps Core Services in Customer Application(s) in accordance with Section 3 (License). + +1.2 Admin Console; Projects; API Keys. Customer will administer the Services through the online Admin Console. To access the Services, Customer must create Project(s) and use its API key(s) in accordance with the Documentation. + +1.3 Accounts. Customer must have an Account. Customer is responsible for: (a) the information it provides in connection with the Account; (b) maintaining the confidentiality and security of the Account and associated passwords; and (c) any use of its Account. + +1.4 Customer Domains and Applications. Customer must list in the Admin Console each authorized domain and application that uses the Services. Customer is responsible for ensuring that only authorized domains and applications use the Services. + +1.5 New Features and Services. Google may: (a) make new features or functionality available through the Services and (b) add new services to the "Services" definition (by adding them at the URL stated under that definition). Customer’s use of new features or functionality may be contingent on Customer’s agreement to additional terms applicable to the new feature or functionality. + +1.6 Modifications. + +1.6.1 To the Services. Google may make changes to the Services, subject to Section 9 (Deprecation Policy), which may include adding, updating, or discontinuing any Services or portion or feature(s) of the Services. Google will notify Customer of any material change to the Services. + +1.6.2. To the Agreement. Google may make changes to this Agreement, including pricing (and any linked documents). Unless otherwise noted by Google, material changes to the Agreement will become effective 30 days after notice is given, except if the changes apply to new functionality in which case they will be effective immediately. Google will provide at least 90 days advance notice for materially adverse changes to any SLAs by: (a) sending an email to Customer’s primary point of contact; (b) posting a notice in the Admin Console; or (c) posting a notice to the applicable SLA webpage. If Customer does not agree to the revised Agreement, Customer should stop using the Services. Google will post any modification to this Agreement to the Terms URL. +2. Payment Terms. + +2.1 Free Quota. Certain Services are provided to Customer without charge up to the Fee Threshold, as applicable. + +2.2 Online Billing. At the end of the applicable Fee Accrual Period, Google will issue an electronic bill to Customer for all charges accrued above the Fee Threshold based on (a) Customer’s use of the Services during the previous Fee Accrual Period; (b) any Committed Purchases selected; and (c) any Package Purchases selected. For use above the Fee Threshold, Customer will be responsible for all Fees up to the amount set in the Account and will pay all Fees in the currency set forth in the invoice. If Customer elects to pay by credit card, debit card, or other non-invoiced form of payment, Google will charge (and Customer will pay) all Fees immediately at the end of the Fee Accrual Period. If Customer elects to pay by invoice (and Google agrees), all Fees are due as stated in the invoice. Customer’s obligation to pay all Fees is non-cancellable. Google's measurement of Customer’s use of the Services is final. Google has no obligation to provide multiple bills. Payments made via wire transfer must include the bank information provided by Google. If Customer has entered into the Agreement with GCL, Google may collect payments via Google Payment Limited, a company incorporated in England and Wales with offices at Belgrave House, 76 Buckingham Palace Road, London, SW1W 9TQ, United Kingdom. + +2.3 Taxes. + +2.3.1 Customer is responsible for any Taxes, and Customer will pay Google for the Services without any reduction for Taxes. If Google is obligated to collect or pay Taxes, the Taxes will be invoiced to Customer, unless Customer provides Google with a timely and valid tax exemption certificate authorized by the appropriate taxing authority. In some states the sales tax is due on the total purchase price at the time of sale and must be invoiced and collected at the time of the sale. If Customer is required by law to withhold any Taxes from its payments to Google, Customer must provide Google with an official tax receipt or other appropriate documentation to support such withholding. If under the applicable tax legislation the Services are subject to local VAT and the Customer is required to make a withholding of local VAT from amounts payable to Google, the value of Services calculated in accordance with the above procedure will be increased (grossed up) by the Customer for the respective amount of local VAT and the grossed up amount will be regarded as a VAT inclusive price. Local VAT amount withheld from the VAT-inclusive price will be remitted to the applicable local tax entity by the Customer and Customer will ensure that Google will receives payment for its services for the net amount as would otherwise be due (the VAT inclusive price less the local VAT withheld and remitted to applicable tax authority). + +2.3.2 If required under applicable law, Customer will provide Google with applicable tax identification information that Google may require to ensure its compliance with applicable tax regulations and authorities in applicable jurisdictions. Customer will be liable to pay (or reimburse Google for) any taxes, interest, penalties or fines arising out of any mis-declaration by the Customer. + +2.4 Invoice Disputes & Refunds. Any invoice disputes must be submitted before the payment due date. If the parties determine that certain billing inaccuracies are attributable to Google, Google will not issue a corrected invoice, but will instead issue a credit memo specifying the incorrect amount in the affected invoice. If the disputed invoice has not yet been paid, Google will apply the credit memo amount to the disputed invoice and Customer will be responsible for paying the resulting net balance due on that invoice. To the fullest extent permitted by law, Customer waives all claims relating to Fees unless claimed within 60 days after charged (this does not affect any Customer rights with its credit card issuer). Refunds (if any) are at the discretion of Google and will only be in the form of credit for the Services. Nothing in this Agreement obligates Google to extend credit to any party. + +2.5 Delinquent Payments; Suspension. Late payments may bear interest at the rate of 1.5% per month (or the highest rate permitted by law, if less) from the payment due date until paid in full. Customer will be responsible for all reasonable expenses (including attorneys’ fees) incurred by Google in collecting such delinquent amounts. If Customer is late on payment for the Services, Google may suspend the Services or terminate the Agreement for breach under Section 11.2 (Termination for Breach). + +2.6 No Purchase Order Number Required. Google is not required to provide a purchase order number on Google’s invoice (or otherwise). +3. License. + +3.1 License Grant. Subject to this Agreement's terms, during the Term, Google grants to Customer a non-exclusive, non-transferable, non-sublicensable, license to use the Services in Customer Application(s), which may be: (a) fee-based or non-fee-based; (b) public/external or private/internal; (c) business-to-business or business-to-consumer; or (d) asset tracking. + +3.2 License Requirements and Restrictions. The following are conditions of the license granted in Section 3.1. In this Section 3.2, the phrase “Customer will not” means “Customer will not, and will not permit a third party to”. + +3.2.2 General Restrictions. Unless Google specifically agrees in writing, Customer will not: (a) copy, modify, create a derivative work of, reverse engineer, decompile, translate, disassemble, or otherwise attempt to extract any or all of the source code (except to the extent such restriction is expressly prohibited by applicable law); (b) sublicense, transfer, or distribute any of the Services; (c) sell, resell, or otherwise make the Services available as a commercial offering to a third party; or (d) access or use the Services: (i) for High Risk Activities; (ii) in a manner intended to avoid incurring Fees; (iii) for activities that are subject to the International Traffic in Arms Regulations (ITAR) maintained by the United States Department of State; (iv) on behalf of or for the benefit of any entity or person who is legally prohibited from using the Services; or (v) to transmit, store, or process Protected Health Information (as defined in and subject to HIPAA). + +3.2.3 Requirements for Using the Services. + +(a) Terms of Service and Privacy Policy. The Customer Application’s terms of service will (A) notify users that the Customer Application includes Google Maps features and content; and (B) state that use of Google Maps features and content is subject to the then-current versions of the: (1) Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html; and (2) Google Privacy Policy at https://www.google.com/policies/privacy/. If the Customer Application allows users to include the Google Maps Core Services in Downstream Products, then Customer will contractually require that all Downstream Products’ terms of service satisfy the same notice and flow-down requirements that apply to the Customer Application under Section 3.2.3(a)(Terms of Service and Privacy Policy). If users of the Customer Application (and Downstream Products, if any) fail to comply with applicable terms of the Google Maps/Google Earth Additional Terms of Service, then Customer will take appropriate enforcement action, including suspending or terminating those users’ use of Google Maps features and content in the Customer Application or Downstream Products. + +(b) Attribution. Customer will display all attribution that (i) Google provides through the Services (including branding, logos, and copyright and trademark notices); or (ii) is specified in the Maps Service Specific Terms. Customer will not modify, obscure, or delete such attribution. + +(c) Review of Customer Applications. At Google’s request, Customer will submit Customer Application(s) and Project(s) to Google for review to ensure compliance with the Agreement (including the AUP). + +3.2.4 Restrictions Against Misusing the Services. + +(a) No Scraping. Customer will not extract, export, or otherwise scrape Google Maps Content for use outside the Services. For example, Customer will not: (i) pre-fetch, index, store, reshare, or rehost Google Maps Content outside the services; (ii) bulk download Google Maps tiles, Street View images, geocodes, directions, distance matrix results, roads information, places information, elevation values, and time zone details; (iii) copy and save business names, addresses, or user reviews; or (iv) use Google Maps Content with text-to-speech services. + +(b) No Caching. Customer will not cache Google Maps Content except as expressly permitted under the Maps Service Specific Terms. + +(c) No Creating Content From Google Maps Content. Customer will not create content based on Google Maps Content. For example, Customer will not: (i) trace or digitize roadways, building outlines, utility posts, or electrical lines from the Maps JavaScript API Satellite base map type; (ii) create 3D building models from 45° Imagery from Maps JavaScript API; (iii) build terrain models based on elevation values from the Elevation API; (iv) use latitude/longitude values from the Places API as an input for point-in-polygon analysis; (v) construct an index of tree locations within a city from Street View imagery; or (vi) convert text-based driving times into synthesized speech results. + +(d) No Re-Creating Google Products or Features. Customer will not use the Services to create a product or service with features that are substantially similar to or that re-create the features of another Google product or service. Customer’s product or service must contain substantial, independent value and features beyond the Google products or services. For example, Customer will not: (i) re-distribute the Google Maps Core Services or pass them off as if they were Customer’s services; (ii) create a substitute of the Google Maps Core Services, Google Maps, or Google Maps mobile apps, or their features; (iii) use the Google Maps Core Services in a listings or directory service or to create or augment an advertising product; (iv) combine data from the Directions API, Geolocation API, and Maps SDK for Android to create real-time navigation functionality substantially similar to the functionality provided by the Google Maps for Android mobile app. + +(e) No Use With Non-Google Maps. Customer will not use the Google Maps Core Services in a Customer Application that contains a non-Google map. For example, Customer will not (i) display Places listings on a non-Google map, or (ii) display Street View imagery and non-Google maps in the same Customer Application. + +(f) No Circumventing Fees. Customer will not circumvent the applicable Fees. For example, Customer will not create multiple billing accounts or Projects to avoid incurring Fees, prevent Google from accurately calculating Customer’s Service usage levels, abuse any free Service quotas, or offer access to the Services under a “time-sharing” or “service bureau” model. + +(g) No Use in Prohibited Territories. Customer will not distribute or market in a Prohibited Territory any Customer Application(s) that use the Google Maps Core Services. + +(h) No Use in Embedded Vehicle Systems. Customer will not use the Google Maps Core Services in connection with any Customer Application or device embedded in a vehicle. For example, Customer will not create a Customer Application that (i) is embedded in an in-dashboard automotive infotainment system; and (ii) allows End Users to request driving directions from the Directions API. + +(i) No Modifying Search Results Integrity. Customer will not modify any of the Service’s search results. + +3.2.5 Benchmarking. Customer may not publicly disclose directly or through a third party the results of any comparative or compatibility testing, benchmarking, or evaluation of the Services (each, a “Test”), unless the disclosure includes all information necessary for Google or a third party to replicate the Test. If Customer conducts, or directs a third party to conduct, a Test of the Services and publicly discloses the results directly or through a third party, then Google (or a Google directed third party) may conduct Tests of any publicly available cloud products or services provided by Customer and publicly disclose the results of any such Test (which disclosure will include all information necessary for Customer or a third party to replicate the Test). +4. Customer Obligations. + +4.1 Compliance. Customer will: (a) ensure that Customer’s and its End Users’ use of the Services complies with the Agreement; and (b) use commercially reasonable efforts to prevent, promptly notify Google of, and terminate any unauthorized use of or access to its Account(s) or the Services. + +4.2 Documentation. Google may provide Documentation for Customer’s use of the Services. The Documentation may specify restrictions (e.g. attribution or HTML restrictions) on how the Services may be used and Customer will comply with any such restrictions specified. + +4.3 Copyright Policy. Google provides information to help copyright holders manage their intellectual property online, but Google cannot determine whether something is being used legally or not without their input. Google responds to notices of alleged copyright infringement and terminates accounts of repeat infringers according to applicable copyright laws including in particular the process set out in the U.S. Digital Millennium Copyright Act. If Customer thinks somebody is violating Customer’s or Customer End Users’ copyrights and wants to notify Google, Customer can find information about submitting notices, and Google's policy about responding to notices at https://www.google.com/dmca.html. + +4.4 Data Use, Protection, and Privacy. + +4.4.1 Data Use and Retention. To provide the Services through the Customer Application(s), Google must receive and collect data from End Users and Customer, including search terms, IP addresses, and latitude/longitude coordinates. Customer acknowledges and agrees that Google and its Affiliates may use and retain this data to provide and improve Google products and services, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. + +4.4.2 European Data Protection Terms. Google and Customer agree to the Google Maps Controller-Controller Data Protection Terms at https://cloud.google.com/maps-platform/terms/maps-controller-terms. + +4.4.3 End User Requirements. + +(a) End User Privacy. Customer’s use of the Services in the Customer Application will comply with applicable privacy laws, including laws regarding Services that store and access Cookies on End Users’ devices. If Customer has End Users in the European Economic Area, Customer will comply with the EU End User Consent Policy at https://www.google.com/about/company/user-consent-policy.html. + +(b) End User Personal Data. Through the normal functioning of the Google Maps Core Services, End Users provide personally identifiable information and Personal Data directly to Google, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. However, Customer acknowledges and agrees that Customer will not provide these categories of data to Google. + +(c) End User Location Privacy Requirements. To safeguard End Users’ location privacy, Customer will ensure that the Customer Application(s): (i) notify End Users in advance of (1) the type(s) of data that Customer intends to collect from the End Users or the End Users’ devices, and (2) the combination and use of End User's location with any other data provider's data; and (ii) will not obtain or cache any End User's location except with the End User's express, prior, revocable consent. +5. Suspension. + +5.1 For License Restrictions Violations. Google may Suspend the Services without prior notice if Customer breaches Section 3.2 (License Requirements and Restrictions). + +5.2 For AUP Violations or Emergency Security Issues. Google may also Suspend Services as described in Subsections 5.2.1 (AUP Violations) and 5.2.2 (Emergency Security Issues). Any Suspension under those Sections will be to the minimum extent and for the shortest duration required to: (a) prevent or terminate the offending use, (b) prevent or resolve the Emergency Security Issue, or (c) comply with applicable law. + +5.2.1 AUP Violations. If Google becomes aware that Customer’s or any End User’s use of the Services violates the AUP, Google will give Customer notice of such violation by requesting that Customer correct the violation. If Customer fails to correct such violation within 24 hours, or if Google is otherwise required by applicable law to take action, then Google may Suspend all or part of Customer’s use of the Services. + +5.2.2 Emergency Security Issues. Google may immediately Suspend Customer’s use of the Services if (a) there is an Emergency Security Issue or (b) Google is required to Suspend such use immediately to comply with applicable law. At Customer’s request, unless prohibited by applicable law, Google will notify Customer of the basis for the Suspension as soon as is reasonably possible. + +5.3 For Alleged Third-Party Intellectual Property Rights Infringement. If the Customer Application is alleged to infringe a third party’s Intellectual Property Rights, Google may require Customer to suspend distributing or selling the Customer Application with 30 days’ written notice until such allegation is fully resolved. In any event, this Section 5.3 does not reduce Customer’s obligations under Section 15 (Indemnification). +6. Intellectual Property Rights; Feedback. + +6.1 Intellectual Property Rights. Except as expressly stated in this Agreement, this Agreement does not grant either party any rights, implied or otherwise, to the other’s content or any of the other’s intellectual property. As between the parties, Customer owns all Intellectual Property Rights in the Customer Application, and Google owns all Intellectual Property Rights in the Services and Software. + +6.2 Customer Feedback. If Customer provides Google Feedback about the Services, then Google may use that information without obligation to Customer, and Customer irrevocably assigns to Google all right, title, and interest in that Feedback. +7. Third Party Legal Notices and License Terms. + +Certain components of the Services (including open source software) are subject to third-party copyright and other Intellectual Property Rights, as specified in: (a) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and (b) separate, publicly-available third-party license terms, which Google will provide to Customer on request. +8. Technical Support Services. + +8.1 By Google. Google will provide Maps Technical Support Services to Customer in accordance with the Maps Technical Support Services Guidelines. + +8.2 By Customer. Customer is responsible for technical support of its Customer Applications and Projects. +9. Deprecation Policy. + +9.1 Google will notify Customer at least 12 months before making material discontinuance(s) or backwards incompatible change(s) to the Services, unless Google reasonably determines that: (a) Google cannot do so by law or by contract (including if there is a change in applicable law or contract) or (b) continuing to provide the Services could create a (i) security risk or (ii) substantial economic or technical burden. + +9.2 Section 9.1 applies to the Services listed at https://cloud.google.com/maps-platform/terms/maps-deprecation/. If Google deprecates any Services that are not listed at the above URL, Google will use commercially reasonable efforts to minimize the adverse impacts of such deprecations. +10. Confidential Information. + +10.1 Obligations. Subject to Section 10.2 (Required Disclosure), the recipient will use the other party’s Confidential Information only to exercise its rights and fulfill its obligations under the Agreement. The recipient will use reasonable care to protect against disclosure of the other party’s Confidential Information to parties other than the recipient’s employees, Affiliates, agents, or professional advisors (“Delegates”) who need to know it and who have a legal obligation to keep it confidential. The recipient will ensure that its Delegates are also subject to the same non-disclosure and use obligations. + +10.2 Required Disclosure. The recipient may disclose the other party’s Confidential Information to the extent required by applicable Legal Process; provided that the recipient uses commercially reasonable efforts to: (a) promptly notify the other party of such disclosure before disclosing; and (b) comply with the other party’s reasonable requests regarding its efforts to oppose the disclosure. Notwithstanding the foregoing, subsections (a) and (b) above will not apply if the recipient determines that complying with (a) and (b) could: (i) result in a violation of Legal Process; (ii) obstruct a governmental investigation; and/or (iii) lead to death or serious physical harm to an individual. As between the parties, Customer is responsible for responding to all third party requests concerning its use and Customer End Users’ use of the Services. +11. Term and Termination. + +11.1 Agreement Term. The “Term” of this Agreement will begin on the Effective Date and continue until the Agreement is terminated under this Section. + +11.2 Termination for Breach. Either party may terminate this Agreement for breach if: (a) the other party is in material breach of the Agreement and fails to cure that breach within 30 days after receipt of written notice; or (b) the other party ceases its business operations or becomes subject to insolvency proceedings and the proceedings are not dismissed within 90 days. In addition, Google may terminate any, all, or any portion of the Services or Projects, if Customer meets any of the conditions in subsections (a) or (b). + +11.3 Termination for Inactivity. Google reserves the right to terminate provision of Service(s) to a Project on 30 days advance notice if, for more than 180 days, such Project (a) has not made any requests to the Services from any Customer Applications; or (b) such Project has not incurred any Fees for such Service(s). + +11.4 Termination for Convenience. Customer may stop using the Services at any time. Subject to any financial commitments expressly made by this Agreement, Customer may terminate this Agreement for its convenience at any time on prior written notice and upon termination, must cease use of the applicable Services. Google may terminate this Agreement for its convenience at any time without liability to Customer. + +11.5 Effects of Termination. + +11.5.1 If the Agreement is terminated, then: (a) the rights granted by one party to the other will immediately cease; (b) all Fees owed by Customer to Google are immediately due upon receipt of the final electronic bill; and (c) Customer will delete the Software and any content from the Services by the termination effective date. + +11.5.2 The following will survive expiration or termination of the Agreement: Section 2 (Payment Terms), Section 3.2 (License Requirements and Restrictions), Section 4.4 (Data Use, Protection, and Privacy), Section 6 (Intellectual Property; Feedback), Section 10 (Confidential Information), Section 11.5 (Effects of Termination), Section 14 (Disclaimer), Section 15 (Indemnification), Section 16 (Limitation of Liability), Section 19 (Miscellaneous), and Section 20 (Definitions). +12. Publicity. + +Customer may state publicly that it is a customer of the Services, consistent with the Trademark Guidelines. If Customer wants to display Google Brand Features in connection with its use of the Services, Customer must obtain written permission from Google through the process specified in the Trademark Guidelines. Google may include Customer’s name or Brand Features in a list of Google customers, online or in promotional materials. Google may also verbally reference Customer as a customer of the Services. Neither party needs approval if it is repeating a public statement that is substantially similar to a previously-approved public statement. Any use of a party’s Brand Features will inure to the benefit of the party holding Intellectual Property Rights to those Brand Features. A party may revoke the other party’s right to use its Brand Features under this Section with written notice to the other party and a reasonable period to stop the use. +13. Representations and Warranties. + +Each party represents and warrants that: (a) it has full power and authority to enter into the Agreement; and (b) it will comply with Export Control Laws and Anti-Bribery Laws applicable to its provision, receipt, or use, of the Services, as applicable. +14. Disclaimer. + + EXCEPT AS EXPRESSLY PROVIDED FOR IN THE AGREEMENT, TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, GOOGLE: (A) DOES NOT MAKE ANY WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR USE, NONINFRINGEMENT, OR ERROR-FREE OR UNINTERRUPTED USE OF THE SERVICES OR SOFTWARE; (B) MAKES NO REPRESENTATION ABOUT CONTENT OR INFORMATION ACCESSIBLE THROUGH THE SERVICES; AND (C) WILL ONLY BE REQUIRED TO PROVIDE THE REMEDIES EXPRESSLY STATED IN THE SLA FOR FAILURE TO PROVIDE THE SERVICES. GOOGLE MAPS CORE SERVICES ARE PROVIDED FOR PLANNING PURPOSES ONLY. INFORMATION FROM THE GOOGLE MAPS CORE SERVICES MAY DIFFER FROM ACTUAL CONDITIONS, AND MAY NOT BE SUITABLE FOR THE CUSTOMER APPLICATION. CUSTOMER MUST EXERCISE INDEPENDENT JUDGMENT WHEN USING THE SERVICES TO ENSURE THAT THE CUSTOMER APPLICATION IS SAFE FOR END USERS AND OTHER THIRD PARTIES. +15. Indemnification. + +15.1 By Customer. Unless prohibited by applicable law, Customer will defend Google and its Affiliates and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from (a) any Customer Indemnified Materials or (b) Customer’s or an End User’s use of the Services in violation of the AUP or in violation of the Agreement. + +15.2 By Google. Google will defend Customer and its Affiliates participating under the Agreement (“Customer Indemnified Parties”), and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from an allegation that Customer Indemnified Parties' use of Google Indemnified Materials infringes the third party's Intellectual Property Rights. + +15.3 Exclusions. This Section 15 will not apply to the extent the underlying allegation arises from (a) the indemnified party’s breach of the Agreement or (b) a combination of the indemnifying party’s technology or Brand Features with materials not provided by the indemnifying party, unless the combination is required by the Agreement. + +15.4 Conditions. Sections 15.1 and 15.2 will apply only to the extent: + +(a) The indemnified party has promptly notified the indemnifying party in writing of any Allegation(s) that preceded the Third-Party Legal Proceeding and cooperates reasonably with the indemnifying party to resolve the Allegation(s) and Third-Party Legal Proceeding. If breach of this Section 15.4(a) prejudices the defense of the Third-Party Legal Proceeding, the indemnifying party’s obligations under Section 15.1 or 15.2 (as applicable) will be reduced in proportion to the prejudice. + +(b) The indemnified party tenders sole control of the indemnified portion of the Third-Party Legal Proceeding to the indemnifying party, subject to the following: (i) the indemnified party may appoint its own non-controlling counsel, at its own expense; and (ii) any settlement requiring the indemnified party to admit liability, pay money, or take (or refrain from taking) any action, will require the indemnified party’s prior written consent, not to be unreasonably withheld, conditioned, or delayed. + +15.5 Remedies. + +(a) If Google reasonably believes the Services might infringe a third party’s Intellectual Property Rights, then Google may, at its sole option and expense: (i) procure the right for Customer to continue using the Services; (ii) modify the Services to make them non-infringing without materially reducing their functionality; or (iii) replace the Services with a non-infringing, functionally equivalent alternative. + +(b) If Google does not believe the remedies in Section 15.5(a) are commercially reasonable, then Google may suspend or terminate Customer’s use of the impacted Services. + +15.6 Sole Rights and Obligations. Without affecting either party’s termination rights, this Section 15 states the parties’ sole and exclusive remedy under this Agreement for any third party's Intellectual Property Rights Allegations and Third-Party Legal Proceedings covered by this Section 15 (Indemnification). +16. Limitation of Liability. + +16.1 Limitation on Indirect Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, WILL NOT BE LIABLE UNDER THIS AGREEMENT FOR LOST REVENUES OR PROFITS (WHETHER DIRECT OR INDIRECT), SAVINGS, GOODWILL, INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES, EVEN IF THE PARTY OR LICENSOR, AS APPLICABLE, KNEW OR SHOULD HAVE KNOWN THAT SUCH DAMAGES WERE POSSIBLE AND EVEN IF DIRECT DAMAGES DO NOT SATISFY A REMEDY. + +16.2 Limitation on Amount of Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AND GOOGLE’S LICENSORS, MAY NOT BE HELD LIABLE UNDER THIS AGREEMENT FOR MORE THAN THE AMOUNT PAID BY CUSTOMER TO GOOGLE UNDER THIS AGREEMENT DURING THE TWELVE MONTHS BEFORE THE EVENT GIVING RISE TO LIABILITY. + +16.3 Exceptions to Limitations. These limitations of liability do not apply to violations of a party’s Intellectual Property Rights by the other party or Customer's payment obligations. +17. Advertising. + +In its sole discretion, Customer may configure the Service to either display or not display advertisements served by Google. +18. U.S. Federal Agency Users. + +The Services were developed solely at private expense and are commercial computer software and related documentation within the meaning of the applicable Federal Acquisition Regulations and their agency supplements. +19. Miscellaneous. + +19.1 Notices. All notices must be in writing and addressed to the other party’s legal department and primary point of contact. The email address for notices being sent to Google’s Legal Department is legal-notices@google.com. Notice will be treated as given on receipt as verified by written or automated receipt or by electronic log (as applicable). + +19.2 Assignment. Neither party may assign any part of this Agreement without the written consent of the other, except to an Affiliate where: (a) the assignee has agreed in writing to be bound by the terms of this Agreement; (b) the assigning party remains liable for obligations under the Agreement if the assignee defaults on them; and (c) the assigning party has notified the other party of the assignment. Any other attempt to assign is void. + +19.3 Change of Control. If a party experiences a change of Control (for example, through a stock purchase or sale, merger, or other form of corporate transaction): (a) that party will give written notice to the other party within 30 days after the change of Control; and (b) the other party may immediately terminate this Agreement any time between the change of Control and 30 days after it receives that written notice. + +19.4 Force Majeure. Neither party will be liable for failure or delay in performance to the extent caused by circumstances beyond its reasonable control, including acts of God, natural disasters, terrorism, riots, or war. + +19.5 Subcontracting. Google may subcontract obligations under the Agreement but will remain liable to Customer for any subcontracted obligations. + +19.6 No Agency. This Agreement does not create any agency, partnership or joint venture between the parties. + +19.7 No Waiver. Neither party will be treated as having waived any rights by not exercising (or delaying the exercise of) any rights under this Agreement. + +19.8 Severability. If any term (or part of a term) of this Agreement is invalid, illegal, or unenforceable, the rest of the Agreement will remain in effect. + +19.9 No Third-Party Beneficiaries. This Agreement does not confer any benefits on any third party unless it expressly states that it does. + +19.10 Equitable Relief. Nothing in this Agreement will limit either party’s ability to seek equitable relief. + +19.11 Governing Law. + +19.11.1 For U.S. City, County, and State Government Entities. If Customer is a U.S. city, county or state government entity, then the Agreement will be silent regarding governing law and venue. + +19.11.2 For U.S. Federal Government Entities. If Customer is a U.S. federal government entity then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY THE LAWS OF THE UNITED STATES OF AMERICA, EXCLUDING ITS CONFLICT OF LAWS RULES. SOLELY TO THE EXTENT PERMITTED BY FEDERAL LAW: (I) THE LAWS OF THE STATE OF CALIFORNIA (EXCLUDING CALIFORNIA’S CONFLICT OF LAWS RULES) WILL APPLY IN THE ABSENCE OF APPLICABLE FEDERAL LAW; AND (II) FOR ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES, THE PARTIES CONSENT TO PERSONAL JURISDICTION IN, AND THE EXCLUSIVE VENUE OF, THE COURTS IN SANTA CLARA COUNTY, CALIFORNIA. + +19.11.3 For All Other Entities. If Customer is any entity not listed in Section 19.11.1 or 19.11.2 then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THIS AGREEMENT OR THE SERVICES WILL BE GOVERNED BY CALIFORNIA LAW, EXCLUDING THAT STATE’S CONFLICT OF LAWS RULES, AND WILL BE LITIGATED EXCLUSIVELY IN THE FEDERAL OR STATE COURTS OF SANTA CLARA COUNTY, CALIFORNIA, USA; THE PARTIES CONSENT TO PERSONAL JURISDICTION IN THOSE COURTS. + +19.12 Amendments. Except as stated in Section 1.5.2 (Modifications; To the Agreement), any amendment must be in writing, signed by both parties, and expressly state that it is amending this Agreement. + +19.13 Entire Agreement. This Agreement sets out all terms agreed between the parties and supersedes all other agreements between the parties relating to its subject matter. In entering into this Agreement, neither party has relied on, and neither party will have any right or remedy based on, any statement, representation or warranty (whether made negligently or innocently), except those expressly stated in this Agreement. The terms located at any URL referenced in this Agreement and the Documentation are incorporated by reference into the Agreement. After the Effective Date, Google may provide an updated URL in place of any URL in this Agreement. + +19.14 Conflicting Terms. If there is a conflict between the documents that make up this Agreement, the documents will control in the following order: the Agreement, and the terms at any URL. + +19.15 Conflicting Translations. If this Agreement is translated into any other language, and there is a discrepancy between the English text and the translated text, the English text will govern. +20. Reseller Orders. + +This Section applies if Customer orders the Services from a Reseller under a Reseller Agreement (including the Reseller Order Form). + +20.1 Orders. If Customer orders Services from Reseller, then: (a) fees for the Services will be set between Customer and Reseller, and any payments will be made directly to Reseller under the Reseller Agreement; (b) Section 2 of this Agreement (Payment Terms) will not apply to the Services; (c) Customer will receive any applicable SLA credits from Reseller, if owed to Customer in accordance with the SLA; and (d) Google will have no obligation to provide any SLA credits to a Customer who orders Services from the Reseller. + +20.2 Conflicting Terms. If Customer orders Google Maps Core Services from a Reseller and if any documents conflict, then the documents will control in the following order: the Agreement, the terms at any URL (including the URL Terms), Reseller Order Form. For example, if there is a conflict between the Maps Service Specific Terms and the Reseller Order Form, the Maps Service Specific Terms will control. + +20.3 Reseller as Administrator. At Customer's discretion, Reseller may access Customer's Projects, Accounts, or the Services on behalf of Customer. As between Google and Customer, Customer is solely responsible for: (a) any access by Reseller to Customer’s Account(s), Project(s), or the Services; and (b) defining in the Reseller Agreement any rights or obligations as between Reseller and Customer with respect to the Accounts, Projects, or Services. + +20.4 Reseller Verification of Customer Application(s). Before providing the Services, Reseller may also verify that Customer owns or controls the Customer Applications. If Reseller determines that Customer does not own or control the Customer Applications, then Google will have no obligation to provide the Services to Customer. +21. Definitions. + +"Account" means Customer’s Google Account. + +"Admin Console" means the online console(s) and/or tool(s) provided by Google to Customer for administering the Services. + +"Affiliate" means any entity that directly or indirectly Controls, is Controlled by, or is under common Control with a party. + +"Allegation" means an unaffiliated third party’s allegation. + +“Anti-Bribery Laws” means all applicable commercial and public anti-bribery laws, (for example, the U.S. Foreign Corrupt Practices Act of 1977 and the UK Bribery Act 2010), which prohibit corrupt offers of anything of value, either directly or indirectly, to anyone, including government officials, to obtain or keep business or to secure any other improper commercial advantage. “Government officials” include any government employee; candidate for public office; and employee of government-owned or government-controlled companies, public international organizations, and political parties. + +"AUP" or "Acceptable Use Policy" means the then-current Acceptable Use Policy for the Services at: https://cloud.google.com/maps-platform/terms/aup/. + +"Brand Features" means the trade names, trademarks, service marks, logos, domain names, and other distinctive brand features of each party, respectively, as secured by such party. + +"Confidential Information" means information that one party (or an Affiliate) discloses to the other party under this Agreement, and which is marked as confidential or would normally under the circumstances be considered confidential information. It does not include information that is independently developed by the recipient, is rightfully given to the recipient by a third party without confidentiality obligations, or becomes public through no fault of the recipient. + +"Control" means control of greater than 50% of the voting rights or equity interests of a party. + +"Customer Application" means any web page or application (including all source code and features) owned or controlled by Customer, or that Customer is authorized to use. + +"Customer End User" or "End User" means an individual or entity that Customer permits to use the Services or Customer Application(s). + +“Customer Indemnified Materials” means the Customer Application and Customer Brand Features. + +"Documentation" means the Google documentation (as may be updated) in the form generally made available by Google for use with the Services at https://developers.google.com/maps/documentation. + +"Emergency Security Issue" means either: (a) Customer’s or Customer End Users’ use of the Services in violation of the AUP, which could disrupt: (i) the Services; (ii) other customers’ or their customer end users’ use of the Services; or (iii) the Google network or servers used to provide the Services; or (b) unauthorized third party access to the Services. + +"Europe" or "European" means European Economic Area or Switzerland. + +“Export Control Laws” means all applicable export and re-export control laws and regulations, including any applicable munitions- or defense-related regulations (for example, the International Traffic in Arms Regulations maintained by the U.S. Department of State). + +"Fee Accrual Period" means a calendar month or another period specified by Google in the Admin Console. + +"Fee Threshold" means the threshold (as may be updated), as applicable for certain Services, as set out in the Admin Console. + +“Feedback” means feedback or suggestions about the Services provided by Customer to Google. + +"Fees" means the product of the amount of Services used or ordered by Customer multiplied by the Prices, plus any applicable Taxes. + +"Google Indemnified Materials" means Google's technology used to provide the Services (excluding any open source software) and Google's Brand Features. + +"Google Maps Content" means any content provided through the Services (whether created by Google or its third-party licensors), including map and terrain data, imagery, traffic data, and places data (including business listings). + +"High Risk Activities" means activities where the use or failure of the Services could lead to death, personal injury, or environmental damage, including (a) emergency response services; (b) autonomous and semi-autonomous vehicle or drone control; (c) vessel navigation; (d) aviation; (e) air traffic control; (f) nuclear facilities operation. + +"HIPAA" means the Health Insurance Portability and Accountability Act of 1996 as it may be amended, and any regulations issued under it. + +"Indemnified Liabilities" means any (a) settlement amounts approved by the indemnifying party; and (b) damages and costs finally awarded against the indemnified party and its Affiliates by a court of competent jurisdiction. + +"including" means "including but not limited to". + +"Intellectual Property Rights" means current and future worldwide rights under patent, copyright, trade secret, trademark, and moral rights laws, and other similar rights. + +"Legal Process" means a data disclosure request made under law, governmental regulation, court order, subpoena, warrant, governmental regulatory or agency request, or other valid legal authority, legal procedure, or similar process. + +"Maps Service Specific Terms" means the then-current terms specific to one or more Services at https://cloud.google.com/maps-platform/terms/maps-service-terms/. + +"Maps Technical Support Services" means the technical support service provided by Google to Customer under the then-current Maps Technical Support Services Guidelines. + +"Maps Technical Support Services Guidelines" means the then-current technical support service guidelines at https://cloud.google.com/maps-platform/terms/tssg/. + +"Personal Data" has the meaning provided in the General Data Protection Regulation (EU) 2016/679 of the European Parliament and of the Council of April 27, 2016. + +"Price" means the then-current applicable price(s) stated at https://cloud.google.com/maps-platform/pricing/sheet/. + +"Prohibited Territory" means the countries listed at https://cloud.google.com/maps-platform/terms/maps-prohibited-territories/. + +"Project" means a Customer-selected grouping of Google Maps Core Services resources for a particular Customer Application. + +"Reseller" means, if applicable, the authorized unaffiliated third-party reseller that sells or supplies the Services to Customer. + +"Reseller Agreement" means, if applicable, a separate, independent agreement between Customer and Reseller regarding the Services. + +"Reseller Order Form" means an order form entered into by Reseller and Customer, subject to the Reseller Agreement. + +"Services" and "Google Maps Core Services" means the services described at https://cloud.google.com/maps-platform/terms/maps-services/. The Services include the Google Maps Content and the Software. + +"SLA" or "Service Level Agreement" means each of the then-current service level agreements at: https://cloud.google.com/maps-platform/terms/sla/. + +"Software" means any downloadable tools, software development kits, or other computer software provided by Google for use as part of the Services, including updates. + +"Taxes" means any duties, customs fees, or taxes (other than Google’s income tax) associated with the purchase of the Services, including any related penalties or interest. + +"Term" has the meaning stated in Section 11.1 of this Agreement. + +“Terms URL” means the following URL set forth here: https://cloud.google.com/maps-platform/terms/. + +"Third-Party Legal Proceeding" means any formal legal proceeding filed by an unaffiliated third party before a court or government tribunal (including any appellate proceeding). + +"Trademark Guidelines" means (a) Google’s Brand Terms and Conditions, located at: https://www.google.com/permissions/trademark/brand-terms.html; and (b) the “Use of Trademarks” section of the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademark policy. + +“URL Terms” means the following, which will control in the following order if there is a conflict: + +(a) the Maps Service Specific Terms; + +(b) the SLA; + +(c) the AUP; + +(d) the Maps Technical Support Services Guidelines; + +(e) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and + +(f) the Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html. + + \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-maps-tos-2019-11-21.yml b/src/licensedcode/data/licenses/google-maps-tos-2019-11-21.yml new file mode 100644 index 00000000000..727bc096ba5 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2019-11-21.yml @@ -0,0 +1,34 @@ +key: google-maps-tos-2019-11-21 +short_name: Google Maps Platform ToS 2019-11-21 +name: Google Maps Platform Terms of Service 2019-11-21 +category: Proprietary Free +owner: Google +homepage_url: https://cloud.google.com/maps-platform/terms +spdx_license_key: LicenseRef-scancode-google-maps-tos-2019-11-21 +text_urls: + - https://cloud.google.com/maps-platform/terms/index-20191121 +minimum_coverage: 90 +ignorable_authors: + - the U.S. Department + - the United States Department of State +ignorable_emails: + - legal-notices@google.com +ignorable_urls: + - https://cloud.google.com/maps-platform/pricing/sheet + - https://cloud.google.com/maps-platform/terms + - https://cloud.google.com/maps-platform/terms/aup + - https://cloud.google.com/maps-platform/terms/maps-controller-terms + - https://cloud.google.com/maps-platform/terms/maps-deprecation + - https://cloud.google.com/maps-platform/terms/maps-prohibited-territories + - https://cloud.google.com/maps-platform/terms/maps-service-terms + - https://cloud.google.com/maps-platform/terms/maps-services + - https://cloud.google.com/maps-platform/terms/sla + - https://cloud.google.com/maps-platform/terms/tssg + - https://developers.google.com/maps/documentation + - https://www.google.com/about/company/user-consent-policy.html + - https://www.google.com/dmca.html + - https://www.google.com/help/legalnotices_maps.html + - https://www.google.com/permissions/geoguidelines.html#geotrademark + - https://www.google.com/permissions/trademark/brand-terms.html + - https://www.google.com/policies/privacy + diff --git a/src/licensedcode/data/licenses/google-maps-tos-2020-04-02.LICENSE b/src/licensedcode/data/licenses/google-maps-tos-2020-04-02.LICENSE new file mode 100644 index 00000000000..d7faf30e638 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2020-04-02.LICENSE @@ -0,0 +1,438 @@ +Google Maps Platform Terms of Service + +Last modified: April 2, 2020 + +If your billing address is in Brazil, please review these Terms of Service, which apply to your use of Google Maps Platform. + +Se a sua conta para faturamento é no Brasil, por gentileza veja o Termos de Serviço, que será o Termo aplicável à sua utilização da Google Maps Platform. + +If your billing address is in Indonesia, please review these Terms of Service, which apply to your use of Google Maps Platform. + +Google Maps Platform License Agreement + +This Google Maps Platform License Agreement (the "Agreement") is made and entered into between Google (as defined in Section 21 (Definitions)) and the entity or person agreeing to these terms ("Customer"). + +This Agreement is effective as of the date Customer clicks to accept the Agreement, or enters into a Reseller Agreement if purchasing through a Reseller (the "Effective Date"). If you are accepting on behalf of Customer, you represent and warrant that: (a) you have full legal authority to bind Customer to this Agreement; (b) you have read and understand this Agreement; and (c) you agree, on behalf of Customer, to this Agreement. If you do not have the legal authority to bind Customer, please do not click to accept. This Agreement governs Customer's access to and use of the Services. +1. Provision of the Services. + +1.1 Use of the Services in Customer Applications. Google will provide the Services to Customer in accordance with the Agreement, and Customer may use the Services in Customer Application(s) in accordance with Section 3 (License). + +1.2 Admin Console; Projects; API Keys. Customer will administer the Services through the online Admin Console. To access the Services, Customer must create Project(s) and use its API key(s) in accordance with the Documentation. + +1.3 Accounts. Customer must have an Account. Customer is responsible for: (a) the information it provides in connection with the Account; (b) maintaining the confidentiality and security of the Account and associated passwords; and (c) any use of its Account. + +1.4 Customer Domains and Applications. Customer must list in the Admin Console each authorized domain and application that uses the Services. Customer is responsible for ensuring that only authorized domains and applications use the Services. + +1.5 New Features and Services. Google may: (a) make new features or functionality available through the Services and (b) add new services to the "Services" definition (by adding them at the URL stated under that definition). Customer’s use of new features or functionality may be contingent on Customer’s agreement to additional terms applicable to the new feature or functionality. + +1.6 Modifications. + +1.6.1 To the Services. Subject to Section 9 (Deprecation Policy), Google may make changes to the Services, which may include adding, updating, or discontinuing any Services or portion or feature(s) of the Services. Google will notify Customer of any material change to the Services. + +1.6.2. To the Agreement. Google may make changes to the Agreement, including pricing and any linked documents. Unless otherwise noted by Google, material changes to the Agreement will become effective 30 days after notice is given, except (a) materially adverse SLA changes will become effective 90 days after notice is given; and (b) changes applicable to new Services or functionality, or required by a court order or applicable law, will be effective immediately. Google will provide notice for materially adverse changes to any SLAs by: (i) sending an email to the Notification Email Address; (ii) posting a notice in the Admin Console; or (iii) posting a notice to the applicable SLA webpage. If Customer does not agree to the revised Agreement, Customer should stop using the Services. Google will post any modification to this Agreement to the Terms URL. +2. Payment Terms. + +2.1 Free Quota. Certain Services are provided to Customer without charge up to the Fee Threshold, as applicable. + +2.2 Online Billing. At the end of the applicable Fee Accrual Period, Google will issue an electronic bill to Customer for all charges accrued above the Fee Threshold based on Customer’s use of the Services during the previous Fee Accrual Period. For use above the Fee Threshold, Customer will be responsible for all Fees up to the amount set in the Account and will pay all Fees in the currency set forth in the invoice. If Customer elects to pay by credit card, debit card, or other non-invoiced form of payment, Google will charge (and Customer will pay) all Fees immediately at the end of the Fee Accrual Period. If Customer elects to pay by invoice (and Google agrees), all Fees are due as stated in the invoice. Customer’s obligation to pay all Fees is non-cancellable. Google's measurement of Customer’s use of the Services is final. Google has no obligation to provide multiple bills. Payments made via wire transfer must include the bank information provided by Google. If Customer has entered into the Agreement with GCL, Google may collect payments via Google Payment Limited, a company incorporated in England and Wales with offices at Belgrave House, 76 Buckingham Palace Road, London, SW1W 9TQ, United Kingdom. + +2.3 Taxes. + +2.3.1 Customer is responsible for any Taxes, and Customer will pay Google for the Services without any reduction for Taxes. If Google is obligated to collect or pay Taxes, the Taxes will be invoiced to Customer, unless Customer provides Google with a timely and valid tax exemption certificate authorized by the appropriate taxing authority. In some states the sales tax is due on the total purchase price at the time of sale and must be invoiced and collected at the time of the sale. If Customer is required by law to withhold any Taxes from its payments to Google, Customer must provide Google with an official tax receipt or other appropriate documentation to support such withholding. If under the applicable tax legislation the Services are subject to local VAT and the Customer is required to make a withholding of local VAT from amounts payable to Google, the value of Services calculated in accordance with the above procedure will be increased (grossed up) by Customer for the respective amount of local VAT and the grossed up amount will be regarded as a VAT inclusive price. Local VAT amount withheld from the VAT-inclusive price will be remitted to the applicable local tax entity by the Customer and Customer will ensure that Google will receive payment for its services for the net amount as would otherwise be due (the VAT inclusive price less the local VAT withheld and remitted to applicable tax authority). + +2.3.2 If required under applicable law, Customer will provide Google with applicable tax identification information that Google may require to ensure its compliance with applicable tax regulations and authorities in applicable jurisdictions. Customer will be liable to pay (or reimburse Google for) any taxes, interest, penalties or fines arising out of any mis-declaration by the Customer. + +2.4 Invoice Disputes & Refunds. Any invoice disputes must be submitted before the payment due date. If Google determines that Fees were incorrectly invoiced, then Google will issue a credit equal to the agreed amount. To the fullest extent permitted by law, Customer waives all claims relating to Fees unless claimed within 60 days after charged (this does not affect any Customer rights with its credit card issuer). Nothing in the Agreement obligates Google to extend credit to any party. + +2.5 Delinquent Payments; Suspension. If Customer’s payment is overdue, then Google may (a) charge interest on overdue amounts at 1.5% per month (or the highest rate permitted by law, if less) from the Payment Due Date until paid in full, and (b) Suspend the Services or terminate the Agreement. Customer will reimburse Google for all reasonable expenses (including attorneys’ fees) incurred by Google in collecting overdue payments except where such payments are due to Google’s billing inaccuracies. + +2.6 No Purchase Order Number Required. Google is not required to provide a purchase order number on Google’s invoice (or otherwise). +3. License. + +3.1 License Grant. Subject to the Agreement's terms, during the Term, Google grants to Customer a non-exclusive, non-transferable, non-sublicensable, license to use the Services in Customer Application(s). + +3.2 License Requirements and Restrictions. The following are conditions of the license granted in Section 3.1 (License Grant). In this Section 3.2 (License Requirements and Restrictions), the phrase “Customer will not” means “Customer will not, and will not permit a third party to”. + +3.2.1 General Restrictions. Customer will not: (a) copy, modify, create a derivative work of, reverse engineer, decompile, translate, disassemble, or otherwise attempt to extract any or all of the source code (except to the extent such restriction is expressly prohibited by applicable law); (b) sublicense, transfer, or distribute any of the Services; (c) sell, resell, sublicense, transfer, or distribute the Services; or (d) access or use the Services: (i) for High Risk Activities; (ii) in a manner intended to avoid incurring Fees; (iii) for materials or activities that are subject to the International Traffic in Arms Regulations (ITAR) maintained by the United States Department of State; (iv) in a manner that breaches, or causes the breach of, Export Control Laws; or (v) to transmit, store, or process health information subject to United States HIPAA regulations. + +3.2.2 Requirements for Using the Services. + +(a) Terms of Service and Privacy Policy. + +(i) The Customer Application’s terms of service will (A) notify users that the Customer Application includes Google Maps features and content; and (B) state that use of Google Maps features and content is subject to the then-current versions of the: (1) Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html; and (2) Google Privacy Policy at https://www.google.com/policies/privacy/. + +(ii) If the Customer Application allows users to include the Google Maps Core Services in Downstream Products, then Customer will contractually require that all Downstream Products’ terms of service satisfy the same notice and flow-down requirements that apply to the Customer Application under Section 3.2.2 (a) (i) (Terms of Service and Privacy Policy). + +(iii) If users of the Customer Application (and Downstream Products, if any) fail to comply with the applicable terms of the Google Maps/Google Earth Additional Terms of Service, then Customer will take appropriate enforcement action, including Suspending or terminating those users’ use of Google Maps features and content in the Customer Application or Downstream Products. + +(b) Attribution. Customer will display all attribution that (i) Google provides through the Services (including branding, logos, and copyright and trademark notices); or (ii) is specified in the Maps Service Specific Terms. Customer will not modify, obscure, or delete such attribution. + +(c) Review of Customer Applications. At Google’s request, Customer will submit Customer Application(s) and Project(s) to Google for review to ensure compliance with the Agreement (including the AUP). + +3.2.3 Restrictions Against Misusing the Services. + +(a) No Scraping. Customer will not export, extract, or otherwise scrape Google Maps Content for use outside the Services. For example, Customer will not: (i) pre-fetch, index, store, reshare, or rehost Google Maps Content outside the services; (ii) bulk download Google Maps tiles, Street View images, geocodes, directions, distance matrix results, roads information, places information, elevation values, and time zone details; (iii) copy and save business names, addresses, or user reviews; or (iv) use Google Maps Content with text-to-speech services. + +(b) No Caching. Customer will not cache Google Maps Content except as expressly permitted under the Maps Service Specific Terms. + +(c) No Creating Content From Google Maps Content. Customer will not create content based on Google Maps Content. For example, Customer will not: (i) trace or digitize roadways, building outlines, utility posts, or electrical lines from the Maps JavaScript API Satellite base map type; (ii) create 3D building models from 45° Imagery from Maps JavaScript API; (iii) build terrain models based on elevation values from the Elevation API; (iv) use latitude/longitude values from the Places API as an input for point-in-polygon analysis; (v) construct an index of tree locations within a city from Street View imagery; or (vi) convert text-based driving times into synthesized speech results. + +(d) No Re-Creating Google Products or Features. Customer will not use the Services to create a product or service with features that are substantially similar to or that re-create the features of another Google product or service. Customer’s product or service must contain substantial, independent value and features beyond the Google products or services. For example, Customer will not: (i) re-distribute the Google Maps Core Services or pass them off as if they were Customer’s services; (ii) create a substitute of the Google Maps Core Services, Google Maps, or Google Maps mobile apps, or their features; (iii) use the Google Maps Core Services in a listings or directory service or to create or augment an advertising product; (iv) combine data from the Directions API, Geolocation API, and Maps SDK for Android to create real-time navigation functionality substantially similar to the functionality provided by the Google Maps for Android mobile app. + +(e) No Use With Non-Google Maps. To avoid quality issues and/or brand confusion, Customer will not use the Google Maps Core Services with or near a non-Google Map in a Customer Application. For example, Customer will not (i) display or use Places content on a non-Google map, (ii) display Street View imagery and non-Google maps on the same screen, or (iii) link a Google Map to non-Google Maps content for a non-Google map. + +(f) No Circumventing Fees. Customer will not circumvent the applicable Fees. For example, Customer will not create multiple billing accounts or Projects to avoid incurring Fees, prevent Google from accurately calculating Customer’s Service usage levels, abuse any free Service quotas, or offer access to the Services under a “time-sharing” or “service bureau” model. + +(g) No Use in Prohibited Territories. Customer will not distribute or market in a Prohibited Territory any Customer Application(s) that use the Google Maps Core Services. + +(h) No Use in Embedded Vehicle Systems. Customer will not use the Google Maps Core Services in connection with any Customer Application or device embedded in a vehicle. For example, Customer will not create a Customer Application that (i) is embedded in an in-dashboard automotive infotainment system; and (ii) allows End Users to request driving directions from the Directions API. + +(i) No Use in Customer Application Directed To Children. Customer will not use the Google Maps Core Services in a Customer Application that would be deemed to be a “Web site or online service directed to children” under the Children’s Online Privacy Protection Act (COPPA). + +(j) No Modifying Search Results Integrity. Customer will not modify any of the Google Maps Core Service’s search results. + +3.2.4 Benchmarking. Customer may not publicly disclose directly or through a third party the results of any comparative or compatibility testing, benchmarking, or evaluation of the Services (each, a “Test”), unless the disclosure includes all information necessary for Google or a third party to replicate the Test. If Customer conducts, or directs a third party to conduct, a Test of the Services and publicly discloses the results directly or through a third party, then Google (or a Google directed third party) may conduct Tests of any publicly available cloud products or services provided by Customer and publicly disclose the results of any such Test (which disclosure will include all information necessary for Customer or a third party to replicate the Test). +4. Customer Obligations. + +4.1 Compliance. Customer will: (a) ensure that Customer’s and its End Users’ use of the Services complies with the Agreement; (b) prevent and terminate any unauthorized use of or access to its Account(s) or the Services; and (c) promptly notify Google of any unauthorized use of or access to its Account(s) or the Services of which Customer becomes aware. + +4.2 Documentation. Google may provide Documentation for Customer’s use of the Services. The Documentation may specify restrictions (e.g. attribution or HTML restrictions) on how the Services may be used and Customer will comply with any such restrictions specified. + +4.3 Copyright Policy. Google provides information to help copyright holders manage their intellectual property online, but Google cannot determine whether something is being used legally without input from the copyright holders. Google will respond to notices of alleged copyright infringement and may terminate repeat infringers in appropriate circumstances as required to maintain safe harbor for online service providers under the U.S. Digital Millennium Copyright Act. If Customer believes a person or entity is infringing Customer’s or End Users’ copyrights and would like to notify Google, Customer can find information about submitting notices, and Google's policy about responding to notices at https://www.google.com/dmca.html. + +4.4 Data Use, Protection, and Privacy. + +4.4.1 Data Use and Retention. To provide the Services through the Customer Application(s), Google collects and receives data from Customer and End Users (and End Users’ End Users, if any), including search terms, IP addresses, and latitude/longitude coordinates. Customer acknowledges and agrees that Google and its Affiliates may use and retain this data to provide and improve Google products and services, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. + +4.4.2 European Data Protection Terms. Google and Customer agree to the Google Maps Controller-Controller Data Protection Terms at https://cloud.google.com/maps-platform/terms/maps-controller-terms. + +4.4.3 End User Requirements. + +(a) End User Privacy. Customer’s use of the Services in the Customer Application will comply with applicable privacy laws, including laws regarding Services that store and access Cookies on End Users’ devices. Customer will comply with the then-current Consent Policy at https://www.google.com/about/company/user-consent-policy.html, if applicable. + +(b) End User Personal Data. Through the normal functioning of the Google Maps Core Services, End Users provide personally identifiable information and Personal Data directly to Google, subject to the then-current Google Privacy Policy at https://www.google.com/policies/privacy/. (a) However, Customer will not provide to Google (i) any End User’s personally identifiable information; or (ii) any European End User’s Personal Data (where “European” means “European Economic Area, Switzerland, or the UK”). + +(c) End User Location Privacy Requirements. To safeguard End Users’ location privacy, Customer will ensure that the Customer Application(s): (i) notify End Users in advance of (1) the type(s) of data that Customer intends to collect from the End Users or the End Users’ devices, and (2) the combination and use of End User's location with any other data provider's data; and (ii) will not obtain or cache any End User's location except with the End User's express, prior, revocable consent. +5. Suspension. + +5.1 For License Restrictions Breaches. Google may Suspend the Services without prior notice if Customer breaches Section 3.2 (License Requirements and Restrictions). + +5.2 For AUP Breaches or Emergency Security Issues. Google may also Suspend Services as described in Subsections 5.2.1 (AUP Breaches) and 5.2.2 (Emergency Suspension). Any Suspension under those Sections will be to the minimum extent and for the shortest duration required to: (a) prevent or terminate the offending use, (b) prevent or resolve the Emergency Security Issue, or (c) comply with applicable law. + +5.2.1 AUP Breaches. If Google becomes aware that Customer’s or any End User’s use of the Services breaches the AUP, Google will give Customer notice of such breach by requesting that Customer correct the breach. If Customer fails to correct such breach within 24 hours, or if Google is otherwise required by applicable law to take action, then Google may Suspend all or part of Customer’s use of the Services. + +5.2.2 Emergency Suspension. Google may immediately Suspend Customer’s use of the Services if (a) there is an Emergency Security Issue or (b) Google is required to Suspend such use to comply with applicable law. At Customer’s request, unless prohibited by applicable law, Google will notify Customer of the basis for the Suspension as soon as is reasonably possible. + +5.3 For Alleged Third-Party Intellectual Property Rights Infringement. If the Customer Application is alleged to infringe a third party’s Intellectual Property Rights, Google may require Customer to suspend all use of the Google Maps Core Services in the Customer Application on 30 days’ written notice until such allegation is fully resolved. In any event, this Section 5.3 (For Alleged Third-Party Intellectual Property Rights Infringement) does not reduce Customer’s obligations under Section 15 (Indemnification). +6. Intellectual Property Rights; Feedback. + +6.1 Intellectual Property Rights. Except as expressly stated in the Agreement, the Agreement does not grant either party any rights, implied or otherwise, to the other’s content or any of the other’s intellectual property. As between the parties, Customer owns all Intellectual Property Rights in the Customer Application, and Google owns all Intellectual Property Rights in the Google Maps Core Services. + +6.2 Customer Feedback. If Customer provides Google Feedback about the Services, then Google may use that information without obligation to Customer, and Customer irrevocably assigns to Google all right, title, and interest in that Feedback. +7. Third Party Legal Notices and License Terms. + +Certain components of the Services (including open source software) are subject to third-party copyright and other Intellectual Property Rights, as specified in: (a) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and (b) separate, publicly-available third-party license terms, which Google will provide to Customer on request. +8. Technical Support Services. + +8.1 By Google. Google will provide Maps Technical Support Services to Customer in accordance with the Maps Technical Support Services Guidelines. + +8.2 By Customer. Customer is responsible for technical support of its Customer Applications and Projects. +9. Deprecation Policy. + + Google will notify Customer at least 12 months before making a Significant Deprecation, unless Google reasonably determines that: (a) Google cannot do so by law or by contract (including if there is a change in applicable law or contract) or (b) continuing to provide the Services could create a security risk or substantial economic or technical burden. +10. Confidentiality. + +10.1 Confidentiality Obligations. Subject to Section 10.2 (Required Disclosure), the recipient will use the other party’s Confidential Information only to exercise its rights and fulfill its obligations under the Agreement. The recipient will use reasonable care to protect against disclosure of the other party’s Confidential Information to parties other than the recipient’s employees, Affiliates, agents, or professional advisors (“Delegates”) who need to know it and are subject to confidentiality obligations at least as protective as those in this Section 10.1 (Confidentiality Obligations). + +10.2 Required Disclosure. + +10.2.1 Subject to Section 10.2.2, the recipient and its Affiliates may disclose the other party’s Confidential Information to the extent required by applicable Legal Process, If the recipient and its Affiliates (as applicable) use commercially reasonable efforts to: (a) promptly notify the other party of such disclosure before disclosing; and (b) comply with the other party’s reasonable requests regarding its efforts to oppose the disclosure. + +10.2.2 Sections 10.2.1(a) and (b) above will not apply if the recipient determines that complying with (a) and (b) could: (i) result in a violation of Legal Process; (ii) obstruct a governmental investigation; or (iii) lead to death or serious physical harm to an individual. + +10.2.3 As between the parties, Customer is responsible for responding to all third party requests concerning its use and Customer End Users’ use of the Services. +11. Term and Termination. + +11.1 Agreement Term. The Agreement is effective from the Effective Date until it is terminated in accordance with its terms (the “Term”). + +11.2 Termination for Breach. Either party may terminate the Agreement for breach if: (a) the other party is in material breach of the Agreement and fails to cure that breach within 30 days after receipt of written notice; (b) the other party ceases its business operations; or (c) becomes subject to insolvency proceedings and the proceedings are not dismissed within 90 days. Google may terminate Projects or access to Services, if Customer meets any of the conditions in subsections (a) or (b). + +11.3 Termination for Inactivity. Google may terminate Projects with 30 days' prior written notice if such Project (a) has not made any requests to the Services from any Customer Applications for more than 180 days; or (b) has not incurred any Fees for more than 180 days. + +11.4 Termination for Convenience. Customer may stop using the Services at any time. Subject to any financial commitments expressly made by this Agreement, Customer may terminate the Agreement for its convenience at any time with 30 days' prior written notice. Google may terminate the Agreement for its convenience at any time without liability to Customer. + +11.5 Effects of Termination. + +11.5.1 If the Agreement terminates, then: (a) the rights and access to the Services will terminate; (b) all Fees owed by Customer to Google are immediately due upon receipt of the final electronic bill; and (c) Customer will delete the Software and any content from the Services by the termination effective date. + +11.5.2 The following will survive expiration or termination of the Agreement: Section 2 (Payment Terms), Section 3.2 (License Requirements and Restrictions), Section 4.4 (Data Use, Protection, and Privacy), Section 6 (Intellectual Property; Feedback), Section 10 (Confidential Information), Section 11.5 (Effects of Termination), Section 14 (Disclaimer), Section 15 (Indemnification), Section 16 (Limitation of Liability), Section 19 (Miscellaneous), and Section 21 (Definitions). +12. Publicity. + +Customer may state publicly that it is a customer of the Services, consistent with the Trademark Guidelines. If Customer wants to display Google Brand Features in connection with its use of the Services, Customer must obtain written permission from Google through the process specified in the Trademark Guidelines. Google may include Customer’s name or Brand Features in a list of Google customers, online or in promotional materials. Google may also verbally reference Customer as a customer of the Services. Neither party needs approval if it is repeating a public statement that is substantially similar to a previously-approved public statement. Any use of a party’s Brand Features will inure to the benefit of the party holding Intellectual Property Rights to those Brand Features. A party may revoke the other party’s right to use its Brand Features under this Section with written notice to the other party and a reasonable period to stop the use. +13. Representations and Warranties. + +Each party represents and warrants that: (a) it has full power and authority to enter into the Agreement; and (b) it will comply with Export Control Laws and Anti-Bribery Laws applicable to its provision, receipt, or use, of the Services, as applicable. +14. Disclaimer. + + EXCEPT AS EXPRESSLY PROVIDED FOR IN THE AGREEMENT, TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, GOOGLE: (A) DOES NOT MAKE ANY WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR USE, NONINFRINGEMENT, OR ERROR-FREE OR UNINTERRUPTED USE OF THE SERVICES OR SOFTWARE; (B) MAKES NO REPRESENTATION ABOUT CONTENT OR INFORMATION ACCESSIBLE THROUGH THE SERVICES; AND (C) WILL ONLY BE REQUIRED TO PROVIDE THE REMEDIES EXPRESSLY STATED IN THE SLA FOR FAILURE TO PROVIDE THE SERVICES. GOOGLE MAPS CORE SERVICES ARE PROVIDED FOR PLANNING PURPOSES ONLY. INFORMATION FROM THE GOOGLE MAPS CORE SERVICES MAY DIFFER FROM ACTUAL CONDITIONS, AND MAY NOT BE SUITABLE FOR THE CUSTOMER APPLICATION. CUSTOMER MUST EXERCISE INDEPENDENT JUDGMENT WHEN USING THE SERVICES TO ENSURE THAT (i) GOOGLE MAPS ARE SUITABLE FOR THE CUSTOMER APPLICATION; AND (ii) THE CUSTOMER APPLICATION IS SAFE FOR END USERS AND OTHER THIRD PARTIES. +15. Indemnification. + +15.1 Customer Indemnification Obligations. Unless prohibited by applicable law, Customer will defend Google and its Affiliates and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from (a) any Customer Indemnified Materials or (b) Customer’s or an End User’s use of the Services in violation of the AUP or in violation of the Agreement. + +15.2 Google Indemnification Obligations. Google will defend Customer and its Affiliates participating under the Agreement (“Customer Indemnified Parties”), and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from an Allegation that Customer Indemnified Parties' use of Google Indemnified Materials infringes the third party's Intellectual Property Rights. + +15.3 Indemnification Exclusions. Sections 15.1 (Customer Indemnification Obligations) and 15.2 (Google Indemnification Obligations) will not apply to the extent the underlying Allegation arises from (a) the indemnified party’s breach of the Agreement or (b) a combination of the Customer Indemnified Materials or Google Indemnified Materials (as applicable)s with materials not provided by the indemnifying party, unless the combination is required by the Agreement. + +15.4 Indemnification Conditions. Sections 15.1 (Customer Indemnification Obligations) and 15.2 (Google Indemnification Obligations) are conditioned on the following: + +(a) The indemnified party must promptly notify the indemnifying party in writing of any Allegation(s) that preceded the Third-Party Legal Proceeding and cooperate reasonably with the indemnifying party to resolve the Allegation(s) and Third-Party Legal Proceeding. If breach of this Section 15.4(a) prejudices the defense of the Third-Party Legal Proceeding, the indemnifying party’s obligations under Section 15.1 (Customer Indemnification Obligations) or 15.2 (Google Indemnification Obligations) (as applicable) will be reduced in proportion to the prejudice. + +(b) The indemnified party must tender sole control of the indemnified portion of the Third-Party Legal Proceeding to the indemnifying party, subject to the following: (i) the indemnified party may appoint its own non-controlling counsel, at its own expense; and (ii) any settlement requiring the indemnified party to admit liability, pay money, or take (or refrain from taking) any action, will require the indemnified party’s prior written consent, not to be unreasonably withheld, conditioned, or delayed. + +15.5 Remedies. + +(a) If Google reasonably believes the Services might infringe a third party’s Intellectual Property Rights, then Google may, at its sole option and expense: (i) procure the right for Customer to continue using the Services; (ii) modify the Services to make them non-infringing without materially reducing their functionality; or (iii) replace the Services with a non-infringing, functionally equivalent alternative. + +(b) If Google does not believe the remedies in Section 15.5(a) are commercially reasonable, then Google may Suspend or terminate Customer’s use of the impacted Services. + +15.6 Sole Rights and Obligations. Without affecting either party’s termination rights, this Section 15 states the parties’ sole and exclusive remedy under the Agreement for any Allegations of Intellectual Property Rights infringement covered by this Section 15 (Indemnification). +16. Liability. + +16.1 Limited Liabilities + +(a) To the extent permitted by applicable law and subject to Section 16.2 (Unlimited Liabilities), neither party and Google’s licensors will have any Liability arising out of or relating to the Agreement for any (i) indirect, consequential, special, incidental, or punitive damages or (ii) lost revenues, profits, savings, or goodwill. + +(b) Each party’s total aggregate Liability for damages arising out of or relating to the Agreement is limited to the Fees Customer paid under the Agreement during the 12 month period before the event giving rise to Liability. + +16.2 Unlimited Liabilities. Nothing in the Agreement excludes or limits either party’s Liability for: + +(a) its infringement of the other party’s Intellectual Property Rights + +(b) its payment obligations under the Agreement; or + +(c) matters for which liability cannot be excluded or limited under applicable law. +17. Advertising. + +In its sole discretion, Customer may configure the Service to either display or not display advertisements served by Google. +18. U.S. Federal Agency Users. + +The Services were developed solely at private expense and are commercial computer software and related documentation within the meaning of the applicable Federal Acquisition Regulations and their agency supplements. +19. Miscellaneous. + +19.1 Notices. All notices must be in writing and addressed: (a) in the case of Google, to Google’s Legal Department at legal-notices@google.com; and (b) in the case of Customer, to the Notification Email Address. Notice will be treated as given on receipt as verified by written or automated receipt or by electronic log (as applicable). + +19.2 Assignment. Customer may not assign the Agreement without the written consent of Google, except to an Affiliate where: (a) the assignee has agreed in writing to be bound by the terms of the Agreement; (b) the assigning party remains liable for obligations under the Agreement if the assignee defaults on them; and (c) the assigning party has notified the other party of the assignment. Any other attempt by Customer to assign is void. Google may assign the Agreement without the written consent of Customer by notifying Customer of the assignment. + +19.3 Change of Control. If a party experiences a change of Control other than an internal restructuring or reorganization, then: (a) that party will give written notice to the other party within 30 days after the change of Control; and (b) the other party may immediately terminate the Agreement any time between the change of Control and 30 days after it receives that written notice. + +19.4 Force Majeure. Neither party will be liable for failure or delay in performance to the extent caused by circumstances beyond its reasonable control, including acts of God, natural disasters, terrorism, riots, or war. + +19.5 Subcontracting. Google may subcontract obligations under the Agreement but will remain liable to Customer for any subcontracted obligations. + +19.6 No Agency. The Agreement does not create any agency, partnership or joint venture between the parties. + +19.7 No Waiver. Neither party will be treated as having waived any rights by not exercising (or delaying the exercise of) any rights under the Agreement. + +19.8 Severability. If any part of the Agreement is invalid, illegal, or unenforceable, the rest of the Agreement will remain in effect. + +19.9 No Third-Party Beneficiaries. The Agreement does not confer any benefits on any third party unless it expressly states that it does. + +19.10 Equitable Relief. Nothing in the Agreement will limit either party’s ability to seek equitable relief. + +19.11 Governing Law. + +(a) For U.S. City, County, and State Government Entities. If Customer is a U.S. city, county or state government entity, then the Agreement will be silent regarding governing law and venue. + +(b) For U.S. Federal Government Entities. If Customer is a U.S. federal government entity then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THE AGREEMENT OR THE SERVICES WILL BE GOVERNED BY THE LAWS OF THE UNITED STATES OF AMERICA, EXCLUDING ITS CONFLICT OF LAWS RULES. SOLELY TO THE EXTENT PERMITTED BY FEDERAL LAW: (I) THE LAWS OF THE STATE OF CALIFORNIA (EXCLUDING CALIFORNIA’S CONFLICT OF LAWS RULES) WILL APPLY IN THE ABSENCE OF APPLICABLE FEDERAL LAW; AND (II) FOR ALL CLAIMS ARISING OUT OF OR RELATING TO THE AGREEMENT OR THE SERVICES, THE PARTIES CONSENT TO PERSONAL JURISDICTION IN, AND THE EXCLUSIVE VENUE OF, THE COURTS IN SANTA CLARA COUNTY, CALIFORNIA. + +(c) For All Other Entities. If Customer is any entity not listed in Section 19.11 (A) (For U.S. City, County, and State Government Entities) or 19.11(B) (For U.S. Federal Government Entities) then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THE AGREEMENT OR THE SERVICES WILL BE GOVERNED BY CALIFORNIA LAW, EXCLUDING THAT STATE’S CONFLICT OF LAWS RULES, AND WILL BE LITIGATED EXCLUSIVELY IN THE FEDERAL OR STATE COURTS OF SANTA CLARA COUNTY, CALIFORNIA, USA; THE PARTIES CONSENT TO PERSONAL JURISDICTION IN THOSE COURTS. + +19.12 Amendments. Except as stated in Section 1.6.2 (Modifications; To the Agreement), any amendment to the Agreement must be in writing, expressly state that it is amending this Agreement, and be signed by both parties. + +19.13 Entire Agreement. The Agreement states all terms agreed between the parties and supersedes any prior or contemporaneous agreements between the parties relating to its subject matter. In entering into this Agreement, neither party has relied on, and neither party will have any right or remedy based on, any statement, representation or warranty (whether made negligently or innocently), except those expressly stated in the Agreement. The Agreement includes URL links to other terms (including the URL Terms), which are incorporated by reference into the Agreement. After the Effective Date, Google may provide an updated URL in place of any URL in the Agreement. + +19.14 Conflicting Terms. If there is a conflict between the documents that make up the Agreement, then the documents will control in the following order: the Agreement and the terms at any URL. + +19.15 Conflicting Languages. If the Agreement is translated into any other language, and there is a discrepancy between the English text and the translated text, the English text will govern. +20. Reseller Orders. + +This Section applies if Customer orders the Services from a Reseller under a Reseller Agreement (including the Reseller Order Form). + +20.1 Orders. If Customer orders Services from Reseller, then: (a) fees for the Services will be set between Customer and Reseller, and any payments will be made directly to Reseller under the Reseller Agreement; (b) Section 2 of the Agreement (Payment Terms) will not apply to the Services; (c) Customer will receive any applicable SLA credits from Reseller, if owed to Customer in accordance with the SLA; and (d) Google will have no obligation to provide any SLA credits to a Customer who orders Services from the Reseller. + +20.2 Conflicting Terms. If Customer orders Google Maps Core Services from a Reseller and if any documents conflict, then the documents will control in the following order: the Agreement, the terms at any URL (including the URL Terms), and the Reseller Order Form. For example, if there is a conflict between the Maps Service Specific Terms and the Reseller Order Form, the Maps Service Specific Terms will control. + +20.3 Reseller as Administrator. At Customer's discretion, Reseller may access Customer's Projects, Accounts, or the Services on behalf of Customer. As between Google and Customer, Customer is solely responsible for: (a) any access by Reseller to Customer’s Account(s), Project(s), or the Services; and (b) defining in the Reseller Agreement any rights or obligations as between Reseller and Customer with respect to the Accounts, Projects, or Services. + +20.4 Reseller Verification of Customer Application(s). Before providing the Services, Reseller may also verify that Customer owns or controls the Customer Applications. If Reseller determines that Customer does not own or control the Customer Applications, then Google will have no obligation to provide the Services to Customer. +21. Definitions. + +"Account" means Customer’s Google Account. + +"Admin Console" means the online console(s) and/or tool(s) provided by Google to Customer for administering the Services. + +"Affiliate" means any entity that directly or indirectly Controls, is Controlled by, or is under common Control with a party. + +"Allegation" means an unaffiliated third party’s allegation. + +“Anti-Bribery Laws” means all applicable commercial and public anti-bribery laws, (for example, the U.S. Foreign Corrupt Practices Act of 1977 and the UK Bribery Act 2010), which prohibit corrupt offers of anything of value, either directly or indirectly, to anyone, including government officials, to obtain or keep business or to secure any other improper commercial advantage. “Government officials” include any government employee; candidate for public office; and employee of government-owned or government-controlled companies, public international organizations, and political parties. + +"AUP" or "Acceptable Use Policy" means the then-current Acceptable Use Policy for the Services described at https://cloud.google.com/maps-platform/terms/aup/. + +"Brand Features" means each party’s trade names, trademarks, service marks, logos, domain names, and other distinctive brand features. + +"Confidential Information" means information that one party (or an Affiliate) discloses to the other party under this Agreement, and which is marked as confidential or would normally under the circumstances be considered confidential information. It does not include information that is independently developed by the recipient, is rightfully given to the recipient by a third party without confidentiality obligations, or becomes public through no fault of the recipient. + +"Control" means control of greater than 50% of the voting rights or equity interests of a party. + +"Customer Application" means any web page or application (including all source code and features) owned or controlled by Customer, or that Customer is authorized to use. + +"Customer End User" or "End User" means an individual or entity that Customer permits to use the Services or Customer Application(s). + +“Customer Indemnified Materials” means the Customer Application and Customer Brand Features. + +"Documentation" means the then-current Google documentation described at https://developers.google.com/maps/documentation. + +"Emergency Security Issue" means either: (a) Customer’s or Customer End Users’ use of the Services in breach of the AUP, which such use could disrupt: (i) the Services; (ii) other customers’ or their customer end users’ use of the Services; or (iii) the Google network or servers used to provide the Services; or (b) unauthorized third party access to the Services. + +"Europe" or "European" means European Economic Area, Switzerland, or the UK. + +“Export Control Laws” means all applicable export and re-export control laws and regulations, including any applicable munitions- or defense-related regulations (for example, the International Traffic in Arms Regulations maintained by the U.S. Department of State). + +"Fee Accrual Period" means a calendar month or another period specified by Google in the Admin Console. + +"Fee Threshold" means the then-current threshold, as applicable for certain Services, as set out in the Admin Console. + +“Feedback” means feedback or suggestions about the Services provided by Customer to Google. + +"Fees" means the product of the amount of Services used or ordered by Customer multiplied by the Prices, plus any applicable Taxes. + +"Google" means the Google entity corresponding to Customer’s billing address below: + Country or Region of Customer’s billing address: Google entity: +(1) United States and all other countries not otherwise listed below Google LLC +1600 Amphitheatre Parkway, Mountain View, California 94043, USA +(2) Any country in the Asia Pacific region (“APAC”), except the countries listed in rows 6-9. Google Asia Pacific Pte. Ltd. +70 Pasir Panjang Road, #03-71, Mapletree Business City II Singapore 117371 +(3) Any country in Europe, the Middle East, or Africa (“EMEA”), except as described in row 4: Google Ireland Limited +Gordon House Barrow Street, Dublin 4, Ireland +(4) Customer is located in the European Union, the UK, or Turkey and has chosen “non-business” for its tax status/setting for its Google Account Google Commerce Limited +Gordon House, Barrow Street, Dublin 4, Ireland +(5) Canada Google Cloud Canada Corporation +111 Richmond Street West, Toronto, ON M5H 2G4, Canada +For rows 6-9, “Google” means Google Asia Pacific Pte. Ltd and/or its affiliates as the context requires, provided further that the Agreement is made and entered into by and between Customer and the Google entity corresponding to Customer’s billing address below as an authorized reseller of the Services. +(6) Australia Google Australia Pty Ltd. +Level 5, 48 Pirrama Road, Pyrmont, NSW 2009 Australia +(7) Japan Google Cloud Japan G.K. +Roppongi Hills Mori Tower, 10-1, Roppongi 6-chome, Minato-ku Tokyo, Japan +(8) New Zealand Google New Zealand Limited +PWC Tower, Level 27, 188 Quay Street, Auckland, New Zealand 1010, an authorized reseller and the contracting party in New Zealand of Services provided by Google Asia Pacific Pte. Ltd. +(9) South Korea Google Cloud Korea +Gangnam Finance Center 20fl., 152 Teheran-ro, Gangnam-gu, Seoul, South Korea; + +"Google Indemnified Materials" means Google's technology used to provide the Services (excluding any open source software) and Google's Brand Features. + +"Google Maps Content" means any content provided through the Services (whether created by Google or its third-party licensors), including map and terrain data, imagery, traffic data, and places data (including business listings). + +"High Risk Activities" means activities where the use or failure of the Services could lead to death, personal injury, or environmental damage, including (a) emergency response services; (b) autonomous and semi-autonomous vehicle or drone control; (c) vessel navigation; (d) aviation; (e) air traffic control; (f) nuclear facilities operation. + +"HIPAA" means the Health Insurance Portability and Accountability Act of 1996 as it may be amended, and any regulations issued under it. + +"Indemnified Liabilities" means any (a) settlement amounts approved by the indemnifying party; and (b) damages and costs finally awarded against the indemnified party and its Affiliates by a court of competent jurisdiction. + +"including" means "including but not limited to". + +"Intellectual Property Rights" means all patent rights, copyrights, trademark rights, rights in trade secrets (if any), design rights, database rights, domain name rights, moral rights, and any other intellectual property rights (registered or unregistered) throughout the world. + +"Legal Process" means an information disclosure request made under law, governmental regulation, court order, subpoena, warrant, governmental regulatory or agency request, or other valid legal authority, legal procedure, or similar process. + +"Liability" means any liability, whether under contract, tort (including negligence), or otherwise, regardless of whether foreseeable or contemplated by the parties. + +"Maps Service Specific Terms" means the then-current terms specific to one or more Services described at https://cloud.google.com/maps-platform/terms/maps-service-terms/. + +"Maps Technical Support Services" means the technical support service provided by Google to Customer under the then-current Maps Technical Support Services Guidelines. + +"Maps Technical Support Services Guidelines" means the then-current technical support service guidelines described at https://cloud.google.com/maps-platform/terms/tssg/. + +"Personal Data" has the meaning given to it in: (a) Regulation (EU) 2016/679 of the European Parliament and of the Council of 27 April 2016 on the protection of natural persons with regard to the processing of personal data and on the free movement of such data, and repealing Directive 95/46/EC (“EU GDPR”); or (b) the EU GDPR as amended and incorporated into UK law under the UK European Union (Withdrawal) Act 2018 (“UK GDPR”), if in force, as applicable. + +"Notification Email Address" means the email address(es) designated by Customer in the Admin Console. + +"Price" means the then-current applicable price(s) stated at https://cloud.google.com/maps-platform/pricing/sheet/. + +"Prohibited Territory" means the countries listed at https://cloud.google.com/maps-platform/terms/maps-prohibited-territories/. + +"Project" means a Customer-selected grouping of Google Maps Core Services resources for a particular Customer Application. + +"Reseller" means, if applicable, the authorized unaffiliated third-party reseller that sells or supplies the Services to Customer. + +"Reseller Agreement" means, if applicable, a separate, independent agreement between Customer and Reseller regarding the Services. + +"Reseller Order Form" means an order form entered into by Reseller and Customer, subject to the Reseller Agreement. + +"Services" and "Google Maps Core Services" means the services described at https://cloud.google.com/maps-platform/terms/maps-services/. The Services include the Google Maps Content and the Software. + +"Significant Deprecation" means a material discontinuance or backwards incompatible change to the Google Maps Core Services described at https://cloud.google.com/maps-platform/terms/maps-deprecation/. + +"SLA" or "Service Level Agreement" means each of the then-current service level agreements at: https://cloud.google.com/maps-platform/terms/sla/. + +"Software" means any downloadable tools, software development kits, or other computer software provided by Google for use as part of the Services, including updates. + +"Suspend" or "Suspension " means disabling access to or use of the Services or components of the Services. + +"Taxes" means any duties, customs fees, or government-imposed taxes associated with the purchase of the Services, including any related penalties or interest, except for taxes based on Google’s net income, net worth, asset value, property value, or employment. + +"Term" has the meaning stated in Section 11.1 of the Agreement. + +“Terms URL” means the following URL set forth here: https://cloud.google.com/maps-platform/terms/. + +"Third-Party Legal Proceeding" means any formal legal proceeding filed by an unaffiliated third party before a court or government tribunal (including any appellate proceeding). + +"Trademark Guidelines" means (a) Google’s Brand Terms and Conditions, located at: https://www.google.com/permissions/trademark/brand-terms.html and (b) the “Use of Trademarks” section of the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademark policy. + +“URL Terms” means the following, which will control in the following order if there is a conflict: + +(a) the Maps Service Specific Terms; + +(b) the SLA; + +(c) the AUP; + +(d) the Maps Technical Support Services Guidelines; + +(e) the Legal Notices for Google Maps/Google Earth and Google Maps/Google Earth APIs at https://www.google.com/help/legalnotices_maps.html; and + +(f) the Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html. +22. Regional Terms. + +Customer agrees to the following modifications to the Agreement if Customer orders Services from the applicable Google entity as described below: +Asia Pacific PT Google Cloud Indonesia + +1. The following is added as Section 11.6 (Termination Waiver): + +11.6 Termination Waiver. The parties agree to waive any provisions under any applicable laws to the extent that a court decision or order is required for the termination of this Agreement. + +2. Section 19.11 (Governing Law) is deleted and replaced with the following: + +19.11 Governing Law. + +(a) The parties will try in good faith to settle any dispute within 30 days after the dispute arises. If the dispute is not resolved within 30 days, it must be resolved by arbitration by the American Arbitration Association’s International Centre for Dispute Resolution in accordance with its Expedited Commercial Rules in force as of the date of the Agreement ("Rules"). + +(b) The parties will mutually select one arbitrator. The arbitration will be conducted in English in Santa Clara County, California, USA. + +(c) Either party may apply to any competent court for injunctive relief necessary to protect its rights pending resolution of the arbitration. The arbitrator may order equitable or injunctive relief consistent with the remedies and limitations in the Agreement. + +(d) Subject to the confidentiality requirements in Section 19.11(f), either party may petition any competent court to issue any order necessary to protect that party’s rights or property; this petition will not be considered a violation or waiver of this governing law and arbitration section and will not affect the arbitrator’s powers, including the power to review the judicial decision. The parties stipulate that the courts of Santa Clara County, California, USA, are competent to grant any order under this Section 19.11(d). + +(e) The arbitral award will be final and binding on the parties and its execution may be presented in any competent court, including any court with jurisdiction over either party or any of its property. + +(f) Any arbitration proceeding conducted in accordance with this Section will be considered Confidential Information under the Agreement’s confidentiality section, including (i) the existence of, (ii) any information disclosed during, and (iii) any oral communications or documents related to the arbitration proceedings. The parties may also disclose the information described in this Section 19.11(f) to a competent court as may be necessary to file any order under Section 19.11(d) or execute any arbitral decision, but the parties must request that those judicial proceedings be conducted in camera (in private). + +(g) The parties will pay the arbitrator’s fees, the arbitrator’s appointed experts’ fees and expenses, and the arbitration center’s administrative expenses in accordance with the Rules. In its final decision, the arbitrator will determine the non-prevailing party’s obligation to reimburse the amount paid in advance by the prevailing party for these fees. + +(h) Each party will bear its own lawyers’ and experts’ fees and expenses, regardless of the arbitrator’s final decision regarding the Dispute. + +(i) The parties agree that a decision of the arbitrators need not to be made within any specific time period. + +3. Section 19.15 (Conflicting Languages) is deleted and replaced with the following: + +19.15 Conflicting Languages. This Agreement is made in the Indonesian and the English language, and both versions are equally authentic. In the event of any inconsistency or different interpretation between the Indonesian version and the English version, the parties agree to amend the Indonesian version to make the relevant part of the Indonesian version consistent with the relevant part of the English version. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-maps-tos-2020-04-02.yml b/src/licensedcode/data/licenses/google-maps-tos-2020-04-02.yml new file mode 100644 index 00000000000..a99c1e01a1c --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2020-04-02.yml @@ -0,0 +1,34 @@ +key: google-maps-tos-2020-04-02 +short_name: Google Maps Platform ToS 2020-04-02 +name: Google Maps Platform Terms of Service 2020-04-02 +category: Proprietary Free +owner: Google +homepage_url: https://cloud.google.com/maps-platform/terms +spdx_license_key: LicenseRef-scancode-google-maps-tos-2020-04-02 +text_urls: + - https://cloud.google.com/maps-platform/terms/index-20200402 +minimum_coverage: 90 +ignorable_authors: + - the U.S. Department + - the United States Department of State +ignorable_emails: + - legal-notices@google.com +ignorable_urls: + - https://cloud.google.com/maps-platform/pricing/sheet + - https://cloud.google.com/maps-platform/terms + - https://cloud.google.com/maps-platform/terms/aup + - https://cloud.google.com/maps-platform/terms/maps-controller-terms + - https://cloud.google.com/maps-platform/terms/maps-deprecation + - https://cloud.google.com/maps-platform/terms/maps-prohibited-territories + - https://cloud.google.com/maps-platform/terms/maps-service-terms + - https://cloud.google.com/maps-platform/terms/maps-services + - https://cloud.google.com/maps-platform/terms/sla + - https://cloud.google.com/maps-platform/terms/tssg + - https://developers.google.com/maps/documentation + - https://www.google.com/about/company/user-consent-policy.html + - https://www.google.com/dmca.html + - https://www.google.com/help/legalnotices_maps.html + - https://www.google.com/permissions/geoguidelines.html#geotrademark + - https://www.google.com/permissions/trademark/brand-terms.html + - https://www.google.com/policies/privacy + diff --git a/src/licensedcode/data/licenses/google-maps-tos-2020-04-27.LICENSE b/src/licensedcode/data/licenses/google-maps-tos-2020-04-27.LICENSE new file mode 100644 index 00000000000..69cac1092b9 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2020-04-27.LICENSE @@ -0,0 +1,440 @@ +Google Maps Platform Terms of Service + +Last modified: April 27, 2020 + +If your billing address is in Brazil, please review these Terms of Service, which apply to your use of Google Maps Platform. + +Se a sua conta para faturamento é no Brasil, por gentileza veja o Termos de Serviço, que será o Termo aplicável à sua utilização da Google Maps Platform. + +If your billing address is in Indonesia, please review these Terms of Service, which apply to your use of Google Maps Platform. + +Google Maps Platform License Agreement + +This Google Maps Platform License Agreement (the "Agreement") is made and entered into between Google (as defined in Section 21 (Definitions)) and the entity or person agreeing to these terms ("Customer"). + +This Agreement is effective as of the date Customer clicks to accept the Agreement, or enters into a Reseller Agreement if purchasing through a Reseller (the "Effective Date"). If you are accepting on behalf of Customer, you represent and warrant that: (a) you have full legal authority to bind Customer to this Agreement; (b) you have read and understand this Agreement; and (c) you agree, on behalf of Customer, to this Agreement. If you do not have the legal authority to bind Customer, please do not click to accept. This Agreement governs Customer's access to and use of the Services. +1. Provision of the Services. + +1.1 Use of the Services in Customer Applications. Google will provide the Services to Customer in accordance with the Agreement, and Customer may use the Services in Customer Application(s) in accordance with Section 3 (License). + +1.2 Admin Console; Projects; API Keys. Customer will administer the Services through the online Admin Console. To access the Services, Customer must create Project(s) and use its API key(s) in accordance with the Documentation. + +1.3 Accounts. Customer must have an Account. Customer is responsible for: (a) the information it provides in connection with the Account; (b) maintaining the confidentiality and security of the Account and associated passwords; and (c) any use of its Account. + +1.4 Customer Domains and Applications. Customer must list in the Admin Console each authorized domain and application that uses the Services. Customer is responsible for ensuring that only authorized domains and applications use the Services. + +1.5 New Features and Services. Google may: (a) make new features or functionality available through the Services and (b) add new services to the "Services" definition (by adding them at the URL stated under that definition). Customer’s use of new features or functionality may be contingent on Customer’s agreement to additional terms applicable to the new feature or functionality. + +1.6 Modifications. + +1.6.1 To the Services. Subject to Section 9 (Deprecation Policy), Google may make changes to the Services, which may include adding, updating, or discontinuing any Services or portion or feature(s) of the Services. Google will notify Customer of any material change to the Services. + +1.6.2. To the Agreement. Google may make changes to the Agreement, including pricing and any linked documents. Unless otherwise noted by Google, material changes to the Agreement will become effective 30 days after notice is given, except (a) materially adverse SLA changes will become effective 90 days after notice is given; and (b) changes applicable to new Services or functionality, or required by a court order or applicable law, will be effective immediately. Google will provide notice for materially adverse changes to any SLAs by: (i) sending an email to the Notification Email Address; (ii) posting a notice in the Admin Console; or (iii) posting a notice to the applicable SLA webpage. If Customer does not agree to the revised Agreement, Customer should stop using the Services. Google will post any modification to this Agreement to the Terms URL. +2. Payment Terms. + +2.1 Free Quota. Certain Services are provided to Customer without charge up to the Fee Threshold, as applicable. + +2.2 Online Billing. At the end of the applicable Fee Accrual Period, Google will issue an electronic bill to Customer for all charges accrued above the Fee Threshold based on Customer’s use of the Services during the previous Fee Accrual Period. For use above the Fee Threshold, Customer will be responsible for all Fees up to the amount set in the Account and will pay all Fees in the currency set forth in the invoice. If Customer elects to pay by credit card, debit card, or other non-invoiced form of payment, Google will charge (and Customer will pay) all Fees immediately at the end of the Fee Accrual Period. If Customer elects to pay by invoice (and Google agrees), all Fees are due as stated in the invoice. Customer’s obligation to pay all Fees is non-cancellable. Google's measurement of Customer’s use of the Services is final. Google has no obligation to provide multiple bills. Payments made via wire transfer must include the bank information provided by Google. If Customer has entered into the Agreement with GCL, Google may collect payments via Google Payment Limited, a company incorporated in England and Wales with offices at Belgrave House, 76 Buckingham Palace Road, London, SW1W 9TQ, United Kingdom. + +2.3 Taxes. + +2.3.1 Customer is responsible for any Taxes, and Customer will pay Google for the Services without any reduction for Taxes. If Google is obligated to collect or pay Taxes, the Taxes will be invoiced to Customer, unless Customer provides Google with a timely and valid tax exemption certificate authorized by the appropriate taxing authority. In some states the sales tax is due on the total purchase price at the time of sale and must be invoiced and collected at the time of the sale. If Customer is required by law to withhold any Taxes from its payments to Google, Customer must provide Google with an official tax receipt or other appropriate documentation to support such withholding. If under the applicable tax legislation the Services are subject to local VAT and the Customer is required to make a withholding of local VAT from amounts payable to Google, the value of Services calculated in accordance with the above procedure will be increased (grossed up) by Customer for the respective amount of local VAT and the grossed up amount will be regarded as a VAT inclusive price. Local VAT amount withheld from the VAT-inclusive price will be remitted to the applicable local tax entity by the Customer and Customer will ensure that Google will receive payment for its services for the net amount as would otherwise be due (the VAT inclusive price less the local VAT withheld and remitted to applicable tax authority). + +2.3.2 If required under applicable law, Customer will provide Google with applicable tax identification information that Google may require to ensure its compliance with applicable tax regulations and authorities in applicable jurisdictions. Customer will be liable to pay (or reimburse Google for) any taxes, interest, penalties or fines arising out of any mis-declaration by the Customer. + +2.4 Invoice Disputes & Refunds. Any invoice disputes must be submitted before the payment due date. If Google determines that Fees were incorrectly invoiced, then Google will issue a credit equal to the agreed amount. To the fullest extent permitted by law, Customer waives all claims relating to Fees unless claimed within 60 days after charged (this does not affect any Customer rights with its credit card issuer). Nothing in the Agreement obligates Google to extend credit to any party. + +2.5 Delinquent Payments; Suspension. If Customer’s payment is overdue, then Google may (a) charge interest on overdue amounts at 1.5% per month (or the highest rate permitted by law, if less) from the Payment Due Date until paid in full, and (b) Suspend the Services or terminate the Agreement. Customer will reimburse Google for all reasonable expenses (including attorneys’ fees) incurred by Google in collecting overdue payments except where such payments are due to Google’s billing inaccuracies. + +2.6 No Purchase Order Number Required. Google is not required to provide a purchase order number on Google’s invoice (or otherwise). +3. License. + +3.1 License Grant. Subject to the Agreement's terms, during the Term, Google grants to Customer a non-exclusive, non-transferable, non-sublicensable, license to use the Services in Customer Application(s). + +3.2 License Requirements and Restrictions. The following are conditions of the license granted in Section 3.1 (License Grant). In this Section 3.2 (License Requirements and Restrictions), the phrase “Customer will not” means “Customer will not, and will not permit a third party to”. + +3.2.1 General Restrictions. Customer will not: (a) copy, modify, create a derivative work of, reverse engineer, decompile, translate, disassemble, or otherwise attempt to extract any or all of the source code (except to the extent such restriction is expressly prohibited by applicable law); (b) sublicense, transfer, or distribute any of the Services; (c) sell, resell, sublicense, transfer, or distribute the Services; or (d) access or use the Services: (i) for High Risk Activities; (ii) in a manner intended to avoid incurring Fees; (iii) for materials or activities that are subject to the International Traffic in Arms Regulations (ITAR) maintained by the United States Department of State; (iv) in a manner that breaches, or causes the breach of, Export Control Laws; or (v) to transmit, store, or process health information subject to United States HIPAA regulations. + +3.2.2 Requirements for Using the Services. + +(a) Terms of Service and Privacy Policy. + +(i) The Customer Application’s terms of service will (A) notify users that the Customer Application includes Google Maps features and content; and (B) state that use of Google Maps features and content is subject to the then-current versions of the: (1) Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html; and (2) Google Privacy Policy at https://www.google.com/policies/privacy/. + +(ii) If the Customer Application allows users to include the Google Maps Core Services in Downstream Products, then Customer will contractually require that all Downstream Products’ terms of service satisfy the same notice and flow-down requirements that apply to the Customer Application under Section 3.2.2 (a) (i) (Terms of Service and Privacy Policy). + +(iii) If users of the Customer Application (and Downstream Products, if any) fail to comply with the applicable terms of the Google Maps/Google Earth Additional Terms of Service, then Customer will take appropriate enforcement action, including Suspending or terminating those users’ use of Google Maps features and content in the Customer Application or Downstream Products. + +(b) Attribution. Customer will display all attribution that (i) Google provides through the Services (including branding, logos, and copyright and trademark notices); or (ii) is specified in the Maps Service Specific Terms. Customer will not modify, obscure, or delete such attribution. + +(c) Review of Customer Applications. At Google’s request, Customer will submit Customer Application(s) and Project(s) to Google for review to ensure compliance with the Agreement (including the AUP). + +3.2.3 Restrictions Against Misusing the Services. + +(a) No Scraping. Customer will not export, extract, or otherwise scrape Google Maps Content for use outside the Services. For example, Customer will not: (i) pre-fetch, index, store, reshare, or rehost Google Maps Content outside the services; (ii) bulk download Google Maps tiles, Street View images, geocodes, directions, distance matrix results, roads information, places information, elevation values, and time zone details; (iii) copy and save business names, addresses, or user reviews; or (iv) use Google Maps Content with text-to-speech services. + +(b) No Caching. Customer will not cache Google Maps Content except as expressly permitted under the Maps Service Specific Terms. + +(c) No Creating Content From Google Maps Content. Customer will not create content based on Google Maps Content. For example, Customer will not: (i) trace or digitize roadways, building outlines, utility posts, or electrical lines from the Maps JavaScript API Satellite base map type; (ii) create 3D building models from 45° Imagery from Maps JavaScript API; (iii) build terrain models based on elevation values from the Elevation API; (iv) use latitude/longitude values from the Places API as an input for point-in-polygon analysis; (v) construct an index of tree locations within a city from Street View imagery; or (vi) convert text-based driving times into synthesized speech results. + +(d) No Re-Creating Google Products or Features. Customer will not use the Services to create a product or service with features that are substantially similar to or that re-create the features of another Google product or service. Customer’s product or service must contain substantial, independent value and features beyond the Google products or services. For example, Customer will not: (i) re-distribute the Google Maps Core Services or pass them off as if they were Customer’s services; (ii) create a substitute of the Google Maps Core Services, Google Maps, or Google Maps mobile apps, or their features; (iii) use the Google Maps Core Services in a listings or directory service or to create or augment an advertising product; (iv) combine data from the Directions API, Geolocation API, and Maps SDK for Android to create real-time navigation functionality substantially similar to the functionality provided by the Google Maps for Android mobile app. + +(e) No Use With Non-Google Maps. To avoid quality issues and/or brand confusion, Customer will not use the Google Maps Core Services with or near a non-Google Map in a Customer Application. For example, Customer will not (i) display or use Places content on a non-Google map, (ii) display Street View imagery and non-Google maps on the same screen, or (iii) link a Google Map to non-Google Maps content for a non-Google map. + +(f) No Circumventing Fees. Customer will not circumvent the applicable Fees. For example, Customer will not create multiple billing accounts or Projects to avoid incurring Fees, prevent Google from accurately calculating Customer’s Service usage levels, abuse any free Service quotas, or offer access to the Services under a “time-sharing” or “service bureau” model. + +(g) No Use in Prohibited Territories. Customer will not distribute or market in a Prohibited Territory any Customer Application(s) that use the Google Maps Core Services. + +(h) No Use in Embedded Vehicle Systems. Customer will not use the Google Maps Core Services in connection with any Customer Application or device embedded in a vehicle. For example, Customer will not create a Customer Application that (i) is embedded in an in-dashboard automotive infotainment system; and (ii) allows End Users to request driving directions from the Directions API. + +(i) No Use in Customer Application Directed To Children. Customer will not use the Google Maps Core Services in a Customer Application that would be deemed to be a “Web site or online service directed to children” under the Children’s Online Privacy Protection Act (COPPA). + +(j) No Modifying Search Results Integrity. Customer will not modify any of the Google Maps Core Service’s search results. + +3.2.4 Benchmarking. Customer may not publicly disclose directly or through a third party the results of any comparative or compatibility testing, benchmarking, or evaluation of the Services (each, a “Test”), unless the disclosure includes all information necessary for Google or a third party to replicate the Test. If Customer conducts, or directs a third party to conduct, a Test of the Services and publicly discloses the results directly or through a third party, then Google (or a Google directed third party) may conduct Tests of any publicly available cloud products or services provided by Customer and publicly disclose the results of any such Test (which disclosure will include all information necessary for Customer or a third party to replicate the Test). +4. Customer Obligations. + +4.1 Compliance. Customer will: (a) ensure that Customer’s and its End Users’ use of the Services complies with the Agreement; (b) prevent and terminate any unauthorized use of or access to its Account(s) or the Services; and (c) promptly notify Google of any unauthorized use of or access to its Account(s) or the Services of which Customer becomes aware. + +4.2 Documentation. Google may provide Documentation for Customer’s use of the Services. The Documentation may specify restrictions (e.g. attribution or HTML restrictions) on how the Services may be used and Customer will comply with any such restrictions specified. + +4.3 Copyright Policy. Google provides information to help copyright holders manage their intellectual property online, but Google cannot determine whether something is being used legally without input from the copyright holders. Google will respond to notices of alleged copyright infringement and may terminate repeat infringers in appropriate circumstances as required to maintain safe harbor for online service providers under the U.S. Digital Millennium Copyright Act. If Customer believes a person or entity is infringing Customer’s or End Users’ copyrights and would like to notify Google, Customer can find information about submitting notices, and Google's policy about responding to notices at https://www.google.com/dmca.html. + +4.4 Data Use, Protection, and Privacy. + +4.4.1 Data Use and Retention. To provide the Services through the Customer Application(s), Google collects and receives data from Customer and End Users (and End Users’ End Users, if any), including search terms, IP addresses, and latitude/longitude coordinates. Customer acknowledges and agrees that Google and its Affiliates may use and retain this data to provide and improve Google products and services, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. + +4.4.2 European Data Protection Terms. Google and Customer agree to the Google Maps Controller-Controller Data Protection Terms at https://cloud.google.com/maps-platform/terms/maps-controller-terms. + +4.4.3 End User Requirements. + +(a) End User Privacy. Customer’s use of the Services in the Customer Application will comply with applicable privacy laws, including laws regarding Services that store and access Cookies on End Users’ devices. Customer will comply with the then-current Consent Policy at https://www.google.com/about/company/user-consent-policy.html, if applicable. + +(b) End User Personal Data. Through the normal functioning of the Google Maps Core Services, End Users provide personally identifiable information and Personal Data directly to Google, subject to the then-current Google Privacy Policy at https://www.google.com/policies/privacy/. (a) However, Customer will not provide to Google (i) any End User’s personally identifiable information; or (ii) any European End User’s Personal Data (where “European” means “European Economic Area, Switzerland, or the UK”). + +(c) End User Location Privacy Requirements. To safeguard End Users’ location privacy, Customer will ensure that the Customer Application(s): (i) notify End Users in advance of (1) the type(s) of data that Customer intends to collect from the End Users or the End Users’ devices, and (2) the combination and use of End User's location with any other data provider's data; and (ii) will not obtain or cache any End User's location except with the End User's express, prior, revocable consent. +5. Suspension. + +5.1 For License Restrictions Breaches. Google may Suspend the Services without prior notice if Customer breaches Section 3.2 (License Requirements and Restrictions). + +5.2 For AUP Breaches or Emergency Security Issues. Google may also Suspend Services as described in Subsections 5.2.1 (AUP Breaches) and 5.2.2 (Emergency Suspension). Any Suspension under those Sections will be to the minimum extent and for the shortest duration required to: (a) prevent or terminate the offending use, (b) prevent or resolve the Emergency Security Issue, or (c) comply with applicable law. + +5.2.1 AUP Breaches. If Google becomes aware that Customer’s or any End User’s use of the Services breaches the AUP, Google will give Customer notice of such breach by requesting that Customer correct the breach. If Customer fails to correct such breach within 24 hours, or if Google is otherwise required by applicable law to take action, then Google may Suspend all or part of Customer’s use of the Services. + +5.2.2 Emergency Suspension. Google may immediately Suspend Customer’s use of the Services if (a) there is an Emergency Security Issue or (b) Google is required to Suspend such use to comply with applicable law. At Customer’s request, unless prohibited by applicable law, Google will notify Customer of the basis for the Suspension as soon as is reasonably possible. + +5.3 For Alleged Third-Party Intellectual Property Rights Infringement. If the Customer Application is alleged to infringe a third party’s Intellectual Property Rights, Google may require Customer to suspend all use of the Google Maps Core Services in the Customer Application on 30 days’ written notice until such allegation is fully resolved. In any event, this Section 5.3 (For Alleged Third-Party Intellectual Property Rights Infringement) does not reduce Customer’s obligations under Section 15 (Indemnification). +6. Intellectual Property Rights; Feedback. + +6.1 Intellectual Property Rights. Except as expressly stated in the Agreement, the Agreement does not grant either party any rights, implied or otherwise, to the other’s content or any of the other’s intellectual property. As between the parties, Customer owns all Intellectual Property Rights in the Customer Application, and Google owns all Intellectual Property Rights in the Google Maps Core Services. + +6.2 Customer Feedback. If Customer provides Google Feedback about the Services, then Google may use that information without obligation to Customer, and Customer irrevocably assigns to Google all right, title, and interest in that Feedback. +7. Third Party Legal Notices and License Terms. + +Certain components of the Services (including open source software) are subject to third-party copyright and other Intellectual Property Rights, as specified in: (a) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and (b) separate, publicly-available third-party license terms, which Google will provide to Customer on request. +8. Technical Support Services. + +8.1 By Google. Google will provide Maps Technical Support Services to Customer in accordance with the Maps Technical Support Services Guidelines. + +8.2 By Customer. Customer is responsible for technical support of its Customer Applications and Projects. +9. Deprecation Policy. + + Google will notify Customer at least 12 months before making a Significant Deprecation, unless Google reasonably determines that: (a) Google cannot do so by law or by contract (including if there is a change in applicable law or contract) or (b) continuing to provide the Services could create a security risk or substantial economic or technical burden. +10. Confidentiality. + +10.1 Confidentiality Obligations. Subject to Section 10.2 (Required Disclosure), the recipient will use the other party’s Confidential Information only to exercise its rights and fulfill its obligations under the Agreement. The recipient will use reasonable care to protect against disclosure of the other party’s Confidential Information to parties other than the recipient’s employees, Affiliates, agents, or professional advisors (“Delegates”) who need to know it and are subject to confidentiality obligations at least as protective as those in this Section 10.1 (Confidentiality Obligations). + +10.2 Required Disclosure. + +10.2.1 Subject to Section 10.2.2, the recipient and its Affiliates may disclose the other party’s Confidential Information to the extent required by applicable Legal Process, If the recipient and its Affiliates (as applicable) use commercially reasonable efforts to: (a) promptly notify the other party of such disclosure before disclosing; and (b) comply with the other party’s reasonable requests regarding its efforts to oppose the disclosure. + +10.2.2 Sections 10.2.1(a) and (b) above will not apply if the recipient determines that complying with (a) and (b) could: (i) result in a violation of Legal Process; (ii) obstruct a governmental investigation; or (iii) lead to death or serious physical harm to an individual. + +10.2.3 As between the parties, Customer is responsible for responding to all third party requests concerning its use and Customer End Users’ use of the Services. +11. Term and Termination. + +11.1 Agreement Term. The Agreement is effective from the Effective Date until it is terminated in accordance with its terms (the “Term”). + +11.2 Termination for Breach. Either party may terminate the Agreement for breach if: (a) the other party is in material breach of the Agreement and fails to cure that breach within 30 days after receipt of written notice; (b) the other party ceases its business operations; or (c) becomes subject to insolvency proceedings and the proceedings are not dismissed within 90 days. Google may terminate Projects or access to Services, if Customer meets any of the conditions in subsections (a) or (b). + +11.3 Termination for Inactivity. Google may terminate Projects with 30 days' prior written notice if such Project (a) has not made any requests to the Services from any Customer Applications for more than 180 days; or (b) has not incurred any Fees for more than 180 days. + +11.4 Termination for Convenience. Customer may stop using the Services at any time. Subject to any financial commitments expressly made by this Agreement, Customer may terminate the Agreement for its convenience at any time with 30 days' prior written notice. Google may terminate the Agreement for its convenience at any time without liability to Customer. + +11.5 Effects of Termination. + +11.5.1 If the Agreement terminates, then: (a) the rights and access to the Services will terminate; (b) all Fees owed by Customer to Google are immediately due upon receipt of the final electronic bill; and (c) Customer will delete the Software and any content from the Services by the termination effective date. + +11.5.2 The following will survive expiration or termination of the Agreement: Section 2 (Payment Terms), Section 3.2 (License Requirements and Restrictions), Section 4.4 (Data Use, Protection, and Privacy), Section 6 (Intellectual Property; Feedback), Section 10 (Confidential Information), Section 11.5 (Effects of Termination), Section 14 (Disclaimer), Section 15 (Indemnification), Section 16 (Limitation of Liability), Section 19 (Miscellaneous), and Section 21 (Definitions). +12. Publicity. + +Customer may state publicly that it is a customer of the Services, consistent with the Trademark Guidelines. If Customer wants to display Google Brand Features in connection with its use of the Services, Customer must obtain written permission from Google through the process specified in the Trademark Guidelines. Google may include Customer’s name or Brand Features in a list of Google customers, online or in promotional materials. Google may also verbally reference Customer as a customer of the Services. Neither party needs approval if it is repeating a public statement that is substantially similar to a previously-approved public statement. Any use of a party’s Brand Features will inure to the benefit of the party holding Intellectual Property Rights to those Brand Features. A party may revoke the other party’s right to use its Brand Features under this Section with written notice to the other party and a reasonable period to stop the use. +13. Representations and Warranties. + +Each party represents and warrants that: (a) it has full power and authority to enter into the Agreement; and (b) it will comply with Export Control Laws and Anti-Bribery Laws applicable to its provision, receipt, or use, of the Services, as applicable. +14. Disclaimer. + + EXCEPT AS EXPRESSLY PROVIDED FOR IN THE AGREEMENT, TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, GOOGLE: (A) DOES NOT MAKE ANY WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR USE, NONINFRINGEMENT, OR ERROR-FREE OR UNINTERRUPTED USE OF THE SERVICES OR SOFTWARE; (B) MAKES NO REPRESENTATION ABOUT CONTENT OR INFORMATION ACCESSIBLE THROUGH THE SERVICES; AND (C) WILL ONLY BE REQUIRED TO PROVIDE THE REMEDIES EXPRESSLY STATED IN THE SLA FOR FAILURE TO PROVIDE THE SERVICES. GOOGLE MAPS CORE SERVICES ARE PROVIDED FOR PLANNING PURPOSES ONLY. INFORMATION FROM THE GOOGLE MAPS CORE SERVICES MAY DIFFER FROM ACTUAL CONDITIONS, AND MAY NOT BE SUITABLE FOR THE CUSTOMER APPLICATION. CUSTOMER MUST EXERCISE INDEPENDENT JUDGMENT WHEN USING THE SERVICES TO ENSURE THAT (i) GOOGLE MAPS ARE SUITABLE FOR THE CUSTOMER APPLICATION; AND (ii) THE CUSTOMER APPLICATION IS SAFE FOR END USERS AND OTHER THIRD PARTIES. +15. Indemnification. + +15.1 Customer Indemnification Obligations. Unless prohibited by applicable law, Customer will defend Google and its Affiliates and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from (a) any Customer Indemnified Materials or (b) Customer’s or an End User’s use of the Services in violation of the AUP or in violation of the Agreement. + +15.2 Google Indemnification Obligations. Google will defend Customer and its Affiliates participating under the Agreement (“Customer Indemnified Parties”), and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from an Allegation that Customer Indemnified Parties' use of Google Indemnified Materials infringes the third party's Intellectual Property Rights. + +15.3 Indemnification Exclusions. Sections 15.1 (Customer Indemnification Obligations) and 15.2 (Google Indemnification Obligations) will not apply to the extent the underlying Allegation arises from (a) the indemnified party’s breach of the Agreement or (b) a combination of the Customer Indemnified Materials or Google Indemnified Materials (as applicable)s with materials not provided by the indemnifying party, unless the combination is required by the Agreement. + +15.4 Indemnification Conditions. Sections 15.1 (Customer Indemnification Obligations) and 15.2 (Google Indemnification Obligations) are conditioned on the following: + +(a) The indemnified party must promptly notify the indemnifying party in writing of any Allegation(s) that preceded the Third-Party Legal Proceeding and cooperate reasonably with the indemnifying party to resolve the Allegation(s) and Third-Party Legal Proceeding. If breach of this Section 15.4(a) prejudices the defense of the Third-Party Legal Proceeding, the indemnifying party’s obligations under Section 15.1 (Customer Indemnification Obligations) or 15.2 (Google Indemnification Obligations) (as applicable) will be reduced in proportion to the prejudice. + +(b) The indemnified party must tender sole control of the indemnified portion of the Third-Party Legal Proceeding to the indemnifying party, subject to the following: (i) the indemnified party may appoint its own non-controlling counsel, at its own expense; and (ii) any settlement requiring the indemnified party to admit liability, pay money, or take (or refrain from taking) any action, will require the indemnified party’s prior written consent, not to be unreasonably withheld, conditioned, or delayed. + +15.5 Remedies. + +(a) If Google reasonably believes the Services might infringe a third party’s Intellectual Property Rights, then Google may, at its sole option and expense: (i) procure the right for Customer to continue using the Services; (ii) modify the Services to make them non-infringing without materially reducing their functionality; or (iii) replace the Services with a non-infringing, functionally equivalent alternative. + +(b) If Google does not believe the remedies in Section 15.5(a) are commercially reasonable, then Google may Suspend or terminate Customer’s use of the impacted Services. + +15.6 Sole Rights and Obligations. Without affecting either party’s termination rights, this Section 15 states the parties’ sole and exclusive remedy under the Agreement for any Allegations of Intellectual Property Rights infringement covered by this Section 15 (Indemnification). +16. Liability. + +16.1 Limited Liabilities + +(a) To the extent permitted by applicable law and subject to Section 16.2 (Unlimited Liabilities), neither party and Google’s licensors will have any Liability arising out of or relating to the Agreement for any (i) indirect, consequential, special, incidental, or punitive damages or (ii) lost revenues, profits, savings, or goodwill. + +(b) Each party’s total aggregate Liability for damages arising out of or relating to the Agreement is limited to the Fees Customer paid under the Agreement during the 12 month period before the event giving rise to Liability. + +16.2 Unlimited Liabilities. Nothing in the Agreement excludes or limits either party’s Liability for: + +(a) its infringement of the other party’s Intellectual Property Rights + +(b) its payment obligations under the Agreement; or + +(c) matters for which liability cannot be excluded or limited under applicable law. +17. Advertising. + +In its sole discretion, Customer may configure the Service to either display or not display advertisements served by Google. +18. U.S. Federal Agency Users. + +The Services were developed solely at private expense and are commercial computer software and related documentation within the meaning of the applicable Federal Acquisition Regulations and their agency supplements. +19. Miscellaneous. + +19.1 Notices. All notices must be in writing and addressed: (a) in the case of Google, to Google’s Legal Department at legal-notices@google.com; and (b) in the case of Customer, to the Notification Email Address. Notice will be treated as given on receipt as verified by written or automated receipt or by electronic log (as applicable). + +19.2 Assignment. Customer may not assign the Agreement without the written consent of Google, except to an Affiliate where: (a) the assignee has agreed in writing to be bound by the terms of the Agreement; (b) the assigning party remains liable for obligations under the Agreement if the assignee defaults on them; and (c) the assigning party has notified the other party of the assignment. Any other attempt by Customer to assign is void. Google may assign the Agreement without the written consent of Customer by notifying Customer of the assignment. + +19.3 Change of Control. If a party experiences a change of Control other than an internal restructuring or reorganization, then: (a) that party will give written notice to the other party within 30 days after the change of Control; and (b) the other party may immediately terminate the Agreement any time between the change of Control and 30 days after it receives that written notice. + +19.4 Force Majeure. Neither party will be liable for failure or delay in performance to the extent caused by circumstances beyond its reasonable control, including acts of God, natural disasters, terrorism, riots, or war. + +19.5 Subcontracting. Google may subcontract obligations under the Agreement but will remain liable to Customer for any subcontracted obligations. + +19.6 No Agency. The Agreement does not create any agency, partnership or joint venture between the parties. + +19.7 No Waiver. Neither party will be treated as having waived any rights by not exercising (or delaying the exercise of) any rights under the Agreement. + +19.8 Severability. If any part of the Agreement is invalid, illegal, or unenforceable, the rest of the Agreement will remain in effect. + +19.9 No Third-Party Beneficiaries. The Agreement does not confer any benefits on any third party unless it expressly states that it does. + +19.10 Equitable Relief. Nothing in the Agreement will limit either party’s ability to seek equitable relief. + +19.11 Governing Law. + +(a) For U.S. City, County, and State Government Entities. If Customer is a U.S. city, county or state government entity, then the Agreement will be silent regarding governing law and venue. + +(b) For U.S. Federal Government Entities. If Customer is a U.S. federal government entity then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THE AGREEMENT OR THE SERVICES WILL BE GOVERNED BY THE LAWS OF THE UNITED STATES OF AMERICA, EXCLUDING ITS CONFLICT OF LAWS RULES. SOLELY TO THE EXTENT PERMITTED BY FEDERAL LAW: (I) THE LAWS OF THE STATE OF CALIFORNIA (EXCLUDING CALIFORNIA’S CONFLICT OF LAWS RULES) WILL APPLY IN THE ABSENCE OF APPLICABLE FEDERAL LAW; AND (II) FOR ALL CLAIMS ARISING OUT OF OR RELATING TO THE AGREEMENT OR THE SERVICES, THE PARTIES CONSENT TO PERSONAL JURISDICTION IN, AND THE EXCLUSIVE VENUE OF, THE COURTS IN SANTA CLARA COUNTY, CALIFORNIA. + +(c) For All Other Entities. If Customer is any entity not listed in Section 19.11 (A) (For U.S. City, County, and State Government Entities) or 19.11(B) (For U.S. Federal Government Entities) then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THE AGREEMENT OR THE SERVICES WILL BE GOVERNED BY CALIFORNIA LAW, EXCLUDING THAT STATE’S CONFLICT OF LAWS RULES, AND WILL BE LITIGATED EXCLUSIVELY IN THE FEDERAL OR STATE COURTS OF SANTA CLARA COUNTY, CALIFORNIA, USA; THE PARTIES CONSENT TO PERSONAL JURISDICTION IN THOSE COURTS. + +19.12 Amendments. Except as stated in Section 1.6.2 (Modifications; To the Agreement), any amendment to the Agreement must be in writing, expressly state that it is amending this Agreement, and be signed by both parties. + +19.13 Entire Agreement. The Agreement states all terms agreed between the parties and supersedes any prior or contemporaneous agreements between the parties relating to its subject matter. In entering into this Agreement, neither party has relied on, and neither party will have any right or remedy based on, any statement, representation or warranty (whether made negligently or innocently), except those expressly stated in the Agreement. The Agreement includes URL links to other terms (including the URL Terms), which are incorporated by reference into the Agreement. After the Effective Date, Google may provide an updated URL in place of any URL in the Agreement. + +19.14 Conflicting Terms. If there is a conflict between the documents that make up the Agreement, then the documents will control in the following order: the Agreement and the terms at any URL. + +19.15 Conflicting Languages. If the Agreement is translated into any other language, and there is a discrepancy between the English text and the translated text, the English text will govern. +20. Reseller Orders. + +This Section applies if Customer orders the Services from a Reseller under a Reseller Agreement (including the Reseller Order Form). + +20.1 Orders. If Customer orders Services from Reseller, then: (a) fees for the Services will be set between Customer and Reseller, and any payments will be made directly to Reseller under the Reseller Agreement; (b) Section 2 of the Agreement (Payment Terms) will not apply to the Services; (c) Customer will receive any applicable SLA credits from Reseller, if owed to Customer in accordance with the SLA; and (d) Google will have no obligation to provide any SLA credits to a Customer who orders Services from the Reseller. + +20.2 Conflicting Terms. If Customer orders Google Maps Core Services from a Reseller and if any documents conflict, then the documents will control in the following order: the Agreement, the terms at any URL (including the URL Terms), and the Reseller Order Form. For example, if there is a conflict between the Maps Service Specific Terms and the Reseller Order Form, the Maps Service Specific Terms will control. + +20.3 Reseller as Administrator. At Customer's discretion, Reseller may access Customer's Projects, Accounts, or the Services on behalf of Customer. As between Google and Customer, Customer is solely responsible for: (a) any access by Reseller to Customer’s Account(s), Project(s), or the Services; and (b) defining in the Reseller Agreement any rights or obligations as between Reseller and Customer with respect to the Accounts, Projects, or Services. + +20.4 Reseller Verification of Customer Application(s). Before providing the Services, Reseller may also verify that Customer owns or controls the Customer Applications. If Reseller determines that Customer does not own or control the Customer Applications, then Google will have no obligation to provide the Services to Customer. +21. Definitions. + +"Account" means Customer’s Google Account. + +"Admin Console" means the online console(s) and/or tool(s) provided by Google to Customer for administering the Services. + +"Affiliate" means any entity that directly or indirectly Controls, is Controlled by, or is under common Control with a party. + +"Allegation" means an unaffiliated third party’s allegation. + +“Anti-Bribery Laws” means all applicable commercial and public anti-bribery laws, (for example, the U.S. Foreign Corrupt Practices Act of 1977 and the UK Bribery Act 2010), which prohibit corrupt offers of anything of value, either directly or indirectly, to anyone, including government officials, to obtain or keep business or to secure any other improper commercial advantage. “Government officials” include any government employee; candidate for public office; and employee of government-owned or government-controlled companies, public international organizations, and political parties. + +"AUP" or "Acceptable Use Policy" means the then-current Acceptable Use Policy for the Services described at https://cloud.google.com/maps-platform/terms/aup/. + +"Brand Features" means each party’s trade names, trademarks, service marks, logos, domain names, and other distinctive brand features. + +"Confidential Information" means information that one party (or an Affiliate) discloses to the other party under this Agreement, and which is marked as confidential or would normally under the circumstances be considered confidential information. It does not include information that is independently developed by the recipient, is rightfully given to the recipient by a third party without confidentiality obligations, or becomes public through no fault of the recipient. + +"Control" means control of greater than 50% of the voting rights or equity interests of a party. + +"Customer Application" means any web page or application (including all source code and features) owned or controlled by Customer, or that Customer is authorized to use. + +"Customer End User" or "End User" means an individual or entity that Customer permits to use the Services or Customer Application(s). + +“Customer Indemnified Materials” means the Customer Application and Customer Brand Features. + +"Documentation" means the then-current Google documentation described at https://developers.google.com/maps/documentation. + +"Emergency Security Issue" means either: (a) Customer’s or Customer End Users’ use of the Services in breach of the AUP, which such use could disrupt: (i) the Services; (ii) other customers’ or their customer end users’ use of the Services; or (iii) the Google network or servers used to provide the Services; or (b) unauthorized third party access to the Services. + +"Europe" or "European" means European Economic Area, Switzerland, or the UK. + +“Export Control Laws” means all applicable export and re-export control laws and regulations, including any applicable munitions- or defense-related regulations (for example, the International Traffic in Arms Regulations maintained by the U.S. Department of State). + +"Fee Accrual Period" means a calendar month or another period specified by Google in the Admin Console. + +"Fee Threshold" means the then-current threshold, as applicable for certain Services, as set out in the Admin Console. + +“Feedback” means feedback or suggestions about the Services provided by Customer to Google. + +"Fees" means the product of the amount of Services used or ordered by Customer multiplied by the Prices, plus any applicable Taxes. + +"Google" means the Google entity corresponding to Customer’s billing address below: + Country or Region of Customer’s billing address: Google entity: +(1) United States and all other countries not otherwise listed below Google LLC +1600 Amphitheatre Parkway, Mountain View, California 94043, USA +(2) Any country in the Asia Pacific region (“APAC”), except the countries listed in rows 6-9. Google Asia Pacific Pte. Ltd. +70 Pasir Panjang Road, #03-71, Mapletree Business City II Singapore 117371 +(3) Any country in Europe, the Middle East, or Africa (“EMEA”), except as described in row 4: Google Ireland Limited +Gordon House Barrow Street, Dublin 4, Ireland +(4) Customer is located in the European Union, the UK, or Turkey and has chosen “non-business” for its tax status/setting for its Google Account Google Commerce Limited +Gordon House, Barrow Street, Dublin 4, Ireland +(5) Canada Google Cloud Canada Corporation +111 Richmond Street West, Toronto, ON M5H 2G4, Canada +For rows 6-10, "Google" means Google Asia Pacific Pte. Ltd and/or its affiliates as the context requires, provided further that the Agreement is made and entered into by and between Customer and the Google entity corresponding to Customer’s billing address below as an authorized reseller of the Services. +(6) Australia Google Australia Pty Ltd. +Level 5, 48 Pirrama Road, Pyrmont, NSW 2009 Australia +(7) Indonesia PT Google Cloud Indonesia +Pacific Century Place Tower, Level 45, Sudirman Central Business District, Lot 10, Jalan Jendral Sudirman Kav 52-53 Jakarta, Indonesia 12190 +(8) Japan Google Cloud Japan G.K. +Roppongi Hills Mori Tower, 10-1, Roppongi 6-chome, Minato-ku Tokyo, Japan +(9) New Zealand Google New Zealand Limited +PWC Tower, Level 27, 188 Quay Street, Auckland, New Zealand 1010, an authorized reseller and the contracting party in New Zealand of Services provided by Google Asia Pacific Pte. Ltd. +(10) South Korea Google Cloud Korea +Gangnam Finance Center 20fl., 152 Teheran-ro, Gangnam-gu, Seoul, South Korea; + +"Google Indemnified Materials" means Google's technology used to provide the Services (excluding any open source software) and Google's Brand Features. + +"Google Maps Content" means any content provided through the Services (whether created by Google or its third-party licensors), including map and terrain data, imagery, traffic data, and places data (including business listings). + +"High Risk Activities" means activities where the use or failure of the Services could lead to death, personal injury, or environmental damage, including (a) emergency response services; (b) autonomous and semi-autonomous vehicle or drone control; (c) vessel navigation; (d) aviation; (e) air traffic control; (f) nuclear facilities operation. + +"HIPAA" means the Health Insurance Portability and Accountability Act of 1996 as it may be amended, and any regulations issued under it. + +"Indemnified Liabilities" means any (a) settlement amounts approved by the indemnifying party; and (b) damages and costs finally awarded against the indemnified party and its Affiliates by a court of competent jurisdiction. + +"including" means "including but not limited to". + +"Intellectual Property Rights" means all patent rights, copyrights, trademark rights, rights in trade secrets (if any), design rights, database rights, domain name rights, moral rights, and any other intellectual property rights (registered or unregistered) throughout the world. + +"Legal Process" means an information disclosure request made under law, governmental regulation, court order, subpoena, warrant, governmental regulatory or agency request, or other valid legal authority, legal procedure, or similar process. + +"Liability" means any liability, whether under contract, tort (including negligence), or otherwise, regardless of whether foreseeable or contemplated by the parties. + +"Maps Service Specific Terms" means the then-current terms specific to one or more Services described at https://cloud.google.com/maps-platform/terms/maps-service-terms/. + +"Maps Technical Support Services" means the technical support service provided by Google to Customer under the then-current Maps Technical Support Services Guidelines. + +"Maps Technical Support Services Guidelines" means the then-current technical support service guidelines described at https://cloud.google.com/maps-platform/terms/tssg/. + +"Personal Data" has the meaning given to it in: (a) Regulation (EU) 2016/679 of the European Parliament and of the Council of 27 April 2016 on the protection of natural persons with regard to the processing of personal data and on the free movement of such data, and repealing Directive 95/46/EC (“EU GDPR”); or (b) the EU GDPR as amended and incorporated into UK law under the UK European Union (Withdrawal) Act 2018 (“UK GDPR”), if in force, as applicable. + +"Notification Email Address" means the email address(es) designated by Customer in the Admin Console. + +"Price" means the then-current applicable price(s) stated at https://cloud.google.com/maps-platform/pricing/sheet/. + +"Prohibited Territory" means the countries listed at https://cloud.google.com/maps-platform/terms/maps-prohibited-territories/. + +"Project" means a Customer-selected grouping of Google Maps Core Services resources for a particular Customer Application. + +"Reseller" means, if applicable, the authorized unaffiliated third-party reseller that sells or supplies the Services to Customer. + +"Reseller Agreement" means, if applicable, a separate, independent agreement between Customer and Reseller regarding the Services. + +"Reseller Order Form" means an order form entered into by Reseller and Customer, subject to the Reseller Agreement. + +"Services" and "Google Maps Core Services" means the services described at https://cloud.google.com/maps-platform/terms/maps-services/. The Services include the Google Maps Content and the Software. + +"Significant Deprecation" means a material discontinuance or backwards incompatible change to the Google Maps Core Services described at https://cloud.google.com/maps-platform/terms/maps-deprecation/. + +"SLA" or "Service Level Agreement" means each of the then-current service level agreements at: https://cloud.google.com/maps-platform/terms/sla/. + +"Software" means any downloadable tools, software development kits, or other computer software provided by Google for use as part of the Services, including updates. + +"Suspend" or "Suspension " means disabling access to or use of the Services or components of the Services. + +"Taxes" means any duties, customs fees, or government-imposed taxes associated with the purchase of the Services, including any related penalties or interest, except for taxes based on Google’s net income, net worth, asset value, property value, or employment. + +"Term" has the meaning stated in Section 11.1 of the Agreement. + +“Terms URL” means the following URL set forth here: https://cloud.google.com/maps-platform/terms/. + +"Third-Party Legal Proceeding" means any formal legal proceeding filed by an unaffiliated third party before a court or government tribunal (including any appellate proceeding). + +"Trademark Guidelines" means (a) Google’s Brand Terms and Conditions, located at: https://www.google.com/permissions/trademark/brand-terms.html and (b) the “Use of Trademarks” section of the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademark policy. + +“URL Terms” means the following, which will control in the following order if there is a conflict: + +(a) the Maps Service Specific Terms; + +(b) the SLA; + +(c) the AUP; + +(d) the Maps Technical Support Services Guidelines; + +(e) the Legal Notices for Google Maps/Google Earth and Google Maps/Google Earth APIs at https://www.google.com/help/legalnotices_maps.html; and + +(f) the Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html. +22. Regional Terms. + +Customer agrees to the following modifications to the Agreement if Customer orders Services from the applicable Google entity as described below: +Asia Pacific - Indonesia PT Google Cloud Indonesia + +1. The following is added as Section 11.6 (Termination Waiver): + +11.6 Termination Waiver. The parties agree to waive any provisions under any applicable laws to the extent that a court decision or order is required for the termination of this Agreement. + +2. Section 19.11 (Governing Law) is deleted and replaced with the following: + +19.11 Governing Law. + +(a) The parties will try in good faith to settle any dispute within 30 days after the dispute arises. If the dispute is not resolved within 30 days, it must be resolved by arbitration by the American Arbitration Association’s International Centre for Dispute Resolution in accordance with its Expedited Commercial Rules in force as of the date of the Agreement ("Rules"). + +(b) The parties will mutually select one arbitrator. The arbitration will be conducted in English in Santa Clara County, California, USA. + +(c) Either party may apply to any competent court for injunctive relief necessary to protect its rights pending resolution of the arbitration. The arbitrator may order equitable or injunctive relief consistent with the remedies and limitations in the Agreement. + +(d) Subject to the confidentiality requirements in Section 19.11(f), either party may petition any competent court to issue any order necessary to protect that party’s rights or property; this petition will not be considered a violation or waiver of this governing law and arbitration section and will not affect the arbitrator’s powers, including the power to review the judicial decision. The parties stipulate that the courts of Santa Clara County, California, USA, are competent to grant any order under this Section 19.11(d). + +(e) The arbitral award will be final and binding on the parties and its execution may be presented in any competent court, including any court with jurisdiction over either party or any of its property. + +(f) Any arbitration proceeding conducted in accordance with this Section will be considered Confidential Information under the Agreement’s confidentiality section, including (i) the existence of, (ii) any information disclosed during, and (iii) any oral communications or documents related to the arbitration proceedings. The parties may also disclose the information described in this Section 19.11(f) to a competent court as may be necessary to file any order under Section 19.11(d) or execute any arbitral decision, but the parties must request that those judicial proceedings be conducted in camera (in private). + +(g) The parties will pay the arbitrator’s fees, the arbitrator’s appointed experts’ fees and expenses, and the arbitration center’s administrative expenses in accordance with the Rules. In its final decision, the arbitrator will determine the non-prevailing party’s obligation to reimburse the amount paid in advance by the prevailing party for these fees. + +(h) Each party will bear its own lawyers’ and experts’ fees and expenses, regardless of the arbitrator’s final decision regarding the Dispute. + +(i) The parties agree that a decision of the arbitrators need not to be made within any specific time period. + +3. Section 19.15 (Conflicting Languages) is deleted and replaced with the following: + +19.15 Conflicting Languages. This Agreement is made in the Indonesian and the English language, and both versions are equally authentic. In the event of any inconsistency or different interpretation between the Indonesian version and the English version, the parties agree to amend the Indonesian version to make the relevant part of the Indonesian version consistent with the relevant part of the English version. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-maps-tos-2020-04-27.yml b/src/licensedcode/data/licenses/google-maps-tos-2020-04-27.yml new file mode 100644 index 00000000000..53804f313d0 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2020-04-27.yml @@ -0,0 +1,34 @@ +key: google-maps-tos-2020-04-27 +short_name: Google Maps Platform ToS 2020-04-27 +name: Google Maps Platform Terms of Service 2020-04-27 +category: Proprietary Free +owner: Google +homepage_url: https://cloud.google.com/maps-platform/terms +spdx_license_key: LicenseRef-scancode-google-maps-tos-2020-04-27 +text_urls: + - https://cloud.google.com/maps-platform/terms/index-20200427 +minimum_coverage: 90 +ignorable_authors: + - the U.S. Department + - the United States Department of State +ignorable_emails: + - legal-notices@google.com +ignorable_urls: + - https://cloud.google.com/maps-platform/pricing/sheet + - https://cloud.google.com/maps-platform/terms + - https://cloud.google.com/maps-platform/terms/aup + - https://cloud.google.com/maps-platform/terms/maps-controller-terms + - https://cloud.google.com/maps-platform/terms/maps-deprecation + - https://cloud.google.com/maps-platform/terms/maps-prohibited-territories + - https://cloud.google.com/maps-platform/terms/maps-service-terms + - https://cloud.google.com/maps-platform/terms/maps-services + - https://cloud.google.com/maps-platform/terms/sla + - https://cloud.google.com/maps-platform/terms/tssg + - https://developers.google.com/maps/documentation + - https://www.google.com/about/company/user-consent-policy.html + - https://www.google.com/dmca.html + - https://www.google.com/help/legalnotices_maps.html + - https://www.google.com/permissions/geoguidelines.html#geotrademark + - https://www.google.com/permissions/trademark/brand-terms.html + - https://www.google.com/policies/privacy + diff --git a/src/licensedcode/data/licenses/google-maps-tos-2020-05-06.LICENSE b/src/licensedcode/data/licenses/google-maps-tos-2020-05-06.LICENSE new file mode 100644 index 00000000000..5a9d734da8c --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2020-05-06.LICENSE @@ -0,0 +1,418 @@ +Google Maps Platform Terms of Service + +Last modified: May 6, 2020 + +If your billing address is in Brazil, please review these Terms of Service, which apply to your use of Google Maps Platform. + +Se a sua conta para faturamento é no Brasil, por gentileza veja o Termos de Serviço, que será o Termo aplicável à sua utilização da Google Maps Platform. + +If your billing address is in Indonesia, please review these Terms of Service, which apply to your use of Google Maps Platform. + +Google Maps Platform License Agreement + +This Google Maps Platform License Agreement (the "Agreement") is made and entered into between Google (as defined in Section 21 (Definitions)) and the entity or person agreeing to these terms ("Customer"). + +This Agreement is effective as of the date Customer clicks to accept the Agreement, or enters into a Reseller Agreement if purchasing through a Reseller (the "Effective Date"). If you are accepting on behalf of Customer, you represent and warrant that: (a) you have full legal authority to bind Customer to this Agreement; (b) you have read and understand this Agreement; and (c) you agree, on behalf of Customer, to this Agreement. If you do not have the legal authority to bind Customer, please do not click to accept. This Agreement governs Customer's access to and use of the Services. +1. Provision of the Services. + +1.1 Use of the Services in Customer Applications. Google will provide the Services to Customer in accordance with the Agreement, and Customer may use the Services in Customer Application(s) in accordance with Section 3 (License). + +1.2 Admin Console; Projects; API Keys. Customer will administer the Services through the online Admin Console. To access the Services, Customer must create Project(s) and use its API key(s) in accordance with the Documentation. + +1.3 Accounts. Customer must have an Account. Customer is responsible for: (a) the information it provides in connection with the Account; (b) maintaining the confidentiality and security of the Account and associated passwords; and (c) any use of its Account. + +1.4 Customer Domains and Applications. Customer must list in the Admin Console each authorized domain and application that uses the Services. Customer is responsible for ensuring that only authorized domains and applications use the Services. + +1.5 New Features and Services. Google may: (a) make new features or functionality available through the Services and (b) add new services to the "Services" definition (by adding them at the URL stated under that definition). Customer’s use of new features or functionality may be contingent on Customer’s agreement to additional terms applicable to the new feature or functionality. + +1.6 Modifications. + +1.6.1 To the Services. Subject to Section 9 (Deprecation Policy), Google may make changes to the Services, which may include adding, updating, or discontinuing any Services or portion or feature(s) of the Services. Google will notify Customer of any material change to the Services. + +1.6.2. To the Agreement. Google may make changes to the Agreement, including pricing and any linked documents. Unless otherwise noted by Google, material changes to the Agreement will become effective 30 days after notice is given, except (a) materially adverse SLA changes will become effective 90 days after notice is given; and (b) changes applicable to new Services or functionality, or required by a court order or applicable law, will be effective immediately. Google will provide notice for materially adverse changes to any SLAs by: (i) sending an email to the Notification Email Address; (ii) posting a notice in the Admin Console; or (iii) posting a notice to the applicable SLA webpage. If Customer does not agree to the revised Agreement, Customer should stop using the Services. Google will post any modification to this Agreement to the Terms URL. +2. Payment Terms. + +2.1 Free Quota. Certain Services are provided to Customer without charge up to the Fee Threshold, as applicable. + +2.2 Online Billing. At the end of the applicable Fee Accrual Period, Google will issue an electronic bill to Customer for all charges accrued above the Fee Threshold based on Customer’s use of the Services during the previous Fee Accrual Period. For use above the Fee Threshold, Customer will be responsible for all Fees up to the amount set in the Account and will pay all Fees in the currency set forth in the invoice. If Customer elects to pay by credit card, debit card, or other non-invoiced form of payment, Google will charge (and Customer will pay) all Fees immediately at the end of the Fee Accrual Period. If Customer elects to pay by invoice (and Google agrees), all Fees are due as stated in the invoice. Customer’s obligation to pay all Fees is non-cancellable. Google's measurement of Customer’s use of the Services is final. Google has no obligation to provide multiple bills. Payments made via wire transfer must include the bank information provided by Google. If Customer has entered into the Agreement with GCL, Google may collect payments via Google Payment Limited, a company incorporated in England and Wales with offices at Belgrave House, 76 Buckingham Palace Road, London, SW1W 9TQ, United Kingdom. + +2.3 Taxes. + +2.3.1 Customer is responsible for any Taxes, and Customer will pay Google for the Services without any reduction for Taxes. If Google is obligated to collect or pay Taxes, the Taxes will be invoiced to Customer, unless Customer provides Google with a timely and valid tax exemption certificate authorized by the appropriate taxing authority. In some states the sales tax is due on the total purchase price at the time of sale and must be invoiced and collected at the time of the sale. If Customer is required by law to withhold any Taxes from its payments to Google, Customer must provide Google with an official tax receipt or other appropriate documentation to support such withholding. If under the applicable tax legislation the Services are subject to local VAT and the Customer is required to make a withholding of local VAT from amounts payable to Google, the value of Services calculated in accordance with the above procedure will be increased (grossed up) by Customer for the respective amount of local VAT and the grossed up amount will be regarded as a VAT inclusive price. Local VAT amount withheld from the VAT-inclusive price will be remitted to the applicable local tax entity by the Customer and Customer will ensure that Google will receive payment for its services for the net amount as would otherwise be due (the VAT inclusive price less the local VAT withheld and remitted to applicable tax authority). + +2.3.2 If required under applicable law, Customer will provide Google with applicable tax identification information that Google may require to ensure its compliance with applicable tax regulations and authorities in applicable jurisdictions. Customer will be liable to pay (or reimburse Google for) any taxes, interest, penalties or fines arising out of any mis-declaration by the Customer. + +2.4 Invoice Disputes & Refunds. Any invoice disputes must be submitted before the payment due date. If Google determines that Fees were incorrectly invoiced, then Google will issue a credit equal to the agreed amount. To the fullest extent permitted by law, Customer waives all claims relating to Fees unless claimed within 60 days after charged (this does not affect any Customer rights with its credit card issuer). Nothing in the Agreement obligates Google to extend credit to any party. + +2.5 Delinquent Payments; Suspension. If Customer’s payment is overdue, then Google may (a) charge interest on overdue amounts at 1.5% per month (or the highest rate permitted by law, if less) from the Payment Due Date until paid in full, and (b) Suspend the Services or terminate the Agreement. Customer will reimburse Google for all reasonable expenses (including attorneys’ fees) incurred by Google in collecting overdue payments except where such payments are due to Google’s billing inaccuracies. + +2.6 No Purchase Order Number Required. Google is not required to provide a purchase order number on Google’s invoice (or otherwise). +3. License. + +3.1 License Grant. Subject to the Agreement's terms, during the Term, Google grants to Customer a non-exclusive, non-transferable, non-sublicensable, license to use the Services in Customer Application(s). + +3.2 License Requirements and Restrictions. The following are conditions of the license granted in Section 3.1 (License Grant). In this Section 3.2 (License Requirements and Restrictions), the phrase “Customer will not” means “Customer will not, and will not permit a third party to”. + +3.2.1 General Restrictions. Customer will not: (a) copy, modify, create a derivative work of, reverse engineer, decompile, translate, disassemble, or otherwise attempt to extract any or all of the source code (except to the extent such restriction is expressly prohibited by applicable law); (b) sublicense, transfer, or distribute any of the Services; (c) sell, resell, sublicense, transfer, or distribute the Services; or (d) access or use the Services: (i) for High Risk Activities; (ii) in a manner intended to avoid incurring Fees; (iii) for materials or activities that are subject to the International Traffic in Arms Regulations (ITAR) maintained by the United States Department of State; (iv) in a manner that breaches, or causes the breach of, Export Control Laws; or (v) to transmit, store, or process health information subject to United States HIPAA regulations. + +3.2.2 Requirements for Using the Services. + +(a) Terms of Service and Privacy Policy. + +(i) The Customer Application’s terms of service will (A) notify users that the Customer Application includes Google Maps features and content; and (B) state that use of Google Maps features and content is subject to the then-current versions of the: (1) Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html; and (2) Google Privacy Policy at https://www.google.com/policies/privacy/. + +(ii) If the Customer Application allows users to include the Google Maps Core Services in Downstream Products, then Customer will contractually require that all Downstream Products’ terms of service satisfy the same notice and flow-down requirements that apply to the Customer Application under Section 3.2.2 (a) (i) (Terms of Service and Privacy Policy). + +(iii) If users of the Customer Application (and Downstream Products, if any) fail to comply with the applicable terms of the Google Maps/Google Earth Additional Terms of Service, then Customer will take appropriate enforcement action, including Suspending or terminating those users’ use of Google Maps features and content in the Customer Application or Downstream Products. + +(b) Attribution. Customer will display all attribution that (i) Google provides through the Services (including branding, logos, and copyright and trademark notices); or (ii) is specified in the Maps Service Specific Terms. Customer will not modify, obscure, or delete such attribution. + +(c) Review of Customer Applications. At Google’s request, Customer will submit Customer Application(s) and Project(s) to Google for review to ensure compliance with the Agreement (including the AUP). + +3.2.3 Restrictions Against Misusing the Services. + +(a) No Scraping. Customer will not export, extract, or otherwise scrape Google Maps Content for use outside the Services. For example, Customer will not: (i) pre-fetch, index, store, reshare, or rehost Google Maps Content outside the services; (ii) bulk download Google Maps tiles, Street View images, geocodes, directions, distance matrix results, roads information, places information, elevation values, and time zone details; (iii) copy and save business names, addresses, or user reviews; or (iv) use Google Maps Content with text-to-speech services. + +(b) No Caching. Customer will not cache Google Maps Content except as expressly permitted under the Maps Service Specific Terms. + +(c) No Creating Content From Google Maps Content. Customer will not create content based on Google Maps Content. For example, Customer will not: (i) trace or digitize roadways, building outlines, utility posts, or electrical lines from the Maps JavaScript API Satellite base map type; (ii) create 3D building models from 45° Imagery from Maps JavaScript API; (iii) build terrain models based on elevation values from the Elevation API; (iv) use latitude/longitude values from the Places API as an input for point-in-polygon analysis; (v) construct an index of tree locations within a city from Street View imagery; or (vi) convert text-based driving times into synthesized speech results. + +(d) No Re-Creating Google Products or Features. Customer will not use the Services to create a product or service with features that are substantially similar to or that re-create the features of another Google product or service. Customer’s product or service must contain substantial, independent value and features beyond the Google products or services. For example, Customer will not: (i) re-distribute the Google Maps Core Services or pass them off as if they were Customer’s services; (ii) use the Google Maps Core Services to create a substitute of the Google Maps Core Services, Google Maps, or Google Maps mobile apps, or their features; (iii) use the Google Maps Core Services in a listings or directory service or to create or augment an advertising product; (iv) combine data from the Directions API, Geolocation API, and Maps SDK for Android to create real-time navigation functionality substantially similar to the functionality provided by the Google Maps for Android mobile app. + +(e) No Use With Non-Google Maps. To avoid quality issues and/or brand confusion, Customer will not use the Google Maps Core Services with or near a non-Google Map in a Customer Application. For example, Customer will not (i) display or use Places content on a non-Google map, (ii) display Street View imagery and non-Google maps on the same screen, or (iii) link a Google Map to non-Google Maps content or a non-Google map. + +(f) No Circumventing Fees. Customer will not circumvent the applicable Fees. For example, Customer will not create multiple billing accounts or Projects to avoid incurring Fees, prevent Google from accurately calculating Customer’s Service usage levels, abuse any free Service quotas, or offer access to the Services under a “time-sharing” or “service bureau” model. + +(g) No Use in Prohibited Territories. Customer will not distribute or market in a Prohibited Territory any Customer Application(s) that use the Google Maps Core Services. + +(h) No Use in Embedded Vehicle Systems. Customer will not use the Google Maps Core Services in connection with any Customer Application or device embedded in a vehicle. For example, Customer will not create a Customer Application that (i) is embedded in an in-dashboard automotive infotainment system; and (ii) allows End Users to request driving directions from the Directions API. + +(i) No Use in Customer Application Directed To Children. Customer will not use the Google Maps Core Services in a Customer Application that would be deemed to be a “Web site or online service directed to children” under the Children’s Online Privacy Protection Act (COPPA). + +(j) No Modifying Search Results Integrity. Customer will not modify any of the Google Maps Core Services’ search results. + +3.2.4 Benchmarking. Customer may not publicly disclose directly or through a third party the results of any comparative or compatibility testing, benchmarking, or evaluation of the Services (each, a “Test”), unless the disclosure includes all information necessary for Google or a third party to replicate the Test. If Customer conducts, or directs a third party to conduct, a Test of the Services and publicly discloses the results directly or through a third party, then Google (or a Google directed third party) may conduct Tests of any publicly available cloud products or services provided by Customer and publicly disclose the results of any such Test (which disclosure will include all information necessary for Customer or a third party to replicate the Test). +4. Customer Obligations. + +4.1 Compliance. Customer will: (a) ensure that Customer’s and its End Users’ use of the Services complies with the Agreement; (b) prevent and terminate any unauthorized use of or access to its Account(s) or the Services; and (c) promptly notify Google of any unauthorized use of or access to its Account(s) or the Services of which Customer becomes aware. + +4.2 Documentation. Google may provide Documentation for Customer’s use of the Services. The Documentation may specify restrictions (e.g. attribution or HTML restrictions) on how the Services may be used and Customer will comply with any such restrictions specified. + +4.3 Copyright Policy. Google provides information to help copyright holders manage their intellectual property online, but Google cannot determine whether something is being used legally without input from the copyright holders. Google will respond to notices of alleged copyright infringement and may terminate repeat infringers in appropriate circumstances as required to maintain safe harbor for online service providers under the U.S. Digital Millennium Copyright Act. If Customer believes a person or entity is infringing Customer’s or End Users’ copyrights and would like to notify Google, Customer can find information about submitting notices, and Google's policy about responding to notices at https://www.google.com/dmca.html. + +4.4 Data Use, Protection, and Privacy. + +4.4.1 Data Use and Retention. To provide the Services through the Customer Application(s), Google collects and receives data from Customer and End Users (and End Users’ End Users, if any), including search terms, IP addresses, and latitude/longitude coordinates. Customer acknowledges and agrees that Google and its Affiliates may use and retain this data to provide and improve Google products and services, subject to the Google Privacy Policy at https://www.google.com/policies/privacy/. + +4.4.2 European Data Protection Terms. Google and Customer agree to the Google Maps Controller-Controller Data Protection Terms at https://cloud.google.com/maps-platform/terms/maps-controller-terms. + +4.4.3 End User Requirements. + +(a) End User Privacy. Customer’s use of the Services in the Customer Application will comply with applicable privacy laws, including laws regarding Services that store and access Cookies on End Users’ devices. Customer will comply with the then-current Consent Policy at https://www.google.com/about/company/user-consent-policy.html, if applicable. + +(b) End User Personal Data. Through the normal functioning of the Google Maps Core Services, End Users provide personally identifiable information and Personal Data directly to Google, subject to the then-current Google Privacy Policy at https://www.google.com/policies/privacy/. (a) However, Customer will not provide to Google (i) any End User’s personally identifiable information; or (ii) any European End User’s Personal Data (where “European” means “European Economic Area, Switzerland, or the UK”). + +(c) End User Location Privacy Requirements. To safeguard End Users’ location privacy, Customer will ensure that the Customer Application(s): (i) notify End Users in advance of (1) the type(s) of data that Customer intends to collect from the End Users or the End Users’ devices, and (2) the combination and use of End User's location with any other data provider's data; and (ii) will not obtain or cache any End User's location except with the End User's express, prior, revocable consent. +5. Suspension. + +5.1 For License Restrictions Breaches. Google may Suspend the Services without prior notice if Customer breaches Section 3.2 (License Requirements and Restrictions). + +5.2 For AUP Breaches or Emergency Security Issues. Google may also Suspend Services as described in Subsections 5.2.1 (AUP Breaches) and 5.2.2 (Emergency Suspension). Any Suspension under those Sections will be to the minimum extent and for the shortest duration required to: (a) prevent or terminate the offending use, (b) prevent or resolve the Emergency Security Issue, or (c) comply with applicable law. + +5.2.1 AUP Breaches. If Google becomes aware that Customer’s or any End User’s use of the Services breaches the AUP, Google will give Customer notice of such breach by requesting that Customer correct the breach. If Customer fails to correct such breach within 24 hours, or if Google is otherwise required by applicable law to take action, then Google may Suspend all or part of Customer’s use of the Services. + +5.2.2 Emergency Suspension. Google may immediately Suspend Customer’s use of the Services if (a) there is an Emergency Security Issue or (b) Google is required to Suspend such use to comply with applicable law. At Customer’s request, unless prohibited by applicable law, Google will notify Customer of the basis for the Suspension as soon as is reasonably possible. + +5.3 For Alleged Third-Party Intellectual Property Rights Infringement. If the Customer Application is alleged to infringe a third party’s Intellectual Property Rights, Google may require Customer to suspend all use of the Google Maps Core Services in the Customer Application on 30 days’ written notice until such allegation is fully resolved. In any event, this Section 5.3 (For Alleged Third-Party Intellectual Property Rights Infringement) does not reduce Customer’s obligations under Section 15 (Indemnification). +6. Intellectual Property Rights; Feedback. + +6.1 Intellectual Property Rights. Except as expressly stated in the Agreement, the Agreement does not grant either party any rights, implied or otherwise, to the other’s content or any of the other’s intellectual property. As between the parties, Customer owns all Intellectual Property Rights in the Customer Application, and Google owns all Intellectual Property Rights in the Google Maps Core Services. + +6.2 Customer Feedback. If Customer provides Google Feedback about the Services, then Google may use that information without obligation to Customer, and Customer irrevocably assigns to Google all right, title, and interest in that Feedback. +7. Third Party Legal Notices and License Terms. + +Certain components of the Services (including open source software) are subject to third-party copyright and other Intellectual Property Rights, as specified in: (a) the Google Maps/Google Earth Legal Notices at https://www.google.com/help/legalnotices_maps.html; and (b) separate, publicly-available third-party license terms, which Google will provide to Customer on request. +8. Technical Support Services. + +8.1 By Google. Google will provide Maps Technical Support Services to Customer in accordance with the Maps Technical Support Services Guidelines. + +8.2 By Customer. Customer is responsible for technical support of its Customer Applications and Projects. +9. Deprecation Policy. + + Google will notify Customer at least 12 months before making a Significant Deprecation, unless Google reasonably determines that: (a) Google cannot do so by law or by contract (including if there is a change in applicable law or contract) or (b) continuing to provide the Services could create a security risk or substantial economic or technical burden. +10. Confidentiality. + +10.1 Confidentiality Obligations. Subject to Section 10.2 (Required Disclosure), the recipient will use the other party’s Confidential Information only to exercise its rights and fulfill its obligations under the Agreement. The recipient will use reasonable care to protect against disclosure of the other party’s Confidential Information to parties other than the recipient’s employees, Affiliates, agents, or professional advisors (“Delegates”) who need to know it and are subject to confidentiality obligations at least as protective as those in this Section 10.1 (Confidentiality Obligations). + +10.2 Required Disclosure. + +10.2.1 Subject to Section 10.2.2, the recipient and its Affiliates may disclose the other party’s Confidential Information to the extent required by applicable Legal Process, If the recipient and its Affiliates (as applicable) use commercially reasonable efforts to: (a) promptly notify the other party of such disclosure before disclosing; and (b) comply with the other party’s reasonable requests regarding its efforts to oppose the disclosure. + +10.2.2 Sections 10.2.1(a) and (b) above will not apply if the recipient determines that complying with (a) and (b) could: (i) result in a violation of Legal Process; (ii) obstruct a governmental investigation; or (iii) lead to death or serious physical harm to an individual. + +10.2.3 As between the parties, Customer is responsible for responding to all third party requests concerning its use and Customer End Users’ use of the Services. +11. Term and Termination. + +11.1 Agreement Term. The Agreement is effective from the Effective Date until it is terminated in accordance with its terms (the “Term”). + +11.2 Termination for Breach. Either party may terminate the Agreement for breach if: (a) the other party is in material breach of the Agreement and fails to cure that breach within 30 days after receipt of written notice; (b) the other party ceases its business operations; or (c) becomes subject to insolvency proceedings and the proceedings are not dismissed within 90 days. Google may terminate Projects or access to Services, if Customer meets any of the conditions in subsections (a) or (b). + +11.3 Termination for Inactivity. Google may terminate Projects with 30 days' prior written notice if such Project (a) has not made any requests to the Services from any Customer Applications for more than 180 days; or (b) has not incurred any Fees for more than 180 days. + +11.4 Termination for Convenience. Customer may stop using the Services at any time. Subject to any financial commitments expressly made by this Agreement, Customer may terminate the Agreement for its convenience at any time with 30 days' prior written notice. Google may terminate the Agreement for its convenience at any time without liability to Customer. + +11.5 Effects of Termination. + +11.5.1 If the Agreement terminates, then: (a) the rights and access to the Services will terminate; (b) all Fees owed by Customer to Google are immediately due upon receipt of the final electronic bill; and (c) Customer will delete the Software and any content from the Services by the termination effective date. + +11.5.2 The following will survive expiration or termination of the Agreement: Section 2 (Payment Terms), Section 3.2 (License Requirements and Restrictions), Section 4.4 (Data Use, Protection, and Privacy), Section 6 (Intellectual Property; Feedback), Section 10 (Confidential Information), Section 11.5 (Effects of Termination), Section 14 (Disclaimer), Section 15 (Indemnification), Section 16 (Limitation of Liability), Section 19 (Miscellaneous), and Section 21 (Definitions). +12. Publicity. + +Customer may state publicly that it is a customer of the Services, consistent with the Trademark Guidelines. If Customer wants to display Google Brand Features in connection with its use of the Services, Customer must obtain written permission from Google through the process specified in the Trademark Guidelines. Google may include Customer’s name or Brand Features in a list of Google customers, online or in promotional materials. Google may also verbally reference Customer as a customer of the Services. Neither party needs approval if it is repeating a public statement that is substantially similar to a previously-approved public statement. Any use of a party’s Brand Features will inure to the benefit of the party holding Intellectual Property Rights to those Brand Features. A party may revoke the other party’s right to use its Brand Features under this Section with written notice to the other party and a reasonable period to stop the use. +13. Representations and Warranties. + +Each party represents and warrants that: (a) it has full power and authority to enter into the Agreement; and (b) it will comply with Export Control Laws and Anti-Bribery Laws applicable to its provision, receipt, or use, of the Services, as applicable. +14. Disclaimer. + + EXCEPT AS EXPRESSLY PROVIDED FOR IN THE AGREEMENT, TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, GOOGLE: (A) DOES NOT MAKE ANY WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR USE, NONINFRINGEMENT, OR ERROR-FREE OR UNINTERRUPTED USE OF THE SERVICES OR SOFTWARE; (B) MAKES NO REPRESENTATION ABOUT CONTENT OR INFORMATION ACCESSIBLE THROUGH THE SERVICES; AND (C) WILL ONLY BE REQUIRED TO PROVIDE THE REMEDIES EXPRESSLY STATED IN THE SLA FOR FAILURE TO PROVIDE THE SERVICES. GOOGLE MAPS CORE SERVICES ARE PROVIDED FOR PLANNING PURPOSES ONLY. INFORMATION FROM THE GOOGLE MAPS CORE SERVICES MAY DIFFER FROM ACTUAL CONDITIONS, AND MAY NOT BE SUITABLE FOR THE CUSTOMER APPLICATION. CUSTOMER MUST EXERCISE INDEPENDENT JUDGMENT WHEN USING THE SERVICES TO ENSURE THAT (i) GOOGLE MAPS ARE SUITABLE FOR THE CUSTOMER APPLICATION; AND (ii) THE CUSTOMER APPLICATION IS SAFE FOR END USERS AND OTHER THIRD PARTIES. +15. Indemnification. + +15.1 Customer Indemnification Obligations. Unless prohibited by applicable law, Customer will defend Google and its Affiliates and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from (a) any Customer Indemnified Materials or (b) Customer’s or an End User’s use of the Services in violation of the AUP or in violation of the Agreement. + +15.2 Google Indemnification Obligations. Google will defend Customer and its Affiliates participating under the Agreement (“Customer Indemnified Parties”), and indemnify them against Indemnified Liabilities in any Third-Party Legal Proceeding to the extent arising from an Allegation that Customer Indemnified Parties' use of Google Indemnified Materials infringes the third party's Intellectual Property Rights. + +15.3 Indemnification Exclusions. Sections 15.1 (Customer Indemnification Obligations) and 15.2 (Google Indemnification Obligations) will not apply to the extent the underlying Allegation arises from (a) the indemnified party’s breach of the Agreement or (b) a combination of the Customer Indemnified Materials or Google Indemnified Materials (as applicable)s with materials not provided by the indemnifying party, unless the combination is required by the Agreement. + +15.4 Indemnification Conditions. Sections 15.1 (Customer Indemnification Obligations) and 15.2 (Google Indemnification Obligations) are conditioned on the following: + +(a) The indemnified party must promptly notify the indemnifying party in writing of any Allegation(s) that preceded the Third-Party Legal Proceeding and cooperate reasonably with the indemnifying party to resolve the Allegation(s) and Third-Party Legal Proceeding. If breach of this Section 15.4(a) prejudices the defense of the Third-Party Legal Proceeding, the indemnifying party’s obligations under Section 15.1 (Customer Indemnification Obligations) or 15.2 (Google Indemnification Obligations) (as applicable) will be reduced in proportion to the prejudice. + +(b) The indemnified party must tender sole control of the indemnified portion of the Third-Party Legal Proceeding to the indemnifying party, subject to the following: (i) the indemnified party may appoint its own non-controlling counsel, at its own expense; and (ii) any settlement requiring the indemnified party to admit liability, pay money, or take (or refrain from taking) any action, will require the indemnified party’s prior written consent, not to be unreasonably withheld, conditioned, or delayed. + +15.5 Remedies. + +(a) If Google reasonably believes the Services might infringe a third party’s Intellectual Property Rights, then Google may, at its sole option and expense: (i) procure the right for Customer to continue using the Services; (ii) modify the Services to make them non-infringing without materially reducing their functionality; or (iii) replace the Services with a non-infringing, functionally equivalent alternative. + +(b) If Google does not believe the remedies in Section 15.5(a) are commercially reasonable, then Google may Suspend or terminate Customer’s use of the impacted Services. + +15.6 Sole Rights and Obligations. Without affecting either party’s termination rights, this Section 15 states the parties’ sole and exclusive remedy under the Agreement for any Allegations of Intellectual Property Rights infringement covered by this Section 15 (Indemnification). +16. Liability. + +16.1 Limited Liabilities + +(a) To the extent permitted by applicable law and subject to Section 16.2 (Unlimited Liabilities), neither party and Google’s licensors will have any Liability arising out of or relating to the Agreement for any (i) indirect, consequential, special, incidental, or punitive damages or (ii) lost revenues, profits, savings, or goodwill. + +(b) Each party’s total aggregate Liability for damages arising out of or relating to the Agreement is limited to the Fees Customer paid under the Agreement during the 12 month period before the event giving rise to Liability. + +16.2 Unlimited Liabilities. Nothing in the Agreement excludes or limits either party’s Liability for: + +(a) its infringement of the other party’s Intellectual Property Rights + +(b) its payment obligations under the Agreement; or + +(c) matters for which liability cannot be excluded or limited under applicable law. +17. Advertising. + +In its sole discretion, Customer may configure the Service to either display or not display advertisements served by Google. +18. U.S. Federal Agency Users. + +The Services were developed solely at private expense and are commercial computer software and related documentation within the meaning of the applicable Federal Acquisition Regulations and their agency supplements. +19. Miscellaneous. + +19.1 Notices. All notices must be in writing and addressed: (a) in the case of Google, to Google’s Legal Department at legal-notices@google.com; and (b) in the case of Customer, to the Notification Email Address. Notice will be treated as given on receipt as verified by written or automated receipt or by electronic log (as applicable). + +19.2 Assignment. Customer may not assign the Agreement without the written consent of Google, except to an Affiliate where: (a) the assignee has agreed in writing to be bound by the terms of the Agreement; (b) the assigning party remains liable for obligations under the Agreement if the assignee defaults on them; and (c) the assigning party has notified the other party of the assignment. Any other attempt by Customer to assign is void. Google may assign the Agreement without the written consent of Customer by notifying Customer of the assignment. + +19.3 Change of Control. If a party experiences a change of Control other than an internal restructuring or reorganization, then: (a) that party will give written notice to the other party within 30 days after the change of Control; and (b) the other party may immediately terminate the Agreement any time between the change of Control and 30 days after it receives that written notice. + +19.4 Force Majeure. Neither party will be liable for failure or delay in performance to the extent caused by circumstances beyond its reasonable control, including acts of God, natural disasters, terrorism, riots, or war. + +19.5 Subcontracting. Google may subcontract obligations under the Agreement but will remain liable to Customer for any subcontracted obligations. + +19.6 No Agency. The Agreement does not create any agency, partnership or joint venture between the parties. + +19.7 No Waiver. Neither party will be treated as having waived any rights by not exercising (or delaying the exercise of) any rights under the Agreement. + +19.8 Severability. If any part of the Agreement is invalid, illegal, or unenforceable, the rest of the Agreement will remain in effect. + +19.9 No Third-Party Beneficiaries. The Agreement does not confer any benefits on any third party unless it expressly states that it does. + +19.10 Equitable Relief. Nothing in the Agreement will limit either party’s ability to seek equitable relief. + +19.11 Governing Law. + +(a) For U.S. City, County, and State Government Entities. If Customer is a U.S. city, county or state government entity, then the Agreement will be silent regarding governing law and venue. + +(b) For U.S. Federal Government Entities. If Customer is a U.S. federal government entity then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THE AGREEMENT OR THE SERVICES WILL BE GOVERNED BY THE LAWS OF THE UNITED STATES OF AMERICA, EXCLUDING ITS CONFLICT OF LAWS RULES. SOLELY TO THE EXTENT PERMITTED BY FEDERAL LAW: (I) THE LAWS OF THE STATE OF CALIFORNIA (EXCLUDING CALIFORNIA’S CONFLICT OF LAWS RULES) WILL APPLY IN THE ABSENCE OF APPLICABLE FEDERAL LAW; AND (II) FOR ALL CLAIMS ARISING OUT OF OR RELATING TO THE AGREEMENT OR THE SERVICES, THE PARTIES CONSENT TO PERSONAL JURISDICTION IN, AND THE EXCLUSIVE VENUE OF, THE COURTS IN SANTA CLARA COUNTY, CALIFORNIA. + +(c) For All Other Entities. If Customer is any entity not listed in Section 19.11 (A) (For U.S. City, County, and State Government Entities) or 19.11(B) (For U.S. Federal Government Entities) then the following applies: ALL CLAIMS ARISING OUT OF OR RELATING TO THE AGREEMENT OR THE SERVICES WILL BE GOVERNED BY CALIFORNIA LAW, EXCLUDING THAT STATE’S CONFLICT OF LAWS RULES, AND WILL BE LITIGATED EXCLUSIVELY IN THE FEDERAL OR STATE COURTS OF SANTA CLARA COUNTY, CALIFORNIA, USA; THE PARTIES CONSENT TO PERSONAL JURISDICTION IN THOSE COURTS. + +19.12 Amendments. Except as stated in Section 1.6.2 (Modifications; To the Agreement), any amendment to the Agreement must be in writing, expressly state that it is amending this Agreement, and be signed by both parties. + +19.13 Entire Agreement. The Agreement states all terms agreed between the parties and supersedes any prior or contemporaneous agreements between the parties relating to its subject matter. In entering into this Agreement, neither party has relied on, and neither party will have any right or remedy based on, any statement, representation or warranty (whether made negligently or innocently), except those expressly stated in the Agreement. The Agreement includes URL links to other terms (including the URL Terms), which are incorporated by reference into the Agreement. After the Effective Date, Google may provide an updated URL in place of any URL in the Agreement. + +19.14 Conflicting Terms. If there is a conflict between the documents that make up the Agreement, then the documents will control in the following order: the Agreement and the terms at any URL. + +19.15 Conflicting Languages. If the Agreement is translated into any other language, and there is a discrepancy between the English text and the translated text, the English text will govern. +20. Reseller Orders. + +This Section applies if Customer orders the Services from a Reseller under a Reseller Agreement (including the Reseller Order Form). + +20.1 Orders. If Customer orders Services from Reseller, then: (a) fees for the Services will be set between Customer and Reseller, and any payments will be made directly to Reseller under the Reseller Agreement; (b) Section 2 of the Agreement (Payment Terms) will not apply to the Services; (c) Customer will receive any applicable SLA credits from Reseller, if owed to Customer in accordance with the SLA; and (d) Google will have no obligation to provide any SLA credits to a Customer who orders Services from the Reseller. + +20.2 Conflicting Terms. If Customer orders Google Maps Core Services from a Reseller and if any documents conflict, then the documents will control in the following order: the Agreement, the terms at any URL (including the URL Terms), and the Reseller Order Form. For example, if there is a conflict between the Maps Service Specific Terms and the Reseller Order Form, the Maps Service Specific Terms will control. + +20.3 Reseller as Administrator. At Customer's discretion, Reseller may access Customer's Projects, Accounts, or the Services on behalf of Customer. As between Google and Customer, Customer is solely responsible for: (a) any access by Reseller to Customer’s Account(s), Project(s), or the Services; and (b) defining in the Reseller Agreement any rights or obligations as between Reseller and Customer with respect to the Accounts, Projects, or Services. + +20.4 Reseller Verification of Customer Application(s). Before providing the Services, Reseller may also verify that Customer owns or controls the Customer Applications. If Reseller determines that Customer does not own or control the Customer Applications, then Google will have no obligation to provide the Services to Customer. +21. Definitions. + +"Account" means Customer’s Google Account. + +"Admin Console" means the online console(s) and/or tool(s) provided by Google to Customer for administering the Services. + +"Affiliate" means any entity that directly or indirectly Controls, is Controlled by, or is under common Control with a party. + +"Allegation" means an unaffiliated third party’s allegation. + +“Anti-Bribery Laws” means all applicable commercial and public anti-bribery laws, (for example, the U.S. Foreign Corrupt Practices Act of 1977 and the UK Bribery Act 2010), which prohibit corrupt offers of anything of value, either directly or indirectly, to anyone, including government officials, to obtain or keep business or to secure any other improper commercial advantage. “Government officials” include any government employee; candidate for public office; and employee of government-owned or government-controlled companies, public international organizations, and political parties. + +"AUP" or "Acceptable Use Policy" means the then-current Acceptable Use Policy for the Services described at https://cloud.google.com/maps-platform/terms/aup/. + +"Brand Features" means each party’s trade names, trademarks, service marks, logos, domain names, and other distinctive brand features. + +"Confidential Information" means information that one party (or an Affiliate) discloses to the other party under this Agreement, and which is marked as confidential or would normally under the circumstances be considered confidential information. It does not include information that is independently developed by the recipient, is rightfully given to the recipient by a third party without confidentiality obligations, or becomes public through no fault of the recipient. + +"Control" means control of greater than 50% of the voting rights or equity interests of a party. + +"Customer Application" means any web page or application (including all source code and features) owned or controlled by Customer, or that Customer is authorized to use. + +"Customer End User" or "End User" means an individual or entity that Customer permits to use the Services or Customer Application(s). + +“Customer Indemnified Materials” means the Customer Application and Customer Brand Features. + +"Documentation" means the then-current Google documentation described at https://developers.google.com/maps/documentation. + +"Emergency Security Issue" means either: (a) Customer’s or Customer End Users’ use of the Services in breach of the AUP, which such use could disrupt: (i) the Services; (ii) other customers’ or their customer end users’ use of the Services; or (iii) the Google network or servers used to provide the Services; or (b) unauthorized third party access to the Services. + +"Europe" or "European" means European Economic Area, Switzerland, or the UK. + +“Export Control Laws” means all applicable export and re-export control laws and regulations, including any applicable munitions- or defense-related regulations (for example, the International Traffic in Arms Regulations maintained by the U.S. Department of State). + +"Fee Accrual Period" means a calendar month or another period specified by Google in the Admin Console. + +"Fee Threshold" means the then-current threshold, as applicable for certain Services, as set out in the Admin Console. + +“Feedback” means feedback or suggestions about the Services provided by Customer to Google. + +"Fees" means the product of the amount of Services used or ordered by Customer multiplied by the Prices, plus any applicable Taxes. + +"Google" has the meaning given at https://cloud.google.com/terms/google-entity. + +"Google Indemnified Materials" means Google's technology used to provide the Services (excluding any open source software) and Google's Brand Features. + +"Google Maps Content" means any content provided through the Services (whether created by Google or its third-party licensors), including map and terrain data, imagery, traffic data, and places data (including business listings). + +"High Risk Activities" means activities where the use or failure of the Services could lead to death, personal injury, or environmental damage, including (a) emergency response services; (b) autonomous and semi-autonomous vehicle or drone control; (c) vessel navigation; (d) aviation; (e) air traffic control; (f) nuclear facilities operation. + +"HIPAA" means the Health Insurance Portability and Accountability Act of 1996 as it may be amended, and any regulations issued under it. + +"Indemnified Liabilities" means any (a) settlement amounts approved by the indemnifying party; and (b) damages and costs finally awarded against the indemnified party and its Affiliates by a court of competent jurisdiction. + +"including" means "including but not limited to". + +"Intellectual Property Rights" means all patent rights, copyrights, trademark rights, rights in trade secrets (if any), design rights, database rights, domain name rights, moral rights, and any other intellectual property rights (registered or unregistered) throughout the world. + +"Legal Process" means an information disclosure request made under law, governmental regulation, court order, subpoena, warrant, governmental regulatory or agency request, or other valid legal authority, legal procedure, or similar process. + +"Liability" means any liability, whether under contract, tort (including negligence), or otherwise, regardless of whether foreseeable or contemplated by the parties. + +"Maps Service Specific Terms" means the then-current terms specific to one or more Services described at https://cloud.google.com/maps-platform/terms/maps-service-terms/. + +"Maps Technical Support Services" means the technical support service provided by Google to Customer under the then-current Maps Technical Support Services Guidelines. + +"Maps Technical Support Services Guidelines" means the then-current technical support service guidelines described at https://cloud.google.com/maps-platform/terms/tssg/. + +"Personal Data" has the meaning given to it in: (a) Regulation (EU) 2016/679 of the European Parliament and of the Council of 27 April 2016 on the protection of natural persons with regard to the processing of personal data and on the free movement of such data, and repealing Directive 95/46/EC (“EU GDPR”); or (b) the EU GDPR as amended and incorporated into UK law under the UK European Union (Withdrawal) Act 2018 (“UK GDPR”), if in force, as applicable. + +"Notification Email Address" means the email address(es) designated by Customer in the Admin Console. + +"Price" means the then-current applicable price(s) stated at https://cloud.google.com/maps-platform/pricing/sheet/. + +"Prohibited Territory" means the countries listed at https://cloud.google.com/maps-platform/terms/maps-prohibited-territories/. + +"Project" means a Customer-selected grouping of Google Maps Core Services resources for a particular Customer Application. + +"Reseller" means, if applicable, the authorized unaffiliated third-party reseller that sells or supplies the Services to Customer. + +"Reseller Agreement" means, if applicable, a separate, independent agreement between Customer and Reseller regarding the Services. + +"Reseller Order Form" means an order form entered into by Reseller and Customer, subject to the Reseller Agreement. + +"Services" and "Google Maps Core Services" means the services described at https://cloud.google.com/maps-platform/terms/maps-services/. The Services include the Google Maps Content and the Software. + +"Significant Deprecation" means a material discontinuance or backwards incompatible change to the Google Maps Core Services described at https://cloud.google.com/maps-platform/terms/maps-deprecation/. + +"SLA" or "Service Level Agreement" means each of the then-current service level agreements at: https://cloud.google.com/maps-platform/terms/sla/. + +"Software" means any downloadable tools, software development kits, or other computer software provided by Google for use as part of the Services, including updates. + +"Suspend" or "Suspension " means disabling access to or use of the Services or components of the Services. + +"Taxes" means any duties, customs fees, or government-imposed taxes associated with the purchase of the Services, including any related penalties or interest, except for taxes based on Google’s net income, net worth, asset value, property value, or employment. + +"Term" has the meaning stated in Section 11.1 of the Agreement. + +“Terms URL” means the following URL set forth here: https://cloud.google.com/maps-platform/terms/. + +"Third-Party Legal Proceeding" means any formal legal proceeding filed by an unaffiliated third party before a court or government tribunal (including any appellate proceeding). + +"Trademark Guidelines" means (a) Google’s Brand Terms and Conditions, located at: https://www.google.com/permissions/trademark/brand-terms.html and (b) the “Use of Trademarks” section of the “Using Google Maps, Google Earth and Street View” permissions page at https://www.google.com/permissions/geoguidelines.html#geotrademark policy. + +“URL Terms” means the following, which will control in the following order if there is a conflict: + +(a) the Maps Service Specific Terms; + +(b) the SLA; + +(c) the AUP; + +(d) the Maps Technical Support Services Guidelines; + +(e) the Legal Notices for Google Maps/Google Earth and Google Maps/Google Earth APIs at https://www.google.com/help/legalnotices_maps.html; and + +(f) the Google Maps/Google Earth Additional Terms of Service at https://maps.google.com/help/terms_maps.html. +22. Regional Terms. + +Customer agrees to the following modifications to the Agreement if Customer orders Services from the applicable Google entity as described below: +Asia Pacific - Indonesia PT Google Cloud Indonesia + +1. The following is added as Section 11.6 (Termination Waiver): + +11.6 Termination Waiver. The parties agree to waive any provisions under any applicable laws to the extent that a court decision or order is required for the termination of this Agreement. + +2. Section 19.11 (Governing Law) is deleted and replaced with the following: + +19.11 Governing Law. + +(a) The parties will try in good faith to settle any dispute within 30 days after the dispute arises. If the dispute is not resolved within 30 days, it must be resolved by arbitration by the American Arbitration Association’s International Centre for Dispute Resolution in accordance with its Expedited Commercial Rules in force as of the date of the Agreement ("Rules"). + +(b) The parties will mutually select one arbitrator. The arbitration will be conducted in English in Santa Clara County, California, USA. + +(c) Either party may apply to any competent court for injunctive relief necessary to protect its rights pending resolution of the arbitration. The arbitrator may order equitable or injunctive relief consistent with the remedies and limitations in the Agreement. + +(d) Subject to the confidentiality requirements in Section 19.11(f), either party may petition any competent court to issue any order necessary to protect that party’s rights or property; this petition will not be considered a violation or waiver of this governing law and arbitration section and will not affect the arbitrator’s powers, including the power to review the judicial decision. The parties stipulate that the courts of Santa Clara County, California, USA, are competent to grant any order under this Section 19.11(d). + +(e) The arbitral award will be final and binding on the parties and its execution may be presented in any competent court, including any court with jurisdiction over either party or any of its property. + +(f) Any arbitration proceeding conducted in accordance with this Section will be considered Confidential Information under the Agreement’s confidentiality section, including (i) the existence of, (ii) any information disclosed during, and (iii) any oral communications or documents related to the arbitration proceedings. The parties may also disclose the information described in this Section 19.11(f) to a competent court as may be necessary to file any order under Section 19.11(d) or execute any arbitral decision, but the parties must request that those judicial proceedings be conducted in camera (in private). + +(g) The parties will pay the arbitrator’s fees, the arbitrator’s appointed experts’ fees and expenses, and the arbitration center’s administrative expenses in accordance with the Rules. In its final decision, the arbitrator will determine the non-prevailing party’s obligation to reimburse the amount paid in advance by the prevailing party for these fees. + +(h) Each party will bear its own lawyers’ and experts’ fees and expenses, regardless of the arbitrator’s final decision regarding the Dispute. + +(i) The parties agree that a decision of the arbitrators need not to be made within any specific time period. + +3. Section 19.15 (Conflicting Languages) is deleted and replaced with the following: + +19.15 Conflicting Languages. This Agreement is made in the Indonesian and the English language, and both versions are equally authentic. In the event of any inconsistency or different interpretation between the Indonesian version and the English version, the parties agree to amend the Indonesian version to make the relevant part of the Indonesian version consistent with the relevant part of the English version. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-maps-tos-2020-05-06.yml b/src/licensedcode/data/licenses/google-maps-tos-2020-05-06.yml new file mode 100644 index 00000000000..db889e9bba1 --- /dev/null +++ b/src/licensedcode/data/licenses/google-maps-tos-2020-05-06.yml @@ -0,0 +1,35 @@ +key: google-maps-tos-2020-05-06 +short_name: Google Maps Platform ToS 2020-05-06 +name: Google Maps Platform Terms of Service 2020-05-06 +category: Proprietary Free +owner: Google +homepage_url: https://cloud.google.com/maps-platform/terms +spdx_license_key: LicenseRef-scancode-google-maps-tos-2020-05-06 +text_urls: + - https://cloud.google.com/maps-platform/terms/index-20200506 +minimum_coverage: 90 +ignorable_authors: + - the U.S. Department + - the United States Department of State +ignorable_emails: + - legal-notices@google.com +ignorable_urls: + - https://cloud.google.com/maps-platform/pricing/sheet + - https://cloud.google.com/maps-platform/terms + - https://cloud.google.com/maps-platform/terms/aup + - https://cloud.google.com/maps-platform/terms/maps-controller-terms + - https://cloud.google.com/maps-platform/terms/maps-deprecation + - https://cloud.google.com/maps-platform/terms/maps-prohibited-territories + - https://cloud.google.com/maps-platform/terms/maps-service-terms + - https://cloud.google.com/maps-platform/terms/maps-services + - https://cloud.google.com/maps-platform/terms/sla + - https://cloud.google.com/maps-platform/terms/tssg + - https://cloud.google.com/terms/google-entity + - https://developers.google.com/maps/documentation + - https://www.google.com/about/company/user-consent-policy.html + - https://www.google.com/dmca.html + - https://www.google.com/help/legalnotices_maps.html + - https://www.google.com/permissions/geoguidelines.html#geotrademark + - https://www.google.com/permissions/trademark/brand-terms.html + - https://www.google.com/policies/privacy + diff --git a/src/licensedcode/data/licenses/google-tos-2014.LICENSE b/src/licensedcode/data/licenses/google-tos-2014.LICENSE new file mode 100644 index 00000000000..0ed7564f4d8 --- /dev/null +++ b/src/licensedcode/data/licenses/google-tos-2014.LICENSE @@ -0,0 +1,94 @@ +Google Terms of Service + +Last modified: April 30, 2014 (view archived versions) +Welcome to Google! + +Thanks for using our products and services (“Services”). The Services are provided by Google Inc. (“Google”), located at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States. + +By using our Services, you are agreeing to these terms. Please read them carefully. + +Our Services are very diverse, so sometimes additional terms or product requirements (including age requirements) may apply. Additional terms will be available with the relevant Services, and those additional terms become part of your agreement with us if you use those Services. +Using our Services + +You must follow any policies made available to you within the Services. + +Don’t misuse our Services. For example, don’t interfere with our Services or try to access them using a method other than the interface and the instructions that we provide. You may use our Services only as permitted by law, including applicable export and re-export control laws and regulations. We may suspend or stop providing our Services to you if you do not comply with our terms or policies or if we are investigating suspected misconduct. + +Using our Services does not give you ownership of any intellectual property rights in our Services or the content you access. You may not use content from our Services unless you obtain permission from its owner or are otherwise permitted by law. These terms do not grant you the right to use any branding or logos used in our Services. Don’t remove, obscure, or alter any legal notices displayed in or along with our Services. + +Our Services display some content that is not Google’s. This content is the sole responsibility of the entity that makes it available. We may review content to determine whether it is illegal or violates our policies, and we may remove or refuse to display content that we reasonably believe violates our policies or the law. But that does not necessarily mean that we review content, so please don’t assume that we do. + +In connection with your use of the Services, we may send you service announcements, administrative messages, and other information. You may opt out of some of those communications. + +Some of our Services are available on mobile devices. Do not use such Services in a way that distracts you and prevents you from obeying traffic or safety laws. +Your Google Account + +You may need a Google Account in order to use some of our Services. You may create your own Google Account, or your Google Account may be assigned to you by an administrator, such as your employer or educational institution. If you are using a Google Account assigned to you by an administrator, different or additional terms may apply and your administrator may be able to access or disable your account. + +To protect your Google Account, keep your password confidential. You are responsible for the activity that happens on or through your Google Account. Try not to reuse your Google Account password on third-party applications. If you learn of any unauthorized use of your password or Google Account, follow these instructions. +Privacy and Copyright Protection + +Google’s privacy policies explain how we treat your personal data and protect your privacy when you use our Services. By using our Services, you agree that Google can use such data in accordance with our privacy policies. + +We respond to notices of alleged copyright infringement and terminate accounts of repeat infringers according to the process set out in the U.S. Digital Millennium Copyright Act. + +We provide information to help copyright holders manage their intellectual property online. If you think somebody is violating your copyrights and want to notify us, you can find information about submitting notices and Google’s policy about responding to notices in our Help Center. +Your Content in our Services + +Some of our Services allow you to upload, submit, store, send or receive content. You retain ownership of any intellectual property rights that you hold in that content. In short, what belongs to you stays yours. + +When you upload, submit, store, send or receive content to or through our Services, you give Google (and those we work with) a worldwide license to use, host, store, reproduce, modify, create derivative works (such as those resulting from translations, adaptations or other changes we make so that your content works better with our Services), communicate, publish, publicly perform, publicly display and distribute such content. The rights you grant in this license are for the limited purpose of operating, promoting, and improving our Services, and to develop new ones. This license continues even if you stop using our Services (for example, for a business listing you have added to Google Maps). Some Services may offer you ways to access and remove content that has been provided to that Service. Also, in some of our Services, there are terms or settings that narrow the scope of our use of the content submitted in those Services. Make sure you have the necessary rights to grant us this license for any content that you submit to our Services. + +Our automated systems analyze your content (including emails) to provide you personally relevant product features, such as customized search results, tailored advertising, and spam and malware detection. This analysis occurs as the content is sent, received, and when it is stored. + +If you have a Google Account, we may display your Profile name, Profile photo, and actions you take on Google or on third-party applications connected to your Google Account (such as +1’s, reviews you write and comments you post) in our Services, including displaying in ads and other commercial contexts. We will respect the choices you make to limit sharing or visibility settings in your Google Account. For example, you can choose your settings so your name and photo do not appear in an ad. + +You can find more information about how Google uses and stores content in the privacy policy or additional terms for particular Services. If you submit feedback or suggestions about our Services, we may use your feedback or suggestions without obligation to you. +About Software in our Services + +When a Service requires or includes downloadable software, this software may update automatically on your device once a new version or feature is available. Some Services may let you adjust your automatic update settings. + +Google gives you a personal, worldwide, royalty-free, non-assignable and non-exclusive license to use the software provided to you by Google as part of the Services. This license is for the sole purpose of enabling you to use and enjoy the benefit of the Services as provided by Google, in the manner permitted by these terms. You may not copy, modify, distribute, sell, or lease any part of our Services or included software, nor may you reverse engineer or attempt to extract the source code of that software, unless laws prohibit those restrictions or you have our written permission. + +Open source software is important to us. Some software used in our Services may be offered under an open source license that we will make available to you. There may be provisions in the open source license that expressly override some of these terms. +Modifying and Terminating our Services + +We are constantly changing and improving our Services. We may add or remove functionalities or features, and we may suspend or stop a Service altogether. + +You can stop using our Services at any time, although we’ll be sorry to see you go. Google may also stop providing Services to you, or add or create new limits to our Services at any time. + +We believe that you own your data and preserving your access to such data is important. If we discontinue a Service, where reasonably possible, we will give you reasonable advance notice and a chance to get information out of that Service. +Our Warranties and Disclaimers + +We provide our Services using a commercially reasonable level of skill and care and we hope that you will enjoy using them. But there are certain things that we don’t promise about our Services. + +Other than as expressly set out in these terms or additional terms, neither Google nor its suppliers or distributors make any specific promises about the Services. For example, we don’t make any commitments about the content within the Services, the specific functions of the Services, or their reliability, availability, or ability to meet your needs. We provide the Services “as is”. + +Some jurisdictions provide for certain warranties, like the implied warranty of merchantability, fitness for a particular purpose and non-infringement. To the extent permitted by law, we exclude all warranties. +Liability for our Services + +When permitted by law, Google, and Google’s suppliers and distributors, will not be responsible for lost profits, revenues, or data, financial losses or indirect, special, consequential, exemplary, or punitive damages. + +To the extent permitted by law, the total liability of Google, and its suppliers and distributors, for any claims under these terms, including for any implied warranties, is limited to the amount you paid us to use the Services (or, if we choose, to supplying you the Services again). + +In all cases, Google, and its suppliers and distributors, will not be liable for any loss or damage that is not reasonably foreseeable. + +We recognize that in some countries, you might have legal rights as a consumer. If you are using the Services for a personal purpose, then nothing in these terms or any additional terms limits any consumer legal rights which may not be waived by contract. +Business uses of our Services + +If you are using our Services on behalf of a business, that business accepts these terms. It will hold harmless and indemnify Google and its affiliates, officers, agents, and employees from any claim, suit or action arising from or related to the use of the Services or violation of these terms, including any liability or expense arising from claims, losses, damages, suits, judgments, litigation costs and attorneys’ fees. +About these Terms + +We may modify these terms or any additional terms that apply to a Service to, for example, reflect changes to the law or changes to our Services. You should look at the terms regularly. We’ll post notice of modifications to these terms on this page. We’ll post notice of modified additional terms in the applicable Service. Changes will not apply retroactively and will become effective no sooner than fourteen days after they are posted. However, changes addressing new functions for a Service or changes made for legal reasons will be effective immediately. If you do not agree to the modified terms for a Service, you should discontinue your use of that Service. + +If there is a conflict between these terms and the additional terms, the additional terms will control for that conflict. + +These terms control the relationship between Google and you. They do not create any third party beneficiary rights. + +If you do not comply with these terms, and we don’t take action right away, this doesn’t mean that we are giving up any rights that we may have (such as taking action in the future). + +If it turns out that a particular term is not enforceable, this will not affect any other terms. + +The courts in some countries will not apply California law to some types of disputes. If you reside in one of those countries, then where California law is excluded from applying, your country’s laws will apply to such disputes related to these terms. Otherwise, you agree that the laws of California, U.S.A., excluding California’s choice of law rules, will apply to any disputes arising out of or relating to these terms or the Services. Similarly, if the courts in your country will not permit you to consent to the jurisdiction and venue of the courts in Santa Clara County, California, U.S.A., then your local jurisdiction and venue will apply to such disputes related to these terms. Otherwise, all claims arising out of or relating to these terms or the services will be litigated exclusively in the federal or state courts of Santa Clara County, California, USA, and you and Google consent to personal jurisdiction in those courts. + +For information about how to contact Google, please visit our contact page. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-tos-2014.yml b/src/licensedcode/data/licenses/google-tos-2014.yml new file mode 100644 index 00000000000..853da74a6ea --- /dev/null +++ b/src/licensedcode/data/licenses/google-tos-2014.yml @@ -0,0 +1,7 @@ +key: google-tos-2014 +short_name: Google TOS 2014 +name: Google Terms of Service 2014 +category: Proprietary Free +owner: Google +homepage_url: https://policies.google.com/terms/archive?hl=en +spdx_license_key: LicenseRef-scancode-google-tos-2014 diff --git a/src/licensedcode/data/licenses/google-tos-2017.LICENSE b/src/licensedcode/data/licenses/google-tos-2017.LICENSE new file mode 100644 index 00000000000..68c06e04c7d --- /dev/null +++ b/src/licensedcode/data/licenses/google-tos-2017.LICENSE @@ -0,0 +1,94 @@ +Google Terms of Service + +Last modified: October 25, 2017 (view archived versions) +Welcome to Google! + +Thanks for using our products and services (“Services”). The Services are provided by Google LLC (“Google”), located at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States. + +By using our Services, you are agreeing to these terms. Please read them carefully. + +Our Services are very diverse, so sometimes additional terms or product requirements (including age requirements) may apply. Additional terms will be available with the relevant Services, and those additional terms become part of your agreement with us if you use those Services. +Using our Services + +You must follow any policies made available to you within the Services. + +Don’t misuse our Services. For example, don’t interfere with our Services or try to access them using a method other than the interface and the instructions that we provide. You may use our Services only as permitted by law, including applicable export and re-export control laws and regulations. We may suspend or stop providing our Services to you if you do not comply with our terms or policies or if we are investigating suspected misconduct. + +Using our Services does not give you ownership of any intellectual property rights in our Services or the content you access. You may not use content from our Services unless you obtain permission from its owner or are otherwise permitted by law. These terms do not grant you the right to use any branding or logos used in our Services. Don’t remove, obscure, or alter any legal notices displayed in or along with our Services. + +Our Services display some content that is not Google’s. This content is the sole responsibility of the entity that makes it available. We may review content to determine whether it is illegal or violates our policies, and we may remove or refuse to display content that we reasonably believe violates our policies or the law. But that does not necessarily mean that we review content, so please don’t assume that we do. + +In connection with your use of the Services, we may send you service announcements, administrative messages, and other information. You may opt out of some of those communications. + +Some of our Services are available on mobile devices. Do not use such Services in a way that distracts you and prevents you from obeying traffic or safety laws. +Your Google Account + +You may need a Google Account in order to use some of our Services. You may create your own Google Account, or your Google Account may be assigned to you by an administrator, such as your employer or educational institution. If you are using a Google Account assigned to you by an administrator, different or additional terms may apply and your administrator may be able to access or disable your account. + +To protect your Google Account, keep your password confidential. You are responsible for the activity that happens on or through your Google Account. Try not to reuse your Google Account password on third-party applications. If you learn of any unauthorized use of your password or Google Account, follow these instructions. +Privacy and Copyright Protection + +Google’s privacy policies explain how we treat your personal data and protect your privacy when you use our Services. By using our Services, you agree that Google can use such data in accordance with our privacy policies. + +We respond to notices of alleged copyright infringement and terminate accounts of repeat infringers according to the process set out in the U.S. Digital Millennium Copyright Act. + +We provide information to help copyright holders manage their intellectual property online. If you think somebody is violating your copyrights and want to notify us, you can find information about submitting notices and Google’s policy about responding to notices in our Help Center. +Your Content in our Services + +Some of our Services allow you to upload, submit, store, send or receive content. You retain ownership of any intellectual property rights that you hold in that content. In short, what belongs to you stays yours. + +When you upload, submit, store, send or receive content to or through our Services, you give Google (and those we work with) a worldwide license to use, host, store, reproduce, modify, create derivative works (such as those resulting from translations, adaptations or other changes we make so that your content works better with our Services), communicate, publish, publicly perform, publicly display and distribute such content. The rights you grant in this license are for the limited purpose of operating, promoting, and improving our Services, and to develop new ones. This license continues even if you stop using our Services (for example, for a business listing you have added to Google Maps). Some Services may offer you ways to access and remove content that has been provided to that Service. Also, in some of our Services, there are terms or settings that narrow the scope of our use of the content submitted in those Services. Make sure you have the necessary rights to grant us this license for any content that you submit to our Services. + +Our automated systems analyze your content (including emails) to provide you personally relevant product features, such as customized search results, tailored advertising, and spam and malware detection. This analysis occurs as the content is sent, received, and when it is stored. + +If you have a Google Account, we may display your Profile name, Profile photo, and actions you take on Google or on third-party applications connected to your Google Account (such as +1’s, reviews you write and comments you post) in our Services, including displaying in ads and other commercial contexts. We will respect the choices you make to limit sharing or visibility settings in your Google Account. For example, you can choose your settings so your name and photo do not appear in an ad. + +You can find more information about how Google uses and stores content in the privacy policy or additional terms for particular Services. If you submit feedback or suggestions about our Services, we may use your feedback or suggestions without obligation to you. +About Software in our Services + +When a Service requires or includes downloadable software, this software may update automatically on your device once a new version or feature is available. Some Services may let you adjust your automatic update settings. + +Google gives you a personal, worldwide, royalty-free, non-assignable and non-exclusive license to use the software provided to you by Google as part of the Services. This license is for the sole purpose of enabling you to use and enjoy the benefit of the Services as provided by Google, in the manner permitted by these terms. You may not copy, modify, distribute, sell, or lease any part of our Services or included software, nor may you reverse engineer or attempt to extract the source code of that software, unless laws prohibit those restrictions or you have our written permission. + +Open source software is important to us. Some software used in our Services may be offered under an open source license that we will make available to you. There may be provisions in the open source license that expressly override some of these terms. +Modifying and Terminating our Services + +We are constantly changing and improving our Services. We may add or remove functionalities or features, and we may suspend or stop a Service altogether. + +You can stop using our Services at any time, although we’ll be sorry to see you go. Google may also stop providing Services to you, or add or create new limits to our Services at any time. + +We believe that you own your data and preserving your access to such data is important. If we discontinue a Service, where reasonably possible, we will give you reasonable advance notice and a chance to get information out of that Service. +Our Warranties and Disclaimers + +We provide our Services using a commercially reasonable level of skill and care and we hope that you will enjoy using them. But there are certain things that we don’t promise about our Services. + +Other than as expressly set out in these terms or additional terms, neither Google nor its suppliers or distributors make any specific promises about the Services. For example, we don’t make any commitments about the content within the Services, the specific functions of the Services, or their reliability, availability, or ability to meet your needs. We provide the Services “as is”. + +Some jurisdictions provide for certain warranties, like the implied warranty of merchantability, fitness for a particular purpose and non-infringement. To the extent permitted by law, we exclude all warranties. +Liability for our Services + +When permitted by law, Google, and Google’s suppliers and distributors, will not be responsible for lost profits, revenues, or data, financial losses or indirect, special, consequential, exemplary, or punitive damages. + +To the extent permitted by law, the total liability of Google, and its suppliers and distributors, for any claims under these terms, including for any implied warranties, is limited to the amount you paid us to use the Services (or, if we choose, to supplying you the Services again). + +In all cases, Google, and its suppliers and distributors, will not be liable for any loss or damage that is not reasonably foreseeable. + +We recognize that in some countries, you might have legal rights as a consumer. If you are using the Services for a personal purpose, then nothing in these terms or any additional terms limits any consumer legal rights which may not be waived by contract. +Business uses of our Services + +If you are using our Services on behalf of a business, that business accepts these terms. It will hold harmless and indemnify Google and its affiliates, officers, agents, and employees from any claim, suit or action arising from or related to the use of the Services or violation of these terms, including any liability or expense arising from claims, losses, damages, suits, judgments, litigation costs and attorneys’ fees. +About these Terms + +We may modify these terms or any additional terms that apply to a Service to, for example, reflect changes to the law or changes to our Services. You should look at the terms regularly. We’ll post notice of modifications to these terms on this page. We’ll post notice of modified additional terms in the applicable Service. Changes will not apply retroactively and will become effective no sooner than fourteen days after they are posted. However, changes addressing new functions for a Service or changes made for legal reasons will be effective immediately. If you do not agree to the modified terms for a Service, you should discontinue your use of that Service. + +If there is a conflict between these terms and the additional terms, the additional terms will control for that conflict. + +These terms control the relationship between Google and you. They do not create any third party beneficiary rights. + +If you do not comply with these terms, and we don’t take action right away, this doesn’t mean that we are giving up any rights that we may have (such as taking action in the future). + +If it turns out that a particular term is not enforceable, this will not affect any other terms. + +The courts in some countries will not apply California law to some types of disputes. If you reside in one of those countries, then where California law is excluded from applying, your country’s laws will apply to such disputes related to these terms. Otherwise, you agree that the laws of California, U.S.A., excluding California’s choice of law rules, will apply to any disputes arising out of or relating to these terms or the Services. Similarly, if the courts in your country will not permit you to consent to the jurisdiction and venue of the courts in Santa Clara County, California, U.S.A., then your local jurisdiction and venue will apply to such disputes related to these terms. Otherwise, all claims arising out of or relating to these terms or the services will be litigated exclusively in the federal or state courts of Santa Clara County, California, USA, and you and Google consent to personal jurisdiction in those courts. + +For information about how to contact Google, please visit our contact page. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-tos-2017.yml b/src/licensedcode/data/licenses/google-tos-2017.yml new file mode 100644 index 00000000000..2b34b1a7721 --- /dev/null +++ b/src/licensedcode/data/licenses/google-tos-2017.yml @@ -0,0 +1,7 @@ +key: google-tos-2017 +short_name: Google TOS 2017 +name: Google Terms of Service 2017 +category: Proprietary Free +owner: Google +homepage_url: https://policies.google.com/terms/archive?hl=en +spdx_license_key: LicenseRef-scancode-google-tos-2017 diff --git a/src/licensedcode/data/licenses/google-tos-2019.LICENSE b/src/licensedcode/data/licenses/google-tos-2019.LICENSE new file mode 100644 index 00000000000..6d6a4046d98 --- /dev/null +++ b/src/licensedcode/data/licenses/google-tos-2019.LICENSE @@ -0,0 +1,97 @@ +Google Terms of Service + +Effective January 22, 2019 (view archived versions) +Welcome to Google! + +Thanks for using our products and services (“Services”). If you’re based in the European Economic Area or Switzerland, unless stated otherwise in any additional terms, the Services are provided by Google Ireland Limited (“Google”), a company incorporated and operating under the laws of Ireland (Registered Number: 368047), and located at Gordon House, Barrow Street, Dublin 4, Ireland. + +By using our Services, you are agreeing to these terms. Please read them carefully. + +Our Services are very diverse, so sometimes additional terms or product requirements (including age requirements) may apply. Additional terms will be available with the relevant Services, and those additional terms become part of your agreement with us if you use those Services. +Using our Services + +You must follow any policies made available to you within the Services. + +Don’t misuse our Services. For example, don’t interfere with our Services or try to access them using a method other than the interface and the instructions that we provide. You may use our Services only as permitted by law, including applicable export and re-export control laws and regulations. We may suspend or stop providing our Services to you if you do not comply with our terms or policies or if we are investigating suspected misconduct. + +Using our Services does not give you ownership of any intellectual property rights in our Services or the content you access. You may not use content from our Services unless you obtain permission from its owner or are otherwise permitted by law. These terms do not grant you the right to use any branding or logos used in our Services. Don’t remove, obscure, or alter any legal notices displayed in or along with our Services. + +Our Services display some content that is not Google’s. This content is the sole responsibility of the entity that makes it available. We may review content to determine whether it is illegal or violates our policies, and we may remove or refuse to display content that we reasonably believe violates our policies or the law. But that does not necessarily mean that we review content, so please don’t assume that we do. + +In connection with your use of the Services, we may send you service announcements, administrative messages, and other information. You may opt out of some of those communications. + +Some of our Services are available on mobile devices. Do not use such Services in a way that distracts you and prevents you from obeying traffic or safety laws. +Your Google Account + +You may need a Google Account in order to use some of our Services. You may create your own Google Account, or your Google Account may be assigned to you by an administrator, such as your employer or educational institution. If you are using a Google Account assigned to you by an administrator, different or additional terms may apply and your administrator may be able to access or disable your account. + +To protect your Google Account, keep your password confidential. You are responsible for the activity that happens on or through your Google Account. Try not to reuse your Google Account password on third-party applications. If you learn of any unauthorized use of your password or Google Account, follow these instructions. +Privacy and Copyright Protection + +Google’s privacy policies explain how we treat your personal data and protect your privacy when you use our Services. + +We respond to notices of alleged copyright infringement and terminate accounts of repeat infringers according to the process set out in the U.S. Digital Millennium Copyright Act. + +We provide information to help copyright holders manage their intellectual property online. If you think somebody is violating your copyrights and want to notify us, you can find information about submitting notices and Google’s policy about responding to notices in our Help Center. +Your Content in our Services + +Some of our Services allow you to upload, submit, store, send or receive content. You retain ownership of any intellectual property rights that you hold in that content. In short, what belongs to you stays yours. + +When you upload, submit, store, send or receive content to or through our Services, you give Google (and those we work with) a worldwide license to use, host, store, reproduce, modify, create derivative works (such as those resulting from translations, adaptations or other changes we make so that your content works better with our Services), communicate, publish, publicly perform, publicly display and distribute such content. The rights you grant in this license are for the limited purpose of operating, promoting, and improving our Services, and to develop new ones. This license continues even if you stop using our Services (for example, for a business listing you have added to Google Maps). Some Services may offer you ways to access and remove content that has been provided to that Service. Also, in some of our Services, there are terms or settings that narrow the scope of our use of the content submitted in those Services. Make sure you have the necessary rights to grant us this license for any content that you submit to our Services. + +Our automated systems analyze your content (including emails) to provide you personally relevant product features, such as customized search results, tailored advertising, and spam and malware detection. This analysis occurs as the content is sent, received, and when it is stored. + +If you have a Google Account, we may display your Profile name, Profile photo, and actions you take on Google or on third-party applications connected to your Google Account (such as +1’s, reviews you write and comments you post) in our Services, including displaying in ads and other commercial contexts. We will respect the choices you make to limit sharing or visibility settings in your Google Account. For example, you can choose your settings so your name and photo do not appear in an ad. + +You can find more information about how Google uses and stores content in the privacy policy or additional terms for particular Services. If you submit feedback or suggestions about our Services, we may use your feedback or suggestions without obligation to you. +About Software in our Services + +When a Service requires or includes downloadable software, this software may update automatically on your device once a new version or feature is available. Some Services may let you adjust your automatic update settings. + +Google gives you a personal, worldwide, royalty-free, non-assignable and non-exclusive license to use the software provided to you by Google as part of the Services. This license is for the sole purpose of enabling you to use and enjoy the benefit of the Services as provided by Google, in the manner permitted by these terms. You may not copy, modify, distribute, sell, or lease any part of our Services or included software, nor may you reverse engineer or attempt to extract the source code of that software, unless laws prohibit those restrictions or you have our written permission. + +Open source software is important to us. Some software used in our Services may be offered under an open source license that we will make available to you. There may be provisions in the open source license that expressly override some of these terms. +Modifying and Terminating our Services + +We are constantly changing and improving our Services. We may add or remove functionalities or features, and we may suspend or stop a Service altogether. + +You can stop using our Services at any time, although we’ll be sorry to see you go. Google may also stop providing Services to you, or add or create new limits to our Services at any time. + +We believe that you own your data and preserving your access to such data is important. If we discontinue a Service, where reasonably possible, we will give you reasonable advance notice and a chance to get information out of that Service. +Our Warranties and Disclaimers + +We provide our Services using a commercially reasonable level of skill and care and we hope that you will enjoy using them. But there are certain things that we don’t promise about our Services. + +Other than as expressly set out in these terms or additional terms, neither Google nor its suppliers or distributors make any specific promises about the Services. For example, we don’t make any commitments about the content within the Services, the specific functions of the Services, or their reliability, availability, or ability to meet your needs. We provide the Services “as is”. + +Some jurisdictions provide for certain warranties, like the implied warranty of merchantability, fitness for a particular purpose and non-infringement. To the extent permitted by law, we exclude all warranties. +Liability for our Services + +When permitted by law, Google, and Google’s suppliers and distributors, will not be responsible for lost profits, revenues, or data, financial losses or indirect, special, consequential, exemplary, or punitive damages. + +To the extent permitted by law, the total liability of Google, and its suppliers and distributors, for any claims under these terms, including for any implied warranties, is limited to the amount you paid us to use the Services (or, if we choose, to supplying you the Services again). + +In all cases, Google, and its suppliers and distributors, will not be liable for any loss or damage that is not reasonably foreseeable. + +We recognize that in some countries, you might have legal rights as a consumer. If you are using the Services for a personal purpose, then nothing in these terms or any additional terms limits any consumer legal rights which may not be waived by contract. +Business uses of our Services + +If you are using our Services on behalf of a business, that business accepts these terms. It will hold harmless and indemnify Google and its affiliates, officers, agents, and employees from any claim, suit or action arising from or related to the use of the Services or violation of these terms, including any liability or expense arising from claims, losses, damages, suits, judgments, litigation costs and attorneys’ fees. +About these Terms + +We may modify these terms or any additional terms that apply to a Service to, for example, reflect changes to the law or changes to our Services. You should look at the terms regularly. We’ll post notice of modifications to these terms on this page. We’ll post notice of modified additional terms in the applicable Service. Changes will not apply retroactively and will become effective no sooner than fourteen days after they are posted. However, changes addressing new functions for a Service or changes made for legal reasons will be effective immediately. If you do not agree to the modified terms for a Service, you should discontinue your use of that Service. + +If there is a conflict between these terms and the additional terms, the additional terms will control for that conflict. + +These terms control the relationship between Google and you. They do not create any third party beneficiary rights. + +If you do not comply with these terms, and we don’t take action right away, this doesn’t mean that we are giving up any rights that we may have (such as taking action in the future). + +If it turns out that a particular term is not enforceable, this will not affect any other terms. +Governing Law and Courts + +If you are a consumer living in the European Economic Area or Switzerland: the laws and courts of your country of residence will apply to any dispute arising out of or relating to these terms. Disputes may be submitted for online resolution to the European Commission Online Dispute Resolution platform, but Google does not commit to and is not required to settle disputes before any alternative dispute resolution entity. + +If you are a business user in the European Economic Area or Switzerland: these terms are governed by English law and you and Google submit to the exclusive jurisdiction of the English courts in relation to any dispute arising out of or relating to these terms, but Google will still be allowed to apply for injunctive remedies (or other equivalent types of urgent legal remedy) in any jurisdiction. + +For information about how to contact Google, please visit our contact page. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-tos-2019.yml b/src/licensedcode/data/licenses/google-tos-2019.yml new file mode 100644 index 00000000000..205e8c779d4 --- /dev/null +++ b/src/licensedcode/data/licenses/google-tos-2019.yml @@ -0,0 +1,7 @@ +key: google-tos-2019 +short_name: Google TOS 2019 +name: Google Terms of Service 2019 +category: Proprietary Free +owner: Google +homepage_url: https://policies.google.com/terms/archive?hl=en +spdx_license_key: LicenseRef-scancode-google-tos-2019 diff --git a/src/licensedcode/data/licenses/google-tos-2020.LICENSE b/src/licensedcode/data/licenses/google-tos-2020.LICENSE new file mode 100644 index 00000000000..8d43b15bad8 --- /dev/null +++ b/src/licensedcode/data/licenses/google-tos-2020.LICENSE @@ -0,0 +1,260 @@ +Effective March 31, 2020 | Archived versions | Download PDF + +What’s covered in these terms +We know it’s tempting to skip these Terms of Service, but it’s important to establish what you can expect from us as you use Google services, and what we expect from you. + +These Terms of Service reflect the way Google’s business works, the laws that apply to our company, and certain things we’ve always believed to be true. As a result, these Terms of Service help define Google’s relationship with you as you interact with our services. For example, these terms include the following topic headings: + + What you can expect from us, which describes how we provide and develop our services + What we expect from you, which establishes certain rules for using our services + Content in Google services, which describes the intellectual property rights to the content you find in our services — whether that content belongs to you, Google, or others + In case of problems or disagreements, which describes other legal rights you have, and what to expect in case someone violates these terms + +Understanding these terms is important because, to use our services, you must accept these terms. + +Besides these terms, we also publish a Privacy Policy. Although it’s not part of these terms, we encourage you to read it to better understand how you can update, manage, export, and delete your information. +Service provider + +In the European Economic Area (EEA) and Switzerland, Google services are provided by, and you’re contracting with: + +Google Ireland Limited +incorporated and operating under the laws of Ireland (Registered Number: 368047) + +Gordon House, Barrow Street +Dublin 4 +Ireland +Age requirements + +If you’re under the age required to manage your own Google Account, you must have your parent or legal guardian’s permission to use a Google Account. Please have your parent or legal guardian read these terms with you. + +If you’re a parent or legal guardian, and you allow your child to use the services, then these terms apply to you and you’re responsible for your child’s activity on the services. + +Some Google services have additional age requirements as described in their service-specific additional terms and policies. +Contents +Introduction +Your relationship with Google +Using Google services +Content in Google services +Software in Google services +In case of problems or disagreements +About these terms +Your relationship with Google + +These terms help define the relationship between you and Google. Broadly speaking, we give you permission to use our services if you agree to follow these terms, which reflect how Google’s business works and how we earn money. When we speak of “Google,” “we,” “us,” and “our,” we mean Google Ireland Limited and its affiliates. +What you can expect from us +Provide a broad range of useful services +We provide a broad range of services that are subject to these terms, including: + + apps and sites (like Search and Maps) + platforms (like Google Play) + integrated services (like Maps embedded in other companies’ apps or sites) + devices (like Google Home) + +Our services are designed to work together, making it easier for you to move from one activity to the next. For example, Maps can remind you to leave for an appointment that appears in your Google Calendar. +Improve Google services + +We’re constantly developing new technologies and features to improve our services. For example, we invest in artificial intelligence that uses machine learning to detect and block spam and malware, and to provide you with innovative features, like simultaneous translations. As part of this continual improvement, we sometimes add or remove features and functionalities, increase or decrease limits to our services, and start offering new services or stop offering old ones. + +We maintain a rigorous product research program, so before we change or stop offering a service, we carefully consider your interests as a user, your reasonable expectations, and the potential impact on you and others. We only change or stop offering services for valid reasons, such as to improve performance or security, to comply with law, to prevent illegal activities or abuse, to reflect technical developments, or because a feature or an entire service is no longer popular enough or economical to offer. + +If we make material changes that negatively impact your use of our services or if we stop offering a service, we’ll provide you with reasonable advance notice and an opportunity to export your content from your Google Account using Google Takeout, except in urgent situations such as preventing abuse, responding to legal requirements, or addressing security and operability issues. +What we expect from you +Follow these terms and service-specific additional terms +The permission we give you to use our services continues as long as you meet your responsibilities in: + + these terms + service-specific additional terms, which could, for example, include things like additional age requirements + +We also make various policies, help centers, and other resources available to you to answer common questions and to set expectations about using our services. These resources include our Privacy Policy, Copyright Help Center, Safety Center, and other pages accessible from our policies site. + +Although we give you permission to use our services, we retain any intellectual property rights we have in the services. +Respect others +Many of our services allow you to interact with others. We want to maintain a respectful environment for everyone, which means you must follow these basic rules of conduct: + + comply with applicable laws, including export control, sanctions, and human trafficking laws + respect the rights of others, including privacy and intellectual property rights + don’t abuse or harm others or yourself (or threaten or encourage such abuse or harm) — for example, by misleading, defrauding, defaming, bullying, harassing, or stalking others + don’t abuse, harm, interfere with, or disrupt the services + +Our service-specific additional terms and policies provide additional details about appropriate conduct that everyone using those services must follow. If you find that others aren’t following these rules, many of our services allow you to report abuse. If we act on a report of abuse, we also provide a fair process as described in the Taking action in case of problems section. +Permission to use your content + +Some of our services are designed to let you upload, submit, store, send, receive, or share your content. You have no obligation to provide any content to our services and you’re free to choose the content that you want to provide. If you choose to upload or share content, please make sure you have the necessary rights to do so and that the content is lawful. +License + +Your content remains yours, which means that you retain any intellectual property rights that you have in your content. For example, you have intellectual property rights in the creative content you make, such as reviews you write. Or you may have the right to share someone else’s creative content if they’ve given you their permission. + +We need your permission if your intellectual property rights restrict our use of your content. You provide Google with that permission through this license. +What’s covered + +This license covers your content if that content is protected by intellectual property rights. +What’s not covered + + This license doesn’t affect your data protection rights — it’s only about your intellectual property rights + This license doesn’t cover these types of content: + publicly-available factual information that you provide, such as corrections to the address of a local business. That information doesn’t require a license because it’s considered common knowledge that everyone’s free to use. + feedback that you offer, such as suggestions to improve our services. Feedback is covered in the Service-related communications section below. + +Scope +This license is: + + worldwide, which means it’s valid anywhere in the world + non-exclusive, which means you can license your content to others + royalty-free, which means there are no fees for this license + +Rights + +This license allows Google to: + + host, reproduce, distribute, communicate, and use your content — for example, to save your content on our systems and make it accessible from anywhere you go + publish, publicly perform, or publicly display your content, if you’ve made it visible to others + modify your content, such as reformatting or translating it + sublicense these rights to: + other users to allow the services to work as designed, such as enabling you to share photos with people you choose + our contractors who’ve signed agreements with us that are consistent with these terms, only for the limited purposes described in the Purpose section below + +Purpose + +This license is for the limited purpose of: + + operating and improving the services, which means allowing the services to work as designed and creating new features and functionalities. This includes using automated systems and algorithms to analyze your content: + for spam, malware, and illegal content + to recognize patterns in data, such as determining when to suggest a new album in Google Photos to keep related photos together + to customize our services for you, such as providing recommendations and personalized search results, content, and ads (which you can change or turn off in Ads Settings) + This analysis occurs as the content is sent, received, and when it is stored. + using content you’ve shared publicly to promote the services. For example, to promote a Google app, we might quote a review you wrote. Or to promote Google Play, we might show a screenshot of the app you offer in the Play Store. + developing new technologies and services for Google consistent with these terms + +Duration + +This license lasts for as long as your content is protected by intellectual property rights. + +If you remove from our services any content that’s covered by this license, then our systems will stop making that content publicly available in a reasonable amount of time. There are two exceptions: + + If you already shared your content with others before removing it. For example, if you shared a photo with a friend who then made a copy of it, or shared it again, then that photo may continue to appear in your friend’s Google Account even after you remove it from your Google Account. + If you make your content available through other companies’ services, it’s possible that search engines, including Google Search, will continue to find and display your content as part of their search results. + +Using Google services +Your Google Account + +If you meet these age requirements you can create a Google Account for your convenience. Some services require that you have a Google Account in order to work — for example, to use Gmail, you need a Google Account so that you have a place to send and receive your email. + +You’re responsible for what you do with your Google Account, including taking reasonable steps to keep your Google Account secure, and we encourage you to regularly use the Security Checkup. +Using Google services on behalf of an organization or business +Many organizations, such as businesses, non-profits, and schools, take advantage of our services. To use our services on behalf of an organization: + + an authorized representative of that organization must agree to these terms + your organization’s administrator may assign a Google Account to you. That administrator might require you to follow additional rules and may be able to access or disable your Google Account. + +If you’re based in the European Union, then these terms don’t affect the rights you may have as a business user of online intermediation services — including online platforms such as Google Play — under the EU Platform-to-Business Regulation. +Service-related communications + +To provide you with our services, we sometimes send you service announcements and other information. To learn more about how we communicate with you, see Google’s Privacy Policy. + +If you choose to give us feedback, such as suggestions to improve our services, we may act on your feedback without obligation to you. +Content in Google services +Your content + +Some of our services give you the opportunity to make your content publicly available — for example, you might post a product or restaurant review that you wrote, or you might upload a blog post that you created. + + See the Permission to use your content section for more about your rights in your content, and how your content is used in our services + See the Removing your content section to learn why and how we might remove user-generated content from our services + +If you think someone is infringing your intellectual property rights, you can send us notice of the infringement and we’ll take appropriate action. For example, we suspend or close the Google Accounts of repeat copyright infringers as described in our Copyright Help Center. +Google content + +Some of our services include content that belongs to Google — for example, many of the visual illustrations you see in Google Maps. You may use Google’s content as allowed by these terms and any service-specific additional terms, but we retain any intellectual property rights that we have in our content. Don’t remove, obscure, or alter any of our branding, logos, or legal notices. If you want to use our branding or logos, please see the Google Brand Permissions page. +Other content + +Finally, some of our services give you access to content that belongs to other people or organizations — for example, a store owner’s description of their own business, or a newspaper article displayed in Google News. You may not use this content without that person or organization’s permission, or as otherwise allowed by law. The views expressed in other people or organizations’ content are theirs, and don’t necessarily reflect Google’s views. +Software in Google services + +Some of our services include downloadable software. We give you permission to use that software as part of the services. +The license we give you is: + + worldwide, which means it’s valid anywhere in the world + non-exclusive, which means that we can license the software to others + royalty-free, which means there are no fees for this license + personal, which means it doesn’t extend to anyone else + non-assignable, which means you’re not allowed to assign the license to anyone else + +Some of our services include software that’s offered under open source license terms that we make available to you. Sometimes there are provisions in the open source license that explicitly override parts of these terms, so please be sure to read those licenses. + +You may not copy, modify, distribute, sell, or lease any part of our services or software. Also, you may not reverse engineer or attempt to extract any of our source code unless you have our written permission or applicable law lets you do so. + +When a service requires or includes downloadable software, that software sometimes updates automatically on your device once a new version or feature is available. Some services let you adjust your automatic update settings. +In case of problems or disagreements + +By law, you have the right to (1) a certain quality of service, and (2) ways to fix problems if things go wrong. These terms don’t limit or take away any of those rights. For example, if you’re a consumer, then you continue to enjoy all legal rights granted to consumers under applicable law. +Warranty + +We provide our services using reasonable skill and care. If we don’t meet the quality level described in this warranty, you agree to tell us and we’ll work with you to try to resolve the issue. +Disclaimers + +The only commitments we make about our services (including the content in the services, the specific functions of our services, or their reliability, availability, or ability to meet your needs) are (1) described in the Warranty section, (2) stated in the service-specific additional terms, or (3) provided under applicable laws. We don’t make any other commitments about our services. +Liabilities +For all users + +These terms only limit our responsibilities as allowed by applicable law. Specifically, these terms don’t limit Google’s liability for death or personal injury, fraud, fraudulent misrepresentation, gross negligence, or willful misconduct. + +Other than the rights and responsibilities described in this section (In case of problems or disagreements), Google won’t be responsible for any other losses, unless they’re caused by our breach of these terms or service-specific additional terms. +For business users and organizations only + +If you’re a business user or organization, then to the extent allowed by applicable law: + + You’ll indemnify Google and its directors, officers, employees, and contractors for any third-party legal proceedings (including actions by government authorities) arising out of or relating to your unlawful use of the services or violation of these terms or service-specific additional terms. This indemnity covers any liability or expense arising from claims, losses, damages, judgments, fines, litigation costs, and legal fees. + Google won’t be responsible for the following liabilities: + loss of profits, revenues, business opportunities, goodwill, or anticipated savings + indirect or consequential loss + punitive damages + Google’s total liability arising out of or relating to these terms is limited to the greater of (1) €500 or (2) 125% of the fees that you paid to use the relevant services in the 12 months before the breach + +If you’re legally exempt from certain responsibilities, including indemnification, then those responsibilities don’t apply to you under these terms. For example, the United Nations enjoys certain immunities from legal obligations and these terms don’t override those immunities. +Taking action in case of problems + +Before taking action as described below, we’ll provide you with advance notice when reasonably possible, describe the reason for our action, and give you an opportunity to fix the problem, unless we reasonably believe that doing so would: + + cause harm or liability to a user, third party, or Google + violate the law or a legal enforcement authority’s order + compromise an investigation + compromise the operation, integrity, or security of our services + +Removing your content + +If we reasonably believe that any of your content (1) breaches these terms, service-specific additional terms or policies, (2) violates applicable law, or (3) could harm our users, third parties, or Google, then we reserve the right to take down some or all of that content in accordance with applicable law. Examples include child pornography, content that facilitates human trafficking or harassment, and content that infringes someone else’s intellectual property rights. +Suspending or terminating your access to Google services + +Google reserves the right to suspend or terminate your access to the services or delete your Google Account if any of these things happen: + + you materially or repeatedly breach these terms, service-specific additional terms or policies + we’re required to do so to comply with a legal requirement or a court order + we reasonably believe that your conduct causes harm or liability to a user, third party, or Google — for example, by hacking, phishing, harassing, spamming, misleading others, or scraping content that doesn’t belong to you + +If you believe your Google Account has been suspended or terminated in error, you can appeal. + +Of course, you’re always free to stop using our services at any time. If you do stop using a service, we’d appreciate knowing why so that we can continue improving our services. +Handling requests for your data + +Respect for the privacy and security of your data underpins our approach to responding to data disclosure requests. When we receive data disclosure requests, our team reviews them to make sure they satisfy legal requirements and Google’s data disclosure policies. Google Ireland Limited accesses and discloses data, including communications, in accordance with the laws of Ireland, and EU law applicable in Ireland. For more information about the data disclosure requests that Google receives worldwide, and how we respond to such requests, see our Transparency Report and Privacy Policy. +Settling disputes, governing law, and courts + +For information about how to contact Google, please visit our contact page. + +If you’re a resident of, or an organization based in, the European Economic Area (EEA) or Switzerland, these terms and your relationship with Google under these terms and service-specific additional terms, are governed by the laws of your country of residence, and you can file legal disputes in your local courts. + +If you’re a consumer living in the EEA, you may also file disputes regarding online purchases using the European Commission’s Online Dispute Resolution platform, which we accept if required by law. +About these terms + +By law, you have certain rights that can’t be limited by a contract like these terms of service. These terms are in no way intended to restrict those rights. + +These terms describe the relationship between you and Google. They don’t create any legal rights for other people or organizations, even if others benefit from that relationship under these terms. + +We want to make these terms easy to understand, so we’ve used examples from our services. But not all services mentioned may be available in your country. + +If it turns out that a particular term is not valid or enforceable, this will not affect any other terms. + +If you don’t follow these terms or the service-specific additional terms, and we don’t take action right away, that doesn’t mean we’re giving up any rights that we may have, such as taking action in the future. + +We may update these terms and service-specific additional terms (1) to reflect changes in our services or how we do business — for example, when we add new services, features, technologies, pricing, or benefits (or remove old ones), (2) for legal, regulatory, or security reasons, or (3) to prevent abuse or harm. + +If we materially change these terms or service-specific additional terms, we’ll provide you with reasonable advance notice and the opportunity to review the changes, except (1) when we launch a new service or feature, or (2) in urgent situations, such as preventing ongoing abuse or responding to legal requirements. If you don’t agree to the new terms, you should remove your content and stop using the services. You can also end your relationship with us at any time by closing your Google Account. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-tos-2020.yml b/src/licensedcode/data/licenses/google-tos-2020.yml new file mode 100644 index 00000000000..861ba31e56b --- /dev/null +++ b/src/licensedcode/data/licenses/google-tos-2020.yml @@ -0,0 +1,7 @@ +key: google-tos-2020 +short_name: Google TOS 2020 +name: Google Terms of Service 2020 +category: Proprietary Free +owner: Google +homepage_url: https://policies.google.com/terms/archive?hl=en +spdx_license_key: LicenseRef-scancode-google-tos-2020 diff --git a/src/licensedcode/data/licenses/infonode-1.1.yml b/src/licensedcode/data/licenses/infonode-1.1.yml index c8e30f54fef..d11eef42b1e 100644 --- a/src/licensedcode/data/licenses/infonode-1.1.yml +++ b/src/licensedcode/data/licenses/infonode-1.1.yml @@ -8,9 +8,9 @@ spdx_license_key: LicenseRef-scancode-infonode-1.1 other_urls: - http://www.nnl.se/html/english/index.html ignorable_copyrights: - - Copyright (c) 2004 NNL Technology + - Copyright (c) 2004 NNL Technology AB, www.nnl.se ignorable_holders: - - NNL Technology + - NNL Technology AB, www.nnl.se ignorable_urls: - http://proguard.sourceforge.net/ - http://www.nnl.se/ diff --git a/src/licensedcode/data/licenses/license-file-reference.yml b/src/licensedcode/data/licenses/license-file-reference.yml index 988690a36e5..756c631a39f 100644 --- a/src/licensedcode/data/licenses/license-file-reference.yml +++ b/src/licensedcode/data/licenses/license-file-reference.yml @@ -4,4 +4,5 @@ short_name: license-file-reference name: license-file-reference category: Unstated License owner: Unspecified +is_unknown: yes notes: this was known before as "see-license" and is now unknown-license-reference diff --git a/src/licensedcode/data/licenses/mtll.yml b/src/licensedcode/data/licenses/mtll.yml index bcf546280b4..0237c21394a 100644 --- a/src/licensedcode/data/licenses/mtll.yml +++ b/src/licensedcode/data/licenses/mtll.yml @@ -10,4 +10,7 @@ notes: | several ways. It is Free, but GPL-incompatible. spdx_license_key: MTLL ignorable_authors: - - permission, please contact Indiana University Advanced Research & Technology +- at the University of Notre Dame, the Pervasive Technology Labs at Indiana University, and + Dresden University of Technology +- permission, please contact Indiana University Advanced Research & Technology + diff --git a/src/licensedcode/data/licenses/node-js.yml b/src/licensedcode/data/licenses/node-js.yml index 381a15e403b..44d8bfeab7e 100644 --- a/src/licensedcode/data/licenses/node-js.yml +++ b/src/licensedcode/data/licenses/node-js.yml @@ -30,6 +30,7 @@ ignorable_copyrights: - copyright Joyent, Inc. and other Node contributors - copyrighted by Apple Computer, Inc. - copyrighted by Sun Microsystems Inc. + - copyrighted by the University of Cambridge and Google, Inc. ignorable_authors: - Eric Young (eay@cryptsoft.com) - Mathias Pettersson and Brian Hammond @@ -52,6 +53,7 @@ ignorable_holders: - The Perl Foundation - Tjarda Koster - the Massachusetts Institute of Technology + - the University of Cambridge and Google, Inc. - the V8 project authors ignorable_urls: - http://jelloween.deviantart.com/ diff --git a/src/licensedcode/data/licenses/non-violent-4.0.yml b/src/licensedcode/data/licenses/non-violent-4.0.yml index 107ef274b95..725595780b8 100644 --- a/src/licensedcode/data/licenses/non-violent-4.0.yml +++ b/src/licensedcode/data/licenses/non-violent-4.0.yml @@ -5,7 +5,5 @@ category: Proprietary Free owner: Thufie homepage_url: https://thufie.lain.haus/NPL.html spdx_license_key: LicenseRef-scancode-non-violent-4.0 -ignorable_authors: - - the Web Service ignorable_urls: - https://thufie.lain.haus/NPL.html diff --git a/src/licensedcode/data/licenses/nvidia-cuda-supplement-2020.yml b/src/licensedcode/data/licenses/nvidia-cuda-supplement-2020.yml index 7fa067f30e5..007f8077f24 100644 --- a/src/licensedcode/data/licenses/nvidia-cuda-supplement-2020.yml +++ b/src/licensedcode/data/licenses/nvidia-cuda-supplement-2020.yml @@ -32,6 +32,7 @@ ignorable_authors: - Davide Barbieri - IMPACT Group, University of Illinois, http://impact.crhc.illinois.edu - Jonathan Hogg + - LLVM Team - Li-Wen Chang - Mutsuo Saito and Makoto Matsumoto - Norbert Juffa diff --git a/src/licensedcode/data/licenses/openssl-exception-agpl-3.0-monit.LICENSE b/src/licensedcode/data/licenses/openssl-exception-agpl-3.0-monit.LICENSE new file mode 100644 index 00000000000..9678d9e967e --- /dev/null +++ b/src/licensedcode/data/licenses/openssl-exception-agpl-3.0-monit.LICENSE @@ -0,0 +1,8 @@ + * In addition, as a special exception, the copyright holders give + * permission to link the code of portions of this program with the + * OpenSSL library under certain conditions as described in each + * individual source file, and distribute linked combinations + * including the two. + * + * You must obey the GNU Affero General Public License in all respects + * for all of the code used other than OpenSSL. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/openssl-exception-agpl-3.0-monit.yml b/src/licensedcode/data/licenses/openssl-exception-agpl-3.0-monit.yml new file mode 100644 index 00000000000..a6a2cd55b4e --- /dev/null +++ b/src/licensedcode/data/licenses/openssl-exception-agpl-3.0-monit.yml @@ -0,0 +1,8 @@ +key: openssl-exception-agpl-3.0-monit +short_name: OpenSSL exception to AGPL 3.0 - Monit style +name: OpenSSL exception to AGPL 3.0 - Monit style +category: Copyleft +owner: Tildeslash +is_exception: yes +spdx_license_key: LicenseRef-scancode-openssl-exception-agpl-3.0-monit +notes: Similar to openssl-exception-agpl-3.0 but cannot be removed. diff --git a/src/licensedcode/data/licenses/openssl-exception-agpl-3.0-plus.yml b/src/licensedcode/data/licenses/openssl-exception-agpl-3.0-plus.yml index c917a49f8c6..7ed186dc19c 100644 --- a/src/licensedcode/data/licenses/openssl-exception-agpl-3.0-plus.yml +++ b/src/licensedcode/data/licenses/openssl-exception-agpl-3.0-plus.yml @@ -1,7 +1,7 @@ key: openssl-exception-agpl-3.0-plus short_name: OpenSSL exception to AGPL 3.0 or later name: OpenSSL exception to AGPL 3.0 or later -category: Copyleft Limited +category: Copyleft owner: Unspecified is_exception: yes spdx_license_key: LicenseRef-scancode-openssl-exception-agpl-3.0-plus diff --git a/src/licensedcode/data/licenses/openssl-exception-agpl-3.0.yml b/src/licensedcode/data/licenses/openssl-exception-agpl-3.0.yml index 89ab063dd69..afe5b594231 100644 --- a/src/licensedcode/data/licenses/openssl-exception-agpl-3.0.yml +++ b/src/licensedcode/data/licenses/openssl-exception-agpl-3.0.yml @@ -1,7 +1,7 @@ key: openssl-exception-agpl-3.0 short_name: OpenSSL exception to AGPL 3.0 name: OpenSSL exception to AGPL 3.0 -category: Copyleft Limited +category: Copyleft owner: MongoDB is_exception: yes spdx_license_key: LicenseRef-scancode-openssl-exception-agpl-3.0 diff --git a/src/licensedcode/data/licenses/openssl-exception-gpl-2.0-plus.yml b/src/licensedcode/data/licenses/openssl-exception-gpl-2.0-plus.yml index cdd502948d5..27ca1aeefc2 100644 --- a/src/licensedcode/data/licenses/openssl-exception-gpl-2.0-plus.yml +++ b/src/licensedcode/data/licenses/openssl-exception-gpl-2.0-plus.yml @@ -1,7 +1,7 @@ key: openssl-exception-gpl-2.0-plus short_name: OpenSSL exception to GPL 2.0 or later name: OpenSSL exception to GPL 2.0 or later -category: Copyleft Limited +category: Copyleft owner: magnumripper homepage_url: https://github.com/magnumripper/JohnTheRipper/blob/1.8.0/doc/LICENSE is_exception: yes diff --git a/src/licensedcode/data/licenses/openssl-exception-gpl-2.0.yml b/src/licensedcode/data/licenses/openssl-exception-gpl-2.0.yml index 09e18ffcada..172ac3d6934 100644 --- a/src/licensedcode/data/licenses/openssl-exception-gpl-2.0.yml +++ b/src/licensedcode/data/licenses/openssl-exception-gpl-2.0.yml @@ -1,7 +1,7 @@ key: openssl-exception-gpl-2.0 short_name: OpenSSL exception to GPL 2.0 name: OpenSSL exception to GPL 2.0 -category: Copyleft Limited +category: Copyleft owner: OpenSSL homepage_url: http://www.openssl.org/source/license.html notes: this is typically used with GPL 2.0 but sometimes seen with GPL 3.0 diff --git a/src/licensedcode/data/licenses/openssl-exception-gpl-3.0-plus.yml b/src/licensedcode/data/licenses/openssl-exception-gpl-3.0-plus.yml index 66cfc2f6f30..7b23a08fd81 100644 --- a/src/licensedcode/data/licenses/openssl-exception-gpl-3.0-plus.yml +++ b/src/licensedcode/data/licenses/openssl-exception-gpl-3.0-plus.yml @@ -1,7 +1,7 @@ key: openssl-exception-gpl-3.0-plus short_name: OpenSSL exception to GPL 3.0 or later name: OpenSSL exception to GPL 3.0 or later -category: Copyleft Limited +category: Copyleft owner: Tildeslash is_exception: yes spdx_license_key: LicenseRef-scancode-openssl-exception-gpl-3.0-plus diff --git a/src/licensedcode/data/licenses/openssl-ssleay.yml b/src/licensedcode/data/licenses/openssl-ssleay.yml index 40977ede49b..0e3960420f3 100644 --- a/src/licensedcode/data/licenses/openssl-ssleay.yml +++ b/src/licensedcode/data/licenses/openssl-ssleay.yml @@ -13,17 +13,20 @@ text_urls: - http://www.openssl.org/source/license.html faq_url: http://www.openssl.org/support/faq.html minimum_coverage: 70 -ignorable_copyrights: - - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) ignorable_authors: - Eric Young (eay@cryptsoft.com) - Tim Hudson (tjh@cryptsoft.com) - the OpenSSL Project +ignorable_copyrights: + - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) +ignorable_emails: + - eay@cryptsoft.com + - openssl-core@openssl.org + - tjh@cryptsoft.com ignorable_holders: - - Eric Young + - Eric Young + - Tim Hudson ignorable_urls: - - http://www.openssl.org/ -ignorable_emails: - - eay@cryptsoft.com - - openssl-core@openssl.org - - tjh@cryptsoft.com + - http://www.openssl.org/ + diff --git a/src/licensedcode/data/licenses/paraview-1.2.yml b/src/licensedcode/data/licenses/paraview-1.2.yml index 53670dd57e1..de53d0abf81 100644 --- a/src/licensedcode/data/licenses/paraview-1.2.yml +++ b/src/licensedcode/data/licenses/paraview-1.2.yml @@ -17,6 +17,7 @@ ignorable_copyrights: University of Illinois ignorable_authors: - the National Center for Supercomputing Applications at the University of Illinois at Urbana-Champaign + - with support from the University of California, Lawrence Livermore National Laboratory ignorable_holders: - Kitware Inc. 28 Corporate Drive, Suite 204, Clifton Park, NY, 12065, USA. - Los Alamos National Laboratory diff --git a/src/licensedcode/data/licenses/pbl-1.0.LICENSE b/src/licensedcode/data/licenses/pbl-1.0.LICENSE new file mode 100644 index 00000000000..161bfd20eb3 --- /dev/null +++ b/src/licensedcode/data/licenses/pbl-1.0.LICENSE @@ -0,0 +1,49 @@ +Permissive Binary License + +Version 1.0, September 2015 + +Redistribution. Redistribution and use in binary form, without +modification, are permitted provided that the following conditions are +met: + +1) Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + +2) Unless to the extent explicitly permitted by law, no reverse + engineering, decompilation, or disassembly of this software is + permitted. + +3) Redistribution as part of a software development kit must include the + accompanying file named "DEPENDENCIES" and any dependencies listed in + that file. + +4) Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +Limited patent license. The copyright holders (and contributors) grant a +worldwide, non-exclusive, no-charge, royalty-free patent license to +make, have made, use, offer to sell, sell, import, and otherwise +transfer this software, where such license applies only to those patent +claims licensable by the copyright holders (and contributors) that are +necessarily infringed by this software. This patent license shall not +apply to any combinations that include this software. No hardware is +licensed hereunder. + +If you institute patent litigation against any entity (including a +cross-claim or counterclaim in a lawsuit) alleging that the software +itself infringes your patent(s), then your rights granted under this +license shall terminate as of the date such litigation is filed. + +DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND +CONTRIBUTORS "AS IS." ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT +NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/src/licensedcode/data/licenses/pbl-1.0.yml b/src/licensedcode/data/licenses/pbl-1.0.yml new file mode 100644 index 00000000000..1ad3152921b --- /dev/null +++ b/src/licensedcode/data/licenses/pbl-1.0.yml @@ -0,0 +1,9 @@ +key: pbl-1.0 +short_name: PBL-1.0 +name: PERMISSIVE BINARY LICENSE v1.0 +owner: mbed +category: Permissive +spdx_license_key: LicenseRef-scancode-pbl-1.0 +text_urls: + - https://os.mbed.com/licenses/permissive-binary-license/ + \ No newline at end of file diff --git a/src/licensedcode/data/licenses/qhull.yml b/src/licensedcode/data/licenses/qhull.yml index 3658ad10e09..455833fb388 100644 --- a/src/licensedcode/data/licenses/qhull.yml +++ b/src/licensedcode/data/licenses/qhull.yml @@ -8,9 +8,11 @@ spdx_license_key: Qhull other_urls: - https://fedoraproject.org/wiki/Licensing/Qhull ignorable_copyrights: - - Qhull, Copyright (c) 1993-2003 + - Qhull, Copyright (c) 1993-2003 The National Science and Technology Research Center for Computation + and Visualization of Geometric Structures (The Geometry Center) University of Minnesota ignorable_holders: - - Qhull + - Qhull, The National Science and Technology Research Center for Computation and Visualization + of Geometric Structures (The Geometry Center) University of Minnesota ignorable_urls: - http://www.qhull.org/ ignorable_emails: diff --git a/src/licensedcode/data/licenses/see-license.yml b/src/licensedcode/data/licenses/see-license.yml index 199cbc94e34..069252efcd2 100644 --- a/src/licensedcode/data/licenses/see-license.yml +++ b/src/licensedcode/data/licenses/see-license.yml @@ -4,4 +4,5 @@ name: See License mention category: Unstated License owner: Unspecified is_deprecated: yes +is_unknown: yes notes: replaced by unknown-license-reference \ No newline at end of file diff --git a/src/licensedcode/data/licenses/ssleay-windows.yml b/src/licensedcode/data/licenses/ssleay-windows.yml index cde9722b1c7..f2b7956262f 100644 --- a/src/licensedcode/data/licenses/ssleay-windows.yml +++ b/src/licensedcode/data/licenses/ssleay-windows.yml @@ -12,6 +12,11 @@ other_urls: ignorable_authors: - Eric Young (eay@cryptsoft.com) - Tim Hudson (tjh@cryptsoft.com) +ignorable_copyrights: + - holder is Tim Hudson (tjh@cryptsoft.com) ignorable_emails: - - eay@cryptsoft.com - - tjh@cryptsoft.com + - eay@cryptsoft.com + - tjh@cryptsoft.com +ignorable_holders: + - Tim Hudson + diff --git a/src/licensedcode/data/licenses/ssleay.yml b/src/licensedcode/data/licenses/ssleay.yml index 33da9b9eeb5..ba1284d55bb 100644 --- a/src/licensedcode/data/licenses/ssleay.yml +++ b/src/licensedcode/data/licenses/ssleay.yml @@ -9,6 +9,11 @@ text_urls: - http://www.openssl.org/source/license.html ignorable_authors: - Eric Young (eay@cryptsoft.com) +ignorable_copyrights: + - holder is Tim Hudson (tjh@cryptsoft.com) ignorable_emails: - - eay@cryptsoft.com - - tjh@cryptsoft.com + - eay@cryptsoft.com + - tjh@cryptsoft.com +ignorable_holders: + - Tim Hudson + diff --git a/src/licensedcode/data/licenses/ttcl.LICENSE b/src/licensedcode/data/licenses/ttcl.LICENSE new file mode 100644 index 00000000000..222a66d6902 --- /dev/null +++ b/src/licensedcode/data/licenses/ttcl.LICENSE @@ -0,0 +1,57 @@ +The Talis Community Licence is intended to guarantee your freedom to use, share and modify data and to preserve the availability and accessibility of such data for the wider community. + +Definitions +You means an individual or a legal entity exercising rights under, and complying with all of the terms of, this Licence or a future version of this Licence. +Data means the data protected by database right which is offered under the terms of this Licence consisting of the Initial Data or Contributions or the combination of Initial Data and Contributions, in each case including portions thereof. +Initial Data means the initial body of data offered under the terms of this Licence. +Original Author means the individual (or entity) who created the Initial Data. +Licence means this document. +Derived Work means any work created by the editing, modification, adaptation or translation of the Data in any media. +Contributor means each entity that creates or contributes to the creation of Contributions. +Contributions means any addition to or deletion from the substance or structure of either the Initial Data or any other Contributions. +Licence Terms +Original Author Grant +Subject to third party intellectual property claims, the Original Author hereby grants You a world-wide, royalty-free, non-exclusive licence to: + +(a) use, reproduce, display, transmit, sublicence, sell and distribute copies of the Initial Data with or without Contributions; and + +(b) modify Your copy of the Initial Data or any portion of it thus forming a Derived Work; and + +(c) use, reproduce, display, transmit, sublicence, sell and distribute such Derived Work provided that You cause any Derived Work that you distribute or publish, that in whole or part contains or is derived from the Initial Data or any part thereof to be licenced as a whole to all third parties under the terms of this Licence. + +Contributor Grant +Subject to third party intellectual property claims, each Contributor hereby grants You a world-wide, royalty-free, non-exclusive licence to: + +(a) use, reproduce, display, transmit, sublicence and distribute the Contributions created by each such Contributor; and + +(b) modify Your copy of the Contributions or any portion of them thus forming a Derived Work; and + +(c) use, reproduce, display, transmit, sublicence, sell and distribute such Derived Work provided that You cause any Derived Work that you distribute or publish, that in whole or part contains or is derived from the Contributions or any part thereof to be licenced as a whole to all third parties under the terms of this Licence. + +Distribution Obligations +You must include a copy of this Licence with every copy of the Data or any portion of it You distribute and/or make available for electronic access. You must keep intact any notices of copyright ownership and any notices of database right. You must include the following text in each file containing part or whole of the Data: + +The contents of this file are subject to the Talis Community Licence (the "Licence"); you may not use this file except in compliance with the Licence. You may obtain a copy of the Licence at http://tdnarchive.capita-libraries.co.uk/tcl + +If it is not possible to put such notice in a particular file due to its structure, then You must include such notice in a location (such as a relevant directory) where a user would be likely to look for such a notice. You must also duplicate this Licence prominently in any documentation for the Data or any portion of it. + +Multiple Licenced Data +The Original Author may designate portions of the Data as Multiple-Licensed. Multiple-Licensed means that the Original Author permits you to utilize portions of the Data under Your choice of this Licence or the alternative licences, if any, specified by the Original Author. + +Warranties and Disclaimer +Except as required by law, the Data is licensed by the Original Author ,and/or Contributors on an "as is" and "as available" basis and without any warranty of any kind, either express or implied. + +Limit of Liability +Subject to any liability which may not be excluded or limited by law the Original Author ,and/or Contributors shall not be liable and hereby expressly excludes all liability for loss or damage howsoever and whenever caused to You. + +Termination +The rights granted to You under this Licence shall terminate automatically upon any breach by You of the terms of this Licence. + +Entire Agreement +This Licence constitutes the entire Licence Agreement between the parties with respect to the Data licensed here. There are no understandings, agreements or representations with respect to the Data not specified here. The Original Author and/or any Contributors shall not be bound by any additional provisions that may appear in any communication in any form. + +Severability +If any provision of this Licence Agreement shall be held to be invalid or unenforceable for any reason, the remaining provisions shall continue to be valid and enforceable. If a court finds that any provision of this Agreement is invalid or unenforceable, but that by limiting such provision it would become valid and enforceable, then such provision shall be deemed to be written, construed, and enforced as so limited. + +Applicable Law +This Licence shall be governed by the law of England and Wales and the parties irrevocably submit to the exclusive jurisdiction of the Courts of England and Wales. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/ttcl.yml b/src/licensedcode/data/licenses/ttcl.yml new file mode 100644 index 00000000000..d0d9d633949 --- /dev/null +++ b/src/licensedcode/data/licenses/ttcl.yml @@ -0,0 +1,11 @@ +key: ttcl +short_name: TCL +name: The Talis Community License +category: Permissive +owner: Open Knowledge Foundation +spdx_license_key: LicenseRef-scancode-ttcl +homepage_url: https://opendefinition.org/licenses/tcl/ +text_urls: + - https://web.archive.org/web/20130923083859/http://tdnarchive.capita-libraries.co.uk/tcl +ignorable_urls: + - http://tdnarchive.capita-libraries.co.uk/tcl diff --git a/src/licensedcode/data/licenses/ttyp0.LICENSE b/src/licensedcode/data/licenses/ttyp0.LICENSE new file mode 100644 index 00000000000..3df2e4c4e95 --- /dev/null +++ b/src/licensedcode/data/licenses/ttyp0.LICENSE @@ -0,0 +1,29 @@ +THE TTYP0 LICENSE + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this font software and associated files (the "Software"), +to deal in the Software without restriction, including without +limitation the rights to use, copy, modify, merge, publish, +distribute, embed, sublicense, and/or sell copies of the Software, +and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +(1) The above copyright notice, this permission notice, and the + disclaimer below shall be included in all copies or substantial + portions of the Software. + +(2) If the design of any glyphs in the fonts that are contained in the + Software or generated during the installation process is modified + or if additional glyphs are added to the fonts, the fonts + must be renamed. The new names may not contain the word "UW", + irrespective of capitalisation; the new names may contain the word + "ttyp0", irrespective of capitalisation, only if preceded by a + foundry name different from "UW". + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/src/licensedcode/data/licenses/ttyp0.yml b/src/licensedcode/data/licenses/ttyp0.yml new file mode 100644 index 00000000000..8e52c46bafa --- /dev/null +++ b/src/licensedcode/data/licenses/ttyp0.yml @@ -0,0 +1,8 @@ +key: ttyp0 +short_name: TTYP0 +name: TTYP0 +category: Permissive +owner: Uwe Waldmann +homepage_url: https://people.mpi-inf.mpg.de/~uwe/misc/uw-ttyp0/ +spdx_license_key: LicenseRef-scancode-ttyp0 +minimum_coverage: 70 diff --git a/src/licensedcode/data/licenses/unknown-license-reference.yml b/src/licensedcode/data/licenses/unknown-license-reference.yml index aaa91270b91..14e089533f0 100644 --- a/src/licensedcode/data/licenses/unknown-license-reference.yml +++ b/src/licensedcode/data/licenses/unknown-license-reference.yml @@ -3,6 +3,7 @@ short_name: Unknown License reference name: Unknown License file reference category: Unstated License owner: Unspecified +is_unknown: yes notes: This is reference to a license file with no clear license. this was known before as "see-license" and "license-file-reference" spdx_license_key: LicenseRef-scancode-unknown-license-reference diff --git a/src/licensedcode/data/licenses/unknown-spdx.yml b/src/licensedcode/data/licenses/unknown-spdx.yml index 4ef348cf70b..f1eee5cd342 100644 --- a/src/licensedcode/data/licenses/unknown-spdx.yml +++ b/src/licensedcode/data/licenses/unknown-spdx.yml @@ -3,6 +3,7 @@ short_name: unknown SPDX name: Unknown SPDX license detected but not recognized category: Unstated License owner: Unspecified +is_unknown: yes spdx_license_key: LicenseRef-scancode-unknown-spdx notes: This is something that clearly ressembles a license in an SPDX license expression but is not conclusively an SPDX license ID. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/unknown.yml b/src/licensedcode/data/licenses/unknown.yml index faf9905a553..1de9d243167 100644 --- a/src/licensedcode/data/licenses/unknown.yml +++ b/src/licensedcode/data/licenses/unknown.yml @@ -3,5 +3,6 @@ short_name: unknown name: Unknown license detected but not recognized category: Unstated License owner: Unspecified +is_unknown: yes spdx_license_key: LicenseRef-scancode-unknown notes: This is something that clearly ressembles a license but is not conclusive. diff --git a/src/licensedcode/data/licenses/xfree86-1.0.yml b/src/licensedcode/data/licenses/xfree86-1.0.yml index b0d605d9c0a..604b593e428 100644 --- a/src/licensedcode/data/licenses/xfree86-1.0.yml +++ b/src/licensedcode/data/licenses/xfree86-1.0.yml @@ -8,5 +8,4 @@ spdx_license_key: LicenseRef-scancode-xfree86-1.0 text_urls: - http://www.xfree86.org/current/LICENSE5.html minimum_coverage: 80 -ignorable_authors: - - authorization from the XFree86 Project + diff --git a/src/licensedcode/data/licenses/xfree86-1.1.yml b/src/licensedcode/data/licenses/xfree86-1.1.yml index f9f77bda115..381652b2a5d 100644 --- a/src/licensedcode/data/licenses/xfree86-1.1.yml +++ b/src/licensedcode/data/licenses/xfree86-1.1.yml @@ -11,6 +11,5 @@ faq_url: http://www.xfree86.org/current/LICENSE4.html minimum_coverage: 70 ignorable_authors: - The XFree86 Project, Inc (http://www.xfree86.org/) - - authorization from The XFree86 Project, Inc. ignorable_urls: - http://www.xfree86.org/ diff --git a/src/licensedcode/data/rules/afl-1.1_5.RULE b/src/licensedcode/data/rules/afl-1.1_5.RULE new file mode 100644 index 00000000000..6a89a5694a7 --- /dev/null +++ b/src/licensedcode/data/rules/afl-1.1_5.RULE @@ -0,0 +1 @@ +Academic Free License v1.1 \ No newline at end of file diff --git a/src/licensedcode/data/rules/afl-1.1_5.yml b/src/licensedcode/data/rules/afl-1.1_5.yml new file mode 100644 index 00000000000..31d0d6d4bc1 --- /dev/null +++ b/src/licensedcode/data/rules/afl-1.1_5.yml @@ -0,0 +1,3 @@ +license_expression: afl-1.1 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/agpl-3.0-plus_233.RULE b/src/licensedcode/data/rules/agpl-3.0-plus_233.RULE new file mode 100644 index 00000000000..5fd27843d11 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0-plus_233.RULE @@ -0,0 +1 @@ +licensed under AGPLv3+ (as the AGPLv3 requires) \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0-plus_233.yml b/src/licensedcode/data/rules/agpl-3.0-plus_233.yml new file mode 100644 index 00000000000..fa16ff71590 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0-plus_233.yml @@ -0,0 +1,3 @@ +license_expression: agpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/agpl-3.0-plus_234.RULE b/src/licensedcode/data/rules/agpl-3.0-plus_234.RULE new file mode 100644 index 00000000000..2e48d6a1970 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0-plus_234.RULE @@ -0,0 +1 @@ +licensed under AGPLv3+ \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0-plus_234.yml b/src/licensedcode/data/rules/agpl-3.0-plus_234.yml new file mode 100644 index 00000000000..fa16ff71590 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0-plus_234.yml @@ -0,0 +1,3 @@ +license_expression: agpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/agpl-3.0-plus_235.RULE b/src/licensedcode/data/rules/agpl-3.0-plus_235.RULE new file mode 100644 index 00000000000..d590b802534 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0-plus_235.RULE @@ -0,0 +1 @@ +Code is licensed under AGPLv3+ \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0-plus_235.yml b/src/licensedcode/data/rules/agpl-3.0-plus_235.yml new file mode 100644 index 00000000000..fa16ff71590 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0-plus_235.yml @@ -0,0 +1,3 @@ +license_expression: agpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/agpl-3.0-plus_236.RULE b/src/licensedcode/data/rules/agpl-3.0-plus_236.RULE new file mode 100644 index 00000000000..0297043a272 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0-plus_236.RULE @@ -0,0 +1 @@ +All works are licensed under AGPLv3+ \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0-plus_236.yml b/src/licensedcode/data/rules/agpl-3.0-plus_236.yml new file mode 100644 index 00000000000..fa16ff71590 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0-plus_236.yml @@ -0,0 +1,3 @@ +license_expression: agpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/agpl-3.0-plus_237.RULE b/src/licensedcode/data/rules/agpl-3.0-plus_237.RULE new file mode 100644 index 00000000000..cc7e827c87e --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0-plus_237.RULE @@ -0,0 +1 @@ +All licensed under AGPLv3+. \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0-plus_237.yml b/src/licensedcode/data/rules/agpl-3.0-plus_237.yml new file mode 100644 index 00000000000..fa16ff71590 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0-plus_237.yml @@ -0,0 +1,3 @@ +license_expression: agpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/agpl-3.0-plus_238.RULE b/src/licensedcode/data/rules/agpl-3.0-plus_238.RULE new file mode 100644 index 00000000000..725799c8c70 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0-plus_238.RULE @@ -0,0 +1 @@ +Source code licensed under AGPLv3+. \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0-plus_238.yml b/src/licensedcode/data/rules/agpl-3.0-plus_238.yml new file mode 100644 index 00000000000..fa16ff71590 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0-plus_238.yml @@ -0,0 +1,3 @@ +license_expression: agpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/agpl-3.0-plus_239.RULE b/src/licensedcode/data/rules/agpl-3.0-plus_239.RULE new file mode 100644 index 00000000000..2fb602fc757 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0-plus_239.RULE @@ -0,0 +1 @@ +free and open source, licensed under AGPLv3+. \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0-plus_239.yml b/src/licensedcode/data/rules/agpl-3.0-plus_239.yml new file mode 100644 index 00000000000..fa16ff71590 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0-plus_239.yml @@ -0,0 +1,3 @@ +license_expression: agpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/agpl-3.0_301.RULE b/src/licensedcode/data/rules/agpl-3.0_301.RULE new file mode 100644 index 00000000000..1ee63906e0a --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_301.RULE @@ -0,0 +1,10 @@ +* This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0_301.yml b/src/licensedcode/data/rules/agpl-3.0_301.yml new file mode 100644 index 00000000000..9d6626974e7 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_301.yml @@ -0,0 +1,7 @@ +license_expression: agpl-3.0 +is_license_notice: yes +relevance: 100 +notes: Seen in monit at https://bitbucket.org/tildeslash/monit +ignorable_urls: + - http://www.gnu.org/licenses/ + diff --git a/src/licensedcode/data/rules/agpl-3.0_302.RULE b/src/licensedcode/data/rules/agpl-3.0_302.RULE new file mode 100644 index 00000000000..1ccb2f325b4 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_302.RULE @@ -0,0 +1 @@ +licensed under the GNU Affero License v3. \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0_302.yml b/src/licensedcode/data/rules/agpl-3.0_302.yml new file mode 100644 index 00000000000..b6548eaf117 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_302.yml @@ -0,0 +1,3 @@ +license_expression: agpl-3.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/agpl-3.0_303.RULE b/src/licensedcode/data/rules/agpl-3.0_303.RULE new file mode 100644 index 00000000000..831e7457946 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_303.RULE @@ -0,0 +1 @@ +released under [AGPL-3.0 \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0_303.yml b/src/licensedcode/data/rules/agpl-3.0_303.yml new file mode 100644 index 00000000000..b6548eaf117 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_303.yml @@ -0,0 +1,3 @@ +license_expression: agpl-3.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/agpl-3.0_304.RULE b/src/licensedcode/data/rules/agpl-3.0_304.RULE new file mode 100644 index 00000000000..34a06ef9718 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_304.RULE @@ -0,0 +1 @@ +released under [AGPL-3.0-only] \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0_304.yml b/src/licensedcode/data/rules/agpl-3.0_304.yml new file mode 100644 index 00000000000..b6548eaf117 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_304.yml @@ -0,0 +1,3 @@ +license_expression: agpl-3.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/agpl-3.0_305.RULE b/src/licensedcode/data/rules/agpl-3.0_305.RULE new file mode 100644 index 00000000000..a61593b7929 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_305.RULE @@ -0,0 +1 @@ +released under [AGPL-3.0-only](LICENSE). \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0_305.yml b/src/licensedcode/data/rules/agpl-3.0_305.yml new file mode 100644 index 00000000000..5431969e2ed --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_305.yml @@ -0,0 +1,5 @@ +license_expression: agpl-3.0 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE diff --git a/src/licensedcode/data/rules/agpl-3.0_with_openssl-exception-agpl-3.0-monit_1.RULE b/src/licensedcode/data/rules/agpl-3.0_with_openssl-exception-agpl-3.0-monit_1.RULE new file mode 100644 index 00000000000..98106477b23 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_with_openssl-exception-agpl-3.0-monit_1.RULE @@ -0,0 +1,19 @@ +* This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + * In addition, as a special exception, the copyright holders give + * permission to link the code of portions of this program with the + * OpenSSL library under certain conditions as described in each + * individual source file, and distribute linked combinations + * including the two. + * + * You must obey the GNU Affero General Public License in all respects + * for all of the code used other than OpenSSL. \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0_with_openssl-exception-agpl-3.0-monit_1.yml b/src/licensedcode/data/rules/agpl-3.0_with_openssl-exception-agpl-3.0-monit_1.yml new file mode 100644 index 00000000000..e15fa1cc347 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_with_openssl-exception-agpl-3.0-monit_1.yml @@ -0,0 +1,7 @@ +license_expression: agpl-3.0 WITH openssl-exception-agpl-3.0-monit +is_license_notice: yes +relevance: 100 +notes: Seen in monit at https://bitbucket.org/tildeslash/monit +ignorable_urls: + - http://www.gnu.org/licenses/ + diff --git a/src/licensedcode/data/rules/agpl-3.0_with_openssl-exception-agpl-3.0-monit_2.RULE b/src/licensedcode/data/rules/agpl-3.0_with_openssl-exception-agpl-3.0-monit_2.RULE new file mode 100644 index 00000000000..1cecdb92e49 --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_with_openssl-exception-agpl-3.0-monit_2.RULE @@ -0,0 +1,5 @@ +* In addition, as a special exception, the copyright holders give + * permission to link the code of portions of this program with the + * OpenSSL library under certain conditions as described in each + * individual source file, and distribute linked combinations + * including the two. \ No newline at end of file diff --git a/src/licensedcode/data/rules/agpl-3.0_with_openssl-exception-agpl-3.0-monit_2.yml b/src/licensedcode/data/rules/agpl-3.0_with_openssl-exception-agpl-3.0-monit_2.yml new file mode 100644 index 00000000000..aff060fdadc --- /dev/null +++ b/src/licensedcode/data/rules/agpl-3.0_with_openssl-exception-agpl-3.0-monit_2.yml @@ -0,0 +1,4 @@ +license_expression: agpl-3.0 WITH openssl-exception-agpl-3.0-monit +is_license_notice: yes +relevance: 100 +notes: Seen in monit at https://bitbucket.org/tildeslash/monit diff --git a/src/licensedcode/data/rules/anti_capitalist1.RULE b/src/licensedcode/data/rules/anti_capitalist1.RULE new file mode 100644 index 00000000000..191b982ab7b --- /dev/null +++ b/src/licensedcode/data/rules/anti_capitalist1.RULE @@ -0,0 +1,12 @@ +This is anti-capitalist software, released for free use by individuals and organizations that do not operate by capitalist principles. + +Permission is hereby granted, free of charge, to any person or organization (the "User") obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +1. The above copyright notice and this permission notice shall be included in all copies of the Software. +2. The User is one of the following: + a. An individual person + b. An organization of people that does not seek profit + c. An organization of people that seeks shared profit for all its members +3. If the User is an organization with owners, then all owners are workers and all workers are owners. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT EXPRESS OR IMPLIED WARRANTY OF ANY KIND, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/src/licensedcode/data/rules/anti_capitalist1.yml b/src/licensedcode/data/rules/anti_capitalist1.yml new file mode 100644 index 00000000000..8c49367b561 --- /dev/null +++ b/src/licensedcode/data/rules/anti_capitalist1.yml @@ -0,0 +1,2 @@ +license_expression: anti-capitalist-1.4 +is_license_text: yes \ No newline at end of file diff --git a/src/licensedcode/data/rules/anti_capitalist2.RULE b/src/licensedcode/data/rules/anti_capitalist2.RULE new file mode 100644 index 00000000000..fdb0e7c9b05 --- /dev/null +++ b/src/licensedcode/data/rules/anti_capitalist2.RULE @@ -0,0 +1,12 @@ +This is anti-capitalist software, released for free use by individuals and organizations that do not operate by capitalist principles. + +Permission is hereby granted, free of charge, to any person or organization (the "User") obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +1. The above copyright notice and this permission notice shall be included in all copies of the Software. +2. The User is one of the following: + a. An individual person + b. An organization of people that does not seek profit + c. An organization of people that seeks shared profit for all its members and does not exploit the labor of non-members +3. If the User is an organization with owners, then all owners are workers and all workers are owners with equal share. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT EXPRESS OR IMPLIED WARRANTY OF ANY KIND, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/src/licensedcode/data/rules/anti_capitalist2.yml b/src/licensedcode/data/rules/anti_capitalist2.yml new file mode 100644 index 00000000000..c498255135b --- /dev/null +++ b/src/licensedcode/data/rules/anti_capitalist2.yml @@ -0,0 +1,2 @@ +license_expression: anti-capitalist-1.4 +is_license_text: yes \ No newline at end of file diff --git a/src/licensedcode/data/rules/anti_capitalist3.RULE b/src/licensedcode/data/rules/anti_capitalist3.RULE new file mode 100644 index 00000000000..a77af75abbe --- /dev/null +++ b/src/licensedcode/data/rules/anti_capitalist3.RULE @@ -0,0 +1,13 @@ +This is anti-capitalist software, released for free use by individuals and organizations that do not operate by capitalist principles. + +Permission is hereby granted, free of charge, to any person or organization (the "User") obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +1. The above copyright notice and this permission notice shall be included in all copies of the Software. +2. The User is one of the following: + a. An individual person + b. An organization of people that does not seek profit + c. An organization of people that seeks shared profit for all its members and does not exploit the labor of non-members +3. If the User is an organization with owners, then all owners are workers and all workers are owners with equal share. +4. If the User is an organization, then the User is not law enforcement or military, or working under either. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT EXPRESS OR IMPLIED WARRANTY OF ANY KIND, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/src/licensedcode/data/rules/anti_capitalist3.yml b/src/licensedcode/data/rules/anti_capitalist3.yml new file mode 100644 index 00000000000..f6a20c86204 --- /dev/null +++ b/src/licensedcode/data/rules/anti_capitalist3.yml @@ -0,0 +1,2 @@ +license_expression: anti-capitalist-1.4 +is_license_text: yes \ No newline at end of file diff --git a/src/licensedcode/data/rules/anti_capitalist4.RULE b/src/licensedcode/data/rules/anti_capitalist4.RULE new file mode 100644 index 00000000000..da11b374b26 --- /dev/null +++ b/src/licensedcode/data/rules/anti_capitalist4.RULE @@ -0,0 +1,18 @@ +ANTI-CAPITALIST SOFTWARE LICENSE (v 1.3) + +This is anti-capitalist software, released for free use by individuals and organizations that do not operate by capitalist principles. + +Permission is hereby granted, free of charge, to any person or organization (the "User") obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software for any purpose, including the rights to use, copy, modify, merge, publish, distribute, and/or sell copies of the Software, subject to the following conditions: + +1. The above copyright notice and this permission notice shall be included in all copies or modified versions of the Software. + +2. The User is one of the following: + a. An individual person, working for themselves + b. An non-profit organization + c. An organization that seeks shared profit for all of its members and allows non-members to set the cost of their labor + +3. If the User is an organization with owners, then all owners are workers and all workers are owners with equal equity and/or equal vote. + +4. If the User is an organization, then the User is not law enforcement or military, or working under either. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT EXPRESS OR IMPLIED WARRANTY OF ANY KIND, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/src/licensedcode/data/rules/anti_capitalist4.yml b/src/licensedcode/data/rules/anti_capitalist4.yml new file mode 100644 index 00000000000..e8f74d67e76 --- /dev/null +++ b/src/licensedcode/data/rules/anti_capitalist4.yml @@ -0,0 +1,3 @@ +license_expression: anti-capitalist-1.4 +is_license_text: yes +notes: version 1.3 is the same as 1.4 hence treated as a rule diff --git a/src/licensedcode/data/rules/apache-1.0_7.RULE b/src/licensedcode/data/rules/apache-1.0_7.RULE new file mode 100644 index 00000000000..b7b6c05b532 --- /dev/null +++ b/src/licensedcode/data/rules/apache-1.0_7.RULE @@ -0,0 +1,33 @@ +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +3. All advertising materials mentioning features or use of this software must display the following acknowledgment: "This product includes software developed by the Apache Group for use in the Apache HTTP server project (http://www.apache.org/) ." + +4. The "Apache" and "Apache Software Foundation" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact apache@apache.org + +5. Products derived from this software may not be called "Apache" nor may "Apache" appear in their name, without prior written permission of the Apache Group . + +6. Redistributions of any form whatsoever must retain the following acknowledgment: +"This product includes software developed by the Apache Group for use in the +Apache HTTP server project (http://www.apache.org/) . + +THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY +EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR ITS CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +This software consists of voluntary contributions made by many individuals on +behalf of the Apache Group and was originally based on public domain software +written at the National Center for Supercomputing Applications, University of +Illinois, Urbana-Champaign. For more information on the Apache Group and the +Apache HTTP server project, please see . \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-1.0_7.yml b/src/licensedcode/data/rules/apache-1.0_7.yml new file mode 100644 index 00000000000..a3a20e4d95e --- /dev/null +++ b/src/licensedcode/data/rules/apache-1.0_7.yml @@ -0,0 +1,9 @@ +license_expression: apache-1.0 +is_license_text: yes +relevance: 100 +ignorable_authors: + - the Apache Group +ignorable_urls: + - http://www.apache.org/ +ignorable_emails: + - apache@apache.org diff --git a/src/licensedcode/data/rules/apache-1.1_11.yml b/src/licensedcode/data/rules/apache-1.1_11.yml index 9d33db33aa5..8577bdf4eee 100644 --- a/src/licensedcode/data/rules/apache-1.1_11.yml +++ b/src/licensedcode/data/rules/apache-1.1_11.yml @@ -1,4 +1,5 @@ license_expression: apache-1.1 +minimum_coverage: 60 is_license_text: yes notes: Apache 1.1 variant ignorable_copyrights: diff --git a/src/licensedcode/data/rules/apache-1.1_77.yml b/src/licensedcode/data/rules/apache-1.1_77.yml index bba571bf62c..fcc5c19121e 100644 --- a/src/licensedcode/data/rules/apache-1.1_77.yml +++ b/src/licensedcode/data/rules/apache-1.1_77.yml @@ -1,3 +1,6 @@ license_expression: apache-1.1 is_license_text: yes relevance: 100 +ignorable_authors: + - University of Technology + diff --git a/src/licensedcode/data/rules/apache-1.1_89.RULE b/src/licensedcode/data/rules/apache-1.1_89.RULE new file mode 100644 index 00000000000..ff340933578 --- /dev/null +++ b/src/licensedcode/data/rules/apache-1.1_89.RULE @@ -0,0 +1,39 @@ +Apache License 1.1 + +Copyright (c) 2000 The Apache Software Foundation. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +3. The end-user documentation included with the redistribution, if any, must include the following acknowledgment: +"This product includes software developed by the Apache Software Foundation +(http://www.apache.org/) ." + +Alternately, this acknowledgment may appear in the software itself, if and +wherever such third-party acknowledgments normally appear. + +4. The "Apache" and "Apache Software Foundation" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact apache@apache.org + +5. Products derived from this software may not be called "Apache" [ex. "Jakarta," "Apache," or "Apache Commons,"] nor may "Apache" [ex. the names] appear in their name, without prior written permission of the Apache Software Foundation . + +THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESSED OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +This software consists of voluntary contributions made by many individuals on +behalf of the Apache Software Foundation. For more information on the Apache +Software Foundation, please see http://www.apache.org/. Portions of this +software are based upon public domain software originally written at the +National Center for Supercomputing Applications, University of Illinois, +Urbana-Champaign. \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-1.1_89.yml b/src/licensedcode/data/rules/apache-1.1_89.yml new file mode 100644 index 00000000000..2b8f1138600 --- /dev/null +++ b/src/licensedcode/data/rules/apache-1.1_89.yml @@ -0,0 +1,13 @@ +license_expression: apache-1.1 +is_license_text: yes +relevance: 100 +ignorable_copyrights: + - Copyright (c) 2000 The Apache Software Foundation +ignorable_holders: + - The Apache Software Foundation +ignorable_authors: + - the Apache Software Foundation (http://www.apache.org/) +ignorable_urls: + - http://www.apache.org/ +ignorable_emails: + - apache@apache.org diff --git a/src/licensedcode/data/rules/apache-2.0_328.yml b/src/licensedcode/data/rules/apache-2.0_328.yml index fec9233bc17..1adf7d7a3d3 100644 --- a/src/licensedcode/data/rules/apache-2.0_328.yml +++ b/src/licensedcode/data/rules/apache-2.0_328.yml @@ -1,3 +1,4 @@ license_expression: apache-2.0 is_license_notice: yes relevance: 100 +minimum_coverage: 70 diff --git a/src/licensedcode/data/rules/apache-2.0_919.RULE b/src/licensedcode/data/rules/apache-2.0_919.RULE new file mode 100644 index 00000000000..3d56099fa2c --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_919.RULE @@ -0,0 +1,3 @@ +Comment: On Debian systems the complete license text is available in + /usr/share/common-licenses/Apache-2.0 + diff --git a/src/licensedcode/data/rules/apache-2.0_919.yml b/src/licensedcode/data/rules/apache-2.0_919.yml new file mode 100644 index 00000000000..61eb9344420 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_919.yml @@ -0,0 +1,4 @@ +license_expression: apache-2.0 +is_license_reference: yes +referenced_filenames: + - /usr/share/common-licenses/Apache-2.0 diff --git a/src/licensedcode/data/rules/apache-2.0_920.RULE b/src/licensedcode/data/rules/apache-2.0_920.RULE new file mode 100644 index 00000000000..b7b12253c5c --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_920.RULE @@ -0,0 +1 @@ +On Debian systems the complete text of the license can be found in /usr/share/common-licenses/Apache-2.0 diff --git a/src/licensedcode/data/rules/apache-2.0_920.yml b/src/licensedcode/data/rules/apache-2.0_920.yml new file mode 100644 index 00000000000..61eb9344420 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_920.yml @@ -0,0 +1,4 @@ +license_expression: apache-2.0 +is_license_reference: yes +referenced_filenames: + - /usr/share/common-licenses/Apache-2.0 diff --git a/src/licensedcode/data/rules/apache-2.0_921.RULE b/src/licensedcode/data/rules/apache-2.0_921.RULE new file mode 100644 index 00000000000..e943a1e296b --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_921.RULE @@ -0,0 +1,3 @@ +License: Apache-2.0 + On Debian systems the complete text of the license can be found in + /usr/share/common-licenses/Apache-2.0 diff --git a/src/licensedcode/data/rules/apache-2.0_921.yml b/src/licensedcode/data/rules/apache-2.0_921.yml new file mode 100644 index 00000000000..9bb55278ed8 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_921.yml @@ -0,0 +1,5 @@ +license_expression: apache-2.0 +is_license_notice: yes +referenced_filenames: + - /usr/share/common-licenses/Apache-2.0 + diff --git a/src/licensedcode/data/rules/apache-2.0_922.RULE b/src/licensedcode/data/rules/apache-2.0_922.RULE new file mode 100644 index 00000000000..ec99350e990 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_922.RULE @@ -0,0 +1,15 @@ + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + +License: Apache-2.0 + On Debian systems the complete text of the license can be found in + /usr/share/common-licenses/Apache-2.0 diff --git a/src/licensedcode/data/rules/apache-2.0_922.yml b/src/licensedcode/data/rules/apache-2.0_922.yml new file mode 100644 index 00000000000..9b18ef838cf --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_922.yml @@ -0,0 +1,6 @@ +license_expression: apache-2.0 +is_license_notice: yes +referenced_filenames: + - /usr/share/common-licenses/Apache-2.0 +ignorable_urls: + - http://www.apache.org/licenses/LICENSE-2.0 diff --git a/src/licensedcode/data/rules/apache-2.0_923.RULE b/src/licensedcode/data/rules/apache-2.0_923.RULE new file mode 100644 index 00000000000..451b50410c6 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_923.RULE @@ -0,0 +1,14 @@ +Comment: On Debian systems the complete license text is available in + /usr/share/common-licenses/Apache-2.0 +License + # Licensed under the Apache License, Version 2.0 (the "License"); + # you may not use this file except in compliance with the License. + # You may obtain a copy of the License at + # + # http://www.apache.org/licenses/LICENSE-2.0 + # + # Unless required by applicable law or agreed to in writing, software + # distributed under the License is distributed on an "AS IS" BASIS, + # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + # See the License for the specific language governing permissions and + # limitations under the License. diff --git a/src/licensedcode/data/rules/apache-2.0_923.yml b/src/licensedcode/data/rules/apache-2.0_923.yml new file mode 100644 index 00000000000..9b18ef838cf --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_923.yml @@ -0,0 +1,6 @@ +license_expression: apache-2.0 +is_license_notice: yes +referenced_filenames: + - /usr/share/common-licenses/Apache-2.0 +ignorable_urls: + - http://www.apache.org/licenses/LICENSE-2.0 diff --git a/src/licensedcode/data/rules/apache-2.0_924.RULE b/src/licensedcode/data/rules/apache-2.0_924.RULE new file mode 100644 index 00000000000..8aa3d918977 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_924.RULE @@ -0,0 +1,10 @@ +Licensed to the Apache Software Foundation (ASF) + under one or more contributor license agreements. + See the NOTICE file distributed with this work + for additional information regarding copyright ownership. + The ASF licenses this file to You + under the Apache License, Version 2.0 (the "License"); + you may not use this file + except in compliance with the License. + You may obtain a copy of the License + at diff --git a/src/licensedcode/data/rules/apache-2.0_924.yml b/src/licensedcode/data/rules/apache-2.0_924.yml new file mode 100644 index 00000000000..9b18ef838cf --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_924.yml @@ -0,0 +1,6 @@ +license_expression: apache-2.0 +is_license_notice: yes +referenced_filenames: + - /usr/share/common-licenses/Apache-2.0 +ignorable_urls: + - http://www.apache.org/licenses/LICENSE-2.0 diff --git a/src/licensedcode/data/rules/apache-2.0_925.RULE b/src/licensedcode/data/rules/apache-2.0_925.RULE new file mode 100644 index 00000000000..720cd7c7621 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_925.RULE @@ -0,0 +1,2 @@ +license-info">Apache 2.0 +
http://www.apache.org/licenses/LICENSE-2.0. \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_925.yml b/src/licensedcode/data/rules/apache-2.0_925.yml new file mode 100644 index 00000000000..7ac465ac5aa --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_925.yml @@ -0,0 +1,7 @@ +license_expression: apache-2.0 +is_license_notice: yes +relevance: 100 +notes: seen in https://raw.githubusercontent.com/swagger-api/swagger-codegen/v3.0.25/samples/composed/html2/index.html + was incorrectly detected as "apache-2.0 OR mit" +ignorable_urls: + - http://www.apache.org/licenses/LICENSE-2.0 diff --git a/src/licensedcode/data/rules/apache-2.0_926.RULE b/src/licensedcode/data/rules/apache-2.0_926.RULE new file mode 100644 index 00000000000..afcbd6acdc2 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_926.RULE @@ -0,0 +1 @@ +governed by the Apache License version 2.0 \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_926.yml b/src/licensedcode/data/rules/apache-2.0_926.yml new file mode 100644 index 00000000000..fec9233bc17 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_926.yml @@ -0,0 +1,3 @@ +license_expression: apache-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/apache-2.0_927.RULE b/src/licensedcode/data/rules/apache-2.0_927.RULE new file mode 100644 index 00000000000..e76caa503d8 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_927.RULE @@ -0,0 +1,3 @@ +* The following code adds default LICENSE (Apache-2.0) for all generators + * To use license other than Apache2.0, update the following file: + * modules/swagger-codegen/src/main/resources/_common/LICENSE \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_927.yml b/src/licensedcode/data/rules/apache-2.0_927.yml new file mode 100644 index 00000000000..747a51fe8bf --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_927.yml @@ -0,0 +1,6 @@ +license_expression: apache-2.0 +is_license_reference: yes +relevance: 100 +referenced_filenames: + - LICENSE +notes: Seen in https://github.com/swagger-api/swagger-codegen/blob/ca9a00261f08f024dd19fa45c9ff2098fed67451/modules/swagger-codegen/src/main/java/io/swagger/codegen/DefaultGenerator.java#L6980 diff --git a/src/licensedcode/data/rules/apache-2.0_928.RULE b/src/licensedcode/data/rules/apache-2.0_928.RULE new file mode 100644 index 00000000000..ae43048b58a --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_928.RULE @@ -0,0 +1 @@ +apache2License = "LICENSE"; \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_928.yml b/src/licensedcode/data/rules/apache-2.0_928.yml new file mode 100644 index 00000000000..747a51fe8bf --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_928.yml @@ -0,0 +1,6 @@ +license_expression: apache-2.0 +is_license_reference: yes +relevance: 100 +referenced_filenames: + - LICENSE +notes: Seen in https://github.com/swagger-api/swagger-codegen/blob/ca9a00261f08f024dd19fa45c9ff2098fed67451/modules/swagger-codegen/src/main/java/io/swagger/codegen/DefaultGenerator.java#L6980 diff --git a/src/licensedcode/data/rules/apache-2.0_929.RULE b/src/licensedcode/data/rules/apache-2.0_929.RULE new file mode 100644 index 00000000000..3539b6293ed --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_929.RULE @@ -0,0 +1 @@ +apache2License \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_929.yml b/src/licensedcode/data/rules/apache-2.0_929.yml new file mode 100644 index 00000000000..b3b664c44a8 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_929.yml @@ -0,0 +1,4 @@ +license_expression: apache-2.0 +is_license_reference: yes +relevance: 100 +notes: Seen in https://github.com/swagger-api/swagger-codegen/blob/ca9a00261f08f024dd19fa45c9ff2098fed67451/modules/swagger-codegen/src/main/java/io/swagger/codegen/DefaultGenerator.java#L6980 diff --git a/src/licensedcode/data/rules/apache-2.0_930.RULE b/src/licensedcode/data/rules/apache-2.0_930.RULE new file mode 100644 index 00000000000..2a852b50911 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_930.RULE @@ -0,0 +1 @@ +available under the Apache-2 license. See the top-level LICENSE file for more details \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_930.yml b/src/licensedcode/data/rules/apache-2.0_930.yml new file mode 100644 index 00000000000..d892e977716 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_930.yml @@ -0,0 +1,5 @@ +license_expression: apache-2.0 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE diff --git a/src/licensedcode/data/rules/apache-2.0_931.RULE b/src/licensedcode/data/rules/apache-2.0_931.RULE new file mode 100644 index 00000000000..1b58ff43a34 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_931.RULE @@ -0,0 +1,11 @@ +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_931.yml b/src/licensedcode/data/rules/apache-2.0_931.yml new file mode 100644 index 00000000000..a344badaa8b --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_931.yml @@ -0,0 +1,5 @@ +license_expression: apache-2.0 +is_license_notice: yes +relevance: 100 +ignorable_urls: + - http://www.apache.org/licenses/LICENSE2.0 diff --git a/src/licensedcode/data/rules/apache-2.0_932.RULE b/src/licensedcode/data/rules/apache-2.0_932.RULE new file mode 100644 index 00000000000..a74f3389ec4 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_932.RULE @@ -0,0 +1,10 @@ +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_932.yml b/src/licensedcode/data/rules/apache-2.0_932.yml new file mode 100644 index 00000000000..b1e0f12046c --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_932.yml @@ -0,0 +1,6 @@ +license_expression: apache-2.0 +is_license_notice: yes +relevance: 100 +notes: Truncated start +ignorable_urls: + - http://www.apache.org/licenses/LICENSE-2.0 diff --git a/src/licensedcode/data/rules/apache-2.0_933.RULE b/src/licensedcode/data/rules/apache-2.0_933.RULE new file mode 100644 index 00000000000..95c80d7deb4 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_933.RULE @@ -0,0 +1,2 @@ +LICENSE +This program is licensed under the Apache License 2.0. \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_933.yml b/src/licensedcode/data/rules/apache-2.0_933.yml new file mode 100644 index 00000000000..fec9233bc17 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_933.yml @@ -0,0 +1,3 @@ +license_expression: apache-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/apache-2.0_934.RULE b/src/licensedcode/data/rules/apache-2.0_934.RULE new file mode 100644 index 00000000000..5d2d7077c7d --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_934.RULE @@ -0,0 +1,6 @@ +LICENSE + +This program is licensed under the Apache License 2.0. +This means you may use this program in any project. +You are allowed to modify the program as you like. +For further details take a look at LICENSE.txt. \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_934.yml b/src/licensedcode/data/rules/apache-2.0_934.yml new file mode 100644 index 00000000000..08ee159d05b --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_934.yml @@ -0,0 +1,5 @@ +license_expression: apache-2.0 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE.txt diff --git a/src/licensedcode/data/rules/apache-2.0_935.RULE b/src/licensedcode/data/rules/apache-2.0_935.RULE new file mode 100644 index 00000000000..f70d2131474 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_935.RULE @@ -0,0 +1 @@ +License: Apache Software License (http://www.apache.org/licenses/LICENSE-2.0) \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_935.yml b/src/licensedcode/data/rules/apache-2.0_935.yml new file mode 100644 index 00000000000..9d17bf1d950 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_935.yml @@ -0,0 +1,5 @@ +license_expression: apache-2.0 +is_license_tag: yes +relevance: 100 +ignorable_urls: + - http://www.apache.org/licenses/LICENSE-2.0 diff --git a/src/licensedcode/data/rules/apache-2.0_936.RULE b/src/licensedcode/data/rules/apache-2.0_936.RULE new file mode 100644 index 00000000000..8ee20495fa7 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_936.RULE @@ -0,0 +1 @@ +This project is licensed under the Apache Public License, see COPYING \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_936.yml b/src/licensedcode/data/rules/apache-2.0_936.yml new file mode 100644 index 00000000000..c4ed4689375 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_936.yml @@ -0,0 +1,5 @@ +license_expression: apache-2.0 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - COPYING diff --git a/src/licensedcode/data/rules/apache-2.0_937.RULE b/src/licensedcode/data/rules/apache-2.0_937.RULE new file mode 100644 index 00000000000..5a4f02974e7 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_937.RULE @@ -0,0 +1,2 @@ +License +This project is licensed under the Apache Public License, see COPYING \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_937.yml b/src/licensedcode/data/rules/apache-2.0_937.yml new file mode 100644 index 00000000000..c4ed4689375 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_937.yml @@ -0,0 +1,5 @@ +license_expression: apache-2.0 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - COPYING diff --git a/src/licensedcode/data/rules/apache-2.0_938.RULE b/src/licensedcode/data/rules/apache-2.0_938.RULE new file mode 100644 index 00000000000..47737ea84a6 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_938.RULE @@ -0,0 +1 @@ +under the Apache license, v2 (see LICENSE.txt) \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_938.yml b/src/licensedcode/data/rules/apache-2.0_938.yml new file mode 100644 index 00000000000..08ee159d05b --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_938.yml @@ -0,0 +1,5 @@ +license_expression: apache-2.0 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE.txt diff --git a/src/licensedcode/data/rules/apache-2.0_939.RULE b/src/licensedcode/data/rules/apache-2.0_939.RULE new file mode 100644 index 00000000000..b87ec7cba9a --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_939.RULE @@ -0,0 +1,11 @@ +Licensed under the Apache License, Version 2.0 (the "License"). +You may not use this software except in compliance with the License. + +A copy of the License is located at + +http://www.apache.org/licenses/LICENSE-2.0.html + +or in the "license" file accompanying this software. This file is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF +ANY KIND, either express or implied. See the License for the specific +language governing permissions and limitations under the License. \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_939.yml b/src/licensedcode/data/rules/apache-2.0_939.yml new file mode 100644 index 00000000000..36ecfb9a974 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_939.yml @@ -0,0 +1,6 @@ +license_expression: apache-2.0 +is_license_notice: yes +relevance: 99 +notes: Seen in https://github.com/SparkPost/gosparkpost/blob/5b781faf9f19ed7dbcb7f604c83dec1d0bb9087b/LICENSE +ignorable_urls: + - http://www.apache.org/licenses/LICENSE-2.0.html diff --git a/src/licensedcode/data/rules/apache-2.0_940.RULE b/src/licensedcode/data/rules/apache-2.0_940.RULE new file mode 100644 index 00000000000..cf039bf1d7c --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_940.RULE @@ -0,0 +1 @@ +The code is published under an Apache license. \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_940.yml b/src/licensedcode/data/rules/apache-2.0_940.yml new file mode 100644 index 00000000000..fec9233bc17 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_940.yml @@ -0,0 +1,3 @@ +license_expression: apache-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/apache-2.0_and_lgpl-2.1_1.RULE b/src/licensedcode/data/rules/apache-2.0_and_lgpl-2.1_1.RULE new file mode 100644 index 00000000000..b46fccf294d --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_and_lgpl-2.1_1.RULE @@ -0,0 +1,5 @@ +distributed pursuant to the terms of two different licenses. +The user interface (located in ui/ in this distribution) is governed by +the Apache License version 2.0. The rest of this distribution is +governed by the GNU Lesser General Public License version 2.1. +See COPYING.LGPL and COPYING.ASL2. \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_and_lgpl-2.1_1.yml b/src/licensedcode/data/rules/apache-2.0_and_lgpl-2.1_1.yml new file mode 100644 index 00000000000..3db0805312a --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_and_lgpl-2.1_1.yml @@ -0,0 +1,6 @@ +license_expression: apache-2.0 AND lgpl-2.1 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - COPYING.LGPL + - COPYING.ASL2 diff --git a/src/licensedcode/data/rules/apache-2.0_and_lgpl-3.0_1.RULE b/src/licensedcode/data/rules/apache-2.0_and_lgpl-3.0_1.RULE new file mode 100644 index 00000000000..16329118b77 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_and_lgpl-3.0_1.RULE @@ -0,0 +1,5 @@ +distributed pursuant to the terms of two different licenses. +The user interface (located in ui/ in this distribution) is governed by +the Apache License version 2.0. The rest of this distribution is +governed by the GNU Lesser General Public License version 3. +See COPYING.LGPL and COPYING.ASL2. \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_and_lgpl-3.0_1.yml b/src/licensedcode/data/rules/apache-2.0_and_lgpl-3.0_1.yml new file mode 100644 index 00000000000..7f61e3258a5 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_and_lgpl-3.0_1.yml @@ -0,0 +1,6 @@ +license_expression: apache-2.0 AND lgpl-3.0 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - COPYING.LGPL + - COPYING.ASL2 diff --git a/src/licensedcode/data/rules/apache-2.0_and_proprietary-license_5.RULE b/src/licensedcode/data/rules/apache-2.0_and_proprietary-license_5.RULE new file mode 100644 index 00000000000..258959e0b1b --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_and_proprietary-license_5.RULE @@ -0,0 +1,7 @@ +## License + +The contents of this repository is licensed under the +[Apache License, version 2.0](http://www.apache.org/licenses/LICENSE-2.0). + +Your use of Firebase is governed by the +[Terms of Service for Firebase Services](https://firebase.google.com/terms/). \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_and_proprietary-license_5.yml b/src/licensedcode/data/rules/apache-2.0_and_proprietary-license_5.yml new file mode 100644 index 00000000000..ea24add490d --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_and_proprietary-license_5.yml @@ -0,0 +1,7 @@ +license_expression: apache-2.0 AND proprietary-license +is_license_notice: yes +relevance: 100 +notes: See in Firebase iOS SDK +ignorable_urls: + - http://www.apache.org/licenses/LICENSE-2.0 + - https://firebase.google.com/terms diff --git a/src/licensedcode/data/rules/apache-2.0_and_unknown-license-reference_1.RULE b/src/licensedcode/data/rules/apache-2.0_and_unknown-license-reference_1.RULE new file mode 100644 index 00000000000..41661c00def --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_and_unknown-license-reference_1.RULE @@ -0,0 +1,6 @@ +This project is licensed to you under the Apache License, Version 2.0 (the "License"). +You may not use this project except in compliance with the License. + +This project may include a number of subcomponents with separate copyright notices +and license terms. Your use of these subcomponents is subject to the terms and +conditions of the subcomponent's license, as noted in the LICENSE file. \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_and_unknown-license-reference_1.yml b/src/licensedcode/data/rules/apache-2.0_and_unknown-license-reference_1.yml new file mode 100644 index 00000000000..9542363b871 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_and_unknown-license-reference_1.yml @@ -0,0 +1,6 @@ +license_expression: apache-2.0 AND unknown-license-reference +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE +notes: seen in VMWare open source projects diff --git a/src/licensedcode/data/rules/apache-2.0_or_bsd-new_9.yml b/src/licensedcode/data/rules/apache-2.0_or_bsd-new_9.yml index 5995c830e32..dc5fd3d18c5 100644 --- a/src/licensedcode/data/rules/apache-2.0_or_bsd-new_9.yml +++ b/src/licensedcode/data/rules/apache-2.0_or_bsd-new_9.yml @@ -1,5 +1,5 @@ license_expression: apache-2.0 OR bsd-new is_license_notice: yes -minimum_coverage: 75 +minimum_coverage: 80 ignorable_urls: - https://www.apache.org/licenses/LICENSE-2.0 diff --git a/src/licensedcode/data/rules/apache-2.0_or_mit_32.RULE b/src/licensedcode/data/rules/apache-2.0_or_mit_32.RULE new file mode 100644 index 00000000000..73aba735080 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_or_mit_32.RULE @@ -0,0 +1,14 @@ +License + +This program is licensed under either of + + * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0) + * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) + +at your option. + +Contribution + +Unless you explicitly state otherwise, any contribution intentionally submitted +for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed +as above, without any additional terms or conditions. \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_or_mit_32.yml b/src/licensedcode/data/rules/apache-2.0_or_mit_32.yml new file mode 100644 index 00000000000..b11e813a2b6 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_or_mit_32.yml @@ -0,0 +1,9 @@ +license_expression: apache-2.0 OR mit +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE-APACHE + - LICENSE-MIT +ignorable_urls: + - http://opensource.org/licenses/MIT + - http://www.apache.org/licenses/LICENSE-2.0 diff --git a/src/licensedcode/data/rules/apache-2.0_or_mit_33.RULE b/src/licensedcode/data/rules/apache-2.0_or_mit_33.RULE new file mode 100644 index 00000000000..4493838a71e --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_or_mit_33.RULE @@ -0,0 +1 @@ +This project is licensed under the terms of both the MIT license and the Apache License Version 2.0. \ No newline at end of file diff --git a/src/licensedcode/data/rules/apache-2.0_or_mit_33.yml b/src/licensedcode/data/rules/apache-2.0_or_mit_33.yml new file mode 100644 index 00000000000..e626370dff4 --- /dev/null +++ b/src/licensedcode/data/rules/apache-2.0_or_mit_33.yml @@ -0,0 +1,3 @@ +license_expression: apache-2.0 OR mit +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/artistic-perl-1.0_6.RULE b/src/licensedcode/data/rules/artistic-perl-1.0_6.RULE new file mode 100644 index 00000000000..6fa2ee57205 --- /dev/null +++ b/src/licensedcode/data/rules/artistic-perl-1.0_6.RULE @@ -0,0 +1,2 @@ +On Debian GNU/Linux systems, the complete text of the Artistic +license is in `/usr/share/common-licenses/Artistic' diff --git a/src/licensedcode/data/rules/artistic-perl-1.0_6.yml b/src/licensedcode/data/rules/artistic-perl-1.0_6.yml new file mode 100644 index 00000000000..7af9db530d7 --- /dev/null +++ b/src/licensedcode/data/rules/artistic-perl-1.0_6.yml @@ -0,0 +1,5 @@ +license_expression: artistic-perl-1.0 +is_license_reference: yes +minimum_coverage: 90 +referenced_filenames: + - /usr/share/common-licenses/Artistic diff --git a/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_35.RULE b/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_35.RULE new file mode 100644 index 00000000000..f1e233bcecd --- /dev/null +++ b/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_35.RULE @@ -0,0 +1,3 @@ +On Debian GNU/Linux systems, the complete text of the GNU General +Public License is in `/usr/share/common-licenses/GPL', the Artistic +license in `/usr/share/common-licenses/Artistic' diff --git a/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_35.yml b/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_35.yml new file mode 100644 index 00000000000..b118f98ef8b --- /dev/null +++ b/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0-plus_35.yml @@ -0,0 +1,6 @@ +license_expression: artistic-perl-1.0 OR gpl-1.0-plus +is_license_reference: yes +minimum_coverage: 90 +referenced_filenames: + - /usr/share/common-licenses/Artistic + - /usr/share/coomon-licenses/GPL diff --git a/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0_1.RULE b/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0_1.RULE new file mode 100644 index 00000000000..b1ccb747b5b --- /dev/null +++ b/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0_1.RULE @@ -0,0 +1,2 @@ +License for redistribution is by either the Artistic License or +the GNU General Public License (v1). diff --git a/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0_1.yml b/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0_1.yml new file mode 100644 index 00000000000..5663ca090cb --- /dev/null +++ b/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0_1.yml @@ -0,0 +1,3 @@ +license_expression: artistic-perl-1.0 OR gpl-1.0 +is_license_reference: yes +minimum_coverage: 90 diff --git a/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0_2.RULE b/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0_2.RULE new file mode 100644 index 00000000000..7d363767ce5 --- /dev/null +++ b/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0_2.RULE @@ -0,0 +1,6 @@ +License for redistribution is by either the Artistic License or +the GNU General Public License (v1). + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License is in `/usr/share/common-licenses/GPL', the Artistic +license in `/usr/share/common-licenses/Artistic' diff --git a/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0_2.yml b/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0_2.yml new file mode 100644 index 00000000000..c9bc7374c0d --- /dev/null +++ b/src/licensedcode/data/rules/artistic-perl-1.0_or_gpl-1.0_2.yml @@ -0,0 +1,6 @@ +license_expression: artistic-perl-1.0 OR gpl-1.0 +is_license_notice: yes +minimum_coverage: 90 +referenced_filenames: + - /usr/share/common-licenses/Artistic + - /usr/share/coomon-licenses/GPL diff --git a/src/licensedcode/data/rules/broadcom-proprietary_1.RULE b/src/licensedcode/data/rules/broadcom-proprietary_1.RULE new file mode 100644 index 00000000000..e2cf868f3ec --- /dev/null +++ b/src/licensedcode/data/rules/broadcom-proprietary_1.RULE @@ -0,0 +1,205 @@ +SOFTWARE LICENSE AGREEMENT + +Unless you and Broadcom Corporation (“Broadcom”) execute a separate written +software license agreement governing use of the accompanying software, this +software is licensed to you under the terms of this Software License Agreement +(“Agreement”). + +ANY USE, REPRODUCTION OR DISTRIBUTION OF THE SOFTWARE CONSTITUTES YOUR +ACCEPTANCE OF THIS AGREEMENT. + +1. DEFINITIONS. + +1.1. “Broadcom Product” means any of the proprietary integrated circuit +product(s) sold by Broadcom with which the Software was designed to be used, or +their successors. + +1.2. “Licensee” means you or if you are accepting on behalf of an entity +then the entity and its affiliates exercising rights under, and complying with +all of the terms of this Agreement. + +1.3. “Software” shall mean that software made available by Broadcom to +Licensee in binary code form with this Agreement. + +2. LICENSE GRANT; OWNERSHIP + +2.1. License Grants. Subject to the terms and conditions of this Agreement, +Broadcom hereby grants to Licensee a non-exclusive, non-transferable, +royalty-free license (i) to use and integrate the Software in conjunction with +any other software; and (ii) to reproduce and distribute the Software complete, +unmodified and as provided by Broadcom, and only for use with a Broadcom +Product. + +2.2. Restriction on Modification. Licensee may not make any modifications +to the Software. + +2.3. Restriction on Distribution. Licensee shall only distribute the +Software under the terms of this Agreement and a copy of this Agreement +accompanies such distribution. + +2.4. Proprietary Notices. Licensee shall not remove, efface or obscure any +copyright or trademark notices from the Software. Licensee shall include +reproductions of the Broadcom copyright notice with each copy of the Software, +except where such Software is embedded in a manner not readily accessible to +the end user. Licensee acknowledges that any symbols, trademarks, tradenames, +and service marks adopted by Broadcom to identify the Software belong to +Broadcom and that Licensee shall have no rights therein. + +2.5. Ownership. Broadcom shall retain all right, title and interest, +including all intellectual property rights, in and to the Software. Licensee +hereby covenants that it will not assert any claim that the Software created by +or for Broadcom infringe any intellectual property right owned or controlled by +Licensee; provided however, the foregoing shall not apply in case the Agreement +is terminated. + +2.6. No Other Rights Granted; Restrictions. Apart from the license rights +expressly set forth in this Agreement, Broadcom does not grant and Licensee +does not receive any ownership right, title or interest nor any security +interest or other interest in any intellectual property rights relating to the +Software, nor in any copy of any part of the foregoing. No license is granted +to Licensee in any human readable code of the Software (source code). Licensee +shall not (i) use, license, sell or otherwise distribute the Software except as +provided in this Agreement, (ii) attempt to modify in any way, reverse +engineer, decompile or disassemble any portion of the Software; or (iii) use +the Software or other material in violation of any applicable law or +regulation, including but not limited to any regulatory agency, such as FCC, +rules. + +3. NO WARRANTY OR SUPPORT + +3.1. No Warranty. THE SOFTWARE IS OFFERED “AS IS,” AND BROADCOM GRANTS AND +LICENSEE RECEIVES NO WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, BY STATUTE, +COMMUNICATION OR CONDUCT WITH LICENSEE, OR OTHERWISE. BROADCOM SPECIFICALLY +DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A SPECIFIC +PURPOSE OR NONINFRINGEMENT CONCERNING THE SOFTWARE OR ANY UPGRADES TO OR +DOCUMENTATION FOR THE SOFTWARE. WITHOUT LIMITATION OF THE ABOVE, BROADCOM +GRANTS NO WARRANTY THAT THE SOFTWARE IS ERROR-FREE OR WILL OPERATE WITHOUT +INTERRUPTION, AND GRANTS NO WARRANTY REGARDING ITS USE OR THE RESULTS THEREFROM +INCLUDING, WITHOUT LIMITATION, ITS CORRECTNESS, ACCURACY OR RELIABILITY. + +3.2. No Support. Nothing in this agreement shall obligate Broadcom to +provide any support for the Software. Broadcom may, but shall be under no +obligation to, correct any defects in the Software and/or provide updates to +licensees of the Software. Licensee shall make reasonable efforts to promptly +report to Broadcom any defects it finds in the Software, as an aid to creating +improved revisions of the Software. + +3.3. Dangerous Applications. The Software is not designed, intended, or +certified for use in components of systems intended for the operation of +weapons, weapons systems, nuclear installations, means of mass transportation, +aviation, life-support computers or equipment (including resuscitation +equipment and surgical implants), pollution control, hazardous substances +management, or for any other dangerous application in which the failure of the +Software could create a situation where personal injury or death may occur.  +Licensee understands that use of the Software in such applications is fully at +the risk of Licensee. + +4. TERM AND TERMINATION + +4.1. Termination. This Agreement will automatically terminate if Licensee +fails to comply with any of the terms and conditions hereof. In such event, +Licensee must destroy all copies of the Software and all of its component +parts. + +4.2. Effect Of Termination. Upon any termination of this Agreement, the +rights and licenses granted to Licensee under this Agreement shall immediately +terminate. + +4.3. Survival. The rights and obligations under this Agreement which by +their nature should survive termination will remain in effect after expiration +or termination of this Agreement. + +5. CONFIDENTIALITY + +5.1. Obligations. Licensee acknowledges and agrees that any documentation +relating to the Software, and any other information (if such other information +is identified as confidential or should be recognized as confidential under the +circumstances) provided to Licensee by Broadcom hereunder (collectively, +“Confidential Information”) constitute the confidential and proprietary +information of Broadcom, and that Licensee’s protection thereof is an essential +condition to Licensee’s use and possession of the Software. Licensee shall +retain all Confidential Information in strict confidence and not disclose it to +any third party or use it in any way except under a written agreement with +terms and conditions at least as protective as the terms of this Section. +Licensee will exercise at least the same amount of diligence in preserving the +secrecy of the Confidential Information as it uses in preserving the secrecy of +its own most valuable confidential information, but in no event less than +reasonable diligence. Information shall not be considered Confidential +Information if and to the extent that it: (i) was in the public domain at the +time it was disclosed or has entered the public domain through no fault of +Licensee; (ii) was known to Licensee, without restriction, at the time of +disclosure as proven by the files of Licensee in existence at the time of +disclosure; or (iii) becomes known to Licensee, without restriction, from a +source other than Broadcom without breach of this Agreement by Licensee and +otherwise not in violation of Broadcom’s rights. + +5.2. Return of Confidential Information. Notwithstanding the foregoing, all +documents and other tangible objects containing or representing Broadcom +Confidential Information and all copies thereof which are in the possession of +Licensee shall be and remain the property of Broadcom, and shall be promptly +returned to Broadcom upon written request by Broadcom or upon termination of +this Agreement. + +6. LIMITATION OF LIABILITY TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO +EVENT SHALL BROADCOM OR ANY OF BROADCOM’S LICENSORS HAVE ANY LIABILITY FOR ANY +INDIRECT, INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES, HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER FOR BREACH OF CONTRACT, TORT (INCLUDING +NEGLIGENCE) OR OTHERWISE, ARISING OUT OF THIS AGREEMENT, INCLUDING BUT NOT +LIMITED TO LOSS OF PROFITS, EVEN IF SUCH PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. IN NO EVENT WILL BROADCOM’S LIABILITY WHETHER IN +CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE, EXCEED THE AMOUNT PAID BY +LICENSEE FOR SOFTWARE UNDER THIS AGREEMENT. THESE LIMITATIONS SHALL APPLY +NOTWITHSTANDING ANY FAILURE OF ESSENTIAL PURPOSE OF ANY LIMITED REMEDY. + +7. MISCELLANEOUS + +7.1. Export Regulations. YOU UNDERSTAND AND AGREE THAT THE SOFTWARE IS +SUBJECT TO UNITED STATES AND OTHER APPLICABLE EXPORT-RELATED LAWS AND +REGULATIONS AND THAT YOU MAY NOT EXPORT, RE-EXPORT OR TRANSFER THE SOFTWARE OR +ANY DIRECT PRODUCT OF THE SOFTWARE EXCEPT AS PERMITTED UNDER THOSE LAWS. +WITHOUT LIMITING THE FOREGOING, EXPORT, RE-EXPORT OR TRANSFER OF THE SOFTWARE +TO CUBA, IRAN, NORTH KOREA, SUDAN AND SYRIA IS PROHIBITED. + +7.2 Assignment. This Agreement shall be binding upon and inure to the +benefit of the parties and their respective successors and assigns, provided, +however that Licensee may not assign this Agreement or any rights or obligation +hereunder, directly or indirectly, by operation of law or otherwise, without +the prior written consent of Broadcom, and any such attempted assignment shall +be void. Notwithstanding the foregoing, Licensee may assign this Agreement to +a successor to all or substantially all of its business or assets to which this +Agreement relates that is not a competitor of Broadcom. + +7.3. Governing Law; Venue. This Agreement shall be governed by the laws of +California without regard to any conflict-of-laws rules, and the United Nations +Convention on Contracts for the International Sale of Goods is hereby excluded. +The sole jurisdiction and venue for actions related to the subject matter +hereof shall be the state and federal courts located in the County of Orange, +California, and both parties hereby consent to such jurisdiction and venue. + +7.4. Severability. All terms and provisions of this Agreement shall, if +possible, be construed in a manner which makes them valid, but in the event any +term or provision of this Agreement is found by a court of competent +jurisdiction to be illegal or unenforceable, the validity or enforceability of +the remainder of this Agreement shall not be affected if the illegal or +unenforceable provision does not materially affect the intent of this +Agreement. If the illegal or unenforceable provision materially affects the +intent of the parties to this Agreement, this Agreement shall become +terminated. + +7.5. Equitable Relief. Licensee hereby acknowledges that its breach of this +Agreement would cause irreparable harm and significant injury to Broadcom that +may be difficult to ascertain and that a remedy at law would be inadequate. +Accordingly, Licensee agrees that Broadcom shall have the right to seek and +obtain immediate injunctive relief to enforce obligations under the Agreement +in addition to any other rights and remedies it may have. + +7.6. Waiver. The waiver of, or failure to enforce, any breach or default +hereunder shall not constitute the waiver of any other or subsequent breach or +default. + +7.7. Entire Agreement. This Agreement sets forth the entire Agreement +between the parties and supersedes any and all prior proposals, agreements and +representations between them, whether written or oral concerning the Software. +This Agreement may be changed only by mutual agreement of the parties in +writing. + diff --git a/src/licensedcode/data/rules/broadcom-proprietary_1.yml b/src/licensedcode/data/rules/broadcom-proprietary_1.yml new file mode 100644 index 00000000000..4bb50d376fe --- /dev/null +++ b/src/licensedcode/data/rules/broadcom-proprietary_1.yml @@ -0,0 +1,2 @@ +license_expression: broadcom-proprietary +is_license_text: yes diff --git a/src/licensedcode/data/rules/bsd-3-clause-jtag_1.RULE b/src/licensedcode/data/rules/bsd-3-clause-jtag_1.RULE new file mode 100644 index 00000000000..b1d15922fb2 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-3-clause-jtag_1.RULE @@ -0,0 +1,21 @@ +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. Neither the name of the Regents nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + +IN NO EVENT SHALL REGENTS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, +SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING +OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF REGENTS HAS +BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +REGENTS SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE SOFTWARE AND ACCOMPANYING DOCUMENTATION, IF ANY, PROVIDED +HEREUNDER IS PROVIDED "AS IS". REGENTS HAS NO OBLIGATION TO PROVIDE +MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-3-clause-jtag_1.yml b/src/licensedcode/data/rules/bsd-3-clause-jtag_1.yml new file mode 100644 index 00000000000..56b37e98352 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-3-clause-jtag_1.yml @@ -0,0 +1,5 @@ +license_expression: bsd-3-clause-jtag +is_license_text: yes +relevance: 99 +notes: Minor differences with bsd-3-clause-jtag +minimum_coverage: 75 diff --git a/src/licensedcode/data/rules/bsd-3-clause-jtag_2.RULE b/src/licensedcode/data/rules/bsd-3-clause-jtag_2.RULE new file mode 100644 index 00000000000..0fdff69c662 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-3-clause-jtag_2.RULE @@ -0,0 +1,24 @@ +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above + copyright notice, this list of conditions and the following + disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of the Regents nor the names of its contributors + may be used to endorse or promote products derived from this + software without specific prior written permission. + +IN NO EVENT SHALL REGENTS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, +SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, +ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF +REGENTS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +REGENTS SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE SOFTWARE AND ACCOMPANYING DOCUMENTATION, IF ANY, PROVIDED +HEREUNDER IS PROVIDED "AS IS". REGENTS HAS NO OBLIGATION TO PROVIDE +MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-3-clause-jtag_2.yml b/src/licensedcode/data/rules/bsd-3-clause-jtag_2.yml new file mode 100644 index 00000000000..a4032091f1b --- /dev/null +++ b/src/licensedcode/data/rules/bsd-3-clause-jtag_2.yml @@ -0,0 +1,4 @@ +license_expression: bsd-3-clause-jtag +is_license_text: yes +relevance: 99 +notes: Minor differences with bsd-3-clause-jtag diff --git a/src/licensedcode/data/rules/bsd-4-clause-shortened_1.yml b/src/licensedcode/data/rules/bsd-4-clause-shortened_1.yml index fffd007756a..ad437ae51a0 100644 --- a/src/licensedcode/data/rules/bsd-4-clause-shortened_1.yml +++ b/src/licensedcode/data/rules/bsd-4-clause-shortened_1.yml @@ -4,3 +4,6 @@ relevance: 99 minimum_coverage: 90 notes: this is not exactly the bsd-original-uc text but a rare and close enough variant that once existed in the early/mid 1990's as part of tpcpdump in bsdi 2.1 +ignorable_authors: + - the University of California, Lawrence Berkeley Laboratory and its contributors + diff --git a/src/licensedcode/data/rules/bsd-new_1006.RULE b/src/licensedcode/data/rules/bsd-new_1006.RULE new file mode 100644 index 00000000000..5b92daf96ad --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1006.RULE @@ -0,0 +1,28 @@ +Redistribution. Redistribution and use in binary form, without +modification, are permitted provided that the following conditions are +met: + +* Redistributions must reproduce the above copyright notice and the +following disclaimer in the documentation and/or other materials +provided with the distribution. + +* Neither the name of nor the names of its +suppliers may be used to endorse or promote products derived from this +software without specific prior written permission. + +* No reverse engineering, decompilation, or disassembly of this software +is permitted. + +DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND +CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, +BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE + + diff --git a/src/licensedcode/data/rules/bsd-new_1006.yml b/src/licensedcode/data/rules/bsd-new_1006.yml new file mode 100644 index 00000000000..1940635e96d --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1006.yml @@ -0,0 +1,2 @@ +license_expression: bsd-new +is_license_text: yes diff --git a/src/licensedcode/data/rules/bsd-new_1007.RULE b/src/licensedcode/data/rules/bsd-new_1007.RULE new file mode 100644 index 00000000000..c0a5f1b741c --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1007.RULE @@ -0,0 +1,23 @@ +License: BSD-3-Clause + . + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of Ben Hoyt nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY BEN HOYT ''AS IS'' AND ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL BEN HOYT BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/src/licensedcode/data/rules/bsd-new_1007.yml b/src/licensedcode/data/rules/bsd-new_1007.yml new file mode 100644 index 00000000000..1940635e96d --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1007.yml @@ -0,0 +1,2 @@ +license_expression: bsd-new +is_license_text: yes diff --git a/src/licensedcode/data/rules/bsd-new_1008.RULE b/src/licensedcode/data/rules/bsd-new_1008.RULE new file mode 100644 index 00000000000..c94c46269d0 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1008.RULE @@ -0,0 +1,21 @@ +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: +* Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +* Neither the name of the nor the +names of its contributors may be used to endorse or promote products +derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY ''AS IS'' AND ANY +EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1008.yml b/src/licensedcode/data/rules/bsd-new_1008.yml new file mode 100644 index 00000000000..646f0f05a97 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1008.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-new_1009.RULE b/src/licensedcode/data/rules/bsd-new_1009.RULE new file mode 100644 index 00000000000..b9aa1bf2d60 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1009.RULE @@ -0,0 +1,26 @@ +# Redistribution and use in source and binary forms, with or without + # modification, are permitted provided that the following conditions + # are met: Redistributions of source code must retain the above + # copyright notice, this list of conditions and the following + # disclaimer. Redistributions in binary form must reproduce the + # above copyright notice, this list of conditions and the following + # disclaimer in the documentation and/or other materials provided + # with the distribution. + # + # Neither the name Myanmar Karen Word Lists, nor the names of its + # contributors may be used to endorse or promote products derived + # from this software without specific prior written permission. + # + # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + # CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + # INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS + # BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED + # TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + # ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + # TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF + # THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + # SUCH DAMAGE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1009.yml b/src/licensedcode/data/rules/bsd-new_1009.yml new file mode 100644 index 00000000000..646f0f05a97 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1009.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-new_1010.RULE b/src/licensedcode/data/rules/bsd-new_1010.RULE new file mode 100644 index 00000000000..d58d78bf44a --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1010.RULE @@ -0,0 +1,26 @@ +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. Neither the name of the OpenBLAS project nor the names of + its contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE +USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1010.yml b/src/licensedcode/data/rules/bsd-new_1010.yml new file mode 100644 index 00000000000..646f0f05a97 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1010.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-new_1011.RULE b/src/licensedcode/data/rules/bsd-new_1011.RULE new file mode 100644 index 00000000000..9de8a4cd398 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1011.RULE @@ -0,0 +1,23 @@ +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +- Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +- Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +- Neither the name of the libjpeg-turbo Project nor the names of its + contributors may be used to endorse or promote products derived from this + software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS", +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1011.yml b/src/licensedcode/data/rules/bsd-new_1011.yml new file mode 100644 index 00000000000..646f0f05a97 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1011.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-new_1012.RULE b/src/licensedcode/data/rules/bsd-new_1012.RULE new file mode 100644 index 00000000000..5f1156622f2 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1012.RULE @@ -0,0 +1,19 @@ +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + * The name of the copyright holders may not be used to endorse or promote products + derived from this software without specific prior written permission. + +This software is provided by the copyright holders and contributors "as is" and +any express or implied warranties, including, but not limited to, the implied +warranties of merchantability and fitness for a particular purpose are disclaimed. +In no event shall the Intel Corporation or contributors be liable for any direct, +indirect, incidental, special, exemplary, or consequential damages +(including, but not limited to, procurement of substitute goods or services; +loss of use, data, or profits; or business interruption) however caused +and on any theory of liability, whether in contract, strict liability, +or tort (including negligence or otherwise) arising in any way out of +the use of this software, even if advised of the possibility of such damage. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1012.yml b/src/licensedcode/data/rules/bsd-new_1012.yml new file mode 100644 index 00000000000..af8905153f2 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1012.yml @@ -0,0 +1,4 @@ +license_expression: bsd-new +is_license_text: yes +relevance: 100 +notes: seen in https://github.com/MegEngine/MegEngine/blob/af62cf6f051255a9f9b9789b2c917ac13ae5f10e/dnn/src/x86/simd_macro/sse_helper_typedef.h#L1 diff --git a/src/licensedcode/data/rules/bsd-new_1013.RULE b/src/licensedcode/data/rules/bsd-new_1013.RULE new file mode 100644 index 00000000000..eccd001dd31 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1013.RULE @@ -0,0 +1,25 @@ +IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. + +By downloading, copying, installing or using the software you agree to this license. +If you do not agree to this license, do not download, install, copy or use the software. + + License Agreement +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + * The name of the copyright holders may not be used to endorse or promote products + derived from this software without specific prior written permission. + +This software is provided by the copyright holders and contributors "as is" and +any express or implied warranties, including, but not limited to, the implied +warranties of merchantability and fitness for a particular purpose are disclaimed. +In no event shall the Intel Corporation or contributors be liable for any direct, +indirect, incidental, special, exemplary, or consequential damages +(including, but not limited to, procurement of substitute goods or services; +loss of use, data, or profits; or business interruption) however caused +and on any theory of liability, whether in contract, strict liability, +or tort (including negligence or otherwise) arising in any way out of +the use of this software, even if advised of the possibility of such damage. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1013.yml b/src/licensedcode/data/rules/bsd-new_1013.yml new file mode 100644 index 00000000000..af8905153f2 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1013.yml @@ -0,0 +1,4 @@ +license_expression: bsd-new +is_license_text: yes +relevance: 100 +notes: seen in https://github.com/MegEngine/MegEngine/blob/af62cf6f051255a9f9b9789b2c917ac13ae5f10e/dnn/src/x86/simd_macro/sse_helper_typedef.h#L1 diff --git a/src/licensedcode/data/rules/bsd-new_1014.RULE b/src/licensedcode/data/rules/bsd-new_1014.RULE new file mode 100644 index 00000000000..b0163b9c67a --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1014.RULE @@ -0,0 +1,22 @@ +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of Google Inc. nor the names of any other + contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY GOOGLE INC. ``AS IS'' AND ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +EVENT SHALL GOOGLE INC. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1014.yml b/src/licensedcode/data/rules/bsd-new_1014.yml new file mode 100644 index 00000000000..646f0f05a97 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1014.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-new_1015.RULE b/src/licensedcode/data/rules/bsd-new_1015.RULE new file mode 100644 index 00000000000..0ecad5fec61 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1015.RULE @@ -0,0 +1,26 @@ +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +- Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +- Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. + +- Neither the name of the Xiph.org Foundation nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR +CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1015.yml b/src/licensedcode/data/rules/bsd-new_1015.yml new file mode 100644 index 00000000000..d61f2039c6e --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1015.yml @@ -0,0 +1,4 @@ +license_expression: bsd-new +is_license_text: yes +relevance: 100 +notes: Seen in flac diff --git a/src/licensedcode/data/rules/bsd-new_1016.RULE b/src/licensedcode/data/rules/bsd-new_1016.RULE new file mode 100644 index 00000000000..f59a3bfb5ac --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1016.RULE @@ -0,0 +1 @@ +License: BSDish \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1016.yml b/src/licensedcode/data/rules/bsd-new_1016.yml new file mode 100644 index 00000000000..a9782d20a54 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1016.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_tag: yes +relevance: 90 diff --git a/src/licensedcode/data/rules/bsd-new_1017.RULE b/src/licensedcode/data/rules/bsd-new_1017.RULE new file mode 100644 index 00000000000..24e360404e9 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1017.RULE @@ -0,0 +1 @@ +license = '3-Clause BSD License' \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1017.yml b/src/licensedcode/data/rules/bsd-new_1017.yml new file mode 100644 index 00000000000..c22575d962c --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1017.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_tag: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-new_1018.RULE b/src/licensedcode/data/rules/bsd-new_1018.RULE new file mode 100644 index 00000000000..4eddf24c3fb --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1018.RULE @@ -0,0 +1 @@ +license = { :type => 'BSD-Like' } \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1018.yml b/src/licensedcode/data/rules/bsd-new_1018.yml new file mode 100644 index 00000000000..a9782d20a54 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1018.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_tag: yes +relevance: 90 diff --git a/src/licensedcode/data/rules/bsd-new_1019.RULE b/src/licensedcode/data/rules/bsd-new_1019.RULE new file mode 100644 index 00000000000..fc0682dbb55 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1019.RULE @@ -0,0 +1 @@ +project is now BSD \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1019.yml b/src/licensedcode/data/rules/bsd-new_1019.yml new file mode 100644 index 00000000000..e55e499970e --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1019.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_notice: yes +relevance: 99 diff --git a/src/licensedcode/data/rules/bsd-new_1020.RULE b/src/licensedcode/data/rules/bsd-new_1020.RULE new file mode 100644 index 00000000000..71517f492df --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1020.RULE @@ -0,0 +1,2 @@ +This software is provided under under the BSD 3-Clause License. +See the accompanying LICENSE file for more information. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1020.yml b/src/licensedcode/data/rules/bsd-new_1020.yml new file mode 100644 index 00000000000..77fbef666ba --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1020.yml @@ -0,0 +1,5 @@ +license_expression: bsd-new +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE diff --git a/src/licensedcode/data/rules/bsd-new_1021.RULE b/src/licensedcode/data/rules/bsd-new_1021.RULE new file mode 100644 index 00000000000..61083983988 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1021.RULE @@ -0,0 +1 @@ +provided under a BSD-style license \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1021.yml b/src/licensedcode/data/rules/bsd-new_1021.yml new file mode 100644 index 00000000000..60b23857636 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1021.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_notice: yes +relevance: 90 diff --git a/src/licensedcode/data/rules/bsd-new_1022.RULE b/src/licensedcode/data/rules/bsd-new_1022.RULE new file mode 100644 index 00000000000..4e9a7cb3398 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1022.RULE @@ -0,0 +1 @@ +released under BSD style licenses \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1022.yml b/src/licensedcode/data/rules/bsd-new_1022.yml new file mode 100644 index 00000000000..60b23857636 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1022.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_notice: yes +relevance: 90 diff --git a/src/licensedcode/data/rules/bsd-new_1023.RULE b/src/licensedcode/data/rules/bsd-new_1023.RULE new file mode 100644 index 00000000000..234c5f5f521 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1023.RULE @@ -0,0 +1 @@ +under BSD style licenses \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1023.yml b/src/licensedcode/data/rules/bsd-new_1023.yml new file mode 100644 index 00000000000..60b23857636 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1023.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_notice: yes +relevance: 90 diff --git a/src/licensedcode/data/rules/bsd-new_1024.RULE b/src/licensedcode/data/rules/bsd-new_1024.RULE new file mode 100644 index 00000000000..ff0504dbe5b --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1024.RULE @@ -0,0 +1 @@ +BSD licenses \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1024.yml b/src/licensedcode/data/rules/bsd-new_1024.yml new file mode 100644 index 00000000000..ac2f9af367d --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1024.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_reference: yes +relevance: 90 diff --git a/src/licensedcode/data/rules/bsd-new_1025.RULE b/src/licensedcode/data/rules/bsd-new_1025.RULE new file mode 100644 index 00000000000..2788408331c --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1025.RULE @@ -0,0 +1 @@ +released under the 3-clause New BSD license. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1025.yml b/src/licensedcode/data/rules/bsd-new_1025.yml new file mode 100644 index 00000000000..67d99f838ff --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1025.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-new_1026.RULE b/src/licensedcode/data/rules/bsd-new_1026.RULE new file mode 100644 index 00000000000..ac4048f97ea --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1026.RULE @@ -0,0 +1 @@ +released under the New BSD License: http://www.opensource.org/licenses/bsd-license.php \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1026.yml b/src/licensedcode/data/rules/bsd-new_1026.yml new file mode 100644 index 00000000000..1a6b1a6d080 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1026.yml @@ -0,0 +1,5 @@ +license_expression: bsd-new +is_license_notice: yes +relevance: 100 +ignorable_urls: + - http://www.opensource.org/licenses/bsd-license.php diff --git a/src/licensedcode/data/rules/bsd-new_1027.RULE b/src/licensedcode/data/rules/bsd-new_1027.RULE new file mode 100644 index 00000000000..723500d4384 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1027.RULE @@ -0,0 +1 @@ +under the BSD license, as shown in that file. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1027.yml b/src/licensedcode/data/rules/bsd-new_1027.yml new file mode 100644 index 00000000000..e55e499970e --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1027.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_notice: yes +relevance: 99 diff --git a/src/licensedcode/data/rules/bsd-new_1028.RULE b/src/licensedcode/data/rules/bsd-new_1028.RULE new file mode 100644 index 00000000000..04419310e47 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1028.RULE @@ -0,0 +1 @@ +This software is distributed under the terms of the BSD license. BSD LICENSE \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1028.yml b/src/licensedcode/data/rules/bsd-new_1028.yml new file mode 100644 index 00000000000..e55e499970e --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1028.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_notice: yes +relevance: 99 diff --git a/src/licensedcode/data/rules/bsd-new_1029.RULE b/src/licensedcode/data/rules/bsd-new_1029.RULE new file mode 100644 index 00000000000..b75505108a2 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1029.RULE @@ -0,0 +1,3 @@ +it may be distributed under the Xiph.Org license, which is the least +restrictive of those mentioned above. See the file COPYING.Xiph in this +distribution. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1029.yml b/src/licensedcode/data/rules/bsd-new_1029.yml new file mode 100644 index 00000000000..08fa9f82c04 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1029.yml @@ -0,0 +1,5 @@ +license_expression: bsd-new +is_license_notice: yes +relevance: 100 +referenced_filenames: + - COPYING.Xiph diff --git a/src/licensedcode/data/rules/bsd-new_1030.RULE b/src/licensedcode/data/rules/bsd-new_1030.RULE new file mode 100644 index 00000000000..d5a36180e82 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1030.RULE @@ -0,0 +1 @@ +Xiph.Org license \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1030.yml b/src/licensedcode/data/rules/bsd-new_1030.yml new file mode 100644 index 00000000000..1ea4dba5170 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1030.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-new_1031.RULE b/src/licensedcode/data/rules/bsd-new_1031.RULE new file mode 100644 index 00000000000..a9589f882c0 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1031.RULE @@ -0,0 +1,25 @@ +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1031.yml b/src/licensedcode/data/rules/bsd-new_1031.yml new file mode 100644 index 00000000000..dd984467943 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1031.yml @@ -0,0 +1,4 @@ +license_expression: bsd-new +is_license_text: yes +relevance: 100 +notes: mildly damaged text diff --git a/src/licensedcode/data/rules/bsd-new_1032.RULE b/src/licensedcode/data/rules/bsd-new_1032.RULE new file mode 100644 index 00000000000..b3db30c3934 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1032.RULE @@ -0,0 +1,2 @@ +License +All contributions released under the `BSD 3-Clause License `_. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1032.yml b/src/licensedcode/data/rules/bsd-new_1032.yml new file mode 100644 index 00000000000..c3e5d658602 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1032.yml @@ -0,0 +1,5 @@ +license_expression: bsd-new +is_license_notice: yes +relevance: 100 +ignorable_urls: + - https://opensource.org/licenses/BSD-3-Clause diff --git a/src/licensedcode/data/rules/bsd-new_1033.RULE b/src/licensedcode/data/rules/bsd-new_1033.RULE new file mode 100644 index 00000000000..090936dbd1f --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1033.RULE @@ -0,0 +1 @@ +All contributions released under the `BSD 3-Clause License \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1033.yml b/src/licensedcode/data/rules/bsd-new_1033.yml new file mode 100644 index 00000000000..67d99f838ff --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1033.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-new_1034.RULE b/src/licensedcode/data/rules/bsd-new_1034.RULE new file mode 100644 index 00000000000..4ab5db0a17e --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1034.RULE @@ -0,0 +1 @@ +All contributions released under the `BSD 3-Clause License `_. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1034.yml b/src/licensedcode/data/rules/bsd-new_1034.yml new file mode 100644 index 00000000000..c3e5d658602 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1034.yml @@ -0,0 +1,5 @@ +license_expression: bsd-new +is_license_notice: yes +relevance: 100 +ignorable_urls: + - https://opensource.org/licenses/BSD-3-Clause diff --git a/src/licensedcode/data/rules/bsd-new_1035.RULE b/src/licensedcode/data/rules/bsd-new_1035.RULE new file mode 100644 index 00000000000..a95b41717f7 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1035.RULE @@ -0,0 +1,21 @@ +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of the authors nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1035.yml b/src/licensedcode/data/rules/bsd-new_1035.yml new file mode 100644 index 00000000000..2c6852d6a2f --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1035.yml @@ -0,0 +1,4 @@ +license_expression: bsd-new +is_license_text: yes +relevance: 100 +notes: A truncated bsd-new missing parts of the disclaimer See in https://github.com/gweis/isodate/blob/27cebc56a0f6a900eeb897512879d545095f410b/src/isodate/duration.py diff --git a/src/licensedcode/data/rules/bsd-new_1036.RULE b/src/licensedcode/data/rules/bsd-new_1036.RULE new file mode 100644 index 00000000000..80dba106265 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1036.RULE @@ -0,0 +1,13 @@ +Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. Neither the name of The DragonFly Project nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific, prior written permission. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_1036.yml b/src/licensedcode/data/rules/bsd-new_1036.yml new file mode 100644 index 00000000000..735705fcc89 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_1036.yml @@ -0,0 +1,4 @@ +license_expression: bsd-new +is_license_notice: yes +relevance: 90 +notes: truncated text diff --git a/src/licensedcode/data/rules/bsd-new_and_gpl-2.0_and_gfdl-1.2_1.RULE b/src/licensedcode/data/rules/bsd-new_and_gpl-2.0_and_gfdl-1.2_1.RULE new file mode 100644 index 00000000000..67793e58820 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_and_gpl-2.0_and_gfdl-1.2_1.RULE @@ -0,0 +1,13 @@ +FLAC is comprised of several +components distributed under different licenses. The codec libraries +are distributed under Xiph.Org's BSD-like license (see the file +COPYING.Xiph in this distribution). All other programs, libraries, and +plugins are distributed under the GPL (see COPYING.GPL). The documentation +is distributed under the Gnu FDL (see COPYING.FDL). Each file in the +FLAC distribution contains at the top the terms under which it may be +distributed. + +Since this particular file is relevant to all components of FLAC, +it may be distributed under the Xiph.Org license, which is the least +restrictive of those mentioned above. See the file COPYING.Xiph in this +distribution. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_and_gpl-2.0_and_gfdl-1.2_1.yml b/src/licensedcode/data/rules/bsd-new_and_gpl-2.0_and_gfdl-1.2_1.yml new file mode 100644 index 00000000000..0d7f374a879 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_and_gpl-2.0_and_gfdl-1.2_1.yml @@ -0,0 +1,7 @@ +license_expression: bsd-new AND gpl-2.0 AND gfdl-1.2 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - COPYING.Xiph + - COPYING.GPL + - COPYING.FDL diff --git a/src/licensedcode/data/rules/bsd-new_and_ijg_and_zlib_1.RULE b/src/licensedcode/data/rules/bsd-new_and_ijg_and_zlib_1.RULE new file mode 100644 index 00000000000..626b1aba156 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_and_ijg_and_zlib_1.RULE @@ -0,0 +1,2 @@ +libjpeg-turbo +For a summary of these license terms, see LICENSE.md. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_and_ijg_and_zlib_1.yml b/src/licensedcode/data/rules/bsd-new_and_ijg_and_zlib_1.yml new file mode 100644 index 00000000000..d4f8db26466 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_and_ijg_and_zlib_1.yml @@ -0,0 +1,5 @@ +license_expression: bsd-new AND ijg AND zlib +is_license_reference: yes +relevance: 100 +referenced_filenames: + - LICENSE.md diff --git a/src/licensedcode/data/rules/bsd-new_and_ijg_and_zlib_2.RULE b/src/licensedcode/data/rules/bsd-new_and_ijg_and_zlib_2.RULE new file mode 100644 index 00000000000..5575e8f7ff4 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_and_ijg_and_zlib_2.RULE @@ -0,0 +1 @@ +libjpeg-turbo license \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_and_ijg_and_zlib_2.yml b/src/licensedcode/data/rules/bsd-new_and_ijg_and_zlib_2.yml new file mode 100644 index 00000000000..6abb85300b4 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_and_ijg_and_zlib_2.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new AND ijg AND zlib +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-new_and_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_1.RULE b/src/licensedcode/data/rules/bsd-new_and_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_1.RULE new file mode 100644 index 00000000000..3ab50a2da7a --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_and_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_1.RULE @@ -0,0 +1,13 @@ +This file is part the FLAC project. FLAC is comprised of several +components distributed under different licenses. The codec libraries +are distributed under Xiph.Org's BSD-like license (see the file +COPYING.Xiph in this distribution). All other programs, libraries, and +plugins are distributed under the GPL (see COPYING.GPL). The documentation +is distributed under the Gnu FDL (see COPYING.FDL). Each file in the +FLAC distribution contains at the top the terms under which it may be +distributed. + +Since this particular file is relevant to all components of FLAC, +it may be distributed under the Xiph.Org license, which is the least +restrictive of those mentioned above. See the file COPYING.Xiph in this +distribution. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_and_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_1.yml b/src/licensedcode/data/rules/bsd-new_and_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_1.yml new file mode 100644 index 00000000000..b479123be99 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_and_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_1.yml @@ -0,0 +1,8 @@ +license_expression: bsd-new AND lgpl-2.1 AND gpl-2.0 AND gfdl-1.2 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - COPYING.Xiph + - COPYING.GPL + - COPYING.FDL +notes: in flak makefile.in diff --git a/src/licensedcode/data/rules/bsd-new_and_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_2.RULE b/src/licensedcode/data/rules/bsd-new_and_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_2.RULE new file mode 100644 index 00000000000..29bd09da9ac --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_and_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_2.RULE @@ -0,0 +1,13 @@ +This file is part the FLAC project. FLAC is comprised of several + components distributed under different licenses. The codec libraries + are distributed under Xiph.Org's BSD-like license (see the file + COPYING.Xiph in this distribution). All other programs, libraries, and + plugins are distributed under the LGPL or GPL (see COPYING.LGPL and + COPYING.GPL). The documentation is distributed under the Gnu FDL (see + COPYING.FDL). Each file in the FLAC distribution contains at the top the + terms under which it may be distributed. + + Since this particular file is relevant to all components of FLAC, + it may be distributed under the Xiph.Org license, which is the least + restrictive of those mentioned above. See the file COPYING.Xiph in this + distribution. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_and_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_2.yml b/src/licensedcode/data/rules/bsd-new_and_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_2.yml new file mode 100644 index 00000000000..d9b8bd012de --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_and_lgpl-2.1_and_gpl-2.0_and_gfdl-1.2_2.yml @@ -0,0 +1,8 @@ +license_expression: bsd-new AND lgpl-2.1 AND gpl-2.0 AND gfdl-1.2 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - COPYING.Xiph + - COPYING.LGPL + - COPYING.GPL + - COPYING.FDL diff --git a/src/licensedcode/data/rules/bsd-new_and_public-domain.RULE b/src/licensedcode/data/rules/bsd-new_and_public-domain.RULE new file mode 100644 index 00000000000..d73def56294 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_and_public-domain.RULE @@ -0,0 +1,4 @@ +Release is distributed under the terms of the "BSD" licence, as +specified below. The documentation for, supplied in the "doc" +directory, is distributed under the same terms as the software itself. The data +in the testdata directory is not copyrighted and is in the public domain. diff --git a/src/licensedcode/data/rules/bsd-new_and_public-domain.yml b/src/licensedcode/data/rules/bsd-new_and_public-domain.yml new file mode 100644 index 00000000000..63be182b43b --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_and_public-domain.yml @@ -0,0 +1,2 @@ +license_expression: bsd-new AND public-domain +is_license_notice: yes diff --git a/src/licensedcode/data/rules/bsd-simplified_or_gpl-2.0_4.RULE b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_30.RULE similarity index 100% rename from src/licensedcode/data/rules/bsd-simplified_or_gpl-2.0_4.RULE rename to src/licensedcode/data/rules/bsd-new_or_gpl-2.0_30.RULE diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_30.yml b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_30.yml new file mode 100644 index 00000000000..d22a316a302 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_30.yml @@ -0,0 +1,9 @@ +license_expression: bsd-new OR gpl-2.0 +is_license_notice: yes +relevance: 99 +notes: this is also rarely seen with the bsd-simplified license, hence the lowered relevance +referenced_filenames: + - LICENSE + - COPYING +notes: this is used sometimes with a bsd-new and sometimes with a + bsd-simplified and is both long enough and vaguely defined diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_31.RULE b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_31.RULE new file mode 100644 index 00000000000..0da4dbfce2e --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_31.RULE @@ -0,0 +1,5 @@ +This source code is licensed under both the BSD-style license (found in the +LICENSE file in the root directory of https://github.com/facebook/zstd) and +the GPLv2 (found in the COPYING file in the root directory of +https://github.com/facebook/zstd). You may select, at your option, one of the +above-listed licenses. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_31.yml b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_31.yml new file mode 100644 index 00000000000..564a1f5af49 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_31.yml @@ -0,0 +1,8 @@ +license_expression: bsd-new OR gpl-2.0 +is_license_notice: yes +relevance: 99 +referenced_filenames: + - LICENSE + - COPYING +ignorable_urls: + - https://github.com/facebook/zstd diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_32.RULE b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_32.RULE new file mode 100644 index 00000000000..3b82412a655 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_32.RULE @@ -0,0 +1,3 @@ +This source code is licensed under both the BSD-style license (found in the +LICENSE file in the root directory of this source tree) and the GPLv2 (found +in the COPYING file in the root directory of this source tree). \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_32.yml b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_32.yml new file mode 100644 index 00000000000..6e7c6785c1f --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_32.yml @@ -0,0 +1,6 @@ +license_expression: bsd-new OR gpl-2.0 +is_license_notice: yes +relevance: 99 +referenced_filenames: + - LICENSE + - COPYING diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_33.RULE b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_33.RULE new file mode 100644 index 00000000000..4f323cfc96f --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_33.RULE @@ -0,0 +1 @@ +license to BSD + GPLv2 \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_33.yml b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_33.yml new file mode 100644 index 00000000000..027bb9b1afb --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_33.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new OR gpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_34.RULE b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_34.RULE new file mode 100644 index 00000000000..7f9dd52f39b --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_34.RULE @@ -0,0 +1 @@ +license: BSD + GPLv2 \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_34.yml b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_34.yml new file mode 100644 index 00000000000..027bb9b1afb --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_34.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new OR gpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_35.RULE b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_35.RULE new file mode 100644 index 00000000000..7106a614c65 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_35.RULE @@ -0,0 +1 @@ +provided as an open-source dual [BSD](LICENSE) and [GPLv2](COPYING) licensed \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-simplified_or_gpl-2.0_4.yml b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_35.yml similarity index 65% rename from src/licensedcode/data/rules/bsd-simplified_or_gpl-2.0_4.yml rename to src/licensedcode/data/rules/bsd-new_or_gpl-2.0_35.yml index d8eff332488..e62223465a6 100644 --- a/src/licensedcode/data/rules/bsd-simplified_or_gpl-2.0_4.yml +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_35.yml @@ -1,4 +1,4 @@ -license_expression: bsd-simplified OR gpl-2.0 +license_expression: bsd-new OR gpl-2.0 is_license_notice: yes relevance: 100 referenced_filenames: diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_36.RULE b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_36.RULE new file mode 100644 index 00000000000..7a7981ffaf4 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_36.RULE @@ -0,0 +1 @@ +provided as an open-source dual BSD and GPLv2 \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_36.yml b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_36.yml new file mode 100644 index 00000000000..027bb9b1afb --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_36.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new OR gpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_37.RULE b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_37.RULE new file mode 100644 index 00000000000..f8c3f9d532b --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_37.RULE @@ -0,0 +1 @@ +dual BSD and GPLv2 \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_37.yml b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_37.yml new file mode 100644 index 00000000000..027bb9b1afb --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_37.yml @@ -0,0 +1,3 @@ +license_expression: bsd-new OR gpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_and_generic-cla_1.RULE b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_and_generic-cla_1.RULE new file mode 100644 index 00000000000..9173f9af9a9 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_and_generic-cla_1.RULE @@ -0,0 +1,3 @@ +License +By contributing to Zstandard, you agree that your contributions will be licensed +under both the [LICENSE](LICENSE) file and the [COPYING](COPYING) file in the root directory of this source tree. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_and_generic-cla_1.yml b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_and_generic-cla_1.yml new file mode 100644 index 00000000000..0b63eda683b --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_gpl-2.0_and_generic-cla_1.yml @@ -0,0 +1,7 @@ +license_expression: (bsd-new OR gpl-2.0) AND generic-cla +is_license_notice: yes +relevance: 100 +minimum_coverage: 100 +referenced_filenames: + - LICENSE + - COPYING diff --git a/src/licensedcode/data/rules/bsd-new_or_lgpl-2.0-plus_4.RULE b/src/licensedcode/data/rules/bsd-new_or_lgpl-2.0-plus_4.RULE new file mode 100644 index 00000000000..a1e1ad52c70 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_lgpl-2.0-plus_4.RULE @@ -0,0 +1,38 @@ +Unless otherwise *explicitly* stated the following text describes the +licensed conditions under which the contents of this release +may be distributed: +------------------------------------------------------------------------- +Redistribution and use in source and binary forms of with +or without modification, are permitted provided that the following +conditions are met: + +1. Redistributions of source code must retain any existing copyright + notice, and this entire permission notice in its entirety, + including the disclaimer of warranties. + +2. Redistributions in binary form must reproduce all prior and current + copyright notices, this list of conditions, and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + +3. The name of any author may not be used to endorse or promote + products derived from this software without their specific prior + written permission. + +ALTERNATIVELY, this product may be distributed under the terms of the +GNU General Public License, in which case the provisions of the GNU +GPL are required INSTEAD OF the above restrictions. (This clause is +necessary due to a potential conflict between the GNU GPL and the +restrictions contained in a BSD-style copyright.) + +THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS +OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR +TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE +USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. diff --git a/src/licensedcode/data/rules/bsd-new_or_lgpl-2.0-plus_4.yml b/src/licensedcode/data/rules/bsd-new_or_lgpl-2.0-plus_4.yml new file mode 100644 index 00000000000..9349999f74d --- /dev/null +++ b/src/licensedcode/data/rules/bsd-new_or_lgpl-2.0-plus_4.yml @@ -0,0 +1,2 @@ +license_expression: bsd-new OR lgpl-2.0-plus +is_license_text: yes diff --git a/src/licensedcode/data/rules/bsd-original-uc_12.yml b/src/licensedcode/data/rules/bsd-original-uc_12.yml index f0d50c873bb..8c1c7359b00 100644 --- a/src/licensedcode/data/rules/bsd-original-uc_12.yml +++ b/src/licensedcode/data/rules/bsd-original-uc_12.yml @@ -1,2 +1,5 @@ license_expression: bsd-original-uc is_license_notice: yes +ignorable_authors: + - the University of California, Lawrence Berkeley Laboratory + diff --git a/src/licensedcode/data/rules/bsd-original-uc_23.yml b/src/licensedcode/data/rules/bsd-original-uc_23.yml index e5921987f86..6d1bf9cbab8 100644 --- a/src/licensedcode/data/rules/bsd-original-uc_23.yml +++ b/src/licensedcode/data/rules/bsd-original-uc_23.yml @@ -5,3 +5,5 @@ minimum_coverage: 90 notes: this is a fragment seen in X11 ignorable_authors: - the Computer Systems Engineering group at Lawrence Berkeley Laboratory + - the University of California, Lawrence Berkeley Laboratory + diff --git a/src/licensedcode/data/rules/bsd-original-uc_7.yml b/src/licensedcode/data/rules/bsd-original-uc_7.yml index 667b1bccf62..c08a5fcccb5 100644 --- a/src/licensedcode/data/rules/bsd-original-uc_7.yml +++ b/src/licensedcode/data/rules/bsd-original-uc_7.yml @@ -2,3 +2,6 @@ license_expression: bsd-original-uc is_license_text: yes relevance: 100 minimum_coverage: 90 +ignorable_authors: + - the University of California, Lawrence Berkeley Laboratory and its contributors + diff --git a/src/licensedcode/data/rules/bsd-original_25.yml b/src/licensedcode/data/rules/bsd-original_25.yml index 5b740a1fbc7..78ff7c505a4 100644 --- a/src/licensedcode/data/rules/bsd-original_25.yml +++ b/src/licensedcode/data/rules/bsd-original_25.yml @@ -1,3 +1,6 @@ license_expression: bsd-original is_license_text: yes minimum_coverage: 90 +ignorable_authors: + - the University of California, Berkeley, Intel Corporation, and its contributors + diff --git a/src/licensedcode/data/rules/bsd-original_57.RULE b/src/licensedcode/data/rules/bsd-original_57.RULE new file mode 100644 index 00000000000..97945735dc8 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-original_57.RULE @@ -0,0 +1,28 @@ +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. All advertising materials mentioning features or use of this software must + display the following acknowledgement: This product includes software + developed by the the organization . + +4. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY COPYRIGHT HOLDER "AS IS" AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +EVENT SHALL COPYRIGHT HOLDER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-original_57.yml b/src/licensedcode/data/rules/bsd-original_57.yml new file mode 100644 index 00000000000..5876e905edc --- /dev/null +++ b/src/licensedcode/data/rules/bsd-original_57.yml @@ -0,0 +1,4 @@ +license_expression: bsd-original +is_license_text: yes +relevance: 100 +notes: SDPX damaged text diff --git a/src/licensedcode/data/rules/bsd-simplified_264.RULE b/src/licensedcode/data/rules/bsd-simplified_264.RULE new file mode 100644 index 00000000000..f0c2fb1b3b8 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-simplified_264.RULE @@ -0,0 +1,8 @@ + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. diff --git a/src/licensedcode/data/rules/bsd-simplified_264.yml b/src/licensedcode/data/rules/bsd-simplified_264.yml new file mode 100644 index 00000000000..703e1cc7398 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-simplified_264.yml @@ -0,0 +1,4 @@ +license_expression: bsd-simplified +is_license_text: yes +minimum_coverage: 90 +notes: Found in Debian Copyright Files, note that the disclaimer is missing, but is present elsewhere in the file. diff --git a/src/licensedcode/data/rules/bsd-simplified_265.RULE b/src/licensedcode/data/rules/bsd-simplified_265.RULE new file mode 100644 index 00000000000..3e43028e1db --- /dev/null +++ b/src/licensedcode/data/rules/bsd-simplified_265.RULE @@ -0,0 +1,21 @@ +- Redistribution and use in source and binary forms, with or without + - modification, are permitted provided that the following conditions + - are met: + - 1. Redistributions of source code must retain the above copyright + - notice, this list of conditions and the following disclaimer. + - 2. Redistributions in binary form must reproduce the above + - copyright notice, this list of conditions and the following + - disclaimer in the documentation and/or other materials + - provided with the distribution. + - + - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + - ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANY + - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY + - OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-simplified_265.yml b/src/licensedcode/data/rules/bsd-simplified_265.yml new file mode 100644 index 00000000000..d7f3625b73c --- /dev/null +++ b/src/licensedcode/data/rules/bsd-simplified_265.yml @@ -0,0 +1,3 @@ +license_expression: bsd-simplified +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-simplified_266.RULE b/src/licensedcode/data/rules/bsd-simplified_266.RULE new file mode 100644 index 00000000000..795ee97e2cd --- /dev/null +++ b/src/licensedcode/data/rules/bsd-simplified_266.RULE @@ -0,0 +1,20 @@ +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND ITS CONTRIBUTORS ``AS +IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR ITS +CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-simplified_266.yml b/src/licensedcode/data/rules/bsd-simplified_266.yml new file mode 100644 index 00000000000..d479878a254 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-simplified_266.yml @@ -0,0 +1,4 @@ +license_expression: bsd-simplified +is_license_text: yes +relevance: 100 +notes: found in libdnf diff --git a/src/licensedcode/data/rules/bsd-simplified_267.RULE b/src/licensedcode/data/rules/bsd-simplified_267.RULE new file mode 100644 index 00000000000..fcf57024035 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-simplified_267.RULE @@ -0,0 +1,21 @@ +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +http://opensource.org/licenses/bsd-license.php \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-simplified_267.yml b/src/licensedcode/data/rules/bsd-simplified_267.yml new file mode 100644 index 00000000000..ac725e45757 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-simplified_267.yml @@ -0,0 +1,5 @@ +license_expression: bsd-simplified +is_license_text: yes +relevance: 100 +ignorable_urls: + - http://opensource.org/licenses/bsd-license.php diff --git a/src/licensedcode/data/rules/bsd-simplified_or_gpl-2.0-plus_7.RULE b/src/licensedcode/data/rules/bsd-simplified_or_gpl-2.0-plus_7.RULE new file mode 100644 index 00000000000..b421387cf6b --- /dev/null +++ b/src/licensedcode/data/rules/bsd-simplified_or_gpl-2.0-plus_7.RULE @@ -0,0 +1,39 @@ + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + OF THE POSSIBILITY OF SUCH DAMAGE. + + Alternatively, the contents of this package may be used under the + terms of the GNU General Public License ("GPL") version 2 or any + later version, in which case the provisions of the GPL are + applicable instead of the above. If you wish to allow the use of + your version of this package only under the terms of the GPL and + not to allow others to use your version of this file under the BSD + license, indicate your decision by deleting the provisions above + and replace them with the notice and other provisions required by + the GPL in this and the other files of this package. If you do not + delete the provisions above, a recipient may use your version of + this file under either the BSD or the GPL. + + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/src/licensedcode/data/rules/bsd-simplified_or_gpl-2.0-plus_7.yml b/src/licensedcode/data/rules/bsd-simplified_or_gpl-2.0-plus_7.yml new file mode 100644 index 00000000000..88e6c2bbd15 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-simplified_or_gpl-2.0-plus_7.yml @@ -0,0 +1,6 @@ +license_expression: bsd-simplified OR gpl-2.0-plus +is_license_text: yes +minimum_coverage: 80 +referenced_filenames: + - /usr/share/common-licenses/GPL-2 + diff --git a/src/licensedcode/data/rules/bsd-source-code_7.RULE b/src/licensedcode/data/rules/bsd-source-code_7.RULE new file mode 100644 index 00000000000..e9171f731c0 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-source-code_7.RULE @@ -0,0 +1,21 @@ +Redistribution and use of this software in source and binary forms, +with or without modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above +copyright notice, this list of conditions and the +following disclaimer. + +* Neither the name of Deusty nor the names of its +contributors may be used to endorse or promote products +derived from this software without specific prior +written permission of Deusty, LLC. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-source-code_7.yml b/src/licensedcode/data/rules/bsd-source-code_7.yml new file mode 100644 index 00000000000..d2d24e7e04d --- /dev/null +++ b/src/licensedcode/data/rules/bsd-source-code_7.yml @@ -0,0 +1,3 @@ +license_expression: bsd-source-code +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/bsd-unmodified_4.RULE b/src/licensedcode/data/rules/bsd-unmodified_4.RULE new file mode 100644 index 00000000000..6bfe9992b18 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-unmodified_4.RULE @@ -0,0 +1,21 @@ +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + diff --git a/src/licensedcode/data/rules/bsd-unmodified_4.yml b/src/licensedcode/data/rules/bsd-unmodified_4.yml new file mode 100644 index 00000000000..19561caed97 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-unmodified_4.yml @@ -0,0 +1,2 @@ +license_expression: bsd-unmodified +is_license_text: yes diff --git a/src/licensedcode/data/rules/bsl-1.1_5.RULE b/src/licensedcode/data/rules/bsl-1.1_5.RULE new file mode 100644 index 00000000000..4d802855eae --- /dev/null +++ b/src/licensedcode/data/rules/bsl-1.1_5.RULE @@ -0,0 +1,29 @@ +License text copyright © 2017 MariaDB Corporation Ab, All Rights Reserved. “Business Source License” is a trademark of MariaDB Corporation Ab. + +Terms +The Licensor hereby grants you the right to copy, modify, create derivative works, redistribute, and make non-production use of the Licensed Work. The Licensor may make an Additional Use Grant, above, permitting limited production use. + +Effective on the Change Date, or the fourth anniversary of the first publicly available distribution of a specific version of the Licensed Work under this License, whichever comes first, the Licensor hereby grants you rights under the terms of the Change License, and the rights granted in the paragraph above terminate. + +If your use of the Licensed Work does not comply with the requirements currently in effect as described in this License, you must purchase a commercial license from the Licensor, its affiliated entities, or authorized resellers, or you must refrain from using the Licensed Work. + +All copies of the original and modified Licensed Work, and derivative works of the Licensed Work, are subject to this License. This License applies separately for each version of the Licensed Work and the Change Date may vary for each version of the Licensed Work released by Licensor. + +You must conspicuously display this License on each original or modified copy of the Licensed Work. If you receive the Licensed Work in original or modified form from a third party, the terms and conditions set forth in this License apply to your use of that work. + +Any use of the Licensed Work in violation of this License will automatically terminate your rights under this License for the current and all other versions of the Licensed Work. + +This License does not grant you any right in any trademark or logo of Licensor or its affiliates (provided that you may use a trademark or logo of Licensor as expressly required by this License).TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON AN “AS IS” BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND TITLE.MariaDB hereby grants you permission to use this License’s text to license your works, and to refer to it using the trademark “Business Source License”, as long as you comply with the Covenants of Licensor below. + +Covenants of Licensor +In consideration of the right to use this License’s text and the “Business Source License” name and trademark, Licensor covenants to MariaDB, and to all other recipients of the licensed work to be provided by Licensor: + +To specify as the Change License the GPL Version 2.0 or any later version, or a license that is compatible with GPL Version 2.0 or a later version, where “compatible” means that software provided under the Change License can be included in a program with software provided under GPL Version 2.0 or a later version. Licensor may specify additional Change Licenses without limitation. +To either: (a) specify an additional grant of rights to use that does not impose any additional restriction on the right granted in this License, as the Additional Use Grant; or (b) insert the text “None”. +To specify a Change Date. +Not to modify this License in any other way. + +Notice +The Business Source License (this document, or the “License”) is not an Open Source license. However, the Licensed Work will eventually be made available under an Open Source License, as stated in this License. + +For more information on the use of the Business Source License for MariaDB products, please visit the MariaDB Business Source License FAQ. For more information on the use of the Business Source License generally, please visit the Adopting and Developing Business Source License FAQ. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsl-1.1_5.yml b/src/licensedcode/data/rules/bsl-1.1_5.yml new file mode 100644 index 00000000000..2800f3f5825 --- /dev/null +++ b/src/licensedcode/data/rules/bsl-1.1_5.yml @@ -0,0 +1,7 @@ +license_expression: bsl-1.1 +is_license_text: yes +relevance: 100 +ignorable_copyrights: + - copyright (c) 2017 MariaDB Corporation Ab +ignorable_holders: + - MariaDB Corporation Ab diff --git a/src/licensedcode/data/rules/cc-by-3.0_108.RULE b/src/licensedcode/data/rules/cc-by-3.0_108.RULE new file mode 100644 index 00000000000..06016e4822d --- /dev/null +++ b/src/licensedcode/data/rules/cc-by-3.0_108.RULE @@ -0,0 +1 @@ +under a CC Attribution 3.0 License \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc-by-3.0_108.yml b/src/licensedcode/data/rules/cc-by-3.0_108.yml new file mode 100644 index 00000000000..1efc1c1f174 --- /dev/null +++ b/src/licensedcode/data/rules/cc-by-3.0_108.yml @@ -0,0 +1,3 @@ +license_expression: cc-by-3.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/cc-by-4.0_93.RULE b/src/licensedcode/data/rules/cc-by-4.0_93.RULE new file mode 100644 index 00000000000..d96f5de3c7f --- /dev/null +++ b/src/licensedcode/data/rules/cc-by-4.0_93.RULE @@ -0,0 +1 @@ +provided under a Creative Commons Attribution 4.0 International (CC BY 4.0) license (https://creativecommons.org/licenses/by/4.0/). \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc-by-4.0_93.yml b/src/licensedcode/data/rules/cc-by-4.0_93.yml new file mode 100644 index 00000000000..e1db67e4357 --- /dev/null +++ b/src/licensedcode/data/rules/cc-by-4.0_93.yml @@ -0,0 +1,5 @@ +license_expression: cc-by-4.0 +is_license_notice: yes +relevance: 100 +ignorable_urls: + - https://creativecommons.org/licenses/by/4.0 diff --git a/src/licensedcode/data/rules/cc-by-4.0_94.RULE b/src/licensedcode/data/rules/cc-by-4.0_94.RULE new file mode 100644 index 00000000000..1911f9d2efa --- /dev/null +++ b/src/licensedcode/data/rules/cc-by-4.0_94.RULE @@ -0,0 +1 @@ +provided under a Creative Commons Attribution 4.0 International (CC BY 4.0) \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc-by-4.0_94.yml b/src/licensedcode/data/rules/cc-by-4.0_94.yml new file mode 100644 index 00000000000..adecd60c4a6 --- /dev/null +++ b/src/licensedcode/data/rules/cc-by-4.0_94.yml @@ -0,0 +1,3 @@ +license_expression: cc-by-4.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/cc-by-sa-3.0_82.RULE b/src/licensedcode/data/rules/cc-by-sa-3.0_82.RULE new file mode 100644 index 00000000000..98e29309749 --- /dev/null +++ b/src/licensedcode/data/rules/cc-by-sa-3.0_82.RULE @@ -0,0 +1,4 @@ +This work is licensed under the Creative Commons Attribution-Share Alike 3.0 +Unported License. To view a copy of this license, visit +http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Creative +Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA. \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc-by-sa-3.0_82.yml b/src/licensedcode/data/rules/cc-by-sa-3.0_82.yml new file mode 100644 index 00000000000..de8c0143186 --- /dev/null +++ b/src/licensedcode/data/rules/cc-by-sa-3.0_82.yml @@ -0,0 +1,5 @@ +license_expression: cc-by-sa-3.0 +is_license_notice: yes +relevance: 100 +ignorable_urls: + - http://creativecommons.org/licenses/by-sa/3.0/ diff --git a/src/licensedcode/data/rules/cc-sampling-plus-1.0_2.RULE b/src/licensedcode/data/rules/cc-sampling-plus-1.0_2.RULE new file mode 100644 index 00000000000..36e6a1a72bc --- /dev/null +++ b/src/licensedcode/data/rules/cc-sampling-plus-1.0_2.RULE @@ -0,0 +1,2 @@ +licensed under the Creative Commons Sampling Plus 1.0 License. +You can find the full text in license.txt. \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc-sampling-plus-1.0_2.yml b/src/licensedcode/data/rules/cc-sampling-plus-1.0_2.yml new file mode 100644 index 00000000000..c42c420981f --- /dev/null +++ b/src/licensedcode/data/rules/cc-sampling-plus-1.0_2.yml @@ -0,0 +1,5 @@ +license_expression: cc-sampling-plus-1.0 +is_license_notice: yes +referenced_filenames: + - license.txt +relevance: 100 diff --git a/src/licensedcode/data/rules/cc-sampling-plus-1.0_3.RULE b/src/licensedcode/data/rules/cc-sampling-plus-1.0_3.RULE new file mode 100644 index 00000000000..264b86645df --- /dev/null +++ b/src/licensedcode/data/rules/cc-sampling-plus-1.0_3.RULE @@ -0,0 +1 @@ +licensed under the Creative Commons Sampling Plus 1.0 License. \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc-sampling-plus-1.0_3.yml b/src/licensedcode/data/rules/cc-sampling-plus-1.0_3.yml new file mode 100644 index 00000000000..acc33c26c27 --- /dev/null +++ b/src/licensedcode/data/rules/cc-sampling-plus-1.0_3.yml @@ -0,0 +1,3 @@ +license_expression: cc-sampling-plus-1.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/cc-sampling-plus-1.0_4.RULE b/src/licensedcode/data/rules/cc-sampling-plus-1.0_4.RULE new file mode 100644 index 00000000000..8a82fd681ab --- /dev/null +++ b/src/licensedcode/data/rules/cc-sampling-plus-1.0_4.RULE @@ -0,0 +1,6 @@ +licensed under the Creative Commons Sampling Plus 1.0 License. +You can find the full text in license.txt. + +This license has been chosen as the majority all of the original samples +are licensed under the Creative Commons Sampling Plus 1.0 License with +the exception of a single original sample under public domain. \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc-sampling-plus-1.0_4.yml b/src/licensedcode/data/rules/cc-sampling-plus-1.0_4.yml new file mode 100644 index 00000000000..c42c420981f --- /dev/null +++ b/src/licensedcode/data/rules/cc-sampling-plus-1.0_4.yml @@ -0,0 +1,5 @@ +license_expression: cc-sampling-plus-1.0 +is_license_notice: yes +referenced_filenames: + - license.txt +relevance: 100 diff --git a/src/licensedcode/data/rules/cc-sampling-plus-1.0_5.RULE b/src/licensedcode/data/rules/cc-sampling-plus-1.0_5.RULE new file mode 100644 index 00000000000..1c1761abfdb --- /dev/null +++ b/src/licensedcode/data/rules/cc-sampling-plus-1.0_5.RULE @@ -0,0 +1 @@ +Creative Commons Sampling Plus 1.0 License. \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc-sampling-plus-1.0_5.yml b/src/licensedcode/data/rules/cc-sampling-plus-1.0_5.yml new file mode 100644 index 00000000000..143a90164cf --- /dev/null +++ b/src/licensedcode/data/rules/cc-sampling-plus-1.0_5.yml @@ -0,0 +1,3 @@ +license_expression: cc-sampling-plus-1.0 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/cc-sampling-plus-1.0_6.RULE b/src/licensedcode/data/rules/cc-sampling-plus-1.0_6.RULE new file mode 100644 index 00000000000..531c9bc6328 --- /dev/null +++ b/src/licensedcode/data/rules/cc-sampling-plus-1.0_6.RULE @@ -0,0 +1,2 @@ +licensed under the Creative Commons Sampling Plus 1.0 License with +the exception of a single original sample under public domain. \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc-sampling-plus-1.0_6.yml b/src/licensedcode/data/rules/cc-sampling-plus-1.0_6.yml new file mode 100644 index 00000000000..acc33c26c27 --- /dev/null +++ b/src/licensedcode/data/rules/cc-sampling-plus-1.0_6.yml @@ -0,0 +1,3 @@ +license_expression: cc-sampling-plus-1.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/cc0-1.0_131.RULE b/src/licensedcode/data/rules/cc0-1.0_131.RULE new file mode 100644 index 00000000000..ddfebd56751 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_131.RULE @@ -0,0 +1,2 @@ +To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty. +On Debian systems, the complete text of the CC0 license, version 1.0, can be found in /usr/share/common-licenses/CC0-1.0. diff --git a/src/licensedcode/data/rules/cc0-1.0_131.yml b/src/licensedcode/data/rules/cc0-1.0_131.yml new file mode 100644 index 00000000000..2fc3962386d --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_131.yml @@ -0,0 +1,5 @@ +license_expression: cc0-1.0 +is_license_notice: yes +minimum_coverage: 80 +referenced_filenames: + - /usr/share/common-licenses/CC0-1.0 diff --git a/src/licensedcode/data/rules/cc0-1.0_132.RULE b/src/licensedcode/data/rules/cc0-1.0_132.RULE new file mode 100644 index 00000000000..519b9f7b690 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_132.RULE @@ -0,0 +1 @@ +On Debian systems, the complete text of the CC0 license, version 1.0, can be found in /usr/share/common-licenses/CC0-1.0. diff --git a/src/licensedcode/data/rules/cc0-1.0_132.yml b/src/licensedcode/data/rules/cc0-1.0_132.yml new file mode 100644 index 00000000000..b31a8216a8f --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_132.yml @@ -0,0 +1,5 @@ +license_expression: cc0-1.0 +is_license_reference: yes +minimum_coverage: 90 +referenced_filenames: + - /usr/share/common-licenses/CC0-1.0 diff --git a/src/licensedcode/data/rules/cc0-1.0_133.RULE b/src/licensedcode/data/rules/cc0-1.0_133.RULE new file mode 100644 index 00000000000..8c4a8f2f487 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_133.RULE @@ -0,0 +1 @@ +released under a CC0 license \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc0-1.0_133.yml b/src/licensedcode/data/rules/cc0-1.0_133.yml new file mode 100644 index 00000000000..d763d670a35 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_133.yml @@ -0,0 +1,3 @@ +license_expression: cc0-1.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/cc0-1.0_134.RULE b/src/licensedcode/data/rules/cc0-1.0_134.RULE new file mode 100644 index 00000000000..5c74f3964e6 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_134.RULE @@ -0,0 +1 @@ +CC0 license/Public Domain \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc0-1.0_134.yml b/src/licensedcode/data/rules/cc0-1.0_134.yml new file mode 100644 index 00000000000..49414157743 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_134.yml @@ -0,0 +1,3 @@ +license_expression: cc0-1.0 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/cc0-1.0_135.RULE b/src/licensedcode/data/rules/cc0-1.0_135.RULE new file mode 100644 index 00000000000..faf24458fc5 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_135.RULE @@ -0,0 +1 @@ +released under a CC0 license/Public Domain \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc0-1.0_135.yml b/src/licensedcode/data/rules/cc0-1.0_135.yml new file mode 100644 index 00000000000..d763d670a35 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_135.yml @@ -0,0 +1,3 @@ +license_expression: cc0-1.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/cc0-1.0_136.RULE b/src/licensedcode/data/rules/cc0-1.0_136.RULE new file mode 100644 index 00000000000..e48baa8bcb7 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_136.RULE @@ -0,0 +1 @@ +this script is released under a CC0 license/Public Domain \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc0-1.0_136.yml b/src/licensedcode/data/rules/cc0-1.0_136.yml new file mode 100644 index 00000000000..d763d670a35 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_136.yml @@ -0,0 +1,3 @@ +license_expression: cc0-1.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/cc0-1.0_137.RULE b/src/licensedcode/data/rules/cc0-1.0_137.RULE new file mode 100644 index 00000000000..2aa18a20c2c --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_137.RULE @@ -0,0 +1,4 @@ +* This file is part of . It is subject to the license terms in the LICENSE file found in the top-level + * directory of this distribution and at http://creativecommons.org/publicdomain/zero/1.0/. No part of , + * including this file, may be copied, modified, propagated, or distributed except according to the terms contained + * in the LICENSE file. \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc0-1.0_137.yml b/src/licensedcode/data/rules/cc0-1.0_137.yml new file mode 100644 index 00000000000..f5578f626e3 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_137.yml @@ -0,0 +1,7 @@ +license_expression: cc0-1.0 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE +ignorable_urls: + - http://creativecommons.org/publicdomain/zero/1.0 diff --git a/src/licensedcode/data/rules/cc0-1.0_33.yml b/src/licensedcode/data/rules/cc0-1.0_33.yml index 0bc53fc2901..981cfd8733d 100644 --- a/src/licensedcode/data/rules/cc0-1.0_33.yml +++ b/src/licensedcode/data/rules/cc0-1.0_33.yml @@ -1,3 +1,3 @@ license_expression: cc0-1.0 is_license_reference: yes -relevance: 90 +relevance: 100 diff --git a/src/licensedcode/data/rules/cc0-1.0_or_public-domain_1.RULE b/src/licensedcode/data/rules/cc0-1.0_or_public-domain_1.RULE new file mode 100644 index 00000000000..9833974d4d5 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_or_public-domain_1.RULE @@ -0,0 +1,2 @@ +The example files in this directory are released under a [Creative Commons Zero license] +(https://creativecommons.org/publicdomain/zero/1.0/) (or Public Domain, whichever is applicable in your jurisdiction). \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc0-1.0_or_public-domain_1.yml b/src/licensedcode/data/rules/cc0-1.0_or_public-domain_1.yml new file mode 100644 index 00000000000..50d96068943 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_or_public-domain_1.yml @@ -0,0 +1,5 @@ +license_expression: cc0-1.0 OR public-domain +is_license_notice: yes +relevance: 100 +ignorable_urls: + - https://creativecommons.org/publicdomain/zero/1.0 diff --git a/src/licensedcode/data/rules/cc0-1.0_or_public-domain_2.RULE b/src/licensedcode/data/rules/cc0-1.0_or_public-domain_2.RULE new file mode 100644 index 00000000000..7251e54b7b4 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_or_public-domain_2.RULE @@ -0,0 +1,2 @@ +released under a [Creative Commons Zero license] +(https://creativecommons.org/publicdomain/zero/1.0/) (or Public Domain, whichever is applicable in your jurisdiction). \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc0-1.0_or_public-domain_2.yml b/src/licensedcode/data/rules/cc0-1.0_or_public-domain_2.yml new file mode 100644 index 00000000000..50d96068943 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_or_public-domain_2.yml @@ -0,0 +1,5 @@ +license_expression: cc0-1.0 OR public-domain +is_license_notice: yes +relevance: 100 +ignorable_urls: + - https://creativecommons.org/publicdomain/zero/1.0 diff --git a/src/licensedcode/data/rules/cc0-1.0_or_public-domain_3.RULE b/src/licensedcode/data/rules/cc0-1.0_or_public-domain_3.RULE new file mode 100644 index 00000000000..5fdfecd6d60 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_or_public-domain_3.RULE @@ -0,0 +1,2 @@ +released under a [Creative Commons Zero license] +(https://creativecommons.org/publicdomain/zero/1.0/) (or Public Domain) \ No newline at end of file diff --git a/src/licensedcode/data/rules/cc0-1.0_or_public-domain_3.yml b/src/licensedcode/data/rules/cc0-1.0_or_public-domain_3.yml new file mode 100644 index 00000000000..50d96068943 --- /dev/null +++ b/src/licensedcode/data/rules/cc0-1.0_or_public-domain_3.yml @@ -0,0 +1,5 @@ +license_expression: cc0-1.0 OR public-domain +is_license_notice: yes +relevance: 100 +ignorable_urls: + - https://creativecommons.org/publicdomain/zero/1.0 diff --git a/src/licensedcode/data/rules/cddl-1.0_62.RULE b/src/licensedcode/data/rules/cddl-1.0_62.RULE new file mode 100644 index 00000000000..bbdb9aed909 --- /dev/null +++ b/src/licensedcode/data/rules/cddl-1.0_62.RULE @@ -0,0 +1,363 @@ +COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 + +1. Definitions. + + 1.1. "Contributor" means each individual or entity that creates + or contributes to the creation of Modifications. + + 1.2. "Contributor Version" means the combination of the Original + Software, prior Modifications used by a Contributor (if any), + and the Modifications made by that particular Contributor. + + 1.3. "Covered Software" means (a) the Original Software, or (b) + Modifications, or (c) the combination of files containing + Original Software with files containing Modifications, in + each case including portions thereof. + + 1.4. "Executable" means the Covered Software in any form other + than Source Code. + + 1.5. "Initial Developer" means the individual or entity that first + makes Original Software available under this License. + + 1.6. "Larger Work" means a work which combines Covered Software or + portions thereof with code not governed by the terms of this + License. + + 1.7. "License" means this document. + + 1.8. "Licensable" means having the right to grant, to the maximum + extent possible, whether at the time of the initial grant or + subsequently acquired, any and all of the rights conveyed + herein. + + 1.9. "Modifications" means the Source Code and Executable form of + any of the following: + + A. Any file that results from an addition to, deletion from or + modification of the contents of a file containing Original + Software or previous Modifications; + + B. Any new file that contains any part of the Original + Software or previous Modifications; or + + C. Any new file that is contributed or otherwise made + available under the terms of this License. + + 1.10. "Original Software" means the Source Code and Executable + form of computer software code that is originally released + under this License. + + 1.11. "Patent Claims" means any patent claim(s), now owned or + hereafter acquired, including without limitation, method, + process, and apparatus claims, in any patent Licensable by + grantor. + + 1.12. "Source Code" means (a) the common form of computer software + code in which modifications are made and (b) associated + documentation included in or with such code. + + 1.13. "You" (or "Your") means an individual or a legal entity + exercising rights under, and complying with all of the terms + of, this License. For legal entities, "You" includes any + entity which controls, is controlled by, or is under common + control with You. For purposes of this definition, + "control" means (a) the power, direct or indirect, to cause + the direction or management of such entity, whether by + contract or otherwise, or (b) ownership of more than fifty + percent (50%) of the outstanding shares or beneficial + ownership of such entity. + +2. License Grants. + + 2.1. The Initial Developer Grant. + + Conditioned upon Your compliance with Section 3.1 below and + subject to third party intellectual property claims, the Initial + Developer hereby grants You a world-wide, royalty-free, + non-exclusive license: + + (a) under intellectual property rights (other than patent or + trademark) Licensable by Initial Developer, to use, + reproduce, modify, display, perform, sublicense and + distribute the Original Software (or portions thereof), + with or without Modifications, and/or as part of a Larger + Work; and + + (b) under Patent Claims infringed by the making, using or + selling of Original Software, to make, have made, use, + practice, sell, and offer for sale, and/or otherwise + dispose of the Original Software (or portions thereof). + + (c) The licenses granted in Sections 2.1(a) and (b) are + effective on the date Initial Developer first distributes + or otherwise makes the Original Software available to a + third party under the terms of this License. + + (d) Notwithstanding Section 2.1(b) above, no patent license is + granted: (1) for code that You delete from the Original + Software, or (2) for infringements caused by: (i) the + modification of the Original Software, or (ii) the + combination of the Original Software with other software + or devices. + + 2.2. Contributor Grant. + + Conditioned upon Your compliance with Section 3.1 below and + subject to third party intellectual property claims, each + Contributor hereby grants You a world-wide, royalty-free, + non-exclusive license: + + (a) under intellectual property rights (other than patent or + trademark) Licensable by Contributor to use, reproduce, + modify, display, perform, sublicense and distribute the + Modifications created by such Contributor (or portions + thereof), either on an unmodified basis, with other + Modifications, as Covered Software and/or as part of a + Larger Work; and + + (b) under Patent Claims infringed by the making, using, or + selling of Modifications made by that Contributor either + alone and/or in combination with its Contributor Version + (or portions of such combination), to make, use, sell, + offer for sale, have made, and/or otherwise dispose of: + (1) Modifications made by that Contributor (or portions + thereof); and (2) the combination of Modifications made by + that Contributor with its Contributor Version (or portions + of such combination). + + (c) The licenses granted in Sections 2.2(a) and 2.2(b) are + effective on the date Contributor first distributes or + otherwise makes the Modifications available to a third + party. + + (d) Notwithstanding Section 2.2(b) above, no patent license is + granted: (1) for any code that Contributor has deleted + from the Contributor Version; (2) for infringements caused + by: (i) third party modifications of Contributor Version, + or (ii) the combination of Modifications made by that + Contributor with other software (except as part of the + Contributor Version) or other devices; or (3) under Patent + Claims infringed by Covered Software in the absence of + Modifications made by that Contributor. + +3. Distribution Obligations. + + 3.1. Availability of Source Code. + + Any Covered Software that You distribute or otherwise make + available in Executable form must also be made available in Source + Code form and that Source Code form must be distributed only under + the terms of this License. You must include a copy of this + License with every copy of the Source Code form of the Covered + Software You distribute or otherwise make available. You must + inform recipients of any such Covered Software in Executable form + as to how they can obtain such Covered Software in Source Code + form in a reasonable manner on or through a medium customarily + used for software exchange. + + 3.2. Modifications. + + The Modifications that You create or to which You contribute are + governed by the terms of this License. You represent that You + believe Your Modifications are Your original creation(s) and/or + You have sufficient rights to grant the rights conveyed by this + License. + + 3.3. Required Notices. + + You must include a notice in each of Your Modifications that + identifies You as the Contributor of the Modification. You may + not remove or alter any copyright, patent or trademark notices + contained within the Covered Software, or any notices of licensing + or any descriptive text giving attribution to any Contributor or + the Initial Developer. + + 3.4. Application of Additional Terms. + + You may not offer or impose any terms on any Covered Software in + Source Code form that alters or restricts the applicable version + of this License or the recipients' rights hereunder. You may + choose to offer, and to charge a fee for, warranty, support, + indemnity or liability obligations to one or more recipients of + Covered Software. However, you may do so only on Your own behalf, + and not on behalf of the Initial Developer or any Contributor. + You must make it absolutely clear that any such warranty, support, + indemnity or liability obligation is offered by You alone, and You + hereby agree to indemnify the Initial Developer and every + Contributor for any liability incurred by the Initial Developer or + such Contributor as a result of warranty, support, indemnity or + liability terms You offer. + + 3.5. Distribution of Executable Versions. + + You may distribute the Executable form of the Covered Software + under the terms of this License or under the terms of a license of + Your choice, which may contain terms different from this License, + provided that You are in compliance with the terms of this License + and that the license for the Executable form does not attempt to + limit or alter the recipient's rights in the Source Code form from + the rights set forth in this License. If You distribute the + Covered Software in Executable form under a different license, You + must make it absolutely clear that any terms which differ from + this License are offered by You alone, not by the Initial + Developer or Contributor. You hereby agree to indemnify the + Initial Developer and every Contributor for any liability incurred + by the Initial Developer or such Contributor as a result of any + such terms You offer. + + 3.6. Larger Works. + + You may create a Larger Work by combining Covered Software with + other code not governed by the terms of this License and + distribute the Larger Work as a single product. In such a case, + You must make sure the requirements of this License are fulfilled + for the Covered Software. + +4. Versions of the License. + + 4.1. New Versions. + + Sun Microsystems, Inc. is the initial license steward and may + publish revised and/or new versions of this License from time to + time. Each version will be given a distinguishing version number. + Except as provided in Section 4.3, no one other than the license + steward has the right to modify this License. + + 4.2. Effect of New Versions. + + You may always continue to use, distribute or otherwise make the + Covered Software available under the terms of the version of the + License under which You originally received the Covered Software. + If the Initial Developer includes a notice in the Original + Software prohibiting it from being distributed or otherwise made + available under any subsequent version of the License, You must + distribute and make the Covered Software available under the terms + of the version of the License under which You originally received + the Covered Software. Otherwise, You may also choose to use, + distribute or otherwise make the Covered Software available under + the terms of any subsequent version of the License published by + the license steward. + + 4.3. Modified Versions. + + When You are an Initial Developer and You want to create a new + license for Your Original Software, You may create and use a + modified version of this License if You: (a) rename the license + and remove any references to the name of the license steward + (except to note that the license differs from this License); and + (b) otherwise make it clear that the license contains terms which + differ from this License. + +5. DISCLAIMER OF WARRANTY. + + COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" + BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, + INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED + SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR + PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND + PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY + COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE + INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY + NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF + WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF + ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS + DISCLAIMER. + +6. TERMINATION. + + 6.1. This License and the rights granted hereunder will terminate + automatically if You fail to comply with terms herein and fail to + cure such breach within 30 days of becoming aware of the breach. + Provisions which, by their nature, must remain in effect beyond + the termination of this License shall survive. + + 6.2. If You assert a patent infringement claim (excluding + declaratory judgment actions) against Initial Developer or a + Contributor (the Initial Developer or Contributor against whom You + assert such claim is referred to as "Participant") alleging that + the Participant Software (meaning the Contributor Version where + the Participant is a Contributor or the Original Software where + the Participant is the Initial Developer) directly or indirectly + infringes any patent, then any and all rights granted directly or + indirectly to You by such Participant, the Initial Developer (if + the Initial Developer is not the Participant) and all Contributors + under Sections 2.1 and/or 2.2 of this License shall, upon 60 days + notice from Participant terminate prospectively and automatically + at the expiration of such 60 day notice period, unless if within + such 60 day period You withdraw Your claim with respect to the + Participant Software against such Participant either unilaterally + or pursuant to a written agreement with Participant. + + 6.3. In the event of termination under Sections 6.1 or 6.2 above, + all end user licenses that have been validly granted by You or any + distributor hereunder prior to termination (excluding licenses + granted to You by any distributor) shall survive termination. + +7. LIMITATION OF LIABILITY. + + UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT + (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE + INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF + COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE + LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR + CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT + LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK + STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER + COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN + INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF + LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL + INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT + APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO + NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR + CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT + APPLY TO YOU. + +8. U.S. GOVERNMENT END USERS. + + The Covered Software is a "commercial item," as that term is + defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial + computer software" (as that term is defined at 48 + C.F.R. 252.227-7014(a)(1)) and "commercial computer software + documentation" as such terms are used in 48 C.F.R. 12.212 + (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 + C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all + U.S. Government End Users acquire Covered Software with only those + rights set forth herein. This U.S. Government Rights clause is in + lieu of, and supersedes, any other FAR, DFAR, or other clause or + provision that addresses Government rights in computer software + under this License. + +9. MISCELLANEOUS. + + This License represents the complete agreement concerning subject + matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. This License shall be governed + by the law of the jurisdiction specified in a notice contained + within the Original Software (except to the extent applicable law, + if any, provides otherwise), excluding such jurisdiction's + conflict-of-law provisions. Any litigation relating to this + License shall be subject to the jurisdiction of the courts located + in the jurisdiction and venue specified in a notice contained + within the Original Software, with the losing party responsible + for costs, including, without limitation, court costs and + reasonable attorneys' fees and expenses. The application of the + United Nations Convention on Contracts for the International Sale + of Goods is expressly excluded. Any law or regulation which + provides that the language of a contract shall be construed + against the drafter shall not apply to this License. You agree + that You alone are responsible for compliance with the United + States export administration regulations (and the export control + laws and regulation of any other countries) when You use, + distribute or otherwise make available any Covered Software. + +10. RESPONSIBILITY FOR CLAIMS. + + As between Initial Developer and the Contributors, each party is + responsible for claims and damages arising, directly or + indirectly, out of its utilization of rights under this License + and You agree to work with Initial Developer and Contributors to + distribute such responsibility on an equitable basis. Nothing + herein is intended or shall be deemed to constitute any admission + of liability. \ No newline at end of file diff --git a/src/licensedcode/data/rules/cddl-1.0_62.yml b/src/licensedcode/data/rules/cddl-1.0_62.yml new file mode 100644 index 00000000000..779d34c6f71 --- /dev/null +++ b/src/licensedcode/data/rules/cddl-1.0_62.yml @@ -0,0 +1,3 @@ +license_expression: cddl-1.0 +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/cddl-1.0_63.RULE b/src/licensedcode/data/rules/cddl-1.0_63.RULE new file mode 100644 index 00000000000..01243562f29 --- /dev/null +++ b/src/licensedcode/data/rules/cddl-1.0_63.RULE @@ -0,0 +1,10 @@ +* The contents of this file are subject to the terms of the Common + * Development and Distribution License (the "License") version 1.0 + * and no later version. You may not use this file except in + * compliance with the License. + * + * You can obtain a copy of the License at + * http://www.opensource.org/licenses/cddl1.php + * + * See the License for the specific language governing permissions + * and limitations under the License. \ No newline at end of file diff --git a/src/licensedcode/data/rules/cddl-1.0_63.yml b/src/licensedcode/data/rules/cddl-1.0_63.yml new file mode 100644 index 00000000000..7984a5f0b24 --- /dev/null +++ b/src/licensedcode/data/rules/cddl-1.0_63.yml @@ -0,0 +1,6 @@ +license_expression: cddl-1.0 +is_license_notice: yes +relevance: 100 +notes: CDDL worded like an Apache notice +ignorable_urls: + - http://www.opensource.org/licenses/cddl1.php diff --git a/src/licensedcode/data/rules/cddl-1.0_64.RULE b/src/licensedcode/data/rules/cddl-1.0_64.RULE new file mode 100644 index 00000000000..434eec4a296 --- /dev/null +++ b/src/licensedcode/data/rules/cddl-1.0_64.RULE @@ -0,0 +1 @@ +Driver is licensed under the CDDL 1.0. \ No newline at end of file diff --git a/src/licensedcode/data/rules/cddl-1.0_64.yml b/src/licensedcode/data/rules/cddl-1.0_64.yml new file mode 100644 index 00000000000..29e623ee8f6 --- /dev/null +++ b/src/licensedcode/data/rules/cddl-1.0_64.yml @@ -0,0 +1,3 @@ +license_expression: cddl-1.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/cddl-1.0_65.RULE b/src/licensedcode/data/rules/cddl-1.0_65.RULE new file mode 100644 index 00000000000..2055bf253e2 --- /dev/null +++ b/src/licensedcode/data/rules/cddl-1.0_65.RULE @@ -0,0 +1 @@ +licensed under the CDDL 1.0. \ No newline at end of file diff --git a/src/licensedcode/data/rules/cddl-1.0_65.yml b/src/licensedcode/data/rules/cddl-1.0_65.yml new file mode 100644 index 00000000000..29e623ee8f6 --- /dev/null +++ b/src/licensedcode/data/rules/cddl-1.0_65.yml @@ -0,0 +1,3 @@ +license_expression: cddl-1.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/commercial-license_70.RULE b/src/licensedcode/data/rules/commercial-license_70.RULE new file mode 100644 index 00000000000..65984c16eef --- /dev/null +++ b/src/licensedcode/data/rules/commercial-license_70.RULE @@ -0,0 +1 @@ +require a commercial license to be used in a commercial business. \ No newline at end of file diff --git a/src/licensedcode/data/rules/commercial-license_70.yml b/src/licensedcode/data/rules/commercial-license_70.yml new file mode 100644 index 00000000000..d7cf75abec5 --- /dev/null +++ b/src/licensedcode/data/rules/commercial-license_70.yml @@ -0,0 +1,3 @@ +license_expression: commercial-license +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/commercial-license_71.RULE b/src/licensedcode/data/rules/commercial-license_71.RULE new file mode 100644 index 00000000000..8c0563946cc --- /dev/null +++ b/src/licensedcode/data/rules/commercial-license_71.RULE @@ -0,0 +1 @@ +require a commercial license to be used \ No newline at end of file diff --git a/src/licensedcode/data/rules/commercial-license_71.yml b/src/licensedcode/data/rules/commercial-license_71.yml new file mode 100644 index 00000000000..d7cf75abec5 --- /dev/null +++ b/src/licensedcode/data/rules/commercial-license_71.yml @@ -0,0 +1,3 @@ +license_expression: commercial-license +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/commercial-license_72.RULE b/src/licensedcode/data/rules/commercial-license_72.RULE new file mode 100644 index 00000000000..e0ec27bfde1 --- /dev/null +++ b/src/licensedcode/data/rules/commercial-license_72.RULE @@ -0,0 +1 @@ +Commercial licenses, which includes support, can be purchased \ No newline at end of file diff --git a/src/licensedcode/data/rules/commercial-license_72.yml b/src/licensedcode/data/rules/commercial-license_72.yml new file mode 100644 index 00000000000..d7cf75abec5 --- /dev/null +++ b/src/licensedcode/data/rules/commercial-license_72.yml @@ -0,0 +1,3 @@ +license_expression: commercial-license +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/commercial-license_73.RULE b/src/licensedcode/data/rules/commercial-license_73.RULE new file mode 100644 index 00000000000..ff81f1f6497 --- /dev/null +++ b/src/licensedcode/data/rules/commercial-license_73.RULE @@ -0,0 +1,5 @@ +* NOTICE OF LICENSE +* This source file is subject to a commercial license from +* Use, copy, modification or distribution of this source file without written +* license agreement from the ecommence is strictly forbidden. +* In order to obtain a license, please contact us: \ No newline at end of file diff --git a/src/licensedcode/data/rules/commercial-license_73.yml b/src/licensedcode/data/rules/commercial-license_73.yml new file mode 100644 index 00000000000..d7cf75abec5 --- /dev/null +++ b/src/licensedcode/data/rules/commercial-license_73.yml @@ -0,0 +1,3 @@ +license_expression: commercial-license +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/commercial-license_74.RULE b/src/licensedcode/data/rules/commercial-license_74.RULE new file mode 100644 index 00000000000..19202518d1b --- /dev/null +++ b/src/licensedcode/data/rules/commercial-license_74.RULE @@ -0,0 +1,2 @@ +* This source file is subject to a commercial license +* \ No newline at end of file diff --git a/src/licensedcode/data/rules/commercial-license_74.yml b/src/licensedcode/data/rules/commercial-license_74.yml new file mode 100644 index 00000000000..d7cf75abec5 --- /dev/null +++ b/src/licensedcode/data/rules/commercial-license_74.yml @@ -0,0 +1,3 @@ +license_expression: commercial-license +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/commercial-license_75.RULE b/src/licensedcode/data/rules/commercial-license_75.RULE new file mode 100644 index 00000000000..5ed536febf6 --- /dev/null +++ b/src/licensedcode/data/rules/commercial-license_75.RULE @@ -0,0 +1,4 @@ +* This source file is subject to a commercial license from +* Use, copy, modification or distribution of this source file without written +* license agreement from the is strictly forbidden. +* In order to obtain a license, please contact us: \ No newline at end of file diff --git a/src/licensedcode/data/rules/commercial-license_75.yml b/src/licensedcode/data/rules/commercial-license_75.yml new file mode 100644 index 00000000000..d7cf75abec5 --- /dev/null +++ b/src/licensedcode/data/rules/commercial-license_75.yml @@ -0,0 +1,3 @@ +license_expression: commercial-license +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/cpal-1.0_27.RULE b/src/licensedcode/data/rules/cpal-1.0_27.RULE new file mode 100644 index 00000000000..64702ee6a73 --- /dev/null +++ b/src/licensedcode/data/rules/cpal-1.0_27.RULE @@ -0,0 +1,28 @@ +The contents of this file are subject to the Common Public Attribution License +Version 1.0 (the “License”); you may not use this file except in compliance with +the License. You may obtain a copy of the License at _____. The License is based +on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added +to cover use of software over a computer network and provide for limited +attribution for the Original Developer. In addition, Exhibit A has been modified +to be consistent with Exhibit B. + +Software distributed under the License is distributed on an “AS IS” basis, +WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the +specific language governing rights and limitations under the License. + +The Original Code is _____ . +The Original Developer is not the Initial Developer and is _____ . If left +blank, the Original Developer is the Initial Developer. +The Initial Developer of the Original Code is _____ . All portions of the code +written by _____ are Copyright (c) _____ . All Rights Reserved. +Contributor _____ . + +Alternatively, the contents of this file may be used under the terms of the +_____ license (the [____] License), in which case the provisions of [____] +License are applicable instead of those above. If you wish to allow use of your +version of this file only under the terms of the [____] License and not to allow +others to use your version of this file under the CPAL, indicate your decision +by deleting the provisions above and replace them with the notice and other +provisions required by the [____] License. If you do not delete the provisions +above, a recipient may use your version of this file under either the CPAL or +the [____] License. \ No newline at end of file diff --git a/src/licensedcode/data/rules/cpal-1.0_27.yml b/src/licensedcode/data/rules/cpal-1.0_27.yml new file mode 100644 index 00000000000..589043c9574 --- /dev/null +++ b/src/licensedcode/data/rules/cpal-1.0_27.yml @@ -0,0 +1,3 @@ +license_expression: cpal-1.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/false-positive_7372.RULE b/src/licensedcode/data/rules/false-positive_7372.RULE new file mode 100644 index 00000000000..836d34f8f96 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7372.RULE @@ -0,0 +1 @@ +For `AutoIt `_ files. \ No newline at end of file diff --git a/src/licensedcode/data/rules/false-positive_7372.yml b/src/licensedcode/data/rules/false-positive_7372.yml new file mode 100644 index 00000000000..c9419feb159 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7372.yml @@ -0,0 +1,2 @@ +is_false_positive: yes +notes: Note a license, but a comment about licenses. diff --git a/src/licensedcode/data/rules/false-positive_7373.RULE b/src/licensedcode/data/rules/false-positive_7373.RULE new file mode 100644 index 00000000000..388a23598eb --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7373.RULE @@ -0,0 +1,2 @@ +AutoIt is a freeware BASIC-like scripting language +designed for automating the Windows GUI and general scripting \ No newline at end of file diff --git a/src/licensedcode/data/rules/false-positive_7373.yml b/src/licensedcode/data/rules/false-positive_7373.yml new file mode 100644 index 00000000000..c9419feb159 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7373.yml @@ -0,0 +1,2 @@ +is_false_positive: yes +notes: Note a license, but a comment about licenses. diff --git a/src/licensedcode/data/rules/false-positive_7374.RULE b/src/licensedcode/data/rules/false-positive_7374.RULE new file mode 100644 index 00000000000..576f28e4a50 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7374.RULE @@ -0,0 +1 @@ +https://licenses.nuget.org/{0} \ No newline at end of file diff --git a/src/licensedcode/data/rules/false-positive_7374.yml b/src/licensedcode/data/rules/false-positive_7374.yml new file mode 100644 index 00000000000..af1565b090a --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7374.yml @@ -0,0 +1,2 @@ +is_false_positive: yes +notes: seen in nuget.exe diff --git a/src/licensedcode/data/rules/false-positive_7375.RULE b/src/licensedcode/data/rules/false-positive_7375.RULE new file mode 100644 index 00000000000..b5438489cfd --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7375.RULE @@ -0,0 +1 @@ +errors in public domain \ No newline at end of file diff --git a/src/licensedcode/data/rules/false-positive_7375.yml b/src/licensedcode/data/rules/false-positive_7375.yml new file mode 100644 index 00000000000..720d0fe756c --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7375.yml @@ -0,0 +1,2 @@ +is_false_positive: yes +notes: not a public domain statement diff --git a/src/licensedcode/data/rules/false-positive_7376.RULE b/src/licensedcode/data/rules/false-positive_7376.RULE new file mode 100644 index 00000000000..cf300ed5592 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7376.RULE @@ -0,0 +1 @@ +in the public domain or a new error \ No newline at end of file diff --git a/src/licensedcode/data/rules/false-positive_7376.yml b/src/licensedcode/data/rules/false-positive_7376.yml new file mode 100644 index 00000000000..720d0fe756c --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7376.yml @@ -0,0 +1,2 @@ +is_false_positive: yes +notes: not a public domain statement diff --git a/src/licensedcode/data/rules/false-positive_7377.RULE b/src/licensedcode/data/rules/false-positive_7377.RULE new file mode 100644 index 00000000000..931320cabfa --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7377.RULE @@ -0,0 +1 @@ +SsPl; D \ No newline at end of file diff --git a/src/licensedcode/data/rules/false-positive_7377.yml b/src/licensedcode/data/rules/false-positive_7377.yml new file mode 100644 index 00000000000..bf91c215c3d --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7377.yml @@ -0,0 +1,2 @@ +is_false_positive: yes +notes: not an SSPL reference diff --git a/src/licensedcode/data/rules/false-positive_7378.RULE b/src/licensedcode/data/rules/false-positive_7378.RULE new file mode 100644 index 00000000000..5f9def58ae9 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7378.RULE @@ -0,0 +1 @@ +questions about the GPL, LGPL licenses \ No newline at end of file diff --git a/src/licensedcode/data/rules/false-positive_7378.yml b/src/licensedcode/data/rules/false-positive_7378.yml new file mode 100644 index 00000000000..bd185ea4f64 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7378.yml @@ -0,0 +1,2 @@ +is_false_positive: yes +notes: comments about licenses seen in a README diff --git a/src/licensedcode/data/rules/false-positive_7379.RULE b/src/licensedcode/data/rules/false-positive_7379.RULE new file mode 100644 index 00000000000..fa73093793f --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7379.RULE @@ -0,0 +1 @@ +the Free Software Foundation's GPL FAQ \ No newline at end of file diff --git a/src/licensedcode/data/rules/false-positive_7379.yml b/src/licensedcode/data/rules/false-positive_7379.yml new file mode 100644 index 00000000000..bd185ea4f64 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7379.yml @@ -0,0 +1,2 @@ +is_false_positive: yes +notes: comments about licenses seen in a README diff --git a/src/licensedcode/data/rules/false-positive_7380.RULE b/src/licensedcode/data/rules/false-positive_7380.RULE new file mode 100644 index 00000000000..83564557844 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7380.RULE @@ -0,0 +1 @@ +licenses like the X11, BSD licenses \ No newline at end of file diff --git a/src/licensedcode/data/rules/false-positive_7380.yml b/src/licensedcode/data/rules/false-positive_7380.yml new file mode 100644 index 00000000000..bd185ea4f64 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7380.yml @@ -0,0 +1,2 @@ +is_false_positive: yes +notes: comments about licenses seen in a README diff --git a/src/licensedcode/data/rules/false-positive_7381.RULE b/src/licensedcode/data/rules/false-positive_7381.RULE new file mode 100644 index 00000000000..4cc5b3e1364 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7381.RULE @@ -0,0 +1 @@ +summarises some exceptions to the general BSD-like copyright \ No newline at end of file diff --git a/src/licensedcode/data/rules/false-positive_7381.yml b/src/licensedcode/data/rules/false-positive_7381.yml new file mode 100644 index 00000000000..505fd369954 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7381.yml @@ -0,0 +1,2 @@ +is_false_positive: yes +notes: Seen in Unzip Info-ZIP file COPYING. A commentary about licenses. diff --git a/src/licensedcode/data/rules/false-positive_7382.RULE b/src/licensedcode/data/rules/false-positive_7382.RULE new file mode 100644 index 00000000000..8950d5da725 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7382.RULE @@ -0,0 +1,4 @@ +COPYING.FDL \ +COPYING.GPL \ +COPYING.LGPL \ +COPYING.Xiph \ \ No newline at end of file diff --git a/src/licensedcode/data/rules/false-positive_7382.yml b/src/licensedcode/data/rules/false-positive_7382.yml new file mode 100644 index 00000000000..affea59e270 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7382.yml @@ -0,0 +1,2 @@ +is_false_positive: yes +notes: seen in some flac files diff --git a/src/licensedcode/data/rules/false-positive_7383.RULE b/src/licensedcode/data/rules/false-positive_7383.RULE new file mode 100644 index 00000000000..7020c58cd76 --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7383.RULE @@ -0,0 +1 @@ +some License a Private \ No newline at end of file diff --git a/src/licensedcode/data/rules/false-positive_7383.yml b/src/licensedcode/data/rules/false-positive_7383.yml new file mode 100644 index 00000000000..30fdf1ae40f --- /dev/null +++ b/src/licensedcode/data/rules/false-positive_7383.yml @@ -0,0 +1,2 @@ +is_false_positive: yes +notes: not a license diff --git a/src/licensedcode/data/rules/generic-cla_10.RULE b/src/licensedcode/data/rules/generic-cla_10.RULE new file mode 100644 index 00000000000..d153243e1b3 --- /dev/null +++ b/src/licensedcode/data/rules/generic-cla_10.RULE @@ -0,0 +1,6 @@ +Contributor License Agreement + +Contributions to this project must be accompanied by a Contributor License +Agreement (CLA). You (or your employer) retain the copyright to your +contribution, this simply gives us permission to use and redistribute your +contributions as part of the project. \ No newline at end of file diff --git a/src/licensedcode/data/rules/generic-cla_10.yml b/src/licensedcode/data/rules/generic-cla_10.yml new file mode 100644 index 00000000000..747ea46ff05 --- /dev/null +++ b/src/licensedcode/data/rules/generic-cla_10.yml @@ -0,0 +1,3 @@ +license_expression: generic-cla +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/generic-cla_11.RULE b/src/licensedcode/data/rules/generic-cla_11.RULE new file mode 100644 index 00000000000..4fc5839b411 --- /dev/null +++ b/src/licensedcode/data/rules/generic-cla_11.RULE @@ -0,0 +1,3 @@ +you agree that your contributions will be licensed +under both the [LICENSE](LICENSE) file and the [COPYING](COPYING) file +in the root directory of this source tree. \ No newline at end of file diff --git a/src/licensedcode/data/rules/generic-cla_11.yml b/src/licensedcode/data/rules/generic-cla_11.yml new file mode 100644 index 00000000000..5f24cac0310 --- /dev/null +++ b/src/licensedcode/data/rules/generic-cla_11.yml @@ -0,0 +1,7 @@ +license_expression: generic-cla +is_license_notice: yes +relevance: 100 +minimum_coverage: 99 +referenced_filenames: + - LICENSE + - COPYING diff --git a/src/licensedcode/data/rules/generic-cla_12.RULE b/src/licensedcode/data/rules/generic-cla_12.RULE new file mode 100644 index 00000000000..438c9d94351 --- /dev/null +++ b/src/licensedcode/data/rules/generic-cla_12.RULE @@ -0,0 +1,2 @@ +Contributions are licensed to the GENIVI Alliance under one or more +Contributor License Agreements. \ No newline at end of file diff --git a/src/licensedcode/data/rules/generic-cla_12.yml b/src/licensedcode/data/rules/generic-cla_12.yml new file mode 100644 index 00000000000..747ea46ff05 --- /dev/null +++ b/src/licensedcode/data/rules/generic-cla_12.yml @@ -0,0 +1,3 @@ +license_expression: generic-cla +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gfdl-1.1-plus_31.RULE b/src/licensedcode/data/rules/gfdl-1.1-plus_31.RULE new file mode 100644 index 00000000000..06c09d0c0ac --- /dev/null +++ b/src/licensedcode/data/rules/gfdl-1.1-plus_31.RULE @@ -0,0 +1 @@ +On Debian systems, the complete text of the GNU Free Documentation License can be found in `/usr/share/common-licenses/GFDL-3'. diff --git a/src/licensedcode/data/rules/gfdl-1.1-plus_31.yml b/src/licensedcode/data/rules/gfdl-1.1-plus_31.yml new file mode 100644 index 00000000000..56e8f3739a8 --- /dev/null +++ b/src/licensedcode/data/rules/gfdl-1.1-plus_31.yml @@ -0,0 +1,6 @@ +license_expression: gfdl-1.1-plus +is_license_reference: yes +minimum_coverage: 95 +referenced_filenames: + - /usr/share/common-licenses/GFDL-3 +notes: GFDL-3 deosn't exist, GFDL-1.3 does. diff --git a/src/licensedcode/data/rules/gfdl-1.1-plus_32.RULE b/src/licensedcode/data/rules/gfdl-1.1-plus_32.RULE new file mode 100644 index 00000000000..112b8a6e5cf --- /dev/null +++ b/src/licensedcode/data/rules/gfdl-1.1-plus_32.RULE @@ -0,0 +1,4 @@ +The documentation is released under the GNU Free Documentation License +(GFDL) and it has cover texts. As such, it has been determined not to +meet the Debian Free Software Guidelines, and is not shipped in the +debian packages. diff --git a/src/licensedcode/data/rules/gfdl-1.1-plus_32.yml b/src/licensedcode/data/rules/gfdl-1.1-plus_32.yml new file mode 100644 index 00000000000..99a5949331a --- /dev/null +++ b/src/licensedcode/data/rules/gfdl-1.1-plus_32.yml @@ -0,0 +1,2 @@ +license_expression: gfdl-1.1-plus +is_license_notice: yes diff --git a/src/licensedcode/data/rules/gfdl-1.1-plus_33.RULE b/src/licensedcode/data/rules/gfdl-1.1-plus_33.RULE new file mode 100644 index 00000000000..58d1889d8a3 --- /dev/null +++ b/src/licensedcode/data/rules/gfdl-1.1-plus_33.RULE @@ -0,0 +1,5 @@ +Permission is granted to copy, distribute and/or modify this document --> +under the terms of the GNU Free Documentation License, Version 1.1 --> +or any later version published by the Free Software Foundation; --> +with no invariant sections. --> +A copy of the license can be found at http://www.gnu.org/copyleft/fdl.html --> \ No newline at end of file diff --git a/src/licensedcode/data/rules/gfdl-1.1-plus_33.yml b/src/licensedcode/data/rules/gfdl-1.1-plus_33.yml new file mode 100644 index 00000000000..9cb1f40f5fd --- /dev/null +++ b/src/licensedcode/data/rules/gfdl-1.1-plus_33.yml @@ -0,0 +1,5 @@ +license_expression: gfdl-1.1-plus +is_license_notice: yes +relevance: 100 +ignorable_urls: + - http://www.gnu.org/copyleft/fdl.html diff --git a/src/licensedcode/data/rules/gfdl-1.2-plus_21.RULE b/src/licensedcode/data/rules/gfdl-1.2-plus_21.RULE new file mode 100644 index 00000000000..91e6ad99801 --- /dev/null +++ b/src/licensedcode/data/rules/gfdl-1.2-plus_21.RULE @@ -0,0 +1,10 @@ + This manual is covered by the GNU FDL. Permission is granted to + copy, distribute and/or modify this document under the terms of the + GNU Free Documentation License (FDL), either version 1.2 of the + License, or (at your option) any later version published by the Free + Software Foundation (FSF); with no Invariant Sections, with no + Front-Cover Text, and with no Back-Cover Texts. + . + On Debian systems the full text of the GNU Free Documentation License + version 1.2 can be found in the file + `/usr/share/common-licenses/GFDL-1.2'. diff --git a/src/licensedcode/data/rules/gfdl-1.2-plus_21.yml b/src/licensedcode/data/rules/gfdl-1.2-plus_21.yml new file mode 100644 index 00000000000..4d41c51d1cb --- /dev/null +++ b/src/licensedcode/data/rules/gfdl-1.2-plus_21.yml @@ -0,0 +1,4 @@ +license_expression: gfdl-1.2-plus +is_license_reference: yes +referenced_filenames: + - /usr/share/common-licenses/GFDL-1.2 diff --git a/src/licensedcode/data/rules/gfdl-1.2-plus_22.RULE b/src/licensedcode/data/rules/gfdl-1.2-plus_22.RULE new file mode 100644 index 00000000000..5d4e627a1e7 --- /dev/null +++ b/src/licensedcode/data/rules/gfdl-1.2-plus_22.RULE @@ -0,0 +1,4 @@ + + On Debian systems the full text of the GNU Free Documentation License + version 1.2 can be found in the file + `/usr/share/common-licenses/GFDL-1.2'. diff --git a/src/licensedcode/data/rules/gfdl-1.2-plus_22.yml b/src/licensedcode/data/rules/gfdl-1.2-plus_22.yml new file mode 100644 index 00000000000..dc1eb2f004d --- /dev/null +++ b/src/licensedcode/data/rules/gfdl-1.2-plus_22.yml @@ -0,0 +1,5 @@ +license_expression: gfdl-1.2-plus +is_license_reference: yes +referenced_filenames: + - /usr/share/common-licenses/GFDL-1.2 + diff --git a/src/licensedcode/data/rules/gfdl-1.2-plus_23.RULE b/src/licensedcode/data/rules/gfdl-1.2-plus_23.RULE new file mode 100644 index 00000000000..d63cb9ccfd3 --- /dev/null +++ b/src/licensedcode/data/rules/gfdl-1.2-plus_23.RULE @@ -0,0 +1,6 @@ + This manual is covered by the GNU FDL. Permission is granted to + copy, distribute and/or modify this document under the terms of the + GNU Free Documentation License (FDL), either version 1.2 of the + License, or (at your option) any later version published by the Free + Software Foundation (FSF); with no Invariant Sections, with no + Front-Cover Text, and with no Back-Cover Texts. diff --git a/src/licensedcode/data/rules/gfdl-1.2-plus_23.yml b/src/licensedcode/data/rules/gfdl-1.2-plus_23.yml new file mode 100644 index 00000000000..dc1eb2f004d --- /dev/null +++ b/src/licensedcode/data/rules/gfdl-1.2-plus_23.yml @@ -0,0 +1,5 @@ +license_expression: gfdl-1.2-plus +is_license_reference: yes +referenced_filenames: + - /usr/share/common-licenses/GFDL-1.2 + diff --git a/src/licensedcode/data/rules/gfdl-1.3-plus_19.RULE b/src/licensedcode/data/rules/gfdl-1.3-plus_19.RULE new file mode 100644 index 00000000000..636647b7204 --- /dev/null +++ b/src/licensedcode/data/rules/gfdl-1.3-plus_19.RULE @@ -0,0 +1,2 @@ +On Debian systems a copy of the complete text of the GNU FDL 1.3 +can be found in /usr/share/common-licenses/GFDL-1.3. diff --git a/src/licensedcode/data/rules/gfdl-1.3-plus_19.yml b/src/licensedcode/data/rules/gfdl-1.3-plus_19.yml new file mode 100644 index 00000000000..e14c32fccb7 --- /dev/null +++ b/src/licensedcode/data/rules/gfdl-1.3-plus_19.yml @@ -0,0 +1,4 @@ +license_expression: gfdl-1.3 +is_license_reference: yes +referenced_filenames: + - /usr/share/common-licenses/GFDL-1.3 diff --git a/src/licensedcode/data/rules/gfdl-1.3-plus_20.RULE b/src/licensedcode/data/rules/gfdl-1.3-plus_20.RULE new file mode 100644 index 00000000000..892efe1dcd2 --- /dev/null +++ b/src/licensedcode/data/rules/gfdl-1.3-plus_20.RULE @@ -0,0 +1,2 @@ +On Debian GNU/Linux systems, the complete text of the GNU Free +Documentation License (FDL 1.3) can be found in /usr/share/common-licenses/GFDL-1.3. diff --git a/src/licensedcode/data/rules/gfdl-1.3-plus_20.yml b/src/licensedcode/data/rules/gfdl-1.3-plus_20.yml new file mode 100644 index 00000000000..76e19f35cb1 --- /dev/null +++ b/src/licensedcode/data/rules/gfdl-1.3-plus_20.yml @@ -0,0 +1,5 @@ +license_expression: gfdl-1.3 +is_license_reference: yes +referenced_filenames: + - /usr/share/common-licenses/GFDL-1.3 + diff --git a/src/licensedcode/data/rules/gfdl-1.3-plus_21.RULE b/src/licensedcode/data/rules/gfdl-1.3-plus_21.RULE new file mode 100644 index 00000000000..06f3a717732 --- /dev/null +++ b/src/licensedcode/data/rules/gfdl-1.3-plus_21.RULE @@ -0,0 +1 @@ +licensed under GFDLv1.​3+ \ No newline at end of file diff --git a/src/licensedcode/data/rules/gfdl-1.3-plus_21.yml b/src/licensedcode/data/rules/gfdl-1.3-plus_21.yml new file mode 100644 index 00000000000..a53ce6500a5 --- /dev/null +++ b/src/licensedcode/data/rules/gfdl-1.3-plus_21.yml @@ -0,0 +1,3 @@ +license_expression: gfdl-1.3-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_446.RULE b/src/licensedcode/data/rules/gpl-1.0-plus_446.RULE new file mode 100644 index 00000000000..321647335e1 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_446.RULE @@ -0,0 +1 @@ +On Debian systems, the complete text of the newest version of the GNU General Public License can be found in /usr/share/common-licenses/GPL. diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_446.yml b/src/licensedcode/data/rules/gpl-1.0-plus_446.yml new file mode 100644 index 00000000000..ae40a2eb6ea --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_446.yml @@ -0,0 +1,5 @@ +license_expression: gpl-1.0-plus +is_license_reference: yes +minimum_coverage: 90 +referenced_filenames: + - /usr/share/common-licenses/GPL diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_447.RULE b/src/licensedcode/data/rules/gpl-1.0-plus_447.RULE new file mode 100644 index 00000000000..af87f911233 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_447.RULE @@ -0,0 +1,8 @@ +;; Everyone is granted permission to copy, modify and redistribute +;; , but only under the conditions described in the +;; GNU Emacs General Public License. A copy of this license is +;; supposed to have been given to you along with so you +;; can know your rights and responsibilities. It should be in a +;; file named COPYING. Among other things, the copyright notice +;; and this notice must be preserved on all copies. + diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_447.yml b/src/licensedcode/data/rules/gpl-1.0-plus_447.yml new file mode 100644 index 00000000000..dabacae3440 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_447.yml @@ -0,0 +1,4 @@ +license_expression: gpl-1.0-plus +is_license_notice: yes +referenced_filenames: + - COPYING \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_448.RULE b/src/licensedcode/data/rules/gpl-1.0-plus_448.RULE new file mode 100644 index 00000000000..a9ed36b1914 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_448.RULE @@ -0,0 +1,7 @@ +;; Everyone is granted permission to copy, modify and redistribute +;; , but only under the conditions described in the +;; General Public License. A copy of this license is +;; supposed to have been given to you along with so you +;; can know your rights and responsibilities. It should be in a +;; file named COPYING. Among other things, the copyright notice +;; and this notice must be preserved on all copies. diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_448.yml b/src/licensedcode/data/rules/gpl-1.0-plus_448.yml new file mode 100644 index 00000000000..bcca35d173f --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_448.yml @@ -0,0 +1,3 @@ +license_expression: gpl-1.0-plus +is_license_notice: yes + diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_449.RULE b/src/licensedcode/data/rules/gpl-1.0-plus_449.RULE new file mode 100644 index 00000000000..cebeb2a2607 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_449.RULE @@ -0,0 +1,7 @@ +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + + A copy of the GNU General Public License is also available at + . You may also obtain + it by writing to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301 USA diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_449.yml b/src/licensedcode/data/rules/gpl-1.0-plus_449.yml new file mode 100644 index 00000000000..831492636ea --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_449.yml @@ -0,0 +1,6 @@ +license_expression: gpl-1.0-plus +is_license_notice: yes +referenced_filenames: + - /usr/share/common-licenses/GPL +ignorable_urls: + - http://www.gnu.org/copyleft/gpl.html diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_450.RULE b/src/licensedcode/data/rules/gpl-1.0-plus_450.RULE new file mode 100644 index 00000000000..1ff6090afc4 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_450.RULE @@ -0,0 +1 @@ +The Debian packaging is and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_450.yml b/src/licensedcode/data/rules/gpl-1.0-plus_450.yml new file mode 100644 index 00000000000..1d8734fa256 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_450.yml @@ -0,0 +1,4 @@ +license_expression: gpl-1.0-plus +is_license_reference: yes +referenced_filenames: + - /usr/share/common-licenses/GPL diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_451.RULE b/src/licensedcode/data/rules/gpl-1.0-plus_451.RULE new file mode 100644 index 00000000000..50bbeb2a1c4 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_451.RULE @@ -0,0 +1,5 @@ +The helper programs + as well as the documentation are distributed under the terms of + the GNU General Public License (GPL); see the file COPYING for the + actual terms. + diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_451.yml b/src/licensedcode/data/rules/gpl-1.0-plus_451.yml new file mode 100644 index 00000000000..cd117461335 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_451.yml @@ -0,0 +1,4 @@ +license_expression: gpl-1.0-plus +is_license_notice: yes +referenced_filenames: + - COPYING diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_452.RULE b/src/licensedcode/data/rules/gpl-1.0-plus_452.RULE new file mode 100644 index 00000000000..bbb1493c1ef --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_452.RULE @@ -0,0 +1 @@ +the terms of the GPL License \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_452.yml b/src/licensedcode/data/rules/gpl-1.0-plus_452.yml new file mode 100644 index 00000000000..7071924eb9e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_452.yml @@ -0,0 +1,3 @@ +license_expression: gpl-1.0-plus +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_453.RULE b/src/licensedcode/data/rules/gpl-1.0-plus_453.RULE new file mode 100644 index 00000000000..060c2656f71 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_453.RULE @@ -0,0 +1 @@ +under the terms of the GPL License \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_453.yml b/src/licensedcode/data/rules/gpl-1.0-plus_453.yml new file mode 100644 index 00000000000..116c9848025 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_453.yml @@ -0,0 +1,3 @@ +license_expression: gpl-1.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_454.RULE b/src/licensedcode/data/rules/gpl-1.0-plus_454.RULE new file mode 100644 index 00000000000..f0e5d060440 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_454.RULE @@ -0,0 +1 @@ +the terms of the GPL \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_454.yml b/src/licensedcode/data/rules/gpl-1.0-plus_454.yml new file mode 100644 index 00000000000..7071924eb9e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_454.yml @@ -0,0 +1,3 @@ +license_expression: gpl-1.0-plus +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_455.RULE b/src/licensedcode/data/rules/gpl-1.0-plus_455.RULE new file mode 100644 index 00000000000..c5d7f429b83 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_455.RULE @@ -0,0 +1 @@ +Distributed under the terms of the GPL (GNU Public License) \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_455.yml b/src/licensedcode/data/rules/gpl-1.0-plus_455.yml new file mode 100644 index 00000000000..116c9848025 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_455.yml @@ -0,0 +1,3 @@ +license_expression: gpl-1.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_456.RULE b/src/licensedcode/data/rules/gpl-1.0-plus_456.RULE new file mode 100644 index 00000000000..8d27374a08f --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_456.RULE @@ -0,0 +1 @@ +distributed under the GPL (see COPYING.GPL) \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_456.yml b/src/licensedcode/data/rules/gpl-1.0-plus_456.yml new file mode 100644 index 00000000000..d9899fb0cc6 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_456.yml @@ -0,0 +1,5 @@ +license_expression: gpl-1.0-plus +is_license_notice: yes +relevance: 100 +referenced_filenames: + - COPYING.GPL diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_457.RULE b/src/licensedcode/data/rules/gpl-1.0-plus_457.RULE new file mode 100644 index 00000000000..39e937b18e1 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_457.RULE @@ -0,0 +1 @@ +are GPL'ed \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_457.yml b/src/licensedcode/data/rules/gpl-1.0-plus_457.yml new file mode 100644 index 00000000000..116c9848025 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_457.yml @@ -0,0 +1,3 @@ +license_expression: gpl-1.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_or_lgpl-2.0-plus_4.RULE b/src/licensedcode/data/rules/gpl-1.0-plus_or_lgpl-2.0-plus_4.RULE new file mode 100644 index 00000000000..655bae5d261 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_or_lgpl-2.0-plus_4.RULE @@ -0,0 +1,2 @@ +Most of the package is licensed under the GNU Lesser General Public +License (LGPL) version 2.1 (or later), diff --git a/src/licensedcode/data/rules/gpl-1.0-plus_or_lgpl-2.0-plus_4.yml b/src/licensedcode/data/rules/gpl-1.0-plus_or_lgpl-2.0-plus_4.yml new file mode 100644 index 00000000000..845158f6dd0 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-1.0-plus_or_lgpl-2.0-plus_4.yml @@ -0,0 +1,4 @@ +license_expression: gpl-1.0-plus OR lgpl-2.0-plus +is_license_notice: yes +referenced_filenames: + - /usr/share/common-licenses/GPL diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_810.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_810.RULE new file mode 100644 index 00000000000..1c0fe329011 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_810.RULE @@ -0,0 +1,4 @@ +redistributed under the terms of the GNU GPL, Version 2 or later, +found on Debian systems in the file /usr/share/common-licenses/GPL-2. + +which is in the public domain. diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_810.yml b/src/licensedcode/data/rules/gpl-2.0-plus_810.yml new file mode 100644 index 00000000000..fc94dc4c8f2 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_810.yml @@ -0,0 +1,4 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes +referenced_filenames: + - /usr/share/common-licenses/GPL-2 diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_811.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_811.RULE new file mode 100644 index 00000000000..80dadccbe38 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_811.RULE @@ -0,0 +1,19 @@ +and is GPL V2 as well. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the + Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_811.yml b/src/licensedcode/data/rules/gpl-2.0-plus_811.yml new file mode 100644 index 00000000000..fc94dc4c8f2 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_811.yml @@ -0,0 +1,4 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes +referenced_filenames: + - /usr/share/common-licenses/GPL-2 diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_812.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_812.RULE new file mode 100644 index 00000000000..00e17546a17 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_812.RULE @@ -0,0 +1,8 @@ +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License is in `/usr/share/common-licenses/GPL', version 2 of this +license in `/usr/share/common-licenses/GPL-2'. diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_812.yml b/src/licensedcode/data/rules/gpl-2.0-plus_812.yml new file mode 100644 index 00000000000..0fd09a52a20 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_812.yml @@ -0,0 +1,5 @@ +license_expression: gpl-2.0-plus +is_license_reference: yes +minimum_coverage: 90 +referenced_filenames: + - /usr/share/common-licenses/GPL-2 diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_813.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_813.RULE new file mode 100644 index 00000000000..fbe86ce4be0 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_813.RULE @@ -0,0 +1,2 @@ +The documentation is licensed under +the GPLv2 (or later), diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_813.yml b/src/licensedcode/data/rules/gpl-2.0-plus_813.yml new file mode 100644 index 00000000000..4dd63d8726f --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_813.yml @@ -0,0 +1,2 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_814.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_814.RULE new file mode 100644 index 00000000000..f5830c74d0d --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_814.RULE @@ -0,0 +1,13 @@ +* This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see + * \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_814.yml b/src/licensedcode/data/rules/gpl-2.0-plus_814.yml new file mode 100644 index 00000000000..64c42afc688 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_814.yml @@ -0,0 +1,6 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes +relevance: 100 +minimum_coverage: 95 +ignorable_urls: + - http://www.gnu.org/licenses/gpl-2.0.html diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_815.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_815.RULE new file mode 100644 index 00000000000..3e0f1451f01 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_815.RULE @@ -0,0 +1 @@ +licensed under the terms of the GNU GPL, version 2 or (at your option) any later version. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_815.yml b/src/licensedcode/data/rules/gpl-2.0-plus_815.yml new file mode 100644 index 00000000000..44214778e8c --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_815.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_816.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_816.RULE new file mode 100644 index 00000000000..64e090fe4a4 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_816.RULE @@ -0,0 +1 @@ +Licensed under GPLv2+ \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_816.yml b/src/licensedcode/data/rules/gpl-2.0-plus_816.yml new file mode 100644 index 00000000000..44214778e8c --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_816.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_817.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_817.RULE new file mode 100644 index 00000000000..4f47627ca0e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_817.RULE @@ -0,0 +1 @@ +Licensed under GPLv2+ license \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_817.yml b/src/licensedcode/data/rules/gpl-2.0-plus_817.yml new file mode 100644 index 00000000000..44214778e8c --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_817.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_818.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_818.RULE new file mode 100644 index 00000000000..0d97bd6153c --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_818.RULE @@ -0,0 +1 @@ +/* Licensed under GPLv2+ - see LICENSE file for details */ \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_818.yml b/src/licensedcode/data/rules/gpl-2.0-plus_818.yml new file mode 100644 index 00000000000..fd7c42f5523 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_818.yml @@ -0,0 +1,5 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_819.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_819.RULE new file mode 100644 index 00000000000..991685c3fe6 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_819.RULE @@ -0,0 +1,14 @@ +Distributed under the terms of the GPL (GNU Public License) + is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_819.yml b/src/licensedcode/data/rules/gpl-2.0-plus_819.yml new file mode 100644 index 00000000000..44214778e8c --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_819.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_820.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_820.RULE new file mode 100644 index 00000000000..3ec20f395af --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_820.RULE @@ -0,0 +1,13 @@ +is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_820.yml b/src/licensedcode/data/rules/gpl-2.0-plus_820.yml new file mode 100644 index 00000000000..44214778e8c --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_820.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_821.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_821.RULE new file mode 100644 index 00000000000..ecc95755dc3 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_821.RULE @@ -0,0 +1 @@ +This file is licensed under GPLv2 or later \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_821.yml b/src/licensedcode/data/rules/gpl-2.0-plus_821.yml new file mode 100644 index 00000000000..44214778e8c --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_821.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_822.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_822.RULE new file mode 100644 index 00000000000..93f55c9c03f --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_822.RULE @@ -0,0 +1 @@ +This file is licensed under GPLv2+ \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_822.yml b/src/licensedcode/data/rules/gpl-2.0-plus_822.yml new file mode 100644 index 00000000000..44214778e8c --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_822.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_823.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_823.RULE new file mode 100644 index 00000000000..d7b97c0a7d3 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_823.RULE @@ -0,0 +1,12 @@ +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_823.yml b/src/licensedcode/data/rules/gpl-2.0-plus_823.yml new file mode 100644 index 00000000000..4f91576a8d7 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_823.yml @@ -0,0 +1,4 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes +relevance: 100 +minimum_coverage: 95 diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_824.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_824.RULE new file mode 100644 index 00000000000..28880c931ff --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_824.RULE @@ -0,0 +1,13 @@ +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +with this program; if not, write to the Free Software Foundation, Inc., \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_824.yml b/src/licensedcode/data/rules/gpl-2.0-plus_824.yml new file mode 100644 index 00000000000..4f91576a8d7 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_824.yml @@ -0,0 +1,4 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes +relevance: 100 +minimum_coverage: 95 diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_825.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_825.RULE new file mode 100644 index 00000000000..a53edc88df1 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_825.RULE @@ -0,0 +1,2 @@ +distributed under the terms of the GPL, version 2.0 (or at you're +discretion any later version of this license). \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_825.yml b/src/licensedcode/data/rules/gpl-2.0-plus_825.yml new file mode 100644 index 00000000000..44214778e8c --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_825.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_826.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_826.RULE new file mode 100644 index 00000000000..0e17705f43a --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_826.RULE @@ -0,0 +1,21 @@ +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed AS-IS, WITHOUT ANY WARRANTY, express or +implied, including, but not limited to the WARRANTY OF MERCHANTABILITY +or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. The copyright holders hereby disclaim all warranties. + +In no case shall the copyright holders be liable to you or any thrid- +party for damages of any kind, including, but not limited to, punitive, +special, consequential, indirect or similar damages. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software Foundation, +Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. On +the initial date of release of this software, a copy can be found at +the following location: + +https://www.gnu.org/licenses/gpl-2.0.en.html \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_826.yml b/src/licensedcode/data/rules/gpl-2.0-plus_826.yml new file mode 100644 index 00000000000..332126ff8a2 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_826.yml @@ -0,0 +1,5 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes +relevance: 100 +ignorable_urls: + - https://www.gnu.org/licenses/gpl-2.0.en.html diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_827.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_827.RULE new file mode 100644 index 00000000000..d476d874532 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_827.RULE @@ -0,0 +1,19 @@ +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed AS-IS, WITHOUT ANY WARRANTY, express or +implied, including, but not limited to the WARRANTY OF MERCHANTABILITY +or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. The copyright holders hereby disclaim all warranties. + +In no case shall the copyright holders be liable to you or any thrid- +party for damages of any kind, including, but not limited to, punitive, +special, consequential, indirect or similar damages. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software Foundation, +Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. On +the initial date of release of this software, a copy can be found at +the following location: \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_827.yml b/src/licensedcode/data/rules/gpl-2.0-plus_827.yml new file mode 100644 index 00000000000..44214778e8c --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_827.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_and_gpl-3.0-plus_3.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_and_gpl-3.0-plus_3.RULE new file mode 100644 index 00000000000..9eb14b9ab77 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_and_gpl-3.0-plus_3.RULE @@ -0,0 +1 @@ +Mix of GPL-2+ and GPL-3+ diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_and_gpl-3.0-plus_3.yml b/src/licensedcode/data/rules/gpl-2.0-plus_and_gpl-3.0-plus_3.yml new file mode 100644 index 00000000000..d7baa02499b --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_and_gpl-3.0-plus_3.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0-plus AND gpl-3.0-plus +is_license_notice: yes +minimum_coverage: 90 diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_and_gpl-3.0-plus_4.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_and_gpl-3.0-plus_4.RULE new file mode 100644 index 00000000000..521133f395b --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_and_gpl-3.0-plus_4.RULE @@ -0,0 +1 @@ +released under GPLv2+, licensed under GPLv3+ \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_and_gpl-3.0-plus_4.yml b/src/licensedcode/data/rules/gpl-2.0-plus_and_gpl-3.0-plus_4.yml new file mode 100644 index 00000000000..c06a44f3d22 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_and_gpl-3.0-plus_4.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0-plus AND gpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_and_lgpl-2.0-plus_1.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_and_lgpl-2.0-plus_1.RULE new file mode 100644 index 00000000000..e363537a8ba --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_and_lgpl-2.0-plus_1.RULE @@ -0,0 +1 @@ +The data files are licensed under LGPLv2+, see the README file. License: GPLv2+ and LGPLv2+. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_and_lgpl-2.0-plus_1.yml b/src/licensedcode/data/rules/gpl-2.0-plus_and_lgpl-2.0-plus_1.yml new file mode 100644 index 00000000000..afea8b7d87f --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_and_lgpl-2.0-plus_1.yml @@ -0,0 +1,5 @@ +license_expression: gpl-2.0-plus AND lgpl-2.0-plus +is_license_notice: yes +relevance: 100 +referenced_filenames: + - README diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_xvid_1.RULE b/src/licensedcode/data/rules/gpl-2.0-plus_xvid_1.RULE new file mode 100644 index 00000000000..c85de658df4 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_xvid_1.RULE @@ -0,0 +1 @@ +This software is derived from the GNU GPL XviD codec \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0-plus_xvid_1.yml b/src/licensedcode/data/rules/gpl-2.0-plus_xvid_1.yml new file mode 100644 index 00000000000..3cdfdd31b89 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0-plus_xvid_1.yml @@ -0,0 +1,4 @@ +license_expression: gpl-2.0-plus +is_license_notice: yes +relevance: 100 +notes: Seen in FFmpeg diff --git a/src/licensedcode/data/rules/gpl-2.0_1009.RULE b/src/licensedcode/data/rules/gpl-2.0_1009.RULE index c85de658df4..f5fcf6c5e13 100644 --- a/src/licensedcode/data/rules/gpl-2.0_1009.RULE +++ b/src/licensedcode/data/rules/gpl-2.0_1009.RULE @@ -1 +1,4 @@ -This software is derived from the GNU GPL XviD codec \ No newline at end of file +This package, the EXT2 filesystem utilities, is protected by the GNU +General Public License. +On Debian GNU systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_1009.yml b/src/licensedcode/data/rules/gpl-2.0_1009.yml index cebd01887fc..40bcbb97725 100644 --- a/src/licensedcode/data/rules/gpl-2.0_1009.yml +++ b/src/licensedcode/data/rules/gpl-2.0_1009.yml @@ -1,4 +1,3 @@ license_expression: gpl-2.0 is_license_notice: yes relevance: 100 -notes: Seen in FFmpeg diff --git a/src/licensedcode/data/rules/gpl-2.0_1119.RULE b/src/licensedcode/data/rules/gpl-2.0_1119.RULE new file mode 100644 index 00000000000..c227e8285cb --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1119.RULE @@ -0,0 +1,11 @@ + This is free software; you can redistribute it and/or modify + it under the terms of version 2 of the GNU General Public + License version 2 as published by the Free Software Foundation. + . + This is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . diff --git a/src/licensedcode/data/rules/gpl-2.0_1119.yml b/src/licensedcode/data/rules/gpl-2.0_1119.yml new file mode 100644 index 00000000000..0e9e1493aa6 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1119.yml @@ -0,0 +1,4 @@ +license_expression: gpl-2.0 +is_license_notice: yes +ignorable_urls: + - https://www.gnu.org/licenses/ diff --git a/src/licensedcode/data/rules/gpl-2.0_1120.RULE b/src/licensedcode/data/rules/gpl-2.0_1120.RULE new file mode 100644 index 00000000000..c09ffc4fa10 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1120.RULE @@ -0,0 +1,2 @@ + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in '/usr/share/common-licenses/GPL-2'. diff --git a/src/licensedcode/data/rules/gpl-2.0_1120.yml b/src/licensedcode/data/rules/gpl-2.0_1120.yml new file mode 100644 index 00000000000..98135b8f27a --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1120.yml @@ -0,0 +1,5 @@ +license_expression: gpl-2.0 +is_license_reference: yes +minimum_coverage: 90 +referenced_filenames: + - /usr/share/common-licenses/GPL-2 diff --git a/src/licensedcode/data/rules/gpl-2.0_1121.RULE b/src/licensedcode/data/rules/gpl-2.0_1121.RULE new file mode 100644 index 00000000000..a8ce35fe326 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1121.RULE @@ -0,0 +1,43 @@ +is distributed under the GNU General Public License version 2 + and is also available under alternative licenses negotiated directly + with . If you obtained under the GPL, then the GPL + applies to all loadable modules used on your system as well, + except as defined below. The GPL (version 2) is included in this + source tree in the file COPYING. + . + This package also includes various components that are not part of + itself; these components are in the 'contrib' directory + and its subdirectories. These components are also distributed under the + GPL version 2 as well. + . + holds copyright + and/or sufficient licenses to all components of the + package, and therefore can grant, at its sole discretion, the ability + for companies, individuals, or organizations to create proprietary or + Open Source (even if not GPL) modules which may be dynamically linked at + runtime with the portions of which fall under our + copyright/license umbrella, or are distributed under more flexible + licenses than GPL. + . + If you wish to use our code in other GPL programs, don't worry -- + there is no requirement that you provide the same exception in your + GPL'd products (although if you've written a module for we + would strongly encourage you to make the same exception that we do). + . + Specific permission is also granted to link and distribute the resulting binary files. + . + In addition, It is our belief that applications using these protocols to + manage or control an instance do not have to be licensed + under the GPL or a compatible license, as we believe these protocols + do not create a 'derivative work' as referred to in the GPL. However, + should any court or other judiciary body find that these protocols do + fall under the terms of the GPL, then we hereby grant you a license to + use these protocols in combination with in external + applications licensed under any license you wish. + . + The name and logos are trademarks owned by + and use of them is subject to our trademark licensing policies. If you + wish to use these trademarks for purposes other than simple + redistribution of source code obtained from , you + should contact our licensing department to determine the necessary + steps you must take. diff --git a/src/licensedcode/data/rules/gpl-2.0_1121.yml b/src/licensedcode/data/rules/gpl-2.0_1121.yml new file mode 100644 index 00000000000..5b004997c17 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1121.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0 +is_license_text: yes +minimum_coverage: 90 diff --git a/src/licensedcode/data/rules/gpl-2.0_1122.RULE b/src/licensedcode/data/rules/gpl-2.0_1122.RULE new file mode 100644 index 00000000000..5041dc26d28 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1122.RULE @@ -0,0 +1,11 @@ + The Debian specific changes are and distributed under the terms of the GNU + General Public License, version 2. + + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + + A copy of the GNU General Public License is also available at + . You may also obtain + it by writing to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301 USA diff --git a/src/licensedcode/data/rules/gpl-2.0_1122.yml b/src/licensedcode/data/rules/gpl-2.0_1122.yml new file mode 100644 index 00000000000..e7d53ddd8bf --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1122.yml @@ -0,0 +1,6 @@ +license_expression: gpl-2.0 +is_license_notice: yes +referenced_filenames: + - /usr/share/common-licenses/GPL +ignorable_urls: + - http://www.gnu.org/copyleft/gpl.html diff --git a/src/licensedcode/data/rules/gpl-2.0_1123.RULE b/src/licensedcode/data/rules/gpl-2.0_1123.RULE new file mode 100644 index 00000000000..b981ec148b3 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1123.RULE @@ -0,0 +1,11 @@ +distributed under the terms of the GNU + General Public License, version 2. + + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + + A copy of the GNU General Public License is also available at + . You may also obtain + it by writing to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301 USA diff --git a/src/licensedcode/data/rules/gpl-2.0_1123.yml b/src/licensedcode/data/rules/gpl-2.0_1123.yml new file mode 100644 index 00000000000..42f08416a50 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1123.yml @@ -0,0 +1,6 @@ +license_expression: gpl-2.0 +is_license_notice: yes +referenced_filenames: + - /usr/share/common-licenses/GPL +ignorable_urls: + - http://www.gnu.org/copyleft/gpl.html \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_1124.RULE b/src/licensedcode/data/rules/gpl-2.0_1124.RULE new file mode 100644 index 00000000000..d7287839cc3 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1124.RULE @@ -0,0 +1 @@ +The GNU General Public License v2 text is contained in /usr/share/common-licenses/GPL-2. diff --git a/src/licensedcode/data/rules/gpl-2.0_1124.yml b/src/licensedcode/data/rules/gpl-2.0_1124.yml new file mode 100644 index 00000000000..e133ff878b0 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1124.yml @@ -0,0 +1,4 @@ +license_expression: gpl-2.0 +is_license_reference: yes +referenced_filenames: + - /usr/share/common-licenses/GPL-2 diff --git a/src/licensedcode/data/rules/gpl-2.0_1125.RULE b/src/licensedcode/data/rules/gpl-2.0_1125.RULE new file mode 100644 index 00000000000..a48e2a25231 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1125.RULE @@ -0,0 +1,13 @@ +* This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program (see the file COPYING included with this + * distribution); if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_1125.yml b/src/licensedcode/data/rules/gpl-2.0_1125.yml new file mode 100644 index 00000000000..2d21d8729b7 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1125.yml @@ -0,0 +1,5 @@ +license_expression: gpl-2.0 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - COPYING diff --git a/src/licensedcode/data/rules/gpl-2.0_1126.RULE b/src/licensedcode/data/rules/gpl-2.0_1126.RULE new file mode 100644 index 00000000000..3d013f4db64 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1126.RULE @@ -0,0 +1 @@ +Distributed under free software license GPLv2. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_1126.yml b/src/licensedcode/data/rules/gpl-2.0_1126.yml new file mode 100644 index 00000000000..40bcbb97725 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1126.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0_1127.RULE b/src/licensedcode/data/rules/gpl-2.0_1127.RULE new file mode 100644 index 00000000000..337ef118c81 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1127.RULE @@ -0,0 +1 @@ +under free software license GPLv2. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_1127.yml b/src/licensedcode/data/rules/gpl-2.0_1127.yml new file mode 100644 index 00000000000..40bcbb97725 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1127.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0_1128.RULE b/src/licensedcode/data/rules/gpl-2.0_1128.RULE new file mode 100644 index 00000000000..825b3966ca9 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1128.RULE @@ -0,0 +1 @@ +This code is licensed under the GNU GPL v2. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_1128.yml b/src/licensedcode/data/rules/gpl-2.0_1128.yml new file mode 100644 index 00000000000..40bcbb97725 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1128.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0_1129.RULE b/src/licensedcode/data/rules/gpl-2.0_1129.RULE new file mode 100644 index 00000000000..db60dacbe09 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1129.RULE @@ -0,0 +1 @@ +insert GPL v2 text here \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_1129.yml b/src/licensedcode/data/rules/gpl-2.0_1129.yml new file mode 100644 index 00000000000..677219b788a --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1129.yml @@ -0,0 +1,4 @@ +license_expression: gpl-2.0 +is_license_reference: yes +relevance: 100 +notes: seen in some SPDX templates diff --git a/src/licensedcode/data/rules/gpl-2.0_1130.RULE b/src/licensedcode/data/rules/gpl-2.0_1130.RULE new file mode 100644 index 00000000000..8889c0d88ce --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1130.RULE @@ -0,0 +1,71 @@ +GNU GENERAL PUBLIC LICENSE +Version 2, June 1991 + +Copyright (C) 1989, 1991 Free Software Foundation, Inc. +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + +Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. + +1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. + +You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: + +a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. + +b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. + +c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. + +3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: + +a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, + +b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, + +c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. + +If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. + +4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. + +5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. + +6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. + +7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. + +This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. + +8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. + +9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. + +10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. + +NO WARRANTY + +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_1130.yml b/src/licensedcode/data/rules/gpl-2.0_1130.yml new file mode 100644 index 00000000000..b2a13ad78b5 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1130.yml @@ -0,0 +1,11 @@ +license_expression: gpl-2.0 +is_license_text: yes +relevance: 100 +notes: Seen in vmware tools. Truncated texts +ignorable_copyrights: + - Copyright (c) 1989, 1991 Free Software Foundation, Inc. + - copyrighted by the Free Software Foundation +ignorable_holders: + - Free Software Foundation, Inc. + - the Free Software Foundation + diff --git a/src/licensedcode/data/rules/gpl-2.0_1131.RULE b/src/licensedcode/data/rules/gpl-2.0_1131.RULE new file mode 100644 index 00000000000..61f8665eb09 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1131.RULE @@ -0,0 +1,12 @@ +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as +published by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_1131.yml b/src/licensedcode/data/rules/gpl-2.0_1131.yml new file mode 100644 index 00000000000..40bcbb97725 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1131.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0_1132.RULE b/src/licensedcode/data/rules/gpl-2.0_1132.RULE new file mode 100644 index 00000000000..22952e0e318 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1132.RULE @@ -0,0 +1,12 @@ +* This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation version 2 and no later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_1132.yml b/src/licensedcode/data/rules/gpl-2.0_1132.yml new file mode 100644 index 00000000000..40bcbb97725 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1132.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0_1133.RULE b/src/licensedcode/data/rules/gpl-2.0_1133.RULE new file mode 100644 index 00000000000..956aed10afe --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1133.RULE @@ -0,0 +1 @@ +The Linux kernel modules are released under the GPL v2 \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_1133.yml b/src/licensedcode/data/rules/gpl-2.0_1133.yml new file mode 100644 index 00000000000..40bcbb97725 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1133.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0_1134.RULE b/src/licensedcode/data/rules/gpl-2.0_1134.RULE new file mode 100644 index 00000000000..5e8932658dd --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1134.RULE @@ -0,0 +1 @@ +the GPL v2 \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_1134.yml b/src/licensedcode/data/rules/gpl-2.0_1134.yml new file mode 100644 index 00000000000..d1e2553e419 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1134.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0_1135.RULE b/src/licensedcode/data/rules/gpl-2.0_1135.RULE new file mode 100644 index 00000000000..08f3decf862 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1135.RULE @@ -0,0 +1 @@ +The code is being released under GPL v2 \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_1135.yml b/src/licensedcode/data/rules/gpl-2.0_1135.yml new file mode 100644 index 00000000000..40bcbb97725 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1135.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0_1136.RULE b/src/licensedcode/data/rules/gpl-2.0_1136.RULE new file mode 100644 index 00000000000..d0902ee7443 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1136.RULE @@ -0,0 +1 @@ +license is GPLv2 only \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_1136.yml b/src/licensedcode/data/rules/gpl-2.0_1136.yml new file mode 100644 index 00000000000..40bcbb97725 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1136.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0_1137.RULE b/src/licensedcode/data/rules/gpl-2.0_1137.RULE new file mode 100644 index 00000000000..8f52b7b0a76 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1137.RULE @@ -0,0 +1,2 @@ +This package, the EXT2 filesystem utilities, is protected by the GNU +General Public License. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_1137.yml b/src/licensedcode/data/rules/gpl-2.0_1137.yml new file mode 100644 index 00000000000..40bcbb97725 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_1137.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0_and_bsd-new_and_mit_1.RULE b/src/licensedcode/data/rules/gpl-2.0_and_bsd-new_and_mit_1.RULE new file mode 100644 index 00000000000..569cf4ad065 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_and_bsd-new_and_mit_1.RULE @@ -0,0 +1,6 @@ +This package, the , are made available under +the GNU General Public License version 2, with the exception of the +libraries, which are made available under the +GNU Library General Public License Version 2, the library +which is made available under a BSD-style license and the and +libraries which are made available under an MIT-style license. diff --git a/src/licensedcode/data/rules/gpl-2.0_and_bsd-new_and_mit_1.yml b/src/licensedcode/data/rules/gpl-2.0_and_bsd-new_and_mit_1.yml new file mode 100644 index 00000000000..77c2a0c9bc2 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_and_bsd-new_and_mit_1.yml @@ -0,0 +1,2 @@ +license_expression: gpl-2.0 AND bsd-new AND mit +is_license_notice: yes diff --git a/src/licensedcode/data/rules/gpl-2.0_and_lgpl-2.0_4.RULE b/src/licensedcode/data/rules/gpl-2.0_and_lgpl-2.0_4.RULE new file mode 100644 index 00000000000..acd9fc95cc4 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_and_lgpl-2.0_4.RULE @@ -0,0 +1,6 @@ + +On Debian GNU systems, the complete text of the GNU General Public +License can be found in `/usr/share/common-licenses/GPL-2'. The +complete text of the GNU Library General Public License can be found +in '/usr/share/common-licenses/LGPL-2'. + diff --git a/src/licensedcode/data/rules/gpl-2.0_and_lgpl-2.0_4.yml b/src/licensedcode/data/rules/gpl-2.0_and_lgpl-2.0_4.yml new file mode 100644 index 00000000000..385c008498f --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_and_lgpl-2.0_4.yml @@ -0,0 +1,5 @@ +license_expression: gpl-2.0 AND lgpl-2.0 +is_license_reference: yes +referenced_filenames: + - /usr/share/common-licenses/GPL-2 + - /usr/share/common-licenses/LGPL-2 diff --git a/src/licensedcode/data/rules/gpl-2.0_and_lgpl-2.0_and_bsd-new_and_mit_5.RULE b/src/licensedcode/data/rules/gpl-2.0_and_lgpl-2.0_and_bsd-new_and_mit_5.RULE new file mode 100644 index 00000000000..450f8209014 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_and_lgpl-2.0_and_bsd-new_and_mit_5.RULE @@ -0,0 +1,5 @@ +This package, the EXT2 filesystem utilities, are made available under +the GNU Public License, with the exception of the lib/uuid directory +which is made available under a BSD-style license. Please see +lib/uuid/COPYING for more details for the license for the files +comprising the libuuid library. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_and_lgpl-2.0_and_bsd-new_and_mit_5.yml b/src/licensedcode/data/rules/gpl-2.0_and_lgpl-2.0_and_bsd-new_and_mit_5.yml new file mode 100644 index 00000000000..40f637c08f1 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_and_lgpl-2.0_and_bsd-new_and_mit_5.yml @@ -0,0 +1,6 @@ +license_expression: gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit +is_license_notice: yes +relevance: 100 +minimum_coverage: 90 +referenced_filenames: + - lib/uuid/COPYING diff --git a/src/licensedcode/data/rules/gpl-2.0_and_other-copyleft_and_other-permissive_2.RULE b/src/licensedcode/data/rules/gpl-2.0_and_other-copyleft_and_other-permissive_2.RULE new file mode 100644 index 00000000000..f72d082d43e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_and_other-copyleft_and_other-permissive_2.RULE @@ -0,0 +1 @@ +The code is being released under GPL v2 and GPL v2 compatible licenses. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_and_other-copyleft_and_other-permissive_2.yml b/src/licensedcode/data/rules/gpl-2.0_and_other-copyleft_and_other-permissive_2.yml new file mode 100644 index 00000000000..9ba91895e4d --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_and_other-copyleft_and_other-permissive_2.yml @@ -0,0 +1,3 @@ +license_expression: gpl-2.0 AND other-copyleft AND other-permissive +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-2.0_or_gpl-3.0_or_apache-2.0_2.RULE b/src/licensedcode/data/rules/gpl-2.0_or_gpl-3.0_or_apache-2.0_2.RULE new file mode 100644 index 00000000000..2b6faea2da2 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_or_gpl-3.0_or_apache-2.0_2.RULE @@ -0,0 +1,4 @@ +licensed under the GNU General Public License (GPL), version 2 or +3, or the Apache License 2.0. This means that you can distribute +derivates of those modules under any combination of one or more of the +three licenses. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_or_gpl-3.0_or_apache-2.0_2.yml b/src/licensedcode/data/rules/gpl-2.0_or_gpl-3.0_or_apache-2.0_2.yml new file mode 100644 index 00000000000..6744450b0d8 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_or_gpl-3.0_or_apache-2.0_2.yml @@ -0,0 +1,4 @@ +license_expression: gpl-2.0 OR gpl-3.0 OR apache-2.0 +is_license_notice: yes +relevance: 100 +notes: seen in xpdf diff --git a/src/licensedcode/data/rules/gpl-2.0_or_gpl-3.0_or_apache-2.0_3.RULE b/src/licensedcode/data/rules/gpl-2.0_or_gpl-3.0_or_apache-2.0_3.RULE new file mode 100644 index 00000000000..01a67f3c3e2 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_or_gpl-3.0_or_apache-2.0_3.RULE @@ -0,0 +1,2 @@ +This package includes the text of all three licenses: COPYING for GPL +v2, COPYING3 for GPL v3, APACHE-2.0.txt for Apache v2. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_or_gpl-3.0_or_apache-2.0_3.yml b/src/licensedcode/data/rules/gpl-2.0_or_gpl-3.0_or_apache-2.0_3.yml new file mode 100644 index 00000000000..172220a765f --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_or_gpl-3.0_or_apache-2.0_3.yml @@ -0,0 +1,8 @@ +license_expression: gpl-2.0 OR gpl-3.0 OR apache-2.0 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - COPYING + - COPYING3 + - APACHE-2.0.txt +notes: seen in xpdf diff --git a/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_2.RULE b/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_2.RULE new file mode 100644 index 00000000000..3db058ff281 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_2.RULE @@ -0,0 +1,347 @@ +GNU GENERAL PUBLIC LICENSE (with font exception) + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + +As a special exception, if you create a document which uses this font, and embed this font or unaltered portions of this font into the document, this font does not by itself cause the resulting document to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the document might be covered by the GNU General Public License. If you modify this font, you may extend this exception to your version of the font, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_2.yml b/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_2.yml new file mode 100644 index 00000000000..144014764a3 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_2.yml @@ -0,0 +1,12 @@ +license_expression: gpl-2.0 WITH font-exception-gpl +is_license_text: yes +relevance: 99 +minimum_coverage: 98 +notes: Seen in https://sourceforge.net/projects/linuxlibertine/files/linuxlibertine/5.3.0/LinLibertineTTF_5.3.0_2012_07_02.tgz/download + this is a modified GPL which is problematic +ignorable_copyrights: + - Copyright (c) 1989, 1991 Free Software Foundation, Inc. + - copyrighted by the Free Software Foundation +ignorable_holders: + - Free Software Foundation, Inc. + - the Free Software Foundation diff --git a/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_3.RULE b/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_3.RULE new file mode 100644 index 00000000000..541a0aafabe --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_3.RULE @@ -0,0 +1 @@ +GNU GENERAL PUBLIC LICENSE (with font exception) \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_3.yml b/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_3.yml new file mode 100644 index 00000000000..cdc969f9290 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_3.yml @@ -0,0 +1,4 @@ +license_expression: gpl-2.0 WITH font-exception-gpl +is_license_reference: yes +relevance: 99 +notes: Seen in https://sourceforge.net/projects/linuxlibertine/files/linuxlibertine/5.3.0/LinLibertineTTF_5.3.0_2012_07_02.tgz/download diff --git a/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_or_ofl-1.1_1.RULE b/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_or_ofl-1.1_1.RULE new file mode 100644 index 00000000000..15f2c793b73 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_or_ofl-1.1_1.RULE @@ -0,0 +1,2 @@ +Our fonts are free in the sense of the GPL. In short: Changing the font is allowed as long as the derivative work is published under the same licence again. Pedantics keep claiming that the embedded use of GPL-fonts in i.e. PDFs requires the free publication of the PDF as well. This is why our GPL contains the so called "font exception". Further information about the GPL (licence text with font exception see GPL.txt in this package). +Additionally our fonts are licensed under the Open Fonts License (see OFL.txt). \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_or_ofl-1.1_1.yml b/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_or_ofl-1.1_1.yml new file mode 100644 index 00000000000..046515b16de --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_with_font-exception-gpl_or_ofl-1.1_1.yml @@ -0,0 +1,7 @@ +license_expression: gpl-2.0 WITH font-exception-gpl OR ofl-1.1 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - GPL.txt + - OFL.txt +notes: Seen in https://sourceforge.net/projects/linuxlibertine/files/linuxlibertine/5.3.0/LinLibertineTTF_5.3.0_2012_07_02.tgz/download diff --git a/src/licensedcode/data/rules/gpl-2.0_with_openssl-exception-gpl-2.0_7.RULE b/src/licensedcode/data/rules/gpl-2.0_with_openssl-exception-gpl-2.0_7.RULE new file mode 100644 index 00000000000..3ba4f8b322b --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_with_openssl-exception-gpl-2.0_7.RULE @@ -0,0 +1,10 @@ +License Exception + +In addition, as a special exception, the copyright holders give +permission to link the code of portions of this program with the +OpenSSL library under certain conditions as described in each +individual source file, and distribute linked combinations +including the two. + +You must obey the GNU General Public License in all respects +for all of the code used other than OpenSSL. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-2.0_with_openssl-exception-gpl-2.0_7.yml b/src/licensedcode/data/rules/gpl-2.0_with_openssl-exception-gpl-2.0_7.yml new file mode 100644 index 00000000000..9325b4e0bab --- /dev/null +++ b/src/licensedcode/data/rules/gpl-2.0_with_openssl-exception-gpl-2.0_7.yml @@ -0,0 +1,4 @@ +license_expression: gpl-2.0 WITH openssl-exception-gpl-2.0 +is_license_notice: yes +relevance: 100 +notes: Seen in monit at https://bitbucket.org/tildeslash/monit/src/7b8f180bdb1732620e07c62f939fb2d0e7c68c0f/COPYING?at=master diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_353.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_353.RULE new file mode 100644 index 00000000000..d51b3177d8c --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_353.RULE @@ -0,0 +1,9 @@ +is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_353.yml b/src/licensedcode/data/rules/gpl-3.0-plus_353.yml new file mode 100644 index 00000000000..013ccfaa4d1 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_353.yml @@ -0,0 +1,2 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_354.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_354.RULE new file mode 100644 index 00000000000..69a3fb610a5 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_354.RULE @@ -0,0 +1,17 @@ +is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 3, or (at your option) any later +version. + +is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +Files that have exception clauses are licensed under the terms of the +GNU General Public License; either version 3, or (at your option) any +later version. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License is in `/usr/share/common-licenses/GPL', version 3 of this +license in `/usr/share/common-licenses/GPL-3'. diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_354.yml b/src/licensedcode/data/rules/gpl-3.0-plus_354.yml new file mode 100644 index 00000000000..17550e16ca6 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_354.yml @@ -0,0 +1,4 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +referenced_filenames: + - /usr/share/common-licenses/GPL-3 diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_355.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_355.RULE new file mode 100644 index 00000000000..77738a89197 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_355.RULE @@ -0,0 +1 @@ +Code licensed under GPLv3+. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_355.yml b/src/licensedcode/data/rules/gpl-3.0-plus_355.yml new file mode 100644 index 00000000000..330b110344e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_355.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_356.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_356.RULE new file mode 100644 index 00000000000..57d58a5e70f --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_356.RULE @@ -0,0 +1 @@ +licensed under GPLv3+. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_356.yml b/src/licensedcode/data/rules/gpl-3.0-plus_356.yml new file mode 100644 index 00000000000..330b110344e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_356.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_357.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_357.RULE new file mode 100644 index 00000000000..a3fc7dad5c5 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_357.RULE @@ -0,0 +1 @@ +under GPLv3+. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_357.yml b/src/licensedcode/data/rules/gpl-3.0-plus_357.yml new file mode 100644 index 00000000000..330b110344e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_357.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_358.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_358.RULE new file mode 100644 index 00000000000..02725ad72e7 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_358.RULE @@ -0,0 +1,13 @@ +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +limit so don't run it by default. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_358.yml b/src/licensedcode/data/rules/gpl-3.0-plus_358.yml new file mode 100644 index 00000000000..9e1e5dd2997 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_358.yml @@ -0,0 +1,5 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 +ignorable_urls: + - http://www.gnu.org/licenses/ diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_359.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_359.RULE new file mode 100644 index 00000000000..1bd8bdbcbd6 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_359.RULE @@ -0,0 +1 @@ +Licensed under GPLv3+ license \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_359.yml b/src/licensedcode/data/rules/gpl-3.0-plus_359.yml new file mode 100644 index 00000000000..330b110344e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_359.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_360.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_360.RULE new file mode 100644 index 00000000000..59ff4386047 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_360.RULE @@ -0,0 +1 @@ +/* Licensed under GPLv3+ - see LICENSE file for details */ \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_360.yml b/src/licensedcode/data/rules/gpl-3.0-plus_360.yml new file mode 100644 index 00000000000..06723102079 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_360.yml @@ -0,0 +1,5 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_361.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_361.RULE new file mode 100644 index 00000000000..cb2d419065e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_361.RULE @@ -0,0 +1 @@ +licensed under GPLv3+ (GPL version 3 or later) \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_361.yml b/src/licensedcode/data/rules/gpl-3.0-plus_361.yml new file mode 100644 index 00000000000..330b110344e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_361.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_362.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_362.RULE new file mode 100644 index 00000000000..bb006a474c6 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_362.RULE @@ -0,0 +1 @@ +licensed under GPLv3+ (GNU GPL version 3 or later http://gnu.org/licenses/gpl \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_362.yml b/src/licensedcode/data/rules/gpl-3.0-plus_362.yml new file mode 100644 index 00000000000..c384c5bf54c --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_362.yml @@ -0,0 +1,5 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 +ignorable_urls: + - http://gnu.org/licenses/gpl diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_363.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_363.RULE new file mode 100644 index 00000000000..c242985b0d6 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_363.RULE @@ -0,0 +1 @@ +licensed under GPLv3+: GNU GPL version 3 or later (http://gnu.org/licenses/gpl.html) \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_363.yml b/src/licensedcode/data/rules/gpl-3.0-plus_363.yml new file mode 100644 index 00000000000..77eba7a289c --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_363.yml @@ -0,0 +1,5 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 +ignorable_urls: + - http://gnu.org/licenses/gpl.html diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_364.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_364.RULE new file mode 100644 index 00000000000..8b9708b8a96 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_364.RULE @@ -0,0 +1 @@ +This program is licensed under GPLv3+. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_364.yml b/src/licensedcode/data/rules/gpl-3.0-plus_364.yml new file mode 100644 index 00000000000..330b110344e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_364.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_365.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_365.RULE new file mode 100644 index 00000000000..b3fb03dd87b --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_365.RULE @@ -0,0 +1 @@ +Licensed under GPLv3+ https://www.gnu.org/licenses/gpl-3.0 \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_365.yml b/src/licensedcode/data/rules/gpl-3.0-plus_365.yml new file mode 100644 index 00000000000..2da6a4c3002 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_365.yml @@ -0,0 +1,5 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 +ignorable_urls: + - https://www.gnu.org/licenses/gpl-3.0 diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_366.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_366.RULE new file mode 100644 index 00000000000..ec16acf0e91 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_366.RULE @@ -0,0 +1 @@ +licensed under GPLv3+ (see LICENSE.rst). \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_366.yml b/src/licensedcode/data/rules/gpl-3.0-plus_366.yml new file mode 100644 index 00000000000..b4f056229f9 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_366.yml @@ -0,0 +1,5 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE.rst diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_367.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_367.RULE new file mode 100644 index 00000000000..e5d61286893 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_367.RULE @@ -0,0 +1 @@ +The code in this project is licensed under GPLv3+. The full licensing text can be found in the LICENSE file \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_367.yml b/src/licensedcode/data/rules/gpl-3.0-plus_367.yml new file mode 100644 index 00000000000..06723102079 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_367.yml @@ -0,0 +1,5 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_368.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_368.RULE new file mode 100644 index 00000000000..04c48c4678b --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_368.RULE @@ -0,0 +1 @@ +licensed under GPLv3+ terms. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_368.yml b/src/licensedcode/data/rules/gpl-3.0-plus_368.yml new file mode 100644 index 00000000000..330b110344e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_368.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_369.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_369.RULE new file mode 100644 index 00000000000..82d5775df70 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_369.RULE @@ -0,0 +1 @@ +licensed under GPLv3+ ("three plus"), \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_369.yml b/src/licensedcode/data/rules/gpl-3.0-plus_369.yml new file mode 100644 index 00000000000..330b110344e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_369.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_370.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_370.RULE new file mode 100644 index 00000000000..7a0de33e503 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_370.RULE @@ -0,0 +1 @@ +Since these are GPLv3+ compatible licenses, the whole project is licensed under GPLv3+. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_370.yml b/src/licensedcode/data/rules/gpl-3.0-plus_370.yml new file mode 100644 index 00000000000..330b110344e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_370.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_371.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_371.RULE new file mode 100644 index 00000000000..bc34e094b31 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_371.RULE @@ -0,0 +1 @@ +This file is licensed under GPLv3 or later \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_371.yml b/src/licensedcode/data/rules/gpl-3.0-plus_371.yml new file mode 100644 index 00000000000..330b110344e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_371.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_372.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_372.RULE new file mode 100644 index 00000000000..0adb871865f --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_372.RULE @@ -0,0 +1,21 @@ +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3 of the License, or +(at your option) any later version. + +This program is distributed AS-IS, WITHOUT ANY WARRANTY, express or +implied, including, but not limited to the WARRANTY OF MERCHANTABILITY +or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. The copyright holders hereby disclaim all warranties. + +In no case shall the copyright holders be liable to you or any thrid- +party for damages of any kind, including, but not limited to, punitive, +special, consequential, indirect or similar damages. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software Foundation, +Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. On +the initial date of release of this software, a copy can be found at +the following location: + +https://www.gnu.org/licenses/gpl-3.0.en.html \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_372.yml b/src/licensedcode/data/rules/gpl-3.0-plus_372.yml new file mode 100644 index 00000000000..79a1c448de3 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_372.yml @@ -0,0 +1,5 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 +ignorable_urls: + - https://www.gnu.org/licenses/gpl-3.0.en.html diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_373.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_373.RULE new file mode 100644 index 00000000000..dc9a19319db --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_373.RULE @@ -0,0 +1,19 @@ +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3 of the License, or +(at your option) any later version. + +This program is distributed AS-IS, WITHOUT ANY WARRANTY, express or +implied, including, but not limited to the WARRANTY OF MERCHANTABILITY +or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. The copyright holders hereby disclaim all warranties. + +In no case shall the copyright holders be liable to you or any thrid- +party for damages of any kind, including, but not limited to, punitive, +special, consequential, indirect or similar damages. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software Foundation, +Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. On +the initial date of release of this software, a copy can be found at +the following location: \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_373.yml b/src/licensedcode/data/rules/gpl-3.0-plus_373.yml new file mode 100644 index 00000000000..330b110344e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_373.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_or_bsd-simplified_6.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_or_bsd-simplified_6.RULE new file mode 100644 index 00000000000..76e9eb3b76d --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_or_bsd-simplified_6.RULE @@ -0,0 +1 @@ +license: "dual-licensed under GPLv3+ or BSD 2-clause" \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_or_bsd-simplified_6.yml b/src/licensedcode/data/rules/gpl-3.0-plus_or_bsd-simplified_6.yml new file mode 100644 index 00000000000..52daa08637a --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_or_bsd-simplified_6.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0-plus OR bsd-simplified +is_license_tag: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_or_bsd-simplified_7.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_or_bsd-simplified_7.RULE new file mode 100644 index 00000000000..07b9a971cfa --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_or_bsd-simplified_7.RULE @@ -0,0 +1 @@ +Licence: "Dual-Licensed Under Gplv3+ Or Bsd 2-Clause" \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_or_bsd-simplified_7.yml b/src/licensedcode/data/rules/gpl-3.0-plus_or_bsd-simplified_7.yml new file mode 100644 index 00000000000..52daa08637a --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_or_bsd-simplified_7.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0-plus OR bsd-simplified +is_license_tag: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_with_gcc-exception-3.1_18.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_with_gcc-exception-3.1_18.RULE new file mode 100644 index 00000000000..f55d6a0d165 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_with_gcc-exception-3.1_18.RULE @@ -0,0 +1,3 @@ +The following runtime libraries are licensed under the terms of the +GNU General Public License (v3 or later) with version 3.1 of the GCC +Runtime Library Exception (included in this file): diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_with_gcc-exception-3.1_18.yml b/src/licensedcode/data/rules/gpl-3.0-plus_with_gcc-exception-3.1_18.yml new file mode 100644 index 00000000000..6990c364edf --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_with_gcc-exception-3.1_18.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0-plus WITH gcc-exception-3.1 +is_license_notice: yes +minimum_coverage: 90 diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_with_other-copyleft_2.RULE b/src/licensedcode/data/rules/gpl-3.0-plus_with_other-copyleft_2.RULE new file mode 100644 index 00000000000..82118db411d --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_with_other-copyleft_2.RULE @@ -0,0 +1 @@ +licensed under GPLv3+ with additional permission to link, combine and redistribute it with other free or open source software. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0-plus_with_other-copyleft_2.yml b/src/licensedcode/data/rules/gpl-3.0-plus_with_other-copyleft_2.yml new file mode 100644 index 00000000000..cd7e0839c65 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0-plus_with_other-copyleft_2.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0-plus WITH other-copyleft +is_license_notice: yes +relevance: 99 diff --git a/src/licensedcode/data/rules/gpl-3.0_393.RULE b/src/licensedcode/data/rules/gpl-3.0_393.RULE new file mode 100644 index 00000000000..3048a8965ac --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_393.RULE @@ -0,0 +1,2 @@ +On a Debian system you can find a copy of this license in +/usr/share/common-licenses/GPL-3. diff --git a/src/licensedcode/data/rules/gpl-3.0_393.yml b/src/licensedcode/data/rules/gpl-3.0_393.yml new file mode 100644 index 00000000000..419709049da --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_393.yml @@ -0,0 +1,5 @@ +license_expression: gpl-3.0 +is_license_reference: yes +minimum_coverage: 90 +referenced_filenames: + - /usr/share/common-licenses/LGPL-3 diff --git a/src/licensedcode/data/rules/gpl-3.0_394.RULE b/src/licensedcode/data/rules/gpl-3.0_394.RULE new file mode 100644 index 00000000000..0208e930fd8 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_394.RULE @@ -0,0 +1,2 @@ + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in '/usr/share/common-licenses/GPL-3'. diff --git a/src/licensedcode/data/rules/gpl-3.0_394.yml b/src/licensedcode/data/rules/gpl-3.0_394.yml new file mode 100644 index 00000000000..7754a2350d6 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_394.yml @@ -0,0 +1,5 @@ +license_expression: gpl-3.0 +is_license_reference: yes +minimum_coverage: 90 +referenced_filenames: + - /usr/share/common-licenses/GPL-3 diff --git a/src/licensedcode/data/rules/gpl-3.0_395.RULE b/src/licensedcode/data/rules/gpl-3.0_395.RULE new file mode 100644 index 00000000000..5e7df6f5e7f --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_395.RULE @@ -0,0 +1 @@ +The GNU General Public License v3 text is contained in /usr/share/common-licenses/GPL-3. diff --git a/src/licensedcode/data/rules/gpl-3.0_395.yml b/src/licensedcode/data/rules/gpl-3.0_395.yml new file mode 100644 index 00000000000..6ba7fb65a74 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_395.yml @@ -0,0 +1,4 @@ +license_expression: gpl-3.0 +is_license_reference: yes +referenced_filenames: + - /usr/share/common-licenses/GPL-3 diff --git a/src/licensedcode/data/rules/gpl-3.0_396.RULE b/src/licensedcode/data/rules/gpl-3.0_396.RULE new file mode 100644 index 00000000000..aa08d325d7e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_396.RULE @@ -0,0 +1 @@ +the GPL-3.0 \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0_396.yml b/src/licensedcode/data/rules/gpl-3.0_396.yml new file mode 100644 index 00000000000..9a4537d99e9 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_396.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0_397.RULE b/src/licensedcode/data/rules/gpl-3.0_397.RULE new file mode 100644 index 00000000000..f237d30772b --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_397.RULE @@ -0,0 +1 @@ +insert GPL v3 text here \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0_397.yml b/src/licensedcode/data/rules/gpl-3.0_397.yml new file mode 100644 index 00000000000..7689223090a --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_397.yml @@ -0,0 +1,4 @@ +license_expression: gpl-3.0 +is_license_reference: yes +relevance: 100 +notes: seen in some SPDX templates diff --git a/src/licensedcode/data/rules/gpl-3.0_398.RULE b/src/licensedcode/data/rules/gpl-3.0_398.RULE new file mode 100644 index 00000000000..6437220a1fe --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_398.RULE @@ -0,0 +1 @@ +licensed under the General Public License v3. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0_398.yml b/src/licensedcode/data/rules/gpl-3.0_398.yml new file mode 100644 index 00000000000..2774025859b --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_398.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0_399.RULE b/src/licensedcode/data/rules/gpl-3.0_399.RULE new file mode 100644 index 00000000000..5e6dabc4729 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_399.RULE @@ -0,0 +1 @@ +the effective license is GPLv3 only \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0_399.yml b/src/licensedcode/data/rules/gpl-3.0_399.yml new file mode 100644 index 00000000000..2774025859b --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_399.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0_400.RULE b/src/licensedcode/data/rules/gpl-3.0_400.RULE new file mode 100644 index 00000000000..6482916e0eb --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_400.RULE @@ -0,0 +1,3 @@ +is free software: you can redistribute it and/or modify it +under the terms of the GNU General Public License, version 3. The +complete license terms can be found in the file GPL3. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0_400.yml b/src/licensedcode/data/rules/gpl-3.0_400.yml new file mode 100644 index 00000000000..e770a49a439 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_400.yml @@ -0,0 +1,5 @@ +license_expression: gpl-3.0 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - GPL3 diff --git a/src/licensedcode/data/rules/gpl-3.0_401.RULE b/src/licensedcode/data/rules/gpl-3.0_401.RULE new file mode 100644 index 00000000000..a96c2318c43 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_401.RULE @@ -0,0 +1 @@ +The program is released under GPL 3. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0_401.yml b/src/licensedcode/data/rules/gpl-3.0_401.yml new file mode 100644 index 00000000000..2774025859b --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_401.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0_402.RULE b/src/licensedcode/data/rules/gpl-3.0_402.RULE new file mode 100644 index 00000000000..8163ae47920 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_402.RULE @@ -0,0 +1,2 @@ +license: +The program is released under GPL 3. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0_402.yml b/src/licensedcode/data/rules/gpl-3.0_402.yml new file mode 100644 index 00000000000..2774025859b --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_402.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0_and_lgpl-2.1_1.RULE b/src/licensedcode/data/rules/gpl-3.0_and_lgpl-2.1_1.RULE new file mode 100644 index 00000000000..5cfc356c752 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_and_lgpl-2.1_1.RULE @@ -0,0 +1 @@ +This has a mix of licenses, both LGPL-2.1 and GPL-3.0, plus the apparently \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0_and_lgpl-2.1_1.yml b/src/licensedcode/data/rules/gpl-3.0_and_lgpl-2.1_1.yml new file mode 100644 index 00000000000..f1acdf08a4b --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_and_lgpl-2.1_1.yml @@ -0,0 +1,4 @@ +license_expression: gpl-3.0 AND lgpl-2.1 +is_license_notice: yes +relevance: 95 + diff --git a/src/licensedcode/data/rules/gpl-3.0_and_lgpl-2.1_2.RULE b/src/licensedcode/data/rules/gpl-3.0_and_lgpl-2.1_2.RULE new file mode 100644 index 00000000000..e6319342d04 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_and_lgpl-2.1_2.RULE @@ -0,0 +1 @@ +Mix of GPL-3 and LGPL-2.1. diff --git a/src/licensedcode/data/rules/gpl-3.0_and_lgpl-2.1_2.yml b/src/licensedcode/data/rules/gpl-3.0_and_lgpl-2.1_2.yml new file mode 100644 index 00000000000..fd62ad1e82f --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_and_lgpl-2.1_2.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0 AND lgpl-2.1 +is_license_notice: yes +minimum_coverage: 90 diff --git a/src/licensedcode/data/rules/gpl-3.0_and_lgpl-2.1_and_lgpl-3.0_1.RULE b/src/licensedcode/data/rules/gpl-3.0_and_lgpl-2.1_and_lgpl-3.0_1.RULE new file mode 100644 index 00000000000..94c2f264c07 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_and_lgpl-2.1_and_lgpl-3.0_1.RULE @@ -0,0 +1 @@ +mix of GPL-3.0 and LGPL-2.1/3 \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0_and_lgpl-2.1_and_lgpl-3.0_1.yml b/src/licensedcode/data/rules/gpl-3.0_and_lgpl-2.1_and_lgpl-3.0_1.yml new file mode 100644 index 00000000000..2d117c5899e --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_and_lgpl-2.1_and_lgpl-3.0_1.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0 AND lgpl-2.1 AND lgpl-3.0 +is_license_notice: yes +minimum_coverage: 95 diff --git a/src/licensedcode/data/rules/gpl-3.0_and_mit_1.RULE b/src/licensedcode/data/rules/gpl-3.0_and_mit_1.RULE new file mode 100644 index 00000000000..731152ea6e1 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_and_mit_1.RULE @@ -0,0 +1 @@ +license: GPLv3, MIT \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0_and_mit_1.yml b/src/licensedcode/data/rules/gpl-3.0_and_mit_1.yml new file mode 100644 index 00000000000..96d44f398cc --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_and_mit_1.yml @@ -0,0 +1,3 @@ +license_expression: gpl-3.0 AND mit +is_license_tag: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/gpl-3.0_or_commercial-license_6.RULE b/src/licensedcode/data/rules/gpl-3.0_or_commercial-license_6.RULE new file mode 100644 index 00000000000..ee7bf4c8377 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_or_commercial-license_6.RULE @@ -0,0 +1,8 @@ +License + + +oRTP is dual licensed, and is available either : + + - under a [GNU/GPLv3 license](https://www.gnu.org/licenses/gpl-3.0.en.html), for free (open source). Please make sure that you understand and agree with the terms of this license before using it (see LICENSE.txt file for details). + + - under a proprietary license, for a fee, to be used in closed source applications. Contact [Belledonne Communications](https://www.linphone.org/contact) for any question about costs and services. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0_or_commercial-license_6.yml b/src/licensedcode/data/rules/gpl-3.0_or_commercial-license_6.yml new file mode 100644 index 00000000000..f8a7cab5991 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_or_commercial-license_6.yml @@ -0,0 +1,10 @@ +license_expression: gpl-3.0 OR commercial-license +is_license_notice: yes +relevance: 100 +minimum_coverage: 90 +referenced_filenames: + - LICENSE.txt +notes: Seen in https://gitlab.linphone.org/BC/public/ortp/-/archive/4.5.15/ortp-4.5.15.tar.gz +ignorable_urls: + - https://www.gnu.org/licenses/gpl-3.0.en.html + - https://www.linphone.org/contact diff --git a/src/licensedcode/data/rules/gpl-3.0_or_commercial-license_7.RULE b/src/licensedcode/data/rules/gpl-3.0_or_commercial-license_7.RULE new file mode 100644 index 00000000000..511974f6e14 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_or_commercial-license_7.RULE @@ -0,0 +1,13 @@ +License + + +oRTP is dual licensed, and is available either : + + - under a [GNU/GPLv3 license](https://www.gnu.org/licenses/gpl-3.0.en.html), for free (open source). Please make sure that you understand and agree with the terms of this license before using it (see LICENSE.txt file for details). + + - under a proprietary license, for a fee, to be used in closed source applications. Contact [Belledonne Communications](https://www.linphone.org/contact) for any question about costs and services. + +Prior to version 1.0.0, oRTP was licensed under LGPLv2. Due to inclusion of new code licensed under GPLv2, oRTP has become GPLv2, +and later in version 1.1.0, GPLv3. +For the sake of clarity, all source files headers were updated to mention the GPLv3 only. +oRTP versions prior to 1.0.0 of course remain LGPLv2. \ No newline at end of file diff --git a/src/licensedcode/data/rules/gpl-3.0_or_commercial-license_7.yml b/src/licensedcode/data/rules/gpl-3.0_or_commercial-license_7.yml new file mode 100644 index 00000000000..f8a7cab5991 --- /dev/null +++ b/src/licensedcode/data/rules/gpl-3.0_or_commercial-license_7.yml @@ -0,0 +1,10 @@ +license_expression: gpl-3.0 OR commercial-license +is_license_notice: yes +relevance: 100 +minimum_coverage: 90 +referenced_filenames: + - LICENSE.txt +notes: Seen in https://gitlab.linphone.org/BC/public/ortp/-/archive/4.5.15/ortp-4.5.15.tar.gz +ignorable_urls: + - https://www.gnu.org/licenses/gpl-3.0.en.html + - https://www.linphone.org/contact diff --git a/src/licensedcode/data/rules/historical_24.RULE b/src/licensedcode/data/rules/historical_24.RULE new file mode 100644 index 00000000000..c759a717588 --- /dev/null +++ b/src/licensedcode/data/rules/historical_24.RULE @@ -0,0 +1,15 @@ +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation, and that the name Wyse not be +used in advertising or publicity pertaining to distribution of the +software without specific, written prior permission. + +WYSE DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING +ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL +DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR +ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, +WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, +ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS +SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/historical_24.yml b/src/licensedcode/data/rules/historical_24.yml new file mode 100644 index 00000000000..3ab3078a7cd --- /dev/null +++ b/src/licensedcode/data/rules/historical_24.yml @@ -0,0 +1,4 @@ +license_expression: historical +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/historical_25.RULE b/src/licensedcode/data/rules/historical_25.RULE new file mode 100644 index 00000000000..5cd446736ba --- /dev/null +++ b/src/licensedcode/data/rules/historical_25.RULE @@ -0,0 +1,15 @@ +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation, and that the name Digital not be +used in advertising or publicity pertaining to distribution of the +software without specific, written prior permission. + +DIGITAL AND WYSE DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO +EVENT SHALL DIGITAL OR WYSE BE LIABLE FOR ANY SPECIAL, INDIRECT OR +CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF +USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/historical_25.yml b/src/licensedcode/data/rules/historical_25.yml new file mode 100644 index 00000000000..3ab3078a7cd --- /dev/null +++ b/src/licensedcode/data/rules/historical_25.yml @@ -0,0 +1,4 @@ +license_expression: historical +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/historical_26.RULE b/src/licensedcode/data/rules/historical_26.RULE new file mode 100644 index 00000000000..217c7c82591 --- /dev/null +++ b/src/licensedcode/data/rules/historical_26.RULE @@ -0,0 +1,17 @@ +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, provided +that the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation, and that the name of TOSHIBA not be used in advertising +or publicity pertaining to distribution of the software without specific, +written prior permission. TOSHIBA make no representations about the +suitability of this software for any purpose. It is provided "as is" +without express or implied warranty. + +TOSHIBA DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING +ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL +TOSHIBA BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR +ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, +WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, +ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS +SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/historical_26.yml b/src/licensedcode/data/rules/historical_26.yml new file mode 100644 index 00000000000..3ab3078a7cd --- /dev/null +++ b/src/licensedcode/data/rules/historical_26.yml @@ -0,0 +1,4 @@ +license_expression: historical +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/historical_27.RULE b/src/licensedcode/data/rules/historical_27.RULE new file mode 100644 index 00000000000..1ffc30b95ca --- /dev/null +++ b/src/licensedcode/data/rules/historical_27.RULE @@ -0,0 +1,16 @@ +License to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation, and that the name of IBM not be +used in advertising or publicity pertaining to distribution of the +software without specific, written prior permission. + +IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING +ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS, AND +NONINFRINGEMENT OF THIRD PARTY RIGHTS, IN NO EVENT SHALL +IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR +ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, +WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, +ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS +SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/historical_27.yml b/src/licensedcode/data/rules/historical_27.yml new file mode 100644 index 00000000000..d16edb1f130 --- /dev/null +++ b/src/licensedcode/data/rules/historical_27.yml @@ -0,0 +1,4 @@ +license_expression: historical +is_license_text: yes +relevance: 99 +notes: in x11 diff --git a/src/licensedcode/data/rules/ietf_7.RULE b/src/licensedcode/data/rules/ietf_7.RULE new file mode 100644 index 00000000000..9d0f6d40b27 --- /dev/null +++ b/src/licensedcode/data/rules/ietf_7.RULE @@ -0,0 +1,16 @@ + This document and translations of it may be copied and furnished to + others, and derivative works that comment on or otherwise explain it + or assist in its implementation may be prepared, copied, published + and distributed, in whole or in part, without restriction of any + kind, provided that the above copyright notice and this paragraph + are included on all such copies and derivative works. However, this + document itself may not be modified in any way, such as by removing + the copyright notice or references to the Internet Society or other + Internet organizations, except as needed for the purpose of + developing Internet standards in which case the procedures for + copyrights defined in the Internet Standards process must be + followed, or as required to translate it into languages other than + English. + . + The limited permissions granted above are perpetual and will not be + revoked by the Internet Society or its successors or assigns. diff --git a/src/licensedcode/data/rules/ietf_7.yml b/src/licensedcode/data/rules/ietf_7.yml new file mode 100644 index 00000000000..fb567a034df --- /dev/null +++ b/src/licensedcode/data/rules/ietf_7.yml @@ -0,0 +1,3 @@ +license_expression: ietf +is_license_text: yes +relevance: 90 diff --git a/src/licensedcode/data/rules/ijg_29.RULE b/src/licensedcode/data/rules/ijg_29.RULE new file mode 100644 index 00000000000..a29e739546d --- /dev/null +++ b/src/licensedcode/data/rules/ijg_29.RULE @@ -0,0 +1,58 @@ +libjpeg license, Independent JPEG Group + + This license applies to the libjpeg API library and associated programs + (any code inherited from libjpeg, and any modifications to that code.) + +The authors make NO WARRANTY or representation, either express or implied, +with respect to this software, its quality, accuracy, merchantability, or +fitness for a particular purpose. This software is provided "AS IS", and you, +its user, assume the entire risk as to its quality and accuracy. + +This software is copyright (C) 1991-2016, Thomas G. Lane, Guido Vollbeding. +All Rights Reserved except as specified below. + +Permission is hereby granted to use, copy, modify, and distribute this +software (or portions thereof) for any purpose, without fee, subject to these +conditions: +(1) If any part of the source code for this software is distributed, then this +README file must be included, with this copyright and no-warranty notice +unaltered; and any additions, deletions, or changes to the original files +must be clearly indicated in accompanying documentation. +(2) If only executable code is distributed, then the accompanying +documentation must state that "this software is based in part on the work of +the Independent JPEG Group". +(3) Permission for use of this software is granted only if the user accepts +full responsibility for any undesirable consequences; the authors accept +NO LIABILITY for damages of any kind. + +These conditions apply to any software derived from or based on the IJG code, +not just to the unmodified library. If you use our work, you ought to +acknowledge us. + +Permission is NOT granted for the use of any IJG author's name or company name +in advertising or publicity relating to this software or products derived from +it. This software may be referred to only as "the Independent JPEG Group's +software". + +We specifically permit and encourage the use of this software as the basis of +commercial products, provided that all warranty or liability claims are +assumed by the product vendor. + + +The Unix configuration script "configure" was produced with GNU Autoconf. +It is copyright by the Free Software Foundation but is freely distributable. +The same holds for its supporting scripts (config.guess, config.sub, +ltmain.sh). Another support script, install-sh, is copyright by X Consortium +but is also freely distributable. + +The IJG distribution formerly included code to read and write GIF files. +To avoid entanglement with the Unisys LZW patent (now expired), GIF reading +support has been removed altogether, and the GIF writer has been simplified +to produce "uncompressed GIFs". This technique does not use the LZW +algorithm; the resulting GIF files are larger than usual, but are readable +by all standard GIF decoders. + +We are required to state that + "The Graphics Interchange Format(c) is the Copyright property of + CompuServe Incorporated. GIF(sm) is a Service Mark property of + CompuServe Incorporated." \ No newline at end of file diff --git a/src/licensedcode/data/rules/ijg_29.yml b/src/licensedcode/data/rules/ijg_29.yml new file mode 100644 index 00000000000..2fbf86bfb95 --- /dev/null +++ b/src/licensedcode/data/rules/ijg_29.yml @@ -0,0 +1,13 @@ +license_expression: ijg +is_license_text: yes +relevance: 100 +ignorable_copyrights: + - Copyright property of CompuServe Incorporated + - copyright (c) 1991-2016, Thomas G. Lane, Guido Vollbeding + - copyright by X Consortium + - copyright by the Free Software Foundation +ignorable_holders: + - CompuServe Incorporated + - Thomas G. Lane, Guido Vollbeding + - X Consortium + - the Free Software Foundation diff --git a/src/licensedcode/data/rules/info-zip-2009-01_1.RULE b/src/licensedcode/data/rules/info-zip-2009-01_1.RULE new file mode 100644 index 00000000000..cf90c1f9f47 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_1.RULE @@ -0,0 +1,2 @@ +The product "Pocket UnZip" itself is property of the +author and cannot be altered in any way without written consent from. \ No newline at end of file diff --git a/src/licensedcode/data/rules/info-zip-2009-01_1.yml b/src/licensedcode/data/rules/info-zip-2009-01_1.yml new file mode 100644 index 00000000000..4325cc5ecd8 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_1.yml @@ -0,0 +1,6 @@ +license_expression: info-zip-2009-01 +is_license_text: yes +relevance: 100 +minimum_coverage: 99 +notes: Seen in Info-Zip with a notice "copyrighted 1997 by Steve P. Miller. Relicensed to Info-Zip + terms per Info-Zip documentation" diff --git a/src/licensedcode/data/rules/info-zip-2009-01_10.RULE b/src/licensedcode/data/rules/info-zip-2009-01_10.RULE new file mode 100644 index 00000000000..3ee3a8e4b83 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_10.RULE @@ -0,0 +1 @@ +covered by the new Info-ZIP license. \ No newline at end of file diff --git a/src/licensedcode/data/rules/info-zip-2009-01_10.yml b/src/licensedcode/data/rules/info-zip-2009-01_10.yml new file mode 100644 index 00000000000..eba3060a5d5 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_10.yml @@ -0,0 +1,3 @@ +license_expression: info-zip-2009-01 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/info-zip-2009-01_11.RULE b/src/licensedcode/data/rules/info-zip-2009-01_11.RULE new file mode 100644 index 00000000000..50ccebdb576 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_11.RULE @@ -0,0 +1,4 @@ +See the accompanying file LICENSE, version 2000-Apr-09 or later + (the contents of which are also included in zip.h) for terms of use. + If, for some reason, all these files are missing, the Info-ZIP license + also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html \ No newline at end of file diff --git a/src/licensedcode/data/rules/info-zip-2009-01_11.yml b/src/licensedcode/data/rules/info-zip-2009-01_11.yml new file mode 100644 index 00000000000..3884cc22466 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_11.yml @@ -0,0 +1,9 @@ +license_expression: info-zip-2009-01 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE + - zip.h +ignorable_urls: + - ftp://ftp.info-zip.org/pub/infozip/license.html + diff --git a/src/licensedcode/data/rules/info-zip-2009-01_4.RULE b/src/licensedcode/data/rules/info-zip-2009-01_4.RULE new file mode 100644 index 00000000000..f011382c253 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_4.RULE @@ -0,0 +1,2 @@ +This copyright note does not contain any usage terms. So, we assume + that this code is freely reusable until we are proved wrong... \ No newline at end of file diff --git a/src/licensedcode/data/rules/info-zip-2009-01_4.yml b/src/licensedcode/data/rules/info-zip-2009-01_4.yml new file mode 100644 index 00000000000..2aa7bba22a8 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_4.yml @@ -0,0 +1,19 @@ +license_expression: info-zip-2009-01 +is_license_notice: yes +relevance: 99 +minimum_coverage: 99 +notes: | + Seen in Info-zip this note: + * MacBinaryIII.h + * + * Copyright 1997 Christopher Evans (cevans@poppybank.com) + * + * Basic encoding and decoding of Macintosh files to the + * MacBinary III spec. + + * This source is copyrighted by Christopher Evans (cevans@poppybank.com) + * (available at ftp://ftp.lazerware.com/MacBinaryIII_src_C.sit + * homepage of Leonard Rosenthol leonardr@netcom.com) + + This copyright note does not contain any usage terms. So, we assume + that this code is freely reusable until we are proved wrong... diff --git a/src/licensedcode/data/rules/info-zip-2009-01_5.RULE b/src/licensedcode/data/rules/info-zip-2009-01_5.RULE new file mode 100644 index 00000000000..9c21c420fb6 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_5.RULE @@ -0,0 +1 @@ +covered by the Info-ZIP Licence \ No newline at end of file diff --git a/src/licensedcode/data/rules/info-zip-2009-01_5.yml b/src/licensedcode/data/rules/info-zip-2009-01_5.yml new file mode 100644 index 00000000000..0565c342726 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_5.yml @@ -0,0 +1,3 @@ +license_expression: info-zip-2009-01 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/info-zip-2009-01_6.RULE b/src/licensedcode/data/rules/info-zip-2009-01_6.RULE new file mode 100644 index 00000000000..8e38e135c58 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_6.RULE @@ -0,0 +1 @@ +complete core code is now covered by the Info-ZIP Licence \ No newline at end of file diff --git a/src/licensedcode/data/rules/info-zip-2009-01_6.yml b/src/licensedcode/data/rules/info-zip-2009-01_6.yml new file mode 100644 index 00000000000..0565c342726 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_6.yml @@ -0,0 +1,3 @@ +license_expression: info-zip-2009-01 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/info-zip-2009-01_7.RULE b/src/licensedcode/data/rules/info-zip-2009-01_7.RULE new file mode 100644 index 00000000000..43f3c3ed0b5 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_7.RULE @@ -0,0 +1,3 @@ +previously put into the public domain). All these +Info-ZIP contributors (or "primary" authors) have permitted us to +replace their copyright notes by the Info-ZIP License. \ No newline at end of file diff --git a/src/licensedcode/data/rules/info-zip-2009-01_7.yml b/src/licensedcode/data/rules/info-zip-2009-01_7.yml new file mode 100644 index 00000000000..b8a72913c0e --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_7.yml @@ -0,0 +1,4 @@ +license_expression: info-zip-2009-01 +is_license_reference: yes +relevance: 100 +minimum_coverage: 99 diff --git a/src/licensedcode/data/rules/info-zip-2009-01_8.RULE b/src/licensedcode/data/rules/info-zip-2009-01_8.RULE new file mode 100644 index 00000000000..fc4b92963ec --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_8.RULE @@ -0,0 +1,3 @@ +The remaining copyright notes have been superseeded by the new + Info-ZIP license, with explicit permission from the respective + original authors. \ No newline at end of file diff --git a/src/licensedcode/data/rules/info-zip-2009-01_8.yml b/src/licensedcode/data/rules/info-zip-2009-01_8.yml new file mode 100644 index 00000000000..0565c342726 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_8.yml @@ -0,0 +1,3 @@ +license_expression: info-zip-2009-01 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/info-zip-2009-01_9.RULE b/src/licensedcode/data/rules/info-zip-2009-01_9.RULE new file mode 100644 index 00000000000..9f7575d3afe --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_9.RULE @@ -0,0 +1 @@ +Info-ZIP license \ No newline at end of file diff --git a/src/licensedcode/data/rules/info-zip-2009-01_9.yml b/src/licensedcode/data/rules/info-zip-2009-01_9.yml new file mode 100644 index 00000000000..0565c342726 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_9.yml @@ -0,0 +1,3 @@ +license_expression: info-zip-2009-01 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_1.RULE b/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_1.RULE new file mode 100644 index 00000000000..94bb223b0c5 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_1.RULE @@ -0,0 +1,4 @@ +Permission is granted to any individual or institution to use, +copy, or redistribute this software so long as all of the original +files are included, that it is not sold for profit, and that this +copyright notice is retained. \ No newline at end of file diff --git a/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_1.yml b/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_1.yml new file mode 100644 index 00000000000..85b77a65819 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_1.yml @@ -0,0 +1,6 @@ +license_expression: info-zip-2009-01 AND other-permissive +is_license_text: yes +relevance: 100 +minimum_coverage: 99 +notes: Seen in Info-Zip with a notice Copyright (c) 1996 Mike White. Relicensed to Info-Zip + terms per Info-Zip documentation diff --git a/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_2.RULE b/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_2.RULE new file mode 100644 index 00000000000..32f5cb41f6e --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_2.RULE @@ -0,0 +1,8 @@ +Permission is granted to any individual/institution/corporate +entity to use, copy, redistribute or modify this software for +any purpose whatsoever, subject to the conditions noted in the +Frequently Asked Questions section below, plus one additional +condition: namely, that my name not be removed from the source +code. (Other names may, of course, be added as modifications +are made.) Corporate legal staff (like at IBM :-) ) who have +problems understanding this can contact me through Zip-Bugs... \ No newline at end of file diff --git a/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_2.yml b/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_2.yml new file mode 100644 index 00000000000..261ea674059 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_2.yml @@ -0,0 +1,6 @@ +license_expression: info-zip-2009-01 AND other-permissive +is_license_text: yes +relevance: 100 +minimum_coverage: 99 +notes: Seen in Info-Zip with a notice Copyright (c) 1994 Greg Roelofs. Relicensed to Info-Zip + terms per Info-Zip documentation diff --git a/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_3.RULE b/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_3.RULE new file mode 100644 index 00000000000..0e42bb74e64 --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_3.RULE @@ -0,0 +1,3 @@ +Permission is granted to any individual or institution to use, copy, +or redistribute this software so long as all of the original files +are included unmodified and that this copyright notice is retained. \ No newline at end of file diff --git a/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_3.yml b/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_3.yml new file mode 100644 index 00000000000..a15ee20ee5e --- /dev/null +++ b/src/licensedcode/data/rules/info-zip-2009-01_and_other-permissive_3.yml @@ -0,0 +1,6 @@ +license_expression: info-zip-2009-01 AND other-permissive +is_license_text: yes +relevance: 100 +minimum_coverage: 99 +notes: Seen in Info-Zip with a notice Copyright (c) 1992-93 Igor Mandrichenko. Relicensed to + Info-Zip terms per Info-Zip documentation diff --git a/src/licensedcode/data/rules/isc_85.RULE b/src/licensedcode/data/rules/isc_85.RULE new file mode 100644 index 00000000000..d3bc66a2c0c --- /dev/null +++ b/src/licensedcode/data/rules/isc_85.RULE @@ -0,0 +1,4 @@ +ISC LICENSE + + This license is approved by the OSI and FSF as GPL-compatible. + http://opensource.org/licenses/isc-license.txt \ No newline at end of file diff --git a/src/licensedcode/data/rules/isc_85.yml b/src/licensedcode/data/rules/isc_85.yml new file mode 100644 index 00000000000..0225e00a600 --- /dev/null +++ b/src/licensedcode/data/rules/isc_85.yml @@ -0,0 +1,6 @@ +license_expression: isc +is_license_notice: yes +relevance: 100 +notes: Seen in ptyprocess-0.6.0 +ignorable_urls: + - http://opensource.org/licenses/isc-license.txt diff --git a/src/licensedcode/data/rules/isc_86.RULE b/src/licensedcode/data/rules/isc_86.RULE new file mode 100644 index 00000000000..42e602e745f --- /dev/null +++ b/src/licensedcode/data/rules/isc_86.RULE @@ -0,0 +1 @@ +ISC license used for completely new code \ No newline at end of file diff --git a/src/licensedcode/data/rules/isc_86.yml b/src/licensedcode/data/rules/isc_86.yml new file mode 100644 index 00000000000..4dbad09f4dc --- /dev/null +++ b/src/licensedcode/data/rules/isc_86.yml @@ -0,0 +1,3 @@ +license_expression: isc +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/latex2e_8.RULE b/src/licensedcode/data/rules/latex2e_8.RULE new file mode 100644 index 00000000000..74fcf98ae9f --- /dev/null +++ b/src/licensedcode/data/rules/latex2e_8.RULE @@ -0,0 +1,18 @@ +Permission is granted to make and distribute verbatim copies of + this manual provided the copyright notice and this permission notice + are preserved on all copies. + . + Permission is granted to process this file through troff and print the + results, provided the printed document carries copying permission + notice identical to this one except for the removal of this paragraph + (this paragraph not being relevant to the printed manual). + . + Permission is granted to copy and distribute modified versions of this + manual under the conditions for verbatim copying, provided that the entire + resulting derived work is distributed under the terms of a permission + notice identical to this one. + . + Permission is granted to copy and distribute translations of this manual + into another language, under the above conditions for modified versions, + except that this permission notice may be stated in a translation approved + by the Foundation. diff --git a/src/licensedcode/data/rules/latex2e_8.yml b/src/licensedcode/data/rules/latex2e_8.yml new file mode 100644 index 00000000000..cdd813cf0e8 --- /dev/null +++ b/src/licensedcode/data/rules/latex2e_8.yml @@ -0,0 +1,5 @@ +license_expression: latex2e +is_license_notice: yes +relevance: 85 +notes: there is some extra wording added and an ignore paragraph + diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_437.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_437.RULE new file mode 100644 index 00000000000..1003baf0a1e --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_437.RULE @@ -0,0 +1 @@ +On Debian systems, the complete text of the GNU Lesser General Public License can be found in usr/share/common-licenses/LGPL. diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_437.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_437.yml new file mode 100644 index 00000000000..787d49d1892 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_437.yml @@ -0,0 +1,5 @@ +license_expression: lgpl-2.0-plus +is_license_reference: yes +minimum_coverage: 90 +referenced_filenames: + - /usr/share/common-licenses/LGPL diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_438.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_438.RULE new file mode 100644 index 00000000000..c72bd40c843 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_438.RULE @@ -0,0 +1 @@ +can be found in /usr/share/common-licenses/LGPL diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_438.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_438.yml new file mode 100644 index 00000000000..879e22a2e3a --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_438.yml @@ -0,0 +1,5 @@ +license_expression: lgpl-2.0-plus +is_license_reference: yes +minimum_coverage: 90 +referenced_filenames: + - /usr/share/common-licenses/LGPL \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_439.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_439.RULE new file mode 100644 index 00000000000..cc1808b1937 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_439.RULE @@ -0,0 +1,3 @@ +The library is distributed under the terms of the GNU Lesser + General Public License (LGPL); see the file COPYING.LIB for the + actual terms. diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_439.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_439.yml new file mode 100644 index 00000000000..e9e078caea5 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_439.yml @@ -0,0 +1,4 @@ +license_expression: lgpl-2.0-plus +is_license_notice: yes +referenced_filenames: + - COPYING.LIB diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_440.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_440.RULE new file mode 100644 index 00000000000..e0e1874675e --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_440.RULE @@ -0,0 +1 @@ +License: GNU Lesser General Public \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_440.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_440.yml new file mode 100644 index 00000000000..00706bdc2a4 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_440.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0-plus +is_license_tag: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_441.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_441.RULE new file mode 100644 index 00000000000..418fe50755f --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_441.RULE @@ -0,0 +1 @@ +licensed LGPL. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_441.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_441.yml new file mode 100644 index 00000000000..8775364f78c --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_441.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_442.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_442.RULE new file mode 100644 index 00000000000..c64bd3d2ced --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_442.RULE @@ -0,0 +1 @@ +Previous versions are still licensed LGPL. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_442.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_442.yml new file mode 100644 index 00000000000..8775364f78c --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_442.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_443.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_443.RULE new file mode 100644 index 00000000000..57f1cb253d8 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_443.RULE @@ -0,0 +1 @@ +Licensed under LGPLv2+ \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_443.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_443.yml new file mode 100644 index 00000000000..8775364f78c --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_443.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_444.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_444.RULE new file mode 100644 index 00000000000..338f93305c4 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_444.RULE @@ -0,0 +1 @@ +licensed under LGPLv2+ license. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_444.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_444.yml new file mode 100644 index 00000000000..8775364f78c --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_444.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_445.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_445.RULE new file mode 100644 index 00000000000..e6b5e0bba75 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_445.RULE @@ -0,0 +1 @@ +/* Licensed under LGPLv2+ - see LICENSE file for details */ \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_445.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_445.yml new file mode 100644 index 00000000000..78c077dc002 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_445.yml @@ -0,0 +1,5 @@ +license_expression: lgpl-2.0-plus +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_446.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_446.RULE new file mode 100644 index 00000000000..ff64b22bcc8 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_446.RULE @@ -0,0 +1 @@ +licensed under LGPLv2+ only \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_446.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_446.yml new file mode 100644 index 00000000000..8775364f78c --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_446.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_447.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_447.RULE new file mode 100644 index 00000000000..d1cfb035bf7 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_447.RULE @@ -0,0 +1 @@ +additions are licensed under LGPLv2+ \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_447.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_447.yml new file mode 100644 index 00000000000..8775364f78c --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_447.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_448.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_448.RULE new file mode 100644 index 00000000000..773f398e953 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_448.RULE @@ -0,0 +1 @@ +The data files are licensed under LGPLv2+, see the README file \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_448.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_448.yml new file mode 100644 index 00000000000..a8283b01717 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_448.yml @@ -0,0 +1,5 @@ +license_expression: lgpl-2.0-plus +is_license_notice: yes +relevance: 100 +referenced_filenames: + - README diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_449.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_449.RULE new file mode 100644 index 00000000000..2e2e0c7b707 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_449.RULE @@ -0,0 +1 @@ +The data files are licensed under LGPLv2+ \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_449.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_449.yml new file mode 100644 index 00000000000..8775364f78c --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_449.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_450.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_450.RULE new file mode 100644 index 00000000000..dda6177d93e --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_450.RULE @@ -0,0 +1 @@ +which is LGPL \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_450.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_450.yml new file mode 100644 index 00000000000..8775364f78c --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_450.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_and_bsd-new_and_mit_1.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_and_bsd-new_and_mit_1.RULE new file mode 100644 index 00000000000..085a88f89b8 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_and_bsd-new_and_mit_1.RULE @@ -0,0 +1,3 @@ +This library is mostly governed by the Lesser GNU Public License (LGPL). If a +module comes from another source then it may have another, more liberal, +license. Parts here may be Other Peoples Code under the BSD or MIT license. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_and_bsd-new_and_mit_1.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_and_bsd-new_and_mit_1.yml new file mode 100644 index 00000000000..aff718b3bca --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_and_bsd-new_and_mit_1.yml @@ -0,0 +1,4 @@ +license_expression: lgpl-2.0-plus AND bsd-new AND mit +is_license_notice: yes +relevance: 99 +notes: this notice is ambiguous wrt. LGPL version and BSD variant. diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-1.0-plus_2.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-1.0-plus_2.RULE new file mode 100644 index 00000000000..1806ddf01c1 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-1.0-plus_2.RULE @@ -0,0 +1,9 @@ + +Parts of this work are licensed under the terms of the GNU General +Public License. On Debian systems, the complete text of this license +can be found in /usr/share/common-licenses/GPL. + +Parts of this work are licensed under the terms of the GNU Library +General Public License. On Debian systems, the complete text of this +license be found in /usr/share/common-licenses/LGPL. + diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-1.0-plus_2.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-1.0-plus_2.yml new file mode 100644 index 00000000000..eea65b7b27c --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-1.0-plus_2.yml @@ -0,0 +1,5 @@ +license_expression: lgpl-2.0-plus AND gpl-1.0-plus +is_license_notice: yes +referenced_filenames: + - /usr/share/common-licenses/LGPL + - /usr/share/common-licenses/GPL diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-1.0-plus_3.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-1.0-plus_3.RULE new file mode 100644 index 00000000000..fc99b2a8d38 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-1.0-plus_3.RULE @@ -0,0 +1,7 @@ + The library is distributed under the terms of the GNU Lesser + General Public License (LGPL); see the file COPYING.LIB for the + actual terms. The helper programs + as well as the documentation are distributed under the terms of + the GNU General Public License (GPL); see the file COPYING for the + actual terms. + diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-1.0-plus_3.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-1.0-plus_3.yml new file mode 100644 index 00000000000..46186e625fe --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-1.0-plus_3.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0-plus AND gpl-1.0-plus +is_license_notice: yes +minimum_coverage: 90 diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-1.0-plus_4.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-1.0-plus_4.RULE new file mode 100644 index 00000000000..724a00b4cd0 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-1.0-plus_4.RULE @@ -0,0 +1,21 @@ + The library is distributed under the terms of the GNU Lesser + General Public License (LGPL); see the file COPYING.LIB for the + actual terms. The helper programs + as well as the documentation are distributed under the terms of + the GNU General Public License (GPL); see the file COPYING for the + actual terms. + + This library used to be available under the GPL - this was changed + with version 1.1.7 with the rationale that there are now many free + crypto libraries available and many of them come with capabilities + similar to Libcrypt. We decided that to foster the use of + cryptography in Free Software an LGPLed library would make more + sense because it avoids problems due to license incompatibilities + between some Free Software licenses and the GPL. + + Please note that in many cases it is better for a library to be + licensed under the GPL, so that it provides an advantage for free + software projects. The Lesser GPL is so named because it does + less to protect the freedom of the users of the code that it + covers. See http://www.gnu.org/philosophy/why-not-lgpl.html for + more explanation. diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-1.0-plus_4.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-1.0-plus_4.yml new file mode 100644 index 00000000000..5f9b4765acf --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-1.0-plus_4.yml @@ -0,0 +1,5 @@ +license_expression: lgpl-2.0-plus AND gpl-1.0-plus +is_license_notice: yes +minimum_coverage: 90 +ignorable_urls: + - http://www.gnu.org/philosophy/why-not-lgpl.html diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_3.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_3.RULE new file mode 100644 index 00000000000..360817a32dd --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_3.RULE @@ -0,0 +1 @@ +licensed under LGPLv2+, GPLv2+ \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_3.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_3.yml new file mode 100644 index 00000000000..6c7fa7085ca --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_3.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0-plus AND gpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_4.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_4.RULE new file mode 100644 index 00000000000..ce548548bb7 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_4.RULE @@ -0,0 +1 @@ +License: GPLv2+ and LGPLv2+ \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_4.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_4.yml new file mode 100644 index 00000000000..5dfdc6e7360 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_4.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0-plus AND gpl-2.0-plus +is_license_tag: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_5.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_5.RULE new file mode 100644 index 00000000000..2035cd08144 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_5.RULE @@ -0,0 +1 @@ +libraries will be licensed under LGPLv2+ and applications will be licensed under GPLv2+ \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_5.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_5.yml new file mode 100644 index 00000000000..6c7fa7085ca --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_5.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0-plus AND gpl-2.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_6.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_6.RULE new file mode 100644 index 00000000000..4e1f5921e40 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_6.RULE @@ -0,0 +1,2 @@ +All other programs, libraries, and plugins are distributed under the LGPL or +GPL (see COPYING.LGPL and COPYING.GPL). \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_6.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_6.yml new file mode 100644 index 00000000000..660d3690327 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_and_gpl-2.0-plus_6.yml @@ -0,0 +1,7 @@ +license_expression: lgpl-2.0-plus AND gpl-2.0-plus +is_license_notice: yes +relevance: 100 +referenced_filenames: + - COPYING.LGPL + - COPYING.GPL +notes: the AND measn OR here in this context diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_and_lgpl-3.0_and_gpl-1.0-plus_and_gpl-3.0_and_gfdl-1.3_1.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_and_lgpl-3.0_and_gpl-1.0-plus_and_gpl-3.0_and_gfdl-1.3_1.RULE new file mode 100644 index 00000000000..63fd6eb104b --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_and_lgpl-3.0_and_gpl-1.0-plus_and_gpl-3.0_and_gfdl-1.3_1.RULE @@ -0,0 +1,7 @@ +On Debian GNU/Linux systems, the complete text of the latest version of +the GNU Lesser General Public License can be found in +`/usr/share/common-licenses/LGPL' v3 of the license in +`/usr/share/common-licenses/LGPL-3'; the GNU General Public License can +be found in `/usr/share/common-licenses/GPL' (version 3 in +/usr/share/common-licenses/GPL-3) The GNU Free Documentation +License is available under /usr/share/common-licenses/GFDL-1.3. diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_and_lgpl-3.0_and_gpl-1.0-plus_and_gpl-3.0_and_gfdl-1.3_1.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_and_lgpl-3.0_and_gpl-1.0-plus_and_gpl-3.0_and_gfdl-1.3_1.yml new file mode 100644 index 00000000000..75a99b904b2 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_and_lgpl-3.0_and_gpl-1.0-plus_and_gpl-3.0_and_gfdl-1.3_1.yml @@ -0,0 +1,8 @@ +license_expression: lgpl-2.0-plus AND lgpl-3.0 AND gpl-1.0-plus AND gpl-3.0 AND gfdl-1.3 +is_license_reference: yes +referenced_filenames: + - /usr/share/common-licenses/LGPL + - /usr/share/common-licenses/LGPL-3 + - /usr/share/common-licenses/GPL + - /usr/share/common-licenses/GPL-3 + - /usr/share/common-licenses/GFDL-1.3 diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_or_mit_1.RULE b/src/licensedcode/data/rules/lgpl-2.0-plus_or_mit_1.RULE new file mode 100644 index 00000000000..17960102f58 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_or_mit_1.RULE @@ -0,0 +1 @@ +licensed under LGPLv2+ or MIT \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0-plus_or_mit_1.yml b/src/licensedcode/data/rules/lgpl-2.0-plus_or_mit_1.yml new file mode 100644 index 00000000000..165a5eda803 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0-plus_or_mit_1.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0-plus OR mit +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0_155.RULE b/src/licensedcode/data/rules/lgpl-2.0_155.RULE new file mode 100644 index 00000000000..ac60bb404f6 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_155.RULE @@ -0,0 +1 @@ +The complete text of the GNU Lesser General Public License can be found in /usr/share/common-licenses/LGPL-2. diff --git a/src/licensedcode/data/rules/lgpl-2.0_155.yml b/src/licensedcode/data/rules/lgpl-2.0_155.yml new file mode 100644 index 00000000000..09d0f422a9b --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_155.yml @@ -0,0 +1,5 @@ +license_expression: lgpl-2.0 +is_license_reference: yes +minimum_coverage: 90 +referenced_filenames: + - /usr/share/common-licenses/LGPL-2 diff --git a/src/licensedcode/data/rules/lgpl-2.0_156.RULE b/src/licensedcode/data/rules/lgpl-2.0_156.RULE new file mode 100644 index 00000000000..e2fb3e3ee58 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_156.RULE @@ -0,0 +1 @@ +On Debian systems, the complete text of the GNU Library General Public License, version 2, can be found in /usr/share/common-licenses/LGPL-2. diff --git a/src/licensedcode/data/rules/lgpl-2.0_156.yml b/src/licensedcode/data/rules/lgpl-2.0_156.yml new file mode 100644 index 00000000000..09d0f422a9b --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_156.yml @@ -0,0 +1,5 @@ +license_expression: lgpl-2.0 +is_license_reference: yes +minimum_coverage: 90 +referenced_filenames: + - /usr/share/common-licenses/LGPL-2 diff --git a/src/licensedcode/data/rules/lgpl-2.0_157.RULE b/src/licensedcode/data/rules/lgpl-2.0_157.RULE new file mode 100644 index 00000000000..9f19d16d8d7 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_157.RULE @@ -0,0 +1 @@ +can be found in /usr/share/common-licenses/LGPL-2 diff --git a/src/licensedcode/data/rules/lgpl-2.0_157.yml b/src/licensedcode/data/rules/lgpl-2.0_157.yml new file mode 100644 index 00000000000..09d0f422a9b --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_157.yml @@ -0,0 +1,5 @@ +license_expression: lgpl-2.0 +is_license_reference: yes +minimum_coverage: 90 +referenced_filenames: + - /usr/share/common-licenses/LGPL-2 diff --git a/src/licensedcode/data/rules/lgpl-2.0_158.RULE b/src/licensedcode/data/rules/lgpl-2.0_158.RULE new file mode 100644 index 00000000000..a412a224b51 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_158.RULE @@ -0,0 +1 @@ +released under the LGPL v2.0. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0_158.yml b/src/licensedcode/data/rules/lgpl-2.0_158.yml new file mode 100644 index 00000000000..398cd185341 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_158.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0_159.RULE b/src/licensedcode/data/rules/lgpl-2.0_159.RULE new file mode 100644 index 00000000000..b0b874bda37 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_159.RULE @@ -0,0 +1 @@ +under the LGPL v2.0. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0_159.yml b/src/licensedcode/data/rules/lgpl-2.0_159.yml new file mode 100644 index 00000000000..398cd185341 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_159.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0_160.RULE b/src/licensedcode/data/rules/lgpl-2.0_160.RULE new file mode 100644 index 00000000000..5902b906a5f --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_160.RULE @@ -0,0 +1 @@ +the LGPL v2.0. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0_160.yml b/src/licensedcode/data/rules/lgpl-2.0_160.yml new file mode 100644 index 00000000000..341f9da0563 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_160.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0_161.RULE b/src/licensedcode/data/rules/lgpl-2.0_161.RULE new file mode 100644 index 00000000000..2479b2f2a1d --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_161.RULE @@ -0,0 +1 @@ +released under the LGPL v2 \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0_161.yml b/src/licensedcode/data/rules/lgpl-2.0_161.yml new file mode 100644 index 00000000000..398cd185341 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_161.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0_162.RULE b/src/licensedcode/data/rules/lgpl-2.0_162.RULE new file mode 100644 index 00000000000..54fca72c72c --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_162.RULE @@ -0,0 +1 @@ +under the LGPL v2. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0_162.yml b/src/licensedcode/data/rules/lgpl-2.0_162.yml new file mode 100644 index 00000000000..398cd185341 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_162.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0_163.RULE b/src/licensedcode/data/rules/lgpl-2.0_163.RULE new file mode 100644 index 00000000000..658b3b568cd --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_163.RULE @@ -0,0 +1 @@ +the LGPL v2. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.0_163.yml b/src/licensedcode/data/rules/lgpl-2.0_163.yml new file mode 100644 index 00000000000..341f9da0563 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_163.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.0 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.0_and_gpl-3.0_1.RULE b/src/licensedcode/data/rules/lgpl-2.0_and_gpl-3.0_1.RULE new file mode 100644 index 00000000000..e2a1cd3918e --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_and_gpl-3.0_1.RULE @@ -0,0 +1 @@ +Mix of LGPL-2.1 and GPL-3.0. diff --git a/src/licensedcode/data/rules/lgpl-2.0_and_gpl-3.0_1.yml b/src/licensedcode/data/rules/lgpl-2.0_and_gpl-3.0_1.yml new file mode 100644 index 00000000000..ccb8d9af1b0 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.0_and_gpl-3.0_1.yml @@ -0,0 +1,4 @@ +license_expression: lgpl-2.0 AND gpl-3.0 +is_license_notice: yes +minimum_coverage: 90 + diff --git a/src/licensedcode/data/rules/lgpl-2.1-plus_296.RULE b/src/licensedcode/data/rules/lgpl-2.1-plus_296.RULE new file mode 100644 index 00000000000..8aab9e1f997 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1-plus_296.RULE @@ -0,0 +1,14 @@ +This file is part of. + + is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with ; if not, see . diff --git a/src/licensedcode/data/rules/lgpl-2.1-plus_296.yml b/src/licensedcode/data/rules/lgpl-2.1-plus_296.yml new file mode 100644 index 00000000000..968201db642 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1-plus_296.yml @@ -0,0 +1,5 @@ +license_expression: lgpl-2.1-plus +is_license_notice: yes +minimum_coverage: 97 +ignorable_urls: + - http://www.gnu.org/licenses/ diff --git a/src/licensedcode/data/rules/lgpl-2.1-plus_297.RULE b/src/licensedcode/data/rules/lgpl-2.1-plus_297.RULE new file mode 100644 index 00000000000..486befa2d39 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1-plus_297.RULE @@ -0,0 +1,3 @@ +The overall license for is the GNU Lesser General Public +License, version 2.1 (or, at your option, any later version); see +the file COPYING.LIB for the full terms of this license. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1-plus_297.yml b/src/licensedcode/data/rules/lgpl-2.1-plus_297.yml new file mode 100644 index 00000000000..41aa1afa917 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1-plus_297.yml @@ -0,0 +1,4 @@ +license_expression: lgpl-2.1-plus +is_license_notice: yes +referenced_filenames: + - COPYING.LIB diff --git a/src/licensedcode/data/rules/lgpl-2.1-plus_298.RULE b/src/licensedcode/data/rules/lgpl-2.1-plus_298.RULE new file mode 100644 index 00000000000..9beef4f85b1 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1-plus_298.RULE @@ -0,0 +1,18 @@ + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian GNU/Linux systems, the complete text of the Lesser GNU General +Public License can be found in `/usr/share/common-licenses/LGPL'. + diff --git a/src/licensedcode/data/rules/lgpl-2.1-plus_298.yml b/src/licensedcode/data/rules/lgpl-2.1-plus_298.yml new file mode 100644 index 00000000000..08550362d99 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1-plus_298.yml @@ -0,0 +1,4 @@ +license_expression: lgpl-2.1-plus +is_license_notice: yes +referenced_filenames: + - /usr/share/common-licenses/LGPL diff --git a/src/licensedcode/data/rules/lgpl-2.1-plus_299.RULE b/src/licensedcode/data/rules/lgpl-2.1-plus_299.RULE new file mode 100644 index 00000000000..243a03422ad --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1-plus_299.RULE @@ -0,0 +1 @@ + License: LGPLv2.1+ diff --git a/src/licensedcode/data/rules/lgpl-2.1-plus_299.yml b/src/licensedcode/data/rules/lgpl-2.1-plus_299.yml new file mode 100644 index 00000000000..5deb0ae6dc7 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1-plus_299.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.1-plus +is_license_tag: yes + diff --git a/src/licensedcode/data/rules/lgpl-2.1-plus_300.RULE b/src/licensedcode/data/rules/lgpl-2.1-plus_300.RULE new file mode 100644 index 00000000000..9f0ed709af9 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1-plus_300.RULE @@ -0,0 +1,2 @@ +is covered either by the LGPL, or +under the GNU General Public License /usr/share/common-licenses/GPL. diff --git a/src/licensedcode/data/rules/lgpl-2.1-plus_300.yml b/src/licensedcode/data/rules/lgpl-2.1-plus_300.yml new file mode 100644 index 00000000000..6510ca94b4a --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1-plus_300.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.1-plus +is_license_notice: yes +minimum_coverage: 99 diff --git a/src/licensedcode/data/rules/lgpl-2.1-plus_301.RULE b/src/licensedcode/data/rules/lgpl-2.1-plus_301.RULE new file mode 100644 index 00000000000..d1f998ad7e1 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1-plus_301.RULE @@ -0,0 +1,15 @@ +Licensed under the GNU Lesser General Public License Version 2.1 + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1-plus_301.yml b/src/licensedcode/data/rules/lgpl-2.1-plus_301.yml new file mode 100644 index 00000000000..92ab259a425 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1-plus_301.yml @@ -0,0 +1,5 @@ +license_expression: lgpl-2.1-plus +is_license_notice: yes +relevance: 100 +minimum_coverage: 95 +notes: found in libdnf diff --git a/src/licensedcode/data/rules/lgpl-2.1-plus_302.RULE b/src/licensedcode/data/rules/lgpl-2.1-plus_302.RULE new file mode 100644 index 00000000000..9a56631865b --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1-plus_302.RULE @@ -0,0 +1,2 @@ +distributed under the LGPL version 2.1 (or at you're discretion any later version of +this license). \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1-plus_302.yml b/src/licensedcode/data/rules/lgpl-2.1-plus_302.yml new file mode 100644 index 00000000000..f57751a8d70 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1-plus_302.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.1-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.1-plus_and_gpl-2.0-plus_1.RULE b/src/licensedcode/data/rules/lgpl-2.1-plus_and_gpl-2.0-plus_1.RULE new file mode 100644 index 00000000000..7a8d2b0f4fc --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1-plus_and_gpl-2.0-plus_1.RULE @@ -0,0 +1,8 @@ +The first, the library (librarian and headers) is distributed under +the LGPL version 2.1 (or at you're discretion any later version of +this license). Please see the file COPYING.LIB for full details. + +The second part are the utilities (files in util/). These are +distributed under the terms of the GPL, version 2.0 (or at you're +discretion any later version of this license). Please see the file +COPYING.UTILS for full details. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1-plus_and_gpl-2.0-plus_1.yml b/src/licensedcode/data/rules/lgpl-2.1-plus_and_gpl-2.0-plus_1.yml new file mode 100644 index 00000000000..d4d762dca09 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1-plus_and_gpl-2.0-plus_1.yml @@ -0,0 +1,6 @@ +license_expression: lgpl-2.1-plus AND gpl-2.0-plus +is_license_notice: yes +relevance: 100 +referenced_filenames: + - COPYING.LIB + - COPYING.UTILS diff --git a/src/licensedcode/data/rules/lgpl-2.1-plus_and_gpl-3.0-plus_and_lgpl-3.0-plus_and_gpl-2.0-plus_1.RULE b/src/licensedcode/data/rules/lgpl-2.1-plus_and_gpl-3.0-plus_and_lgpl-3.0-plus_and_gpl-2.0-plus_1.RULE new file mode 100644 index 00000000000..f3840de66c1 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1-plus_and_gpl-3.0-plus_and_lgpl-3.0-plus_and_gpl-2.0-plus_1.RULE @@ -0,0 +1,11 @@ +License: The main library is licensed under GNU Lesser +General Public License (LGPL) version 2.1+, are licenced under the GNU General Public License version 3+. The + bindings use the same license as the respective underlying library, +i.e. LGPLv2.1+ for the main library and GPLv3+ for + +However to be able to use and link against a program needs to be +available under a license compatible with LGPLv3+ or GPLv2+ since GnuTLS +requires which requires is dual licensed +LGPLv3+ or GPLv2+. Starting with is needed, too. It also +is dual licensed LGPLv3+ or GPLv2+ ( earlier +version were LGPLv3+ only.) diff --git a/src/licensedcode/data/rules/lgpl-2.1-plus_and_gpl-3.0-plus_and_lgpl-3.0-plus_and_gpl-2.0-plus_1.yml b/src/licensedcode/data/rules/lgpl-2.1-plus_and_gpl-3.0-plus_and_lgpl-3.0-plus_and_gpl-2.0-plus_1.yml new file mode 100644 index 00000000000..afd9cb7c060 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1-plus_and_gpl-3.0-plus_and_lgpl-3.0-plus_and_gpl-2.0-plus_1.yml @@ -0,0 +1,2 @@ +license_expression: lgpl-2.1-plus AND gpl-3.0-plus AND (lgpl-3.0-plus AND gpl-2.0-plus) +is_license_notice: yes diff --git a/src/licensedcode/data/rules/lgpl-2.1-plus_and_gpl-3.0-plus_and_lgpl-3.0-plus_and_gpl-2.0-plus_2.RULE b/src/licensedcode/data/rules/lgpl-2.1-plus_and_gpl-3.0-plus_and_lgpl-3.0-plus_and_gpl-2.0-plus_2.RULE new file mode 100644 index 00000000000..b84349db7dc --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1-plus_and_gpl-3.0-plus_and_lgpl-3.0-plus_and_gpl-2.0-plus_2.RULE @@ -0,0 +1,13 @@ +License: The main library is licensed under GNU Lesser +General Public License (LGPL) version 2.1+, Gnutls Extra (which is currently +just the openssl wrapper library), build system, testsuite and commandline +utilities are licenced under the GNU General Public License version 3+. The +Guile bindings use the same license as the respective underlying library, +i.e. LGPLv2.1+ for the main library and GPLv3+ for Gnutls extra. + +However to be able to use and link against libgnutls a program needs to be +available under a license compatible with LGPLv3+ or GPLv2+ since GnuTLS +requires nettle which requires GMP. GMP (>= 6.0.0) is dual licensed +LGPLv3+ or GPLv2+. Starting with 3.5.7 libunistring is needed, too. It also +is dual licensed LGPLv3+ or GPLv2+ (libunistring 0.9.7 and above, earlier +version were LGPLv3+ only.) diff --git a/src/licensedcode/data/rules/lgpl-2.1-plus_and_gpl-3.0-plus_and_lgpl-3.0-plus_and_gpl-2.0-plus_2.yml b/src/licensedcode/data/rules/lgpl-2.1-plus_and_gpl-3.0-plus_and_lgpl-3.0-plus_and_gpl-2.0-plus_2.yml new file mode 100644 index 00000000000..1f98c625abc --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1-plus_and_gpl-3.0-plus_and_lgpl-3.0-plus_and_gpl-2.0-plus_2.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.1-plus AND gpl-3.0-plus AND (lgpl-3.0-plus AND gpl-2.0-plus) +is_license_notice: yes + diff --git a/src/licensedcode/data/rules/lgpl-2.1_292.RULE b/src/licensedcode/data/rules/lgpl-2.1_292.RULE new file mode 100644 index 00000000000..143946d7cc5 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_292.RULE @@ -0,0 +1 @@ +can be found in /usr/share/common-licenses/LGPL-2.1 diff --git a/src/licensedcode/data/rules/lgpl-2.1_292.yml b/src/licensedcode/data/rules/lgpl-2.1_292.yml new file mode 100644 index 00000000000..392d6a76937 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_292.yml @@ -0,0 +1,5 @@ +license_expression: lgpl-2.1 +is_license_reference: yes +minimum_coverage: 90 +referenced_filenames: + - /usr/share/common-licenses/LGPL-2.1 diff --git a/src/licensedcode/data/rules/lgpl-2.1_293.RULE b/src/licensedcode/data/rules/lgpl-2.1_293.RULE new file mode 100644 index 00000000000..8e43c9d7479 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_293.RULE @@ -0,0 +1,2 @@ + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in '/usr/share/common-licenses/LGPL-2.1'. diff --git a/src/licensedcode/data/rules/lgpl-2.1_293.yml b/src/licensedcode/data/rules/lgpl-2.1_293.yml new file mode 100644 index 00000000000..392d6a76937 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_293.yml @@ -0,0 +1,5 @@ +license_expression: lgpl-2.1 +is_license_reference: yes +minimum_coverage: 90 +referenced_filenames: + - /usr/share/common-licenses/LGPL-2.1 diff --git a/src/licensedcode/data/rules/lgpl-2.1_294.RULE b/src/licensedcode/data/rules/lgpl-2.1_294.RULE new file mode 100644 index 00000000000..7fc459d0b5a --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_294.RULE @@ -0,0 +1 @@ +On Debian systems, the full text of the GNU Lesser General Public License version 2.1 can be found in the file `/usr/share/common-licenses/LGPL-2.1'. diff --git a/src/licensedcode/data/rules/lgpl-2.1_294.yml b/src/licensedcode/data/rules/lgpl-2.1_294.yml new file mode 100644 index 00000000000..392d6a76937 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_294.yml @@ -0,0 +1,5 @@ +license_expression: lgpl-2.1 +is_license_reference: yes +minimum_coverage: 90 +referenced_filenames: + - /usr/share/common-licenses/LGPL-2.1 diff --git a/src/licensedcode/data/rules/lgpl-2.1_295.RULE b/src/licensedcode/data/rules/lgpl-2.1_295.RULE new file mode 100644 index 00000000000..6c7550f8185 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_295.RULE @@ -0,0 +1 @@ +governed by the GNU Lesser General Public License version 2.1. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1_295.yml b/src/licensedcode/data/rules/lgpl-2.1_295.yml new file mode 100644 index 00000000000..c88bfbd6701 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_295.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.1 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.1_296.RULE b/src/licensedcode/data/rules/lgpl-2.1_296.RULE new file mode 100644 index 00000000000..235962fbeec --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_296.RULE @@ -0,0 +1,135 @@ +GNU LESSER GENERAL PUBLIC LICENSE +Version 2.1, February 1999 + +Copyright (C) 1991, 1999 Free Software Foundation, Inc. +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Everyone is permitted to copy and distribute verbatim copies +of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] + +Preamble + +The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. + +This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below. + +When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things. + +To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it. + +For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights. + +We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library. + +To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. + +Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license. + +Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs. + +When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library. + +We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances. + +For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License. + +In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system. + +Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library. + +The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you". + +A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. + +The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".) + +"Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library. + +Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. + +1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library. +You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: +a) The modified work must itself be a software library. +b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. +c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. +d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. +(For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. + +3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. + +Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. + +This option is useful when you wish to copy part of the code of the Library into a program that is not a library. + +4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. + +If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code. + +5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. + +However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. + +When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. + +If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) + +Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. + +6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. + +You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things: +a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) +b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with. +c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. +d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. +e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. + +For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. + +It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. + +7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things: +a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. +b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. + +8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. + +9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. + +10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. + +11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. + +This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. + +12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. + +13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. + +14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. + +NO WARRANTY + +15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1_296.yml b/src/licensedcode/data/rules/lgpl-2.1_296.yml new file mode 100644 index 00000000000..295ea58f16a --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_296.yml @@ -0,0 +1,10 @@ +license_expression: lgpl-2.1 +is_license_text: yes +relevance: 100 +notes: See in vmware tools. Truncated texts +ignorable_copyrights: + - Copyright (c) 1991, 1999 Free Software Foundation, Inc. + - copyrighted by the Free Software Foundation +ignorable_holders: + - Free Software Foundation, Inc. + - the Free Software Foundation diff --git a/src/licensedcode/data/rules/lgpl-2.1_297.RULE b/src/licensedcode/data/rules/lgpl-2.1_297.RULE new file mode 100644 index 00000000000..075d6065eed --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_297.RULE @@ -0,0 +1,12 @@ +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation version 2.1 and no later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +# or FITNESS FOR A PARTICULAR PURPOSE. See the Lesser GNU General Public +# License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1_297.yml b/src/licensedcode/data/rules/lgpl-2.1_297.yml new file mode 100644 index 00000000000..c88bfbd6701 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_297.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.1 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.1_298.RULE b/src/licensedcode/data/rules/lgpl-2.1_298.RULE new file mode 100644 index 00000000000..624920f0ac7 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_298.RULE @@ -0,0 +1 @@ +components are released under the LGPL v2.1 \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1_298.yml b/src/licensedcode/data/rules/lgpl-2.1_298.yml new file mode 100644 index 00000000000..c88bfbd6701 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_298.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.1 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.1_299.RULE b/src/licensedcode/data/rules/lgpl-2.1_299.RULE new file mode 100644 index 00000000000..2abed8e6dea --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_299.RULE @@ -0,0 +1 @@ +released under the LGPL v2.1. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1_299.yml b/src/licensedcode/data/rules/lgpl-2.1_299.yml new file mode 100644 index 00000000000..c88bfbd6701 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_299.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.1 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.1_300.RULE b/src/licensedcode/data/rules/lgpl-2.1_300.RULE new file mode 100644 index 00000000000..3a406ebc8d6 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_300.RULE @@ -0,0 +1 @@ +under the LGPL v2.1. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1_300.yml b/src/licensedcode/data/rules/lgpl-2.1_300.yml new file mode 100644 index 00000000000..c88bfbd6701 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_300.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.1 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.1_301.RULE b/src/licensedcode/data/rules/lgpl-2.1_301.RULE new file mode 100644 index 00000000000..b987ed92e3e --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_301.RULE @@ -0,0 +1 @@ +the LGPL v2.1. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-2.1_301.yml b/src/licensedcode/data/rules/lgpl-2.1_301.yml new file mode 100644 index 00000000000..9ea4e2c0146 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_301.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.1 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-2.1_and_lgpl-3.0_1.RULE b/src/licensedcode/data/rules/lgpl-2.1_and_lgpl-3.0_1.RULE new file mode 100644 index 00000000000..779ac371cbc --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_and_lgpl-3.0_1.RULE @@ -0,0 +1 @@ +Mix of LGPL-2.1 and LGPL-3. diff --git a/src/licensedcode/data/rules/lgpl-2.1_and_lgpl-3.0_1.yml b/src/licensedcode/data/rules/lgpl-2.1_and_lgpl-3.0_1.yml new file mode 100644 index 00000000000..9d654ac9c16 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_and_lgpl-3.0_1.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.1 AND lgpl-3.0 +is_license_notice: yes +minimum_coverage: 95 diff --git a/src/licensedcode/data/rules/lgpl-2.1_and_lgpl-3.0_and_gpl-3.0_1.RULE b/src/licensedcode/data/rules/lgpl-2.1_and_lgpl-3.0_and_gpl-3.0_1.RULE new file mode 100644 index 00000000000..7d05b752760 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_and_lgpl-3.0_and_gpl-3.0_1.RULE @@ -0,0 +1 @@ +Mix of LGPL-2.1, LGPL-3 and GPL-3. diff --git a/src/licensedcode/data/rules/lgpl-2.1_and_lgpl-3.0_and_gpl-3.0_1.yml b/src/licensedcode/data/rules/lgpl-2.1_and_lgpl-3.0_and_gpl-3.0_1.yml new file mode 100644 index 00000000000..551ee89298b --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-2.1_and_lgpl-3.0_and_gpl-3.0_1.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-2.1 AND lgpl-3.0 AND gpl-3.0 +is_license_notice: yes +minimum_coverage: 95 diff --git a/src/licensedcode/data/rules/lgpl-3.0-plus_185.RULE b/src/licensedcode/data/rules/lgpl-3.0-plus_185.RULE new file mode 100644 index 00000000000..d0ace032477 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-3.0-plus_185.RULE @@ -0,0 +1 @@ +/* Licensed under LGPLv3+ - see LICENSE file for details */ \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-3.0-plus_185.yml b/src/licensedcode/data/rules/lgpl-3.0-plus_185.yml new file mode 100644 index 00000000000..1293d3eafc7 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-3.0-plus_185.yml @@ -0,0 +1,5 @@ +license_expression: Lgpl-3.0-plus +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE diff --git a/src/licensedcode/data/rules/lgpl-3.0-plus_and_gpl-3.0-plus_1.RULE b/src/licensedcode/data/rules/lgpl-3.0-plus_and_gpl-3.0-plus_1.RULE new file mode 100644 index 00000000000..1e1d5d2502d --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-3.0-plus_and_gpl-3.0-plus_1.RULE @@ -0,0 +1 @@ +License: GPLv3+ and LGPLv3+ \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-3.0-plus_and_gpl-3.0-plus_1.yml b/src/licensedcode/data/rules/lgpl-3.0-plus_and_gpl-3.0-plus_1.yml new file mode 100644 index 00000000000..35ace5033f2 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-3.0-plus_and_gpl-3.0-plus_1.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-3.0-plus AND gpl-3.0-plus +is_license_tag: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-3.0_236.RULE b/src/licensedcode/data/rules/lgpl-3.0_236.RULE new file mode 100644 index 00000000000..d3a8a8e5f22 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-3.0_236.RULE @@ -0,0 +1,2 @@ + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3" diff --git a/src/licensedcode/data/rules/lgpl-3.0_236.yml b/src/licensedcode/data/rules/lgpl-3.0_236.yml new file mode 100644 index 00000000000..82e01a0d4da --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-3.0_236.yml @@ -0,0 +1,5 @@ +license_expression: lgpl-3.0 +is_license_reference: yes +minimum_coverage: 90 +referenced_filenames: + - /usr/share/common-licenses/LGPL-3 diff --git a/src/licensedcode/data/rules/lgpl-3.0_237.RULE b/src/licensedcode/data/rules/lgpl-3.0_237.RULE new file mode 100644 index 00000000000..fdc2edd3a49 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-3.0_237.RULE @@ -0,0 +1 @@ +can be found in /usr/share/common-licenses/LGPL-3 diff --git a/src/licensedcode/data/rules/lgpl-3.0_237.yml b/src/licensedcode/data/rules/lgpl-3.0_237.yml new file mode 100644 index 00000000000..da9c2c3aa26 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-3.0_237.yml @@ -0,0 +1,5 @@ +license_expression: lgpl-3.0 +is_license_reference: yes +minimum_coverage: 90 +referenced_filenames: + - /usr/share/common-licenses/LGPL-3 \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-3.0_238.RULE b/src/licensedcode/data/rules/lgpl-3.0_238.RULE new file mode 100644 index 00000000000..9c814cf8c43 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-3.0_238.RULE @@ -0,0 +1 @@ +governed by the GNU Lesser General Public License version 3. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-3.0_238.yml b/src/licensedcode/data/rules/lgpl-3.0_238.yml new file mode 100644 index 00000000000..c01463209bf --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-3.0_238.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-3.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-3.0_239.RULE b/src/licensedcode/data/rules/lgpl-3.0_239.RULE new file mode 100644 index 00000000000..e16b060ad60 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-3.0_239.RULE @@ -0,0 +1,12 @@ +* This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation version 3.0 and no later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the Lesser GNU General Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-3.0_239.yml b/src/licensedcode/data/rules/lgpl-3.0_239.yml new file mode 100644 index 00000000000..c01463209bf --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-3.0_239.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-3.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lgpl-3.0_AND_gpl-3.0_3.RULE b/src/licensedcode/data/rules/lgpl-3.0_AND_gpl-3.0_3.RULE new file mode 100644 index 00000000000..96eee543252 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-3.0_AND_gpl-3.0_3.RULE @@ -0,0 +1 @@ +mix of GPL-3.0 and LGPL-3.0 diff --git a/src/licensedcode/data/rules/lgpl-3.0_AND_gpl-3.0_3.yml b/src/licensedcode/data/rules/lgpl-3.0_AND_gpl-3.0_3.yml new file mode 100644 index 00000000000..1a50a4765b9 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-3.0_AND_gpl-3.0_3.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-3.0 AND gpl-3.0 +is_license_notice: yes +minimum_coverage: 70 diff --git a/src/licensedcode/data/rules/lgpl-3.0_AND_gpl-3.0_4.RULE b/src/licensedcode/data/rules/lgpl-3.0_AND_gpl-3.0_4.RULE new file mode 100644 index 00000000000..734da3036ac --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-3.0_AND_gpl-3.0_4.RULE @@ -0,0 +1 @@ +License: LGPLv3+_or_GPLv2+ diff --git a/src/licensedcode/data/rules/lgpl-3.0_AND_gpl-3.0_4.yml b/src/licensedcode/data/rules/lgpl-3.0_AND_gpl-3.0_4.yml new file mode 100644 index 00000000000..b3093f75188 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-3.0_AND_gpl-3.0_4.yml @@ -0,0 +1,2 @@ +license_expression: lgpl-3.0-plus AND gpl-2.0-plus +is_license_tag: yes diff --git a/src/licensedcode/data/rules/lgpl-3.0_or_apache-2.0_5.RULE b/src/licensedcode/data/rules/lgpl-3.0_or_apache-2.0_5.RULE new file mode 100644 index 00000000000..fa1fa943025 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-3.0_or_apache-2.0_5.RULE @@ -0,0 +1 @@ +license: LGPL-3 | Apache License 2.0 \ No newline at end of file diff --git a/src/licensedcode/data/rules/lgpl-3.0_or_apache-2.0_5.yml b/src/licensedcode/data/rules/lgpl-3.0_or_apache-2.0_5.yml new file mode 100644 index 00000000000..04a346d1025 --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-3.0_or_apache-2.0_5.yml @@ -0,0 +1,3 @@ +license_expression: lgpl-3.0 OR apache-2.0 +is_license_tag: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/libpng_30.RULE b/src/licensedcode/data/rules/libpng_30.RULE new file mode 100644 index 00000000000..07f647968d2 --- /dev/null +++ b/src/licensedcode/data/rules/libpng_30.RULE @@ -0,0 +1,24 @@ +The software is supplied "as is", without warranty of any kind, +express or implied, including, without limitation, the warranties +of merchantability, fitness for a particular purpose, title, and +non-infringement. In no event shall the Copyright owners, or +anyone distributing the software, be liable for any damages or +other liability, whether in contract, tort or otherwise, arising +from, out of, or in connection with the software, or the use or +other dealings in the software, even if advised of the possibility +of such damage. + +Permission is hereby granted to use, copy, modify, and distribute +this software, or portions hereof, for any purpose, without fee, +subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you + must not claim that you wrote the original software. If you + use this software in a product, an acknowledgment in the product + documentation would be appreciated, but is not required. + + 2. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + + 3. This Copyright notice may not be removed or altered from any + source or altered source distribution. \ No newline at end of file diff --git a/src/licensedcode/data/rules/libpng_30.yml b/src/licensedcode/data/rules/libpng_30.yml new file mode 100644 index 00000000000..62d012df47c --- /dev/null +++ b/src/licensedcode/data/rules/libpng_30.yml @@ -0,0 +1,3 @@ +license_expression: libpng +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/libpng_31.RULE b/src/licensedcode/data/rules/libpng_31.RULE new file mode 100644 index 00000000000..b63632ef38e --- /dev/null +++ b/src/licensedcode/data/rules/libpng_31.RULE @@ -0,0 +1,93 @@ +libpng versions 1.0.7, July 1, 2000, through 1.6.35, July 15, 2018 are +Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson, are +derived from libpng-1.0.6, and are distributed according to the same +disclaimer and license as libpng-1.0.6 with the following individuals +added to the list of Contributing Authors: + + Simon-Pierre Cadieux + Eric S. Raymond + Mans Rullgard + Cosmin Truta + Gilles Vollant + James Yu + Mandar Sahastrabuddhe + Google Inc. + Vadim Barkov + +and with the following additions to the disclaimer: + + There is no warranty against interference with your enjoyment of + the library or against infringement. There is no warranty that our + efforts or the library will fulfill any of your particular purposes + or needs. This library is provided with all faults, and the entire + risk of satisfactory quality, performance, accuracy, and effort is + with the user. + +Some files in the "contrib" directory and some configure-generated +files that are distributed with libpng have other copyright owners, and +are released under other open source licenses. + +libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are +Copyright (c) 1998-2000 Glenn Randers-Pehrson, are derived from +libpng-0.96, and are distributed according to the same disclaimer and +license as libpng-0.96, with the following individuals added to the +list of Contributing Authors: + + Tom Lane + Glenn Randers-Pehrson + Willem van Schaik + +libpng versions 0.89, June 1996, through 0.96, May 1997, are +Copyright (c) 1996-1997 Andreas Dilger, are derived from libpng-0.88, +and are distributed according to the same disclaimer and license as +libpng-0.88, with the following individuals added to the list of +Contributing Authors: + + John Bowler + Kevin Bracey + Sam Bushell + Magnus Holmgren + Greg Roelofs + Tom Tanner + +Some files in the "scripts" directory have other copyright owners, +but are released under this license. + +libpng versions 0.5, May 1995, through 0.88, January 1996, are +Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc. + +For the purposes of this copyright and license, "Contributing Authors" +is defined as the following set of individuals: + + Andreas Dilger + Dave Martindale + Guy Eric Schalnat + Paul Schmidt + Tim Wegner + +The PNG Reference Library is supplied "AS IS". The Contributing +Authors and Group 42, Inc. disclaim all warranties, expressed or +implied, including, without limitation, the warranties of +merchantability and of fitness for any purpose. The Contributing +Authors and Group 42, Inc. assume no liability for direct, indirect, +incidental, special, exemplary, or consequential damages, which may +result from the use of the PNG Reference Library, even if advised of +the possibility of such damage. + +Permission is hereby granted to use, copy, modify, and distribute this +source code, or portions hereof, for any purpose, without fee, subject +to the following restrictions: + + 1. The origin of this source code must not be misrepresented. + + 2. Altered versions must be plainly marked as such and must not + be misrepresented as being the original source. + + 3. This Copyright notice may not be removed or altered from any + source or altered source distribution. + +The Contributing Authors and Group 42, Inc. specifically permit, +without fee, and encourage the use of this source code as a component +to supporting the PNG file format in commercial products. If you use +this source code in a product, acknowledgment is not required but would +be appreciated. \ No newline at end of file diff --git a/src/licensedcode/data/rules/libpng_31.yml b/src/licensedcode/data/rules/libpng_31.yml new file mode 100644 index 00000000000..c7794b6a430 --- /dev/null +++ b/src/licensedcode/data/rules/libpng_31.yml @@ -0,0 +1,12 @@ +license_expression: libpng +is_license_text: yes +relevance: 100 +ignorable_copyrights: + - Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc. + - Copyright (c) 1996-1997 Andreas Dilger + - Copyright (c) 1998-2000 Glenn Randers-Pehrson + - Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson +ignorable_holders: + - Andreas Dilger + - Glenn Randers-Pehrson + - Guy Eric Schalnat, Group 42, Inc. diff --git a/src/licensedcode/data/rules/license-intro_37.RULE b/src/licensedcode/data/rules/license-intro_37.RULE new file mode 100644 index 00000000000..1e9471eeff3 --- /dev/null +++ b/src/licensedcode/data/rules/license-intro_37.RULE @@ -0,0 +1,2 @@ +The majority of the source code and the collective work is subject +to the following license: \ No newline at end of file diff --git a/src/licensedcode/data/rules/license-intro_37.yml b/src/licensedcode/data/rules/license-intro_37.yml new file mode 100644 index 00000000000..4254c8e2c41 --- /dev/null +++ b/src/licensedcode/data/rules/license-intro_37.yml @@ -0,0 +1,3 @@ +license_expression: unknown-license-reference +is_license_intro: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/license-intro_38.RULE b/src/licensedcode/data/rules/license-intro_38.RULE new file mode 100644 index 00000000000..84f84d6274d --- /dev/null +++ b/src/licensedcode/data/rules/license-intro_38.RULE @@ -0,0 +1 @@ +distributed under the following license terms: \ No newline at end of file diff --git a/src/licensedcode/data/rules/license-intro_38.yml b/src/licensedcode/data/rules/license-intro_38.yml new file mode 100644 index 00000000000..4254c8e2c41 --- /dev/null +++ b/src/licensedcode/data/rules/license-intro_38.yml @@ -0,0 +1,3 @@ +license_expression: unknown-license-reference +is_license_intro: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/license-intro_39.RULE b/src/licensedcode/data/rules/license-intro_39.RULE new file mode 100644 index 00000000000..9528055a26b --- /dev/null +++ b/src/licensedcode/data/rules/license-intro_39.RULE @@ -0,0 +1 @@ +released under the following license: \ No newline at end of file diff --git a/src/licensedcode/data/rules/license-intro_39.yml b/src/licensedcode/data/rules/license-intro_39.yml new file mode 100644 index 00000000000..4254c8e2c41 --- /dev/null +++ b/src/licensedcode/data/rules/license-intro_39.yml @@ -0,0 +1,3 @@ +license_expression: unknown-license-reference +is_license_intro: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/lppl-1.3c_17.RULE b/src/licensedcode/data/rules/lppl-1.3c_17.RULE new file mode 100644 index 00000000000..99683867f57 --- /dev/null +++ b/src/licensedcode/data/rules/lppl-1.3c_17.RULE @@ -0,0 +1,6 @@ +Permission is granted to copy, +distribute and/or modify this software under the terms of the LaTeX +Project Public License (LPPL), version 1.3. This software is provided +'as is', without warranty of any kind, either expressed or implied, +including, but not limited to, the implied warranties of +merchantability and fitness for a particular purpose. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lppl-1.3c_17.yml b/src/licensedcode/data/rules/lppl-1.3c_17.yml new file mode 100644 index 00000000000..9e9062d687d --- /dev/null +++ b/src/licensedcode/data/rules/lppl-1.3c_17.yml @@ -0,0 +1,3 @@ +license_expression: lppl-1.3c +is_license_notice: yes +relevance: 99 diff --git a/src/licensedcode/data/rules/lppl-1.3c_18.RULE b/src/licensedcode/data/rules/lppl-1.3c_18.RULE new file mode 100644 index 00000000000..56118d47e1c --- /dev/null +++ b/src/licensedcode/data/rules/lppl-1.3c_18.RULE @@ -0,0 +1,9 @@ +Licence + +This work may be distributed and/or modified under the conditions of the LaTeX +Project Public License, either version 1.3 of this license or (at your option) any later version. + +The latest version of the license is in https://www.latex-project.org/lppl.txt +and version 1.3 or later is part of all distributions of LaTeX version 2003/06/01 or later. + +This work has the LPPL maintenance status "maintained". \ No newline at end of file diff --git a/src/licensedcode/data/rules/lppl-1.3c_18.yml b/src/licensedcode/data/rules/lppl-1.3c_18.yml new file mode 100644 index 00000000000..e1f6de690c3 --- /dev/null +++ b/src/licensedcode/data/rules/lppl-1.3c_18.yml @@ -0,0 +1,6 @@ +license_expression: lppl-1.3c +is_license_notice: yes +relevance: 99 +notes: See in https://github.com/plk/biblatex +ignorable_urls: + - https://www.latex-project.org/lppl.txt diff --git a/src/licensedcode/data/rules/lppl-1.3c_19.RULE b/src/licensedcode/data/rules/lppl-1.3c_19.RULE new file mode 100644 index 00000000000..01c16e7ee7e --- /dev/null +++ b/src/licensedcode/data/rules/lppl-1.3c_19.RULE @@ -0,0 +1,2 @@ +This work may be distributed and/or modified under the conditions of the LaTeX +Project Public License, either version 1.3 of this license or (at your option) any later version. \ No newline at end of file diff --git a/src/licensedcode/data/rules/lppl-1.3c_19.yml b/src/licensedcode/data/rules/lppl-1.3c_19.yml new file mode 100644 index 00000000000..4984810da08 --- /dev/null +++ b/src/licensedcode/data/rules/lppl-1.3c_19.yml @@ -0,0 +1,4 @@ +license_expression: lppl-1.3c +is_license_notice: yes +relevance: 99 +notes: See in https://github.com/plk/biblatex diff --git a/src/licensedcode/data/rules/mit-old-style-no-advert_14.RULE b/src/licensedcode/data/rules/mit-old-style-no-advert_14.RULE new file mode 100644 index 00000000000..03163797772 --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style-no-advert_14.RULE @@ -0,0 +1,9 @@ +Permission to use, copy, modify and distribute this documentation for +any purpose and without fee is hereby granted, provided that the above +copyright notice appears in all copies and that both that copyright notice +and this permission notice appear in all copies, and that the names of +Digital and Tektronix not be used in in advertising or publicity pertaining +to this documentation without specific, written prior permission. +Digital and Tektronix makes no representations about the suitability +of this documentation for any purpose. +It is provided ``as is'' without express or implied warranty. \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit-old-style-no-advert_14.yml b/src/licensedcode/data/rules/mit-old-style-no-advert_14.yml new file mode 100644 index 00000000000..7c0ea2be70d --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style-no-advert_14.yml @@ -0,0 +1,4 @@ +license_expression: mit-old-style-no-advert +is_license_text: yes +relevance: 99 +notes: in x11 legacy diff --git a/src/licensedcode/data/rules/mit-old-style-no-advert_15.RULE b/src/licensedcode/data/rules/mit-old-style-no-advert_15.RULE new file mode 100644 index 00000000000..fed27464bff --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style-no-advert_15.RULE @@ -0,0 +1,8 @@ +Permission to use, copy, modify, and distribute this software and its documentation +for any purpose and without fee is hereby granted, provided that the above copyright +notice appear in all copies and that both that copyright notice and this permission +notice appear in supporting documentation, and that the name of the author not be +used in advertising or publicity pertaining to distribution of the software without +specific, written prior permission. The author makes no representations about the +suitability of this software for any purpose. It is provided "as is" without +express or implied warranty. \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit-old-style-no-advert_15.yml b/src/licensedcode/data/rules/mit-old-style-no-advert_15.yml new file mode 100644 index 00000000000..9d7aa85fc61 --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style-no-advert_15.yml @@ -0,0 +1,4 @@ +license_expression: mit-old-style-no-advert +is_license_text: yes +relevance: 100 +notes: Seen in pgpool-ii diff --git a/src/licensedcode/data/rules/mit-old-style_18.RULE b/src/licensedcode/data/rules/mit-old-style_18.RULE new file mode 100644 index 00000000000..ee1fdf07c7e --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style_18.RULE @@ -0,0 +1,7 @@ +Permission to use, copy, modify, distribute and sell this array, the + associated software, and its documentation for any purpose is hereby + granted without fee, provided that the above copyright notice appears + in all copies and that both that copyright notice and this permission + notice appear in supporting documentation. Benjamin Titze makes no + representations about the suitability of this array for any + purpose. It is provided "as is" without express or implied warranty. \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit-old-style_18.yml b/src/licensedcode/data/rules/mit-old-style_18.yml new file mode 100644 index 00000000000..72c5211c875 --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style_18.yml @@ -0,0 +1,4 @@ +license_expression: mit-old-style +is_license_text: yes +relevance: 100 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip diff --git a/src/licensedcode/data/rules/mit-old-style_19.RULE b/src/licensedcode/data/rules/mit-old-style_19.RULE new file mode 100644 index 00000000000..4640389ea44 --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style_19.RULE @@ -0,0 +1,8 @@ +The following restriction is placed on the use of this publication: + if The UK Advanced Cryptics Dictionary is used in a software package + or redistributed in any form, the copyright notice must be + prominently displayed and the text of this document must be included + verbatim. + + There are no other restrictions: I would like to see the list + distributed as widely as possible. \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit-old-style_19.yml b/src/licensedcode/data/rules/mit-old-style_19.yml new file mode 100644 index 00000000000..46c931d793d --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style_19.yml @@ -0,0 +1,4 @@ +license_expression: mit-old-style +is_license_text: yes +relevance: 99 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip diff --git a/src/licensedcode/data/rules/mit-old-style_20.RULE b/src/licensedcode/data/rules/mit-old-style_20.RULE new file mode 100644 index 00000000000..f41ff577358 --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style_20.RULE @@ -0,0 +1,8 @@ +Permission to use, copy, modify, distribute and sell these word + lists, the associated scripts, the output created from the scripts, + and its documentation for any purpose is hereby granted without fee, + provided that the above copyright notice appears in all copies and + that both that copyright notice and this permission notice appear in + supporting documentation. Kevin Atkinson makes no representations + about the suitability of this array for any purpose. It is provided + "as is" without express or implied warranty. \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit-old-style_20.yml b/src/licensedcode/data/rules/mit-old-style_20.yml new file mode 100644 index 00000000000..46c931d793d --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style_20.yml @@ -0,0 +1,4 @@ +license_expression: mit-old-style +is_license_text: yes +relevance: 99 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip diff --git a/src/licensedcode/data/rules/mit-old-style_21.RULE b/src/licensedcode/data/rules/mit-old-style_21.RULE new file mode 100644 index 00000000000..24586d63aaf --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style_21.RULE @@ -0,0 +1,7 @@ +Permission to use, copy, modify, distribute and sell this array, the +associated software, and its documentation for any purpose is hereby +granted without fee, provided that the above copyright notice appears +in all copies and that both that copyright notice and this permission +notice appear in supporting documentation. makes no +representations about the suitability of this array for any +purpose. It is provided "as is" without express or implied warranty. \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit-old-style_21.yml b/src/licensedcode/data/rules/mit-old-style_21.yml new file mode 100644 index 00000000000..eb2656dfda3 --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style_21.yml @@ -0,0 +1,4 @@ +license_expression: mit-old-style +is_license_text: yes +relevance: 99 +notes: seen in Scowl and hunspell diff --git a/src/licensedcode/data/rules/mit-old-style_22.RULE b/src/licensedcode/data/rules/mit-old-style_22.RULE new file mode 100644 index 00000000000..024d650cd01 --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style_22.RULE @@ -0,0 +1,8 @@ +Permission to use, copy, modify, distribute and sell these word +lists, the associated scripts, the output created from the scripts, +and its documentation for any purpose is hereby granted without fee, +provided that the above copyright notice appears in all copies and +that both that copyright notice and this permission notice appear in +supporting documentation. makes no representations +about the suitability of this array for any purpose. It is provided +"as is" without express or implied warranty. \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit-old-style_22.yml b/src/licensedcode/data/rules/mit-old-style_22.yml new file mode 100644 index 00000000000..eb2656dfda3 --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style_22.yml @@ -0,0 +1,4 @@ +license_expression: mit-old-style +is_license_text: yes +relevance: 99 +notes: seen in Scowl and hunspell diff --git a/src/licensedcode/data/rules/mit-old-style_23.RULE b/src/licensedcode/data/rules/mit-old-style_23.RULE new file mode 100644 index 00000000000..6f776a9c84e --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style_23.RULE @@ -0,0 +1,5 @@ +Permission to use, copy, modify, distribute, and sell this file for any +purpose is hereby granted without fee, provided that the above copyright +and this permission notice appear in all copies. No representations are +made about the suitability of this software for any purpose. It is +provided "as is" without express or implied warranty. \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit-old-style_23.yml b/src/licensedcode/data/rules/mit-old-style_23.yml new file mode 100644 index 00000000000..92a828d272a --- /dev/null +++ b/src/licensedcode/data/rules/mit-old-style_23.yml @@ -0,0 +1,4 @@ +license_expression: mit-old-style +is_license_text: yes +relevance: 99 +notes: This is a minor variant of this license. Seen in FLAC build scripts diff --git a/src/licensedcode/data/rules/mit_1044.RULE b/src/licensedcode/data/rules/mit_1044.RULE new file mode 100644 index 00000000000..ba59c5f0bb5 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1044.RULE @@ -0,0 +1,18 @@ +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit_1044.yml b/src/licensedcode/data/rules/mit_1044.yml new file mode 100644 index 00000000000..84a885508aa --- /dev/null +++ b/src/licensedcode/data/rules/mit_1044.yml @@ -0,0 +1,4 @@ +license_expression: mit +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/mit_1045.RULE b/src/licensedcode/data/rules/mit_1045.RULE new file mode 100644 index 00000000000..7c72c3654c6 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1045.RULE @@ -0,0 +1,4 @@ +The following is the 'standard copyright' agreed upon by most contributors, +and is currently the canonical license preferred by the X.Org Foundation. +This is a slight variant of the common MIT license form published by the +Open Source Initiative at http://www.opensource.org/licenses/mit-license.php \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit_1045.yml b/src/licensedcode/data/rules/mit_1045.yml new file mode 100644 index 00000000000..0834c612223 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1045.yml @@ -0,0 +1,6 @@ +license_expression: mit +is_license_notice: yes +relevance: 100 +notes: in x11 +ignorable_urls: + - http://www.opensource.org/licenses/mit-license.php diff --git a/src/licensedcode/data/rules/mit_1046.RULE b/src/licensedcode/data/rules/mit_1046.RULE new file mode 100644 index 00000000000..376063ce171 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1046.RULE @@ -0,0 +1 @@ +manual pages are released under the MIT License. \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit_1046.yml b/src/licensedcode/data/rules/mit_1046.yml new file mode 100644 index 00000000000..2aaf29d7607 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1046.yml @@ -0,0 +1,3 @@ +license_expression: mit +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/mit_1047.RULE b/src/licensedcode/data/rules/mit_1047.RULE new file mode 100644 index 00000000000..78d2268e0b8 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1047.RULE @@ -0,0 +1 @@ +licensed using the MIT license (see COPYRIGHT.MIT). \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit_1047.yml b/src/licensedcode/data/rules/mit_1047.yml new file mode 100644 index 00000000000..d1657db642b --- /dev/null +++ b/src/licensedcode/data/rules/mit_1047.yml @@ -0,0 +1,6 @@ +license_expression: mit +is_license_notice: yes +relevance: 100 +referenced_filenames: + - COPYRIGHT.MIT +notes: Seen in https://github.com/Wind4/vlmcsd/blob/65228e5c7916acd947ffb53be18abadafbc1be56/src/tap-windows.h diff --git a/src/licensedcode/data/rules/mit_1048.RULE b/src/licensedcode/data/rules/mit_1048.RULE new file mode 100644 index 00000000000..de6f6bb6e29 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1048.RULE @@ -0,0 +1 @@ +@license http://www.opensource.org/licenses/mit-license.php MIT (see the LICENSE file) \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit_1048.yml b/src/licensedcode/data/rules/mit_1048.yml new file mode 100644 index 00000000000..ee4cff19187 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1048.yml @@ -0,0 +1,7 @@ +license_expression: mit +is_license_tag: yes +relevance: 100 +referenced_filenames: + - LICENSE +ignorable_urls: + - http://www.opensource.org/licenses/mit-license.php diff --git a/src/licensedcode/data/rules/mit_1049.RULE b/src/licensedcode/data/rules/mit_1049.RULE new file mode 100644 index 00000000000..285ab9ad49b --- /dev/null +++ b/src/licensedcode/data/rules/mit_1049.RULE @@ -0,0 +1,7 @@ +X11 License + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit_1049.yml b/src/licensedcode/data/rules/mit_1049.yml new file mode 100644 index 00000000000..2a71f567f8f --- /dev/null +++ b/src/licensedcode/data/rules/mit_1049.yml @@ -0,0 +1,4 @@ +license_expression: mit +is_license_text: yes +relevance: 100 +minimum_coverage: 100 diff --git a/src/licensedcode/data/rules/mit_1050.RULE b/src/licensedcode/data/rules/mit_1050.RULE new file mode 100644 index 00000000000..2b1df527a31 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1050.RULE @@ -0,0 +1 @@ +Other files in this repo are under the MIT license below. \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit_1050.yml b/src/licensedcode/data/rules/mit_1050.yml new file mode 100644 index 00000000000..2aaf29d7607 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1050.yml @@ -0,0 +1,3 @@ +license_expression: mit +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/mit_1051.RULE b/src/licensedcode/data/rules/mit_1051.RULE new file mode 100644 index 00000000000..95c65e89737 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1051.RULE @@ -0,0 +1,2 @@ +LICENSE +is made available under the MIT License. For more details, see `LICENSE.txt \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit_1051.yml b/src/licensedcode/data/rules/mit_1051.yml new file mode 100644 index 00000000000..d7ae89792e8 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1051.yml @@ -0,0 +1,5 @@ +license_expression: mit +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE.txt diff --git a/src/licensedcode/data/rules/mit_1052.RULE b/src/licensedcode/data/rules/mit_1052.RULE new file mode 100644 index 00000000000..6f152b49ec9 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1052.RULE @@ -0,0 +1 @@ +made available under the MIT License. For more details, see `LICENSE.txt \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit_1052.yml b/src/licensedcode/data/rules/mit_1052.yml new file mode 100644 index 00000000000..d7ae89792e8 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1052.yml @@ -0,0 +1,5 @@ +license_expression: mit +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE.txt diff --git a/src/licensedcode/data/rules/mit_1053.RULE b/src/licensedcode/data/rules/mit_1053.RULE new file mode 100644 index 00000000000..7dda6b2af70 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1053.RULE @@ -0,0 +1,18 @@ +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without restriction, +including without limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of the Software, +and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGE- +MENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit_1053.yml b/src/licensedcode/data/rules/mit_1053.yml new file mode 100644 index 00000000000..4da8fa28964 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1053.yml @@ -0,0 +1,4 @@ +license_expression: mit +is_license_text: yes +relevance: 100 +notes: some words are hyphenated. Seen in https://raw.githubusercontent.com/lua-stdlib/lua-stdlib/master/LICENSE.md diff --git a/src/licensedcode/data/rules/mit_1054.RULE b/src/licensedcode/data/rules/mit_1054.RULE new file mode 100644 index 00000000000..a2f3ecad89e --- /dev/null +++ b/src/licensedcode/data/rules/mit_1054.RULE @@ -0,0 +1 @@ +The code is published under the MIT open-source license. \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit_1054.yml b/src/licensedcode/data/rules/mit_1054.yml new file mode 100644 index 00000000000..2aaf29d7607 --- /dev/null +++ b/src/licensedcode/data/rules/mit_1054.yml @@ -0,0 +1,3 @@ +license_expression: mit +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/mit_1055.RULE b/src/licensedcode/data/rules/mit_1055.RULE new file mode 100644 index 00000000000..b4bc2c1ff0c --- /dev/null +++ b/src/licensedcode/data/rules/mit_1055.RULE @@ -0,0 +1,3 @@ +License + +This project is licensed under the terms of the MIT license. diff --git a/src/licensedcode/data/rules/mit_1055.yml b/src/licensedcode/data/rules/mit_1055.yml new file mode 100644 index 00000000000..7fa48dca42e --- /dev/null +++ b/src/licensedcode/data/rules/mit_1055.yml @@ -0,0 +1,4 @@ +license_expression: mit +is_license_notice: yes +relevance: 100 +minimum_coverage: 70 diff --git a/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_18.RULE b/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_18.RULE new file mode 100644 index 00000000000..8dfab6cf0ef --- /dev/null +++ b/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_18.RULE @@ -0,0 +1,2 @@ +The compiler source code is released under the terms of the +MIT X11 or GNU GPL licenses \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_18.yml b/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_18.yml new file mode 100644 index 00000000000..dc862909809 --- /dev/null +++ b/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_18.yml @@ -0,0 +1,3 @@ +license_expression: mit OR gpl-1.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_19.RULE b/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_19.RULE new file mode 100644 index 00000000000..a79e83380fc --- /dev/null +++ b/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_19.RULE @@ -0,0 +1 @@ +released under the terms of the MIT X11 or GNU GPL licenses \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_19.yml b/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_19.yml new file mode 100644 index 00000000000..dc862909809 --- /dev/null +++ b/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_19.yml @@ -0,0 +1,3 @@ +license_expression: mit OR gpl-1.0-plus +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_20.RULE b/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_20.RULE new file mode 100644 index 00000000000..cdafcad4a2d --- /dev/null +++ b/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_20.RULE @@ -0,0 +1 @@ +MIT X11 or GNU GPL \ No newline at end of file diff --git a/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_20.yml b/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_20.yml new file mode 100644 index 00000000000..ab51e7e6b50 --- /dev/null +++ b/src/licensedcode/data/rules/mit_or_gpl-1.0-plus_20.yml @@ -0,0 +1,3 @@ +license_expression: mit OR gpl-1.0-plus +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/mongodb-sspl-1.0_8.yml b/src/licensedcode/data/rules/mongodb-sspl-1.0_8.yml index b217eeb6d4a..546e319fb3f 100644 --- a/src/licensedcode/data/rules/mongodb-sspl-1.0_8.yml +++ b/src/licensedcode/data/rules/mongodb-sspl-1.0_8.yml @@ -1,3 +1,4 @@ license_expression: mongodb-sspl-1.0 is_license_reference: yes relevance: 100 + diff --git a/src/licensedcode/data/rules/mpl-1.0_22.RULE b/src/licensedcode/data/rules/mpl-1.0_22.RULE new file mode 100644 index 00000000000..0a695f08590 --- /dev/null +++ b/src/licensedcode/data/rules/mpl-1.0_22.RULE @@ -0,0 +1,14 @@ +The contents of this file are subject to the Mozilla Public License Version 1.0 +(the "License"); you may not use this file except in compliance with the +License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ + +Software distributed under the License is distributed on an "AS IS" basis, +WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the +specific language governing rights and limitations under the License. + +The Original Code is _____ . + +The Initial Developer of the Original Code is _____ . Portions created by _____ +are Copyright (C) _____ . All Rights Reserved. + +Contributor(s): _____ . \ No newline at end of file diff --git a/src/licensedcode/data/rules/mpl-1.0_22.yml b/src/licensedcode/data/rules/mpl-1.0_22.yml new file mode 100644 index 00000000000..c525a737ed3 --- /dev/null +++ b/src/licensedcode/data/rules/mpl-1.0_22.yml @@ -0,0 +1,6 @@ +license_expression: mpl-1.0 +is_license_notice: yes +relevance: 100 +minimum_coverage: 95 +ignorable_urls: + - http://www.mozilla.org/MPL/ diff --git a/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_or_lgpl-2.1-plus_19.yml b/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_or_lgpl-2.1-plus_19.yml index 257a870eae1..138abe6a36b 100644 --- a/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_or_lgpl-2.1-plus_19.yml +++ b/src/licensedcode/data/rules/mpl-1.1_or_gpl-2.0-plus_or_lgpl-2.1-plus_19.yml @@ -2,7 +2,7 @@ license_expression: mpl-1.1 OR gpl-2.0-plus OR lgpl-2.1-plus is_license_notice: yes relevance: 100 ignorable_copyrights: - - Copyright // the Initial Developer + - Copyright the Initial Developer ignorable_holders: - the Initial Developer ignorable_authors: diff --git a/src/licensedcode/data/rules/mpl-2.0_100.RULE b/src/licensedcode/data/rules/mpl-2.0_100.RULE new file mode 100644 index 00000000000..0d0d7980e94 --- /dev/null +++ b/src/licensedcode/data/rules/mpl-2.0_100.RULE @@ -0,0 +1 @@ +it is licensed under the Mozilla Public License 2.0, \ No newline at end of file diff --git a/src/licensedcode/data/rules/mpl-2.0_100.yml b/src/licensedcode/data/rules/mpl-2.0_100.yml new file mode 100644 index 00000000000..e329fc385ff --- /dev/null +++ b/src/licensedcode/data/rules/mpl-2.0_100.yml @@ -0,0 +1,3 @@ +license_expression: mpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/mpl-2.0_95.RULE b/src/licensedcode/data/rules/mpl-2.0_95.RULE new file mode 100644 index 00000000000..eee3900ff2a --- /dev/null +++ b/src/licensedcode/data/rules/mpl-2.0_95.RULE @@ -0,0 +1 @@ +MPL v2.0 \ No newline at end of file diff --git a/src/licensedcode/data/rules/mpl-2.0_95.yml b/src/licensedcode/data/rules/mpl-2.0_95.yml new file mode 100644 index 00000000000..af2bf6a8926 --- /dev/null +++ b/src/licensedcode/data/rules/mpl-2.0_95.yml @@ -0,0 +1,3 @@ +license_expression: mpl-2.0 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/mpl-2.0_96.RULE b/src/licensedcode/data/rules/mpl-2.0_96.RULE new file mode 100644 index 00000000000..bc4fbe504cb --- /dev/null +++ b/src/licensedcode/data/rules/mpl-2.0_96.RULE @@ -0,0 +1 @@ +the Mozilla Public License 2.0, \ No newline at end of file diff --git a/src/licensedcode/data/rules/mpl-2.0_96.yml b/src/licensedcode/data/rules/mpl-2.0_96.yml new file mode 100644 index 00000000000..af2bf6a8926 --- /dev/null +++ b/src/licensedcode/data/rules/mpl-2.0_96.yml @@ -0,0 +1,3 @@ +license_expression: mpl-2.0 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/mpl-2.0_97.RULE b/src/licensedcode/data/rules/mpl-2.0_97.RULE new file mode 100644 index 00000000000..c15d42b7678 --- /dev/null +++ b/src/licensedcode/data/rules/mpl-2.0_97.RULE @@ -0,0 +1,2 @@ +The Source Code of this file is available under the +Mozilla Public License, v. 2.0 \ No newline at end of file diff --git a/src/licensedcode/data/rules/mpl-2.0_97.yml b/src/licensedcode/data/rules/mpl-2.0_97.yml new file mode 100644 index 00000000000..e329fc385ff --- /dev/null +++ b/src/licensedcode/data/rules/mpl-2.0_97.yml @@ -0,0 +1,3 @@ +license_expression: mpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/mpl-2.0_98.RULE b/src/licensedcode/data/rules/mpl-2.0_98.RULE new file mode 100644 index 00000000000..a61cf3f8bf1 --- /dev/null +++ b/src/licensedcode/data/rules/mpl-2.0_98.RULE @@ -0,0 +1,6 @@ +If a copy of the MPL was not distributed with this file, you can obtain one +at https://mozilla.org/MPL/2.0/. + +Software distributed under the License is distributed on an "AS IS" basis, +WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +for the specific language governing rights and limitations under the License. \ No newline at end of file diff --git a/src/licensedcode/data/rules/mpl-2.0_98.yml b/src/licensedcode/data/rules/mpl-2.0_98.yml new file mode 100644 index 00000000000..a6bbcef690b --- /dev/null +++ b/src/licensedcode/data/rules/mpl-2.0_98.yml @@ -0,0 +1,5 @@ +license_expression: mpl-2.0 +is_license_notice: yes +relevance: 100 +ignorable_urls: + - https://mozilla.org/MPL/2.0 diff --git a/src/licensedcode/data/rules/mpl-2.0_99.RULE b/src/licensedcode/data/rules/mpl-2.0_99.RULE new file mode 100644 index 00000000000..48e35efa89d --- /dev/null +++ b/src/licensedcode/data/rules/mpl-2.0_99.RULE @@ -0,0 +1 @@ +licensed under the Mozilla Public License 2.0, \ No newline at end of file diff --git a/src/licensedcode/data/rules/mpl-2.0_99.yml b/src/licensedcode/data/rules/mpl-2.0_99.yml new file mode 100644 index 00000000000..e329fc385ff --- /dev/null +++ b/src/licensedcode/data/rules/mpl-2.0_99.yml @@ -0,0 +1,3 @@ +license_expression: mpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/mpl-2.0_or_mit_1.RULE b/src/licensedcode/data/rules/mpl-2.0_or_mit_1.RULE new file mode 100644 index 00000000000..5bee70653f3 --- /dev/null +++ b/src/licensedcode/data/rules/mpl-2.0_or_mit_1.RULE @@ -0,0 +1 @@ +license: Mozilla Public License 2.0 (MPL 2.0) or MIT License \ No newline at end of file diff --git a/src/licensedcode/data/rules/mpl-2.0_or_mit_1.yml b/src/licensedcode/data/rules/mpl-2.0_or_mit_1.yml new file mode 100644 index 00000000000..4406d766be4 --- /dev/null +++ b/src/licensedcode/data/rules/mpl-2.0_or_mit_1.yml @@ -0,0 +1,3 @@ +license_expression: mpl-2.0 OR mit +is_license_tag: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/ofl-1.1_67.RULE b/src/licensedcode/data/rules/ofl-1.1_67.RULE new file mode 100644 index 00000000000..ca70014437e --- /dev/null +++ b/src/licensedcode/data/rules/ofl-1.1_67.RULE @@ -0,0 +1,3 @@ +License + +This Font Software is licensed under the SIL Open Font License, Version 1.1. \ No newline at end of file diff --git a/src/licensedcode/data/rules/ofl-1.1_67.yml b/src/licensedcode/data/rules/ofl-1.1_67.yml new file mode 100644 index 00000000000..cecbfc34a84 --- /dev/null +++ b/src/licensedcode/data/rules/ofl-1.1_67.yml @@ -0,0 +1,3 @@ +license_expression: ofl-1.1 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/ofl-1.1_68.RULE b/src/licensedcode/data/rules/ofl-1.1_68.RULE new file mode 100644 index 00000000000..04fc57e41ad --- /dev/null +++ b/src/licensedcode/data/rules/ofl-1.1_68.RULE @@ -0,0 +1,5 @@ +License + +This Font Software is licensed under the SIL Open Font License, Version 1.1. + +Please read file "LICENSE" for details. \ No newline at end of file diff --git a/src/licensedcode/data/rules/ofl-1.1_68.yml b/src/licensedcode/data/rules/ofl-1.1_68.yml new file mode 100644 index 00000000000..7779d954a4b --- /dev/null +++ b/src/licensedcode/data/rules/ofl-1.1_68.yml @@ -0,0 +1,5 @@ +license_expression: ofl-1.1 +is_license_notice: yes +relevance: 100 +referenced_filenames: + - LICENSE diff --git a/src/licensedcode/data/rules/openssl-ssleay.SPDX.yml b/src/licensedcode/data/rules/openssl-ssleay.SPDX.yml index 9f693bfe234..3818c2566fa 100644 --- a/src/licensedcode/data/rules/openssl-ssleay.SPDX.yml +++ b/src/licensedcode/data/rules/openssl-ssleay.SPDX.yml @@ -4,8 +4,10 @@ minimum_coverage: 80 notes: license text as published by SPDX ignorable_copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) ignorable_holders: - Eric Young + - Tim Hudson ignorable_authors: - Eric Young (eay@cryptsoft.com) - Tim Hudson (tjh@cryptsoft.com) diff --git a/src/licensedcode/data/rules/openssl-ssleay_14.yml b/src/licensedcode/data/rules/openssl-ssleay_14.yml index 1de16425b79..eb8c5f5d0bd 100644 --- a/src/licensedcode/data/rules/openssl-ssleay_14.yml +++ b/src/licensedcode/data/rules/openssl-ssleay_14.yml @@ -4,9 +4,11 @@ minimum_coverage: 80 ignorable_copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) - Copyright (c) 1998-2018 The OpenSSL Project + - holder is Tim Hudson (tjh@cryptsoft.com) ignorable_holders: - Eric Young - The OpenSSL Project + - Tim Hudson ignorable_authors: - Eric Young (eay@cryptsoft.com) - Tim Hudson (tjh@cryptsoft.com) diff --git a/src/licensedcode/data/rules/openssl-ssleay_18.yml b/src/licensedcode/data/rules/openssl-ssleay_18.yml index 138f24f6850..1a11eaa21f2 100644 --- a/src/licensedcode/data/rules/openssl-ssleay_18.yml +++ b/src/licensedcode/data/rules/openssl-ssleay_18.yml @@ -4,9 +4,11 @@ minimum_coverage: 80 ignorable_copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) - Copyright (c) The OpenSSL Project + - holder is Tim Hudson (tjh@cryptsoft.com) ignorable_holders: - Eric Young - The OpenSSL Project + - Tim Hudson ignorable_authors: - Eric Young (eay@cryptsoft.com) - Tim Hudson (tjh@cryptsoft.com) diff --git a/src/licensedcode/data/rules/openssl-ssleay_3.yml b/src/licensedcode/data/rules/openssl-ssleay_3.yml index df98d43ef9f..b195c72071f 100644 --- a/src/licensedcode/data/rules/openssl-ssleay_3.yml +++ b/src/licensedcode/data/rules/openssl-ssleay_3.yml @@ -4,8 +4,10 @@ minimum_coverage: 80 notes: full openssl/ssleay with extra headers ignorable_copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) ignorable_holders: - Eric Young + - Tim Hudson ignorable_authors: - Eric Young (eay@cryptsoft.com) - Tim Hudson (tjh@cryptsoft.com) diff --git a/src/licensedcode/data/rules/openssl-ssleay_31.yml b/src/licensedcode/data/rules/openssl-ssleay_31.yml index 243806da1bc..0c5c01ca45a 100644 --- a/src/licensedcode/data/rules/openssl-ssleay_31.yml +++ b/src/licensedcode/data/rules/openssl-ssleay_31.yml @@ -1,12 +1,14 @@ license_expression: openssl-ssleay is_license_text: yes -notes: typo in "if the [rouines] from the library" +notes: typo in "if the [rouines] from the library" ignorable_copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) - Copyright (c) 1998-2008 The OpenSSL Project + - holder is Tim Hudson (tjh@cryptsoft.com) ignorable_holders: - Eric Young - The OpenSSL Project + - Tim Hudson ignorable_authors: - Eric Young (eay@cryptsoft.com) - Tim Hudson (tjh@cryptsoft.com) diff --git a/src/licensedcode/data/rules/openssl-ssleay_34.yml b/src/licensedcode/data/rules/openssl-ssleay_34.yml index de7a59b80ed..268d9e6e5f5 100644 --- a/src/licensedcode/data/rules/openssl-ssleay_34.yml +++ b/src/licensedcode/data/rules/openssl-ssleay_34.yml @@ -3,8 +3,10 @@ is_license_text: yes relevance: 100 ignorable_copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) ignorable_holders: - Eric Young + - Tim Hudson ignorable_authors: - Eric Young (eay@cryptsoft.com) - Tim Hudson (tjh@cryptsoft.com) diff --git a/src/licensedcode/data/rules/openssl-ssleay_35.yml b/src/licensedcode/data/rules/openssl-ssleay_35.yml index 84aa3da6a51..cce5127fb91 100644 --- a/src/licensedcode/data/rules/openssl-ssleay_35.yml +++ b/src/licensedcode/data/rules/openssl-ssleay_35.yml @@ -4,9 +4,11 @@ relevance: 100 ignorable_copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) - Copyright (c) 1998-2016 The OpenSSL Project + - holder is Tim Hudson (tjh@cryptsoft.com) ignorable_holders: - Eric Young - The OpenSSL Project + - Tim Hudson ignorable_authors: - Eric Young (eay@cryptsoft.com) - Tim Hudson (tjh@cryptsoft.com) diff --git a/src/licensedcode/data/rules/openssl-ssleay_36.yml b/src/licensedcode/data/rules/openssl-ssleay_36.yml index deda3545e1c..4d9ad269ddb 100644 --- a/src/licensedcode/data/rules/openssl-ssleay_36.yml +++ b/src/licensedcode/data/rules/openssl-ssleay_36.yml @@ -5,9 +5,11 @@ minimum_coverage: 90 ignorable_copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) - Copyright (c) 1998-2003 The OpenSSL Project + - holder is Tim Hudson (tjh@cryptsoft.com) ignorable_holders: - Eric Young - The OpenSSL Project + - Tim Hudson ignorable_authors: - Eric Young (eay@cryptsoft.com) - Tim Hudson (tjh@cryptsoft.com) diff --git a/src/licensedcode/data/rules/openssl-ssleay_37.yml b/src/licensedcode/data/rules/openssl-ssleay_37.yml index d4651b9b829..09c43c0e7df 100644 --- a/src/licensedcode/data/rules/openssl-ssleay_37.yml +++ b/src/licensedcode/data/rules/openssl-ssleay_37.yml @@ -4,9 +4,11 @@ relevance: 100 ignorable_copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) - Copyright (c) 1998-2002 The OpenSSL Project + - holder is Tim Hudson (tjh@cryptsoft.com) ignorable_holders: - Eric Young - The OpenSSL Project + - Tim Hudson ignorable_authors: - Eric Young (eay@cryptsoft.com) - Tim Hudson (tjh@cryptsoft.com) diff --git a/src/licensedcode/data/rules/openssl-ssleay_4.yml b/src/licensedcode/data/rules/openssl-ssleay_4.yml index 07a41ba1417..88344531a3d 100644 --- a/src/licensedcode/data/rules/openssl-ssleay_4.yml +++ b/src/licensedcode/data/rules/openssl-ssleay_4.yml @@ -5,9 +5,11 @@ notes: full openssl/ssleay with extra headers ignorable_copyrights: - Copyright (c) Eric Young (eay@cryptsoft.com) - Copyright (c) The OpenSSL Project + - holder is Tim Hudson (tjh@cryptsoft.com) ignorable_holders: - Eric Young - The OpenSSL Project + - Tim Hudson ignorable_authors: - Eric Young (eay@cryptsoft.com) - Tim Hudson (tjh@cryptsoft.com) diff --git a/src/licensedcode/data/rules/openssl-ssleay_40.yml b/src/licensedcode/data/rules/openssl-ssleay_40.yml index 7057c0e8e4b..5169d67b314 100644 --- a/src/licensedcode/data/rules/openssl-ssleay_40.yml +++ b/src/licensedcode/data/rules/openssl-ssleay_40.yml @@ -4,9 +4,11 @@ relevance: 100 ignorable_copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) - Copyright (c) 1998-2017 The OpenSSL Project + - holder is Tim Hudson (tjh@cryptsoft.com) ignorable_holders: - Eric Young - The OpenSSL Project + - Tim Hudson ignorable_authors: - Eric Young (eay@cryptsoft.com) - Tim Hudson (tjh@cryptsoft.com) diff --git a/src/licensedcode/data/rules/openssl-ssleay_55.yml b/src/licensedcode/data/rules/openssl-ssleay_55.yml index be01b045cb8..e3f667cff1c 100644 --- a/src/licensedcode/data/rules/openssl-ssleay_55.yml +++ b/src/licensedcode/data/rules/openssl-ssleay_55.yml @@ -4,9 +4,11 @@ relevance: 100 ignorable_copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) - Copyright (c) 1998-2008 The OpenSSL Project + - holder is Tim Hudson (tjh@cryptsoft.com) ignorable_holders: - Eric Young - The OpenSSL Project + - Tim Hudson ignorable_authors: - Eric Young (eay@cryptsoft.com) - Tim Hudson (tjh@cryptsoft.com) diff --git a/src/licensedcode/data/rules/openssl-ssleay_56.yml b/src/licensedcode/data/rules/openssl-ssleay_56.yml index afe54792644..b3ff4483a79 100644 --- a/src/licensedcode/data/rules/openssl-ssleay_56.yml +++ b/src/licensedcode/data/rules/openssl-ssleay_56.yml @@ -4,9 +4,11 @@ relevance: 100 ignorable_copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) - Copyright (c) 1998-2019 The OpenSSL Project + - holder is Tim Hudson (tjh@cryptsoft.com) ignorable_holders: - Eric Young - The OpenSSL Project + - Tim Hudson ignorable_authors: - Eric Young (eay@cryptsoft.com) - Tim Hudson (tjh@cryptsoft.com) diff --git a/src/licensedcode/data/rules/openssl-ssleay_57.RULE b/src/licensedcode/data/rules/openssl-ssleay_57.RULE new file mode 100644 index 00000000000..74224939964 --- /dev/null +++ b/src/licensedcode/data/rules/openssl-ssleay_57.RULE @@ -0,0 +1 @@ +the conditions of the OpenSSL License and the original SSLeay license apply \ No newline at end of file diff --git a/src/licensedcode/data/rules/openssl-ssleay_57.yml b/src/licensedcode/data/rules/openssl-ssleay_57.yml new file mode 100644 index 00000000000..5ef942e21ae --- /dev/null +++ b/src/licensedcode/data/rules/openssl-ssleay_57.yml @@ -0,0 +1,3 @@ +license_expression: openssl-ssleay +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/openssl-ssleay_9.yml b/src/licensedcode/data/rules/openssl-ssleay_9.yml index d09a9a0f974..4826ee55050 100644 --- a/src/licensedcode/data/rules/openssl-ssleay_9.yml +++ b/src/licensedcode/data/rules/openssl-ssleay_9.yml @@ -4,9 +4,11 @@ minimum_coverage: 80 ignorable_copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) - Copyright (c) 1998 The OpenSSL Project + - holder is Tim Hudson (tjh@cryptsoft.com) ignorable_holders: - Eric Young - The OpenSSL Project + - Tim Hudson ignorable_authors: - Eric Young (eay@cryptsoft.com) - Tim Hudson (tjh@cryptsoft.com) diff --git a/src/licensedcode/data/rules/openssl-ssleay_and_isc_1.RULE b/src/licensedcode/data/rules/openssl-ssleay_and_isc_1.RULE new file mode 100644 index 00000000000..0a7638c71e1 --- /dev/null +++ b/src/licensedcode/data/rules/openssl-ssleay_and_isc_1.RULE @@ -0,0 +1 @@ +large parts of it fall under OpenSSL licensing. Files that are completely new have a Google copyright and an ISC license. \ No newline at end of file diff --git a/src/licensedcode/data/rules/openssl-ssleay_and_isc_1.yml b/src/licensedcode/data/rules/openssl-ssleay_and_isc_1.yml new file mode 100644 index 00000000000..b67095fcc19 --- /dev/null +++ b/src/licensedcode/data/rules/openssl-ssleay_and_isc_1.yml @@ -0,0 +1,3 @@ +license_expression: openssl-ssleay AND isc +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/osf-1990_6.RULE b/src/licensedcode/data/rules/osf-1990_6.RULE new file mode 100644 index 00000000000..73a53b1c465 --- /dev/null +++ b/src/licensedcode/data/rules/osf-1990_6.RULE @@ -0,0 +1,12 @@ +To anyone who acknowledges that this file is provided "AS IS" +without any express or implied warranty: permission to use, copy, +modify, and distribute this file for any purpose is hereby +granted without fee, provided that the above copyright notices and +this notice appears in all source code copies, and that none of +the names of Open Software Foundation, Inc., Hewlett-Packard +Company, Microsoft, or Digital Equipment Corporation be used in +advertising or publicity pertaining to distribution of the software +without specific, written prior permission. Neither Open Software +Foundation, Inc., Hewlett-Packard Company, Microsoft, nor Digital +Equipment Corporation makes any representations about the +suitability of this software for any purpose. \ No newline at end of file diff --git a/src/licensedcode/data/rules/osf-1990_6.yml b/src/licensedcode/data/rules/osf-1990_6.yml new file mode 100644 index 00000000000..5ab8dcd3e4e --- /dev/null +++ b/src/licensedcode/data/rules/osf-1990_6.yml @@ -0,0 +1,4 @@ +license_expression: osf-1990 +is_license_text: yes +relevance: 100 +notes: seen in https://metacpan.org/release/RJBS/Data-UUID-1.226/source/LICENSE diff --git a/src/licensedcode/data/rules/osf-1990_7.RULE b/src/licensedcode/data/rules/osf-1990_7.RULE new file mode 100644 index 00000000000..7c693491beb --- /dev/null +++ b/src/licensedcode/data/rules/osf-1990_7.RULE @@ -0,0 +1,14 @@ +To anyone who acknowledges that this file is provided "AS IS" +without any express or implied warranty: permission to use, copy, +modify, and distribute this file for any purpose is hereby +granted without fee, provided that the above copyright notices and +this notice appears in all source code copies, and that none of +the names of Open Software Foundation, Inc., Hewlett-Packard +Company, Microsoft, or Digital Equipment Corporation be used in +advertising or publicity pertaining to distribution of the software +without specific, written prior permission. Neither Open Software +Foundation, Inc., Hewlett-Packard Company, Microsoft, nor Digital +Equipment Corporation makes any representations about the +suitability of this software for any purpose. + +The same terms apply to this code. \ No newline at end of file diff --git a/src/licensedcode/data/rules/osf-1990_7.yml b/src/licensedcode/data/rules/osf-1990_7.yml new file mode 100644 index 00000000000..e354371961d --- /dev/null +++ b/src/licensedcode/data/rules/osf-1990_7.yml @@ -0,0 +1,3 @@ +license_expression: osf-1990 +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/osl-1.0_2.RULE b/src/licensedcode/data/rules/osl-1.0_2.RULE new file mode 100644 index 00000000000..0d40b3b2208 --- /dev/null +++ b/src/licensedcode/data/rules/osl-1.0_2.RULE @@ -0,0 +1 @@ +The Open Software License v. 1.0 \ No newline at end of file diff --git a/src/licensedcode/data/rules/osl-1.0_2.yml b/src/licensedcode/data/rules/osl-1.0_2.yml new file mode 100644 index 00000000000..b547f4655f6 --- /dev/null +++ b/src/licensedcode/data/rules/osl-1.0_2.yml @@ -0,0 +1,3 @@ +license_expression: osl-1.0 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/osl-1.0_3.RULE b/src/licensedcode/data/rules/osl-1.0_3.RULE new file mode 100644 index 00000000000..91ce0597f5e --- /dev/null +++ b/src/licensedcode/data/rules/osl-1.0_3.RULE @@ -0,0 +1,152 @@ +The Open Software License v. 1.0 + +This Open Software License (the "License") applies to any original work of +authorship (the "Original Work") whose owner (the "Licensor") has placed the +following notice immediately following the copyright notice for the Original +Work: + +"Licensed under the Open Software License version 1.0" + +License Terms + +1) Grant of Copyright License. Licensor hereby grants You a world-wide, +royalty-free, non-exclusive, perpetual, non-sublicenseable license to do the +following: + +a) to reproduce the Original Work in copies; + +b) to prepare derivative works ("Derivative Works") based upon the Original +Work; + +c) to distribute copies of the Original Work and Derivative Works to the +public, with the proviso that copies of Original Work or Derivative Works that +You distribute shall be licensed under the Open Software License; + +d) to perform the Original Work publicly; and + +e) to display the Original Work publicly. + +2) Grant of Patent License. Licensor hereby grants You a world-wide, royalty- +free, non-exclusive, perpetual, non-sublicenseable license, under patent +claims owned or controlled by the Licensor that are embodied in the Original +Work as furnished by the Licensor ("Licensed Claims") to make, use, sell and +offer for sale the Original Work. Licensor hereby grants You a world-wide, +royalty-free, non-exclusive, perpetual, non-sublicenseable license under the +Licensed Claims to make, use, sell and offer for sale Derivative Works. + +3) Grant of Source Code License. The term "Source Code" means the preferred +form of the Original Work for making modifications to it and all available +documentation describing how to access and modify the Original Work. Licensor +hereby agrees to provide a machine-readable copy of the Source Code of the +Original Work along with each copy of the Original Work that Licensor +distributes. Licensor reserves the right to satisfy this obligation by placing +a machine-readable copy of the Source Code in an information repository +reasonably calculated to permit inexpensive and convenient access by You for +as long as Licensor continues to distribute the Original Work, and by +publishing the address of that information repository in a notice immediately +following the copyright notice that applies to the Original Work. + +4) Exclusions From License Grant. Nothing in this License shall be deemed to +grant any rights to trademarks, copyrights, patents, trade secrets or any +other intellectual property of Licensor except as expressly stated herein. No +patent license is granted to make, use, sell or offer to sell embodiments of +any patent claims other than the Licensed Claims defined in Section 2. No +right is granted to the trademarks of Licensor even if such marks are included +in the Original Work. Nothing in this License shall be interpreted to prohibit +Licensor from licensing under different terms from this License any Original +Work that Licensor otherwise would have a right to license. + +5) External Deployment. The term "External Deployment" means the use or +distribution of the Original Work or Derivative Works in any way such that the +Original Work or Derivative Works may be accessed or used by anyone other than +You, whether the Original Work or Derivative Works are distributed to those +persons, made available as an application intended for use over a computer +network, or used to provide services or otherwise deliver content to anyone +other than You. As an express condition for the grants of license hereunder, +You agree that any External Deployment by You shall be deemed a distribution +and shall be licensed to all under the terms of this License, as prescribed in +section 1(c) herein. + +6) Warranty and Disclaimer of Warranty. LICENSOR WARRANTS THAT THE COPYRIGHT +IN AND TO THE ORIGINAL WORK IS OWNED BY THE LICENSOR OR THAT THE ORIGINAL WORK +IS DISTRIBUTED BY LICENSOR UNDER A VALID CURRENT LICENSE FROM THE COPYRIGHT +OWNER. EXCEPT AS EXPRESSLY STATED IN THE IMMEDIATELY PRECEEDING SENTENCE, THE +ORIGINAL WORK IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT +WARRANTY, EITHER EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THE +WARRANTY OF NON-INFRINGEMENT AND WARRANTIES THAT THE ORIGINAL WORK IS +MERCHANTABLE OR FIT FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE +QUALITY OF THE ORIGINAL WORK IS WITH YOU. THIS DISCLAIMER OF WARRANTY +CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO LICENSE TO ORIGINAL WORK IS +GRANTED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + +7) Limitation of Liability. UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, +WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL THE +LICENSOR BE LIABLE TO ANY PERSON FOR ANY DIRECT, INDIRECT, SPECIAL, +INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING AS A RESULT OF +THIS LICENSE OR THE USE OF THE ORIGINAL WORK INCLUDING, WITHOUT LIMITATION, +DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, +OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PERSON SHALL +HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF +LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING +FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH +LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF +INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT +APPLY TO YOU. + +8) Acceptance and Termination. Nothing else but this License (or another +written agreement between Licensor and You) grants You permission to create +Derivative Works based upon the Original Work, and any attempt to do so except +under the terms of this License (or another written agreement between Licensor +and You) is expressly prohibited by U.S. copyright law, the equivalent laws of +other countries, and by international treaty. Therefore, by exercising any of +the rights granted to You in Sections 1 and 2 herein, You indicate Your +acceptance of this License and all of its terms and conditions. This license +shall terminate immediately and you may no longer exercise any of the rights +granted to You by this License upon Your failure to honor the proviso in +Section 1(c) herein. + +9) Mutual Termination for Patent Action. This License shall terminate +automatically and You may no longer exercise any of the rights granted to You +by this License if You file a lawsuit in any court alleging that any OSI +Certified open source software that is licensed under any license containing +this "Mutual Termination for Patent Action" clause infringes any patent claims +that are essential to use that software. + +10) Jurisdiction, Venue and Governing Law. You agree that any lawsuit arising +under or relating to this License shall be maintained in the courts of the +jurisdiction wherein the Licensor resides or in which Licensor conducts its +primary business, and under the laws of that jurisdiction excluding its +conflict-of-law provisions. The application of the United Nations Convention +on Contracts for the International Sale of Goods is expressly excluded. Any +use of the Original Work outside the scope of this License or after its +termination shall be subject to the requirements and penalties of the U.S. +Copyright Act, 17 U.S.C. § 101 et seq., the equivalent laws of other +countries, and international treaty. This section shall survive the +termination of this License. + +11) Attorneys Fees. In any action to enforce the terms of this License or +seeking damages relating thereto, the prevailing party shall be entitled to +recover its costs and expenses, including, without limitation, reasonable +attorneys' fees and costs incurred in connection with such action, +including any appeal of such action. This section shall survive the +termination of this License. + +12) Miscellaneous. This License represents the complete agreement concerning +the subject matter hereof. If any provision of this License is held to be +unenforceable, such provision shall be reformed only to the extent necessary +to make it enforceable. + +13) Definition of "You" in This License. "You" throughout this License, +whether in upper or lower case, means an individual or a legal entity +exercising rights under, and complying with all of the terms of, this License. +For legal entities, "You" includes any entity that controls, is controlled by, +or is under common control with you. For purposes of this definition, +"control" means (i) the power, direct or indirect, to cause the direction or +management of such entity, whether by contract or otherwise, or (ii) ownership +of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial +ownership of such entity. + +This license is Copyright (C) 2002 Lawrence E. Rosen. All rights reserved. +Permission is hereby granted to copy and distribute this license without +modification. This license may not be modified without the express written +permission of its copyright owner. \ No newline at end of file diff --git a/src/licensedcode/data/rules/osl-1.0_3.yml b/src/licensedcode/data/rules/osl-1.0_3.yml new file mode 100644 index 00000000000..f8824691cb8 --- /dev/null +++ b/src/licensedcode/data/rules/osl-1.0_3.yml @@ -0,0 +1,7 @@ +license_expression: osl-1.0 +is_license_text: yes +relevance: 100 +ignorable_copyrights: + - Copyright (c) 2002 Lawrence E. Rosen +ignorable_holders: + - Lawrence E. Rosen diff --git a/src/licensedcode/data/rules/other-copyleft_25.RULE b/src/licensedcode/data/rules/other-copyleft_25.RULE new file mode 100644 index 00000000000..ce8361a4fff --- /dev/null +++ b/src/licensedcode/data/rules/other-copyleft_25.RULE @@ -0,0 +1,11 @@ +Additional permission under GNU GPL version 3 section 7 : + +If you modify this Program, or any covered work, by linking or combining it with other software covered by the terms of any of the licenses classified as free software license by the Free Software Foundation + + , + +or any of the Open Source Initiative approved licenses + + , + +the licensors of this Program grant you additional permission to convey the resulting work. Corresponding Source for a non-source form of such a combination shall include the source code for all other software used as well as that of the covered work. \ No newline at end of file diff --git a/src/licensedcode/data/rules/other-copyleft_25.yml b/src/licensedcode/data/rules/other-copyleft_25.yml new file mode 100644 index 00000000000..7fca0e78e74 --- /dev/null +++ b/src/licensedcode/data/rules/other-copyleft_25.yml @@ -0,0 +1,9 @@ +license_expression: other-copyleft +is_license_notice: yes +relevance: 100 +notes: This exception-like notices is not really an exception and just allows to use GPL-licensed + code with other FOSS code as log as this other code is redistributed in source form too. + Seen in https://www.nexedi.com/jobs/NXD-License.FreeSoftware +ignorable_urls: + - http://opensource.org/licenses + - https://www.gnu.org/licenses/license-list.en.html diff --git a/src/licensedcode/data/rules/other-copyleft_and_other-permissive_1.RULE b/src/licensedcode/data/rules/other-copyleft_and_other-permissive_1.RULE new file mode 100644 index 00000000000..2eb86ff67d1 --- /dev/null +++ b/src/licensedcode/data/rules/other-copyleft_and_other-permissive_1.RULE @@ -0,0 +1 @@ +GPL v2 compatible licenses. \ No newline at end of file diff --git a/src/licensedcode/data/rules/other-copyleft_and_other-permissive_1.yml b/src/licensedcode/data/rules/other-copyleft_and_other-permissive_1.yml new file mode 100644 index 00000000000..d48fa85705c --- /dev/null +++ b/src/licensedcode/data/rules/other-copyleft_and_other-permissive_1.yml @@ -0,0 +1,3 @@ +license_expression: other-copyleft AND other-permissive +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/other-permissive_181.yml b/src/licensedcode/data/rules/other-permissive_181.yml index a59bd16f498..eb1dd25bdd4 100644 --- a/src/licensedcode/data/rules/other-permissive_181.yml +++ b/src/licensedcode/data/rules/other-permissive_181.yml @@ -5,6 +5,5 @@ notes: Seen in https://github.com/apple-opensource-mirror/X11/blob/43e6e6c55db66 This is a mix of Apache-1.1 and xfree86-1.1 ignorable_authors: - X-Oz Technologies (http://www.x-oz.com/) - - authorization from X-Oz Technologies ignorable_urls: - http://www.x-oz.com/ diff --git a/src/licensedcode/data/rules/other-permissive_281.RULE b/src/licensedcode/data/rules/other-permissive_281.RULE new file mode 100644 index 00000000000..e6cbf78d922 --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_281.RULE @@ -0,0 +1,27 @@ +Permission is hereby granted to use, copy, +modify, sell, and otherwise distribute this software and its +documentation for any purpose and without fee, provided that: + +1. This copyright, permission, and disclaimer notice is reproduced in + all copies of this software and any modification thereof and in + supporting documentation; +2. Any color-handling application which displays TekHVC color + cooordinates identifies these as TekHVC color coordinates in any + interface that displays these coordinates and in any associated + documentation; +3. The term "TekHVC" is always used, and is only used, in association + with the mathematical derivations of the TekHVC Color Space, + including those provided in this file and any equivalent pathways and + mathematical derivations, regardless of digital (e.g., floating point + or integer) representation. + +Tektronix makes no representation about the suitability of this software +for any purpose. It is provided "as is" and with all faults. + +TEKTRONIX DISCLAIMS ALL WARRANTIES APPLICABLE TO THIS SOFTWARE, +INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE. IN NO EVENT SHALL TEKTRONIX BE LIABLE FOR ANY +SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER +RESULTING FROM LOSS OF USE, DATA, OR PROFITS, WHETHER IN AN ACTION OF +CONTRACT, NEGLIGENCE, OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN +CONNECTION WITH THE USE OR THE PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/other-permissive_281.yml b/src/licensedcode/data/rules/other-permissive_281.yml new file mode 100644 index 00000000000..9850275bc9a --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_281.yml @@ -0,0 +1,4 @@ +license_expression: other-permissive +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/other-permissive_282.RULE b/src/licensedcode/data/rules/other-permissive_282.RULE new file mode 100644 index 00000000000..a59618ba17b --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_282.RULE @@ -0,0 +1,2 @@ +This is source code modified by FUJITSU LIMITED under the Joint +Development Agreement for the CDE/Motif PST. \ No newline at end of file diff --git a/src/licensedcode/data/rules/other-permissive_282.yml b/src/licensedcode/data/rules/other-permissive_282.yml new file mode 100644 index 00000000000..1268aa69642 --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_282.yml @@ -0,0 +1,8 @@ +license_expression: other-permissive +is_license_reference: yes +relevance: 100 +minimum_coverage: 100 +notes: in x11 legacy +ignorable_authors: + - FUJITSU LIMITED + diff --git a/src/licensedcode/data/rules/other-permissive_283.RULE b/src/licensedcode/data/rules/other-permissive_283.RULE new file mode 100644 index 00000000000..e0a5be8c81b --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_283.RULE @@ -0,0 +1,29 @@ +Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All modifications to the source code must be clearly marked as + such. Binary redistributions based on modified source code + must be clearly marked as modified versions in the documentation + and/or other materials provided with the distribution. + (clause 4 removed with permission from Geoff Kuenning) + 5. The name of Geoff Kuenning may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY GEOFF KUENNING AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL GEOFF KUENNING OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/other-permissive_283.yml b/src/licensedcode/data/rules/other-permissive_283.yml new file mode 100644 index 00000000000..67013219457 --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_283.yml @@ -0,0 +1,4 @@ +license_expression: other-permissive +is_license_text: yes +relevance: 100 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip diff --git a/src/licensedcode/data/rules/other-permissive_284.RULE b/src/licensedcode/data/rules/other-permissive_284.RULE new file mode 100644 index 00000000000..aaea8929ca4 --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_284.RULE @@ -0,0 +1,15 @@ +The ENABLE master word list, WORD.LST, is herewith formally released + into the Public Domain. Anyone is free to use it or distribute it in + any manner they see fit. No fee or registration is required for its + use nor are "contributions" solicited (if you feel you absolutely + must contribute something for your own peace of mind, the authors of + the ENABLE list ask that you make a donation on their behalf to your + favorite charity). This word list is our gift to the Scrabble + community, as an alternate to "official" word lists. Game designers + may feel free to incorporate the WORD.LST into their games. Please + mention the source and credit us as originators of the list. Note + that if you, as a game designer, use the WORD.LST in your product, + you may still copyright and protect your product, but you may *not* + legally copyright or in any way restrict redistribution of the + WORD.LST portion of your product. This *may* under law restrict your + rights to restrict your users' rights, but that is only fair. \ No newline at end of file diff --git a/src/licensedcode/data/rules/other-permissive_284.yml b/src/licensedcode/data/rules/other-permissive_284.yml new file mode 100644 index 00000000000..67013219457 --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_284.yml @@ -0,0 +1,4 @@ +license_expression: other-permissive +is_license_text: yes +relevance: 100 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip diff --git a/src/licensedcode/data/rules/other-permissive_285.RULE b/src/licensedcode/data/rules/other-permissive_285.RULE new file mode 100644 index 00000000000..6547502d2be --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_285.RULE @@ -0,0 +1,8 @@ +Use, modification and redistribution of this software is hereby granted, +provided that this entire copyright notice is included on any copies of +this software and applications and derivations thereof. + +This software is provided on an "as is" basis, without warranty of any +kind, either expressed or implied, as to any matter including, but not +limited to warranty of fitness of purpose, or merchantability, or +results obtained from use of this software. \ No newline at end of file diff --git a/src/licensedcode/data/rules/other-permissive_285.yml b/src/licensedcode/data/rules/other-permissive_285.yml new file mode 100644 index 00000000000..aa4a48d965e --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_285.yml @@ -0,0 +1,4 @@ +license_expression: other-permissive +is_license_text: yes +relevance: 100 +notes: Seen in https://github.com/tats/w3m/blob/master/COPYING diff --git a/src/licensedcode/data/rules/other-permissive_286.RULE b/src/licensedcode/data/rules/other-permissive_286.RULE new file mode 100644 index 00000000000..9ec527b2e6a --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_286.RULE @@ -0,0 +1,6 @@ +Permission is granted to anyone to use, distribute and modify +this file in any way, provided that the above copyright notice +is left intact and the author of the modification summarizes +the changes in this header. + +This file is distributed without any expressed or implied warranty. \ No newline at end of file diff --git a/src/licensedcode/data/rules/other-permissive_286.yml b/src/licensedcode/data/rules/other-permissive_286.yml new file mode 100644 index 00000000000..e0199925473 --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_286.yml @@ -0,0 +1,7 @@ +license_expression: other-permissive +is_license_text: yes +relevance: 100 +minimum_coverage: 90 +notes: | + Seen in xkb/symbols/hu + aka XKB layout for some widely used Hungarian keyboard layouts diff --git a/src/licensedcode/data/rules/other-permissive_287.RULE b/src/licensedcode/data/rules/other-permissive_287.RULE new file mode 100644 index 00000000000..64381d8a2e4 --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_287.RULE @@ -0,0 +1,13 @@ +distributed under the following license terms: + +"You may incorporate this sample code into your + applications without restriction, though the + sample code has been provided "AS IS" and the + responsibility for its operation is 100% yours. + However, what you are not permitted to do is to + redistribute the source as "DSC Sample Code" after + having made changes. If you're going to + redistribute the source, we require that you make + it clear in the source that the code was descended + from Apple Sample Code, but that you've made + changes." \ No newline at end of file diff --git a/src/licensedcode/data/rules/other-permissive_287.yml b/src/licensedcode/data/rules/other-permissive_287.yml new file mode 100644 index 00000000000..7f26142f318 --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_287.yml @@ -0,0 +1,4 @@ +license_expression: other-permissive +is_license_text: yes +relevance: 100 +notes: Found in old Info-zip diff --git a/src/licensedcode/data/rules/other-permissive_288.RULE b/src/licensedcode/data/rules/other-permissive_288.RULE new file mode 100644 index 00000000000..27f7933d040 --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_288.RULE @@ -0,0 +1,11 @@ +"You may incorporate this sample code into your + applications without restriction, though the + sample code has been provided "AS IS" and the + responsibility for its operation is 100% yours. + However, what you are not permitted to do is to + redistribute the source as "DSC Sample Code" after + having made changes. If you're going to + redistribute the source, we require that you make + it clear in the source that the code was descended + from Apple Sample Code, but that you've made + changes." \ No newline at end of file diff --git a/src/licensedcode/data/rules/other-permissive_288.yml b/src/licensedcode/data/rules/other-permissive_288.yml new file mode 100644 index 00000000000..7f26142f318 --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_288.yml @@ -0,0 +1,4 @@ +license_expression: other-permissive +is_license_text: yes +relevance: 100 +notes: Found in old Info-zip diff --git a/src/licensedcode/data/rules/other-permissive_289.RULE b/src/licensedcode/data/rules/other-permissive_289.RULE new file mode 100644 index 00000000000..09fe3fa67f1 --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_289.RULE @@ -0,0 +1,11 @@ +THIS DOCUMENT IS PROVIDED "AS IS" WITH NO WARRANTIES WHATSOEVER, INCLUDING ANY +WARRANTY OF MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR ANY PARTICULAR +PURPOSE, OR ANY WARRANTY OTHERWISE ARISING OUT OF ANY PROPOSAL, SPECIFICATION OR +SAMPLE. + +The information in this document is furnished for informational use only, and +Intel Corporation assumes no responsibility or liability for any errors or +inaccuracies that may appear herein or in any software that may be provided in +association with this document. Intel Corporation disclaims all liability, +including liability for infringement of any proprietary rights, relating to use +of information herein. \ No newline at end of file diff --git a/src/licensedcode/data/rules/other-permissive_289.yml b/src/licensedcode/data/rules/other-permissive_289.yml new file mode 100644 index 00000000000..73ee4285531 --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_289.yml @@ -0,0 +1,6 @@ +license_expression: other-permissive +is_license_text: yes +relevance: 100 +notes: Rare Intel notice, derived from X11-like licenses. Seen in Michael E. Kounavis and Frank + L. Berry document titled "A Systematic Approach to Building High Performance, Software-based, + CRC Generators" diff --git a/src/licensedcode/data/rules/other-permissive_and_free-unknown_2.RULE b/src/licensedcode/data/rules/other-permissive_and_free-unknown_2.RULE new file mode 100644 index 00000000000..5941a834e52 --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_and_free-unknown_2.RULE @@ -0,0 +1 @@ +Autogenerated files with permissive licenses. diff --git a/src/licensedcode/data/rules/other-permissive_and_free-unknown_2.yml b/src/licensedcode/data/rules/other-permissive_and_free-unknown_2.yml new file mode 100644 index 00000000000..acdf01fdbea --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_and_free-unknown_2.yml @@ -0,0 +1,4 @@ +license_expression: other-permissive AND free-unknown +is_license_notice: yes +relevance: 20 +minimum_coverage: 100 diff --git a/src/licensedcode/data/rules/other-permissive_and_ietf_1.RULE b/src/licensedcode/data/rules/other-permissive_and_ietf_1.RULE new file mode 100644 index 00000000000..7ae385970fc --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_and_ietf_1.RULE @@ -0,0 +1,34 @@ + + Disclaimer and license: Regarding this entire document or any + portion of it (including the pseudocode and C code), the author + makes no guarantees and is not responsible for any damage resulting + from its use. The author grants irrevocable permission to anyone + to use, modify, and distribute it in any way that does not diminish + the rights of anyone else to use, modify, and distribute it, + provided that redistributed derivative works do not contain + misleading author or version information. Derivative works need + not be licensed under similar terms. + + This document and translations of it may be copied and furnished to + others, and derivative works that comment on or otherwise explain it + or assist in its implementation may be prepared, copied, published + and distributed, in whole or in part, without restriction of any + kind, provided that the above copyright notice and this paragraph are + included on all such copies and derivative works. However, this + document itself may not be modified in any way, such as by removing + the copyright notice or references to the Internet Society or other + Internet organizations, except as needed for the purpose of + developing Internet standards in which case the procedures for + copyrights defined in the Internet Standards process must be + followed, or as required to translate it into languages other than + English. + + The limited permissions granted above are perpetual and will not be + revoked by the Internet Society or its successors or assigns. + + This document and the information contained herein is provided on an + "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING + TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION + HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF + MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. diff --git a/src/licensedcode/data/rules/other-permissive_and_ietf_1.yml b/src/licensedcode/data/rules/other-permissive_and_ietf_1.yml new file mode 100644 index 00000000000..8d00b329b33 --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_and_ietf_1.yml @@ -0,0 +1,2 @@ +license_expression: other-permissive AND ietf +is_license_text: yes diff --git a/src/licensedcode/data/rules/other-permissive_and_info-zip-2009-01_1.RULE b/src/licensedcode/data/rules/other-permissive_and_info-zip-2009-01_1.RULE new file mode 100644 index 00000000000..7d84b984eda --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_and_info-zip-2009-01_1.RULE @@ -0,0 +1,16 @@ +distributed under the following license terms: + +"You may incorporate this sample code into your + applications without restriction, though the + sample code has been provided "AS IS" and the + responsibility for its operation is 100% yours. + However, what you are not permitted to do is to + redistribute the source as "DSC Sample Code" after + having made changes. If you're going to + redistribute the source, we require that you make + it clear in the source that the code was descended + from Apple Sample Code, but that you've made + changes." + + The usage terms of this copyright note are compatible with the + Info-ZIP license, they do not add further restrictions. \ No newline at end of file diff --git a/src/licensedcode/data/rules/other-permissive_and_info-zip-2009-01_1.yml b/src/licensedcode/data/rules/other-permissive_and_info-zip-2009-01_1.yml new file mode 100644 index 00000000000..f5e36f00302 --- /dev/null +++ b/src/licensedcode/data/rules/other-permissive_and_info-zip-2009-01_1.yml @@ -0,0 +1,4 @@ +license_expression: other-permissive AND info-zip-2009-01 +is_license_notice: yes +relevance: 100 +notes: Found in old Info-zip diff --git a/src/licensedcode/data/rules/patent-disclaimer_1.RULE b/src/licensedcode/data/rules/patent-disclaimer_1.RULE new file mode 100644 index 00000000000..3ff61a5b507 --- /dev/null +++ b/src/licensedcode/data/rules/patent-disclaimer_1.RULE @@ -0,0 +1 @@ +is the subject of U.S. Patent \ No newline at end of file diff --git a/src/licensedcode/data/rules/patent-disclaimer_1.yml b/src/licensedcode/data/rules/patent-disclaimer_1.yml new file mode 100644 index 00000000000..9a5747a4a5e --- /dev/null +++ b/src/licensedcode/data/rules/patent-disclaimer_1.yml @@ -0,0 +1,4 @@ +license_expression: patent-disclaimer +is_license_notice: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/pcre_7.RULE b/src/licensedcode/data/rules/pcre_7.RULE new file mode 100644 index 00000000000..0d2ff48fbe3 --- /dev/null +++ b/src/licensedcode/data/rules/pcre_7.RULE @@ -0,0 +1 @@ +ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ PCRE2 LICENCE diff --git a/src/licensedcode/data/rules/pcre_7.yml b/src/licensedcode/data/rules/pcre_7.yml new file mode 100644 index 00000000000..74b5f83bd3a --- /dev/null +++ b/src/licensedcode/data/rules/pcre_7.yml @@ -0,0 +1,4 @@ +license_expression: pcre +is_license_reference: yes +ignorable_urls: + - ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ diff --git a/src/licensedcode/data/rules/pcre_8.RULE b/src/licensedcode/data/rules/pcre_8.RULE new file mode 100644 index 00000000000..249757b9c22 --- /dev/null +++ b/src/licensedcode/data/rules/pcre_8.RULE @@ -0,0 +1 @@ +ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ diff --git a/src/licensedcode/data/rules/pcre_8.yml b/src/licensedcode/data/rules/pcre_8.yml new file mode 100644 index 00000000000..74b5f83bd3a --- /dev/null +++ b/src/licensedcode/data/rules/pcre_8.yml @@ -0,0 +1,4 @@ +license_expression: pcre +is_license_reference: yes +ignorable_urls: + - ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ diff --git a/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_2.RULE b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_2.RULE new file mode 100644 index 00000000000..b972619cf81 --- /dev/null +++ b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_2.RULE @@ -0,0 +1 @@ +PolyForm-Noncommercial-1.0 \ No newline at end of file diff --git a/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_2.yml b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_2.yml new file mode 100644 index 00000000000..ed627fe563e --- /dev/null +++ b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_2.yml @@ -0,0 +1,3 @@ +license_expression: polyForm-noncommercial-1.0.0 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_3.RULE b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_3.RULE new file mode 100644 index 00000000000..538ee48fe26 --- /dev/null +++ b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_3.RULE @@ -0,0 +1 @@ +PolyForm-Non-commercial-1.0.0 \ No newline at end of file diff --git a/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_3.yml b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_3.yml new file mode 100644 index 00000000000..ed627fe563e --- /dev/null +++ b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_3.yml @@ -0,0 +1,3 @@ +license_expression: polyForm-noncommercial-1.0.0 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_4.RULE b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_4.RULE new file mode 100644 index 00000000000..f49cb5f4590 --- /dev/null +++ b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_4.RULE @@ -0,0 +1 @@ +[Polyform Noncommercial 1.0.0](https://polyformproject.org/licenses/noncommercial/1.0.0/). \ No newline at end of file diff --git a/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_4.yml b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_4.yml new file mode 100644 index 00000000000..1a92d5a07f7 --- /dev/null +++ b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_4.yml @@ -0,0 +1,6 @@ +license_expression: polyform-noncommercial-1.0.0 +is_license_reference: yes +relevance: 100 +ignorable_urls: + - https://polyformproject.org/licenses/noncommercial/1.0.0 + diff --git a/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_5.RULE b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_5.RULE new file mode 100644 index 00000000000..6b8339fb827 --- /dev/null +++ b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_5.RULE @@ -0,0 +1 @@ +[Polyform Noncommercial] \ No newline at end of file diff --git a/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_5.yml b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_5.yml new file mode 100644 index 00000000000..fea1a5d4af5 --- /dev/null +++ b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_5.yml @@ -0,0 +1,3 @@ +license_expression: polyform-noncommercial-1.0.0 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_6.RULE b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_6.RULE new file mode 100644 index 00000000000..b1421aadf81 --- /dev/null +++ b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_6.RULE @@ -0,0 +1 @@ +[Polyform Non commercial] \ No newline at end of file diff --git a/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_6.yml b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_6.yml new file mode 100644 index 00000000000..fea1a5d4af5 --- /dev/null +++ b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_6.yml @@ -0,0 +1,3 @@ +license_expression: polyform-noncommercial-1.0.0 +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_7.RULE b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_7.RULE new file mode 100644 index 00000000000..8ba39672dc6 --- /dev/null +++ b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_7.RULE @@ -0,0 +1 @@ +changed license from LGPL to [Polyform Noncommercial 1.0.0](https://polyformproject.org/licenses/noncommercial/1.0.0/). \ No newline at end of file diff --git a/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_7.yml b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_7.yml new file mode 100644 index 00000000000..8bc1e8bd001 --- /dev/null +++ b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_7.yml @@ -0,0 +1,6 @@ +license_expression: polyform-noncommercial-1.0.0 +is_license_notice: yes +relevance: 100 +ignorable_urls: + - https://polyformproject.org/licenses/noncommercial/1.0.0 + diff --git a/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_or_commercial-license_1.RULE b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_or_commercial-license_1.RULE new file mode 100644 index 00000000000..efd4aebadf3 --- /dev/null +++ b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_or_commercial-license_1.RULE @@ -0,0 +1 @@ +dual license, Polyform Non Commercial / Commercial license. \ No newline at end of file diff --git a/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_or_commercial-license_1.yml b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_or_commercial-license_1.yml new file mode 100644 index 00000000000..54f3e86a78f --- /dev/null +++ b/src/licensedcode/data/rules/polyform-noncommercial-1.0.0_or_commercial-license_1.yml @@ -0,0 +1,3 @@ +license_expression: polyform-noncommercial-1.0.0 OR commercial-license +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/proprietary-license_504.yml b/src/licensedcode/data/rules/proprietary-license_504.yml index ae1f36ce642..1cc3a78c0d6 100644 --- a/src/licensedcode/data/rules/proprietary-license_504.yml +++ b/src/licensedcode/data/rules/proprietary-license_504.yml @@ -2,7 +2,4 @@ license_expression: proprietary-license is_license_text: yes relevance: 100 notes: an older W3C notice -ignorable_copyrights: - - copyright in Web -ignorable_holders: - - in Web + diff --git a/src/licensedcode/data/rules/proprietary-license_556.RULE b/src/licensedcode/data/rules/proprietary-license_556.RULE new file mode 100644 index 00000000000..536b5a0e7ea --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_556.RULE @@ -0,0 +1,58 @@ + All rights reserved not granted herein. + . + Limited License. + . + Texas Instruments Incorporated grants a world-wide, royalty-free, non-exclusive + license under copyrights and patents it now or hereafter owns or controls to + make, have made, use, import, offer to sell and sell ("Utilize") this software + subject to the terms herein. With respect to the foregoing patent license, + such license is granted solely to the extent that any such patent is necessary + to Utilize the software alone. The patent license shall not apply to any + combinations which include this software, other than combinations with devices + manufactured by or for TI (“TI Devices”). No hardware patent is licensed + hereunder. + . + Redistributions must preserve existing copyright notices and reproduce this + license (including the above copyright notice and the disclaimer and (if + applicable) source code license limitations below) in the documentation and/or + other materials provided with the distribution + . + Redistribution and use in binary form, without modification, are permitted + provided that the following conditions are met: + . + * No reverse engineering, decompilation, or disassembly of this software + is permitted with respect to any software provided in binary form. + . + * any redistribution and use are licensed by TI for use only with TI + Devices. + . + * Nothing shall obligate TI to provide you with source code for the + software licensed and provided to you in object code. + . + If software source code is provided to you, modification and redistribution of + the source code are permitted provided that the following conditions are met: + . + * any redistribution and use of the source code, including any resulting + derivative works, are licensed by TI for use only with TI Devices. + . + * any redistribution and use of any object code compiled from the source + code and any resulting derivative works, are licensed by TI for use + only with TI Devices. + . + Neither the name of Texas Instruments Incorporated nor the names of its + suppliers may be used to endorse or promote products derived from this software + without specific prior written permission. + . + DISCLAIMER. + . + THIS SOFTWARE IS PROVIDED BY TI AND TI’S LICENSORS "AS IS" AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO + EVENT SHALL TI AND TI’S LICENSORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + diff --git a/src/licensedcode/data/rules/proprietary-license_556.yml b/src/licensedcode/data/rules/proprietary-license_556.yml new file mode 100644 index 00000000000..663089473dd --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_556.yml @@ -0,0 +1,4 @@ +license_expression: proprietary-license +is_license_text: yes +relevance: 100 + diff --git a/src/licensedcode/data/rules/proprietary-license_557.RULE b/src/licensedcode/data/rules/proprietary-license_557.RULE new file mode 100644 index 00000000000..ab3ceebf8ac --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_557.RULE @@ -0,0 +1,4 @@ +is a trademark of , registered in the +United States and other countries. All trademarks are used +with permission. Other products and brand names may be trademarks or registered +trademarks of their respective owners. diff --git a/src/licensedcode/data/rules/proprietary-license_557.yml b/src/licensedcode/data/rules/proprietary-license_557.yml new file mode 100644 index 00000000000..45654f4929f --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_557.yml @@ -0,0 +1,4 @@ +license_expression: proprietary-license +is_license_notice: yes +minimum_coverage: 90 +relevance: 50 diff --git a/src/licensedcode/data/rules/proprietary-license_558.RULE b/src/licensedcode/data/rules/proprietary-license_558.RULE new file mode 100644 index 00000000000..4f17cc5a2dd --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_558.RULE @@ -0,0 +1,536 @@ +SystemC Open Source License Agreement +(Download, Use and Contribution License Agreement Version 3.3) + +PLEASE READ THIS LICENSE AGREEMENT CAREFULLY BEFORE CLICKING ON THE "ACCEPT" +BUTTON, AS BY CLICKING ON THE "ACCEPT" BUTTON YOU ACKNOWLEDGE THAT YOU +HAVE READ, UNDERSTOOD AND AGREE TO BE BOUND BY THIS LICENSE AGREEMENT AND +ALL OF ITS TERMS AND CONDITIONS. + +Accellera Systems Initiative + +The purpose of the following license agreement (the "Agreement") is to encourage interoperability and +development of a C++ modeling language known as "SystemC" for system simulation and design (the +"Purpose"). The SystemC software and other items licensed hereunder are licensed, without fee of any kind, +for use pursuant to the terms and conditions set forth in this Agreement. + +License Agreement + +THE CONTRIBUTORS ARE WILLING TO LICENSE THEIR RESPECTIVE CONTRIBUTIONS TO YOU ONLY +ON THE CONDITION THAT YOU ACCEPT ALL OF THE TERMS OF THIS LICENSE AGREEMENT. IF YOU +DO NOT AGREE TO ALL OF THE TERMS OF THIS LICENSE AGREEMENT, THEN NO RIGHTS ARE +GRANTED TO YOU HEREUNDER TO USE ANY CONTRIBUTIONS. NOTWITHSTANDING ANYTHING TO +CONTRARY, ANY USE, REPRODUCTION OR DISTRIBUTION OF ANY CONTRIBUTION CONSTITUTES +YOUR ACCEPTANCE OF THIS AGREEMENT. + +1. Definitions + +1.1 “Agreement” means this contract. +1.2 “Accellera” means Accellera Systems Initiative, a California nonprofit mutual benefit corporation. +1.3 “Accellera Documentation” means the SystemC language reference manual and any other materials +assigned to Accellera pursuant to the Copyright Agreement. +1.4 “Accellera Release” means a Contribution or combination of Contributions which is developed or +created through the Accellera working group process, and the final work approved for release by a Accellera +working group, approved for release by the Accellera steering group and approved for release by the board of +directors of Accellera. Examples of Accellera Releases include Accellera libraries and Accellera +specifications. Accellera Documentation shall be deemed to be included in the definition of Accellera +Release. +1.5 “Code Contribution” means any Contribution in the form of Source Code. +1.6 “Contribution” means any work of authorship that is deposited or contributed in accordance with +Section 3 in furtherance of the Purpose including, without limitation, libraries, programs, specifications +and User Documentation and Modifications. Without limiting the generality of the foregoing, a list of all +Contributions which were deposited or contributed on or before July 13, 2006 is set forth on Exhibit A +attached hereto and incorporated herein by reference, all of which are considered Contributions pursuant to +this Agreement. A list of all Contributions is available upon written request to Accellera and can also be +found on the Website. For purposes of clarification, all contributions licensed pursuant to that certain +SystemC Open Source License Agreement (Software Download and Use License Agreement Version 2.4) +shall constitute, and be treated as, Contributions pursuant to this Agreement. +1.7 “Copyright Agreement” means any LRM and Copyright Contribution Agreement entered into +between Accellera and the signatory thereto at any time prior to or after the date hereof. +1.8 “ Contribution Questionnaire” means the questionnaire attached hereto as Exhibit C. +1.9 “Contributor” means any person or entity that makes a Contribution pursuant to Section 3. For +purposes of clarification, any person or entity depositing or contributing, as part or all of a Contribution, a +Contribution which has previously been so deposited or contributed is not the Contributor of such re- +deposited Contribution for the purposes of this Agreement. A list of all Contributors is available upon written +request to Accellera and can also be found on the Website. +1.10 “Contributor's Necessary Patent Claims” means those claims of all patents owned or licensable by +Contributor throughout the world that: (1) Contributor has the right to license (within the scope set forth +herein) without the obligation to pay royalties or other consideration to third parties; and (2) are necessarily +and directly infringed solely by the portion of a computer program that either implements, or is compiled +from, either an unmodified Contribution or an Accellera Release. For clarity, Contributor’s Necessary Patent +Claims shall not include any claim directed towards a data structure, method, algorithm, process, technique, +circuit representation, or circuit implementation that is not completely and entirely described either in such +Contributor’s Contribution or in an Accellera Release. Further, a Contributor’s Necessary Patent Claims shall +not include any claim based upon the combination of any Contribution or an Accellera Release with other +works of authorship, to the extent that the Contributor’s Necessary Patent Claims are infringed as a result of +such combination. +1.11 “Copyright Rights” means worldwide statutory and common law rights associated solely with works +of authorship including copyrights, copyright applications, copyright registrations, and “moral rights”. For +purposes of clarification, patents are not included in Copyright Rights. +1.12 “Derivative” or “Derivative work” means a work based upon one or more preexisting works, such +as a translation, condensation, or any other form in which a work may be recast, transformed, or +adapted. A work consisting of editorial revisions, annotations, elaborations, or other modifications, which, +as a whole, represent an original work of authorship, is a “derivative work”. +1.13 “Distribute” means making a Distribution. +1.14 “Distribution” means any distribution, sublicensing or other transfer of a Contribution to any third +party. +1.15 “Documentation” means, collectively, all User Documentation and Accellera Documentation. +1.16 “Marks” means, collectively, the registered and unregistered marks and logos that Accellera has +licensed or otherwise authorized Recipient to use. All marks and logos are listed on Exhibit D, which list +may be amended from time to time by Accellera to add or delete any marks or logos. +1.17 “Modification” means any additions or deletions to any Contribution. +1.18 “Recipient” means any person or entity which receives any Contribution under this Agreement. For +legal entities, “Recipient” includes any entity that controls, is controlled by, or is under common control with +Recipient. For purposes of this Section 1.18, “control” means beneficial ownership of fifty percent (50%) or +more of the outstanding shares or similar interest of such entity entitled to vote for election of the board of +directors or similar managing authority. +1.19 “Source Code” means human readable text in an electronic form suitable for modification that +describe the functions and data structures, including C, C++, and other language modules, plus any associated +interface definition files, scripts used to control compilation and installation of a computer program, or a list +of source code differential comparisons. +1.20 “User Documentation” means all user guides, user manuals and other similar materials related to any +Contribution or an Accellera Release. +1.21 “Website” means Accellera’s internet website located at http://www.accellera.org. + +2. GRANT OF RIGHTS + +2.1 Subject to the terms of this Agreement, each Contributor hereby grants to each Recipient a non- +exclusive, worldwide, royalty-free license under such Contributor's Copyright Rights to do the following: +(a) Use, reproduce, prepare Derivative works of, publicly display, publicly perform and Distribute any +Contributions of such Contributor and Derivative works thereof; and +(b) Use the know-how, information and knowledge embedded in the Contribution, without any +obligation to keep the foregoing confidential so long as the Recipient does not otherwise violate this +Agreement. +2.2 Accellera hereby grants to each Recipient a non-exclusive, worldwide, royalty- free license under +Accellera's Copyright Rights to use, reproduce, prepare Derivative works of, publicly display, publicly +perform and distribute the Accellera Documentation and any Derivative works thereof, subject to the terms +and conditions of this Agreement. +2.3 Subject to the terms of this Agreement, each Contributor hereby grants to each Recipient, a worldwide, +royalty-free, non-exclusive license under such Contributor's Necessary Patent Claims to make, have made, +use, sell, offer for sale, or import: (a) such Contributor's Contributions; (b) those portions of a computer +program that either implements, or is compiled from, the Contributor’s unmodified Contribution; and (c) +those portions of a computer program that implement, or are compiled from, an Accellera Release. +2.4 Each Contributor represents that, to its knowledge, it has sufficient rights in and to each of its +Contributions to grant the licenses set forth in Sections 2.1 and 2.3. Accellera represents that, to its +knowledge, it has sufficient rights in the Accellera Documentation to grant the license set forth in Section +2.2. +2.5 Except as expressly stated in Sections 2.1, 2.2 and 2.3, Recipient receives no rights or licenses to the +intellectual property of any Contributor or Accellera under this Agreement, whether expressly, by implication, +estoppel or otherwise. All rights in and to any Contribution not expressly granted under this Agreement are +reserved. +2.6 Except as specifically set forth in any Copyright Agreement, Contributor shall ensure that transfers or +assignments of all or any part of its right, title, and interest in and to any Contributions contributed or +deposited by Contributor hereunder, including all Copyright Rights and patent rights embodied therein, +shall be subject to the rights expressly granted in this Agreement including, without limitation, the licenses +granted in Sections 2.1 and 2.3. Recipient shall not remove or alter any proprietary notices contained in +the Contributions licensed to Recipient hereunder and shall reproduce and include such notices on any copies +of the Contributions made by Recipient in any media. +2.7 License to Marks. +(a) Accellera shall retain all right, title and interest in and to the Marks worldwide, subject to the +limited license granted to Recipient in this Section 2.7. Accellera hereby grants Recipient a non- +exclusive, royalty-free, limited license to use the Marks solely in connection with its exercise of +the rights granted pursuant to this Agreement and to indicate that the products being marketed by +Recipient are compatible with, and meet the standards of, Accellera Releases. All uses of the Marks +shall be in accordance with Accellera’s trademark usage policy set forth in Exhibit D. +(b) Recipient shall assist Accellera to the extent reasonably necessary to protect and maintain the +Marks worldwide, including, but not limited to, giving prompt notice to Accellera of any known or +potential infringement of the Marks, and cooperating with Accellera in preparing and executing any +documents necessary to register the Marks, or as may be required by the laws or rules of any country +or jurisdiction. In its sole discretion, Accellera may commence, prosecute or defend any action or +claim concerning the Marks. Accellera shall have the right to control any such litigation, and +Recipient shall fully cooperate with Accellera in any such litigation. Accellera shall reimburse +Recipient for the reasonable costs associated with providing such assistance, except to the extent that +such costs result from Recipient’s breach of this Section 2.7. Recipient shall not commence any action +regarding the Marks without Accellera’s prior written consent. +(c) All goodwill with respect to the Marks shall accrue for the sole benefit of Accellera. +Recipient shall maintain the quality of any products, associated packaging, collateral and marketing +materials on which it uses any of the Marks in a manner consistent with all terms, conditions and +requirements set forth in this Section 2.7 and at a level that meets or exceeds Recipient’s overall +reputation for quality and that is at least commensurate with industry standards. +2.8 RECIPIENT UNDERSTANDS THAT ALTHOUGH EACH CONTRIBUTOR AND ACCELLERA GRANTS +THE LICENSES SET FORTH HEREIN, NO ASSURANCES ARE PROVIDED BY ANY CONTRIBUTOR OR +ACCELLERA THAT ANY ACCELLERA RELEASE OR ANY CONTRIBUTION, EITHER ALONE OR IN +COMBINATION WITH ANY OTHER CONTRIBUTION, DOES NOT INFRINGE THE PATENT OR OTHER +INTELLECTUAL PROPERTY RIGHTS OF ANY OTHER ENTITY. MOREOVER, NO ASSURANCES ARE +MADE THAT ANY CONTRIBUTION OF ONE CONTRIBUTOR DOES NOT INFRINGE THE INTELLECTUAL +PROPERTY RIGHTS OF ANOTHER CONTRIBUTOR. EACH CONTRIBUTOR AND ACCELLERA DISCLAIM +ANY LIABILITY TO RECIPIENT FOR CLAIMS BROUGHT BY ANY OTHER ENTITY BASED ON +INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS OR OTHERWISE. In addition, as a condition to +exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to +secure any other intellectual property rights needed, if any. For example, if a third party patent license is +required to allow Recipient to distribute a computer program, then it is Recipient's responsibility to acquire +that license before Distributing such computer program. + +3. DESCRIPTION AND DEPOSIT OF CONTRIBUTIONS + +3.1 To the extent Recipient wishes to become a Contributor by making a Contribution, such +Contributor shall: +(a) (i) Deposit such Contribution at the Website according to the Contribution instructions found at +such Website, or (ii) disclose such Contribution at a meeting of any working group of Accellera; +(b) (i) Describe such Contribution in reasonable detail on Exhibit B (including the additions or +changes such Contributor made to create the Contribution and the date of any such changes or +additions), (ii) completing a Contribution Questionnaire with respect to such Contribution, and (iii) +delivering both documents to the Secretary of Accellera. All Contributions made after the date +hereof shall be effectuated by Contributor (x) amending Exhibit B and delivering such amended +Exhibit B to the Secretary of Accellera, which amended exhibit shall automatically replace the existing +Exhibit B, (y) completing a Contribution Questionnaire with respect to such Contribution, and (z) +delivering both documents to the Secretary of Accellera; +(c) Cause such Contribution to contain a file documenting such Contributor's name and contact +information, additions or changes such Contributor made to create the Contribution, and the date of +any such changes or additions; and +(d) Cause such Contribution to include in each file a prominent statement substantially similar to the +following: “Any code contained in this Contribution is derived, directly or indirectly, from the +SystemC source code. Copyright© 1996-[current year here] by all Contributors. All Rights reserved. +The contents of this file are subject to the restrictions and limitations set forth in the SystemC Open +Source License Version 3.1 (the “License”). You may not use this file except in compliance with such +restrictions and limitations. You may obtain instructions on how to receive a copy of the License at +http://www.accellera.org/. Software distributed by Contributors under the License is distributed +exclusively on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or +implied. See the License for the specific language governing rights and limitations under the License.” +3.2 Accellera may from time to time publish policies and procedures regarding the contribution or +depositing of Contributions as well as establish additional details regarding the contribution process. Without +limiting the foregoing, Accellera or the administrators of the Website shall have the right to remove any +Contribution from the Website at any time. + +4. REQUIREMENTS OF DISTRIBUTION + +4.1 A Recipient may choose to Distribute any Contribution or any compilation of multiple Contributions +(except for any Code Contributions) under its own license agreement provided that: +(a) Recipient complies with the terms and conditions of this Agreement; +(b) As between Recipient and any other Contributor, Recipient assumes all warranties and conditions, +express and implied, and all liability for damages arising out of its Distribution; and +(c) Recipient makes available to recipients of such Distribution then Source Code for such +Distributions, and informs them on how to obtain it in a reasonable manner on or through a medium +customarily used for software exchange. +4.2 If a Recipient chooses to Distribute any Code Contribution or compilations of Code Contributions +then: +(a) Such Code Contribution must be Distributed under this Agreement; and +(b) A copy of this Agreement must be included with each copy of such Code Contribution. +4.3 Each Recipient must include the following in a conspicuous location in the Code Contribution so +Distributed: “Copyright© 1996-[current year here], by all Contributors. All rights reserved.” +4.4 In addition, each Recipient that creates and Distributes or otherwise transfers a Modification whether +or not such Modification has been deposited pursuant to Section 3 must identify the originator of such +Modification in a manner that reasonably allows third parties to identify the originator of the Modification. +4.5 A Recipient may choose to Distribute the Accellera Documentation under its own license agreement, +provided that Recipient complies with the terms and conditions of this Agreement. Each Recipient must +include the following in a conspicuous location in the Accellera Documentation so Distributed or transferred: +“Copyright© 1996-[current year here], by Accellera Systems Initiative. All rights reserved.” +In addition, each Recipient that creates and Distributes a modification or Derivative work of the Accellera +Documentation, whether or not such modification or Derivative work has been contributed pursuant to a +Copyright Agreement must identify the originator of such modification or Derivative work in a manner that +reasonably allows third parties to identify the originator of the modification or derivative work. + +5. INDEMNIFICATION + +Any Recipient which Distributes any Contribution and/or Accellera Release (a “Distributor”) may accept +certain responsibilities with respect to end users, business partners and the like. While this license is +intended to facilitate the commercial use of Contributions Accellera Documentation and Accellera +Releases, a Distributor shall Distribute such Contributions, Accellera Documentation and Accellera Releases +in a manner which does not create potential liability for the Contributors. Therefore each Distributor hereby +agrees to defend and indemnify every Contributor (“Indemnified Contributor”) against any losses, +damages and costs (collectively “Losses”) arising from claims, lawsuits and other legal actions brought +by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such +Distributor, including but not limited to the terms and conditions under which Distributor offered such +Contributions, Accellera Documentation and/or Accellera Releases in connection with its Distribution thereof. +The obligations in this Section 5 do not apply to any claims or Losses relating to any actual or alleged +intellectual property infringement of any Contribution, Accellera Documentation or Accellera Release. In +order to qualify, an Indemnified Contributor must: (a) promptly notify the Distributor in writing of such +claim, and (b) allow the Distributor to control, and cooperate with the Distributor in, the defense and any +related settlement negotiations. The Indemnified Contributor may participate in the defense of any such claim +at its own expense. +For example, a Recipient might include a Contribution in a commercial product offering, Product X. That +Recipient is then a Distributor. If that Distributor then makes performance claims, or offers warranties, +support, or indemnity or any other license terms related to Product X, those performance claims, offers and +other terms are such Distributor's responsibility alone. Under this Section 5, the Distributor would have to +defend claims against the Contributors related to those performance claims, offers, and other terms, and if a +court requires any Contributor to pay any damages as a result, the Distributor must pay those damages. + +6. NO WARRANTY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, ALL CONTRIBUTIONS, ACCELLERA +DOCUMENTATION AND ACCELLERA RELEASES ARE PROVIDED EXCLUSIVELY ON AN “AS IS” BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, +WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, +MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. EACH RECIPIENT IS SOLELY +RESPONSIBLE FOR DETERMINING THE APPROPRIATENESS OF ITS USE AND DISTRIBUTION OF ANY +CONTRIBUTION, ACCELLERA DOCUMENTATION AND ACCELLERA RELEASE AND ASSUMES ALL +RISKS ASSOCIATED WITH ITS EXERCISE OF RIGHTS UNDER THIS AGREEMENT, INCLUDING BUT NOT +LIMITED TO THE RISKS AND COSTS OF PROGRAM ERRORS, COMPLIANCE WITH APPLICABLE LAWS, +DAMAGE TO OR LOSS OF DATA, PROGRAMS OR EQUIPMENT, AND UNAVAILABILITY OR +INTERRUPTION OF OPERATIONS. THIS DISCLAIMER OR WARRANTY CONSTITUTES AN ESSENTIAL +PART OF THIS AGREEMENT. NO USE OF ANY CONTRIBUTION, ACCELLERA DOCUMENTATION OR +ACCELLERA RELEASE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + +7. DISCLAIMER OF LIABILITY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NONE OF THE RECIPIENTS, CONTRIBUTORS +OR ACCELLERA SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, PUNITIVE, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST +PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE +USE OR DISTRIBUTION OF ANY CONTRIBUTION, ACCELLERA DOCUMENTATION OR ACCELLERA +RELEASE OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + +8. U.S. GOVERNMENT USE + +If Recipient is licensing any computer program on behalf of any unit or agency of the United States +Government, then such computer program is commercial computer software, and, pursuant to FAR 12.212 or +DFARS 227.7202 and their successors, as applicable, shall be licensed to the Government under the terms and +conditions of this Agreement. + +9. PATENT CLAIMS + +If Recipient institutes patent litigation against any entity (including a cross-claim, counterclaim or declaratory +judgment claim in a lawsuit) alleging that any Contribution, Accellera Release or combination of +Contributions (excluding combinations of any Contribution with other software or hardware) infringes such +Recipient's patent(s), then the rights granted to Recipient by each Contributor under Section 2 shall terminate +as of the date such litigation is filed. + +10. TERMINATION + +All Recipient's rights under this Agreement shall terminate if Recipient fails to comply with any of the +material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time +after becoming aware of such noncompliance. If such occurs, Recipient shall cease all use and Distribution of +any Contributions of any other Contributor, Accellera Documentation and Accellera Releases based upon the +rights granted to Recipient under this Agreement as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by Recipient relating to any +Contributions shall survive such termination. + +11. LICENSE VERSIONS + +Accellera may publish new versions (including revisions) of this Agreement from time to time. Each +new version of the Agreement will be given a distinguishing version number. Any Contribution, Accellera +Documentation or Accellera Release may always be Distributed subject to the version of the Agreement under +which it was received. In addition, after a new version of the Agreement is published, Contributor may elect +to Distribute any Contribution, Accellera Documentation or Accellera Release under the new version. No +one other than Accellera, acting by a vote of at least seventy five percent (75%) of the members of its Board +of Directors, has the right to modify this Agreement; provided that Exhibit B and Exhibit C may be amended +as specifically set forth in Section 3.1(b), and Exhibit D may be amended as specifically set forth in Section +1.13. + +12. ELECTRONIC ACCEPTANCE + +This Agreement may be executed either electronically or on paper. If this Agreement is executed +electronically, by clicking on the “Accept” button, Recipient warrants that it agrees to all of the terms of this +Agreement, that Recipient is authorized to enter into this Agreement, and that this Agreement is legally +binding upon Recipient. If Recipient does not agree to be bound by this Agreement, then Recipient shall +click the “Decline” button and Recipient shall not receive any rights from the Contributors nor shall +Recipient download any Contributions, Accellera Documentation or Accellera Releases. + +13. GENERAL + +This Agreement represents the complete agreement concerning the subject matter hereof and supersedes all +prior agreements or representations, oral or written, regarding the subject matter hereof. If any provision of +this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or +enforceability of the remainder of the terms of this Agreement, and without further action by the parties +hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and +enforceable. This Agreement shall be executed in multiple counterparts (either electronically and/or on paper), +each of which shall be deemed to be an original, but all of which shall be one and the same Agreement. A +facsimile or other copy of the Agreement shall have the same force and effect as an originally executed copy +thereof. +This Agreement is governed by the laws of California, without reference to conflict of laws principles. Each +party waives its rights to a jury trial in any resulting litigation. Any litigation relating to this Agreement shall +be subject to the jurisdiction of the Federal Courts of the Northern District of California, with venue lying in +Santa Clara County, California, or the Santa Clara County Superior Court. The application of the United +Nations Convention on Contracts for the International Sale of Goods is expressly excluded. The provisions of +this Agreement shall be construed fairly in accordance with its terms and no rules of construction for or +against either party shall be applied in the interpreting this Agreement. Recipient shall not use any +Contribution, Accellera Documentation or Accellera Release in violation of local and other applicable laws +including, but not limited to, the export control laws of the United States. + + + +IN WITNESS WHEREOF, duly authorized representatives of the parties have executed and delivered this +Agreement as of the later of the dates set forth below. + +RECIPIENT: +By: +Name: +Its: +Date: +ACCELLERA SYSTEMS INITIATIVE: +By: +Name: +Its: +Date: + +EXHIBIT A +List of Contributions as of July 13, 2006 + +Number Contribution +1. Updated TLM Proposal +2. TLM Extensions +3. Abstract titled "Transaction Level Modeling in SystemC" +4. Code and related material entitled "SCE-API Example - Standard Co-emulation APO v1.8 Spec and Routed + Example" +5. Code and related material entitled "Simplebus v2.2 Example for SystemC v2.0. +6. Code and related material entitled "SystemC Generic Transaction Level Communication Channel." +7. Review of TLM API code and related documents. +8. SystemC Verification Library version 1.0; versions 1.1, 1.2, 2.0, 2.0.1 of the SystemC modeling language as + released by Accellera and which are, or were, available for download on the website prior to the + agreement; version 2.1 (beta 11) of the SystemC modeling language to be released and made available by + Open SystemC Initiative for download on the website. +9. Code and related material entitled "System Design with SystemC Examples." +10. Presentation document titled "Towards a SystemC Transaction Level Modeling Standard," dated June + 2004; presentation document titled "TLM Extensions," dated April 2004; presentation document titled + "Updated TLM Proposal," dated March 29, 2004; abstract titled "Transaction Level Modeling in System C." +11. Code and related material entitled "MP3 Decoder Example plus Performance Benchmark." +12. SystemC October 12 Library. +13. Source code modifications to the SystemC Library embodied in the October 12, 2004 kit + (system_2_z_lib.oct_12_2004.tgz). + Source code modifications to the SystemC Regression Test Suite embodied in the October 12, 2004 kit + (systemc_2_1_tests.oct_12_2004.tgz). +14. Synthesizable Subset 1.0. +15. TLM Contribution (Presentation documents; abstract; code; proposal dated 3/24/04). +16. Updated version of TLM kit +17. Code and related material “2.1 Beta Regression Tests” +18. Code and related material “OSCI SystemC 2.1 Beta” +19. SystemC 2.1 +20. Assorted recommendations for enhancements, bug fixes and improved cross-platform support, including + project files for Microsoft Visual C++ versions 6.0 and 7.1 that are contained within the files systemc- + 2.1.05may05.tgz and systemc_tests-2.105may05.tgz. +21. Minor modifications incorporated in SystemC 2.1 open source implementation dated July 14, 2005 to + permit port to Microsoft VC++ Version 7. +22. Numerous modifications incorporated in SystemC 2.1 open source implementation dated July 14, 2005. +23. A collection of interfaces and implementations in SystemC for analysis objects. + A collection of interfaces and implementations in SystemC for configuring components in a design. +24. Modifications to the most recent version of SCV which allow it to run under the SystemC-2.1v1 kit. +25. Set of header files intended to be included in the SystemC TLM Modeling library code. The API provides + for 1 interfaces: (a) “Atom at once (Variously called BA, PVT, CC) in which a single atom is transported at + once. +26. Modifications included in SystemC 2.2 library labeled “systemc-2.2.04feb06.tgz;” + Modifications included in SystemC 2.2 test suites labeled “systemc_tests-2.2.04feb06.tgz.” +27. Modifications to the SystemC 2.2 library to enable the port to gcc version 4; + Addition of compliance_1666 tests to the SystemC 2.2 regression test suite. +28. OSCI_TL3_2006_03_01.zip, including any updates of any of the foregoing, and + OSCI_SCML_Memory_and_Bitfield_2006_03_01.zip, including any updates of any of the foregoing. +29. C++/SystemC Code for Mentor’s SMI System PVT channel implementation; An example of a protocol + specific SystemC PVT channel implementation; Design examples using the above channel models; A + white-paper describing the channel implementations. + +EXHIBIT B +Form of Description of Contributions + +A. Description of Contributions +1. +2. + +The undersigned hereby makes the Contributions described above +pursuant to the term, conditions and limitations of the SystemC +License. +By: +Name: +Its: +Date: +Address: +Tel: +Fax: +Email: + +EXHIBIT C +Contribution Questionnaire +Contribution Number (see Exhibit B): +Date: +1. Is Contributor a member of Accellera Systems Initiative? +□ Yes +□ No +If Contributor is a member of Accellera Systems Initiative, please indicate Contributor’s membership status +and complete questions 2 or 3 (as applicable): +□ Corporate Member +□ Associate Member +If Contributor is not a member of Accellera Systems Initiative, please skip questions 2 and 3 and go to +question 4. + +2. If Contributor is a Corporate Member or Associate Member of Accellera Systems Initiative, please indicate the +name, title, and contact information for the person making this Contribution on behalf of such Corporate Member +or Associate Member: +Name: +Title: +Address: +Phone: +Fax: +Email: + +3. If Contributor is not a member of Accellera Systems Initiative, then please complete the following: +If the Contributor is a natural person, please indicate the name and address of Contributor’s employer +and the title of the position held at such employer: +Name of Employer: +Title with such Employer: +Address: +Phone: +Fax: +Email: +If Contributor is an entity (corporation, limited liability company, partnership), then please indicate the +name, title, and contact information for the person making this Contribution on behalf of such Contributor. +Entity Name: +Name: +Title: +Address: +Phone: +Fax: +Email: + +EXHIBIT D + +Trademark Usage Policy + +I. LIST OF MARKS +1. Open SystemC +2. Open SystemC Initiative +3. OSCI +4. SystemC +5. SystemC Initiative +6. All logos that incorporate the foregoing word marks + +II. PROPER USE OF MARKS +Trademarks and service marks function as adjectives and generally should not be used as nouns or verbs. +Accordingly, as often as possible, the Marks should be used as adjectives immediately preceding the generic +noun that refers to the service in question. For example: +The SystemC® software +The OSCI® LRM +No Possessives or Plurals. Since they are not nouns, the Marks should never be used in the possessive or +plural forms. For example, it is not appropriate to write “SystemC’s software.” +No Use as Verbs or as Puns. The Marks should never be used as verbs or as puns. + +III. PROPER ATTRIBUTION +Trademark ownership is attributed in two ways, with the use of a symbol (TM, SM, ®) after the mark and with a +legal legend, usually found at the end of a document following the copyright notice. Following are Accellera’s +rules for symbols and legends to attribute the Marks: +Symbols: +Which Symbol Do I Use? +The Marks generally function as trademarks rather than service marks. Unless you are specifically directed +otherwise, please use the ® symbol after the Marks. +Where Do I Place the ® Symbol? +The ® symbol is placed immediately after the mark, either in superscript or subscript. +When Do I Use the Symbol? +The ® symbol is to be used after the Marks in the following instances: +Most Prominent Uses: A ® symbol is required after prominent uses of the Marks, e.g., in the headlines and +large print text of web pages, advertisements, other promotional materials and press releases, except where +space limitations or specific style considerations prevent compliance with this requirement. +First Use in Text: A ® symbol is required after the first use of each Mark in text, e.g. advertising copy or the +body of press releases, even though the symbol may have already appeared in the headline or after another +prominent use of the mark in the same document. +All Logos: The ® symbol must appear after all logos incorporating the Marks. + +IV. LEGENDS +All Marks that appear on a web page or in a press release, advertisement or other written material (whether in +print or electronic form) must be attributed in an appropriate legend. The legend may be presented in +“mouseprint” but must be large enough to be read easily. Legends generally appear at the end of a document or +the bottom of a web page but may be placed elsewhere, e.g. the inside covers of documentation. +The Accellera Systems Initiative Legend: The following legend should be used in all materials in which any +of the Marks appear: +[Insert the Marks] are trademarks or registered trademarks of Accellera Systems Initiative, Inc. in the United +States and other countries and are used with permission. + +V. MARKS NEVER COMBINED +The Marks should never be combined with the marks of any business other than Accellera. The Marks should +always appear visually separate from any other marks appearing in the same materials such that each mark +creates a distinct commercial impression. It would, for instance, not be appropriate to superimpose the logo of +another business over any Accellera logo. + +VI. LOGOS +Logos incorporating the Marks can only be used in the format provided to you by Accellera for incorporation +into your materials or web pages. The logos provided to you by Accellera cannot be modified in any way +without Accellera’s prior written approval. Logos copied from Accellera web pages or other materials may not +to be used. Please contact info@accellera.org to obtain electronic files containing the Accellera logos and to +ask any question regarding the logos. \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_558.yml b/src/licensedcode/data/rules/proprietary-license_558.yml new file mode 100644 index 00000000000..fef6a49a576 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_558.yml @@ -0,0 +1,16 @@ +license_expression: proprietary-license +is_license_text: yes +relevance: 100 +notes: Seen in https://www.accellera.org/images/about/policies/SystemC_Open_Source_License_v3.3.pdf +ignorable_authors: + - through the Accellera working group process +ignorable_copyrights: + - (c) 1996- current + - Copyright (c) 1996- current year here by all Contributors +ignorable_emails: + - info@accellera.org +ignorable_holders: + - here by all Contributors +ignorable_urls: + - http://www.accellera.org/ + diff --git a/src/licensedcode/data/rules/proprietary-license_559.RULE b/src/licensedcode/data/rules/proprietary-license_559.RULE new file mode 100644 index 00000000000..68427ec5c58 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_559.RULE @@ -0,0 +1,2 @@ +Your use of Firebase is governed by the +[Terms of Service for Firebase Services](https://firebase.google.com/terms/). \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_559.yml b/src/licensedcode/data/rules/proprietary-license_559.yml new file mode 100644 index 00000000000..5625bd1ae39 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_559.yml @@ -0,0 +1,7 @@ +license_expression: proprietary-license +is_license_notice: yes +relevance: 100 +notes: See in Firebase iOS SDK +ignorable_urls: + - https://firebase.google.com/terms + diff --git a/src/licensedcode/data/rules/proprietary-license_560.RULE b/src/licensedcode/data/rules/proprietary-license_560.RULE new file mode 100644 index 00000000000..9b2e0d310b7 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_560.RULE @@ -0,0 +1,2 @@ +Your use of Firebase is governed by the +[Terms of Service for Firebase Services] \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_560.yml b/src/licensedcode/data/rules/proprietary-license_560.yml new file mode 100644 index 00000000000..fcc36d70e5d --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_560.yml @@ -0,0 +1,4 @@ +license_expression: proprietary-license +is_license_notice: yes +relevance: 100 +notes: See in Firebase iOS SDK diff --git a/src/licensedcode/data/rules/proprietary-license_561.RULE b/src/licensedcode/data/rules/proprietary-license_561.RULE new file mode 100644 index 00000000000..9ceb82ecbb4 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_561.RULE @@ -0,0 +1 @@ +[Terms of Service for Firebase Services] \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_561.yml b/src/licensedcode/data/rules/proprietary-license_561.yml new file mode 100644 index 00000000000..0d0a3f6e968 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_561.yml @@ -0,0 +1,4 @@ +license_expression: proprietary-license +is_license_reference: yes +relevance: 100 +notes: See in Firebase iOS SDK diff --git a/src/licensedcode/data/rules/proprietary-license_562.RULE b/src/licensedcode/data/rules/proprietary-license_562.RULE new file mode 100644 index 00000000000..7fb852e84a1 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_562.RULE @@ -0,0 +1 @@ +https://firebase.google.com/terms/ \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_562.yml b/src/licensedcode/data/rules/proprietary-license_562.yml new file mode 100644 index 00000000000..9a198094554 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_562.yml @@ -0,0 +1,7 @@ +license_expression: proprietary-license +is_license_reference: yes +relevance: 100 +notes: See in Firebase iOS SDK +ignorable_urls: + - https://firebase.google.com/terms/ + diff --git a/src/licensedcode/data/rules/proprietary-license_563.RULE b/src/licensedcode/data/rules/proprietary-license_563.RULE new file mode 100644 index 00000000000..48516c83589 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_563.RULE @@ -0,0 +1,412 @@ +COOPERATIVE SOFTWARE LICENSE + +THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS +COPYFARLEFT PUBLIC LICENSE ("LICENSE"). THE WORK IS PROTECTED BY +COPYRIGHT AND ALL OTHER APPLICABLE LAWS. ANY USE OF THE WORK OTHER THAN +AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. BY +EXERCISING ANY RIGHTS TO THE WORK PROVIDED IN THIS LICENSE, YOU AGREE +TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE +MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS +CONTAINED HERE IN AS CONSIDERATION FOR ACCEPTING THE TERMS AND +CONDITIONS OF THIS LICENSE AND FOR AGREEING TO BE BOUND BY THE TERMS +AND CONDITIONS OF THIS LICENSE. + +1. DEFINITIONS + + a. "Adaptation" means a work based upon the Work, or upon the + Work and other pre-existing works, such as a translation, + adaptation, derivative work, arrangement of music or other + alterations of a literary or artistic work, or phonogram or + performance and includes cinematographic adaptations or any + other form in which the Work may be recast, transformed, or + adapted including in any form recognizably derived from the + original, except that a work that constitutes a Collection will + not be considered an Adaptation for the purpose of this License. + For the avoidance of doubt, where the Work is a musical work, + performance or phonogram, the synchronization of the Work in + timed-relation with a moving image ("synching") will be + considered an Adaptation for the purpose of this License. + + b. "Collection" means a collection of literary or artistic + works, such as encyclopedias and anthologies, or performances, + phonograms or broadcasts, or other works or subject matter other + than works listed in Section 1(f) below, which, by reason of the + selection and arrangement of their contents, constitute + intellectual creations, in which the Work is included in its + entirety in unmodified form along with one or more other + contributions, each constituting separate and independent works + in themselves, which together are assembled into a collective + whole. A work that constitutes a Collection will not be + considered an Adaptation (as defined above) for the purposes of + this License. + + c. "Distribute" means to make available to the public the + original and copies of the Work or Adaptation, as appropriate, + through sale, gift or any other transfer of possession or + ownership. + + d. "Licensor" means the individual, individuals, entity or + entities that offer(s) the Work under the terms of this License. + + e. "Original Author" means, in the case of a literary or + artistic work, the individual, individuals, entity or entities + who created the Work or if no individual or entity can be + identified, the publisher; and in addition (i) in the case of a + performance the actors, singers, musicians, dancers, and other + persons who act, sing, deliver, declaim, play in, interpret or + otherwise perform literary or artistic works or expressions of + folklore; (ii) in the case of a phonogram the producer being the + person or legal entity who first fixes the sounds of a + performance or other sounds; and, (iii) in the case of + broadcasts, the organization that transmits the broadcast. + + f. "Work" means the literary and/or artistic work offered under + the terms of this License including without limitation any + production in the literary, scientific and artistic domain, + whatever may be the mode or form of its expression including + digital form, such as a book, pamphlet and other writing; a + lecture, address, sermon or other work of the same nature; a + dramatic or dramatico-musical work; a choreographic work or + entertainment in dumb show; a musical composition with or + without words; a cinematographic work to which are assimilated + works expressed by a process analogous to cinematography; a work + of drawing, painting, architecture, sculpture, engraving or + lithography; a photographic work to which are assimilated works + expressed by a process analogous to photography; a work of + applied art; an illustration, map, plan, sketch or + three-dimensional work relative to geography, topography, + architecture or science; a performance; a broadcast; a + phonogram; a compilation of data to the extent it is protected + as a copyrightable work; or a work performed by a variety or + circus performer to the extent it is not otherwise considered a + literary or artistic work. + + g. "You" means an individual or entity exercising rights under + this License who has not previously violated the terms of this + License with respect to the Work, or who has received express + permission from the Licensor to exercise rights under this + License despite a previous violation. + + h. "Publicly Perform" means to perform public recitations of the + Work and to communicate to the public those public recitations, + by any means or process, including by wire or wireless means or + public digital performances; to make available to the public + Works in such a way that members of the public may access these + Works from a place and at a place individually chosen by them; + to perform the Work to the public by any means or process and + the communication to the public of the performances of the Work, + including by public digital performance; to broadcast and + rebroadcast the Work by any means including signs, sounds or + images. + + i. "Reproduce" means to make copies of the Work by any means + including without limitation by sound or visual recordings and + the right of fixation and reproducing fixations of the Work, + including storage of a protected performance or phonogram in + digital form or other electronic medium. + + j. "Software" means any digital Work which, through use of a + third-party piece of Software or through the direct usage of + itself on a computer system, the memory of the computer is + modified dynamically or semi-dynamically. "Software", + secondly, processes or interprets information. + + k. "Source Code" means the human-readable form of Software + through which the Original Author and/or Distributor originally + created, derived, and/or modified it. + + l. "Web Service" means the use of a piece of Software to + interpret or modify information that is subsequently and directly + served to users over the Internet. + +2. FAIR DEALING RIGHTS + + Nothing in this License is intended to reduce, limit, or restrict any + uses free from copyright or rights arising from limitations or + exceptions that are provided for in connection with the copyright + protection under copyright law or other applicable laws. + +3. LICENSE GRANT + + Subject to the terms and conditions of this License, Licensor hereby + grants You a worldwide, royalty-free, non-exclusive, perpetual (for the + duration of the applicable copyright) license to exercise the rights in + the Work as stated below: + + a. to Reproduce the Work, to incorporate the Work into one or + more Collections, and to Reproduce the Work as incorporated in + the Collections; + + b. to create and Reproduce Adaptations provided that any such + Adaptation, including any translation in any medium, takes + reasonable steps to clearly label, demarcate or otherwise + identify that changes were made to the original Work. For + example, a translation could be marked "The original work was + translated from English to Spanish," or a modification could + indicate "The original work has been modified."; + + c. to Distribute and Publicly Perform the Work including as + incorporated in Collections; and, + + d. to Distribute and Publicly Perform Adaptations. The above + rights may be exercised in all media and formats whether now + known or hereafter devised. The above rights include the right + to make such modifications as are technically necessary to + exercise the rights in other media and formats. Subject to + Section 8(g), all rights not expressly granted by Licensor are + hereby reserved, including but not limited to the rights set + forth in Section 4(h). + +4. RESTRICTIONS + + The license granted in Section 3 above is expressly made subject to and + limited by the following restrictions: + + a. You may Distribute or Publicly Perform the Work only under + the terms of this License. You must include a copy of, or the + Uniform Resource Identifier (URI) for, this License with every + copy of the Work You Distribute or Publicly Perform. You may not + offer or impose any terms on the Work that restrict the terms of + this License or the ability of the recipient of the Work to + exercise the rights granted to that recipient under the terms of + the License. You may not sublicense the Work. You must keep + intact all notices that refer to this License and to the + disclaimer of warranties with every copy of the Work You + Distribute or Publicly Perform. When You Distribute or Publicly + Perform the Work, You may not impose any effective technological + measures on the Work that restrict the ability of a recipient of + the Work from You to exercise the rights granted to that + recipient under the terms of the License. This Section 4(a) + applies to the Work as incorporated in a Collection, but this + does not require the Collection apart from the Work itself to be + made subject to the terms of this License. If You create a + Collection, upon notice from any Licensor You must, to the + extent practicable, remove from the Collection any credit as + required by Section 4(f), as requested. If You create an + Adaptation, upon notice from any Licensor You must, to the + extent practicable, remove from the Adaptation any credit as + required by Section 4(f), as requested. + + b. Subject to the exception in Section 4(e), you may not + exercise any of the rights granted to You in Section 3 above in + any manner that is primarily intended for or directed toward + commercial advantage or private monetary compensation. The + exchange of the Work for other copyrighted works by means of + digital file-sharing or otherwise shall not be considered to be + intended for or directed toward commercial advantage or private + monetary compensation, provided there is no payment of any + monetary compensation in connection with the exchange of + copyrighted works. + + c. If the Work meets the definition of Software, You may exercise + the rights granted in Section 3 only if You provide a copy of the + corresponding Source Code from which the Work was derived in digital + form, or You provide a URI for the corresponding Source Code of + the Work, to any recipients upon request. + + d. If the Work is used as or for a Web Service, You may exercise + the rights granted in Section 3 only if You provide a copy of the + corresponding Source Code from which the Work was derived in digital + form, or You provide a URI for the corresponding Source Code to the + Work, to any recipients of the data served or modified by the Web + Service. + + e. You may exercise the rights granted in Section 3 for + commercial purposes only if you satisfy any of the following: + + i. You are a worker-owned business or worker-owned + collective; and + ii. after tax, all financial gain, surplus, profits and + benefits produced by the business or collective are + distributed among the worker-owners + iii. You are not using such rights on behalf of a business + other than those specified in 4(e.i) and elaborated upon in + 4(e.ii), nor are using such rights as a proxy on behalf of a + business with the intent to circumvent the aforementioned + restrictions on such a business. + + f. Any use by a business that is privately owned and managed, + and that seeks to generate profit from the labor of employees + paid by salary or other wages, is not permitted under this + license. + + g. If You Distribute, or Publicly Perform the Work or any + Adaptations or Collections, You must, unless a request has been + made pursuant to Section 4(a), keep intact all copyright notices + for the Work and provide, reasonable to the medium or means You + are utilizing: (i) the name of the Original Author (or + pseudonym, if applicable) if supplied, and/or if the Original + Author and/or Licensor designate another party or parties (e.g., + a sponsor institute, publishing entity, journal) for attribution + ("Attribution Parties") in Licensor!s copyright notice, terms of + service or by other reasonable means, the name of such party or + parties; (ii) the title of the Work if supplied; (iii) to the + extent reasonably practicable, the URI, if any, that Licensor + specifies to be associated with the Work, unless such URI does + not refer to the copyright notice or licensing information for + the Work; and, (iv) consistent with Section 3(b), in the case of + an Adaptation, a credit identifying the use of the Work in the + Adaptation (e.g., "French translation of the Work by Original + Author," or "Screenplay based on original Work by Original + Author"). The credit required by this Section 4(f) may be + implemented in any reasonable manner; provided, however, that in + the case of a Adaptation or Collection, at a minimum such credit + will appear, if a credit for all contributing authors of the + Adaptation or Collection appears, then as part of these credits + and in a manner at least as prominent as the credits for the + other contributing authors. For the avoidance of doubt, You may + only use the credit required by this Section for the purpose of + attribution in the manner set out above and, by exercising Your + rights under this License, You may not implicitly or explicitly + assert or imply any connection with, sponsorship or endorsement + by the Original Author, Licensor and/or Attribution Parties, as + appropriate, of You or Your use of the Work, without the + separate, express prior written permission of the Original + Author, Licensor and/or Attribution Parties. + + h. For the avoidance of doubt: + + i. Non-waivable Compulsory License Schemes. In those + jurisdictions in which the right to collect royalties + through any statutory or compulsory licensing scheme + cannot be waived, the Licensor reserves the exclusive + right to collect such royalties for any exercise by You of + the rights granted under this License; + + ii. Waivable Compulsory License Schemes. In those + jurisdictions in which the right to collect royalties + through any statutory or compulsory licensing scheme can + be waived, the Licensor reserves the exclusive right to + collect such royalties for any exercise by You of the + rights granted under this License if Your exercise of such + rights is for a purpose or use which is otherwise than + noncommercial as permitted under Section 4(b) and + otherwise waives the right to collect royalties through + any statutory or compulsory licensing scheme; and, + iii.Voluntary License Schemes. The Licensor reserves the + right to collect royalties, whether individually or, in + the event that the Licensor is a member of a collecting + society that administers voluntary licensing schemes, via + that society, from any exercise by You of the rights + granted under this License that is for a purpose or use + which is otherwise than noncommercial as permitted under + Section 4(b). + + i. Except as otherwise agreed in writing by the Licensor or as + may be otherwise permitted by applicable law, if You Reproduce, + Distribute or Publicly Perform the Work either by itself or as + part of any Adaptations or Collections, You must not distort, + mutilate, modify or take other derogatory action in relation to + the Work which would be prejudicial to the Original Author's + honor or reputation. Licensor agrees that in those jurisdictions + (e.g. Japan), in which any exercise of the right granted in + Section 3(b) of this License (the right to make Adaptations) + would be deemed to be a distortion, mutilation, modification or + other derogatory action prejudicial to the Original Author's + honor and reputation, the Licensor will waive or not assert, as + appropriate, this Section, to the fullest extent permitted by + the applicable national law, to enable You to reasonably + exercise Your right under Section 3(b) of this License (right to + make Adaptations) but not otherwise. + +5. REPRESENTATIONS, WARRANTIES AND DISCLAIMER + + UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR + OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY + KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, + INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, + FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF + LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF + ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW + THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO + YOU. + +6. LIMITATION ON LIABILITY + + EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL + LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, + INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF + THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED + OF THE POSSIBILITY OF SUCH DAMAGES. + +7. TERMINATION + + a. This License and the rights granted hereunder will terminate + automatically upon any breach by You of the terms of this + License. Individuals or entities who have received Adaptations + or Collections from You under this License, however, will not + have their licenses terminated provided such individuals or + entities remain in full compliance with those licenses. Sections + 1, 2, 5, 6, 7, and 8 will survive any termination of this + License. + + b. Subject to the above terms and conditions, the license + granted here is perpetual (for the duration of the applicable + copyright in the Work). Notwithstanding the above, Licensor + reserves the right to release the Work under different license + terms or to stop distributing the Work at any time; provided, + however that any such election will not serve to withdraw this + License (or any other license that has been, or is required to + be, granted under the terms of this License), and this License + will continue in full force and effect unless terminated as + stated above. + +8. MISCELLANEOUS + + a. Each time You Distribute or Publicly Perform the Work or a + Collection, the Licensor offers to the recipient a license to + the Work on the same terms and conditions as the license granted + to You under this License. + + b. Each time You Distribute or Publicly Perform an Adaptation, + Licensor offers to the recipient a license to the original Work + on the same terms and conditions as the license granted to You + under this License. + + c. If the Work is classified as Software, each time You Distribute + or Publicly Perform an Adaptation, Licensor offers to the recipient + a copy and/or URI of the corresponding Source Code on the same + terms and conditions as the license granted to You under this License. + + d. If the Work is used as a Web Service, each time You Distribute + or Publicly Perform an Adaptation, or serve data derived from the + Software, the Licensor offers to any recipients of the data a copy + and/or URI of the corresponding Source Code on the same terms and + conditions as the license granted to You under this License. + + e. If any provision of this License is invalid or unenforceable + under applicable law, it shall not affect the validity or + enforceability of the remainder of the terms of this License, + and without further action by the parties to this agreement, + such provision shall be reformed to the minimum extent necessary + to make such provision valid and enforceable. + + f. No term or provision of this License shall be deemed waived + and no breach consented to unless such waiver or consent shall + be in writing and signed by the party to be charged with such + waiver or consent. + + g. This License constitutes the entire agreement between the + parties with respect to the Work licensed here. There are no + understandings, agreements or representations with respect to + the Work not specified here. Licensor shall not be bound by any + additional provisions that may appear in any communication from + You. This License may not be modified without the mutual written + agreement of the Licensor and You. + + h. The rights granted under, and the subject matter referenced, + in this License were drafted utilizing the terminology of the + Berne Convention for the Protection of Literary and Artistic + Works (as amended on September 28, 1979), the Rome Convention of + 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances + and Phonograms Treaty of 1996 and the Universal Copyright + Convention (as revised on July 24, 1971). These rights and + subject matter take effect in the relevant jurisdiction in which + the License terms are sought to be enforced according to the + corresponding provisions of the implementation of those treaty + provisions in the applicable national law. If the standard suite + of rights granted under applicable copyright law includes + additional rights not granted under this License, such + additional rights are deemed to be included in the License; this + License is not intended to restrict the license of any rights + under applicable law. \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_563.yml b/src/licensedcode/data/rules/proprietary-license_563.yml new file mode 100644 index 00000000000..9cd7438b4b5 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_563.yml @@ -0,0 +1,4 @@ +license_expression: proprietary-license +is_license_text: yes +relevance: 100 +notes: Seen in https://lynnesbian.space/csl/plain/ diff --git a/src/licensedcode/data/rules/proprietary-license_564.RULE b/src/licensedcode/data/rules/proprietary-license_564.RULE new file mode 100644 index 00000000000..8d68d83cab0 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_564.RULE @@ -0,0 +1,482 @@ +This License grants rights to study, execute, modify and redistribute the +Software or its derivatives to any Licensee, but reserve the commercial use of +these rights to the only entities defined in Article 3. Any redistribution or +online interaction with the Software or its derivative must be done +accordingly to the License’s conditions. + +1. Definitions + +“This License” refers to the CoopCycle License. + +“Copyright” also means copyright-like laws that apply to other kinds of works, +such as semiconductor masks. + +“The Program” refers to any copyrightable work licensed under this License. +Each licensee is addressed as “you”. “Licensees” and “recipients” may be +individuals or organizations. + +To “modify” a work means to copy from or adapt all or part of the work in a +fashion requiring copyright permission, other than the making of an exact +copy. The resulting work is called a “modified version” of the earlier work or +a work “based on” the earlier work. + +A “covered work” means either the unmodified Program or a work based on the +Program. + +To “propagate” a work means to do anything with it that, without permission, +would make you directly or secondarily liable for infringement under +applicable copyright law, except executing it on a computer or modifying a +private copy. Propagation includes copying, distribution (with or without +modification), making available to the public, and in some countries other +activities as well. To “convey” a work means any kind of propagation that +enables other parties to make or receive copies. Mere interaction with a user +through a computer network, with no transfer of a copy, is not conveying. + +An interactive user interface displays “Appropriate Legal Notices” to the +extent that it includes a convenient and prominently visible feature that (1) +displays an appropriate copyright notice, and (2) tells the user that there is +no warranty for the work (except to the extent that warranties are provided), +that licensees may convey the work under this License, and how to view a copy +of this License. If the interface presents a list of user commands or options, +such as a menu, a prominent item in the list meets this criterion. + +2. Source Code + +The “source code” for a work means the preferred form of the work for making +modifications to it. “Object code” means any non-source form of a work. + +A “Standard Interface” means an interface that either is an official standard +defined by a recognized standards body, or, in the case of interfaces +specified for a particular programming language, one that is widely used among +developers working in that language. + +The “System Libraries” of an executable work include anything, other than the +work as a whole, that (a) is included in the normal form of packaging a Major +Component, but which is not part of that Major Component, and (b) serves only +to enable use of the work with that Major Component, or to implement a +Standard Interface for which an implementation is available to the public in +source code form. A “Major Component”, in this context, means a major +essential component (kernel, window system, and so on) of the specific +operating system (if any) on which the executable work runs, or a compiler +used to produce the work, or an object code interpreter used to run it. The +“Corresponding Source” for a work in object code form means all the source +code needed to generate, install, and (for an executable work) run the object +code and to modify the work, including scripts to control those activities. +However, it does not include the work's System Libraries, or general-purpose +tools or generally available free programs which are used unmodified in +performing those activities but which are not part of the work. For example, +Corresponding Source includes interface definition files associated with +source files for the work, and the source code for shared libraries and +dynamically linked subprograms that the work is specifically designed to +require, such as by intimate data communication or control flow between those +subprograms and other parts of the work. + +The Corresponding Source need not include anything that users can regenerate +automatically from other parts of the Corresponding Source. + +The Corresponding Source for a work in source code form is that same work. + +3. Commercial use + +Commercial use of the rights granted by this License is exclusively granted to +the entities satisfying the following : 1° Matching with the social and common +company’s criteria as define by their national law, or by the European +Commission in its October 25th, 2011 communication, or by default by the +Article 1 of the French law n°2014-856 of July 31st, 2014 “relative à +l’économie sociale et solidaire” 2° Using a cooperative model in which workers +are employees + +As an exception to point I.2° of this Article, the rights previously stated +are also granted to: individual workers using wage portage entities working +with such workers; if they don’t also work with sole proprietors or +freelancers. + +Form a commercial use of the rights to study, execute, modify or distribute +any use aiming to acquire an economical advantage or a financial compensation. + +Are also considered as commercial the following uses : any use of the software +by an entity which purpose is to make profits any trade, online or otherwise, +of the software against another work protected by IP rights, only if +advertising or sponsorship revenues are produced, directly or indirectly, or +if a payment of any nature is made in relation to this trade. + +4. Basic Permissions + +All rights granted under this License are granted for the term of copyright on +the Program, and are irrevocable provided the stated conditions are met. This +License explicitly affirms your unlimited permission to run the unmodified +Program. The output from running a covered work is covered by this License +only if the output, given its content, constitutes a covered work. This +License acknowledges your rights of fair use or other equivalent, as provided +by copyright law. + +You may make, run and propagate covered works that you do not convey, without +conditions so long as your license otherwise remains in force. You may convey +covered works to others for the sole purpose of having them make modifications +exclusively for you, or provide you with facilities for running those works, +provided that you comply with the terms of this License in conveying all +material for which you do not control copyright. Those thus making or running +the covered works for you must do so exclusively on your behalf, under your +direction and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + +Conveying under any other circumstances is permitted solely under the +conditions stated below. Sublicensing is not allowed; section 10 makes it +unnecessary. + +5. Protecting Users' Legal Rights From Anti-Circumvention Law + +No covered work shall be deemed part of an effective technological measure +under any applicable law fulfilling obligations under article 11 of the WIPO +copyright treaty adopted on 20 December 1996, or similar laws prohibiting or +restricting circumvention of such measures. + +When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention is +effected by exercising rights under this License with respect to the covered +work, and you disclaim any intention to limit operation or modification of the +work as a means of enforcing, against the work's users, your or third parties' +legal rights to forbid circumvention of technological measures. + +6. Conveying Verbatim Copies + +You may convey verbatim copies of the Program's source code as you receive it, +in any medium, provided that you conspicuously and appropriately publish on +each copy an appropriate copyright notice; keep intact all notices stating +that this License and any non-permissive terms added in accord with section 7 +apply to the code; keep intact all notices of the absence of any warranty; and +give all recipients a copy of this License along with the Program. + +You may charge any price or no price for each copy that you convey, and you +may offer support or warranty protection for a fee. + +7. Conveying Modified Source Versions + +You may convey a work based on the Program, or the modifications to produce it +from the Program, in the form of source code under the terms of section 4, +provided that you also meet all of these conditions: +• a) The work must carry prominent notices stating that you modified it, and +giving a relevant date. +• b) The work must carry prominent notices stating that it is released under +this License and any conditions added under section 7. This requirement +modifies the requirement in section 4 to “keep intact all notices”. +• c) You must license the entire work, as a whole, under this License to +anyone who comes into possession of a copy. This License will therefore apply, +along with any applicable section 7 additional terms, to the whole of the +work, and all its parts, regardless of how they are packaged. This License +gives no permission to license the work in any other way, but it does not +invalidate such permission if you have separately received it. +• d) If the work has interactive user interfaces, each must display +Appropriate Legal Notices; however, if the Program has interactive interfaces +that do not display Appropriate Legal Notices, your work need not make them do +so. + +A compilation of a covered work with other separate and independent works, +which are not by their nature extensions of the covered work, and which are +not combined with it such as to form a larger program, in or on a volume of a +storage or distribution medium, is called an “aggregate” if the compilation +and its resulting copyright are not used to limit the access or legal rights +of the compilation's users beyond what the individual works permit. Inclusion +of a covered work in an aggregate does not cause this License to apply to the +other parts of the aggregate. + +8. Conveying Non-Source Forms + +You may convey a covered work in object code form under the terms of sections +4 and 5, provided that you also convey the machine-readable Corresponding +Source under the terms of this License, in one of these ways: +• a) Convey the object code in, or embodied in, a physical product (including +a physical distribution medium), accompanied by the Corresponding Source fixed +on a durable physical medium customarily used for software interchange. +• b) Convey the object code in, or embodied in, a physical product (including +a physical distribution medium), accompanied by a written offer, valid for at +least three years and valid for as long as you offer spare parts or customer +support for +that product model, to give anyone who possesses the object code either (1) a +copy of the Corresponding Source for all the software in the product that is +covered by this License, on a durable physical medium customarily used for +software interchange, for a price no more than your reasonable cost of +physically performing this conveying of source, or (2) access to copy the +Corresponding Source from a network server at no charge. +• c) Convey individual copies of the object code with a copy of the written +offer to provide the Corresponding Source. This alternative is allowed only +occasionally and noncommercially, and only if you received the object code +with such an offer, in accord with subsection 6b. +• d) Convey the object code by offering access from a designated place (gratis +or for a charge), and offer equivalent access to the Corresponding Source in +the same way through the same place at no further charge. You need not require +recipients to copy the Corresponding Source along with the object code. If the +place to copy the object code is a network server, the Corresponding Source +may be on a different server (operated by you or a third party) that supports +equivalent copying facilities, provided you maintain clear directions next to +the object code saying where to find the Corresponding Source. Regardless of +what server hosts the Corresponding Source, you remain obligated to ensure +that it is available for as long as needed to satisfy these requirements. +• e) Convey the object code using peer-to-peer transmission, provided you +inform other peers where the object code and Corresponding Source of the work +are being offered to the general public at no charge under subsection 6d. + +A separable portion of the object code, whose source code is excluded from the +Corresponding Source as a System Library, need not be included in conveying +the object code work. + +A “User Product” is either (1) a “consumer product”, which means any tangible +personal property which is normally used for personal, family, or household +purposes, or (2) anything designed or sold for incorporation into a dwelling. +In determining whether a product is a consumer product, doubtful cases shall +be resolved in favor of coverage. For a particular product received by a +particular user, “normally used” refers to a typical or common use of that +class of product, regardless of the status of the particular user or of the +way in which the particular user actually uses, or expects or is expected to +use, the product. A product is a consumer product regardless of whether the +product has substantial commercial, industrial or non-consumer uses, unless +such uses represent the only significant mode of use of the product. + +“Installation Information” for a User Product means any methods, procedures, +authorization keys, or other information required to install and execute +modified versions of a covered work in that User Product from a modified +version of its Corresponding Source. The information must suffice to ensure +that the continued functioning of the modified object code is in no case +prevented or interfered with solely because modification has been made. + +If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as part of a +transaction in which the right of possession and use of the User Product is +transferred to the recipient in perpetuity or for a fixed term (regardless of +how the transaction is characterized), the Corresponding Source conveyed under +this section must be accompanied by the Installation Information. But this +requirement does not apply if neither you nor any third party retains the +ability to install modified object code on the User Product (for example, the +work has been installed in ROM). + +The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates for a +work that has been modified or installed by the recipient, or for the User +Product in which it has been modified or installed. Access to a network may be +denied when the modification itself materially and adversely affects the +operation of the network or violates the rules and protocols for communication +across the network. + +Corresponding Source conveyed, and Installation Information provided, in +accord with this section must be in a format that is publicly documented (and +with an implementation available to the public in source code form), and must +require no special password or key for unpacking, reading or copying. + +9. Additional Terms + +“Additional permissions” are terms that supplement the terms of this License +by making exceptions from one or more of its conditions. Additional +permissions that are applicable to the entire Program shall be treated as +though they were included in this License, to the extent that they are valid +under applicable law. If additional permissions apply only to part of the +Program, that part may be used separately under those permissions, but the +entire Program remains governed by this License without regard to the +additional permissions. + +When you convey a copy of a covered work, you may at your option remove any +additional permissions from that copy, or from any part of it. (Additional +permissions may be written to require their own removal in certain cases when +you modify the work.) You may place additional permissions on material, added +by you to a covered work, for which you have or can give appropriate copyright +permission. + +Notwithstanding any other provision of this License, for material you add to a +covered work, you may (if authorized by the copyright holders of that +material) supplement the terms of this License with terms: +• a) Disclaiming warranty or limiting liability differently from the terms of +sections 15 and 16 of this License; or +• b) Requiring preservation of specified reasonable legal notices or author +attributions in that material or in the Appropriate Legal Notices displayed by +works containing it; or +• c) Prohibiting misrepresentation of the origin of that material, or +requiring that modified versions of such material be marked in reasonable ways +as different from the original version; or +• d) Limiting the use for publicity purposes of names of licensors or authors +of the material; or +• e) Declining to grant rights under trademark law for use of some trade +names, trademarks, or service marks; or +• f) Requiring indemnification of licensors and authors of that material by +anyone who conveys the material (or modified versions of it) with contractual +assumptions of liability to the recipient, for any liability that these +contractual assumptions directly impose on those licensors and authors. + +All other non-permissive additional terms are considered “further +restrictions” within the meaning of section 10. If the Program as you received +it, or any part of it, contains a notice stating that it is governed by this +License along with a term that is a further restriction, you may remove that +term. If a license document contains a further restriction but permits +relicensing or conveying under this License, you may add to a covered work +material governed by the terms of that license document, provided that the +further restriction does not survive such relicensing or conveying. + +If you add terms to a covered work in accord with this section, you must +place, in the relevant source files, a statement of the additional terms that +apply to those files, or a notice indicating where to find the applicable +terms. + +Additional terms, permissive or non-permissive, may be stated in the form of a +separately written license, or stated as exceptions; the above requirements +apply either way. + +10. Termination + +You may not propagate or modify a covered work except as expressly provided +under this License. Any attempt otherwise to propagate or modify it is void, +and will automatically terminate your rights under this License (including any +patent licenses granted under the third paragraph of section 11). + +However, if you cease all violation of this License, then your license from a +particular copyright holder is reinstated (a) provisionally, unless and until +the copyright holder explicitly and finally terminates your license, and (b) +permanently, if the copyright holder fails to notify you of the violation by +some reasonable means prior to 60 days after the cessation. + +Moreover, your license from a particular copyright holder is reinstated +permanently if the copyright holder notifies you of the violation by some +reasonable means, this is the first time you have received notice of violation +of this License (for any work) from that copyright holder, and you cure the +violation prior to 30 days after your receipt of the notice. + +Termination of your rights under this section does not terminate the licenses +of parties who have received copies or rights from you under this License. If +your rights have been terminated and not permanently reinstated, you do not +qualify to receive new licenses for the same material under section 10. + +11. Acceptance Not Required for Having Copies + +You are not required to accept this License in order to receive or run a copy +of the Program. Ancillary propagation of a covered work occurring solely as a +consequence of using peer-to-peer transmission to receive a copy likewise does +not require acceptance. However, nothing other than this License grants you +permission to propagate or modify any covered work. These actions infringe +copyright if you do not accept this License. Therefore, by modifying or +propagating a covered work, you indicate your acceptance of this License to do +so. + +12. Automatic Licensing of Downstream Recipients + +Each time you convey a covered work, the recipient automatically receives a +license from the original licensors, to run, modify and propagate that work, +subject to this License. You are not responsible for enforcing compliance by +third parties with this License. An “entity transaction” is a transaction +transferring control of an organization, or substantially all assets of one, +or subdividing an organization, or merging organizations. If propagation of a +covered work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever licenses to +the work the party's predecessor in interest had or could give under the +previous paragraph, plus a right to possession of the Corresponding Source of +the work from the predecessor in interest, if the predecessor has it or can +get it with reasonable efforts. + +You may not impose any further restrictions on the exercise of the rights +granted or affirmed under this License. For example, you may not impose a +license fee, royalty, or other charge for exercise of rights granted under +this License, and you may not initiate litigation (including a cross-claim or +counterclaim in a lawsuit) alleging that any patent claim is infringed by +making, using, selling, offering for sale, or importing the Program or any +portion of it. + +13. Patents + +A “contributor” is a copyright holder who authorizes use under this License of +the Program or a work on which the Program is based. The work thus licensed is +called the contributor's “contributor version”. + +A contributor's “essential patent claims” are all patent claims owned or +controlled by the contributor, whether already acquired or hereafter acquired, +that would be infringed by some manner, permitted by this License, of making, +using, or selling its contributor version, but do not include claims that +would be infringed only as a consequence of further modification of the +contributor version. For purposes of this definition, “control” includes the +right to grant patent sublicenses in a manner consistent with the requirements +of this License. + +Each contributor grants you a non-exclusive, worldwide, royalty-free patent +license under the contributor's essential patent claims, to make, use, sell, +offer for sale, import and otherwise run, modify and propagate the contents of +its contributor version. + +In the following three paragraphs, a “patent license” is any express agreement +or commitment, however denominated, not to enforce a patent (such as an +express permission to practice a patent or covenant not to sue for patent +infringement). To “grant” such a patent license to a party means to make such +an agreement or commitment not to enforce a patent against the party. + +If you convey a covered work, knowingly relying on a patent license, and the +Corresponding Source of the work is not available for anyone to copy, free of +charge and under the terms of this License, through a publicly available +network server or other readily accessible means, then you must either (1) +cause the Corresponding Source to be so available, or (2) arrange to deprive +yourself of the benefit of the patent license for this particular work, or (3) +arrange, in a manner consistent with the requirements of this License, to +extend the patent license to downstream recipients. “Knowingly relying” means +you have actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work in a +country, would infringe one or more identifiable patents in that country that +you have reason to believe are valid. + +If, pursuant to or in connection with a single transaction or arrangement, you +convey, or propagate by procuring conveyance of, a covered work, and grant a +patent license to some of the parties receiving the covered work authorizing +them to use, propagate, modify or convey a specific copy of the covered work, +then the patent license you grant is automatically extended to all recipients +of the covered work and works based on it. A patent license is +“discriminatory” if it does not include within the scope of its coverage, +prohibits the exercise of, or is conditioned on the non-exercise of one or +more of the rights that are specifically granted under this License. You may +not convey a covered work if you are a party to an arrangement with a third +party that is in the business of distributing software, under which you make +payment to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the parties who +would receive the covered work from you, a discriminatory patent license (a) +in connection with copies of the covered work conveyed by you (or copies made +from those copies), or (b) primarily for and in connection with specific +products or compilations that contain the covered work, unless you entered +into that arrangement, or that patent license was granted, prior to 28 March +2007. + +Nothing in this License shall be construed as excluding or limiting any +implied license or other defenses to infringement that may otherwise be +available to you under applicable patent law. + +14. No Surrender of Others' Freedom + +If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not excuse +you from the conditions of this License. If you cannot convey a covered work +so as to satisfy simultaneously your obligations under this License and any +other pertinent obligations, then as a consequence you may not convey it at +all. For example, if you agree to terms that obligate you to collect a royalty +for further conveying from those to whom you convey the Program, the only way +you could satisfy both those terms and this License would be to refrain +entirely from conveying the Program. + +15. Disclaimer of Warranty + +THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE +LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER +EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO +THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM +PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR +CORRECTION. + +16. Limitation of Liability + +IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY +COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM +AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, +SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR +INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR +DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR +A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH +HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +17. Interpretation of Sections 15 and 16 + +If the disclaimer of warranty and limitation of liability provided above +cannot be given local legal effect according to their terms, reviewing courts +shall apply local law that most closely approximates an absolute waiver of all +civil liability in connection with the Program, unless a warranty or +assumption of liability accompanies a copy of the Program in return for a fee. \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_564.yml b/src/licensedcode/data/rules/proprietary-license_564.yml new file mode 100644 index 00000000000..af27f19ef3a --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_564.yml @@ -0,0 +1,4 @@ +license_expression: proprietary-license +is_license_text: yes +relevance: 100 +notes: Seen in https://wiki.coopcycle.org/en:license and https://github.com/coopcycle/coopcycle-web/blob/master/LICENSE diff --git a/src/licensedcode/data/rules/proprietary-license_565.RULE b/src/licensedcode/data/rules/proprietary-license_565.RULE new file mode 100644 index 00000000000..830638b0b0c --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_565.RULE @@ -0,0 +1,159 @@ +This License grants rights to study, execute, modify and redistribute the Software or its derivatives to any Licensee, but reserve the commercial use of these rights to the only entities defined in Article 3. Any redistribution or online interaction with the Software or its derivative must be done accordingly to the License’s conditions. + +1. Definitions + +“This License” refers to the Coopyleft License. + +“Copyright” also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. + +“The Program” refers to any copyrightable work licensed under this License. Each licensee is addressed as “you”. “Licensees” and “recipients” may be individuals or organizations. + +To “modify” a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a “modified version” of the earlier work or a work “based on” the earlier work. + +A “covered work” means either the unmodified Program or a work based on the Program. + +To “propagate” a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To “convey” a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. + +An interactive user interface displays “Appropriate Legal Notices” to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. + +2. Source Code + +The “source code” for a work means the preferred form of the work for making modifications to it. “Object code” means any non-source form of a work. + +A “Standard Interface” means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. + +The “System Libraries” of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A “Major Component”, in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The “Corresponding Source” for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. + +The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. + +The Corresponding Source for a work in source code form is that same work. + +3. Commercial use + +I. Commercial use of the rights granted by this License is exclusively granted to the entities satisfying the following : + + Matching with the social and common company’s criteria as define by their national law, or by the European Commission in its October 25th, 2011 communication, or by default by the Article 1 of the French law n°2014-856 of July 31st, 2014 “relative à l’économie sociale et solidaire” + Using a cooperative model in which workers are employees + +As an exception to point I.2° of this Article, the rights previously stated are also granted to: + + individual workers using wage portage + entities working with such workers; if they don’t also work with sole proprietors or freelancers. + +II. Form a commercial use of the rights to study, execute, modify or distribute any use aiming to acquire an economical advantage or a financial compensation. Are always considered as commercial the following uses : + + any use of the software by an entity which purpose is to make profits + any trade, online or otherwise, of the software against another work protected by IP rights, only if advertising or sponsorship revenues are produced, directly or indirectly, or if a payment of any nature is made in relation to this trade. + +Exceptionally, the modification and distribution of the Software or its derivatives are permitted against payment when they have resulted in a service contract entered into for the benefit of a structure that meets the conditions of paragraph 1 of this article and providing for the assignment of the resulting property rights on the Software to the said structure. + + any use of the Software by an entity in connection with revenue generating activities; + any online or other exchange of the Software against another work protected by an intellectual property right but only when direct or indirect advertising or sponsorship revenues are generated, or any payment of any kind whatsoever takes place relationship with this exchange. + +4. Basic Permissions + +All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. + +You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. + +Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. + +5. Protecting Users' Legal Rights From Anti-Circumvention Law + +No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. + +When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. + +6. Conveying Verbatim Copies + +You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. + +You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. + +7. Conveying Modified Source Versions + +You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: • a) The work must carry prominent notices stating that you modified it, and giving a relevant date. • b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to “keep intact all notices”. • c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. • d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. + +A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an “aggregate” if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. + +8. Conveying Non-Source Forms + +You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: • a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. • b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. • c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. • d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. • e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. + +A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. + +A “User Product” is either (1) a “consumer product”, which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, “normally used” refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. + +“Installation Information” for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. + +If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). + +The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. + +Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. + +9. Additional Terms + +“Additional permissions” are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. + +When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. + +Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: • a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or • b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or • c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or • d) Limiting the use for publicity purposes of names of licensors or authors of the material; or • e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or • f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. + +All other non-permissive additional terms are considered “further restrictions” within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. + +If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. + +Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. + +10. Termination + +You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). + +However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. + +Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. + +Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. + +11. Acceptance Not Required for Having Copies + +You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. + +12. Automatic Licensing of Downstream Recipients + +Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An “entity transaction” is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. + +You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. + +13. Patents + +A “contributor” is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's “contributor version”. + +A contributor's “essential patent claims” are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, “control” includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. + +Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. + +In the following three paragraphs, a “patent license” is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To “grant” such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. + +If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. “Knowingly relying” means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. + +If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is “discriminatory” if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. + +Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. + +14. No Surrender of Others' Freedom + +If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. + +15. Disclaimer of Warranty + +THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +16. Limitation of Liability + +IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +17. Interpretation of Sections 15 and 16 + +If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_565.yml b/src/licensedcode/data/rules/proprietary-license_565.yml new file mode 100644 index 00000000000..af27f19ef3a --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_565.yml @@ -0,0 +1,4 @@ +license_expression: proprietary-license +is_license_text: yes +relevance: 100 +notes: Seen in https://wiki.coopcycle.org/en:license and https://github.com/coopcycle/coopcycle-web/blob/master/LICENSE diff --git a/src/licensedcode/data/rules/proprietary-license_566.RULE b/src/licensedcode/data/rules/proprietary-license_566.RULE new file mode 100644 index 00000000000..cb81d93c305 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_566.RULE @@ -0,0 +1,39 @@ +VirtualBox Extension Pack Personal Use and Evaluation License (PUEL) + +License version 11, 21 May 2020 + +PLEASE READ THE FOLLOWING ORACLE VM VIRTUALBOX EXTENSION PACK PERSONAL USE AND EVALUATION LICENSE CAREFULLY BEFORE DOWNLOADING OR USING THE ORACLE SOFTWARE. THESE TERMS AND CONDITIONS CONSTITUTE A LEGAL AGREEMENT BETWEEN YOU AND ORACLE. + +ORACLE AMERICA, INC. (“ORACLE”) IS WILLING TO LICENSE THE PRODUCT DEFINED IN SECTION 1 BELOW ONLY ON THE CONDITION THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS VIRTUALBOX EXTENSION PACK PERSONAL USE AND EVALUATION LICENSE AGREEMENT (“AGREEMENT”). + +IF YOU ARE AGREEING TO THIS LICENSE ON BEHALF OF AN ENTITY (RATHER THAN AS AN INDIVIDUAL HUMAN BEING), YOU REPRESENT THAT YOU HAVE THE APPROPRIATE AUTHORITY TO ACCEPT THESE TERMS AND CONDITIONS ON BEHALF OF SUCH ENTITY. + +§ 1 Subject of Agreement. This Agreement governs your use of the binary software package called “Oracle VM VirtualBox Extension Pack” (the “Product”), which contains a set of additional features for “Oracle VM VirtualBox” that enhance the operation of multiple virtual machines (“Guest Computers”) on a single physical computer (“Host Computer”). The Product consists of executable files in machine code, script files, data files, and all documentation and updates provided to You by Oracle. + +§ 2 Grant of license. Oracle grants you a personal, non-exclusive, non-transferable, limited license without fees to reproduce, install, execute, and use internally the Product on Host Computers for your Personal Use, Educational Use, or Evaluation. “Personal Use” is noncommercial use solely by the person downloading the Product from Oracle on a single Host Computer, provided that no more than one client or remote computer is connected to that Host Computer and that client or remote computer is used solely to remotely view the Guest Computer(s). “Educational Use” is any use by teachers or students in an academic institution (schools, colleges and universities) as part of the institution’s educational curriculum. “Evaluation” means testing the Product for up to thirty (30) days; after expiry of that term, you are no longer permitted to use the Product. Personal Use and/or Educational Use expressly exclude any use of the Product for commercial purposes or to operate, run, or act on behalf of or for the benefit of a business, organization, governmental organization, or educational institution. + +Oracle reserves all rights not expressly granted in this license. + +§ 3 Restrictions and Reservation of Rights. + +(1) The Product and copies thereof provided to you under this Agreement are copyrighted and licensed, not sold, to you by Oracle. + +(2) You may not do any of the following: (a) modify any part of the Product, except to the extent allowed in the documentation accompanying the Product; (b) rent, lease, lend, re-distribute, or encumber the Product; (c) remove or alter any proprietary legends or notices contained in the Product; or (d) decompile, or reverse engineer the Product (except to the extent permitted by applicable law). + +(3) The Product is not designed, licensed or intended for use in the design, construction, operation or maintenance of any nuclear facility and Oracle and its licensors disclaim any express or implied warranty of fitness for such uses. + +(4) No right, title or interest in or to any trademark, service mark, logo or trade name of Oracle or its licensors is granted under this Agreement. + +§ 4 Termination. The Agreement is effective on the date you receive the Product and remains effective until terminated. Your rights under this Agreement will terminate immediately without notice from Oracle if you materially breach it or take any action in derogation of Oracle's and/or its licensors' rights to the Product. Oracle may terminate this Agreement immediately should any part of the Product become or in Oracle's reasonable opinion likely to become the subject of a claim of intellectual property infringement or trade secret misappropriation. Upon termination, you will cease use of and destroy all copies of the Product under your control and confirm compliance in writing to Oracle. Neither termination of this Agreement nor any deletion or removal of the Product shall limit any obligations you may have to Oracle, or any rights and/or remedies that Oracle may have with respect to any past or future infringing use of the Product (including but not limited to any use of the Product outside the scope of the license provided in the Agreement). Sections 3-9, inclusive, will survive termination of the Agreement. + +§ 5 Disclaimer of Warranty. TO THE EXTENT NOT PROHIBITED BY APPLICABLE LAW, ORACLE PROVIDES THE PRODUCT “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT LIMITING THE FOREGOING, ORACLE SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT. The entire risk as to the quality and performance of the Product is with you. Should it prove defective, you assume the cost of all necessary servicing, repair, or correction. + +§ 6 Limitation of Liability. TO THE EXTENT NOT PROHIBITED BY APPLICABLE LAW, IN NO EVENT WILL ORACLE OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT, DATA, OR DATA USE, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF OR RELATED TO THE USE OF OR INABILITY TO USE THE PRODUCT, EVEN IF ORACLE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no event will Oracle's liability to you, whether in contract, tort (including negligence), or otherwise, exceed the amount paid by you for the Product under this Agreement. + +§ 7 Separately Licensed Third Party Technology. The Product may contain or require the use of third party technology that is provided with the Product. Oracle may provide certain notices to you in the Product’s documentation, readmes or notice files in connection with such third party technology. Third party technology will be licensed to you either under the terms of this Agreement or, if specified in the documentation, readmes or notice files, under Separate Terms. Your rights to use Separately Licensed Third Party Technology under Separate Terms are not restricted in any way by this Agreement. However, for clarity, notwithstanding the existence of a notice, third party technology that is not Separately Licensed Third Party Technology shall be deemed part of the Product and is licensed to You under the terms of this Agreement. “Separate Terms” refers to separate license terms that are specified in the Product’s documentation, readmes or notice files and that apply to Separately Licensed Third Party Technology. “Separately Licensed Third Party Technology” refers to third party technology that is licensed under Separate Terms and not under the terms of this Agreement. + +§ 8 Export. Export laws and regulations of the United States and any other relevant local export laws and regulations apply to the Product. You agree that such export laws govern your use of the Product (including technical data) provided under this Agreement, and you agree to comply with all such export laws and regulations (including “deemed export” and “deemed re-export” regulations). You agree that no data, information, and/or Product (or direct product thereof) will be exported, directly or indirectly, in violation of these laws, or will be used for any purpose prohibited by these laws including, without limitation, nuclear, chemical, or biological weapons proliferation, or development of missile technology. + +§ 9 U.S. Government End Users. Oracle programs, including the Product, any operating system, integrated software, any programs installed on hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S. Government. + +§ 10 Miscellaneous. This Agreement is the entire agreement between you and Oracle relating to its subject matter. It supersedes all prior or contemporaneous oral or written communications, proposals, representations and warranties and prevails over any conflicting or additional terms of any quote, order, acknowledgment, or other communication between the parties relating to its subject matter during the term of this Agreement. No modification of this Agreement will be binding, unless in writing and signed by an authorized representative of each party. If any provision of this Agreement is held to be unenforceable, this Agreement will remain in effect with the provision omitted, unless omission would frustrate the intent of the parties, in which case this Agreement will immediately terminate. This Agreement is governed by the laws of the State of California, USA, and you and Oracle agree to submit to the exclusive jurisdiction of, and venue in, the courts of San Francisco or Santa Clara counties in California in any dispute arising out of or relating to this Agreement. Upon 45 days written notice, Oracle may audit your use of the Product to confirm that you are in compliance with the terms of this Agreement. You agree to cooperate with Oracle’s audit and provide reasonable assistance and access to information. Any such audit shall not unreasonably interfere with your normal business operations. You agree to pay within 30 days of written notification any fees applicable to your unlicensed use of the Product. You agree that Oracle shall not be responsible for any of your costs incurred in cooperating with the audit. If a legal action or proceeding is commenced by either party in connection with the enforcement of this Agreement, the prevailing party shall be entitled to its costs and attorneys’ fees actually incurred in connection with such action or proceeding. \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_566.yml b/src/licensedcode/data/rules/proprietary-license_566.yml new file mode 100644 index 00000000000..a68754d25dd --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_566.yml @@ -0,0 +1,3 @@ +license_expression: proprietary-license +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/proprietary-license_567.RULE b/src/licensedcode/data/rules/proprietary-license_567.RULE new file mode 100644 index 00000000000..0e17ee950bc --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_567.RULE @@ -0,0 +1,51 @@ +END-USER LICENSE AGREEMENT FOR THIS SOFTWARE + +This End-User License Agreement ("EULA") is a legal agreement between you (either an individual or a single entity) and the mentioned author of this Software for the software product identified above, which includes computer software and may include associated media, printed materials, and "online" or electronic documentation ("SOFTWARE PRODUCT"). By installing, copying, or otherwise using the SOFTWARE PRODUCT, you agree to be bound by the terms of this EULA. If you do not agree to the terms of this EULA, do not install or use the SOFTWARE PRODUCT. + + + +SOFTWARE PRODUCT LICENSE + +The SOFTWARE PRODUCT is protected by copyright laws and international copyright treaties, as well as other intellectual property laws and treaties. The SOFTWARE PRODUCT is licensed, not sold. + +The definition of SOFTWARE PRODUCT does not includes any files generated by the SOFTWARE PRODUCT, such as compiled script files in the form of standalone executables. + +1. GRANT OF LICENSE + +This EULA grants you the following rights: + +Installation and Use. You may install and use an unlimited number of copies of the SOFTWARE PRODUCT. + +Reproduction and Distribution. You may reproduce and distribute an unlimited number of copies of the SOFTWARE PRODUCT either in whole or in part; each copy should include all copyright and trademark notices, and shall be accompanied by a copy of this EULA. Copies of the SOFTWARE PRODUCT may be distributed as a standalone product or included with your own product. + +Commercial Use. You may use the SOFTWARE PRODUCT for commercial purposes. You may sell for profit and freely distribute scripts and/or compiled scripts that were created with the SOFTWARE PRODUCT. + +Reverse engineering. You may not reverse engineer or disassemble the SOFTWARE PRODUCT. + +2. COPYRIGHT + +All title and copyrights in and to the SOFTWARE PRODUCT (including but not limited to any images, photographs, animations, video, audio, music, text, and "applets" incorporated into the SOFTWARE PRODUCT), the accompanying printed materials, and any copies of the SOFTWARE PRODUCT are owned by the Author of this Software. The SOFTWARE PRODUCT is protected by copyright laws and international treaty provisions. Therefore, you must treat the SOFTWARE PRODUCT like any other copyrighted material. + + + +MISCELLANEOUS + +If you acquired this product in the United Kingdom, this EULA is governed by the laws of the United Kingdom. If this product was acquired outside the United Kingdom, then local law may apply. + +Should you have any questions concerning this EULA, or if you desire to contact the author of this Software for any reason, please contact him/her at the email address mentioned at the top of this EULA. + + + +LIMITED WARRANTY + +1. NO WARRANTIES + +The Author of this Software expressly disclaims any warranty for the SOFTWARE PRODUCT. The SOFTWARE PRODUCT and any related documentation is provided "as is" without warranty of any kind, either express or implied, including, without limitation, the implied warranties or merchantability, fitness for a particular purpose, or non-infringement. The entire risk arising out of use or performance of the SOFTWARE PRODUCT remains with you. + +2. NO LIABILITY FOR DAMAGES + +In no event shall the author of this Software be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or any other pecuniary loss) arising out of the use of or inability to use this product, even if the Author of this Software has been advised of the possibility of such damages. Because some states/jurisdictions do not allow the exclusion or limitation of liability for consequential or incidental damages, the above limitation may not apply to you. + + + +[END OF LICENSE] \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_567.yml b/src/licensedcode/data/rules/proprietary-license_567.yml new file mode 100644 index 00000000000..6e80e8653af --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_567.yml @@ -0,0 +1,4 @@ +license_expression: proprietary-license +is_license_text: yes +relevance: 100 +notes: from autoit diff --git a/src/licensedcode/data/rules/proprietary-license_568.RULE b/src/licensedcode/data/rules/proprietary-license_568.RULE new file mode 100644 index 00000000000..6c125131289 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_568.RULE @@ -0,0 +1,27 @@ +* Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * 3. The name of Atmel may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * 4. This software may only be redistributed and used in connection with an + * Atmel microcontroller product. + * + * THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE + * EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR + * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN + * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_568.yml b/src/licensedcode/data/rules/proprietary-license_568.yml new file mode 100644 index 00000000000..23862a2adbe --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_568.yml @@ -0,0 +1,5 @@ +license_expression: proprietary-license +is_license_text: yes +relevance: 100 +notes: BSD-looking but not really it See https://github.com/Joan93/MasterThesis/blob/275ee8c6fcd5b0883540f629e2755ab524904a73/openwsn/openwsn-fw/bsp/boards/samr21_xpro/drivers/src/cm0plus_interrupt.c + for exmaple diff --git a/src/licensedcode/data/rules/proprietary-license_569.RULE b/src/licensedcode/data/rules/proprietary-license_569.RULE new file mode 100644 index 00000000000..2ac6b46e935 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_569.RULE @@ -0,0 +1,3 @@ +This product is protected by U.S. and international copyright and +intellectual property laws. VMware products are covered by one or +more patents listed at \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_569.yml b/src/licensedcode/data/rules/proprietary-license_569.yml new file mode 100644 index 00000000000..e55fcc24a28 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_569.yml @@ -0,0 +1,3 @@ +license_expression: proprietary-license +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/proprietary-license_570.RULE b/src/licensedcode/data/rules/proprietary-license_570.RULE new file mode 100644 index 00000000000..d1fc93ff09a --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_570.RULE @@ -0,0 +1,2 @@ +This product is protected by U.S. and international copyright and +intellectual property laws. \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_570.yml b/src/licensedcode/data/rules/proprietary-license_570.yml new file mode 100644 index 00000000000..e55fcc24a28 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_570.yml @@ -0,0 +1,3 @@ +license_expression: proprietary-license +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/proprietary-license_571.RULE b/src/licensedcode/data/rules/proprietary-license_571.RULE new file mode 100644 index 00000000000..8f220707685 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_571.RULE @@ -0,0 +1 @@ +“Interface-Protection Clause” License Condition v1.0 \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_571.yml b/src/licensedcode/data/rules/proprietary-license_571.yml new file mode 100644 index 00000000000..199817b9410 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_571.yml @@ -0,0 +1,4 @@ +license_expression: proprietary-license +is_license_reference: yes +relevance: 100 +notes: https://github.com/erezsh/Preql/blob/79cf536d88733f2e9ba9749691913db51b0f3ea6/LICENSE diff --git a/src/licensedcode/data/rules/proprietary-license_572.RULE b/src/licensedcode/data/rules/proprietary-license_572.RULE new file mode 100644 index 00000000000..66b2eda16cd --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_572.RULE @@ -0,0 +1,16 @@ +“Interface-Protection Clause” License Condition v1.0 + +The Software is provided to you by the Licensor under the License, as +defined below, subject to the following condition. + +Without limiting other conditions in the License, the grant of rights under the +License will not include, and the License does not grant to you, right to Sell +the Software. + +For purposes of the foregoing, “Sell” means practicing any or all of the rights +granted to you under the License to provide to third parties, for a fee or +other consideration (including without limitation fees for hosting the +Software), a product or service whose value depends, entirely or substantially, +on the third party having access to the interface of the Software. Any license +notice or attribution required by the License must also include this +Interface-Protection Clause License Condition notice. \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_572.yml b/src/licensedcode/data/rules/proprietary-license_572.yml new file mode 100644 index 00000000000..a4daa632e0f --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_572.yml @@ -0,0 +1,4 @@ +license_expression: proprietary-license +is_license_text: yes +relevance: 100 +notes: https://github.com/erezsh/Preql/blob/79cf536d88733f2e9ba9749691913db51b0f3ea6/LICENSE diff --git a/src/licensedcode/data/rules/proprietary-license_573.RULE b/src/licensedcode/data/rules/proprietary-license_573.RULE new file mode 100644 index 00000000000..bc3299f022c --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_573.RULE @@ -0,0 +1 @@ +“Interface-Protection Clause” on top of the MIT license. \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_573.yml b/src/licensedcode/data/rules/proprietary-license_573.yml new file mode 100644 index 00000000000..1a196a1ac30 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_573.yml @@ -0,0 +1,4 @@ +license_expression: proprietary-license +is_license_notice: yes +relevance: 100 +notes: https://github.com/erezsh/Preql/blob/79cf536d88733f2e9ba9749691913db51b0f3ea6/LICENSE diff --git a/src/licensedcode/data/rules/proprietary-license_574.RULE b/src/licensedcode/data/rules/proprietary-license_574.RULE new file mode 100644 index 00000000000..59d17c0c889 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_574.RULE @@ -0,0 +1,4 @@ +Do not distribute modified versions without my permission. +Do not remove or alter this notice or any other copyright notice. +If you use this in your own program you must distribute source code. +Do not use any of this in a commercial product. \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_574.yml b/src/licensedcode/data/rules/proprietary-license_574.yml new file mode 100644 index 00000000000..06f37f0501e --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_574.yml @@ -0,0 +1,17 @@ +license_expression: proprietary-license +is_license_text: yes +relevance: 100 +minimum_coverage: 99 +notes: | + Seen in Info-Zip with a notice + Copyright 1989 Samuel H. Smith; All rights reserved + Relicensed to Info-Zip terms per Info-Zip documentation + + Regarding the first stipulation, Mr. Smith was tracked down in southern + California some years back [Samuel H. Smith, The Tool Shop; as of mid- + May 1994, (213) 851-9969 (voice), (213) 887-2127(?) (subscription BBS), + 71150.2731@compuserve.com]: + + "He says that he thought that whoever contacted him understood that + he has no objection to the Info-ZIP group's inclusion of his code. + His primary concern is that it remain freely distributable, he said." diff --git a/src/licensedcode/data/rules/proprietary-license_575.RULE b/src/licensedcode/data/rules/proprietary-license_575.RULE new file mode 100644 index 00000000000..df1300fc648 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_575.RULE @@ -0,0 +1,7 @@ +* Do not distribute modified versions without my permission. + * Do not remove or alter this notice or any other copyright notice. + * If you use this in your own program you must distribute source code. + * Do not use any of this in a commercial product. + See the accompanying file "COPYING" in UnZip source and binary distributions + for further information. This code is NOT used unless USE_SMITH_CODE is + explicitly defined (==> COPYRIGHT_CLEAN is not defined). \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_575.yml b/src/licensedcode/data/rules/proprietary-license_575.yml new file mode 100644 index 00000000000..081abd61e6e --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_575.yml @@ -0,0 +1,19 @@ +license_expression: proprietary-license +is_license_text: yes +relevance: 100 +minimum_coverage: 99 +referenced_filenames: + - COPYING +notes: | + Seen in Info-Zip with a + Copyright 1989 Samuel H. Smith; All rights reserved + Relicensed to Info-Zip terms per Info-Zip documentation + + Regarding the first stipulation, Mr. Smith was tracked down in southern + California some years back [Samuel H. Smith, The Tool Shop; as of mid- + May 1994, (213) 851-9969 (voice), (213) 887-2127(?) (subscription BBS), + 71150.2731@compuserve.com]: + + "He says that he thought that whoever contacted him understood that + he has no objection to the Info-ZIP group's inclusion of his code. + His primary concern is that it remain freely distributable, he said." diff --git a/src/licensedcode/data/rules/proprietary-license_576.RULE b/src/licensedcode/data/rules/proprietary-license_576.RULE new file mode 100644 index 00000000000..9b89ba7ff72 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_576.RULE @@ -0,0 +1,16 @@ +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_576.yml b/src/licensedcode/data/rules/proprietary-license_576.yml new file mode 100644 index 00000000000..e81e536f8ae --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_576.yml @@ -0,0 +1,6 @@ +license_expression: proprietary-license +is_license_text: yes +relevance: 100 +minimum_coverage: 99 +notes: this deceving text looks like an MIT but is stripped from the right to "publish, distribute, + sublicense, and/or sell copies". Seen in https://github.com/M4cs/winfetch/blob/8c87b53c350dab6a40e345831987a48a9fd735b6/LICENSE diff --git a/src/licensedcode/data/rules/proprietary-license_577.RULE b/src/licensedcode/data/rules/proprietary-license_577.RULE new file mode 100644 index 00000000000..ca070eafd05 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_577.RULE @@ -0,0 +1,19 @@ +Information in this document is provided in connection with +Intel(R) products. No license, express or implied, by estoppel +or otherwise, to any intellectual property rights is granted +by this document. Intel assumes no liability whatsoever, +and Intel disclaims any express or implied warranty relating +to sale and/or use of Intel(R) products, including liability +or warranties relating to fitness for a particular purpose, +merchantability or infringement of any patent, copyright or +other intellectual property right. Intel(R) products are +not intended for use in medical, life saving, or +life-sustaining applications. + +Intel Corporation disclaims all warranties and liabilities +for the use of this document and the information contained +herein, and assumes no responsibility for any errors which +may appear in this document, nor does Intel make a +commitment to update the information contained herein. +Intel reserves the right to make changes to this document at +any time, without notice. \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_577.yml b/src/licensedcode/data/rules/proprietary-license_577.yml new file mode 100644 index 00000000000..c1e565cfd01 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_577.yml @@ -0,0 +1,4 @@ +license_expression: proprietary-license +is_license_text: yes +relevance: 100 +notes: Seen in Intel proprietary drivers diff --git a/src/licensedcode/data/rules/proprietary-license_578.RULE b/src/licensedcode/data/rules/proprietary-license_578.RULE new file mode 100644 index 00000000000..e9f9681e5bf --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_578.RULE @@ -0,0 +1,2 @@ +Intellectual Property +Implementation of this specification requires a license \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_578.yml b/src/licensedcode/data/rules/proprietary-license_578.yml new file mode 100644 index 00000000000..e55fcc24a28 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_578.yml @@ -0,0 +1,3 @@ +license_expression: proprietary-license +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/proprietary-license_579.RULE b/src/licensedcode/data/rules/proprietary-license_579.RULE new file mode 100644 index 00000000000..a9a28744f39 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_579.RULE @@ -0,0 +1 @@ +Implementation of this specification requires a license \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_579.yml b/src/licensedcode/data/rules/proprietary-license_579.yml new file mode 100644 index 00000000000..e55fcc24a28 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_579.yml @@ -0,0 +1,3 @@ +license_expression: proprietary-license +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/proprietary-license_580.RULE b/src/licensedcode/data/rules/proprietary-license_580.RULE new file mode 100644 index 00000000000..e2dcdeb0de0 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_580.RULE @@ -0,0 +1,12 @@ +THIS DOCUMENT IS PROVIDED "AS IS" WITH NO WARRANTIES WHATSOEVER, INCLUDING +ANY WARRANTY OF MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR ANY +PARTICULAR PURPOSE, OR ANY WARRANTY OTHERWISE ARISING OUT OF ANY +PROPOSAL, SPECIFICATION OR SAMPLE. + +Intel Corporation disclaims all liability, including liability for infringement +of any proprietary rights, relating to use of information in this specification. +No license, express or implied, by estoppel or otherwise, to any intellectual +property rights is granted herein. + +The cryptographic functions described in this specification may be subject to +export control by the United States, Japanese, and/or other governments. \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_580.yml b/src/licensedcode/data/rules/proprietary-license_580.yml new file mode 100644 index 00000000000..55a684915ac --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_580.yml @@ -0,0 +1,4 @@ +license_expression: proprietary-license +is_license_text: yes +relevance: 100 +notes: Seen in Intel documents diff --git a/src/licensedcode/data/rules/proprietary-license_581.RULE b/src/licensedcode/data/rules/proprietary-license_581.RULE new file mode 100644 index 00000000000..810867f28df --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_581.RULE @@ -0,0 +1,14 @@ +Intel is making no claims of usability, efficacy or warranty. +Information in this document is provided in connection with Intel products. No +license, express or implied, by estoppel or otherwise, to any intellectual +property rights is granted by this document. Intel assumes no liability +whatsoever, and Intel disclaims any express or implied warranty, relating to +sale and/or use of Intel products including liability or warranties relating to +fitness for a particular purpose, merchantability, or infringement of any +patent, copyright or other intellectual property right. Intel products are not +intended for use in medical, life saving, or life sustaining applications. +Intel Corporation disclaims all warranties and liabilities for the use of this +document and the information contained herein, and assumes no responsibility for +any errors which may appear in this document, nor does Intel make a commitment +to update the information contained herein. Intel reserves the right to make +changes to this document at any time, without notice. \ No newline at end of file diff --git a/src/licensedcode/data/rules/proprietary-license_581.yml b/src/licensedcode/data/rules/proprietary-license_581.yml new file mode 100644 index 00000000000..c1e565cfd01 --- /dev/null +++ b/src/licensedcode/data/rules/proprietary-license_581.yml @@ -0,0 +1,4 @@ +license_expression: proprietary-license +is_license_text: yes +relevance: 100 +notes: Seen in Intel proprietary drivers diff --git a/src/licensedcode/data/rules/proprietary-license_and_other-permissive_1.yml b/src/licensedcode/data/rules/proprietary-license_and_other-permissive_1.yml index ceeeb09b65b..c799f50382b 100644 --- a/src/licensedcode/data/rules/proprietary-license_and_other-permissive_1.yml +++ b/src/licensedcode/data/rules/proprietary-license_and_other-permissive_1.yml @@ -4,9 +4,7 @@ relevance: 100 notes: Older w3c IPR text ignorable_copyrights: - Copyright (c) 1994-2002 W3C - - copyright in Web ignorable_holders: - W3C - - in Web ignorable_emails: - site-policy@w3.org diff --git a/src/licensedcode/data/rules/public-domain-disclaimer_67.RULE b/src/licensedcode/data/rules/public-domain-disclaimer_67.RULE new file mode 100644 index 00000000000..e51a209be23 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain-disclaimer_67.RULE @@ -0,0 +1,12 @@ +I am the author of this software and its documentation and +permanently abandon all copyright and other intellectual property rights in +them, including the right to be identified as the author. +I am fairly certain that this software does what the documentation says it +does, but I cannot guarantee that it does, or that it does what you think it +should, and I cannot guarantee that it will not have undesirable side effects. +You are free to use, modify and distribute this software as you please, but +you do so at your own risk. If you remove or hide this warning then you are +responsible for any problems encountered by people that you make the software +available to. +Before modifying or distributing this software I ask that you would please +read http://www.purposeful.co.uk/tfl/ \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain-disclaimer_67.yml b/src/licensedcode/data/rules/public-domain-disclaimer_67.yml new file mode 100644 index 00000000000..7580c7e8151 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain-disclaimer_67.yml @@ -0,0 +1,7 @@ +license_expression: public-domain-disclaimer +is_license_text: yes +relevance: 100 +notes: http://www.purposeful.co.uk/tfl/ +ignorable_urls: + - http://www.purposeful.co.uk/tfl/ + diff --git a/src/licensedcode/data/rules/public-domain-disclaimer_68.RULE b/src/licensedcode/data/rules/public-domain-disclaimer_68.RULE new file mode 100644 index 00000000000..26c9a34b601 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain-disclaimer_68.RULE @@ -0,0 +1 @@ +Licence This is truly free software. \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain-disclaimer_68.yml b/src/licensedcode/data/rules/public-domain-disclaimer_68.yml new file mode 100644 index 00000000000..a9b98374737 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain-disclaimer_68.yml @@ -0,0 +1,4 @@ +license_expression: public-domain-disclaimer +is_license_notice: yes +relevance: 100 +notes: http://www.purposeful.co.uk/tfl/ diff --git a/src/licensedcode/data/rules/public-domain-disclaimer_69.RULE b/src/licensedcode/data/rules/public-domain-disclaimer_69.RULE new file mode 100644 index 00000000000..66d0d475618 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain-disclaimer_69.RULE @@ -0,0 +1 @@ +http://www.purposeful.co.uk/tfl/ \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain-disclaimer_69.yml b/src/licensedcode/data/rules/public-domain-disclaimer_69.yml new file mode 100644 index 00000000000..eaa6624a678 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain-disclaimer_69.yml @@ -0,0 +1,6 @@ +license_expression: public-domain-disclaimer +is_license_reference: yes +relevance: 100 +ignorable_urls: + - http://www.purposeful.co.uk/tfl/ + diff --git a/src/licensedcode/data/rules/public-domain_353.RULE b/src/licensedcode/data/rules/public-domain_353.RULE new file mode 100644 index 00000000000..04369e12de9 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_353.RULE @@ -0,0 +1,2 @@ +This file has been put in the public domain. +You can do whatever you want with this file diff --git a/src/licensedcode/data/rules/public-domain_353.yml b/src/licensedcode/data/rules/public-domain_353.yml new file mode 100644 index 00000000000..00979da968d --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_353.yml @@ -0,0 +1,3 @@ +license_expression: public-domain +is_license_text: yes +minimum_coverage: 80 diff --git a/src/licensedcode/data/rules/public-domain_354.RULE b/src/licensedcode/data/rules/public-domain_354.RULE new file mode 100644 index 00000000000..e8ee20b96b5 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_354.RULE @@ -0,0 +1,2 @@ + I believe that most files in debian/ hardly contains any creative + expression eligible for copyright. diff --git a/src/licensedcode/data/rules/public-domain_354.yml b/src/licensedcode/data/rules/public-domain_354.yml new file mode 100644 index 00000000000..1161e14f35a --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_354.yml @@ -0,0 +1,4 @@ +license_expression: public-domain +is_license_notice: yes +minimum_coverage: 100 +notes: Seen in debian copyright files for libhogween and libnettle with tag `public-domain` and refers to files in public domain. diff --git a/src/licensedcode/data/rules/public-domain_355.RULE b/src/licensedcode/data/rules/public-domain_355.RULE new file mode 100644 index 00000000000..f9732e2585e --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_355.RULE @@ -0,0 +1 @@ + No copyright to license. diff --git a/src/licensedcode/data/rules/public-domain_355.yml b/src/licensedcode/data/rules/public-domain_355.yml new file mode 100644 index 00000000000..e46aef0aed1 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_355.yml @@ -0,0 +1,4 @@ +license_expression: public-domain +is_license_notice: yes +minimum_coverage: 100 +notes: Seen in debian copyright file for liblzma. diff --git a/src/licensedcode/data/rules/public-domain_356.RULE b/src/licensedcode/data/rules/public-domain_356.RULE new file mode 100644 index 00000000000..0269896c62d --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_356.RULE @@ -0,0 +1 @@ +See the note on AUTHORS, README, and so on above. diff --git a/src/licensedcode/data/rules/public-domain_356.yml b/src/licensedcode/data/rules/public-domain_356.yml new file mode 100644 index 00000000000..e46aef0aed1 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_356.yml @@ -0,0 +1,4 @@ +license_expression: public-domain +is_license_notice: yes +minimum_coverage: 100 +notes: Seen in debian copyright file for liblzma. diff --git a/src/licensedcode/data/rules/public-domain_357.RULE b/src/licensedcode/data/rules/public-domain_357.RULE new file mode 100644 index 00000000000..a2f1ea1095e --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_357.RULE @@ -0,0 +1,2 @@ +is distributed with no restrictions on usage or + redistribution. diff --git a/src/licensedcode/data/rules/public-domain_357.yml b/src/licensedcode/data/rules/public-domain_357.yml new file mode 100644 index 00000000000..cf3d23b482a --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_357.yml @@ -0,0 +1,2 @@ +license_expression: public-domain +is_license_text: yes diff --git a/src/licensedcode/data/rules/public-domain_358.RULE b/src/licensedcode/data/rules/public-domain_358.RULE new file mode 100644 index 00000000000..e4793737edc --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_358.RULE @@ -0,0 +1,4 @@ + This file may be freely distributed + with or without modifications, + so long as modified versions are marked as such + and copyright notices are not removed. diff --git a/src/licensedcode/data/rules/public-domain_358.yml b/src/licensedcode/data/rules/public-domain_358.yml new file mode 100644 index 00000000000..cf3d23b482a --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_358.yml @@ -0,0 +1,2 @@ +license_expression: public-domain +is_license_text: yes diff --git a/src/licensedcode/data/rules/public-domain_359.RULE b/src/licensedcode/data/rules/public-domain_359.RULE new file mode 100644 index 00000000000..21941b63c3e --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_359.RULE @@ -0,0 +1,7 @@ + This source file is placed in the public domian. + Any resemblance to NCSA Telnet, living or dead, is purely coincidental. + . + National Center for Supercomputing Applications + 152 Computing Applications Building + 605 E. Springfield Ave. + Champaign, IL 61820 diff --git a/src/licensedcode/data/rules/public-domain_359.yml b/src/licensedcode/data/rules/public-domain_359.yml new file mode 100644 index 00000000000..2dd553f4b13 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_359.yml @@ -0,0 +1,3 @@ +license_expression: public-domain +is_license_text: yes +minimum_coverage: 95 diff --git a/src/licensedcode/data/rules/public-domain_360.RULE b/src/licensedcode/data/rules/public-domain_360.RULE new file mode 100644 index 00000000000..50c94e01965 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_360.RULE @@ -0,0 +1,2 @@ +The Debian packaging files are in the public domain. +You may freely use, modify, distribute, and relicense them. \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_360.yml b/src/licensedcode/data/rules/public-domain_360.yml new file mode 100644 index 00000000000..c9a62026c20 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_360.yml @@ -0,0 +1,3 @@ +license_expression: public-domain +is_license_text: yes +minimum_coverage: 80 \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_361.RULE b/src/licensedcode/data/rules/public-domain_361.RULE new file mode 100644 index 00000000000..15fde9ff725 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_361.RULE @@ -0,0 +1,35 @@ + This imagemap module started as a port of the original imagemap.c + written by Rob McCool (11/13/93 robm@ncsa.uiuc.edu). + This version includes the mapping algorithms found in version 1.3 + of imagemap.c. + . + Contributors to this code include: + . + Kevin Hughes, kevinh@pulua.hcc.hawaii.edu + . + Eric Haines, erich@eye.com + "macmartinized" polygon code copyright 1992 by Eric Haines, erich@eye.com + . + Randy Terbush, randy@zyzzyva.com + port to Apache module format, "base_uri" and support for relative URLs + . + James H. Cloos, Jr., cloos@jhcloos.com + Added point datatype, using code in NCSA's version 1.8 imagemap.c + program, as distributed with version 1.4.1 of their server. + The point code is originally added by Craig Milo Rogers, Rogers@ISI.Edu + . + Nathan Kurz, nate@tripod.com + Rewrite/reorganization. New handling of default, base and relative URLs. + New Configuration directives: + ImapMenu {none, formatted, semiformatted, unformatted} + ImapDefault {error, nocontent, referer, menu, URL} + ImapBase {map, referer, URL} + Support for creating non-graphical menu added. (backwards compatible): + Old: directive URL [x,y ...] + New: directive URL "Menu text" [x,y ...] + or: directive URL x,y ... "Menu text" + Map format and menu concept courtesy Joshua Bell, jsbell@acs.ucalgary.ca. + . + Mark Cox, mark@ukweb.com, Allow relative URLs even when no base specified + + diff --git a/src/licensedcode/data/rules/public-domain_361.yml b/src/licensedcode/data/rules/public-domain_361.yml new file mode 100644 index 00000000000..9c6ddf1048b --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_361.yml @@ -0,0 +1,19 @@ +license_expression: public-domain +is_license_notice: yes +ignorable_authors: + - Craig Milo Rogers, Rogers@ISI.Edu + - Rob McCool +ignorable_copyrights: + - copyright 1992 by Eric Haines, erich@eye.com +ignorable_emails: + - robm@ncsa.uiuc.edu + - kevinh@pulua.hcc.hawaii.edu + - erich@eye.com + - randy@zyzzyva.com + - cloos@jhcloos.com + - Rogers@ISI.Edu + - nate@tripod.com + - jsbell@acs.ucalgary.ca + - mark@ukweb.com +ignorable_holders: + - Eric Haines diff --git a/src/licensedcode/data/rules/public-domain_362.RULE b/src/licensedcode/data/rules/public-domain_362.RULE new file mode 100644 index 00000000000..f1daa9f9065 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_362.RULE @@ -0,0 +1,20 @@ + File lacks copyright and licensing, but contains the comment + "Conversion routines derived from code by guido@sienanet.it" which + might be interpreted as a copyright holder not granting a license. + More likely, however, the header file is considered non-copyrightable + header with merely a remark about origin of inspiration: + . + * File was introduced in Asterisk 0.1.1 (according to git sources), + together with file format_wav_gsm.c containing same comment but + also explicit copyright and licensing: + . + . + * Asterisk 0.1.1 was released in 1999 (according to git sources), + at about which time Guido Giorgetti released + audio-related Delphi 3 code as "Freeware": + + + . + . + See also . + diff --git a/src/licensedcode/data/rules/public-domain_362.yml b/src/licensedcode/data/rules/public-domain_362.yml new file mode 100644 index 00000000000..7726e8e5e55 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_362.yml @@ -0,0 +1,14 @@ +license_expression: public-domain +is_license_notice: yes +minimum_coverage: 100 +ignorable_authors: + - guido@sienanet.it +ignorable_emails: + - guido@sienanet.it +ignorable_urls: + - https://github.com/asterisk/asterisk/commit/0ed94773 + - http://delphi.icm.edu.pl/authors/a0002451.htm + - http://delphi.icm.edu.pl/ftp/d30free/tmsgvoc.zip + - http://torry.net/vcl/comms/voice/tmsgvoc.zip + - https://issues.asterisk.org/jira/browse/ASTERISK-24172 + diff --git a/src/licensedcode/data/rules/public-domain_363.RULE b/src/licensedcode/data/rules/public-domain_363.RULE new file mode 100644 index 00000000000..9a8a8986181 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_363.RULE @@ -0,0 +1,2 @@ +AT&T Public License +Code given out at the 1985 UNIFORUM conference in Dallas. \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_363.yml b/src/licensedcode/data/rules/public-domain_363.yml new file mode 100644 index 00000000000..1fd6a33e163 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_363.yml @@ -0,0 +1,5 @@ +license_expression: public-domain +is_license_notice: yes +relevance: 100 +notes: Seen in https://web.archive.org/web/20210724101640/https://www.linux.co.cr/unix-source-code/review/1985/1103.html + and https://github.com/Wind4/vlmcsd/blob/65228e5c7916acd947ffb53be18abadafbc1be56/src/wingetopt.h diff --git a/src/licensedcode/data/rules/public-domain_364.RULE b/src/licensedcode/data/rules/public-domain_364.RULE new file mode 100644 index 00000000000..9a42813456d --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_364.RULE @@ -0,0 +1 @@ +All of which is in the Public Domain. \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_364.yml b/src/licensedcode/data/rules/public-domain_364.yml new file mode 100644 index 00000000000..7248c1eb1f1 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_364.yml @@ -0,0 +1,4 @@ +license_expression: public-domain +is_license_notice: yes +relevance: 100 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip diff --git a/src/licensedcode/data/rules/public-domain_365.RULE b/src/licensedcode/data/rules/public-domain_365.RULE new file mode 100644 index 00000000000..1a2abefc319 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_365.RULE @@ -0,0 +1 @@ +also in the public domain. \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_365.yml b/src/licensedcode/data/rules/public-domain_365.yml new file mode 100644 index 00000000000..7248c1eb1f1 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_365.yml @@ -0,0 +1,4 @@ +license_expression: public-domain +is_license_notice: yes +relevance: 100 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip diff --git a/src/licensedcode/data/rules/public-domain_366.RULE b/src/licensedcode/data/rules/public-domain_366.RULE new file mode 100644 index 00000000000..044c1b9141e --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_366.RULE @@ -0,0 +1 @@ +package which is in the public domain. \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_366.yml b/src/licensedcode/data/rules/public-domain_366.yml new file mode 100644 index 00000000000..7248c1eb1f1 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_366.yml @@ -0,0 +1,4 @@ +license_expression: public-domain +is_license_notice: yes +relevance: 100 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip diff --git a/src/licensedcode/data/rules/public-domain_367.RULE b/src/licensedcode/data/rules/public-domain_367.RULE new file mode 100644 index 00000000000..e5dc4063393 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_367.RULE @@ -0,0 +1,2 @@ +The name files form the Census report is a government document which I +don't think can be copyrighted. \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_367.yml b/src/licensedcode/data/rules/public-domain_367.yml new file mode 100644 index 00000000000..4e2a49efb96 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_367.yml @@ -0,0 +1,4 @@ +license_expression: public-domain +is_license_notice: yes +relevance: 90 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip diff --git a/src/licensedcode/data/rules/public-domain_368.RULE b/src/licensedcode/data/rules/public-domain_368.RULE new file mode 100644 index 00000000000..4627e6cb6c8 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_368.RULE @@ -0,0 +1,2 @@ +list is also in the +public domain. \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_368.yml b/src/licensedcode/data/rules/public-domain_368.yml new file mode 100644 index 00000000000..7248c1eb1f1 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_368.yml @@ -0,0 +1,4 @@ +license_expression: public-domain +is_license_notice: yes +relevance: 100 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip diff --git a/src/licensedcode/data/rules/public-domain_369.RULE b/src/licensedcode/data/rules/public-domain_369.RULE new file mode 100644 index 00000000000..6f7999e4d19 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_369.RULE @@ -0,0 +1 @@ +package and Supplement is in the Public Domain. \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_369.yml b/src/licensedcode/data/rules/public-domain_369.yml new file mode 100644 index 00000000000..7248c1eb1f1 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_369.yml @@ -0,0 +1,4 @@ +license_expression: public-domain +is_license_notice: yes +relevance: 100 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip diff --git a/src/licensedcode/data/rules/public-domain_370.RULE b/src/licensedcode/data/rules/public-domain_370.RULE new file mode 100644 index 00000000000..1b722eaaef6 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_370.RULE @@ -0,0 +1,2 @@ +So are you saying your word list is also in the public domain? + That is the intention. \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_370.yml b/src/licensedcode/data/rules/public-domain_370.yml new file mode 100644 index 00000000000..7248c1eb1f1 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_370.yml @@ -0,0 +1,4 @@ +license_expression: public-domain +is_license_notice: yes +relevance: 100 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip diff --git a/src/licensedcode/data/rules/public-domain_371.RULE b/src/licensedcode/data/rules/public-domain_371.RULE new file mode 100644 index 00000000000..ddcfff2482a --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_371.RULE @@ -0,0 +1,2 @@ +The "UK English Wordlist With Frequency Classification" is also in the +Public Domain: \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_371.yml b/src/licensedcode/data/rules/public-domain_371.yml new file mode 100644 index 00000000000..7248c1eb1f1 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_371.yml @@ -0,0 +1,4 @@ +license_expression: public-domain +is_license_notice: yes +relevance: 100 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip diff --git a/src/licensedcode/data/rules/public-domain_372.RULE b/src/licensedcode/data/rules/public-domain_372.RULE new file mode 100644 index 00000000000..721356c027d --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_372.RULE @@ -0,0 +1,5 @@ +There were many many sources in total, but any text marked + "copyright" was avoided. Locally-written documentation was one + source. An earlier version of the list resided in a filespace called + PUBLIC on the University mainframe, because it was considered public + domain. \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_372.yml b/src/licensedcode/data/rules/public-domain_372.yml new file mode 100644 index 00000000000..4e2a49efb96 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_372.yml @@ -0,0 +1,4 @@ +license_expression: public-domain +is_license_notice: yes +relevance: 90 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip diff --git a/src/licensedcode/data/rules/public-domain_373.RULE b/src/licensedcode/data/rules/public-domain_373.RULE new file mode 100644 index 00000000000..7b5692d9a5d --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_373.RULE @@ -0,0 +1,11 @@ +package was explicitly placed in the public domain: + + The Moby lexicon project is complete and has + been place into the public domain. Use, sell, + rework, excerpt and use in any way on any platform. + + Placing this material on internal or public servers is + also encouraged. The compiler is not aware of any + export restrictions so freely distribute world-wide. + + You can verify the public domain status by contacting \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_373.yml b/src/licensedcode/data/rules/public-domain_373.yml new file mode 100644 index 00000000000..712812142d2 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_373.yml @@ -0,0 +1,4 @@ +license_expression: public-domain +is_license_text: yes +relevance: 100 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip diff --git a/src/licensedcode/data/rules/public-domain_374.RULE b/src/licensedcode/data/rules/public-domain_374.RULE new file mode 100644 index 00000000000..d7370c342c0 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_374.RULE @@ -0,0 +1 @@ +PUBLIC DOMAIN NOTICE \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_374.yml b/src/licensedcode/data/rules/public-domain_374.yml new file mode 100644 index 00000000000..bba87100644 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_374.yml @@ -0,0 +1,3 @@ +license_expression: public-domain +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/public-domain_375.RULE b/src/licensedcode/data/rules/public-domain_375.RULE new file mode 100644 index 00000000000..1fd8dd3d770 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_375.RULE @@ -0,0 +1 @@ +originally written by Mark Adler who submitted it as public domain code. \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_375.yml b/src/licensedcode/data/rules/public-domain_375.yml new file mode 100644 index 00000000000..4a3a0c6aefa --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_375.yml @@ -0,0 +1,7 @@ +license_expression: public-domain +is_license_notice: yes +relevance: 100 +notes: Seen in Info-Zip +ignorable_authors: + - Mark Adler + diff --git a/src/licensedcode/data/rules/public-domain_376.RULE b/src/licensedcode/data/rules/public-domain_376.RULE new file mode 100644 index 00000000000..7968761c55a --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_376.RULE @@ -0,0 +1 @@ +package was explicitly placed in the public domain \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_376.yml b/src/licensedcode/data/rules/public-domain_376.yml new file mode 100644 index 00000000000..95831078f5e --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_376.yml @@ -0,0 +1,3 @@ +license_expression: public-domain +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/public-domain_377.RULE b/src/licensedcode/data/rules/public-domain_377.RULE new file mode 100644 index 00000000000..47cfc4e43d3 --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_377.RULE @@ -0,0 +1,11 @@ +The package was explicitly placed in the public domain: + + The lexicon project is complete and has + been place into the public domain. Use, sell, + rework, excerpt and use in any way on any platform. + + Placing this material on internal or public servers is + also encouraged. The compiler is not aware of any + export restrictions so freely distribute world-wide. + + You can verify the public domain status by contacting \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_377.yml b/src/licensedcode/data/rules/public-domain_377.yml new file mode 100644 index 00000000000..95831078f5e --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_377.yml @@ -0,0 +1,3 @@ +license_expression: public-domain +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/public-domain_378.RULE b/src/licensedcode/data/rules/public-domain_378.RULE new file mode 100644 index 00000000000..ef4f8de5c5c --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_378.RULE @@ -0,0 +1 @@ +is also in the public domain. \ No newline at end of file diff --git a/src/licensedcode/data/rules/public-domain_378.yml b/src/licensedcode/data/rules/public-domain_378.yml new file mode 100644 index 00000000000..95831078f5e --- /dev/null +++ b/src/licensedcode/data/rules/public-domain_378.yml @@ -0,0 +1,3 @@ +license_expression: public-domain +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/purdue-bsd_and_other-permissive_1.RULE b/src/licensedcode/data/rules/purdue-bsd_and_other-permissive_1.RULE new file mode 100644 index 00000000000..e8c6f10b76e --- /dev/null +++ b/src/licensedcode/data/rules/purdue-bsd_and_other-permissive_1.RULE @@ -0,0 +1,4 @@ +License +Lsof has no license. Its use and distribution are subject to these +terms and conditions, found in each lsof source file. (The copyright +year in or format of the notice may vary slightly.) \ No newline at end of file diff --git a/src/licensedcode/data/rules/purdue-bsd_and_other-permissive_1.yml b/src/licensedcode/data/rules/purdue-bsd_and_other-permissive_1.yml new file mode 100644 index 00000000000..79bccb06a5a --- /dev/null +++ b/src/licensedcode/data/rules/purdue-bsd_and_other-permissive_1.yml @@ -0,0 +1,5 @@ +license_expression: purdue-bsd AND other-permissive +is_license_notice: yes +relevance: 100 +minimum_coverage: 90 +notes: Seen in lsof diff --git a/src/licensedcode/data/rules/secret-labs-2011_6.RULE b/src/licensedcode/data/rules/secret-labs-2011_6.RULE new file mode 100644 index 00000000000..c5205a532d9 --- /dev/null +++ b/src/licensedcode/data/rules/secret-labs-2011_6.RULE @@ -0,0 +1,21 @@ +Like PIL, Pillow is licensed under the open source HPND License: + +By obtaining, using, and/or copying this software and/or its associated +documentation, you agree that you have read, understood, and will comply +with the following terms and conditions: + +Permission to use, copy, modify, and distribute this software and its +associated documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appears in all copies, and that +both that copyright notice and this permission notice appear in supporting +documentation, and that the name of Secret Labs AB or the author not be +used in advertising or publicity pertaining to distribution of the software +without specific, written prior permission. + +SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS +SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. +IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR BE LIABLE FOR ANY SPECIAL, +INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/secret-labs-2011_6.yml b/src/licensedcode/data/rules/secret-labs-2011_6.yml new file mode 100644 index 00000000000..32ed9e666ef --- /dev/null +++ b/src/licensedcode/data/rules/secret-labs-2011_6.yml @@ -0,0 +1,5 @@ +license_expression: secret-labs-2011 +is_license_text: yes +relevance: 100 +minimum_coverage: 95 +notes: pil license is not exactly the HPND per SPDX matching guidelines diff --git a/src/licensedcode/data/rules/shl-0.51_1.RULE b/src/licensedcode/data/rules/shl-0.51_1.RULE new file mode 100644 index 00000000000..6ee9fade1e0 --- /dev/null +++ b/src/licensedcode/data/rules/shl-0.51_1.RULE @@ -0,0 +1,174 @@ +SOLDERPAD HARDWARE LICENSE version 0.51 +This license is based closely on the Apache License Version 2.0, but is not +approved or endorsed by the Apache Foundation. A copy of the non-modified Apache +License 2.0 can be found at http://www.apache.org/licenses/LICENSE-2.0. + +As this license is not currently OSI or FSF approved, the Licensor permits any +Work licensed under this License, at the option of the Licensee, to be treated +as licensed under the Apache License Version 2.0 (which is so approved). + +This License is licensed under the terms of this License and in particular +clause 7 below (Disclaimer of Warranties) applies in relation to its use. + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + +“License” shall mean the terms and conditions for use, reproduction, and +distribution as defined by Sections 1 through 9 of this document. + +“Licensor” shall mean the Rights owner or entity authorized by the Rights owner +that is granting the License. + +“Legal Entity” shall mean the union of the acting entity and all other entities +that control, are controlled by, or are under common control with that entity. +For the purposes of this definition, “control” means (i) the power, direct or +indirect, to cause the direction or management of such entity, whether by +contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the +outstanding shares, or (iii) beneficial ownership of such entity. + +“You” (or “Your”) shall mean an individual or Legal Entity exercising +permissions granted by this License. + +“Rights” means copyright and any similar right including design right (whether +registered or unregistered), semiconductor topography (mask) rights and database +rights (but excluding Patents and Trademarks). + +“Source” form shall mean the preferred form for making modifications, including +but not limited to source code, net lists, board layouts, CAD files, +documentation source, and configuration files. + +“Object” form shall mean any form resulting from mechanical transformation or +translation of a Source form, including but not limited to compiled object code, +generated documentation, the instantiation of a hardware design and conversions +to other media types, including intermediate forms such as bytecodes, FPGA +bitstreams, artwork and semiconductor topographies (mask works). + +“Work” shall mean the work of authorship, whether in Source form or other Object +form, made available under the License, as indicated by a Rights notice that is +included in or attached to the work (an example is provided in the Appendix +below). + +“Derivative Works” shall mean any work, whether in Source or Object form, that +is based on (or derived from) the Work and for which the editorial revisions, +annotations, elaborations, or other modifications represent, as a whole, an +original work of authorship. For the purposes of this License, Derivative Works +shall not include works that remain separable from, or merely link (or bind by +name) or physically connect to or interoperate with the interfaces of, the Work +and Derivative Works thereof. + +“Contribution” shall mean any design or work of authorship, including the +original version of the Work and any modifications or additions to that Work or +Derivative Works thereof, that is intentionally submitted to Licensor for +inclusion in the Work by the Rights owner or by an individual or Legal Entity +authorized to submit on behalf of the Rights owner. For the purposes of this +definition, “submitted” means any form of electronic, verbal, or written +communication sent to the Licensor or its representatives, including but not +limited to communication on electronic mailing lists, source code control +systems, and issue tracking systems that are managed by, or on behalf of, the +Licensor for the purpose of discussing and improving the Work, but excluding +communication that is conspicuously marked or otherwise designated in writing by +the Rights owner as “Not a Contribution.” + +“Contributor” shall mean Licensor and any individual or Legal Entity on behalf +of whom a Contribution has been received by Licensor and subsequently +incorporated within the Work. + +2. Grant of License. Subject to the terms and conditions of this License, each +Contributor hereby grants to You a perpetual, worldwide, non-exclusive, +no-charge, royalty-free, irrevocable license under the Rights to reproduce, +prepare Derivative Works of, publicly display, publicly perform, sublicense, and +distribute the Work and such Derivative Works in Source or Object form and do +anything in relation to the Work as if the Rights did not exist. + +3. Grant of Patent License. Subject to the terms and conditions of this License, +each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, +no-charge, royalty-free, irrevocable (except as stated in this section) patent +license to make, have made, use, offer to sell, sell, import, and otherwise +transfer the Work, where such license applies only to those patent claims +licensable by such Contributor that are necessarily infringed by their +Contribution(s) alone or by combination of their Contribution(s) with the Work +to which such Contribution(s) was submitted. If You institute patent litigation +against any entity (including a cross-claim or counterclaim in a lawsuit) +alleging that the Work or a Contribution incorporated within the Work +constitutes direct or contributory patent infringement, then any patent licenses +granted to You under this License for that Work shall terminate as of the date +such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the Work or +Derivative Works thereof in any medium, with or without modifications, and in +Source or Object form, provided that You meet the following conditions: + +You must give any other recipients of the Work or Derivative Works a copy of +this License; and + +You must cause any modified files to carry prominent notices stating that You +changed the files; and + +You must retain, in the Source form of any Derivative Works that You distribute, +all copyright, patent, trademark, and attribution notices from the Source form +of the Work, excluding those notices that do not pertain to any part of the +Derivative Works; and + +If the Work includes a “NOTICE” text file as part of its distribution, then any +Derivative Works that You distribute must include a readable copy of the +attribution notices contained within such NOTICE file, excluding those notices +that do not pertain to any part of the Derivative Works, in at least one of the +following places: within a NOTICE text file distributed as part of the +Derivative Works; within the Source form or documentation, if provided along +with the Derivative Works; or, within a display generated by the Derivative +Works, if and wherever such third-party notices normally appear. The contents of +the NOTICE file are for informational purposes only and do not modify the +License. You may add Your own attribution notices within Derivative Works that +You distribute, alongside or as an addendum to the NOTICE text from the Work, +provided that such additional attribution notices cannot be construed as +modifying the License. You may add Your own copyright statement to Your +modifications and may provide additional or different license terms and +conditions for use, reproduction, or distribution of Your modifications, or for +any such Derivative Works as a whole, provided Your use, reproduction, and +distribution of the Work otherwise complies with the conditions stated in this +License. + +5. Submission of Contributions. Unless You explicitly state otherwise, any +Contribution intentionally submitted for inclusion in the Work by You to the +Licensor shall be under the terms and conditions of this License, without any +additional terms or conditions. Notwithstanding the above, nothing herein shall +supersede or modify the terms of any separate license agreement you may have +executed with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade names, +trademarks, service marks, or product names of the Licensor, except as required +for reasonable and customary use in describing the origin of the Work and +reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or agreed to in +writing, Licensor provides the Work (and each Contributor provides its +Contributions) on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied, including, without limitation, any warranties +or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A +PARTICULAR PURPOSE. You are solely responsible for determining the +appropriateness of using or redistributing the Work and assume any risks +associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, whether in +tort (including negligence), contract, or otherwise, unless required by +applicable law (such as deliberate and grossly negligent acts) or agreed to in +writing, shall any Contributor be liable to You for damages, including any +direct, indirect, special, incidental, or consequential damages of any character +arising as a result of this License or out of the use or inability to use the +Work (including but not limited to damages for loss of goodwill, work stoppage, +computer failure or malfunction, or any and all other commercial damages or +losses), even if such Contributor has been advised of the possibility of such +damages. + +9. Accepting Warranty or Additional Liability. While redistributing the Work or +Derivative Works thereof, You may choose to offer, and charge a fee for, +acceptance of support, warranty, indemnity, or other liability obligations +and/or rights consistent with this License. However, in accepting such +obligations, You may act only on Your own behalf and on Your sole +responsibility, not on behalf of any other Contributor, and only if You agree to +indemnify, defend, and hold each Contributor harmless for any liability incurred +by, or claims asserted against, such Contributor by reason of your accepting any +such warranty or additional liability. + +END OF TERMS AND CONDITIONS \ No newline at end of file diff --git a/src/licensedcode/data/rules/shl-0.51_1.yml b/src/licensedcode/data/rules/shl-0.51_1.yml new file mode 100644 index 00000000000..f95d58b3798 --- /dev/null +++ b/src/licensedcode/data/rules/shl-0.51_1.yml @@ -0,0 +1,6 @@ +license_expression: shl-0.51 +is_license_text: yes +relevance: 100 +ignorable_urls: + - http://www.apache.org/licenses/LICENSE-2.0 + diff --git a/src/licensedcode/data/rules/sleepycat_17.RULE b/src/licensedcode/data/rules/sleepycat_17.RULE new file mode 100644 index 00000000000..4076519d586 --- /dev/null +++ b/src/licensedcode/data/rules/sleepycat_17.RULE @@ -0,0 +1,8 @@ +http://www.oracle.com/technology/software/products/berkeley-db/db/index.html + +Copyright and license: + +The following is the license that applies to this copy of the Berkeley DB +software. For a license to use the Berkeley DB software under conditions +other than those described here, or to purchase support for this software, +please contact Oracle at berkeleydb-info_us@oracle.com. diff --git a/src/licensedcode/data/rules/sleepycat_17.yml b/src/licensedcode/data/rules/sleepycat_17.yml new file mode 100644 index 00000000000..6cdb2013723 --- /dev/null +++ b/src/licensedcode/data/rules/sleepycat_17.yml @@ -0,0 +1,7 @@ +license_expression: sleepycat +is_license_notice: yes +relevance: 100 +ignorable_emails: + - berkeleydb-info_us@oracle.com +ignorable_urls: + - http://www.oracle.com/technology/software/products/berkeley-db/db/index.html diff --git a/src/licensedcode/data/rules/ssleay-windows_1.yml b/src/licensedcode/data/rules/ssleay-windows_1.yml index fa7f375b1c4..ec5582e9c4c 100644 --- a/src/licensedcode/data/rules/ssleay-windows_1.yml +++ b/src/licensedcode/data/rules/ssleay-windows_1.yml @@ -1,6 +1,10 @@ license_expression: ssleay-windows is_license_text: yes notes: SSLEAY windows Variant with typos +ignorable_copyrights: + - holder is Tim Hudson (tjh@cryptsoft.com) +ignorable_holders: + - Tim Hudson ignorable_authors: - Tim Hudson (tjh@cryptsoft.com) ignorable_emails: diff --git a/src/licensedcode/data/rules/ssleay-windows_2.yml b/src/licensedcode/data/rules/ssleay-windows_2.yml index cd91f99eca8..9295fa23e53 100644 --- a/src/licensedcode/data/rules/ssleay-windows_2.yml +++ b/src/licensedcode/data/rules/ssleay-windows_2.yml @@ -1,6 +1,10 @@ license_expression: ssleay-windows is_license_text: yes notes: Variant of Original SSLeay License with Windows exception +ignorable_copyrights: + - holder is Tim Hudson (tjh@mincom.oz.au) +ignorable_holders: + - Tim Hudson ignorable_authors: - Eric Young (eay@mincom.oz.au) - Tim Hudson (tjh@mincom.oz.au) diff --git a/src/licensedcode/data/rules/ssleay-windows_3.yml b/src/licensedcode/data/rules/ssleay-windows_3.yml index fa7f375b1c4..ec5582e9c4c 100644 --- a/src/licensedcode/data/rules/ssleay-windows_3.yml +++ b/src/licensedcode/data/rules/ssleay-windows_3.yml @@ -1,6 +1,10 @@ license_expression: ssleay-windows is_license_text: yes notes: SSLEAY windows Variant with typos +ignorable_copyrights: + - holder is Tim Hudson (tjh@cryptsoft.com) +ignorable_holders: + - Tim Hudson ignorable_authors: - Tim Hudson (tjh@cryptsoft.com) ignorable_emails: diff --git a/src/licensedcode/data/rules/ssleay-windows_4.yml b/src/licensedcode/data/rules/ssleay-windows_4.yml index 679ce80a610..1c3d00fdb4f 100644 --- a/src/licensedcode/data/rules/ssleay-windows_4.yml +++ b/src/licensedcode/data/rules/ssleay-windows_4.yml @@ -1,6 +1,10 @@ license_expression: ssleay-windows is_license_text: yes notes: SSLEAY windows Variant with typos +ignorable_copyrights: + - holder is Tim Hudson (tjh@mincom.oz.au) +ignorable_holders: + - Tim Hudson ignorable_authors: - Tim Hudson (tjh@mincom.oz.au) ignorable_emails: diff --git a/src/licensedcode/data/rules/ssleay_3.yml b/src/licensedcode/data/rules/ssleay_3.yml index 67f84ed1547..0f65d06e1d1 100644 --- a/src/licensedcode/data/rules/ssleay_3.yml +++ b/src/licensedcode/data/rules/ssleay_3.yml @@ -1,5 +1,9 @@ license_expression: ssleay is_license_text: yes +ignorable_copyrights: + - holder is Tim Hudson (tjh@cryptsoft.com) +ignorable_holders: + - Tim Hudson ignorable_emails: - eay@cryptsoft.com - tjh@cryptsoft.com diff --git a/src/licensedcode/data/rules/ssleay_4.yml b/src/licensedcode/data/rules/ssleay_4.yml index f8ce26dbd27..5c93c0748a6 100644 --- a/src/licensedcode/data/rules/ssleay_4.yml +++ b/src/licensedcode/data/rules/ssleay_4.yml @@ -1,6 +1,10 @@ license_expression: ssleay is_license_text: yes notes: Variant of SSLEay with typos +ignorable_copyrights: + - holder is Tim Hudson (tjh@mincom.oz.au) +ignorable_holders: + - Tim Hudson ignorable_emails: - eay@mincom.oz.au - tjh@mincom.oz.au diff --git a/src/licensedcode/data/rules/ssleay_5.yml b/src/licensedcode/data/rules/ssleay_5.yml index 0d4ccc2e652..32f64145ac1 100644 --- a/src/licensedcode/data/rules/ssleay_5.yml +++ b/src/licensedcode/data/rules/ssleay_5.yml @@ -2,8 +2,10 @@ license_expression: ssleay is_license_text: yes ignorable_copyrights: - Copyright (c) 1995-1997 Eric Young (eay@mincom.oz.au) + - holder is Tim Hudson (tjh@mincom.oz.au) ignorable_holders: - Eric Young + - Tim Hudson ignorable_authors: - Eric Young (eay@mincom.oz.au) ignorable_emails: diff --git a/src/licensedcode/data/rules/tcp-wrappers_3.RULE b/src/licensedcode/data/rules/tcp-wrappers_3.RULE new file mode 100644 index 00000000000..0ac67e9157e --- /dev/null +++ b/src/licensedcode/data/rules/tcp-wrappers_3.RULE @@ -0,0 +1,15 @@ + +* Individual files may be covered by other copyrights +* (as noted in the file itself.) +* +* This material was originally written and compiled by Wietse Venema at +* Eindhoven University of Technology, The Netherlands, in 1990, 1991, +* 1992, 1993, 1994 and 1995. +* +* Redistribution and use in source and binary forms are permitted +* provided that this entire copyright notice is duplicated in all such +* copies. +* +* This software is provided "as is" and without any expressed or implied +* warranties, including, without limitation, the implied warranties of +* merchantibility and fitness for any particular purpose. diff --git a/src/licensedcode/data/rules/tcp-wrappers_3.yml b/src/licensedcode/data/rules/tcp-wrappers_3.yml new file mode 100644 index 00000000000..df3d0f929df --- /dev/null +++ b/src/licensedcode/data/rules/tcp-wrappers_3.yml @@ -0,0 +1,3 @@ +license_expression: tcp-wrappers +is_license_text: yes + diff --git a/src/licensedcode/data/rules/ttyp0_1.RULE b/src/licensedcode/data/rules/ttyp0_1.RULE new file mode 100644 index 00000000000..158fa471662 --- /dev/null +++ b/src/licensedcode/data/rules/ttyp0_1.RULE @@ -0,0 +1 @@ +released under the ttyp0 License. \ No newline at end of file diff --git a/src/licensedcode/data/rules/ttyp0_1.yml b/src/licensedcode/data/rules/ttyp0_1.yml new file mode 100644 index 00000000000..ceedaf6e080 --- /dev/null +++ b/src/licensedcode/data/rules/ttyp0_1.yml @@ -0,0 +1,3 @@ +license_expression: ttyp0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/tu-berlin-2.0_1.RULE b/src/licensedcode/data/rules/tu-berlin-2.0_1.RULE new file mode 100644 index 00000000000..53156b03f30 --- /dev/null +++ b/src/licensedcode/data/rules/tu-berlin-2.0_1.RULE @@ -0,0 +1,28 @@ +Any use of this software is permitted provided that this notice is not +removed and that neither the authors nor the Technische Universitaet Berlin +are deemed to have made any representations as to the suitability of this +software for any purpose nor are held responsible for any defects of +this software. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. + +As a matter of courtesy, the authors request to be informed about uses +this software has found, about bugs in this software, and about any +improvements that may be of general interest. + +Berlin, 28.11.1994 +Jutta Degener +Carsten Bormann + + oOo + +Since the original terms of 15 years ago maybe do not make our +intentions completely clear given today's refined usage of the legal +terms, we append this additional permission: + + Permission to use, copy, modify, and distribute this software + for any purpose with or without fee is hereby granted, + provided that this notice is not removed and that neither + the authors nor the Technische Universitaet Berlin are + deemed to have made any representations as to the suitability + of this software for any purpose nor are held responsible + for any defects of this software. THERE IS ABSOLUTELY NO + WARRANTY FOR THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/tu-berlin-2.0_1.yml b/src/licensedcode/data/rules/tu-berlin-2.0_1.yml new file mode 100644 index 00000000000..14de81090a3 --- /dev/null +++ b/src/licensedcode/data/rules/tu-berlin-2.0_1.yml @@ -0,0 +1,4 @@ +license_expression: tu-berlin-2.0 +is_license_text: yes +relevance: 100 +minimum_coverage: 90 diff --git a/src/licensedcode/data/rules/unicode-tou_8.RULE b/src/licensedcode/data/rules/unicode-tou_8.RULE new file mode 100644 index 00000000000..4168af5cf9b --- /dev/null +++ b/src/licensedcode/data/rules/unicode-tou_8.RULE @@ -0,0 +1,27 @@ +Terms of Use + Certain documents and files on this website contain a legend indicating that "Modification is permitted." Any person is hereby authorized, without fee, to modify such documents and files to create derivative works conforming to the Unicode® Standard, subject to Terms and Conditions herein. + Any person is hereby authorized, without fee, to view, use, reproduce, and distribute all documents and files, subject to the Terms and Conditions herein. + Further specifications of rights and restrictions pertaining to the use of the Unicode DATA FILES and SOFTWARE can be found in the Unicode Data Files and Software License. + Each version of the Unicode Standard has further specifications of rights and restrictions of use. For the book editions (Unicode 5.0 and earlier), these are found on the back of the title page. + The Unicode PDF online code charts carry specific restrictions. Those restrictions are incorporated as the first page of each PDF code chart. + All other files, including online documentation of the core specification for Unicode 6.0 and later, are covered under these general Terms of Use. + No license is granted to "mirror" the Unicode website where a fee is charged for access to the "mirror" site. + Modification is not permitted with respect to this document. All copies of this document must be verbatim. +Restricted Rights Legend + Any technical data or software which is licensed to the United States of America, its agencies and/or instrumentalities under this Agreement is commercial technical data or commercial computer software developed exclusively at private expense as defined in FAR 2.101, or DFARS 252.227-7014 (June 1995), as applicable. For technical data, use, duplication, or disclosure by the Government is subject to restrictions as set forth in DFARS 202.227-7015 Technical Data, Commercial and Items (Nov 1995) and this Agreement. For Software, in accordance with FAR 12-212 or DFARS 227-7202, as applicable, use, duplication or disclosure by the Government is subject to the restrictions set forth in this Agreement. +Warranties and Disclaimers + This publication and/or website may include technical or typographical errors or other inaccuracies. Changes are periodically added to the information herein; these changes will be incorporated in new editions of the publication and/or website. Unicode, Inc. may make improvements and/or changes in the product(s) and/or program(s) described in this publication and/or website at any time. + If this file has been purchased on magnetic or optical media from Unicode, Inc. the sole and exclusive remedy for any claim will be exchange of the defective media within ninety (90) days of original purchase. + EXCEPT AS PROVIDED IN SECTION E.2, THIS PUBLICATION AND/OR SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND EITHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. UNICODE, INC. AND ITS LICENSORS ASSUME NO RESPONSIBILITY FOR ERRORS OR OMISSIONS IN THIS PUBLICATION AND/OR SOFTWARE OR OTHER DOCUMENTS WHICH ARE REFERENCED BY OR LINKED TO THIS PUBLICATION OR THE UNICODE WEBSITE. +Waiver of Damages + In no event shall Unicode, Inc. or its licensors be liable for any special, incidental, indirect or consequential damages of any kind, or any damages whatsoever, whether or not Unicode, Inc. was advised of the possibility of the damage, including, without limitation, those resulting from the following: loss of use, data or profits, in connection with the use, modification or distribution of this information or its derivatives. +Trademarks & Logos + The Unicode Word Mark and the Unicode Logo are trademarks of Unicode, Inc. “The Unicode Consortium” and “Unicode, Inc.” are trade names of Unicode, Inc. Use of the information and materials found on this website indicates your acknowledgement of Unicode, Inc.’s exclusive worldwide rights in the Unicode Word Mark, the Unicode Logo, and the Unicode trade names. + The Unicode Consortium Name and Trademark Usage Policy (“Trademark Policy”) are incorporated herein by reference and you agree to abide by the provisions of the Trademark Policy, which may be changed from time to time in the sole discretion of Unicode, Inc. + All third party trademarks referenced herein are the property of their respective owners. +Miscellaneous + Jurisdiction and Venue. This website is operated from a location in the State of California, United States of America. Unicode, Inc. makes no representation that the materials are appropriate for use in other locations. If you access this website from other locations, you are responsible for compliance with local laws. This Agreement, all use of this website and any claims and damages resulting from use of this website are governed solely by the laws of the State of California without regard to any principles which would apply the laws of a different jurisdiction. The user agrees that any disputes regarding this website shall be resolved solely in the courts located in Santa Clara County, California. The user agrees said courts have personal jurisdiction and agree to waive any right to transfer the dispute to any other forum. + Modification by Unicode, Inc. Unicode, Inc. shall have the right to modify this Agreement at any time by posting it to this website. The user may not assign any part of this Agreement without Unicode, Inc.’s prior written consent. + Taxes. The user agrees to pay any taxes arising from access to this website or use of the information herein, except for those based on Unicode’s net income. + Severability. If any provision of this Agreement is declared invalid or unenforceable, the remaining provisions of this Agreement shall remain in effect. + Entire Agreement. This Agreement constitutes the entire agreement between the parties. \ No newline at end of file diff --git a/src/licensedcode/data/rules/unicode-tou_8.yml b/src/licensedcode/data/rules/unicode-tou_8.yml new file mode 100644 index 00000000000..946ea694b53 --- /dev/null +++ b/src/licensedcode/data/rules/unicode-tou_8.yml @@ -0,0 +1,3 @@ +license_expression: unicode-tou +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/unicode_51.RULE b/src/licensedcode/data/rules/unicode_51.RULE new file mode 100644 index 00000000000..89fc1ab8ab9 --- /dev/null +++ b/src/licensedcode/data/rules/unicode_51.RULE @@ -0,0 +1,31 @@ +Distributed under the Terms of Use in +http://www.unicode.org/copyright.html. + +Permission is hereby granted, free of charge, to any person +obtaining a copy of the Unicode data files and any associated +documentation (the "Data Files") or Unicode software and any +associated documentation (the "Software") to deal in the Data +Files or Software without restriction, including without +limitation the rights to use, copy, modify, merge, publish, +distribute, and/or sell copies of the Data Files or Software, +and to permit persons to whom the Data Files or Software are +furnished to do so, provided that (a) the above copyright +notice(s) and this permission notice appear with all copies of +the Data Files or Software, (b) both the above copyright +notice(s) and this permission notice appear in associated +documentation, and (c) there is clear notice in each modified +Data File or in the Software as well as in the documentation +associated with the Data File(s) or Software that the data or +software has been modified. + +THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT +WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT +LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY +RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS +INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY +SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, +WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS +ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THE DATA FILES OR SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/unicode_51.yml b/src/licensedcode/data/rules/unicode_51.yml new file mode 100644 index 00000000000..2f1db03cdd5 --- /dev/null +++ b/src/licensedcode/data/rules/unicode_51.yml @@ -0,0 +1,6 @@ +license_expression: unicode +is_license_text: yes +relevance: 100 +ignorable_urls: + - http://www.unicode.org/copyright.html + diff --git a/src/licensedcode/data/rules/unicode_52.RULE b/src/licensedcode/data/rules/unicode_52.RULE new file mode 100644 index 00000000000..c1c579bbb94 --- /dev/null +++ b/src/licensedcode/data/rules/unicode_52.RULE @@ -0,0 +1 @@ +ICU4J License \ No newline at end of file diff --git a/src/licensedcode/data/rules/unicode_52.yml b/src/licensedcode/data/rules/unicode_52.yml new file mode 100644 index 00000000000..3e6035e996b --- /dev/null +++ b/src/licensedcode/data/rules/unicode_52.yml @@ -0,0 +1,3 @@ +license_expression: unicode +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/unicode_53.RULE b/src/licensedcode/data/rules/unicode_53.RULE new file mode 100644 index 00000000000..6a38218253c --- /dev/null +++ b/src/licensedcode/data/rules/unicode_53.RULE @@ -0,0 +1 @@ +UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE \ No newline at end of file diff --git a/src/licensedcode/data/rules/unicode_53.yml b/src/licensedcode/data/rules/unicode_53.yml new file mode 100644 index 00000000000..3e6035e996b --- /dev/null +++ b/src/licensedcode/data/rules/unicode_53.yml @@ -0,0 +1,3 @@ +license_expression: unicode +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/unicode_54.RULE b/src/licensedcode/data/rules/unicode_54.RULE new file mode 100644 index 00000000000..0da1dbf5326 --- /dev/null +++ b/src/licensedcode/data/rules/unicode_54.RULE @@ -0,0 +1 @@ +UNICODE, INC. LICENSE AGREEMENT \ No newline at end of file diff --git a/src/licensedcode/data/rules/unicode_54.yml b/src/licensedcode/data/rules/unicode_54.yml new file mode 100644 index 00000000000..0074a9bc746 --- /dev/null +++ b/src/licensedcode/data/rules/unicode_54.yml @@ -0,0 +1,3 @@ +license_expression: unicode +is_license_reference: yes +relevance: 99 diff --git a/src/licensedcode/data/rules/unicode_55.RULE b/src/licensedcode/data/rules/unicode_55.RULE new file mode 100644 index 00000000000..9198b303406 --- /dev/null +++ b/src/licensedcode/data/rules/unicode_55.RULE @@ -0,0 +1,46 @@ +UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE + +See Terms of Use for definitions of Unicode Inc.'s +Data Files and Software. + +NOTICE TO USER: Carefully read the following legal agreement. +BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S +DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"), +YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE +TERMS AND CONDITIONS OF THIS AGREEMENT. +IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE +THE DATA FILES OR SOFTWARE. + +COPYRIGHT AND PERMISSION NOTICE + +Copyright (c) Unicode, Inc. All rights reserved. +Distributed under the Terms of Use in https://www.unicode.org/copyright.html. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Unicode data files and any associated documentation +(the "Data Files") or Unicode software and any associated documentation +(the "Software") to deal in the Data Files or Software +without restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, and/or sell copies of +the Data Files or Software, and to permit persons to whom the Data Files +or Software are furnished to do so, provided that either +(a) this copyright and permission notice appear with all copies +of the Data Files or Software, or +(b) this copyright and permission notice appear in associated +Documentation. + +THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT OF THIRD PARTY RIGHTS. +IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS +NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL +DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, +DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THE DATA FILES OR SOFTWARE. + +Except as contained in this notice, the name of a copyright holder +shall not be used in advertising or otherwise to promote the sale, +use or other dealings in these Data Files or Software without prior +written authorization of the copyright holder. \ No newline at end of file diff --git a/src/licensedcode/data/rules/unicode_55.yml b/src/licensedcode/data/rules/unicode_55.yml new file mode 100644 index 00000000000..abe4feba906 --- /dev/null +++ b/src/licensedcode/data/rules/unicode_55.yml @@ -0,0 +1,11 @@ +license_expression: unicode +is_license_text: yes +relevance: 100 +minimum_coverage: 90 +ignorable_copyrights: + - Copyright (c) Unicode, Inc. +ignorable_holders: + - Unicode, Inc. +ignorable_urls: + - https://www.unicode.org/copyright.html + diff --git a/src/licensedcode/data/rules/unknown-license-reference_208.yml b/src/licensedcode/data/rules/unknown-license-reference_208.yml index ddd0ee2c1d7..4254c8e2c41 100644 --- a/src/licensedcode/data/rules/unknown-license-reference_208.yml +++ b/src/licensedcode/data/rules/unknown-license-reference_208.yml @@ -1,3 +1,3 @@ license_expression: unknown-license-reference -is_license_reference: yes +is_license_intro: yes relevance: 100 diff --git a/src/licensedcode/data/rules/unknown-license-reference_209.yml b/src/licensedcode/data/rules/unknown-license-reference_209.yml index ddd0ee2c1d7..4254c8e2c41 100644 --- a/src/licensedcode/data/rules/unknown-license-reference_209.yml +++ b/src/licensedcode/data/rules/unknown-license-reference_209.yml @@ -1,3 +1,3 @@ license_expression: unknown-license-reference -is_license_reference: yes +is_license_intro: yes relevance: 100 diff --git a/src/licensedcode/data/rules/unknown-license-reference_212.yml b/src/licensedcode/data/rules/unknown-license-reference_212.yml index ddd0ee2c1d7..4254c8e2c41 100644 --- a/src/licensedcode/data/rules/unknown-license-reference_212.yml +++ b/src/licensedcode/data/rules/unknown-license-reference_212.yml @@ -1,3 +1,3 @@ license_expression: unknown-license-reference -is_license_reference: yes +is_license_intro: yes relevance: 100 diff --git a/src/licensedcode/data/rules/unknown-license-reference_216.yml b/src/licensedcode/data/rules/unknown-license-reference_216.yml index ddd0ee2c1d7..4254c8e2c41 100644 --- a/src/licensedcode/data/rules/unknown-license-reference_216.yml +++ b/src/licensedcode/data/rules/unknown-license-reference_216.yml @@ -1,3 +1,3 @@ license_expression: unknown-license-reference -is_license_reference: yes +is_license_intro: yes relevance: 100 diff --git a/src/licensedcode/data/rules/unknown-license-reference_293.yml b/src/licensedcode/data/rules/unknown-license-reference_293.yml index 36c2be95a82..23ba7a14099 100644 --- a/src/licensedcode/data/rules/unknown-license-reference_293.yml +++ b/src/licensedcode/data/rules/unknown-license-reference_293.yml @@ -1,4 +1,4 @@ license_expression: unknown-license-reference -is_license_reference: yes +is_license_intro: yes relevance: 100 notes: See in BSD diff --git a/src/licensedcode/data/rules/unknown-license-reference_309.RULE b/src/licensedcode/data/rules/unknown-license-reference_309.RULE new file mode 100644 index 00000000000..d8dd60c152d --- /dev/null +++ b/src/licensedcode/data/rules/unknown-license-reference_309.RULE @@ -0,0 +1 @@ +The library is licensed under the following terms \ No newline at end of file diff --git a/src/licensedcode/data/rules/unknown-license-reference_309.yml b/src/licensedcode/data/rules/unknown-license-reference_309.yml new file mode 100644 index 00000000000..f9a9c1348ac --- /dev/null +++ b/src/licensedcode/data/rules/unknown-license-reference_309.yml @@ -0,0 +1,2 @@ +license_expression: unknown-license-reference +is_license_intro: yes diff --git a/src/licensedcode/data/rules/unknown-license-reference_310.RULE b/src/licensedcode/data/rules/unknown-license-reference_310.RULE new file mode 100644 index 00000000000..da8102802c4 --- /dev/null +++ b/src/licensedcode/data/rules/unknown-license-reference_310.RULE @@ -0,0 +1,16 @@ +subdirectory is a collection of software from several sources. +Each file may have its own copyright/license that is embedded in the source +file. + +This list documents those licenses which are more restrictive than +a BSD-like license or require the copyright notice +to be duplicated in documentation and/or other materials associated with +the distribution. Certain licenses documented here only apply to +specific targets. Certain clauses only apply if you are building the +code as part of your binary. + +Note that this list may omit certain licenses that +only pertain to the copying/modifying of the individual source code. +If you are distributing the source code, then you do not need to +worry about these omitted licenses, so long as you do not modify the +copyright information already in place. diff --git a/src/licensedcode/data/rules/unknown-license-reference_310.yml b/src/licensedcode/data/rules/unknown-license-reference_310.yml new file mode 100644 index 00000000000..67b5d4178b5 --- /dev/null +++ b/src/licensedcode/data/rules/unknown-license-reference_310.yml @@ -0,0 +1,3 @@ +license_expression: unknown-license-reference +is_license_intro: yes +minimum_coverage: 80 diff --git a/src/licensedcode/data/rules/unknown-license-reference_311.RULE b/src/licensedcode/data/rules/unknown-license-reference_311.RULE new file mode 100644 index 00000000000..b1e1735b3fd --- /dev/null +++ b/src/licensedcode/data/rules/unknown-license-reference_311.RULE @@ -0,0 +1,5 @@ + +Many individual files are under other licenses. This file provides an +inventory of the copyright holders and licenses of all files in the +source tree. For specific licensing terms consult the files themselves. + diff --git a/src/licensedcode/data/rules/unknown-license-reference_311.yml b/src/licensedcode/data/rules/unknown-license-reference_311.yml new file mode 100644 index 00000000000..f9a9c1348ac --- /dev/null +++ b/src/licensedcode/data/rules/unknown-license-reference_311.yml @@ -0,0 +1,2 @@ +license_expression: unknown-license-reference +is_license_intro: yes diff --git a/src/licensedcode/data/rules/unknown-license-reference_312.RULE b/src/licensedcode/data/rules/unknown-license-reference_312.RULE new file mode 100644 index 00000000000..5c435f9f358 --- /dev/null +++ b/src/licensedcode/data/rules/unknown-license-reference_312.RULE @@ -0,0 +1 @@ +Portions contributed by are subject to the following license \ No newline at end of file diff --git a/src/licensedcode/data/rules/unknown-license-reference_312.yml b/src/licensedcode/data/rules/unknown-license-reference_312.yml new file mode 100644 index 00000000000..f9a9c1348ac --- /dev/null +++ b/src/licensedcode/data/rules/unknown-license-reference_312.yml @@ -0,0 +1,2 @@ +license_expression: unknown-license-reference +is_license_intro: yes diff --git a/src/licensedcode/data/rules/unknown-license-reference_313.RULE b/src/licensedcode/data/rules/unknown-license-reference_313.RULE new file mode 100644 index 00000000000..1ea2f747906 --- /dev/null +++ b/src/licensedcode/data/rules/unknown-license-reference_313.RULE @@ -0,0 +1 @@ +The Debian Packaging is licensed under the same terms as MIT Kerberos. diff --git a/src/licensedcode/data/rules/unknown-license-reference_313.yml b/src/licensedcode/data/rules/unknown-license-reference_313.yml new file mode 100644 index 00000000000..f266e15eb49 --- /dev/null +++ b/src/licensedcode/data/rules/unknown-license-reference_313.yml @@ -0,0 +1,4 @@ +license_expression: unknown-license-reference +is_license_intro: yes +minimum_coverage: 100 +notes: Present in the end of debian copyright files and refers to license texts in the same file. diff --git a/src/licensedcode/data/rules/unknown-license-reference_314.RULE b/src/licensedcode/data/rules/unknown-license-reference_314.RULE new file mode 100644 index 00000000000..678f4d5e7a2 --- /dev/null +++ b/src/licensedcode/data/rules/unknown-license-reference_314.RULE @@ -0,0 +1,3 @@ +contains code by +copyright is not assigned to the FSF. The code is licensed under the +CRYPTOGAMS license. diff --git a/src/licensedcode/data/rules/unknown-license-reference_314.yml b/src/licensedcode/data/rules/unknown-license-reference_314.yml new file mode 100644 index 00000000000..f9a9c1348ac --- /dev/null +++ b/src/licensedcode/data/rules/unknown-license-reference_314.yml @@ -0,0 +1,2 @@ +license_expression: unknown-license-reference +is_license_intro: yes diff --git a/src/licensedcode/data/rules/unknown-license-reference_315.RULE b/src/licensedcode/data/rules/unknown-license-reference_315.RULE new file mode 100644 index 00000000000..db8f825c00c --- /dev/null +++ b/src/licensedcode/data/rules/unknown-license-reference_315.RULE @@ -0,0 +1,2 @@ +copyright is not assigned to the FSF. The code is licensed under the + CRYPTOGAMS license. diff --git a/src/licensedcode/data/rules/unknown-license-reference_315.yml b/src/licensedcode/data/rules/unknown-license-reference_315.yml new file mode 100644 index 00000000000..9999c74768b --- /dev/null +++ b/src/licensedcode/data/rules/unknown-license-reference_315.yml @@ -0,0 +1,3 @@ +license_expression: unknown-license-reference +is_license_intro: yes +minimum_coverage: 100 diff --git a/src/licensedcode/data/rules/unknown-license-reference_316.RULE b/src/licensedcode/data/rules/unknown-license-reference_316.RULE new file mode 100644 index 00000000000..492d00c22a1 --- /dev/null +++ b/src/licensedcode/data/rules/unknown-license-reference_316.RULE @@ -0,0 +1,3 @@ +License +For more information about the license used for this project, please refer to +[LICENSE]. \ No newline at end of file diff --git a/src/licensedcode/data/rules/unknown-license-reference_316.yml b/src/licensedcode/data/rules/unknown-license-reference_316.yml new file mode 100644 index 00000000000..d72e93d5daf --- /dev/null +++ b/src/licensedcode/data/rules/unknown-license-reference_316.yml @@ -0,0 +1,5 @@ +license_expression: unknown-license-reference +is_license_reference: yes +relevance: 100 +referenced_filenames: + - LICENSE diff --git a/src/licensedcode/data/rules/unknown-license-reference_dual-licensed.yml b/src/licensedcode/data/rules/unknown-license-reference_dual-licensed.yml index ddd0ee2c1d7..4254c8e2c41 100644 --- a/src/licensedcode/data/rules/unknown-license-reference_dual-licensed.yml +++ b/src/licensedcode/data/rules/unknown-license-reference_dual-licensed.yml @@ -1,3 +1,3 @@ license_expression: unknown-license-reference -is_license_reference: yes +is_license_intro: yes relevance: 100 diff --git a/src/licensedcode/data/rules/unknown_6.RULE b/src/licensedcode/data/rules/unknown_6.RULE new file mode 100644 index 00000000000..ea517cd7a79 --- /dev/null +++ b/src/licensedcode/data/rules/unknown_6.RULE @@ -0,0 +1,11 @@ +Licensed under the Mirero License, Version 1.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.mirero.co.kr/licenses/LICENSE-1.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. \ No newline at end of file diff --git a/src/licensedcode/data/rules/unknown_6.yml b/src/licensedcode/data/rules/unknown_6.yml new file mode 100644 index 00000000000..cf4311e0fc5 --- /dev/null +++ b/src/licensedcode/data/rules/unknown_6.yml @@ -0,0 +1,7 @@ +license_expression: unknown +is_license_notice: yes +relevance: 100 +notes: This looks like an apache but is unknown and has a dead link. See https://github.com/seungyongshim/lsbeat/blob/5dada3b7a697ef3b248e57f61421e950a58382d6/LICENSE.txt +ignorable_urls: + - http://www.mirero.co.kr/licenses/LICENSE-1.0 + diff --git a/src/licensedcode/data/rules/unknown_german_1.yml b/src/licensedcode/data/rules/unknown_german_1.yml index 3f5a48f289e..9d5c655f7e4 100644 --- a/src/licensedcode/data/rules/unknown_german_1.yml +++ b/src/licensedcode/data/rules/unknown_german_1.yml @@ -1,3 +1,3 @@ license_expression: unknown is_license_reference: yes -notes: in german \ No newline at end of file +notes: in german diff --git a/src/licensedcode/data/rules/uoi-ncsa_and_other.yml b/src/licensedcode/data/rules/uoi-ncsa_and_other.yml index d842aefcdc3..65c0e239c71 100644 --- a/src/licensedcode/data/rules/uoi-ncsa_and_other.yml +++ b/src/licensedcode/data/rules/uoi-ncsa_and_other.yml @@ -2,12 +2,13 @@ license_expression: uoi-ncsa AND other-permissive AND other-copyleft is_license_notice: yes minimum_coverage: 95 ignorable_copyrights: - - Copyright The LLVM project + - Copyright The LLVM project +ignorable_emails: + - llvm-oversight@cs.uiuc.edu + - llvmdev@cs.uiuc.edu ignorable_holders: - - The LLVM project + - The LLVM project ignorable_urls: - - http://www.opensource.org/licenses/UoI-NCSA.php - - http://www.opensource.org/licenses/mit-license.php -ignorable_emails: - - llvm-oversight@cs.uiuc.edu - - llvmdev@cs.uiuc.edu + - http://www.opensource.org/licenses/UoI-NCSA.php + - http://www.opensource.org/licenses/mit-license.php + diff --git a/src/licensedcode/data/rules/us-govt-public-domain_24.RULE b/src/licensedcode/data/rules/us-govt-public-domain_24.RULE new file mode 100644 index 00000000000..e9a0e229e2f --- /dev/null +++ b/src/licensedcode/data/rules/us-govt-public-domain_24.RULE @@ -0,0 +1,19 @@ +PUBLIC DOMAIN NOTICE + National Center for Biotechnology Information + +This software/database is a "United States Government Work" under the +terms of the United States Copyright Act. It was written as part of +the author's official duties as a United States Government employee and +thus cannot be copyrighted. This software/database is freely available +to the public for use. The National Library of Medicine and the U.S. +Government have not placed any restriction on its use or reproduction. + +Although all reasonable efforts have been taken to ensure the accuracy +and reliability of the software and data, the NLM and the U.S. +Government do not and cannot warrant the performance or results that +may be obtained by using this software or data. The NLM and the U.S. +Government disclaim all warranties, express or implied, including +warranties of performance, merchantability or fitness for any particular +purpose. + +Please cite the author in any work or product based on this material. \ No newline at end of file diff --git a/src/licensedcode/data/rules/us-govt-public-domain_24.yml b/src/licensedcode/data/rules/us-govt-public-domain_24.yml new file mode 100644 index 00000000000..3cfcc92dfef --- /dev/null +++ b/src/licensedcode/data/rules/us-govt-public-domain_24.yml @@ -0,0 +1,4 @@ +license_expression: us-govt-public-domain +is_license_text: yes +relevance: 100 +notes: Seen in BLAST diff --git a/src/licensedcode/data/rules/us-govt-public-domain_25.RULE b/src/licensedcode/data/rules/us-govt-public-domain_25.RULE new file mode 100644 index 00000000000..28962678f56 --- /dev/null +++ b/src/licensedcode/data/rules/us-govt-public-domain_25.RULE @@ -0,0 +1,16 @@ +This software/database is a "United States Government Work" under the +terms of the United States Copyright Act. It was written as part of +the author's official duties as a United States Government employee and +thus cannot be copyrighted. This software/database is freely available +to the public for use. The National Library of Medicine and the U.S. +Government have not placed any restriction on its use or reproduction. + +Although all reasonable efforts have been taken to ensure the accuracy +and reliability of the software and data, the NLM and the U.S. +Government do not and cannot warrant the performance or results that +may be obtained by using this software or data. The NLM and the U.S. +Government disclaim all warranties, express or implied, including +warranties of performance, merchantability or fitness for any particular +purpose. + +Please cite the author in any work or product based on this material. \ No newline at end of file diff --git a/src/licensedcode/data/rules/us-govt-public-domain_25.yml b/src/licensedcode/data/rules/us-govt-public-domain_25.yml new file mode 100644 index 00000000000..3cfcc92dfef --- /dev/null +++ b/src/licensedcode/data/rules/us-govt-public-domain_25.yml @@ -0,0 +1,4 @@ +license_expression: us-govt-public-domain +is_license_text: yes +relevance: 100 +notes: Seen in BLAST diff --git a/src/licensedcode/data/rules/warranty-disclaimer_66.RULE b/src/licensedcode/data/rules/warranty-disclaimer_66.RULE new file mode 100644 index 00000000000..a6c9866b44f --- /dev/null +++ b/src/licensedcode/data/rules/warranty-disclaimer_66.RULE @@ -0,0 +1,3 @@ +Software distributed under the License is distributed on an "AS IS" basis, +WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +for the specific language governing rights and limitations under the License. \ No newline at end of file diff --git a/src/licensedcode/data/rules/warranty-disclaimer_66.yml b/src/licensedcode/data/rules/warranty-disclaimer_66.yml new file mode 100644 index 00000000000..3bf0969221d --- /dev/null +++ b/src/licensedcode/data/rules/warranty-disclaimer_66.yml @@ -0,0 +1,3 @@ +license_expression: warranty-disclaimer +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/warranty-disclaimer_67.RULE b/src/licensedcode/data/rules/warranty-disclaimer_67.RULE new file mode 100644 index 00000000000..84a64a0a7da --- /dev/null +++ b/src/licensedcode/data/rules/warranty-disclaimer_67.RULE @@ -0,0 +1 @@ +distributed without any expressed or implied warranty. \ No newline at end of file diff --git a/src/licensedcode/data/rules/warranty-disclaimer_67.yml b/src/licensedcode/data/rules/warranty-disclaimer_67.yml new file mode 100644 index 00000000000..3bf0969221d --- /dev/null +++ b/src/licensedcode/data/rules/warranty-disclaimer_67.yml @@ -0,0 +1,3 @@ +license_expression: warranty-disclaimer +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/warranty-disclaimer_68.RULE b/src/licensedcode/data/rules/warranty-disclaimer_68.RULE new file mode 100644 index 00000000000..5c99bc70042 --- /dev/null +++ b/src/licensedcode/data/rules/warranty-disclaimer_68.RULE @@ -0,0 +1 @@ +This file is distributed without any expressed or implied warranty. \ No newline at end of file diff --git a/src/licensedcode/data/rules/warranty-disclaimer_68.yml b/src/licensedcode/data/rules/warranty-disclaimer_68.yml new file mode 100644 index 00000000000..3bf0969221d --- /dev/null +++ b/src/licensedcode/data/rules/warranty-disclaimer_68.yml @@ -0,0 +1,3 @@ +license_expression: warranty-disclaimer +is_license_text: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/wordnet_4.RULE b/src/licensedcode/data/rules/wordnet_4.RULE new file mode 100644 index 00000000000..4b4bdf2f3f0 --- /dev/null +++ b/src/licensedcode/data/rules/wordnet_4.RULE @@ -0,0 +1,30 @@ +This software and database is being provided to you, the LICENSEE, + by Princeton University under the following license. By obtaining, + using and/or copying this software and database, you agree that you + have read, understood, and will comply with these terms and + conditions.: + + Permission to use, copy, modify and distribute this software and + database and its documentation for any purpose and without fee or + royalty is hereby granted, provided that you agree to comply with + the following copyright notice and statements, including the + disclaimer, and that the same appear on ALL copies of the software, + database and documentation, including modifications that you make + for internal use or for distribution. + + WordNet 1.6 Copyright 1997 by Princeton University. All rights + reserved. + + THIS SOFTWARE AND DATABASE IS PROVIDED "AS IS" AND PRINCETON + UNIVERSITY MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR + IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PRINCETON + UNIVERSITY MAKES NO REPRESENTATIONS OR WARRANTIES OF MERCHANT- + ABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE + LICENSED SOFTWARE, DATABASE OR DOCUMENTATION WILL NOT INFRINGE ANY + THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. + + The name of Princeton University or Princeton may not be used in + advertising or publicity pertaining to distribution of the software + and/or database. Title to copyright in this software, database and + any associated documentation shall at all times remain with + Princeton University and LICENSEE agrees to preserve same. \ No newline at end of file diff --git a/src/licensedcode/data/rules/wordnet_4.yml b/src/licensedcode/data/rules/wordnet_4.yml new file mode 100644 index 00000000000..8b2c6e2e994 --- /dev/null +++ b/src/licensedcode/data/rules/wordnet_4.yml @@ -0,0 +1,9 @@ +license_expression: wordnet +is_license_text: yes +relevance: 100 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip +ignorable_copyrights: + - Copyright 1997 by Princeton University +ignorable_holders: + - Princeton University + diff --git a/src/licensedcode/data/rules/wordnet_and_public-domain_and_other-permissive_1.RULE b/src/licensedcode/data/rules/wordnet_and_public-domain_and_other-permissive_1.RULE new file mode 100644 index 00000000000..ed085346d20 --- /dev/null +++ b/src/licensedcode/data/rules/wordnet_and_public-domain_and_other-permissive_1.RULE @@ -0,0 +1,2 @@ +The English dictionaries come directly from SCOWL +and is thus under the same copyright of SCOWL. \ No newline at end of file diff --git a/src/licensedcode/data/rules/wordnet_and_public-domain_and_other-permissive_1.yml b/src/licensedcode/data/rules/wordnet_and_public-domain_and_other-permissive_1.yml new file mode 100644 index 00000000000..cd9512edd10 --- /dev/null +++ b/src/licensedcode/data/rules/wordnet_and_public-domain_and_other-permissive_1.yml @@ -0,0 +1,10 @@ +license_expression: wordnet AND public-domain AND other-permissive +is_license_notice: yes +relevance: 100 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip + and https://web.archive.org/web/20140610003726/http://wordlist.aspell.net/scowl-readme +ignorable_copyrights: + - copyright of SCOWL. +ignorable_holders: + - SCOWL. + diff --git a/src/licensedcode/data/rules/wordnet_and_public-domain_and_other-permissive_2.RULE b/src/licensedcode/data/rules/wordnet_and_public-domain_and_other-permissive_2.RULE new file mode 100644 index 00000000000..9fe16ed314e --- /dev/null +++ b/src/licensedcode/data/rules/wordnet_and_public-domain_and_other-permissive_2.RULE @@ -0,0 +1 @@ +dictionaries derived from SCOWL. \ No newline at end of file diff --git a/src/licensedcode/data/rules/wordnet_and_public-domain_and_other-permissive_2.yml b/src/licensedcode/data/rules/wordnet_and_public-domain_and_other-permissive_2.yml new file mode 100644 index 00000000000..d225f6be746 --- /dev/null +++ b/src/licensedcode/data/rules/wordnet_and_public-domain_and_other-permissive_2.yml @@ -0,0 +1,5 @@ +license_expression: wordnet AND public-domain AND other-permissive +is_license_notice: yes +relevance: 100 +notes: Seen in https://altushost-swe.dl.sourceforge.net/project/wordlist/speller/2020.12.07/hunspell-en_US-2020.12.07.zip + and https://web.archive.org/web/20140610003726/http://wordlist.aspell.net/scowl-readme diff --git a/src/licensedcode/data/rules/wtfpl-2.0_29.RULE b/src/licensedcode/data/rules/wtfpl-2.0_29.RULE new file mode 100644 index 00000000000..6246a6df583 --- /dev/null +++ b/src/licensedcode/data/rules/wtfpl-2.0_29.RULE @@ -0,0 +1 @@ +Free to use under the WTFPL license. \ No newline at end of file diff --git a/src/licensedcode/data/rules/wtfpl-2.0_29.yml b/src/licensedcode/data/rules/wtfpl-2.0_29.yml new file mode 100644 index 00000000000..670ce4722ac --- /dev/null +++ b/src/licensedcode/data/rules/wtfpl-2.0_29.yml @@ -0,0 +1,3 @@ +license_expression: wtfpl-2.0 +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/wtfpl-2.0_30.RULE b/src/licensedcode/data/rules/wtfpl-2.0_30.RULE new file mode 100644 index 00000000000..8890923ce6b --- /dev/null +++ b/src/licensedcode/data/rules/wtfpl-2.0_30.RULE @@ -0,0 +1,2 @@ +Free to use under the WTFPL license. +http://www.wtfpl.net/ \ No newline at end of file diff --git a/src/licensedcode/data/rules/wtfpl-2.0_30.yml b/src/licensedcode/data/rules/wtfpl-2.0_30.yml new file mode 100644 index 00000000000..8e8f885f8cf --- /dev/null +++ b/src/licensedcode/data/rules/wtfpl-2.0_30.yml @@ -0,0 +1,6 @@ +license_expression: wtfpl-2.0 +is_license_notice: yes +relevance: 100 +ignorable_urls: + - http://www.wtfpl.net/ + diff --git a/src/licensedcode/data/rules/wtfpl-2.0_31.RULE b/src/licensedcode/data/rules/wtfpl-2.0_31.RULE new file mode 100644 index 00000000000..facb1abb5b7 --- /dev/null +++ b/src/licensedcode/data/rules/wtfpl-2.0_31.RULE @@ -0,0 +1,2 @@ +Free to use under the WTFPL license. +https://www.wtfpl.net/ \ No newline at end of file diff --git a/src/licensedcode/data/rules/wtfpl-2.0_31.yml b/src/licensedcode/data/rules/wtfpl-2.0_31.yml new file mode 100644 index 00000000000..a6dec546157 --- /dev/null +++ b/src/licensedcode/data/rules/wtfpl-2.0_31.yml @@ -0,0 +1,6 @@ +license_expression: wtfpl-2.0 +is_license_notice: yes +relevance: 100 +ignorable_urls: + - https://www.wtfpl.net/ + diff --git a/src/licensedcode/data/rules/wtfpl-2.0_32.RULE b/src/licensedcode/data/rules/wtfpl-2.0_32.RULE new file mode 100644 index 00000000000..f3a2677301b --- /dev/null +++ b/src/licensedcode/data/rules/wtfpl-2.0_32.RULE @@ -0,0 +1 @@ +https://www.wtfpl.net/ \ No newline at end of file diff --git a/src/licensedcode/data/rules/wtfpl-2.0_32.yml b/src/licensedcode/data/rules/wtfpl-2.0_32.yml new file mode 100644 index 00000000000..2c2487ce61f --- /dev/null +++ b/src/licensedcode/data/rules/wtfpl-2.0_32.yml @@ -0,0 +1,6 @@ +license_expression: wtfpl-2.0 +is_license_reference: yes +relevance: 100 +ignorable_urls: + - https://www.wtfpl.net/ + diff --git a/src/licensedcode/data/rules/wtfpl-2.0_33.RULE b/src/licensedcode/data/rules/wtfpl-2.0_33.RULE new file mode 100644 index 00000000000..a2ebcc5bae6 --- /dev/null +++ b/src/licensedcode/data/rules/wtfpl-2.0_33.RULE @@ -0,0 +1 @@ +LICENSE-WTFPL \ No newline at end of file diff --git a/src/licensedcode/data/rules/wtfpl-2.0_33.yml b/src/licensedcode/data/rules/wtfpl-2.0_33.yml new file mode 100644 index 00000000000..d3a79279db8 --- /dev/null +++ b/src/licensedcode/data/rules/wtfpl-2.0_33.yml @@ -0,0 +1,6 @@ +license_expression: wtfpl-2.0 +is_license_reference: yes +relevance: 100 +referenced_filenames: + - LICENSE-WTFPL + diff --git a/src/licensedcode/data/rules/wtfpl-2.0_or_mit_1.RULE b/src/licensedcode/data/rules/wtfpl-2.0_or_mit_1.RULE new file mode 100644 index 00000000000..f4a68ef7fd8 --- /dev/null +++ b/src/licensedcode/data/rules/wtfpl-2.0_or_mit_1.RULE @@ -0,0 +1 @@ +Free to use under either the WTFPL license or the MIT license. \ No newline at end of file diff --git a/src/licensedcode/data/rules/wtfpl-2.0_or_mit_1.yml b/src/licensedcode/data/rules/wtfpl-2.0_or_mit_1.yml new file mode 100644 index 00000000000..686f89ba7af --- /dev/null +++ b/src/licensedcode/data/rules/wtfpl-2.0_or_mit_1.yml @@ -0,0 +1,3 @@ +license_expression: wtfpl-2.0 OR mit +is_license_notice: yes +relevance: 100 diff --git a/src/licensedcode/data/rules/wtfpl-2.0_or_mit_2.RULE b/src/licensedcode/data/rules/wtfpl-2.0_or_mit_2.RULE new file mode 100644 index 00000000000..90c23efc286 --- /dev/null +++ b/src/licensedcode/data/rules/wtfpl-2.0_or_mit_2.RULE @@ -0,0 +1,3 @@ +Free to use under either the WTFPL license or the MIT license. +https://raw.githubusercontent.com/gionkunz/chartist-js/master/LICENSE-WTFPL +https://raw.githubusercontent.com/gionkunz/chartist-js/master/LICENSE-MIT \ No newline at end of file diff --git a/src/licensedcode/data/rules/wtfpl-2.0_or_mit_2.yml b/src/licensedcode/data/rules/wtfpl-2.0_or_mit_2.yml new file mode 100644 index 00000000000..00665accade --- /dev/null +++ b/src/licensedcode/data/rules/wtfpl-2.0_or_mit_2.yml @@ -0,0 +1,8 @@ +license_expression: wtfpl-2.0 OR mit +is_license_notice: yes +relevance: 100 +minimum_coverage: 99 +ignorable_urls: + - https://raw.githubusercontent.com/gionkunz/chartist-js/master/LICENSE-MIT + - https://raw.githubusercontent.com/gionkunz/chartist-js/master/LICENSE-WTFPL + diff --git a/src/licensedcode/data/rules/x11-dec1_3.RULE b/src/licensedcode/data/rules/x11-dec1_3.RULE new file mode 100644 index 00000000000..b4925d54220 --- /dev/null +++ b/src/licensedcode/data/rules/x11-dec1_3.RULE @@ -0,0 +1,17 @@ +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation, and that the names of Digital, FUJITSU +LIMITED and Sony Corporation not be used in advertising or publicity +pertaining to distribution of the software without specific, written +prior permission. + +DIGITAL, FUJITSU LIMITED AND SONY CORPORATION DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL DIGITAL, FUJITSU LIMITED +AND SONY CORPORATION BE LIABLE FOR ANY SPECIAL, INDIRECT OR +CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF +USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-dec1_3.yml b/src/licensedcode/data/rules/x11-dec1_3.yml new file mode 100644 index 00000000000..1447a3e53cb --- /dev/null +++ b/src/licensedcode/data/rules/x11-dec1_3.yml @@ -0,0 +1,4 @@ +license_expression: x11-dec1 +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-doc_1.RULE b/src/licensedcode/data/rules/x11-doc_1.RULE new file mode 100644 index 00000000000..306264272d9 --- /dev/null +++ b/src/licensedcode/data/rules/x11-doc_1.RULE @@ -0,0 +1,6 @@ +Permission to use, copy, modify, distribute, and sell this documentation +for any purpose and without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. +Chris Lee makes no representations about the suitability for any purpose +of the information in this document. It is provided \`\`as-is'' without +express or implied warranty. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-doc_1.yml b/src/licensedcode/data/rules/x11-doc_1.yml new file mode 100644 index 00000000000..22a62bd764f --- /dev/null +++ b/src/licensedcode/data/rules/x11-doc_1.yml @@ -0,0 +1,4 @@ +license_expression: x11-doc +is_license_text: yes +relevance: 99 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_10.RULE b/src/licensedcode/data/rules/x11-keith-packard_10.RULE new file mode 100644 index 00000000000..977953ebcde --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_10.RULE @@ -0,0 +1,17 @@ +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation, and that the name OMRON not be used in +advertising or publicity pertaining to distribution of the software without +specific, written prior permission. OMRON makes no representations +about the suitability of this software for any purpose. It is provided +"as is" without express or implied warranty. + +OMRON DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO +EVENT SHALL OMRON BE LIABLE FOR ANY SPECIAL, INDIRECT OR +CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, +DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_10.yml b/src/licensedcode/data/rules/x11-keith-packard_10.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_10.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_11.RULE b/src/licensedcode/data/rules/x11-keith-packard_11.RULE new file mode 100644 index 00000000000..01f43506577 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_11.RULE @@ -0,0 +1,18 @@ +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation, and that the name of Open Software Foundation +not be used in advertising or publicity pertaining to distribution of the +software without specific, written prior permission. Open Software +Foundation makes no representations about the suitability of this +software for any purpose. It is provided "as is" without express or +implied warranty. + +OPEN SOFTWARE FOUNDATION DISCLAIMS ALL WARRANTIES WITH REGARD TO +THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS, IN NO EVENT SHALL OPEN SOFTWARE FOUNDATIONN BE +LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_11.yml b/src/licensedcode/data/rules/x11-keith-packard_11.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_11.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_13.RULE b/src/licensedcode/data/rules/x11-keith-packard_13.RULE new file mode 100644 index 00000000000..53c583ec240 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_13.RULE @@ -0,0 +1,18 @@ +Permission to use, copy, modify, distribute, and sell this software and +its documentation for any purpose is hereby granted without fee, provided +that the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation, and that the name of FUJITSU LIMITED and Sony Corporation +not be used in advertising or publicity pertaining to distribution of the +software without specific, written prior permission. FUJITSU LIMITED and +Sony Corporation makes no representations about the suitability of this +software for any purpose. It is provided "as is" without express or +implied warranty. + +FUJITSU LIMITED AND SONY CORPORATION DISCLAIMS ALL WARRANTIES WITH REGARD +TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS, IN NO EVENT SHALL FUJITSU LIMITED OR SONY CORPORATION BE LIABLE +FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER +RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, +NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE +USE OR PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_13.yml b/src/licensedcode/data/rules/x11-keith-packard_13.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_13.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_14.RULE b/src/licensedcode/data/rules/x11-keith-packard_14.RULE new file mode 100644 index 00000000000..d9a2d03604c --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_14.RULE @@ -0,0 +1,21 @@ +Permission to use, copy, modify, distribute, and sell this software +and its documentation for any purpose is hereby granted without fee, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation, and that the name of FUJITSU LIMITED and +Digital Equipment Corporation not be used in advertising or publicity +pertaining to distribution of the software without specific, written +prior permission. FUJITSU LIMITED and Digital Equipment Corporation +makes no representations about the suitability of this software for +any purpose. It is provided "as is" without express or implied +warranty. + +FUJITSU LIMITED AND DIGITAL EQUIPMENT CORPORATION DISCLAIM ALL +WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL +FUJITSU LIMITED AND DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR +ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER +IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, +ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_14.yml b/src/licensedcode/data/rules/x11-keith-packard_14.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_14.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_15.RULE b/src/licensedcode/data/rules/x11-keith-packard_15.RULE new file mode 100644 index 00000000000..f6eaad0cdbd --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_15.RULE @@ -0,0 +1,22 @@ +Permission to use, copy, modify, distribute and sell this software +and its documentation for any purpose is hereby granted without fee, +provided that the above copyright notice appear in all copies and +that both that copyright notice and this permission notice appear +in supporting documentation, and that the name of FUJITSU LIMITED, +Fujitsu Open Systems Solutions, Inc. and Sony Corporation not be +used in advertising or publicity pertaining to distribution of the +software without specific, written prior permission. +FUJITSU LIMITED, Fujitsu Open Systems Solutions, Inc. and +Sony Corporation make no representations about the suitability of +this software for any purpose. It is provided "as is" without +express or implied warranty. + +FUJITSU LIMITED, FUJITSU OPEN SYSTEMS SOLUTIONS, INC. AND SONY +CORPORATION DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, +IN NO EVENT SHALL FUJITSU OPEN SYSTEMS SOLUTIONS, INC., FUJITSU LIMITED +AND SONY CORPORATION BE LIABLE FOR ANY SPECIAL, INDIRECT OR +CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE +OR PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_15.yml b/src/licensedcode/data/rules/x11-keith-packard_15.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_15.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_16.RULE b/src/licensedcode/data/rules/x11-keith-packard_16.RULE new file mode 100644 index 00000000000..128ff4a8715 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_16.RULE @@ -0,0 +1,18 @@ +Permission to use, copy, modify, distribute, and sell this software +and its documentation for any purpose is hereby granted without fee, +provided that the above copyright notice appear in all copies and +that both that copyright notice and this permission notice appear +in supporting documentation, and that the names of SunSoft, Inc. and +Bruno Haible not be used in advertising or publicity pertaining to +distribution of the software without specific, written prior +permission. SunSoft, Inc. and Bruno Haible make no representations +about the suitability of this software for any purpose. It is +provided "as is" without express or implied warranty. + +SunSoft Inc. AND Bruno Haible DISCLAIM ALL WARRANTIES WITH REGARD +TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS, IN NO EVENT SHALL SunSoft, Inc. OR Bruno Haible BE LIABLE +FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT +OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_16.yml b/src/licensedcode/data/rules/x11-keith-packard_16.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_16.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_18.RULE b/src/licensedcode/data/rules/x11-keith-packard_18.RULE new file mode 100644 index 00000000000..d05c54cf36f --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_18.RULE @@ -0,0 +1,18 @@ +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation, and that the names of Open Software Foundation and TOSHIBA +not be used in advertising or publicity pertaining to distribution of the +software without specific, written prior permission. Open Software +Foundation and TOSHIBA make no representations about the suitability of this +software for any purpose. It is provided "as is" without express or +implied warranty. + +OPEN SOFTWARE FOUNDATION AND TOSHIBA DISCLAIM ALL WARRANTIES WITH REGARD TO +THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS, IN NO EVENT SHALL OPEN SOFTWARE FOUNDATIONN OR TOSHIBA BE +LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_18.yml b/src/licensedcode/data/rules/x11-keith-packard_18.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_18.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_19.RULE b/src/licensedcode/data/rules/x11-keith-packard_19.RULE new file mode 100644 index 00000000000..77e2091e0b5 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_19.RULE @@ -0,0 +1,19 @@ +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation, and that the names of Open Software Foundation and +Sony Corporation not be used in advertising or publicity pertaining to +distribution of the software without specific, written prior permission. +Open Software Foundation and Sony Corporation make no +representations about the suitability of this software for any purpose. +It is provided "as is" without express or implied warranty. + +OPEN SOFTWARE FOUNDATION AND SONY CORPORATION DISCLAIM ALL +WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL OPEN +SOFTWARE FOUNDATIONN OR SONY CORPORATION BE LIABLE FOR ANY SPECIAL, +INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_19.yml b/src/licensedcode/data/rules/x11-keith-packard_19.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_19.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_20.RULE b/src/licensedcode/data/rules/x11-keith-packard_20.RULE new file mode 100644 index 00000000000..c048acfb319 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_20.RULE @@ -0,0 +1,20 @@ +Permission to use, copy, modify, distribute and sell this software +and its documentation for any purpose is hereby granted without fee, +provided that the above copyright notice appear in all copies and +that both that copyright notice and this permission notice appear +in supporting documentation, and that the name of FUJITSU LIMITED and +Fujitsu Open Systems Solutions, Inc. not be used in advertising or +publicity pertaining to distribution of the software without specific, +written prior permission. +FUJITSU LIMITED and Fujitsu Open Systems Solutions, Inc. makes no +representations about the suitability of this software for any purpose. +It is provided "as is" without express or implied warranty. + +FUJITSU LIMITED AND FUJITSU OPEN SYSTEMS SOLUTIONS, INC. DISCLAIMS ALL +WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL FUJITSU OPEN SYSTEMS +SOLUTIONS, INC. AND FUJITSU LIMITED BE LIABLE FOR ANY SPECIAL, INDIRECT +OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF +USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE +OF THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_20.yml b/src/licensedcode/data/rules/x11-keith-packard_20.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_20.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_21.RULE b/src/licensedcode/data/rules/x11-keith-packard_21.RULE new file mode 100644 index 00000000000..e213e13276e --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_21.RULE @@ -0,0 +1,18 @@ +Permission to use, copy, modify, distribute, and sell this software +and its documentation for any purpose is hereby granted without fee, +provided that the above copyright notice appear in all copies and +that both that copyright notice and this permission notice appear +in supporting documentation, and that the name of Sony Corporation +not be used in advertising or publicity pertaining to distribution +of the software without specific, written prior permission. +Sony Corporation makes no representations about the suitability of +this software for any purpose. It is provided "as is" without +express or implied warranty. + +SONY CORPORATION DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO +EVENT SHALL SONY CORPORATION BE LIABLE FOR ANY SPECIAL, INDIRECT OR +CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF +USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_21.yml b/src/licensedcode/data/rules/x11-keith-packard_21.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_21.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_22.RULE b/src/licensedcode/data/rules/x11-keith-packard_22.RULE new file mode 100644 index 00000000000..08eeda9f1ba --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_22.RULE @@ -0,0 +1,20 @@ +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation, and that the names of OMRON, NTT Software, NTT, and +Open Software Foundation not be used in advertising or publicity +pertaining to distribution of the software without specific, +written prior permission. OMRON, NTT Software, NTT, and Open Software +Foundation make no representations about the suitability of this +software for any purpose. It is provided "as is" without express or +implied warranty. + +OMRON, NTT SOFTWARE, NTT, AND OPEN SOFTWARE FOUNDATION +DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING +ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT +SHALL OMRON, NTT SOFTWARE, NTT, OR OPEN SOFTWARE FOUNDATION BE +LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_22.yml b/src/licensedcode/data/rules/x11-keith-packard_22.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_22.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_23.RULE b/src/licensedcode/data/rules/x11-keith-packard_23.RULE new file mode 100644 index 00000000000..991e27b1107 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_23.RULE @@ -0,0 +1,19 @@ +Permission to use, copy, modify, distribute, and sell this software +and its documentation for any purpose is hereby granted without fee, +provided that the above copyright notice appear in all copies and +that both that copyright notice and this permission notice appear +in supporting documentation, and that the name of Fuji Xerox, +FUJITSU LIMITED not be used in advertising or publicity pertaining +to distribution of the software without specific, written prior +permission. Fuji Xerox, FUJITSU LIMITED make no representations +about the suitability of this software for any purpose. +It is provided "as is" without express or implied warranty. + +FUJI XEROX, FUJITSU LIMITED DISCLAIM ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL FUJI XEROX, +FUJITSU LIMITED BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL +DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA +OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_23.yml b/src/licensedcode/data/rules/x11-keith-packard_23.yml new file mode 100644 index 00000000000..6bed7c33aa8 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_23.yml @@ -0,0 +1,3 @@ +license_expression: x11-keith-packard +is_license_text: yes +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_24.RULE b/src/licensedcode/data/rules/x11-keith-packard_24.RULE new file mode 100644 index 00000000000..14690a0edcd --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_24.RULE @@ -0,0 +1,20 @@ +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation, and that the names of OMRON, NTT Software, NTT, Open +Software Foundation, and Sony Corporation not be used in advertising +or publicity pertaining to distribution of the software without specific, +written prior permission. OMRON, NTT Software, NTT, Open Software +Foundation, and Sony Corporation make no representations about the +suitability of this software for any purpose. It is provided "as is" +without express or implied warranty. + +OMRON, NTT SOFTWARE, NTT, OPEN SOFTWARE FOUNDATION, AND SONY +CORPORATION DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING +ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT +SHALL OMRON, NTT SOFTWARE, NTT, OPEN SOFTWARE FOUNDATION, OR SONY +CORPORATION BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR +ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER +IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT +OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_24.yml b/src/licensedcode/data/rules/x11-keith-packard_24.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_24.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_25.RULE b/src/licensedcode/data/rules/x11-keith-packard_25.RULE new file mode 100644 index 00000000000..0ce1851946b --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_25.RULE @@ -0,0 +1,18 @@ +Permission to use, copy, modify, distribute, and sell this software +and its documentation for any purpose is hereby granted without fee, +provided that the above copyright notice appear in all copies and +that both that copyright notice and this permission notice appear +in supporting documentation, and that the name of Bruno Haible not +be used in advertising or publicity pertaining to distribution of the +software without specific, written prior permission. Bruno Haible +makes no representations about the suitability of this software for +any purpose. It is provided "as is" without express or implied +warranty. + +Bruno Haible DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN +NO EVENT SHALL Bruno Haible BE LIABLE FOR ANY SPECIAL, INDIRECT OR +CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE +OR PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_25.yml b/src/licensedcode/data/rules/x11-keith-packard_25.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_25.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_26.RULE b/src/licensedcode/data/rules/x11-keith-packard_26.RULE new file mode 100644 index 00000000000..34df02f0bdb --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_26.RULE @@ -0,0 +1,18 @@ +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation, and that the names of OMRON, NTT Software, and NTT +not be used in advertising or publicity pertaining to distribution of the +software without specific, written prior permission. OMRON, NTT Software, +and NTT make no representations about the suitability of this +software for any purpose. It is provided "as is" without express or +implied warranty. + +OMRON, NTT SOFTWARE, AND NTT, DISCLAIM ALL WARRANTIES WITH REGARD +TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS, IN NO EVENT SHALL OMRON, NTT SOFTWARE, OR NTT, BE +LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_26.yml b/src/licensedcode/data/rules/x11-keith-packard_26.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_26.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_27.RULE b/src/licensedcode/data/rules/x11-keith-packard_27.RULE new file mode 100644 index 00000000000..bc5ffe28f7f --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_27.RULE @@ -0,0 +1,18 @@ +Permission to use, copy, modify, distribute, and sell this software +and its documentation for any purpose is hereby granted without +fee, provided that the above copyright notice appear in all copies +and that both that copyright notice and this permission notice +appear in supporting documentation, and that the name of +Intel not be used in advertising or publicity pertaining to +distribution of the software without specific, written prior +permission. Intel makes no representations about the +suitability of this software for any purpose. It is provided "as +is" without express or implied warranty. + +INTEL CORPORATION DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS +SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS, IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY SPECIAL, +INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER +RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION +OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR +IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_27.yml b/src/licensedcode/data/rules/x11-keith-packard_27.yml new file mode 100644 index 00000000000..540666b84b5 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_27.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 99 +notes: references Intel instead of Keith Packard. Seen in cairo. diff --git a/src/licensedcode/data/rules/x11-keith-packard_8.RULE b/src/licensedcode/data/rules/x11-keith-packard_8.RULE new file mode 100644 index 00000000000..cb3de8dd384 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_8.RULE @@ -0,0 +1,20 @@ +Permission to use, copy, modify, distribute, and sell this software +and its documentation for any purpose is hereby granted without fee, +provided that the above copyright notice appear in all copies and +that both that copyright notice and this permission notice appear +in supporting documentation, and that the name of Oki Technosystems +Laboratory and Fuji Xerox not be used in advertising or publicity +pertaining to distribution of the software without specific, written +prior permission. +Oki Technosystems Laboratory and Fuji Xerox make no representations +about the suitability of this software for any purpose. It is provided +"as is" without express or implied warranty. + +OKI TECHNOSYSTEMS LABORATORY AND FUJI XEROX DISCLAIM ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL OKI TECHNOSYSTEMS +LABORATORY AND FUJI XEROX BE LIABLE FOR ANY SPECIAL, INDIRECT OR +CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE +OR PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_8.yml b/src/licensedcode/data/rules/x11-keith-packard_8.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_8.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-keith-packard_9.RULE b/src/licensedcode/data/rules/x11-keith-packard_9.RULE new file mode 100644 index 00000000000..c5efcd5a889 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_9.RULE @@ -0,0 +1,18 @@ +Permission to use, copy, modify, distribute, and sell this software +and its documentation for any purpose is hereby granted without fee, +provided that the above copyright notice appear in all copies and +that both that copyright notice and this permission notice appear +in supporting documentation, and that the name of FUJITSU LIMITED +not be used in advertising or publicity pertaining to distribution +of the software without specific, written prior permission. +FUJITSU LIMITED makes no representations about the suitability of +this software for any purpose. +It is provided "as is" without express or implied warranty. + +FUJITSU LIMITED DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO +EVENT SHALL FUJITSU LIMITED BE LIABLE FOR ANY SPECIAL, INDIRECT OR +CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF +USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-keith-packard_9.yml b/src/licensedcode/data/rules/x11-keith-packard_9.yml new file mode 100644 index 00000000000..dbd6f604c82 --- /dev/null +++ b/src/licensedcode/data/rules/x11-keith-packard_9.yml @@ -0,0 +1,4 @@ +license_expression: x11-keith-packard +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-opengroup_1.yml b/src/licensedcode/data/rules/x11-opengroup_1.yml index e62b746f612..efa8c97cba5 100644 --- a/src/licensedcode/data/rules/x11-opengroup_1.yml +++ b/src/licensedcode/data/rules/x11-opengroup_1.yml @@ -1,5 +1,4 @@ license_expression: x11-opengroup is_license_text: yes minimum_coverage: 50 -ignorable_authors: - - authorization from The Open Group + diff --git a/src/licensedcode/data/rules/x11-opengroup_2.yml b/src/licensedcode/data/rules/x11-opengroup_2.yml index 3eb230e16ab..5df391cd99c 100644 --- a/src/licensedcode/data/rules/x11-opengroup_2.yml +++ b/src/licensedcode/data/rules/x11-opengroup_2.yml @@ -3,5 +3,4 @@ is_license_text: yes relevance: 90 minimum_coverage: 90 notes: truncated text -ignorable_authors: - - authorization from The Open Group + diff --git a/src/licensedcode/data/rules/x11-opengroup_4.yml b/src/licensedcode/data/rules/x11-opengroup_4.yml index a7c18ff13e3..61446800362 100644 --- a/src/licensedcode/data/rules/x11-opengroup_4.yml +++ b/src/licensedcode/data/rules/x11-opengroup_4.yml @@ -1,5 +1,4 @@ license_expression: x11-opengroup is_license_text: yes relevance: 100 -ignorable_authors: - - authorization from The Open Group + diff --git a/src/licensedcode/data/rules/x11-opengroup_6.yml b/src/licensedcode/data/rules/x11-opengroup_6.yml index a7c18ff13e3..61446800362 100644 --- a/src/licensedcode/data/rules/x11-opengroup_6.yml +++ b/src/licensedcode/data/rules/x11-opengroup_6.yml @@ -1,5 +1,4 @@ license_expression: x11-opengroup is_license_text: yes relevance: 100 -ignorable_authors: - - authorization from The Open Group + diff --git a/src/licensedcode/data/rules/x11-opengroup_9.RULE b/src/licensedcode/data/rules/x11-opengroup_9.RULE new file mode 100644 index 00000000000..ba5f5d9ff1e --- /dev/null +++ b/src/licensedcode/data/rules/x11-opengroup_9.RULE @@ -0,0 +1,21 @@ +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation. + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +X CONSORTIUM OR THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +Except as contained in this notice, the name of the X Consortium or of the +XFree86 Project shall not be used in advertising or otherwise to promote the +sale, use or other dealings in this Software without prior written +authorization from the X Consortium and the XFree86 Project. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-opengroup_9.yml b/src/licensedcode/data/rules/x11-opengroup_9.yml new file mode 100644 index 00000000000..1432f2f632c --- /dev/null +++ b/src/licensedcode/data/rules/x11-opengroup_9.yml @@ -0,0 +1,4 @@ +license_expression: x11-opengroup +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-opengroup_not_mit_1.yml b/src/licensedcode/data/rules/x11-opengroup_not_mit_1.yml index 0b27c187b7c..a3427fd7583 100644 --- a/src/licensedcode/data/rules/x11-opengroup_not_mit_1.yml +++ b/src/licensedcode/data/rules/x11-opengroup_not_mit_1.yml @@ -1,5 +1,3 @@ license_expression: x11-opengroup is_license_text: yes minimum_coverage: 70 -ignorable_authors: - - authorization from The Open Group diff --git a/src/licensedcode/data/rules/x11-xconsortium_1.yml b/src/licensedcode/data/rules/x11-xconsortium_1.yml index fc19ec0263c..661a77fb7f4 100644 --- a/src/licensedcode/data/rules/x11-xconsortium_1.yml +++ b/src/licensedcode/data/rules/x11-xconsortium_1.yml @@ -2,5 +2,4 @@ license_expression: x11-xconsortium is_license_text: yes relevance: 95 minimum_coverage: 50 -ignorable_authors: - - authorization from the IBM Corporation + diff --git a/src/licensedcode/data/rules/x11-xconsortium_23.RULE b/src/licensedcode/data/rules/x11-xconsortium_23.RULE new file mode 100644 index 00000000000..c0ccc9808b4 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_23.RULE @@ -0,0 +1,21 @@ +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +FREE SOFTWARE FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of the Free Software Foundation +shall not be used in advertising or otherwise to promote the sale, use or +other dealings in this Software without prior written authorization from the +Free Software Foundation. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-xconsortium_23.yml b/src/licensedcode/data/rules/x11-xconsortium_23.yml new file mode 100644 index 00000000000..d2b0b62e9c9 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_23.yml @@ -0,0 +1,4 @@ +license_expression: x11-xconsortium +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-xconsortium_24.RULE b/src/licensedcode/data/rules/x11-xconsortium_24.RULE new file mode 100644 index 00000000000..b7e97123894 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_24.RULE @@ -0,0 +1,23 @@ +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of shall +not be used in advertising or otherwise to promote the sale, use or +other dealings in this Software without prior written authorization +from \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-xconsortium_24.yml b/src/licensedcode/data/rules/x11-xconsortium_24.yml new file mode 100644 index 00000000000..d2b0b62e9c9 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_24.yml @@ -0,0 +1,4 @@ +license_expression: x11-xconsortium +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-xconsortium_25.RULE b/src/licensedcode/data/rules/x11-xconsortium_25.RULE new file mode 100644 index 00000000000..1d20ab564f1 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_25.RULE @@ -0,0 +1,23 @@ +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL DAVID E. BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of David E. shall +not be used in advertising or otherwise to promote the sale, use or +other dealings in this Software without prior written authorization +from David E. . \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-xconsortium_25.yml b/src/licensedcode/data/rules/x11-xconsortium_25.yml new file mode 100644 index 00000000000..d2b0b62e9c9 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_25.yml @@ -0,0 +1,4 @@ +license_expression: x11-xconsortium +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-xconsortium_26.RULE b/src/licensedcode/data/rules/x11-xconsortium_26.RULE new file mode 100644 index 00000000000..40960883956 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_26.RULE @@ -0,0 +1,22 @@ +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF +OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +Except as contained in this notice, the name of or +shall not be used in advertising or otherwise to promote the sale, use or other +dealings in this Software without prior written authorization from or +. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-xconsortium_26.yml b/src/licensedcode/data/rules/x11-xconsortium_26.yml new file mode 100644 index 00000000000..d2b0b62e9c9 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_26.yml @@ -0,0 +1,4 @@ +license_expression: x11-xconsortium +is_license_text: yes +relevance: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11-xconsortium_27.RULE b/src/licensedcode/data/rules/x11-xconsortium_27.RULE new file mode 100644 index 00000000000..5220d8ff47c --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_27.RULE @@ -0,0 +1,20 @@ +* Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to + * deal in the Software without restriction, including without limitation the + * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * GROUPE BULL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * + * Except as contained in this notice, the name of GROUPE BULL shall not be + * used in advertising or otherwise to promote the sale, use or other dealings + * in this Software without prior written authorization from GROUPE BULL. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-xconsortium_27.yml b/src/licensedcode/data/rules/x11-xconsortium_27.yml new file mode 100644 index 00000000000..3bb301a71f6 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_27.yml @@ -0,0 +1,4 @@ +license_expression: x11-xconsortium +is_license_text: yes +relevance: 100 +notes: Seen in libXpm-3.5.13 diff --git a/src/licensedcode/data/rules/x11-xconsortium_28.RULE b/src/licensedcode/data/rules/x11-xconsortium_28.RULE new file mode 100644 index 00000000000..a1df9f23fb3 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_28.RULE @@ -0,0 +1 @@ +released under the X11 license. \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-xconsortium_28.yml b/src/licensedcode/data/rules/x11-xconsortium_28.yml new file mode 100644 index 00000000000..935c5d08cf0 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_28.yml @@ -0,0 +1,3 @@ +license_expression: x11-xconsortium +is_license_notice: yes +relevance: 95 diff --git a/src/licensedcode/data/rules/x11-xconsortium_29.RULE b/src/licensedcode/data/rules/x11-xconsortium_29.RULE new file mode 100644 index 00000000000..dc773362d05 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_29.RULE @@ -0,0 +1 @@ +available under the X11 license \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-xconsortium_29.yml b/src/licensedcode/data/rules/x11-xconsortium_29.yml new file mode 100644 index 00000000000..935c5d08cf0 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_29.yml @@ -0,0 +1,3 @@ +license_expression: x11-xconsortium +is_license_notice: yes +relevance: 95 diff --git a/src/licensedcode/data/rules/x11-xconsortium_30.RULE b/src/licensedcode/data/rules/x11-xconsortium_30.RULE new file mode 100644 index 00000000000..d3a49dde37a --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_30.RULE @@ -0,0 +1 @@ +under the X11 license \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-xconsortium_30.yml b/src/licensedcode/data/rules/x11-xconsortium_30.yml new file mode 100644 index 00000000000..935c5d08cf0 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_30.yml @@ -0,0 +1,3 @@ +license_expression: x11-xconsortium +is_license_notice: yes +relevance: 95 diff --git a/src/licensedcode/data/rules/x11-xconsortium_and_x11-keith-packard_and_historical_and_other-permissive_1.RULE b/src/licensedcode/data/rules/x11-xconsortium_and_x11-keith-packard_and_historical_and_other-permissive_1.RULE new file mode 100644 index 00000000000..d782aa803f2 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_and_x11-keith-packard_and_historical_and_other-permissive_1.RULE @@ -0,0 +1 @@ +The following licenses are 'legacy' - usually MIT/X11 licenses \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11-xconsortium_and_x11-keith-packard_and_historical_and_other-permissive_1.yml b/src/licensedcode/data/rules/x11-xconsortium_and_x11-keith-packard_and_historical_and_other-permissive_1.yml new file mode 100644 index 00000000000..b11453bb0d7 --- /dev/null +++ b/src/licensedcode/data/rules/x11-xconsortium_and_x11-keith-packard_and_historical_and_other-permissive_1.yml @@ -0,0 +1,5 @@ +license_expression: x11-xconsortium AND x11-keith-packard AND historical AND other-permissive +is_license_text: yes +relevance: 100 +minimum_coverage: 100 +notes: in x11 diff --git a/src/licensedcode/data/rules/x11_14.RULE b/src/licensedcode/data/rules/x11_14.RULE new file mode 100644 index 00000000000..398af95d514 --- /dev/null +++ b/src/licensedcode/data/rules/x11_14.RULE @@ -0,0 +1 @@ +licensed under the ICU license (BSD variant) \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11_14.yml b/src/licensedcode/data/rules/x11_14.yml new file mode 100644 index 00000000000..3baa8f8f207 --- /dev/null +++ b/src/licensedcode/data/rules/x11_14.yml @@ -0,0 +1,3 @@ +license_expression: x11 +is_license_notice: yes +relevance: 99 diff --git a/src/licensedcode/data/rules/x11_15.RULE b/src/licensedcode/data/rules/x11_15.RULE new file mode 100644 index 00000000000..86532e3477b --- /dev/null +++ b/src/licensedcode/data/rules/x11_15.RULE @@ -0,0 +1 @@ +licensed under the ICU license \ No newline at end of file diff --git a/src/licensedcode/data/rules/x11_15.yml b/src/licensedcode/data/rules/x11_15.yml new file mode 100644 index 00000000000..3baa8f8f207 --- /dev/null +++ b/src/licensedcode/data/rules/x11_15.yml @@ -0,0 +1,3 @@ +license_expression: x11 +is_license_notice: yes +relevance: 99 diff --git a/src/licensedcode/data/rules/xfree86-1.1_3.yml b/src/licensedcode/data/rules/xfree86-1.1_3.yml index 3a988995f26..c9d227f78a8 100644 --- a/src/licensedcode/data/rules/xfree86-1.1_3.yml +++ b/src/licensedcode/data/rules/xfree86-1.1_3.yml @@ -4,6 +4,6 @@ minimum_coverage: 60 notes: uses the english sublicence instead of the us subclicense ignorable_authors: - The XFree86 Project, Inc (http://www.xfree86.org/) - - authorization from The XFree86 Project, Inc. ignorable_urls: - http://www.xfree86.org/ + diff --git a/src/licensedcode/data/rules/xfree86-1.1_4.yml b/src/licensedcode/data/rules/xfree86-1.1_4.yml index 3a988995f26..8481b099ae2 100644 --- a/src/licensedcode/data/rules/xfree86-1.1_4.yml +++ b/src/licensedcode/data/rules/xfree86-1.1_4.yml @@ -4,6 +4,5 @@ minimum_coverage: 60 notes: uses the english sublicence instead of the us subclicense ignorable_authors: - The XFree86 Project, Inc (http://www.xfree86.org/) - - authorization from The XFree86 Project, Inc. ignorable_urls: - http://www.xfree86.org/ diff --git a/src/licensedcode/data/rules/zlib_86.RULE b/src/licensedcode/data/rules/zlib_86.RULE new file mode 100644 index 00000000000..f60fbffa31e --- /dev/null +++ b/src/licensedcode/data/rules/zlib_86.RULE @@ -0,0 +1 @@ +TinyXML license \ No newline at end of file diff --git a/src/licensedcode/data/rules/zlib_86.yml b/src/licensedcode/data/rules/zlib_86.yml new file mode 100644 index 00000000000..1eaf9c4b736 --- /dev/null +++ b/src/licensedcode/data/rules/zlib_86.yml @@ -0,0 +1,3 @@ +license_expression: zlib +is_license_reference: yes +relevance: 100 diff --git a/src/licensedcode/index.py b/src/licensedcode/index.py index e9a934878d7..f682443f42b 100644 --- a/src/licensedcode/index.py +++ b/src/licensedcode/index.py @@ -48,15 +48,21 @@ TRACE_APPROX_MATCHES = False TRACE_INDEXING_PERF = False TRACE_TOKEN_DOC_FREQ = False +TRACE_SPDX_LID = False def logger_debug(*args): pass -if (TRACE - or TRACE_APPROX or TRACE_APPROX_CANDIDATES or TRACE_APPROX_MATCHES - or TRACE_INDEXING_PERF): +if ( + TRACE + or TRACE_APPROX + or TRACE_APPROX_CANDIDATES + or TRACE_APPROX_MATCHES + or TRACE_INDEXING_PERF + or TRACE_SPDX_LID +): use_print = True @@ -505,11 +511,20 @@ def debug_matches(self, matches, message, location=None, query_string=None, logger_debug(' MATCHED QUERY TEXT:', qt) logger_debug(' MATCHED RULE TEXT:', it) - def get_spdx_id_matches(self, query, from_spdx_id_lines=True, **kwargs): + def get_spdx_id_matches( + self, + query, + from_spdx_id_lines=True, + expression_symbols=None, + **kwargs, + ): """ Matching strategy for SPDX-Licensed-Identifier style of expressions. If `from_spdx_id_lines` is True detect only in the SPDX license identifier lines found in the query. Otherwise use the whole query for detection. + + Use the ``expression_symbols`` mapping of {lowered key: LicenseSymbol} + if provided. Otherwise use the standard SPDX license symbols. """ matches = [] @@ -528,11 +543,18 @@ def get_spdx_id_matches(self, query, from_spdx_id_lines=True, **kwargs): for query_run, detectable_text in qrs_and_texts: if not query_run.matchables: continue + if TRACE_SPDX_LID: + logger_debug( + 'get_spdx_id_matches:', + 'query_run:', query_run, + 'detectable_text:', detectable_text, + ) spdx_match = match_spdx_lid.spdx_id_match( idx=self, query_run=query_run, text=detectable_text, + expression_symbols=expression_symbols, ) if spdx_match: @@ -762,6 +784,7 @@ def match( query_string=None, min_score=0, as_expression=False, + expression_symbols=None, approximate=True, deadline=sys.maxsize, _skip_hash_match=False, @@ -777,6 +800,9 @@ def match( If `as_expression` is True, treat the whole text as a single SPDX license expression and use only expression matching. + Use the ``expression_symbols`` mapping of {lowered key: LicenseSymbol} + if provided. Otherwise use the standard SPDX license symbols mapping. + If `approximate` is True, perform approximate matching as a last matching step. Otherwise, only do hash, exact and expression matching. @@ -813,9 +839,13 @@ def match( match.set_lines(matches, qry.line_by_pos) return matches - # TODO: add matching to degenerated expressions with custom symbols + get_spdx_id_matches = partial( + self.get_spdx_id_matches, + expression_symbols=expression_symbols, + ) + if as_expression: - matches = self.get_spdx_id_matches(qry, from_spdx_id_lines=False) + matches = get_spdx_id_matches(qry, from_spdx_id_lines=False) match.set_lines(matches, qry.line_by_pos) return matches @@ -829,7 +859,7 @@ def match( matchers = [ # matcher, include_low in post-matching remaining matchable check (self.get_exact_matches, False, 'aho'), - (self.get_spdx_id_matches, True, 'spdx_lid'), + (get_spdx_id_matches, True, 'spdx_lid'), ] if approximate: @@ -841,17 +871,25 @@ def match( logger_debug() logger_debug('matching with matcher:', matcher_name) - matched = matcher(qry, matched_qspans=already_matched_qspans, - existing_matches=matches, deadline=deadline) + matched = matcher( + qry, + matched_qspans=already_matched_qspans, + existing_matches=matches, + deadline=deadline, + ) + if TRACE: self.debug_matches( - matches=matched, message='matched with: ' + matcher_name, - location=location, query_string=query_string) # , with_text, query) + matches=matched, + message='matched with: ' + matcher_name, + location=location, + query_string=query_string, + ) matched = match.merge_matches(matched) matches.extend(matched) - # subtract whole text matched if this is long enough + # Subtract whole text matched if this is long enough for m in matched: if (m.rule.is_license_text and m.rule.length > 120 @@ -859,10 +897,10 @@ def match( ): qry.subtract(m.qspan) - # check if we have some matchable left do not match futher if we do + # Check if we have some matchable left do not match futher if we do # not need to collect qspans matched exactly e.g. with coverage 100% # this coverage check is because we have provision to match - # fragments (unused for now) + # fragments (unused for now). already_matched_qspans.extend( m.qspan for m in matched if m.coverage() == 100) diff --git a/src/licensedcode/match.py b/src/licensedcode/match.py index 0a0aaf71273..11d836c1c27 100644 --- a/src/licensedcode/match.py +++ b/src/licensedcode/match.py @@ -33,6 +33,7 @@ TRACE_FILTER_SPURIOUS = False TRACE_FILTER_RULE_MIN_COVERAGE = False TRACE_FILTER_LOW_SCORE = False +TRACE_FILTER_UNKNOWN_WORDS = False TRACE_SET_LINES = False TRACE_MATCHED_TEXT = False @@ -58,13 +59,15 @@ def logger_debug(*args): pass or TRACE_FILTER_SHORT or TRACE_FILTER_RULE_MIN_COVERAGE or TRACE_FILTER_LOW_SCORE + or TRACE_FILTER_UNKNOWN_WORDS or TRACE_SET_LINES or TRACE_MATCHED_TEXT - or TRACE_MATCHED_TEXT_DETAILS): + or TRACE_MATCHED_TEXT_DETAILS +): use_print = True if use_print: - printer = print + prn = print else: import logging import sys @@ -72,21 +75,20 @@ def logger_debug(*args): pass # logging.basicConfig(level=logging.DEBUG, stream=sys.stdout) logging.basicConfig(stream=sys.stdout) logger.setLevel(logging.DEBUG) - printer = logger.debug + prn = logger.debug def logger_debug(*args): - return printer(' '.join(isinstance(a, str) and a or repr(a) - for a in args)) + return prn(' '.join(isinstance(a, str) and a or repr(a) for a in args)) - def _debug_print_matched_query_text(match, query, extras=5): + def _debug_print_matched_query_text(match, extras=5): """ Print a matched query text including `extras` tokens before and after the match. Used for debugging license matches. """ - # create a fake new match with extra tokens before and after + # Create a fake new match with extra tokens before and after new_match = match.combine(match) new_qstart = max([0, match.qstart - extras]) - new_qend = min([match.qend + extras, len(query.tokens)]) + new_qend = min([match.qend + extras, len(match.query.tokens)]) new_qspan = Span(new_qstart, new_qend) new_match.qspan = new_qspan @@ -117,8 +119,18 @@ class LicenseMatch(object): 'matcher', 'start_line', 'end_line', 'query', ) - def __init__(self, rule, qspan, ispan, hispan=None, query_run_start=0, - matcher='', start_line=0, end_line=0, query=None): + def __init__( + self, + rule, + qspan, + ispan, + hispan=None, + query_run_start=0, + matcher='', + start_line=0, + end_line=0, + query=None, + ): """ Create a new match from: - rule: matched Rule object @@ -355,8 +367,8 @@ def qmagnitude(self): def qcontains_stopwords(self): """ - Return True if this match query contains stopwords between its start and end - in the query. Stopwords are never match by construction. + Return True if this match query contains stopwords between its start and + end in the query. Stopwords are never matched by construction. """ # The query side of the match may not be contiguous and may contain # unmatched stopword tokens. @@ -561,6 +573,9 @@ def matched_text( side effects as the caching depends on which index instance is being used and this index can change during testing. """ + if TRACE_MATCHED_TEXT: + logger_debug(f'LicenseMatch.matched_text: self.query: {self.query}') + query = self.query if not query: # TODO: should we raise an exception instead??? @@ -571,15 +586,16 @@ def matched_text( whole_lines = False return u''.join(get_full_matched_text( - self, + match=self, location=query.location, query_string=query.query_string, idx=query.idx, whole_lines=whole_lines, highlight=highlight, highlight_matched=highlight_matched, - highlight_not_matched=highlight_not_matched, _usecache=_usecache) - ).rstrip() + highlight_not_matched=highlight_not_matched, + _usecache=_usecache + )).rstrip() def set_lines(matches, line_by_pos): @@ -1149,19 +1165,29 @@ def filter_if_only_known_words_rule(matches): """ Return a filtered list of kept LicenseMatch matches and a list of discardable matches given a `matches` list of LicenseMatch by removing - matches to rules with the "only_known_words" attribute set to True and that - contain unknown words in their matched range. + matches to rules with the "only_known_words" attribute set to True or "small + rules" and that contain unknown words in their matched range. """ kept = [] discarded = [] for match in matches: - if not match.rule.only_known_words: - kept.append(match) - continue - if match.qrange() != match.qmagnitude() or match.qcontains_stopwords(): - if TRACE_FILTER_LOW_SCORE: logger_debug(' ==> DISCARDING small score:', match) + if (match.rule.only_known_words + and ( + match.qrange() != match.qmagnitude() + or match.qcontains_stopwords() + ) + ): + if TRACE_FILTER_UNKNOWN_WORDS: + logger_debug( + ' ==> DISCARDING small unknown words:', match, + 'is_small', match.rule.is_small, + 'qrange', match.qrange(), + 'qmagnitude', match.qmagnitude(), + 'qcontains_stopwords', match.qcontains_stopwords() + ) + _debug_print_matched_query_text(match) # we have unknown tokens in the matched range discarded.append(match) @@ -1230,8 +1256,9 @@ def filter_spurious_single_token(matches, query=None, unknown_count=5, if p in shorts_and_digits: before += 1 if before < unknown_count: - if trace: logger_debug(' ==> !!! NOT DISCARDING spurious_single_token, not enough before:', match, before) - if trace: _debug_print_matched_query_text(match, query, extras=unknown_count, logger_debug=logger_debug) + if trace: + logger_debug(' ==> !!! NOT DISCARDING spurious_single_token, not enough before:', match, before) + _debug_print_matched_query_text(match, extras=unknown_count) kept.append(match) continue @@ -1241,12 +1268,14 @@ def filter_spurious_single_token(matches, query=None, unknown_count=5, after += 1 if after >= unknown_count: - if trace: logger_debug(' ==> DISCARDING spurious_single_token:', match) - if trace: _debug_print_matched_query_text(match, query, extras=unknown_count, logger_debug=logger_debug) + if trace: + logger_debug(' ==> DISCARDING spurious_single_token:', match) + _debug_print_matched_query_text(match, extras=unknown_count) discarded.append(match) else: - if trace: logger_debug(' ==> !!! NOT DISCARDING spurious_single_token, not enough after:', match, before, after) - if trace: _debug_print_matched_query_text(match, query, extras=unknown_count, logger_debug=logger_debug) + if trace: + logger_debug(' ==> !!! NOT DISCARDING spurious_single_token, not enough after:', match, before, after) + _debug_print_matched_query_text(match, extras=unknown_count) kept.append(match) return kept, discarded @@ -1525,7 +1554,7 @@ def _tokenize_matched_text(location, query_string, dictionary): # Determine if a token is is_known in the license index or not. This # is essential as we need to realign the query-time tokenization # with the full text to report proper matches. - if is_text and token_str and token_str.strip(): + if is_text and token_str and token_str.strip(): # we retokenize using the query tokenizer: # 1. to lookup for is_known tokens in the index dictionary @@ -1593,7 +1622,13 @@ def _tokenize_matched_text(location, query_string, dictionary): ) -def reportable_tokens(tokens, match_qspan, start_line, end_line, whole_lines=False): +def reportable_tokens( + tokens, + match_qspan, + start_line, + end_line, + whole_lines=False, +): """ Yield Tokens from a `tokens` iterable of Token objects (built from a query- side scanned file or string) that are inside a `match_qspan` matched Span @@ -1619,10 +1654,17 @@ def reportable_tokens(tokens, match_qspan, start_line, end_line, whole_lines=Fal end_pos = 0 last_pos = 0 for real_pos, tok in enumerate(tokens): + if TRACE_MATCHED_TEXT_DETAILS: + logger_debug('reportable_tokens: processing', real_pos, tok) + # ignore tokens outside the matched lines range if tok.line_num < start_line: + if TRACE_MATCHED_TEXT_DETAILS: + logger_debug(' tok.line_num < start_line:', tok.line_num, '<', start_line) continue if tok.line_num > end_line: + if TRACE_MATCHED_TEXT_DETAILS: + logger_debug(' tok.line_num > end_line', tok.line_num, '>', end_line) break if TRACE_MATCHED_TEXT_DETAILS: logger_debug('reportable_tokens:', real_pos, tok) @@ -1692,10 +1734,13 @@ def reportable_tokens(tokens, match_qspan, start_line, end_line, whole_lines=Fal def get_full_matched_text( match, - location=None, query_string=None, + location=None, + query_string=None, idx=None, whole_lines=False, - highlight=True, highlight_matched=u'%s', highlight_not_matched=u'[%s]', + highlight=True, + highlight_matched=u'%s', + highlight_not_matched=u'[%s]', stopwords=STOPWORDS, _usecache=True, ): @@ -1719,16 +1764,26 @@ def get_full_matched_text( """ if TRACE_MATCHED_TEXT: logger_debug('get_full_matched_text: match:', match) + logger_debug('get_full_matched_text: location:', location) + logger_debug('get_full_matched_text: query_string :', query_string) + assert location or query_string assert idx # Create and process a stream of Tokens if not _usecache: # for testing only, reset cache on each call tokens = tokenize_matched_text( - location, query_string, dictionary=idx.dictionary, _cache={}) + location=location, + query_string=query_string, + dictionary=idx.dictionary, + _cache={}, + ) else: tokens = tokenize_matched_text( - location, query_string, dictionary=idx.dictionary) + location=location, + query_string=query_string, + dictionary=idx.dictionary, + ) if TRACE_MATCHED_TEXT: tokens = list(tokens) @@ -1739,7 +1794,12 @@ def get_full_matched_text( print() tokens = reportable_tokens( - tokens, match.qspan, match.start_line, match.end_line, whole_lines=whole_lines) + tokens=tokens, + match_qspan=match.qspan, + start_line=match.start_line, + end_line=match.end_line, + whole_lines=whole_lines, + ) if TRACE_MATCHED_TEXT: tokens = list(tokens) diff --git a/src/licensedcode/match_spdx_lid.py b/src/licensedcode/match_spdx_lid.py index 658b3cae7ad..d4354992e8c 100644 --- a/src/licensedcode/match_spdx_lid.py +++ b/src/licensedcode/match_spdx_lid.py @@ -55,30 +55,24 @@ def logger_debug(*args): def logger_debug(*args): return logger.debug(' '.join(isinstance(a, str) and a or repr(a) for a in args)) - MATCH_SPDX_ID = '1-spdx-id' -def spdx_id_match(idx, query_run, text): +def spdx_id_match(idx, query_run, text, expression_symbols=None): """ Return one LicenseMatch by matching the `text` as an SPDX license expression using the `query_run` positions and `idx` index for support. - """ - from licensedcode.cache import get_spdx_symbols - from licensedcode.cache import get_unknown_spdx_symbol + Use the ``expression_symbols`` mapping of {lowered key: LicenseSymbol} if + provided. Otherwise use the standard SPDX license symbols. + """ if TRACE: logger_debug('spdx_id_match: start:', 'text:', text, 'query_run:', query_run) - licensing = Licensing() - symbols_by_spdx = get_spdx_symbols() - unknown_symbol = get_unknown_spdx_symbol() - - _prefix, exp_text = prepare_text(text) - expression = get_expression(exp_text, licensing, symbols_by_spdx, unknown_symbol) - if expression is None: + # matching proper + expression_str = get_spdx_expression(text, expression_symbols=expression_symbols) + if not expression_str: return - expression_str = expression.render() match_len = len(query_run) match_start = query_run.start @@ -120,10 +114,45 @@ def spdx_id_match(idx, query_run, text): return match -def get_expression(text, licensing, spdx_symbols, unknown_symbol): +def get_spdx_expression(text, expression_symbols=None): + """ + Return a matched license expression string or None by matching the + ``text`` as an SPDX license expression. + + Use the ``expression_symbols`` mapping of {lowered key: LicenseSymbol} if + provided. Otherwise use the standard SPDX license symbols. + + This is used to handle cases of mixed standard SPDX and non-standard SPDX- + like symbols used for instance in some package manifests. + """ + from licensedcode.cache import get_spdx_symbols + from licensedcode.cache import get_unknown_spdx_symbol + + licensing = Licensing() + if not expression_symbols: + expression_symbols = get_spdx_symbols() + + unknown_symbol = get_unknown_spdx_symbol() + _prefix, exp_text = prepare_text(text) + + expression = get_expression( + text=exp_text, + licensing=licensing, + expression_symbols=expression_symbols, + unknown_symbol=unknown_symbol, + ) + if expression is None: + return + return expression.render() + + +def get_expression(text, licensing, expression_symbols, unknown_symbol): """ - Return an Expression object by parsing the `text` string using - the `licensing` reference Licensing. + Return an Expression object by parsing the `text` string using the + ``licensing`` reference Licensing. + + Use the ``expression_symbols`` mapping of {lowered key: LicenseSymbol} if + provided. Otherwise use the standard SPDX license symbols. Note that an expression is ALWAYS returned: if the parsing fails or some other error happens somehow, this function returns instead a bare @@ -134,12 +163,23 @@ def get_expression(text, licensing, spdx_symbols, unknown_symbol): return expression = None try: - expression = _parse_expression(text, licensing, spdx_symbols, unknown_symbol) + expression = _parse_expression( + text=text, + licensing=licensing, + expression_symbols=expression_symbols, + unknown_symbol=unknown_symbol, + ) except Exception: try: - # try to parse again using a lenient recovering parsing process - # such as for plain space or comma-separated list of licenses (e.g. UBoot) - expression = _reparse_invalid_expression(text, licensing, spdx_symbols, unknown_symbol) + # Try to parse again using a lenient recovering parsing process such + # as for plain space or comma-separated list of licenses (e.g. + # UBoot) + expression = _reparse_invalid_expression( + text=text, + licensing=licensing, + expression_symbols=expression_symbols, + unknown_symbol=unknown_symbol, + ) except Exception: pass @@ -148,9 +188,6 @@ def get_expression(text, licensing, spdx_symbols, unknown_symbol): return expression -# TODO: use me??: this is NOT used at all for now because too complex for a too -# small benefit: only ecos-2.0 has ever been see in the wild in U-Boot -# identifiers # Some older SPDX ids are deprecated and therefore no longer referenced in # licenses so we track them here. This maps the old SPDX key to a scancode # expression. @@ -181,11 +218,14 @@ def get_old_expressions_subs_table(licensing): return OLD_SPDX_EXCEPTION_LICENSES_SUBS -def _parse_expression(text, licensing, spdx_symbols, unknown_symbol): +def _parse_expression(text, licensing, expression_symbols, unknown_symbol): """ Return an Expression object by parsing the `text` string using the - `licensing` reference Licensing. Return None or raise an exception on + ``licensing`` reference Licensing. Return None or raise an exception on errors. + + Use the ``expression_symbols`` mapping of {lowered key: LicenseSymbol} if + provided. Otherwise use the standard SPDX license symbols. """ if not text: return @@ -205,14 +245,14 @@ def _parse_expression(text, licensing, spdx_symbols, unknown_symbol): symbols_table = {} def _get_matching_symbol(_symbol): - return spdx_symbols.get(_symbol.key.lower(), unknown_symbol) + return expression_symbols.get(_symbol.key.lower(), unknown_symbol) for symbol in licensing.license_symbols(updated, unique=True, decompose=False): if isinstance(symbol, LicenseWithExceptionSymbol): # we have two symbols:make a a new symbo, from that new_with = LicenseWithExceptionSymbol( - _get_matching_symbol(symbol.license_symbol), - _get_matching_symbol(symbol.exception_symbol) + license_symbol=_get_matching_symbol(symbol.license_symbol), + exception_symbol=_get_matching_symbol(symbol.exception_symbol) ) symbols_table[symbol] = new_with @@ -223,15 +263,24 @@ def _get_matching_symbol(_symbol): return symbolized -def _reparse_invalid_expression(text, licensing, spdx_symbols, unknown_symbol): +def _reparse_invalid_expression( + text, + licensing, + expression_symbols, + unknown_symbol +): """ Return an Expression object by parsing the `text` string using the `licensing` reference Licensing. + Make a best attempt at parsing eventually ignoring some of the syntax. The `text` string is assumed to be an invalid non-parseable expression. Any keyword and parens will be ignored. + Use the ``expression_symbols`` mapping of {lowered key: LicenseSymbol} if + provided. Otherwise use the standard SPDX license symbols. + Note that an expression is ALWAYS returned: if the parsing fails or some other error happens somehow, this function returns instead a bare expression made of only "unknown-spdx" symbol. @@ -241,11 +290,14 @@ def _reparse_invalid_expression(text, licensing, spdx_symbols, unknown_symbol): results = licensing.simple_tokenizer(text) # filter tokens to keep only symbols and keywords - tokens = [r.value for r in results if isinstance(r.value, (LicenseSymbol, Keyword))] - - # here we have a mix of keywords and symbols that does not parse correctly - # this could be because of some imbalance or any kind of other reasons. We ignore any parens or - # keyword and track if we have keywords or parens + tokens = [ + r.value for r in results + if isinstance(r.value, (LicenseSymbol, Keyword)) + ] + + # Here we have a mix of keywords and symbols that does not parse correctly. + # This could be because of some imbalance or any kind of other reasons. We + # ignore any parens or keyword and track if we have keywords or parens has_keywords = False has_symbols = False filtered_tokens = [] @@ -271,7 +323,8 @@ def _reparse_invalid_expression(text, licensing, spdx_symbols, unknown_symbol): joined_as = ' OR ' expression_text = joined_as.join(s.key for s in filtered_tokens) - expression = _parse_expression(expression_text, licensing, spdx_symbols, unknown_symbol) + expression = _parse_expression( + expression_text, licensing, expression_symbols, unknown_symbol) # this is more than just a u-boot-style list of license keys if has_keywords: @@ -284,8 +337,8 @@ def _reparse_invalid_expression(text, licensing, spdx_symbols, unknown_symbol): def prepare_text(text): """ - Return a 2-tuple of (`prefix`, `expression_text`) built from `text` where the - `expression_text` is prepared to be suitable for SPDX license identifier + Return a 2-tuple of (`prefix`, `expression_text`) built from `text` where + the `expression_text` is prepared to be suitable for SPDX license identifier detection stripped from leading and trailing punctuations, normalized for spaces and separateed from an SPDX-License-Identifier `prefix`. """ @@ -296,8 +349,8 @@ def prepare_text(text): def clean_text(text): """ - Return a text suitable for SPDX license identifier detection cleaned - from certain leading and trailing punctuations and normalized for spaces. + Return a text suitable for SPDX license identifier detection cleaned from + certain leading and trailing punctuations and normalized for spaces. """ text = ' '.join(text.split()) punctuation_spaces = "!\"#$%&'*,-./:;<=>?@[\\]^_`{|}~\t\r\n " @@ -327,8 +380,8 @@ def split_spdx_lid(text): if there is an SPDX license identifier where the first item contains the "SPDX license identifier" text proper and the second item contains the remainder of the line (expected to be a license expression). Otherwise - return a 2-tuple where the first item is None and the second item contains the - orignal text. + return a 2-tuple where the first item is None and the second item contains + the orignal text. """ segments = _split_spdx_lid(text) expression = segments[-1] diff --git a/src/licensedcode/models.py b/src/licensedcode/models.py index 55502a3e654..b0274b74902 100644 --- a/src/licensedcode/models.py +++ b/src/licensedcode/models.py @@ -7,22 +7,22 @@ # See https://aboutcode.org for more information about nexB OSS projects. # +import io +import shutil +import traceback from collections import Counter from collections import defaultdict from functools import partial from itertools import chain -import io from operator import itemgetter from os.path import abspath from os.path import dirname from os.path import exists from os.path import join -import shutil -import traceback import attr -from license_expression import Licensing import saneyaml +from license_expression import Licensing from commoncode.fileutils import copyfile from commoncode.fileutils import file_base_name @@ -79,7 +79,7 @@ class License(object): __attrib = partial(attr.ib, repr=False) - # mandatory and unique key: lower case ASCII characters, digits, underscore and dots. + # mandatory unique key: lower case ASCII characters, digits, underscore and dots. key = attr.ib(repr=True) src_dir = __attrib(default=licenses_data_dir) @@ -108,6 +108,8 @@ class License(object): # if this is a license exception, the license key this exception applies to is_exception = __attrib(default=False) + # if the license falls in unknwon category then this flag should be set to true + is_unknown = __attrib(default=False) # SPDX key for SPDX licenses spdx_license_key = __attrib(default=None) # list of other keys, such as deprecated ones @@ -147,17 +149,23 @@ def __attrs_post_init__(self, *args, **kwargs): self.load() def set_file_paths(self): - self.data_file = join(self.src_dir, self.key + '.yml') - self.text_file = join(self.src_dir, self.key + '.LICENSE') + self.data_file = join(self.src_dir, f'{self.key}.yml') + self.text_file = join(self.src_dir, f'{self.key}.LICENSE') def relocate(self, target_dir, new_key=None): """ - Return f copy of this license object relocated to f new `src_dir`. - The data and license text files are persisted in the new `src_dir`. + Return a copy of this License object relocated to a new ``target_dir`` + with data and license text files saved to the new ``target_dir``. + Use the ``new_key`` as license key if provided. """ - if not target_dir or target_dir == self.src_dir: + if not target_dir: + raise ValueError( + f'Cannot relocate {self.key} License to empty directory ' + ) + if target_dir == self.src_dir: raise ValueError( - 'Cannot relocate {} License to empty directory or same directory.'.format(self.key)) + f'Cannot relocate {self.key} License to its current directory.' + ) if new_key: key = new_key @@ -198,7 +206,7 @@ def text(self): def to_dict(self): """ - Return an dict of license data (excluding texts). + Return an ordered mapping of license data (excluding texts). Fields with empty values are not included. """ @@ -244,7 +252,7 @@ def write(location, byte_string): def load(self): """ Populate license data from a YAML file stored in of self.src_dir. - Does not load text files. + Does not load text files yet. Unknown fields are ignored and not bound to the License object. """ try: @@ -257,7 +265,11 @@ def load(self): if k == 'key': assert self.key == v, ( - 'Inconsistent YAML key and file names for %r' % self.key) + 'The license "key" attribute in the .yml file MUST ' + + 'be the same as the base name of this license .LICENSE ' + + 'and .yml data files license files. ' + + f'Yet file name = {self.key} and license key = {v}' + ) setattr(self, k, v) @@ -265,7 +277,7 @@ def load(self): # this is a rare case: fail loudly print() print('#############################') - print('INVALID LICENSE YAML FILE:', 'file://' + self.data_file) + print('INVALID LICENSE YAML FILE:', f'file://{self.data_file}') print('#############################') print(e) print('#############################') @@ -291,14 +303,12 @@ def spdx_keys(self): @staticmethod def validate(licenses, verbose=False, no_dupe_urls=False): """ - Check that licenses are valid. `licenses` is a mapping of key -> - License. Return dictionaries of infos, errors and warnings mapping a - license key to validation issue messages. Print messages if verbose is - True. - - NOTE: we DO NOT run this validation as part of the loading or - construction of License objects. Instead this is invoked ONLY as part of - the test suite. + Check that the ``licenses`` a mapping of {key: License} are valid. + Return dictionaries of infos, errors and warnings mapping a license key + to validation issue messages. Print messages if ``verbose`` is True. + + NOTE: we DO NOT run this validation as part of loading or constructing + License objects. Instead this is invoked ONLY as part of the test suite. """ infos = defaultdict(list) warnings = defaultdict(list) @@ -327,10 +337,17 @@ def validate(licenses, verbose=False, no_dupe_urls=False): error('No category') if lic.category and lic.category not in CATEGORIES: cats = '\n'.join(sorted(CATEGORIES)) - error('Unknown license category: {}.\nUse one of these valid categories:\n{}'.format(lic.category, cats)) + error( + f'Unknown license category: {lic.category}.\n' + + f'Use one of these valid categories:\n{cats}' + ) if not lic.owner: error('No owner') + if lic.is_unknown: + if not "unknown" in lic.key: + error('is_unknown should not be true') + # URLS dedupe and consistency if no_dupe_urls: if lic.text_urls and not all(lic.text_urls): @@ -370,7 +387,7 @@ def validate(licenses, verbose=False, no_dupe_urls=False): info('No license text') else: # for global dedupe - by_text[license_qtokens].append(key + ': TEXT') + by_text[license_qtokens].append(f'{key}: TEXT') # SPDX consistency if lic.spdx_license_key: @@ -382,28 +399,42 @@ def validate(licenses, verbose=False, no_dupe_urls=False): by_spdx_key[oslk].append(key) # global SPDX consistency - multiple_spdx_keys_used = {k: v for k, v in by_spdx_key.items() if len(v) > 1} + multiple_spdx_keys_used = { + k: v for k, v in by_spdx_key.items() + if len(v) > 1 + } if multiple_spdx_keys_used: for k, lkeys in multiple_spdx_keys_used.items(): - errors['GLOBAL'].append('SPDX key: ' + k + ' used in multiple licenses: ' + ', '.join(sorted(lkeys))) + errors['GLOBAL'].append( + f'SPDX key: {k} used in multiple licenses: ' + + ', '.join(sorted(lkeys))) # global text dedupe multiple_texts = {k: v for k, v in by_text.items() if len(v) > 1} if multiple_texts: for k, msgs in multiple_texts.items(): - errors['GLOBAL'].append('Duplicate texts in multiple licenses:' + ', '.join(sorted(msgs))) + errors['GLOBAL'].append( + 'Duplicate texts in multiple licenses: ' + + ', '.join(sorted(msgs)) + ) # global short_name dedupe for short_name, licenses in by_short_name.items(): if len(licenses) == 1: continue - errors['GLOBAL'].append('Duplicate short name:' + short_name + ' in licenses:' + ', '.join(l.key for l in licenses)) + errors['GLOBAL'].append( + f'Duplicate short name: {short_name} in licenses: ' + + ', '.join(l.key for l in licenses) + ) # global name dedupe for name, licenses in by_name.items(): if len(licenses) == 1: continue - errors['GLOBAL'].append('Duplicate name:' + name + ' in licenses:' + ', '.join(l.key for l in licenses)) + errors['GLOBAL'].append( + f'Duplicate name: {name} in licenses: ' + + ', '.join(l.key for l in licenses) + ) errors = {k: v for k, v in errors.items() if v} warnings = {k: v for k, v in warnings.items() if v} @@ -412,15 +443,15 @@ def validate(licenses, verbose=False, no_dupe_urls=False): if verbose: print('Licenses validation errors:') for key, msgs in sorted(errors.items()): - print('ERRORS for:', key, ':', '\n'.join(msgs)) + print(f'ERRORS for: {key}:', '\n'.join(msgs)) print('Licenses validation warnings:') for key, msgs in sorted(warnings.items()): - print('WARNINGS for:', key, ':', '\n'.join(msgs)) + print(f'WARNINGS for: {key}:', '\n'.join(msgs)) print('Licenses validation infos:') for key, msgs in sorted(infos.items()): - print('INFOS for:', key, ':', '\n'.join(msgs)) + print(f'INFOS for: {key}:', '\n'.join(msgs)) return errors, warnings, infos @@ -431,13 +462,20 @@ def ignore_editor_tmp_files(location): def load_licenses(licenses_data_dir=licenses_data_dir , with_deprecated=False): """ - Return a mapping of key -> license objects, loaded from license files. - Raise Exceptions if there are dangling orphaned files. + Return a mapping of {key: License} loaded from license data and text files + found in ``licenses_data_dir``. Raise Exceptions if there are dangling or + orphaned files. Optionally include deprecated license if ``with_deprecated`` + is True. """ licenses = {} used_files = set() all_files = set(resource_iter( - licenses_data_dir, ignored=ignore_editor_tmp_files, with_dirs=False, follow_symlinks=True)) + licenses_data_dir, + ignored=ignore_editor_tmp_files, + with_dirs=False, + follow_symlinks=True, + )) + for data_file in sorted(all_files): if data_file.endswith('.yml'): key = file_base_name(data_file) @@ -451,12 +489,19 @@ def load_licenses(licenses_data_dir=licenses_data_dir , with_deprecated=False): dangling = all_files.difference(used_files) if dangling: - msg = 'Some License data or text files are orphaned in "{}".\n'.format(licenses_data_dir) - msg += '\n'.join('file://{}'.format(f) for f in sorted(dangling)) + msg = ( + f'Some License files are orphaned in {licenses_data_dir!r}.\n' + + '\n'.join(f'file://{f}' for f in sorted(dangling)) + ) raise Exception(msg) + if not licenses: - msg = 'No licenses were loaded. Check to see if the license data files are available at "{}".'.format(licenses_data_dir) + msg = ( + 'No licenses were loaded. Check to see if the license data files ' + f'are available at "{licenses_data_dir}".' + ) raise Exception(msg) + return licenses @@ -466,8 +511,8 @@ def get_rules( rules_data_dir=rules_data_dir ): """ - Yield Rule objects loaded from a licenses_db and license files found in - `licenses_data_dir` and rule files found in `rules_data_dir`. Raise an + Yield Rule objects loaded from a ``licenses_db`` and license files found in + ``licenses_data_dir`` and rule files found in `rules_data_dir`. Raise an Exception if a rule is inconsistent or incorrect. """ licenses_db = licenses_db or load_licenses(licenses_data_dir=licenses_data_dir) @@ -483,12 +528,13 @@ class InvalidRule(Exception): def _validate_all_rules(rules, licenses_by_key): """ - Return a mapping of {error message: [list of rules]) from validating a list - of `rules` integrity and correctness using known licenses from a mapping of - `licenses_by_key `(key->license)`. + Return a mapping of {error message: [list of Rule]} from validating a list + of ``rules`` Rule integrity and correctness using known licenses from a + mapping of ``licenses_by_key`` {key: License}`. """ licensing = Licensing(licenses_by_key.values()) errors = defaultdict(list) + for rule in rules: for err_msg in rule.validate(licensing): errors[err_msg].append(rule) @@ -497,9 +543,9 @@ def _validate_all_rules(rules, licenses_by_key): def validate_rules(rules, licenses_by_key, with_text=False): """ - Return a mapping of {error message: [list of rules]) from validating a list - of `rules` integrity and correctness using known licenses from a mapping of - `licenses_by_key `(key->license). + Return a mapping of {error message: [list of Rule]) from validating a list + of ``rules`` Rule integrity and correctness using known licenses from a + mapping of ``licenses_by_key`` {key: License}`. """ errors = _validate_all_rules(rules, licenses_by_key) if errors: @@ -508,20 +554,21 @@ def validate_rules(rules, licenses_by_key, with_text=False): message.append('') message.append(msg) for rule in rules: - message.append(' ' + repr(rule)) + message.append(f' {rule!r}') if rule.text_file: - message.append(' file://' + rule.text_file) + message.append(f' file://{rule.text_file}') if rule.data_file: - message.append(' file://' + rule.data_file) + message.append(f' file://{rule.data_file}') if with_text: - message.append(' ' + rule.text()[:50].strip() + '...') + txt = rule.text()[:50].strip() + message.append(f' {txt}...') raise InvalidRule('\n'.join(message)) def build_rules_from_licenses(licenses): """ - Return an iterable of rules built from each license text from a `licenses` - iterable of license objects. + Return an iterable of rules built from each license text from a ``licenses`` + iterable of License objects. """ for license_key, license_obj in licenses.items(): text_file = join(license_obj.src_dir, license_obj.text_file) @@ -571,7 +618,7 @@ def get_essential_spdx_tokens(): def get_all_spdx_key_tokens(licenses_db): """ - Yield SPDX token strings collected from a `licenses_db` mapping of {key: + Yield SPDX token strings collected from a ``licenses_db`` mapping of {key: License} objects. """ for tok in get_essential_spdx_tokens(): @@ -584,7 +631,7 @@ def get_all_spdx_key_tokens(licenses_db): def load_rules(rules_data_dir=rules_data_dir): """ - Return an iterable of rules loaded from rule files. + Return an iterable of rules loaded from rule files in ``rules_data_dir``. """ # TODO: OPTIMIZE: create a graph of rules to account for containment and # similarity clusters? @@ -599,7 +646,7 @@ def load_rules(rules_data_dir=rules_data_dir): base_name = file_base_name(data_file) if ' ' in base_name: space_problems.append(data_file) - rule_file = join(rules_data_dir, base_name + '.RULE') + rule_file = join(rules_data_dir, f'{base_name}.RULE') try: rule = Rule(data_file=data_file, text_file=rule_file) yield rule @@ -630,19 +677,31 @@ def load_rules(rules_data_dir=rules_data_dir): if model_errors: errors = '\n'.join(model_errors) - msg += '\nInvalid rule YAML in directory: %(rules_data_dir)r\n%(errors)s' % locals() + msg += ( + '\nInvalid rule YAML file in directory: ' + f'{rules_data_dir!r}\n{errors}' + ) if unknown_files: - files = '\n'.join(sorted('file://' + f for f in unknown_files)) - msg += '\nOrphaned files in rule directory: %(rules_data_dir)r\n%(files)s' % locals() + files = '\n'.join(sorted(f'f"ile://{f}"' for f in unknown_files)) + msg += ( + '\nOrphaned files in rule directory: ' + f'{rules_data_dir!r}\n{files}' + ) if case_problems: - files = '\n'.join(sorted('file://' + f for f in case_problems)) - msg += '\nRule files with non-unique name ignoring case in rule directory: %(rules_data_dir)r\n%(files)s' % locals() + files = '\n'.join(sorted(f'"file://{f}"' for f in case_problems)) + msg += ( + '\nRule files with non-unique name in rule directory: ' + f'{rules_data_dir!r}\n{files}' + ) if space_problems: - files = '\n'.join(sorted('"file://' + f + '"' for f in space_problems)) - msg += '\nRule filename cannot contain spaces: %(rules_data_dir)r\n%(files)s' % locals() + files = '\n'.join(sorted(f'"file://{f}"' for f in space_problems)) + msg += ( + '\nRule filename cannot contain spaces: ' + f'{rules_data_dir!r}\n{files}' + ) raise InvalidRule(msg) @@ -684,8 +743,8 @@ class BasicRule(object): # A license notice: this provides a strong confidence wrt detection is_license_notice = attr.ib(default=False, repr=False) - # A reference is for a mere short license reference such as its bare name or a - # URL that provides a weaker clue when detected + # A reference is for a mere short license reference such as its bare name or + # a URL that provides a weaker clue when detected is_license_reference = attr.ib(default=False, repr=False) # A tag is for a structured licensing tag such as a package manifest @@ -794,32 +853,35 @@ def setup(self): try: expression = self.licensing.parse(self.license_expression) except: + exp = self.license_expression + trace = traceback.format_exc() raise InvalidRule( - 'Unable to parse rule License expression: {license_expression!r} ' - 'for: file://{data_file}' - '\n{trace}'.format( - license_expression=self.license_expression, - data_file=self.data_file, - trace=traceback.format_exc(), - ) + f'Unable to parse rule License expression: {exp!r} ' + f'for: file://{self.data_file}\n{trace}' ) if expression is None: raise InvalidRule( - 'Invalid rule License expression parsed to empty: {license_expression!r} ' - 'for: file://{data_file}'.format( - license_expression=self.license_expression, - data_file=self.data_file, - ) + f'Invalid rule License expression parsed to empty: ' + f'{self.license_expression!r} for: file://{self.data_file}' ) self.license_expression = expression.render() self.license_expression_object = expression + @property + def has_unknown(self): + """ + Return True if any of this rule licenses is an unknown license. + """ + # TODO: consider using the license_expression_object and the is_unknown + # license flag instead + return self.license_expression and 'unknown' in self.license_expression + def validate(self, licensing=None): """ - Validate this rule using the provided `licensing` and yield one error - message for each type of error detected. + Validate this rule using the provided ``licensing`` Licensing and yield + one error message for each type of error detected. """ is_false_positive = self.is_false_positive @@ -889,7 +951,7 @@ def validate(self, licensing=None): try: licensing.parse(license_expression, validate=True, simple=True) except InvalidRule as e: - yield 'Failed to parse and validate license_expression: {}'.format(str(e)) + yield f'Failed to parse and validate license_expression: {e}' def license_keys(self, unique=True): """ @@ -897,7 +959,10 @@ def license_keys(self, unique=True): """ if not self.license_expression: return [] - return self.licensing.license_keys(self.license_expression_object, unique=unique) + return self.licensing.license_keys( + self.license_expression_object, + unique=unique, + ) def same_licensing(self, other): """ @@ -905,7 +970,9 @@ def same_licensing(self, other): """ if self.license_expression and other.license_expression: return self.licensing.is_equivalent( - self.license_expression_object, other.license_expression_object) + self.license_expression_object, + other.license_expression_object, + ) def licensing_contains(self, other): """ @@ -913,7 +980,9 @@ def licensing_contains(self, other): """ if self.license_expression and other.license_expression: return self.licensing.contains( - self.license_expression_object, other.license_expression_object) + self.license_expression_object, + other.license_expression_object, + ) def spdx_license_expression(self, licensing=None): if not licensing: @@ -993,11 +1062,15 @@ def to_dict(self): def text(self): """ - Return the rule text loaded from its file. + Return the rule text loaded from its text file. """ if self.text_file and exists(self.text_file): # IMPORTANT: use the same process as query text loading for symmetry - numbered_lines = numbered_text_lines(self.text_file, demarkup=False, plain_text=True) + numbered_lines = numbered_text_lines( + self.text_file, + demarkup=False, + plain_text=True, + ) return ''.join(l for _, l in numbered_lines) # used for non-file backed rules @@ -1005,13 +1078,15 @@ def text(self): return self.stored_text else: - raise InvalidRule('Inconsistent rule text for: ' + - self.identifier + '\nfile://' + self.text_file) + raise InvalidRule( + f'Inconsistent rule text for: {self.identifier}\n' + f'file://{self.text_file}' + ) def check_is_list_of_strings(l): """ - Return True if l is a list of strings or an empty list, False otherwise + Return True if `l` is a list of strings or an empty list, False otherwise. """ if isinstance(l, list): if l: @@ -1022,8 +1097,8 @@ def check_is_list_of_strings(l): def as_int(num): """ - Convert num to int if num is not an int and this would not lead to - loss of information, e.g. when num is an int stored as a float type. + Convert ``num`` to int if ``num`` is not an int and this would not lead to + loss of information, e.g. when ``num`` is an int stored as a float type. """ if isinstance(num, str): num = float(num) @@ -1051,7 +1126,8 @@ def load_data(self): if not self.text_file: # for SPDX or tests only if not self.stored_text : - raise InvalidRule('Invalid rule without its corresponding text file: {}'.format(self)) + raise InvalidRule( + f'Invalid rule without its corresponding text file: {self}') self.identifier = '_tst_' + str(len(self.stored_text)) else: self.identifier = file_name(self.text_file) @@ -1059,11 +1135,10 @@ def load_data(self): if self.data_file: try: self.load() - except Exception as e: + except Exception: data_file = self.data_file trace = traceback.format_exc() - message = 'While loading: file://{data_file}\n{trace}'.format(**locals()) - raise InvalidRule(message) + raise InvalidRule(f'While loading: file://{data_file}\n{trace}') def tokens(self): """ @@ -1077,7 +1152,10 @@ def tokens(self): # We tag this rule as being a bare URL if it starts with a scheme and is # on one line: this is used to determine a matching approach - if text.startswith(('http://', 'https://', 'ftp://')) and '\n' not in text[:1000]: + if ( + text.startswith(('http://', 'https://', 'ftp://')) + and '\n' not in text[:1000] + ): self.minimum_coverage = 100 for token in index_tokenizer(self.text()): @@ -1090,23 +1168,27 @@ def tokens(self): def compute_thresholds(self, small_rule=SMALL_RULE): """ Compute and set thresholds either considering the occurrence of all - tokens or the occurance of unique tokens. + tokens or the occurence of unique tokens. """ - minimum_coverage, self.min_matched_length, self.min_high_matched_length = ( + min_cov, self.min_matched_length, self.min_high_matched_length = ( compute_thresholds_occurences( self.minimum_coverage, self.length, - self.high_length)) + self.high_length, + ) + ) if not self.has_stored_minimum_coverage: - self.minimum_coverage = minimum_coverage + self.minimum_coverage = min_cov self._minimum_containment = self.minimum_coverage / 100 self.min_matched_length_unique, self.min_high_matched_length_unique = ( - compute_thresholds_unique( - self.minimum_coverage, - self.length, - self.length_unique, self.high_length_unique)) + compute_thresholds_unique( + self.minimum_coverage, + self.length, + self.length_unique, self.high_length_unique, + ) + ) self.is_small = self.length < small_rule @@ -1122,7 +1204,8 @@ def dump(self): return def write(location, byte_string): - # we write as binary because rules and licenses texts and data are UTF-8-encoded bytes + # we write as binary because rules and licenses texts and data are + # UTF-8-encoded bytes with io.open(location, 'wb') as of: of.write(byte_string) @@ -1142,7 +1225,7 @@ def load(self): data = saneyaml.load(f.read()) except Exception as e: print('#############################') - print('INVALID LICENSE RULE FILE:', 'file://' + self.data_file) + print('INVALID LICENSE RULE FILE:', f'file://{self.data_file}') print('#############################') print(e) print('#############################') @@ -1202,26 +1285,27 @@ def load(self): return self - def compute_relevance(self): + def compute_relevance(self, _threshold=18.0): """ - Compute and set the `relevance` attribute for this rule. The - relevance is a float between 0 and 100 where 100 means highly - relevant and 0 means not relevant at all. + Compute and set the `relevance` attribute for this rule. The relevance + is a float between 0 and 100 where 100 means highly relevant and 0 means + not relevant at all. For instance a match to the "gpl" or the "cpol" words have a fairly low - relevance as they are a weak indication of an actual license and could be a - false positive and should therefore be assigned a low relevance. In contrast - a match to most or all of the apache-2.0 license text is highly relevant. The - Rule relevance is used as the basis to compute a match score. + relevance as they are a weak indication of an actual license and could + be a false positive and should therefore be assigned a low relevance. In + contrast a match to most or all of the apache-2.0 license text is highly + relevant. The Rule relevance is used as the basis to compute a match + score. The relevance is either pre-defined in the rule YAML data file with the "relevance" attribute or computed base on the rule length here using this approach: - - a false positive rule has a relevance of 100. - - a rule of length equal to or larger than a threshold has a 100 relevance - - a rule of length smaller than a threshold has a relevance of - 100/threshold, rounded down. + - false positive rule has 100 relevance. + - rule length equal or larger than threshold has 100 relevance + - rule length smaller than threshold has 100/threshold relevance rounded + down. The current threshold is 18 words. """ @@ -1237,10 +1321,9 @@ def compute_relevance(self): # use the default max relevance of 100 self.relevance = 100 - threshold = 18.0 - relevance_of_one_word = round((1 / threshold) * 100, 2) + relevance_of_one_word = round((1 / _threshold) * 100, 2) length = self.length - if length >= threshold: + if length >= _threshold: # general case self.relevance = 100 else: @@ -1252,32 +1335,36 @@ def rule_dir(self): Return the directory of this rule. """ if not (self.text_file and self.data_file): - raise Exception('Cannot obtain rule directory for: {}'.format(repr(self))) + raise Exception(f'Cannot obtain rule directory for: {self!r}') return dirname(self.data_file) def rename_and_relocate(self, name_prefix): """ - Rename and relocate rule files to this new name using the ``name_prefix`` - prefix. The new name is guaranteed to be unique and not conflicting - with any existing name. + Generate a new rule name and relocate the rule files to this new name + using the ``name_prefix`` prefix. The new rule name is guaranteed to be + unique and not conflicting with any existing rule name. """ new_base_loc = find_rule_base_location( name_prefix=name_prefix, rules_directory=self.rule_dir() ) - new_data_file = new_base_loc + '.yml' + new_data_file = f'{new_base_loc}.yml' shutil.move(self.data_file, new_data_file) self.data_file = new_data_file - new_text_file = new_base_loc + '.RULE' + new_text_file = f'{new_base_loc}.RULE' shutil.move(self.text_file, new_text_file) self.text_file = new_text_file -def compute_thresholds_occurences(minimum_coverage, length, high_length, - _MIN_MATCH_HIGH_LENGTH=MIN_MATCH_HIGH_LENGTH, - _MIN_MATCH_LENGTH=MIN_MATCH_LENGTH): +def compute_thresholds_occurences( + minimum_coverage, + length, + high_length, + _MIN_MATCH_HIGH_LENGTH=MIN_MATCH_HIGH_LENGTH, + _MIN_MATCH_LENGTH=MIN_MATCH_LENGTH, +): """ Compute and return thresholds considering the occurrence of all tokens. """ @@ -1314,9 +1401,14 @@ def compute_thresholds_occurences(minimum_coverage, length, high_length, return minimum_coverage, min_matched_length, min_high_matched_length -def compute_thresholds_unique(minimum_coverage, length, length_unique, high_length_unique, - _MIN_MATCH_HIGH_LENGTH=MIN_MATCH_HIGH_LENGTH, - _MIN_MATCH_LENGTH=MIN_MATCH_LENGTH): +def compute_thresholds_unique( + minimum_coverage, + length, + length_unique, + high_length_unique, + _MIN_MATCH_HIGH_LENGTH=MIN_MATCH_HIGH_LENGTH, + _MIN_MATCH_LENGTH=MIN_MATCH_LENGTH, +): """ Compute and set thresholds considering the occurrence of only unique tokens. """ @@ -1365,20 +1457,22 @@ class SpdxRule(Rule): """ def __attrs_post_init__(self, *args, **kwargs): - self.identifier = 'spdx-license-identifier: ' + self.license_expression + self.identifier = f'spdx-license-identifier: {self.license_expression}' expression = None try: expression = self.licensing.parse(self.license_expression) except: raise InvalidRule( - 'Unable to parse License rule expression: ' + - repr(self.license_expression) + ' for: SPDX rule:' + - self.stored_text + - '\n' + traceback.format_exc()) + 'Unable to parse License rule expression: ' + f'{self.license_expression!r} for: SPDX rule: ' + f'{self.stored_text}\n' + traceback.format_exc() + ) + if expression is None: raise InvalidRule( 'Unable to parse License rule expression: ' - +repr(self.license_expression) + ' for:' + repr(self.data_file)) + f'{self.license_expression!r} for: {self.data_file!r}' + ) self.license_expression = expression.render() self.license_expression_object = expression @@ -1403,35 +1497,77 @@ def _print_rule_stats(): rules = idx.rules_by_rid sizes = Counter(r.length for r in rules) print('Top 15 lengths: ', sizes.most_common(15)) - print('15 smallest lengths: ', sorted(sizes.items(), - key=itemgetter(0))[:15]) + print( + '15 smallest lengths: ', + sorted(sizes.items(), + key=itemgetter(0))[:15], + ) high_sizes = Counter(r.high_length for r in rules) print('Top 15 high lengths: ', high_sizes.most_common(15)) - print('15 smallest high lengths: ', sorted(high_sizes.items(), - key=itemgetter(0))[:15]) + print( + '15 smallest high lengths: ', + sorted(high_sizes.items(), + key=itemgetter(0))[:15], + ) -def update_ignorables(licensish, verbose=False, dump=True): +def update_ignorables(licensish, verbose=False): """ - Collect, update and save the ignorable_* attributes of a `licensish` Rule or - License object. + Update ignorables and return the ``licensish`` Rule or License using the + latest values detected in its text. + + Display progress messages if ``verbose`` is True. """ - location = licensish.text_file if verbose: - print('Processing:', 'file://' + location) + print(f'Processing: file://{licensish.text_file}') - if not exists(location): + if not exists(licensish.text_file): return licensish - # collect and set ignorable copyrights, holders and authors + ignorables = get_ignorables(text_file=licensish.text_file, verbose=verbose) + set_ignorables(licensish, ignorables, verbose=verbose) + return licensish + + +def set_ignorables(licensish, ignorables, verbose=False): + """ + Update ``licensish`` Rule or License using the mapping of ``ignorables`` + attributes. + + Display progress messages if ``verbose`` is True. + """ + for key, value in ignorables.items(): + if verbose: + existing = getattr(licensish, key, None) + print(f'Updating ignorable: {key} from: {existing!r} to: {value!r}') + setattr(licensish, key, value) + return licensish + + +def get_ignorables(text_file, verbose=False): + """ + Return a mapping of ignorable clues lists found in a ``text_file`` for + copyrights, holders, authors, urls, emails. Do not include items with empty + values. + + Display progress messages if ``verbose`` is True. + """ from cluecode.copyrights import detect_copyrights + from cluecode.finder import find_urls + from cluecode.finder import find_emails + + # redundant clues found in a license or rule text + # collect and set ignorable copyrights, holders and authors copyrights = set() holders = set() authors = set() - for dtype, value, _start, _end in detect_copyrights(location): + for dtype, value, _start, _end in detect_copyrights(text_file): + if verbose: + print(f' Found {dtype}: {value}') + if dtype == 'copyrights': copyrights.add(value) elif dtype == 'holders': @@ -1439,43 +1575,74 @@ def update_ignorables(licensish, verbose=False, dump=True): elif dtype == 'authors': authors.add(value) - licensish.ignorable_copyrights = sorted(copyrights) - licensish.ignorable_holders = sorted(holders) - licensish.ignorable_authors = sorted(authors) - # collect and set ignorable emails and urls - from cluecode.finder import find_urls - from cluecode.finder import find_emails + urls = set(u for (u, _ln) in find_urls(text_file) if u) + if verbose: + print(f' Found urls: {urls}') - urls = set(u for (u, _ln) in find_urls(location) if u) - licensish.ignorable_urls = sorted(urls) + emails = set(e for (e, _ln) in find_emails(text_file) if e) + if verbose: + print(f' Found emails: {emails}') - emails = set(u for (u, _ln) in find_emails(location) if u) - licensish.ignorable_emails = sorted(emails) - if dump: - licensish.dump() - return licensish + ignorables = build_ignorables_mapping( + copyrights, holders, authors, urls, emails) + + if verbose: + print(f' Found ignorables: {ignorables}') + return ignorables + + +def get_normalized_ignorables(licensish): + """ + Return a sorted mapping of ignorables built from a licensish Rule or License. + """ + return build_ignorables_mapping( + copyrights=licensish.ignorable_copyrights, + holders=licensish.ignorable_holders, + authors=licensish.ignorable_authors, + urls=licensish.ignorable_urls, + emails=licensish.ignorable_emails, + ) + + +def build_ignorables_mapping(copyrights, holders, authors, urls, emails): + """ + Return a sorted mapping of ignorables built from lists of ignorable clues. + """ + ignorables = dict( + ignorable_copyrights=sorted(copyrights or []), + ignorable_holders=sorted(holders or []), + ignorable_authors=sorted(authors or []), + ignorable_urls=sorted(urls or []), + ignorable_emails=sorted(emails or []), + ) + + return {k: v for k, v in sorted(ignorables.items()) if v} def find_rule_base_location(name_prefix, rules_directory=rules_data_dir): """ - Return a new, unique and non-existing base location with a file name but - without an extension suitable to create a new rule without overwriting any - existing rule. + Return a new, unique and non-existing base location in ``rules_directory`` + with a file name but without an extension suitable to create a new rule + without overwriting any existing rule. Use the ``name_prefix`` string as a + prefix for this name. """ - template = (name_prefix + + cleaned = ( + name_prefix .lower() .strip() .replace(' ', '_') .replace('(', '') .replace(')', '') .strip('_-') - ) + '_{}' + ) + template = cleaned + '_{idx}' idx = 1 while True: - base_name = template.format(idx) + base_name = template.format(idx=idx) base_loc = join(rules_directory, base_name) - if not exists(base_loc + '.RULE'): + if not exists(f'{base_loc}.RULE'): return base_loc idx += 1 diff --git a/src/licensedcode/query.py b/src/licensedcode/query.py index 418ce6fd8bc..d4bb4004ade 100644 --- a/src/licensedcode/query.py +++ b/src/licensedcode/query.py @@ -198,7 +198,7 @@ def __init__( # True if the query is binary self.is_binary = False - # kown token ids array + # known token ids array self.tokens = [] # index of known position -> line number where the pos is the list index diff --git a/src/licensedcode/spans.py b/src/licensedcode/spans.py index fc1008544f1..5a88e9e3452 100644 --- a/src/licensedcode/spans.py +++ b/src/licensedcode/spans.py @@ -27,8 +27,7 @@ # those of the authors and should not be interpreted as representing official # policies, either expressed or implied, of Matt Chaput. - -from collections import Set +from collections.abc import Set from itertools import count from itertools import groupby diff --git a/src/packagedcode/__init__.py b/src/packagedcode/__init__.py index f465fd1315d..5238dc36433 100644 --- a/src/packagedcode/__init__.py +++ b/src/packagedcode/__init__.py @@ -7,6 +7,8 @@ # See https://aboutcode.org for more information about nexB OSS projects. # +import attr + from packagedcode import about from packagedcode import bower from packagedcode import build @@ -20,15 +22,19 @@ from packagedcode import haxe from packagedcode import maven from packagedcode import models +from packagedcode import msi from packagedcode import npm from packagedcode import nuget from packagedcode import opam from packagedcode import phpcomposer +from packagedcode import pubspec from packagedcode import pypi from packagedcode import readme from packagedcode import rpm from packagedcode import rubygems from packagedcode import win_pe +from packagedcode import windows + # Note: the order matters: from the most to the least specific # Package classes MUST be added to this list to be active @@ -64,7 +70,6 @@ pypi.PythonPackage, golang.GolangPackage, models.CabPackage, - models.MsiInstallerPackage, models.InstallShieldPackage, models.NSISInstallerPackage, nuget.NugetPackage, @@ -80,6 +85,9 @@ win_pe.WindowsExecutable, readme.ReadmePackage, build.MetadataBzl, + msi.MsiInstallerPackage, + windows.MicrosoftUpdateManifestPackage, + pubspec.PubspecPackage, ] PACKAGES_BY_TYPE = {cls.default_type: cls for cls in PACKAGE_TYPES} @@ -126,20 +134,111 @@ def get_package_class(scan_data, default=models.Package): return ptype_class or default -_props = frozenset([ - 'api_data_url', - 'repository_download_url', - 'purl', - 'repository_homepage_url'] -) +def get_package_instance(scan_data): + """ + Return a Package instance re-built from a mapping of ``scan_data`` native + Python data that has the structure of a scan. Known attributes that store a + list of objects are also "rehydrated" (such as models.Party). + The Package instance will use the Package subclass that supports the + provided package "type" when possible or the base Package class otherwise. -def get_package_instance(scan_data, properties=_props): - """ - Given a `scan_data` native Python mapping representing a Package, return a - Package object instance. + Unknown attributes provided in ``scan_data`` that do not exist as fields in + the Package class are kept as items in the Package.extra_data mapping. + An Exception is raised if an "unknown attribute" name already exists as + a Package.extra_data key. """ - # remove computed properties from attributes - scan_data = {k: v for k, v in scan_data.items() if k not in properties} + # TODO: consider using a proper library for this such as cattrs, + # marshmallow, etc. or use the field type that we declare. + + # Each of these are lists of class instances tracked here, which are stored + # as a list of mappings in scanc_data + list_field_types_by_name = { + 'parties': models.Party, + 'dependencies': models.DependentPackage, + 'installed_files': models.PackageFile, + } + + # these are computed attributes serialized on a package + # that should not be recreated when serializing + computed_attributes = set([ + 'purl', + 'repository_homepage_url', + 'repository_download_url', + 'api_data_url' + ]) + + # re-hydrate lists of typed objects klas = get_package_class(scan_data) - return klas(**scan_data) + existing_fields = attr.fields_dict(klas) + + extra_data = scan_data.get('extra_data', {}) or {} + package_data = {} + + for key, value in scan_data.items(): + if not value or key in computed_attributes: + continue + + field = existing_fields.get(key) + + if not field: + if key not in extra_data: + # keep unknown field as extra data + extra_data[key] = value + continue + else: + raise Exception( + f'Invalid scan_data with duplicated key: {key}={value!r} ' + f'present both as attribute AND as extra_data: ' + f'{key}={extra_data[key]!r}' + ) + + list_field_type = list_field_types_by_name.get(key) + if not list_field_type: + # this is a plain known field + package_data[key] = value + continue + + # Since we have a list_field_type, value must be a list of mappings: + # we transform it in a list of objects. + + if not isinstance(value, list): + raise Exception( + f'Invalid scan_data with unknown data structure. ' + f'Expected the value to be a list of dicts and not a ' + f'{type(value)!r} for {key}={value!r}' + ) + + objects = list(_build_objects_list(values=value, klass=list_field_type)) + package_data[key] = objects + + return klas(**package_data) + + +def _build_objects_list(values, klass): + """ + Yield ``klass`` objects built from a ``values`` list of mappings. + """ + # Since we have a list_field_type, value must be a list of mappings: + # we transform it in a list of objects. + + if not isinstance(values, list): + raise Exception( + f'Invalid scan_data with unknown data structure. ' + f'Expected the value to be a list of dicts and not a ' + f'{type(values)!r} for {values!r}' + ) + + for val in values: + if not val: + continue + + if not isinstance(val, dict): + raise Exception( + f'Invalid scan_data with unknown data structure. ' + f'Expected the value to be a mapping for and not a ' + f'{type(val)!r} for {values!r}' + ) + + yield klass.create(**val) + diff --git a/src/packagedcode/about.py b/src/packagedcode/about.py index 52f84b49d7a..f377be77d9e 100644 --- a/src/packagedcode/about.py +++ b/src/packagedcode/about.py @@ -37,12 +37,8 @@ class AboutPackage(models.Package): def recognize(cls, location): yield parse(location) - @classmethod - def get_package_root(cls, manifest_resource, codebase): - # FIXME: this should have been already stored with the Package itself as extra_data - with io.open(manifest_resource.location, encoding='utf-8') as loc: - package_data = saneyaml.load(loc.read()) - about_resource = package_data.get('about_resource') + def get_package_root(self, manifest_resource, codebase): + about_resource = self.extra_data.get('about_resource') if about_resource: manifest_resource_parent = manifest_resource.parent(codebase) for child in manifest_resource_parent.children(codebase): @@ -89,7 +85,7 @@ def build_package(package_data): owner = repr(owner) parties = [models.Party(type=models.party_person, name=owner, role='owner')] - return AboutPackage( + about_package = AboutPackage( type='about', name=name, version=version, @@ -99,3 +95,5 @@ def build_package(package_data): homepage_url=homepage_url, download_url=download_url, ) + about_package.extra_data['about_resource'] = package_data.get('about_resource') + return about_package diff --git a/src/packagedcode/alpine.py b/src/packagedcode/alpine.py index df5c6b38a6c..2baf43b5756 100644 --- a/src/packagedcode/alpine.py +++ b/src/packagedcode/alpine.py @@ -8,27 +8,33 @@ # import base64 import codecs -from datetime import datetime import email -import io -from os import path import posixpath import re +from functools import partial +from datetime import datetime +from os import path import attr +from license_expression import LicenseSymbolLike from license_expression import Licensing from packageurl import PackageURL -from commoncode.datautils import List +from packagedcode import bashparse from packagedcode import models -from packagedcode import licensing +from packagedcode.utils import combine_expressions from textcode.analysis import as_unicode @attr.s() class AlpinePackage(models.Package): - extensions = ('.apk',) + extensions = ('.apk', 'APKBUILD') default_type = 'alpine' + + @classmethod + def recognize(cls, location): + return parse_apkbuild(location, strict=True) + def compute_normalized_license(self): _declared, detected = detect_declared_license(self.declared_license) return detected @@ -65,6 +71,19 @@ def parse_alpine_installed_db(location): or None. Typically found at '/lib/apk/db/installed' in an Alpine installation. + Note: http://uk.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz are + also in the same format as an installed database. + """ + for fields in get_alpine_installed_db_fields(location): + yield build_package(fields) + + +def get_alpine_installed_db_fields(location): + """ + Yield lists of (name, value) pairsfrom an installed database file at `location` + Typically found at '/lib/apk/db/installed' in an Alpine + installation. + Note: http://uk.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz are also in the same format as an installed database. """ @@ -75,63 +94,671 @@ def parse_alpine_installed_db(location): installed = as_unicode(f.read()) if installed: - # each paragrpah is seprated by LFLF + # each installed package paragraph is separated by LFLF packages = (p for p in re.split('\n\n', installed) if p) for pkg in packages: try: fields = email.message_from_string(pkg) except UnicodeEncodeError: fields = email.message_from_string(pkg.encode('utf-8')) - fields = [(n.strip(), v.strip(),) for n, v in fields.items()] - yield build_package(fields) + yield [(n.strip(), v.strip(),) for n, v in fields.items()] + + +def is_apkbuild(location): + return location and location.endswith('APKBUILD') + + +# these variables need to be resolved or else this is a parsing error +# we also only use these variables +APKBUILD_VARIABLES = set([ + 'pkgname', + 'pkgver', + 'pkgrel', + 'pkgdesc', + 'license', + 'url' + 'arch', + # 'subpackages', + # depends + # 'depend', + # makedepends + 'source', + 'sha512sums', + 'sha256sums', + 'md5sums', +]) + +ESSENTIAL_APKBUILD_VARIABLES = set([ + 'pkgname', + 'pkgver', + 'license', + 'url' + 'arch', + 'source', + 'sha512sums', + 'sha256sums', + 'md5sums', +]) + + +def parse_apkbuild(location, strict=False): + """ + Return an AlpinePackage object from an APKBUILD file at `location` or None. + """ + if not path.exists(location) or not is_apkbuild(location): + return + + with open(location, 'rb') as f: + apkbuild = as_unicode(f.read()) + + return parse_apkbuild_text(text=apkbuild, strict=strict) + + +class ApkbuildParseFailure(Exception): + pass + + +def get_apkbuild_variables(text): + """ + Parse ``text`` and return a tuple of (variables, errors) where variables is + a list of bashparse.ShellVariables with a name listed in the ``names`` set. + """ + fixed_text = fix_apkbuild(text) + + variables, errors = bashparse.collect_shell_variables_from_text( + text=fixed_text, + resolve=True, + needed_variables=APKBUILD_VARIABLES, + ) + return variables, errors + + +def replace_fix(text, source, target, *args): + """ + Replace ``source`` by ``target`` in ``text`` and return ``text``. + """ + return text.replace(source, target) + + +def extract_var(text, varname): + """ + Return the a single line attribute with variable named ``varname `` found in + the ``text`` APKBUILD or an empty string. + + For example:: + >>> t=''' + ... pkgname=sqlite-tcl + ... pkgrel=0 + ... ''' + >>> extract_var(t, 'pkgname') + 'sqlite-tcl' + """ + try: + variable = [ + l for l in text.splitlines(False) + if l.startswith(f'{varname}=') + ][0] + except Exception: + variable = '' + + _, _, value = variable.partition('=') + return value + + +def extract_pkgver(text): + """ + Return the pkgver version attribute found in the ``text`` APKBUILD or an + empty string. + + For example:: + >>> t=''' + ... pkgname=sqlite-tcl + ... pkgver=3.35.5 + ... pkgrel=0 + ... ''' + >>> extract_pkgver(t) + '3.35.5' + """ + return extract_var(text, varname='pkgver') + + +def get_pkgver_substring(text, version_segments=2): + """ + Return a pkgver version substring from ``text`` APKBUILD using up to + ``version_segments`` segments of the version (dot-separated). + """ + version = extract_pkgver(text) + # keep only first few segments using "version_segments" + segments = version.split('.')[:version_segments] + return '.'.join(segments) + + +def add_version_substring_variable(text, varname, version_segments=2): + """ + Fix things in ``text`` such as : + case $pkgver in + *.*.*) _kernver=${pkgver%.*};; + *.*) _kernver=$pkgver;; + esac + + This is a common pattern in APKBUILD to extract some segments from a version + """ + version = get_pkgver_substring(text, version_segments=version_segments) + return f'{varname}={version} #fixed by scancode\n\n{text}' + + +def fix_sqsh_2_segments_version(text, *args): + """ + Fix this in ``text``: + pkgver=2.5.16.1 + case $pkgver in + *.*.*.*) _v=${pkgver%.*.*};; + *.*.*) _v=${pkgver%.*};; + *) _v=$pkgver;; + esac + """ + return add_version_substring_variable(text, varname='_v', version_segments=2) + + +def fix_libreoffice_version(text, *args): + """ + Fix this in ``text``: + pkgname=libreoffice + pkgver=6.4.2 + case $pkgver in + *.*.*.*) _v=${pkgver%.*};; + *.*.*) _v=$pkgver;; + esac + """ + return add_version_substring_variable(text, varname='_v', version_segments=3) + + +def fix_kernver_version(text, *args): + """ + Fix things in ``text`` such as : + case $pkgver in + *.*.*) _kernver=${pkgver%.*};; + *.*) _kernver=$pkgver;; + esac + + and: + case $pkgver in + *.*.*) _kernver=${pkgver%.*};; + *.*) _kernver=${pkgver};; + esac + """ + return add_version_substring_variable(text, varname='_kernver', version_segments=2) + + +def fix_dunder_v_version(text, *args): + """ + Fix things in ``text`` such as : + case $pkgver in + *.*.*) _v=${pkgver%.*};; + *.*) _v=$pkgver;; + esac + """ + return add_version_substring_variable(text, varname='_v', version_segments=2) + + +def fix_kde_version(text, *args): + """ + Fix this in ``text``: + case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; + esac + """ + version = extract_pkgver(text) + if '.90' in version: + rel = 'unstable' + else: + rel = 'stable' + return f'_rel={rel} #fixed by scancode\n\n{text}' + + +def fix_sudo_realver(text, *args): + """ + sudo-1.9.6p1.tar.gz + + pkgver=1.9.6_p1 + if [ "${pkgver%_*}" != "$pkgver" ]; then + _realver=${pkgver%_*}${pkgver#*_} + else + _realver=$pkgver + fi + source="https://www.sudo.ws/dist/sudo-$_realver.tar.gz + """ + _realver = extract_pkgver(text).replace('_', '') + return f'_realver={_realver} #fixed by scancode\n\n{text}' + + +def convert_sqlite_version(version): + """ + Return a version converted from the sqlite human version format to the + download version format. + + For instance: + >>> convert_sqlite_version('3.36.0') + '3360000' + >>> convert_sqlite_version('3.36.0.2') + '3360002' + + See also: https://www.sqlite.org/versionnumbers.html + From https://www.sqlite.org/download.html + + Build Product Names and Info + + Build products are named using one of the following templates: + + sqlite-product-version.zip + sqlite-product-date.zip + [...] + The version is encoded so that filenames sort in order of increasing + version number when viewed using "ls". For version 3.X.Y the filename + encoding is 3XXYY00. For branch version 3.X.Y.Z, the encoding is + 3XXYYZZ. + + The date in template (4) is of the form: YYYYMMDDHHMM + """ + segments = [int(s) for s in version.strip().split('.')] + if len(segments) == 3: + # all version should have 4 segments. Add it if missing + segments.append(0) + + try: + major, minor, patch, branch = segments + except Exception: + raise Exception( + f'Unsupported sqlite version format. Should have 3 or 4 segments: ' + f'{version}' + ) + # pad each segments except the first on the left with zeroes 3XXYY00 + return f'{major}{minor:>02d}{patch:>02d}{branch:>02d}' + + +def fix_sqlite_version(text, *args): + """ + Fix the complex SQLite version conversion. + See https://www.sqlite.org/download.html + + case $pkgver in + *.*.*.*)_d=${pkgver##*.};; + *.*.*) _d=0;; + esac + """ + converted = convert_sqlite_version(extract_pkgver(text)) + vers = '_ver=${_a}${_b}${_c}$_d\n' + text = text.replace( + vers, + f'{vers}' + f'_ver={converted} #fixed by scancode\n\n' + ) + return text + + +def extract_lua__pkgname(text): + """ + For example: + >>> t=''' + ... pkgname=lua-unit + ... foo=bar + ... ''' + >>> extract_lua__pkgname(t) + 'LUAUNIT' + """ + return extract_var(text, varname='pkgname').replace('-', '').upper() + + +def fix_lua_pkgname(text, *args): + """ + Fix things in ``text`` such as: + pkgname=lua-unit + _pkgname=$(echo ${pkgname/-/} | tr '[:lower:]' '[:upper:]') + """ + converted = extract_lua__pkgname(text) + _pkgname = "_pkgname=$(echo ${pkgname/-/} | tr '[:lower:]' '[:upper:]')\n" + # comment out original + return text.replace( + _pkgname, + f'#{_pkgname}' + f'_pkgname={converted} #fixed by scancode\n\n' + ) + + +def fix_liburn_prereleases(text, *args): + """ + pkgname=libburn + pkgver=1.5.4 + _ver=${pkgver%_p*} + if [ "$_ver" != "$pkgver" ]; then + _pver=".pl${pkgver##*_p}" + fi + """ + return f'_pver="" #fixed by scancode\n\n{text}' + + +def fix_cmake(text, *args): + """ + case $pkgver in + *.*.*.*) _v=v${pkgver%.*.*};; + *.*.*) _v=v${pkgver%.*};; + esac + """ + version = get_pkgver_substring(text, version_segments=2) + return f'_v=v{version} #fixed by scancode\n\n{text}' + + +def fix_kamailio(text, *args): + """ + pkgname=kamailio + pkgver=5.4.5 + pkgrel=0 + + # If building from a git snapshot, specify the gitcommit + # If building a proper release, leave gitcommit blank or commented + #_gitcommit=991fe9b28e0e201309048f3b38a135037e40357a + + [ -n "$_gitcommit" ] && pkgver="$pkgver.$(date +%Y%m%d)" + [ -n "$_gitcommit" ] && _suffix="-${_gitcommit:0:7}" + [ -n "$_gitcommit" ] && builddir="$srcdir/$pkgname-$_gitcommit" || builddir="$srcdir/$pkgname-$pkgver" + [ -z "$_gitcommit" ] && _gitcommit="$pkgver" + """ + return ( + f'_gitcommit="$pkgver" #fixed by scancode\n' + f'_suffix="" #fixed by scancode\n' + f'\n{text}' + ) + + +def fix_qt(text, *args): + """ + case $pkgver in + *_alpha*|*_beta*|*_rc*) _rel=development_releases;; + *) _rel=official_releases;; + esac + """ + pkgver = extract_pkgver(text) + if any(s in pkgver for s in ('_alpha', '_beta', '_rc')): + _rel = 'development_releases' + else: + _rel = 'official_releases' + return ( + f'_rel={_rel} #fixed by scancode\n\n' + f'\n{text}' + ) + + +def fix_parole(text, *args): + """ + pkgname=parole + pkgver=1.0.5 + pkgrel=0 + case $pkgver in + *.*.*.*) _branch=${pkgver%.*.*};; + *.*.*) _branch=${pkgver%.*};; + esac + """ + return add_version_substring_variable(text, varname='_branch', version_segments=2) + + +def fix_mpd(text, *args): + """ + pkgname=mpd + pkgver=0.22.8 + case $pkgver in + *.*.*) _branch=${pkgver%.*};; + *.*) _branch=$pkgver;; + esac + """ + return add_version_substring_variable(text, varname='_branch', version_segments=2) + + +@attr.s +class ApkBuildFixer: + """ + Represent a syntax fix: + + ``if_these_strings_are_present`` in ``text``, call ``function(text, *args)`` + that returns ``text``. + """ + if_these_strings_are_present = attr.ib(default=tuple()) + function = attr.ib(default=replace_fix) + args = attr.ib(default=tuple()) + + +def fix_apkbuild(text): + """ + Return a ``text`` applying some refinements and fixes. + + This applies a list of special cases fixes represented by ApkBuildFixer + instances. These are unfortunate hacks to cope with limitations of shell + parameter expansion that would be hard to fix OR to handle parameters that + are not available OR just because it would require executing a build + otherwise. + + """ + replacements = [ + ApkBuildFixer( + if_these_strings_are_present=('pkgname=qt',), + function=fix_qt, + ), + ApkBuildFixer( + if_these_strings_are_present=('pkgname=gcc\n',), + function=replace_fix, + args=('$_target', ''), + ), + ApkBuildFixer( + if_these_strings_are_present=('jool', 'For custom kernels set $FLAVOR.', '_flavor="$FLAVOR"',), + function=replace_fix, + args=('_flavor="$FLAVOR"', '_flavor=lts'), + ), + ApkBuildFixer( + if_these_strings_are_present=('pkgname=ufw\n',), + function=replace_fix, + args=('$(echo $pkgver|cut -c1-4)', '$pkgver'), + ), + ApkBuildFixer( + if_these_strings_are_present=('pkgname=rtpengine-$_flavor',), + function=replace_fix, + args=('# rtpengine version\n', '_flavor=lts\n'), + ), + ApkBuildFixer( + if_these_strings_are_present=('\t*.*.*.*) _v=${pkgver%.*};;', '\t*.*.*) _v=$pkgver;;'), + function=fix_libreoffice_version, + ), + ApkBuildFixer( + if_these_strings_are_present=('\t*.90*) _rel=unstable;;', '\t*) _rel=stable;;'), + function=fix_kde_version, + ), + ApkBuildFixer( + if_these_strings_are_present=('_kernver=${pkgver%.*};;', '_kernver=$pkgver;;'), + function=fix_kernver_version, + ), + ApkBuildFixer( + if_these_strings_are_present=('_kernver=${pkgver%.*};;', '_kernver=${pkgver};;'), + function=fix_kernver_version, + ), + + ApkBuildFixer( + if_these_strings_are_present=('\t*.*.*) _v=${pkgver%.*};;', '\t*.*) _v=$pkgver;;'), + function=fix_dunder_v_version, + ), + ApkBuildFixer( + if_these_strings_are_present=('_realver=${pkgver%_*}${pkgver#*_}', '_realver=$pkgver'), + function=fix_sudo_realver, + ), + ApkBuildFixer( + if_these_strings_are_present=('*.*.*.*) _v=${pkgver%.*.*};;', '*.*.*) _v=${pkgver%.*};;', '*) _v=$pkgver;;'), + function=fix_sqsh_2_segments_version, + ), + ApkBuildFixer( + if_these_strings_are_present=('pkgname=sqlite',), + function=fix_sqlite_version, + ), + ApkBuildFixer( + if_these_strings_are_present=("_pkgname=$(echo ${pkgname/-/} | tr '[:lower:]' '[:upper:]')",), + function=fix_lua_pkgname, + ), + ApkBuildFixer( + if_these_strings_are_present=('pkgname=libburn',), + function=fix_liburn_prereleases, + ), + ApkBuildFixer( + if_these_strings_are_present=('pkgname=kamailio',), + function=fix_kamailio, + ), + ApkBuildFixer( + if_these_strings_are_present=('_v=v${pkgver%.*.*};;', '_v=v${pkgver%.*};;',), + function=fix_cmake, + ), + ApkBuildFixer( + if_these_strings_are_present=('pkgname=parole',), + function=fix_parole, + ), + ApkBuildFixer( + if_these_strings_are_present=('pkgname=mpd',), + function=fix_mpd, + ), + ] + + for fixer in replacements: + if all(s in text for s in fixer.if_these_strings_are_present): + text = fixer.function(text, *fixer.args) + return text + + +def parse_apkbuild_text(text, strict=False,): + """ + Return an AlpinePackage object from an APKBUILD text context or None. Only + consider variables with a name listed in the ``names`` set. + """ + if not text: + return + + variables, errors = get_apkbuild_variables(text=text) + unresolved = [ + v for v in variables + if not v.is_resolved() + and v.name in ESSENTIAL_APKBUILD_VARIABLES + ] + + if strict and unresolved: + raise ApkbuildParseFailure( + f'Failed to parse APKBUILD: {text}\n\n' + f'variables: {variables}\n\n' + f'unresolved: {unresolved}\n\n' + f'errors: {errors}', + ) + variables = ((v.name, v.value,) for v in variables) + package = build_package(variables) + + if package and unresolved: + unresolved = [v.to_dict() for v in unresolved] + package.extra_data['apkbuild_variable_resolution_errors'] = unresolved + return package + + +def parse_pkginfo(location): + """ + Return an AlpinePackage object from aa .PKGINFO file at ``location`` or None. + .PKGINFO is a file created by abuild from package metadata in APKBUILD + and that is found at the root of a package .apk tarball. + + Each lines are in the format of "name = value" such as in:: + + # Generated by abuild 3.8.0_rc3-r2 + # using fakeroot version 1.25.3 + # Wed Jun 9 21:24:56 UTC 2021 + pkgname = a2ps + pkgver = 4.14-r9 + pkgdesc = a2ps is an Any to PostScript filter + url = https://www.gnu.org/software/a2ps/ + builddate = 1623273896 + packager = Buildozer + size = 3362816 + arch = armv7 + origin = a2ps + commit = 0a4f8e4e4d21ac8c83a85c534f6424f03a3b7a70 + maintainer = Natanael Copa + license = GPL-3.0 + depend = ghostscript + depend = imagemagick + + """ + raise NotImplementedError('TODO: implement me') def build_package(package_fields): """ - Return an AlpinePackage object from a `package_fields` list of (name, value) - tuples. The package_fields comes from the APKINDEX and installed database - files that use one-letter field names. + Return an AlpinePackage object from a `package_fields` iterable of (name, + value) tuples. The package_fields comes from the APKINDEX and installed + database files that use one-letter field names. + + Note: we do NOT use a dict for ``package_fields`` because some fields names + may occur more than once. See for details: https://wiki.alpinelinux.org/wiki/Apk_spec#Install_DB + https://wiki.alpinelinux.org/wiki/APKBUILD_Reference https://wiki.alpinelinux.org/wiki/Alpine_package_format https://git.alpinelinux.org/apk-tools/tree/src/package.c?id=82de29cf7bad3d9cbb0aeb4dbe756ad2bde73eb3#n774 """ - # mpping of actual Package field name -> value that have been converted to the expected format + package_fields = list(package_fields) + all_fields = dict(package_fields) + # mapping of actual Package field name -> value that have been converted to + # the expected normalized format converted_fields = {} for name, value in package_fields: - handler = package_short_field_handlers.get(name) + handler = package_handlers_by_field_name.get(name) if handler: - converted = handler(value, **converted_fields) + try: + converted = handler(value, all_fields=all_fields, **converted_fields) + except: + raise Exception(*list(package_fields)) + + # for extra data we update the existing + extra_data = converted.pop('extra_data', {}) or {} + if extra_data: + existing_extra_data = converted_fields.get('extra_data') + if existing_extra_data: + existing_extra_data.update(extra_data) + else: + converted_fields['extra_data'] = dict(extra_data) + converted_fields.update(converted) - # construct the package: we ignore unknown as we added a few technical fields - package = AlpinePackage.create(ignore_unknown=True, **converted_fields) - return package + return AlpinePackage.create(**converted_fields) # Note handlers MUST accept **kwargs as they also receive the current data # being processed so far as a processed_data kwarg, but most do not use it -def name_value_str_handler(name): +def build_name_value_str_handler(name): """ - Return a generic handler for plain string fields. + Return a generic handler callable function for plain string fields with the + name ``name``. """ def handler(value, **kwargs): return {name: value} - # name = name return handler +def apkbuild_version_handler(value, all_fields, **kwargs): + pkgrel = all_fields.get('pkgrel') + rel_suffix = f'-r{pkgrel}' if pkgrel else '' + return {'version': f'{value}{rel_suffix}'} + + def L_license_handler(value, **kwargs): """ Return a normalized declared license and a detected license expression. """ - declared, detected = detect_declared_license(value) + original = value + _declared, detected = detect_declared_license(value) return { - 'declared_license': declared, + 'declared_license': original, 'license_expression': detected, } @@ -286,14 +913,14 @@ def c_git_commit_handler(value, **kwargs): """ Return a git VCS URL from a package commit. """ - return {'vcs_url': 'git+http://git.alpinelinux.org/aports/commit/?id={}'.format(value)} + return {f'vcs_url': f'git+http://git.alpinelinux.org/aports/commit/?id={value}'} def A_arch_handler(value, **kwargs): """ Return a Package URL qualifier for the arch. """ - return {'qualifiers': 'arch={}'.format(value)} + return {'qualifiers': f'arch={value}'} # Note that we use a little trick for handling files. # Each handler receives a copy of the data processed so far. @@ -333,17 +960,109 @@ def Z_checksum_handler(value, current_file, **kwargs): the type of checksum: 1 means SHA1 so Q1 means based64-encoded SHA1 """ assert value.startswith('Q1'), ( - 'Unknown checksum or encoding: should start with Q1 for base64-encoded SHA1: {}'.format(value)) + f'Unknown checksum or encoding: should start with Q1 for base64-encoded SHA1: {value}') sha1 = base64.b64decode(value[2:]) sha1 = codecs.encode(sha1, 'hex').decode('utf-8').lower() current_file.sha1 = sha1 return {'current_file': current_file} +def get_checksum_entries(value): + """ + Yield tuples of (file_name, checksum) for each checksum found in + an APKBUILD checksums ``value`` variable. + + See https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#md5sums.2Fsha256sums.2Fsha512sums + + > Checksums for the files/URLs listed in source. The checksums are + > normally generated and updated by executing abuild checksum and should + > be the last item in the APKBUILD. + + The shape of this is one entry per line and two spaces separator with filenames:: + sha512sums="db2e3cf88d8d18 a52dec-0.7.4.tar.gz + db2e3cf88d8d12 automake.patch + 21d44824109ea6 fix-globals-test-x86-pie.patch + 29e7269873806e a52dec-0.7.4-build.patch" " + """ + for entry in value.strip().splitlines(False): + entry = entry.strip() + if not entry: + continue + if not ' ' in entry: + raise Exception(f'Invalid APKBUILD checksums format: {value!r}') + checksum, _, file_name = entry.partition(' ') + checksum = checksum.strip() + file_name = file_name.strip() + yield file_name, checksum + + +def checksums_handler(value, checksum_name, **kwargs): + """ + Return a Package extra data mapping as a list of checksums mappings for + checksums variable ``value`` using ``checksum_name`` as attribute name. + """ + checksums = [ + {'file_name': fn, checksum_name: val} + for fn, val in get_checksum_entries(value=value) + ] + + return {'extra_data': {'checksums': checksums}} + + +def get_source_entries(source): + """ + Yield source file tuples as (file_name, URL) where URL is None if this is a + lcoal file (i.e. for patches) given an APKBUILD ``source`` attribue string. + + See https://wiki.alpinelinux.org/wiki/APKBUILD_Reference: + The shape of this is one entry per line:: + + source="http://liba52.sourceforge.net/files/$pkgname-$pkgver.tar.gz + automake.patch + fix-globals-test-x86-pie.patch + $pkgname-$pkgver-build.patch + " + or:: + + source="lua-mqtt-publish-$pkgver.tar.gz::https://github.com/ncopa/lua-mqtt-publish/archive/v$pkgver.tar.gz" + + """ + schemes = 'https://', 'http://', 'ftp://', + for entry in source.strip().splitlines(False): + entry = entry.strip() + if not entry: + continue + + has_url = any(scheme in entry for scheme in schemes) + is_url = entry.startswith(schemes) + + if is_url: + url = entry + file_name = None + elif '::' in entry and has_url: + file_name, _, url = entry.partition('::') + file_name = file_name.strip() + url = url.strip() + else: + file_name = entry + url = None + yield file_name, url + + +def source_handler(value, **kwargs): + """ + Return a Package extra data mapping as a list of sources entry mappings. + """ + sources = [] + for fn, url in get_source_entries(value): + sources.append(dict(file_name=fn, url=url)) + return {'extra_data': {'sources': sources}} + + # mapping of: # - the package field one letter name in the installed db, # - an handler for that field -package_short_field_handlers = { +package_handlers_by_field_name = { ############################################################################ # per-package fields @@ -352,44 +1071,57 @@ def Z_checksum_handler(value, current_file, **kwargs): # name of the package # For example: P:busybox # 'pkgname' in .PKGINFO and APKBUILD - 'P': name_value_str_handler('name'), + 'P': build_name_value_str_handler('name'), + 'pkgname': build_name_value_str_handler('name'), + # TODO: add subpackages # this can be composed of two or three segments: epoch:version-release # For example: V:1.31.1-r9 # 'pkver' in .PKGINFO and APKBUILD - 'V': name_value_str_handler('version'), + 'V': build_name_value_str_handler('version'), + 'pkgver': apkbuild_version_handler, + # For example: T:Size optimized toolbox of many common UNIX utilities # 'pkgdesc' in .PKGINFO and APKBUILD - 'T': name_value_str_handler('description'), + 'T': build_name_value_str_handler('description'), + 'pkgdesc': build_name_value_str_handler('description'), # For example: U:https://busybox.net/ # 'url' in .PKGINFO and APKBUILD - 'U': name_value_str_handler('homepage_url'), + 'U': build_name_value_str_handler('homepage_url'), + 'url': build_name_value_str_handler('homepage_url'), # The license. For example: L:GPL2 # 'license' in .PKGINFO and APKBUILD 'L': L_license_handler, + 'license': L_license_handler, # For example: m:Natanael Copa # 'maintainer' in .PKGINFO and APKBUILD 'm': m_maintainer_handler, + # TODO: this is more often than a comment in the APKBUILD + 'maintainer': m_maintainer_handler, # For example: A:x86_64 # 'arch' in .PKGINFO and APKBUILD 'A': A_arch_handler, + 'arch': A_arch_handler, # Compressed package size in bytes. # For example: S:507134 # 'size' in .PKGINFO and APKBUILD 'S': S_size_handler, + 'size': S_size_handler, # a build timestamp as in second since epoch # For example: t:1573846491 # 'builddate' in .PKGINFO and APKBUILD 't': t_release_date_handler, + 'builddate': t_release_date_handler, # origin and build_time are not set for virtual packages so we can skip these # name of the source package # For example: o:apk-tools # 'origin' in .PKGINFO and APKBUILD 'o': o_source_package_handler, + 'origin': o_source_package_handler, # c is the sha1 "id" for the git commit in # https://git.alpinelinux.org/aports @@ -398,12 +1130,28 @@ def Z_checksum_handler(value, current_file, **kwargs): # For example: c:72048e01f0eef23b1300eb4c7d8eb2afb601f156 # 'commit' in .PKGINFO and APKBUILD 'c': c_git_commit_handler, + 'commit': c_git_commit_handler, # For example: D:scanelf so:libc.musl-x86_64.so.1 # For example: D:so:libc.musl-x86_64.so.1 so:libcrypto.so.1.1 so:libssl.so.1.1 so:libz.so.1 # Can occur more than once # 'depend' in .PKGINFO and APKBUILD + # TODO: add other dependencies (e.g. makedepends) 'D': D_dependencies_handler, + 'depend': D_dependencies_handler, + + # For example: source="http://liba52.sourceforge.net/files/$pkgname-$pkgver.tar.gz + # automake.patch + # fix-globals-test-x86-pie.patch" + # Should occur only once and only in APKBUILD + # we treat these as extra data for now + 'source': source_handler, + + # checksums in APKBUILD + # See https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#md5sums.2Fsha256sums.2Fsha512sums + 'sha256sums': partial(checksums_handler, checksum_name='sha256'), + 'sha512sums': partial(checksums_handler, checksum_name='sha512'), + 'md5sums': partial(checksums_handler, checksum_name='md5sums'), ############################################################################ # ignored per-package fields. from here on, these fields are not used yet @@ -414,7 +1162,8 @@ def Z_checksum_handler(value, current_file, **kwargs): # The as-installed size in bytes. For example: I:962560 # ('I', 'installed_size'), - # Checksum + # TODO: Checksum + # also in APKBUILD we have sha512sums # For example: C:Q1sVrQyQ5Ek9/clI1rkKjgINqJNu8= # like for the file checksums "Z", Q means base64 encoding adn 1 means SHA1 # The content used for this SHA1 is TBD. @@ -450,80 +1199,459 @@ def Z_checksum_handler(value, current_file, **kwargs): ############################################################################ } -############################################################################ -# FIXME: this license detection code is copied from debian_copyright.py -############################################################################ - def detect_declared_license(declared): """ - Return a tuple of (declared license, detected license expression) from a - declared license. Both can be None. + Return a tuple of (cleaned declared license, detected license expression) + strings from a ``declared`` license text. Both can be None. """ - declared = normalize_and_cleanup_declared_license(declared) - if not declared: + # cleaning first to fix syntax quirks and try to get something we can parse + cleaned = normalize_and_cleanup_declared_license(declared) + if not cleaned: return None, None - # apply multiple license detection in sequence - detected = detect_using_name_mapping(declared) - if detected: - return declared, detected + # then we apply mappings for known non-standard symbols + # the output should be a proper SPDX expression + mapped = apply_expressions_mapping(cleaned) + + # Finally perform SPDX expressions detection: Alpine uses mostly SPDX, but + # with some quirks such as some non standard symbols (in addition to the + # non-standard syntax) + extra_licenses = {} + expression_symbols = get_license_symbols(extra_licenses=extra_licenses) - # cases of using a comma are for an AND - normalized_declared = declared.replace(',', ' and ') - detected = models.compute_normalized_license(normalized_declared) - return declared, detected + detected = models.compute_normalized_license( + declared_license=mapped, + expression_symbols=expression_symbols, + ) + + return cleaned, detected + + +def get_license_symbols(extra_licenses): + """ + Return a mapping of {lowercased key: LicenseSymbolLike} where + LicenseSymbolLike wraps a License object. This is a combo of the SPDX + licenses keys and the Alpine-specific extra symbols. + """ + from licensedcode.cache import get_spdx_symbols + from licensedcode.cache import get_licenses_db + + # make a copy + symbols = dict(get_spdx_symbols()) + ref_licenses = get_licenses_db() + + for alpine_key, license_key in extra_licenses.items(): + # check that there are no dupe keys + assert alpine_key not in symbols + + lic = ref_licenses[license_key] + symbols[alpine_key] = LicenseSymbolLike(lic) + + return symbols def normalize_and_cleanup_declared_license(declared): """ Return a cleaned and normalized declared license. + + The expression should be valida SPDX but are far from this in practice. + + Several fixes are applied: + - plain text replacemnet aka. syntax fixes are plain text replacements + to make the expression parsable + - common fixes includes also nadling space-separated and comma-separated + lists of licenses """ declared = declared or '' - # there are few odd cases of license fileds starting with a colon or # - declared = declared.strip(': \t#') + # normalize spaces declared = ' '.join(declared.split()) + + declared = declared.lower() + + # performa replacements + declared = apply_syntax_fixes(declared) + + # comma-separated as in gpl-2.0+, lgpl-2.1+, zlib + if ',' in declared: + comma_separated = [lic.strip() for lic in declared.split(',')] + declared = combine_expressions(comma_separated, unique=False) + + elif ' ' in declared: + # space-separated as in apache-2.0 gpl-3.0-or-later lgpl-3.0-or-later + expression_keywords = '(', ')', ' or ', ' and ', ' with ' + lowered = declared.lower() + if not any(s in lowered for s in expression_keywords): + space_separated = declared.split() + declared = combine_expressions(space_separated, unique=False) return declared -def detect_using_name_mapping(declared): +# these are basic text replacement that make the expression parsable +EXPRESSION_SYNTAX_FIXES = { + + ' and and ': ' and ', + + '(gpl-2.0-only and lgpl-2.1-or-later) with openssl-exception': + '(gpl-2.0-only with licenseref-scancode-generic-exception ' + 'and lgpl-2.1-or-later with licenseref-scancode-generic-exception)', + + '(gpl-2.0-or-later and gpl-2.1-or-later) with openssl-exception': + '(gpl-2.0-or-later with licenseref-scancode-generic-exception ' + 'and lgpl-2.1-or-later with licenseref-scancode-generic-exception)', + + 'artistic-2.0 license': 'artistic-2.0', + 'artistic license 2.0': 'artistic-2.0', + 'perl artistic': 'artistic-1.0-perl', + + 'bsd 3-clause': 'bsd-3-clause', + 'bsd with advertising': 'bsd-4-clause', + 'and bsd-3-clause mit and': 'and bsd-3-clause and mit and', + 'bsd-3-clause(variant)': 'bsd-3-clause AND licenseref-scancode-other-permissive', + + 'public domain': 'licenseref-scancode-public-domain', + + 'with openssl exception': 'with openssl-exception', + 'osf-1990(variant)': 'licenseref-scancode-osf-1990', + 'mit/x': 'mit', + + 'gfdl-1.3-or-later gpl-2.0-or-later with font-exception-2.0': + 'gfdl-1.3-or-later and gpl-2.0-or-later with font-exception-2.0', + + 'lgpl 2.1': 'lgpl-2.1', + + 'gpl-3.0+ with exception': 'gpl-3.0+ with licenseref-scancode-generic-exception', + + 'gpl-2.0-or-later (lgpl-2.1-only or lgpl-3.0-only)': 'gpl-2.0-or-later and (lgpl-2.1-only or lgpl-3.0-only)', + + # ORTP license is now GPL-3 + 'lgpl-2.0-or-later vsl': 'gpl-3.0 or licenseref-scancode-commercial-license', + + # hunspell dictionaries + 'lgpl-2.0-or-later scowl': + 'lgpl-2.0-or-later and licenseref-scancode-other-permissive and ' + 'licenseref-scancode-mit-old-style and licenseref-scancode-public-domain', + + 'mit and (lgpl-2.1-only or lgpl-3.0-only': + 'mit and (lgpl-2.1-only or lgpl-3.0-only)', + + 'gpl-2.0-or-later fipl': 'gpl-2.0-or-later and freeimage', + + 'apache-2.0 and mit ofl-1.1 gpl-3.0-or-later gpl-3.0-with-gcc-exception cc-by-sa-3.0 lgpl-3.0': + 'apache-2.0 and mit and ofl-1.1 and gpl-3.0-or-later and gpl-3.0-with-gcc-exception and cc-by-sa-3.0 and lgpl-3.0', + + 'custom:xiph lgpl gpl fdl': 'bsd-3-clause AND gpl-2.0-or-later AND gpl-3.0-or-later AND lgpl-2.1-or-later AND gfdl-1.1-or-later', + + 'asl 2.0': 'apache-2.0', + 'Apache 2.0': 'apache-2.0', + +} + + +def apply_syntax_fixes(s): """ - Return a license expression detected from a `declared` license string. + Fix the expression string s by aplying replacement for various quirks. """ - declared = declared.lower() - detected = get_declared_to_detected().get(declared) - if detected: - licensing = Licensing() - return str(licensing.parse(detected, simple=True)) + for src, tgt in EXPRESSION_SYNTAX_FIXES.items(): + s = s.replace(src, tgt) + return s + +# These are parsed expression objects replacement that make the expression SPDX compliant + + +# {alpine sub-expression: SPDX subexpression} +DECLARED_TO_SPDX = { + 'openssl-exception': 'licenseref-scancode-generic-exception', + 'agpl': 'agpl-3.0-or-later', + + # this is a typo in gingerbase + 'agpl-2.1': 'lgpl-2.1 and apache-2.0 and licenseref-scancode-free-unknown', + + 'gpl-3.0-or-later-with-openssl-exception': 'gpl-3.0-or-later with licenseref-scancode-generic-exception', + 'apache': 'apache-2.0', + + 'bsd': 'bsd-3-clause', + 'bsd2': 'bsd-2-clause', + 'bsd-0': '0bsd', + 'bsd-2-clauase': 'bsd-2-clause', + + 'closed': 'licenseref-scancode-proprietary-license', + 'proprietary': 'licenseref-scancode-proprietary-license', + 'propietary': 'licenseref-scancode-proprietary-license', + 'unifi-eula': 'licenseref-scancode-proprietary-license', + 'other': 'licenseref-scancode-proprietary-license', + + 'psf': 'psf-2.0', + 'psfl': 'psf-2.0', + + 'fdl': 'gfdl-1.1-or-later', + + 'artistic-perl-1.0': 'artistic-1.0-perl', + 'artistic': 'artistic-1.0-perl', + 'artistic-perl': 'artistic-1.0-perl', + 'artisitc-1.0-perl': 'artistic-1.0-perl', + 'perlartistic': 'artistic-1.0-perl', + 'perl': 'gpl-1.0-or-later or artistic-1.0-perl', + + 'artistic-2': 'artistic-2.0', + + 'gpl': 'gpl-1.0-or-later', + 'gpl+': 'gpl-1.0-or-later', + 'lgpl': 'lgpl-2.0-or-later', + 'lgpl+': 'lgpl-2.0-or-later', + 'gpl2+': 'gpl-2.0-or-later', + 'gpl-2.0-or-later-with-sane-exception': 'gpl-2.0-or-later with licenseref-scancode-generic-exception', + 'gpl-3-or-later': 'gpl-3.0-or-later', + 'lgp-2.1-only': 'lgpl-2.1-only', + + 'lpgl-2.0-or-later': 'lgpl-2.0-or-later', + 'pd or mit': 'licenseref-scancode-public-domain or mit', + 'public-domain': 'licenseref-scancode-public-domain', + 'unrestricted': 'licenseref-scancode-other-permissive', -_DECLARED_TO_DETECTED = None + 'open_source': 'licenseref-scancode-free-unknown', + 'as-is': 'licenseref-scancode-free-unknown', + 'elementtree': 'licenseref-scancode-secret-labs-2011 and bsd-3-clause', -def get_declared_to_detected(data_file=None): + 'cddl': 'cddl-1.1', + + 'cc': 'cc-by-3.0 and licenseref-scancode-free-unknown', + 'cc-3.0': 'cc-by-sa-3.0', + 'cc-by-sa': 'cc-by-sa-3.0', + 'cc-3.0-by-sa': 'cc-by-sa-3.0', + 'cc-samplingplus-1.0': 'licenseref-scancode-cc-sampling-plus-1.0', + 'cc-sampling-plus-1.0': 'licenseref-scancode-cc-sampling-plus-1.0', + 'cc0': 'cc0-1.0', + + 'classpath': 'classpath-exception-2.0', + 'fipl': 'licenseref-scancode-freeimage-1.0', + + 'zpl': 'zpl-2.0', + 'wxwidgets': 'licenseref-scancode-wxwidgets', + 'uoi-ncsa': 'ncsa', + 'php': 'php-3.01', + 'pgpool-ii': 'ntp', + + 'ofl': 'ofl-1.1', + + 'exception': 'licenseref-scancode-generic-exception', + 'exceptions': 'licenseref-scancode-generic-exception', + + 'mpl': 'mpl-1.1', + 'lppl-1.3': 'lppl-1.3c', + 'lsof': 'licenseref-scancode-purdue-bsd', + + 'mit and ucd': 'mit and licenseref-scancode-other-permissive', + + 'lgpl-2.0-or-later-with-linking-exception': 'lgpl-2.0-or-later with licenseref-scancode-generic-exception', + + 'lgpl-2.1-with-linking-exception': 'lgpl-2.1-only with licenseref-scancode-generic-exception', + 'lgpl-2.1-only-with-linking-exception': 'lgpl-2.1-only with licenseref-scancode-generic-exception', + 'lgpl-2.1-or-later-with-linking-exception': 'lgpl-2.1-or-later with licenseref-scancode-generic-exception', + 'lgpl-2.1-or-later-with-linking-exception-and-mit': 'lgpl-2.1-or-later with licenseref-scancode-generic-exception and mit', + + 'lgpl-2.1-or-later with ocaml-linking-exception': 'lgpl-2.1-or-later with ocaml-lgpl-linking-exception', + 'lgpl-2.1-or-later-with-ocaml-lgpl-linking-exception': 'lgpl-2.1-or-later with licenseref-scancode-generic-exception', + 'lgpl-2.1-or-later with custom-static-linking-exception': 'lgpl-2.1-or-later with licenseref-scancode-generic-exception', + + 'lgpl-3.0-or-later with exceptions': 'lgpl-3.0-or-later with licenseref-scancode-generic-exception', + 'ttyp0': 'licenseref-scancode-ttyp0 and mit', + + # gopt license at https://www.purposeful.co.uk/tfl/ + 'tfl': 'licenseref-scancode-public-domain-disclaimer', + + # misc custom licenses + 'custom': 'licenseref-scancode-unknown-license-reference', + 'custom:altermime': + 'licenseref-scancode-other-copyleft and licenseref-scancode-unknown-license-reference', + 'custom:bell': 'x11', + + 'custom:boost': 'licenseref-scancode-unknown-license-reference', + 'custom:bsd': 'licenseref-scancode-unknown-license-reference', + 'custom:chromiumos': 'licenseref-scancode-unknown-license-reference', + 'custom:etpan': 'licenseref-scancode-unknown-license-reference', + + # seen only in gc + 'custom:gpl-like': 'licenseref-scancode-mozilla-gc', + + 'custom:multiple': 'licenseref-scancode-unknown-license-reference', + + # this is a bit more than just hpnd + 'custom:pil': 'licenseref-scancode-secret-labs-2011', + 'custom:postcardware': 'licenseref-scancode-unknown-license-reference', + 'custom:sip': 'licenseref-scancode-unknown-license-reference', + 'custom:tu-berlin-2.0': 'licenseref-scancode-unknown-license-reference', + + 'custom:xfree86': 'mit and x11 and hpnd-sell-variant and hpnd and mit-open-group and licenseref-scancode-other-permissive', + + 'custom:xiph': 'bsd-3-clause', + # seen in ttf-libertine + 'gpl and custom:ofl': '(gpl-2.0 with font-exception-2.0) or ofl-1.1', + + 'none': 'licenseref-scancode-unknown', + # this is sometimes a IJG jpeg license and sometime an unknown/mitish license + # as in https://github.com/tdtrask/lua-subprocess + 'as-is': 'licenseref-scancode-unknown-license-reference', + + # all recent versions are now MIT. + # the happy license is otherwise licenseref-scancode-visual-idiot + 'happy': 'mit', + + # "with" mishaps + 'gpl-2.0 with classpath': 'gpl-2.0 with classpath-exception-2.0', + 'gpl-2.0-only with openssl-exception': 'gpl-2.0-only with licenseref-scancode-openssl-exception-gpl-2.0', + 'gpl-2.0-or-later with openssl-exception': 'gpl-2.0-or-later with licenseref-scancode-openssl-exception-gpl-2.0-plus', + + 'gpl-3.0-only with openssl-exception': 'gpl-3.0-only with licenseref-scancode-openssl-exception-gpl-3.0-plus', + 'gpl-3.0-or-later with openssl-exception': 'gpl-3.0-or-later with licenseref-scancode-openssl-exception-gpl-3.0-plus', + 'agpl-3.0-or-later with openssl-exception': 'agpl-3.0-or-later with licenseref-scancode-openssl-exception-agpl-3.0-plus', + 'custom:tu-berlin-2.0': 'tu-berlin-2.0', + + 'weird-motorola-license': 'licenseref-scancode-motorola', +} + +DECLARED_TO_SPDX_SUBS = None + + +def apply_expressions_mapping(expression): + """ + Return a new license expression string from an ``expression`` string + replacing subexpressions using the DECLARED_TO_SPDX_SUBS expression + subsitution table. """ - Return a mapping of declared to detected license expression cached and - loaded from a tab-separated text file, all lowercase, normalized for spaces. + licensing = Licensing() - This data file is from license keys used in APKINDEX files and has been - derived from a large collection of most APKINDEX files released by Alpine - since circa Alpine 2.5. + global DECLARED_TO_SPDX_SUBS + if not DECLARED_TO_SPDX_SUBS: + DECLARED_TO_SPDX_SUBS = { + licensing.parse(src, simple=True): licensing.parse(tgt, simple=True) + for src, tgt in DECLARED_TO_SPDX.items() + } + + try: + expression = licensing.parse(expression, simple=True) + except: + raise Exception(expression) + return str(expression.subs(DECLARED_TO_SPDX_SUBS)) + + +def apkbuild_options_handler(value, **kwargs): + """ + ``options`` is the "Build-time options for the package.". This option is + useful: + !spdx Do not check if the license= field has a SPDX compliant license. """ - global _DECLARED_TO_DETECTED - if _DECLARED_TO_DETECTED: - return _DECLARED_TO_DETECTED + # TODO: implement me! + + +################################################# +if __name__ == '__main__': + import sys + + def get_apkindex_licenses(locin, locout): + from collections import defaultdict + from commoncode.fileutils import resource_iter + + def collect_licenses_from_index(location): + """ + Return packages_by_licenses with all licenses from apkindex found in the location tree + """ + packages_by_licenses = defaultdict(list) + for apkindex_loc in resource_iter(location, with_dirs=False): + if not apkindex_loc.endswith('APKINDEX'): + continue + """ + >>> a='/home/pombreda/tmp/alpine-indexes/apkindex-archive-master/alpine/v3.12/community/aarch64/APKINDEX' + >>> '-'.join(a.split('/')[-4:]) + 'v3.12-community-aarch64-APKINDEX' + >>> '-'.join(a.split('/')[-4:-1]) + 'v3.12-community-aarch64' + """ + apkidx_id = '-'.join(apkindex_loc.split('/')[-4:-1]) + print(f'Processing: {apkindex_loc}') + for package in parse_alpine_installed_db(apkindex_loc): + if not package: + continue + purl = package.purl + declared = ' '.join(package.declared_license.lower().split()) + packages_by_licenses[declared].append((apkidx_id, purl,)) + return packages_by_licenses + + with open(locout, 'w') as output: + line = '\t'.join(['declared_license', 'purl', 'distro', 'unique']) + '\n' + output.write(line) + for declared, packages in sorted(collect_licenses_from_index(locin).items()): + if len(packages) == 1: + unique = 'yes' + else: + unique = 'no' + pidx, purl = packages[0] + line = '\t'.join([declared, purl, pidx, unique]) + '\n' + output.write(line) + + def get_apkbuild_licenses(locin, locout): + from collections import defaultdict + from commoncode.fileutils import resource_iter + + def collect_licenses_from_apkbuilds(location): + """ + Return packages_by_licenses with all licenses from apkbuild found in + the location tree + """ + packages_by_licenses = defaultdict(list) + for apkbuild_loc in resource_iter(location, with_dirs=False): + """ + >>> a='/home/pombreda/tmp/alpine-indexes/apkindex-archive-master/alpine/v3.12/community/aarch64/APKINDEX' + >>> '-'.join(a.split('/')[-4:]) + 'v3.12-community-aarch64-APKINDEX' + >>> '-'.join(a.split('/')[-4:-1]) + 'v3.12-community-aarch64' + """ + apkidx_id = '-'.join(apkbuild_loc.split('/')[-4:-1]) + print(f'Processing: {apkbuild_loc}') + package = parse_apkbuild(apkbuild_loc) + if not package: + continue + purl = package.purl + declic = ' '.join(package.declared_license.split()) + packages_by_licenses[declic].append((apkidx_id, purl,)) + return packages_by_licenses + + with open(locout, 'w') as output: + line = '\t'.join(['declared', 'purl', 'distro', 'unique']) + '\n' + output.write(line) + for declared, packages in sorted(collect_licenses_from_apkbuilds(locin).items()): + if len(packages) == 1: + unique = 'yes' + else: + unique = 'no' + pidx, purl = packages[0] + line = '\t'.join([declared, purl, pidx, unique]) + '\n' + output.write(line) + + def detect_licenses(locin, locout): + """ + Run alpine license detection on the declared license found in the + ``locin`` csv. Write results to ``locout`` csv. + """ + with open(locin) as lines, open(locout, 'w') as output: + line = '\t'.join(['declared', 'detected', 'purl', 'distro', 'unique']) + '\n' + output.write(line) + for i, line in enumerate(lines): + line = line.strip() + if not i or not line: + continue + print('processing:', line) + declared, purl, distro, unique = line.split('\t') + _normalized, detected = detect_declared_license(declared) + line = '\t'.join([declared, detected, purl, distro, unique]) + '\n' + output.write(line) + + loc = sys.argv[1] + # get_apkindex_licenses(loc, 'alpine-licenses.csv') + get_apkbuild_licenses(loc, 'alpine-licenses.csv') + detect_licenses('alpine-licenses.csv', 'alpine-licenses-detection.csv') - _DECLARED_TO_DETECTED = {} - if not data_file: - data_file = path.join(path.dirname(__file__), 'alpine_licenses.txt') - with io.open(data_file, encoding='utf-8') as df: - for line in df: - line = line.strip() - if not line or line.startswith('#'): - continue - decl, _, detect = line.partition('\t') - if detect and detect.strip(): - decl = decl.strip() - _DECLARED_TO_DETECTED[decl] = detect - return _DECLARED_TO_DETECTED diff --git a/src/packagedcode/alpine_licenses.txt b/src/packagedcode/alpine_licenses.txt deleted file mode 100644 index f7e3f0a789d..00000000000 --- a/src/packagedcode/alpine_licenses.txt +++ /dev/null @@ -1,884 +0,0 @@ -# these are using SPDX keys -################################################################################ -agpl-3.0 -agpl-3.0+ -agpl-3.0-only -agpl-3.0-or-later -agpl-3.0-or-later or bsd-3-clause -apache-2.0 -afl-2.1 or gpl-2.0+ -afl-2.1 or gpl-2.0-or-later -apache-2.0 and bsd-2-clause -apache-2.0 and bsd-2-clause and gpl-2.0-only -apache-2.0 and bsd-3-clause -apache-2.0 and lgpl-2.1-only -apache-2.0 and lgpl-2.1-or-later -apache-2.0 and mit -apache-2.0 or bsd-3-clause -apache-2.0 or gpl-3.0-only -apache-2.0 or mit -artistic-1.0-cl8 -artistic-1.0-perl -artistic-1.0-perl and gpl-1.0-or-later -artistic-1.0-perl gpl-1.0-or-later -artistic-1.0-perl or gpl-1.0-or-later -artistic-1.0-perl or gpl-2.0-or-later -apsl-2.0 -bsd-2-clause -bsd-2-clause and apache-2.0 and mpl-2.0 -bsd-2-clause and bsd-3-clause -bsd-2-clause and (bsd-3-clause and isc and bsd-2-clause-netbsd) -bsd-2-clause and bsd-3-clause and isc and gpl-2.0-only and gpl-2.0-or-later and gpl-3.0-only and gpl-3.0-or-later -bsd-2-clause and gpl-2.0-or-later -bsd-2-clause and gpl-3.0-or-later and python-2.0 -bsd-2-clause and isc -bsd-2-clause and lgpl-2.0-or-later -bsd-2-clause and lgpl-2.0-or-later and gfdl-1.2-only -bsd-2-clause and mit -bsd-2-clause and mit and x11 -bsd-2-clause-netbsd -bsd-2-clause-patent -bsd-2-clause or gpl-2.0-or-later -bsd-3-clause -bsd-3-clause and apache-2.0 -bsd-3-clause and bsd-4-clause and python-2.0 and zpl-2.1 -bsd-3-clause and bsl-1.0 and ( artistic-1.0 or gpl-2.0-or-later ) and ncsa and mit -bsd-3-clause and gpl-2.0-only -bsd-3-clause and gpl-2.0-or-later -bsd-3-clause and lgpl-2.1-only -bsd-3-clause and mit -bsd-3-clause-attribution -bsd-3-clause-clear -bsd-3-clause-no-nuclear-license-2014 -bsd-3-clause or apache-2.0 -bsd-3-clause or gpl-1.0-or-later -bsd-3-clause or gpl-2.0-only -bsd-3-clause or gpl-2.0-or-later -bsd-3-clause or lgpl-2.1-only -bsd-4-clause -bsd-4-clause and bsd-3-clause-clear -bsd-4-clause and isc -bzip2-1.0.6 -cc0-1.0 -cc0-1.0 or apache-2.0 -cc-by-3.0 -cc-by-4.0 -cc-by-nc-3.0 -cc-by-nc-sa-3.0 -cc-by-sa-2.5 -cc-by-sa-3.0 -cc-by-sa-3.0 and gpl-2.0-or-later and gpl-2.0-only and cc-by-3.0 -cc-by-sa-3.0 and lgpl-2.1-or-later -cc-by-sa-4.0 -cc-by-sa-4.0 or gpl-3.0-or-later -cddl-1.0 -cddl-1.0 or lgpl-2.1-only -cecill-2.0 -cnri-python -cpl-1.0 -cpl-1.0 and epl-1.0 -bsl-1.0 -efl-2.0 -epl-1.0 -epl-2.0 -epl-2.0 or gpl-2.0-or-later or lgpl-2.1-or-later and ruby -eupl-1.2 -gfdl-1.1 -gfdl-1.3-or-later gpl-2.0-or-later with font-exception-2.0 -gpl-1.0-only -gpl-1.0-or-later -gpl-1.0-or-later and lgpl-2.0-or-later -gpl-1.0-or-later or artistic-1.0-perl -gpl-2.0 -gpl-2.0 -gpl-2.0+ -gpl-2.0 and gpl-2.0-or-later and gpl-3.0 and mit -gpl-2.0 and gpl-2.0-or-later and lgpl-2.0 and mit -gpl-2.0 and lgpl-2.1-only or lgpl-3.0-only -gpl-2.0-only -gpl-2.0-only and bsd-3-clause -gpl-2.0-only and bsd-3-clause and mit -gpl-2.0-only and gfdl-1.2-only -gpl-2.0-only and gpl-2.0-or-later and lgpl-2.0-or-later -gpl-2.0-only and gpl-3.0-only -gpl-2.0-only and lgpl-2.0-or-later -gpl-2.0-only and lgpl-2.1-only -gpl-2.0-only and lgpl-2.1-only and 0bsd and bsd-3-clause and gpl-3.0-only and lgpl-3.0-only -gpl-2.0-only and lgpl-2.1-only and unicode-dfs-2016 -gpl-2.0-only and lgpl-2.1-or-later -gpl-2.0-only and lgpl-2.1-or-later and unicode-dfs-2016 -gpl-2.0-only and mit and bsd-2-clause -gpl-2.0-only and zlib -artistic-2.0 - - - -apache-2.0 and lgpl-2.0-or-later and licenseref-kde-accepted-gpl - - -# these are mapped -################################################################################ -0bsd bsd-zero -1.1 unknown -2.0 unknown -2.1 unknown -advertising unknown -agpl agpl-3.0-plus -agpl-2.1 agpl-3.0-plus and unknown -agpl3 agpl-3.0 -agpl3+ agpl-3.0-plus -agplv3 agpl-3.0 -apache apache-2.0 -apache2 apache-2.0 -apache-2 apache-2.0 -apache 2.0 apache-2.0 -apache_2_0 apache-2.0 -apache2.0 apache-2.0 -apache-2.0 bsd apache-2.0 and bsd-new -apache-2.0 bsd-3-clause apache-2.0 and bsd-new -apache-2.0 and mit ofl-1.1 gpl-3.0-or-later gpl-3.0-with-gcc-exception cc-by-sa-3.0 lgpl-3.0 apache-2.0 and mit and ofl-1.1 and gpl-3.0-plus and gpl-3.0 with gcc-exception-3.1 and cc-by-sa-3.0 and lgpl-3.0 -apache-2.0 bsd-1-clause bsd-2-clause bsd-3-clause cc0-1.0 lgpl-2.1-or-later apache-2.0 and bsd-1-clause and bsd-simplified and bsd-new and cc0-1.0 and lgpl-2.1-plus -apache-2.0 bsd-1-clause bsd-2-clause bsd-3-clause cc0 lgpl-2.1-or-later apache-2.0 and bsd-1-clause and bsd-simplified and bsd-new and cc0-1.0 and lgpl-2.1-plus -apache-2.0 bsd isc mit apache-2.0 and bsd and isc and mit and other-permissive -apache-2.0 cc0-1.0 apache-2.0 and cc0-1.0 -artistic-perl-1.0 or gpl-1.0-or-later artistic-perl-1.0 or gpl-1.0-plus -artistic-perl or gpl-1.0-or-later artistic-perl-1.0 or gpl-1.0-plus -apache-2.0 mit unlicense apache-2.0 and mit and unlicense -artistic artistic-1.0 -artistic_1 artistic-1.0 -artistic-1.0 artistic-1.0 -artistic-1.0 gpl+ artistic-1.0 or gpl-1.0-plus -artistic-1.0 gpl-1.0-only artistic-1.0 or gpl-1.0 -artistic-perl-1.0 gpl+ artistic-perl-1.0 or gpl-1.0-plus - - -# these are to be mapped -################################################################################ -apache-2.0 bsd isc mit ofl-1.1 gpl-3.0-or-later gpl-3.0-with-gcc-exception cc-by-sa-3.0 lgpl-3.0 -apache-2.0 custom -apache-2.0 gpl-2.0-or-later lgpl-2.1-or-later -apache-2.0 gpl-3.0-or-later lgpl-3.0-or-later -apache-2.0 lgpl-2.1 -apache-2.0 mit -apache-2.0 psf -apache bsd -apache lgpl-2.1 -artistic-2 -artistic 2.0 -artistic gpl -artistic gpl2 -artistic gpl-2 -artistic gpl-2.0 -artistic license 2.0 -as is -as-is -asl -asl2 -asl 2.0 -asl-2.0 -asl-2.0 bsd -asl-2.0 bsd isc mit -asl-2.0 custom -asl-2.0 lgpl-2.1 -asl 2.0 psf -boost -bsd -bsd -bsd-0 -bsd2 -bsd-2 -bsd-2-clauase and lgpl-2.0-or-later and gfdl-1.2 -bsd-2-clause and bsd-3-clause and public-domain -bsd-2-clause bsd-3-clause -bsd-2-clause bsd-3-clause apache-2.0 -bsd-2-clause bsd-3-clause gpl-2.0 -bsd-2-clause bsd-3-clause gpl-2.0-or-later -bsd-2-clause custom -bsd-2-clause gpl-2.0-only -bsd-2-clause gpl-2.0-or-later -bsd-2-clause isc -bsd-2-clause mit -bsd-2-clause unlicense -bsd3 -bsd-3 -bsd-3-clause and zpl-2.0 and elementtree -bsd-3-clause bsd-3-clause-lbnl -bsd-3-clause bsd-4-clause lgpl-2.1-or-later -bsd-3-clause, gpl-2.0+ -bsd-3-clause gpl-2.0-or-later -bsd-3-clause ijg zlib -bsd-3-clause isc -bsd-3-clause lgpl-2.1-or-later -bsd-3-clause sendmail -bsd-3-clause(variant) -bsd-3-license -bsd and lgpl-2.0-or-later -bsd and lgpl-2.0-or-later and gpl-2.0-or-later and public-domain -bsd and (lgpl-2.0 with exceptions or gpl-3.0 with exceptions) and gfdl -bsd and lgplv2+ -bsd and lgplv2+ and gplv2+ and public domain -bsd and (lgplv2 with exceptions or gplv3 with exceptions) and gfdl -bsd and mit -bsd/cmu -bsd custom -bsd gpl -bsd/gpl -bsd gpl2 -bsd gpl2+ -bsd gpl-2.0 -bsd gpl-2.0-or-later -bsd / gplv2 -bsd isc -bsd mit -bsd with advertising -bsd zpl -bzip2 -cc -cc0 1.0 -cc-3.0 -cc-by-sa -ccby-sa3.0 -cc-by-sa-3.0 lgpl-2.1-or-later -ccpl-attribution-sharealike-2.5 -ccpl-nc-sa-3.0 -cc-samplingplus-1.0 -cddl -cddl-1.0 lgpl-2.1-only -cddl lgpl custom -clartistic -classpath -cmake -cpl -custom -custom:altermime -custom:bell -custom:boost -custom:bsd -custom:bsd-3 -custom bsd-3-clause -custom:chromiumos -custom:etpan -custom:gpl -custom gpl2 -custom gpl-2.0 -custom:gpl/bsd -custom:gpl-like -custom:icu -custom isc -custom:isc -custom:jasper2.0 -custom:libtom -custom:multiple -custom:ofl -custom:pil -custom:postcardware -custom:sip -custom:tu-berlin-2.0 -custom:xfree86 -custom:xiph lgpl gpl fdl -custom:xmlrpc-c -custom:zlib -des -domain -eclipse 1.0 -egenix isc -epl -epl gpl-2.0 lgpl-2.1 custom -epl gpl-2 lgpl-2.1 custom -exceptions -fdl -fping -ftl gpl-2.0-or-later -gfdl -glpl2.1 -gnu -gnu gpl v2 -gpl -gpl+ -gpl-1.0-only artistic-1.0-perl -gpl-1.0-or-later artistic-1.0-perl -gpl-1.0-or-later perlartistic -gpl2 -gpl-2 -gpl-2+ -gpl+2 -gpl2 -gpl2+ -gpl2.0 -gpl-2.0 and cc-by-sa and mit -gpl-2.0+, bsd-3-clause -gpl-2.0 and artistic -gpl-2.0 custom -gpl-2.0 gpl-2.0-or-later lgpl-2.0-or-later -gpl-2.0 gpl-2.0-or-later lgpl-2.0-or-later bsd public-domain -gpl-2.0 gpl-3.0 -gpl-2.0 gpl-3.0-or-later lgpl-2.0 bsd -gpl-2.0 gpl-3 lgpl-2.1 -gpl-2.0 lgpl-2 -gpl-2.0 lgpl-2.0 -gpl-2.0 lgpl-2.1 -gpl-2.0 lgpl-2.1+ -gpl-2.0+, lgpl-2.1+ -gpl-2.0+, lgpl-2.1+, zlib -gpl-2.0 mit bsd -gpl-2.0 mpl-2.0 lgpl-2.1 -gpl-2.0-only bsd-3-clause intel-acpi -gpl-2.0-only,gpl-2.0-or-later,gpl-3.0-only -gpl-2.0-only lgpl-2.0-only -gpl-2.0-only lgpl-2.1-only -gpl-2.0-only, lgpl-2.1-only - -############# CONTINUE HERE ################# -gpl-2.0-only or artistic-1.0-perl -gpl-2.0-only or bsd-2-clause -gpl-2.0-only or bsd-3-clause or intel-acpi -gpl-2.0-only or gpl-3.0-only -(gpl-2.0-only or gpl-3.0-only) and gfdl-1.2-only -(gpl-2.0-only or gpl-3.0-only) and gpl-2.0-or-later and gpl-2.0-only and lgpl-2.1-only -(gpl-2.0-only or gpl-3.0-only) and lgpl-2.0-or-later -(gpl-2.0-only or gpl-3.0-only) and (lgpl-2.1-only and lgpl-3.0-only) -(gpl-2.0-only or gpl-3.0-only) and (lgpl-2.1-only or lgpl-3.0-only) -(gpl-2.0-only or gpl-3.0-only) and lgpl-2.1-or-later -(gpl-2.0-only or gpl-3.0-only) and lgpl-2.1-or-later and gpl-2.0-or-later and mit and lgpl-2.1-only and lgpl-2.0-or-later and (lgpl-2.1-only or lgpl-3.0-only) and lgpl-2.0-only -gpl-2.0-only with gcc-exception-2.0 -gpl-2.0-only-with-gcc-exception-2.0 -gpl-2.0-only with openssl-exception -gpl-2.0 or artistic -gpl-2.0 or artistic-1.0-perl -gpl-2.0 or cc-by-sa -(gpl-2.0 or gpl-3.0) and mit and bsd -gpl-2.0-or-later -gpl-2.0-or-later and bsd-3-clause and mit -gpl-2.0-or-later and cc-by-2.0 and cc-by-sa-2.0 and cc-by-sa-3.0 -gpl-2.0-or-later and cc-by-4.0 -gpl-2.0-or-later and cc-by-sa-3.0 -gpl-2.0-or-later and gfdl-1.1-or-later -gpl-2.0-or-later and gfdl-1.2-only -gpl-2.0-or-later and gfdl-1.2-only and licenseref-kde-accepted-lgpl -gpl-2.0-or-later and gfdl-1.3-only -gpl-2.0-or-later and gpl-1.0-or-later -gpl-2.0-or-later and (gpl-2.0-only or gpl-3.0-only) -gpl-2.0-or-later and (gpl-2.0-only or gpl-3.0-only) and lgpl-2.1-only -gpl-2.0-or-later and (gpl-2.0-only or gpl-3.0-only) and (lgpl-2.1-only or lgpl-3.0-only) -gpl-2.0-or-later and (gpl-2.0-only or gpl-3.0-only) and lgpl-2.1-or-later and gpl-2.0-only -gpl-2.0-or-later and gpl-3.0-or-later -gpl-2.0-or-later and lgpl-2.0-only -gpl-2.0-or-later and lgpl-2.0-only and gfdl-1.2-only -gpl-2.0-or-later and lgpl-2.0-or-later -gpl-2.0-or-later and lgpl-2.0-or-later and bsd-3-clause and mit -gpl-2.0-or-later and lgpl-2.0-or-later and gfdl-1.2-only -gpl-2.0-or-later and lgpl-2.0-or-later and (lgpl-2.1-only or lgpl-3.0-only) -gpl-2.0-or-later and lgpl-2.1-only -gpl-2.0-or-later and (lgpl-2.1-only or lgpl-3.0-only) and gfdl-1.2-only -gpl-2.0-or-later and lgpl-2.1-or-later -gpl-2.0-or-later and lgpl-2.1-or-later and gpl-3.0-or-later -gpl-2.0-or-later and lgpl-2.1-or-later and (lgpl-2.1-only or lgpl-3.0-only) -gpl-2.0-or-later and lgpl-2.1-or-later and mit -gpl-2.0-or-later and lgpl-2.1-or-later and mpl-1.1 -gpl-2.0-or-later and mit -gpl-2.0-or-later and osl-2.1 -gpl-2.0-or-later and public domain -gpl-2.0-or-later and public-domain -gpl-2.0-or-later and public-domain and lgpl-2.1-or-later -gpl-2.0-or-later apache-2.0 -gpl-2.0-or-later artistic-2.0 -gpl-2.0-or-later bsd -gpl-2.0-or-later bsd-2-clause -gpl-2.0-or-later bsd-3-clause -gpl-2.0-or-later cc-by-2.0 cc-by-sa-2.0 cc-by-sa-3.0 -gpl-2.0-or-later cc-by-sa-3.0 -gpl-2.0-or-later fipl -gpl-2.0-or-later gpl-2.0-or-later-with-sane-exception public-domain -gpl-2.0-or-later gpl-3.0-or-later 0bsd mit -gpl-2.0-or-later gpl-3.0-or-later lgpl-3.0-or-later -gpl-2.0-or-later gsoap-1.3b -gpl-2.0-or-later lgpl-2.0 bsd-3-clause mit -gpl-2.0-or-later lgpl-2.0-only -gpl-2.0-or-later lgpl-2.0-or-later -gpl-2.0-or-later, lgpl-2.0-or-later -gpl-2.0-or-later lgpl-2.0-or-later mpl-1.1 -gpl-2.0-or-later lgpl-2.1-only -gpl-2.0-or-later (lgpl-2.1-only or lgpl-3.0-only) -gpl-2.0-or-later lgpl-2.1-or-later -gpl-2.0-or-later lgpl-2.1-or-later mit -gpl-2.0-or-later lgpl-3.0-or-later -gpl-2.0-or-later mit -gpl-2.0-or-later mit public-domain -gpl-2.0-or-later ofl-1.1 bsd-2-clause bsd-3-clause ecos-2.0 ibm-pibs -gpl-2.0-or-later or apache-2.0 -gpl-2.0-or-later or artistic-1.0-perl -(gpl-2.0-or-later or artistic-1.0-perl) and gpl-2.0-or-later and zlib -gpl-2.0-or-later or cc-by-sa-3.0 -gpl-2.0-or-later or gpl-1.0-or-later or artistic-1.0-perl -gpl-2.0-or-later or gpl-3.0-or-later -gpl-2.0-or-later or lgpl-2.0-or-later -gpl-2.0-or-later or lgpl-2.1-or-later -gpl-2.0-or-later public-domain -gpl-2.0-or-later with openssl exception -gpl-2.0-or-later with openssl-exception -gpl-2.0+ or lgpl-3.0+ -gpl-2.0 public-domain -gpl-2.0 rsa-md5 rsa-pkcs11 des -gpl-2.0 with classpath -gpl-2.0-with-classpath-exception -gpl-2.0+ with font-exception-2.0, gpl-2.0+, gfdl-1.3+ -gpl-2.0 with gcc-exception-2.0 -gpl-2.1 -gpl2.1 -gpl23 -gpl2 and artistic -gpl2+ asl 2.0 -gpl2 bsd -gpl2+ bsd -gpl2 gpl2+ lgpl2+ bsd public domain -gpl2/gpl3 -gpl-2 gpl-3 lgpl-2.1 -gpl2 gpl3+ lgpl2 bsd -gpl-2 gsoap -gpl-2 lgpl-2 -gpl2 lgpl2 -gpl2 lgpl-2 -gpl2 lgpl2+ -gpl2+ lgpl2+ -gpl2 lgpl2.1 -gpl2, lgpl2.1 -gpl2+ lgpl2+ mpl 1.1 -gpl2 mit bsd -gpl2+ mit public domain -gpl2 mpl2 lgpl2.1 -gpl-2-or-later -gpl2 public-domain -gpl-2 rsa-md5 rsa-pkcs11 des -gpl2 rsa-md5 rsa-pkcs11 des -gpl-2 with classpath -gpl2 with classpath -gpl2+ with openssl exception -gpl3 -gpl_3 -gpl-3 -gpl3+ -gpl-3.0 -gpl-3.0+ -gpl-3.0+ and lgpl-2.1+ and mit -gpl-3.0 bsd -gpl-3.0 bsd-3-clause cc0-1.0 lgpl-2.0-only lgpl-2.1-only lgpl-3.0-or-later nokia-qt-exception-1.1 mit bsl-1.0 -gpl-3.0 lgpl -gpl-3.0 lgpl-2.1 -gpl-3.0 lgpl-3.0 -gpl-3.0-only -gpl-3.0-only and lgpl-2.1-only and lgpl-3.0-only and mpl-2.0 -gpl-3.0-only and qt-gpl-exception-1.0 -gpl-3.0-only mit -gpl-3.0-only or lgpl-2.1-only -gpl-3.0-only with qt-gpl-exception-1.0 -gpl-3.0-or-later -gpl-3.0-or-later and bsd-3-clause -gpl-3.0-or-later and cc-by-sa-3.0 -gpl-3.0-or-later and gfdl-1.2-only -gpl-3.0-or-later and gpl-2.0-or-later -gpl-3.0-or-later and gpl-2.0-or-later and gpl-2.0-only and -gpl-3.0-or-later and (gpl-2.0-or-later or lgpl-3.0-or-later) -gpl-3.0-or-later and lgpl-2.1-or-later -gpl-3.0-or-later and lgpl-2.1-or-later and lgpl-3.0-or-later -gpl-3.0-or-later and lgpl-2.1-or-later and mit -gpl-3.0-or-later and lgpl-2.1-or-later and mpl-2.0 -gpl-3.0-or-later and lgpl-3.0-or-later -gpl-3.0-or-later bsd -gpl-3.0-or-later cc0-1.0 -gpl-3.0-or-later cc-3.0-by-sa -gpl-3.0-or-later custom -gpl-3.0-or-later gfdl-1.3-only -gpl-3.0-or-later isc mit -gpl-3.0-or-later lgpl-3.0-or-later -gpl-3.0-or-later openssl -gpl-3.0-or-later or mit -gpl-3.0-or-later with openssl -gpl-3.0-or-later-with-openssl-exception and gpl-3.0-or-later and mit and and apache-2.0 and cc-by-sa-4.0 and cc-by-sa-3.0 -gpl-3.0-or-later with openssl exception, gpl-3.0-or-later, mit, cc-by-sa-4.0 -gpl-3.0+ with exception -gpl3 bsd -gpl3+ bsd -gpl3 lgpl -gpl3 lgpl2.1 -gpl3 lgpl3 -gpl+ and gpl-2.0-or-later and lgpl-2.0-or-later -gpl+ and gplv2+ and lgplv2+ -gpl apache -gpl bsd -gpl custom -gpl custom:ofl -gpl fdl -gpl lgpl -gpl/lgpl -gpl lgpl2+ -gpl lgpl-2.0-or-later -gpl lgpl custom -gpl lgpl mit -gpl/lgpl/mit -gpl lgpl mpl -gpl mit lgpl -gpl or artistic -gpl+ or artistic -gpl or artistic 2 -gpl or artistic-2.0 -gpl perlartistic -gplv2 -gpl v2 -gplv2+ -gplv2+) -gpl-v2.0-or-later -gplv2 and gplv2+ and gplv3 and mit -gplv2 and gplv2+ and lgplv2 and mit -gplv2+ and lgplv2+ -gplv2+ bsd -gplv2 gplv2+ lgplv2+ -gplv2+ lgplv2+ -gplv2 or artistic -gplv2 or cc-by-sa -(gplv2 or gplv3) and mit and bsd -gpl v2 or later -gplv2+ with exceptions -gplv3 -gplv3+ -gplv3+ and (gplv2+ or lgplv3+) -gplv3 lgpl3 -gplv3 lgpl-3 -gpl zlib mit unlicense bsd apache-2.0 cddl cc0 custom -happy -(http://www.inmon.com/technology/sflowlicense.txt) -icu -ijg -ijg and bsd-3-clause and gpl-2.0-only -imagemagick -imlib2 -info-zip -ipa -ipl-1 -ipl-1.0 -ipl-1.0 epl-2.0 -is -isc -isc and bsd-2-clause and bsd-3-clause -isc bsd -jasper-2.0 -json -later -lgp-2.1-only -lgpl -lgpl+ -lgpl2 -lgpl-2 -lgpl2+ -lgpl-2.0 -lgpl-2.0+ -lgpl-2.0 and mpl-1.1 -lgpl-2.0 gpl-2.0 -lgpl-2.0+, gpl-2.0+, mit -lgpl-2.0 gpl-2.0 mpl-1.1 -lgpl-2.0-only -lgpl-2.0-only and gfdl-1.2-only -lgpl-2.0-only and gpl-2.0-or-later -lgpl-2.0-only and lgpl-2.0-or-later -lgpl-2.0-only and lgpl-2.1-or-later -lgpl-2.0-only gpl-2.0-only -lgpl-2.0-only or lgpl-3.0-only -(lgpl-2.0-only or lgpl-3.0-only) and gpl-2.0-or-later -lgpl-2.0-only or lgpl-3.0-only and gpl-2.0-or-later -lgpl-2.0-only with fltk-exception -lgpl-2.0-or-later -lgpl-2.0-or-later and bsd-2-clause -lgpl-2.0-or-later and bsd-3-clause -lgpl-2.0-or-later and (gpl-2.0-only or gpl-3.0-only) and gfdl-1.2-only -lgpl-2.0-or-later and gpl-2.0-or-later -lgpl-2.0-or-later and gpl-2.0-or-later and mit -lgpl-2.0-or-later and gpl-2.0-or-later or bsd -lgpl-2.0-or-later and gpl-2.0-or-later or bsd-3-clause -lgpl-2.0-or-later and lgpl-2.0-only and lgpl-2.1-or-later -lgpl-2.0-or-later and (lgpl-2.0-only or lgpl-3.0-only) -lgpl-2.0-or-later and (lgpl-2.1-only or lgpl-3.0-only) -lgpl-2.0-or-later and (lgpl-2.1-only or lgpl-3.0-or-later) -lgpl-2.0-or-later and lgpl-2.1-or-later -lgpl-2.0-or-later and mpl-1.1 -lgpl-2.0-or-later bsd -lgpl-2.0-or-later bsd-2-clause -lgpl-2.0-or-later mit -lgpl-2.0-or-later mpl-1.1 -lgpl-2.0-or-later or apache-2.0 -(lgpl-2.0-or-later or gpl-3.0-only or gpl-2.0-or-later) and qt-gpl-exception-1.0 -(lgpl-2.0-or-later or gpl-3.0-only or gpl-2.0-or-later) and qt-gpl-exception-1.0 and gfdl-1.3-or-later -lgpl-2.0-or-later scowl -lgpl-2.0-or-later vsl -lgpl-2.0-or-later-with-linking-exception -lgpl-2.0 with exceptions or gpl-3.0 with exceptions -lgpl-2.0 with exceptions or gpl-3.0 with exceptions and gfdl -lgpl 2.1 -lgpl_2_1 -lgpl-2.1 -lgpl-2.1+ -lgpl2.1 -lgpl2.1+ -lgpl-2.1+ and gpl-2.0+ -lgpl-2.1 bsd-2 -lgpl2.1 bsd-2 -lgpl-2.1+, bsd-2-clause-freebsd, gpl-3.0+ -lgpl-2.1 cc-by-sa-3.0 -lgpl2.1 ccby-sa3.0 -lgpl-2.1+, gpl-2.0+ -lgpl-2.1-only -lgpl-2.1-only and apache-2.0 -lgpl-2.1-only and gpl-2.0-only -lgpl-2.1-only and lgpl-2.0-or-later and gpl-2.0-only and gpl-3.0-only and cc-by-sa-1.0 and bsl-1.0 and gpl-2.0-or-later with autoconf-exception-2.0 and bsd-3-clause and mit and custom -lgpl-2.1-only and lgpl-2.0-or-later and gpl-2.0-only and gpl-3.0-only and cc-by-sa-1.0 and bsl-1.0 and gpl-2.0 with autoconf-exception-2.0 and bsd-3-clause and mit and custom -lgpl-2.1-only and (lgpl-2.1-only or lgpl-3.0-only) -lgpl-2.1-only and lgpl-2.1-or-later -lgpl-2.1-only and lgpl-2.1-or-later and (lgpl-2.1-only or lgpl-3.0-only) -lgpl-2.1-only and lgpl-3.0-only and (gpl-2.0-only or gpl-3.0-only) and agpl-3.0-only -lgpl-2.1-only and lgpl-3.0-only and gpl-3.0-only and qt-gpl-exception-1.0 -lgpl-2.1-only or lgpl-3.0-only -lgpl-2.1-only or lgpl-3.0-only and gpl-2.0-only -(lgpl-2.1-only or lgpl-3.0-only) and (gpl-2.0-only or gpl-3.0-only) and gfdl-1.2-only -(lgpl-2.1-only or lgpl-3.0-only) and lgpl-2.0-or-later -(lgpl-2.1-only or lgpl-3.0-only) and lgpl-2.1-only and ((lgpl-2.1-only with nokia-qt-exception-1.1) or (gpl-3.0-only with nokia-qt-exception-1.1)) -lgpl-2.1-only or mpl-1.1 -lgpl-2.1-only or mpl-2.0 -lgpl-2.1-only-with-linking-exception -lgpl-2.1-or-later -lgpl-2.1.-or-later -lgpl-2.1-or-later and bsd-3-clause -lgpl-2.1-or-later and bsd-3-clause and mit -lgpl-2.1-or-later and cc-by-3.0 and bsd-2-clause -lgpl-2.1-or-later and cc-by-sa-3.0 -lgpl-2.1-or-later and gpl-2.0-only -lgpl-2.1-or-later and (gpl-2.0-only or gpl-3.0-only) -lgpl-2.1-or-later and gpl-2.0-or-later -lgpl-2.1-or-later and gpl-2.0-or-later and (gpl-2.0-only or gpl-3.0-only) -lgpl-2.1-or-later and gpl-3.0-or-later -lgpl-2.1-or-later and lgpl-2.1-only -lgpl-2.1-or-later and (lgpl-2.1-only or lgpl-3.0-only) -lgpl-2.1-or-later and mit -lgpl-2.1-or-later and mit and lgpl-2.1-only and lgpl-2.0-only and (lgpl-2.1-only or lgpl-3.0-only) and (lgpl-2.0-only or lgpl-3.0-only) -lgpl-2.1-or-later and mpl-1.1 -lgpl-2.1-or-later apache-2.0 -lgpl-2.1-or-later bsd-2-clause -lgpl-2.1-or-later gpl-2.0-or-later -lgpl-2.1-or-later gpl-2.0-or-later cc-by-sa-2.5 -lgpl-2.1-or-later gpl-3.0-or-later -lgpl-2.1-or-later or bsd-2-clause -lgpl-2.1-or-later or mpl-1.1 -lgpl-2.1-or-later or mpl-2.0 or gpl-2.0-or-later -lgpl-2.1-or-later with custom-static-linking-exception -lgpl-2.1-or-later-with-linking-exception -lgpl-2.1-or-later-with-linking-exception-and-mit -lgpl-2.1-or-later-with-ocaml-lgpl-linking-exception -lgpl-2.1-or-later with ocaml-linking-exception -lgpl-2.1+ or mpl-2.0+ or gpl-2.0+ -lgpl2+ bsd -lgpl2 gpl2 -lgpl2, gpl2 -lgpl2+ mpl 1.1 -lgpl2+ mpl-1.1 -lgpl2+ mpl1.1 -lgpl2+ scowl -lgpl3 -lgpl-3 -lgpl3+ -lgpl-3.0 -lgpl-3.0+, gpl-3.0+ -lgpl-3.0 mpl -lgpl-3.0-only -lgpl-3.0-only and gpl-2.0-only and gpl-3.0-only and qt-gpl-exception-1.0 -lgpl-3.0-only and (gpl-2.0-only or gpl-3.0-only) -lgpl-3.0-only or cc-by-sa-3.0 -lgpl-3.0-or-later -lgpl-3.0-or-later and bsd-3-clause -lgpl-3.0-or-later apache-2.0 -lgpl-3.0-or-later bsd -lgpl-3.0-or-later gpl-3.0-or-later apache-2.0 -lgpl-3.0-or-later mit -lgpl-3.0-or-later or apache-2.0 -lgpl-3.0-or-later or cc-by-sa -lgpl-3.0-or-later or cc-by-sa-3.0 -lgpl-3.0-or-later or gpl-2.0-or-later or (lgpl-3.0-or-later and gpl-2.0-or-later) -(lgpl-3.0-or-later or gpl-3.0-only or gpl-2.0-or-later) and qt-gpl-exception-1.0 -lgpl-3.0-or-later with exceptions -lgpl3+ bsd -lgpl gpl -lgpl mpl -lgplv2 -lgplv2+ -lgplv2.1 -lgplv2+ and gplv2+ or bsd -lgplv2 and mplv1.1 -lgplv2 gplv2 mplv1.1 -lgplv2+ mit -lgplv2+ or asl 2.0 -lgplv2+ or mit -lgplv2+ vsl -lgplv2 with exceptions or gplv3 with exceptions -lgplv2 with exceptions or gplv3 with exceptions and gfdl -lgplv3 -lgplv3+ -lgplv3 mpl -(lgplv3+ or bsd) and (lgplv3+ or bsd or cc-by-sa) -lgplv3+ or cc-by-sa -lgplv3+ or gplv2+ or (lgplv3+ and gplv2+) -lgplv3+ with exceptions -libpng -libtiff -licenseref-kde-accepted-gpl -licenseref-kde-accepted-gpl and gfdl-1.2-only -lpgl-2.0-or-later -lpl-1.02 -lppl-1.0 lppl-1.1 lppl-1.2 lppl-1.3a lppl-1.3c gpl-2.0-only -lppl-1.3 -lppl-1.3c and gpl-2.0-only with font-exception-2.0 -lsof -miros -mit -mit and apache-2.0 -mit and apache-2.0 and bsd -mit and asl 2.0 and bsd -mit and bsd-2-clause and bsd-3-clause and bsd-4-clause and apache-2.0 and cdla-permissive-1.0 -mit and bsd-2-clause and isc and lgpl-2.1-or-later -mit and bsd and isc -mit and gpl-2.0-only -mit and gpl-3.0-or-later -mit and isc -mit and lgpl-2.0-or-later -mit and (lgpl-2.1-only or lgpl-3.0-only -mit and ofl-1.1 -mit and x11 -mit apache-2.0 -mit asl-2.0 -mit bsd -mit bsd-3-clause -mit bsd gpl2+ -mit bsd isc -mit bsd public-domain -mit custom -mit-enna -mit-feh -mit gpl-2.0-only -mit gpl-3.0-only -mit icu unicode-tou -mit lgpl-2.0-or-later -mit lgplv2+ -mit mpl-2.0 -mit or apache-2.0 -mit or lgpl-2.0-or-later or bsd -mit or lgplv2+ or bsd -mit or public-domain -mit public-domain -mit sgi-b-2.0 bsl-1.0 -mit ucd -mit/x -mit x11 -mit/x11 -mpl -mpl 1.1 -mpl-1.1 -mpl1.1 -mpl1.1+ -mpl-1.1 gpl-2.0 lgpl-2.1 -mpl-1.1 gpl-2.0-only lgpl-2.1-only -mpl-1.1 gpl-2.0-or-later lgpl-2.0-or-later -mpl-1.1 gpl-2 lgpl-2.1 -mpl-1.1 gpl2 lgpl-2.1 -mpl1.1+ gplv2+ lgplv2+ -mpl2 -mpl 2.0 -mpl-2.0 -mpl2.0 -mpl 2.0 gpl2+ -mpl-2.0 gpl-2.0-or-later -mpl-2.0 lgpl-2.1+ -mpl-2.0 lgpl-2.1-or-later -mpl gpl -mplv1.1 -mplv2 -ms-pl -ncsa -nginx -ngpl -nlpl -none -ofl -ofl-1.1 -ofl-1.1 and apache-2.0 -oldap-2.8 -oml -open_source -openssl -osf-1990(variant) -other -perl -perlartistic -perl artistic -perl artistic gpl -perl artistic, gpl -perlartistic gpl -pgpool-ii -php -php 3 -php-3 -php-3.0 -php-3.01 -php-3.01 bsd-3-clause lgpl-2.0-or-later mit zend-2.0 -php-3.01 bsd lgpl-2.0-or-later mit zend-2.0 -php-3.0 bsd lgpl-2.0 mit zend -php-3 bsd lgpl2 mit zend -postgresql -psf -psf-2.0 -publicdomain -public domain -public-domain -public domain and mit -public-domain and mit -public-domain bsd -python -python-2.0 -python2.1.1 -qpl-1.0/gplv2 -ruby -ruby bsd-2-clause -ruby or perl artistic or gplv2+ -ruby psfl -sendmail -sgi-b-1.1 and sgi-b-2.0 -sixxs -smail -spencer-94 -tcl -tfl -t:htm:quoted perl module -t:htm:quoted perl module (documentation) -t:htm:scrubber perl module -t:htm:scrubber perl module (documentation) -t:psgi handler for htm:mason -t:psgi handler for htm:mason (documentation) -two-clause bsd -t:xm:libxml based xm:simple clone -t:xm:libxml based xm:simple clone (documentation) -unicode-dfs-2015 -unicode-dfs-2016 and lgpl-2.0-or-later -unknown -unlicense -unrestricted -uoi-ncsa -v2 -various -vim -vsl -w3c -wtfpl -wtfpl-2.0 -wxwidgets -x11 -x11 and lgpl-2.1-or-later -zlib -zlib gpl-2.0-or-later lgpl-2.1-or-later -zpl -zpl2+ -zpl 2.1 -zpl-2.1 diff --git a/src/packagedcode/bashlex.py b/src/packagedcode/bashlex.py new file mode 100644 index 00000000000..49d66b5ed0b --- /dev/null +++ b/src/packagedcode/bashlex.py @@ -0,0 +1,66 @@ +""" +Minimal lexer for POSIX and Bash shells. +Derived from pygments.lexers.shell and significantly modified +copyright: Copyright 2006-2021 by the Pygments team, see bashlex.py.AUTHORS. +SPDX-License-Identifier: BSD-2-Clause +""" + +from pygments.lexer import ( + RegexLexer, + bygroups, + include +) + +from pygments.token import ( + Token, + Text, + Comment, + Operator, + Name, + String, +) + +# White spaces +WS = Text.WS # NOQA +# new lines +LF = WS.LF + +ArrayStart = Token.ArraySep.Start +ArrayEnd = Token.ArraySep.End +Equal = Operator.Equal # NOQA + + +class BashShellLexer(RegexLexer): + """ + A Pygments shell lexer to lex shell scripts used as package build scripts + and package manifests such as autotools, ebuild, PKGBUILD or APKBUILD. + This used as an input to further parse and extract metadata. + """ + + name = 'Shell' + aliases = ['shell'] + # for info, as this is not used here otherwise + filenames = ['*.ebuild', 'PKGBUILD', 'APKBUILD', ] + mimetypes = [] + + tokens = { + 'root': [ + include('basic'), + include('data'), + ], + 'basic': [ + (r'#.*$', Comment), + # variable declaration and assignment + (r'^(\b\w+)(\+?=)', bygroups(Name.Variable, Equal)), + ], + 'data': [ + (r'\(', ArrayStart), + (r'\)', ArrayEnd), + # (?s) is re.DOTALL e.g. across lines + (r'(?s)"(\\.|[^"])*"', String.Double), + (r"(?s)'(\\.|[^'])*'", String.Single), + (r'\n+', LF), + (r'\s+', WS), + (r'\S+', Text), + ], + } diff --git a/src/packagedcode/bashlex.py.ABOUT b/src/packagedcode/bashlex.py.ABOUT new file mode 100644 index 00000000000..450b8367b4f --- /dev/null +++ b/src/packagedcode/bashlex.py.ABOUT @@ -0,0 +1,12 @@ +about_resource: bashlex.py +attribute: yes +copyright: Copyright (c) the Pygments team +description: This is an enhanced Bash lexer derived from Pygments lexers +download_url: https://files.pythonhosted.org/packages/ba/6e/7a7c13c21d8a4a7f82ccbfe257a045890d4dbf18c023f985f565f97393e3/Pygments-2.9.0.tar.gz +homepage_url: http://pygments.org/ +license_expression: bsd-simplified +name: bashlex.py +notice_file: bashlex.py.NOTICE +package_url: pkg:generic/bashlex.py +primary_language: Python +notes: this is a derived and heavily modified Pygments bash lexer diff --git a/src/packagedcode/bashlex.py.AUTHORS b/src/packagedcode/bashlex.py.AUTHORS new file mode 100644 index 00000000000..e8df18588fb --- /dev/null +++ b/src/packagedcode/bashlex.py.AUTHORS @@ -0,0 +1,246 @@ +Pygments is written and maintained by Georg Brandl . + +Major developers are Tim Hatch and Armin Ronacher +. + +Other contributors, listed alphabetically, are: + +* Sam Aaron -- Ioke lexer +* Ali Afshar -- image formatter +* Thomas Aglassinger -- Easytrieve, JCL, Rexx, Transact-SQL and VBScript + lexers +* Muthiah Annamalai -- Ezhil lexer +* Kumar Appaiah -- Debian control lexer +* Andreas Amann -- AppleScript lexer +* Timothy Armstrong -- Dart lexer fixes +* Jeffrey Arnold -- R/S, Rd, BUGS, Jags, and Stan lexers +* Jeremy Ashkenas -- CoffeeScript lexer +* José Joaquín Atria -- Praat lexer +* Stefan Matthias Aust -- Smalltalk lexer +* Lucas Bajolet -- Nit lexer +* Ben Bangert -- Mako lexers +* Max Battcher -- Darcs patch lexer +* Thomas Baruchel -- APL lexer +* Tim Baumann -- (Literate) Agda lexer +* Paul Baumgart, 280 North, Inc. -- Objective-J lexer +* Michael Bayer -- Myghty lexers +* Thomas Beale -- Archetype lexers +* John Benediktsson -- Factor lexer +* Trevor Bergeron -- mIRC formatter +* Vincent Bernat -- LessCSS lexer +* Christopher Bertels -- Fancy lexer +* Sébastien Bigaret -- QVT Operational lexer +* Jarrett Billingsley -- MiniD lexer +* Adam Blinkinsop -- Haskell, Redcode lexers +* Stéphane Blondon -- SGF and Sieve lexers +* Frits van Bommel -- assembler lexers +* Pierre Bourdon -- bugfixes +* Martijn Braam -- Kernel log lexer, BARE lexer +* Matthias Bussonnier -- ANSI style handling for terminal-256 formatter +* chebee7i -- Python traceback lexer improvements +* Hiram Chirino -- Scaml and Jade lexers +* Mauricio Caceres -- SAS and Stata lexers. +* Ian Cooper -- VGL lexer +* David Corbett -- Inform, Jasmin, JSGF, Snowball, and TADS 3 lexers +* Leaf Corcoran -- MoonScript lexer +* Christopher Creutzig -- MuPAD lexer +* Daniël W. Crompton -- Pike lexer +* Pete Curry -- bugfixes +* Bryan Davis -- EBNF lexer +* Bruno Deferrari -- Shen lexer +* Giedrius Dubinskas -- HTML formatter improvements +* Owen Durni -- Haxe lexer +* Alexander Dutton, Oxford University Computing Services -- SPARQL lexer +* James Edwards -- Terraform lexer +* Nick Efford -- Python 3 lexer +* Sven Efftinge -- Xtend lexer +* Artem Egorkine -- terminal256 formatter +* Matthew Fernandez -- CAmkES lexer +* Paweł Fertyk -- GDScript lexer, HTML formatter improvements +* Michael Ficarra -- CPSA lexer +* James H. Fisher -- PostScript lexer +* William S. Fulton -- SWIG lexer +* Carlos Galdino -- Elixir and Elixir Console lexers +* Michael Galloy -- IDL lexer +* Naveen Garg -- Autohotkey lexer +* Simon Garnotel -- FreeFem++ lexer +* Laurent Gautier -- R/S lexer +* Alex Gaynor -- PyPy log lexer +* Richard Gerkin -- Igor Pro lexer +* Alain Gilbert -- TypeScript lexer +* Alex Gilding -- BlitzBasic lexer +* GitHub, Inc -- DASM16, Augeas, TOML, and Slash lexers +* Bertrand Goetzmann -- Groovy lexer +* Krzysiek Goj -- Scala lexer +* Rostyslav Golda -- FloScript lexer +* Andrey Golovizin -- BibTeX lexers +* Matt Good -- Genshi, Cheetah lexers +* Michał Górny -- vim modeline support +* Alex Gosse -- TrafficScript lexer +* Patrick Gotthardt -- PHP namespaces support +* Hubert Gruniaux -- C and C++ lexer improvements +* Olivier Guibe -- Asymptote lexer +* Phil Hagelberg -- Fennel lexer +* Florian Hahn -- Boogie lexer +* Martin Harriman -- SNOBOL lexer +* Matthew Harrison -- SVG formatter +* Steven Hazel -- Tcl lexer +* Dan Michael Heggø -- Turtle lexer +* Aslak Hellesøy -- Gherkin lexer +* Greg Hendershott -- Racket lexer +* Justin Hendrick -- ParaSail lexer +* Jordi Gutiérrez Hermoso -- Octave lexer +* David Hess, Fish Software, Inc. -- Objective-J lexer +* Ken Hilton -- Typographic Number Theory and Arrow lexers +* Varun Hiremath -- Debian control lexer +* Rob Hoelz -- Perl 6 lexer +* Doug Hogan -- Mscgen lexer +* Ben Hollis -- Mason lexer +* Max Horn -- GAP lexer +* Fred Hornsey -- OMG IDL Lexer +* Alastair Houghton -- Lexer inheritance facility +* Tim Howard -- BlitzMax lexer +* Dustin Howett -- Logos lexer +* Ivan Inozemtsev -- Fantom lexer +* Hiroaki Itoh -- Shell console rewrite, Lexers for PowerShell session, + MSDOS session, BC, WDiff +* Brian R. Jackson -- Tea lexer +* Christian Jann -- ShellSession lexer +* Dennis Kaarsemaker -- sources.list lexer +* Dmitri Kabak -- Inferno Limbo lexer +* Igor Kalnitsky -- vhdl lexer +* Colin Kennedy - USD lexer +* Alexander Kit -- MaskJS lexer +* Pekka Klärck -- Robot Framework lexer +* Gerwin Klein -- Isabelle lexer +* Eric Knibbe -- Lasso lexer +* Stepan Koltsov -- Clay lexer +* Adam Koprowski -- Opa lexer +* Benjamin Kowarsch -- Modula-2 lexer +* Domen Kožar -- Nix lexer +* Oleh Krekel -- Emacs Lisp lexer +* Alexander Kriegisch -- Kconfig and AspectJ lexers +* Marek Kubica -- Scheme lexer +* Jochen Kupperschmidt -- Markdown processor +* Gerd Kurzbach -- Modelica lexer +* Jon Larimer, Google Inc. -- Smali lexer +* Olov Lassus -- Dart lexer +* Matt Layman -- TAP lexer +* Kristian Lyngstøl -- Varnish lexers +* Sylvestre Ledru -- Scilab lexer +* Chee Sing Lee -- Flatline lexer +* Mark Lee -- Vala lexer +* Valentin Lorentz -- C++ lexer improvements +* Ben Mabey -- Gherkin lexer +* Angus MacArthur -- QML lexer +* Louis Mandel -- X10 lexer +* Louis Marchand -- Eiffel lexer +* Simone Margaritelli -- Hybris lexer +* Kirk McDonald -- D lexer +* Gordon McGregor -- SystemVerilog lexer +* Stephen McKamey -- Duel/JBST lexer +* Brian McKenna -- F# lexer +* Charles McLaughlin -- Puppet lexer +* Kurt McKee -- Tera Term macro lexer, PostgreSQL updates, MySQL overhaul +* Lukas Meuser -- BBCode formatter, Lua lexer +* Cat Miller -- Pig lexer +* Paul Miller -- LiveScript lexer +* Hong Minhee -- HTTP lexer +* Michael Mior -- Awk lexer +* Bruce Mitchener -- Dylan lexer rewrite +* Reuben Morais -- SourcePawn lexer +* Jon Morton -- Rust lexer +* Paulo Moura -- Logtalk lexer +* Mher Movsisyan -- DTD lexer +* Dejan Muhamedagic -- Crmsh lexer +* Ana Nelson -- Ragel, ANTLR, R console lexers +* Kurt Neufeld -- Markdown lexer +* Nam T. Nguyen -- Monokai style +* Jesper Noehr -- HTML formatter "anchorlinenos" +* Mike Nolta -- Julia lexer +* Avery Nortonsmith -- Pointless lexer +* Jonas Obrist -- BBCode lexer +* Edward O'Callaghan -- Cryptol lexer +* David Oliva -- Rebol lexer +* Pat Pannuto -- nesC lexer +* Jon Parise -- Protocol buffers and Thrift lexers +* Benjamin Peterson -- Test suite refactoring +* Ronny Pfannschmidt -- BBCode lexer +* Dominik Picheta -- Nimrod lexer +* Andrew Pinkham -- RTF Formatter Refactoring +* Clément Prévost -- UrbiScript lexer +* Tanner Prynn -- cmdline -x option and loading lexers from files +* Oleh Prypin -- Crystal lexer (based on Ruby lexer) +* Xidorn Quan -- Web IDL lexer +* Elias Rabel -- Fortran fixed form lexer +* raichoo -- Idris lexer +* Daniel Ramirez -- GDScript lexer +* Kashif Rasul -- CUDA lexer +* Nathan Reed -- HLSL lexer +* Justin Reidy -- MXML lexer +* Norman Richards -- JSON lexer +* Corey Richardson -- Rust lexer updates +* Lubomir Rintel -- GoodData MAQL and CL lexers +* Andre Roberge -- Tango style +* Georg Rollinger -- HSAIL lexer +* Michiel Roos -- TypoScript lexer +* Konrad Rudolph -- LaTeX formatter enhancements +* Mario Ruggier -- Evoque lexers +* Miikka Salminen -- Lovelace style, Hexdump lexer, lexer enhancements +* Stou Sandalski -- NumPy, FORTRAN, tcsh and XSLT lexers +* Matteo Sasso -- Common Lisp lexer +* Joe Schafer -- Ada lexer +* Max Schillinger -- TiddlyWiki5 lexer +* Ken Schutte -- Matlab lexers +* René Schwaiger -- Rainbow Dash style +* Sebastian Schweizer -- Whiley lexer +* Tassilo Schweyer -- Io, MOOCode lexers +* Pablo Seminario -- PromQL lexer +* Ted Shaw -- AutoIt lexer +* Joerg Sieker -- ABAP lexer +* Robert Simmons -- Standard ML lexer +* Kirill Simonov -- YAML lexer +* Corbin Simpson -- Monte lexer +* Alexander Smishlajev -- Visual FoxPro lexer +* Steve Spigarelli -- XQuery lexer +* Jerome St-Louis -- eC lexer +* Camil Staps -- Clean and NuSMV lexers; Solarized style +* James Strachan -- Kotlin lexer +* Tom Stuart -- Treetop lexer +* Colin Sullivan -- SuperCollider lexer +* Ben Swift -- Extempore lexer +* tatt61880 -- Kuin lexer +* Edoardo Tenani -- Arduino lexer +* Tiberius Teng -- default style overhaul +* Jeremy Thurgood -- Erlang, Squid config lexers +* Brian Tiffin -- OpenCOBOL lexer +* Bob Tolbert -- Hy lexer +* Matthias Trute -- Forth lexer +* Erick Tryzelaar -- Felix lexer +* Alexander Udalov -- Kotlin lexer improvements +* Thomas Van Doren -- Chapel lexer +* Daniele Varrazzo -- PostgreSQL lexers +* Abe Voelker -- OpenEdge ABL lexer +* Pepijn de Vos -- HTML formatter CTags support +* Matthias Vallentin -- Bro lexer +* Benoît Vinot -- AMPL lexer +* Linh Vu Hong -- RSL lexer +* Nathan Weizenbaum -- Haml and Sass lexers +* Nathan Whetsell -- Csound lexers +* Dietmar Winkler -- Modelica lexer +* Nils Winter -- Smalltalk lexer +* Davy Wybiral -- Clojure lexer +* Whitney Young -- ObjectiveC lexer +* Diego Zamboni -- CFengine3 lexer +* Enrique Zamudio -- Ceylon lexer +* Alex Zimin -- Nemerle lexer +* Rob Zimmerman -- Kal lexer +* Vincent Zurczak -- Roboconf lexer +* Hubert Gruniaux -- C and C++ lexer improvements +* Thomas Symalla -- AMDGPU Lexer +* 15b3 -- Image Formatter improvements +* Fabian Neumann -- CDDL lexer +* Thomas Duboucher -- CDDL lexer +* Philipp Imhof -- Pango Markup formatter + +Many thanks for all contributions! diff --git a/src/packagedcode/bashlex.py.NOTICE b/src/packagedcode/bashlex.py.NOTICE new file mode 100644 index 00000000000..c187c70f0b5 --- /dev/null +++ b/src/packagedcode/bashlex.py.NOTICE @@ -0,0 +1,25 @@ +Copyright (c) 2006-2021 by the respective authors (see bashlex.py.AUTHORS file). +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/src/packagedcode/bashparse.py b/src/packagedcode/bashparse.py new file mode 100644 index 00000000000..ec794044db7 --- /dev/null +++ b/src/packagedcode/bashparse.py @@ -0,0 +1,413 @@ +# +# Copyright (c) nexB Inc. and others. All rights reserved. +# ScanCode is a trademark of nexB Inc. +# SPDX-License-Identifier: Apache-2.0 +# See http://www.apache.org/licenses/LICENSE-2.0 for the license text. +# See https://github.com/nexB/scancode-toolkit for support or download. +# See https://aboutcode.org for more information about nexB OSS projects. +# + +import os + +import attr +from parameter_expansion import pe +from pygmars import parse +from pygmars import Token +from pygmars import tree + +from packagedcode.bashlex import BashShellLexer + +""" +Extract and resolve variable from a Bash or shell script. +""" + +# Tracing flags +TRACE = False or os.environ.get('SCANCODE_DEBUG_BASHPARSE', False) +if TRACE: + TRACE = int(TRACE) + +VALIDATE = False or os.environ.get('SCANCODE_DEBUG_BASHPARSE_VALIDATE', False) + + +# Tracing flags +def logger_debug(*args): + pass + + +if TRACE: + import logging + import sys + + logger = logging.getLogger(__name__) + logging.basicConfig(stream=sys.stdout) + logger.setLevel(logging.DEBUG) + + def logger_debug(*args): + logger.debug(' '.join(isinstance(a, str) and a or repr(a) for a in args)) + +# +# A simple and minimal pygmars grammar to collect bash/shell variables. +variables_grammar = ( + + 'SHELL-ARRAY: ' + '' + '+' + '' + ' # An array' + '\n' + + # This collects variables like: pkgname="gcc compiler" or pkgname=gcc . + # With the TEXT-WS-LF (newline) (not captured) at the start we ensure we get + # only things that start on a new line, e.g. that should be top level + # variable declaration rather than inside a function. + 'SHELL-VARIABLE: ' + '(?:|^)' + '' + '' + '' + ' # A Shell variable' + + '\n' + + 'EMPTY-SHELL-VARIABLE: ' + '(?:|^)' + '' + '' + '(?:?|$)' + ' # Am empty Shell variable' + +) + + +def collect_shell_variables(location, resolve=False, needed_variables=None): + """ + Return a tuple of (``shell variables``, ``errors``) from collecting top- + level variables defined in bash script at ``location``. + + ``shell variables`` is a mapping of {name: value} + ``errors`` a list of error message strings. + + Optionally ``resolve`` the variables with emulated shell parameter + expansion. If the set ``needed_variables`` is provided, only return + variables with a named present in this set and only report errors for + variables with a name listed in this set. + """ + with open(location) as inp: + text = inp.read() + + return collect_shell_variables_from_text_as_dict( + text=text, + resolve=resolve, + needed_variables=needed_variables, + ) + +# +# Convenience functions on parse tree labels + + +def is_shell_variable(node): + return node.label.startswith('SHELL-VARIABLE') + + +def is_empty_shell_variable(node): + return node.label.startswith('EMPTY-SHELL-VARIABLE') + + +def is_array(node): + return node.label.startswith('SHELL-ARRAY') + + +def is_array_sep(node): + return node.label.startswith('ARRAYSEP') + + +def is_whitespace(node): + return node.label.startswith('TEXT-WS') + + +def is_comment(node): + return node.label.startswith('COMMENT') + + +def is_ignorable(node): + return is_whitespace(node) or is_comment(node) + + +def is_decoration(node): + return is_ignorable(node) or is_array_sep(node) + + +@attr.s +class ShellVariable: + + name = attr.ib() + value = attr.ib() + is_array = attr.ib(default=False, repr=False) + + def is_resolved(self): + """ + Return True if this variable is fully resolved and does not need further + shell expansion. + """ + if self.is_array: + for item in self.value: + return not any(c in item for c in '${}') + return not any(c in self.value for c in '${}') + + @classmethod + def from_node(cls, node): + """ + Return a ShellVariable built from a parse tree node or None. + """ + + def get_content(_node, _length): + _content = [n for n in _node if not is_ignorable(n)] + assert len(_content) == _length, ( + f'Unknown shell assignment syntax: {_node}' + ) + return _content + + if is_empty_shell_variable(node): + # removes space nodes and comment nodes + content = get_content(node, 2) + # we should be left with two elements: name= + name_token , _equal_token = content + return cls(name=name_token.value, value='', is_array=False) + + if not is_shell_variable(node): + return + + content = get_content(node, 3) + # we should be left with three elements: name = value + name_token , _equal_token , value_token = content + + if is_array(value_token): + array = True + items = [ + i for i in value_token.leaves() + if not is_decoration(i) + ] + value = [dequote(vt) for vt in items] + else: + # a plain value string + array = False + + value = dequote(value_token) + sv = cls(name=name_token.value, value=value, is_array=array) + return sv + + @classmethod + def validate(cls, variables, needed_variables=None): + """ + Return a list of error message if some variables in a ``variables`` + list of ShellVariable are not valid. + """ + + def reportable(v): + if needed_variables: + return v.name in needed_variables + return True + + seen = dict() + errors = [] + for var in variables: + # check for duplicate names, but these could be redefinitions + if reportable(var): + if var.name in seen: + errors.append( + f'Duplicate variable name: {var.name!r} value: {var.value!r} ' + f'existing value: {seen[var.name]!r}' + ) + else: + seen[var.name] = var.value + return errors + + @classmethod + def resolve(cls, variables, needed_variables=None): + """ + Resolve each variables in a ``variables`` list of ShellVariable. Return + a tuple of (list with updated variables, list of error messages). Do not + report errors for variable with a name listed in the + ``needed_variables`` set if provided. + """ + + def reportable(v): + if needed_variables: + return v.name in needed_variables + return True + + # mapping of variables that we use for resolution + # the mappings and values are updated as resolution progresses + environment = {} + errors = [] + for var in variables: + + if not environment: + if reportable(var) and not var.is_resolved(): + errors.append(f'Unresolvable first variable: {var}') + + if not var.is_array: + # we do not know how to expand an array + environment[var.name] = var.value + continue + + if var.is_resolved(): + if not var.is_array: + # we do not know how to expand an array + environment[var.name] = var.value + continue + + try: + if var.is_array: + expanded = [] + for item in var.value: + exp = pe.expand(item, env=environment) + if reportable(var) and ' ' in item and ' ' not in expanded: + errors.append(f'Expansion munged spaces in value: {item}') + expanded.append(exp) + else: + expanded = pe.expand(var.value, env=environment) + if reportable(var) and ' ' in var.value and ' ' not in expanded: + errors.append(f'Expansion munged spaces in value: {var.value}') + + if TRACE: + logger_debug( + f'Resolved variable: {var} to: {expanded} ' + f'with envt: {environment} ' + ) + + var.value = expanded + + if not var.is_array: + # we do not know how to expand an array + environment[var.name] = expanded + + if reportable(var) and not var.is_resolved(): + errors.append( + f'Partially resolved variable: {var} envt: ' + f'{environment}' + ) + + except Exception as e: + if reportable(var): + errors.append(f'Failed to expand variable: {var} error: {e}') + + return variables, errors + + def to_dict(self): + return {self.name: self.value} + + +def dequote(token): + """ + Return a token value stripped from quotes based on its token label. + """ + quote_style_by_token_label = { + 'LITERAL-STRING-DOUBLE':'"', + 'LITERAL-STRING-SINGLE': "'", + } + qs = quote_style_by_token_label.get(token.label) + s = token.value + if qs and s.startswith(qs) and s.endswith(qs): + return s[1:-1] + return s + + +def collect_shell_variables_from_text_as_dict(text, resolve=False, needed_variables=None): + """ + Return a tuple of (variables, errors) from collecting top-level variables + defined in bash script ``text`` string. ``variables`` is a mapping of {name: + value} and ``errors`` a list of error message strings. + + Optionally ``resolve`` the variables with emulated shell parameter + expansion. If the set ``needed_variables`` is provided, only return + variables with a named present in this set and only report errors for + variables with a name listed in this set. + """ + vrs, errs = collect_shell_variables_from_text(text, resolve, needed_variables) + return {v.name: v.value for v in vrs}, errs + + +def collect_shell_variables_from_text(text, resolve=False, needed_variables=None): + """ + Return a tuple of (variables, errors) from collecting top-level variables + defined in bash script ``text`` string.``variables`` is a list of + ShellVariable objects and ``errors`` a list of error message strings. + + Optionally ``resolve`` the variables with emulated shell parameter + expansion. If the set ``needed_variables`` is provided, only return + variables with a named present in this set and only report errors for + variables with a name listed in this set. + """ + parse_tree = parse_shell(text) + variables = [] + # then walk the parse parse_tree to get variables + for node in parse_tree: + if TRACE: + logger_debug(f'collect_shell_variables: parse_tree node: {node}') + + if not isinstance(node, tree.Tree): + if TRACE: logger_debug(f' skipped: {node}') + continue + + variable = ShellVariable.from_node(node) + if TRACE: logger_debug(f' variable: {variable}') + if variable: + variables.append(variable) + + errors = ShellVariable.validate(variables, needed_variables) + + if resolve: + variables, rerrors = ShellVariable.resolve(variables, needed_variables) + errors.extend(rerrors) + + if needed_variables: + variables = [v for v in variables if v.name in needed_variables] + + return variables, errors + + +def get_tokens(text): + """ + Return a Tokens list from ``text``. + """ + lexer = BashShellLexer() + pygtokens = lexer.get_tokens_unprocessed(text) + return list(Token.from_pygments_tokens(pygtokens)) + + +def parse_shell(text, grammar=variables_grammar, loop=1, trace=TRACE, validate=VALIDATE): + """ + Return a pygmars parse Tree built from a ``text`` string. + """ + tokens = get_tokens(text) + + # then build a parse parse_tree based on tagged tokens + parser = parse.Parser( + grammar=grammar, + trace=trace, + validate=validate, + loop=loop, + ) + + if TRACE: + tokens = list(tokens) + logger_debug(f'parse_shell: parsing tokens #: {len(tokens)}') + + if TRACE: + logger_debug(f'parse_shell: calling parser.parse') + + parse_tree = parser.parse(tokens) + + if TRACE: + logger_debug(f'parse_shell: got parse_tree: {parse_tree}') + + return parse_tree + + +if __name__ == '__main__': + import json + import sys # NOQA + test_file = sys.argv[1] + results, errs = collect_shell_variables(test_file, resolve=True) + print(json.dumps(dict(variables=results, errors=errs), indent=2)) diff --git a/src/packagedcode/bsd-simplified.LICENSE b/src/packagedcode/bsd-simplified.LICENSE new file mode 100644 index 00000000000..57326dd0fd0 --- /dev/null +++ b/src/packagedcode/bsd-simplified.LICENSE @@ -0,0 +1,9 @@ +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/src/packagedcode/build.py b/src/packagedcode/build.py index b22959c243e..c22326a8493 100644 --- a/src/packagedcode/build.py +++ b/src/packagedcode/build.py @@ -83,6 +83,18 @@ class AutotoolsPackage(BaseBuildManifestPackage): ] +def check_rule_name_ending(rule_name): + """ + Return True if `rule_name` ends with a rule type from `starlark_rule_types` + + Return False otherwise + """ + for rule_type in starlark_rule_types: + if rule_name.endswith(rule_type): + return True + return False + + @attr.s() class StarlarkManifestPackage(BaseBuildManifestPackage): @classmethod @@ -103,9 +115,12 @@ def recognize(cls, location): or isinstance(statement, ast.Call) or isinstance(statement, ast.Assign) and isinstance(statement.value, ast.Call) - and isinstance(statement.value.func, ast.Name) - and statement.value.func.id.endswith(starlark_rule_types)): + and isinstance(statement.value.func, ast.Name)): rule_name = statement.value.func.id + # Ensure that we are only creating packages from the proper + # build rules + if not check_rule_name_ending(rule_name): + continue # Process the rule arguments args = {} for kw in statement.value.keywords: diff --git a/src/packagedcode/debian.py b/src/packagedcode/debian.py index c4771a08914..f6665f1a56a 100644 --- a/src/packagedcode/debian.py +++ b/src/packagedcode/debian.py @@ -15,7 +15,6 @@ from packageurl import PackageURL from commoncode import filetype -from commoncode.datautils import String from packagedcode import models """ @@ -40,24 +39,16 @@ class DebianPackage(models.Package): mimetypes = ('application/x-archive', 'application/vnd.debian.binary-package',) default_type = 'deb' - multi_arch = String( - label='Multi-Arch', - help='Multi-Arch value from status file') - - def to_dict(self, _detailed=False, **kwargs): - data = super().to_dict(_detailed=_detailed, **kwargs) - if _detailed: - ################################################# - # populate temporary fields - data['multi_arch'] = self.multi_arch - ################################################# - else: - ################################################# - # remove temporary fields - data.pop('multi_arch', None) - ################################################# + @property + def multi_arch(self): + """ + Multi-Arch value from a status or spec file. + """ + return self.extra_data.get('multi_arch') - return data + def set_multi_arch(self, value): + if value: + self.extra_data['multi_arch'] = value def populate_installed_files(self, var_lib_dpkg_info_dir): """ @@ -172,40 +163,40 @@ def get_installed_packages(root_dir, distro='debian', detect_licenses=False, **k """ base_status_file_loc = os.path.join(root_dir, 'var/lib/dpkg/status') - if not os.path.exists(base_status_file_loc): - return - - var_lib_dpkg_info_dir = os.path.join(root_dir, 'var/lib/dpkg/info/') - - # guard from recursive import - from packagedcode import debian_copyright - - for package in parse_status_file(base_status_file_loc, distro=distro): - package.populate_installed_files(var_lib_dpkg_info_dir) - if detect_licenses: - copyright_location = package.get_copyright_file_path(root_dir) - dc = debian_copyright.parse_copyright_file(copyright_location) - if dc: - package.declared_license = dc.get_declared_license( - filter_licenses=True, - skip_debian_packaging=True, - simplify_licenses=False, - ) - package.license_expression = dc.get_license_expression( - filter_licenses=True, - skip_debian_packaging=True, - simplify_licenses=False, - ) - package.copyright = dc.get_copyright( - skip_debian_packaging=True, - unique_copyrights=True, - ) - - yield package - - -def is_debian_status_file(location): - return filetype.is_file(location) and location.endswith('/status') + base_statusd_loc = os.path.join(root_dir, 'var/lib/dpkg/status.d/') + + if os.path.exists(base_status_file_loc): + var_lib_dpkg_info_dir = os.path.join(root_dir, 'var/lib/dpkg/info/') + + # guard from recursive import + from packagedcode import debian_copyright + + for package in parse_status_file(base_status_file_loc, distro=distro): + package.populate_installed_files(var_lib_dpkg_info_dir) + if detect_licenses: + copyright_location = package.get_copyright_file_path(root_dir) + dc = debian_copyright.parse_copyright_file(copyright_location) + if dc: + package.declared_license = dc.get_declared_license( + filter_duplicates=True, + skip_debian_packaging=True, + ) + package.license_expression = dc.get_license_expression( + skip_debian_packaging=True, + simplify_licenses=True, + ) + package.copyright = dc.get_copyright( + skip_debian_packaging=True, + unique_copyrights=True, + ) + yield package + + elif os.path.exists(base_statusd_loc): + for root, dirs, files in os.walk(base_statusd_loc): + for f in files: + status_file_loc = os.path.join(root, f) + for package in parse_status_file(status_file_loc, distro=distro): + yield package def parse_status_file(location, distro='debian'): @@ -214,9 +205,8 @@ def parse_status_file(location, distro='debian'): """ if not os.path.exists(location): raise FileNotFoundError('[Errno 2] No such file or directory: {}'.format(repr(location))) - if not is_debian_status_file(location): - return - + if not filetype.is_file(location): + raise Exception(f'Location is not a file: {location}') for debian_pkg_data in debcon.get_paragraphs_data_from_file(location): yield build_package(debian_pkg_data, distro) @@ -235,6 +225,8 @@ def build_package(package_data, distro='debian'): ('arch', package_data.get('architecture')), ]) + package.set_multi_arch(package_data.get('multi-arch')) + # mapping of top level `status` file items to the Package object field name plain_fields = [ ('description', 'description'), @@ -243,7 +235,6 @@ def build_package(package_data, distro='debian'): ('package', 'name'), ('version', 'version'), ('maintainer', 'maintainer'), - ('multi-arch', 'multi_arch'), ] for source, target in plain_fields: diff --git a/src/packagedcode/debian_copyright.py b/src/packagedcode/debian_copyright.py index e382737d99d..d25d5fc1c52 100644 --- a/src/packagedcode/debian_copyright.py +++ b/src/packagedcode/debian_copyright.py @@ -6,34 +6,27 @@ # See https://github.com/nexB/scancode-toolkit for support or download. # See https://aboutcode.org for more information about nexB OSS projects. # - -import io +import os import sys -from os import environ -from os import path +from itertools import chain import attr - from debian_inspector.copyright import DebianCopyright from debian_inspector.copyright import CatchAllParagraph from debian_inspector.copyright import CopyrightFilesParagraph from debian_inspector.copyright import CopyrightLicenseParagraph from debian_inspector.copyright import CopyrightHeaderParagraph -from debian_inspector.copyright import is_machine_readable_copyright - from license_expression import Licensing from license_expression import ExpressionError from license_expression import LicenseSymbolLike -from packagedcode.licensing import get_normalized_expression -from packagedcode.utils import combine_expressions - from licensedcode.models import Rule from licensedcode.match import LicenseMatch from licensedcode.query import Query from licensedcode.spans import Span from licensedcode.cache import get_index - +from licensedcode.match import set_lines +from packagedcode.utils import combine_expressions from textcode.analysis import unicode_text """ @@ -42,10 +35,11 @@ unstructured copyright files. """ -TRACE = environ.get('SCANCODE_DEBUG_PACKAGE', False) or False +TRACE = os.environ.get('SCANCODE_DEBUG_PACKAGE', False) or False MATCHER_UNKNOWN = '5-unknown' + def logger_debug(*args): pass @@ -62,18 +56,36 @@ def logger_debug(*args): return logger.debug(" ".join(isinstance(a, str) and a or repr(a) for a in args)) -def parse_copyright_file(location): +def parse_copyright_file(location, check_consistency=False): """ - Return an Obj + Return a DebianDetector Object containing copyright and license detections extracted from the debain copyright file at `location`. + + If `check_consistency` is True, check if debian copyright file is + consistently structured according to the guidelines specified at + https://www.debian.org/doc/packaging-manuals/copyright-format/1.0 """ if not location or not location.endswith('copyright'): return - if is_machine_readable_copyright(unicode_text(location)): - dc = StructuredCopyrightProcessor.from_file(location=location) + if EnhancedDebianCopyright.is_machine_readable_copyright(unicode_text(location)): + dc = StructuredCopyrightProcessor.from_file( + location=location, + check_consistency=check_consistency, + ) + else: - dc = UnstructuredCopyrightProcessor.from_file(location=location) + dc = UnstructuredCopyrightProcessor.from_file( + location=location, + check_consistency=check_consistency, + ) + + if check_consistency and dc.consistency_errors: + msg = ( + f'Debian Copyright file in not consistent, because of the following:' + f' {dc.consistency_errors}' + ) + raise DebianCopyrightStructureError(msg) if TRACE: logger_debug(f'parse_copyright_file: {dc}') @@ -81,112 +93,232 @@ def parse_copyright_file(location): return dc +@attr.s class DebianDetector: + """ + Base class for `UnstructuredCopyrightProcessor` and + `StructuredCopyrightProcessor` classes, defining the common functions and + attributes. + + An instance can scan ONLY one copyright file; it cannot be reused. + """ # Absolute location of this copyright file location = attr.ib() + # List of consistency error messages if the debian copyright file is not + # consistent. This is populated if the `check_consistency` flag in + # `parse_copyright_file` is set to True. + consistency_errors = attr.ib(default=attr.Factory(list)) + @classmethod def from_file(cls, *args, **kwargs): + """ + Returns a DebianDetector object with License and Copyright detections. + """ return NotImplementedError - + def get_copyright(self, *args, **kwargs): """ Return a copyright string suitable to use as a DebianPackage.copyright. """ return NotImplementedError - + def get_license_expression(self, *args, **kwargs): """ - Return a license expression string suitable to use as a DebianPackage.license_expression. + Return a license expression string suitable to use as a + DebianPackage.license_expression. """ return NotImplementedError - + def get_declared_license(self, *args, **kwargs): """ - Return a list of declared license string suitable to use as a DebianPackage.declared_license. + Return a list of declared license string suitable to use as a + DebianPackage.declared_license. """ return NotImplementedError @attr.s class UnstructuredCopyrightProcessor(DebianDetector): - # Absolute location of this copyright file - location = attr.ib() - # List of LicenseMatches in an unstructured file license_matches = attr.ib(default=attr.Factory(list)) - + # List of detected copyrights in an unstructured file detected_copyrights = attr.ib(default=attr.Factory(list)) @classmethod - def from_file(cls, location): - + def from_file(cls, location, check_consistency=False): + """ + Returns a UnstructuredCopyrightProcessor object created from a + unstructured debian copyright file, after detecting license and + copyrights. + + If `check_consistency` is True, will always add a consistency error as + unstructured copyright files are not consistent. + """ dc = cls(location=location) - + + if check_consistency: + dc.consistency_errors.append('Debian Copyright File is unstructured') + dc.detected_copyrights = copyright_detector(location) - + content = unicode_text(location) - dc.license_matches = get_license_matches(query_string=content) - + dc.detect_license(query_string=content) + return dc + @property + def primary_license(self): + """ + Returns None as primary license cannot be detected in an unstructured + debian copyright file. + """ + return None + def get_declared_license(self, *args, **kwargs): + """ + Returns None as there is no declared licenses in an unstructured debian + copyright file. + """ return None - - def get_license_expression(self, *args, **kwargs): - matches = self.license_matches - if not matches: - # we have no match: return an unknown key - return ['unknown'] + def get_license_expression( + self, + simplify_licenses=False, + *args, **kwargs + ): + """ + Returns a license expression string for the corresponding debian + copyright file. + + If simplify_licenses is True, uses Licensing.dedup() to simplify the + license expression. + """ + matches = self.license_matches detected_expressions = [match.rule.license_expression for match in matches] - return combine_expressions(detected_expressions) + license_expression = combine_expressions(detected_expressions, unique=False) + + if simplify_licenses: + return dedup_expression(license_expression=license_expression) + else: + return license_expression def get_copyright(self, *args, **kwargs): + """ + Returns a copyright string, each in a line, with all the copyright + detections in a unstrucutred debian copyright file. + """ return '\n'.join(self.detected_copyrights) + def detect_license(self, query_string): + """ + Return a list of LicenseMatch objects which has the detected license + matches in `query_string`, or has an UnknownMatch if no license is + detected. + """ + license_matches = remove_known_license_intros( + license_matches=get_license_matches(query_string=query_string) + ) + + if not license_matches: + # we have no match: return an unknown key + license_matches = add_unknown_matches(name=None, text=query_string) + + self.license_matches = license_matches + @attr.s class StructuredCopyrightProcessor(DebianDetector): - # Absolute location of this copyright file - location = attr.ib() - # List of LicenseDetection objects having license matches from files/header paragraphs license_detections = attr.ib(default=attr.Factory(list)) - + # List of CopyrightDetection objects having copyrights from files/header paragraphs copyright_detections = attr.ib(default=attr.Factory(list)) - + # A cached DebianCopyright object built from the copyright file at location debian_copyright = attr.ib(default=None) + # License present in header or 'files: *' paragraph for a structured debian copyright file + primary_license = attr.ib(default=None) + @classmethod - def from_file(cls, location): + def from_file(cls, location, check_consistency=False): """ - Return a DebianCopyrightFileProcessor object built from debian copyright file at ``location``, - or None if this is not a debian copyright file. - Optionally detect copyright statements, if ``with_copyright`` is True. - Filter licenses based on header/primary license, and occurances, if `with_details` is - False, else reports everything as detected exactly. + Return a DebianCopyrightFileProcessor object built from debian copyright + file at ``location``, or None if this is not a debian copyright file. + + If `check_consistency` is True, check if debian copyright file is + consistently structured according to debian guidelines. """ if not location or not location.endswith('copyright'): return - debian_copyright=DebianCopyright.from_file(location) + debian_copyright = DebianCopyright.from_file(location) + edc = EnhancedDebianCopyright(debian_copyright=debian_copyright) dc = cls(location=location, debian_copyright=debian_copyright) dc.detect_license() dc.detect_copyrights() + dc.get_primary_license() + + if check_consistency: + dc.consistentcy_errors = edc.get_consistentcy_errors() return dc + @property + def license_matches(self): + """ + Get a list of all LicenseMatch objects which are detected in the + copyright file. + """ + matches = ( + ld.license_matches + for ld in self.license_detections + if ld.license_matches + ) + return chain.from_iterable(matches) + + def get_primary_license(self): + """ + Returns a license expression string which is the primary license for the + debian copyright file. + + A primary license in a debian copyright file is the license in the + Header paragraph or the `Files: *` paragraph. + """ + expressions = [] + has_header_license = False + has_primary_license = False + + for ld in self.license_detections: + if ld.license_expression_object != None: + if not has_header_license and isinstance( + ld.paragraph, CopyrightHeaderParagraph + ): + expressions.append(ld.license_expression_object) + has_header_license = True + if not has_primary_license and is_paragraph_primary_license( + ld.paragraph + ): + expressions.append(ld.license_expression_object) + has_primary_license = True + + self.primary_license = dedup_expression( + license_expression=str(combine_expressions(expressions)) + ) + def get_declared_license( - self, filter_licenses=False, skip_debian_packaging=False, *args, **kwargs + self, filter_duplicates=False, skip_debian_packaging=False, *args, **kwargs ): """ - Return a list of declared license strings built from the available license detections. + Return a list of declared license strings (`License: `) from the + all paragraphs. + + If `filter_duplicates` is True, only unique declared licenses are + returned. If `skip_debian_packaging` is True, skips the declared license + for `Files: debian/*` paragraph. """ - # TODO: Also Report CopyrightLicenseParagraph declarable_paragraphs = [ para for para in self.debian_copyright.paragraphs @@ -200,45 +332,65 @@ def get_declared_license( if not is_paragraph_debian_packaging(para) ] - if filter_licenses: - declarable_paragraphs = self.filter_duplicate_declared_license(declarable_paragraphs) + declared_licenses = [ + paragraph.license.name for paragraph in declarable_paragraphs + ] - return [paragraph.license.name for paragraph in declarable_paragraphs] + if filter_duplicates: + return filter_duplicate_strings(declared_licenses) + else: + return declared_licenses - def get_copyright(self, skip_debian_packaging=False, unique_copyrights=False, *args, **kwarg): + def get_copyright( + self, + skip_debian_packaging=False, + unique_copyrights=False, + *args, **kwarg, + ): """ Return copyrights collected from a structured file. + + If `unique_copyrights` is True, only unique copyrights are returned. + If `skip_debian_packaging` is True, skips the declared license for + `Files: debian/*` paragraph. """ declarable_copyrights = [] seen_copyrights = set() # TODO: Only Unique Holders (copyright without years) should be reported - + for copyright_detection in self.copyright_detections: - if is_paragraph_debian_packaging(copyright_detection.paragraph) and skip_debian_packaging: + if ( + skip_debian_packaging + and is_paragraph_debian_packaging(copyright_detection.paragraph) + ): continue + if not isinstance( - copyright_detection.paragraph, (CopyrightHeaderParagraph, CopyrightFilesParagraph) + copyright_detection.paragraph, + (CopyrightHeaderParagraph, CopyrightFilesParagraph) ): continue - + if unique_copyrights: - for copyright in copyright_detection.copyrights: - if copyright not in seen_copyrights: - seen_copyrights.add(copyright) - declarable_copyrights.append(copyright) + for copyrght in copyright_detection.copyrights: + if copyrght not in seen_copyrights: + if any(x in copyrght for x in ('unknown', 'none',)): + continue + seen_copyrights.add(copyrght) + + declarable_copyrights.append(copyrght) continue - + declarable_copyrights.extend(copyright_detection.copyrights) - return '\n'.join(declarable_copyrights) - + def detect_copyrights(self): """ Return a list of CopyrightDetection objects from a ``debian_copyright`` DebianCopyright object. - # TODO: We should also track line numbers in the file where a license was found """ + # TODO: We should also track line numbers in the file where a license was found copyright_detections = [] for paragraph in self.debian_copyright.paragraphs: @@ -248,7 +400,7 @@ def detect_copyrights(self): for p in pcs: p = p.dumps() copyrights.append(p) - + copyright_detections.append( CopyrightDetection(paragraph=paragraph, copyrights=copyrights) ) @@ -259,17 +411,26 @@ def detect_copyrights(self): copyright_detections.append( CopyrightDetection(paragraph=None, copyrights=copyrights) ) - + self.copyright_detections = copyright_detections def get_license_expression( - self, filter_licenses=False, skip_debian_packaging=False, *args, **kwargs + self, + skip_debian_packaging=False, + simplify_licenses=False, + *args, **kwargs ): """ - Return a license expression string as built from available license detections. + Return a license expression string as built from available license + detections. + + If `simplify_licenses` is True, license expressions are deduplicated by + Licensing.dedup() and then returned. + If `skip_debian_packaging` is True, skips the declared license for + `Files: debian/*` paragraph. """ if not self.license_detections: - return 'unknown' + raise_no_license_found_error(location=self.location) license_detections = [ license_detection @@ -284,57 +445,32 @@ def get_license_expression( if not is_paragraph_debian_packaging(license_detection.paragraph) ] - if filter_licenses: - license_detections = self.filter_duplicate_license_detections(license_detections) - expressions = [ license_detection.license_expression_object for license_detection in license_detections + if license_detection.license_expression_object != None ] - return str(combine_expressions(expressions, unique=False)) - - @staticmethod - def filter_duplicate_declared_license(paragraphs): - """ - Return a list of paragraphs without declared license repetitions. - """ - filtered = [] - seen = set() - - for paragraph in paragraphs: - license_name = paragraph.license.name - if license_name not in seen: - seen.add(license_name) - filtered.append(paragraph) - - return filtered - - @staticmethod - def filter_duplicate_license_detections(license_detections): - """ - Return a list of paragraphs without declared license repetitions. - """ - filtered_license_detection = [] - seen = set() - - for license_detection in license_detections: - if hasattr(license_detection.paragraph, 'license'): - license_name = license_detection.paragraph.license.name - if license_name not in seen: - seen.add(license_name) - filtered_license_detection.append(license_detection) - elif isinstance(license_detection.paragraph, CatchAllParagraph): - filtered_license_detection.append(license_detection) + if expressions: + license_expression = str(combine_expressions(expressions, unique=False)) + else: + license_matches = list(self.license_matches) + if license_matches: + license_expression = get_license_expression_from_matches(license_matches) + else: + raise_no_license_found_error(location=self.location) - return filtered_license_detection + if simplify_licenses: + return dedup_expression(license_expression=license_expression) + else: + return license_expression def detect_license(self): """ Return a list of LicenseDetection objects from a ``debian_copyright`` DebianCopyright object. - # TODO: We should also track line numbers in the file where a license was found """ + # TODO: We should also track line numbers in the file where a license was found license_detections = [] edebian_copyright = EnhancedDebianCopyright(debian_copyright=self.debian_copyright) @@ -346,18 +482,18 @@ def detect_license(self): header_paragraph = edebian_copyright.header_paragraph if header_paragraph.license.name: - license_detection = self.get_license_detection( + header_license_detections = self.get_license_detections( paragraph=header_paragraph, debian_licensing=debian_licensing, ) - license_detections.append(license_detection) + license_detections.extend(header_license_detections) for file_paragraph in edebian_copyright.file_paragraphs: - license_detection = self.get_license_detection( + files_license_detections = self.get_license_detections( paragraph=file_paragraph, debian_licensing=debian_licensing, ) - license_detections.append(license_detection) + license_detections.extend(files_license_detections) license_detections.extend( self.detect_license_in_other_paras(other_paras=edebian_copyright.other_paragraphs) @@ -366,27 +502,36 @@ def detect_license(self): self.license_detections = license_detections @staticmethod - def get_license_detection(paragraph, debian_licensing): + def get_license_detections(paragraph, debian_licensing): """ - Return a LicenseDetection object from a header/files paras in structured debian copyright file. + Return a LicenseDetection object from header/files paras in structured + debian copyright file. + + `debian_licensing` is a DebianLicensing object. """ + license_detections = [] + name = paragraph.license.name if not name: - return get_license_detection_from_nameless_paragraph(paragraph=paragraph) - - normalized_expression = debian_licensing.get_normalized_expression(name) + license_detections.append( + get_license_detection_from_nameless_paragraph(paragraph=paragraph) + ) + return license_detections - return LicenseDetection( - paragraph=paragraph, - license_expression_object=normalized_expression, - license_matches=None, - ) + license_detections.append(debian_licensing.get_license_detection(paragraph)) + extra_license_detections = get_license_detections_from_extra_data(paragraph) + if extra_license_detections: + license_detections.extend(extra_license_detections) + return license_detections @staticmethod def detect_license_in_other_paras(other_paras): """ Run license Detection on the entire paragraph text and return result in a License Detection object. + + `other_paras` is a list of CatchAllParagraph objects detected in the debian + copyright file. """ license_detections = [] @@ -397,6 +542,9 @@ def detect_license_in_other_paras(other_paras): for _field_name, field_value in extra_data.items(): license_matches = get_license_matches(query_string=field_value) + if not license_matches: + continue + normalized_expression = get_license_expression_from_matches( license_matches=license_matches, ) @@ -413,10 +561,15 @@ def detect_license_in_other_paras(other_paras): class NoLicenseFoundError(Exception): """ - Raised when some license is expected to be found, but is not found. + Raised when there is no license detected in a debian copyright file. """ +def raise_no_license_found_error(location): + msg = f'Debian Copyright file does not have any licenses detected in it. Location: {location}' + raise NoLicenseFoundError(msg) + + class DebianCopyrightStructureError(Exception): """ Raised when a structured debian copyright file has discrepancies. @@ -466,7 +619,6 @@ class DebianLicenseSymbol: Debian Copyright File and the corresponding list of LicenseMatch objects. This object is suitable to be used as a license_expression.LicenseSymbolLike object. """ - key = attr.ib() is_exception = attr.ib(default=False) matches = attr.ib(default=attr.Factory(list)) @@ -503,11 +655,11 @@ class LicenseDetection: """ paragraph = attr.ib() license_expression_object = attr.ib() - license_matches = attr.ib() + license_matches = attr.ib(default=attr.Factory(list)) def is_detection_declarable(self): """ - LicenseDetection objects contain both license texts detection in ficense/file/other + LicenseDetection objects contain both license texts detection in license/file/other paragraphs, and only license detections which are in files paragraph has existing `license_expression_object` to report. Also, in the case of reporting declared licenses other paragraphs are not reported. @@ -534,8 +686,13 @@ class DebianLicensing: we can use to parse the license declaration in each of the paragraphs. """ licensing = attr.ib() + + # A mapping of License key to list of LicenseMatch objects license_matches_by_symbol = attr.ib() - # A mapping of + + # A mapping of LicenseSymbols to LicenseExpression objects + # LicenseSymbol.key is the license name for the and the LicenseExpression is created + # by combining LicenseMatch objects for license detections on the license text substitutions = attr.ib() # List of license name strings that could not be parsed @@ -575,18 +732,27 @@ def from_license_paragraphs(cls, paras_with_license): unparsable_expressions=unparsable_expressions, license_detections=license_detections, ) - - def get_normalized_expression(self, exp): + + def get_license_detection(self, paragraph): """ - Return a LicenseExpression object build from an ``exp`` license expression string. + Return a LicenseDetection object build from a debian copyright file `paragraph`. """ - #TODO: Also return matches + exp = paragraph.license.name cleaned = clean_expression(exp) normalized_expression = None + matches = [] try: debian_expression = self.licensing.parse(cleaned) - normalized_expression = debian_expression.subs(self.substitutions) + if self.debian_expression_can_be_substituted(debian_expression): + normalized_expression = debian_expression.subs(self.substitutions) + else: + text = f'License: {cleaned}' + matches = get_license_matches(query_string=text) + if matches: + normalized_expression = get_license_expression_from_matches( + license_matches=matches, + ) except ExpressionError: # If Expression fails to parse we lookup exact string matches in License paras @@ -599,16 +765,19 @@ def get_normalized_expression(self, exp): license_matches=matches_unparsable_expression, ) - else: - # Case where expression is not parsable and the same expression is not present in - # the license paragraphs - unknown_matches = add_unknown_matches(name=exp, text=None) - normalized_expression = get_license_expression_from_matches( - license_matches=unknown_matches - ) - - return normalized_expression - + if normalized_expression == None: + # Case where expression is not parsable and the same expression is not present in + # the license paragraphs + matches = add_unknown_matches(name=exp, text=None) + normalized_expression = get_license_expression_from_matches( + license_matches=matches + ) + + return LicenseDetection( + paragraph=paragraph, + license_expression_object=normalized_expression, + license_matches=matches, + ) @staticmethod def parse_paras_with_license_text(paras_with_license): @@ -647,14 +816,14 @@ def parse_paras_with_license_text(paras_with_license): if not have_consistent_licenses_with_match( matches=text_matches, reference_match=common_license_match ): - #TODO: Add unknown matches if matches are not consistent + # TODO: Add unknown matches if matches are not consistent # raise Exception(f'Inconsistent Licenses: {common_license_match} {matches}') pass - #TODO: Add unknown matches if matches are weak + # TODO: Add unknown matches if matches are weak matches.extend(text_matches) else: - #TODO: Add unknown matches if matches are weak + # TODO: Add unknown matches if matches are weak if text_matches: matches.extend(text_matches) else: @@ -715,11 +884,48 @@ def build_symbols(license_matches_by_symbol, common_licenses=common_licenses): return symbols, unparsable_expressions + def debian_expression_can_be_substituted(self, debian_expression): + """ + Return True if all the license keys in the debian_expression is: + 1. either present in one of the License paragraphs, OR + 2. is a common debian license key. (One of common_licenses) + Otherwise, return False. + """ + all_keys = [] + all_keys.extend(list(self.license_matches_by_symbol.keys())) + all_keys.extend(list(common_licenses.keys())) + + expression_keys = self.licensing.license_keys(debian_expression) + + for key in expression_keys: + if key in all_keys: + continue + + return False + + return True + @attr.s -class EnhancedDebianCopyright: +class EnhancedDebianCopyright: debian_copyright = attr.ib() + @staticmethod + def is_machine_readable_copyright(text): + """ + Return True if a text is for a machine-readable copyright format. + + This extends debian_inspector.copyright.is_machine_readable_copyright to + support more cases. + """ + return text and text[:100].lower().startswith(( + 'format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0', + 'format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0', + 'format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5', + 'format: http://svn.debian.org/wsvn/dep/web/deps/dep5', + 'format: http://dep.debian.net/deps/dep5', + )) + def get_paragraphs_by_type(self, paragraph_type): return [ paragraph @@ -729,6 +935,10 @@ def get_paragraphs_by_type(self, paragraph_type): @property def header_paragraph(self): + """ + Return the header paragraph or None. Raise an Exception if there is + more than one header paragraph. + """ header_paras = self.get_paragraphs_by_type(CopyrightHeaderParagraph) if not header_paras: @@ -744,36 +954,30 @@ def header_paragraph(self): @property def file_paragraphs(self): return self.get_paragraphs_by_type(CopyrightFilesParagraph) - + @property def license_paragraphs(self): return self.get_paragraphs_by_type(CopyrightLicenseParagraph) @property def paragraphs_with_license_text(self): - paras_with_license_text = [] - - for paragraph in self.debian_copyright.paragraphs: - if isinstance( - paragraph, - (CopyrightHeaderParagraph, CopyrightFilesParagraph, CopyrightLicenseParagraph) - ): - if paragraph.license.text: - paras_with_license_text.append(paragraph) + text_paragraphs = self.get_paragraphs_by_type( + paragraph_type=( + CopyrightHeaderParagraph, + CopyrightFilesParagraph, + CopyrightLicenseParagraph, + ) + ) - return paras_with_license_text + return [p for p in text_paragraphs if p.license.text] @property def other_paragraphs(self): - other_paras = [] - - for paragraph in self.debian_copyright.paragraphs: - if isinstance(paragraph, CopyrightLicenseParagraph) and not paragraph.license.name: - other_paras.append(paragraph) - - elif isinstance(paragraph, CatchAllParagraph): - other_paras.append(paragraph) - + other_paras = [ + p for p in self.get_paragraphs_by_type(CopyrightLicenseParagraph) + if not p.license.name + ] + other_paras.extend(self.get_paragraphs_by_type(CatchAllParagraph)) return other_paras @property @@ -782,14 +986,13 @@ def duplicate_license_paragraphs(self): seen_license_names = set() duplicate_license_paras = [] - for paragraph in self.debian_copyright.paragraphs: - if not isinstance(paragraph, CopyrightLicenseParagraph): - continue + paragraphs = self.get_paragraphs_by_type(CopyrightLicenseParagraph) + for paragraph in paragraphs: lic_name = paragraph.license.name if not lic_name: continue - + if lic_name not in seen_license_names: seen_license_names.add(lic_name) else: @@ -797,6 +1000,119 @@ def duplicate_license_paragraphs(self): return duplicate_license_paras + @property + def license_nameless_paragraphs(self): + paragraphs = self.get_paragraphs_by_type( + paragraph_type=(CopyrightFilesParagraph, CopyrightLicenseParagraph,) + ) + return [p for p in paragraphs if p.license and not p.license.name] + + @property + def is_all_licenses_used(self): + # FIXME: If `lgpl` isn't used but there is `lgpl+` somwhere this + # wouldn't detect correctly. Could be parsed, normalized and the + # individual components could be matched exactly. + + expressions_with_text = [] + expressions_without_text = [] + + for paragraph in self.license_paragraphs: + if paragraph.license.name: + expressions_with_text.append(paragraph.license.name) + + for paragraph in self.file_paragraphs: + if paragraph.license.name and not paragraph.license.text: + expressions_without_text.append(paragraph.license.name) + + header_paragraph = self.header_paragraph + if header_paragraph.license.name and not header_paragraph.license.text: + expressions_without_text.append(header_paragraph.license.name) + + for expression_with_text in expressions_with_text: + expression_used = False + + for expression_without_text in expressions_without_text: + + if expression_with_text in expression_without_text: + expression_used = True + + if not expression_used: + return False + + return True + + @property + def is_all_licenses_expressions_parsable(self): + licensing = Licensing() + license_expressions = self.get_all_license_expressions() + + for expression in license_expressions: + if ',' in expression: + expression = clean_debian_comma_logic(expression) + + try: + licensing.parse(expression) + except ExpressionError: + return False + + return True + + def get_all_license_expressions(self): + + license_expressions = [] + + for paragraph in self.debian_copyright.paragraphs: + if isinstance( + paragraph, + (CopyrightHeaderParagraph, CopyrightLicenseParagraph, CopyrightLicenseParagraph) + ) and paragraph.license.name: + license_expressions.append(paragraph.license.name) + + return license_expressions + + def get_consistentcy_errors(self): + + consistency_errors = [] + + if self.other_paragraphs: + consistency_errors.append(( + 'Paragraphs other than Header/File/License paragraphs present in structured' + 'debian copyright or there is a formatting issue in a paragraph' + )) + + if not self.license_paragraphs: + consistency_errors.append( + 'No License paragraphs are present in structured debian copyright file' + ) + + if not self.file_paragraphs: + consistency_errors.append( + 'No Files paragraphs are present in structured debian copyright file' + ) + + if self.duplicate_license_paragraphs: + consistency_errors.append(( + 'Two License Paragraphs having the same License Name present in' + 'debian copyright file' + )) + + if self.license_nameless_paragraphs: + consistency_errors.append( + 'Paragraphs without license names present in debian copyright file' + ) + + if not self.is_all_licenses_used: + consistency_errors.append( + 'Some of the License Paragraphs are not referenced in Files/Header paragraphs' + ) + + if not self.is_all_licenses_expressions_parsable: + consistency_errors.append( + 'Some license expressions present in paragraphs are not valid' + ) + + return consistency_errors + def copyright_detector(location): """ @@ -815,7 +1131,8 @@ def copyright_detector(location): def get_license_matches(location=None, query_string=None): """ - Return a sequence of LicenseMatch objects. + Returns a sequence of LicenseMatch objects wit license detections for the + `query_string` or the file at `location`. """ if not query_string: return [] @@ -825,14 +1142,40 @@ def get_license_matches(location=None, query_string=None): return idx.match(location=location, query_string=query_string) +def filter_duplicate_strings(strings): + """ + Given a list of strings, return only the unique strings, preserving order. + """ + seen = set() + filtered = [] + + for string in strings: + if string not in seen: + seen.add(string) + filtered.append(string) + + return filtered + + +def dedup_expression(license_expression, licensing=Licensing()): + """ + Deduplicate license expressions from `license_expression` string. + """ + return str(licensing.dedup(license_expression)) + + def clean_debian_comma_logic(exp): """ - Convert Debian specific logic regarding comma to parsable license expression. - Example: `lgpl-3 or gpl-2, and apache-2.0` -> `(lgpl-3 or gpl-2) and apache-2.0` + Convert an ``exp`` expression with Debian specific logic regarding comma to + a parsable license expression. + + For example: + >>> clean_debian_comma_logic('lgpl-3 or gpl-2, and apache-2.0') + '(lgpl-3 or gpl-2) and (apache-2.0)' """ subexps = [] while ', and' in exp: - exp, and_op, right = exp.rpartition(', and') + exp, _and_op, right = exp.rpartition(', and') subexps.insert(0, right) subexps.insert(0, exp) wrapped = [f'({i.strip()})' for i in subexps] @@ -842,10 +1185,10 @@ def clean_debian_comma_logic(exp): def clean_expression(text): """ - Return a cleaned license expression text by normalizing the syntax so it can be parsed. - This substitution table has been derived from a large collection of most copyright files - from Debian (about 320K files from circa 2019-11) and Ubuntu (about 200K files from circa - 2020-06) + Return a cleaned license expression text by normalizing the syntax so it can + be parsed. This substitution table has been derived from a large collection + of most copyright files from Debian (about 320K files from circa 2019-11) + and Ubuntu (about 200K files from circa 2020-06) """ if not text: return text @@ -918,14 +1261,44 @@ def get_license_expression_from_matches(license_matches): return combine_expressions(license_expressions, unique=False) +def remove_known_license_intros(license_matches): + """ + Returns a list of LicenseMatch objects after removing unknown license intros + from the `license_matches` list of LicenseMatch objects. + + A common source of unknowns in unstrctured files are many types of license + intros which are present to introduce a lot of license texts, and as the + license texts are actually present below and in a different query run, it + only makes sense to remove known license intros in unstructured license + files. + """ + return [ + license_match + for license_match in license_matches + if not is_known_license_intro(license_match) + ] + + +def is_known_license_intro(license_match): + """ + Returns True if `license_match` LicenseMatch object is matched completely to + a unknown license intro present as a Rule. + """ + from licensedcode.match_aho import MATCH_AHO_EXACT + + if license_match.rule.is_license_intro and ( + license_match.matcher == MATCH_AHO_EXACT or license_match.coverage() == 100 + ): + return True + + return False + + def add_unknown_matches(name, text): """ Return a list of LicenseMatch objects created for an unknown license match. Return an empty list if both name and text are empty. """ - if not name and not text: - return [] - name = name or '' text = text or '' license_text = f'License: {name}\n {text}'.strip() @@ -961,20 +1334,23 @@ def add_unknown_matches(name, text): query=query_run.query, ) - return [match] + matches = [match] + set_lines(matches, query.line_by_pos) + return matches + @attr.s(slots=True, repr=False) class UnknownRule(Rule): """ - A specialized rule object that is used for the special case of unknown matches in - debian copyright files. + A specialized rule object that is used for the special case of unknown + matches in debian copyright files. - Since there can be a lot of unknown licenses in a debian copyright file, - the rule and the LicenseMatch objects for these are built at matching time. + Since there can be a lot of unknown licenses in a debian copyright file, the + rule and the LicenseMatch objects for these are built at matching time. """ def __attrs_post_init__(self, *args, **kwargs): - self.identifier = 'debian-unknown-' + self.license_expression + self.identifier = 'debian-' + self.license_expression expression = self.licensing.parse(self.license_expression) self.license_expression = expression.render() @@ -991,20 +1367,58 @@ def dump(self): raise NotImplementedError +def get_license_detections_from_extra_data(paragraph): + license_detections = [] + if paragraph.comment: + license_detection = get_license_detection_from_extra_data( + query_string=paragraph.comment.text, + paragraph=paragraph, + ) + if license_detection: + license_detections.append(license_detection) + + if paragraph.extra_data: + for _field_name, field_value in paragraph.extra_data.items(): + license_detection = get_license_detection_from_extra_data( + query_string=field_value, + paragraph=paragraph, + ) + if license_detection: + license_detections.append(license_detection) + + return license_detections + + +def get_license_detection_from_extra_data(query_string, paragraph): + matches = remove_known_license_intros( + get_license_matches(query_string=query_string) + ) + if matches: + normalized_expression = get_license_expression_from_matches( + license_matches=matches + ) + return LicenseDetection( + paragraph=paragraph, + license_expression_object=normalized_expression, + license_matches=matches, + ) + + def get_license_detection_from_nameless_paragraph(paragraph): """ - Return a LicenseDetection object built from any paragraph without a license name. + Return a LicenseDetection object built from any paragraph without a license + name. """ assert not paragraph.license.name - matches = get_license_matches(paragraph.license.text) + matches = get_license_matches(query_string=paragraph.license.text) if not matches: - unknown_matches = add_unknown_matches(name=None, text=paragraph.license.text) + matches = add_unknown_matches(name=None, text=paragraph.license.text) normalized_expression = get_license_expression_from_matches( - license_matches=unknown_matches + license_matches=matches ) else: - #TODO: Add unknown matches if matches are weak + # TODO: Add unknown matches if matches are weak normalized_expression = get_license_expression_from_matches( license_matches=matches ) @@ -1019,7 +1433,8 @@ def get_license_detection_from_nameless_paragraph(paragraph): def have_consistent_licenses(matches, reference_matches): """ Return true if all the license of the matches list of LicenseMatch have the - same license as all the licenses of the reference_matches list of LicenseMatch. + same license as all the licenses of the reference_matches list of + LicenseMatch. """ for reference_match in reference_matches: if not have_consistent_licenses_with_match( @@ -1059,222 +1474,3 @@ def is_paragraph_primary_license(paragraph): return isinstance( paragraph, CopyrightFilesParagraph ) and paragraph.files.values == ['*'] - - -def parse_structured_copyright_file( - location, - skip_debian_packaging=False, -): - """ - Return a tuple of (list of declared license strings, list of detected license matches) - collected from the debian copyright file at `location`. - - If `skip_debian_packaging` is False, the Debian packaging license is skipped if detected. - - Note: This was the older structured file parsing method which is now discontinued. - """ - if not location: - return None, None - - deco = DebianCopyright.from_file(location) - - declared_licenses = [] - detected_licenses = [] - - # TODO: Revisit: is this really needed - deco = refine_debian_copyright(deco) - - licensing = Licensing() - for paragraph in deco.paragraphs: - - if is_paragraph_debian_packaging(paragraph) and not skip_debian_packaging: - # Skipping packaging license and copyrights since they are not - # relevant to the effective package license - continue - - # rare case where we have not a structured file - if isinstance(paragraph, CatchAllParagraph): - text = paragraph.dumps() - if text: - detected = get_normalized_expression( - text, - try_as_expression=False, - approximate=False, - ) - if not detected: - detected = 'unknown' - detected_licenses.append(detected) - else: - plicense = paragraph.license - if not plicense: - continue - - declared, detected = detect_declared_license(plicense.name) - if declared: - declared_licenses.append(declared) - if detected: - detected_licenses.append(detected) - - # also detect in text - text = paragraph.license.text - if text: - detected = get_normalized_expression( - text, - try_as_expression=False, - approximate=True, - ) - if not detected: - detected = 'unknown' - - detected_licenses.append(detected) - - declared_license = '\n'.join(declared_licenses) - - if detected_licenses: - detected_license = str(combine_expressions(detected_licenses)) - - return declared_license, detected_license - - -def detect_declared_license(declared): - """ - Return a tuple of (declared license, detected license expression) from a - declared license. Both can be None. - """ - declared = normalize_and_cleanup_declared_license(declared) - - if TRACE: - logger_debug(f'detect_declared_license: {declared}') - - if not declared: - return None, None - - # apply multiple license detection in sequence - detected = detect_using_name_mapping(declared) - if detected: - return declared, detected - - from packagedcode import licensing - - try: - detected = licensing.get_normalized_expression( - declared, - try_as_expression=False, - approximate=False, - ) - except Exception: - # FIXME: add logging - # we never fail just for this - return 'unknown' - - return declared, detected - - -def normalize_and_cleanup_declared_license(declared): - """ - Return a cleaned and normalized declared license. - """ - declared = declared or '' - # there are few odd cases of license fileds starting with a colon or # - declared = declared.strip(': \t#') - # normalize spaces - declared = ' '.join(declared.split()) - return declared - - -def detect_using_name_mapping(declared): - """ - Return a license expression detected from a declared_license. - """ - declared = declared.lower() - detected = get_declared_to_detected().get(declared) - if detected: - licensing = Licensing() - return str(licensing.parse(detected, simple=True)) - - -def refine_debian_copyright(debian_copyright): - """ - Update in place the `debian_copyright` DebianCopyright object based on - issues found in a large collection of Debian copyright files. - """ - for paragraph in debian_copyright.paragraphs: - if not hasattr(paragraph, 'license'): - continue - plicense = paragraph.license - if not plicense: - continue - - license_name = plicense.name - if not license_name: - continue - - if license_name.startswith('200'): - # these are copyrights and not actual licenses, such as: - # - 2005 Sergio Costas - # - 2006-2010 by The HDF Group. - - if isinstance( - paragraph, (CopyrightHeaderParagraph, CopyrightFilesParagraph) - ): - pcs = paragraph.copyright.statements or [] - pcs.append(license_name) - paragraph.copyright.statements = pcs - paragraph.license.name = None - - license_name_low = license_name.lower() - NOT_A_LICENSE_NAME = ( - 'according to', - 'by obtaining', - 'distributed under the terms of the gnu', - 'gnu general public license version 2 as published by the free', - 'gnu lesser general public license 2.1 as published by the', - ) - if license_name_low.startswith(NOT_A_LICENSE_NAME): - text = plicense.text - if text: - text = '\n'.join([license_name, text]) - else: - text = license_name - paragraph.license.name = None - paragraph.license.text = text - - return debian_copyright - - -_DECLARED_TO_DETECTED = None - - -def get_declared_to_detected(data_file=None): - """ - Return a mapping of declared to detected license expression cached and - loaded from a tab-separated text file, all lowercase. - - Each line has this form: - some license namescancode license expression - - For instance: - 2-clause bsd bsd-simplified - - This data file is about license keys used in copyright files and has been - derived from a large collection of most copyright files from Debian (about - 320K files from circa 2019-11) and Ubuntu (about 200K files from circa - 2020-06) - """ - global _DECLARED_TO_DETECTED - if _DECLARED_TO_DETECTED: - return _DECLARED_TO_DETECTED - - _DECLARED_TO_DETECTED = {} - if not data_file: - data_file = path.join(path.dirname(__file__), 'debian_licenses.txt') - with io.open(data_file, encoding='utf-8') as df: - for line in df: - line = line.strip() - if not line or line.startswith('#'): - continue - decl, _, detect = line.strip().partition('\t') - if detect and detect.strip(): - decl = decl.strip() - _DECLARED_TO_DETECTED[decl] = detect - return _DECLARED_TO_DETECTED diff --git a/src/packagedcode/debian_licenses.txt b/src/packagedcode/debian_licenses.txt deleted file mode 100644 index cafc6e813b8..00000000000 --- a/src/packagedcode/debian_licenses.txt +++ /dev/null @@ -1,8842 +0,0 @@ -- -? unknown -???? unknown -... -* -0bsd bsd-zero -[1] -2-bsd bsd-simplified -2c-bsd bsd-simplified -2c-bsd or ruby bsd-simplified OR ruby -2clause bsd-simplified -2 clause bsd bsd-simplified -2-clause bsd bsd-simplified -2-clause-bsd bsd-simplified -2-clause-bsd bsd-simplified -2-clause bsd style bsd-simplified -2 clauses bsd bsd-simplified -3-bsd bsd-new -3bsd-like bsd-new -3c-bsd bsd-new -3c-bsd-generic bsd-new -3-clause bsd-new -3-clause bsd bsd-new -3-clause bsd bsd-new -3-clause-bsd bsd-new -3-clause-bsd bsd-new -3-clause bsd and gpl bsd-new AND gpl-1.0-plus -3-clause bsd-style bsd-new -3 clauses bsd bsd-new -3dfx-glide-source-code-general-public-license -3edgeconnected -3-line-bsdish -4-clause bsd -4-line-bsdish -5-line-bsdish -9wm -9wm and aewm and gpl-2+ -aapche-2.0 apache-2.0 -abandoned -academia-sinicai-xml-now -academia_sinica_xml_now -academic -academic-2.0 afl-2.0 -academic-2.0 or lgpl-2+ afl-2.0 OR lgpl-2.0-plus -academic-2.1 afl-2.1 -academic free license 2.1 afl-2.1 -academic free license 2.1 (apache-2.0) and revised bsd -academic free license >= 2.1, modified bsd license -academic free license version 3.0 afl-3.0 -academic or lgpl-2+ -academics-only proprietary -ac-bsd -ac-cxx-license -ac.earth -aclocal -aclocal.m4 -aclocal-public-domain -acm -ad9371-api -adaptation of the mit x11 license -adaptec -ad-hoc -adhoc-0 -adhoc-maple-latex-0 -adhoc-maple-latex-1 -adhoc-maple-latex-2 -adhoc-maple-latex-3 -adhoc-maple-latex-4 -adhoc-maple-latex-5 -adhoc-maple-latex-6 -adhoc-maple-latex-7 -ad-mit -adobe -adobe-2006 -adobe-afm -adobe-bsd-3-clause -adobe-bsd-like -adobe-fonts -adobe license -advertisinggpl-3+ -aemb-lgpl-3+ -aes -aesbsd -aes-gladman -aewm -affero-3 -affero-gpl-3 -afl-1.1 -afl-1.1 or bsd-3-clause -afl-2.0 -afl-2.0 or lgpl-2+ -afl-2.1 -afl-2.1+ -afl-2.1-clause-dojo -afl-2.1 or gpl-2+ -afl-3 -afl-3.0 -aflv2.1 -afmparse -afpl -afpl1 -afpl-9 -afpl~afpl -agg -agg -agg2 -agg-2.4 -agg-2.4 or bsd-3-clause-agg -aggdraw -agg or bsd-3-clause -aggpl -aggpl-2.3 -aggpl or bsd-3-clause-agg -agpl -agpl-2.1 -agpl3 agpl-3.0 -agpl-3 agpl-3.0 -agpl-3+ agpl-3.0-plus -agpl3+ agpl-3.0-plus -agpl-3.0 agpl-3.0 -agpl-3.0+ agpl-3.0-plus -agpl-3.0+ and postgresql -agpl-3.0-only agpl-3.0 -agpl-3.0-openssl -agpl-3.0-or-later agpl-3.0-plus -agpl-3.0 with bacula and other exceptions -agpl-3.0 with openssl exception -agpl-3+ and bsd-4-clause -agpl-3 and expat -agpl-3+ and expat -agpl-3 and expat and bsd-3-clause -agpl-3+ and html-reference-exception -agpl-3+ and other -agpl-3+ and zlib -agpl-3, lgpl-2 -agpl-3+-openssl -agpl-3 or afl-3.0 -agpl-3 or apache-2.0 -agpl-3+ or cpl-2.0 -agpl-3+ with cc0 exception. -agpl-3 with font exception -agpl-3 with font exception -agpl-3+ with font exception -agpl-3+ with font exception -agpl-3+ with html-reference exception -agpl-3+ with linking exception -agpl-3 with logo exception -agpl-3 with logo permissions -agpl-3-with-name-extra -agpl-3+ with no-communication+openssl exception -agpl-3+-with-openssl-excemption -agpl-3 with openssl exception -agpl-3+ with openssl exception -agplv3 -aiaa_2006-6753 -airspy-bsd -ajaxinfo -akashi-font -akashi-font and cc-by-sa-3.0 -akashi-font and cc-by-sa-3.0+ -akashi-font and cc-by-sa-3.0 and mark-policy -akashi-font and cc-by-sa-3.0+ and mark-policy -aki-yoshida -aladdin -alba-font -"aldis berjoza ""beer-ware license""" -alicense -alladdin -allegro -allegro-gift-ware -allkey-other -allpermissions -allpermissive -all-permissive -all-permissive -all-permissive-gettext -all-rights-granted -allrightsreserved -all rights reserved -all rights reserved -all rights reserved. -all_use -all_use_kentlib -almost exclusively bsd -altera-boilerplate -altera-megafunction -altera-nuand-mit -altermime -amazon software license -aml -amsfonts -anaconda-bsd -anbe-public-domain -ancestral -angband -angband-license -animalmaterials-license -animgif -anl -ansi2knr -antigrain -anti-grain -anti-grain or bsd-3-clause -antlr2 -anu -anu and christy and mbsi-bsd and rosenquist -any -any -any -any-osi -any_purpose -any-purpose-note -anyuse -any-use -ap -apache apache-2.0 -apache apache-2.0 -apache-1.0 -apache 1.1 -apache-1.1 -apache-1.1+bea -apache-1.1-brewer -apache-1.1-extreme -apache-1.1, gpl-2+ -apache-1.1-jaxen -apache-1.1 or gpl-2+ -apache-1.1-saxpath -apache2 apache-2.0 -apache 2 apache-2.0 -apache-2 apache-2.0 -apache-2+ apache-2.0 -apache 2.0 apache-2.0 -apache-2.0 apache-2.0 -apache-2.0 apache-2.0 -apache-2.0 apache-2.0 -apache-2.0 apache-2.0 -apache-2.0+ apache-2.0 -apache2.0 apache-2.0 -apache-2.0 apache-2.0 -apache-2.0 apache-2.0 -apache-2.0 and boost-1.0 -apache-2.0 and boyer -apache-2.0 and bsd-2-clause -apache-2.0 and bsd-2-clause -apache-2.0 and bsd-2-clause and bsd-3-clause -apache-2.0 and bsd-2-clause/openssh -apache-2.0 and bsd-3-clause -apache-2.0 and bsd-3-clause -apache 2.0 and bsd-3-clause (cambridge) -apache-2.0 and bsd-3-clause-cambridge -apache-2.0 and bsd-3-clause-google -apache-2.0 and bsd-3-clause-google and expat -apache-2.0 and bsd-4-clause -apache-2.0 and bsd-cruisecontrol -apache 2.0 and cisco -apache-2.0 and cisco -apache-2.0 and clinger -apache-2.0 and epl -apache 2.0 and expat -apache-2.0 and expat -apache-2.0 and expat and bsd-2-clause -apache-2.0 and fsf-unlimited -apache-2.0 and go -apache-2.0 and gpl-2+ -apache 2.0 and haines -apache-2.0 and haines -apache-2.0 and lutzebaeck -apache 2.0 and md5 -apache-2.0 and md5 -apache-2.0 and m+fonts -apache-2.0 and mit -apache-2.0 and mit and gpl-2 and bsd-3-clause -apache-2.0 and paulhsieh-license -apache-2.0 and shivers -apache-2.0 and w3c -apache 2.0 and zeus -apache-2.0 and zeus -apache-2.0 | artistic | gpl-1+ -apache-2.0 | bsd -apache-2.0 bsd (2 clause) -apache-2.0, expat -apache-2.0+expat -apache-2.0 generated file -apache-2.0~glozer -apache 2.0 | gpl 3 -apache-2.0-lans -apache-2.0 | mpl-1.1 -apache-2.0 or artistic-2 or bsd-3-clause or gpl-3 or expat or mpl-2.0 -apache-2.0 or artistic or gpl-1+ -apache-2.0 or artistic or gpl-2+ -apache-2.0 or boost-1.0 -apache-2.0 or bsd -apache-2.0-or-bsd -apache-2.0 or bsd-2 -apache-2.0 or bsd-2-clause -apache-2.0 or bsd-2-clause -apache-2.0-or-bsd-2-clause -apache-2.0 or bsd-2-clause-netbsd -apache-2.0 or bsd-2-clause or bsd-3-clause or bsl-1.0 or expat or isc or x11 or zlib/libpng or public-domain -apache-2.0 or bsd-2-clause or bsd-3-clause or expat or isc or unicode or x11 or zlib/libpng or public-domain -apache-2.0 or bsd-2-clause or bsd-3-clause or isc or unicode or x11 or zlib/libpng or public-domain -apache-2.0 or bsd-2-clause or bsd-3-clause or isc or x11 or zlib/libpng or public-domain -apache-2.0 or bsd-2-clause or expat -apache-2.0 or bsd-2-clause or lgpl-2.1+ apache-2.0 OR bsd-simplified OR lgpl-2.1-plus -apache-2.0 or bsd-2-clause or lgpl-2.1+ or cddl-1.1 or gpl-2 with classpath exception -apache-2.0 or bsd-3-clause -apache-2.0 or bsd-3-clause~google -apache-2.0 or bsd-3-clause or expat -apache-2.0 or bsd-3-clause or expat -apache-2.0 or bsd-3-clause or isc -apache-2.0-or-bsd-3-clauses -apache-2.0 or bsl-1.0 -apache-2.0 or cc0-1.0 -apache-2.0 or cc0-1.0 or openssl -apache-2.0 or cddl-1.1 or gpl-2 with classpath exception -apache-2.0 or cddl or epl-1.0 or lgpl-2 or lgpl-2.1 -apache-2.0 or epl-1.0 -apache-2.0 or expat -apache-2.0 or expat -apache-2.0 or expat or bsd-3-clause -apache-2.0 or expat or ofl-1.1 -apache-2.0 or gpl -apache 2.0 or gpl-2+ -apache-2.0 or gpl-2 -apache-2.0 or gpl-2 -apache-2.0 or gpl-2+ -apache-2.0-or-gpl-2.0 -apache-2.0 or gpl-3 -apache-2.0 or gpl-3+ -apache-2.0 or gpl-3+_bisonexception -apache-2.0 or gpl-3+ with font exception -apache 2.0 or gpl v2 -apache-2.0 or isc or mit -apache-2.0 or lgpl-2+ -apache-2.0 or lgpl-2.1 -apache-2.0 or lgpl-2.1+ -apache-2.0 or lgpl-3 -apache-2.0 or lgpl-3+ -apache-2.0 or lgpl-3+ or gpl-2 -apache-2.0 or lgpl-3+ or lgpl-2+ -apache-2.0 or minipack -apache-2.0 or mit -apache-2.0 or mit -apache-2.0-or-mit -apache-2.0 or mit/x11 -apache-2.0 or mit/x11~bsd-like or isc or unicode -apache-2.0 or mpl-1.1 or gpl-2+ -apache-2.0 or mpl-2.0 -apache-2.0 or ofl-1.1 -apache-2.0 or other -apache-2.0 or other3 -apache-2.0 or public-domain -apache 2.0 | other -apache-2.0 | other -apache 2.0 (see above) -apache-2.0+vtk-copyright -apache-2.0-with-gpl2-lgpl2-exception -apache-2.0-with-gpl2-lgpl2-exception or bsd-2-clause -apache-2.0 with gpl exception -apache-2.0 with (l)gpl-2 exception -apache-2.0 with llvm exception -apache-2.0 with llvm exception or apache-2.0 or mit -apache-2.0-with-llvm-exceptions -apache-2-and-bsd-3-clause -apache-2-and-bsd-3-clauses -apache-2 and expat and expat or gpl-2 -apache-2 and mdt -apache-2, gpl-3.0+ -apache-2-licence -apache-2-llvm-exceptions -apache-2-modified -apache-2 or bsd-2-clause -apache-2 or bsd-3-clause -apache-2-or-bsd-3-clause -apache-2 or bsd-3-clause or expat -apache-2 or epl or lgpl-2.1 -apache-2 or expat -apache-2 or gpl-2 -apache2 or gpl-2 -apache-2 or gpl-3+ with font exception -apache-2 with link exception -apache and psf-2 -apache and python -apache-colorbrewer -apache license -apache-license-1.1 -apache license 2.0 -apache license 2.0 -apache license 2.0 (see above) -apache license v2.0 -apache license v2 (/usr/share/common-licenses/apache-2.0) -apache license version 1.0 -apache license (version 2.0) -apache license version 2.0 -apache license version 2.0 -apache license, version 2.0 -apache-license-version-2.0 -apache+nuitka_comment -apache+nuitka_test_origin -apache or bsd-2-clause -apache or expat -apache or gpl-2 -apache software license version 1.1 -apache software license, version 1.1 -apache software license version 2.0 -apache software license, version 2.0 -apache-style-software-license-version-1.1 -apache-v2+ -apache (v2.0) -apache (v2.0) generated file -apache with core security technologies-pysmb exceptions -apafml -apl -apl-1.0 -apl-1.0 or gpl-2 -apl-2.0 -apple -apple -apple-bsd -apple-bsd -apple-bsd -apple bsd-style license -apple-dsc -apple-license -apple-mit-license -apple-permissive -apple-permissive -apple public source license version 1.1 -application.js -apsl-2 -apsl-2.0 -apsl-2.0 or bsd-4-clause -ar30 -ar30 or gpl-2+ -arb -arev fonts -arev-fonts -arev-fonts-copyright -arl-bsd -arm -arm_license -arphic -arphic public license -arphic-public-license -arphic-public-license -arphic-public-license and, cc-by-sa-3.0 or cc-by-sa-4.0 -arp_permissive -arrl -artisic -artistic -artistic-1 -artistic-1.0 -artistic-1.0 and tinymud-revised -artistic-1.0-perl -artistic-1.0-perl or gpl-2+ -artistic-1 or gpl-1+ -artistic-1_or_gpl-1+ -artistic-2 -artistic 2.0 -artistic-2.0 -artistic-2.0 | artistic | gpl-1+ -artistic-2.0 | gpl-3 -artistic-2.0 or artistic or gpl-1+ -artistic-2.0 or gpl-1+ -artistic-2.0 or gpl-2 -artistic-2.0 or gpl-2+ -artistic-2.0 or gpl-3+ -artistic-2.0 or isc -artistic-2.0 or lgpl-2 -artistic-2.0 or lgpl-2.1 -artistic-2.0 or lgpl-3 -artistic-2.1 -artistic-2 or artistic or gpl-1+ -artistic-2 or gpl-1+ -artistic-2 or lgpl-2 -artistic and gpl-1+ -artistic and info-zip -artistic, available at /usr/share/common-licenses/artistic -artistic_clarified -artistic_clarified or lgpl-2.1+ -artistic_clarified or lgpl-2.1-ion -artistic-cracklib -artistic-dist -artistic_frontier -artistic | gpl-1 -artistic | gpl-1+ -artistic | gpl-1+ | artistic-2 -artistic | gpl-1+ | gpl-3+ -artistic | gpl-1+, other -artistic | gpl-2 -artistic | gpl-2+ -artistic license -artistic license -artistic license 1.0 -artistic license 2.0 -artistic-license-2.0 -artistic license or gpl-1+ -artistic or artistic-2.0 or gpl-1+ -artistic or bsd-3-clause or gpl-2 or lgpl-2 -artistic or bsd or gpl-2 or lgpl-2 -artistic or expat or gpl-2 -artistic or gpl -artistic or gpl-1 -artistic or gpl-1+ -artistic or gpl+1 -artistic-or-gpl-1+ -artistic or gpl-1.0+ -artistic or gpl-1+ and apache-1.1 -artistic or gpl-1+, and apache-2.0 and other -artistic or gpl-1+, and other -artistic or gpl-1+, and public-domain -artistic or gpl-1+ or apache-2.0 -artistic or gpl-1+ or artistic-2 -artistic or gpl-1+ or artistic-2.0 -artistic or gpl-1+ or artistic-2.0 or bsd-3-clause or expat -artistic or gpl-1+ or artistic-2.0 or bsd or mit -artistic or gpl-1+ or artistic-2.0 or lgpl-3 -artistic or gpl-1+ or artistic-dist -artistic or gpl-1+ or beer-ware -artistic or gpl-1+ or bsd -artistic or gpl-1+ or bsd-2-clause -artistic or gpl-1+ or bsd-2-clause -artistic or gpl-1+ or bsd-3 -artistic or gpl-1+ or bsd-3-clause -artistic or gpl-1+ or expat -artistic or gpl-1+ or gpl-2+ -artistic or gpl-1+ or gpl-3 -artistic or gpl-1+ or gpl-3+ -artistic or gpl-1+ or lgpl-2+ -artistic or gpl-1+ or lgpl-2.1 -artistic or gpl-1+ or lgpl-2.1+ -artistic or gpl-1+ or mit -artistic or gpl-1+ or other -artistic or gpl-1+ or zsh -artistic or gpl-1+, other -artistic or gpl-2 -artistic or gpl-2+ -artistic or gpl-2+ or lgpl-2.1+ -artistic or gpl-3 -artistic or gpl-3+ -artistic or lgpl-2.1 -artistic or lgpl-2.1+ -asa -ashton-show-copyright -as_is -as_is -as_is -as-is -as-is -as-is+gpl-2+ -as-is-i -as-is-ii -asl2 apache-2.0 -asl-2 apache-2.0 -asl-2.0 apache-2.0 -aslv2 apache-2.0 -asm is licensed under bsd license. -asn1js-license -as the jquery jqtouch plugin: mit -atomicops -att -at&t -att-permissive -attribution -attribution, sharealike. -atttribution -australian-national-university -author-grant~1 -authorship -autobuild-free -autoconf -autoconf-archive -autoconf-archive-permissive -autoconf exception -autoconf-permissive -automoc -__auto_permissive__ -auto-permissive -autoreconf-free -autosetup-license -autossh -autossh and autossh or isc-openbsd-flavour or miros or isc-miros-flavour -autossh and isc-openbsd-flavour -autotools-artefacts -awf-variant -ax_compare_version -axfnz0h8dcperlartistic -axfnz0h8dcperlartistic and gpl-2+ -ax-free -ax_lib_gdal -axon1 -axon2 -axvc -b64.c -baekmuk-mit-like -bakoma -bakoma -bareos -base64 -base64-license -base64-other -batang-license -battelle-bsd-style -battle-tanks-license -bawden -bbs-3-clause -bcca-academic -bcca-academic or gpl-3+ -bdm-adhoc -bds-3 -bds-3-clause -bds-3-clause -bds-3-clause(modified) -beerware -beer-ware -beer-ware -beer-ware -beerware-bsd -beerware-bsd-3-clause -beerware-bsd and bsd-3-clause -beerware or mpl-2.0 -behrens -bellcore -beneath-a-steel-sky-license -benz -berkeley -bespoke -bewig -bibtex -bibtex-plain-bst -bibtex-style -binary redistribution -binary redistribution (abilis) -binary redistribution (amd permissive) -binary redistribution (amd restrictive) -binary redistribution (atheros) -binary redistribution (chelsio) -binary redistribution (comtrol) -binary redistribution (conexant) -binary redistribution (creative) -binary redistribution (dibcom) -binary redistribution (ene) -binary redistribution (intel) -binary redistribution (intel 1) -binary redistribution (intel 2) -binary redistribution (intel 3) -binary redistribution (intel, narrower patent license) -binary redistribution (itetech) -binary redistribution (marvell 1) -binary redistribution (marvell 2) -binary redistribution (matrox) -binary redistribution (mediatek) -binary redistribution (moxa) -binary redistribution (mts) -binary redistribution (nxp) -binary redistribution (qlogic 1) -binary redistribution (qlogic 2) -binary redistribution (qlogic 3) -binary redistribution (qlogic br-series) -binary redistribution (qualcomm atheros) -binary redistribution (ralink) -binary redistribution (realtek permissive) -binary redistribution (realtek restrictive) -binary redistribution (rockchip) -binary redistribution (terratec) -binary redistribution (wl1251) -binary redistribution (xceive) -bind license and apache-2.0 and digital equipment corporation license -biopython -biopython-license-agreement -biquad -bison-gpl-3+ -bitstream -bitstream -bitstream -bitstream-arev -bitstream-font-license -bitstream license -bitstreams-vera-fonts -bitstreamvera -bitstream_vera -bitstream-vera -bitstream-vera -bitstream-vera-copyright -bitstream-vera-font-license -bitstream vera fonts -bitstream-vera-fonts -bitstream-vera-fonts -bitstream vera fonts and arev fonts -bitstream-vera-fonts and arev-fonts -bitstream vera fonts copyright -bitstream-vera-fonts-copyright -bitstream-vera-fonts-copyright and arev-fonts-copyright -bitstream-vera-license -bittorrent-1.1 -bitzi-public-domain -biznet -bjam -bla -blaze-svg license -blf -bmgl -bob-jenkins -bob jenkins license -boehm_gc -bola -bola-1.0 -bola-1.1 -bola buena onda license agreement (v1.0) -boost -boost -boost -boost1 -boost-1 -boost 1.0 -boost-1.0 -boost-1.0 -boost-1.0 -boost-1.0 or expat -boostacmacros -boost and bsd3 -boostbook -boost-douglas-gregor -boost-license-1.0 -boost-paul-moore -boost-permissive -boost software license -boost software license -boost_software_license -boost-software-license -boost-software-license -boost-software-license -boost software license 1.0 -boost-software-license-1.0 -boostsoftwarelicense1.0 -boost-software-license or gpl-2 or gpl-3 -boost software license ver 1. -boost_software_license_ver_1 -boost software license - version 1.0 -boost software license, version 1.0 -boost software license, version 1.0. -boost software license, version 1.0 -boost software license - version 1.0 - august 17th, 2003 -boost_ver_1 -bormann-degener -both the parts from polarssl and the original code are licensed -bouncycastle -boxes license -boyer -brg-endian -brother software open license agreement -brownun_uncalifornia_erikcorry -browserlauncher -bruce-walsh -brumme-modified-zlib -bsd -bsd -(bsd) -bsd_ -bsd__ -bsd___ -bsd-0-clause -bsd-0-clause and mpl-2.0 -bsd1 -bsd_1 -bsd-1 -bsd-124-clause-ucb -bsd-1 and bsd-2 -bsd-1-clause -bsd-1-clause -bsd-1-clause -bsd-1-clause and python-2.0 -bsd-1-clause-ucb -bsd2 -bsd_2 -bsd-2 -bsd-2.0-clause -bsd2-1 -bsd2-2 -bsd2-3 -bsd2-4 -bsd2-5 -bsd2-6 -bsd2-7 -bsd2-8 -bsd2-9 -bsd2 and bsl-1.0 -bsd-2-apple -bsd-2-apple or bsd-2-mips -bsd-2c -bsd (2 clause) -bsd (2 clause) -bsd (2-clause) -bsd 2 clause -bsd 2-clause -bsd 2-clause -bsd-2clause -bsd-2clause -bsd-2clause -bsd-2-clause -bsd-2-clause -bsd-2-clause -bsd-2-clause -bsd-2-clause -bsd-2-clause -bsd-2-clause -bsd-2-clause: -bsd-2-clause: -bsd2-clause -bsd-2-clause-1 -bsd-2-clause_a -bsd-2-clause~aes -bsd-2-clause-alike -bsd-2-clause-allowed-endorsement -bsd-2-clause~although -bsd-2-clause/amqp -bsd-2-clause and apache -bsd-2-clause and apache-2.0 -bsd-2-clause and apache-2.0 -bsd-2-clause and bsd-124-clause-ucb -bsd-2-clause and bsd-1-clause-ucb -bsd-2-clause and bsd-3-clause -bsd-2-clause and bsd-3-clause -bsd-2-clause and bsd-3-clause -bsd-2-clause and bsd-3-clause and bsd-4-clause -bsd-2-clause and bsd-3-clause and bsd-4-clause and apache-2.0 -bsd-2-clause and bsd-3-clause and gpl-3+ -bsd-2-clause and bsd-3-clause and isc and x11 and powell and tatuylonen -bsd-2-clause and bsd-3-clause~miscount -bsd-2-clause and bsd-3-clause-ucb -bsd-2-clause and cmu -bsd-2-clause and dec -bsd-2-clause and doc -bsd-2-clause and expat -bsd-2-clause and gpl-2+ -bsd-2-clause and gpl-2+ -bsd-2-clause_and_gpl-2+ -bsd-2-clause, and gpl-2 or expat, and afl-2.1+ or bsd-3-clause-jsf, and expat -bsd-2-clause and gpl-3 -bsd-2-clause and gpl-3 with nco exception -bsd-2-clause-and-independent-jpeg-group -bsd-2-clause and lgpl-2+ -bsd-2-clause and lgpl-2.1 -bsd-2-clause and lgpl-2.1+ -bsd-2-clause and lgpl-2.1+ -bsd-2-clause and lgpl-2+ and lgpl-2.1+ -bsd-2-clause and lgpl-3+ -bsd-2-clause and misc3 -bsd-2-clause and mit~nuclear and publicdomain -bsd-2-clause and mpl-2.0 -bsd-2-clause and permissive -bsd-2-clause, and tatuylonen -bsd-2-clause and zlib -bsd-2-clause+apple -bsd-2-clause~author -bsd-2-clause~author -bsd-2-clause-author -bsd-2-clause~author or gpl-2+ -bsd-2-clause-beyond -bsd-2-clause-carnegie -bsd-2-clause-chemeris -bsd-2-clause-cmu -bsd-2-clause~contributors -bsd-2-clause (darwin) -bsd-2-clause-darwin -bsd-2-clause-discount -bsd-2-clause-extended -bsd-2-clause~freebsd -bsd-2-clause-freebsd -bsd-2-clause-freebsd -bsd-2-clause-freebsd and bsd-4-clause -bsd-2-clause-gasparovski -bsd (2 clause) generated file -bsd-2-clause-gocapability -bsd (2 clause), gpl (v2 or later) -bsd-2-clause~holder -bsd-2-clause~holders -bsd-2-clause-intel -bsd (2 clause) isc -bsd-2-clause-jakob -bsd-2-clause-junction -bsd-2-clause-krah -bsd-2-clause-lagraph -bsd (2 clause)/lgpl 2 (or later)/lgpl 2.1 (or later) -bsd-2-clause-libmagic -bsd 2-clause license -bsd-2-clause license -bsd 2 clause-like -bsd-2-clause-like -bsd-2-clause-linaro -bsd-2-clause-linaro or gpl-2+ -bsd-2clause-madorypang -bsd-2-clause-miller -bsd (2 clause) mit/x11 (bsd like) -bsd-2-clause_(modified) -bsd-2-clause-modified -bsd-2-clause-modified -bsd-2-clause~moskalchuk -bsd-2-clause~moskalchuk and gpl-2+ -bsd-2-clause-netbsd -bsd-2-clause-netbsd -bsd-2-clause-netbsd -bsd-2-clause-netbsd -bsd-2-clause-netbsd and isc -bsd-2-clause-no-conditions -bsd-2-clause/openib -bsd-2-clause-openjpeg -bsd-2-clause/openssh -bsd-2-clause or apache-2.0 -bsd-2-clause or artistic or gpl-1+ -bsd-2-clause or artistic or gpl-1+ -bsd-2-clause or bsd-3-clause -bsd-2-clause or bsd-3-clause or bsl-1.0 or lgpl-2.1+ -bsd-2-clause or bsl -bsd-2-clause or cc-by-3.0 -bsd-2-clause or expat -bsd-2-clause or fsfullr -bsd-2-clause or gpl -bsd-2-clause or gpl-2 -bsd-2-clause or gpl-2+ -bsd-2-clause or gpl-2+ -bsd-2-clause or gpl2+ -bsd-2-clause or gpl-2.0+ -bsd-2-clause or gpl-2 or lgpl-2+ -bsd-2-clause or gpl-3+ -bsd-2-clause or gpl-3 or lgpl-3+ -bsd-2-clause or gpl and public domain -bsd-2-clause or isc -bsd-2-clause_or_lgpl-2+ -bsd-2-clause or lgpl-2.1 -bsd-2-clause or lgpl-2.1+ -bsd-2-clause or lgpl-2.1+ -bsd-2-clause or psf-2 -bsd-2-clause or python -bsd-2-clause or python-2 -bsd-2-clause or ruby -bsd-2-clause or ruby -bsd-2-clause or ruby, and psf -bsd-2-clause or rubylicense -bsd-2-clause or ruby or lgpl-2.1 -bsd-2-clause or ruby's -bsd-2-clause or wtfpl-2 -bsd-2-clause or wtfpl-2 -bsd-2-clause-rcrowley -bsd-2-clause~really -bsd-2-clause-regents -(bsd 2 clauses) -bsd (2 clauses) -bsd-2-clauses -bsd-2-clauses -bsd 2-clause; see file license-foss -bsd-2-clause-simplified -bsd-2-clause-sphinx -bsd-2-clause/sphinx -bsd-2-clause-style -bsd-2-clause-svgpan -bsd-2-clause-texas -bsd-2-clause-uc -bsd-2-clause-un -bsd-2-clause-variant -bsd-2-clause-verbatim -bsd-2-clause-with-faulty-third-clause -bsd-2-clause~with-minor-differences-in-the-disclaimer -bsd-2-clause with ssh exception -bsd-2-clause-x-scale -bsd-2-cluase -bsd-2-cluase -bsd-2-generic -bsd-2-gpl -bsd-2+gpl-2 -bsd-2-ish -bsd-2-mark-modifications -bsd-2-mips -bsd-2-mozilla-foundation -bsd-2 or gpl-2+ -bsd-2 or gpl-2, and bsd-3 and expat -bsd-2 or other -bsd-2 | other -bsd-2, other-bsd -bsd-2-sun -bsd-2-vut -bsd3 -(bsd-3) -bsd-3 -bsd-3: -bsd-3.0-clause -bsd3-1 -bsd3-10 -bsd3-11 -bsd3-12 -bsd3-13 -bsd3-14 -bsd3-15 -bsd3-16 -bsd3-17 -bsd3-18 -bsd3-19 -bsd3-2 -bsd3-20 -bsd3-21 -bsd3-22 -bsd3-23 -bsd3-24 -bsd3-25 -bsd3-26 -bsd3-27 -bsd3-28 -bsd3-29 -bsd3-3 -bsd3-30 -bsd3-31 -bsd3-32 -bsd3-33 -bsd3-34 -bsd3-35 -bsd3-4 -bsd3-5 -bsd3-6 -bsd3-7 -bsd3-8 -bsd3-9 -bsd-3a -bsd-3-adg -bsd-3-aist -bsd-3-amd -bsd-3 and expat -bsd-3 and lgpl-2.1-exception -bsd-3 and matplotlib -bsd-3 and mit -bsd-3 and other-bellcore -bsd-3 and rsa-license -bsd-3-apple -bsd-3-assurance -bsd-3-bendersky -bsd-3-bendersky -bsd-3c -bsd-3c -bsd-3-cambridge-google -bsd-3-chromium -bsd-3-cisco -bsd-3-clasue -bsd-3-clasue -bsd3clause -bsd (3 clause) -bsd (3-clause) -bsd (3-clause) -bsd 3-clause -bsd_3_clause -bsd-3-clause -bsd-3-clause -bsd-3-clause -bsd-3-clause -bsd-3-clause -bsd-3-clause -bsd-3-clause -bsd-3-clause -bsd-3-clause -bsd-3-clause: -bsd/3-clause -bsd3-clause -bsd3-clause -bsd-3-clause -bsd-3-clause -bsd-3-clause-1 -bsd-3-clause-1 -bsd-3-clause-2 -bsd-3-clause-2 -bsd-3-clause-3 -bsd-3-clause~4 -bsd-3-clause~4 -bsd-3-clause-4 -bsd-3-clause~4 and mit~umich -bsd-3-clause_a -bsd-3-clause-aaron-d-gifford -bsd-3-clause-abe -bsd-3-clause-adam-barth -bsd-3-clause-adib -bsd-3-clause-adib and expat -bsd-3-clause~adobe -bsd-3-clause-adobe -bsd-3-clause-adobe -bsd-3-clause-adobe -bsd-3-clause+advertising_restriction -bsd-3-clause~aes or gpl-1+ -bsd-3-clause-agg -bsd-3-clause-ajax -bsd-3-clause-akiba -bsd-3-clause-alike-alexander-chemeris -bsd-3-clause-alike-creatis -bsd-3-clause-alike-jan-de-vaan -bsd-3-clause-alike-mathieu-malaterre -bsd-3-clause-alike-nrrdio -bsd-3-clause-alike-theodore-ts -bsd-3-clause-alike-wxwidgets -bsd-3-clause and additional-restrictions -bsd-3-clause-and-additional-restrictions -bsd-3-clause and agpl-3+ -bsd-3-clause and apache-1.1 -bsd-3-clause and apache-2.0 -bsd-3-clause and apache-2.0 -bsd-3-clause and apache-2.0 -bsd-3-clause and apache and expat -bsd-3-clause and bellcore -bsd-3-clause and bsd-2-clause -bsd-3-clause and bsd-3-clause-feature-blend -bsd-3-clause and bsd-3-clause-realdolmen -bsd-3-clause and bsd-3-clause with icot term -bsd-3-clause and bsd-3-clause-zend -bsd-3-clause and bsd-rsa -bsd-3-clause and bsd/superlu and xerox -bsd-3-clause and bsl -bsd-3-clause and bsl-1.0 and llvm -bsd-3-clause and cc0-1.0 -bsd-3-clause and cc-by-sa-3.0 -bsd-3-clause and cc-by-sa-4.0 and public-domain -bsd-3-clause and dec -bsd-3-clause and dec -bsd-3-clause and expat -bsd-3-clause and expat -bsd-3-clause and expat~intact -bsd-3-clause and ftl -bsd-3-clause and gpl-2 -bsd-3-clause and gpl-2+ -bsd-3-clause and gpl-2+ -bsd-3-clause_and_gpl-2+ -bsd-3-clause and gpl-2+ or lgpl-3+ -bsd-3-clause and gpl-3 -bsd-3-clause and gpl-3+ -bsd-3-clause and gpl-3.0+ -bsd-3-clause and gpl-3+_bisonexception -bsd-3-clause and isc -bsd-3-clause and lgpl -bsd-3-clause and lgpl-2+ -bsd-3-clause and lgpl-2+ -bsd-3-clause_and_lgpl-2+ -bsd-3-clause and lgpl-2.1 -bsd-3-clause and lgpl-2.1+ -bsd-3-clause and lgpl-2.1+ -bsd-3-clause and lgpl-2.1-or-3 with qt-1.1 exception -bsd-3-clause and lpd-md5 -bsd-3-clause and mit -bsd-3-clause and mit -bsd-3-clause and mit and bsd-randolph-franklin -bsd-3-clause and mit~umich -bsd-3-clause and mit/x11 -bsd-3-clause and nvidia -bsd-3-clause and old-mit-kerberos -bsd-3-clause and old-mit-kerberos -bsd-3-clause and old-mit-kerberos and ov -bsd-3-clause and/or epl-1.0 -bsd-3-clause and original-steve-license -bsd-3-clause and other -bsd-3-clause and ov -bsd-3-clause and permissive-disclaimer and gpl-2+ -bsd-3-clause and permissive-ps -bsd-3-clause and php-3.01 -bsd-3-clause and pipeline-associates-ps -bsd-3-clause and psf-2 -bsd-3-clause and psf-2 and unicode -bsd-3-clause and pycrypto -bsd-3-clause and rsa -bsd-3-clause and rsa-license -bsd-3-clause and sendmail -bsd-3-clause and snack-bsd-like -bsd-3-clause and sosl -bsd-3-clause and tcltk -bsd-3-clause and x11~tog -bsd-3-clause and zlib -bsd-3-clause-apple -bsd-3-clause-apple-mozilla -bsd-3-clause-arm -bsd-3-clause-arm -bsd-3-clause-arne-blankerts -bsd-3-clause-arne-blankerts and apache-2.0 -bsd-3-clause-atlas -bsd-3-clause-attribution -bsd-3-clause-aura -bsd-3-clause~author -bsd-3-clause~author -bsd-3-clause-author -bsd-3-clause-author1 -bsd-3-clause-author2 -bsd-3-clause-author-endorsement-variant -bsd-3-clause-authors-copyright-holders -bsd-3-clause-avr-libc -bsd-3-clause~axiomatic -bsd-3-clause-axiomatic -bsd-3-clause~axtls -bsd-3-clause_b -bsd-3-clause~bloomberg -bsd-3-clause-bnbi -bsd-3-clause-brack3t -bsd-3-clause~brush -bsd-3-clause-brush-technology -bsd-3-clause~bstrlib -bsd-3-clause~bstrlib -bsd-3-clause~bstrlib or gpl-2 -bsd-3-clause~bstrlib or gpl-2 -bsd-3-clause~cambridge -bsd-3-clause (cambridge) -bsd-3-clause-cambridge -bsd-3-clause-canon -bsd-3-clause-carnegie -bsd-3-clause~casdevteam -bsd-3-clause-chemeris -bsd-3-clause-chemeris -bsd-3-clause-chishm -bsd-3-clause-chisholm -bsd-3-clause~christian -bsd-3-clause-chromium -bsd-3-clause~circonus -bsd-3-clause~cisco -bsd-3-clause+cla -bsd-3-clause-clear -bsd-3-clause-cmake -bsd-3-clause-cmake-new -bsd-3-clause-code-aurora -bsd-3-clause/colormap -bsd-3-clause~contributors -bsd-3-clause~contributors-author -bsd-3-clause~contributors or w3c-test-suite -bsd-3-clause-copyright-holder -bsd-3-clause-copyrightholders -bsd-3-clause-copyright-holders-contributors -bsd-3-clause-creative -bsd-3-clause-crypto -bsd-3-clause~cryptojs -bsd-3-clause-csiro -bsd-3-clause-cssselect -bsd-3-clause~ctppteam -bsd-3-clause-custom -bsd-3-clause~d3 -bsd-3-clause_d3 -bsd-3-clause-d3 -bsd-3-clause~dan -bsd-3-clause-data-folk-labs -bsd-3-clause-datatables -bsd-3-clause-debian -bsd-3-clause-default -bsd-3-clause-des -bsd-3-clause~difflib -bsd-3-clause~digital-bazaar -bsd-3-clause~digital-bazaar~odd -bsd-3-clause-discount -bsd-3-clause-diy2 -bsd-3-clause~django -bsd-3-clause-django -bsd-3-clause~django and bsd-3-clause~patrick -bsd-3-clause-django-imagekit -bsd-3-clause~dm -bsd-3-clause-dogon -bsd-3-clause~dojo -bsd-3-clause-dojo -bsd-3-clause-dojo and bsd-3-clause-yahoo -bsd-3-clause-dojo or afl-2.1-clause-dojo -bsd-3-clause-dojo or expat -bsd-3-clause-ecma -bsd-3-clause-ecma -bsd-3-clause-endance -bsd-3-clause-ep -bsd-3-clause-erfa -bsd-3-clause-ericsson -bsd-3-clause-eric-young -bsd-3-clause-esa-csr4 -bsd-3-clause-evanjones -bsd-3-clause~ewm -bsd-3-clause-ewm -bsd-3-clause/ewm -bsd-3-clause-ez -bsd-3-clause-facebook -bsd-3-clause~fairoakslabs -bsd-3-clause-feature-blend -bsd-3-clause~fizsh -bsd-3-clause~fizsh and bsd-3-clause~zsh-syntax-highlighting contributors -bsd-3-clause-flask -bsd-3-clause-flens -bsd-3-clause-flens and bsd-3-clause -bsd-3-clause-fontbox -bsd-3-clause-fraunhofer -bsd-3-clause-from-qualcomm-atheros -bsd-3-clause-from-qualcomm-atheros and bsd-4-clause-from-regents or gpl-2 -bsd-3-clause-from-qualcomm-atheros or gpl-2 -bsd-3-clause-from-regents -bsd-3-clause-gdmodule-license -bsd (3 clause) generated file -bsd-3-clause (generic) -bsd-3-clause (generic) -bsd-3-clause-generic -bsd-3-clause-generic -bsd-3-clause-generic -bsd-3-clause-generic -bsd-3-clause-giles -bsd-3-clause-glew -bsd-3-clause-glew -bsd-3-clause-go -bsd-3-clause-go -bsd-3-clause~google -bsd-3-clause~google -bsd-3-clause (google) -bsd-3-clause-google -bsd-3-clause-google -bsd-3-clause-google -bsd-3-clause+google -bsd-3-clause-google -bsd-3-clause~google and expat -bsd-3-clause-google and expat -bsd-3-clause~google and lgpl-2.1+~libav -bsd-3-clause-google-jemalloc -bsd (3 clause) gpl-2 -bsd-3-clause-grpc-opentracing -bsd-3-clause-gtest -bsd-3-clause~hildenborg -bsd-3-clause-hildenborg -bsd-3-clause/hinge -bsd-3-clause-hiroshima-university -bsd-3-clause-hiroshima-university -bsd-3-clause-hodgepodge -bsd-3-clause~holders -bsd-3-clause-hoyt -bsd-3-clause-hp -bsd-3-clause-hsqldb -bsd-3-clause-hsqldb and bsd-3-clause-hypersonic -bsd-3-clause-hts -bsd-3-clause-hypersonic -bsd-3-clause~ietf -bsd-3-clause~ijg -bsd-3-clause~illinois -bsd-3-clause-ilm -bsd-3-clause-inferno -bsd-3-clause~ingate -bsd-3-clause-inih -bsd-3-clause-institute -bsd-3-clause-institute -bsd-3-clause~intel -bsd-3-clause~intel -bsd-3-clause-intel -bsd-3-clause-intel -bsd-3-clause-intel -bsd-3-clause/intel -bsd-3-clause~intel or gpl-2 -bsd-3-clause-intel-variant -bsd-3-clause-iperf -bsd-3-clause-iperf+mit/x11+bsd-3-clause -bsd (3 clause) isc -bsd-3-clause-itronix -bsd-3-clause-itronix and bsd-2-clause -bsd-3-clause-jgit -bsd-3-clause-jochen-kalmbach -bsd-3-clause~johansen -bsd-3-clause-john-birrell -bsd-3-clause~johnmacfarlane -bsd-3-clause~johnmacfarlane or gpl-2+ -bsd-3-clause-jpeg -bsd-3-clause-jsf -bsd-3-clause~kitware -bsd-3-clause-kitware -bsd-3-clause-kitware -bsd-3-clause-kth -bsd-3-clause-lbnl -bsd-3-clause-lbnl and bsd-3-clause -bsd-3-clause-letterror -bsd-3-clause/lgpl-2.1 -bsd-3-clause~libetpan -bsd-3-clause~libetpan and rsa-md -bsd 3-clause license -bsd-3-clause license -bsd-3-clause like -bsd-3-clause-like -bsd-3-clause-like or expat -bsd-3-clause-llns-additional-notice -bsd-3-clause-lockless -bsd-3-clause-lwip -bsd-3-clause-mb -bsd-3-clause-mdb2 -bsd-3-clause-meissner -bsd-3-clause-metaio -bsd-3-clause-microsoft -bsd-3-clause-miekg -bsd-3-clause-miller -bsd-3-clause-mingw-w64 -bsd-3-clause (miniupnpc) -bsd-3-clause-miniupnpc -bsd-3-clause~miscount -bsd-3-clause-modified -bsd-3-clause-motorola -bsd-3-clause-msinttypes -bsd-3-clause~mt -bsd-3-clause-mtrand -bsd-3-clause-musepack -bsd-3-clause~nicholas -bsd-3-clause-nickel -bsd-3-clause-nicolas-garcia-belmonte -bsd-3-clause-nordic -bsd-3-clause-norm2782 -bsd-3-clause-np -bsd-3-clause-nrrdio -bsd-3-clause~nullsoft -bsd-3-clause-numpy -bsd-3-clause-nvidia-license -bsd-3-clause-o2 -bsd-3-clause~o'brien -bsd-3-clause˜o'brien -bsd-3-clause-okada -bsd-3-clause~okf -bsd-3-clause-ontologies -bsd-3-clause-ontologies or cc-by-sa-3.0 -bsd-3-clause-opaque-industries -bsd-3-clause-openemu-team -bsd-3-clause-opera -bsd-3-clause or academic -bsd-3-clause-oracle -bsd-3-clause-oracle -bsd-3-clause or afl-2.1 -bsd-3-clause or afl-2.1+ -bsd-3-clause or afl-2.1+, and expat -bsd-3-clause or aggpl-2.3 -bsd-3-clause or apache-2.0 -bsd-3-clause or apache-2.0 -bsd-3-clause-or-apache-2.0 -bsd-3-clause or artistic or gpl-1+ -bsd-3-clause or artistic or gpl-1+ -bsd-3-clause or bsd-2-clause -bsd-3-clause or bsd-2-clause -bsd-3-clause or bsl-1 or expat -bsd-3-clause or cc-by-3.0 or gpl-2+ -bsd-3-clause or expat -bsd-3-clause or expat -bsd-3-clause or expat, and expat -bsd-3-clause or expat or apache-2 -bsd-3-clause or expat or gpl-2 -bsd-3-clause or expat or gpl-3+ -bsd-3-clause or fsf_unlimited -bsd-3-clause or gfdl-niv-1.2 or gpl-2+ or lgpl-2.1+ -bsd-3-clause or gpl-1+ -bsd (3 clause) or gpl-2 -bsd-3-clause or gpl-2 -bsd-3-clause or gpl-2 -bsd-3-clause or gpl-2+ -bsd-3-clause or gpl-2+ -bsd-3-clause or gpl-2.0 -bsd-3-clause_or_gpl-2.0 -bsd-3-clause or gpl-2, and lgpl-2.1 -bsd-3-clause or gpl-2 or gpl-3 -bsd-3-clause or gpl-2 or gpl-3, and bsd-3-clause-zend -bsd-3-clause or gpl-2 or gpl-3, and cc-by-3.0 and authorship -bsd-3-clause or gpl-2 or gpl-3, and cc-by-sa-3.0 -bsd-3-clause or gpl-2 or lgpl-2+ -bsd-3-clause or gpl-2 or lgpl-2.1 -bsd-3-clause or gpl-2+ or lgpl-2.1+ -bsd-3-clause or gpl-2+ or lgpl-2.1+ or mpl-1.1 -bsd-3-clause or gpl-2 with linux-syscall-note exception -bsd-3-clause or gpl-3+ -bsd-3-clause-original -bsd-3-clause or isc -bsd-3-clause or isc or public-domain -bsd-3-clause or lgpl -bsd-3-clause or lgpl-2 -bsd-3-clause or lgpl-2+ -bsd-3-clause_or_lgpl-2+ -bsd-3-clause or lgpl-2.0+ -bsd-3-clause or lgpl-2.1 -bsd-3-clause or lgpl-2.1 -bsd-3-clause or lgpl-2.1+ -bsd-3-clause or lgpl-2.1+ -bsd-3-clause or lgpl-2.1+ or mpl-1.1 -bsd-3-clause or lgpl-3.0+ or zlib -bsd-3-clause or mit -bsd-3-clause or mit -bsd-3-clause or mit-like-icu -bsd-3-clause or mit or gpl-2+ -bsd-3-clause or mpl-2.0 -bsd-3-clause or openldap -bsd-3-clause or other -bsd-3-clause or php-3.01 -bsd-3-clause or public-domain~md5 or public-domain~sha1 -bsd-3-clause or tcl -bsd-3-clause or w3c -bsd-3-clause or zope-2.1 -bsd-3-clause or zpl-2.1 -bsd-3-clause-osrf -bsd-3-clause-pacbio -bsd-3-clause-pacbio -bsd-3-clause/pacbio -bsd-3-clause-parakey -bsd-3-clause~patrick -bsd-3-clause-personal -bsd-3-clause-peter-wemm -bsd-3-clause-politechnico -bsd-3-clause~poly2tri -bsd-3-clause-poly2tri -bsd-3-clause-povalahev -bsd-3-clause~prime -bsd-3-clause-prime -bsd-3-clause~project -bsd-3-clause-project -bsd-3-clause~project and bsd-3-clause~regents -bsd-3-clause-proselint-copyright -bsd-3-clause-psutil -bsd-3-clauseq -bsd-3-clause~qrcode -bsd-3-clause-realdolmen -bsd-3-clause~redhat -bsd-3-clause~redis -bsd-3-clause-redis -bsd-3-clause~regents -bsd-3-clause-regents -bsd-3-clause~regents~4 -bsd-3-clause-regents and bsd-2-clause-netbsd -bsd-3-clause~repoze -bsd-3-clause-riesmeier -bsd-3-clause-rit -bsd-3-clause-robofab -bsd-3-clause-rotuoc -bsd-3-clause~rr -bsd (3 clauses) -bsd 3 clauses -bsd-3-clauses -bsd-3-clauses -bsd-3-clause-sabre -bsd-3-clause-sabredav -bsd-3-clause-sb -bsd-3-clause (send2trash) -bsd-3-clause-send2trash -bsd-3-clause_silverstripe -bsd-3-clause/skl -bsd-3-clause-slightly-changed -bsd-3-clause (smrgrav) -bsd-3-clause-smrgrav -bsd-3-clause-smu -bsd-3-clauses-or-apache-2.0 -bsd-3-clause-special -bsd-3-clause-standford-variant -bsd-3-clause-stanford -bsd-3-clause-stanford-willow -bsd-3-clause~statistics -bsd-3-clause-st-ericsson-sa -bsd-3-clause(st-ericsson-sa) -bsd-3-clause~stop -bsd-3-clause-strtod -bsd-3-clause~sun -bsd-3-clause~sun -bsd-3-clause-sun -bsd-3-clause-sun -bsd-3-clause-sun-microsystem -bsd-3-clause-svgpan -bsd-3-clause-swapoff -bsd-3-clause-tangentorg -bsd-3-clause~telsey -bsd-3-clause-thrandom_c -bsd-3-clause/tt -bsd-3-clause-ttf2pt1 -bsd-3-clause-twelvemonkeys -bsd-3-clause~typo -bsd-3-clause-uc -bsd-3-clause-uc-additional-notice -bsd-3-clause-ucb -bsd-3-clause-ucla and other -bsd-3-clause-uc or isc -bsd-3-clause-ucsd -bsd-3-clause-umass -bsd-3clause-uni -bsd-3-clause-university -bsd-3-clause-university-of-california -bsd-3-clause~usrsctp -bsd-3-clause-variant1 -bsd-3-clause-variant-10 -bsd-3-clause-variant-2 -bsd-3-clause-variant3 -bsd-3-clause-variant-4 -bsd-3-clause-variant-5 -bsd-3-clause-variant-6 -bsd-3-clause-variant-8 -bsd-3-clause-variant-9 -bsd-3-clause-vmlab -bsd-3-clause-voidspace -bsd-3-clause-voidspace -bsd-3-clause-vs -bsd-3-clause-vxl -bsd-3-clause~w3c -bsd-3-clause+w3c -bsd-3-clause~wilson-synesis -bsd-3-clause_with_addition -bsd-3-clause with additional restrictions -bsd-3-clause with disclosure exception -bsd-3-clause with hpnd -bsd-3-clause with hpnd exception -bsd-3-clause with icot term -bsd-3-clause-with-icot-term -bsd-3-clause with libopts exception -bsd-3-clause-with-libpcap -bsd-3-clause-with-mpeg-2-blurb -bsd-3-clause with no-gpl exception -bsd-3-clause-with-patent-grant -bsd-3-clause-with-patent-grant and gpl-2 -bsd-3-clause-with-weird-numbering -bsd-3-clause~xiph -bsd-3-clause (xiph) -bsd-3-clause-xiph -bsd-3-clause-xiph.org -bsd-3-clause-xiph.org -bsd-3-clause~yahoo -bsd-3-clause-yahoo -bsd-3-clause-yahoo -bsd-3clause-young -bsd-3-clause~yui -bsd-3-clause-yui -bsd-3-clause-yui -bsd-3-clause~zend -bsd-3-clause-zend -bsd-3-clause-zend -bsd-3-clause/zlib -bsd-3-clause~zsh-syntax-highlighting contributors -bsd-3-cloudflare -bsd-3-cluase -bsd-3-cluase -bsd-3-cluase or lpgl-2.1 or gpl-2+ -bsd-3-cluase-with-slight-modification -bsd-3+cmake -bsd (3com) -bsd-3-custom -bsd-3-cz.nic -bsd-3-dabeaz -bsd-3-dabeaz -bsd-3-dask -bsd3_deshaw -bsd3_deshaw and bsl-1.0 -bsd-3-digitalcreations -bsd-3-doconce -bsd-3-email -bsd-3-farsight -bsd-3-flask -bsd-3-generic -bsd-3-generic or apache-2.0 -bsd-3-georgia -bsd-3-google -bsd-3-google -bsd3_google -bsd3_gpl2embedded -bsd-3-growl -bsd-3-institute -bsd-3-intel -bsd-3-lanl -bsd-3 | lgpl-2.1 -bsd-3 | lgpl-2.1 | other -bsd-3-mozilla-foundation -bsd-3-mt19937 -bsd-3-nlnetlabs -bsd-3-nlnetlabs-mekking -bsd-3-numdifftools -bsd-3 (original text) -bsd-3 or other -bsd-3 | other -bsd-3-pcre -bsd-3-pygd -bsd-3-random123 -bsd-3-redis -bsd-3-regents-dec -bsd3|sil -bsd-3-snowball -bsd-3-snowball -bsd-3-splunk -bsd-3-style -bsd3 style -bsd3 style -bsd-3-sunlight -bsd-3-todd-miller -bsd-3-uc -bsd-3-viagénie -bsd-3-vut -bsd-3-wai -bsd-3-wide -bsd-3-with-notice -bsd-3-zlib -bsd4 -bsd-4 -bsd (4 clause) -bsd (4 clause) -bsd-4clause -bsd-4-clause -bsd-4-clause -bsd-4-clause -bsd-4-clause -bsd-4-clause-1 -bsd-4-clause and additional-restrictions -bsd-4-clause-and-additional-restrictions -bsd-4-clause and cmu -bsd-4-clause and dec -bsd-4-clause and dec -bsd-4-clause-and-eric-young-additional-restrictions -bsd-4-clause and gpl-2+ -bsd-4-clause and gpl2+ -bsd-4-clause and isc -bsd-4-clause and isc and dec -bsd-4-clause_and_lgpl-2+ -bsd-4-clause and mit -bsd-4-clause and other -bsd-4-clause and verbatim -bsd-4-clause~author -bsd-4-clause~bzip2 -bsd-4-clause-christopher-g-demetriou -bsd-4-clause~clapper -bsd-4-clause-cmu -bsd-4-clause-cmu and bsd-4-clause-ucb -bsd-4-clause-dicomparser -bsd-4-clause-eric-young -bsd-4-clause-from-regents -bsd-4-clause-intel -bsd-4-clause-itk -bsd 4-clause (kawasaki lsi) -bsd-4-clause-like -bsd-4-clause-m -bsd-4-clause-modified -bsd-4-clause-n -bsd-4-clause~netbsd -bsd-4-clause-niels-provos -bsd-4-clause-old -bsd-4-clause-openssl-like -bsd-4-clause or gpl-2 -bsd-4-clause or gpl-2+ -bsd-4-clause or isc -bsd-4-clause or lgpl-2+ -bsd-4-clause-powerdog -bsd-4-clause-shortened -bsd-4-clause-tangentorg -bsd-4-clause-trimble -bsd-4-clause-uc -bsd-4-clause-uc -bsd-4-clause/uc -bsd-4-clause-uc and isc and gpl-2-asterisk -bsd-4-clause-ucb -bsd-4-clause-ucb -bsd-4-clause-vtk -bsd-4-clause with additional restrictions -bsd-4-clause-zoulas -bsd-4 | lgpl -bsd-4/openssl -bsd-4-uc -bsd-4-valgrind -bsd (5 clause) -bsd-5-clause-peter-wemm -bsd-ac -bsd_accompany -bsd_accompany with unknown exception -bsd_accompany with unknown exception *** check multiple exceptions *** -bsd-adhoc -bsd-adobe -bsd | afl -bsd (agere) -bsd-ajax -bsd-alike -bsd_alt -bsd-ancient -bsd and apache 2.0 -bsd and bsd/superlu and xerox -bsd-and-expat-dual-license -bsd and gpl-2.0 -bsd and gpl-3 -bsd and lgpl-2.1+ -bsd and mit -bsd and pycrypto -bsd-anyjson -bsd-apple-mozilla -bsd | artistic | gpl-1+ -bsd-author -bsd-berkeley -bsd-by-lc-ne -bsd-c2 -bsd-c2-fcgi -bsd-c3 -bsd-c3-pcre -bsd-c3 (/usr/share/common-licenses/bsd) -bsd-c3-yahoo -bsd-c4 -bsd-cameron-descrochers -bsd-clapper -bsd cmake -bsd-cmake -bsd-completefile -bsd-coturn-citrix -bsd-cruisecontrol -bsd-custom -bsd-custom or bsl-1.0 -bsddb -bsd-derived -bsd-derived -bsd-django-filter -bsd-django-markupfield -bsd-django-sitetree -bsd-django-tables -bsd-django-xmlrpc -bsd-dwoo -bsd-easel -bsd-extremelab -bsd family -bsd-ganglia -bsd-general -bsdgoogle -bsd-google -bsd | gpl-2 -bsd+gplv2+lgplv2 -bsd (guessed) -bsd (guessed) generated file -bsd-hdf-group -bsd (hp) -bsd-hp -bsd-ibm-isc -bsd+ietf-trust -bsd (ikanos) -bsd-indiana -bsd-insight -bsd (intel) -bsd-intel -bsdish -bsdish -bsd-ish -bsd-jaxen -bsd-jlim -bsd-jlim or lgpl-2.1 -bsd-kbinani -bsd+khronos -bsd-kitware -bsd-kitware -bsd-kitware-insight -bsd-konqi-sdk -bsdl -bsd-lbnl -bsd-libtiff -bsd licenced. the complete text of the bsd license -bsd license -bsd license -bsd license, ruby license -bsd license without advertising clause. (see bsd-new -bsd license, with the removal of condition 3, the advertising clause. bsd-new -bsdlike -bsdlike -bsd like -bsd like? -bsd-like -bsd-like -bsd-like -bsd-like -bsd-like: -bsdlike1 -bsdlike2 -bsd like 2-clause -bsd-like-aglfn -bsd-like and apache -bsd-like and bsd-3-clause -bsd-like and gpl-3+ -bsd-like, apache-2.0 -bsd-like-carnegie -bsd_like_cmu-4-clause -bsd-like-gist -bsd-like-inria -bsd-like-itk -bsdlike-libbzip2 -bsd-like license -bsd-like license with advertising clause -bsd-like or apache-2.0 -bsd-like-oscpack -bsd-like-svn -bsd-like with advertising clause -bsd-like-with-advertising-clause -bsd-like-x -bsd-like-zcov -bsd_llvm -bsd-llvm -bsd-mersennetwister -bsd-mit -bsd / mit / gpl -bsd-mit or gpl-2 -bsd/mit-sytle -bsd-mix -bsd-mock -bsd-modification-notice -bsd-modified -bsd-modified-1 -bsd-modified-2 -bsd.msc_inttypes -bsd new bsd-new -bsd-new bsd-new -bsd-new bsd-new -bsd new (google) bsd-new -bsd-new-google bsd-new -bsd-new-(google) bsd-new -bsd new (sony) bsd-new -bsd-new-sony bsd-new -bsd-new-(sony) bsd-new -bsd-novell -bsd-nvidia -bsd-old -bsd-openvpn -bsd or artistic or gpl-1+ -bsd or death and repudiation -bsdorgpl -bsd or gpl -bsd or gpl-2 -bsd or gpl-2+ -bsd-or-gpl2 -bsd or gpl-3+ -bsd or lgpl -bsd or lgpl-2.1 -bsd or lgpl-2.1+ -bsd or lgpl2.1 -bsd or mit -bsd or mit or gpl-2+ -bsd or other -bsd-other -bsd-other or artistic or gpl-1+ -bsd-plantronics -bsd-plantronics and bsd -bsd-plantronics and bsd-3-clause -bsd-plantronics and bsd-sipspectrum -bsd-plotkit -bsd-primer3 -bsd-prior -bsd-pubsub -bsd-purplecomm -bsd-pyunit -bsd-randolph-franklin -bsd-regents-of-the-university-of-california -bsdregex -bsd-regex -bsd-repoze -bsd-revised bsd-new -bsd-revised bsd-new -bsd revised license bsd-new -bsd-rfc5766-turn-server-citrix -bsd-rsa -bsd-saxpath -bsd (see above) -bsd (see below) -bsd, see `/usr/share/common-licenses/bsd' -bsd (similar to 2 clause) -bsd-simon -bsd simplified bsd-simplified -bsd-simplified bsd-simplified -bsd-simplified bsd-simplified -bsd-sipspectrum -bsd-sizzle -bsd-solem -bsd-sorl-thumbnail -bsd-source-clause-only -bsd-special -bsd-sphinx -bsd style -bsd style -bsd style: -bsd-style -bsd-style -bsd-style: -bsd-style-1.0 -bsd-style (3-clause) -bsd-style and expat -bsd style (as above) -bsd-style-as-above -bsd-style-descipher -bsd-style/lgpl-2.1 -bsd-style license for gist/yorick colormaps. -bsd-style license. see license.txt in the scipy source directory. -bsd-style (python-m2crypto) -bsd-style tcl/tk license -bsd-style_tcl/tk_license -bsd-sun -bsd/superlu -bsd-tangentorg -bsd-tcl -bsd-tcl or public-domain -bsd-three-clause -bsd-three-clause -bsd-three-clause-nr -bsd-tiff-ish -bsd-transgaming-google-et-all -bsd-tsrm -bsd-twig -bsd-two-clause -bsd-uc -bsd-ucb -bsd-ucb and zlib -bsd-undefined -bsd~unspecified -bsd-unspecified -bsd-uthash -bsd-variant -bsd-vmware -bsd-weiss -bsd-with-add-clause -bsd-with-advertising-clause -bsd-with-fsf-change-public-domain -bsd without no-endorsement clause -bsd-x -bsd-x11 -bsd-xfree86 -bsd-xiph -bsd-yahoo -bsd-yaws -bsd-young -bsd-zend -bsl -bsl-1 -bsl-1.0 -bsl-1.0 and bsd-2-clause -bsl-1.0 and crystalclear -bsl-1.0 and hp and sgi -bsl-1.0 and jam -bsl-1.0 and kempf -bsl-1.0 and mit -bsl-1.0 and nist -bsl-1.0 and oldboost1 -bsl-1.0 and oldboost2 -bsl-1.0 and oldboost4 -bsl-1.0 and perforce -bsl-1.0 and python -bsl-1.0 and sgi -bsl-1.0 and zlib -bsl-1.0 or apache-2.0 -bsl-1.0 or expat -bsl-1.0 or gpl-3+ -bsl-1.0 or lgpl-2.1+ -bsl-1.0 or lgpl-3+ -bsl-1.0 or mit -bsl-1 and nsca and x11 and unnamed1 -bsl-1 bsd (guessed) generated file -bsl-1 or expat or openssl or ssleay or public-domain -bsl and nsca and x11 and unnamed1 -bsl or expat -bsl or mit -bsl (v1) -bsl (v1.0) -bslv1.0 -bsl (v1) bsd (3 clause) generated file -btpd -bullet -bv1 -bvl -by obtaining, using, and/or copying this software and/or its -by-sa-4.0 -bytestring-progress license -bzip -bzip2 -bzip2-1.0.5 -bzip2-1.0.6 -bzlib-bsd-3 -cabal license -cacert-rdl -caffe_license_bsd-2-clause -cahill -caldera -camlidl -cap2_non-free -caramel -carnegie -carnegie-mellon-university -catharon-osl -cc -cc0 -cc-0 -cc0-1 -cc0-1.0 -cc0-1.0 -cc0-1.0 -cc0-1.0 and cc-by-3.0 -cc0-1.0 or apache-2.0 -cc0-1.0 or apache-2.0 or openssl -cc0-1.0 or artistic or gpl-1+ -cc0-1.0 or bsd-2-clause -cc0-1.0 or openssl-license or apache-2.0 -cc0 1.0 universal -cc0-1.0-universal -cc0-1.0-universal or artistic or gpl-1+ -cc0 and cc-by-sa-3.0 -cc0-and-or-gpl-3+ -cc0 license -cc0 or apache-2.0 -cc0 or apache-2.0 or openssl -cc0 or bsd-2 -cc0 or bsd-2-clause -cc0 or bsd-2-clause~holders -cc0 or gpl-2+ -cc0 or gpl-3 -cc0 or lgpl-2 -cc0 or openssl or apache-2.0 -cc0 or zlib -cc0 public domain -cc0-public-domain -cc0/publicdomain -cc-2.0 -cc-3 -cc-3.0-by -cc-3.0-by, and expat or gpl-2 -cc-4.0 -cca-2.5 -cca-2.5 or mit -ccal-2.0 -cc-attribution-sharealike -cc-by -cc-by-1.0 -cc-by 2.0 -cc-by-2.0 -cc-by-2.0-at-nonfree -cc-by-2.5 -cc-by2.5 -cc-by-2.5 or cc-by-3.0 -cc-by-3 -cc-by 3.0 -cc-by-3.0 -cc-by-3.0 -cc-by-3.0 -cc-by-3.0 -cc-by3.0 -cc-by-3.0 and authorship -cc-by-3.0 and bitstream -cc-by-3.0 and cc0-1.0 -cc-by-3.0 and cc0-1.0 and gpl-2.0-only -cc-by-3.0 and unlicense -cc-by-3.0-at -cc-by-3.0-at and gpl-1+ -cc-by-3.0-famfamfam -cc-by-3.0 or bsd-2-clause -cc-by-3.0 or cc-by-2.5 -cc-by-3.0 or cc-by-sa-3.0 -cc-by-3.0 or gpl-2+ -cc-by-3.0 or gpl-2.0 -cc-by-3.0 or gpl-2.0-only or gpl-3.0-only -cc-by-3.0 or gpl-3+, and cc-by-sa-3.0 and cc-by-3.0 and ofl-1.1 -cc-by-3.0 or lgpl-2.1 -cc-by-3.0 or lgpl2.1 -cc-by-3.0-unported -cc-by-3.0-unported -cc-by-3.0-unported or lgpl2.1 -cc-by-3.0-us -cc-by-3.0 usa -cc-by-3.0-usa -cc-by-4 -cc-by-4+ -cc-by-4.0 -cc-by-4.0 -cc-by-4.0 and cc-by-3.0 -cc-by-4.0-international -cc-by-4.0 or expat -cc-by-4.0 or expat or expat or isc -cc-by-nc -cc-by-nc-1.0 -cc-by-nc-2.5 -cc-by-nc-3.0 -cc-by-nc-nd-2.0 -cc-by-nc-nd-3.0 -cc-by-nc-nd-3.0 or gfdl-1.3 -cc-by-nc-nd-3.0-us with debian exception -cc-by-nc-sa -cc-by-nc-sa-1.0 -cc-by-nc-sa-2.5 -cc-by-nc-sa-3.0 -cc-by-nc-sa-4.0 -cc-by-nd -cc-by-nd-3.0 -cc-by-nd-3.0 taiwan -cc-by-nd-3.0-tw -cc-by-nd-4 -cc-by-nd-4.0 -cc-by or bsd -cc-by_or_bsd -cc-by or gpl-2+ -cc-by-sa -cc-by-sa-1.0 -cc-by-sa-1.0+ or gfdl-1.2+ -cc-by-sa-2 -cc-by-sa-2.0 -cc-by-sa-2.0 -cc-by-sa-2.0-fr -cc-by-sa-2.0~germany -cc-by-sa-2.0~germany and gfdl-niv-1.2+ -cc-by-sa-2.0-it -cc-by-sa-2.0 or gpl-3+ -cc-by-sa-2.0~uk -cc-by-sa-2.0-uk -cc-by-sa 2.5 -cc-by-sa-2.5 -cc-by-sa 2.5, cc-by-sa 3.0 -cc-by-sa-2.5 or cc-by-sa-3.0 -cc-by-sa-3 -cc-by-sa-3+ -cc by-sa 3.0 -cc-by-sa 3.0 -cc-by-sa 3.0 -cc-by-sa 3.0 -cc-by-sa 3.0+ -cc-by-sa-3.0 -cc-by-sa-3.0 -cc-by-sa-3.0 -cc-by-sa-3.0 -cc-by-sa-3.0+ -cc-by-sa3.0 -cc-by-sa-3.0 -cc-by-sa-3.0-alike -cc-by-sa-3.0 and cc-by-3.0 -cc-by-sa-3.0 and cc-by-3.0 and cc0-1.0 -cc-by-sa-3.0 and cc-by-sa-4.0 -cc-by-sa-3.0 and freeware -cc-by-sa-3.0 and gpl-2.0-only and gpl-3.0-or-later and cc0-1.0 and cc-by-3.0 and lgpl-2.1-or-later and gpl-2.0-or-later -cc-by-sa-3.0 and mark-policy -cc-by-sa-3.0+ and mark-policy -cc-by-sa-3.0-au -cc-by-sa-3.0-exception -cc-by-sa-3.0-nz -cc-by-sa-3.0 or cc-by-3.0 -cc-by-sa-3.0 or dmalloc -cc-by-sa-3.0 or gfdl-1.2+ -cc-by-sa-3.0 or gfdl-1.3+ -cc-by-sa-3.0 or gpl-2+ -cc-by-sa-3.0 or gpl-2+ or other -cc-by-sa-3.0 or gpl-3+ -cc-by-sa-3.0 or gpl-3+ -cc-by-sa-3.0 or gpl-3.0+ -cc-by-sa-3.0 or gpl-3.0-or-later -cc-by-sa-3.0 or gpl-3 or gpl-2 -cc-by-sa-3.0 or lgpl-2.1 -cc-by-sa-3.0 or lgpl-2 or lgpl-2.1 -cc-by-sa-3.0 or lgpl2 or lgpl2.1 -cc-by-sa-3.0 or lgpl-3 -cc-by-sa-3.0 or lgpl-3.0 -cc-by-sa-3.0 or lgpl-3+ or bsd-3-clause -cc-by-sa-3.0 or lgpl-3+ or mpl-1.1 -cc-by-sa-3.0 or ofl-1.1 -cc-by-sa-3.0 or other -cc-by-sa 3.0 unported -cc-by-sa-3.0-unported -cc-by-sa-3.0~us -cc-by-sa-3.0-us -cc-by-sa-3.0-us -cc-by-sa-3.0-us -cc-by-sa-3.0-us or lgpl-3 -cc-by-sa-3 and gpl-2+ -cc-by-sa-3-exc -cc-by-sa-4 -cc-by-sa-4+ -cc-by-sa 4.0 -cc-by-sa-4.0 -cc-by-sa-4.0 -cc-by-sa-4.0 -cc-by-sa-4.0+ -cc-by-sa-4.0 and cc-by-sa-3.0 -cc-by-sa-4.0 and (gfdl-1.2+ or cc-by-sa-1.0 or cc-by-sa-2.0 or cc-by-sa-2.5 or cc-by-sa-3.0) -cc-by-sa-4.0-int -cc-by-sa-4.0 or cc-by-sa-3.0 -cc-by-sa-4.0 or gpl-3+ -cc-by-sa-4.0-with-exception -cc-by-sa or lgpl-2.1 -cc-by-sa_uk-2.0 -cc-by-sa-v1 -cc-by-sa-v3 -cc-by-us-3 -cclrc -cc or lgpl-2.1 -cc or lgpl2.1 -ccp-bsd -cc-pd-1.0 -cc-pdc -ccpl -ccpl-by-3 -cc-publicdomain -cc-sa -cc-sa-1.0 -cc-sa-3.0 -cc-sa-by-3.0 -cc-samplingplus-1 -cc-sampling-plus-1.0 -cctbx -cc-zero -cc-zero -cddl -cddl-1 -cddl-1.0 -cddl-1.0 | gppl-2 -cddl-1.0 only -cddl-1.0-only -cddl-1.1 -cddl-1.1 or gpl-2+ -cddl-1.1 or gpl-2 with classpath exception -cddl-1.1 or gpl-2 with classpath exception -cddl-1.1 or gpl-2-with-classpath-exception -cddl-1.1 or gpl-2 with classpath exception, and apache-2.0 -cddl-1.1 or gpl-2 with classpath exception, and public-domain -cddl-1 and lgpl-2.1+ with staticlink exception -cddl-1 or gpl-2 with classpath exception -cddl-1 or gpl-2-with-classpath-exception -cddl-1 or gpl-2-with-classpath-exception -cddl, gpl-2 -cddl or gpl-2 -cddl or gpl-2 with classpath exception -cddl or gpl-2 with classpath exception -cddl or gpl-2 with classpath exception -cddl-or-gpl-2-with-classpath-exception -cddl-or-gpl-2-with-classpath-exception -cddl-or-gpl-2-with-classpath-exception-and-apache-2.0 -cddl or lgpl-2.1 -cecill -cecill 2 -cecill-2 -cecill-2.0 -cecill-2.0 or cc-by-sa-2.0-fr -cecill-2.1 -cecill-2 (full) -cecill-a 2.0+ -cecill-a v2+ -cecill-b -cecill-c -cecill-c or cecillv2 -cecill-c or cecill v2.0 -cecill-c or lgpl-3 -cecill-c-v1 -cecill free software license agreement -cecill-free-software-license-agreement -cecill (open-source gpl compatible) -cecill (same as cimg, see below) -cecill_v1.1 -cecillv2 -cecill v2 -cecill_v2 -cecill v2.0 -cecill-v2.0 -cecill version 2 -cenpl -cereal is distributed under the gnu gpl v3 or later -cern -cexcept_h -cfortran -cgal-commercial -changing-not-allowed -check-gdk-cairo-permissive -chipmunk's license -christy -chromium -chromium-bsd-style -chull -cider_license -ciir -ciir and apache-2 -cipher-rc4 license -cipic -cisco -cisst -citel-bsd -citus -ckermit -clarified-artistic -cl-csv -clearcut -clearsilver -click -clinger -clint -clips -cm256 -cmake -cmake bsd -cmake-bsd-3-clause -cmake-license -cmake-modules-bsd-3-clause -cmake-scripts-2-clause -cme -c/migemo -c/migemo license (japanese) -cmu -cmu -cmu3 -codeclib for jai-image i/o -codelite -codesourcery-license -code-use-policy -colander-license -collabnet -colt license agreement -colt_license_agreement -colt-license-agreement -combined -combined-citrix-vivocha-bsd -commercial -commercial or gpl-2.0 or gpl-3.0, with the following exception: -commercial or gpl-2 + exception or gpl-3 + exception -commercial or lgpl-2.1 -commercial or lgpl-2.1 + exception or gpl-3+ -commercial or lgpl-2.1 or gpl-3.0 -commercial or lgpl or gpl-3.0 -common development and distribution license (cddl) version 1.0 -common public license -common public license - v 1.0 -common public license - v 1.0 -commonpubliclicense-v1.0 -common public license version 1.0 -compaq -(compare http://lists.debian.org/debian-legal/2006/01/msg00098.html) -componentcore -computer associates open source software license v.1.0 -condor -config-h -configure -configure -configure-fsf -configure-fsf-permissive -configure-permissive -connection-licence -contract_de-ac04-94al85000 -control-monad-free license -copy-and-use-without-restriction -copy from ijg (6b) -copying -copying-cmake-scripts -copyleft -copyleft -copyleft-amop -copyleft-info -copyleft-lookup-texi -copyleft-matrix-c -copyleft-next-0.3.0 -copyleft-texi -copyleft-tut -copyleft-wl-texi -copyright and licensing policy -copyright-disclaimer -copyrighted-but-without-restrictions -core-sdi-bsd-style -courier -cowsay -cpal cpal-1.0 -cpal-1.0 cpal-1.0 -cpal-1.0 or agpl-3+ cpal-1.0 OR agpl-3.0-plus -cpal-1.0 or agpl-3.0 cpal-1.0 OR agpl-3.0 -cpl -cpl-0.5 -cpl-0.5+ -cpl-1 -cpl-1.0 -cpl-1.0 and apache-2.0 -cpl-1.0 and public-domain_02 -cpl-1.0 | gpl-2+ | lgpl-2.1+ -cpl-1.0 or agpl-3.0 -cpl-1.0 or apache-2.0 -cpl-1.0 or bsd-2-clause or gpl-2 -cpl-1.0 or bsd-3-clause or gpl-2 -cpl-1.0 or gpl-2 or lgpl-2.1 -cpl-1.0 or gpl-2+ or lgpl-2.1+ -cpl-1.0 or ibm-pl-1.0 -cpl-1.0 or lgpl-2.1 -cpl-1.0 or lgpl-2.1+ -cpl-2.0 -cpl (common public license, for src/symphony/*) -cpl-mem-cache -cpl or lgpl-2.1 -cpol-1.02 -cpplint -crack -crashme -crc -crc32 -crc32-license -crc-license -creative-commons-0-1.0 -creative-commons-3.0 -creative commons attribution 2.5 cc-by-2.5 -creative commons attribution 3.0 unported cc-by-3.0 -creative_commons attribution 3.0 unported cc-by-3.0 -creative commons attribution (by), see -creative commons attribution share alike 3.0 (cc-by-sa-3.0) cc-by-sa-3.0 -creative commons attribution-share alike 3.0 unported cc-by-sa-3.0 -creative commons attribution-sharealike 3.0 unported cc-by-sa-3.0 -creative commons attribution-sharealike 3.0 unported license cc-by-sa-3.0 -creative commons attribution share-alike (cc-by-sa) v3.0 cc-by-sa-3.0 -creative commons by-sa 3.0 cc-by-sa-3.0 -creative-commons-cc0-1.0-universal cc0-1.0 -creative commons legal code attribution-sharealike 2.5 cc-by-sa-2.5 -creative-commons-no-warranties -creative-commons-public-domain -creative commons share alike 3.0 cc-by-sa-3.0 -cron -crowley-public-license -cryptgps -cryptix-general-license -crypto-cipher-tests license -cryptogams -cryptogams or openssl -cryptohash-conduit license -cryptoki -cryptsoft-license -crystalclear -cshl -csiro -ctemplate -cucumber-boost-spirit -cucumber-cmake-mit -cucumber-mit -cup-license -curl -curl -curl -curl-like -curl-like -custom -custom -custom -custom -custom0 -custom1 -custom-1 -custom2 -custom-2 -custom-3 -custom-amqp-working-group -custom and cc-by-3.0-us -custom and gpl-2+ -custom and public-domain -custom, attribution -custom-beginnersguide -custom binary-only license -custom-bsd -custom-bsd-3-clause -custom-bsd-4-clauses -custom bsd like -custom-bsd-like -custom-cal -custom-easydoors -custom-fftreal -custom-free -custom-gettext -custom, gpl-2+ -custom-hintsms -custom-historic -custom-ijg -custom-licence -custom license -custom_license -custom-license -custom-links -custom-longint -custom-malwaredomainlist -custom-mit-like -custom-mit-like -custom-money -custom-mostly-gpl -custom-nameable -custom-newbiegrammar -custom-old-mit -custom-old-mit-2 -custom-old-mit-opengroup-minus-no-endorsement-clause -custom-permissive -custom-permissive -custom-permissive-attribution -custom-pg_dump -custom-public-domain -custom-qqmllocale -custom-rboinc -custom-regex -custom-rsa -custom-sdl2 -custom-sil-open-font-license -custom-softfloat -custom-unicode -custom-whatis -custom-wrapper -custom-x -custom-zip -cut-down-bsd -cut-down-bsd -cutest -cwi -cwi-python -cwi-python~pdfgen -cwi-python~piddlegl -cygwin -cygwin-license -cypress-wireless -d4crc32 -damien-miller -daniel-font -danny-slirp -darold -dashboard.js -data-default-class license -data-hash license -david-gay -dbf license -dcmtk-or-afpl -dco-license -dcraw -dcraw -dealer -death and repudiation -death-and-repudiation -deathrepudiation -debian itk is licensed under the gpl -debian logo common free software license -debian open use logo license -debian_open_use_logo_license -debian-open-use-logo-license -dec -dec -dec-and-gpl-3.0+ -dec and open -dec-bsd-like -dec-bsd-variant -dec-bsd-variant and opengroup-bsd-variant -dec-bsd-variant and opengroup-bsd-variant and gpl-2+ -dec-license -decus -deduced from http://www.reportlab.com/ftp/reportlab_2_4.tar.gz -deelx -default-1 -dejavu -dejavu -dejavu -dejavu-bitstream -dejavu-license -depslib-other -derived_from_clustal_w -derived from python-cnri -design-science-license -dfsg-compliant-text -dfsg_free -dfsg. if gpl versus lgpl matters, contact plt scheme team. -dg-permissive -diaga-lgpl-exception -diagrams-gtk license -diagrams-svg license -dickey -dict_lookup_license -dict_manpages_license -different -digital-wyse -disclaimed -disclaimer -disney-license -distributed under the boost software license, version 1.0. -distributed under the terms of the gnu general public license, -divxopenlicense-2.1 -django_bsd -dlmalloc -dmalloc -dmdzz -do-anything-except-remove-copyright -do-as-you-will -doc -doc -docbook -docbook-license -docs/help/** - gfdl-1.1+ -documentation-permissive -dojo -dojo-bsd-or-mit -dojo-mit -dom4j -donationware -dont-change-the-bsd -dont-change-the-gpl -dont-claim-you-wrote-it -dontspace -double-metaphone -douglas-crockford-evil-license -douglas-crockford-good-not-evil-license -do_what_the_fuck_you_want_to_public_license -doxygen-unlimited -drascula-license -drepper -dual -dual gplv2/acpica licence -dual-licensed cc-2.5-by, cc-3.0-by -dual-licensed mit, afl-2.1 mit or afl-2.1 -dual-licensed mit, gpl-2 mit or gpl-2.0 -dual-licensed mit, gpl-2+ mit or gpl-2.0-plus -dual-licensed mit, gpl-3 mit or gpl-3.0 -dual-licensed mit, lgpl-2.1+ mit or lgpl-2.1-plus -dual licensed mit or gpl mit or gpl-1.0-plus -dual licensed mit or gpl2 mit or gpl-2.0 -dual-licensed mit, wtfpl mit or wtfpl-2.0 -dual licensed under the mit and gpl-3 mit or gpl-3.0 -dual_licensed_under_the_mit_and_gpl-3 mit or gpl-3.0 -dual licensed under the mit and gpl licenses mit or gpl-1.0-plus -dual licensed under the mit and gpl licenses. mit or gpl-1.0-plus -dual license, new bsd, mit bsd-new or mit -dual-license-newbsd-mit bsd-new or mit -dual-tree license -dumb -dwarf-fortress-license -dwtfywpl -dwtfywt -dwtfywtpl -dwyw -dxflib-commercial-license -dxx-license -dynlink_cuda -dynlink_cuviddec -e00compr -easel - a library of c functions for biological sequence analysis -eci -ecirgbv2 -ecl-1.0 -eclipse-1 -eclipse distribution license version 1.0 bsd-new -eclipse-or-gpl-2 epl-1.0 OR gpl-2.0 -eclipse public license epl-1.0 -eclipse_public_license_1.0 epl-1.0 -eclipse public license - v 1.0 epl-1.0 -eclipse public license v1.0 epl-1.0 -eclipse-public-license-v1.0 epl-1.0 -eclipse public license version 1.0 epl-1.0 -eclipse public license version 1.0, eclipse distribution license version 1.0 epl-1.0 AND bsd-new -ecma -edl-1 -edl-1.0 -edrdg -efaq.texi license -efaq-w32.texi license -efl-2 -egenix.com public license -egenix.com-public-license -egothor -egothor-1.00 -eiffel forum license 2 -eiffel-forum-license-v2 -ellis-and-grant -elm -elsevier-cdrom-license -elvensword -emacs-gpl -emboss -emu2413 -emva-genicam-standard-group -ensmallen-bsd-3-clause -epics -epl epl-1.0 -epl-1 epl-1.0 -epl-1.0 epl-1.0 -epl-1.0 and edl-1.0 epl-1.0 AND bsd-new -epl-1.0 or bsd-3-clause epl-1.0 OR bsd-new -epl-1.0 or edl-1.0 epl-1.0 AND bsd-new -epl-1.0 or gpl-2.0 or lgpl-2.1 -epl-1.0 or gpl-2 or lgpl-2.1 -epl-1.0 or gpl-2+ or lgpl-2.1 epl-1.0 or gpl-2.0-plus or lgpl-2.1 -epl-1.0 or lgpl-2.1+ or gpl-2+ or agpl-3+ or apache-2.0 or bsd-2-clause or expat epl-1.0 or lgpl-2.1-plus or gpl-2.0-plus or agpl-3.0-plus or apache-2.0 or bsd-new or mit -epl-1.0 or lgpl-2.1 or gpl-2 or apache-2.0 or bsd -epl-1.0 or lgpl-2.1 or gpl-2 or apache-2.0 or bsd-3-clause -epl 1.1 -epl-1.1 -epl-2.0 -epl and apache-2.0 -epsg -epydoc -equivalence license -eris -erlang.mk -esprima-and-escodegen -est -est-2000 -est-2003 -est and lgpl-2.1+ -estscan -ethymonics-free-music-license -etree13 -eupl-1.2 -eurid-bsd-like -evans-fcrypt -even-shorter-gpl-2 -evilwm-aewm-9wm -evmsug -ewm-bsd-3-clause -example -exception-autoconf -exception-autoconf -exception-gpl3-tex -exception-gpl-autoconf -exception-gpl-autoconf-macro -exception-gpl-libtool -exception-gpl-oracle-foss -exception-lgpl3-canonical -exception-lgpl3-goamz -exception-lgpl-nokia-qt-1.1 -exception-openssl -exception-universal-foss -expat -expat -expat -expat -expat -expat -expat: -expat~0-clause -expat2 -expat-adobe -expat-advertising -expat-alike -expat and additional-restrictions and public-domain -expat and agpl-3.0 -expat-and-amazon-license -expat and apache -expat and apache-1.1 -expat and apache-2.0 -expat and apache-2.0 and bsd-3 -expat and base64 -expat and bitstreamvera -expat and biznet -expat and bsd-2-clause -expat and bsd-2-clause -expat and bsd-2-clause and bsd-3-clause -expat and bsd-3 -expat and bsd-3c -expat and bsd-3-clause -expat and bsd-3-clause -expat and bsd-3-clause-adobe -expat and bsd-3-clause and bsd-4-clause -expat and bsd-3-clause-cssselect -expat and bsd-3-clause-ez -expat and bsd-3-clause-go -expat and bsd-3-clause~google -expat and bsd-3-clause~google -expat and bsd-3-clause~intel -expat and bsd-3-clause-yui -expat and bsd-3-clause-zend -expat and bsd-3-clause-zend -expat and bsl-1.0 -expat and cc-by-3.0 -expat and cc-by-3.0-us -expat and cc-by-sa-3.0 -expat and expat-like -expat, and expat or gpl-2, and expat or bsd-sizzle or gpl-2, and gpl-3+ -expat, and gpl-1+ or artistic -expat and gpl-2 -expat and gpl-2+ -expat_and_gpl-2+ -expat and gpl-2.0 -expat and gpl-2-asterisk -expat and gpl-2+ with openssl exception -expat and gpl-3+ -expat and gpl-3.0+ -expat and gpl-3+ with bison exception -expat and gpl-unspecified-version -expat and lgpl-2+ -expat and lgpl-2.1 -expat and lgpl-2.1+ -expat and lgpl-2.1 and bsd-3-clause-ez -expat and lgpl-2.1+ and openmap -expat and lgpl-3 -expat and lua -expat and lucent -expat and mit-hp -expat and mit-old -expat and mpl-2.0 -expat and open -expat and other-nopromo-chris -expat and other-nopromo-x -expat and other-sunsoft -expat and other-x -expat and postgresql -expat and public-domain -expat and public-domain -expat and python-2.0 -expat and unicode -expat and wtf-2 and cc0-1.0 -expat-and-x-additional-restrictions-and-fsf-public-domain -expat and zlib -expat and zlib -expat-bellcore -expat/bencina-burk -expat~blackmagic -expat-bsd -expat-cesar-blecua-udias -expat-clark -expat-curl -expat customized -expat-customized -expat-dallas-semiconductor-corporation -expat-dallas-semiconductor-corporation and expat-university-of-newcastle-upon-tyne and gpl-2+ -expat-dallas-semiconductor-corporation and gpl-2+ -expat~digital -expat~disclaimer -expat-epydoc -expat (fixme) -expat~ghostgum -expat/ghostgum -expat-google -expat+gpl -expat-groupe_bull -expat~intact -expat-isec -expatish -expat~khronos -expat-khronos -expat license -expat-like -expat-like -expat-like -expat-like-carddecks -expat-like-highscore -expat-lucent -expat-m4 -expat/mit -expat-mixed -expat~modrequest -expat-nginx -expat~noadvert -expat~no-attribution -expat~no-false-attribs -expat+no-false-attribs -expat-nvidia -expat or academic -expat or afl-2.1 -expat or apache-2.0 -expat or artistic or gpl-1+ -expat or bsd-2-clause -expat or bsd-2-clause or gpl-2+ -expat or bsd-2 or bsd-3 -expat or bsd-3 -expat or bsd-3 -expat or bsd-3-clause -expat or bsd-3-clause -expat or bsd-3-clause~dojo -expat or bsd-3-clause-dojo -expat or bsd-3-clause~google -expat or bsd-3-clause or gpl -expat or bsd-3-clause or gpl-2 -expat or bsd-3-clause or gpl-2 -expat or bsl-1.0 -expat or cc-by -expat or cc-by-3.0 -expat or cc-by-sa -expat or c/migemo -expat or c/migemo license (japanese) -expat or death-and-repudiation -expat or deathrepudiation -expat or eupl-1.2 -expat or ftl -expat or gpl -expat or gpl-1 -expat or gpl-1+ -expat or gpl-1+ or artistic -expat or gpl-2 -expat or gpl-2 -expat or gpl-2+ -expat or gpl-2+ -expat or gpl-2.0 -expat or gpl-2.0+ -expat or gpl-2.0, and bsd-2-clause -expat or gpl-2.0, and bsd-3-clause -expat or gpl-2+3+kdeev or lgpl-3 -expat or gpl-2, and expat or bsd-sizzle or gpl-2 -expat or gpl-2+ or lgpl-2.1+ -expat or gpl-2+ or unicode -expat or gpl-3 -expat or gpl-3+ -expat or gpl-3+ -expat or gpl-3.0 -expat or gpl and bsd-2-clause -expat or gpl, and bsd-2-clause -expat or gpl, and lgpl-3+ and bsd-3-clause -expat or happy-bunny -expat or isc -expat or khronos -expat or lgpl -expat or lgpl-2+ -expat or lgpl-2.1+ -expat or lgpl-3 -expat or lgpl-3+ with ocaml-linking exception -expat or lgpl-unspecified-version -expat or public-domain -expat_or_publicdomain_or_dualexpatpd -expat or ruby -expat or specific -expat or unlicense -expat or unlicense -expat or vim -expat or wtfpl -expat or wtfpl-2 -expat-plus-khronos-notice -expat-precision -expat-qsedit -expat-redhat -expat (see above) -expat-sgi -expat-stripped -expat~sunsoft -expat~sunsoft with sunsoft exception -expat-toni-ronkko -expat-trifunovic -expat-trio -expat~unicode -expat-university-of-newcastle-upon-tyne -expat-variant-1 -expat-vinay -expat-whitelist -expat with additional restrictions and public domain -expat with advertising exception -expat-with-advertising-restriction -expat with attribution exception -expat with attribution exception and wtf-2 and cc0-1.0 and expat -expat with fsf exceptions -expat with no-advertisement exception and copyright-transfer -expat-without-associated-documentation-mention -expat with x exception -expat_with_x_exception -expat-with-x-exception -expat~wu -expat-wu -expat~wu~retain-in-source -expat~x -expat-x -expat-x-fsf -expat-x.org -expat-x.org and lgpl-2+ -expat~x with x exception -expat~x with x exception -expat-x with x exception -expat̃x with x exception -expm -export -extended-stripped-amqp-spec-bsd -extra-1 -facebook -fair -fairmyax-license -fair-use -fal -fal or gpl-2+ -fancyhdr.sty -farina -fasm-license -fastcgi -faust-sample -fconf -fdclone -fddl-1 -fdl1.2+-noinvar -fdl-1.3-qt -fdoc -fdstream -fedora-contribution -feedparser-documentation-license -fenneberg -fenner -ferret license agreement -festvox -festvox and lgpl-2.1 -festvox and lgpl-2.1+ -fft -fft8g-custom -fftn -fftsg -fftw-bsd-2-clause -fhcrc -fhs -file-is-free-software -file taken from rosegarden -findlib -findlmdb_bsd -fipl -fipl-1.0 -fischkopf-public-domain -fixme -fixme -flag-icon-license -flask (bsd-3-clause) -flask-bsd-3-clause -flask-design -flask design license -flask-design-license -flask-license -flask-sphinx-themes-license -flex -flightaware-llc -flight-of-the-amazon-queen-license -flog -floss-exception -floss-exception -fltk -fluendo -flu-lgpl-2.1+ -fmilib -fncychap.sty -font-adobe -fonts -fonts-ancient-scripts_license -fonts-copyright -fontsexception -{fonts-open-sans} -for terms of use, see http://www.unicode.org/terms_of_use.html -foss exception -fourthought -fpdf-license -fpl -fpl-1.1 -fpl and gpl-2+ with openssl exception dual license -fr -framemgr -fraunhofer-fdk-aac-for-android -free -free -free -freeart -free-art -free-art-1.3 -freeartlicense -free-art-license -free art license 1.2 -free-art-license-1.2 -free art license 1.3 -free-art-license-1.3 -freeb -freeb-1.1 -freebsd -freebsd-1 -freebsd-doc -freebsd-documentation with modification exception -freebsd (guessed) -freebsd (guessed) expat -freebsd (guessed) generated file -freebsd (guessed)/lgpl-2.0+/lgpl-2.1+ -freebsd license -freebsd-like -freecopy -freedoc -free_documentation -freedoom-license -free for all uses. -free-fsf -free-generic -freeglut -freely_distributable -freely redistributable -freely-redistributable -freely-use-modify-distribute -freesoftware -free-software -free-software-2 -free-software-3 -free software by richard w.e. furse. do with as you will. no warranty. -free-software-license -freespace-2-eula -free to use, modify and redistribute -freetype -freetype -freetype license -freetype-license -freetype license or gpl-2+ -freeuse -free use -free_use -free-use -free-use-modification-distribution -freeverb-pd -freeverb-pd and gpl-2 with font exception (musescore) -freeware -freeware -freeware~dh -freeware-public-license-(fpl) -free-with-reciprocity -friedman -from license/license_bakoma -(from readme.rdoc) -frontier-artistic -frontier-artistic -frontier artistic license -fr-public-domain -frr-docs -fscript -fsf -fsf -fsf-a -fsf-aclocal -fsf-aclocal.m4 -fsf~all-permissive -fsf-all-permissive -fsf-all-permissive -fsf and gpl-2+ -fsfap -fsfap~nogpl -fsfap [ref01] -fsfap [ref02] -fsfap [ref03] -fsfap [ref04] -fsfap [ref05] -fsfap [ref06] -fsf-automake -fsf-b -fsf-completely-permissive -fsf-configure -fsf-configure and gpl-2+libtool -fsf-configure, and gpl-2+ with libtool exception or bsd-3-clause or gpl-1+ -fsf-configure, and gpl-2+ with libtool exception or expat -fsf-configure, and gpl-2+ with libtool exception or gpl-3+ -fsf-configure-simple -fsf-configure-unlimited -fsf-copying -fsf-doc-unlimited -fsf-free -fsf-gpl2 -fsf-install -fsf-install -fsf-libltdl -fsf-license -fsf-macros -fsf-makefile -fsf-makefile.in -fsf-makefile.in.in -fsf-makefile-unlimited -fsf-manpages -fsf-meta-license -fsf-note -fsf-permissive -fsf-permissive1 -fsf-permissive2 -fsf-permissive-hopeful -fsf-preserve-notice-permissive -fsf-preserve-notice-permissive and gpl-2+-with-autoconf-exception -fsf-simple-with-notice -fsf-something -fsful -fsf-ul -fsful-01 -fsful-01 and fsfullr and gpl-2+ and exception-gpl-libtool -fsful-aclocal.m4 -fsful-aclocal-makefile -fsful and fsful~config.status -fsful and gpl-2+ -fsful and gpl-2+ with libtool exception -fsful~author -fsful~boost -fsful~config.status -fsful-configure -fsful~documentation -fsful~file -fsful~gettext -fsf-ul-gpl -fsful~lehtinen~configuration -fsful~lehtinen~configure.ac -fsful~lehtinen~file -fsful~lehtinen~makefile -fsful~lehtinen~shell -fsful-libtool.m4 -fsfullr -fsfullr~a -fsfullr-alike -fsfullr and fsfullr~not_fsf -fsfullr and gpl-2+ -fsfullr and gpl-2+ and exception-gpl-libtool -fsfullr and gpl-2+ with autoconf exception -fsfullr and gpl-2+ with libtool exception -fsfullr and gpl-3+ -fsfullr and gpl-3.0 with autoconf exception -fsfullr and gpl with autoconf exception -fsfullr and/or gpl-2 -fsfullr~author -fsfullr~gettext -fsfullr~makefile.in -fsfullr~makefile.in and fsfullr~author -fsfullr~makefile.in and gpl-2+ -fsfullr~notfsf -fsfullr~not_fsf -fsfullr-no-warranty -fsfullr or gpl-2+ with autoconf exception -fsfullr or gpl-2+ with libtool exception -fsfullr [ref05] -fsfullr [ref07] -fsfullr-warranty -fsfullr with warranty disclaimer exception -fsful-lt~obsolete.m4 -fsful-ltoptions.m4 -fsful-ltsugar.m4 -fsful~makefile.in -fsful-makefile.in -fsful~makefile.in and fsful~author -fsful or gpl-2+ with libtool exception -fsf~unlimited -fsf~unlimited -fsf_unlimited -fsf-unlimited -fsf-unlimited -fsf-unlimited -fsf-unlimited, and bsd-3-clause or gpl-1+ -fsf-unlimited and expat -fsf-unlimited and gpl-2+ -fsf-unlimited, and gpl-2+ with autoconf exception or expat -fsf-unlimited, and gpl-2+ with autoconf exception or gpl-3+ -fsf-unlimited, and gpl-2+ with libtool exception or bsd-3-clause or gpl-1+ -fsf-unlimited, and gpl-2+ with libtool exception or expat -fsf-unlimited, and gpl-2+ with libtool exception or gpl-3+ -fsf-unlimited-configure -fsf-unlimited-disclaimer -fsf unlimited license -fsf-unlimited-license -fsf.unlimited.license -fsf unlimited license (with retention) -fsf-unlimited-makefile -fsf_unlimited or gpl-2+ -fsf_unlimited or gpl-2+_autoconfexception -fsf_unlimited or gpl-2+_libtoolexception -fsf_unlimited or gpl-2+ with autoconf exception -fsf_unlimited or gpl-2+ with libtool exception -fsf_unlimited or lgpl-2.1+ -fsf-unlimited-permission -fsf-verbatim -fsl-kaz -fsp2 -fsp3 -ftl -ftl and catharon-osl and mit -ftl and mit -ftl or gpl-2 -ftl or gpl-2+ -ftl or gpl-2.0 -fujitsu -fujitsu -fujitsu-bsd-like -future-cookies -g10-permissive -gap -gap~aclocal -gap and gpl-2+ -gap and gpl-2+~file with autoconf exception -gap and gpl-2+~libtool with libtool exception -gap and gpl-2+ with autoconf exception -gap and gpl-2 with libtool exception -gap~author -gap~autotools -gap~boost -gap~config.status -gap~configure -gap~configure -gap~configure -gap configure -gap-configure -gap̃configure -gap~configure and gap~config.status -gap~documentation -gap~fsf -gap~gettext -gap̃gettext -gap giel -gap-giel -gap~install -gap~install-sh -gaplike -gap~m4reqdef -gap~makefile -gap-makefile -gap~makefile.in -gap makefile.in -gap-makefile.in -gap~makefile.in and gap~author -gap~makefile.in and gap~pure-exception -gap~makefile.in and gpl-2+ -gap~makefile.in.in -gap other -gap-other -gap po/makefile.in.in -gap-po/makefile.in.in -gap~pure-exception -gareth_mccaughan -gay-bsd -gd -gdcm -gdcmjpeg -gde -gdfl-1.2+-no-invariant-sections -gdfl-1.3+ -general-public-license-to-copy -general public license version 2 (gpl-2). please see the file: -generaluser-gs-1.47-v2.0 -generated -generated -generated file -generated-file -generated files -generic-bsd -geogratis -getopt -gettext -gettext -gettext-functionality -gettext-permissive -gfdl -gfdl 1.1+ -gfdl-1.1 -gfdl-1.1+ -gfdl-1.1-niv -gfdl-1.1+-niv-nfc-nbc -gfdl 1.1 or any later version -gfdl-1.1+ or cc-by-sa-3.0 -gfdl-1.1 or gpl -gfdl-1.1-or-later -gfdl-1.1 with no invariant parts -gfdl-1.2 -gfdl-1.2+ -gfdl-1.2+|cc-sa-3.0 -gfdl-1.2+-inv-fc-bc -gfdl-1.2+-libquadmath -gfdl-1.2+-niv -gfdl-1.2+ or cc-by-sa-1.0 or cc-by-sa-2.0 or cc-by-sa-2.5 or cc-by-sa-3.0 -gfdl-1.2+ or cc-by-sa-3.0 -gfdl-1.2+ or cc-by-sa-3.0 or cc-by-sa-2.5 -gfdl-1.2+ or cc-by-sa-3.0-unported or cc-by-sa-2.0-it, and cc-by-3.0-us -gfdl-1.2+ or cc-sa-3.0 -gfdl-1.2+ or public-domain -gfdl-1.2+ | public-domain -gfdl-1.2 with no invariant section -gfdl-1.2-without-invariant -gfdl-1.3 -gfdl-1.3+ -gfdl-1.3+-by-niv -gfdl-1.3+-gcc-1 -gfdl-1.3+-gcc-2 -gfdl-1.3+-gnat-rm -gfdl-1.3+-gnat-ugn -gfdl-1.3-license-text -gfdl-1.3+niv -gfdl-1.3+-niv -gfdl-1.3+-niv [ref06] -gfdl-1.3+-niv [ref07] -gfdl-1.3+-niv [ref08] -gfdl-1.3+-niv [ref09] -gfdl-1.3+-niv [ref12] -gfdl-1.3+-niv [ref13] -gfdl-1.3-no-invar -gfdl-1.3-no-invariant -gfdl-1.3-no-invariant+ -gfdl-1.3+-no-invariant -gfdl-1.3+ or cc-by-sa-4.0 -gfdl-1.3 or gpl-3+ -gfdl-1.3_qt1.1exception -gfdl-1.3-with-neither-invariant-sections-nor-cover-texts -gfdl-1.3, with no invariant sections -gfdl-1.3+ with no invariant sections, no front-cover texts and no back-cover texts -gfdl-1.3+ with specific front-cover texts -gfdl-2 -gfdl-2+ -gfdl-any -gfdl-niv -gfdl-niv+ -gfdl-niv-1.0+ -gfdl-niv-1.1 -gfdl-niv-1.1+ -gfdl-niv-1.1+ and gpl-2+ -gfdl-niv-1.2 -gfdl-niv-1.2+ -gfdl-niv-1.2+ or gpl-2+ -gfdl-niv-1.2 or gpl-2+ or lgpl-2.1+ -gfdl-niv-1.3 -gfdl-niv-1.3+ -gfdl-niv-1.3+-libiberty -gfdl-niv-1.3+ or gpl-2+ -gfdl-niv-1.3 or gpl-3+ -gfdl-niv and ofl -gfdl-niv or cc-by-sa-3.0 -gfdl-niv+ or gpl-3+ -gfdl with no invariant section -gfdl with no-invariant-section exception -gfdl without invariant sections -gfl -gfld-1.2+ -ghc-license -ghostscript-gpl -gif -gif-gpl-2+ -gift-ware -gimp -gl2ps -gl2ps-2 -gl2ps-2+ -gl2ps or lgpl-2 -gladman -gladman or gpl-1+ -glasgow haskell compiler license -glibc-other -glm1 -globalarrays -global bsd-style chromium -global bsd-style libjingle -glob license -glp-2 -glp-3+ -glpl-2.1+ -gluraw license -glut -glut -glx-1.0 -glxpl-1.0 -gmgpl -gmgpl-2 -gnu gpl-1.0-plus -gnu-affero-3 agpl-3.0 -gnu affero general public license agpl-3.0 -gnu affero general public license (agpl) version 3 agpl-3.0 -gnu-agpl agpl-3.0 -gnuallpermissive -gnu-all-permissive -gnu-all-permissive -gnuallpermissivelibrary -gnu all-permissive license -gnu-all-permissive-license -gnu-all-permissive-license -gnu-all-permissive-license-fsf -gnu-all-permissive-license-like -gnu-all-permissive-longdisclaimer -gnu-all-permissive-nodisclaimer -gnu-chess-gpl -gnu-configure -gnu free documentation license (v1.3) gfdl-1.3 -gnu general public license gpl-1.0-plus -gnu general public license. gpl-1.0-plus -gnu general public license (gpl) gpl-1.0-plus -gnu general public license (gpl) v2 or later gpl-2.0-plus -gnu general public license v2 (gpl) gpl-2.0 -gnu general public license v3 gpl-3.0 -gnu general public license version 2 gpl-2.0 -gnu general public license, version 2 gpl-2.0 -gnu general public license, version 2 and later gpl-2.0-plus -gnu general public license version 2 as published by the free gpl-2.0 -gnu general public license version 2 dated june, 1991. gpl-2.0 -gnu general public license - version 2, june 1991 gpl-2.0 -gnu general public license version 2, june 1991 gpl-2.0 -gnu general public license, version 2 or later (gpl-2+) gpl-2.0-plus -gnu~gettext -gnu gpl gpl-1.0-plus -gnu gpl 2+ gpl-2.0-plus -gnu gpl2+ gpl-2.0-plus -gnu gpl 2 (or later) gpl-2.0-plus -gnu gpl-2+ (see /usr/share/common-licenses/gpl-2). gpl-2.0-plus -gnu gpl 3 gpl-3.0 -gnu-gpl-3 gpl-3.0 -gnu gpl license. gpl-1.0-plus -gnu gpl (see /usr/share/common-licenses/gpl) gpl-1.0-plus -gnu gpl; some portions public domain. gpl-1.0-plus and public-domain -gnu gpl (/usr/share/common-licenses/gpl) gpl-1.0-plus -gnu gplv2 gpl-2.0 -gnu gpl v2+ gpl-2.0-plus -gnu-install -gnu lesser general public license lgpl-2.0-plus -gnu lesser general public license (lgpl) lgpl-2.0-plus -gnu lesser general public license, version 2.1 lgpl-2.1 -gnu lesser gpl v3 lgpl-3.0 -gnu lgpl lgpl-2.0-plus -gnu lgpl license. lgpl-2.0-plus -gnu lgpl v2.1 lgpl-2.1 -gnulib-comp.m4 license -gnu library general public license lgpl-2.0-plus -gnu library general public license version 2 lgpl-2.0 -gnu-license gpl-1.0-plus -gnu-makefile.in+c-graph -gnu-meta-license -gnu-meta-license-01 -gnu-meta-license-variant -gnu-ocrad -gnu-permissive -gnu-permissive-license -gnu public license version 2 -gnu-simple-permissive-license -gnu-unlimited-permission-license -gnu-with-exception -go -golf -google -google-bsd-3-clause bsd-new -google-mit -go-squared -gpl gpl-1.0-plus -gpl+ gpl-1.0 -gpl-1 gpl-1.0-plus -gpl-1+ gpl-1.0-plus -gpl1+ gpl-1.0-plus -gpl-1.0 gpl-1.0 -gpl-1.0+ gpl-1.0-plus -gpl-1.0 or gpl-2.0 or gpl-3.0 -gpl-1.2+ or creative commons attribution-share alike 3.0 unported -gpl1-and-artistic gpl-1.0-plus OR artistic-1.0 -gpl-1+ and exception -gpl-1+ and gpl-2+ -gpl-1+ and ldp gpl-1.0 or gpl-2.0 or gpl-3.0 -gpl-1+ and lgpl-2.1+ -(gpl1+|artistic) -gpl-1|artistic -gpl-1+|artistic -gpl-1+ | artistic -gpl1+|artistic -gpl1+ | artistic -gpl1+, artistic -gpl-1 | artistic-2.0 -gpl-1+ | artistic | bsd -gpl-1+ | artistic, gpl-2+ -gpl-1+ | artistic | other -gpl-1 or artistic -gpl-1+ or artistic -gpl-1 or artistic-1 -gpl-1+ or artistic-1 -gpl-1 or artistic-1.0 -gpl-1+ or artistic-1.0, and bsd-3-clause -gpl-1+ or artistic-1.0-perl -gpl-1+ or artistic-1, and gpl-2 and lgpl-2.1 -gpl-1+ or artistic-2 -gpl-1 or artistic-2.0 -gpl-1+ or artistic-2.0 -gpl-1+ or artistic-2.0 or apache-2.0 -gpl-1+ or artistic, and bsd-3-clause-generic -gpl-1+ or artistic, and bsd-4-clause-powerdog -gpl-1+ or artistic, and expat -gpl-1+ or artistic, and unicode -gpl-1+ or artistic or artistic-dist -gpl-1+ or artistic or bsd -gpl-1 or gpl-2 -gpl-1 or gpl-2 or gpl-3 or lgpl-2 or bsd-3-clause or bsd-4-clause or mit -gpl-1+ or lgpl-1+ or artistic-1 -gpl-1+ or lgpl-3 or mpl-2.0 -gpl-1+ or mit -gpl-1+ or ofl-1.1 -gpl-1+ with autoconf exception -gpl-1+ with autoconf exception or gpl-3+ -gpl-1+ with font exception -gpl-1 with same-use exception -gpl2 -**/* - gpl2+ -gpl 2 -gpl (>= 2) -gpl 2+ -gpl-2 -gpl-2 -gpl-2+ -gpl-2+ -gpl-2+ -gpl-2+ -gpl-2+ -gpl-2+. -gpl2+ -gpl2+ -gpl-2+ -gpl-2.0 -gpl-2.0+ -gpl-2.0+ -gpl-2.0+ -gpl-2.0+ and bsd-3-clause-bnbi and public-domain -gpl-2.0+ and expat -gpl-2.0+ and expat and mit1 and mit2 and mit3 -gpl-2.0+ and mit -gpl-2.0 and unicode-strict -gpl-2.0+-+classpath-exception -gpl-2.0+exceptions -gpl-2.0+, gpl-3.0+ -gpl-2.0+, lgpl-2.0+ -gpl 2.0/lgpl 2.1/mpl 1.1 tri-license -gpl-2.0+oki -gpl-2.0-only -gpl-2.0-only and cc0-1.0 and cc-by-3.0 and gpl-3.0-only and cc-by-sa-3.0 -gpl-2.0+ or apache-2.0 -gpl-2.0+ or artistic-1.0 -gpl-2.0 or bsd-3-clause -gpl-2.0+ or bsd-3-clause -gpl-2.0+ or cc-by-sa-3.0 -gpl-2.0-or-click -gpl-2.0 or expat, and gpl-2.0 and expat -gpl-2.0 or gpl-2.0+ -gpl-2.0 or gpl-3.0 -gpl-2.0 or gpl-3.0 or fipl-1.0 -gpl-2.0 or higher -gpl-2.0-or-later -gpl-2.0+ or lgpl-2.0+ with classpath exception or apache-2.0 -gpl-2.0+ or lgpl-2.1+ -gpl-2.0+ or lgpl-2.1+ or mpl-1.1 -gpl-2.0 or mit -gpl-2.0 or mpl-1.1 -gpl-2.0+ or mpl-1.1 -gpl-2.0 or qpl-1.0 -gpl-2.0+ or ruby's -gpl-2.0 with additional restrictions -gpl-2.0 with aosdl exception -gpl-2.0+ with autoconf exception -gpl-2.0+ with autoconf exception -gpl-2.0+-with-autoconf-exception -gpl-2.0-with-bison-exception -gpl-2.0+ with bison exception -gpl-2.0+-with-bison-exception -gpl-2.0+-with-classpath-exception -gpl-2.0+ with cocor exception -gpl-2.0+ with exception -gpl-2.0+ with font exception -gpl-2.0-with-font-exception-and-additional-exception -gpl-2.0+ with incorrect fsf address, and with autoconf exception -gpl-2.0+ with libtool exception -gpl-2.0+ with libtool exception -gpl-2.0+ with openssl exception -gpl-2.0+_with_openssl_exception -gpl-2.0-with-restrictions -gpl-2.0+ with template exception -gpl-2.0+ with texinfo exception -gpl-2.0+ with unmodified including exception -gpl-2.1 -gpl-2.1+ -gpl2-1 -gpl-2.1+3+kdeev -gpl-2.1+ lgpl-2.1 or later (with incorrect fsf address) -gpl-2.1+ or gpl-3+ or lgpl-3+ or mpl-1.1 or apache-2.0 or cc-by-sa-1.0 -gpl-2.1 or higher -gpl-2.1+ (typo for lgpl-2.1+, arguably gpl-3+) -gpl 2-3 -gpl-23 -gpl-2-3 -gpl-2+3 -gpl-2+3+ -gpl-2+3+ev -gpl-2-3-kdeev -gpl-2+-3-kdeev -gpl-2+3+kdeev -gpl-2+3+kdeev or lgpl-3 -gpl 2 3 or approved by kde ev -gpl-2, 3 or e.v. -gpl-2, 3 or later as approved by kde e.v. -gpl-2/3+-trollex -gpl-2+ and 5-line-bsdish -gpl-2 and apache-1.0 -gpl-2+ and apache-1.0 and rsa -gpl-2+ and apache-2 -gpl-2+ and apache-2.0 -gpl-2+ and apple -gpl-2+ and beerware -gpl-2 and bsd -gpl-2+ and bsd -gpl-2 and bsd-2-clause -gpl-2+ and bsd-2-clause -gpl-2+ and bsd-2-clause -gpl-2 and bsd-3-clause -gpl-2+ and bsd-3-clause -gpl-2+-and-bsd-3-clause -gpl-2+, and bsd-3-clause -gpl-2 and bsd-3-clause-generic -gpl-2+, and bsd-3-clause or lgpl-2.1+ -gpl-2+ and bsd-3-clause-ucb -gpl-2+ and bsd-3-clause (xiph) -gpl-2+ and bsd-3-clause-xiph -gpl-2+ and bsd-4-clause -gpl2+ and bsd-4-clause -gpl-2+ and bsd-4-clause and bsd-3-clause -gpl-2+ and cc-0 -gpl-2+ and cc-by-3.0 -gpl-2+ and cc-by-4 -gpl-2 and cc-by-sa-2.5 -gpl-2+ and cc-by-sa-3.0 -gpl-2+ and cmu2 -gpl-2+ and cmu3 -gpl-2 and custom -gpl-2+ and custom -gpl-2+ and exception-autoconf -gpl-2+ and exception-autoconf -gpl-2+ and exception-gpl-autoconf -gpl-2+ and exception-gpl-autoconf-macro -gpl-2+ and exception-gpl-libtool -gpl-2 and exception-gpl-oracle-foss -gpl-2 and exception-universal-foss -gpl-2 and expat -gpl-2+ and expat -gpl-2+ and expat -gpl-2+ and expat with veillard exception -gpl-2+ and floss -gpl-2 and floss-exception -gpl-2+ and font-adobe -gpl-2+ and fontsexception or ofl -gpl-2 and fourthought -gpl-2+ and fsf-preserve-notice-permissive -gpl-2+ and gap-makefile -gpl-2 and gpl-2+ -gpl-2 and gpl-3 -gpl-2_and_gpl-3+ -gpl-2+ and gpl-3+ -gpl-2_and_gpl-3+_and_bsd-3-clause -gpl-2+ and intel -gpl-2+ and isc -gpl-2 and jquery -gpl-2 and lgpl-2 -gpl-2 and lgpl-2+ -gpl-2+ and lgpl-2+ -gpl-2 and lgpl-2.1 -gpl-2 and lgpl-2.1+ -gpl-2+ and lgpl-2.1 -gpl-2+ and lgpl-2.1+ -gpl-2+ and lgpl-2.1 and lgpl-2 -gpl-2+ and lgpl-2.1+ and mpl-1.1 -gpl-2 and lgpl-2.1 and perl -gpl-2+ and lgpl-2+ and lgpl-2.1+ and expat and ntp-bsd-variant and sgi-b-2.0 -gpl-2+__and__lgpl-2+__and__lgpl-2.1__and__lgpl-2.1+ -gpl-2+ and lgpl-2 and lgpl-2+ and public-domain -gpl-2+ and libjpeg -gpl-2 and mit -gpl-2+ and mit -gpl-2 and mit and gpl-3+ -gpl-2 and mit and gpl-3+ with runtime exception and zlib -gpl-2+ and mit-variant -gpl-2+_and_mit/x11 -gpl-2 and modified bsd -gpl-2+ and mpl-1.1 -gpl-2+-and-mpl-1.1 -gpl-2+ and ntp~uuid -gpl-2+ and ofl-1.1 -gpl-2+ and openbsd -gpl-2 and other -gpl-2+ and other -gpl-2+ and other-gap-makefile -gpl-2+ and other-gpl -gpl-2+ and other [ref16] -gpl-2+ and other [ref17] -gpl-2+ and other-sa-autoconf -gpl-2 and pd -gpl-2 and permissive -gpl-2 and php -gpl-2 and php-3.01 -gpl-2+ and php-3.0.1 -gpl-2+ and pnpoly-bsd-3-clause -gpl-2+ and public domain -gpl-2+ and public_domain -gpl-2+ and public-domain -gpl-2+ and public-domain-openwall -gpl-2 and python -gpl-2+ and qt exception -gpl-2 and sendmail and bsd-3-clause -gpl-2+ and sgi-free-b -gpl-2+ and special_exception -gpl-2+ and special_exception or bsd-3-clause -gpl-2+ and turk -gpl-2+ and unicode -gpl-2+ and verbatim -gpl-2+ and wordnet -gpl-2+ and wtfpl-2 -gpl-2+ and zlib -gpl-2+ and zlib -gpl-2+_a or bsd-3-clause_c -gpl-2+ | apache -gpl-2+, apache-1.1 -gpl-2 | artistic -gpl-2+ | artistic -gpl-2+ | artistic | gpl-1+ -gpl-2, asl 2.0 -gpl-2-asterisk -gpl-2+autoconf -gpl-2+~autoconf -gpl-2+-autoconf -gpl-2+_autoconfexception -gpl-2+_autoconfexception_libtoolexception -gpl-2+_autoconfexception_libtoolexception or permissive -gpl-2+_autoconfexception or fsf_unlimited -gpl-2+-autoconf-expception -gpl-2 available on debian at: /usr/share/common-licenses/gpl-2 -gpl-2, bsd -gpl-2+ | bsd-3 -gpl-2+bsd-3-clause -gpl-2+-by-openssl -gpl-2, cddl -gpl-2+-ce -gpl-2-classpath -gpl-2-classpath -gpl-2+-classpath -gpl-2+ compatible -gpl-2+-custom -gpl2+ | custom -gpl-2-digium -gpl-2~either -gpl-2+expat -gpl-2+fe -gpl-2+~file -gpl-2+~file with autoconf exception -gpl-2+ (fixme) -gpl-2-fmc -gpl-2 + font exception -gpl-2 for rjava, lgpl-2.1 for jri -gpl-2 (for the r integration) -gpl-2+~gcc -gpl-2+ generated file -gpl-2-gfdl-1.3 -gpl-2 | gpl-2+ -gpl-2, gpl-2+ (as detailed below) -gpl-2 | gpl-2+ | gpl-any -gpl-2 | gpl-3 -gpl-2+ | gpl-3+ -gpl2, gpl3 -gpl2/gpl3 -gpl-2 gpl-3 and higher with special terms -gpl-2, gpl-3 or later as approved by kde e.v. -gpl-2+ | gpl-any -gpl-2+~header -gpl-2~imdi -gpl-2~jack-audio-connection-kit -gpl-2~jackd2 -gpl-2+kdeev -gpl-2+-kmfl-c -gpl-2+-kmfl-l -gpl-2+-lars -gpl-2+_lgpl-2+ -gpl-2+, lgpl-2+ -gpl-2+, lgpl-2.1+ -gpl-2+ | lgpl-2.1+ | apache-2.0+ -gpl-2 | lgpl-2.1 | mpl-1.1 -gpl-2+ | lgpl-2.1+ | mpl-1.1 -gpl-2+/lgpl-2.1+/mpl-1.1 -gpl-2 lgpl (v2) -gpl-2+~libav -gpl-2+, libjpeg -gpl-2+libtool -gpl-2+~libtool -gpl-2+~libtool -gpl2+-libtool -gpl-2+_libtoolexception -gpl-2+_libtoolexception or permissive -gpl-2+~libtool with libtool exception -gpl-2 | license included below. -gpl-2+-link -gpl-2+-link and isc and ibm -gpl-2+-manual -gpl-2~maybe-later-too -gpl-2-minimalist -gpl-2 | mit -gpl-2+ | mit -gpl-2+, mit -gpl-2 | mit | bsd -gpl-2, mit-jq -gpl-2+_mit/x11 -gpl-2-modified -gpl-2, mpl -gpl-2, mpl 1.1 -gpl-2-mysql -gpl-2+noa -gpl-2-no-virus -gpl-2+-octapi -gpl-2-only -gpl-2-openssl -gpl-2+openssl -gpl-2+~openssl -gpl-2+-openssl -gpl-2+-openssl -gpl-2 + openssl exception -gpl-2+~openssl-exception -gpl-2+~openssl-exception or expat or zlib -gpl-2+~openssl-exception or mit~x11 or zlib or bsd-3-clause -gpl-2+~openssl or gpl-2+ -gpl-2~or -gpl2 or -gpl-2-or-2-or-kde-ev -gpl-2or3 -gpl-2-or-3 -gpl-2-or-3 and gpl-2+ -gpl-2-or-3 and lgpl-2.1+ and gpl-2+ -gpl 2 or 3 or approved by kde e.v. -gpl-2-or-3-with-additional-permissions -gpl-2-or-3 with kde exception -gpl-2-oracle -gpl-2+ or afl-2.1 -gpl-2+ or afl-2.1, and lgpl-2+ -gpl-2+ or afl-2.1, and tcl-bsdish -gpl-2+ or afl-2.1 or expat -gpl-2+ or afpl -gpl-2+ or afpl-9 -gpl-2+ or afpl~afpl -gpl-2+ or agpl-3 gpl-2.0-plus or agpl-3.0 -gpl-2 or angband gpl-2.0-plus -gpl-2+ or any later version accepted by the membership of kde e.v. gpl-2.0-plus -gpl-2+ or any later version approved by kde e.v. -gpl-2+ or apache -gpl-2+ or apache-1.1 -gpl-2+ or apache-2 -gpl-2 or apache 2.0 -gpl-2 or apache-2.0 -gpl-2-or-apache-2.0 -gpl-2+ or apache-2.0 -gpl-2+ or apache-2.0 or apache-1.0 -gpl-2 or artistic -gpl-2+ or artistic -gpl-2+-or-artistic -gpl-2+ or artistic-1.0 -gpl-2+ or artistic license -gpl-2 or artistic-license-2.0beta5 -gpl-2 or artistic or gpl-1+ -gpl-2+ or artistic or gpl-1+ -gpl-2 or (at your option) any later version -gpl-2+ or autoconf -gpl-2+ or autoconf-special-case -gpl-2+ or bsd -gpl-2 or bsd-2-clause -gpl-2+ or bsd-2-clause -gpl-2+ or bsd-2-clause -gpl-2+ or bsd-2-clause_(modified) -gpl-2 or bsd-2-clause/openib -gpl-2 or bsd-2-clause or rubylicense -gpl-2 or bsd-3-clause -gpl-2 or bsd-3-clause -gpl-2+ or bsd-3-clause -gpl-2+ or bsd-3-clause -gpl-2+ or bsd-3-clause -gpl-2 or bsd-3-clause/intel -gpl-2 or bsd-4-clause -gpl-2+ or bsd-like with advertising clause -gpl-2+ or bsd-like-with-advertising-clause -gpl-2 or bsd-openvpn -gpl-2+ or cc0-1.0 -gpl-2+ or cc-by-3.0 -gpl-2+ or cc-by-nc-sa-3.0 -gpl-2+ or cc-by-sa -gpl-2 or cc-by-sa-2.5 -gpl-2+ or cc-by-sa 2.5 -gpl-2+ or cc-by-sa-2.5 -gpl-2+ or cc-by-sa-3 -gpl-2 or cc-by-sa-3.0 -gpl-2+ or cc-by-sa-3.0 -gpl-2+ or cc-by-sa-3.0+ -gpl-2 or cddl -gpl2-or-click -gpl-2 or click or special -gpl-2+ or commercial -gpl-2+ or configure-same-as-package -gpl-2+ or custom license -gpl-2+ or dcraw -gpl-2+ or dwtfywt -gpl-2 or dxflib-commercial-license -gpl-2+ or dxflib-commercial-license -gpl-2 or expat -gpl-2 or expat -gpl-2+ or expat -gpl-2 or expat and bsd-3-clause-author -gpl-2 or fluendo -gpl-2 or ftl -gpl-2+ or ftl -gpl-2+ or gap~configure -gpl-2 or gfdl -gpl-2+-or-gfdl-1.2+ -gpl-2+ or gfdl-1.2+ or lgpl-2+ -gpl-2+ or gfdl-niv -gpl-2+ or gfdl-niv-1.1+ -gpl-2+ or gfdl-niv-1.2+ -gpl-2+ or gl2ps -gpl-2+ or gl2ps-2 -gpl-2+ or gl2ps-2+ -gpl-2+ or gpl-1+ or artistic -gpl-2 or gpl-2+ -gpl-2+ or gpl-2 -gpl-2+ or gpl-2+3+kdeev -gpl-2+ or gpl-2+3 or wtfpl -gpl-2+ or gpl-2+~openssl -gpl-2 or gpl-2+ or gpl-3+ or expat or expat~noadvert or mit~opengroup or mit~x11 or mit~tektronix or mit~tektronix~3-clause or mit~oldstyle or mit~adobe or mit~veryoldstyle~uniofcalifornia or mit~veryoldstyle~ncd or mit~isc or sgi-1.1 or glx-1.0 or zlib or xfree86 or bsd-1-clause or permissive -gpl-2 or gpl-2+ or lgpl-2+ or lgpl-2.1+ or mit~oldstyle+legaldisclaimer -gpl-2 or gpl-3 -gpl-2 or gpl-3+ -gpl-2+ or gpl-3 -gpl-2+ or gpl-3+ -gpl-2 or gpl-3 and exception-openssl -gpl-2 or gpl-3+kde -gpl-2 or gpl-3+kdgantt -gpl-2-or-gpl-3-or-approved-by-kde-ev -gpl-2+ or gpl-3+ or bsd-2-clause or bsd-3-clause or expat or fltk -gpl-2+ or gpl-3+ or cc0-1.0 -gpl-2 or gpl-3 or cc-by-3 or oga-by-3 -gpl-2+ or gpl-3+ or cc-by-sa-3.0 -gpl-2-or-gpl-3-or-ev -gpl-2 or gpl-3 or gpl-kdeev -gpl-2 or gpl-3 or later approved by kde e.v. -gpl-2 or gpl-3 or later editions as approved by kde ev -gpl-2+ or gpl-3+ or lgpl-2+ -gpl-2+ or gpl-3+ or lgpl-2.1+ -gpl-2+ or gpl-3+ or lgpl-2.1+ or cc-by-sa -gpl-2+ or gpl-3+ or lgpl-2.1+ or cc-by-sa-3.0-us -gpl-2+ or gpl-3+ or lgpl-2.1+ or expat or bsd-4-clause -gpl-2+ or gpl-3 or lgpl-2.1 or lgpl-3 -gpl-2+ or gpl-3+ or lgpl-2.1+ or lgpl-3+ or expat or bsd-3-clause or bsd-4-clause -gpl-2+ or gpl-3+ or lgpl-2+ or lgpl-2.1+ or mit~oldstyle+redhat or mit~oldstylewithdisclaimer+redhat -gpl-2 or gpl-3 or lgpl-3 -gpl-2 or gpl-3 or other -gpl-2 or gpl-3 with additional permissions -gpl-2 or gpl-3 with font -gpl-2 or gpl-3 with font exception -gpl-2+ or gpl-3+ with kde e.v. exception -gpl-2+ or gpl_font_exception -gpl-2+ or ibm cpl -gpl-2+ or ibm-cpl -gpl-2+ or if_libopts_linked lgpl-3+ or modified_bsd -gpl-2 or later -gpl2 or later -gpl-2 or later as approved by kde ev -gpl-2+ or ldp -gpl-2-or-lgpl -gpl-2+ or lgpl -gpl-2+-or-lgpl -gpl2+ or lgpl -gpl-2 or lgpl-2 -gpl-2+ or lgpl-2+ -gpl-2+_or_lgpl-2+ -gpl-2+ or lgpl-2.0+ -gpl-2 or lgpl-2.1 -gpl-2+ or lgpl-2.1+ -gpl-2+ or lgpl-2.1+ or apache-2.0 -gpl-2+ or lgpl-2.1+ or bsd-3-clause -gpl-2+ or lgpl-2.1+ or expat -gpl-2+ or lgpl-2.1 or lgpl-3.0 -gpl2+ or lgpl2.1 or lgpl3.0 -gpl-2 or lgpl-2.1 or mpl-1.1 -gpl-2 or lgpl-2.1+ or mpl-1.1 -gpl-2_or_lgpl-2.1+_or_mpl-1.1 -gpl-2+ or lgpl-2.1 or mpl-1.1 -gpl-2+ or lgpl-2.1+ or mpl-1.1 -gpl-2+ or lgpl-2.1+ or mpl-1.1+ -gpl-2 or lgpl-2.1 or mpl-1.1 or apache-2.0 or cc-by-4.0 -gpl-2+ or lgpl-2.1+ or sissl-1.1 -gpl-2+ or lgpl-2+ or bsd-3-clause -gpl-2+ or lgpl-2+ or bsd-3-clause~ijg -gpl-2+ or lgpl-2+ or bsd-3-clause~ijg or gfdl-1.1+ -gpl-2+ or lgpl-2+ or expat -gpl-2+ or lgpl-2+ or expat or mit~oldstyle -gpl-2+ or lgpl-2+ or lgpl-2.1+ -gpl-2+ or lgpl-2 or lgpl-3 -gpl-2+ or lgpl-2+ or mit-opengroup -gpl-2+ or lgpl-2+ with staticlinking exception -gpl-2+ or lgpl-2+ with static linking permission -gpl-2 or lgpl-3 -gpl-2+ or lgpl-3 -gpl-2+ or lgpl-3+ -gpl-2+ or lgpl-3.0+ -gpl-2+ or lgpl-3+ or cc-by-sa-3.0+ -gpl-2+ or lgpl-3+ or modified_bsd -gpl-2+ or lgpl-3+ with libopts exception or bsd-3-clause with libopts exception -gpl-2+ or libjpeg -gpl-2+ or libtool-same-as-package -gpl-2+ or license of distributed software -gpl-2+_or_license_of_distributed_software -gpl-2+ or macro-archive-same-as-package -gpl-2 or mit -gpl-2+ or mit -gpl2 or mit -gpl-2 or mit, according to http://benalman.com/about/license/ -gpl-2 or mit, and bsd -gpl-2 or mit, and gpl-2 -gpl-2 or mit or bsd -gpl-2+ or mit_versit -gpl-2+_or_mit/x11 -gpl-2 or mit-x11-bsd-like -gpl-2+ or mpl-1.1 -gpl-2+ or mpl-1.1, and unicode -gpl-2 or mpl-1.1 or lgpl-2.1 -gpl-2+ or mpl-1.1 or lgpl-2.1+ -gpl-2+ or mpl-1.1+ or lgpl-2.1+ -gpl-2+ or mpl-1.1 or lgpl-2+ with staticlink exception -gpl-2 or newer -gpl-2 or other -gpl-2+ or other -gpl-2+ or other-autoconf -gpl-2+ or other-libtool -gpl-2+ or other-sa-autoconf -gpl-2+ or other-sa-autoconf -gpl-2+ or other-sa-ghostscript-afpl-9 -gpl-2+ or other-sa-libtool -gpl-2+ or other-sa-libtool -gpl-2+ or other-sa-libtoolf -gpl-2+ or permissive -gpl-2+ or permissive -gpl-2+ or php -gpl-2+ or psf -gpl-2 or python -gpl2 or python -gpl-2+ or python-2.2 -gpl-2 or qpl -gpl-2 or qpl-1 -gpl-2+ or research-use-only or gpl-3+ -gpl-2 or ruby -gpl-2+ or ruby -gpl-2 or ruby, and expat -gpl-2 or ruby, and psf -gpl-2 or rubylicense -gpl-2+ or ruby's -gpl-2 or special -gpl-2 or tgppl1+ -gpl-2+ or tgppl1+ -gpl-2 or ubdl -gpl-2+ or ubdl -gpl-2+ or v3 accepted by the membership of kde e.v. -gpl-2 or w3c or bsd or mit -gpl-2+ or wxwindows -gpl-2+ or x11 -gpl-2 | other -gpl-2+ | other -gpl-2+, other -gpl-2-plugin -gpl-2+-plus-bison-exception -gpl-2+-plus-bison-exception-roskind -gpl-2 plus following disclaimer -gpl-2+-plus-special-exception-bison -gpl-2+-plus-special-exception-gnu -gpl-2+-plus-special-exemption -gpl-2+, plus special exemption. -gpl-2+, public domain -gpl-2_qt-1.1exception -gpl-2_qt-1.1exception or gpl-3_qt-1.1exception or lgpl-3_qt-1.1exception -gpl-2_qt-1.1exception or lgpl-2+_qt-1.1exception -gpl-2+_qt3 -gpl-2-qtexception -gpl-2+qtexception -gpl-2-qtexception-1 -gpl-2-qtexception-1.0 -gpl-2+ [ref09] -gpl-2+ [ref10] -gpl-2+ [ref11] -gpl-2+ [ref15] -gpl-2+, ruby -gpl2 (see copying-gpl2) -gpl 2+ (see /usr/share/common-licenses/gpl-2 for complete license) -gpl-2-short -gpl-2+-shorttext -gpl-2+~swish -gpl-2-unifont -gpl-2+ (/usr/share/common-licenses/gpl-2) -gpl2+ (/usr/share/common-licenses/gpl-2) -gpl-2-withacexception -gpl-2+ with ada exception -gpl-2+ with a special exception -gpl-2+-with-autoconf -gpl-2+ with autoconf archive exception -gpl-2 with autoconf exception -gpl-2 with autoconf exception -gpl-2 with autoconf exception -gpl-2+ with autoconf exception -gpl-2+ with autoconf exception -gpl-2+ with autoconf exception -gpl-2+ with autoconf exception -gpl-2+_with_autoconf_exception -gpl-2+_with_autoconf_exception -gpl-2+-with-autoconf-exception -gpl-2+-with-autoconf-exception -gpl-2+-with-autoconf-exception -gpl-2+-with-autoconf-exception -gpl2+ with autoconf exception -gpl2+-with-autoconf-exception -gpl-2+ with autoconf exception and other-gap and other-gap-m4 -gpl-2+ with autoconf exception and other-gap-config -gpl-2+ with autoconf exception or artistic -gpl-2+ with autoconf exception or bsd-3-clause or gpl-1+ -gpl-2+ with autoconf exception or expat -gpl-2+ with autoconf exception or gpl-3+ -gpl-2+ with autoconf exception [ref10] -gpl-2+ with autoconf exception [ref11] -gpl-2+ with autoconf exception [ref12] -gpl-2+ with autoconf macro exception -gpl-2+ with autoconf-macro exception -gpl-2+ with autoconfmacro exception -gpl-2+ with autoconf-macro-package exception -gpl2+-with-autoconf-macros-exception -gpl-2+ with autoconf~you exception -gpl-2+ with autotools exception -gpl-2+-with-autotools-exception -gpl-2+ with avisynth exception -gpl-2+ with bison-1.24 exception -gpl-2+ with bison 2.2 exception -gpl-2+ with bison exception -gpl-2+ with bison exception -gpl-2+-with-bison-exception -gpl-2+-with-bison-exception -gpl-2 with cgal exception -gpl-2+ with cgal exception -gpl-2+ with cgal exception and pythonparts -gpl-2 with classpath exception -gpl-2 with classpath exception -gpl-2 with classpath exception -gpl-2 with classpath exception -gpl-2-with-classpath-exception -gpl-2-with-classpath-exception -gpl-2-with-classpath-exception -gpl-2+ with classpath exception -gpl-2+ with classpath exception -gpl-2+-with-classpath-exception -gpl-2 with classpath exception or cddl-1.0 -gpl-2 with classpath exception or cddl-1.1 -gpl-2+ with composition exception -gpl-2 with cups exceptions -gpl-2+ with distribute exception -gpl-2+ with distribution exception -gpl-2 with document exception -gpl-2 with dune exception -gpl-2+ with dune-grid-glue exception -gpl-2+ with dune-grid-glue exception or lgpl-3+ -gpl-2 with exception -gpl-2-with-exception -gpl-2+ with exception -gpl-2+-with-exception -gpl-2+-with-exception -gpl-2+with_exception -gpl-2+ with exception for mozilla -gpl-2+ with exception or zlib/libpng -gpl-2 with exceptions -gpl-2-with-exceptions -gpl-2+ with floss exception -gpl-2+ with fmod ex exception -gpl-2 with font embedding exception -gpl-2-with-font-embedding-exception -gpl-2+ with font embedding exception -gpl-2 with font embedding exception and m+ fonts license -gpl-2+ with font embedding exception and mit-like-baekmuk -gpl-2 with font exception -gpl-2 with font exception -gpl-2+ with font exception -gpl-2+ with font exception -gpl-2+-with-font-exception -gpl-2+-with-font-exception -gpl-2+ with font exception and ofl-1.1 -gpl-2 with font exception (musescore) -gpl-2 with font exception or ofl-1.1 -gpl-2+ with font exemption -gpl-2-with-fonts-exception -gpl-2+-with-fontsexception | ofl -gpl-2 (with foss license exception) -gpl-2+ (with foss license exception) -gpl-2+ with freertos exception -gpl-2+ with generate exception -gpl-2+-with-generic-exception -gpl-2+ with generics exception -gpl-2+ with gmsh exception -gpl-2 with gnat exception -gpl-2+ with gnu-common-c++ exception -gpl-2+ with gnu linking exception -gpl-2+ with gstreamer exception -gpl-2+ (with incorrect fsf address) -gpl-2 with liberation exceptions -gpl-2+ with library exception -gpl-2+ with library exception or hpnd -gpl-2+ with librtas exception -gpl-2+-with-librtas-exception -gpl-2 with libtool exception -gpl-2+ with libtool exception -gpl-2+ with libtool exception -gpl-2+ with libtool exception -gpl-2+-with-libtool-exception -gpl-2+ with libtool exception and other-gap-configure -gpl-2+ with libtool exception and other-gap-m4 -gpl-2+ with libtool exception or artistic -gpl-2+ with libtool exception or bsd-3-clause or gpl-1+ -gpl-2+ with libtool exception or bsd-3-clause or gpl-1+, and gpl-3+ with libtool exception or bsd-3-clause or gpl-1+, and gpl-3+ -gpl-2+ with libtool exception or expat -gpl-2+ with libtool exception or expat, and gpl-3+ with libtool exception or expat, and gpl-3+ -gpl-2+ with libtool exception or gpl-3+ -gpl-2+ with link exception -gpl-2 with linking exception -gpl-2_with_linking_exception -gpl-2-with-linking-exception -gpl-2+ with linking exception -gpl-2+-with-linking-exception -gpl-2 with linking exception, origin admission -gpl-2+ with linking gpl-incompatible libraries exception -gpl-2+ with linking gpl-incompatible libraries exemption -gpl-2 with linux-syscall-note exception -gpl-2 with linux-syscall-note exception or mit -gpl-2+ with linux-syscall-note or bsd-3-clause -gpl-2+ with motif exception -gpl-2+ with mozilla exception -gpl-2+ with nmap exception -gpl-2 with openssh-linking exception -gpl-2+-with-openssl -gpl-2 (with openssl and foss license exception) -gpl-2 with openssl excemption (see below) -gpl-2 with openssl exception -gpl-2 with openssl exception -gpl-2 with openssl-exception -gpl-2-with-openssl-exception -gpl-2+~with-openssl-exception -gpl-2+ with openssl exception -gpl-2+ with openssl exception -gpl-2+ with openssl exception. -gpl-2+ with openssl exception and expat -gpl-2+ with openssl exception and postgresql -gpl-2+ with openssl exception or artistic -gpl-2+ with openssl exception or artistic, and bsd -gpl-2 with openssl exception or commercial -gpl-2+~with-openssl-exception or gpl-2+ or lgpl-2.0+ or lgpl-2.1+ or isc or mit~oldstyle or expat or bsd-2-clause or bsd-3-clause or wxwindows-3.1+ -gpl-2+ with openssl exception or gsoap public licence -gpl-2+ with openssl exception or gsoap-public-licence -gpl-2+~with-openssl-exception or lgpl-2.1+ or expat or mit~opengroup or mit~nuclear or publicdomain or bsd-2-clause or bsd-3-clause -gpl-2+ with openssl exception or psf -gpl-2 with openssl exception or tgppl-1 -gpl-2 with openssl exemption -gpl-2+ with openssl exemption -gpl-2_with_openssl_linking_exception -gpl-2+ with other exception -gpl-2+ with phylip exception -gpl-2+_with_portion -gpl-2+, with portion as follows: -gpl-2 with psurface exception -gpl-2 with qt exception -gpl-2-with-qt-exception -gpl-2 with redhat exception -gpl+2 with responsibility exception -gpl-2+ with runtime exception -gpl-2+ with sane exception -gpl-2 with sequiturg2p exception -gpl-2+ with several exceptions or tgppl1+ -gpl-2+ with several exceptions or tgppl1+ or mit or spl -gpl-2+ with special exception -gpl-2+ with special exception for compressed executables -gpl-2+, with special exemptions -gpl-2+ with special linking exception -gpl-2 with ssl exception -gpl-2+ with ssl exception -gpl-2+ with texinfo exception -gpl-2+, with the following exception: -gpl-2+ with tlsf exception or lgpl-2.1+ -gpl-2+ with tlsf exception or lgpl-2.1+ with tlsf exception -gpl-2 with two modifications -gpl-2-with-two-modifications -gpl-2+ with wxwindows exception -gpl-2+_with_yale_conditions -gpl-2+~xine -gpl-2+~you -gpl-2+~you or afpl -gpl-2+~you or afpl~afpl -gpl3 -gpl 3 -gpl 3+ -gpl-3 -gpl-3: -gpl-3+ -gpl-3+ -gpl-3+ -gpl-3+. -gpl+3 -gpl3+ -gpl-3 -gpl-3+ -gpl-3.0 -gpl-3.0+ -gpl-3.0+ and apache-2.0 -gpl-3.0+ and bsd-2-clause -gpl-3.0+ and bsd-3-clause -gpl-3.0+ and cc-by-sa-3.0 -gpl-3.0+ and expat -gpl-3.0+ and isc -gpl-3.0+ and permissive-alt -gpl-3.0+-autoconf -gpl-3.0, lgpl-3.0 -gpl-3.0-only -gpl-3.0+~openssl -gpl-3.0 or bsd-3-clause or hidapi -gpl-3.0 or epl-1.0 -gpl-3.0_or_epl-1.0 -gpl-3.0+ or gfdl-1.3+ -gpl-3.0-or-later -gpl-3.0 or lgpl-2.1-nokia-lgpl-exception-1.0 -gpl-3.0 or lgpl-2.1-with-digia-1.1-exception -gpl-3.0 or lgpl-3.0 -gpl-3.0+ or lgpl-3.0+ -gpl-3.0 or mit -gpl-3.0+ or mit -gpl-3.0+ or mit or wtfpl -gpl-3.0+ or mpl-1.1 or lgpl-3+ -gpl-3.0 or public-domain -gpl-3.0-with-autoconf-exception -gpl-3.0+ with autoconf exception -gpl-3.0+-with-autoconf-exception -gpl3.0+ with autoconf exception -gpl-3.0+ with autoconf macro archive exception -gpl-3.0+ with bison exception -gpl-3.0+ with bison exception -gpl3.0+-with-exception -gpl-3.0+ with font exception -gpl-3.0+ with font exception -gpl-3.0+ with font exception -gpl-3.0+ with font exception or ofl-1.1 -gpl-3.0+ with freefont exception -gpl-3.0+ with generated exception -gpl-3.0+-with-its-exception -gpl-3.0 with openssl exception -gpl-3.0+ with openssl exception -gpl-3.0+ with openssl exception and zlib -gpl-3.0+ with section 7 exception -gpl-3.0+ with template exception -gpl-3+additional-terms -gpl-3+ and agpl-3+ -gpl-3+ and apache -gpl-3+ and apache-2 -gpl-3 and apache-2.0 -gpl-3+ and bsd-2-clause -gpl-3 and bsd-3-clause -gpl-3 and bsd-3-clause -gpl-3+ and bsd-3-clause -gpl-3+ and bsd-3-clause -gpl-3+ and bsd-3-clause-google -gpl-3 and bsd-c2 -gpl-3+ and bsl-1.0 -gpl-3+ and bzip2 -gpl-3 and cc-by-sa-4.0 -gpl-3+ and curl -gpl-3+ and dec-license -gpl-3+ and exception-autoconf -gpl-3+ and exception-gpl3-tex -gpl-3+ and exception-gpl-autoconf -gpl-3+ and expat -gpl-3+ and gfdl-1.1+ -gpl-3+ and gfdl-1.2+ -gpl-3 and gfdl-1.3 -gpl-3+ and gpl-2+ -gpl-3+ and gpl-3 -gpl-3+ and isc -gpl-3+ and lgpl-2+ -gpl-3+ and lgpl-2.1 -gpl-3+ and lgpl-2.1+ -gpl-3+ and lgpl-3+ -gpl-3+ and mit -gpl-3+ and mit and bsd-3-clause -gpl-3 and other -gpl-3+ and other -gpl-3+ and other -gpl-3+ and other [ref21] -gpl-3 and psf -gpl-3+ and umac -gpl-3+ and wietse -gpl-3+ apache-2.0 -gpl-3+~art -gpl-3+~artifex -gpl-3+autoconf -gpl-3+~autoconf -gpl-3+_autoconfexception -gpl-3+autoconf-exception -gpl-3-bison -gpl-3+bison -gpl-3+-bison -gpl-3+-bison -gpl-3+_bisonexception -gpl-3+_bisonexception_and_lgpl-3+ -gpl-3+_bisonexception or lgpl-3+_bisonexception -gpl-3+_bisonexception or mit_versit -gpl-3+_bisonexception or mit/x11 -gpl-3 / cc-by-3.0 -gpl-3-except -gpl-3+exception -gpl-3+ + exception -gpl-3, except some parts mentioned below which have their own license -gpl-3+fe -gpl-3+~file -gpl-3+~file with autoconf exception -gpl-3+~flowblade -gpl-3 + font exception -gpl-3+fontexception or ofl-1.1 -gpl-3+-gcc-runtime-library-and-generics-exceptions -gpl-3+kde -gpl-3+kdeev -gpl-3+kdgantt -gpl-3+, lgpl-3+ -gpl-3-license-text+additional_terms -gpl-3+-m4 -gpl-3+~manual-page -gpl-3-only+fe -gpl-3-opengroup -gpl-3/openssl -gpl-3+openssl-exception -gpl-3 or agpl-3 -gpl-3 or agpl-3 or mh-output-exception -gpl-3+ or apache-2 -gpl-3 or apache-2.0 -gpl-3+ or apache-2.0 -gpl-3+ or apache-2.0 or bsd-2-clause -gpl-3+ or apache-2.0 or bsd-3-clause -gpl-3+ or artistic -gpl-3 or artistic or gpl-1+ -gpl-3+ or artistic or gpl-1+ -gpl-3 or autoconf -gpl-3+ or bsd -gpl-3+ or bsd-2-clause -gpl-3+ or bsd-2-clause or bsd-3-clause -gpl-3 or bsd-3-clause -gpl-3+ or bsd-3-clause -gpl-3+ or bsd-3-clause -gpl-3 or bsd-3-clause or hidapi -gpl-3+ or bsd-3-clause or tclxml or tcltk or public-domain -gpl-3 or cc-by-3.0 -gpl-3+ or cc-by-sa -gpl-3+-or-cc-by-sa -gpl-3+ or cc-by-sa-3 -gpl-3+ or cc-by-sa-3+ -gpl-3+ or cc-by-sa-3.0 -gpl-3+ or cc-by-sa-3.0+ -gpl-3 or cc-by-sa-4.0 -gpl-3+ or cgal-commercial -gpl-3+ or commercial -gpl-3+ or custom -gpl-3+ or expat -gpl-3+ or expat or bsd-2-clause -gpl-3-or-ext-js-license -gpl-3+ or foss exception or link exception -gpl-3+ or gfdl-1.2+ -gpl-3+ or gfdl-niv -gpl-3+ or gfdl-niv-1.2+ -gpl-3 or gpl-2 -gpl-3-or-gpl-2 -gpl-3+ or gpl-2 -gpl-3 or gpl-2-or-3 or lgpl-2-or-3 or lgpl-3 or expat or bsd-3-clause or mit~x11 -gpl-3+ or gpl-2+ or lgpl-3+ or lgpl-2.1+ -gpl-3+ or gpl-2+ or lgpl-3+ or lgpl-2.1+ or gfdl-1.1+ -gpl-3 or gpl-3+ -gpl-3+ or gpl-3 -gpl-3 or later -gpl-3 or lgpl-2+ -gpl-3 or lgpl-2.1 -gpl-3+ or lgpl-2.1+ -gpl3 or lgpl2.1 -gpl-3_or_lgpl-2.1+3 -gpl-3+ or lgpl-2.1+ or bsd-2-clause or bsd-3-clause or bsl-1.0 -gpl-3 or lgpl-2.1 or lgpl-3 -gpl-3 or lgpl-2.1 or qt-commercial-license -gpl-3_or_lgpl-2.1-qtexception-1.0 -gpl-3 or lgpl-2.1-qtexception-1.1 -gpl-3_or_lgpl-2.1-qtexception-1.1 -gpl-3 or lgpl-2.1 with digia-1.1 exception -gpl-3 or lgpl-2 or lgpl-2.1 -gpl-3 or lgpl-3 -gpl-3+ or lgpl-3+ -gpl3+ or lgpl3+ -gpl-3+ or lgpl-3+ or bsd-2-clause or bsd-3-clause or bsl-1.0 -gpl-3 or lgpl-3 or lgpl-2.1 -gpl-3 or lgpl-3 or mpl-1.1 -gpl-3+ or lgpl-3+ or mpl-1.1+ -gpl-3+ or lgpl-3+ or mpl-2.0+ -gpl-3+ or lgpl-3+ or wtfpl-2 -gpl-3 or mh-output-exception -gpl-3 or mit -gpl-3+ or mit -gpl-3 or mit/expat -gpl-3 or mit or bsd-3-clause -gpl-3+ or mpl-1 -gpl-3+ or mpl-2 -gpl-3+ or mpl-2+ -gpl-3+ or mpl-2.0 -gpl-3+ or other -gpl-3+ or public_domain -gpl-3+ or public-domain -gpl-3+ or waqf public license -gpl-3+ or wpl -gpl-3+ or wpl-2 -gpl-3+ | other -gpl-3-qt -gpl-3_qt-1.1exception -gpl-3_qt-1.1exception or lgpl-2.1_qt-1.1exception -gpl-3_qt-1.1exception or lgpl-2_qt-1.1exception -gpl-3-qt-v2 -gpl-3+ [ref10] -gpl-3+ [ref11] -gpl-3+ [ref12] -gpl-3+ [ref13] -gpl-3+ [ref14] -gpl-3+ [ref17] -gpl-3+ [ref18] -gpl-3+ [ref19] -gpl-3+ [ref20] -gpl-3+ [ref21] -gpl-3, see `/usr/share/common-licenses/gpl-3' -gpl 3+ (see /usr/share/common-licenses/gpl-3 for complete license) -gpl-3_sslexception -gpl-3+texinfo-exception -gpl-3+~toonloop -gpl-3-turnserver -gpl-3 /usr/share/common-licenses/gpl-3 -gpl-3+_waveletturbulence -gpl-3-withacexception -gpl-3+ with additional permission -gpl-3+_with_additional_terms -gpl-3+ with addtional permission -gpl-3+-with-autoconf -gpl-3+ with autoconf-1 exception -gpl-3+ with autoconf-2 exception -gpl-3+ with autoconf-3 exception -gpl-3+ with autoconf archive exception -gpl-3+ with autoconf-archive exception -gpl-3+ with autoconf-archive exception -gpl-3+-with-autoconf-archive-exception -gpl-3+_with_autoconf_config_exception -gpl3+-with-autoconf-configure-script-3-exception -gpl-3 with autoconf exception -gpl-3+ with autoconf exception -gpl-3+ with autoconf exception -gpl-3+ with autoconf exception -gpl-3+_with_autoconf_exception -gpl-3+_with_autoconf_exception -gpl-3+-with-autoconf-exception -gpl3+-with-autoconf-exception -gpl-3+ with autoconf exception or bsd-3-clause or gpl-1+ -gpl-3+ with autoconf exception or expat -gpl-3+ with autoconf exception or gpl-3+ -gpl-3+ with autoconf exception [ref12] -gpl-3+ with autoconf exception [ref13] -gpl-3+ with autoconf exception [ref14] -gpl-3+ with autoconf exception [ref15] -gpl-3+ with autoconf macro exception -gpl-3+ with autoconf macro exception -gpl-3+ with autoconf-macro exception -gpl-3+ with autoconf-macro exception -gpl-3+_with_autoconf_macro_exception -gpl-3+ with autoconf-macro-package exception -gpl-3+ with autoconf macros exception -gpl3+-with-autoconf-macros-exception -gpl3+-with-autoconf-macros-exception-gnu -gpl-3+-with-autotools-exception -gpl-3 with bison exception -gpl-3+ with bison exception -gpl-3+ with bison exception -gpl-3+-with-bison-exception -gpl-3+-with-bison-exception -gpl-3+-with-bison-exception -gpl-3+ with bison exception 2.2 -gpl-3+ with bison-exception-2.2 exception -gpl-3+ with bison exception and bsd-3-clause -gpl-3+ with bison exception or apache-2.0 -gpl-3 with errbot exception -gpl-3+ with exception -gpl-3+-with-exception -gpl-3+with_exception -gpl-3 with font -gpl-3 with font exception -gpl-3 with font exception -gpl-3+ with font exception -gpl-3+ with font exception -gpl-3+-with-font-exception -gpl-3 with font exception and apache-2.0 -gpl-3+ with font exception and ofl-1.1 -gpl-3+ with font exception (freefont) -gpl-3+ with font exception (lilypond) -gpl-3+ with foss license exception -gpl-3+ with freefont exception -gpl-3+ with gcc-runtime-3.1 exception -gpl-3+ with gcc runtime library exception -gpl-3+ with gcc-runtime-library exception -gpl-3+ with generic exception -gpl-3+ with gnu-common-c++ exception -gpl-3-with-idsoft-extra-terms -gpl-3+-with-idsoft-extra-terms -gpl-3+-with-idsoft-extra-terms and bsd-3-clause and powell-snprintf -gpl-3+-with-id-software-addtional-terms -gpl-3+ with library exception -gpl-3+ with libtool exception -gpl-3 with linking exception -gpl-3 with nco exception -gpl-3 with nco exception and lpd-md5 -gpl-3 with openssl exception -gpl-3 with openssl exception -gpl-3-with-openssl-exception -gpl-3+ with openssl exception -gpl-3+ with openssl exception -gpl-3+-with-openssl-exception -gpl-3+ with openssl exception and apache-2.0 -gpl-3+ with openssl exemption -gpl-3 with openssl linking exception -gpl-3+ with phylip exception -gpl-3 with qt-1.0 exception -gpl-3 with qt-1.0 exception -gpl-3+ with special exception -gpl-3+ with special font exception -gpl-3+ with tex exception -gpl-3+ with texinfo exception -gpl3+-with-texinfo-exception -gpl-3+ with the qt company gpl exception 1.0 -gpl-3-wsjtx -gpl~aladdin -gpl~aladdingnu -gpl and cc-by-sa -gpl_and_exception-autoconf -gpl and lgpl -gpl-and-lgpl -gpl and lgpl-2.1+ -gpl-any -gpl-any | artistic -gpl-any | artistic | bsd-3 -gpl-any | other -gpl-any, other -gpl-any publicly approved by -gpl, artistic, available at /usr/share/common-licenses/{gpl,artistic} -gpl-as -gpl_autoconf -gpl_autoconfexception -gpl available at /usr/share/common-licenses/gpl -gpl, available at /usr/share/common-licenses/gpl -gpl & bsd -gpl but improper license statements. -gpl-compatible -gpl-config-exception -gpl~cups -gpl-djd -gpl_font_exception -gpl, gpl-2+ -gpl-itself -gpl-kdeev -gpl/lgpl -gpl lgpl-2+ -gpl_lgpl-2+ -gpl lgpl-2.1 -gpl lgpl-2.1+ -gpl/lgpl/mpl tri-license -gpl license -gpl license, 2003 -gpl license, 2003 -gpl~lips -gpl-nc-3+ -gpl (on debian systems, the complete text of the gnu general -gpl or artistic -gpl or artistic available at /usr/share/common-licenses/{gpl,artistic} -gpl or artistic. available at /usr/share/common-licenses/{gpl,artistic} -gpl or expat -gpl or fipl -gpl or lgpl -gpl or lgpl-2 -gpl or lgpl-2.1+ -gpl or lgpl (at your choice) -gpl or lgpl or mpl -gpl or lgpl or mpl or apache-2.0 or cc-sa-1.0 -gpl or mit -gpl or mpl-1.1 -gpl or other -gpl or ruby -gpl or specific license -gpl+ or the artistic licence -gpl-other -gpl, other -gpl (please see /usr/share/common-licenses/gpl-2). -gpl plus ian -gpl, public domain -gpl [ref08] -gpl [ref10] -gpl [ref14] -gpl (see above) -gpl (see readme.lic(.asc) for a statement of the upstream author) -gpl (see /usr/share/common-licenses/gpl) -gpl (see /usr/share/common-licenses/gpl). -gpl. see /usr/share/common-licenses/gpl. -gpl (since january 1999) -gpl-some-version -gpl-unspecified -gpl-unspecified-version -gpl (unversioned/unknown version) -gpl~urw -gpl~urw with font exception -gpl (/usr/share/common-licenses/gpl) -gplv1 -gpl v1 or later -gplv2 -gpl v2 -gpl v2 -gpl (v2) -gpl v2+ -gpl v2+ (*/*) -gpl-v2+ -gplv-2 -gplv2+ -gplv2+. -gplv2-and-2bsd -gplv2+_doc_full -gpl v2 licensed. -gplv2 or gplv3 or later editions as approved by kde ev -gpl (v2 or later) -gpl v2 or later -gplv2 or later -gplv2 or later. -gpl (v2 or later) compatible -gpl (v2 or later) generated file -gpl v2 or later (please see /usr/share/common-licenses/gpl-2). -gplv2+ (please see /usr/share/common-licenses/gpl-2). -gplv2+ (see above) -gplv2+ (see above; with gnu classpath exception, see below) -gpl v2 (see /usr/share/common-licenses/gpl-2 for complete license) -gplv2-with-linking-exception -gplv2 with ssl linking exception -gplv3 -gpl v3 -gpl v3+ -gpl-v3 -gpl-v3+ -gplv3+ -gplv3-gluster -gpl (v3 or later) -gplv3 or later -gplv3 (please see /usr/share/common-licenses/gpl-3). -gpl-verbatim -gplverbatim [ref14] -gplverbatim [ref15] -gplverbatim [ref16] -gplverbatim [ref17] -gpl version 2 -gpl version 2 -gpl version 2+ -gpl version 2, available at /usr/share/common-licenses/gpl-2 -gpl (version 2 or later). -gpl version 2 or later -gpl version 2 or later. this software comes with -gpl version 2 (see /usr/share/common-licenses/gpl-2) and -gpl version 3 -gplwithacexception -gpl with autoconf exception -gpl with autoconf exception [ref09] -gpl-with-bison-exception -gpl with doxygen exception -gpl (with exception) -gpl (with incorrect fsf address) -gpl with openssl exception -gray-watson -greywyvern-bsd -grl -grl and 454 -grl-new -grl or mrc -grl or mrc, and 454 -groff -gsm -gsm -guile-news -guile-tutorial -guillaume_lelarge -gust-font -gzip -hackopenfont -hackopenfont and bitstreamvera -haines -hanazono font license -hanazono-font-license -hanazono font license or open font license -hanazono-font-license or open-font-license -handy -hansen -happy -happybunny -happy-bunny -happybunny or expat -harfbuzz -harfbuzz-license -haskellwiki -hasktags license -hastache license -hdf -hdf4 -hdf5 -hdf5 -hdparm -__header___ -heidelberg -henry-spencer-regex -here-global-b.v-proprietary -heroes-gpl-2 -heroes-gpl-2+ -hershey-license -herveille -hid -hidapi -hidapi-bsd -hidapilicense -hidapilicense or gpl-3 or ozbsd or originalhidapi -hidapi-license-overview -hidapi-triple-license -highlight -hipshot -historical permission notice and disclaimer (hpnd) -hoauth2-license -hollight -home-made-bsd -hoogle license -horde is licenced under gpl2 license. -horde is licenced under gpl2+ license. -horde is licenced under lgpl license. -howto -howto and ldp -hp -hpnd -hpnd-3i -hpnd and lgpl-2+ -hpnd-disclaimer -hpnd-eos -hpnd-p-sl-sgi -hpnd-sell-variant -hpnd-sl-gl-sgi -hpnd-sl-sgi -hp-notice -hsieh-bsd -hsieh-derivative -hsieh-derivative or hsieh-bsd or lgpl-2.1 -hsx-jmacro license -html-reference-exception -http://creativecommons.org/licenses/by/3.0/deed -http://creativecommons.org/licenses/by-sa/2.0/ -http://opensource.org/licenses/bsd-license.php bsd -http://www.opensource.org/licenses/bsd-license.php -hwloc -hybrid-bsd -hylafax -hyphenate-license -i18nimproto -iana -ibm -ibm and isc -ibm-cpl -ibm-dns -ibm-license -ibm-permissive -ibm-pl-1.0 -ibmpl-1.0 -ibm-public-license -ibm public license 1.0 -ibm-public-license-1.0 -ibm public license 1.0 or artistic or gpl-1+ -ibm-public-license or artistic or gpl-1+ -ibm public license version 1.0 - jikes compiler -ibm-ucar -ibpp-1.1 -icann-public -icc -icc~hewlett-packard -icc~legacy -icclib -icc~v4-appearance -icon-license -ics -icu -icu-1.8.1 -icu-ibm -icu-license -icu license 1.8.1+ -icu-other -icu-unicode -idealliance -idealliance~colorlogic -idiap-bsd-3-clause -idna license -idpl-1.0 -iers-conventions-software -ietf-bsd-3-clause -ietf-mib-bsd -ifparser -ifra -ifs -igsys -ijg -ijg license -ikelicense -ikiwiki-basewiki -illinois-ncsa -illinois-ncsa or mit -ilmbase -imagemagick -imagemagick -imagemagick -imagemagicklicensepartezxml -imagemagicklicensepartfig -imagemagicklicensepartgsview -imagemagicklicensepartopenssh -imagemagickpartgraphicsmagick -imagemagickpartlibjpeg -imagemagickpartlibsquish -imath -imdkit -imlib2-license -indiana -indiana university -inform -informal -infozip -infozip -info-zip -info-zip license -ingo is licenced under asl license. -initial developer's public license version 1.0 -inmon -insdc -install -installsh -install-sh -instdrv-public -intel -intel -intel -intel-fat-driver -intel_issl_hpcg_license_dual_license -intel_issl_hpl_license_dual_license -intel license agreement for open source computer vision library -intel-license-agreement-for-open-source-computer-vision-library -intel_license_installer -intel-open-source-license -intel_simplified_software_license -interface-only -intervals license -introspection-permissive -ipa-1 -ipa-1.0 -ipfw_nice_with_credit -ipl-1.0 -iraf -irrxml license -isc -isc -isc/ag -isc-alike -isc-alike+bsd-3-clause -isc and apache -isc and apache-2.0 -isc and bsd-2-clause -isc and bsd-2-clause -isc and bsd-2-clause and bsd-3-clause and bsd-4-clause -isc and bsd-3-clause -isc and bsd-3-clause -isc and bsd-3-clause and bsd-4-clause -isc and expat -isc and expat and gpl-3+ -isc and gpl-2+ -isc and ibm -isc and ibm-dns -isc and ibm-permissive -isc and isc-ibm -isc_and_lgpl-2 -isc and lgpl-2.1+ -isc and mit~oldstyle -isc and other-ibm -isc and permissive -isc-denviso -isc-fujitsu -isc generated file -isc-ibm -isc+ibm -isc-intel -isc/jlc -iscl -isc license -isc-license -isc-like -isc-like -isc-like-dmgfp -isc-like-dmgfp or mpl-2.0 -isc~minimal-disclaimer -isc-miros-flavour -isc-ncr -isc-no-disclaim -isc-openbsd-flavour -isc or gpl-3 -isc or gpl-3+ -isc-original -isc or mpl-2.0 -isc or other-ibm -isc or public domain -isc-packaging -isc-sun -isc~uc -isc-uc -isc variant -isc-variant -iso -isoc-mib-non-free -iso-permissive -ispell -it can be found at http://rubyforge.org/projects/rubygems. -itt -iupac/inchi-1 -ivykis-man -jaffer -jagarl -jam -janeliafarm -jansson -jasper -jasper-2.0 -jasper-license-version-2.0 -jaxen -jcharts license -jcharts-license -jdbm -jdom-apache-like -"jdom ""apache like"" license" -jef-poskanzer -jera -jim-mossman-attribution -j-lg-ma-3-clause -jmvbsd -johnson_m._hart -joypace-termcap -jpeg -jpeg -jpeg-group -jpeg license -jpeg-license -jpma -jqplot -jquery -jrl version 1.5 -jscheme -jsofa -jsofa and sofa -jsoncpp -jsoncpp-license -just-notice -jygment-mit-variant -jyutping -kannelsl-1.0 -kazhdan -kazlib -kazlib-free-software -kbk-1 -kde-bsd -kdeev -kde-gpl -kde-lgpl-2.1+ -keep_copyright -keith-marshall -keith packard -kelsey-sperber -kempf -keysym2ucs -khronos -kicad1 -kienzle -killableprocess -king-license -kiss-bsd -kissfftbsd -kitaware -kitware -kitware-bsd -kitware-bsd: -knuth -kryogenix -kuhn -kwic -kylheku -l1 -l2 -lafwidget is licensed under bsd license. -landrö-license -language-python license -larcency-gambit -larsson -latex -latex-1+ -latex2e -latex project public license -latex-project-public-license -latex project public license 1+ -latex project public license 1.2+ -latex project public license (lppl) -lawful -lcs-telegraphics-permissive -ldp -ldp-gpl-1 -ldpl-2 -ldpv1 -lego -leontorres -letsencrypt -lglpl-3 -lgnu_gpl -lgp-2+ -lgp-2.1+ -lgp-2.1f+ -lgpg-2.1+ -lgpgl-2.1 available on debian at: /usr/share/common-licenses/lgpl-2.1 -lgpl -lgpl~ -lgpl-1+ -lgpl-1.1+ -lgpl2 -lgpl 2 -lgpl 2+ -lgpl-2 -lgpl-2+ -lgpl2+ -lgpl-2 -lgpl-2.0 -lgpl-2.0+ -lgpl-2.0+ and expat -lgpl-2.0+ and mit-old-style -lgpl-2.0+ and zlib -lgpl-2.0+ generated file -lgpl-2.0-only -lgpl-2.0 or bsd -lgpl-2.0+ or bsd-2-clause -lgpl-2.0+ or mpl-1.0 -lgpl-2.0 with aosdl exception -lgpl-2.0+ with classpath exception -lgpl-2.0+ (with incorrect fsf address) -lgpl-2.0+ (with incorrect fsf address) generated file -(lgpl-2.1) -lgpl 2.1 -lgpl 2.1+ -lgpl-2.1 -lgpl-2.1 -lgpl-2.1, -lgpl-2.1+ -lgpl-2.1+: -lgpl2.1 -lgpl2.1+ -lgpl-2.1+3 -lgpl-2.1+3+kdeev -lgpl-2.1+3+kdeev-translations -lgpl 2.1, 3 or later as approved by kde e.v. -lgpl-2.1+ accepted by the membership of kde e.v. -lgpl-2.1+ and apache-2.0 -lgpl-2.1+ and apple-dsc -lgpl-2.1+ and bsd-2-clause -lgpl-2.1+ and bsd-2-clause -lgpl-2.1 and bsd-3-clause -lgpl-2.1+ and bsd-3-clause -lgpl-2.1+ and bsd-3-clause -lgpl-2.1+ and bsd-like -lgpl-2.1+ and bsl -lgpl-2.1+ and bsl-1.0 -lgpl-2.1+ and cc-publicdomain -lgpl-2.1 and diaga-lgpl-exception -lgpl-2.1+ and epl-1.0 or edl-1.0 -lgpl-2.1 and exception-lgpl-nokia-qt-1.1 -lgpl-2.1+ and exception-lgpl-nokia-qt-1.1 -lgpl-2.1 and expat -lgpl-2.1+ and expat -lgpl-2.1 and gpl-2 -lgpl-2.1 and gpl-2+ -lgpl-2.1+ and gpl-2+ -lgpl-2.1 and gpl-3.0+ -lgpl-2.1 and gplr-pursuant-to-dfars-252.227.7013 -lgpl-2.1+ and hp-notice -lgpl-2.1 and lgpl-2.1+ -lgpl-2.1+ and lgpl-2.1+~program-in-file -lgpl-2.1+ and lgpl-3 -lgpl-2.1+ and link exception -lgpl-2.1+ and mit -lgpl-2.1+ and mit (brian paul) -lgpl-2.1+ and mit-brian-paul -lgpl-2.1+ and mpl-1.1 and gpl-2+ -lgpl-2.1+ and ncurses -lgpl-2.1+ and ncurses license -lgpl-2.1+ and ntp~gopstein -lgpl-2.1 and other -lgpl-2.1+ and other -lgpl-2.1+ and postgresql and postgresql~corry and postgresql~brown -lgpl-2.1 and public domain -lgpl-2.1 and public_domain -lgpl-2.1+ and sgi-b-1.1 -lgpl-2.1+ and sundry -lgpl2.1+, and the following: -lgpl-2.1+ and unrar -lgpl-2.1+ and zlib -lgpl-2.1 | artistic | gpl-1+ -lgpl 2.1+ (basename.c) -lgpl-2.1+, bsd-3 -lgpl-2.1+~c -lgpl-2.1+ | cpl | other -lgpl-2.1-custom -lgpl-2.1-exc -lgpl-2.1-exception -lgpl-2.1+exception -lgpl-2.1+-exception -lgpl-2.1+ generated file -lgpl-2.1+~gnulibc -lgpl-2.1, gpl-2 -lgpl-2.1+ | gpl-2+ -lgpl-2.1+ | gpl-2+ | mpl-1.1 -lgpl-2.1 | gpl-3 -lgpl-2.1+~header -lgpl-2.1-ion -lgpl-2.1~kde-artwork -lgpl-2.1-kdeev -lgpl-2.1 | lgpl-3 -lgpl2.1 | lgpl3 -lgpl-2.1+~libav -lgpl-2.1 + linking exception -lgpl-2.1 | mpl -lgpl-2.1+mpl-1.1 -lgpl-2.1+ | mpl-1.1 | gpl-2+ -lgpl-2.1-nokia-lgpl-exception-1.0 -lgpl-2.1 + nokia qt lgpl exception 1.1 -lgpl-2.1 + nokia qt lgpl exception 1.1 | gpl-3+ -lgpl-2.1 + nokia qt lgpl exception 1.1 or gpl-3+ -lgpl-2.1-ocaml -lgpl-2.1-ocaml -lgpl-2.1+~openssl -lgpl-2.1+~openssl or bsd-2-clause or bsd-3-clause -lgpl-2.1-or-3-ev -lgpl 2.1 or 3 or approved by kde e.v. -lgpl-2.1-or-3 with digia-1.1 exception -lgpl-2.1-or-3-with-digia-1.1-exception -lgpl-2.1-or-3 with qt-1.1 exception -lgpl-2.1-or-3 with qt-1.1 exception and expat -lgpl-2.1-or-3 with qt-company-1.1 exception -lgpl-2.1+ or any later version approved by kde e.v. -lgpl-2.1+ or apache-1.0 -lgpl-2.1+ or apache-1.0 or gpl-2 -lgpl-2.1 or apache-2.0 -lgpl-2.1+ or apache-2.0 -lgpl-2.1+ or artistic-2.0 -lgpl-2.1 or artistic or gpl-1+ -lgpl-2.1+ or bsd -lgpl-2.1 or bsd-2-clause -lgpl-2.1+ or bsd-2-clause -lgpl-2.1+ or bsd-2-clause -lgpl-2.1 or bsd-2-clause-modified -lgpl-2.1+ or bsd-2-clause or bsd-3-clause -lgpl-2.1+ or bsd-2-clause or expat -lgpl-2.1+ or bsd-3 -lgpl-2.1 or bsd-3-clause -lgpl-2.1+ or bsd 3-clause -lgpl-2.1+ or bsd-3-clause -lgpl-2.1+ or bsd-3-clause -lgpl-2.1+ or bsd-3-clause or gpl-2+ -lgpl-2.1+ or bsd-3-clause or zlib -lgpl-2.1+ or bsd or zlib -lgpl-2.1 or bsd-x11 -lgpl-2.1 or cddl -lgpl-2.1 or cddl-1.0 -lgpl-2.1+ or cddl-1.0 -lgpl-2.1 or cddl-1.0 or libraw -lgpl-2.1+ or cpl -lgpl-2.1+ or cpl-0.5+ -lgpl-2.1 or cpl-1.0 -lgpl-2.1+ or cpl-1.0 -lgpl-2.1 or cpl-1.0 or special or proprietary -lgpl-2.1 or cpl-1.0 or special or proprietary or public-domain -lgpl-2.1+ or cpl or other -lgpl-2.1+ or douglas-crockford-good-not-evil-license -lgpl-2.1 or epl-1.0 -lgpl-2.1+ or expat -lgpl-2.1+ or expat or apache-2.0 -lgpl-2.1 or gpl-2 -lgpl-2.1+ or gpl-2 -lgpl-2.1+ or gpl-2+ -lgpl-2.1+_or_gpl-2+ -lgpl-2.1+ or gpl-2.0 -lgpl-2.1 or gpl-2-asterisk -lgpl-2.1+ or gpl-2 or apache-1.0 -lgpl-2.1+ or gpl-2+ or apache-2.0+ -lgpl-2.1+ or gpl-2+ or apache-2+ or bsd-3-clause -lgpl-2.1+ or gpl-2 or bsd-2-clause -lgpl-2.1+ or gpl-2 or expat -lgpl-2.1+ or gpl-2 or expat-like -lgpl-2.1 or gpl-2 or mpl-1.1 -lgpl-2.1+ or gpl-2+ or mpl-1.1 -lgpl-2.1 or gpl-3 -lgpl-2.1+ or gpl-3 -lgpl-2.1+ or gpl-3+ -lgpl-2.1 or gpl-3.0 -lgpl-2.1+ or gpl-3.0+ -lgpl-2.1, or gpl-3, or qt solutions commercial license -lgpl-2.1 or later -lgpl-2.1-or-later -lgpl2.1 or later -lgpl-2.1 or later as approved by kde e.v. -lgpl-2.1 or lgpl-3 -lgpl-2.1 or lgpl-3+ -lgpl-2.1+ or lgpl-3.0+ -lgpl-2.1 or lgpl-3, and gpl-2+ -lgpl-2.1-or-lgpl-3-or-approved-by-kde-ev -lgpl-2.1-or-lgpl-3-or-ev -lgpl-2.1 or lgpl-3 or ev exception -lgpl-2.1 or lgpl-3+ or expat -lgpl-2.1+ or lgpl-3 or expat -lgpl-2.1 or lgpl-3 or gpl-3 -lgpl-2.1 or lgpl-3 or kdeev -lgpl-2.1 or lgpl-3 or later approved by kde e.v. -lgpl-2.1-or-lgpl-3-or-later-approved-by-kde-ev -lgpl-2.1 or lgpl-3 or later as approved by kde e.v. -lgpl-2.1 or lgpl-3 or later editions as approved by kde ev -lgpl-2.1 or lgpl-3 or lgpl-kdeev -(lgpl-2.1 or lgpl-3) with qt exception -lgpl2.1 or lgpl3 (with some bsd) or eclipse public license. -lgpl-2.1+ or lgpl-kdeev -lgpl-2.1+ or lppl-1.3c or gpl-2+ -lgpl-2.1 or mit -lgpl-2.1+ or mit -lgpl-2.1+ or mit/x11 -lgpl-2.1 or mpl -lgpl-2.1 or mpl 1.0 -lgpl-2.1 or mpl-1.1 -lgpl-2.1+ or mpl-1.1 -lgpl-2.1+ or mpl-1.1+ or bsd-3-clause -lgpl-2.1+ or mpl-1.1 or gpl-2+ -lgpl-2.1+ or mpl-2 -lgpl-2.1 or mpl-2.0 -lgpl-2.1 or other -lgpl-2.1+ or other -lgpl-2.1+ or php-3.0+ -lgpl-2.1+ or research-use-only -lgpl-2.1 or secret labs ab license -lgpl-2.1+ or zlib -lgpl 2.1 | other -lgpl-2.1 | other -lgpl-2.1+ | other -lgpl-2.1+, other -lgpl-2.1~pcl3 -lgpl-2.1+~program-in-file -lgpl-2.1_qt-1.1exception -lgpl-2.1-qtexception-1.1 -lgpl2.1+ (relicensed from bsd3) -lgpl 2.1 (see above) -lgpl2.1 (see copying-lgpl2.1) -lgpl2.1 (see /usr/share/common-licenses/lgpl-2.1) -lgpl-2.1+ (/usr/share/common-licenses/lgpl-2) -lgpl-2.1 (/usr/share/common-licenses/lgpl-2.1) -lgpl-2.1+ (/usr/share/common-licenses/lgpl-2.1) -lgpl-2.1+ (/usr/share/common-licenses/lgpl-2) | gpl-2+ (/usr/share/common-licenses/gpl-2) | mpl-1.1 -lgpl-2.1 (with additional exception) -lgpl-2.1 (with additional exception) or gpl-3 -lgpl-2.1withaddon -lgpl-2.1 with classpath exception -lgpl-2.1 with diaga-lgpl-1.1 exception -lgpl-2.1 with digia-1.1 exception -lgpl-2.1-with-digia-1.1-exception -lgpl-2.1 with digia-1.1 exception or gpl-3 -lgpl-2.1 with digia exception -lgpl-2.1+ with digia exception -lgpl-2.1 with digia qt lgpl exception -lgpl-2.1~with-digia-qt-lgpl-exception-1.1 -lgpl-2.1 with digia qt lgpl exception 1.1 -lgpl-2.1~with-digia-qt-lgpl-exception-1.1 or gpl-3 -lgpl-2.1 with digia qt lgpl exception 1.1 or gpl-3 -lgpl-2.1 with digia qt lgpl exception or gpl-3 -lgpl-2.1 with exception -lgpl-2.1-with-exception -lgpl2.1 with exception -lgpl-2.1+-with-generic-exception -lgpl-2.1 with gmm exception -lgpl-2.1+ (with incorrect fsf address) -lgpl-2.1 with kde artists clarification -lgpl-2.1 with kde artists exception -lgpl-2.1 with linking exception -lgpl-2.1-with-linking-exception -lgpl-2.1+ with linking exception -lgpl-2.1+-with-linking-exception -lgpl 2.1 with linking exceptions -lgpl-2.1 with nokia-1.1 exception -lgpl-2.1 with nokia-1.1 exception or gpl-3 -lgpl-2.1 with nokia/digia qt lgpl exception -lgpl-2.1-with-nokia-exception -lgpl-2.1-with-nokia-exception or gpl-3.0 or nokia-nonfree -lgpl-2.1 with nokia qt lgpl exception 1.1 -lgpl-2.1 with nokia qt lgpl exception 1.1 or gpl-3 -lgpl-2.1-with-nokia-qt-lgpl-exception-version-1.1-or-gpl-3 -lgpl-2.1+ with notice exception: -lgpl-2.1 with nuvola exception -lgpl-2.1 with ocaml linking exception -lgpl-2.1-with-ocaml-linking-exception -lgpl-2.1+ with ocaml linking exception -lgpl-2.1 with opencascade exception -lgpl-2.1+ with openssl exception -lgpl-2.1+ with openssl exemption -lgpl-2.1 with osi exception -lgpl-2.1+ with other-jos extension -lgpl-2.1+ with perl exception -lgpl-2.1 with qt-1.1 exception -lgpl-2.1 with qt-1.1 exception or gpl-3 -lgpl-2.1 with qt-1.1 exception or lgpl-3 -lgpl-2.1 with qt-lgpl-exception-1.1 -lgpl-2.1 with qt-lgpl-exception-1.1 or lgpl-3.0 with qt-lgpl-exception-1.1 -lgpl-2.1 with qwt exception -lgpl-2.1 with some exception -lgpl-2.1+-with-special-linking-exception -lgpl-2.1+ with spelling-providers exception -lgpl-2.1+ with staticlink exception -lgpl-2.1 with static linking exception -lgpl-2.1+, with this add-on notice: -lgpl-2.2+ | other -lgpl-2.2+-with-linking-exception -lgpl-2+3 -lgpl-2+3+kdeev -lgpl-2+ and aml -lgpl-2+ and bsd-1-clause -lgpl-2+ and bsd-3-clause -lgpl-2+ and expat -lgpl-2+ and gpl-2+ -lgpl-2+ and icu -lgpl-2+ and lgpl-2.1+ -lgpl-2+ and mit (old style) -lgpl-2+ and other -lgpl-2+ and tcl -lgpl-2 | apache-2.0 -lgpl-2+~c -lgpl-2+_colamd -lgpl-2+~dobject -lgpl-2-exc -lgpl-2-exception -lgpl-2+exception -lgpl-2-exception and gpl-2 -lgpl-2-exception | gpl-2 -lgpl-2 for gmp, see below for sprng -lgpl-2+~gnome -lgpl-2, gpl-2 -lgpl-2+, gpl-2+ -lgpl-2+ | gpl-3+ -lgpl-2-inria -lgpl-2+~lesser -lgpl-2+~lesser~header -lgpl-2 / lgpl-2.1 / lgpl-3 -lgpl-2+~libiconv -lgpl-2-linking-exception -lgpl-2+noaffero -lgpl-2-or-3 -lgpl-2-or-3-ev -lgpl-2 or apache or bsd-like -lgpl-2+ or artistic -lgpl-2 or artistic-2 -lgpl-2+ or artistic-2 -lgpl-2+ or artistic or gpl-1+ -lgpl-2+ or bsd-2-clause or mit -lgpl-2+ or bsd-3-clause -lgpl-2+ or bsd-3-clause -lgpl-2+ or bsd-style or zlib -lgpl-2 or cfortran -lgpl-2+ or cfortran -lgpl-2 or expat -lgpl-2+ or gl2ps-2+ -lgpl-2+ or gl2ps-license -lgpl-2+ or gpl-2+ -lgpl-2 or gpl-2 or mpl-1.1 -lgpl-2+ or gpl-3 -lgpl-2+ or gpl-3+ -lgpl-2+ or hpnd -lgpl 2 or later -lgpl-2 or later -lgpl2 or later -lgpl-2 or later, bsd-2-clause and bsd-3-clause -lgpl2 or later (see copying-gpl2) -lgpl-2+ or lgpl -lgpl-2 or lgpl-2+ -lgpl-2 or lgpl-2.1 -lgpl-2+ or lgpl-2.1+ -lgpl2 or lgpl2.1 -lgpl-2+ or lgpl-2.1 and exception-lgpl-nokia-qt-1.1 -lgpl-2 or lgpl-2.1 or lgpl-3 -lgpl-2+ or lgpl-2.1+ or mpl-1.1 -lgpl-2 or lgpl-3 -lgpl-2 or lgpl-3+kde -lgpl-2 or lgpl-3 or later approved by kde e.v. -lgpl-2+ or mpl-1.0 -lgpl-2+ or mpl-1.1 -lgpl-2 or other -lgpl-2+ or other -lgpl-2+ or other-cfortran -lgpl-2+ or other-nonfree-1 -lgpl-2+ or public-domain -lgpl-2+ or sun-permissive -lgpl-2+ or swl -lgpl-2 | other -lgpl-2+ | other -lgpl-2+-partially-bsd-3-clause -lgpl-2_qt-1.1exception -lgpl-2+_qt-1.1exception -lgpl-2+-qt-exception -lgpl-2+ [ref17] -lgpl-2+ [ref18] -lgpl-2+ [ref19] -lgpl-2+ [ref23] -lgpl-2+ [ref24] -lgpl-2+ (same as the package itself). -lgpl 2+ (see /usr/share/common-licenses/lgpl-2 for complete license) -lgpl-2 + static linking exception -lgpl-2+static-linking-exception -lgpl-2+ (/usr/share/common-licenses/lgpl-2) -lgpl-2+-with-embedded-exception -lgpl-2 with exceptions -lgpl-2+ with gstreamer link exception -lgpl-2+ with g++ use exception -lgpl-2+ with libtool exception -lgpl-2-with-linking-exception -lgpl-2+ with linking exception -lgpl-2 with ocamlbuild exception -lgpl-2+ with ocaml exception -lgpl-2+ with ocaml-linking exception -lgpl-2+ with openssl exception -lgpl-2 with static link exception -lgpl-2+ with staticlink exception -lgpl-2+ with static linking exception -lgpl-2+ with staticlinking exception -lgpl3 -lgpl-3 -lgpl-3+ -lgpl3+ -lgpl-3.0 -lgpl-3.0+ -lgpl-3.0+ and apache-2.0 -lgpl-3.0+ and bsd-3-clause -lgpl-3.0+ or cc-by-sa-3.0 -lgpl-3.0 or cc-by-sa-4.0 -lgpl-3.0 or gpl-2.0 or gpl-3.0 -lgpl-3.0+ or gpl-3.0+ -lgpl-3.0-with-exception -lgpl-3.0-with-exception and bsd-3-clause -lgpl-3.0+ with linking exception -lgpl-3.0 with qt-lgpl-exception-1.1 -lgpl-3.0 with special exception -lgpl-3.1+ -lgpl-3.1+ [ref21] -lgpl-3.1+ [ref22] -lgpl-3.1+ [ref23] -lgpl-3.1+ [ref27] -lgpl-3+ and apache-2 -lgpl-3 and bsd-3-clause -lgpl-3+ and bsd-3-clause -lgpl-3 and code-use-policy -lgpl-3 and exception-lgpl3-canonical -lgpl-3 and exception-lgpl3-goamz -lgpl-3+ and expat -lgpl-3+ and floss-exception -lgpl-3+ and gpl-2+ -lgpl-3+ and gpl-2+ and gpl-3+ -lgpl-3+ and gpl-3+ -lgpl-3+ and wxwindows -lgpl-3+_bisonexception -lgpl-3+, cc-by-3.0 -lgpl-3+ | gpl-2+ -lgpl-3+kde -lgpl-3+ | lgpl-2+ | gpl-2+ -lgpl-3+link -lgpl-3+-linking-exception -lgpl-3+~marpa -lgpl-3 | mpl.1,1 -lgpl-3 only -lgpl-3 only (java code), mit/x11 (c++ code) -lgpl-3 or apache-2 -lgpl-3 or apache-2.0 -lgpl-3+ or bsd-2-clause -lgpl-3+ or bsd-2-clause or gpl-3+ or bsl-1.0 -lgpl-3+ or bsd-3-clause -lgpl-3+ or bsd-3-clause -lgpl-3+ or bsd-3-clause or zlib -lgpl-3+ or cc-by-3.0 -lgpl-3 or cc-by-sa -lgpl-3+ or cc-by-sa -lgpl-3 or cc-by-sa-3 -lgpl-3 or cc-by-sa-3.0 -lgpl-3+ or cc-by-sa-3.0 -lgpl-3 or cc-by-sa-3.0-us -lgpl-3+ or cc-by-sa-4.0+ -lgpl-3+ or cgal-commercial -lgpl-3 or gpl-2 -lgpl-3 or gpl-2+ -lgpl-3+ or gpl-2 -lgpl-3+ or gpl-2+ -lgpl-3 or gpl-2, and apache-2.0 -lgpl-3 or gpl-2, and expat -lgpl-3 or gpl-2, and mit-isi -lgpl-3 or gpl-2-or-3 with kde exception -lgpl-3 or gpl-2+ or gpl-3+ -lgpl-3+ or gpl-2 [ref20] -lgpl-3+ or gpl-2 [ref21] -lgpl-3+ or gpl-2 [ref22] -lgpl-3+ or gpl-2 with dune exception -lgpl-3+ or gpl-2 with psurface exception -lgpl-3+ or gpl-2 with runtime exception -lgpl-3 or gpl-3 -lgpl-3 or gpl-3+ -lgpl-3+ or gpl-3+ -lgpl3 or later - see `/usr/share/common-licenses/lgpl-3'. -lgpl-3 or lgpl-2 -lgpl-3-or-lgpl-2 -lgpl-3 or lgpl-2.1 -lgpl3 or lgpl2.1 -lgpl-3 or lgpl-2.1 or (lgpl-3 and lgpl-2.1) -lgpl-3 or lgpl-3+ -lgpl-3 or mit/x11 -lgpl-3+ or modified bsd -lgpl-3+ or modified_bsd -lgpl-3 or mpl -lgpl-3 or revohealth or leontorres or gpl-2 -lgpl-3+ or ruby -lgpl-3+ or ruby's license -lgpl-3+ | other -lgpl-3+-other -lgpl-3_qt-1.1exception -lgpl-3_qt-1.1exception or gpl-2_qt-1.1exception -lgpl-3+ [ref18] -lgpl-3+ [ref19] -lgpl-3+ [ref20] -lgpl-3+ [ref21] -lgpl-3+ [ref24] -lgpl-3+ [ref25] -lgpl-3+ [ref26] -lgpl 3, see /usr/share/common-licenses/lgpl -lgpl-3-static-exception -lgpl-3+~ucommon -lgpl3+-with-autoconf-macros-exception -lgpl-3+ with classpath exception -lgpl-3+ with libopts exception -lgpl-3 with linking exception -lgpl-3+ with linking exception -lgpl-3 with linking exception and bsd-3-clause -lgpl-3 with ocaml-linking exception -lgpl-3+ with ocaml linking exception -lgpl-3+ with ocaml-linking exception -lgpl-3 with static linking exception -lgpl-3 with static-linking exception -lgpl-3-with-static-linking-exception -lgpl and kuhn -lgpl-any -lgpl | apache-2.0 -lgpl-as -lgpl. available at /usr/share/common-licenses/lgpl -lgpl, bsd, apache -lgpl/cecill-c/bsd-3 -lgpl-distrib -lgpl-exc -lgpl-exception -lgpl - gnu lesser general public license -lgpl, gpl -lgpl-gpl-nokia -lgpl-kdeev -lgpl_mcrypt -lgpl | mpl -lgpl/nokia -lgpl-no-military -lgpl or bsd -lgpl or cpl-1 -lgpl or lgpl-2 or lgpl-2.1 or lgpl-3 -lgpl or mit-style -lgpl or mpl-1.0 -lgpl or mpl or gpl -lgpl or sissl -lgpl or zlib -lgpl | other -lgpl [ref16] -lgpl [ref17] -lgpl [ref18] -lgpl [ref22] -lgpl [ref23] -lgpl/sissl license, 2003 -lgpl-unspecified-version -lgplv2 -lgpl v2 -lgpl (v2) -lgplv2+ -lgpl (v2.1) -lgpl v2.1 -lgpl-v2.1+ -lgplv2.1 -lgplv2.1+ -lgplv2.1+ (2.1 or higher) -lgpl (v2.1 or later) -lgpl (v2.1 or later) generated file -lgpl (v2.1 or later) (with incorrect fsf address) -lgplv2+ | gl2psv2+ -lgpl (v2 or later) -lgplv2 or later -lgpl (v2 or later) generated file -lgpl (v2 or later) (with incorrect fsf address) -lgpl (v2 or later) (with incorrect fsf address) generated file -lgplv2+ (see above) -lgplv3 -lgpl v3 -lgplv3+ -lgplv3+_or_gplv2+ -lgpl (version 2 or newer) -libc++ -liberal -liberation -liberation-fonts-license -liberation-gpl -libfdt-bsd-gpl -libfo/expr/* (mit) -libharu -libjava -libjpeg -libjpeg -libjpeg and bsd-3-clause and zlib -libosc-1 -libpng -libpng -libpng-license -libpng or apache-2.0 or bsd-3-clause -libpng/zlib -libpwquality -libpwquality or gpl-2+ -libraw -libraw license -libtiff -libtiff-glarson -libtiff-pixar -libtool-gpl -libvista-addon -libvista-orig -libyaml -license -license-boilerplate -license-bsd-3-clause -license-ctk -licensed to psf under a contributor agreement -licensed under the academic free license 2.1. -licensed under the apache license v2.0 -licensed under the same terms as the hugin package itself. -license_for_ax_ext_m4 -license for customer use of nvidia software -license for scintilla and scite -license-for-wsdl-schema-files -licenses are gpl-2 and mit and gpl-3+ with runtime exception and zlib -license-terms -license terms copied from: -lifted-async license -like-bsd-2-clause -"""like jquery, see http://docs.jquery.com/license."" see above." -like-mit -limited-apache -link exception -linux-kernel -linuxtag-green-openmusic -lisp-lgpl-2.1 -listen-ircam -livingston -lk_avalon -llgpl -llgpl or bugroff -llnl -llvm -llvm-bsd -lm-bsd -lmcop -lnll-bsd -local:clarendon-hill-software-xtrs-permissive-non-copyleft -local-m4a -local:timothy-mann-xtrs-permissive-non-copyleft -locfit -lofar -loki -love-artwork -lpd-md5 -lpgl-2.1 -lpgl-2.1+ -lpgl-2.1 and nokia_exception or gpl-3 -lpgl-2.1, bsd -lpgl-2.1+ or bsd -lpgl-2.1+ or bsd-3-clause -lpl-1+ -lpl-1.02 -lppl -lppl-1 -lppl-1+ -lppl-1.0+ -lppl-1.2 -lppl-1.2+ -lppl-1.3 -lppl-1.3+ -lppl-1.3c -lppl-1.3c+ -lppl-1.3c and gpl-2+ -lppl-1.3c and lgpl-2.1+ -lppl-1.3c, and lgpl-2.1+ or sissl-1.1 -lppl-1.3+ or bsd-3 -lppl-2+ -lrmi -lrucache11 -lrucache license -lsn -lua -lua -lua or expat -lucent -lucent -lucent -lucentpubliclicense -lure-of-the-temptress-license -lutzebaeck -lwip-bsd -lzma -lzw -m4 -m4-free -m4 license -mach os -mach-os -macros -mafft -magic -magick++ -main django code licence -main license -maintain-notice -makefile_in -makefile-in -makefile.in -makefile-in and imagemagick -makefile-in-fsf -mali-gpu-userspace-driver -mame -mame or gpl-2 -mame or lgpl-2.1 -manpage -man-page -manpage license -manpages-1 -manpages-2 -manpages-3 -manual -mapm -mapstraction -marching -mark-policy -mathewson -matplotlib -matplotlib -matrix -maxent -may be distributed under the same terms as ruby -mazieres-bsd-style -mb-bsd -mbsi -mbsi-bsd -mbsi-bsd and cmu -mbsi-bsd and netbsd -mc-custom -mcphail -mcr -md4-public-domain -md5 -md5 -md5-a-certain-license -md5-fourmilab -md5 license -md5-license -md5-license -md5-pd -md5-publicdomain -md5-rsa -mdt -medialib for jai -medusa -medusa -meese.el license -melax-license -mention -mention_about -mentions-other-license -mentor -mersenne-random-pure64 license -mersenne twister definitions adapted for traffic server -mesa -metaslash -m+font -m+font and sazanamifont and bsd-3-clause -m+fonts -m+fonts and bsd-3-clause -m+ fonts license -mgk-short-license -mgltools -mh-output-exception -michael_widlok -michigan -microlicense -microsoft permissive license -microsoft-permissive-license -mikelischexptheme -mikelischexptheme or expat -milkymist-lgpl-2+ -miller -mingw-runtime -minipack -mini-xml -miniz-license -minpack -miramar -miros -misc -misc-1 -misc-2 -misc-3 -missing -missing_1 -missing_2 -missing_3 -missing-most-probably-same-as-perl -mit -mit -mit -mit -mit. -mit(*) -mit(**) -mit-0 -mit1 -mit-1 -mit2 -mit-2 -mit3 -mit3 -mit-3 -mit4 -mit-4 -mit-5 -mit-6 -mit~adobe -mit-adobe -mit-adobe -mit-adobe-dec -mit~advertising -mit-advertising -mit + advertising clause -mit-ajax -mit alike -mit-alike -mit and apache-1.1 and apache-2.0 and other -mit and apache2 -mit and apache-2.0 -mit and base64 -mit and bsd-3 -mit and bsd-3-clause -mit and bsd-3-clause and gpl-2+ -mit and bsd-3-google -mit and bsd-plotkit -mit and curl -mit and gpl -mit-and-gpl -mit and gpl-2 -mit and gpl-2+ -mit and gpl-2+ with openssl exception -mit and gpl-3 -mit and gpl-3+ -mit and gpl-3.0+ with bison exception -mit and gpl-3+ with bison exception -mit and ibm -mit and isc -mit and isc-ncr -mit and lgpl-2 -mit and postgresql -mit and psf -mit and public-domain -mit and zlib -mit-any -mit | apache-2.0 -mit-apple -mit | artistic | gpl-1+ -mit-atomic-variant -mit-att -mit-bell -mit/bellcore -mit-bouncycastle -mit (brian paul) -mit-brian-paul -mit-bsd3 -mit/bsd3 -mit, bsd, and gpl -mit | bsd | gpl-2 -mit, bsd, or gpl-2 -mit-cesar-blecua-udias -mit-cl -mit-cmu -mit/cmu -mit-cmu~sgi -mit-colortools -mit+cox -mit-cuda -mit-custom -mit+customisations -mit/dec -mit-delaware -mit~digital -mit-digital -mit/digital equipment corporation (1) -mit-ellinghouse -mit-expat -mit/expat -mit/expat -mit+extended -mit-forecast -mit/fsf -mit+fsf-public -mit-fujitsu -mit-gc_os_dep.c -mit-glm -mit-goops-tutorial -mit | gpl -mit | gpl-2 -mit, gpl-2 -mit | gpl-2+ | bsd | apache-2.0 -mit+gpl-3+ -mit|gpl|other-bsd -mit-hash -mit+hettinger -mit-hp -mit-hp -mit-ibm -mit-ibm-immunity -mit-ibm/lexmark -mit-inspired -mit~isc -mit-ish -mit-isi -mit-isi and lgpl-2.1-or-3 with qt-1.1 exception -mit-jq -mit-jquery -mit-jquery or gpl-2 -mit~kaz -mit-kemar -mit-kerberos -mit~kerberos4 -mit~kerberos4 and mit~umich -mit-khronos -mit-khronos -mit-khronos -mit-kula -mit (legacy code) and lgpl. portions released under the gpl. -mit | lgpl -mit | lgpl-2.1+ -mit license -mit license -mit-license -mit-license -mit license and bsd-2-clause, and wtfpl or mit license or bsd-2-clause -mit-license and bsd-2-clause, and wtfpl or mit-license or bsd-2-clause -mit-license and bsd-3-clause -mit_license_expat -mit-license or apache-2.0 -mit-license or unlicense -mitlike -mit-like -mit-like -mit-like -mit-like-baekmuk -mit-like-icu -mit-like license -mit-like-wayland -mit-like-xsltextensions -mit-lisa -mit~lucent -mit-lucent -mit/lucent -mit-mapquantization -mit-mapstring -mit-maptclutf -mit-martinez -mit-mcad -mit-mcad or lgpl-2.1 -mit-microsoft -mit-minimal -mit-mininet-license -mit-mit -mit/mit -mit_modern -mit-modern-style-with-sublicense -mit-modified -mit-modified -mit/ncd -mitnfa -mit+nginx -mit-no-advertising-without-permission -mit-no-attribution -mit-no-evil -mit-norepr -mit~nuclear -mit-old -mit-old -mit-old-disclaimer -mit-old-na -mit-old-noadvert -mit~oldstyle -mit-old-style -mit-old-style -mit-old-style-hp-silicon -mit~oldstyle+legaldisclaimer -mit-old-style-no-advertising-without-permission -mit~oldstyle+redhat -mit (old style, with advertising clause) -mit-old-style-with-advertising-clause -mit~oldstyle-with-disclaim-2 -mit~oldstyle-with-disclaim-2 or artistic or gpl-1+ -mit~oldstylewithdisclaimer2 -mit~oldstylewithdisclaimer2 or bsl -mit~oldstylewithdisclaimer+redhat -mit-old-style-with-legal-disclaimer -mit-old-style-with-legal-disclaimer -mit-old-style-with-legal-disclaimer-2 -mit_olif -mit-omalley -mit~open -mit~opengroup -mit-opengroup -mit-open-group -mit or academic-2.1 -mit or apache-1.1 -mit or apache-2 -mit or apache-2.0 -mit or apache-2.0 -mit or apache-2.0, and suncustom, and bsd-2-clause -mit or apache-2.0, and unicode-terms -mit or apache-2.0 or mpl-2.0 -mit or artistic or gpl-1+ -mit or bsd -mit or bsd-2-clause -mit or bsd-3-clause -mit or bsd-3-clause -mit-or-bsd-3-clause -mit or bsd-3-clause or artistic or gpl-1+ -mit or bsd-3-clause or gpl-2 -mit or bsd-3-clause or gpl-2 -mit or bsd-3 or gpl-2+ -mit or bsd or artistic or gpl-1+ -mit or bsd or gpl-2 -mit or bsl-1.0 -mit or gpl -mit-or-gpl -mit or gpl-1 -mit or gpl-1+ -mit or gpl-2 -mit or gpl-2+ -mit-or-gpl-2 -mit or gpl-2.0+ -mit or gpl-2 and mit or bsd-3-clause or gpl-2 -mit or gpl-2 or apache-2.0 -mit or gpl-2 or bsd-2-clause -mit or gpl-2+ or bsd-3-clause or apache-2.0 -mit or gpl-2+ or bsd or apache-2.0 -mit or gpl-2 or gpl-3 -mit or gpl-2 with sizzle exception -mit or gpl-3 -mit or gpl-3+ -mit or gpl-3.0 -mit or gpl, and bsd -mit or gpl (not including gpl since mit is already included) -mit or gplv2 (not including gplv2 since mit is already included) -mit or lgpl -mit or lgpl-2+ -mit or lgpl-2.0+ -mit or lgpl-2.1 -mit or lgpl-2.1+ -mit or lgpl2.1 -mit or lppl-1+ -mit or lppl-1.3+ -mit or mpl-1.0 -mit or mpl-1.0 or artistic or gpl-1+ -mit or ofl-1.1 -mit or ofl-1.1 -mit or psf -mit or public-domain -mit or pulbic-domain -mit or ruby -mit or specific license (not including since mit is already included) -mit or unlicense -mit or unlicense -mit | other -mit-other -mit-permissive -mit-pizzolato -mit-plus-author-restriction -mit~prototype -mit-prototype -mit-prototype -mit-prototypejs -mit~redhat -mit-redhat -mit-ri_cal -mit-rickshaw -mit~rushing -mit-rushing -mit-sajip -mit-scriptaculous -mit-secretlabs -mit (see above) or gpl-2 -mit~short -mit-short -mit~short and gpl-2+ -mit-simplified -mit-singular-author -mit_sparse -mit-stripped -(mit style) -mit style -mit-style -mit-style license (copied verbatime from the file copying, and -mit~sun -mit-sun-hp -mit-supnik -mit-supnik-compaq -mit~tektronix -mit~tektronix~3-clause -mit-twitter -mit~umich -mit~umich and mit~short -mit~umich and mit~short and unknown -mit-unicode -mit-unicode -mit-utf8-decoder -mit-variant -mit-variant -mit_versit -mit~veryoldstyle~ncd -mit~veryoldstyle~uniofcalifornia -mit~veryshort -mit-with-addition -mit with extra notice -mit with ngnix extension -mit-with-non-free-section -mit with xconsortium exception -mit_with_x_consortium_exception -mit~wsu -mit~wu -mit-x -mit/x -mit~x11 -mit (x11) -mit-x11 -mit/x11 -mit/x11 and apache-2.0 -mit/x11 and lgpl-2.1+ -mit~x11+bsd-like -mit-x11-bsd-like -mit/x11~bsd-like -mit/x11 (bsd like) -mit/x11 (bsd like) -mit/x11 (bsd like) -mit/x11-bsd-like -mit/x11/bsd-like -mit-x11-bsd-like and gpl-2+ -mit/x11 (bsd like) gpl -mit/x11 (bsd like) gpl (v2 or later) -mit/x11 (bsd like) lgpl-2+ -mit/x11-extra -mit/x11~ibm -mit/x11 license -mit/x11-like -mit/x11-like (expat) -mit/x11-mapquantization -mit/x11-mapstring -mit/x11-maptclutf -mit/x11 or mpl-2.0 -mit/x11 or public-domain -mit/x11r5 -mit/x11-style -mit/x11~vis -mit-x and public-domain -mit-x-consortium -mit/x consortium license -mit/x-consortium-license -mit-x-license -mit-x-window-system -mixed lgpl-2.1 and bsd -mixed mit and lgpl-2.1 with digia qt lgpl exception -mixed mit + bsd -mixed-mit-bsd -mix of bsd-2 and bsd-3 -mix of gpl v2+ and gplv2 or gplv3 or later editions as approved by kde ev -mixture -mk -mlaa -mlocate_db_license -mlton -mm-bsd-3-clause -mm-bsd-3-clause -mmlitex -mnemo s licenced under asl license. -mockitopp-mit -modified-apache -modifiedbsd -modified bsd -modified_bsd -modified-bsd -modified-bsd -modified-bsd-3-clause -modified-bsd-3-clause and expat -modified bsd license -modified bsd license -modified bsd license -modified-bsd-license -modified-bsd-license -modified bsd style -modified lgpl -modified_lgpl -modified mit -modified-mit -modified-postgresql -mod-log-sql -moebsd -monad-par-extras license -monoid-extras license -mozilla-permissive -mozilla-permissive and expat and zlib/libpng -mozilla-plugin/moz-plugin.c - lgpl2.1+ -mozilla public license version 1.0 -mozilla public license version 1.1 -mpeg -mpich -mpl -mpl-1 -mpl 1.0 -mpl-1.0 -mpl-1.0 lgpl-2+ -mpl-1.0 or gpl-2+ -mpl-1.0 or gpl-2.0+ or lgpl-2.1+ -mpl-1.0 or gpl-2+ or lgpl-2.1+ -mpl-1.0 or lgpl-2.1 -mpl 1.1 -mpl-1.1 -mpl-1.1+ -mpl1.1 -mpl-1.1 and gpl-2.0 and lgpl-2.1 -mpl-1.1 and gpl-2+ and lgpl-2.1 -mpl-1.1 bsd (guessed) gpl (unversioned/unknown version) lgpl-2.1+ -mpl-1.1 gpl -mpl-1.1 | gpl-2+ -mpl 1.1/gpl 2.0/lgpl 2.1 -mpl1.1-gpl2.0+-lgpl2.1+ -mpl 1.1 / gpl 2.0 or subsequent / lgpl 2.1 or subsequent -mpl-1.1 | gpl-2 | lgpl-2 -mpl-1.1 | gpl-2+ | lgpl-2+ -mpl-1.1 | gpl-2 | lgpl-2.1 -mpl-1.1 | gpl-2+ | lgpl-2.1+ -mpl-1.1_gpl-2+_lgpl-2.1+ -mpl-1.1, gpl-2+, lgpl-2.1 -mpl-1.1/gpl-2/lgpl-2.1 -mpl-1.1 | gpl-2+ | lgpl-2.1+ (/usr/share/common-licenses/lgpl-2.1) -mpl-1.1 | gpl-3 | lgpl-3 -mpl-1.1 | gpl-3+ | lgpl-3+ -mpl-1.1 gpl gpl-2+ -mpl-1.1 gpl gpl-2+ lgpl (v2 or later) (with incorrect fsf address) -mpl-1.1 gpl (unversioned/unknown version) -mpl-1.1 gpl (unversioned/unknown version) generated file -mpl-1.1 gpl (unversioned/unknown version) lgpl-2.0+ -mpl-1.1 gpl (unversioned/unknown version) lgpl-2.1+ -mpl-1.1 lgpl-2+ -mpl-1.1 | lgpl-2.1 -mpl 1.1 | lgpl-2+ | gpl-2+ -mpl-1.1 or gpl -mpl-1.1 or gpl-2 -mpl-1.1 or gpl-2+ -mpl-1.1-or-gpl-2+ -mpl1.1 or gpl-2+ -mpl-1.1 or gpl-2.0+ -mpl 1.1 or gpl 2.0 or lgpl 2.1 -mpl-1.1 or gpl-2.0 or lgpl-2.1 -mpl-1.1 or gpl-2.0+ or lgpl-2.1+ -mpl-1.1 or gpl-2.0 or lgpl-2.1 tri-license -(mpl-1.1 or gpl-2 ) and other -(mpl-1.1 or gpl-2) and other -mpl-1.1 or gpl-2+ or apache-2 -mpl-1.1 or gpl-2 or lgpl-2 -mpl-1.1 or gpl-2 or lgpl 2.1 -mpl-1.1 or gpl-2 or lgpl-2.1 -mpl-1.1 or gpl-2 or lgpl-2.1+ -mpl-1.1 or gpl-2+ or lgpl-2.1 -mpl-1.1 or gpl-2+ or lgpl-2.1+ -mpl1.1 or gpl-2 or lgpl-2.1 -mpl-1.1 or gpl-2 or lgpl-2.1, and mit -mpl-1.1 or gpl-2 or lgpl-2.1, and mpl-1.1 or lgpl-2.1, and mit -(mpl-1.1 or gpl-2+ or lgpl-2.1+) with motif exception -mpl-1.1 or gpl-2+ or lgpl-3 -mpl-1.1 or gpl-3+ -mpl-1.1 or gpl-3+ or lgpl-3+ -mpl1.1 or gplv2 -mpl-1.1 or lgpl-2+ -mpl-1.1-or-lgpl-2+ -mpl-1.1 or lgpl-2.1 -mpl-1.1 or lgpl-2.1+ -mpl-1.1 or lgpl-2.1+, and sc -mpl-1.1 or lgpl-2.1 or gpl-2 -mpl-1.1 or lgpl-3+ -mpl-1.1 or lgpl or (v2.1) -mpl-1.1 or mpl-2.0 or gpl-2 or lgpl-2.1 -mpl-2 -mpl-2+ -mpl 2.0 -mpl-2.0 -mpl-2.0+ -mpl/2.0 -mpl-2.0 and bsd-2-clause -mpl-2.0 and bsd-3-clause -mpl-2.0 and cc0-1.0 -mpl-2.0 and isc -mpl-2.0 and isc and bsd-2-clause and bsd-3-clause -mpl-2.0 and public-domain -mpl-2.0 | lgpl-2+ -mpl2.0 | lgpl-2+ -mpl-2.0 | lgpl-2.1+ -mpl-2.0 or apache-2.0 -mpl-2.0 or apache-2.0 or expat -mpl-2.0 or bsd-2 -mpl-2.0 or bsd-2-clause -mpl-2.0 or bsd-3-clause -mpl-2.0 or epl-1.0 -mpl-2.0 or epl-1.0 or apache-2.0 -mpl-2.0 or epl-1.0 or lgpl-3+ -mpl-2.0 or expat -mpl-2.0 or gpl-2 or lgpl-2.1 -mpl-2.0 or gpl-2+ or lgpl-2.1+ -mpl-2.0 or isc -mpl-2.0 or lgpl-2.1+ -mpl-2.0 or mit or apache-2.0 -mpl-2 and lgpl-2.1+ -mpl-and-gpl-2 -mpl-gpl -mpl, gpl -mpl | gpl2+ | lgpl2+ -mpl-gpl2-lgpl2.1 -mpl | gpl | lgpl -mpl or gpl-2+ -mpl or gpl-2.0+ or lgpl-2.1+ -mpl or gpl-2 or lgpl-2.1 -mpl or lgpl-3+ -mpl (v1.1) -mpl (v1.1,) bsd (3 clause) gpl (unversioned/unknown version) lgpl (v2.1 or later) -mpl (v1.1) gpl (unversioned/unknown version) -mpl (v1.1) gpl (unversioned/unknown version) generated file -mpl (v1.1,) gpl (unversioned/unknown version) lgpl (v2.1 or later) -mpl (v1.1,) gpl (unversioned/unknown version) lgpl (v2 or later) -mplv2 -mplv2.0 -mrc -ms-adsl -msdropdown -ms-pl -ms-pl -ms-pl or lgpl-2.1 -ms-rl -mssg -mssstest -mt19937-64 license -mtl -mtr -mt-sdk-license -mueval license -multiple-license -murmurhash3 -musicxml-3.0 -mw-adhoc -mx4j-10 -mx4j-10 and cpal-1.0 -mxml -mylicense -mylicense-1 -mylicense-2 -mylicense-3 -mylicense-4 -mylicense-5 -mysql-doc -n/a -nagaysau-ishii -nag is licenced under gpl2+ license. -nanoxml2 -nasa-1.3 -nasa-images -nasa-jpl-imagepolicy -national-land-survey-open-data-licence -ncd -ncl -ncsa -ncsa-hdf5 -ncsa-license -ncsa or expat -ncsa or mit -ncurses -ncurses license -nelson-minar -netbsd -netbsd-4 -netbsd and bsd-2-clause and fenneberg and livingston and michigan -netbsd and bsd and fenneberg and livingston and michigan -netbsd-similar -netcdf -netcdf and hdf4 -netgen -netgen_regexp -nethack -nethack general public license -nethack-general-public-license -netlib-blas -netlib-slatec -netlib-trinagle -netrek -netrek-tools -netscape -netscape public license version 1.1 -newbsd -new bsd -new-bsd -new bsd license -new-bsd-license -new bsd license, http://www.opensource.org/licenses/bsd-license.php -new-bsd-splunk -new-bsd-stash -ngpl -ngpl and bsd-3-clause -nist -nist-disclaimer -nmap-gpl-2 -noaa-pmel-tmap -nochange -no-change -nocopyright -*no copyright* apache (v2.0) -*no copyright* bsd (2 clause) -*no copyright* freebsd (guessed) -*no copyright* generated file -*no copyright* gpl (v2 or later) -*no copyright* lgpl-2.0+ -*no copyright* lgpl-2.1+ -*no copyright* lgpl (v2.1 or later) -*no copyright* lgpl (v2 or later) -__no_copyright_nor_license__ -*no copyright* public domain -"""no copyrights or licenses. do what you like.""" -*no copyright* unknown -node -noderivs -nokia_exception -nokia-nonfree -__no_license__ -no-license -no-modification -no-modification-fdl -no-modification-gpl -no-modify -non-commercial -non-commercial -non-commercial_and_no_change -non-commercial-buchmueller -non-commercial-ignotas -non-commercial-stenerud -non-copyrightable -none -none -none -none apply to this component. -none-crc32 -none needed -none or improper copyright statements. -none-pd-hershey -none-sha1 -non-free -non-free_in_clause_8 -non-free_phylip -non-free-rfc -no notice -no-notice -no-notice-mit-license -non-standard-bsd-2-clause -nonstandard, see below -noovela -northwestern -nostalgy -not-applicable -not-applicable-1 -not-applicable-2 -not-copyrightable -not copyrighted -not dfsg free. -not-documented -not-for-profit -nothings-lib-public-domain -nothings-lib-public-domain or expat -notice -notify -notquitebsd -not-specified -not-the-cc-by-nd-3.0 -noweb -npgsql -npl-1.1 -npl-1.1 | gpl -npl-1.1 | gpl-2+ | lgpl-2.1+ -npl-1.1 or gpl-2 or lgpl-2.1 -npl-1.1_or_gpl-2+_or_lgpl-2.1+ -nposl-3.0 -nrl -nrl-2-clause -nrl-3-clause -nsca -nsd-bsd-like -nsift license -nsift-license -nsis-bzip2 -nspr-public-domain -nt/inc/dirent.h license -ntp -ntp -ntp and gpl-2+ -ntp and isc -ntp-bsd-variant -ntp-defpackage -ntp~disclaimer -ntp-disclaimer -ntp~disclaimer~farsiweb -ntp~gopstein -ntp~legal-disclaimer -ntp-loop -ntp~lucent -ntp~mit -ntp~open -ntp~rushing -ntp~uuid -ntp-wisconsin-madison -ntp~wsu -nu-all-permissive-license -numeric-extras license -numpy -nvidia -nvidia-cg-toolkit -nvidia-graphics-drivers -nvml -oasis -oasis-docbook -objectname license -ocaml -ocamlnet -ocb -oci -octasic -odbl-1.0 -odc-pddl-1.0 -odepack-public-domain -oenal-public-domain -offis -offisdicom -offisev -ofl -ofl-1 -ofl-1.0 -ofl 1.1 -ofl-1.1 -ofl-1.1 -ofl1.1 -ofl-1.1 and apache-2.0 -ofl-1.1 and epl-1.0 and edl-1.0 -ofl-1.1 and epl-2.0 and edl-1.0 -ofl 1.1 and gpl-2 + font exception -ofl-1.1 or bsd-3-clause -ofl-1.1 or gpl-2+ -ofl-1.1 or lgpl-2.1 -ofx -oga-by-3 -ogc-document -ogc-software -ogc-xsd -ogdf-gpl-2-or-3-with-additional-permissions -ogdi-3i -ogdi-las -ogdi-queen -ogdi-toronto -ogdl-tw-1.0 -ogf -ogl3 -oldap-2.8 -oldap-2.8 and openbsd -oldboost1 -oldboost2 -oldboost3 -oldboost3 and sgi -oldboost4 -old-bsd -old-fsf-doc-license -old-mit -old-mit -old-mit+apsl-2.0+mit-variant -old-mit+gpl2+ -old-mit-kerberos -old-stb -old-style-mit -old style mit (no advertising without permission) -old-sun-license -olefileio -omalley -omron -oneunified -ooura -ooura -open -open ath9k htc firmware -openbsd -openbsd-license -openbsd~lucent -openbve-permissive -open-clipart -opencores-mit -opencores-spi -opendatalicense -opendous-license -openexr -open-font-1.1 -open font license -open-font-license -open font license 1.0 -open font license 1.1 -openglraw license -open-government -opengovernmentlicence-canada-2.0 -open-group -open-group and mit-old-style-with-legal-disclaimer -opengroup-bsd-like -opengroup-bsd-variant -opengroup-mit-variant -openib.org-bsd -openib.org-bsd or gpl-2 -openlayers -openldap -openldap-2.8 -openmap -open-market -openmpi -openmusic -opennurbs -openpub -open publication license -open publication license, v 2.0 -open software license version 3.0 -open source -open-source -open-source -openssh -openssh -openssh and bsd-2-clause and bsd-3-clause -openssl -openssl -openssl and original-ssleay -openssl and ssleay -openssl license -openssl-license -openssl or ssleay -openssl-project -openssl/ssleay -opl-1 -opl-1+ -opl-1.0 -opl-psi-1.0 -oplv1.0 -opmdg -original -original -original 9wm licence -original aewm licence -originalhidapi -original-steve-license -osf -osgeo-bsd-1.0 -osgpl -osgpl and lgpl-2+ -osi-bsd -osl-1.1 -osl-3.0 -os-opendata -osspvalueaccesslicense -other -other -other -other -other1 -other1 -other_1 -other_1 -other-1 -other-1 -other-1 -other-10 -other-11 -other-12 -other-13 -other-14 -other-15 -other-16 -other-17 -other-18 -other-19 -other2 -other2 -other_2 -other_2 -other-2 -other-2 -other-2 -other-20 -other-21 -other-22 -other-23 -other-24 -other-25 -other-26 -other3 -other_3 -other-3 -other-3 -other4 -other_4 -other-4 -other-4 -other4 and other6 -other5 -other_5 -other-5 -other-5 -other6 -other_6 -other-6 -other_7 -other-7 -other_8 -other-8 -other-9 -other-adobe -other-adpcm -other-aladdin -other-all-permissive -other-amd-fglrx -other, and bsd-2-clause -other and bsd-2-clause (part of ucs-4 to utf-8 encoding is copied from -other-apple -other-autoconf -other-bellcore -other-boost-1 -other-boost-1.0 -other | bsd -other-bsd -other-bsd3 -other-bsd-3 -other, bsd-3 -other-bsd-3-clause-3dlabs-inc -other-bsd-3-clause-3dlabs-inc-ltd -other-bsd-3-clause-kissft -other-bsd-3-clause-lightwork -other-bsd-3-clause-speex -other (bsd-4-clause) -other-bsd-4-clause-1 -other-bsd-4-clause-2 -other (bsd like) -other (bsd-like) -other-bsd-like -other-bsd (nsd license) -other-bsd | other -other-bsd-uc -other-cfortran -other-cisco -other-copy-share-modify -other-cpp5-grammar -other-digital -other-distribute-freely -other-distribute-freely-jhopkins -other-dwtfywtpl -other-ecshash -other-emacs -other-expat-modrequest -other-free-doc -other-fsf -other-fsf -other-gap -other-gap-config -other-gap-configure -other-gap-fsf -other-gap-fsf and gpl-2+ with libtool exception -other-gap-fsf-notice -other-gap-fsf-notice, and gpl-2+ or other-sa-autotools -other-gap-fsf-notice and other-sgi -other-gap-gettext -other-gap-install -other-gap-m4 -other-gap-makefile -other-gap-makefile.in -other-gap-makefile.in.in -other-gd -other-getline -other-glew -other, gpl-2+ -other-gpl-2-either -other-gpl-2-imdi -other-gpl-2-or -other-gpl-3+-artifex -other-gpl-unknown-cups -other-gpl-unknown-lips -other-gpl-unknown-urw with font exception -other-hrtf-data -other-ibm -other-icclib -other-ijg-libjpeg9 -other-ingate -other-iso -other-jasper -other-jef-poskanzer -other-jos -other-josuttis -other-jpeg -other-jpeg -other-kannel -other-khronos -other | lgpl -other-lgpl -other | lgpl-2.1 -other-lgpl-2.1-pcl3 -other-lgpl-2+-dobject -other-lgpl-cplusplus -other-libpng -other-libtiff -other-libtool -other-license -otherlmfit -other-lutz -other-metrolink -other-metrolink -other-metrolink and other-xfree -other-mib2 -other-miniz -other-mit -other-mit -other (mit) (check exact wording) -other (mit) (check exact wording) | bsd (2 clause) -other-mit-opengl -other-mit-random_device -other-mit-style-khronos -other-mit-x -other (mit/x11) -other-mit/x11 -other-mixed-1 -other-modifiedbsd -other-moller -other-noncommercial-watson -other-nonfree-1 -other-nopromo-chris -other-nopromo-x -other-no-royalties -other-notice-preserved -other-nvidia-cuda-toolkit-10.1 -other-nvidia-cuda-toolkit-10.1-update-1 -other-nvidia-cuda-toolkit-10.1-update-2 -other-nvidia-cuda-toolkit-4.0 -other-nvidia-cuda-toolkit-5.5 -other-nvidia-cuda-toolkit-6.0 -other-nvidia-cuda-toolkit-7.5 -other-nvidia-cuda-toolkit-9.1 -other-nvidia-cuda-toolkit-9.2 -other-open -other-openbsd-webworks -other-openldap -other or artistic or gpl-1+ -other or bsd-2-clause -other or gpl-1+ or artistic -other or lgpl-2.1 -other-otl -other-pd -other, pd -other permisive -other-permissive -other-permissive -other~pngsuite -other-portaudio -other-random -other-reduce-rab -other [ref01] -other [ref02] -other [ref03] -other [ref04] -other [ref05] -other [ref06] -other [ref07] -other [ref08] -other [ref09] -other [ref10] -other [ref11] -other [ref30] -other [ref31] -other [ref35] -other [ref36] -other-rsa -other-rsa-md5 -others -other-sa -other-sa-autoconf -other-sa-autoconf -other-sa-ghostscript-afpl-9 -other-sa-jack -other-sa-libtool -other-sa-libtool -other-sdif -other-sendmail -other-sendmail or artistic or gpl-1+ -other-sgi -other-sun -other-sun-rpc -other-sunsoft -other-targa -other-tcl/tk -other~tdiff -other-ti -other-totally-free -other-twikidraw -other-typemap -other-ud -other-unitoronto -other~uresample -other-vague-gfdl -other-vague-gpl -other-wtfpl-variant -otherx -other-x -other-x -other-x11 -other-x-consortium -other-xfree -other-y -other-z -other-zlib -ovt -own -own_dwywwi_license -own-liberal-os -ozbsd -pacbio-bsd-3-clause -packaging may be distributed under the same terms as perl (see below) -pal-free-with-reciprocity -pam -paml -paml-from-the-home-page-2010-09-08 -paratype-free-font-license -partialgplartisticandruby -part mit, part lgpl, see below. -pascalscript-zlib-like -patches-gpl-2+-or-bsd-4-clause -paul-hsieh -paul hsieh derivative license -paulhsieh-license -paul hsieh's public domain option -paul vixie's license -paul-vixie's-license -paul vixie's license and gpl-2+ and isc -paul-vixie's-license and gpl-2+ and isc -pause -pbmplus -pcre -pcre_license -pcre or gpl-1+ -pd -p-d -pd1 -pd2 -pd | artistic | gpl-1+ -pdb -pd+blessing -pd-debian -pd-dedication -pdf-create -pd-fsock-net-ejemplos -pd_glam -pdl -pdl-1.0 -pd license -pd-license -pdlike1 -pdlike2 -pdlike3 -pdl or artistic or gpl-1+ -pd_ncbi -pd-nefercheprure -pd-nefercheprure or lgpl-2.1 -pd-nefercheprure or lgpl2.1 -pd or artistic or gpl-1+ -pd (public domain) -pd [ref25] -pd [ref26] -pd [ref27] -pd [ref28] -pd [ref29] -pd [ref30] -pd [ref31] -pd [ref32] -pd [ref33] -pd [ref34] -pd-sha1 -pd-trochoids -pd-trochoids or lgpl-2.1 -pd-trochoids or lgpl2.1 -pd-ut-hash -peg-files-licence -peg-shorted-expat -perforce -perftools -perl -perl -perl and gpl-2 -perl-and-more -perl artistic -perl-artistic -perl-artistic-license -perl / bsd -perldocs -perl-like -perllikelicence -perl or artistic-2.0, and cshl -perl-plus-unicode -perl-the-same-terms -perl, the same terms -permisive -permission_granted -permission is granted to copy, distribute and/or modify this -permission is hereby granted, free of charge, to any person -permission is hereby granted, free of charge, to any person obtaining -permission to use, copy, modify, and distribute this software and -permission to use, copy, modify, and distribute this software and its -permission to use, copy, modify, and distribute this software for any -* permission to use this software in any way is granted without -permissive -permissive -permissive -permissive -permissive- -permissive' -permissive1 -permissive~1 -permissive-1 -permissive2 -permissive2 -permissive~2 -permissive-2 -permissive3 -permissive~3 -permissive-3 -permissive~4 -permissive-4 -permissive~5 -permissive~6 -permissive~7 -permissive~8 -permissive-aclocal -permissive-aclocal -permissive (advansys) -permissive-alt -permissive and agpl-3.0 -permissive and at&t -permissive and gpl-2+ with autoconf exception -permissive and gpl-3+ -permissive-apple -permissive-author-grant-attribution -permissive-autoconf -permissive-autoconf -permissive-autoconf-m4 -permissive-automake -permissive-ba -permissive (baycom) -permissive-brief -permissive-colamd -permissive-configure -permissive-configure -permissive-configure -permissive-debian -permissive-defsystem -permissive-disclaimer -permissive-fonts -permissive-freedoc -permissive-fsf -permissive-fsf and gpl-2+ -permissive-fsf-grant -permissive-fsf-grant-attribution -permissive-fsf-short -permissive-gettext -permissive-gettext -permissive-gettext -permissive-gitlog2changelog -permissive-gitlog2imchanges -permissive-gitlog2mewchanges -permissive-hauser -permissive-info -permissive-install -permissive-install-sh -permissive-kg -permissive-libtool -permissive-libtool -permissive-like-automake-output -permissive-lmmcp -permissive-lodepng -permissive-long-disclaimer -permissive-lookup-news -permissive-lv2_event -permissive-m4 -permissive-m4 -permissive-makefile -permissive-makefile -permissive-makefile-in -permissive-makefile.in -permissive-matrix-c -permissive-matrix-h -permissive-mconf -permissive-mew-absfilter -permissive-mew-man -permissive-mewstunnel -permissive-misc -permissive-mit -permissive-mt -permissive-nga -permissive-nist -permissive-nist -permissive-nowarranty -permissive-nowarranty-fsf -permissive-other -permissive-pcre -permissive-po -permissive-po -permissive-ps -permissive-pubdic -permissive-short-disclaimer -permissive-simple -permissive-skk2cdb -permissive-str -permissive-sun -permissive-sun -permissive-testsuite -permissive-tn -permissive-uof -permissive-v30mz -permissive-with-disclaimer -permissive-with-no-harm-restriction -permissive-without-disclaimer -permissive-without-disclaimer-alternative -permissive-without-notices-or-disclaimer -permissive-without-royalty-fsf -permissive-xeox -permissive-xerox -permssive -pfs-2 -phenoelit-license -phenoelit-license or gpl-3 -philo-license -phipps -php -php-2.0+ -php 2.02 -php-2.02 -php 3.0 -php-3.0 -php-3.0+ -php 3.01 -php 3.0.1 -php-3.01 -php-3.0.1 -php-3.01 and bsd-2-clause -php-3.01 and bsd-3-clause -php-3.01 and zlib -php-3.01 or lgpl-3.0 -[php-dompdf] -php license -php license 3.01, http://www.php.net/license/3_01.txt -php license 3.0, http://www.php.net/license/3_0.txt -php license version 3.01 -php license, version 3.01 -phylip -phylip -phylip-doc -phylip_non-free -pil -pipeline-associates-ps -pivotal -pivy-license -pkcs -pkg.m4 license -placed in the public domain -plan9 -planets-images -plastimatch license -plastimatch-license -plbasename -ple-adhoc -plplot-doc -ply -png -png license -pnpoly-bsd-3-clause -pnpoly license -pnscan -poems-license -poetic -polly -poly2tri -po-makefile -portable_vsprintf -portaudio-x -postgresql -postgresql and bsd-3-clause -postgresql~brown -postgresql~corry -postgresql-dh -postgresql-dw -postgresql-edb -postgresql (julien tachoires) -postgresql_julientachoires -postgresql license -postgresql-like -powell -powell-bsd-style -powell-snprintf -pp -pr3270 -premissive -preserve-copyright -preservenotice -preserve-notice -preserve-notice-1 -preserve-notice-2 -prettytable -prior-bsd -prior bsd license -probably a mixture of gpl-2+ and lgpl-2+ -probably-expat -probably-pd -probably same as m2crypto -probe -process-extras license -programs at davesource marginal hacks -programs-at-davesource-marginal-hacks -programs at davesource marginal hacks and cc-by-nc-sa-3.0 -programs-at-davesource-marginal-hacks and cc-by-nc-sa-3.0 -promotheus-golang -proprietary -proprietary -proprietary_1 -proprietary_2 -psf -psf2 -psf-2 -psf-2+ -psf-2.0 -psf-2.0+ -psf-2.0+ or w3c -psf-2.0+ | w3c-software-19980720 -psf-2.4 -psf-2.4 and apache-2 -psf-2.7.2 -psf-2 and apache-2 and bsd-3-clause -psf-2 and bsd-2-clause -psf-2 and gpl-3+ -psf-2 and mit -psf-2 and zope-2.1 -psf-2-apache-2.0-bsd -psf-2-bsd -psf-2 or expat -psf-2 or zope-2.1 -psf-2 or zpl-2 -psf-baseconv -psfl -psfl-2 -psfl-2.0 -psfl for python 2.4 -psf license -psf-license -psf license for python 2.4 -psf license version 2 -psflv2 -psflv2 or bsd-2-clause -psf-matplotlib-license -psfonts.dtx -psf or mit -psf or zope -psfrag -psfv2 -psf | zpl -psyntax -pub-dom -pubic-domain -public -publicdomain -publicdomain -publicdomain -public domain -public domain -public domain -public domain -public domain -public_domain -public_domain -public_domain -public_domain. -public-domain -public-domain -public-domain -public-domain -public-domain -public-domain-0 -public-domain_01 -public-domain_02 -public-domain_03 -public domain (1) -public_domain_1 -public_domain_1 -public-domain~1 -public-domain-1 -public domain (2) -public_domain_2 -public-domain2 -public-domain~2 -public-domain-2 -public_domain_3 -public-domain~3 -public-domain-7z -public-domain-adhoc -public-domain-adler -public-domain-aim -public-domain-anaconda -public-domain and bsd-3-clause -public-domain and bsd-3-clause -public-domain and cc-by-1.0 -public-domain and cc-by-sa-3.0 -public-domain and custom -public-domain and gpl-2+ -public-domain and gpl-3+ -public-domain and wtfpl -public-domain and x11 [ref31] -public-domain and x11 [ref32] -public-domain and x11 [ref33] -public-domain-appleby -public-domain-archibald -public domain, as explained at http://creativecommons.org/licenses/publicdomain -public-domain-attribution -public-domain~automake -public-domain~autotools -public-domain-barrett -public domain - base64 -public-domain-bencode -public-domain-blargg -public-domain-brakken -public-domain-brown -public-domain-byuu -public-domain-casper -public-domain-cc0 -public-domain-cfgopts -public-domain-claim -public-domain-colin-plumb -public-domain-colorramp -public-domain~configure -public-domain-crc -publicdomain_david_ludwig -public-domain-dawid-kurzyniec -public-domain-dbug -public-domain-debian -public domain declaration -public-domain-declaration -public-domain-dmm -public-domain-doug-lea -publicdomain_edgar_simo -public-domain-emacs-bindings -public-domain, expat -public-domain-gemfury -public-domain~gettext -public-domain-gts -public-domain-itaiji -public-domain-jrc -public-domain-jsoncpp -public-domain-jsoncpp or expat -public-domain-kb -public-domain~kroon -public-domain-lc -public-domain-liblihata -public domain-like -public-domain-like -public-domain-like -public-domain-logo -public-domain~m4 -public-domain~makefile -public-domain-md4 -public-domain~md5 -public-domain-md5 -public-domain-mem -public-domain-mettke -public-domain-mg -public-domain-mingw -public-domain-morrison -public-domain-murmurhash -public-domain-murmurhash3 -public-domain-mybinder -public-domain-nach -public-domain-nach-byuu -public-domain-neil-etanza -public-domain-noise1234 -public-domain-okinawa -public-domain-one -public-domain-openwall -public-domain-ops5 -public-domain or boost -public domain or boost software license - version 1.0 -public-domain or bsd-3-clause -public-domain or bsd-style -public-domain or cc0 -public-domain or cc0-1.0 -public-domain or cc-by-sa-4.0 or cc-by-sa-3.0 -public-domain or expat -public-domain or expat -public-domain-or-expat -public domain or gpl-2+ -public-domain or gpl-2 or gpl-3 -public-domain or lgpl-2 -public-domain or mit -public-domain or wtfpl-2 -public-domain-pavlov -public-domain-peslyak -public-domain-pfau -public-domain-plus -public-domain~po-makefile -public-domain-rand -public-domain [ref24] -public-domain [ref25] -public-domain [ref26] -public-domain [ref27] -public-domain [ref28] -public-domain [ref29] -public-domain [ref30] -public-domain [ref31] -public-domain [ref32] -public-domain-regex -public-domain-regex2 -public-domain-repology -publicdomain_sam_lantinga -public-domain-sct -public-domain-sct and public-domain-colorramp -public-domain-sctk -public-domain~sha1 -public-domain-sha1 -public-domain-solardiz -public-domain-sqlite -public-domain-s-s-d -public-domain-stb -public-domain-tango -public-domain-tesla-picture -public-domain-themaister -public-domain-tom -public-domain-two -public-domain-tz -public-domain-tzfile -public-domain~unlicense -public-domain-vizzini -public-domain-vp -public-domain-vp-chvrtd -public-domain-vr -public-domain-wikimediacommons-fgp -public-domain-wikipedia -public-domain-with-attribution -public-domain with bsd-3-clause exception -public-domain-xkbion -public-domain-zipcode -public license, as explained by http://creativecommons.org/licenses/by/3.0/ -public-unace-licence -public-use -punycode -punycode license -purdue -pws-zsh-faq -pybench -pybind11-bsd -pycrypto -pymol -pyqwt -pyqwt3d license -pyqwt license -pyramid -pyramid and expat -pyramid and zope-2.1 -python -python -python-0.9 -python2 -python-2 -python-2.0 -python-2.1.1 -python-2.2 -python and bsd-3 -python and mit -python-based -python-cnri -python-cnri-derivative -python-fcgi -python | gpl-2+ -python license -python license -python-license -python license (version not specified) -python-like -python (mit-like) http://www.python.org/psf/license/ -python-numeric -python or zope -pythonparts -python-rushing -python software foundation license -python software foundation license version 2 -python software foundation license version 2 -python_software_foundation_license_version_2 -pythonstack -qfx -qhull -qhull -qhullbsd -qhull-permissive -qpl -qpl-1 -qpl-1.0 -qpl-1.0-exception -qpl-1.0-with-linking-exception -qpl-1 and gpl-2+ -qpl-1 and other -qpl-1 | lgpl-2 | mit -qpl-1 | lgpl-2 | other -qpl-1 | other -qpl-1 with ocaml-linking exception -qpl-exception -qpl | gpl-2 -qpl modified -qpl or gpl-2 -qpl | other -qt -qt-comercial -qt-comercial or lgpl-2.1 or gpl-3+ -qtcommercial -qt-commercial -qt-commercial -qt-commercial or bsd-3-clause -qt-commercial or gpl-3.0 or lgpl-2.1 with digia qt lgpl exception 1.1 -qt-commercial or gpl-3 or lgpl-2.1 with digia qt lgpl exception 1.1 -qt-commercial or lgpl-2.1 or gpl-3.0, and gpl-2+ -qt-commercial or lgpl-2.1 with digia qt lgpl exception 1.1 or gpl-3 -qtcommercial or lgpl-2.1 with some exception or gpl-3 -qt-commercial or lgpl-3 or gpl-2+ -qt-commercial-or-lgpl-3-or-gpl-2+ -qt-commercial or lgpl-3 or gpl-2 or gpl-3+ -qtmmlwidget-license -qt_prolog -qtwebkit -quadtree-license -quaqua-license -qwt -qwt -qwt-1.0 -qwt-1.0 -qwt-1.0 and lgpl-2.1 -qwt-exception-1 -qwtplot3d -radau5 -rails -rainforestnet -rand48 -random-cpp-license -rand-public-domain -ransac_sd -ratain-copyright-notices -raxml_non-free -razgriz-simple-attribution -rdflib -rdisc~code -rdnaptrans2008-ntv2 -rds-data-security -red-eclipse -red-eclipse-data -redhat -redistributable -redistributable (micronas) -redistributable (sensoray) -redistribution and use in source and binary forms, with or without -redpine-signals -refcardlicense -regcomp -regcomp, and gpl-1+ or artistic -regex -regex-spencer -released to the public domain by austin appleby -released under the gpl -request_modifications -research-use-only -resene -restricted -restricted(non-commercial_and_no_change) -retain-copyright -retain-copyright-cisco -retain-copyright-notices -reuters-21578 - distribution 1.0 -revisedbsd -revised bsd -revised bsd -revised-bsd -revohealth -rfc -rfc -rfc-3533 -rfc-5334 -rfc-reference -rfc-special -rgpd -rhash -ricecomp -rijndael -rnews.sty -rosenquist -royalty-free -rra-keep-this-notice -rra-public-domain -rsa -rsa -rsa2 -rsa3 -rsa and lgpl-2.1+ -rsa-bsd -rsa-cryptoki -rsa_data_security -rsa-data-security -rsa-data-security -rsa data security license -rsa-data-security-lincense -rsa-license -rsa-license -rsa-license -rsa-md -rsa-md -rsa-md4 -rsa-md5 -rsa-md5 -rsa-md5 -rsa-md5 and bsd-3-clause -rsna -ruby -ruby and gpl-2 -ruby and w3m -ruby | bsdl -ruby | gpl -ruby + gpl-2 -ruby+gpl2+lgpl3 -rubylicense -ruby license -ruby license -ruby_license -ruby license or gpl-2+ -ruby or artistic-1.0 -ruby or bsd-2-clause -ruby or bsd-2-clause -ruby or gpl -ruby or gpl2 -ruby or gpl-2 -ruby or gpl-2+ -ruby or gpl-2+ or artistic -ruby or gpl-2 or gpl-3 -ruby or gpl-2 or lgpl-3+ -ruby or lgpl-3+ -ruby's -ruby's. -ruby's licence -ruby's license -ruby's license or perl artistic license -ruby with exception -ruby-with-racc-exception -rutgers rcsb pdb software license agreement -rutgers_rcsb_pdb_software_license_agreement -s2p -s3 -s5 -safecat -salvolainen -same -same -same as abacas -same as algorithm-munkres. -same as amap itelf -same as application (bsd-style) -same as bio-mage itself. -same as bio-mage-utils -same as bitops -same as blitz++ -same as cd-hit itself (gpl-2) -same as clustalw-mpi itself. -same as colorspace itself -same as combinat -same as corresponding file in /etc/images -same as dialign itself. -same as emboss explorer itself -same as fastlink itself -same as g.data -same-as-genetics -same as hacks/lissie.{c,man} -same as hacks/lissie.{c,man} -same as hacks/lissie.{c,man} extended -same as hacks/xanalogtv.{c,man} -same as hacks/xanalogtv.{c,man} -same as highlight -same as infernal -same-as-kalign. -same as mafft -same-as-mafft -same as maptools itself -same as maqview itelf -same as mipe itself -same as mothur itself (gpl-3) -same as msm itself -same-as-nautilus-admin -same-as-nautilus-hide -same as net-amazon-s3-tools -same as njplot -same-as-package -same as patched sources -same-as-phyml -same as plotrix itself -same as proda itself -same as raxml -same as r-cran-amore itelf -same as r-cran-diagnosismed itelf -same as r-cran-epicalc itelf -same as r-cran-epir itelf -same as r-cran-epitools itelf -same as r-cran-medadherence itelf -same as r-cran-surveillance itelf -same as r-cran-teachingdemos itelf -same-as-rest-of-p11kit -same-as-rmlint -same as spc itself -same-as-ssake-itelf -same as the above. -same as the main program license. -same as treeview x -same as upstream -same-as-upstream -same-as-upstream -same as upstream, gpl2 -same as upstream, gpl2+ -same as upstream (gpl3+) -same as upstream, lgpl2.1 or lgpl3 -same as upstream license. -same_as_xorg-x11 -same as xscreensaver -same as xtable itself -same license as jgroups (lgpl, see above) -same upstream license (mit) -sandia -sandia-2004 -sandia-2004+bsd-3-clause -sandia-2007 -sandia-2008 -sandia-2009 -sandia-bsd -sandia-permissive -sao-bsd -sao-free -satskiy -says-public-domain -sazanamifont -sc -scea_shared_source_license-1.0 -scea-shared-source-license-1.0 -scea shared source license, version 1.0 -scea-ssl-1.0 -scientific-data-merck -scintilla -scintilla -scintilla-and-scite -scintilla-hpnd -sciplot -scite-license -sclicense -scowl -scowl -scripps -scriptics-corporation-license -sdbm-public-domain -secretlabs -secret labs -secret-labs -sedadmin.inp license -see above -see above, some license as python. -(see http://www.php.net/manual/en/copyright.php) -(see license.txt and http://marginalhacks.com/license/) -seems-common -(see the copying file or the pychart's website) -"see ""/usr/share/common-licenses/apache""." -sendmail -sendmail -sequence library license -setenv license -several -sflow -sfml -sfml's license -sg1 -sgi -sgi-1.1 -sgi-2 -sgi-2.0 -sgi-b-1.1 -sgi-b-1.1-with-nvidia -sgi-b-2 -sgi-b-2.0 -sgi-expat -sgi-freeb -sgi-free-b -sgi-freeb-2.0 -sgi-free-software-b-license-2 -sgi-free-software-b-license-2.0 -sgi free software b license (v2.0) -sgi_free_software_license_b -sgi-free-software-license-b -sgi free software license b 2.0 -sgi-free-software-license-b-2.0 -sgi free software license b, version 1.1 -sgi free software license b (version 2.0, sept. 18, 2008) -sgi-fsl-b-1.1 -sgi-fsl-b-2.0 -sgi-opengl -sgi-trackball-license -sha1-license -shipley-public-domain -shivers -shootout -short-code-license -short-code-license or mit -short-gpl-2 -short-john -show-copyright -sil -sil-1.1 -sil-1.1 -sil-ofl -sil ofl 1.1 -sil-ofl-1.1 -sil-olf-and-mit -sil-open-font -sil open font license -sil-open-font-license -sil-open-font-license -sil open font license 1.1 -sil open font license 1.1 -sil_open_font_license_1.1 -sil-open-font-license-1.1 -sil-open-font-license-and-cc-by -sil open font license (ofl), version 1.1. -sil open font license version 1.1 -sil open font license, version 1.1 -sil-open-font-license-version-1.1 -sil-open-font-license-version-1.1 -sil open font license, version 1.1 – 26 february 2007 -sil open font license, version 1.1 (http://scripts.sil.org/ofl) -similar-bsd-2-clause -similar to bsd. -similar-to-bsd-3-clause -simple -simple-geo -simple library usage license -simple_library_usage_license -simple-mit-style -simpletal -simplexmlwriterlicense -simplifiedbsd -simplified bsd -simplified_bsd -simplified-bsd -simplified_bsd-0 -simplified bsd (1) -simplified_bsd-1 -simplified-bsd-1 -simplified bsd (2) -simplified_bsd-2 -simplified-bsd-2 -simplified-bsd-and-zlib -simplified bsd license -sip -sip or gpl-2 or gpl-3 -sissl -sissl-1.1 -sissl and hp -sissl and ovt and mit/mit -sitaram -sizzle-js is mit or bsd or gpl -skalibs-doc-license -sla -sleepycat -sleepycat-license -slib-public-domain -slicer-3d -sml/nj license -%s''' % (moddir, '\n'.join(sorted(copyrights)), license)) -snack-bsd-like -snakeoil -snarl-license -snd_adpcm-permissive -snes9x -snia -snowball -snowball and apache-2 -snprintf -sockaddr license -socketxx -sofa -softfloat -softfloat-license -solar-md5 -solar-public-domain -some-license -some space license -something -sosl -source files pixmaps.inc and chartdef.inc are covered by the -spacewar! -special -special -special-1 -special2 -special-2 -special and cpl -special and cpl-1.0 -special-license -special-license -specific -(specific apple license) -specific (follows) -spencer -spencer -spherepack -sphinx-themes-bsd -spi -spicedoc -spider -spl -spl-1 -sqlite -sqlite -sra -srfi -srfi1 -srgb -srot-lgpl-2.1+ -ssax-public-domain -ssldump-license -ssleay -ssleay and openssl -sslkisa -sslkisa and openssl -staden -stanford -stanford or bsd-3-clause, and gpl-2+ -stb-public-domain -stdcxx-m4 -steam_install_agreement -steam_subscriber_agreement -stk-4.3 -stmonadtrans license -stmonadtrans license and the glasgow haskell compiler license -stream -stringprep license -stripped-amqp-spec-bsd -suitename -sun -sun -sun -sun-all-permissive-license -sun-bsd -suncustom -sundown -sundry -sundry and lgpl-2.1+ -sun-expat -sun-hp-bsd-like -sun-industry-standard-or-inmon-sflow-license -sun-license -sun-permissive -sunpro -sunpro-attribution -sun public license 1.0 -sun-public-license-1.0 -sun-rpc -sunsoft -superlulicense -svnwrap -swl -swsoft -syck -synopsys -syntax-case -t1asm -t4 -(taken from postgressql source) -tango-pd -tango-public-domain -targa -tatcherulrichpublicdomain -tatu -tatuylonen -tatu-ylonen -tatu-ylonen-permissive -taucs-other -tba -tcdata -tcg -tcl -tcl -tcl -tcl and mit -tcl-bsdish -tcl license -tcl-license-terms -tcl-license-terms -tcltk -tcltk -tcltk -tcl-tk -tcl-tk-license -tcl/tk license -tcl/tk-license -tclx-license -tclxml -tcpd -tensor license -terminal-progress-bar license -termreadkey -termreadkey or artistic or gpl-1+ -texas-instruments -{texlive-fonts-extra} -text-soundex -text-tabs -tfl -tf-random license -tgppl1+ -the apache license, version 2.0 -the apache software license, version 1.1 -the author has allowed to use this file under lgpl license. -the beer-ware license -the-beer-ware-license-rev42 -"""the beer-ware license"" (revision 42):" -"the beer-ware license"" (revision 42)" -the bsd 2-clause license -the debian packaging information is under the gpl, version 2 or -the debian packaging is distributed under the same license as the -the debian packaging is distributed under the same license as the font software. -the debian packaging is licensed under the gpl, see -the expat license -the famfamfam silk icon set created by mark james can be found at -the ffi documentation license -the glasgow haskell compiler license -the gnu general public license (gpl), version 2 or later -the gnu general public license (see /usr/share/common-licenses/gpl) -the gnu general public license (see /usr/share/common-licenses/gpl-2) -the haskell 98 foreign functoin interface license -the haskell 98 report license -the inner net license, version 2.00 -the_inner_net_license,_version_2.00 -the-janelia-farm-software-license -the library modules in cpphs are distributed under the terms of -the-loki-library-license -the lua license -the-lua-license -the main library and gnutls-xssl are licensed under gnu lesser -the main library file 'cimg.h' is *dual-licensed* : -the main library is licensed under gnu lesser -the main library is licensed under gnu lesser general public -the mit license -the mit license -the mit license -the mit license (mit) -the openib.org bsd license -the packaging is licensed under the same conditions as the -the packaging is released under the same license as the font software. -the pear xml_serializer module is licenced under the bsd license -the rabbitmq stomp gateway is open-source software, licensed under -there is a non-exclusive license for use of this work by or -the tmate open source license -the-tmate-open-source-license -the university of illinois/ncsa open source license. -the vigra license -the visualization toolkit (vtk) license -the-visualization-toolkit-(vtk)-license -the vovida software license, version 1.0 -this -this code is in the public domain. -this code is released by the author with no restrictions on usage. -this code is too trivial to have a licence or copyright. -this configure script is free software; the free -this file, dmtcpaware.h, is placed in the public domain. -this file is distributed under the same license as the debian -this file is distributed under the same license as the p11-kit -this file is released into the public domain -this font has been released into the public domain by its author, -this makefile.in is free software; the free software -this package is distributed under the terms of gnu general public license -this package is licensed under the gnu general public -this package, librabbitmq, the rabbitmq c client, is licensed -this program is distribued under the terms of the gnu general -this program is free software; you can redistribute it and/or modify it -this software is provided 'as-is', without any express or implied -this software is provided as-is, without express or implied -this|that -this | that -this work is licensed under a psf compatible license. -threads license -tidy -tiff -tile -time-compat license -tim-starling-license -tim-toolan -tinl-2 -tiny -tinymce is licensed under the lgpl, see `/usr/share/common-licenses/lgpl'. -tinymce is licensed under the lgpl version 2.1, -tinymud-revised -tinyscheme -tinyxml -ti technology and software publicly available software license -ti tspa -tk-4.0 -tk-4.0 or tktable -tk 8.3 license -tkcon_license -tklib -tktable -tlp-4 -tls -tobeclarified -todo -todo -todo. not dfsg-free. -togl -tolua-license -tom-howard -tom-patterson -torch_bsd-3-clause -torch-bsd-3-clause -torch_bsd_license -torch-license -totally-free -trac -trace -trac-mod-bsd -trademark -trademark-controlled -transformers-compat license -tremor -trilead-license -trio -triple-licensed mit, bsd-sizzle, gpl-2 -troy d. hanson license -tub -tu-berlin-2.0 -tumbolia -tumbolia public license -turba is licenced under asl license. -turk -tux -tux -twain -tweak is distributed with an mit-style license: -ubdl -ubuntu font licence 1.0 -ubuntu-font-licence-1.0 -ubuntu_font_license_1.0 -ubuntu-font-license-1.0 -uc -ucar-2-bsd -ucar-bsd -ucb-1 -ucb-2 -ucberkeley-like-mit -uc-copyleft -uc_sun_scriptics -ufl-1 -uiuc -ul -umac -umac -umefont -unbeliever -unbounded-delays license -unclear -unclear -unclear, probably non-distributable -uncopyrightable -undefined -undefined license -undefined undefined -under-the-mit-license -unicode -unicode -unicode -unicode and apache-2 -unicode and apache-2 and icu -unicode-bsd -unicode-data -unicode-data -unicode-data-files -unicode-data-license -unicode-dfs -unicode-dfs-2007 -unicode-dfs-2015 -unicode-dfs-2016 -unicode-inc-license-agreement -unicode, inc. license agreement -unicode, inc. license agreement -unicode-other -unicode-strict -unicode-terms -unicode-tou -unicode-tou -unicode-tou [ref22] -unicode-tou [ref23] -unicode-tou [ref24] -unicode-tou [ref25] -unifont -unilicense -university-of-california -university-of-california-berkeley -university-of-colorado -university of illinois/ncsa open source license -university of illinois open source license -university-of-michigan -univillinois/ncsa -unknow -unknown -unknown -unknown -__unknown__ -unknown2 -unknown3 -unknown and mit~umich -unknown/unspecified -__unknown__ with unknown exception -unlicence -unlicense -unlicense -unlicense -(un)license -unlicense and mit -unlicense or expat -unlicense or gpl-2-or-3 -unlicense or mit -unlicense or mit -unlicense or mit-no-attribution -unlicense or wtfpl -unlimited -unlimited -unlimited -unlimited -'unlimited distribution'. -unlimited-free-doc -unlimited-license -unlimited-permission -unlimited-permission -unlimited-retain-copyright -unnamed1 -unnamed2 -unparsable or artistic or gpl-1+ -unrar -unrar license -unrecognized -unrestricted -unrestricted -unrestricted~app_curl -unrestricted~author -unrestricted-copyright-remain -unrestricted-crc32 -unrestricted open source (cctbx.sf.net). -unspecified -unspecified -unspecified-open-source -u-of-i-bsd-like -u-of-i-bsd-like or expat -u-of-i-bsd-like or mit -uoi-ncsa -u-o-tennesee -uri -usc -used with permission -use-freely -us-public-domain -/usr/share/common-licenses/apache-2.0 -/usr/share/common-licenses/bsd -/usr/share/common-licenses/gpl -/usr/share/common-licenses/gpl-2 -/usr/share/common-licenses/gpl-2 with userspace exception -utf8proc -utfwidth -uthash -uthash-license -uuagc-cabal license -(v2.1) -vanderbilt -variant of apache 1.0 -various -various_bsd-3-clause -various bsd style licenses -vbaccelerator software license, version 1.0 -vbap -vectaport -vector-binary-instances license -vector-th-unbox license -vera fonts license, bsd like -verbatim -verbatim -verite -very-permissive -vids -vigra_license -vim -vim license -vim-regexp -vinay-sajip -virtualbox-puel -visual-edge -vj-bsd -voidspace -voidspace-bsd -voidspace-bsd -volition-freespace -vovida -vpflib -vroot license -vrweb -vtkbsd -vtk-bsd-3-clause -vtk-bsd-3-clause and gpl-2+ -vtk-copyright -w3c -w3c -w3c-20150513 -w3c-3-clause-bsd -w3c and bsd-3-clause -w3c-doc-2015 -w3c-document -w3c-document and w3c-software -w3c-documentation -w3c or whatwg-html -w3c-permissive -w3c-permissive and iso-permissive -w3c(r) software license (v20021231) -w3c-software -w3c-software -w3c-software-20021231 -w3c-software-20150513 -w3c-software-20150513 and w3c-doc-2015 -w3c software license -w3c-software-license -w3c software license (19980720) -w3c-software-notice-and-license -w3c® software notice and license -w3c-test-suite -w3c-test-suite and w3c-3-clause-bsd -w3c-test-suite or w3c-3-clause-bsd -w3c-xsd -w3m -waqf public license -webfx -webfx-non-commercial-license or webfx-commercial-license or gpl-2+ -webfx non-commercial license, webfx commercial license, gpl-2+ -webgoddess -webkit -webp -whatever -whatever -whatever-you-want -whatwg-html -whatwg-html-5-spec-license -wide-open-license -wietse -wikimedia-public-domain -wintab -win-wrapper-public-domain -wip (email sent) -without-restriction -wizards license -wlcbsd -wl-top -wol -wol and gpl-2-asterisk -wolfire-games-license -wordnet -wordnet3.0 -wpl -wpl-2 -wrapper-community-license-1.1 -wrapper-community-license-1.2 -wrapper-community-license-1.3 -wrf-bsd-variant -wsdl1 -wsdl2 -wsdl3 -wtf -wtf-2 -wtfl -wtfpl -wtfpl -wtfpl-1 -wtfpl2 -wtfpl-2 -wtfpl-2+ -wtfpl 2.0 -wtfpl-2.0 -wtfpl-2 and expat -wtfpl and bsd-2-clause -wtfpl -wtfpl or expat -wtfpl or expat -wtfpl-or-expat -wtfpl or mit -wtfplv2 -wtfpl-v2 -wtfpl version 2, december 2004 -wx -wxlibplot -wxwidgets -wxwidgets-license -wxwin -wxwindows -wxwindows -wxwindows -wxwindows -wxwindows -wxwindows-3 -wxwindows-3.1+ -wxwindows and rds-data-security -wxwindows library license, this equals the lpgl with exception that object code may be distributed under own terms. -wxwindows licence -wxwindows + rds-data-security -x -x11 -x11-2 -x11 and bsd-2 -x11 and dec -x11 and dec and omron -x11 and gpl-2+ -x11 and hpnd-sell-variant -x11 and public-domain -x11-install-sh -x11-ish -x11~kaleb -x11 license -x11 license -x11_license -x11-license -x11/mit -x11~opengroup -x11r5-permissive -x11~tog -x11~tog and expat~digital -x11-unicode -x11~univga -x11 with fonts exception -x11-xcb-variant -x11-xfig -x3270 -x3270+xterm -xampl -xanim -xcb-types license -xconsortium -x-consortium -x-consortium-bsd -x-consortium+fsf -x consortium license -x-consortium-license -xdemineur -xdg -xen-interface -xerces-apache-2.0 -xerox -xerox -xfig -xfig -xfig-doc -xfig-xcoloredit -xfig-xdir -xfree-1.0 -xfree86 -xhtml-dtd -xilinx-boilerplate -ximaiter -ximproto -x-install-sh -xiph-license -x-license -xloadtree -xmit -x/mit -x/mit and mit-variant -xml-entity -xmlrpc-client -xml-schema -xmt-bsd-3-clause -x-open-group-dec -xorcom-firmwares -xorg -xpm -xpp3 -xprint -xprosper-licence -xrandr -xscreensaver-bsdish -xskat license -xspice_license -xtrans -x_widgets -xxx -xye -yahoo-bsd -yajl -yajl-permissive -yarandom -yaz -you are free to distribute this software under the terms of -zangband-license -zangband-license and angband-license -zed-cm -zend-2.00 -zend-engine-2.00 -zero-code-files or generated -zeus -zip -zlib -zlib -zlib -zlib -zlib -zlib -zlib -zlib and bsd-2-clause -zlib and elsevier-cdrom-license -zlib and expat -zlib and gpl -zlib and gpl-2+ -zlib and gpl-3+ -zlib and infozip -zlib and info-zip -zlib and lgpl-2.1+ with staticlink exception -zlib and lgpl-2.1+ with staticlink exception and abandoned and mention and sun -zlib and rfc -zlib and sil-ofl-1.1 -zlib-bsd -zlib.h -zlib-libpng zlib -zlib/libpng zlib -zlib/libpng zlib -zlib/libpng zlib -zlib/libpng and infozip -zlib/libpng and rsa_data_security -zlib/libpng and zlib-libpng-like-permissive -zlib/libpng-jsunzip -zlib/libpng license zlib -zlib-libpng-like-permissive zlib -zlib/libpng or gpl-3 -zlib/libpng or lgpl-2.1 or mit/x11 (bsd like) -zlib license zlib -zlib_license zlib -zlib-license zlib -zlib-license zlib -zlib-like zlib -zlib-like or lgpl-2+ with staticlink exception -zlib/lipng zlib -zlib-lstar -zlib or artistic or gpl-1+ -zlib or artistic or gpl-1+ -zlib or boost -zlib or gpl -zlib or gpl-2+ -zlib or gpl-2 or cc-by-3.0 -zlib or gpl-3 or bsd-3-clause -zlib or libpng -zlib/png -zlib-style -zlib-with-exception -zmod -zope -zope -zope-2.0 -zope-2.1 -zope public license 2.1 -zope public license (zpl) version 2.1 -zpl-1.0 zpl-1.0 -zpl-2 zpl-2.0 -zpl 2.0 zpl-2.0 -zpl-2.0 zpl-2.0 -zpl 2.1 zpl-2.1 -zpl-2.1 zpl-2.1 -zpl 2.1 or public-domain -zpl-2 and expat -zpl-like -zpu-bsd -zpu-freebsd -zsh -一般利用者向けipaフォント使用許諾契約書(エンド・ユーザ・ライセンス) ipa-font diff --git a/src/packagedcode/licensing.py b/src/packagedcode/licensing.py index b546d616abc..5c7d7f7ca98 100644 --- a/src/packagedcode/licensing.py +++ b/src/packagedcode/licensing.py @@ -46,14 +46,20 @@ def matches_have_unknown(matches, licensing): return True -def get_normalized_expression(query_string, try_as_expression=True, approximate=True): +def get_normalized_expression( + query_string, + try_as_expression=True, + approximate=True, + expression_symbols=None, +): """ Given a text `query_string` return a single detected license expression. `query_string` is typically the value of a license field as found in package manifests. If `try_as_expression` is True try first to parse this as a license - expression. + expression using the ``expression_symbols`` mapping of {lowered key: + LicenseSymbol} if provided. Otherwise use the standard SPDX license symbols. If `approximate` is True, also include approximate license detection as part of the matching procedure. @@ -80,6 +86,7 @@ def get_normalized_expression(query_string, try_as_expression=True, approximate= matches = idx.match( query_string=query_string, as_expression=True, + expression_symbols=expression_symbols, ) if matches_have_unknown(matches, licensing): # rematch also if we have unknowns @@ -141,7 +148,8 @@ def get_normalized_expression(query_string, try_as_expression=True, approximate= raise Exception( 'Inconsistent package.declared_license: text with multiple "queries".' 'Please report this issue to the scancode-toolkit team.\n' - f'{query_string}') + f'{query_string}' + ) query_len = len(query.tokens) matched_qspans = [m.qspan for m in matches] diff --git a/src/packagedcode/maven.py b/src/packagedcode/maven.py index 35bd02f41c7..3e1e00b6a16 100644 --- a/src/packagedcode/maven.py +++ b/src/packagedcode/maven.py @@ -7,7 +7,6 @@ # See https://aboutcode.org for more information about nexB OSS projects. # -import io import logging import os.path from os.path import dirname @@ -20,6 +19,7 @@ from packageurl import PackageURL from pymaven import artifact from pymaven import pom +from pymaven.pom import strip_namespace from commoncode import filetype from commoncode import fileutils @@ -30,8 +30,6 @@ from packagedcode.utils import VCS_URLS from textcode import analysis from typecode import contenttype -from pymaven.pom import strip_namespace - TRACE = False @@ -47,6 +45,7 @@ Attempts to resolve Maven properties when possible. """ + @attr.s() class MavenPomPackage(models.Package): metafiles = ('*.pom', 'pom.xml',) @@ -275,7 +274,7 @@ def __init__(self, location=None, text=None): if location: try: - with io.open(location, encoding='utf-8') as fh: + with open(location) as fh: xml_text = fh.read() except UnicodeDecodeError as _a: xml_text = analysis.unicode_text(location) @@ -505,6 +504,21 @@ def resolve(self, **extra_properties): resolved_deps.append(((group, artifact, version,), required)) self._dependencies[scope] = resolved_deps + for (group, artifact), (version, scope, optional) in self.dependency_management.items(): + group = self._replace_properties(group, properties) + artifact = self._replace_properties(artifact, properties) + version = self._replace_properties(version, properties) + required = not optional + resolved_dep = (group, artifact, version,), required + # we craft a scope prefix for these + scope = f'dependencyManagement' + if scope in self.dependencies: + scope_deps = self._dependencies[scope] + # TODO: Check we don't insert duplicates + scope_deps.append(resolved_dep) + else: + self._dependencies[scope] = [resolved_dep] + if TRACE: logger.debug('MavenPom.resolve: artifactId after resolve: {}'.format(self.artifact_id)) @@ -822,7 +836,7 @@ def is_pom(location): if T.is_text: # check the POM version in the first 150 lines - with io.open(location, 'rb') as pom: + with open(location, 'rb') as pom: for n, line in enumerate(pom): if n > 150: break @@ -919,6 +933,9 @@ def get_dependencies(pom): # pymaven whart if dversion == 'latest.release': dversion = None + + is_resolved = dversion and not any(c in dversion for c in '$[,]') + dqualifiers = {} # FIXME: this is missing from the original Pom parser # classifier = dep.get('classifier') @@ -928,23 +945,35 @@ def get_dependencies(pom): # packaging = dep.get('type') # if packaging and packaging != 'jar': # qualifiers['packaging'] = packaging - dep_id = models.PackageURL( - type='maven', - namespace=dgroup_id, - name=dartifact_id, - qualifiers=dqualifiers or None) + + if is_resolved: + dpurl = models.PackageURL( + type='maven', + namespace=dgroup_id, + name=dartifact_id, + version=dversion, + qualifiers=dqualifiers or None, + ) + else: + dpurl = models.PackageURL( + type='maven', + namespace=dgroup_id, + name=dartifact_id, + qualifiers=dqualifiers or None, + ) + # TODO: handle dependency management and pom type - is_runtime = scope in ('runtime', 'compile', 'system', 'provided') - is_optional = bool(scope in ('test',) or not drequired) - if scope not in (('runtime', 'compile', 'system', 'provided', 'test')): - is_runtime = True + is_runtime = scope in ('runtime', 'system', 'provided') + is_optional = bool(scope in ('test', 'compile',) or not drequired) + dep_pack = models.DependentPackage( - purl=str(dep_id), + purl=str(dpurl), requirement=dversion, scope=scope, is_runtime=is_runtime, is_optional=is_optional, - is_resolved=False) + is_resolved=is_resolved, + ) dependencies.append(dep_pack) return dependencies @@ -1049,7 +1078,6 @@ def parse(location=None, text=None, check_is_pom=True, extra_properties=None): scm = pom.scm or {} vcs_url, code_view_url = build_vcs_and_code_view_urls(scm) - # FIXME: there are still other data to map in a Package package = MavenPomPackage( namespace=pom.group_id, diff --git a/src/packagedcode/models.py b/src/packagedcode/models.py index 92fb482c34d..275f34c7caa 100644 --- a/src/packagedcode/models.py +++ b/src/packagedcode/models.py @@ -23,7 +23,6 @@ from commoncode.datautils import String from commoncode.datautils import TriBoolean - """ Data models for package information and dependencies, abstracting the differences existing between package formats and tools. @@ -79,25 +78,26 @@ def to_dict(self, **kwargs): """ Return an dict of primitive Python types. """ - return attr.asdict(self, dict_factory=dict) + return attr.asdict(self) @classmethod - def create(cls, ignore_unknown=True, **kwargs): + def create(cls, **kwargs): """ - Return an object built from kwargs. - Optionally `ignore_unknown` attributes provided in `kwargs`. + Return an object built from ``kwargs``. Always ignore unknown attributes + provided in ``kwargs`` that do not exist as declared attr fields in + ``cls``. """ - if ignore_unknown: - known_attr = set(attr.fields_dict(cls).keys()) - kwargs = {k: v for k, v in kwargs.items() if k in known_attr} + known_attr = cls.fields() + kwargs = {k: v for k, v in kwargs.items() if k in known_attr} return cls(**kwargs) + @classmethod def fields(cls): """ Return a list of field names defined on this model. """ - return [a.name for a in attr.fields(cls)] + return list(attr.fields_dict(cls)) party_person = 'person' @@ -120,26 +120,31 @@ class Party(BaseModel): """ type = String( + repr=True, validator=choices(PARTY_TYPES), label='party type', help='the type of this party: One of: ' +', '.join(p for p in PARTY_TYPES if p)) role = String( + repr=True, label='party role', help='A role for this party. Something such as author, ' 'maintainer, contributor, owner, packager, distributor, ' 'vendor, developer, owner, etc.') name = String( + repr=True, label='name', help='Name of this party.') email = String( + repr=True, label='email', help='Email for this party.') url = String( + repr=True, label='url', help='URL to a primary web page for this party.') @@ -274,25 +279,29 @@ def to_dict(self, **kwargs): """ Return an dict of primitive Python types. """ - mapping = attr.asdict(self, dict_factory=dict) - if not kwargs.get('exclude_properties'): - mapping['purl'] = self.purl - mapping['repository_homepage_url'] = self.repository_homepage_url() - mapping['repository_download_url'] = self.repository_download_url() - mapping['api_data_url'] = self.api_data_url() + mapping = attr.asdict(self) + mapping['purl'] = self.purl + mapping['repository_homepage_url'] = self.repository_homepage_url() + mapping['repository_download_url'] = self.repository_download_url() + mapping['api_data_url'] = self.api_data_url() + if self.qualifiers: - mapping['qualifiers'] = normalize_qualifiers(self.qualifiers, encode=False) + mapping['qualifiers'] = normalize_qualifiers( + qualifiers=self.qualifiers, + encode=False, + ) return mapping @classmethod - def create(cls, ignore_unknown=True, **kwargs): + def create(cls, **kwargs): """ - Return a Package built from kwargs. - Optionally `ignore_unknown` attributes provided in `kwargs`. + Return a Package built from ``kwargs``. Always ignore unknown attributes + provided in ``kwargs`` that do not exist as declared attr fields in + ``cls``. """ from packagedcode import get_package_class - cls = get_package_class(kwargs, default=cls) - return super(BasePackage, cls).create(ignore_unknown=ignore_unknown, **kwargs) + type_cls = get_package_class(kwargs, default=cls) + return super(BasePackage, type_cls).create(**kwargs) @attr.s() @@ -304,8 +313,10 @@ class DependentPackage(BaseModel): purl = String( repr=True, label='Dependent package URL', - help='A compact purl package URL. Typically when there is an unresolved requirement, there is no version. ' - 'If the dependency is resolved, the version should be added to the purl') + help='A compact purl package URL. Typically when there is an ' + 'unresolved requirement, there is no version. ' + 'If the dependency is resolved, the version should be added to ' + 'the purl') requirement = String( repr=True, @@ -345,8 +356,8 @@ class PackageFile(BaseModel): path = String( label='Path of this installed file', help='The path of this installed file either relative to a rootfs ' - '(typical for system packages) or a path in this scan (typical for ' - 'application packages).', + '(typical for system packages) or a path in this scan (typical ' + 'for application packages).', repr=True, ) @@ -453,12 +464,14 @@ class Package(BasePackage): license_expression = String( label='license expression', help='The license expression for this package typically derived ' - 'from its declared license or .') + 'from its declared license or from some other type-specific ' + 'routine or convention.') declared_license = String( label='declared license', help='The declared license mention, tag or text as found in a ' - 'package manifest.') + 'package manifest. This can be a string, a list or dict of ' + 'strings possibly nested, as found originally in the manifest.') notice_text = String( label='notice text', @@ -491,6 +504,10 @@ class Package(BasePackage): label='installed files', help='List of files installed by this package.') + extra_data = Mapping( + label='extra data', + help='A mapping of arbitrary extra Package data.') + def __attrs_post_init__(self, *args, **kwargs): if not self.type and hasattr(self, 'default_type'): self.type = self.default_type @@ -595,17 +612,22 @@ def extra_root_dirs(cls): def to_dict(self, _detailed=False, **kwargs): data = super().to_dict(**kwargs) if _detailed: - data['installed_files'] = [istf.to_dict() for istf in (self.installed_files or [])] + data['installed_files'] = [ + istf.to_dict() for istf in (self.installed_files or []) + ] else: data.pop('installed_files', None) return data -def compute_normalized_license(declared_license): +def compute_normalized_license(declared_license, expression_symbols=None): """ Return a normalized license_expression string from the ``declared_license``. Return 'unknown' if there is a declared license but it cannot be detected (including on errors) and return None if there is no declared license. + + Use the ``expression_symbols`` mapping of {lowered key: LicenseSymbol} + if provided. Otherwise use the standard SPDX license symbols. """ if not declared_license: @@ -613,19 +635,20 @@ def compute_normalized_license(declared_license): from packagedcode import licensing try: - return licensing.get_normalized_expression(declared_license) + return licensing.get_normalized_expression( + query_string=declared_license, + expression_symbols=expression_symbols + ) except Exception: # FIXME: add logging # we never fail just for this return 'unknown' - # Package types # NOTE: this is somewhat redundant with extractcode archive handlers # yet the purpose and semantics are rather different here - @attr.s() class JavaJar(Package): metafiles = ('META-INF/MANIFEST.MF',) @@ -683,6 +706,7 @@ class IvyJar(JavaJar): default_type = 'ivy' default_primary_language = 'Java' + # FIXME: move to bower.py @attr.s() class BowerPackage(Package): @@ -736,16 +760,6 @@ def get_package_root(cls, manifest_resource, codebase): return manifest_resource.parent(codebase) -# TODO: enable me -# @attr.s() -# class AlpinePackage(Package): -# metafiles = ('*.control',) -# extensions = ('.apk',) -# filetypes = ('debian binary package',) -# mimetypes = ('application/x-archive', 'application/vnd.debian.binary-package',) -# default_type = 'alpine' - - @attr.s() class AndroidApp(Package): filetypes = ('zip archive',) @@ -802,14 +816,6 @@ class CabPackage(Package): default_type = 'cab' -@attr.s() -class MsiInstallerPackage(Package): - filetypes = ('msi installer',) - mimetypes = ('application/x-msi',) - extensions = ('.msi',) - default_type = 'msi' - - @attr.s() class InstallShieldPackage(Package): filetypes = ('installshield',) @@ -855,5 +861,4 @@ class SquashfsPackage(Package): filetypes = ('squashfs',) default_type = 'squashfs' - # TODO: Add VM images formats(VMDK, OVA, OVF, VDI, etc) and Docker/other containers diff --git a/src/packagedcode/msi.py b/src/packagedcode/msi.py new file mode 100644 index 00000000000..ce804ea539e --- /dev/null +++ b/src/packagedcode/msi.py @@ -0,0 +1,180 @@ +# +# Copyright (c) nexB Inc. and others. All rights reserved. +# ScanCode is a trademark of nexB Inc. +# SPDX-License-Identifier: Apache-2.0 +# See http://www.apache.org/licenses/LICENSE-2.0 for the license text. +# See https://github.com/nexB/scancode-toolkit for support or download. +# See https://aboutcode.org for more information about nexB OSS projects. +# + +import os +import re +import warnings +from shutil import which + +import attr + +from commoncode.command import execute +from commoncode.command import find_in_path +from commoncode.system import on_linux +from commoncode.version import VERSION_PATTERNS_REGEX +from packagedcode import models + + +MSIINFO_BIN_LOCATION = 'packagedcode_msitools.msiinfo' + + +def get_msiinfo_bin_location(_cache=[]): + """ + Return the binary location for msiinfo from either: + - a plugin-provided path, + - the system PATH. + Raise an Exception if no msiinfo command can be found. + """ + if _cache: + return _cache[0] + + from plugincode.location_provider import get_location + + # try a plugin-provided path first + cmd_loc = get_location(MSIINFO_BIN_LOCATION) + + # try the PATH + if not cmd_loc: + cmd = 'msiinfo' + cmd_loc = find_in_path(cmd) + + if not cmd_loc: + cmd_loc = which(cmd) + + if cmd_loc: + warnings.warn( + 'Using "msiinfo" command found in the PATH. ' + 'Install instead a plugincode-msitools plugin for best support.' + ) + + if not cmd_loc or not os.path.isfile(cmd_loc): + raise Exception( + 'CRITICAL: msiinfo not provided. ' + 'Unable to continue: you need to install the plugin packagedcode-msitools' + ) + _cache.append(cmd_loc) + return cmd_loc + + +class MsiinfoException(Exception): + pass + + +def parse_msiinfo_suminfo_output(output_string): + """ + Return a dictionary containing information from the output of `msiinfo suminfo` + """ + # Split lines by newline and place lines into a list + output_list = output_string.splitlines() + results = {} + # Partition lines by the leftmost ":", use the string to the left of ":" as + # the key and use the string to the right of ":" as the value + for output in output_list: + key, _, value = output.partition(':') + if key: + results[key] = value.strip() + return results + + +def get_msi_info(location): + """ + Run the command `msiinfo suminfo` on the file at `location` and return the + results in a dictionary + + This function requires `msiinfo` to be installed on the system, either by + installing the `packagedcode-msiinfo` plugin or by installing `msitools` + through a package manager. + """ + rc, stdout, stderr = execute( + cmd_loc=get_msiinfo_bin_location(), + args=[ + 'suminfo', + location, + ], + ) + if stderr: + error_message = f'Error encountered when reading MSI information from {location}: ' + error_message = error_message + stderr + raise MsiinfoException(error_message) + return parse_msiinfo_suminfo_output(stdout) + + +def get_version_from_subject_line(subject_line): + """ + Return a version number from `subject_line` + + `subject_line` is the `Subject` field from the output of + `msiinfo suminfo `. This string sometimes contains + the version number of the package contained in the MSI installer. + """ + for pattern in VERSION_PATTERNS_REGEX(): + version = re.search(pattern, subject_line) + if version: + v = version.group(0) + # prefix with v space + if not v.lower().startswith('v'): + v = f'v {v}' + return v + + +def create_package_from_msiinfo_results(msiinfo_results): + """ + Return an MsiInstallerPackage from the dictionary `msiinfo_results` + """ + author_name = msiinfo_results.get('Author', '') + parties = [] + if author_name: + parties.append( + models.Party( + type=None, + role='author', + name=author_name + ) + ) + + # Currently, we use the contents `Subject` field from the msiinfo suminfo + # results as the package name because it contains the package name most of + # the time. Getting the version out of the `Subject` string is not + # straightforward because the format of the string is usually different + # between different MSIs + subject = msiinfo_results.get('Subject', '') + name = subject + version = get_version_from_subject_line(subject) + description = msiinfo_results.get('Comments', '') + keywords = msiinfo_results.get('Keywords', '') + + return MsiInstallerPackage( + name=name, + version=version, + description=description, + parties=parties, + keywords=keywords, + extra_data=msiinfo_results + ) + + +def msi_parse(location): + """ + Return an MsiInstallerPackage from `location` + """ + info = get_msi_info(location) + return create_package_from_msiinfo_results(info) + + +@attr.s() +class MsiInstallerPackage(models.Package): + filetypes = ('msi installer',) + mimetypes = ('application/x-msi',) + extensions = ('.msi',) + default_type = 'msi' + + @classmethod + def recognize(cls, location): + if on_linux: + yield msi_parse(location) diff --git a/src/packagedcode/plugin_package.py b/src/packagedcode/plugin_package.py index 9ef5094d2e8..98492eabba0 100644 --- a/src/packagedcode/plugin_package.py +++ b/src/packagedcode/plugin_package.py @@ -17,7 +17,7 @@ from commoncode.cliutils import DOC_GROUP from commoncode.cliutils import SCAN_GROUP -from packagedcode import get_package_class +from packagedcode import get_package_instance from packagedcode import PACKAGE_TYPES @@ -112,8 +112,8 @@ def set_packages_root(resource, codebase): modified = False for package in packages: - package_class = get_package_class(package) - package_root = package_class.get_package_root(resource, codebase) + package_instance = get_package_instance(package) + package_root = package_instance.get_package_root(resource, codebase) if not package_root: # this can happen if we scan a single resource that is a package package continue diff --git a/src/packagedcode/pubspec.py b/src/packagedcode/pubspec.py new file mode 100644 index 00000000000..b7057847257 --- /dev/null +++ b/src/packagedcode/pubspec.py @@ -0,0 +1,383 @@ +# +# Copyright (c) nexB Inc. and others. All rights reserved. +# ScanCode is a trademark of nexB Inc. +# SPDX-License-Identifier: Apache-2.0 +# See http://www.apache.org/licenses/LICENSE-2.0 for the license text. +# See https://github.com/nexB/scancode-toolkit for support or download. +# See https://aboutcode.org for more information about nexB OSS projects. +# + +import logging +import sys +import warnings + +import attr +import saneyaml +from commoncode import filetype +from packageurl import PackageURL + +from packagedcode import models +from packagedcode.utils import combine_expressions + +TRACE = False + + +def logger_debug(*args): + pass + + +logger = logging.getLogger(__name__) + +if TRACE: + logging.basicConfig(stream=sys.stdout) + logger.setLevel(logging.DEBUG) + + def logger_debug(*args): + return logger.debug(''.join(isinstance(a, str) and a or repr(a) for a in args)) + +""" +Collect data from Dart pub packages. +See https://dart.dev/tools/pub/pubspec +""" + +""" +TODO: +- license is only in a LICENSE file + https://dart.dev/tools/pub/publishing#preparing-to-publish +See https://dart.dev/tools/pub/publishing#important-files + +API has theses URLs: +is limited and only returns all versions of a package +- feeds https://pub.dev/feed.atom +- all packages, paginated: https://pub.dev/api/packages +- one package, all version: https://pub.dev/api/packages/painter +- one version: https://pub.dev/api/packages/painter/versions/0.3.1 + +See https://github.com/dart-lang/pub/blob/master/doc/repository-spec-v2.md +""" + + +@attr.s() +class PubspecPackage(models.Package): + metafiles = ('pubspec.yaml', 'pubspec.lock',) + extensions = ('.yaml', '.lock',) + default_type = 'pubspec' + default_primary_language = 'dart' + default_web_baseurl = 'https://pub.dev/packages' + default_download_baseurl = 'https://pub.dartlang.org/packages' + default_api_baseurl = 'https://pub.dev/api/packages' + + @classmethod + def recognize(cls, location): + if is_pubspec_yaml(location): + yield parse_pub(location) + elif is_pubspec_lock(location): + yield parse_lock(location) + + def repository_homepage_url(self, baseurl=default_web_baseurl): + return f'{baseurl}/{self.name}/versions/{self.version}' + + def repository_download_url(self, baseurl=default_download_baseurl): + # A URL should be in the form of: + # https://pub.dartlang.org/packages/url_launcher/versions/6.0.9.tar.gz + # And it may resolve to: + # https://storage.googleapis.com/pub-packages/packages/http-0.13.2.tar.gz + # as seen in the pub.dev web pages + return f'{baseurl}/{self.name}/versions/{self.version}.tar.gz' + + def api_data_url(self, baseurl=default_api_baseurl): + return f'{baseurl}/{self.name}/versions/{self.version}' + + def compute_normalized_license(self): + return compute_normalized_license(self.declared_license) + + +def compute_normalized_license(declared_license, location=None): + """ + Return a normalized license expression string detected from a list of + declared license items. + + The specification for pub demands to have a LICENSE file side-by-side and + nothing else. See https://dart.dev/tools/pub/publishing#preparing-to-publish + """ + # FIXME: we need a location to find the FILE file + # Approach: + # Find the LICENSE file + # detect on the text + # combine all expressions + + if not declared_license: + return + + detected_licenses = [] + + if detected_licenses: + return combine_expressions(detected_licenses) + + +def parse_pub(location, compute_normalized_license=False): + """ + Return a PubspecPackage constructed from the pubspec.yaml file at ``location`` + or None. + """ + if not is_pubspec_yaml(location): + return + with open(location) as inp: + package_data = saneyaml.load(inp.read()) + + package = build_package(package_data) + if package and compute_normalized_license: + package.compute_normalized_license() + return package + + +def file_endswith(location, endswith): + """ + Check if the file at ``location`` ends with ``endswith`` string or tuple. + """ + return filetype.is_file(location) and location.endswith(endswith) + + +def is_pubspec_yaml(location): + return file_endswith(location, 'pubspec.yaml') + + +def is_pubspec_lock(location): + return file_endswith(location, 'pubspec.lock') + + +def parse_lock(location): + """ + Yield PubspecPackages dependencies constructed from the pubspec.lock file at + ``location``. + """ + if not is_pubspec_lock(location): + return + + with open(location) as inp: + locks_data = saneyaml.load(inp.read()) + + return PubspecPackage(dependencies=list(collect_locks(locks_data))) + + +def collect_locks(locks_data): + """ + Yield DependentPackage from locks data + + The general form is + packages: + _fe_analyzer_shared: + dependency: transitive + description: + name: _fe_analyzer_shared + url: "https://pub.dartlang.org" + source: hosted + version: "22.0.0" + sdks: + dart: ">=2.12.0 <3.0.0" + """ + # FIXME: we treat all as nno optioanl for now + sdks = locks_data.get('sdks') or {} + for name, version in sdks.items(): + dep = build_dep( + name, + version, + scope='sdk', + is_runtime=True, + is_optional=False, + ) + yield dep + + packages = locks_data.get('packages') or {} + for name, details in packages.items(): + version = details.get('version') + + # FIXME: see https://github.com/dart-lang/pub/blob/2a08832e0b997ff92de65571b6d79a9b9099faa0/lib/src/lock_file.dart#L344 + # transitive, direct main, direct dev, direct overridden. + # they do not map exactly to the pubspec scopes since transitive can be + # either main or dev + scope = details.get('dependency') + if scope == 'direct dev': + is_runtime = False + else: + is_runtime = True + + desc = details.get('description') or {} + known_desc = isinstance(desc, dict) + + # issue a warning for unknown data structure + warn = False + if not known_desc: + if not (isinstance(desc, str) and desc == 'flutter'): + warn = True + else: + dname = desc.get('name') + durl = desc.get('url') + dsource = details.get('source') + + if ( + (dname and dname != name) + or (durl and durl != 'https://pub.dartlang.org') + or (dsource and dsource not in ['hosted', 'sdk', ]) + ): + warn = True + + if warn: + warnings.warn( + f'Dart pubspec.locks with unsupported external repo ' + f'description or source: {details}', + stacklevel=1, + ) + + dep = build_dep( + name, + version, + scope=scope, + is_runtime=is_runtime, + is_optional=False, + ) + yield dep + + +def collect_deps(data, dependency_field_name, is_runtime=True, is_optional=False): + """ + Yield DependentPackage found in the ``dependency_field_name`` of ``data``. + Use is_runtime and is_optional in created DependentPackage. + + The shape of the data is: + dependencies: + path: 1.7.0 + meta: ^1.2.4 + yaml: ^3.1.0 + + environment: + sdk: '>=2.12.0 <3.0.0' + """ + # TODO: these can be more complex for SDKs + # https://dart.dev/tools/pub/dependencies#dependency-sources + dependencies = data.get(dependency_field_name) or {} + for name, version in dependencies.items(): + dep = build_dep( + name, + version, + scope=dependency_field_name, + is_runtime=is_runtime, + is_optional=is_optional, + ) + yield dep + + +def build_dep(name, version, scope, is_runtime=True, is_optional=False): + """ + Return DependentPackage from the provided data. + """ + + # TODO: these can be more complex for SDKs + # https://dart.dev/tools/pub/dependencies#dependency-sources + + if isinstance(version, dict) and 'sdk' in version: + # {'sdk': 'flutter'} type of deps.... + # which is a wart that we keep as a requiremnet + version = ', '.join(': '.join([k, str(v)]) for k, v in version.items()) + + if version.replace('.', '').isdigit(): + # version is pinned exactly if it is only made of dots and digits + purl = PackageURL(type='pubspec', name=name, version=version) + is_resolved = True + else: + purl = PackageURL(type='pubspec', name=name) + is_resolved = False + + dep = models.DependentPackage( + purl=purl.to_string(), + requirement=version, + scope=scope, + is_runtime=is_runtime, + is_optional=is_optional, + is_resolved=is_resolved, + ) + return dep + + +def build_package(pubspec_data): + """ + Return a package object from a package data mapping or None + """ + name = pubspec_data.get('name') + version = pubspec_data.get('version') + description = pubspec_data.get('description') + homepage_url = pubspec_data.get('homepage') + declared_license = pubspec_data.get('license') + vcs_url = pubspec_data.get('repository') + download_url = pubspec_data.get('archive_url') + + # Author and authors are deprecated + authors = [] + author = pubspec_data.get('author') + if author: + authors.append(author) + authors.extend(pubspec_data.get('authors') or []) + + parties = [] + for auth in authors: + parties.append(models.Party( + type=models.party_person, + role='author', + name=auth + )) + + package_dependencies = [] + dependencies = collect_deps( + pubspec_data, + 'dependencies', + is_runtime=True, + is_optional=False, + ) + package_dependencies.extend(dependencies) + + dev_dependencies = collect_deps( + pubspec_data, + 'dev_dependencies', + is_runtime=False, + is_optional=True, + ) + package_dependencies.extend(dev_dependencies) + + env_dependencies = collect_deps( + pubspec_data, + 'environment', + is_runtime=True, + is_optional=False, + ) + package_dependencies.extend(env_dependencies) + + extra_data = {} + + def add_to_extra_if_present(_key): + _value = pubspec_data.get(_key) + if _value: + extra_data[_key] = _value + + add_to_extra_if_present('issue_tracker') + add_to_extra_if_present('documentation') + add_to_extra_if_present('dependencies_overrides') + add_to_extra_if_present('executables') + add_to_extra_if_present('publish_to') + + package = PubspecPackage( + name=name, + version=version, + vcs_url=vcs_url, + description=description, + declared_license=declared_license, + parties=parties, + homepage_url=homepage_url, + dependencies=package_dependencies, + extra_data=extra_data, + ) + + if not download_url: + package.download_url = package.repository_download_url() + + return package + diff --git a/src/packagedcode/rpm_installed.py b/src/packagedcode/rpm_installed.py index 460d5091a0d..b0bc8c5c0f1 100644 --- a/src/packagedcode/rpm_installed.py +++ b/src/packagedcode/rpm_installed.py @@ -151,7 +151,7 @@ def build_package(rpm_tags): converted.update(handled) # construct the package: we ignore unknown as we added a few technical fields - package = RpmPackage.create(ignore_unknown=True, **converted) + package = RpmPackage.create(**converted) return package ################################################################################ diff --git a/src/packagedcode/utils.py b/src/packagedcode/utils.py index e0b84236ee2..b1276961f2e 100644 --- a/src/packagedcode/utils.py +++ b/src/packagedcode/utils.py @@ -129,8 +129,8 @@ def build_description(summary, description): def combine_expressions(expressions, relation='AND', unique=True, licensing=Licensing()): """ - Return a combined license expression string with relation, given a list of - license expressions strings. + Return a combined license expression string with relation, given a sequence of + license ``expressions`` strings or LicenseExpression objects. For example:: @@ -155,13 +155,15 @@ def combine_expressions(expressions, relation='AND', unique=True, licensing=Lice if not expressions: return + if not relation and relation.upper() not in ('AND', 'OR',): + raise TypeError(f'relation should be one of AND, OR and not: {relation}') + if not isinstance(expressions, (list, tuple)): - raise TypeError( - 'expressions should be a list or tuple and not: {}'.format( - type(expressions))) + raise TypeError(f'expressions should be a sequence, not: {type(expressions)}') if unique: # Remove duplicate element in the expressions list + # and preserve original order expressions = list(dict((x, True) for x in expressions).keys()) if len(expressions) == 1: @@ -170,6 +172,5 @@ def combine_expressions(expressions, relation='AND', unique=True, licensing=Lice expressions = [licensing.parse(le, simple=True) for le in expressions] # licensing.OR or licensing.AND - assert relation and relation.upper() in ('AND', 'OR',) - relationship = getattr(licensing, relation) - return str(relationship(*expressions)) + combiner = getattr(licensing, relation) + return str(combiner(*expressions)) diff --git a/src/packagedcode/win_pe.py b/src/packagedcode/win_pe.py index 1568c5a4122..c828248ea88 100644 --- a/src/packagedcode/win_pe.py +++ b/src/packagedcode/win_pe.py @@ -224,7 +224,24 @@ def pe_info(location): @attr.s() class WindowsExecutable(models.Package): metafiles = () - extensions = ('.exe', '.dll',) + extensions = ( + '.exe', + '.dll', + '.mui', + '.mun', + '.com', + '.winmd', + '.sys', + '.tlb', + '.exe_*', + '.dll_*', + '.mui_*', + '.mun_*', + '.com_*', + '.winmd_*', + '.sys_*', + '.tlb_*', + ) filetypes = ('pe32', 'for ms windows',) mimetypes = ('application/x-dosexec',) @@ -276,10 +293,10 @@ def parse(location): infos = pe_info(location) version = get_first( - infos, - 'Full Version', - 'ProductVersion', - 'FileVersion', + infos, + 'Full Version', + 'ProductVersion', + 'FileVersion', 'Assembly Version', ) release_date = get_first(infos, 'BuildDate') @@ -289,9 +306,9 @@ def parse(location): release_date = release_date.replace('/', '-') name = get_first( - infos, - 'ProductName', - 'OriginalFilename', + infos, + 'ProductName', + 'OriginalFilename', 'InternalName', ) copyr = get_first(infos, 'LegalCopyright') diff --git a/src/packagedcode/win_reg.py b/src/packagedcode/win_reg.py new file mode 100644 index 00000000000..9030d6e83d8 --- /dev/null +++ b/src/packagedcode/win_reg.py @@ -0,0 +1,367 @@ +# +# Copyright (c) nexB Inc. and others. All rights reserved. +# ScanCode is a trademark of nexB Inc. +# SPDX-License-Identifier: Apache-2.0 +# See http://www.apache.org/licenses/LICENSE-2.0 for the license text. +# See https://github.com/nexB/scancode-toolkit for support or download. +# See https://aboutcode.org for more information about nexB OSS projects. +# + +import os +from pathlib import Path +from pathlib import PureWindowsPath + +import attr +try: + from regipy.exceptions import NoRegistrySubkeysException + from regipy.exceptions import RegistryKeyNotFoundException + from regipy.registry import RegistryHive +except ImportError: + pass + +from packagedcode import models + + +# Tracing flags +TRACE = False + + +def logger_debug(*args): + pass + + +if TRACE: + import sys + import logging + + logger = logging.getLogger(__name__) + logging.basicConfig(stream=sys.stdout) + logger.setLevel(logging.DEBUG) + + def logger_debug(*args): + return logger.debug(' '.join(isinstance(a, str) + and a or repr(a) for a in args)) + + +# TODO: Find "boilerplate" files, what are the things that we do not care about, e.g. thumbs.db +# TODO: check for chocolatey +# TODO: Windows appstore + +def get_registry_name_key_entry(registry_hive, registry_path): + """ + Given a RegistryHive `registry_hive`, return the name key entry for + `registry_path` from `registry_hive` + + Return if the registry path cannot be found. + """ + try: + name_key_entry = registry_hive.get_key(registry_path) + except (RegistryKeyNotFoundException, NoRegistrySubkeysException) as ex: + if TRACE: + logger_debug('Did not find the key: {}'.format(ex)) + return + return name_key_entry + + +def get_registry_tree(registry_location, registry_path): + """ + Return a list of dictionaries of Window registry entries found under a given + registry path + """ + registry_hive = RegistryHive(registry_location) + name_key_entry = get_registry_name_key_entry( + registry_hive=registry_hive, + registry_path=registry_path + ) + if not name_key_entry: + return [] + return [attr.asdict(entry) for entry in registry_hive.recurse_subkeys(name_key_entry, as_json=True)] + + +def report_installed_dotnet_versions(location, registry_path='\\Microsoft\\NET Framework Setup\\NDP'): + """ + Yield the installed versions of .NET framework from `location`. The logic to + retrieve installed .NET version has been outlined here: + https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed + """ + registry_tree = get_registry_tree(location, registry_path) + return _report_installed_dotnet_versions(registry_tree) + + +def _report_installed_dotnet_versions(registry_tree): + if not registry_tree: + return + + for entry in registry_tree: + # The .NET version can be found in the path whose last segment ends with + # `Full` + if not entry.get('path', '').endswith('\\Full'): + continue + + dotnet_info = {} + for dotnet_info_value in entry.get('values', []): + dotnet_info_value_name = dotnet_info_value.get('name') + dotnet_info_value_value = dotnet_info_value.get('value') + if dotnet_info_value_name == 'Version': + dotnet_info['version'] = dotnet_info_value_value + if dotnet_info_value_name == 'InstallPath': + dotnet_info['InstallPath'] = dotnet_info_value_value + + version = dotnet_info.get('version') + if not version: + continue + + install_path = dotnet_info.get('InstallPath') + extra_data = {} + if install_path: + extra_data['install_location'] = install_path + + # Yield package + yield InstalledWindowsProgram( + name='Microsoft .NET Framework', + version=version, + extra_data=extra_data, + ) + + +def report_installed_programs(location, registry_path='\\Microsoft\\Windows\\CurrentVersion\\Uninstall'): + """ + Yield installed Windows packages from a Windows registry file at `location`. + This is done by looking at the entries of the uninstallable programs list. + + If `registry_path` is provided, then we will load Registry entries starting + from `registry_path` + """ + registry_tree = get_registry_tree(location, registry_path) + return _report_installed_programs(registry_tree) + + +def _report_installed_programs(registry_tree): + if not registry_tree: + return + + # Collect Package information and create Package if we have a valid Package name + for entry in registry_tree: + package_info = {} + for entry_value in entry.get('values', []): + name = entry_value.get('name') + value = entry_value.get('value') + + if name == 'DisplayName': + package_info['name'] = value + if name == 'DisplayVersion': + package_info['version'] = value + if name == 'InstallLocation': + package_info['install_location'] = value + if name == 'Publisher': + package_info['publisher'] = value + if name == 'URLInfoAbout': + package_info['homepage_url'] = value + if name == 'DisplayIcon': + package_info['DisplayIcon'] = value + if name == 'UninstallString': + package_info['UninstallString'] = value + + name = package_info.get('name') + if not name: + continue + + version = package_info.get('version') + homepage_url = package_info.get('homepage_url') + install_location = package_info.get('install_location') + publisher = package_info.get('publisher') + display_icon = package_info.get('DisplayIcon') + uninstall_string = package_info.get('UninstallString') + + parties = [] + if publisher: + parties.append( + models.Party( + type=models.party_org, + role='publisher', + name=publisher + ) + ) + + known_program_files = [] + if display_icon: + known_program_files.append(display_icon) + if uninstall_string: + known_program_files.append(uninstall_string) + + extra_data = {} + if install_location: + extra_data['install_location'] = install_location + if known_program_files: + extra_data['known_program_files'] = known_program_files + + yield InstalledWindowsProgram( + name=name, + version=version, + parties=parties, + homepage_url=homepage_url, + extra_data=extra_data + ) + + +def reg_parse(location): + """ + Yield InstalledWindowsPrograms from `location` using + `report_installed_programs` and `report_installed_dotnet_versions` + """ + for installed_program in report_installed_programs(location): + yield installed_program + for installed_program in report_installed_programs( + location, + registry_path='\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall' + ): + yield installed_program + for installed_dotnet in report_installed_dotnet_versions(location): + yield installed_dotnet + + +def get_installed_packages(root_dir, is_container=True): + """ + Yield InstalledWindowsProgram objects for every detected installed program + from Windows registry files in known locations + """ + # These paths are relative to a Windows docker image layer root directory + if is_container: + hives_software_delta_loc = os.path.join(root_dir, 'Hives', 'Software_Delta') + files_software_loc = os.path.join( + root_dir, + 'Files', + 'Windows', + 'System32', + 'config', + 'SOFTWARE' + ) + utilityvm_software_loc = os.path.join( + root_dir, + 'UtilityVM', + 'Files', + 'Windows', + 'System32', + 'config', + 'SOFTWARE' + ) + root_prefixes_by_software_registry_locations = { + hives_software_delta_loc: 'Files', + files_software_loc: 'Files', + utilityvm_software_loc: os.path.join('UtilityVM', 'Files') + } + else: + # TODO: Add support for virtual machines + raise Exception('Unsuported file system type') + + for software_registry_loc, root_prefix in root_prefixes_by_software_registry_locations.items(): + if not os.path.exists(software_registry_loc): + continue + for package in reg_parse(software_registry_loc): + package.populate_installed_files(root_dir, root_prefix=root_prefix) + yield package + + +def remove_drive_letter(path): + """ + Given a Windows path string, remove the leading drive letter and return the + path string as a POSIX-styled path. + """ + # Remove leading drive letter ("C:\\") + path = PureWindowsPath(path) + path_no_drive_letter = path.relative_to(*path.parts[:1]) + # POSIX-ize the path + posixed_path = path_no_drive_letter.as_posix() + return posixed_path + + +def create_absolute_installed_file_path(root_dir, file_path): + """ + Return an absolute path to `file_path` given the root directory path at + `root_dir` + """ + file_path = remove_drive_letter(file_path) + # Append the install location to the path string `root_dir` + return str(Path(root_dir).joinpath(file_path)) + + +def create_relative_file_path(file_path, root_dir, root_prefix=''): + """ + Return a subpath of `file_path` that is relative to `root_dir` + + >>> file_path = '/home/test/example/foo.txt' + >>> root_dir = '/home/test/' + >>> create_relative_file_path(file_path, root_dir) + 'example/foo.txt' + + If there is a `root_prefix`, then it is prepended to the resulting + relative file path. + + >>> file_path = '/home/test/example/foo.txt' + >>> root_dir = '/home/test/' + >>> create_relative_file_path(file_path, root_dir, 'prefix') + 'prefix/example/foo.txt' + """ + relative_file_path = str(Path(file_path).relative_to(root_dir)) + if root_prefix: + return os.path.join(root_prefix, relative_file_path) + return relative_file_path + + +@attr.s() +class InstalledWindowsProgram(models.Package): + default_type = 'windows-program' + + @classmethod + def recognize(cls, location): + for installed in reg_parse(location): + yield installed + + def populate_installed_files(self, root_dir, root_prefix=''): + install_location = self.extra_data.get('install_location') + if not install_location: + return + + if root_prefix: + # The rootfs location of a Docker image layer can be in a + # subdirectory of the layer directory (where `root_dir` is the path + # to the layer directory), so we append `root_prefix` (where prefix + # is relative to the file paths within the Docker image layer's + # rootfs files) to `root_dir` + root_dir = os.path.join(root_dir, root_prefix) + + absolute_install_location = create_absolute_installed_file_path( + root_dir=root_dir, + file_path=install_location + ) + if not os.path.exists(absolute_install_location): + return + + installed_files = [] + for root, _, files in os.walk(absolute_install_location): + for file in files: + installed_file_location = os.path.join(root, file) + relative_installed_file_path = create_relative_file_path( + file_path=installed_file_location, + root_dir=root_dir, + root_prefix=root_prefix + ) + installed_files.append(relative_installed_file_path) + + known_program_files = self.extra_data.get('known_program_files', []) + for known_program_file_path in known_program_files: + known_program_file_location = create_absolute_installed_file_path( + root_dir=root_dir, + file_path=known_program_file_path, + ) + relative_known_file_path = create_relative_file_path( + file_path=known_program_file_location, + root_dir=root_dir, + root_prefix=root_prefix + ) + if (not os.path.exists(known_program_file_location) + or relative_known_file_path in installed_files): + continue + installed_files.append(relative_known_file_path) + + self.installed_files = [models.PackageFile(path=path) for path in sorted(installed_files)] diff --git a/src/packagedcode/windows.py b/src/packagedcode/windows.py new file mode 100644 index 00000000000..1aaa76b1079 --- /dev/null +++ b/src/packagedcode/windows.py @@ -0,0 +1,99 @@ +# +# Copyright (c) nexB Inc. and others. All rights reserved. +# ScanCode is a trademark of nexB Inc. +# SPDX-License-Identifier: Apache-2.0 +# See http://www.apache.org/licenses/LICENSE-2.0 for the license text. +# See https://github.com/nexB/scancode-toolkit for support or download. +# See https://aboutcode.org for more information about nexB OSS projects. +# + +import attr +import xmltodict + +from packagedcode import models + + +# Tracing flags +TRACE = False + + +def logger_debug(*args): + pass + + +if TRACE: + import logging + import sys + logger = logging.getLogger(__name__) + # logging.basicConfig(level=logging.DEBUG, stream=sys.stdout) + logging.basicConfig(stream=sys.stdout) + logger.setLevel(logging.DEBUG) + + def logger_debug(*args): + return logger.debug(' '.join(isinstance(a, str) and a or repr(a) for a in args)) + + +@attr.s() +class MicrosoftUpdateManifestPackage(models.Package): + extensions = ('.mum',) + filetypes = ('xml 1.0 document',) + mimetypes = ('text/xml',) + + default_type = 'windows-update' + + @classmethod + def recognize(cls, location): + yield parse(location) + + +def parse_mum(location): + """ + Return a dictionary of Microsoft Update Manifest (mum) metadata from a .mum + file at `location`. Return None if this is not a parsable mum file. Raise + Exceptions on errors. + """ + if not location.endswith('.mum'): + return + with open(location , 'rb') as loc: + return xmltodict.parse(loc) + + +def parse(location): + """ + Return a MicrosoftUpdateManifestPackage from a .mum XML file at `location`. + Return None if this is not a parsable .mum file. + """ + parsed = parse_mum(location) + if TRACE: + logger_debug('parsed:', parsed) + if not parsed: + return + + assembly = parsed.get('assembly', {}) + description = assembly.get('@description', '') + company = assembly.get('@company', '') + copyright = assembly.get('@copyright', '') + support_url = assembly.get('@supportInformation', '') + + assembly_identity = assembly.get('assemblyIdentity', {}) + name = assembly_identity.get('@name', '') + version = assembly_identity.get('@version', '') + + parties = [] + if company: + parties.append( + models.Party( + name=company, + type=models.party_org, + role='owner', + ) + ) + + return MicrosoftUpdateManifestPackage( + name=name, + version=version, + description=description, + homepage_url=support_url, + parties=parties, + copyright=copyright, + ) diff --git a/src/scancode/api.py b/src/scancode/api.py index bad37e1c843..8b08988e974 100644 --- a/src/scancode/api.py +++ b/src/scancode/api.py @@ -173,7 +173,8 @@ def get_licenses(location, min_score=0, detected_expressions = [] matches = idx.match( - location=location, min_score=min_score, deadline=deadline, **kwargs) + location=location, min_score=min_score, deadline=deadline, **kwargs + ) qspans = [] match = None @@ -238,6 +239,7 @@ def _licenses_data_from_match( result['short_name'] = lic.short_name result['category'] = lic.category result['is_exception'] = lic.is_exception + result['is_unknown'] = lic.is_unknown result['owner'] = lic.owner result['homepage_url'] = lic.homepage_url result['text_url'] = lic.text_urls[0] if lic.text_urls else '' @@ -264,11 +266,13 @@ def _licenses_data_from_match( matched_rule['identifier'] = match.rule.identifier matched_rule['license_expression'] = match.rule.license_expression matched_rule['licenses'] = match.rule.license_keys() + matched_rule['referenced_filenames'] = match.rule.referenced_filenames matched_rule['is_license_text'] = match.rule.is_license_text matched_rule['is_license_notice'] = match.rule.is_license_notice matched_rule['is_license_reference'] = match.rule.is_license_reference matched_rule['is_license_tag'] = match.rule.is_license_tag matched_rule['is_license_intro'] = match.rule.is_license_intro + matched_rule['has_unknown'] = match.rule.has_unknown matched_rule['matcher'] = match.matcher matched_rule['rule_length'] = match.rule.length matched_rule['matched_length'] = match.len() diff --git a/src/scancode/cli.py b/src/scancode/cli.py index c6fdd7e2b1f..c6916e0b5a8 100644 --- a/src/scancode/cli.py +++ b/src/scancode/cli.py @@ -326,6 +326,14 @@ def validate_depth(ctx, param, value): 'are stored. (By default temporary files are deleted when a scan is ' 'completed.)', help_group=cliutils.MISC_GROUP, sort_order=1000, cls=PluggableCommandLineOption) + +@click.option( + "--check-version/--no-check-version", + help="Whether to check for new versions. Defaults to true.", + default=True, + # not yet supported in Click 6.7 but added in PluggableCommandLineOption + hidden=True, + help_group=cliutils.MISC_GROUP, sort_order=1000, cls=PluggableCommandLineOption) def scancode( ctx, input, # NOQA @@ -343,6 +351,7 @@ def scancode( test_slow_mode, test_error_mode, keep_temp_files, + check_version, echo_func=echo_stderr, *args, **kwargs, @@ -454,10 +463,11 @@ def scancode( ) # check for updates - from scancode.outdated import check_scancode_version - outdated = check_scancode_version() - if not quiet and outdated: - echo_stderr(outdated, fg='yellow') + if check_version: + from scancode.outdated import check_scancode_version + outdated = check_scancode_version() + if not quiet and outdated: + echo_stderr(outdated, fg='yellow') except click.UsageError as e: # this will exit diff --git a/src/scancode/cli_test_utils.py b/src/scancode/cli_test_utils.py index f4a8ac99b2e..604cc468b4e 100644 --- a/src/scancode/cli_test_utils.py +++ b/src/scancode/cli_test_utils.py @@ -17,17 +17,18 @@ def run_scan_plain( - options, - cwd=None, - test_mode=True, - expected_rc=0, - env=None, + options, + cwd=None, + test_mode=True, + expected_rc=0, + env=None, retry=True, ): """ Run a scan as a plain subprocess. Return rc, stdout, stderr. """ - from commoncode.command import execute2 + + from commoncode.command import execute options = add_windows_extra_timeout(options) @@ -39,7 +40,7 @@ def run_scan_plain( scmd = u'scancode' scan_cmd = os.path.join(scancode_root_dir, scmd) - rc, stdout, stderr = execute2( + rc, stdout, stderr = execute( cmd_loc=scan_cmd, args=options, cwd=cwd, @@ -51,7 +52,7 @@ def run_scan_plain( time.sleep(1) if '--verbose' not in options: options.append('--verbose') - result = rc, stdout, stderr = execute2( + result = rc, stdout, stderr = execute( cmd_loc=scan_cmd, args=options, cwd=cwd, @@ -177,7 +178,8 @@ def check_json_scan( results from `results_file`. This is convenient for updating tests expectations. But use with caution. - if `remove_file_date` is True, the file.date attribute is removed. + If `remove_file_date` is True, the file.date attribute is removed. + If `ignore_headers` is True, the scan headers attribute is removed. """ results = load_json_result(result_file, remove_file_date) if regen: @@ -192,9 +194,8 @@ def check_json_scan( # NOTE we redump the JSON as a string for a more efficient display of the # failures comparison/diff - # TODO: remove sort, this should no longer be needed - expected = json.dumps(expected, indent=2, sort_keys=True, separators=(',', ': ')) - results = json.dumps(results, indent=2, sort_keys=True, separators=(',', ': ')) + expected = json.dumps(expected, indent=2, separators=(',', ': ')) + results = json.dumps(results, indent=2, separators=(',', ': ')) assert results == expected @@ -229,6 +230,22 @@ def load_json_result_from_string(string, remove_file_date=False): return scan_results +def cleanup_scan(scan_results, remove_file_date=False): + """ + Cleanup in place the ``scan_results`` mapping for dates, headers and + other variable data that break tests otherwise. + """ + # clean new headers attributes + streamline_headers(scan_results.get('headers', [])) + # clean file_level attributes + for scanned_file in scan_results['files']: + streamline_scanned_file(scanned_file, remove_file_date) + + # TODO: remove sort, this should no longer be needed + scan_results['files'].sort(key=lambda x: x['path']) + return scan_results + + def streamline_errors(errors): """ Modify the `errors` list in place to make it easier to test diff --git a/src/scancode_config.py b/src/scancode_config.py index 8047f48bf1e..e560e1e18f3 100644 --- a/src/scancode_config.py +++ b/src/scancode_config.py @@ -74,7 +74,7 @@ def _create_dir(location): # in case package is not installed or we do not have setutools/pkg_resources # on hand fall back to this version -__version__ = '21.6.2' +__version__ = '21.8.4' try: from pkg_resources import get_distribution, DistributionNotFound try: diff --git a/src/summarycode/copyright_summary.py b/src/summarycode/copyright_summary.py index cff4b51f0e1..3dbbe787fdc 100644 --- a/src/summarycode/copyright_summary.py +++ b/src/summarycode/copyright_summary.py @@ -20,7 +20,6 @@ from summarycode.utils import get_resource_summary from summarycode.utils import set_resource_summary - # Tracing flags TRACE = False TRACE_FP = False @@ -152,6 +151,7 @@ def fingerprint(self): self.key = fp + def summarize_copyrights(texts, _detector=CopyrightDetector()): """ Return a summarized list of mapping of {value:string, count:int} given a @@ -168,10 +168,16 @@ def summarize_copyrights(texts, _detector=CopyrightDetector()): summary_texts.append(text) else: # FIXME: redetect to strip year should not be needed!! - statements_without_years = _detector.detect([(1, text)], copyrights=True, - holders=False, authors=False, include_years=False) - - for _type, copyr, _start, _end in statements_without_years: + statements_without_years = _detector.detect( + [(1, text)], + copyrights=True, + holders=False, + authors=False, + include_years=False, + ) + + for detection in statements_without_years: + copyr = detection.value summary_texts.append(Text(copyr, copyr)) counter = summarize(summary_texts) if no_detection_counter: @@ -505,7 +511,7 @@ def filter_junk(texts): } # Remove everything except letters and numbers -_keep_only_chars = re.compile('[_\\W]+', re.UNICODE).sub # NOQA +_keep_only_chars = re.compile('[_\\W]+', re.UNICODE).sub # NOQA def keep_only_chars(s): diff --git a/src/summarycode/generated.py b/src/summarycode/generated.py index c7c2da8b18d..b544acae958 100644 --- a/src/summarycode/generated.py +++ b/src/summarycode/generated.py @@ -9,7 +9,6 @@ from itertools import islice - from commoncode.datautils import Boolean from commoncode.text import toascii from plugincode.scan import ScanPlugin @@ -19,7 +18,7 @@ import typecode.contenttype """ -Tag files as generated. +Tag files as generated code based on conspicuous strings. """ # Tracing flag @@ -77,7 +76,7 @@ def generated_scanner(location, **kwargs): return dict(is_generated=is_generated) -GENERATED_KEYWORDS = tuple(g.lower() for g in ( +GENERATED_KEYWORDS_LOWERED = tuple(g.lower() for g in ( 'generated by', 'auto-generated', 'automatically generated', @@ -157,25 +156,39 @@ def generated_scanner(location, **kwargs): 'function: static codebooks autogenerated by', # yarn lock - 'THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.', - 'This file has been automatically created by', - 'Please do not edit this file, all changes will be lost', + 'this is an autogenerated file. do not edit this file directly.', + 'this file has been automatically created by', + 'please do not edit this file, all changes will be lost', - # protoc - 'Generated by the protocol buffer compiler. DO NOT EDIT!', + # thrift + 'this is an automatically-generated file.', + 'it could get re-generated if the allow_idl_generation flag is on', -)) + # aws sdk ruby + 'warning about generated code', + 'this file is generated. see the contributing guide for more information', + 'this file is generated', + # seen in Go files: + 'code generated file. do not edit', + 'code generated by running "go generate". do not edit.' -max_lines = 150 + # protoc + 'generated by the protocol buffer compiler. do not edit!', + 'generated by the protocol buffer compiler.', +)) -def get_generated_code_hint(location, generated_keywords=GENERATED_KEYWORDS): +def get_generated_code_hint( + location, + max_lines=150, + generated_keywords=GENERATED_KEYWORDS_LOWERED +): """ Return a line of extracted text from a file if that file is likely generated source code. - for each of the the first few lines of a source code file + for each of the first few lines of a source code file if generated keywords are found in the line as lowercase yield the line text as a 'potentially_ generated' annotation """ @@ -184,9 +197,8 @@ def get_generated_code_hint(location, generated_keywords=GENERATED_KEYWORDS): return with open(location, 'rb') as filein: for line in islice(filein, max_lines): - text = toascii(line.strip()) - textl = text.lower() - if any(kw in textl for kw in generated_keywords): + text = toascii(line.strip()).lower() + if any(kw in text.lower() for kw in generated_keywords): # yield only the first 100 chars.. yield text[:100] diff --git a/src/textcode/strings2.py b/src/textcode/strings2.py index 79eb4f65e98..e7df9a737a2 100644 --- a/src/textcode/strings2.py +++ b/src/textcode/strings2.py @@ -72,7 +72,8 @@ def extract_unicode_strings(buf, n=3): def extract_strings(buf, n=3): """ - Yield unicode strings (ASCII and UTF-16-LE encoded ASCII) from a buf string of binary data. + Yield unicode strings (ASCII and UTF-16-LE encoded ASCII) from a buf string + of binary data. :param buf: A bytestring. :type buf: str diff --git a/tests/cluecode/data/authors/weird-copyright-author b/tests/cluecode/data/authors/weird-copyright-author new file mode 100644 index 00000000000..2139494de08 --- /dev/null +++ b/tests/cluecode/data/authors/weird-copyright-author @@ -0,0 +1,2 @@ +without prior written authorization +from The Open Group. diff --git a/tests/cluecode/data/authors/weird-copyright-author.yml b/tests/cluecode/data/authors/weird-copyright-author.yml new file mode 100644 index 00000000000..9840e37e154 --- /dev/null +++ b/tests/cluecode/data/authors/weird-copyright-author.yml @@ -0,0 +1,3 @@ +what: + - authors + - copyrights diff --git a/tests/cluecode/data/copyrights/ampasbsd-AMPASBSD.yml b/tests/cluecode/data/copyrights/ampasbsd-AMPASBSD.yml index ab757f548b3..f4ad9a8b09f 100644 --- a/tests/cluecode/data/copyrights/ampasbsd-AMPASBSD.yml +++ b/tests/cluecode/data/copyrights/ampasbsd-AMPASBSD.yml @@ -3,9 +3,9 @@ what: - holders - holders_summary copyrights: - - Copyright (c) 2006 Academy of Motion Picture Arts and Sciences 'A.M.P.A.S. + - Copyright (c) 2006 Academy of Motion Picture Arts and Sciences holders: - - Academy of Motion Picture Arts and Sciences 'A.M.P.A.S. + - Academy of Motion Picture Arts and Sciences holders_summary: - - value: Academy of Motion Picture Arts and Sciences 'A.M.P.A.S. + - value: Academy of Motion Picture Arts and Sciences count: 1 diff --git a/tests/cluecode/data/copyrights/author_young_c-c.c.yml b/tests/cluecode/data/copyrights/author_young_c-c.c.yml index e8b3f5b9a56..e7d4fec90ef 100644 --- a/tests/cluecode/data/copyrights/author_young_c-c.c.yml +++ b/tests/cluecode/data/copyrights/author_young_c-c.c.yml @@ -4,8 +4,12 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1997 Eric Young (eay@mincom.oz.au) + - holder is Tim Hudson (tjh@mincom.oz.au) holders: - Eric Young + - Tim Hudson holders_summary: - value: Eric Young count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/copyrights/brackets.txt.yml b/tests/cluecode/data/copyrights/brackets.txt.yml index ae7af30f6e4..d1e4648b283 100644 --- a/tests/cluecode/data/copyrights/brackets.txt.yml +++ b/tests/cluecode/data/copyrights/brackets.txt.yml @@ -8,3 +8,4 @@ holders: expected_failures: - copyrights - holders +notes: we only get Copyright (c) <2010-2012> as a detection for now. diff --git a/tests/cluecode/data/copyrights/eric_young_c-c.c.yml b/tests/cluecode/data/copyrights/eric_young_c-c.c.yml index e8b3f5b9a56..e7d4fec90ef 100644 --- a/tests/cluecode/data/copyrights/eric_young_c-c.c.yml +++ b/tests/cluecode/data/copyrights/eric_young_c-c.c.yml @@ -4,8 +4,12 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1997 Eric Young (eay@mincom.oz.au) + - holder is Tim Hudson (tjh@mincom.oz.au) holders: - Eric Young + - Tim Hudson holders_summary: - value: Eric Young count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/copyrights/essential_smoke-ibm_c.c b/tests/cluecode/data/copyrights/essential_smoke-ibm_c.c index 453963d4788..bb232113e52 100644 --- a/tests/cluecode/data/copyrights/essential_smoke-ibm_c.c +++ b/tests/cluecode/data/copyrights/essential_smoke-ibm_c.c @@ -7,6 +7,8 @@ Copyright IBM and others (c) 2008 Copyright Eclipse, IBM and others (c) 2008 + + might still need to be reported on an IBM project as it would not be exclusively an IBM copyright. When there are several copyright statements in the code, only the one that is about the company should be excluded. Some other issues include the variety of things: For instance we can find copyrights such as: diff --git a/tests/cluecode/data/copyrights/holders.txt b/tests/cluecode/data/copyrights/holders.txt new file mode 100644 index 00000000000..afc49d43fd5 --- /dev/null +++ b/tests/cluecode/data/copyrights/holders.txt @@ -0,0 +1,7 @@ + * lhash, DES, etc., code; not just the SSL code. The SSL documentation + * included with this distribution is covered by the same copyright terms + * except that the holder is Tim Hudson (tjh@mincom.oz.au). + + + +Copyright Holders Kevin Vandersloot Erik Johnsson diff --git a/tests/cluecode/data/copyrights/holders.txt.yml b/tests/cluecode/data/copyrights/holders.txt.yml new file mode 100644 index 00000000000..e64f5e056b0 --- /dev/null +++ b/tests/cluecode/data/copyrights/holders.txt.yml @@ -0,0 +1,9 @@ +what: + - copyrights + - holders +copyrights: + - holder is Tim Hudson (tjh@mincom.oz.au) + - Copyright Holders Kevin Vandersloot Erik Johnsson +holders: + - Tim Hudson + - Kevin Vandersloot Erik Johnsson diff --git a/tests/cluecode/data/copyrights/html_incorrect-detail_9_html.html.yml b/tests/cluecode/data/copyrights/html_incorrect-detail_9_html.html.yml index 673351ab2b4..76466c8619e 100644 --- a/tests/cluecode/data/copyrights/html_incorrect-detail_9_html.html.yml +++ b/tests/cluecode/data/copyrights/html_incorrect-detail_9_html.html.yml @@ -1,7 +1,5 @@ what: - copyrights copyrights: - - A12 Oe (c) 2004-2009 -expected_failures: - - copyrights -notes: this is a corner and rare case that fails for now. + - (c) 2004-2009 http://www.pudn.com/' color red' pudn.com +notes: this is a corner and rare case that's not perfectfor now. diff --git a/tests/cluecode/data/copyrights/multiple-lines-1565-2.txt b/tests/cluecode/data/copyrights/multiple-lines-1565-2.txt new file mode 100644 index 00000000000..f1c93b4ba0b --- /dev/null +++ b/tests/cluecode/data/copyrights/multiple-lines-1565-2.txt @@ -0,0 +1,3 @@ + Copyright 2013 jQuery Foundation and + +other contributors diff --git a/tests/cluecode/data/copyrights/multiple-lines-1565-2.txt.yml b/tests/cluecode/data/copyrights/multiple-lines-1565-2.txt.yml new file mode 100644 index 00000000000..c9bb903e7bb --- /dev/null +++ b/tests/cluecode/data/copyrights/multiple-lines-1565-2.txt.yml @@ -0,0 +1,7 @@ +what: + - copyrights + - holders +copyrights: + - Copyright 2013 jQuery Foundation and other contributors +holders: + - jQuery Foundation and other contributors diff --git a/tests/cluecode/data/copyrights/multiple-lines-1565.txt b/tests/cluecode/data/copyrights/multiple-lines-1565.txt new file mode 100644 index 00000000000..d15b186cb0e --- /dev/null +++ b/tests/cluecode/data/copyrights/multiple-lines-1565.txt @@ -0,0 +1,4 @@ + * COPYRIGHT (c) 1989-2014. + * + * On-Line Applications Research Corporation (OAR). + diff --git a/tests/cluecode/data/copyrights/multiple-lines-1565.txt.yml b/tests/cluecode/data/copyrights/multiple-lines-1565.txt.yml new file mode 100644 index 00000000000..f3fed42a825 --- /dev/null +++ b/tests/cluecode/data/copyrights/multiple-lines-1565.txt.yml @@ -0,0 +1,7 @@ +what: + - copyrights + - holders +copyrights: + - COPYRIGHT (c) 1989-2014. On-Line Applications Research Corporation +holders: + - On-Line Applications Research Corporation diff --git a/tests/cluecode/data/copyrights/no_holder_java-java.java.yml b/tests/cluecode/data/copyrights/no_holder_java-java.java.yml index 15a6d5ee9ba..f06c0e50ee7 100644 --- a/tests/cluecode/data/copyrights/no_holder_java-java.java.yml +++ b/tests/cluecode/data/copyrights/no_holder_java-java.java.yml @@ -3,4 +3,10 @@ what: - holders - holders_summary copyrights: - - Copyright (c) 2005 + - Copyright (c) 2005 Company +holders: + - Company +holders_summary: + - value: Company + count: 1 + diff --git a/tests/cluecode/data/copyrights/not-an-email-start.txt b/tests/cluecode/data/copyrights/not-an-email-start.txt new file mode 100644 index 00000000000..0dd2114927a --- /dev/null +++ b/tests/cluecode/data/copyrights/not-an-email-start.txt @@ -0,0 +1,2 @@ +copyright + diff --git a/tests/cluecode/data/copyrights/not-an-email-start.txt.yml b/tests/cluecode/data/copyrights/not-an-email-start.txt.yml new file mode 100644 index 00000000000..bc83e542838 --- /dev/null +++ b/tests/cluecode/data/copyrights/not-an-email-start.txt.yml @@ -0,0 +1,4 @@ +what: + - copyrights +copyrights: +notes: nothing to find here diff --git a/tests/cluecode/data/copyrights/notice_txt-NOTICE.txt.yml b/tests/cluecode/data/copyrights/notice_txt-NOTICE.txt.yml index 4f2f302891f..a0d29c601c6 100644 --- a/tests/cluecode/data/copyrights/notice_txt-NOTICE.txt.yml +++ b/tests/cluecode/data/copyrights/notice_txt-NOTICE.txt.yml @@ -7,7 +7,7 @@ copyrights: - Copyright (c) OSGi Alliance (2000, 2009) - Copyright (c) 2000-2005 INRIA, France Telecom - (c) 1999-2003 - - (c) 2001-2004 + - (c) 2001-2004 http://ws.apache.org/axis2 - Copyright (c) 2004, Didier Donsez - (c) 2001-2004 http://commons.apache.org/logging - (c) 1999-2003. http://xml.apache.org/dist/LICENSE.txt @@ -19,6 +19,7 @@ holders: - The Knopflerfish Project - OSGi Alliance - INRIA, France Telecom + - http://ws.apache.org/axis2 - Didier Donsez - http://commons.apache.org/logging - http://xml.apache.org/dist/LICENSE.txt @@ -38,6 +39,8 @@ holders_summary: count: 1 - value: http://commons.apache.org/logging count: 1 + - value: http://ws.apache.org/axis2 + count: 1 - value: http://xerces.apache.org count: 1 - value: http://xml.apache.org/dist/LICENSE.txt diff --git a/tests/cluecode/data/copyrights/openoffice_org_report_builder_bin.copyright.yml b/tests/cluecode/data/copyrights/openoffice_org_report_builder_bin.copyright.yml index 471e63c4d8a..12838b5ea8e 100644 --- a/tests/cluecode/data/copyrights/openoffice_org_report_builder_bin.copyright.yml +++ b/tests/cluecode/data/copyrights/openoffice_org_report_builder_bin.copyright.yml @@ -90,6 +90,7 @@ copyrights: - Copyright (c) 1998-2007 The OpenSSL Project - Copyright (c) 1998-2007 The OpenSSL Project - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) - Copyright (c) 2001, 2002, 2003, 2004 Python Software Foundation - Copyright (c) 2000 BeOpen.com - Copyright (c) 1995-2001 Corporation for National Research Initiatives @@ -124,6 +125,7 @@ copyrights: - Copyright (c) 1998-2007 The OpenSSL Project - Copyright (c) 1998-2007 The OpenSSL Project - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) - Copyright (c) 2001, 2002, 2003, 2004 Python Software Foundation - Copyright (c) 2000 BeOpen.com - Copyright (c) 1995-2001 Corporation for National Research Initiatives @@ -240,6 +242,7 @@ holders: - The OpenSSL Project - The OpenSSL Project - Eric Young + - Tim Hudson - Python Software Foundation - BeOpen.com - Corporation for National Research Initiatives @@ -274,6 +277,7 @@ holders: - The OpenSSL Project - The OpenSSL Project - Eric Young + - Tim Hudson - Python Software Foundation - BeOpen.com - Corporation for National Research Initiatives @@ -366,6 +370,8 @@ holders_summary: count: 2 - value: The Khronos Group Inc. count: 2 + - value: Tim Hudson + count: 2 - value: Tommi Komulainen count: 2 - value: University of Bristol diff --git a/tests/cluecode/data/copyrights/openssl-c.c.yml b/tests/cluecode/data/copyrights/openssl-c.c.yml index e8b3f5b9a56..e7d4fec90ef 100644 --- a/tests/cluecode/data/copyrights/openssl-c.c.yml +++ b/tests/cluecode/data/copyrights/openssl-c.c.yml @@ -4,8 +4,12 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1997 Eric Young (eay@mincom.oz.au) + - holder is Tim Hudson (tjh@mincom.oz.au) holders: - Eric Young + - Tim Hudson holders_summary: - value: Eric Young count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/copyrights/sarl.txt b/tests/cluecode/data/copyrights/sarl.txt new file mode 100644 index 00000000000..6a0cff90135 --- /dev/null +++ b/tests/cluecode/data/copyrights/sarl.txt @@ -0,0 +1,5 @@ +Copyright (C) 2010-2020 Oryx Embedded SARL. + + + +@copyright Copyright (c) 2010-2013 S.A.R.L Ether Création (http://www.ethercreation.com) diff --git a/tests/cluecode/data/copyrights/sarl.txt.yml b/tests/cluecode/data/copyrights/sarl.txt.yml new file mode 100644 index 00000000000..3bc014e63b9 --- /dev/null +++ b/tests/cluecode/data/copyrights/sarl.txt.yml @@ -0,0 +1,10 @@ +what: + - copyrights + - holders +copyrights: + - Copyright (c) 2010-2020 Oryx Embedded SARL. + - Copyright (c) 2010-2013 S.A.R.L Ether Creation (http://www.ethercreation.com) +holders: + - Oryx Embedded SARL. + - S.A.R.L Ether Creation + \ No newline at end of file diff --git a/tests/cluecode/data/copyrights/w3c.txt b/tests/cluecode/data/copyrights/w3c.txt new file mode 100644 index 00000000000..1aa174b1eb9 --- /dev/null +++ b/tests/cluecode/data/copyrights/w3c.txt @@ -0,0 +1 @@ +Copyright (c) World Wide Web Consortium \ No newline at end of file diff --git a/tests/cluecode/data/copyrights/w3c.txt.yml b/tests/cluecode/data/copyrights/w3c.txt.yml new file mode 100644 index 00000000000..1729ca43716 --- /dev/null +++ b/tests/cluecode/data/copyrights/w3c.txt.yml @@ -0,0 +1,8 @@ +what: + - copyrights + - holders +copyrights: + - Copyright (c) World Wide Web Consortium +holders: + - World Wide Web Consortium + \ No newline at end of file diff --git a/tests/cluecode/data/copyrights/w3c2.txt b/tests/cluecode/data/copyrights/w3c2.txt new file mode 100644 index 00000000000..bb68a99e100 --- /dev/null +++ b/tests/cluecode/data/copyrights/w3c2.txt @@ -0,0 +1 @@ +Copyright (c) World Wide Web \ No newline at end of file diff --git a/tests/cluecode/data/copyrights/w3c2.txt.yml b/tests/cluecode/data/copyrights/w3c2.txt.yml new file mode 100644 index 00000000000..ebd535aa230 --- /dev/null +++ b/tests/cluecode/data/copyrights/w3c2.txt.yml @@ -0,0 +1,8 @@ +what: + - copyrights + - holders +copyrights: + - Copyright (c) World Wide +holders: + - World Wide + diff --git a/tests/cluecode/data/copyrights_basic/essential_smoke-ibm_c.c b/tests/cluecode/data/copyrights_basic/essential_smoke-ibm_c.c index 453963d4788..bb232113e52 100644 --- a/tests/cluecode/data/copyrights_basic/essential_smoke-ibm_c.c +++ b/tests/cluecode/data/copyrights_basic/essential_smoke-ibm_c.c @@ -7,6 +7,8 @@ Copyright IBM and others (c) 2008 Copyright Eclipse, IBM and others (c) 2008 + + might still need to be reported on an IBM project as it would not be exclusively an IBM copyright. When there are several copyright statements in the code, only the one that is about the company should be excluded. Some other issues include the variety of things: For instance we can find copyrights such as: diff --git a/tests/cluecode/data/generated/copyright_17.txt.yml b/tests/cluecode/data/generated/copyright_17.txt.yml index c0ee2fa5c2b..923b3ef9bbe 100644 --- a/tests/cluecode/data/generated/copyright_17.txt.yml +++ b/tests/cluecode/data/generated/copyright_17.txt.yml @@ -3,8 +3,6 @@ what: - copyrights - authors copyrights: - - Copyright (c) All Rights Are Reserved. Chungjungwon . Iotacoffee.Com + - Copyright (c) Chungjungwon . Iotacoffee.Com holders: - Chungjungwon . Iotacoffee.Com -expected_failures: - - holders diff --git a/tests/cluecode/data/generated/copyright_23.txt.yml b/tests/cluecode/data/generated/copyright_23.txt.yml index 2500ea6c260..2368d67b201 100644 --- a/tests/cluecode/data/generated/copyright_23.txt.yml +++ b/tests/cluecode/data/generated/copyright_23.txt.yml @@ -3,8 +3,6 @@ what: - copyrights - authors copyrights: - - Iotacoffee.Com 2011 Copyright (c) All Rights Are Reserved + - Iotacoffee.Com 2011 Copyright (c) holders: - Iotacoffee.Com -expected_failures: - - holders diff --git a/tests/cluecode/data/holders/holder_young_c-c.c.yml b/tests/cluecode/data/holders/holder_young_c-c.c.yml index a38319daca7..8c4a0284064 100644 --- a/tests/cluecode/data/holders/holder_young_c-c.c.yml +++ b/tests/cluecode/data/holders/holder_young_c-c.c.yml @@ -3,6 +3,10 @@ what: - holders_summary holders: - Eric Young + - Tim Hudson holders_summary: - value: Eric Young count: 1 + - value: Tim Hudson + count: 1 + diff --git a/tests/cluecode/data/ics/chromium-chrome-browser-resources/about_credits.html.yml b/tests/cluecode/data/ics/chromium-chrome-browser-resources/about_credits.html.yml index d730c52536b..d4f63fde4f4 100644 --- a/tests/cluecode/data/ics/chromium-chrome-browser-resources/about_credits.html.yml +++ b/tests/cluecode/data/ics/chromium-chrome-browser-resources/about_credits.html.yml @@ -80,6 +80,7 @@ copyrights: - Copyright (c) 2008 The Khronos Group Inc. - Copyright (c) 1998-2008 The OpenSSL Project - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) - Copyright (c) 2009 The Chromium Authors - Copyright 2007 Google Inc. - Copyright (c) 2010 The Chromium Authors @@ -184,6 +185,7 @@ holders: - The Khronos Group Inc. - The OpenSSL Project - Eric Young + - Tim Hudson - The Chromium Authors - Google Inc. - The Chromium Authors @@ -350,6 +352,8 @@ holders_summary: count: 1 - value: Thomas Broyer, Charlie Bozeman and Daniel Veillard count: 1 + - value: Tim Hudson + count: 1 - value: University of Chicago count: 1 - value: Xiph.org Foundation diff --git a/tests/cluecode/data/ics/iptables-extensions/libxt_TEE.c.yml b/tests/cluecode/data/ics/iptables-extensions/libxt_TEE.c.yml index a904d8da867..0f05b509e03 100644 --- a/tests/cluecode/data/ics/iptables-extensions/libxt_TEE.c.yml +++ b/tests/cluecode/data/ics/iptables-extensions/libxt_TEE.c.yml @@ -12,3 +12,8 @@ holders_summary: - value: Sebastian Classen , Jan Engelhardt count: 1 +expected_failures: + - copyrights + - holders + - holders_summary + \ No newline at end of file diff --git a/tests/cluecode/data/ics/libvpx-examples-includes-PHP-Markdown-Extra-1.2.3/markdown.php.yml b/tests/cluecode/data/ics/libvpx-examples-includes-PHP-Markdown-Extra-1.2.3/markdown.php.yml index dd669c35ce8..752adf32491 100644 --- a/tests/cluecode/data/ics/libvpx-examples-includes-PHP-Markdown-Extra-1.2.3/markdown.php.yml +++ b/tests/cluecode/data/ics/libvpx-examples-includes-PHP-Markdown-Extra-1.2.3/markdown.php.yml @@ -18,3 +18,5 @@ holders_summary: - value: Michel Fortin count: 2 notes: we do not want a trailing http +expected_failures: + - copyrights diff --git a/tests/cluecode/data/ics/libvpx-examples-includes-PHP-SmartyPants-1.5.1e/smartypants.php.yml b/tests/cluecode/data/ics/libvpx-examples-includes-PHP-SmartyPants-1.5.1e/smartypants.php.yml index b261bda8007..8b927411507 100644 --- a/tests/cluecode/data/ics/libvpx-examples-includes-PHP-SmartyPants-1.5.1e/smartypants.php.yml +++ b/tests/cluecode/data/ics/libvpx-examples-includes-PHP-SmartyPants-1.5.1e/smartypants.php.yml @@ -17,3 +17,6 @@ holders_summary: count: 2 - value: Michel Fortin count: 2 +expected_failures: + - copyrights + \ No newline at end of file diff --git a/tests/cluecode/data/ics/openssl-apps/app_rand.c.yml b/tests/cluecode/data/ics/openssl-apps/app_rand.c.yml index c8b0331aa9c..fc3d8402214 100644 --- a/tests/cluecode/data/ics/openssl-apps/app_rand.c.yml +++ b/tests/cluecode/data/ics/openssl-apps/app_rand.c.yml @@ -4,12 +4,16 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) - Copyright (c) 1998-2000 The OpenSSL Project holders: - Eric Young + - Tim Hudson - The OpenSSL Project holders_summary: - value: Eric Young count: 1 - value: The OpenSSL Project count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-apps/apps.c.yml b/tests/cluecode/data/ics/openssl-apps/apps.c.yml index 5a35cc33574..8277dd8ef50 100644 --- a/tests/cluecode/data/ics/openssl-apps/apps.c.yml +++ b/tests/cluecode/data/ics/openssl-apps/apps.c.yml @@ -4,12 +4,16 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) - Copyright (c) 1998-2001 The OpenSSL Project holders: - Eric Young + - Tim Hudson - The OpenSSL Project holders_summary: - value: Eric Young count: 1 - value: The OpenSSL Project count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-apps/apps.h.yml b/tests/cluecode/data/ics/openssl-apps/apps.h.yml index 5a35cc33574..8277dd8ef50 100644 --- a/tests/cluecode/data/ics/openssl-apps/apps.h.yml +++ b/tests/cluecode/data/ics/openssl-apps/apps.h.yml @@ -4,12 +4,16 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) - Copyright (c) 1998-2001 The OpenSSL Project holders: - Eric Young + - Tim Hudson - The OpenSSL Project holders_summary: - value: Eric Young count: 1 - value: The OpenSSL Project count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-apps/asn1pars.c.yml b/tests/cluecode/data/ics/openssl-apps/asn1pars.c.yml index a067791ee80..b7f805459f1 100644 --- a/tests/cluecode/data/ics/openssl-apps/asn1pars.c.yml +++ b/tests/cluecode/data/ics/openssl-apps/asn1pars.c.yml @@ -4,8 +4,12 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) holders: - Eric Young + - Tim Hudson holders_summary: - value: Eric Young count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-apps/openssl.c.yml b/tests/cluecode/data/ics/openssl-apps/openssl.c.yml index 84429a2f5f7..f27a55db934 100644 --- a/tests/cluecode/data/ics/openssl-apps/openssl.c.yml +++ b/tests/cluecode/data/ics/openssl-apps/openssl.c.yml @@ -4,12 +4,16 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) - Copyright (c) 1998-2006 The OpenSSL Project holders: - Eric Young + - Tim Hudson - The OpenSSL Project holders_summary: - value: Eric Young count: 1 - value: The OpenSSL Project count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-apps/s_client.c.yml b/tests/cluecode/data/ics/openssl-apps/s_client.c.yml index 2bf18d299a6..8677231fa50 100644 --- a/tests/cluecode/data/ics/openssl-apps/s_client.c.yml +++ b/tests/cluecode/data/ics/openssl-apps/s_client.c.yml @@ -4,10 +4,12 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) - Copyright (c) 1998-2006 The OpenSSL Project - Copyright 2005 Nokia holders: - Eric Young + - Tim Hudson - The OpenSSL Project - Nokia holders_summary: @@ -17,3 +19,5 @@ holders_summary: count: 1 - value: The OpenSSL Project count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-apps/s_server.c.yml b/tests/cluecode/data/ics/openssl-apps/s_server.c.yml index b2a530865c3..14c91958354 100644 --- a/tests/cluecode/data/ics/openssl-apps/s_server.c.yml +++ b/tests/cluecode/data/ics/openssl-apps/s_server.c.yml @@ -4,11 +4,13 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) - Copyright (c) 1998-2006 The OpenSSL Project - Copyright 2002 Sun Microsystems, Inc. - Copyright 2005 Nokia holders: - Eric Young + - Tim Hudson - The OpenSSL Project - Sun Microsystems, Inc. - Nokia @@ -21,3 +23,5 @@ holders_summary: count: 1 - value: The OpenSSL Project count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-apps/speed.c.yml b/tests/cluecode/data/ics/openssl-apps/speed.c.yml index 3160629ebda..8dc5f14fb41 100644 --- a/tests/cluecode/data/ics/openssl-apps/speed.c.yml +++ b/tests/cluecode/data/ics/openssl-apps/speed.c.yml @@ -4,12 +4,16 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) - Copyright 2002 Sun Microsystems, Inc. holders: - Eric Young + - Tim Hudson - Sun Microsystems, Inc. holders_summary: - value: Eric Young count: 1 - value: Sun Microsystems, Inc. count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-crypto-asn1/a_sign.c.yml b/tests/cluecode/data/ics/openssl-crypto-asn1/a_sign.c.yml index 6ef4a6efd5f..188c3fda568 100644 --- a/tests/cluecode/data/ics/openssl-crypto-asn1/a_sign.c.yml +++ b/tests/cluecode/data/ics/openssl-crypto-asn1/a_sign.c.yml @@ -4,12 +4,16 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) - Copyright (c) 1998-2003 The OpenSSL Project holders: - Eric Young + - Tim Hudson - The OpenSSL Project holders_summary: - value: Eric Young count: 1 - value: The OpenSSL Project count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-crypto-bf/bf_locl.h.yml b/tests/cluecode/data/ics/openssl-crypto-bf/bf_locl.h.yml index c82d30134fa..c04caad3d82 100644 --- a/tests/cluecode/data/ics/openssl-crypto-bf/bf_locl.h.yml +++ b/tests/cluecode/data/ics/openssl-crypto-bf/bf_locl.h.yml @@ -4,8 +4,12 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1997 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) holders: - Eric Young + - Tim Hudson holders_summary: - value: Eric Young count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-crypto-bio/b_print.c.yml b/tests/cluecode/data/ics/openssl-crypto-bio/b_print.c.yml index f2252445b16..c22ce8f9f22 100644 --- a/tests/cluecode/data/ics/openssl-crypto-bio/b_print.c.yml +++ b/tests/cluecode/data/ics/openssl-crypto-bio/b_print.c.yml @@ -4,12 +4,16 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) - Copyright Patrick Powell 1995 holders: - Eric Young + - Tim Hudson - Patrick Powell holders_summary: - value: Eric Young count: 1 - value: Patrick Powell count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-crypto-bn/bn.h.yml b/tests/cluecode/data/ics/openssl-crypto-bn/bn.h.yml index ec8cd2aece7..6fbd7aaef13 100644 --- a/tests/cluecode/data/ics/openssl-crypto-bn/bn.h.yml +++ b/tests/cluecode/data/ics/openssl-crypto-bn/bn.h.yml @@ -4,10 +4,12 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1997 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) - Copyright (c) 1998-2006 The OpenSSL Project - Copyright 2002 Sun Microsystems, Inc. holders: - Eric Young + - Tim Hudson - The OpenSSL Project - Sun Microsystems, Inc. holders_summary: @@ -17,3 +19,5 @@ holders_summary: count: 1 - value: The OpenSSL Project count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-crypto-bn/bn_blind.c.yml b/tests/cluecode/data/ics/openssl-crypto-bn/bn_blind.c.yml index 0491c3cf1c5..97e5168f6db 100644 --- a/tests/cluecode/data/ics/openssl-crypto-bn/bn_blind.c.yml +++ b/tests/cluecode/data/ics/openssl-crypto-bn/bn_blind.c.yml @@ -5,11 +5,15 @@ what: copyrights: - Copyright (c) 1998-2006 The OpenSSL Project - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) holders: - The OpenSSL Project - Eric Young + - Tim Hudson holders_summary: - value: Eric Young count: 1 - value: The OpenSSL Project count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-crypto-bn/bn_exp.c.yml b/tests/cluecode/data/ics/openssl-crypto-bn/bn_exp.c.yml index cde667adef9..f92e170af7f 100644 --- a/tests/cluecode/data/ics/openssl-crypto-bn/bn_exp.c.yml +++ b/tests/cluecode/data/ics/openssl-crypto-bn/bn_exp.c.yml @@ -4,12 +4,16 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) - Copyright (c) 1998-2005 The OpenSSL Project holders: - Eric Young + - Tim Hudson - The OpenSSL Project holders_summary: - value: Eric Young count: 1 - value: The OpenSSL Project count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-crypto-bn/bn_lcl.h.yml b/tests/cluecode/data/ics/openssl-crypto-bn/bn_lcl.h.yml index c8b0331aa9c..fc3d8402214 100644 --- a/tests/cluecode/data/ics/openssl-crypto-bn/bn_lcl.h.yml +++ b/tests/cluecode/data/ics/openssl-crypto-bn/bn_lcl.h.yml @@ -4,12 +4,16 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) - Copyright (c) 1998-2000 The OpenSSL Project holders: - Eric Young + - Tim Hudson - The OpenSSL Project holders_summary: - value: Eric Young count: 1 - value: The OpenSSL Project count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-crypto-bn/bn_mod.c.yml b/tests/cluecode/data/ics/openssl-crypto-bn/bn_mod.c.yml index c6342c83238..57e5e9e65f1 100644 --- a/tests/cluecode/data/ics/openssl-crypto-bn/bn_mod.c.yml +++ b/tests/cluecode/data/ics/openssl-crypto-bn/bn_mod.c.yml @@ -5,11 +5,15 @@ what: copyrights: - Copyright (c) 1998-2000 The OpenSSL Project - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) holders: - The OpenSSL Project - Eric Young + - Tim Hudson holders_summary: - value: Eric Young count: 1 - value: The OpenSSL Project count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-crypto-des/read2pwd.c.yml b/tests/cluecode/data/ics/openssl-crypto-des/read2pwd.c.yml index 9b0cc43ab33..5cce1118314 100644 --- a/tests/cluecode/data/ics/openssl-crypto-des/read2pwd.c.yml +++ b/tests/cluecode/data/ics/openssl-crypto-des/read2pwd.c.yml @@ -5,11 +5,15 @@ what: copyrights: - Copyright (c) 2001-2002 The OpenSSL Project - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) holders: - The OpenSSL Project - Eric Young + - Tim Hudson holders_summary: - value: Eric Young count: 1 - value: The OpenSSL Project count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-crypto-des/rpc_des.h.yml b/tests/cluecode/data/ics/openssl-crypto-des/rpc_des.h.yml index 8520fb20a73..6eaea1dc572 100644 --- a/tests/cluecode/data/ics/openssl-crypto-des/rpc_des.h.yml +++ b/tests/cluecode/data/ics/openssl-crypto-des/rpc_des.h.yml @@ -4,12 +4,16 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) - Copyright (c) 1986 by Sun Microsystems, Inc. holders: - Eric Young + - Tim Hudson - Sun Microsystems, Inc. holders_summary: - value: Eric Young count: 1 - value: Sun Microsystems, Inc. count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-crypto-evp/m_ecdsa.c.yml b/tests/cluecode/data/ics/openssl-crypto-evp/m_ecdsa.c.yml index a721c5cb09e..dad0c02a47e 100644 --- a/tests/cluecode/data/ics/openssl-crypto-evp/m_ecdsa.c.yml +++ b/tests/cluecode/data/ics/openssl-crypto-evp/m_ecdsa.c.yml @@ -5,11 +5,15 @@ what: copyrights: - Copyright (c) 1998-2002 The OpenSSL Project - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) holders: - The OpenSSL Project - Eric Young + - Tim Hudson holders_summary: - value: Eric Young count: 1 - value: The OpenSSL Project count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-crypto-pem/pem_all.c.yml b/tests/cluecode/data/ics/openssl-crypto-pem/pem_all.c.yml index 10ad14698c4..04df6a1fbd5 100644 --- a/tests/cluecode/data/ics/openssl-crypto-pem/pem_all.c.yml +++ b/tests/cluecode/data/ics/openssl-crypto-pem/pem_all.c.yml @@ -4,12 +4,16 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) - Copyright (c) 1998-2002 The OpenSSL Project holders: - Eric Young + - Tim Hudson - The OpenSSL Project holders_summary: - value: Eric Young count: 1 - value: The OpenSSL Project count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-crypto-rand/rand_win.c.yml b/tests/cluecode/data/ics/openssl-crypto-rand/rand_win.c.yml index 1da71ed89df..c5ba591e286 100644 --- a/tests/cluecode/data/ics/openssl-crypto-rand/rand_win.c.yml +++ b/tests/cluecode/data/ics/openssl-crypto-rand/rand_win.c.yml @@ -4,10 +4,12 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) - Copyright (c) 1998-2000 The OpenSSL Project - (c) Copyright Microsoft Corp. 1993 holders: - Eric Young + - Tim Hudson - The OpenSSL Project - Microsoft Corp. holders_summary: @@ -17,3 +19,5 @@ holders_summary: count: 1 - value: The OpenSSL Project count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-crypto-ui/ui_openssl.c.yml b/tests/cluecode/data/ics/openssl-crypto-ui/ui_openssl.c.yml index a9e1fd90be8..0ca31041ee5 100644 --- a/tests/cluecode/data/ics/openssl-crypto-ui/ui_openssl.c.yml +++ b/tests/cluecode/data/ics/openssl-crypto-ui/ui_openssl.c.yml @@ -5,11 +5,15 @@ what: copyrights: - Copyright (c) 2001 The OpenSSL Project - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) holders: - The OpenSSL Project - Eric Young + - Tim Hudson holders_summary: - value: Eric Young count: 1 - value: The OpenSSL Project count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-crypto-x509/x509.h.yml b/tests/cluecode/data/ics/openssl-crypto-x509/x509.h.yml index 3160629ebda..8dc5f14fb41 100644 --- a/tests/cluecode/data/ics/openssl-crypto-x509/x509.h.yml +++ b/tests/cluecode/data/ics/openssl-crypto-x509/x509.h.yml @@ -4,12 +4,16 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) - Copyright 2002 Sun Microsystems, Inc. holders: - Eric Young + - Tim Hudson - Sun Microsystems, Inc. holders_summary: - value: Eric Young count: 1 - value: Sun Microsystems, Inc. count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-crypto/cryptlib.c.yml b/tests/cluecode/data/ics/openssl-crypto/cryptlib.c.yml index 1d2093c99d8..89a8120ffd3 100644 --- a/tests/cluecode/data/ics/openssl-crypto/cryptlib.c.yml +++ b/tests/cluecode/data/ics/openssl-crypto/cryptlib.c.yml @@ -5,10 +5,12 @@ what: copyrights: - Copyright (c) 1998-2006 The OpenSSL Project - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) - Copyright 2002 Sun Microsystems, Inc. holders: - The OpenSSL Project - Eric Young + - Tim Hudson - Sun Microsystems, Inc. holders_summary: - value: Eric Young @@ -17,3 +19,5 @@ holders_summary: count: 1 - value: The OpenSSL Project count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-include-openssl/ssl.h.yml b/tests/cluecode/data/ics/openssl-include-openssl/ssl.h.yml index 01e2a3c280f..32e068f4e2b 100644 --- a/tests/cluecode/data/ics/openssl-include-openssl/ssl.h.yml +++ b/tests/cluecode/data/ics/openssl-include-openssl/ssl.h.yml @@ -4,11 +4,13 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) - Copyright (c) 1998-2007 The OpenSSL Project - Copyright 2002 Sun Microsystems, Inc. - Copyright 2005 Nokia holders: - Eric Young + - Tim Hudson - The OpenSSL Project - Sun Microsystems, Inc. - Nokia @@ -21,3 +23,5 @@ holders_summary: count: 1 - value: The OpenSSL Project count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-include-openssl/ssl3.h.yml b/tests/cluecode/data/ics/openssl-include-openssl/ssl3.h.yml index cddc67e80f9..76eac7cf09f 100644 --- a/tests/cluecode/data/ics/openssl-include-openssl/ssl3.h.yml +++ b/tests/cluecode/data/ics/openssl-include-openssl/ssl3.h.yml @@ -4,10 +4,12 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) - Copyright (c) 1998-2002 The OpenSSL Project - Copyright 2002 Sun Microsystems, Inc. holders: - Eric Young + - Tim Hudson - The OpenSSL Project - Sun Microsystems, Inc. holders_summary: @@ -17,3 +19,5 @@ holders_summary: count: 1 - value: The OpenSSL Project count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-include-openssl/tls1.h.yml b/tests/cluecode/data/ics/openssl-include-openssl/tls1.h.yml index b2a530865c3..14c91958354 100644 --- a/tests/cluecode/data/ics/openssl-include-openssl/tls1.h.yml +++ b/tests/cluecode/data/ics/openssl-include-openssl/tls1.h.yml @@ -4,11 +4,13 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) - Copyright (c) 1998-2006 The OpenSSL Project - Copyright 2002 Sun Microsystems, Inc. - Copyright 2005 Nokia holders: - Eric Young + - Tim Hudson - The OpenSSL Project - Sun Microsystems, Inc. - Nokia @@ -21,3 +23,5 @@ holders_summary: count: 1 - value: The OpenSSL Project count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-ssl/d1_both.c.yml b/tests/cluecode/data/ics/openssl-ssl/d1_both.c.yml index 044e28b672d..575a93c7a43 100644 --- a/tests/cluecode/data/ics/openssl-ssl/d1_both.c.yml +++ b/tests/cluecode/data/ics/openssl-ssl/d1_both.c.yml @@ -5,11 +5,15 @@ what: copyrights: - Copyright (c) 1998-2005 The OpenSSL Project - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) holders: - The OpenSSL Project - Eric Young + - Tim Hudson holders_summary: - value: Eric Young count: 1 - value: The OpenSSL Project count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-ssl/d1_clnt.c.yml b/tests/cluecode/data/ics/openssl-ssl/d1_clnt.c.yml index 8409b85b3a3..2bc8442c3a0 100644 --- a/tests/cluecode/data/ics/openssl-ssl/d1_clnt.c.yml +++ b/tests/cluecode/data/ics/openssl-ssl/d1_clnt.c.yml @@ -5,11 +5,15 @@ what: copyrights: - Copyright (c) 1999-2007 The OpenSSL Project - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) holders: - The OpenSSL Project - Eric Young + - Tim Hudson holders_summary: - value: Eric Young count: 1 - value: The OpenSSL Project count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-ssl/s2_lib.c.yml b/tests/cluecode/data/ics/openssl-ssl/s2_lib.c.yml index b5f0605feff..ac81d058ee3 100644 --- a/tests/cluecode/data/ics/openssl-ssl/s2_lib.c.yml +++ b/tests/cluecode/data/ics/openssl-ssl/s2_lib.c.yml @@ -4,12 +4,16 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) - Copyright (c) 1998-2007 The OpenSSL Project holders: - Eric Young + - Tim Hudson - The OpenSSL Project holders_summary: - value: Eric Young count: 1 - value: The OpenSSL Project count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-ssl/s3_enc.c.yml b/tests/cluecode/data/ics/openssl-ssl/s3_enc.c.yml index 613a12636fc..39ba373d405 100644 --- a/tests/cluecode/data/ics/openssl-ssl/s3_enc.c.yml +++ b/tests/cluecode/data/ics/openssl-ssl/s3_enc.c.yml @@ -4,10 +4,12 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) - Copyright (c) 1998-2007 The OpenSSL Project - Copyright 2005 Nokia holders: - Eric Young + - Tim Hudson - The OpenSSL Project - Nokia holders_summary: @@ -17,3 +19,5 @@ holders_summary: count: 1 - value: The OpenSSL Project count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-ssl/s3_lib.c.yml b/tests/cluecode/data/ics/openssl-ssl/s3_lib.c.yml index 01e2a3c280f..32e068f4e2b 100644 --- a/tests/cluecode/data/ics/openssl-ssl/s3_lib.c.yml +++ b/tests/cluecode/data/ics/openssl-ssl/s3_lib.c.yml @@ -4,11 +4,13 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) - Copyright (c) 1998-2007 The OpenSSL Project - Copyright 2002 Sun Microsystems, Inc. - Copyright 2005 Nokia holders: - Eric Young + - Tim Hudson - The OpenSSL Project - Sun Microsystems, Inc. - Nokia @@ -21,3 +23,5 @@ holders_summary: count: 1 - value: The OpenSSL Project count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-ssl/ssl_asn1.c.yml b/tests/cluecode/data/ics/openssl-ssl/ssl_asn1.c.yml index f747af40033..ed9cecad040 100644 --- a/tests/cluecode/data/ics/openssl-ssl/ssl_asn1.c.yml +++ b/tests/cluecode/data/ics/openssl-ssl/ssl_asn1.c.yml @@ -4,12 +4,16 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) - Copyright 2005 Nokia holders: - Eric Young + - Tim Hudson - Nokia holders_summary: - value: Eric Young count: 1 - value: Nokia count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-ssl/ssl_cert.c.yml b/tests/cluecode/data/ics/openssl-ssl/ssl_cert.c.yml index dc45ea0e931..959ae535e06 100644 --- a/tests/cluecode/data/ics/openssl-ssl/ssl_cert.c.yml +++ b/tests/cluecode/data/ics/openssl-ssl/ssl_cert.c.yml @@ -4,10 +4,12 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) - Copyright (c) 1998-2007 The OpenSSL Project - Copyright 2002 Sun Microsystems, Inc. holders: - Eric Young + - Tim Hudson - The OpenSSL Project - Sun Microsystems, Inc. holders_summary: @@ -17,3 +19,5 @@ holders_summary: count: 1 - value: The OpenSSL Project count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-ssl/ssltest.c.yml b/tests/cluecode/data/ics/openssl-ssl/ssltest.c.yml index f1130af69ce..0aa9cf3d694 100644 --- a/tests/cluecode/data/ics/openssl-ssl/ssltest.c.yml +++ b/tests/cluecode/data/ics/openssl-ssl/ssltest.c.yml @@ -4,11 +4,13 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) - Copyright (c) 1998-2000 The OpenSSL Project - Copyright 2002 Sun Microsystems, Inc. - Copyright 2005 Nokia holders: - Eric Young + - Tim Hudson - The OpenSSL Project - Sun Microsystems, Inc. - Nokia @@ -21,3 +23,5 @@ holders_summary: count: 1 - value: The OpenSSL Project count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl-ssl/t1_reneg.c.yml b/tests/cluecode/data/ics/openssl-ssl/t1_reneg.c.yml index 5265d0ba4ab..79b257a4656 100644 --- a/tests/cluecode/data/ics/openssl-ssl/t1_reneg.c.yml +++ b/tests/cluecode/data/ics/openssl-ssl/t1_reneg.c.yml @@ -4,12 +4,16 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) - Copyright (c) 1998-2009 The OpenSSL Project holders: - Eric Young + - Tim Hudson - The OpenSSL Project holders_summary: - value: Eric Young count: 1 - value: The OpenSSL Project count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl/NOTICE.yml b/tests/cluecode/data/ics/openssl/NOTICE.yml index f32113eae12..1afa0c6d923 100644 --- a/tests/cluecode/data/ics/openssl/NOTICE.yml +++ b/tests/cluecode/data/ics/openssl/NOTICE.yml @@ -5,11 +5,15 @@ what: copyrights: - Copyright (c) 1998-2011 The OpenSSL Project - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) holders: - The OpenSSL Project - Eric Young + - Tim Hudson holders_summary: - value: Eric Young count: 1 - value: The OpenSSL Project count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/ics/openssl/e_os.h.yml b/tests/cluecode/data/ics/openssl/e_os.h.yml index a067791ee80..b7f805459f1 100644 --- a/tests/cluecode/data/ics/openssl/e_os.h.yml +++ b/tests/cluecode/data/ics/openssl/e_os.h.yml @@ -4,8 +4,12 @@ what: - holders_summary copyrights: - Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + - holder is Tim Hudson (tjh@cryptsoft.com) holders: - Eric Young + - Tim Hudson holders_summary: - value: Eric Young count: 1 + - value: Tim Hudson + count: 1 diff --git a/tests/cluecode/data/plugin_filter_clues/filtered-expected.json b/tests/cluecode/data/plugin_filter_clues/filtered-expected.json index debf58b416f..86e2886e862 100644 --- a/tests/cluecode/data/plugin_filter_clues/filtered-expected.json +++ b/tests/cluecode/data/plugin_filter_clues/filtered-expected.json @@ -48,6 +48,7 @@ "short_name": "Apache 1.1", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://apache.org/licenses/LICENSE-1.1", @@ -64,11 +65,13 @@ "licenses": [ "apache-1.1" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "3-seq", "rule_length": 367, "matched_length": 367, @@ -85,35 +88,35 @@ { "value": "Copyright (c) The Eclipse Foundation https://eclipse.org", "start_line": 2, - "end_line": 5 + "end_line": 3 }, { "value": "Copyright (c) The Eclipse Foundation https://eclipse.org", "start_line": 41, - "end_line": 44 + "end_line": 42 } ], "holders": [ { "value": "The Eclipse Foundation", "start_line": 2, - "end_line": 5 + "end_line": 2 }, { "value": "The Eclipse Foundation", "start_line": 41, - "end_line": 44 + "end_line": 41 } ], "authors": [ { "value": "John Doe", - "start_line": 2, + "start_line": 5, "end_line": 5 }, { "value": "John Doe", - "start_line": 41, + "start_line": 44, "end_line": 44 } ], diff --git a/tests/cluecode/data/plugin_filter_clues/filtered-expected2.json b/tests/cluecode/data/plugin_filter_clues/filtered-expected2.json index 5a65662021d..a9877e1d1b0 100644 --- a/tests/cluecode/data/plugin_filter_clues/filtered-expected2.json +++ b/tests/cluecode/data/plugin_filter_clues/filtered-expected2.json @@ -48,6 +48,7 @@ "short_name": "PyGres License 2.2", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "http://shell.vex.net/viewvc.cgi/pygresql/trunk/module/pgmodule.c?view=markup&pathrev=431", @@ -64,11 +65,13 @@ "licenses": [ "pygres-2.2" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 145, "matched_length": 145, @@ -97,12 +100,12 @@ { "value": "Pascal Andre", "start_line": 4, - "end_line": 5 + "end_line": 4 }, { "value": "D'Arcy John. Cain", "start_line": 24, - "end_line": 25 + "end_line": 24 } ], "authors": [], diff --git a/tests/cluecode/data/plugin_filter_clues/filtered-expected3.json b/tests/cluecode/data/plugin_filter_clues/filtered-expected3.json index bc4203307cb..5920dac9f40 100644 --- a/tests/cluecode/data/plugin_filter_clues/filtered-expected3.json +++ b/tests/cluecode/data/plugin_filter_clues/filtered-expected3.json @@ -48,6 +48,7 @@ "short_name": "PCRE License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "University of Cambridge", "homepage_url": "http://www.pcre.org/licence.txt", "text_url": "http://www.pcre.org/licence.txt", @@ -64,11 +65,13 @@ "licenses": [ "pcre" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "1-hash", "rule_length": 303, "matched_length": 303, diff --git a/tests/cluecode/test_copyrights_basic.py b/tests/cluecode/test_copyrights_basic.py index a0c3c7986e7..ab6f202d766 100644 --- a/tests/cluecode/test_copyrights_basic.py +++ b/tests/cluecode/test_copyrights_basic.py @@ -119,7 +119,7 @@ def test_candidate_lines_complex(self): ] result = list(copyrights_module.candidate_lines(enumerate(lines, 1))) - assert result == expected + assert result == expected def test_is_candidates_should_not_select_line_with_bare_full_year(self): line = '2012' @@ -250,16 +250,16 @@ class TestCopyrightLinesDetection(FileBasedTesting): def test_company_lines_name_in_java(self): test_file = self.get_test_loc('copyrights_basic/company_name_in_java-9_java.java') expected = [ - (u'Copyright (c) 2008-2011 Company Name Incorporated', 2, 3) + (u'Copyright (c) 2008-2011 Company Name Incorporated', 2, 2) ] check_detection_with_lines(expected, test_file) def test_copyright_lines_03e16f6c_0(self): test_file = self.get_test_loc('copyrights_basic/03e16f6c_0-e_f_c.0') expected = [ - (u'Copyright (c) 1997 Microsoft Corp.', 31, 37), - (u'Copyright (c) 1997 Microsoft Corp.', 31, 37), - (u'Copyright (c) 1997 Microsoft', 61, 63) + (u'Copyright (c) 1997 Microsoft Corp.', 31, 31), + (u'Copyright (c) 1997 Microsoft Corp.', 35, 35), + (u'Copyright (c) 1997 Microsoft', 61, 61) ] check_detection_with_lines(expected, test_file) @@ -268,16 +268,16 @@ def test_copyright_lines_3a3b02ce_0(self): # could be either Wisekey or OISTE Foundation. test_file = self.get_test_loc('copyrights_basic/3a3b02ce_0-a_b_ce.0') expected = [ - (u'Copyright (c) 2005, OU OISTE Foundation', 31, 37), - (u'Copyright (c) 2005, OU OISTE Foundation', 31, 37), + (u'Copyright (c) 2005, OU OISTE Foundation', 31, 31), + (u'Copyright (c) 2005, OU OISTE Foundation', 35, 35), ] check_detection_with_lines(expected, test_file) def test_copyright_lines_boost_vector(self): test_file = self.get_test_loc('copyrights_basic/vector50.hpp') expected = [ - (u'Copyright (c) 2005 Arkadiy Vertleyb', 2, 3), - (u'Copyright (c) 2005 Peder Holt', 2, 3), + (u'Copyright (c) 2005 Arkadiy Vertleyb', 2, 2), + (u'Copyright (c) 2005 Peder Holt', 3, 3), ] check_detection_with_lines(expected, test_file) @@ -305,14 +305,14 @@ def test_copyright_lines_heunrich_c(self): def test_copyright_lines_isc(self): test_file = self.get_test_loc('copyrights_basic/isc-c.c') expected = [ - (u'Copyright (c) 1998-2000 The Internet Software Consortium', 2, 3) + (u'Copyright (c) 1998-2000 The Internet Software Consortium', 3, 3) ] check_detection_with_lines(expected, test_file) def test_copyright_lines_sample_py(self): test_file = self.get_test_loc('copyrights_basic/sample_py-py.py') expected = [ - (u'COPYRIGHT 2006 ABC', 6, 7) + (u'COPYRIGHT 2006 ABC', 6, 6) ] check_detection_with_lines(expected, test_file) @@ -326,7 +326,7 @@ def test_copyright_lines_abc(self): def test_copyright_lines_abc_loss_of_holder_c(self): test_file = self.get_test_loc('copyrights_basic/abc_loss_of_holder_c-c.c') expected = [ - (u'copyright abc 2001', 1, 2) + (u'copyright abc 2001', 1, 1) ] check_detection_with_lines(expected, test_file) @@ -334,8 +334,8 @@ def test_copyright_lines_abiword_common_copyright(self): test_file = self.get_test_loc('copyrights_basic/abiword_common.copyright') expected = [ (u'Copyright (c) 1998- AbiSource, Inc. & Co.', 15, 17), - (u'Copyright (c) 2009 Masayuki Hatta', 41, 42), - (u'Copyright (c) 2009 Patrik Fimml ', 41, 42), + (u'Copyright (c) 2009 Masayuki Hatta', 41, 41), + (u'Copyright (c) 2009 Patrik Fimml ', 42, 42), ] check_detection_with_lines(expected, test_file) @@ -349,14 +349,14 @@ def test_copyright_lines_acme_c(self): def test_copyright_lines_activefieldattribute_cs(self): test_file = self.get_test_loc('copyrights_basic/activefieldattribute_cs-ActiveFieldAttribute_cs.cs') expected = [ - (u'Copyright 2009 - Thomas Hansen thomas@ra-ajax.org', 3, 5) + (u'Copyright 2009 - Thomas Hansen thomas@ra-ajax.org', 3, 4) ] check_detection_with_lines(expected, test_file) def test_copyright_lines_addr_c(self): test_file = self.get_test_loc('copyrights_basic/addr_c-addr_c.c') expected = [ - (u'Copyright 1999 Cornell University', 3, 4), + (u'Copyright 1999 Cornell University', 4, 4), (u'Copyright 2000 Jon Doe', 5, 5) ] check_detection_with_lines(expected, test_file) @@ -364,7 +364,7 @@ def test_copyright_lines_addr_c(self): def test_copyright_lines_adler_inflate_c(self): test_file = self.get_test_loc('copyrights_basic/adler_inflate_c-inflate_c.c') expected = [ - (u'Not copyrighted 1992 by Mark Adler', 1, 2) + (u'Not copyrighted 1992 by Mark Adler', 1, 1) ] check_detection_with_lines(expected, test_file) @@ -378,7 +378,7 @@ def test_copyright_lines_aleal(self): def test_copyright_lines_andre_darcy(self): test_file = self.get_test_loc('copyrights_basic/andre_darcy-c.c') expected = [ - (u'Copyright (c) 1995, Pascal Andre (andre@via.ecp.fr)', 2, 6), + (u'Copyright (c) 1995, Pascal Andre (andre@via.ecp.fr)', 5, 6), (u"copyright 1997, 1998, 1999 by D'Arcy J.M. Cain (darcy@druid.net)", 25, 26) ] check_detection_with_lines(expected, test_file) @@ -387,7 +387,7 @@ def test_copyright_lines_android_c(self): test_file = self.get_test_loc('copyrights_basic/android_c-c.c') expected = [ (u'Copyright (c) 2009 The Android Open Source Project', 2, 2), - (u'Copyright 2003-2005 Colin Percival', 23, 24) + (u'Copyright 2003-2005 Colin Percival', 23, 23) ] check_detection_with_lines(expected, test_file) @@ -413,7 +413,7 @@ def test_copyright_lines_atheros_spanning_lines(self): expected = [ (u'Copyright (c) 2000 Atheros Communications, Inc.', 2, 2), (u'Copyright (c) 2001 Atheros Communications, Inc.', 3, 3), - (u'Copyright (c) 1994-1997 by Intel Corporation', 8, 11) + (u'Copyright (c) 1994-1997 by Intel Corporation', 10, 11) ] check_detection_with_lines(expected, test_file) @@ -434,19 +434,19 @@ def test_copyright_lines_audio_c(self): def test_copyright_lines_babkin_txt(self): test_file = self.get_test_loc('copyrights_basic/babkin_txt.txt') expected = [ - (u'Copyright (c) North', 1, 5), - (u'Copyright (c) South', 1, 5), - (u'Copyright (c) 2001 by the TTF2PT1 project', 1, 5), - (u'Copyright (c) 2001 by Sergey Babkin', 1, 5), + (u'Copyright (c) North', 1, 1), + (u'Copyright (c) South', 2, 2), + (u'Copyright (c) 2001 by the TTF2PT1 project', 4, 4), + (u'Copyright (c) 2001 by Sergey Babkin', 5, 5), ] check_detection_with_lines(expected, test_file) def test_copyright_lines_blender_debian(self): test_file = self.get_test_loc('copyrights_basic/blender_debian-blender.copyright') expected = [ - (u'Copyright (c) 2002-2008 Blender Foundation', 9, 11), - (u'Copyright (c) 2004-2005 Masayuki Hatta ', 31, 35), - (u'(c) 2005-2007 Florian Ernst ', 31, 35), - (u'(c) 2007-2008 Cyril Brulebois ', 31, 35), + (u'Copyright (c) 2002-2008 Blender Foundation', 9, 9), + (u'Copyright (c) 2004-2005 Masayuki Hatta ', 31, 31), + (u'(c) 2005-2007 Florian Ernst ', 32, 32), + (u'(c) 2007-2008 Cyril Brulebois ', 33, 33), ] check_detection_with_lines(expected, test_file) diff --git a/tests/formattedcode/data/csv/livescan/expected.csv b/tests/formattedcode/data/csv/livescan/expected.csv index 212f6bb72e6..81052be5b8b 100644 --- a/tests/formattedcode/data/csv/livescan/expected.csv +++ b/tests/formattedcode/data/csv/livescan/expected.csv @@ -1,23 +1,23 @@ -Resource,type,name,base_name,extension,size,date,sha1,md5,sha256,mime_type,file_type,programming_language,is_binary,is_text,is_archive,is_media,is_source,is_script,percentage_of_license_text,files_count,dirs_count,size_count,scan_errors,license_expression,license__key,license__score,license__name,license__short_name,license__category,license__is_exception,license__owner,license__homepage_url,license__text_url,license__reference_url,license__scancode_text_url,license__scancode_data_url,license__spdx_license_key,license__spdx_url,start_line,end_line,matched_rule__identifier,matched_rule__license_expression,matched_rule__licenses,matched_rule__is_license_text,matched_rule__is_license_notice,matched_rule__is_license_reference,matched_rule__is_license_tag,matched_rule__is_license_intro,matched_rule__matcher,matched_rule__rule_length,matched_rule__matched_length,matched_rule__match_coverage,matched_rule__rule_relevance,copyright,copyright_holder,email,url,package__type,package__namespace,package__name,package__version,package__qualifiers,package__subpath,package__primary_language,package__description,package__release_date,package__homepage_url,package__download_url,package__size,package__sha1,package__md5,package__sha256,package__sha512,package__bug_tracking_url,package__code_view_url,package__vcs_url,package__copyright,package__license_expression,package__declared_license,package__notice_text,package__root_path,package__contains_source_code -json2csv.rb,file,json2csv.rb,json2csv,.rb,912,2020-12-03,1236469a06a2bacbdd8e172ad718482af5b0a936,1307c281e0b153202e291b217eab85d5,12ba215313981dbe810d9ed696b7cc753d97adfcc26eba1e13f941dc7506aa4e,text/x-script.python,"Python script, ASCII text executable",Ruby,False,True,False,False,True,True,62.04,0,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,apache-2.0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,,apache-2.0,100.00,Apache License 2.0,Apache 2.0,Permissive,False,Apache Software Foundation,http://www.apache.org/licenses/,http://www.apache.org/licenses/LICENSE-2.0,https://scancode-licensedb.aboutcode.org/apache-2.0,https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE,https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.yml,Apache-2.0,https://spdx.org/licenses/Apache-2.0,5,13,apache-2.0_7.RULE,apache-2.0,apache-2.0,,True,,,,2-aho,85,85,100.00,100.00,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,3,3,,,,,,,,,,,,,,Copyright (c) 2017 nexB Inc. and others,,,,,,,,,,,,,,,,,,,,,,,,,,,, -json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,3,3,,,,,,,,,,,,,,,nexB Inc. and others,,,,,,,,,,,,,,,,,,,,,,,,,,, -json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,4,4,,,,,,,,,,,,,,,,,http://nexb.com/,,,,,,,,,,,,,,,,,,,,,,,,, -json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,4,4,,,,,,,,,,,,,,,,,https://github.com/nexB/scancode-toolkit/,,,,,,,,,,,,,,,,,,,,,,,,, -json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,8,8,,,,,,,,,,,,,,,,,http://www.apache.org/licenses/LICENSE-2.0,,,,,,,,,,,,,,,,,,,,,,,,, -license,file,license,license,,679,2020-12-03,75c5490a718ddd45e40e0cc7ce0c756abc373123,b965a762efb9421cf1bf4405f336e278,a34098a43e5677495f59dff825a3f9bc0f2b0261d75feb2356919f4c3ce049ab,text/plain,ASCII text,,False,True,False,False,False,False,100.0,0,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -license,,,,,,,,,,,,,,,,,,,,,,,,gpl-2.0-plus,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -license,,,,,,,,,,,,,,,,,,,,,,,,,gpl-2.0-plus,100.00,GNU General Public License 2.0 or later,GPL 2.0 or later,Copyleft,False,Free Software Foundation (FSF),http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html,http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html,https://scancode-licensedb.aboutcode.org/gpl-2.0-plus,https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE,https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.yml,GPL-2.0-or-later,https://spdx.org/licenses/GPL-2.0-or-later,1,12,gpl-2.0-plus_420.RULE,gpl-2.0-plus,gpl-2.0-plus,,True,,,,1-hash,113,113,100.00,100.00,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -package.json,file,package.json,package,.json,2200,2020-12-03,918376afce796ef90eeda1d6695f2289c90491ac,1f66239a9b850c5e60a9382dbe2162d2,29f6068a1b6c7d06f115a5edc4ed8558edde42c6bbf0145ed77cf1108a0dd529,application/json,JSON data,,False,True,False,False,False,False,58.1,0,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -package.json,,,,,,,,,,,,,,,,,,,,,,,,mit,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -package.json,,,,,,,,,,,,,,,,,,,,,,,,mit,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -package.json,,,,,,,,,,,,,,,,,,,,,,,,,mit,100.00,MIT License,MIT License,Permissive,False,MIT,http://opensource.org/licenses/mit-license.php,http://opensource.org/licenses/mit-license.php,https://scancode-licensedb.aboutcode.org/mit,https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE,https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.yml,MIT,https://spdx.org/licenses/MIT,24,24,mit_649.RULE,mit,mit,,True,,,,2-aho,4,4,100.00,100.00,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -package.json,,,,,,,,,,,,,,,,,,,,,,,,,mit,100.00,MIT License,MIT License,Permissive,False,MIT,http://opensource.org/licenses/mit-license.php,http://opensource.org/licenses/mit-license.php,https://scancode-licensedb.aboutcode.org/mit,https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE,https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.yml,MIT,https://spdx.org/licenses/MIT,24,24,mit.LICENSE,mit,mit,True,,,,,2-aho,161,161,100.00,100.00,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -package.json,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,24,24,,,,,,,,,,,,,,Copyright (c) 2012 LearnBoost ,,,,,,,,,,,,,,,,,,,,,,,,,,,, -package.json,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,24,24,,,,,,,,,,,,,,,LearnBoost,,,,,,,,,,,,,,,,,,,,,,,,,,, -package.json,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,12,12,,,,,,,,,,,,,,,,tj@learnboost.com,,,,,,,,,,,,,,,,,,,,,,,,,, -package.json,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,16,16,,,,,,,,,,,,,,,,,https://github.com/visionmedia/node-cookie-signature.git,,,,,,,,,,,,,,,,,,,,,,,,, -package.json,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,27,27,,,,,,,,,,,,,,,,,https://github.com/visionmedia/node-cookie-signature/issues,,,,,,,,,,,,,,,,,,,,,,,,, -package.json,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,npm,,cookie-signature,v 1.0.3,,,JavaScript,Sign and unsign cookies,,,https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.3.tgz,,,,,,https://github.com/visionmedia/node-cookie-signature/issues,,git+https://github.com/visionmedia/node-cookie-signature.git,,,,,, +Resource,type,name,base_name,extension,size,date,sha1,md5,sha256,mime_type,file_type,programming_language,is_binary,is_text,is_archive,is_media,is_source,is_script,percentage_of_license_text,files_count,dirs_count,size_count,scan_errors,license_expression,license__key,license__score,license__name,license__short_name,license__category,license__is_exception,license__is_unknown,license__owner,license__homepage_url,license__text_url,license__reference_url,license__scancode_text_url,license__scancode_data_url,license__spdx_license_key,license__spdx_url,start_line,end_line,matched_rule__identifier,matched_rule__license_expression,matched_rule__licenses,matched_rule__referenced_filenames,matched_rule__is_license_text,matched_rule__is_license_notice,matched_rule__is_license_reference,matched_rule__is_license_tag,matched_rule__is_license_intro,matched_rule__has_unknown,matched_rule__matcher,matched_rule__rule_length,matched_rule__matched_length,matched_rule__match_coverage,matched_rule__rule_relevance,copyright,copyright_holder,email,url,package__type,package__namespace,package__name,package__version,package__qualifiers,package__subpath,package__primary_language,package__description,package__release_date,package__homepage_url,package__download_url,package__size,package__sha1,package__md5,package__sha256,package__sha512,package__bug_tracking_url,package__code_view_url,package__vcs_url,package__copyright,package__license_expression,package__declared_license,package__notice_text,package__root_path,package__contains_source_code,package__extra_data +json2csv.rb,file,json2csv.rb,json2csv,.rb,912,2021-03-31,1236469a06a2bacbdd8e172ad718482af5b0a936,1307c281e0b153202e291b217eab85d5,12ba215313981dbe810d9ed696b7cc753d97adfcc26eba1e13f941dc7506aa4e,text/x-script.python,"Python script, ASCII text executable",Ruby,False,True,False,False,True,True,62.04,0,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,apache-2.0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,,apache-2.0,100.00,Apache License 2.0,Apache 2.0,Permissive,False,False,Apache Software Foundation,http://www.apache.org/licenses/,http://www.apache.org/licenses/LICENSE-2.0,https://scancode-licensedb.aboutcode.org/apache-2.0,https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE,https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.yml,Apache-2.0,https://spdx.org/licenses/Apache-2.0,5,13,apache-2.0_7.RULE,apache-2.0,apache-2.0,,,True,,,,,2-aho,85,85,100.00,100.00,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,3,3,,,,,,,,,,,,,,,,Copyright (c) 2017 nexB Inc. and others,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,3,3,,,,,,,,,,,,,,,,,nexB Inc. and others,,,,,,,,,,,,,,,,,,,,,,,,,,,, +json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,4,4,,,,,,,,,,,,,,,,,,,http://nexb.com/,,,,,,,,,,,,,,,,,,,,,,,,,, +json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,4,4,,,,,,,,,,,,,,,,,,,https://github.com/nexB/scancode-toolkit/,,,,,,,,,,,,,,,,,,,,,,,,,, +json2csv.rb,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,8,8,,,,,,,,,,,,,,,,,,,http://www.apache.org/licenses/LICENSE-2.0,,,,,,,,,,,,,,,,,,,,,,,,,, +license,file,license,license,,679,2021-03-31,75c5490a718ddd45e40e0cc7ce0c756abc373123,b965a762efb9421cf1bf4405f336e278,a34098a43e5677495f59dff825a3f9bc0f2b0261d75feb2356919f4c3ce049ab,text/plain,ASCII text,,False,True,False,False,False,False,100.0,0,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +license,,,,,,,,,,,,,,,,,,,,,,,,gpl-2.0-plus,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +license,,,,,,,,,,,,,,,,,,,,,,,,,gpl-2.0-plus,100.00,GNU General Public License 2.0 or later,GPL 2.0 or later,Copyleft,False,False,Free Software Foundation (FSF),http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html,http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html,https://scancode-licensedb.aboutcode.org/gpl-2.0-plus,https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.LICENSE,https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/gpl-2.0-plus.yml,GPL-2.0-or-later,https://spdx.org/licenses/GPL-2.0-or-later,1,12,gpl-2.0-plus_420.RULE,gpl-2.0-plus,gpl-2.0-plus,,,True,,,,,1-hash,113,113,100.00,100.00,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +package.json,file,package.json,package,.json,2200,2021-03-31,918376afce796ef90eeda1d6695f2289c90491ac,1f66239a9b850c5e60a9382dbe2162d2,29f6068a1b6c7d06f115a5edc4ed8558edde42c6bbf0145ed77cf1108a0dd529,application/json,JSON data,,False,True,False,False,False,False,58.1,0,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +package.json,,,,,,,,,,,,,,,,,,,,,,,,mit,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +package.json,,,,,,,,,,,,,,,,,,,,,,,,mit,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +package.json,,,,,,,,,,,,,,,,,,,,,,,,,mit,100.00,MIT License,MIT License,Permissive,False,False,MIT,http://opensource.org/licenses/mit-license.php,http://opensource.org/licenses/mit-license.php,https://scancode-licensedb.aboutcode.org/mit,https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE,https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.yml,MIT,https://spdx.org/licenses/MIT,24,24,mit_649.RULE,mit,mit,,,True,,,,,2-aho,4,4,100.00,100.00,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +package.json,,,,,,,,,,,,,,,,,,,,,,,,,mit,100.00,MIT License,MIT License,Permissive,False,False,MIT,http://opensource.org/licenses/mit-license.php,http://opensource.org/licenses/mit-license.php,https://scancode-licensedb.aboutcode.org/mit,https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE,https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.yml,MIT,https://spdx.org/licenses/MIT,24,24,mit.LICENSE,mit,mit,,True,,,,,,2-aho,161,161,100.00,100.00,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +package.json,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,24,24,,,,,,,,,,,,,,,,Copyright (c) 2012 LearnBoost ,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +package.json,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,24,24,,,,,,,,,,,,,,,,,LearnBoost,,,,,,,,,,,,,,,,,,,,,,,,,,,, +package.json,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,12,12,,,,,,,,,,,,,,,,,,tj@learnboost.com,,,,,,,,,,,,,,,,,,,,,,,,,,, +package.json,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,16,16,,,,,,,,,,,,,,,,,,,https://github.com/visionmedia/node-cookie-signature.git,,,,,,,,,,,,,,,,,,,,,,,,,, +package.json,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,27,27,,,,,,,,,,,,,,,,,,,https://github.com/visionmedia/node-cookie-signature/issues,,,,,,,,,,,,,,,,,,,,,,,,,, +package.json,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,npm,,cookie-signature,v 1.0.3,,,JavaScript,Sign and unsign cookies,,,https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.3.tgz,,,,,,https://github.com/visionmedia/node-cookie-signature/issues,,git+https://github.com/visionmedia/node-cookie-signature.git,,,,,,, diff --git a/tests/formattedcode/data/csv/packages/expected-no-root.csv b/tests/formattedcode/data/csv/packages/expected-no-root.csv index 6e099c92248..22d509def54 100644 --- a/tests/formattedcode/data/csv/packages/expected-no-root.csv +++ b/tests/formattedcode/data/csv/packages/expected-no-root.csv @@ -1,3 +1,3 @@ -Resource,type,scan_errors,package__type,package__namespace,package__name,package__version,package__qualifiers,package__subpath,package__primary_language,package__description,package__release_date,package__homepage_url,package__download_url,package__size,package__sha1,package__md5,package__sha256,package__sha512,package__bug_tracking_url,package__code_view_url,package__vcs_url,package__copyright,package__license_expression,package__declared_license,package__notice_text,package__root_path,package__contains_source_code -package.json,file,,,,,,,,,,,,,,,,,,,,,,,,,, -package.json,,,npm,,npm,v 2.13.5,,,JavaScript,a package manager for JavaScript,,https://docs.npmjs.com/,https://registry.npmjs.org/npm/-/npm-2.13.5.tgz,,a124386bce4a90506f28ad4b1d1a804a17baaf32,,,,http://github.com/npm/npm/issues,,git+https://github.com/npm/npm.git@fc7bbf03e39cc48a8924b90696d28345a6a90f3c,,artistic-2.0,Artistic-2.0,,, +Resource,type,scan_errors,package__type,package__namespace,package__name,package__version,package__qualifiers,package__subpath,package__primary_language,package__description,package__release_date,package__homepage_url,package__download_url,package__size,package__sha1,package__md5,package__sha256,package__sha512,package__bug_tracking_url,package__code_view_url,package__vcs_url,package__copyright,package__license_expression,package__declared_license,package__notice_text,package__root_path,package__contains_source_code,package__extra_data +package.json,file,,,,,,,,,,,,,,,,,,,,,,,,,,, +package.json,,,npm,,npm,v 2.13.5,,,JavaScript,a package manager for JavaScript,,https://docs.npmjs.com/,https://registry.npmjs.org/npm/-/npm-2.13.5.tgz,,a124386bce4a90506f28ad4b1d1a804a17baaf32,,,,http://github.com/npm/npm/issues,,git+https://github.com/npm/npm.git@fc7bbf03e39cc48a8924b90696d28345a6a90f3c,,artistic-2.0,Artistic-2.0,,,, diff --git a/tests/formattedcode/data/csv/packages/expected.csv b/tests/formattedcode/data/csv/packages/expected.csv index 2058e56e98f..8b9d818f181 100644 --- a/tests/formattedcode/data/csv/packages/expected.csv +++ b/tests/formattedcode/data/csv/packages/expected.csv @@ -1,4 +1,4 @@ -Resource,type,scan_errors,package__type,package__namespace,package__name,package__version,package__qualifiers,package__subpath,package__primary_language,package__description,package__release_date,package__homepage_url,package__download_url,package__size,package__sha1,package__md5,package__sha256,package__sha512,package__bug_tracking_url,package__code_view_url,package__vcs_url,package__copyright,package__license_expression,package__declared_license,package__notice_text,package__root_path,package__contains_source_code -scan/,directory,,,,,,,,,,,,,,,,,,,,,,,,,, -scan/package.json,file,,,,,,,,,,,,,,,,,,,,,,,,,, -scan/package.json,,,npm,,npm,v 2.13.5,,,JavaScript,a package manager for JavaScript,,https://docs.npmjs.com/,https://registry.npmjs.org/npm/-/npm-2.13.5.tgz,,a124386bce4a90506f28ad4b1d1a804a17baaf32,,,,http://github.com/npm/npm/issues,,git+https://github.com/npm/npm.git@fc7bbf03e39cc48a8924b90696d28345a6a90f3c,,artistic-2.0,Artistic-2.0,,scan, +Resource,type,scan_errors,package__type,package__namespace,package__name,package__version,package__qualifiers,package__subpath,package__primary_language,package__description,package__release_date,package__homepage_url,package__download_url,package__size,package__sha1,package__md5,package__sha256,package__sha512,package__bug_tracking_url,package__code_view_url,package__vcs_url,package__copyright,package__license_expression,package__declared_license,package__notice_text,package__root_path,package__contains_source_code,package__extra_data +scan/,directory,,,,,,,,,,,,,,,,,,,,,,,,,,, +scan/package.json,file,,,,,,,,,,,,,,,,,,,,,,,,,,, +scan/package.json,,,npm,,npm,v 2.13.5,,,JavaScript,a package manager for JavaScript,,https://docs.npmjs.com/,https://registry.npmjs.org/npm/-/npm-2.13.5.tgz,,a124386bce4a90506f28ad4b1d1a804a17baaf32,,,,http://github.com/npm/npm/issues,,git+https://github.com/npm/npm.git@fc7bbf03e39cc48a8924b90696d28345a6a90f3c,,artistic-2.0,Artistic-2.0,,scan,, diff --git a/tests/formattedcode/data/unicode.json b/tests/formattedcode/data/csv/unicode.json similarity index 100% rename from tests/formattedcode/data/unicode.json rename to tests/formattedcode/data/csv/unicode.json diff --git a/tests/formattedcode/data/json/summaries/codebase_with_summaries.json b/tests/formattedcode/data/json/summaries/codebase_with_summaries.json deleted file mode 100644 index 97c1afaf82d..00000000000 --- a/tests/formattedcode/data/json/summaries/codebase_with_summaries.json +++ /dev/null @@ -1,2999 +0,0 @@ -{ - "summary": { - "license_expressions": [ - { - "value": "zlib", - "count": 10 - }, - { - "value": null, - "count": 7 - }, - { - "value": "lgpl-2.1-plus", - "count": 5 - }, - { - "value": "boost-1.0", - "count": 3 - }, - { - "value": "public-domain", - "count": 2 - }, - { - "value": "apache-1.1", - "count": 1 - }, - { - "value": "apache-2.0", - "count": 1 - }, - { - "value": "cc-by-2.5", - "count": 1 - }, - { - "value": "cmr-no", - "count": 1 - }, - { - "value": "cpl-1.0", - "count": 1 - }, - { - "value": "gpl-2.0-plus WITH ada-linking-exception", - "count": 1 - }, - { - "value": "jboss-eula", - "count": 1 - }, - { - "value": "mit", - "count": 1 - } - ], - "copyrights": [ - { - "value": null, - "count": 10 - }, - { - "value": "Copyright (c) Jean-loup Gailly", - "count": 3 - }, - { - "value": "Copyright (c) Jean-loup Gailly and Mark Adler", - "count": 3 - }, - { - "value": "Copyright (c) Mark Adler", - "count": 3 - }, - { - "value": "(c) Copyright Henrik Ravn", - "count": 2 - }, - { - "value": "Copyright (c) Free Software Foundation, Inc.", - "count": 2 - }, - { - "value": "copyrighted by the Free Software Foundation", - "count": 2 - }, - { - "value": "Copyright (c) - The Legion Of The Bouncy Castle (http://www.bouncycastle.org)", - "count": 1 - }, - { - "value": "Copyright (c) Brian Goetz and Tim Peierls", - "count": 1 - }, - { - "value": "Copyright (c) Christian Michelsen Research AS Advanced Computing", - "count": 1 - }, - { - "value": "Copyright (c) Dmitriy Anisimkov", - "count": 1 - }, - { - "value": "Copyright (c) Jean-loup Gailly, Brian Raiter and Gilles Vollant.", - "count": 1 - }, - { - "value": "Copyright (c) The Apache Software Foundation.", - "count": 1 - }, - { - "value": "Copyright (c) by Henrik Ravn", - "count": 1 - }, - { - "value": "Copyright JBoss Inc., and individual contributors", - "count": 1 - }, - { - "value": "Copyright Red Hat Middleware LLC, and individual contributors", - "count": 1 - }, - { - "value": "Copyright Red Hat, Inc.", - "count": 1 - }, - { - "value": "Copyright Red Hat, Inc. and individual contributors", - "count": 1 - } - ], - "holders": [ - { - "value": null, - "count": 10 - }, - { - "value": "Free Software Foundation, Inc.", - "count": 4 - }, - { - "value": "Henrik Ravn", - "count": 3 - }, - { - "value": "Jean-loup Gailly", - "count": 3 - }, - { - "value": "Jean-loup Gailly and Mark Adler", - "count": 3 - }, - { - "value": "Mark Adler", - "count": 3 - }, - { - "value": "Brian Goetz and Tim Peierls", - "count": 1 - }, - { - "value": "Christian Michelsen Research AS Advanced Computing", - "count": 1 - }, - { - "value": "Dmitriy Anisimkov", - "count": 1 - }, - { - "value": "JBoss Inc., and individual contributors", - "count": 1 - }, - { - "value": "Jean-loup Gailly, Brian Raiter and Gilles Vollant.", - "count": 1 - }, - { - "value": "Red Hat Middleware LLC, and individual contributors", - "count": 1 - }, - { - "value": "Red Hat, Inc.", - "count": 1 - }, - { - "value": "Red Hat, Inc. and individual contributors", - "count": 1 - }, - { - "value": "The Apache Software Foundation.", - "count": 1 - }, - { - "value": "The Legion Of The Bouncy Castle", - "count": 1 - } - ], - "authors": [ - { - "value": null, - "count": 24 - }, - { - "value": "Bela Ban", - "count": 4 - }, - { - "value": "Brian Stansberry", - "count": 1 - }, - { - "value": "Chris Mills (millsy@jboss.com)", - "count": 1 - }, - { - "value": "Gilles Vollant", - "count": 1 - }, - { - "value": "Leonid Broukhis.", - "count": 1 - }, - { - "value": "Robert Harder", - "count": 1 - }, - { - "value": "rob@iharder.net", - "count": 1 - }, - { - "value": "the Apache Software Foundation (http://www.apache.org/).", - "count": 1 - } - ], - "programming_language": [ - { - "value": null, - "count": 11 - }, - { - "value": "C", - "count": 9 - }, - { - "value": "Java", - "count": 7 - }, - { - "value": "C#", - "count": 2 - }, - { - "value": "Ada", - "count": 1 - }, - { - "value": "C++", - "count": 1 - }, - { - "value": "GAS", - "count": 1 - }, - { - "value": "JavaScript+Lasso", - "count": 1 - } - ] - }, - "license_score": { - "score": 13, - "has_top_level_declared_licenses": false, - "file_level_license_and_copyright_coverage": 0.53125, - "has_consistent_key_and_file_level_license": false, - "has_all_spdx_licenses": false, - "has_all_license_texts": false - }, - "summary_of_key_files": { - "license_expressions": [ - { - "value": null, - "count": 1 - } - ], - "copyrights": [ - { - "value": null, - "count": 1 - } - ], - "holders": [ - { - "value": null, - "count": 1 - } - ], - "authors": [ - { - "value": null, - "count": 1 - } - ], - "programming_language": [ - { - "value": null, - "count": 1 - } - ] - }, - "files": [ - { - "path": "samples", - "type": "directory", - "name": "samples", - "base_name": "samples", - "extension": "", - "size": 0, - "date": null, - "sha1": null, - "md5": null, - "mime_type": null, - "file_type": null, - "programming_language": null, - "is_binary": false, - "is_text": false, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": true, - "files_count": 33, - "dirs_count": 10, - "size_count": 1161083, - "scan_errors": [] - }, - { - "path": "samples/README", - "type": "file", - "name": "README", - "base_name": "README", - "extension": "", - "size": 236, - "date": "2017-10-26", - "sha1": "2e07e32c52d607204fad196052d70e3d18fb8636", - "md5": "effc6856ef85a9250fb1a470792b3f38", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": null, - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": true, - "is_top_level": true, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/screenshot.png", - "type": "file", - "name": "screenshot.png", - "base_name": "screenshot", - "extension": ".png", - "size": 622754, - "date": "2017-10-26", - "sha1": "01ff4b1de0bc6c75c9cca6e46c80c1802d6976d4", - "md5": "b6ef5a90777147423c98b42a6a25e57a", - "mime_type": "image/png", - "file_type": "PNG image data, 2880 x 1666, 8-bit/color RGB, non-interlaced", - "programming_language": null, - "is_binary": true, - "is_text": false, - "is_archive": false, - "is_media": true, - "is_source": false, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": true, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/arch", - "type": "directory", - "name": "arch", - "base_name": "arch", - "extension": "", - "size": 0, - "date": null, - "sha1": null, - "md5": null, - "mime_type": null, - "file_type": null, - "programming_language": null, - "is_binary": false, - "is_text": false, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": true, - "files_count": 1, - "dirs_count": 0, - "size_count": 28103, - "scan_errors": [] - }, - { - "path": "samples/arch/zlib.tar.gz", - "type": "file", - "name": "zlib.tar.gz", - "base_name": "zlib", - "extension": ".tar.gz", - "size": 28103, - "date": "2017-10-26", - "sha1": "576f0ccfe534d7f5ff5d6400078d3c6586de3abd", - "md5": "20b2370751abfc08bb3556c1d8114b5a", - "mime_type": "application/gzip", - "file_type": "gzip compressed data, last modified: Wed Jul 15 09:08:19 2015, from Unix", - "programming_language": null, - "is_binary": true, - "is_text": false, - "is_archive": true, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/JGroups", - "type": "directory", - "name": "JGroups", - "base_name": "JGroups", - "extension": "", - "size": 0, - "date": null, - "sha1": null, - "md5": null, - "mime_type": null, - "file_type": null, - "programming_language": null, - "is_binary": false, - "is_text": false, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": true, - "files_count": 14, - "dirs_count": 2, - "size_count": 241228, - "scan_errors": [] - }, - { - "path": "samples/JGroups/EULA", - "type": "file", - "name": "EULA", - "base_name": "EULA", - "extension": "", - "size": 8156, - "date": "2017-10-26", - "sha1": "eb232aa0424eca9c4136904e6143b72aaa9cf4de", - "md5": "0be0aceb8296727efff0ac0bf8e6bdb3", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript+Lasso", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "jboss-eula", - "score": 100.0, - "name": "JBoss EULA", - "short_name": "JBoss EULA", - "category": "Proprietary Free", - "is_exception": false, - "owner": "JBoss Community", - "homepage_url": "", - "text_url": "http://repository.jboss.org/licenses/jbossorg-eula.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/jboss-eula", - "spdx_license_key": "", - "spdx_url": "", - "start_line": 3, - "end_line": 108, - "matched_rule": { - "identifier": "jboss-eula.LICENSE", - "license_expression": "jboss-eula", - "licenses": [ - "jboss-eula" - ], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "jboss-eula" - ], - "holders": [ - { - "value": "Red Hat, Inc.", - "start_line": 104, - "end_line": 104 - } - ], - "copyrights": [ - { - "value": "Copyright 2006 Red Hat, Inc.", - "start_line": 104, - "end_line": 104 - } - ], - "authors": [], - "is_legal": true, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/JGroups/LICENSE", - "type": "file", - "name": "LICENSE", - "base_name": "LICENSE", - "extension": "", - "size": 26430, - "date": "2017-10-26", - "sha1": "e60c2e780886f95df9c9ee36992b8edabec00bcc", - "md5": "7fbc338309ac38fefcd64b04bb903e34", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": null, - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [ - { - "key": "lgpl-2.1-plus", - "score": 100.0, - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later", - "start_line": 1, - "end_line": 502, - "matched_rule": { - "identifier": "lgpl-2.1-plus_2.RULE", - "license_expression": "lgpl-2.1-plus", - "licenses": [ - "lgpl-2.1-plus" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "lgpl-2.1-plus" - ], - "holders": [ - { - "value": "Free Software Foundation, Inc.", - "start_line": 4, - "end_line": 6 - }, - { - "value": "the Free Software Foundation", - "start_line": 428, - "end_line": 433 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 1991, 1999 Free Software Foundation, Inc.", - "start_line": 4, - "end_line": 6 - }, - { - "value": "copyrighted by the Free Software Foundation", - "start_line": 428, - "end_line": 433 - } - ], - "authors": [], - "is_legal": true, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/JGroups/licenses", - "type": "directory", - "name": "licenses", - "base_name": "licenses", - "extension": "", - "size": 0, - "date": null, - "sha1": null, - "md5": null, - "mime_type": null, - "file_type": null, - "programming_language": null, - "is_binary": false, - "is_text": false, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 5, - "dirs_count": 0, - "size_count": 54552, - "scan_errors": [] - }, - { - "path": "samples/JGroups/licenses/apache-1.1.txt", - "type": "file", - "name": "apache-1.1.txt", - "base_name": "apache-1.1", - "extension": ".txt", - "size": 2885, - "date": "2017-10-26", - "sha1": "6b5608d35c3e304532af43db8bbfc5947bef46a6", - "md5": "276982197c941f4cbf3d218546e17ae2", - "mime_type": "text/plain", - "file_type": "ASCII text, with CRLF line terminators", - "programming_language": null, - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [ - { - "key": "apache-1.1", - "score": 100.0, - "name": "Apache License 1.1", - "short_name": "Apache 1.1", - "category": "Permissive", - "is_exception": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://apache.org/licenses/LICENSE-1.1", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-1.1", - "spdx_license_key": "Apache-1.1", - "spdx_url": "https://spdx.org/licenses/Apache-1.1", - "start_line": 2, - "end_line": 56, - "matched_rule": { - "identifier": "apache-1.1.SPDX.RULE", - "license_expression": "apache-1.1", - "licenses": [ - "apache-1.1" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "apache-1.1" - ], - "holders": [ - { - "value": "The Apache Software Foundation.", - "start_line": 4, - "end_line": 5 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 2000 The Apache Software Foundation.", - "start_line": 4, - "end_line": 5 - } - ], - "authors": [ - { - "value": "the Apache Software Foundation (http://www.apache.org/).", - "start_line": 21, - "end_line": 23 - } - ], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/JGroups/licenses/apache-2.0.txt", - "type": "file", - "name": "apache-2.0.txt", - "base_name": "apache-2.0", - "extension": ".txt", - "size": 11560, - "date": "2017-10-26", - "sha1": "47b573e3824cd5e02a1a3ae99e2735b49e0256e4", - "md5": "d273d63619c9aeaf15cdaf76422c4f87", - "mime_type": "text/plain", - "file_type": "ASCII text, with CRLF line terminators", - "programming_language": null, - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [ - { - "key": "apache-2.0", - "score": 100.0, - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0", - "start_line": 2, - "end_line": 202, - "matched_rule": { - "identifier": "apache-2.0.LICENSE", - "license_expression": "apache-2.0", - "licenses": [ - "apache-2.0" - ], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "apache-2.0" - ], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/JGroups/licenses/bouncycastle.txt", - "type": "file", - "name": "bouncycastle.txt", - "base_name": "bouncycastle", - "extension": ".txt", - "size": 1186, - "date": "2017-10-26", - "sha1": "74facb0e9a734479f9cd893b5be3fe1bf651b760", - "md5": "9fffd8de865a5705969f62b128381f85", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": null, - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [ - { - "key": "mit", - "score": 98.8, - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT", - "start_line": 3, - "end_line": 18, - "matched_rule": { - "identifier": "mit_160.RULE", - "license_expression": "mit", - "licenses": [ - "mit" - ], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "mit" - ], - "holders": [ - { - "value": "The Legion Of The Bouncy Castle", - "start_line": 5, - "end_line": 5 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 2000 - 2006 The Legion Of The Bouncy Castle (http://www.bouncycastle.org)", - "start_line": 5, - "end_line": 5 - } - ], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/JGroups/licenses/cpl-1.0.txt", - "type": "file", - "name": "cpl-1.0.txt", - "base_name": "cpl-1.0", - "extension": ".txt", - "size": 11987, - "date": "2017-10-26", - "sha1": "681cf776bcd79752543d42490ec7ed22a29fd888", - "md5": "9a6d2c9ae73d59eb3dd38e3909750d14", - "mime_type": "text/plain", - "file_type": "ASCII text, with CRLF line terminators", - "programming_language": null, - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [ - { - "key": "cpl-1.0", - "score": 99.94, - "name": "Common Public License 1.0", - "short_name": "CPL 1.0", - "category": "Copyleft Limited", - "is_exception": false, - "owner": "IBM", - "homepage_url": "http://www.eclipse.org/legal/cpl-v10.html", - "text_url": "http://www.eclipse.org/legal/cpl-v10.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/cpl-1.0", - "spdx_license_key": "CPL-1.0", - "spdx_url": "https://spdx.org/licenses/CPL-1.0", - "start_line": 1, - "end_line": 212, - "matched_rule": { - "identifier": "cpl-1.0.SPDX.RULE", - "license_expression": "cpl-1.0", - "licenses": [ - "cpl-1.0" - ], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "cpl-1.0" - ], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/JGroups/licenses/lgpl.txt", - "type": "file", - "name": "lgpl.txt", - "base_name": "lgpl", - "extension": ".txt", - "size": 26934, - "date": "2017-10-26", - "sha1": "8f1a637d2e2ed1bdb9eb01a7dccb5c12cc0557e1", - "md5": "f14599a2f089f6ff8c97e2baa4e3d575", - "mime_type": "text/plain", - "file_type": "ASCII text, with CRLF line terminators", - "programming_language": null, - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [ - { - "key": "lgpl-2.1-plus", - "score": 100.0, - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later", - "start_line": 1, - "end_line": 502, - "matched_rule": { - "identifier": "lgpl-2.1-plus_2.RULE", - "license_expression": "lgpl-2.1-plus", - "licenses": [ - "lgpl-2.1-plus" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "lgpl-2.1-plus" - ], - "holders": [ - { - "value": "Free Software Foundation, Inc.", - "start_line": 4, - "end_line": 6 - }, - { - "value": "the Free Software Foundation", - "start_line": 428, - "end_line": 433 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 1991, 1999 Free Software Foundation, Inc.", - "start_line": 4, - "end_line": 6 - }, - { - "value": "copyrighted by the Free Software Foundation", - "start_line": 428, - "end_line": 433 - } - ], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/JGroups/src", - "type": "directory", - "name": "src", - "base_name": "src", - "extension": "", - "size": 0, - "date": null, - "sha1": null, - "md5": null, - "mime_type": null, - "file_type": null, - "programming_language": null, - "is_binary": false, - "is_text": false, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 7, - "dirs_count": 0, - "size_count": 152090, - "scan_errors": [] - }, - { - "path": "samples/JGroups/src/FixedMembershipToken.java", - "type": "file", - "name": "FixedMembershipToken.java", - "base_name": "FixedMembershipToken", - "extension": ".java", - "size": 5144, - "date": "2017-10-26", - "sha1": "5901f73dcc78155a1a2c7b5663a3a11fba400b19", - "md5": "aca9640ec8beee21b098bcf8ecc91442", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "Java", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "lgpl-2.1-plus", - "score": 100.0, - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later", - "start_line": 7, - "end_line": 20, - "matched_rule": { - "identifier": "lgpl-2.1-plus_59.RULE", - "license_expression": "lgpl-2.1-plus", - "licenses": [ - "lgpl-2.1-plus" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "lgpl-2.1-plus" - ], - "holders": [ - { - "value": "JBoss Inc., and individual contributors", - "start_line": 3, - "end_line": 5 - } - ], - "copyrights": [ - { - "value": "Copyright 2005, JBoss Inc., and individual contributors", - "start_line": 3, - "end_line": 5 - } - ], - "authors": [ - { - "value": "Chris Mills (millsy@jboss.com)", - "start_line": 51, - "end_line": 51 - } - ], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/JGroups/src/GuardedBy.java", - "type": "file", - "name": "GuardedBy.java", - "base_name": "GuardedBy", - "extension": ".java", - "size": 813, - "date": "2017-10-26", - "sha1": "981d67087e65e9a44957c026d4b10817cf77d966", - "md5": "c5064400f759d3e81771005051d17dc1", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "Java", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "cc-by-2.5", - "score": 82.0, - "name": "Creative Commons Attribution License 2.5", - "short_name": "CC-BY-2.5", - "category": "Permissive", - "is_exception": false, - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/licenses/by/2.5/", - "text_url": "http://creativecommons.org/licenses/by/2.5/legalcode", - "reference_url": "https://scancode-licensedb.aboutcode.org/cc-by-2.5", - "spdx_license_key": "CC-BY-2.5", - "spdx_url": "https://spdx.org/licenses/CC-BY-2.5", - "start_line": 10, - "end_line": 11, - "matched_rule": { - "identifier": "cc-by-2.5_4.RULE", - "license_expression": "cc-by-2.5", - "licenses": [ - "cc-by-2.5" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "cc-by-2.5" - ], - "holders": [ - { - "value": "Brian Goetz and Tim Peierls", - "start_line": 9, - "end_line": 11 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 2005 Brian Goetz and Tim Peierls", - "start_line": 9, - "end_line": 11 - } - ], - "authors": [ - { - "value": "Bela Ban", - "start_line": 15, - "end_line": 17 - } - ], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/JGroups/src/ImmutableReference.java", - "type": "file", - "name": "ImmutableReference.java", - "base_name": "ImmutableReference", - "extension": ".java", - "size": 1838, - "date": "2017-10-26", - "sha1": "30f56b876d5576d9869e2c5c509b08db57110592", - "md5": "48ca3c72fb9a65c771a321222f118b88", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "Java", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "lgpl-2.1-plus", - "score": 100.0, - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later", - "start_line": 7, - "end_line": 20, - "matched_rule": { - "identifier": "lgpl-2.1-plus_59.RULE", - "license_expression": "lgpl-2.1-plus", - "licenses": [ - "lgpl-2.1-plus" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "lgpl-2.1-plus" - ], - "holders": [ - { - "value": "Red Hat, Inc. and individual contributors", - "start_line": 3, - "end_line": 5 - } - ], - "copyrights": [ - { - "value": "Copyright 2010, Red Hat, Inc. and individual contributors", - "start_line": 3, - "end_line": 5 - } - ], - "authors": [ - { - "value": "Brian Stansberry", - "start_line": 29, - "end_line": 29 - } - ], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/JGroups/src/RATE_LIMITER.java", - "type": "file", - "name": "RATE_LIMITER.java", - "base_name": "RATE_LIMITER", - "extension": ".java", - "size": 3692, - "date": "2017-10-26", - "sha1": "a8087e5d50da3273536ebda9b87b77aa4ff55deb", - "md5": "4626bdbc48871b55513e1a12991c61a8", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "Java", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [ - { - "value": "Bela Ban", - "start_line": 16, - "end_line": 17 - } - ], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/JGroups/src/RouterStub.java", - "type": "file", - "name": "RouterStub.java", - "base_name": "RouterStub", - "extension": ".java", - "size": 9913, - "date": "2017-10-26", - "sha1": "c1f6818f8ee7bddcc9f444bc94c099729d716d52", - "md5": "eecfe23494acbcd8088c93bc1e83c7f2", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "Java", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [ - { - "value": "Bela Ban", - "start_line": 23, - "end_line": 24 - } - ], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/JGroups/src/RouterStubManager.java", - "type": "file", - "name": "RouterStubManager.java", - "base_name": "RouterStubManager", - "extension": ".java", - "size": 8162, - "date": "2017-10-26", - "sha1": "eb419dc94cfe11ca318a3e743a7f9f080e70c751", - "md5": "20bee9631b7c82a45c250e095352aec7", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "Java", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "lgpl-2.1-plus", - "score": 100.0, - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later", - "start_line": 7, - "end_line": 20, - "matched_rule": { - "identifier": "lgpl-2.1-plus_59.RULE", - "license_expression": "lgpl-2.1-plus", - "licenses": [ - "lgpl-2.1-plus" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "lgpl-2.1-plus" - ], - "holders": [ - { - "value": "Red Hat Middleware LLC, and individual contributors", - "start_line": 3, - "end_line": 5 - } - ], - "copyrights": [ - { - "value": "Copyright 2009, Red Hat Middleware LLC, and individual contributors", - "start_line": 3, - "end_line": 5 - } - ], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/JGroups/src/S3_PING.java", - "type": "file", - "name": "S3_PING.java", - "base_name": "S3_PING", - "extension": ".java", - "size": 122528, - "date": "2017-10-26", - "sha1": "08dba9986f69719970ead3592dc565465164df0d", - "md5": "83d8324f37d0e3f120bc89865cf0bd39", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "Java", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "public-domain", - "score": 11.0, - "name": "Public Domain", - "short_name": "Public Domain", - "category": "Public Domain", - "is_exception": false, - "owner": "Unspecified", - "homepage_url": "http://www.linfo.org/publicdomain.html", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/public-domain", - "spdx_license_key": "", - "spdx_url": "", - "start_line": 1649, - "end_line": 1649, - "matched_rule": { - "identifier": "public-domain_79.RULE", - "license_expression": "public-domain", - "licenses": [ - "public-domain" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false - } - }, - { - "key": "public-domain", - "score": 11.0, - "name": "Public Domain", - "short_name": "Public Domain", - "category": "Public Domain", - "is_exception": false, - "owner": "Unspecified", - "homepage_url": "http://www.linfo.org/publicdomain.html", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/public-domain", - "spdx_license_key": "", - "spdx_url": "", - "start_line": 1692, - "end_line": 1692, - "matched_rule": { - "identifier": "public-domain_79.RULE", - "license_expression": "public-domain", - "licenses": [ - "public-domain" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "public-domain", - "public-domain" - ], - "holders": [], - "copyrights": [], - "authors": [ - { - "value": "Bela Ban", - "start_line": 35, - "end_line": 38 - }, - { - "value": "Robert Harder", - "start_line": 1698, - "end_line": 1700 - }, - { - "value": "rob@iharder.net", - "start_line": 1698, - "end_line": 1700 - } - ], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib", - "type": "directory", - "name": "zlib", - "base_name": "zlib", - "extension": "", - "size": 0, - "date": null, - "sha1": null, - "md5": null, - "mime_type": null, - "file_type": null, - "programming_language": null, - "is_binary": false, - "is_text": false, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": true, - "files_count": 16, - "dirs_count": 5, - "size_count": 268762, - "scan_errors": [] - }, - { - "path": "samples/zlib/adler32.c", - "type": "file", - "name": "adler32.c", - "base_name": "adler32", - "extension": ".c", - "size": 4968, - "date": "2017-10-26", - "sha1": "0cff4808476ce0b5f6f0ebbc69ee2ab2a0eebe43", - "md5": "ae3bbb54820e1d49fb90cbba222e973f", - "mime_type": "text/x-c", - "file_type": "C source, ASCII text", - "programming_language": "C", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "zlib", - "score": 70.0, - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib", - "start_line": 3, - "end_line": 3, - "matched_rule": { - "identifier": "zlib_5.RULE", - "license_expression": "zlib", - "licenses": [ - "zlib" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "zlib" - ], - "holders": [ - { - "value": "Mark Adler", - "start_line": 2, - "end_line": 3 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 1995-2011 Mark Adler", - "start_line": 2, - "end_line": 3 - } - ], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib/deflate.c", - "type": "file", - "name": "deflate.c", - "base_name": "deflate", - "extension": ".c", - "size": 71476, - "date": "2017-10-26", - "sha1": "7b4ace6d698c5dbbfb9a8f047f63228ca54d2e77", - "md5": "cd7826278ce9d9d9ed5abdefef50c3e2", - "mime_type": "text/x-c", - "file_type": "C source, ASCII text", - "programming_language": "C", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "zlib", - "score": 70.0, - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib", - "start_line": 3, - "end_line": 3, - "matched_rule": { - "identifier": "zlib_5.RULE", - "license_expression": "zlib", - "licenses": [ - "zlib" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "zlib" - ], - "holders": [ - { - "value": "Jean-loup Gailly and Mark Adler", - "start_line": 2, - "end_line": 3 - }, - { - "value": "Jean-loup Gailly and Mark Adler", - "start_line": 54, - "end_line": 55 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", - "start_line": 2, - "end_line": 3 - }, - { - "value": "Copyright 1995-2013 Jean-loup Gailly and Mark Adler", - "start_line": 54, - "end_line": 55 - } - ], - "authors": [ - { - "value": "Leonid Broukhis.", - "start_line": 34, - "end_line": 35 - } - ], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib/deflate.h", - "type": "file", - "name": "deflate.h", - "base_name": "deflate", - "extension": ".h", - "size": 12774, - "date": "2017-10-26", - "sha1": "29ed3b8ca3927576e5889dea5880ca0052942c7d", - "md5": "7ceae74a13201f14c91623116af169c3", - "mime_type": "text/x-c", - "file_type": "C source, ASCII text", - "programming_language": "C", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "zlib", - "score": 70.0, - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib", - "start_line": 3, - "end_line": 3, - "matched_rule": { - "identifier": "zlib_5.RULE", - "license_expression": "zlib", - "licenses": [ - "zlib" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false - } - }, - { - "key": "zlib", - "score": 100.0, - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib", - "start_line": 93, - "end_line": 94, - "matched_rule": { - "identifier": "zlib_21.RULE", - "license_expression": "zlib", - "licenses": [ - "zlib" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "zlib", - "zlib" - ], - "holders": [ - { - "value": "Jean-loup Gailly", - "start_line": 2, - "end_line": 3 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 1995-2012 Jean-loup Gailly", - "start_line": 2, - "end_line": 3 - } - ], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib/zlib.h", - "type": "file", - "name": "zlib.h", - "base_name": "zlib", - "extension": ".h", - "size": 87883, - "date": "2017-10-26", - "sha1": "400d35465f179a4acacb5fe749e6ce20a0bbdb84", - "md5": "64d8a5180bd54ff5452886e4cbb21e14", - "mime_type": "text/x-c", - "file_type": "C source, ASCII text", - "programming_language": "C", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "zlib", - "score": 100.0, - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib", - "start_line": 6, - "end_line": 23, - "matched_rule": { - "identifier": "zlib_17.RULE", - "license_expression": "zlib", - "licenses": [ - "zlib" - ], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "zlib" - ], - "holders": [ - { - "value": "Jean-loup Gailly and Mark Adler", - "start_line": 4, - "end_line": 4 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", - "start_line": 4, - "end_line": 4 - } - ], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib/zutil.c", - "type": "file", - "name": "zutil.c", - "base_name": "zutil", - "extension": ".c", - "size": 7414, - "date": "2017-10-26", - "sha1": "e1af709bff21ae0d4331119a7fc4c19f82932043", - "md5": "fff257bc1656eb60fc585a7dc35f963d", - "mime_type": "text/x-c", - "file_type": "C source, ASCII text", - "programming_language": "C", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "zlib", - "score": 70.0, - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib", - "start_line": 3, - "end_line": 3, - "matched_rule": { - "identifier": "zlib_5.RULE", - "license_expression": "zlib", - "licenses": [ - "zlib" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "zlib" - ], - "holders": [ - { - "value": "Jean-loup Gailly.", - "start_line": 2, - "end_line": 3 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 1995-2005, 2010, 2011, 2012 Jean-loup Gailly.", - "start_line": 2, - "end_line": 3 - } - ], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib/zutil.h", - "type": "file", - "name": "zutil.h", - "base_name": "zutil", - "extension": ".h", - "size": 6766, - "date": "2017-10-26", - "sha1": "b909d27ef9ce51639f76b7ea6b62721e7d1b6bf7", - "md5": "04fcfbb961591c9452c4d0fd1525ffdf", - "mime_type": "text/x-c", - "file_type": "C source, ASCII text", - "programming_language": "C", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "zlib", - "score": 70.0, - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib", - "start_line": 3, - "end_line": 3, - "matched_rule": { - "identifier": "zlib_5.RULE", - "license_expression": "zlib", - "licenses": [ - "zlib" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "zlib" - ], - "holders": [ - { - "value": "Jean-loup Gailly.", - "start_line": 2, - "end_line": 3 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 1995-2013 Jean-loup Gailly.", - "start_line": 2, - "end_line": 3 - } - ], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib/ada", - "type": "directory", - "name": "ada", - "base_name": "ada", - "extension": "", - "size": 0, - "date": null, - "sha1": null, - "md5": null, - "mime_type": null, - "file_type": null, - "programming_language": null, - "is_binary": false, - "is_text": false, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 1, - "dirs_count": 0, - "size_count": 13594, - "scan_errors": [] - }, - { - "path": "samples/zlib/ada/zlib.ads", - "type": "file", - "name": "zlib.ads", - "base_name": "zlib", - "extension": ".ads", - "size": 13594, - "date": "2017-10-26", - "sha1": "0245a91806d804bf9f0907a3a001a141e9adb61b", - "md5": "71de2670f2e588b51c62e7f6a9046399", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "Ada", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "gpl-2.0-plus", - "score": 100.0, - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later", - "start_line": 6, - "end_line": 25, - "matched_rule": { - "identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", - "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "licenses": [ - "gpl-2.0-plus", - "ada-linking-exception" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false - } - }, - { - "key": "ada-linking-exception", - "score": 100.0, - "name": "Ada linking exception to GPL 2.0 or later", - "short_name": "Ada linking exception to GPL 2.0 or later", - "category": "Copyleft Limited", - "is_exception": true, - "owner": "Dmitriy Anisimkov", - "homepage_url": "", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/ada-linking-exception", - "spdx_license_key": "", - "spdx_url": "", - "start_line": 6, - "end_line": 25, - "matched_rule": { - "identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", - "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "licenses": [ - "gpl-2.0-plus", - "ada-linking-exception" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "gpl-2.0-plus WITH ada-linking-exception" - ], - "holders": [ - { - "value": "Dmitriy Anisimkov", - "start_line": 4, - "end_line": 4 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 2002-2004 Dmitriy Anisimkov", - "start_line": 4, - "end_line": 4 - } - ], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib/dotzlib", - "type": "directory", - "name": "dotzlib", - "base_name": "dotzlib", - "extension": "", - "size": 0, - "date": null, - "sha1": null, - "md5": null, - "mime_type": null, - "file_type": null, - "programming_language": null, - "is_binary": false, - "is_text": false, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 4, - "dirs_count": 0, - "size_count": 14257, - "scan_errors": [] - }, - { - "path": "samples/zlib/dotzlib/AssemblyInfo.cs", - "type": "file", - "name": "AssemblyInfo.cs", - "base_name": "AssemblyInfo", - "extension": ".cs", - "size": 2500, - "date": "2017-10-26", - "sha1": "9f1db1177b2e9a014f72bb3cd80be17133e06d16", - "md5": "23d0d7c18846fc31655b6aa89b7c8038", - "mime_type": "text/plain", - "file_type": "ASCII text, with CRLF line terminators", - "programming_language": "C#", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [ - { - "value": "Henrik Ravn", - "start_line": 14, - "end_line": 16 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 2004 by Henrik Ravn", - "start_line": 14, - "end_line": 16 - } - ], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib/dotzlib/ChecksumImpl.cs", - "type": "file", - "name": "ChecksumImpl.cs", - "base_name": "ChecksumImpl", - "extension": ".cs", - "size": 8040, - "date": "2017-10-26", - "sha1": "3807a0e24a57b92ea301559cab7307b8eab52c51", - "md5": "d01b3cb2e75da9b15f05b92b42f6bd33", - "mime_type": "text/plain", - "file_type": "ISO-8859 text, with CRLF line terminators", - "programming_language": "C#", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "boost-1.0", - "score": 92.59, - "name": "Boost Software License 1.0", - "short_name": "Boost 1.0", - "category": "Permissive", - "is_exception": false, - "owner": "Boost", - "homepage_url": "http://www.boost.org/users/license.html", - "text_url": "http://www.boost.org/LICENSE_1_0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/boost-1.0", - "spdx_license_key": "BSL-1.0", - "spdx_url": "https://spdx.org/licenses/BSL-1.0", - "start_line": 4, - "end_line": 5, - "matched_rule": { - "identifier": "boost-1.0_1.RULE", - "license_expression": "boost-1.0", - "licenses": [ - "boost-1.0" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "boost-1.0" - ], - "holders": [ - { - "value": "Henrik Ravn", - "start_line": 2, - "end_line": 2 - } - ], - "copyrights": [ - { - "value": "(c) Copyright Henrik Ravn 2004", - "start_line": 2, - "end_line": 2 - } - ], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib/dotzlib/LICENSE_1_0.txt", - "type": "file", - "name": "LICENSE_1_0.txt", - "base_name": "LICENSE_1_0", - "extension": ".txt", - "size": 1359, - "date": "2017-10-26", - "sha1": "892b34f7865d90a6f949f50d95e49625a10bc7f0", - "md5": "81543b22c36f10d20ac9712f8d80ef8d", - "mime_type": "text/plain", - "file_type": "ASCII text, with CRLF line terminators", - "programming_language": null, - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [ - { - "key": "boost-1.0", - "score": 100.0, - "name": "Boost Software License 1.0", - "short_name": "Boost 1.0", - "category": "Permissive", - "is_exception": false, - "owner": "Boost", - "homepage_url": "http://www.boost.org/users/license.html", - "text_url": "http://www.boost.org/LICENSE_1_0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/boost-1.0", - "spdx_license_key": "BSL-1.0", - "spdx_url": "https://spdx.org/licenses/BSL-1.0", - "start_line": 1, - "end_line": 23, - "matched_rule": { - "identifier": "boost-1.0.LICENSE", - "license_expression": "boost-1.0", - "licenses": [ - "boost-1.0" - ], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "boost-1.0" - ], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": true, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib/dotzlib/readme.txt", - "type": "file", - "name": "readme.txt", - "base_name": "readme", - "extension": ".txt", - "size": 2358, - "date": "2017-10-26", - "sha1": "b1229b826f0096808628474538cea8fec2922a9b", - "md5": "1f20f3168ee63d90de033edac2ce383c", - "mime_type": "text/plain", - "file_type": "ASCII text, with CRLF line terminators", - "programming_language": null, - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [ - { - "key": "boost-1.0", - "score": 77.78, - "name": "Boost Software License 1.0", - "short_name": "Boost 1.0", - "category": "Permissive", - "is_exception": false, - "owner": "Boost", - "homepage_url": "http://www.boost.org/users/license.html", - "text_url": "http://www.boost.org/LICENSE_1_0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/boost-1.0", - "spdx_license_key": "BSL-1.0", - "spdx_url": "https://spdx.org/licenses/BSL-1.0", - "start_line": 57, - "end_line": 58, - "matched_rule": { - "identifier": "boost-1.0_1.RULE", - "license_expression": "boost-1.0", - "licenses": [ - "boost-1.0" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "boost-1.0" - ], - "holders": [ - { - "value": "Henrik Ravn", - "start_line": 55, - "end_line": 55 - } - ], - "copyrights": [ - { - "value": "Copyright (c) Henrik Ravn 2004", - "start_line": 55, - "end_line": 55 - } - ], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": true, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib/gcc_gvmat64", - "type": "directory", - "name": "gcc_gvmat64", - "base_name": "gcc_gvmat64", - "extension": "", - "size": 0, - "date": null, - "sha1": null, - "md5": null, - "mime_type": null, - "file_type": null, - "programming_language": null, - "is_binary": false, - "is_text": false, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 1, - "dirs_count": 0, - "size_count": 16413, - "scan_errors": [] - }, - { - "path": "samples/zlib/gcc_gvmat64/gvmat64.S", - "type": "file", - "name": "gvmat64.S", - "base_name": "gvmat64", - "extension": ".S", - "size": 16413, - "date": "2017-10-26", - "sha1": "742603cba1af98a1432cc02efb019b1a5760adf2", - "md5": "5e772d7302475e5473d0c4c57b9861e8", - "mime_type": "text/x-c", - "file_type": "C source, ASCII text, with CRLF line terminators", - "programming_language": "GAS", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "zlib", - "score": 100.0, - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib", - "start_line": 17, - "end_line": 31, - "matched_rule": { - "identifier": "zlib.LICENSE", - "license_expression": "zlib", - "licenses": [ - "zlib" - ], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "zlib" - ], - "holders": [ - { - "value": "Jean-loup Gailly, Brian Raiter and Gilles Vollant.", - "start_line": 10, - "end_line": 10 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 1995-2010 Jean-loup Gailly, Brian Raiter and Gilles Vollant.", - "start_line": 10, - "end_line": 10 - } - ], - "authors": [ - { - "value": "Gilles Vollant", - "start_line": 12, - "end_line": 15 - } - ], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib/infback9", - "type": "directory", - "name": "infback9", - "base_name": "infback9", - "extension": "", - "size": 0, - "date": null, - "sha1": null, - "md5": null, - "mime_type": null, - "file_type": null, - "programming_language": null, - "is_binary": false, - "is_text": false, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 2, - "dirs_count": 0, - "size_count": 23223, - "scan_errors": [] - }, - { - "path": "samples/zlib/infback9/infback9.c", - "type": "file", - "name": "infback9.c", - "base_name": "infback9", - "extension": ".c", - "size": 21629, - "date": "2017-10-26", - "sha1": "17fb362c03755b12f2dda5b12a68cf38162674bd", - "md5": "23ff5edec0817da303cb1294c1e4205c", - "mime_type": "text/x-c", - "file_type": "C source, ASCII text", - "programming_language": "C", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "zlib", - "score": 70.0, - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib", - "start_line": 3, - "end_line": 3, - "matched_rule": { - "identifier": "zlib_5.RULE", - "license_expression": "zlib", - "licenses": [ - "zlib" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "zlib" - ], - "holders": [ - { - "value": "Mark Adler", - "start_line": 2, - "end_line": 3 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 1995-2008 Mark Adler", - "start_line": 2, - "end_line": 3 - } - ], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib/infback9/infback9.h", - "type": "file", - "name": "infback9.h", - "base_name": "infback9", - "extension": ".h", - "size": 1594, - "date": "2017-10-26", - "sha1": "d0486a32b558dcaceded5f0746fad62e680a4734", - "md5": "52b1ed99960d3ed7ed60cd20295e64a8", - "mime_type": "text/x-c", - "file_type": "C source, ASCII text", - "programming_language": "C", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "zlib", - "score": 70.0, - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib", - "start_line": 3, - "end_line": 3, - "matched_rule": { - "identifier": "zlib_5.RULE", - "license_expression": "zlib", - "licenses": [ - "zlib" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "zlib" - ], - "holders": [ - { - "value": "Mark Adler", - "start_line": 2, - "end_line": 3 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 2003 Mark Adler", - "start_line": 2, - "end_line": 3 - } - ], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib/iostream2", - "type": "directory", - "name": "iostream2", - "base_name": "iostream2", - "extension": "", - "size": 0, - "date": null, - "sha1": null, - "md5": null, - "mime_type": null, - "file_type": null, - "programming_language": null, - "is_binary": false, - "is_text": false, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 2, - "dirs_count": 0, - "size_count": 9994, - "scan_errors": [] - }, - { - "path": "samples/zlib/iostream2/zstream.h", - "type": "file", - "name": "zstream.h", - "base_name": "zstream", - "extension": ".h", - "size": 9283, - "date": "2017-10-26", - "sha1": "fca4540d490fff36bb90fd801cf9cd8fc695bb17", - "md5": "a980b61c1e8be68d5cdb1236ba6b43e7", - "mime_type": "text/x-c++", - "file_type": "C++ source, ASCII text", - "programming_language": "C", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "cmr-no", - "score": 100.0, - "name": "Christian Michelsen Research AS License", - "short_name": "CMR License", - "category": "Permissive", - "is_exception": false, - "owner": "CMR - Christian Michelsen Research AS", - "homepage_url": "", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/cmr-no", - "spdx_license_key": "", - "spdx_url": "", - "start_line": 9, - "end_line": 15, - "matched_rule": { - "identifier": "cmr-no.LICENSE", - "license_expression": "cmr-no", - "licenses": [ - "cmr-no" - ], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "cmr-no" - ], - "holders": [ - { - "value": "Christian Michelsen Research AS Advanced Computing", - "start_line": 3, - "end_line": 5 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 1997 Christian Michelsen Research AS Advanced Computing", - "start_line": 3, - "end_line": 5 - } - ], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib/iostream2/zstream_test.cpp", - "type": "file", - "name": "zstream_test.cpp", - "base_name": "zstream_test", - "extension": ".cpp", - "size": 711, - "date": "2017-10-26", - "sha1": "e18a6d55cbbd8b832f8d795530553467e5c74fcf", - "md5": "d32476bde4e6d5f889092fdff6f8cdb0", - "mime_type": "text/x-c", - "file_type": "C source, ASCII text", - "programming_language": "C++", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - } - ] -} diff --git a/tests/formattedcode/data/json/summaries/codebase_with_summaries2.json b/tests/formattedcode/data/json/summaries/codebase_with_summaries2.json deleted file mode 100644 index 97c1afaf82d..00000000000 --- a/tests/formattedcode/data/json/summaries/codebase_with_summaries2.json +++ /dev/null @@ -1,2999 +0,0 @@ -{ - "summary": { - "license_expressions": [ - { - "value": "zlib", - "count": 10 - }, - { - "value": null, - "count": 7 - }, - { - "value": "lgpl-2.1-plus", - "count": 5 - }, - { - "value": "boost-1.0", - "count": 3 - }, - { - "value": "public-domain", - "count": 2 - }, - { - "value": "apache-1.1", - "count": 1 - }, - { - "value": "apache-2.0", - "count": 1 - }, - { - "value": "cc-by-2.5", - "count": 1 - }, - { - "value": "cmr-no", - "count": 1 - }, - { - "value": "cpl-1.0", - "count": 1 - }, - { - "value": "gpl-2.0-plus WITH ada-linking-exception", - "count": 1 - }, - { - "value": "jboss-eula", - "count": 1 - }, - { - "value": "mit", - "count": 1 - } - ], - "copyrights": [ - { - "value": null, - "count": 10 - }, - { - "value": "Copyright (c) Jean-loup Gailly", - "count": 3 - }, - { - "value": "Copyright (c) Jean-loup Gailly and Mark Adler", - "count": 3 - }, - { - "value": "Copyright (c) Mark Adler", - "count": 3 - }, - { - "value": "(c) Copyright Henrik Ravn", - "count": 2 - }, - { - "value": "Copyright (c) Free Software Foundation, Inc.", - "count": 2 - }, - { - "value": "copyrighted by the Free Software Foundation", - "count": 2 - }, - { - "value": "Copyright (c) - The Legion Of The Bouncy Castle (http://www.bouncycastle.org)", - "count": 1 - }, - { - "value": "Copyright (c) Brian Goetz and Tim Peierls", - "count": 1 - }, - { - "value": "Copyright (c) Christian Michelsen Research AS Advanced Computing", - "count": 1 - }, - { - "value": "Copyright (c) Dmitriy Anisimkov", - "count": 1 - }, - { - "value": "Copyright (c) Jean-loup Gailly, Brian Raiter and Gilles Vollant.", - "count": 1 - }, - { - "value": "Copyright (c) The Apache Software Foundation.", - "count": 1 - }, - { - "value": "Copyright (c) by Henrik Ravn", - "count": 1 - }, - { - "value": "Copyright JBoss Inc., and individual contributors", - "count": 1 - }, - { - "value": "Copyright Red Hat Middleware LLC, and individual contributors", - "count": 1 - }, - { - "value": "Copyright Red Hat, Inc.", - "count": 1 - }, - { - "value": "Copyright Red Hat, Inc. and individual contributors", - "count": 1 - } - ], - "holders": [ - { - "value": null, - "count": 10 - }, - { - "value": "Free Software Foundation, Inc.", - "count": 4 - }, - { - "value": "Henrik Ravn", - "count": 3 - }, - { - "value": "Jean-loup Gailly", - "count": 3 - }, - { - "value": "Jean-loup Gailly and Mark Adler", - "count": 3 - }, - { - "value": "Mark Adler", - "count": 3 - }, - { - "value": "Brian Goetz and Tim Peierls", - "count": 1 - }, - { - "value": "Christian Michelsen Research AS Advanced Computing", - "count": 1 - }, - { - "value": "Dmitriy Anisimkov", - "count": 1 - }, - { - "value": "JBoss Inc., and individual contributors", - "count": 1 - }, - { - "value": "Jean-loup Gailly, Brian Raiter and Gilles Vollant.", - "count": 1 - }, - { - "value": "Red Hat Middleware LLC, and individual contributors", - "count": 1 - }, - { - "value": "Red Hat, Inc.", - "count": 1 - }, - { - "value": "Red Hat, Inc. and individual contributors", - "count": 1 - }, - { - "value": "The Apache Software Foundation.", - "count": 1 - }, - { - "value": "The Legion Of The Bouncy Castle", - "count": 1 - } - ], - "authors": [ - { - "value": null, - "count": 24 - }, - { - "value": "Bela Ban", - "count": 4 - }, - { - "value": "Brian Stansberry", - "count": 1 - }, - { - "value": "Chris Mills (millsy@jboss.com)", - "count": 1 - }, - { - "value": "Gilles Vollant", - "count": 1 - }, - { - "value": "Leonid Broukhis.", - "count": 1 - }, - { - "value": "Robert Harder", - "count": 1 - }, - { - "value": "rob@iharder.net", - "count": 1 - }, - { - "value": "the Apache Software Foundation (http://www.apache.org/).", - "count": 1 - } - ], - "programming_language": [ - { - "value": null, - "count": 11 - }, - { - "value": "C", - "count": 9 - }, - { - "value": "Java", - "count": 7 - }, - { - "value": "C#", - "count": 2 - }, - { - "value": "Ada", - "count": 1 - }, - { - "value": "C++", - "count": 1 - }, - { - "value": "GAS", - "count": 1 - }, - { - "value": "JavaScript+Lasso", - "count": 1 - } - ] - }, - "license_score": { - "score": 13, - "has_top_level_declared_licenses": false, - "file_level_license_and_copyright_coverage": 0.53125, - "has_consistent_key_and_file_level_license": false, - "has_all_spdx_licenses": false, - "has_all_license_texts": false - }, - "summary_of_key_files": { - "license_expressions": [ - { - "value": null, - "count": 1 - } - ], - "copyrights": [ - { - "value": null, - "count": 1 - } - ], - "holders": [ - { - "value": null, - "count": 1 - } - ], - "authors": [ - { - "value": null, - "count": 1 - } - ], - "programming_language": [ - { - "value": null, - "count": 1 - } - ] - }, - "files": [ - { - "path": "samples", - "type": "directory", - "name": "samples", - "base_name": "samples", - "extension": "", - "size": 0, - "date": null, - "sha1": null, - "md5": null, - "mime_type": null, - "file_type": null, - "programming_language": null, - "is_binary": false, - "is_text": false, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": true, - "files_count": 33, - "dirs_count": 10, - "size_count": 1161083, - "scan_errors": [] - }, - { - "path": "samples/README", - "type": "file", - "name": "README", - "base_name": "README", - "extension": "", - "size": 236, - "date": "2017-10-26", - "sha1": "2e07e32c52d607204fad196052d70e3d18fb8636", - "md5": "effc6856ef85a9250fb1a470792b3f38", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": null, - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": true, - "is_top_level": true, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/screenshot.png", - "type": "file", - "name": "screenshot.png", - "base_name": "screenshot", - "extension": ".png", - "size": 622754, - "date": "2017-10-26", - "sha1": "01ff4b1de0bc6c75c9cca6e46c80c1802d6976d4", - "md5": "b6ef5a90777147423c98b42a6a25e57a", - "mime_type": "image/png", - "file_type": "PNG image data, 2880 x 1666, 8-bit/color RGB, non-interlaced", - "programming_language": null, - "is_binary": true, - "is_text": false, - "is_archive": false, - "is_media": true, - "is_source": false, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": true, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/arch", - "type": "directory", - "name": "arch", - "base_name": "arch", - "extension": "", - "size": 0, - "date": null, - "sha1": null, - "md5": null, - "mime_type": null, - "file_type": null, - "programming_language": null, - "is_binary": false, - "is_text": false, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": true, - "files_count": 1, - "dirs_count": 0, - "size_count": 28103, - "scan_errors": [] - }, - { - "path": "samples/arch/zlib.tar.gz", - "type": "file", - "name": "zlib.tar.gz", - "base_name": "zlib", - "extension": ".tar.gz", - "size": 28103, - "date": "2017-10-26", - "sha1": "576f0ccfe534d7f5ff5d6400078d3c6586de3abd", - "md5": "20b2370751abfc08bb3556c1d8114b5a", - "mime_type": "application/gzip", - "file_type": "gzip compressed data, last modified: Wed Jul 15 09:08:19 2015, from Unix", - "programming_language": null, - "is_binary": true, - "is_text": false, - "is_archive": true, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/JGroups", - "type": "directory", - "name": "JGroups", - "base_name": "JGroups", - "extension": "", - "size": 0, - "date": null, - "sha1": null, - "md5": null, - "mime_type": null, - "file_type": null, - "programming_language": null, - "is_binary": false, - "is_text": false, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": true, - "files_count": 14, - "dirs_count": 2, - "size_count": 241228, - "scan_errors": [] - }, - { - "path": "samples/JGroups/EULA", - "type": "file", - "name": "EULA", - "base_name": "EULA", - "extension": "", - "size": 8156, - "date": "2017-10-26", - "sha1": "eb232aa0424eca9c4136904e6143b72aaa9cf4de", - "md5": "0be0aceb8296727efff0ac0bf8e6bdb3", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "JavaScript+Lasso", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "jboss-eula", - "score": 100.0, - "name": "JBoss EULA", - "short_name": "JBoss EULA", - "category": "Proprietary Free", - "is_exception": false, - "owner": "JBoss Community", - "homepage_url": "", - "text_url": "http://repository.jboss.org/licenses/jbossorg-eula.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/jboss-eula", - "spdx_license_key": "", - "spdx_url": "", - "start_line": 3, - "end_line": 108, - "matched_rule": { - "identifier": "jboss-eula.LICENSE", - "license_expression": "jboss-eula", - "licenses": [ - "jboss-eula" - ], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "jboss-eula" - ], - "holders": [ - { - "value": "Red Hat, Inc.", - "start_line": 104, - "end_line": 104 - } - ], - "copyrights": [ - { - "value": "Copyright 2006 Red Hat, Inc.", - "start_line": 104, - "end_line": 104 - } - ], - "authors": [], - "is_legal": true, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/JGroups/LICENSE", - "type": "file", - "name": "LICENSE", - "base_name": "LICENSE", - "extension": "", - "size": 26430, - "date": "2017-10-26", - "sha1": "e60c2e780886f95df9c9ee36992b8edabec00bcc", - "md5": "7fbc338309ac38fefcd64b04bb903e34", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": null, - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [ - { - "key": "lgpl-2.1-plus", - "score": 100.0, - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later", - "start_line": 1, - "end_line": 502, - "matched_rule": { - "identifier": "lgpl-2.1-plus_2.RULE", - "license_expression": "lgpl-2.1-plus", - "licenses": [ - "lgpl-2.1-plus" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "lgpl-2.1-plus" - ], - "holders": [ - { - "value": "Free Software Foundation, Inc.", - "start_line": 4, - "end_line": 6 - }, - { - "value": "the Free Software Foundation", - "start_line": 428, - "end_line": 433 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 1991, 1999 Free Software Foundation, Inc.", - "start_line": 4, - "end_line": 6 - }, - { - "value": "copyrighted by the Free Software Foundation", - "start_line": 428, - "end_line": 433 - } - ], - "authors": [], - "is_legal": true, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/JGroups/licenses", - "type": "directory", - "name": "licenses", - "base_name": "licenses", - "extension": "", - "size": 0, - "date": null, - "sha1": null, - "md5": null, - "mime_type": null, - "file_type": null, - "programming_language": null, - "is_binary": false, - "is_text": false, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 5, - "dirs_count": 0, - "size_count": 54552, - "scan_errors": [] - }, - { - "path": "samples/JGroups/licenses/apache-1.1.txt", - "type": "file", - "name": "apache-1.1.txt", - "base_name": "apache-1.1", - "extension": ".txt", - "size": 2885, - "date": "2017-10-26", - "sha1": "6b5608d35c3e304532af43db8bbfc5947bef46a6", - "md5": "276982197c941f4cbf3d218546e17ae2", - "mime_type": "text/plain", - "file_type": "ASCII text, with CRLF line terminators", - "programming_language": null, - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [ - { - "key": "apache-1.1", - "score": 100.0, - "name": "Apache License 1.1", - "short_name": "Apache 1.1", - "category": "Permissive", - "is_exception": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://apache.org/licenses/LICENSE-1.1", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-1.1", - "spdx_license_key": "Apache-1.1", - "spdx_url": "https://spdx.org/licenses/Apache-1.1", - "start_line": 2, - "end_line": 56, - "matched_rule": { - "identifier": "apache-1.1.SPDX.RULE", - "license_expression": "apache-1.1", - "licenses": [ - "apache-1.1" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "apache-1.1" - ], - "holders": [ - { - "value": "The Apache Software Foundation.", - "start_line": 4, - "end_line": 5 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 2000 The Apache Software Foundation.", - "start_line": 4, - "end_line": 5 - } - ], - "authors": [ - { - "value": "the Apache Software Foundation (http://www.apache.org/).", - "start_line": 21, - "end_line": 23 - } - ], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/JGroups/licenses/apache-2.0.txt", - "type": "file", - "name": "apache-2.0.txt", - "base_name": "apache-2.0", - "extension": ".txt", - "size": 11560, - "date": "2017-10-26", - "sha1": "47b573e3824cd5e02a1a3ae99e2735b49e0256e4", - "md5": "d273d63619c9aeaf15cdaf76422c4f87", - "mime_type": "text/plain", - "file_type": "ASCII text, with CRLF line terminators", - "programming_language": null, - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [ - { - "key": "apache-2.0", - "score": 100.0, - "name": "Apache License 2.0", - "short_name": "Apache 2.0", - "category": "Permissive", - "is_exception": false, - "owner": "Apache Software Foundation", - "homepage_url": "http://www.apache.org/licenses/", - "text_url": "http://www.apache.org/licenses/LICENSE-2.0", - "reference_url": "https://scancode-licensedb.aboutcode.org/apache-2.0", - "spdx_license_key": "Apache-2.0", - "spdx_url": "https://spdx.org/licenses/Apache-2.0", - "start_line": 2, - "end_line": 202, - "matched_rule": { - "identifier": "apache-2.0.LICENSE", - "license_expression": "apache-2.0", - "licenses": [ - "apache-2.0" - ], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "apache-2.0" - ], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/JGroups/licenses/bouncycastle.txt", - "type": "file", - "name": "bouncycastle.txt", - "base_name": "bouncycastle", - "extension": ".txt", - "size": 1186, - "date": "2017-10-26", - "sha1": "74facb0e9a734479f9cd893b5be3fe1bf651b760", - "md5": "9fffd8de865a5705969f62b128381f85", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": null, - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [ - { - "key": "mit", - "score": 98.8, - "name": "MIT License", - "short_name": "MIT License", - "category": "Permissive", - "is_exception": false, - "owner": "MIT", - "homepage_url": "http://opensource.org/licenses/mit-license.php", - "text_url": "http://opensource.org/licenses/mit-license.php", - "reference_url": "https://scancode-licensedb.aboutcode.org/mit", - "spdx_license_key": "MIT", - "spdx_url": "https://spdx.org/licenses/MIT", - "start_line": 3, - "end_line": 18, - "matched_rule": { - "identifier": "mit_160.RULE", - "license_expression": "mit", - "licenses": [ - "mit" - ], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "mit" - ], - "holders": [ - { - "value": "The Legion Of The Bouncy Castle", - "start_line": 5, - "end_line": 5 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 2000 - 2006 The Legion Of The Bouncy Castle (http://www.bouncycastle.org)", - "start_line": 5, - "end_line": 5 - } - ], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/JGroups/licenses/cpl-1.0.txt", - "type": "file", - "name": "cpl-1.0.txt", - "base_name": "cpl-1.0", - "extension": ".txt", - "size": 11987, - "date": "2017-10-26", - "sha1": "681cf776bcd79752543d42490ec7ed22a29fd888", - "md5": "9a6d2c9ae73d59eb3dd38e3909750d14", - "mime_type": "text/plain", - "file_type": "ASCII text, with CRLF line terminators", - "programming_language": null, - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [ - { - "key": "cpl-1.0", - "score": 99.94, - "name": "Common Public License 1.0", - "short_name": "CPL 1.0", - "category": "Copyleft Limited", - "is_exception": false, - "owner": "IBM", - "homepage_url": "http://www.eclipse.org/legal/cpl-v10.html", - "text_url": "http://www.eclipse.org/legal/cpl-v10.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/cpl-1.0", - "spdx_license_key": "CPL-1.0", - "spdx_url": "https://spdx.org/licenses/CPL-1.0", - "start_line": 1, - "end_line": 212, - "matched_rule": { - "identifier": "cpl-1.0.SPDX.RULE", - "license_expression": "cpl-1.0", - "licenses": [ - "cpl-1.0" - ], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "cpl-1.0" - ], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/JGroups/licenses/lgpl.txt", - "type": "file", - "name": "lgpl.txt", - "base_name": "lgpl", - "extension": ".txt", - "size": 26934, - "date": "2017-10-26", - "sha1": "8f1a637d2e2ed1bdb9eb01a7dccb5c12cc0557e1", - "md5": "f14599a2f089f6ff8c97e2baa4e3d575", - "mime_type": "text/plain", - "file_type": "ASCII text, with CRLF line terminators", - "programming_language": null, - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [ - { - "key": "lgpl-2.1-plus", - "score": 100.0, - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later", - "start_line": 1, - "end_line": 502, - "matched_rule": { - "identifier": "lgpl-2.1-plus_2.RULE", - "license_expression": "lgpl-2.1-plus", - "licenses": [ - "lgpl-2.1-plus" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "lgpl-2.1-plus" - ], - "holders": [ - { - "value": "Free Software Foundation, Inc.", - "start_line": 4, - "end_line": 6 - }, - { - "value": "the Free Software Foundation", - "start_line": 428, - "end_line": 433 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 1991, 1999 Free Software Foundation, Inc.", - "start_line": 4, - "end_line": 6 - }, - { - "value": "copyrighted by the Free Software Foundation", - "start_line": 428, - "end_line": 433 - } - ], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/JGroups/src", - "type": "directory", - "name": "src", - "base_name": "src", - "extension": "", - "size": 0, - "date": null, - "sha1": null, - "md5": null, - "mime_type": null, - "file_type": null, - "programming_language": null, - "is_binary": false, - "is_text": false, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 7, - "dirs_count": 0, - "size_count": 152090, - "scan_errors": [] - }, - { - "path": "samples/JGroups/src/FixedMembershipToken.java", - "type": "file", - "name": "FixedMembershipToken.java", - "base_name": "FixedMembershipToken", - "extension": ".java", - "size": 5144, - "date": "2017-10-26", - "sha1": "5901f73dcc78155a1a2c7b5663a3a11fba400b19", - "md5": "aca9640ec8beee21b098bcf8ecc91442", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "Java", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "lgpl-2.1-plus", - "score": 100.0, - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later", - "start_line": 7, - "end_line": 20, - "matched_rule": { - "identifier": "lgpl-2.1-plus_59.RULE", - "license_expression": "lgpl-2.1-plus", - "licenses": [ - "lgpl-2.1-plus" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "lgpl-2.1-plus" - ], - "holders": [ - { - "value": "JBoss Inc., and individual contributors", - "start_line": 3, - "end_line": 5 - } - ], - "copyrights": [ - { - "value": "Copyright 2005, JBoss Inc., and individual contributors", - "start_line": 3, - "end_line": 5 - } - ], - "authors": [ - { - "value": "Chris Mills (millsy@jboss.com)", - "start_line": 51, - "end_line": 51 - } - ], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/JGroups/src/GuardedBy.java", - "type": "file", - "name": "GuardedBy.java", - "base_name": "GuardedBy", - "extension": ".java", - "size": 813, - "date": "2017-10-26", - "sha1": "981d67087e65e9a44957c026d4b10817cf77d966", - "md5": "c5064400f759d3e81771005051d17dc1", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "Java", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "cc-by-2.5", - "score": 82.0, - "name": "Creative Commons Attribution License 2.5", - "short_name": "CC-BY-2.5", - "category": "Permissive", - "is_exception": false, - "owner": "Creative Commons", - "homepage_url": "http://creativecommons.org/licenses/by/2.5/", - "text_url": "http://creativecommons.org/licenses/by/2.5/legalcode", - "reference_url": "https://scancode-licensedb.aboutcode.org/cc-by-2.5", - "spdx_license_key": "CC-BY-2.5", - "spdx_url": "https://spdx.org/licenses/CC-BY-2.5", - "start_line": 10, - "end_line": 11, - "matched_rule": { - "identifier": "cc-by-2.5_4.RULE", - "license_expression": "cc-by-2.5", - "licenses": [ - "cc-by-2.5" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "cc-by-2.5" - ], - "holders": [ - { - "value": "Brian Goetz and Tim Peierls", - "start_line": 9, - "end_line": 11 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 2005 Brian Goetz and Tim Peierls", - "start_line": 9, - "end_line": 11 - } - ], - "authors": [ - { - "value": "Bela Ban", - "start_line": 15, - "end_line": 17 - } - ], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/JGroups/src/ImmutableReference.java", - "type": "file", - "name": "ImmutableReference.java", - "base_name": "ImmutableReference", - "extension": ".java", - "size": 1838, - "date": "2017-10-26", - "sha1": "30f56b876d5576d9869e2c5c509b08db57110592", - "md5": "48ca3c72fb9a65c771a321222f118b88", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "Java", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "lgpl-2.1-plus", - "score": 100.0, - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later", - "start_line": 7, - "end_line": 20, - "matched_rule": { - "identifier": "lgpl-2.1-plus_59.RULE", - "license_expression": "lgpl-2.1-plus", - "licenses": [ - "lgpl-2.1-plus" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "lgpl-2.1-plus" - ], - "holders": [ - { - "value": "Red Hat, Inc. and individual contributors", - "start_line": 3, - "end_line": 5 - } - ], - "copyrights": [ - { - "value": "Copyright 2010, Red Hat, Inc. and individual contributors", - "start_line": 3, - "end_line": 5 - } - ], - "authors": [ - { - "value": "Brian Stansberry", - "start_line": 29, - "end_line": 29 - } - ], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/JGroups/src/RATE_LIMITER.java", - "type": "file", - "name": "RATE_LIMITER.java", - "base_name": "RATE_LIMITER", - "extension": ".java", - "size": 3692, - "date": "2017-10-26", - "sha1": "a8087e5d50da3273536ebda9b87b77aa4ff55deb", - "md5": "4626bdbc48871b55513e1a12991c61a8", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "Java", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [ - { - "value": "Bela Ban", - "start_line": 16, - "end_line": 17 - } - ], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/JGroups/src/RouterStub.java", - "type": "file", - "name": "RouterStub.java", - "base_name": "RouterStub", - "extension": ".java", - "size": 9913, - "date": "2017-10-26", - "sha1": "c1f6818f8ee7bddcc9f444bc94c099729d716d52", - "md5": "eecfe23494acbcd8088c93bc1e83c7f2", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "Java", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [ - { - "value": "Bela Ban", - "start_line": 23, - "end_line": 24 - } - ], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/JGroups/src/RouterStubManager.java", - "type": "file", - "name": "RouterStubManager.java", - "base_name": "RouterStubManager", - "extension": ".java", - "size": 8162, - "date": "2017-10-26", - "sha1": "eb419dc94cfe11ca318a3e743a7f9f080e70c751", - "md5": "20bee9631b7c82a45c250e095352aec7", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "Java", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "lgpl-2.1-plus", - "score": 100.0, - "name": "GNU Lesser General Public License 2.1 or later", - "short_name": "LGPL 2.1 or later", - "category": "Copyleft Limited", - "is_exception": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus", - "spdx_license_key": "LGPL-2.1-or-later", - "spdx_url": "https://spdx.org/licenses/LGPL-2.1-or-later", - "start_line": 7, - "end_line": 20, - "matched_rule": { - "identifier": "lgpl-2.1-plus_59.RULE", - "license_expression": "lgpl-2.1-plus", - "licenses": [ - "lgpl-2.1-plus" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "lgpl-2.1-plus" - ], - "holders": [ - { - "value": "Red Hat Middleware LLC, and individual contributors", - "start_line": 3, - "end_line": 5 - } - ], - "copyrights": [ - { - "value": "Copyright 2009, Red Hat Middleware LLC, and individual contributors", - "start_line": 3, - "end_line": 5 - } - ], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/JGroups/src/S3_PING.java", - "type": "file", - "name": "S3_PING.java", - "base_name": "S3_PING", - "extension": ".java", - "size": 122528, - "date": "2017-10-26", - "sha1": "08dba9986f69719970ead3592dc565465164df0d", - "md5": "83d8324f37d0e3f120bc89865cf0bd39", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "Java", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "public-domain", - "score": 11.0, - "name": "Public Domain", - "short_name": "Public Domain", - "category": "Public Domain", - "is_exception": false, - "owner": "Unspecified", - "homepage_url": "http://www.linfo.org/publicdomain.html", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/public-domain", - "spdx_license_key": "", - "spdx_url": "", - "start_line": 1649, - "end_line": 1649, - "matched_rule": { - "identifier": "public-domain_79.RULE", - "license_expression": "public-domain", - "licenses": [ - "public-domain" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false - } - }, - { - "key": "public-domain", - "score": 11.0, - "name": "Public Domain", - "short_name": "Public Domain", - "category": "Public Domain", - "is_exception": false, - "owner": "Unspecified", - "homepage_url": "http://www.linfo.org/publicdomain.html", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/public-domain", - "spdx_license_key": "", - "spdx_url": "", - "start_line": 1692, - "end_line": 1692, - "matched_rule": { - "identifier": "public-domain_79.RULE", - "license_expression": "public-domain", - "licenses": [ - "public-domain" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "public-domain", - "public-domain" - ], - "holders": [], - "copyrights": [], - "authors": [ - { - "value": "Bela Ban", - "start_line": 35, - "end_line": 38 - }, - { - "value": "Robert Harder", - "start_line": 1698, - "end_line": 1700 - }, - { - "value": "rob@iharder.net", - "start_line": 1698, - "end_line": 1700 - } - ], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib", - "type": "directory", - "name": "zlib", - "base_name": "zlib", - "extension": "", - "size": 0, - "date": null, - "sha1": null, - "md5": null, - "mime_type": null, - "file_type": null, - "programming_language": null, - "is_binary": false, - "is_text": false, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": true, - "files_count": 16, - "dirs_count": 5, - "size_count": 268762, - "scan_errors": [] - }, - { - "path": "samples/zlib/adler32.c", - "type": "file", - "name": "adler32.c", - "base_name": "adler32", - "extension": ".c", - "size": 4968, - "date": "2017-10-26", - "sha1": "0cff4808476ce0b5f6f0ebbc69ee2ab2a0eebe43", - "md5": "ae3bbb54820e1d49fb90cbba222e973f", - "mime_type": "text/x-c", - "file_type": "C source, ASCII text", - "programming_language": "C", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "zlib", - "score": 70.0, - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib", - "start_line": 3, - "end_line": 3, - "matched_rule": { - "identifier": "zlib_5.RULE", - "license_expression": "zlib", - "licenses": [ - "zlib" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "zlib" - ], - "holders": [ - { - "value": "Mark Adler", - "start_line": 2, - "end_line": 3 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 1995-2011 Mark Adler", - "start_line": 2, - "end_line": 3 - } - ], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib/deflate.c", - "type": "file", - "name": "deflate.c", - "base_name": "deflate", - "extension": ".c", - "size": 71476, - "date": "2017-10-26", - "sha1": "7b4ace6d698c5dbbfb9a8f047f63228ca54d2e77", - "md5": "cd7826278ce9d9d9ed5abdefef50c3e2", - "mime_type": "text/x-c", - "file_type": "C source, ASCII text", - "programming_language": "C", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "zlib", - "score": 70.0, - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib", - "start_line": 3, - "end_line": 3, - "matched_rule": { - "identifier": "zlib_5.RULE", - "license_expression": "zlib", - "licenses": [ - "zlib" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "zlib" - ], - "holders": [ - { - "value": "Jean-loup Gailly and Mark Adler", - "start_line": 2, - "end_line": 3 - }, - { - "value": "Jean-loup Gailly and Mark Adler", - "start_line": 54, - "end_line": 55 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", - "start_line": 2, - "end_line": 3 - }, - { - "value": "Copyright 1995-2013 Jean-loup Gailly and Mark Adler", - "start_line": 54, - "end_line": 55 - } - ], - "authors": [ - { - "value": "Leonid Broukhis.", - "start_line": 34, - "end_line": 35 - } - ], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib/deflate.h", - "type": "file", - "name": "deflate.h", - "base_name": "deflate", - "extension": ".h", - "size": 12774, - "date": "2017-10-26", - "sha1": "29ed3b8ca3927576e5889dea5880ca0052942c7d", - "md5": "7ceae74a13201f14c91623116af169c3", - "mime_type": "text/x-c", - "file_type": "C source, ASCII text", - "programming_language": "C", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "zlib", - "score": 70.0, - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib", - "start_line": 3, - "end_line": 3, - "matched_rule": { - "identifier": "zlib_5.RULE", - "license_expression": "zlib", - "licenses": [ - "zlib" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false - } - }, - { - "key": "zlib", - "score": 100.0, - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib", - "start_line": 93, - "end_line": 94, - "matched_rule": { - "identifier": "zlib_21.RULE", - "license_expression": "zlib", - "licenses": [ - "zlib" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "zlib", - "zlib" - ], - "holders": [ - { - "value": "Jean-loup Gailly", - "start_line": 2, - "end_line": 3 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 1995-2012 Jean-loup Gailly", - "start_line": 2, - "end_line": 3 - } - ], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib/zlib.h", - "type": "file", - "name": "zlib.h", - "base_name": "zlib", - "extension": ".h", - "size": 87883, - "date": "2017-10-26", - "sha1": "400d35465f179a4acacb5fe749e6ce20a0bbdb84", - "md5": "64d8a5180bd54ff5452886e4cbb21e14", - "mime_type": "text/x-c", - "file_type": "C source, ASCII text", - "programming_language": "C", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "zlib", - "score": 100.0, - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib", - "start_line": 6, - "end_line": 23, - "matched_rule": { - "identifier": "zlib_17.RULE", - "license_expression": "zlib", - "licenses": [ - "zlib" - ], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "zlib" - ], - "holders": [ - { - "value": "Jean-loup Gailly and Mark Adler", - "start_line": 4, - "end_line": 4 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", - "start_line": 4, - "end_line": 4 - } - ], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib/zutil.c", - "type": "file", - "name": "zutil.c", - "base_name": "zutil", - "extension": ".c", - "size": 7414, - "date": "2017-10-26", - "sha1": "e1af709bff21ae0d4331119a7fc4c19f82932043", - "md5": "fff257bc1656eb60fc585a7dc35f963d", - "mime_type": "text/x-c", - "file_type": "C source, ASCII text", - "programming_language": "C", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "zlib", - "score": 70.0, - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib", - "start_line": 3, - "end_line": 3, - "matched_rule": { - "identifier": "zlib_5.RULE", - "license_expression": "zlib", - "licenses": [ - "zlib" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "zlib" - ], - "holders": [ - { - "value": "Jean-loup Gailly.", - "start_line": 2, - "end_line": 3 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 1995-2005, 2010, 2011, 2012 Jean-loup Gailly.", - "start_line": 2, - "end_line": 3 - } - ], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib/zutil.h", - "type": "file", - "name": "zutil.h", - "base_name": "zutil", - "extension": ".h", - "size": 6766, - "date": "2017-10-26", - "sha1": "b909d27ef9ce51639f76b7ea6b62721e7d1b6bf7", - "md5": "04fcfbb961591c9452c4d0fd1525ffdf", - "mime_type": "text/x-c", - "file_type": "C source, ASCII text", - "programming_language": "C", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "zlib", - "score": 70.0, - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib", - "start_line": 3, - "end_line": 3, - "matched_rule": { - "identifier": "zlib_5.RULE", - "license_expression": "zlib", - "licenses": [ - "zlib" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "zlib" - ], - "holders": [ - { - "value": "Jean-loup Gailly.", - "start_line": 2, - "end_line": 3 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 1995-2013 Jean-loup Gailly.", - "start_line": 2, - "end_line": 3 - } - ], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib/ada", - "type": "directory", - "name": "ada", - "base_name": "ada", - "extension": "", - "size": 0, - "date": null, - "sha1": null, - "md5": null, - "mime_type": null, - "file_type": null, - "programming_language": null, - "is_binary": false, - "is_text": false, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 1, - "dirs_count": 0, - "size_count": 13594, - "scan_errors": [] - }, - { - "path": "samples/zlib/ada/zlib.ads", - "type": "file", - "name": "zlib.ads", - "base_name": "zlib", - "extension": ".ads", - "size": 13594, - "date": "2017-10-26", - "sha1": "0245a91806d804bf9f0907a3a001a141e9adb61b", - "md5": "71de2670f2e588b51c62e7f6a9046399", - "mime_type": "text/plain", - "file_type": "ASCII text", - "programming_language": "Ada", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "gpl-2.0-plus", - "score": 100.0, - "name": "GNU General Public License 2.0 or later", - "short_name": "GPL 2.0 or later", - "category": "Copyleft", - "is_exception": false, - "owner": "Free Software Foundation (FSF)", - "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/gpl-2.0-plus", - "spdx_license_key": "GPL-2.0-or-later", - "spdx_url": "https://spdx.org/licenses/GPL-2.0-or-later", - "start_line": 6, - "end_line": 25, - "matched_rule": { - "identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", - "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "licenses": [ - "gpl-2.0-plus", - "ada-linking-exception" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false - } - }, - { - "key": "ada-linking-exception", - "score": 100.0, - "name": "Ada linking exception to GPL 2.0 or later", - "short_name": "Ada linking exception to GPL 2.0 or later", - "category": "Copyleft Limited", - "is_exception": true, - "owner": "Dmitriy Anisimkov", - "homepage_url": "", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/ada-linking-exception", - "spdx_license_key": "", - "spdx_url": "", - "start_line": 6, - "end_line": 25, - "matched_rule": { - "identifier": "gpl-2.0-plus_with_ada-linking-exception_1.RULE", - "license_expression": "gpl-2.0-plus WITH ada-linking-exception", - "licenses": [ - "gpl-2.0-plus", - "ada-linking-exception" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "gpl-2.0-plus WITH ada-linking-exception" - ], - "holders": [ - { - "value": "Dmitriy Anisimkov", - "start_line": 4, - "end_line": 4 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 2002-2004 Dmitriy Anisimkov", - "start_line": 4, - "end_line": 4 - } - ], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib/dotzlib", - "type": "directory", - "name": "dotzlib", - "base_name": "dotzlib", - "extension": "", - "size": 0, - "date": null, - "sha1": null, - "md5": null, - "mime_type": null, - "file_type": null, - "programming_language": null, - "is_binary": false, - "is_text": false, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 4, - "dirs_count": 0, - "size_count": 14257, - "scan_errors": [] - }, - { - "path": "samples/zlib/dotzlib/AssemblyInfo.cs", - "type": "file", - "name": "AssemblyInfo.cs", - "base_name": "AssemblyInfo", - "extension": ".cs", - "size": 2500, - "date": "2017-10-26", - "sha1": "9f1db1177b2e9a014f72bb3cd80be17133e06d16", - "md5": "23d0d7c18846fc31655b6aa89b7c8038", - "mime_type": "text/plain", - "file_type": "ASCII text, with CRLF line terminators", - "programming_language": "C#", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [ - { - "value": "Henrik Ravn", - "start_line": 14, - "end_line": 16 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 2004 by Henrik Ravn", - "start_line": 14, - "end_line": 16 - } - ], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib/dotzlib/ChecksumImpl.cs", - "type": "file", - "name": "ChecksumImpl.cs", - "base_name": "ChecksumImpl", - "extension": ".cs", - "size": 8040, - "date": "2017-10-26", - "sha1": "3807a0e24a57b92ea301559cab7307b8eab52c51", - "md5": "d01b3cb2e75da9b15f05b92b42f6bd33", - "mime_type": "text/plain", - "file_type": "ISO-8859 text, with CRLF line terminators", - "programming_language": "C#", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "boost-1.0", - "score": 92.59, - "name": "Boost Software License 1.0", - "short_name": "Boost 1.0", - "category": "Permissive", - "is_exception": false, - "owner": "Boost", - "homepage_url": "http://www.boost.org/users/license.html", - "text_url": "http://www.boost.org/LICENSE_1_0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/boost-1.0", - "spdx_license_key": "BSL-1.0", - "spdx_url": "https://spdx.org/licenses/BSL-1.0", - "start_line": 4, - "end_line": 5, - "matched_rule": { - "identifier": "boost-1.0_1.RULE", - "license_expression": "boost-1.0", - "licenses": [ - "boost-1.0" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "boost-1.0" - ], - "holders": [ - { - "value": "Henrik Ravn", - "start_line": 2, - "end_line": 2 - } - ], - "copyrights": [ - { - "value": "(c) Copyright Henrik Ravn 2004", - "start_line": 2, - "end_line": 2 - } - ], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib/dotzlib/LICENSE_1_0.txt", - "type": "file", - "name": "LICENSE_1_0.txt", - "base_name": "LICENSE_1_0", - "extension": ".txt", - "size": 1359, - "date": "2017-10-26", - "sha1": "892b34f7865d90a6f949f50d95e49625a10bc7f0", - "md5": "81543b22c36f10d20ac9712f8d80ef8d", - "mime_type": "text/plain", - "file_type": "ASCII text, with CRLF line terminators", - "programming_language": null, - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [ - { - "key": "boost-1.0", - "score": 100.0, - "name": "Boost Software License 1.0", - "short_name": "Boost 1.0", - "category": "Permissive", - "is_exception": false, - "owner": "Boost", - "homepage_url": "http://www.boost.org/users/license.html", - "text_url": "http://www.boost.org/LICENSE_1_0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/boost-1.0", - "spdx_license_key": "BSL-1.0", - "spdx_url": "https://spdx.org/licenses/BSL-1.0", - "start_line": 1, - "end_line": 23, - "matched_rule": { - "identifier": "boost-1.0.LICENSE", - "license_expression": "boost-1.0", - "licenses": [ - "boost-1.0" - ], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "boost-1.0" - ], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": true, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib/dotzlib/readme.txt", - "type": "file", - "name": "readme.txt", - "base_name": "readme", - "extension": ".txt", - "size": 2358, - "date": "2017-10-26", - "sha1": "b1229b826f0096808628474538cea8fec2922a9b", - "md5": "1f20f3168ee63d90de033edac2ce383c", - "mime_type": "text/plain", - "file_type": "ASCII text, with CRLF line terminators", - "programming_language": null, - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [ - { - "key": "boost-1.0", - "score": 77.78, - "name": "Boost Software License 1.0", - "short_name": "Boost 1.0", - "category": "Permissive", - "is_exception": false, - "owner": "Boost", - "homepage_url": "http://www.boost.org/users/license.html", - "text_url": "http://www.boost.org/LICENSE_1_0.txt", - "reference_url": "https://scancode-licensedb.aboutcode.org/boost-1.0", - "spdx_license_key": "BSL-1.0", - "spdx_url": "https://spdx.org/licenses/BSL-1.0", - "start_line": 57, - "end_line": 58, - "matched_rule": { - "identifier": "boost-1.0_1.RULE", - "license_expression": "boost-1.0", - "licenses": [ - "boost-1.0" - ], - "is_license_text": false, - "is_license_notice": true, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "boost-1.0" - ], - "holders": [ - { - "value": "Henrik Ravn", - "start_line": 55, - "end_line": 55 - } - ], - "copyrights": [ - { - "value": "Copyright (c) Henrik Ravn 2004", - "start_line": 55, - "end_line": 55 - } - ], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": true, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib/gcc_gvmat64", - "type": "directory", - "name": "gcc_gvmat64", - "base_name": "gcc_gvmat64", - "extension": "", - "size": 0, - "date": null, - "sha1": null, - "md5": null, - "mime_type": null, - "file_type": null, - "programming_language": null, - "is_binary": false, - "is_text": false, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 1, - "dirs_count": 0, - "size_count": 16413, - "scan_errors": [] - }, - { - "path": "samples/zlib/gcc_gvmat64/gvmat64.S", - "type": "file", - "name": "gvmat64.S", - "base_name": "gvmat64", - "extension": ".S", - "size": 16413, - "date": "2017-10-26", - "sha1": "742603cba1af98a1432cc02efb019b1a5760adf2", - "md5": "5e772d7302475e5473d0c4c57b9861e8", - "mime_type": "text/x-c", - "file_type": "C source, ASCII text, with CRLF line terminators", - "programming_language": "GAS", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "zlib", - "score": 100.0, - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib", - "start_line": 17, - "end_line": 31, - "matched_rule": { - "identifier": "zlib.LICENSE", - "license_expression": "zlib", - "licenses": [ - "zlib" - ], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "zlib" - ], - "holders": [ - { - "value": "Jean-loup Gailly, Brian Raiter and Gilles Vollant.", - "start_line": 10, - "end_line": 10 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 1995-2010 Jean-loup Gailly, Brian Raiter and Gilles Vollant.", - "start_line": 10, - "end_line": 10 - } - ], - "authors": [ - { - "value": "Gilles Vollant", - "start_line": 12, - "end_line": 15 - } - ], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib/infback9", - "type": "directory", - "name": "infback9", - "base_name": "infback9", - "extension": "", - "size": 0, - "date": null, - "sha1": null, - "md5": null, - "mime_type": null, - "file_type": null, - "programming_language": null, - "is_binary": false, - "is_text": false, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 2, - "dirs_count": 0, - "size_count": 23223, - "scan_errors": [] - }, - { - "path": "samples/zlib/infback9/infback9.c", - "type": "file", - "name": "infback9.c", - "base_name": "infback9", - "extension": ".c", - "size": 21629, - "date": "2017-10-26", - "sha1": "17fb362c03755b12f2dda5b12a68cf38162674bd", - "md5": "23ff5edec0817da303cb1294c1e4205c", - "mime_type": "text/x-c", - "file_type": "C source, ASCII text", - "programming_language": "C", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "zlib", - "score": 70.0, - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib", - "start_line": 3, - "end_line": 3, - "matched_rule": { - "identifier": "zlib_5.RULE", - "license_expression": "zlib", - "licenses": [ - "zlib" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "zlib" - ], - "holders": [ - { - "value": "Mark Adler", - "start_line": 2, - "end_line": 3 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 1995-2008 Mark Adler", - "start_line": 2, - "end_line": 3 - } - ], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib/infback9/infback9.h", - "type": "file", - "name": "infback9.h", - "base_name": "infback9", - "extension": ".h", - "size": 1594, - "date": "2017-10-26", - "sha1": "d0486a32b558dcaceded5f0746fad62e680a4734", - "md5": "52b1ed99960d3ed7ed60cd20295e64a8", - "mime_type": "text/x-c", - "file_type": "C source, ASCII text", - "programming_language": "C", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "zlib", - "score": 70.0, - "name": "ZLIB License", - "short_name": "ZLIB License", - "category": "Permissive", - "is_exception": false, - "owner": "zlib", - "homepage_url": "http://www.zlib.net/", - "text_url": "http://www.gzip.org/zlib/zlib_license.html", - "reference_url": "https://scancode-licensedb.aboutcode.org/zlib", - "spdx_license_key": "Zlib", - "spdx_url": "https://spdx.org/licenses/Zlib", - "start_line": 3, - "end_line": 3, - "matched_rule": { - "identifier": "zlib_5.RULE", - "license_expression": "zlib", - "licenses": [ - "zlib" - ], - "is_license_text": false, - "is_license_notice": false, - "is_license_reference": true, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "zlib" - ], - "holders": [ - { - "value": "Mark Adler", - "start_line": 2, - "end_line": 3 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 2003 Mark Adler", - "start_line": 2, - "end_line": 3 - } - ], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib/iostream2", - "type": "directory", - "name": "iostream2", - "base_name": "iostream2", - "extension": "", - "size": 0, - "date": null, - "sha1": null, - "md5": null, - "mime_type": null, - "file_type": null, - "programming_language": null, - "is_binary": false, - "is_text": false, - "is_archive": false, - "is_media": false, - "is_source": false, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 2, - "dirs_count": 0, - "size_count": 9994, - "scan_errors": [] - }, - { - "path": "samples/zlib/iostream2/zstream.h", - "type": "file", - "name": "zstream.h", - "base_name": "zstream", - "extension": ".h", - "size": 9283, - "date": "2017-10-26", - "sha1": "fca4540d490fff36bb90fd801cf9cd8fc695bb17", - "md5": "a980b61c1e8be68d5cdb1236ba6b43e7", - "mime_type": "text/x-c++", - "file_type": "C++ source, ASCII text", - "programming_language": "C", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [ - { - "key": "cmr-no", - "score": 100.0, - "name": "Christian Michelsen Research AS License", - "short_name": "CMR License", - "category": "Permissive", - "is_exception": false, - "owner": "CMR - Christian Michelsen Research AS", - "homepage_url": "", - "text_url": "", - "reference_url": "https://scancode-licensedb.aboutcode.org/cmr-no", - "spdx_license_key": "", - "spdx_url": "", - "start_line": 9, - "end_line": 15, - "matched_rule": { - "identifier": "cmr-no.LICENSE", - "license_expression": "cmr-no", - "licenses": [ - "cmr-no" - ], - "is_license_text": true, - "is_license_notice": false, - "is_license_reference": false, - "is_license_tag": false - } - } - ], - "license_expressions": [ - "cmr-no" - ], - "holders": [ - { - "value": "Christian Michelsen Research AS Advanced Computing", - "start_line": 3, - "end_line": 5 - } - ], - "copyrights": [ - { - "value": "Copyright (c) 1997 Christian Michelsen Research AS Advanced Computing", - "start_line": 3, - "end_line": 5 - } - ], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - }, - { - "path": "samples/zlib/iostream2/zstream_test.cpp", - "type": "file", - "name": "zstream_test.cpp", - "base_name": "zstream_test", - "extension": ".cpp", - "size": 711, - "date": "2017-10-26", - "sha1": "e18a6d55cbbd8b832f8d795530553467e5c74fcf", - "md5": "d32476bde4e6d5f889092fdff6f8cdb0", - "mime_type": "text/x-c", - "file_type": "C source, ASCII text", - "programming_language": "C++", - "is_binary": false, - "is_text": true, - "is_archive": false, - "is_media": false, - "is_source": true, - "is_script": false, - "licenses": [], - "license_expressions": [], - "holders": [], - "copyrights": [], - "authors": [], - "is_legal": false, - "is_manifest": false, - "is_readme": false, - "is_top_level": false, - "files_count": 0, - "dirs_count": 0, - "size_count": 0, - "scan_errors": [] - } - ] -} diff --git a/tests/formattedcode/data/reuse/vb.json b/tests/formattedcode/data/reuse/vb.json index f45ade7af94..689266a487f 100644 --- a/tests/formattedcode/data/reuse/vb.json +++ b/tests/formattedcode/data/reuse/vb.json @@ -539,6 +539,7 @@ "short_name": "JBoss EULA", "category": "Proprietary Free", "is_exception": false, + "is_unknown": false, "owner": "JBoss Community", "homepage_url": "", "text_url": "http://repository.jboss.org/licenses/jbossorg-eula.txt", @@ -615,6 +616,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -735,6 +737,7 @@ "short_name": "Apache 1.1", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://apache.org/licenses/LICENSE-1.1", @@ -817,6 +820,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -881,6 +885,7 @@ "short_name": "MIT License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://opensource.org/licenses/mit-license.php", "text_url": "http://opensource.org/licenses/mit-license.php", @@ -957,6 +962,7 @@ "short_name": "CPL 1.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "IBM", "homepage_url": "http://www.eclipse.org/legal/cpl-v10.html", "text_url": "http://www.eclipse.org/legal/cpl-v10.html", @@ -1021,6 +1027,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -1141,6 +1148,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -1223,6 +1231,7 @@ "short_name": "CC-BY-2.5", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Creative Commons", "homepage_url": "http://creativecommons.org/licenses/by/2.5/", "text_url": "http://creativecommons.org/licenses/by/2.5/legalcode", @@ -1305,6 +1314,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -1467,6 +1477,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -1543,6 +1554,7 @@ "short_name": "Public Domain", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": "http://www.linfo.org/publicdomain.html", "text_url": "", @@ -1570,6 +1582,7 @@ "short_name": "Public Domain", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": "http://www.linfo.org/publicdomain.html", "text_url": "", @@ -1685,6 +1698,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1761,6 +1775,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1853,6 +1868,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1880,6 +1896,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1957,6 +1974,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -2033,6 +2051,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -2109,6 +2128,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -2219,6 +2239,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -2247,6 +2268,7 @@ "short_name": "Ada linking exception to GPL 2.0 or later", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Dmitriy Anisimkov", "homepage_url": "", "text_url": "", @@ -2404,6 +2426,7 @@ "short_name": "Boost 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Boost", "homepage_url": "http://www.boost.org/users/license.html", "text_url": "http://www.boost.org/LICENSE_1_0.txt", @@ -2480,6 +2503,7 @@ "short_name": "Boost 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Boost", "homepage_url": "http://www.boost.org/users/license.html", "text_url": "http://www.boost.org/LICENSE_1_0.txt", @@ -2544,6 +2568,7 @@ "short_name": "Boost 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Boost", "homepage_url": "http://www.boost.org/users/license.html", "text_url": "http://www.boost.org/LICENSE_1_0.txt", @@ -2654,6 +2679,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -2770,6 +2796,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -2846,6 +2873,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -2956,6 +2984,7 @@ "short_name": "CMR License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "CMR - Christian Michelsen Research AS", "homepage_url": "", "text_url": "", diff --git a/tests/formattedcode/data/spdx/license_known/expected.tv b/tests/formattedcode/data/spdx/license_known/expected.tv index f99bc615b1f..c8eb8639cb8 100644 --- a/tests/formattedcode/data/spdx/license_known/expected.tv +++ b/tests/formattedcode/data/spdx/license_known/expected.tv @@ -2,6 +2,7 @@ SPDXVersion: SPDX-2.1 DataLicense: CC0-1.0 SPDXID: SPDXRef-DOCUMENT +DocumentNamespace: http://spdx.org/spdxdocs/scan-ab8a6f7e-3a9a-466f-964f-be56571a3c19 DocumentComment: Generated with ScanCode and provided on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. No content created from ScanCode should be considered or used as legal advice. Consult an Attorney diff --git a/tests/formattedcode/data/spdx/license_known/expected_with_text.tv b/tests/formattedcode/data/spdx/license_known/expected_with_text.tv index f99bc615b1f..39ba0466a10 100644 --- a/tests/formattedcode/data/spdx/license_known/expected_with_text.tv +++ b/tests/formattedcode/data/spdx/license_known/expected_with_text.tv @@ -2,6 +2,7 @@ SPDXVersion: SPDX-2.1 DataLicense: CC0-1.0 SPDXID: SPDXRef-DOCUMENT +DocumentNamespace: http://spdx.org/spdxdocs/scan-8f1122d0-e528-466c-a22e-04bc0b174984 DocumentComment: Generated with ScanCode and provided on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. No content created from ScanCode should be considered or used as legal advice. Consult an Attorney diff --git a/tests/formattedcode/data/spdx/license_ref/expected.tv b/tests/formattedcode/data/spdx/license_ref/expected.tv index 256f6a737bc..6d5d34cf15f 100644 --- a/tests/formattedcode/data/spdx/license_ref/expected.tv +++ b/tests/formattedcode/data/spdx/license_ref/expected.tv @@ -2,6 +2,7 @@ SPDXVersion: SPDX-2.1 DataLicense: CC0-1.0 SPDXID: SPDXRef-DOCUMENT +DocumentNamespace: http://spdx.org/spdxdocs/scan-25498bb4-1cfc-461c-a7cf-389008e49b5a DocumentComment: Generated with ScanCode and provided on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. No content created from ScanCode should be considered or used as legal advice. Consult an Attorney diff --git a/tests/formattedcode/data/spdx/license_ref/expected_with_text.tv b/tests/formattedcode/data/spdx/license_ref/expected_with_text.tv index 0f9945d7145..f47022217cb 100644 --- a/tests/formattedcode/data/spdx/license_ref/expected_with_text.tv +++ b/tests/formattedcode/data/spdx/license_ref/expected_with_text.tv @@ -2,6 +2,7 @@ SPDXVersion: SPDX-2.1 DataLicense: CC0-1.0 SPDXID: SPDXRef-DOCUMENT +DocumentNamespace: http://spdx.org/spdxdocs/scan-ff644ef5-7b50-4793-ac2e-69cb1a0bece3 DocumentComment: Generated with ScanCode and provided on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. No content created from ScanCode should be considered or used as legal advice. Consult an Attorney diff --git a/tests/formattedcode/data/spdx/simple/expected.tv b/tests/formattedcode/data/spdx/simple/expected.tv index 0247b3d0de7..5417cdf118e 100644 --- a/tests/formattedcode/data/spdx/simple/expected.tv +++ b/tests/formattedcode/data/spdx/simple/expected.tv @@ -2,6 +2,7 @@ SPDXVersion: SPDX-2.1 DataLicense: CC0-1.0 SPDXID: SPDXRef-DOCUMENT +DocumentNamespace: http://spdx.org/spdxdocs/simple DocumentComment: Generated with ScanCode and provided on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. No content created from ScanCode should be considered or used as legal advice. Consult an Attorney diff --git a/tests/formattedcode/data/spdx/tree/expected.tv b/tests/formattedcode/data/spdx/tree/expected.tv index 9f58864bcf0..fd023a04e2b 100644 --- a/tests/formattedcode/data/spdx/tree/expected.tv +++ b/tests/formattedcode/data/spdx/tree/expected.tv @@ -2,6 +2,7 @@ SPDXVersion: SPDX-2.1 DataLicense: CC0-1.0 SPDXID: SPDXRef-DOCUMENT +DocumentNamespace: http://spdx.org/spdxdocs/scan-3ef222be-8dfb-4d4f-b12c-a42e51156151 DocumentComment: Generated with ScanCode and provided on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. No content created from ScanCode should be considered or used as legal advice. Consult an Attorney diff --git a/tests/formattedcode/data/spdx/unicode.json b/tests/formattedcode/data/spdx/unicode.json new file mode 100644 index 00000000000..b1aa8e67f12 --- /dev/null +++ b/tests/formattedcode/data/spdx/unicode.json @@ -0,0 +1,22 @@ +{ + "scancode_notice": "Generated with ScanCode...", + "scancode_version": "2.9.7.post137.2e29fe3.dirty.20181120225811", + "scancode_options": { + "input": "han/", + "--json-pp": "-" + }, + "scan_start": "2018-11-23T123252.191917", + "files_count": 1, + "files": [ + { + "path": "han", + "type": "directory", + "scan_errors": [] + }, + { + "path": "han/\u636e.svg", + "type": "file", + "scan_errors": [] + } + ] +} \ No newline at end of file diff --git a/tests/formattedcode/data/spdx/unicode/expected.tv b/tests/formattedcode/data/spdx/unicode/expected.tv index 3ee3a86b588..c3179d474a6 100644 --- a/tests/formattedcode/data/spdx/unicode/expected.tv +++ b/tests/formattedcode/data/spdx/unicode/expected.tv @@ -2,6 +2,7 @@ SPDXVersion: SPDX-2.1 DataLicense: CC0-1.0 SPDXID: SPDXRef-DOCUMENT +DocumentNamespace: http://spdx.org/spdxdocs/unicode-ea31be0f-16de-4eab-9fc7-4e3bafb753d3 DocumentComment: Generated with ScanCode and provided on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. No content created from ScanCode should be considered or used as legal advice. Consult an Attorney diff --git a/tests/formattedcode/data/templated/sample-template.html b/tests/formattedcode/data/templated/sample-template.html index a8c53d7b3fc..a0c2bc5d96e 100644 --- a/tests/formattedcode/data/templated/sample-template.html +++ b/tests/formattedcode/data/templated/sample-template.html @@ -62,7 +62,7 @@ -

Scanned with ScanCode version {{ version }}

+

Scanned with ScanCode

{% if files.license_copyright %} @@ -104,7 +104,6 @@ - @@ -127,7 +126,6 @@ - @@ -145,6 +143,106 @@ {% endfor %}
Copyrights and Licenses Information
type name extensiondate size sha1 md5{{ row.type }} {{ row.name }} {{ row.extension }}{{ row.date }} {{ row.size }} {{ row.sha1 }} {{ row.md5 }}
+ + + + + + + + + + + + {% for path, row in files.infos.items() %} + {% if row.holders %} + {% for data in row.holders %} + + + + + + + {% endfor %} + {% endif %} + {% endfor %} + +
Holders
pathholderstartend
{{ path }}{{ data.value }}{{ data.start_line }}{{ data.end_line }}
+ + + + + + + + + + + + {% for path, row in files.infos.items() %} + {% if row.authors %} + {% for data in row.authors %} + + + + + + + {% endfor %} + {% endif %} + {% endfor %} + +
Authors
pathAuthorstartend
{{ path }}{{ data.value }}{{ data.start_line }}{{ data.end_line }}
+ + + + + + + + + + + + {% for path, row in files.infos.items() %} + {% if row.emails %} + {% for data in row.emails %} + + + + + + + {% endfor %} + {% endif %} + {% endfor %} + +
Emails
pathemailstartend
{{ path }}{{ data.email |urlize(target='_blank') }}{{ data.start_line }}{{ data.end_line }}
+ + + + + + + + + + + + {% for path, row in files.infos.items() %} + {% if row.urls %} + {% for data in row.urls %} + + + + + + + {% endfor %} + {% endif %} + {% endfor %} + +
Urls
pathurlstartend
{{ path }}{{ data.url |urlize(target='_blank') }}{{ data.start_line }}{{ data.end_line }}
{% endif %} {% if files.packages %} diff --git a/tests/formattedcode/data/templated/simple-expected.html b/tests/formattedcode/data/templated/simple-expected.html new file mode 100644 index 00000000000..85d5e54aea0 --- /dev/null +++ b/tests/formattedcode/data/templated/simple-expected.html @@ -0,0 +1,251 @@ + + + + + + + Custom Template + + + +

Scanned with ScanCode

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Copyrights and Licenses Information
pathstartendwhatvalue
simple/copyright_acme_c-c.c11copyrightCopyright (c) 2000 ACME, Inc.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
File Information
pathtypenameextensionsizesha1md5files_countmime_typefile_typeprogramming_languageis_binaryis_textis_archiveis_mediais_sourceis_script
simpledirectorysimple0NoneNoneNoneNoneNoneFalseFalseFalseFalseFalseFalse
simple/copyright_acme_c-c.cfilecopyright_acme_c-c.c.c55e2466d5b764d27fb301ceb439ffb5da22e43ab1dbdf7c572beb4094c2059508fa73c05a4text/plainUTF-8 Unicode text, with no line terminatorsCFalseTrueFalseFalseTrueFalse
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Holders
pathholderstartend
simple/copyright_acme_c-c.cACME, Inc.11
+ + + + + + + + + + + + + + + + + +
Authors
pathAuthorstartend
+ + + + + + + + + + + + + + + + + +
Emails
pathemailstartend
+ + + + + + + + + + + + + + + + + +
Urls
pathurlstartend
+ + + + + + + + + + + + + + + + + + + + +
Package Information
pathtypepackagingprimary_language
+ + + + +
+

Generated with ScanCode and provided on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + No content created from ScanCode should be considered or used as legal advice. Consult an Attorney for any legal advice. + ScanCode is a free software code scanning tool from nexB Inc. and others. + Visit http://www.nexb.com and https://github.com/nexB/scancode-toolkit/ for support and download. +

+ \ No newline at end of file diff --git a/tests/formattedcode/data/templated/tree/expected.html b/tests/formattedcode/data/templated/tree/expected.html new file mode 100644 index 00000000000..6a79da819f0 --- /dev/null +++ b/tests/formattedcode/data/templated/tree/expected.html @@ -0,0 +1,557 @@ + + + + + + + Custom Template + + + +

Scanned with ScanCode

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Copyrights and Licenses Information
pathstartendwhatvalue
copy1.c11copyrightCopyright (c) 2000 ACME, Inc.
copy2.c11copyrightCopyright (c) 2000 ACME, Inc.
copy3.c11copyrightCopyright (c) 2000 ACME, Inc.
subdir/copy1.c11copyrightCopyright (c) 2000 ACME, Inc.
subdir/copy2.c11copyrightCopyright (c) 2000 ACME, Inc.
subdir/copy3.c11copyrightCopyright (c) 2000 ACME, Inc.
subdir/copy4.c11copyrightCopyright (c) 2000 ACME, Inc.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
File Information
pathtypenameextensionsizesha1md5files_countmime_typefile_typeprogramming_languageis_binaryis_textis_archiveis_mediais_sourceis_script
copy1.cfilecopy1.c.c913922760d8492eb8f853c10a627f5a73f9eaec6fffc7f53659b7a9db8b6dff0638641778etext/plainUTF-8 Unicode textCFalseTrueFalseFalseTrueFalse
copy2.cfilecopy2.c.c913922760d8492eb8f853c10a627f5a73f9eaec6fffc7f53659b7a9db8b6dff0638641778etext/plainUTF-8 Unicode textCFalseTrueFalseFalseTrueFalse
copy3.cfilecopy3.c.c91c91811eb5fdc7ab440355f9f8d1580e1518b0c2fe999e21c9d7de4d0f943aefbb6f21b99text/plainUTF-8 Unicode textCFalseTrueFalseFalseTrueFalse
subdirdirectorysubdir0NoneNoneNoneNoneNoneFalseFalseFalseFalseFalseFalse
subdir/copy1.cfilecopy1.c.c913922760d8492eb8f853c10a627f5a73f9eaec6fffc7f53659b7a9db8b6dff0638641778etext/plainUTF-8 Unicode textCFalseTrueFalseFalseTrueFalse
subdir/copy2.cfilecopy2.c.c913922760d8492eb8f853c10a627f5a73f9eaec6fffc7f53659b7a9db8b6dff0638641778etext/plainUTF-8 Unicode textCFalseTrueFalseFalseTrueFalse
subdir/copy3.cfilecopy3.c.c84389af7e629a9853056e42b262d5e30bf4579a74f290627a1387288ef77ae7e07946f3ecftext/plainUTF-8 Unicode textCFalseTrueFalseFalseTrueFalse
subdir/copy4.cfilecopy4.c.c9558748872d25374160692f1ed7075d0fe80a544b188e46475db9b1a68f415f6a3544eeb16text/plainUTF-8 Unicode textCFalseTrueFalseFalseTrueFalse
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Holders
pathholderstartend
copy1.cACME, Inc.11
copy2.cACME, Inc.11
copy3.cACME, Inc.11
subdir/copy1.cACME, Inc.11
subdir/copy2.cACME, Inc.11
subdir/copy3.cACME, Inc.11
subdir/copy4.cACME, Inc.11
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Authors
pathAuthorstartend
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Emails
pathemailstartend
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Urls
pathurlstartend
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Package Information
pathtypepackagingprimary_language
+ + + + +
+

Generated with ScanCode and provided on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + No content created from ScanCode should be considered or used as legal advice. Consult an Attorney for any legal advice. + ScanCode is a free software code scanning tool from nexB Inc. and others. + Visit http://www.nexb.com and https://github.com/nexB/scancode-toolkit/ for support and download. +

+ \ No newline at end of file diff --git a/tests/formattedcode/data/templated/unicode.json b/tests/formattedcode/data/templated/unicode.json new file mode 100644 index 00000000000..b1aa8e67f12 --- /dev/null +++ b/tests/formattedcode/data/templated/unicode.json @@ -0,0 +1,22 @@ +{ + "scancode_notice": "Generated with ScanCode...", + "scancode_version": "2.9.7.post137.2e29fe3.dirty.20181120225811", + "scancode_options": { + "input": "han/", + "--json-pp": "-" + }, + "scan_start": "2018-11-23T123252.191917", + "files_count": 1, + "files": [ + { + "path": "han", + "type": "directory", + "scan_errors": [] + }, + { + "path": "han/\u636e.svg", + "type": "file", + "scan_errors": [] + } + ] +} \ No newline at end of file diff --git a/tests/formattedcode/data/yaml/simple-expected.yaml b/tests/formattedcode/data/yaml/simple-expected.yaml new file mode 100644 index 00000000000..0eb1bd37cb2 --- /dev/null +++ b/tests/formattedcode/data/yaml/simple-expected.yaml @@ -0,0 +1,85 @@ +headers: + - tool_name: scancode-toolkit + options: + input: + --copyright: yes + --info: yes + --license: yes + --package: yes + --yaml: + notice: | + Generated with ScanCode and provided on an "AS IS" BASIS, WITHOUT WARRANTIES + OR CONDITIONS OF ANY KIND, either express or implied. No content created from + ScanCode should be considered or used as legal advice. Consult an Attorney + for any legal advice. + ScanCode is a free software code scanning tool from nexB Inc. and others. + Visit https://github.com/nexB/scancode-toolkit/ for support and download. + message: + errors: [] + extra_data: + files_count: 1 +files: + - path: simple + type: directory + name: simple + base_name: simple + extension: + size: '0' + sha1: + md5: + sha256: + mime_type: + file_type: + programming_language: + is_binary: no + is_text: no + is_archive: no + is_media: no + is_source: no + is_script: no + licenses: [] + license_expressions: [] + percentage_of_license_text: '0' + copyrights: [] + holders: [] + authors: [] + packages: [] + files_count: 1 + dirs_count: '0' + size_count: 55 + scan_errors: [] + - path: simple/copyright_acme_c-c.c + type: file + name: copyright_acme_c-c.c + base_name: copyright_acme_c-c + extension: .c + size: 55 + sha1: e2466d5b764d27fb301ceb439ffb5da22e43ab1d + md5: bdf7c572beb4094c2059508fa73c05a4 + sha256: 234d690ec9a5ac134e01847f34581b0ea83dfd1f3d4c79bee046297baa5f5925 + mime_type: text/plain + file_type: UTF-8 Unicode text, with no line terminators + programming_language: C + is_binary: no + is_text: yes + is_archive: no + is_media: no + is_source: yes + is_script: no + licenses: [] + license_expressions: [] + percentage_of_license_text: '0' + copyrights: + - value: Copyright (c) 2000 ACME, Inc. + start_line: 1 + end_line: 1 + holders: + - value: ACME, Inc. + start_line: 1 + end_line: 1 + authors: [] + packages: [] + files_count: '0' + dirs_count: '0' + size_count: '0' + scan_errors: [] diff --git a/tests/formattedcode/data/yaml/simple/copyright_acme_c-c.c b/tests/formattedcode/data/yaml/simple/copyright_acme_c-c.c new file mode 100644 index 00000000000..23dbd722d5d --- /dev/null +++ b/tests/formattedcode/data/yaml/simple/copyright_acme_c-c.c @@ -0,0 +1 @@ +/* Copyright © 2000 ACME, Inc., All Rights Reserved */ \ No newline at end of file diff --git a/tests/formattedcode/data/yaml/tree/expected.yaml b/tests/formattedcode/data/yaml/tree/expected.yaml new file mode 100644 index 00000000000..2109b3b61f9 --- /dev/null +++ b/tests/formattedcode/data/yaml/tree/expected.yaml @@ -0,0 +1,296 @@ +headers: + - tool_name: scancode-toolkit + options: + input: + --copyright: yes + --info: yes + --license: yes + --package: yes + --strip-root: yes + --yaml: + notice: | + Generated with ScanCode and provided on an "AS IS" BASIS, WITHOUT WARRANTIES + OR CONDITIONS OF ANY KIND, either express or implied. No content created from + ScanCode should be considered or used as legal advice. Consult an Attorney + for any legal advice. + ScanCode is a free software code scanning tool from nexB Inc. and others. + Visit https://github.com/nexB/scancode-toolkit/ for support and download. + message: + errors: [] + extra_data: + files_count: 7 +files: + - path: copy1.c + type: file + name: copy1.c + base_name: copy1 + extension: .c + size: 91 + sha1: 3922760d8492eb8f853c10a627f5a73f9eaec6ff + md5: fc7f53659b7a9db8b6dff0638641778e + sha256: 23fe3ce8ad18772ea688a435bb624d65e08fdee1d31b9f620a1ba62619c0f201 + mime_type: text/plain + file_type: UTF-8 Unicode text + programming_language: C + is_binary: no + is_text: yes + is_archive: no + is_media: no + is_source: yes + is_script: no + licenses: [] + license_expressions: [] + percentage_of_license_text: '0' + copyrights: + - value: Copyright (c) 2000 ACME, Inc. + start_line: 1 + end_line: 1 + holders: + - value: ACME, Inc. + start_line: 1 + end_line: 1 + authors: [] + packages: [] + files_count: '0' + dirs_count: '0' + size_count: '0' + scan_errors: [] + - path: copy2.c + type: file + name: copy2.c + base_name: copy2 + extension: .c + size: 91 + sha1: 3922760d8492eb8f853c10a627f5a73f9eaec6ff + md5: fc7f53659b7a9db8b6dff0638641778e + sha256: 23fe3ce8ad18772ea688a435bb624d65e08fdee1d31b9f620a1ba62619c0f201 + mime_type: text/plain + file_type: UTF-8 Unicode text + programming_language: C + is_binary: no + is_text: yes + is_archive: no + is_media: no + is_source: yes + is_script: no + licenses: [] + license_expressions: [] + percentage_of_license_text: '0' + copyrights: + - value: Copyright (c) 2000 ACME, Inc. + start_line: 1 + end_line: 1 + holders: + - value: ACME, Inc. + start_line: 1 + end_line: 1 + authors: [] + packages: [] + files_count: '0' + dirs_count: '0' + size_count: '0' + scan_errors: [] + - path: copy3.c + type: file + name: copy3.c + base_name: copy3 + extension: .c + size: 91 + sha1: c91811eb5fdc7ab440355f9f8d1580e1518b0c2f + md5: e999e21c9d7de4d0f943aefbb6f21b99 + sha256: abd984f8715001bb54d5a2ef293b2c559861756b17c4461cde3ac08e9b61ec78 + mime_type: text/plain + file_type: UTF-8 Unicode text + programming_language: C + is_binary: no + is_text: yes + is_archive: no + is_media: no + is_source: yes + is_script: no + licenses: [] + license_expressions: [] + percentage_of_license_text: '0' + copyrights: + - value: Copyright (c) 2000 ACME, Inc. + start_line: 1 + end_line: 1 + holders: + - value: ACME, Inc. + start_line: 1 + end_line: 1 + authors: [] + packages: [] + files_count: '0' + dirs_count: '0' + size_count: '0' + scan_errors: [] + - path: subdir + type: directory + name: subdir + base_name: subdir + extension: + size: '0' + sha1: + md5: + sha256: + mime_type: + file_type: + programming_language: + is_binary: no + is_text: no + is_archive: no + is_media: no + is_source: no + is_script: no + licenses: [] + license_expressions: [] + percentage_of_license_text: '0' + copyrights: [] + holders: [] + authors: [] + packages: [] + files_count: 4 + dirs_count: '0' + size_count: 361 + scan_errors: [] + - path: subdir/copy1.c + type: file + name: copy1.c + base_name: copy1 + extension: .c + size: 91 + sha1: 3922760d8492eb8f853c10a627f5a73f9eaec6ff + md5: fc7f53659b7a9db8b6dff0638641778e + sha256: 23fe3ce8ad18772ea688a435bb624d65e08fdee1d31b9f620a1ba62619c0f201 + mime_type: text/plain + file_type: UTF-8 Unicode text + programming_language: C + is_binary: no + is_text: yes + is_archive: no + is_media: no + is_source: yes + is_script: no + licenses: [] + license_expressions: [] + percentage_of_license_text: '0' + copyrights: + - value: Copyright (c) 2000 ACME, Inc. + start_line: 1 + end_line: 1 + holders: + - value: ACME, Inc. + start_line: 1 + end_line: 1 + authors: [] + packages: [] + files_count: '0' + dirs_count: '0' + size_count: '0' + scan_errors: [] + - path: subdir/copy2.c + type: file + name: copy2.c + base_name: copy2 + extension: .c + size: 91 + sha1: 3922760d8492eb8f853c10a627f5a73f9eaec6ff + md5: fc7f53659b7a9db8b6dff0638641778e + sha256: 23fe3ce8ad18772ea688a435bb624d65e08fdee1d31b9f620a1ba62619c0f201 + mime_type: text/plain + file_type: UTF-8 Unicode text + programming_language: C + is_binary: no + is_text: yes + is_archive: no + is_media: no + is_source: yes + is_script: no + licenses: [] + license_expressions: [] + percentage_of_license_text: '0' + copyrights: + - value: Copyright (c) 2000 ACME, Inc. + start_line: 1 + end_line: 1 + holders: + - value: ACME, Inc. + start_line: 1 + end_line: 1 + authors: [] + packages: [] + files_count: '0' + dirs_count: '0' + size_count: '0' + scan_errors: [] + - path: subdir/copy3.c + type: file + name: copy3.c + base_name: copy3 + extension: .c + size: 84 + sha1: 389af7e629a9853056e42b262d5e30bf4579a74f + md5: 290627a1387288ef77ae7e07946f3ecf + sha256: 271a9f4402a59c923ee04fd9bd3f2aa188d2b9e4741cef1b756ec7116f9d83ef + mime_type: text/plain + file_type: UTF-8 Unicode text + programming_language: C + is_binary: no + is_text: yes + is_archive: no + is_media: no + is_source: yes + is_script: no + licenses: [] + license_expressions: [] + percentage_of_license_text: '0' + copyrights: + - value: Copyright (c) 2000 ACME, Inc. + start_line: 1 + end_line: 1 + holders: + - value: ACME, Inc. + start_line: 1 + end_line: 1 + authors: [] + packages: [] + files_count: '0' + dirs_count: '0' + size_count: '0' + scan_errors: [] + - path: subdir/copy4.c + type: file + name: copy4.c + base_name: copy4 + extension: .c + size: 95 + sha1: 58748872d25374160692f1ed7075d0fe80a544b1 + md5: 88e46475db9b1a68f415f6a3544eeb16 + sha256: f6810dc076ffe08dad2812318e414ac4123de9a612faabc35121206a4fa48ce4 + mime_type: text/plain + file_type: UTF-8 Unicode text + programming_language: C + is_binary: no + is_text: yes + is_archive: no + is_media: no + is_source: yes + is_script: no + licenses: [] + license_expressions: [] + percentage_of_license_text: '0' + copyrights: + - value: Copyright (c) 2000 ACME, Inc. + start_line: 1 + end_line: 1 + holders: + - value: ACME, Inc. + start_line: 1 + end_line: 1 + authors: [] + packages: [] + files_count: '0' + dirs_count: '0' + size_count: '0' + scan_errors: [] diff --git a/tests/formattedcode/data/yaml/tree/scan/copy1.c b/tests/formattedcode/data/yaml/tree/scan/copy1.c new file mode 100644 index 00000000000..ad74753e093 --- /dev/null +++ b/tests/formattedcode/data/yaml/tree/scan/copy1.c @@ -0,0 +1,11 @@ +/* Copyright © 2000 ACME, Inc., All Rights Reserved */ + +adasd +ad +asd +as +das +da +da +dasd +asd \ No newline at end of file diff --git a/tests/formattedcode/data/yaml/tree/scan/copy2.c b/tests/formattedcode/data/yaml/tree/scan/copy2.c new file mode 100644 index 00000000000..ad74753e093 --- /dev/null +++ b/tests/formattedcode/data/yaml/tree/scan/copy2.c @@ -0,0 +1,11 @@ +/* Copyright © 2000 ACME, Inc., All Rights Reserved */ + +adasd +ad +asd +as +das +da +da +dasd +asd \ No newline at end of file diff --git a/tests/formattedcode/data/yaml/tree/scan/copy3.c b/tests/formattedcode/data/yaml/tree/scan/copy3.c new file mode 100644 index 00000000000..e2233fbac26 --- /dev/null +++ b/tests/formattedcode/data/yaml/tree/scan/copy3.c @@ -0,0 +1,10 @@ +/* Copyright © 2000 ACME, Inc., All Rights Reserved */ + +adasd +ad +asd +as +da +dasdas +dasd +asd \ No newline at end of file diff --git a/tests/formattedcode/data/yaml/tree/scan/subdir/copy1.c b/tests/formattedcode/data/yaml/tree/scan/subdir/copy1.c new file mode 100644 index 00000000000..ad74753e093 --- /dev/null +++ b/tests/formattedcode/data/yaml/tree/scan/subdir/copy1.c @@ -0,0 +1,11 @@ +/* Copyright © 2000 ACME, Inc., All Rights Reserved */ + +adasd +ad +asd +as +das +da +da +dasd +asd \ No newline at end of file diff --git a/tests/formattedcode/data/yaml/tree/scan/subdir/copy2.c b/tests/formattedcode/data/yaml/tree/scan/subdir/copy2.c new file mode 100644 index 00000000000..ad74753e093 --- /dev/null +++ b/tests/formattedcode/data/yaml/tree/scan/subdir/copy2.c @@ -0,0 +1,11 @@ +/* Copyright © 2000 ACME, Inc., All Rights Reserved */ + +adasd +ad +asd +as +das +da +da +dasd +asd \ No newline at end of file diff --git a/tests/formattedcode/data/yaml/tree/scan/subdir/copy3.c b/tests/formattedcode/data/yaml/tree/scan/subdir/copy3.c new file mode 100644 index 00000000000..161faeaa72f --- /dev/null +++ b/tests/formattedcode/data/yaml/tree/scan/subdir/copy3.c @@ -0,0 +1,9 @@ +/* Copyright © 2000 ACME, Inc., All Rights Reserved */ + +adasd +ad +asd +as +da +dasd +asd \ No newline at end of file diff --git a/tests/formattedcode/data/yaml/tree/scan/subdir/copy4.c b/tests/formattedcode/data/yaml/tree/scan/subdir/copy4.c new file mode 100644 index 00000000000..ef84e1098a2 --- /dev/null +++ b/tests/formattedcode/data/yaml/tree/scan/subdir/copy4.c @@ -0,0 +1,11 @@ +/* Copyright © 2000 ACME, Inc., All Rights Reserved */ +fafsdfsdf + + +adasd +ad +asd +as +da +dasd +asd \ No newline at end of file diff --git a/tests/formattedcode/test_output_csv.py b/tests/formattedcode/test_output_csv.py index e6d24a8db3b..de52c741f8c 100644 --- a/tests/formattedcode/test_output_csv.py +++ b/tests/formattedcode/test_output_csv.py @@ -123,7 +123,7 @@ def test_can_process_live_scan_for_packages_with_root(): def test_output_can_handle_non_ascii_paths(): - test_file = test_env.get_test_loc('unicode.json') + test_file = test_env.get_test_loc('csv/unicode.json') result_file = test_env.get_temp_file(extension='csv', file_name='test_csv') run_scan_click(['--from-json', test_file, '--csv', result_file]) with io.open(result_file, encoding='utf-8') as res: diff --git a/tests/formattedcode/test_output_spdx.py b/tests/formattedcode/test_output_spdx.py index f0532eb0290..77f70125147 100644 --- a/tests/formattedcode/test_output_spdx.py +++ b/tests/formattedcode/test_output_spdx.py @@ -65,7 +65,6 @@ def sort_nested(data): maptypes = dict, dict coltypes = seqtypes + maptypes - if isinstance(data, maptypes): new_data = [] for k, v in data.items(): @@ -138,9 +137,25 @@ def load_and_clean_tv(location): """ with io.open(location, encoding='utf-8') as co: content = co.read() - content = [l for l in content.splitlines(False) - if l and l.strip() and not l.startswith(('Creator: ', 'Created: ',))] - return '\n'.join(content) + lines = [] + lines_append = lines.append + + dns = 'DocumentNamespace: http://spdx.org/spdxdocs/' + + for line in content.splitlines(False): + line = line.strip() + if not line: + continue + if line.startswith(('Creator: ', 'Created: ',)): + continue + if line.startswith(dns): + # only keep the left side of + # DocumentNamespace: http://spdx.org/spdxdocs/unicode-ea31be0f-16de-4eab-9fc7-4e3bafb753d3 + line, _, _ = line.partition('-') + + lines_append(line) + + return '\n'.join(lines) def check_tv_scan(expected_file, result_file, regen=False): @@ -319,7 +334,7 @@ def test_spdx_rdf_with_empty_scan(): @pytest.mark.scanslow def test_output_spdx_rdf_can_handle_non_ascii_paths(): - test_file = test_env.get_test_loc('unicode.json') + test_file = test_env.get_test_loc('spdx/unicode.json') result_file = test_env.get_temp_file(extension='spdx', file_name='test_spdx') run_scan_click(['--from-json', test_file, '--spdx-rdf', result_file]) with io.open(result_file, encoding='utf-8') as res: @@ -328,7 +343,7 @@ def test_output_spdx_rdf_can_handle_non_ascii_paths(): def test_output_spdx_tv_can_handle_non_ascii_paths(): - test_file = test_env.get_test_loc('unicode.json') + test_file = test_env.get_test_loc('spdx/unicode.json') result_file = test_env.get_temp_file(extension='spdx', file_name='test_spdx') run_scan_click(['--from-json', test_file, '--spdx-tv', result_file]) with io.open(result_file, encoding='utf-8') as res: diff --git a/tests/formattedcode/test_output_templated.py b/tests/formattedcode/test_output_templated.py index 9ad8254221e..e2a13d881f4 100644 --- a/tests/formattedcode/test_output_templated.py +++ b/tests/formattedcode/test_output_templated.py @@ -114,17 +114,29 @@ def test_custom_format_with_custom_filename_fails_for_directory(): def normalize_quotes(s): return s.replace("'", '"') +@pytest.mark.scanslow +def test_scan_custom_html_output_for_a_directory(): + test_dir = test_env.get_test_loc('templated/tree/scan/') + custom_template = test_env.get_test_loc('templated/sample-template.html') + expected_file = test_env.get_test_loc('templated/tree/expected.html') + result_file = test_env.get_temp_file('html') + args = ['-clip', '--strip-root', '--custom-template', custom_template, '--custom-output', result_file, test_dir] + run_scan_click(args) + results = open(result_file).read() + expected = open(expected_file).read() + assert expected == results @pytest.mark.scanslow def test_custom_format_with_custom_filename(): test_dir = test_env.get_test_loc('templated/simple') custom_template = test_env.get_test_loc('templated/sample-template.html') + expected_file = test_env.get_test_loc('templated/simple-expected.html') result_file = test_env.get_temp_file('html') - args = ['--info', '--custom-template', custom_template, '--custom-output', result_file, test_dir] + args = ['-clip', '--custom-template', custom_template, '--custom-output', result_file, test_dir] run_scan_click(args) results = open(result_file).read() - assert 'Custom Template' in results - assert __version__ in results + expected = open(expected_file).read() + assert expected == results @pytest.mark.scanslow @@ -161,7 +173,7 @@ def test_HtmlOutput_process_codebase_does_not_fail_with_non_ascii_scanned_paths_ def test_html_output_can_handle_non_ascii_paths(): - test_file = test_env.get_test_loc('unicode.json') + test_file = test_env.get_test_loc('templated/unicode.json') result_file = test_env.get_temp_file(extension='html', file_name='test_html') run_scan_click(['--from-json', test_file, '--html', result_file]) @@ -173,7 +185,7 @@ def test_html_output_can_handle_non_ascii_paths(): @pytest.mark.scanslow def test_custom_html_output_can_handle_non_ascii_paths(): - test_file = test_env.get_test_loc('unicode.json') + test_file = test_env.get_test_loc('templated/unicode.json') result_file = test_env.get_temp_file(extension='html', file_name='test_html') custom_template = test_env.get_test_loc('templated/sample-template.html') diff --git a/tests/formattedcode/test_output_yaml.py b/tests/formattedcode/test_output_yaml.py new file mode 100644 index 00000000000..106108bd0d1 --- /dev/null +++ b/tests/formattedcode/test_output_yaml.py @@ -0,0 +1,88 @@ +# -*- coding: utf-8 -*- +# +# Copyright (c) nexB Inc. and others. All rights reserved. +# ScanCode is a trademark of nexB Inc. +# SPDX-License-Identifier: Apache-2.0 +# See http://www.apache.org/licenses/LICENSE-2.0 for the license text. +# See https://github.com/nexB/scancode-toolkit for support or download. +# See https://aboutcode.org for more information about nexB OSS projects. +# + +import os + +import pytest +import saneyaml + +from commoncode.testcase import FileDrivenTesting +from scancode.cli_test_utils import cleanup_scan +from scancode.cli_test_utils import run_scan_click + +test_env = FileDrivenTesting() +test_env.test_data_dir = os.path.join(os.path.dirname(__file__), 'data') + + +def test_yaml(): + test_dir = test_env.get_test_loc('yaml/simple') + result_file = test_env.get_temp_file('yaml') + run_scan_click(['-clip', test_dir, '--yaml', result_file]) + expected = test_env.get_test_loc('yaml/simple-expected.yaml') + check_yaml_scan(expected, result_file, regen=False) + + +@pytest.mark.scanslow +def test_scan_output_does_not_truncate_copyright_yaml(): + test_dir = test_env.get_test_loc('yaml/tree/scan/') + result_file = test_env.get_temp_file('test.yaml') + run_scan_click(['-clip', '--strip-root', test_dir, '--yaml', result_file]) + expected = test_env.get_test_loc('yaml/tree/expected.yaml') + check_yaml_scan(expected, result_file, regen=False) + + +@pytest.mark.scanslow +def test_scan_output_for_timestamp(): + test_dir = test_env.get_test_loc('yaml/simple') + result_file = test_env.get_temp_file('yaml') + run_scan_click(['-clip', test_dir, '--yaml', result_file]) + result_yaml = saneyaml.load(open(result_file).read()) + header = result_yaml['headers'][0] + assert 'start_timestamp' in header + assert 'end_timestamp' in header + + +def check_yaml_scan(expected_file, result_file, regen=False): + """ + Check the scan `result_file` YAML results against the `expected_file` + expected YAML results. + + If `regen` is True the expected_file WILL BE overwritten with the new scan + results from `results_file`. This is convenient for updating tests + expectations. But use with caution. + """ + results = load_yaml_results(result_file) or {} + if regen: + with open(expected_file, 'w') as reg: + reg.write(saneyaml.dump(results)) + + expected = load_yaml_results(expected_file) + + results.pop('headers', None) + expected.pop('headers', None) + + # NOTE we redump the YAML as a string for a more efficient display of the + # failures comparison/diff + expected = saneyaml.dump(expected) + results = saneyaml.dump(results) + assert expected == results + + +def load_yaml_results(location): + """ + Load the YAML scan results file at `location`. + To help with test resilience against small changes some attributes are + removed or streamlined such as the "tool_version" and scan "errors". + Also date attributes from "files" and "headers" entries are removed. + """ + with open(location, encoding='utf-8') as res: + scan_results = res.read() + scan_results = saneyaml.load(scan_results) + return cleanup_scan(scan_results, remove_file_date=True) diff --git a/tests/licensedcode/data/datadriven/external/fossology-licenses/ascender-eula.txt.yml b/tests/licensedcode/data/datadriven/external/fossology-licenses/ascender-eula.txt.yml index eeddb895dda..91f65ab6844 100644 --- a/tests/licensedcode/data/datadriven/external/fossology-licenses/ascender-eula.txt.yml +++ b/tests/licensedcode/data/datadriven/external/fossology-licenses/ascender-eula.txt.yml @@ -1,4 +1,4 @@ license_expressions: - proprietary-license - - commercial-license + - proprietary-license notes: this is a license from fossology license reference Ascender-EULA (Ascender EULA) http://www.ascendercorp.com/services/licensing/eula-5/ diff --git a/tests/licensedcode/data/datadriven/external/fossology-tests/MPL/opl-1.0.txt.yml b/tests/licensedcode/data/datadriven/external/fossology-tests/MPL/opl-1.0.txt.yml index ee28cce51d6..ab0abca28bf 100644 --- a/tests/licensedcode/data/datadriven/external/fossology-tests/MPL/opl-1.0.txt.yml +++ b/tests/licensedcode/data/datadriven/external/fossology-tests/MPL/opl-1.0.txt.yml @@ -3,7 +3,5 @@ license_expressions: - mpl-1.1 - mpl-1.1 - open-public - - unknown-license-reference - - unknown - - unknown -notes: this is an mpl-1.1 deruvative... very rare. + - warranty-disclaimer +notes: this is an mpl-1.1 derivative which is very rare. diff --git a/tests/licensedcode/data/datadriven/external/glc/MPL-1.1.t2.yml b/tests/licensedcode/data/datadriven/external/glc/MPL-1.1.t2.yml index 9dd1ac94669..f9beefdb734 100644 --- a/tests/licensedcode/data/datadriven/external/glc/MPL-1.1.t2.yml +++ b/tests/licensedcode/data/datadriven/external/glc/MPL-1.1.t2.yml @@ -2,7 +2,6 @@ license_expressions: - mpl-1.1 OR lgpl-2.1-plus - mpl-1.0 - mpl-1.1 OR lgpl-2.1-plus OR apache-2.0 -expected_failure: yes notes: | License test derived from a file of the BSD-licensed repository at: https://raw.githubusercontent.com/google/licensecheck/v0.3.1/testdata/MPL-1.1.t2 diff --git a/tests/licensedcode/data/datadriven/lic1/e2fsprogs_1.txt.yml b/tests/licensedcode/data/datadriven/lic1/e2fsprogs_1.txt.yml index bb3e367a461..5e894dbe497 100644 --- a/tests/licensedcode/data/datadriven/lic1/e2fsprogs_1.txt.yml +++ b/tests/licensedcode/data/datadriven/lic1/e2fsprogs_1.txt.yml @@ -1,5 +1,4 @@ license_expressions: - - gpl-1.0-plus - - bsd-new + - gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit - gpl-2.0 - lgpl-2.0 diff --git a/tests/licensedcode/data/datadriven/lic2/apache_and_bsd-simplified_and_lgpl_and_mit_and_other.txt.yml b/tests/licensedcode/data/datadriven/lic2/apache_and_bsd-simplified_and_lgpl_and_mit_and_other.txt.yml index 42ebc9df560..9f2cbe7285f 100644 --- a/tests/licensedcode/data/datadriven/lic2/apache_and_bsd-simplified_and_lgpl_and_mit_and_other.txt.yml +++ b/tests/licensedcode/data/datadriven/lic2/apache_and_bsd-simplified_and_lgpl_and_mit_and_other.txt.yml @@ -3,7 +3,9 @@ license_expressions: - apache-2.0 - apache-1.1 - lgpl-2.0-plus + - bsd-new + - unicode - mit -notes: this is a notice listing quite a few licenses, normally referenced elsewhere There is +notes: this is a notice listing quite a few licenses, normally referenced elsewhere. There is a reference at the bottom to http://web.archive.org/web/20110319085845/http://pixel-mixer.com/cms-icon-set.zip which has some permission notice of sorts. This is the notice for OpenRefine from https://github.com/OpenRefine/OpenRefine/blob/aa65bc5c18ea7cd7582572b6d2fb1a7522016e4c/LICENSE.txt diff --git a/tests/licensedcode/data/datadriven/lic4/gpl-2.0-plus_and_mpl-1.0.txt.yml b/tests/licensedcode/data/datadriven/lic4/gpl-2.0-plus_and_mpl-1.0.txt.yml index 99821ae55da..a6582f81f59 100644 --- a/tests/licensedcode/data/datadriven/lic4/gpl-2.0-plus_and_mpl-1.0.txt.yml +++ b/tests/licensedcode/data/datadriven/lic4/gpl-2.0-plus_and_mpl-1.0.txt.yml @@ -1,4 +1,2 @@ license_expressions: - - mpl-1.0 - - gpl-1.0-plus - - gpl-2.0-plus + - mpl-1.0 OR gpl-2.0-plus diff --git a/tests/licensedcode/data/datadriven/lic4/no-license-with-stop-words.txt b/tests/licensedcode/data/datadriven/lic4/no-license-with-stop-words.txt new file mode 100644 index 00000000000..4058b2de554 --- /dev/null +++ b/tests/licensedcode/data/datadriven/lic4/no-license-with-stop-words.txt @@ -0,0 +1 @@ +some License a Private diff --git a/tests/licensedcode/data/datadriven/lic4/no-license-with-stop-words.txt.yml b/tests/licensedcode/data/datadriven/lic4/no-license-with-stop-words.txt.yml new file mode 100644 index 00000000000..559e88d94a2 --- /dev/null +++ b/tests/licensedcode/data/datadriven/lic4/no-license-with-stop-words.txt.yml @@ -0,0 +1,4 @@ +notes: nothing should be detected here + as "License a Private" should NOT match "license Private" + as there is a stopword inside and this is a short rule. +expected_failure: yes diff --git a/tests/licensedcode/data/plugin_license/license-expression/scan.expected.json b/tests/licensedcode/data/plugin_license/license-expression/scan.expected.json index 834ac3e58af..d15dcb49582 100644 --- a/tests/licensedcode/data/plugin_license/license-expression/scan.expected.json +++ b/tests/licensedcode/data/plugin_license/license-expression/scan.expected.json @@ -28,6 +28,7 @@ "short_name": "Apache 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-1.0", @@ -44,11 +45,13 @@ "licenses": [ "apache-1.0" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 368, "matched_length": 368, @@ -74,6 +77,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -92,11 +96,13 @@ "linux-syscall-exception-gpl", "linux-openib" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "1-spdx-id", "rule_length": 13, "matched_length": 13, @@ -111,6 +117,7 @@ "short_name": "Linux Syscall Exception to GPL", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Linux Foundation", "homepage_url": null, "text_url": "", @@ -129,11 +136,13 @@ "linux-syscall-exception-gpl", "linux-openib" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "1-spdx-id", "rule_length": 13, "matched_length": 13, @@ -148,6 +157,7 @@ "short_name": "Linux-OpenIB", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Linux Foundation", "homepage_url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h", "text_url": "https://github.com/ofiwg/libfabric/blob/master/contrib/buildrpm/README", @@ -166,11 +176,13 @@ "linux-syscall-exception-gpl", "linux-openib" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "1-spdx-id", "rule_length": 13, "matched_length": 13, diff --git a/tests/licensedcode/data/plugin_license/license_url.expected.json b/tests/licensedcode/data/plugin_license/license_url.expected.json index ad98a74e1a6..2985478bef7 100644 --- a/tests/licensedcode/data/plugin_license/license_url.expected.json +++ b/tests/licensedcode/data/plugin_license/license_url.expected.json @@ -36,6 +36,7 @@ "short_name": "Apache 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-1.0", @@ -52,11 +53,13 @@ "licenses": [ "apache-1.0" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 368, "matched_length": 368, diff --git a/tests/licensedcode/data/plugin_license/package/package.expected.json b/tests/licensedcode/data/plugin_license/package/package.expected.json index 620c0e1377f..cb4afd9604b 100644 --- a/tests/licensedcode/data/plugin_license/package/package.expected.json +++ b/tests/licensedcode/data/plugin_license/package/package.expected.json @@ -28,6 +28,7 @@ "short_name": "MIT License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://opensource.org/licenses/mit-license.php", "text_url": "http://opensource.org/licenses/mit-license.php", @@ -44,11 +45,13 @@ "licenses": [ "mit" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -127,6 +130,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/busboy@0.2.14", "repository_homepage_url": "https://www.npmjs.com/package/busboy", "repository_download_url": "https://registry.npmjs.org/busboy/-/busboy-0.2.14.tgz", diff --git a/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json b/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json index 4f9ebf16aa5..62b2cebe9b3 100644 --- a/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json +++ b/tests/licensedcode/data/plugin_license/sqlite/sqlite.expected.json @@ -36,6 +36,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -52,11 +53,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -72,6 +75,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -88,11 +92,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -108,6 +114,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -124,11 +131,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -144,6 +153,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -160,11 +170,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -180,6 +192,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -196,11 +209,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -216,6 +231,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -232,11 +248,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -252,6 +270,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -268,11 +287,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -288,6 +309,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -304,11 +326,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -324,6 +348,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -340,11 +365,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -360,6 +387,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -376,11 +404,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -396,6 +426,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -412,11 +443,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -432,6 +465,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -448,11 +482,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -468,6 +504,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -484,11 +521,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -504,6 +543,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -520,11 +560,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -540,6 +582,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -556,11 +599,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -576,6 +621,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -592,11 +638,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -612,6 +660,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -628,11 +677,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -648,6 +699,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -664,11 +716,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -684,6 +738,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -700,11 +755,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -720,6 +777,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -736,11 +794,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -756,6 +816,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -772,11 +833,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -792,6 +855,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -808,11 +872,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -828,6 +894,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -844,11 +911,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -864,6 +933,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -880,11 +950,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -900,6 +972,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -916,11 +989,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -936,6 +1011,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -952,11 +1028,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -972,6 +1050,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -988,11 +1067,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -1008,6 +1089,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -1024,11 +1106,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -1044,6 +1128,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -1060,11 +1145,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -1080,6 +1167,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -1096,11 +1184,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -1116,6 +1206,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -1132,11 +1223,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -1152,6 +1245,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -1168,11 +1262,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -1188,6 +1284,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -1204,11 +1301,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -1224,6 +1323,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -1240,11 +1340,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -1260,6 +1362,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -1276,11 +1379,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -1296,6 +1401,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -1312,11 +1418,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -1332,6 +1440,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -1348,11 +1457,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -1368,6 +1479,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -1384,11 +1496,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -1404,6 +1518,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -1420,11 +1535,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -1440,6 +1557,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -1456,11 +1574,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -1476,6 +1596,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -1492,11 +1613,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -1512,6 +1635,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -1528,11 +1652,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -1548,6 +1674,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -1564,11 +1691,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -1584,6 +1713,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -1600,11 +1730,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -1620,6 +1752,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -1636,11 +1769,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -1656,6 +1791,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -1672,11 +1808,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -1692,6 +1830,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -1708,11 +1847,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -1728,6 +1869,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -1744,11 +1886,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -1764,6 +1908,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -1780,11 +1925,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -1800,6 +1947,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -1816,11 +1964,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -1836,6 +1986,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -1852,11 +2003,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -1872,6 +2025,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -1888,11 +2042,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -1908,6 +2064,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -1924,11 +2081,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -1944,6 +2103,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -1960,11 +2120,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -1980,6 +2142,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -1996,11 +2159,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -2016,6 +2181,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -2032,11 +2198,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -2052,6 +2220,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -2068,11 +2237,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -2088,6 +2259,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -2104,11 +2276,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -2124,6 +2298,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -2140,11 +2315,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -2160,6 +2337,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -2176,11 +2354,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -2196,6 +2376,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -2212,11 +2393,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -2232,6 +2415,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -2248,11 +2432,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -2268,6 +2454,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -2284,11 +2471,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -2304,6 +2493,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -2320,11 +2510,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -2340,6 +2532,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -2356,11 +2549,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -2376,6 +2571,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -2392,11 +2588,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -2412,6 +2610,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -2428,11 +2627,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -2448,6 +2649,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -2464,11 +2666,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -2484,6 +2688,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -2500,11 +2705,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -2520,6 +2727,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -2536,11 +2744,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -2556,6 +2766,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -2572,11 +2783,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -2592,6 +2805,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -2608,11 +2822,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -2628,6 +2844,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -2644,11 +2861,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -2664,6 +2883,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -2680,11 +2900,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -2700,6 +2922,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -2716,11 +2939,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -2736,6 +2961,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -2752,11 +2978,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -2772,6 +3000,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -2788,11 +3017,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -2808,6 +3039,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -2824,11 +3056,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -2844,6 +3078,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -2860,11 +3095,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -2880,6 +3117,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -2896,11 +3134,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -2916,6 +3156,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -2932,11 +3173,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -2952,6 +3195,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -2968,11 +3212,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -2988,6 +3234,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -3004,11 +3251,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -3024,6 +3273,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -3040,11 +3290,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -3060,6 +3312,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -3076,11 +3329,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -3096,6 +3351,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -3112,11 +3368,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -3132,6 +3390,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -3148,11 +3407,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -3168,6 +3429,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -3184,11 +3446,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -3204,6 +3468,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -3220,11 +3485,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -3240,6 +3507,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -3256,11 +3524,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -3276,6 +3546,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -3292,11 +3563,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -3312,6 +3585,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -3328,11 +3602,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -3348,6 +3624,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -3364,11 +3641,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -3384,6 +3663,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -3400,11 +3680,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -3420,6 +3702,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -3436,11 +3719,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -3456,6 +3741,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -3472,11 +3758,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -3492,6 +3780,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -3508,11 +3797,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -3528,6 +3819,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -3544,11 +3836,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -3564,6 +3858,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -3580,11 +3875,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -3600,6 +3897,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -3616,11 +3914,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -3636,6 +3936,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -3652,11 +3953,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -3672,6 +3975,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -3688,11 +3992,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -3708,6 +4014,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -3724,11 +4031,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -3744,6 +4053,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -3760,11 +4070,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -3780,6 +4092,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -3796,11 +4109,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -3816,6 +4131,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -3832,11 +4148,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -3852,6 +4170,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -3868,11 +4187,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -3888,6 +4209,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -3904,11 +4226,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -3924,6 +4248,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -3940,11 +4265,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -3960,6 +4287,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -3976,11 +4304,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -3996,6 +4326,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -4012,11 +4343,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -4032,6 +4365,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -4048,11 +4382,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -4068,6 +4404,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -4084,11 +4421,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -4104,6 +4443,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -4120,11 +4460,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -4140,6 +4482,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -4156,11 +4499,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -4176,6 +4521,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -4192,11 +4538,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -4212,6 +4560,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -4228,11 +4577,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -4248,6 +4599,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -4264,11 +4616,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -4284,6 +4638,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -4300,11 +4655,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -4320,6 +4677,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -4336,11 +4694,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -4356,6 +4716,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -4372,11 +4733,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -4392,6 +4755,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -4408,11 +4772,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -4428,6 +4794,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -4444,11 +4811,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -4464,6 +4833,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -4480,11 +4850,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -4500,6 +4872,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -4516,11 +4889,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -4536,6 +4911,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -4552,11 +4928,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -4572,6 +4950,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -4588,11 +4967,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -4608,6 +4989,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -4624,11 +5006,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -4644,6 +5028,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -4660,11 +5045,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -4680,6 +5067,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -4696,11 +5084,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -4716,6 +5106,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -4732,11 +5123,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -4752,6 +5145,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -4768,11 +5162,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -4788,6 +5184,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -4804,11 +5201,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -4824,6 +5223,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -4840,11 +5240,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -4860,6 +5262,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -4876,11 +5279,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, @@ -4896,6 +5301,7 @@ "short_name": "SQLite Blessing", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "SQLite", "homepage_url": "https://sqlite.org/src/artifact/df5091916dbb40e6", "text_url": "", @@ -4912,11 +5318,13 @@ "licenses": [ "blessing" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 42, "matched_length": 42, diff --git a/tests/licensedcode/data/plugin_license/text/scan-diag.expected.json b/tests/licensedcode/data/plugin_license/text/scan-diag.expected.json index c344ccc7a50..aee8011e6b5 100644 --- a/tests/licensedcode/data/plugin_license/text/scan-diag.expected.json +++ b/tests/licensedcode/data/plugin_license/text/scan-diag.expected.json @@ -30,6 +30,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -48,11 +49,13 @@ "linux-syscall-exception-gpl", "linux-openib" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "1-spdx-id", "rule_length": 13, "matched_length": 13, @@ -68,6 +71,7 @@ "short_name": "Linux Syscall Exception to GPL", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Linux Foundation", "homepage_url": null, "text_url": "", @@ -86,11 +90,13 @@ "linux-syscall-exception-gpl", "linux-openib" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "1-spdx-id", "rule_length": 13, "matched_length": 13, @@ -106,6 +112,7 @@ "short_name": "Linux-OpenIB", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Linux Foundation", "homepage_url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h", "text_url": "https://github.com/ofiwg/libfabric/blob/master/contrib/buildrpm/README", @@ -124,11 +131,13 @@ "linux-syscall-exception-gpl", "linux-openib" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "1-spdx-id", "rule_length": 13, "matched_length": 13, @@ -155,6 +164,7 @@ "short_name": "FSF All Permissive License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html", "text_url": "", @@ -171,11 +181,13 @@ "licenses": [ "fsf-ap" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "3-seq", "rule_length": 35, "matched_length": 32, diff --git a/tests/licensedcode/data/plugin_license/text/scan.expected.json b/tests/licensedcode/data/plugin_license/text/scan.expected.json index 0e87043a5f8..4e7a93e17cc 100644 --- a/tests/licensedcode/data/plugin_license/text/scan.expected.json +++ b/tests/licensedcode/data/plugin_license/text/scan.expected.json @@ -29,6 +29,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -47,11 +48,13 @@ "linux-syscall-exception-gpl", "linux-openib" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "1-spdx-id", "rule_length": 13, "matched_length": 13, @@ -67,6 +70,7 @@ "short_name": "Linux Syscall Exception to GPL", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Linux Foundation", "homepage_url": null, "text_url": "", @@ -85,11 +89,13 @@ "linux-syscall-exception-gpl", "linux-openib" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "1-spdx-id", "rule_length": 13, "matched_length": 13, @@ -105,6 +111,7 @@ "short_name": "Linux-OpenIB", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Linux Foundation", "homepage_url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h", "text_url": "https://github.com/ofiwg/libfabric/blob/master/contrib/buildrpm/README", @@ -123,11 +130,13 @@ "linux-syscall-exception-gpl", "linux-openib" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "1-spdx-id", "rule_length": 13, "matched_length": 13, @@ -154,6 +163,7 @@ "short_name": "FSF All Permissive License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html", "text_url": "", @@ -170,11 +180,13 @@ "licenses": [ "fsf-ap" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "3-seq", "rule_length": 35, "matched_length": 32, diff --git a/tests/licensedcode/data/plugin_license/text_long_lines/scan-diag.expected.json b/tests/licensedcode/data/plugin_license/text_long_lines/scan-diag.expected.json index 15fb8055219..80cecf6dbbf 100644 --- a/tests/licensedcode/data/plugin_license/text_long_lines/scan-diag.expected.json +++ b/tests/licensedcode/data/plugin_license/text_long_lines/scan-diag.expected.json @@ -30,6 +30,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -48,11 +49,13 @@ "linux-syscall-exception-gpl", "linux-openib" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "1-spdx-id", "rule_length": 13, "matched_length": 13, @@ -68,6 +71,7 @@ "short_name": "Linux Syscall Exception to GPL", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Linux Foundation", "homepage_url": null, "text_url": "", @@ -86,11 +90,13 @@ "linux-syscall-exception-gpl", "linux-openib" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "1-spdx-id", "rule_length": 13, "matched_length": 13, @@ -106,6 +112,7 @@ "short_name": "Linux-OpenIB", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Linux Foundation", "homepage_url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h", "text_url": "https://github.com/ofiwg/libfabric/blob/master/contrib/buildrpm/README", @@ -124,11 +131,13 @@ "linux-syscall-exception-gpl", "linux-openib" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "1-spdx-id", "rule_length": 13, "matched_length": 13, @@ -155,6 +164,7 @@ "short_name": "Unlicense", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Unlicense", "homepage_url": "http://unlicense.org/", "text_url": "https://unlicense.org/", @@ -171,11 +181,13 @@ "licenses": [ "unlicense" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 198, "matched_length": 198, diff --git a/tests/licensedcode/data/plugin_license/text_long_lines/scan.expected.json b/tests/licensedcode/data/plugin_license/text_long_lines/scan.expected.json index 3fd770d9ba7..be7dd70759a 100644 --- a/tests/licensedcode/data/plugin_license/text_long_lines/scan.expected.json +++ b/tests/licensedcode/data/plugin_license/text_long_lines/scan.expected.json @@ -29,6 +29,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -47,11 +48,13 @@ "linux-syscall-exception-gpl", "linux-openib" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "1-spdx-id", "rule_length": 13, "matched_length": 13, @@ -67,6 +70,7 @@ "short_name": "Linux Syscall Exception to GPL", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Linux Foundation", "homepage_url": null, "text_url": "", @@ -85,11 +89,13 @@ "linux-syscall-exception-gpl", "linux-openib" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "1-spdx-id", "rule_length": 13, "matched_length": 13, @@ -105,6 +111,7 @@ "short_name": "Linux-OpenIB", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Linux Foundation", "homepage_url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h", "text_url": "https://github.com/ofiwg/libfabric/blob/master/contrib/buildrpm/README", @@ -123,11 +130,13 @@ "linux-syscall-exception-gpl", "linux-openib" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "1-spdx-id", "rule_length": 13, "matched_length": 13, @@ -154,6 +163,7 @@ "short_name": "Unlicense", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Unlicense", "homepage_url": "http://unlicense.org/", "text_url": "https://unlicense.org/", @@ -170,11 +180,13 @@ "licenses": [ "unlicense" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 198, "matched_length": 198, diff --git a/tests/licensedcode/data/plugin_license_text/scan.expected.json b/tests/licensedcode/data/plugin_license_text/scan.expected.json index 9c3c12a57d5..6c15597cd63 100644 --- a/tests/licensedcode/data/plugin_license_text/scan.expected.json +++ b/tests/licensedcode/data/plugin_license_text/scan.expected.json @@ -74,6 +74,7 @@ "short_name": "Apache 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-1.0", @@ -90,11 +91,13 @@ "licenses": [ "apache-1.0" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 368, "matched_length": 368, @@ -141,6 +144,7 @@ "short_name": "Apache 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-1.0", @@ -157,11 +161,13 @@ "licenses": [ "apache-1.0" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 368, "matched_length": 368, @@ -208,6 +214,7 @@ "short_name": "JA-SiG License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "JA-SIG Collaborative", "homepage_url": "http://web.archive.org/web/20040402030132/http://uportal.org/license.html", "text_url": "", @@ -224,11 +231,13 @@ "licenses": [ "ja-sig" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 212, "matched_length": 212, @@ -244,6 +253,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -260,11 +270,15 @@ "licenses": [ "apache-2.0" ], + "referenced_filenames": [ + "NOTICE" + ], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 119, "matched_length": 119, @@ -312,6 +326,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -330,11 +345,13 @@ "linux-syscall-exception-gpl", "linux-openib" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "1-spdx-id", "rule_length": 13, "matched_length": 13, @@ -350,6 +367,7 @@ "short_name": "Linux Syscall Exception to GPL", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Linux Foundation", "homepage_url": null, "text_url": "", @@ -368,11 +386,13 @@ "linux-syscall-exception-gpl", "linux-openib" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "1-spdx-id", "rule_length": 13, "matched_length": 13, @@ -388,6 +408,7 @@ "short_name": "Linux-OpenIB", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Linux Foundation", "homepage_url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/core/sa.h", "text_url": "https://github.com/ofiwg/libfabric/blob/master/contrib/buildrpm/README", @@ -406,11 +427,13 @@ "linux-syscall-exception-gpl", "linux-openib" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "1-spdx-id", "rule_length": 13, "matched_length": 13, @@ -457,6 +480,7 @@ "short_name": "JA-SiG License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "JA-SIG Collaborative", "homepage_url": "http://web.archive.org/web/20040402030132/http://uportal.org/license.html", "text_url": "", @@ -473,11 +497,13 @@ "licenses": [ "ja-sig" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 212, "matched_length": 212, @@ -493,6 +519,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -509,11 +536,15 @@ "licenses": [ "apache-2.0" ], + "referenced_filenames": [ + "NOTICE" + ], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 119, "matched_length": 119, diff --git a/tests/licensedcode/data/query/query_lines/yahoo-eula.txt b/tests/licensedcode/data/query/query_lines/yahoo-eula.txt deleted file mode 100644 index 20f223eccb9..00000000000 --- a/tests/licensedcode/data/query/query_lines/yahoo-eula.txt +++ /dev/null @@ -1,7 +0,0 @@ -Software License - -Welcome to Yahoo! software (the "Yahoo! Software"). By clicking the "I Agree" button below, you agree to these software license terms (the "Software License") that supplement the Yahoo! Terms of Service ("TOS") below, also located at http://info.yahoo.com/legal/us/yahoo/utos/utos-173.html. If you disagree with any of the terms below, Yahoo! does not grant you a license to use the Yahoo! Software; click the "I Disagree" or "Cancel" button to exit the installer. - -Information collected through Yahoo! Software by Yahoo! is subject to the full Yahoo! Privacy Policy: http://info.yahoo.com/privacy/us/yahoo/. To find out more about setting your preferences and the information collected by the Yahoo! Software and used by Yahoo!, go to: http://info.yahoo.com/privacy/us/yahoo/toolbar/details.html. - -Yahoo! reserves the right to update and change, from time to time, this Software License and all documents incorporated by reference. You can always find the most recent version of this Software License at http://info.yahoo.com/legal/us/yahoo/toolbar/tbeula/tbeula-282.html. Yahoo! may change this Software License by posting a new version without notice to you. Use of the Yahoo! Software after such change constitutes acceptance of such changes. diff --git a/tests/licensedcode/data/query/query_lines/yahoo-eula.txt.json b/tests/licensedcode/data/query/query_lines/yahoo-eula.txt.json deleted file mode 100644 index 572e6ea03d4..00000000000 --- a/tests/licensedcode/data/query/query_lines/yahoo-eula.txt.json +++ /dev/null @@ -1,843 +0,0 @@ -[ - [ - [ - 5675, - "software" - ], - [ - 2494, - "license" - ] - ], - [], - [ - [ - 9002, - "welcome" - ], - [ - 5929, - "to" - ], - [ - 5902, - "yahoo" - ], - [ - 5675, - "software" - ], - [ - 5927, - "the" - ], - [ - 5902, - "yahoo" - ], - [ - 5675, - "software" - ], - [ - 4681, - "by" - ], - [ - 6444, - "clicking" - ], - [ - 5927, - "the" - ], - [ - 5035, - "i" - ], - [ - 198, - "agree" - ], - [ - 6672, - "button" - ], - [ - 6034, - "below" - ], - [ - 5926, - "you" - ], - [ - 198, - "agree" - ], - [ - 5929, - "to" - ], - [ - 6259, - "these" - ], - [ - 5675, - "software" - ], - [ - 2494, - "license" - ], - [ - 5765, - "terms" - ], - [ - 5927, - "the" - ], - [ - 5675, - "software" - ], - [ - 2494, - "license" - ], - [ - 5981, - "that" - ], - [ - 5729, - "supplement" - ], - [ - 5927, - "the" - ], - [ - 5902, - "yahoo" - ], - [ - 5765, - "terms" - ], - [ - 5931, - "of" - ], - [ - 5634, - "service" - ], - [ - 5781, - "tos" - ], - [ - 6034, - "below" - ], - [ - 6312, - "also" - ], - [ - 6169, - "located" - ], - [ - 6046, - "at" - ], - [ - 6139, - "http" - ], - [ - 5064, - "info" - ], - [ - 5902, - "yahoo" - ], - [ - 4733, - "com" - ], - [ - 2430, - "legal" - ], - [ - 5811, - "us" - ], - [ - 5902, - "yahoo" - ], - [ - 20215, - "utos" - ], - [ - 20215, - "utos" - ], - [ - 8156, - "173" - ], - [ - 5978, - "html" - ], - [ - 5966, - "if" - ], - [ - 5926, - "you" - ], - [ - 1289, - "disagree" - ], - [ - 5875, - "with" - ], - [ - 5993, - "any" - ], - [ - 5931, - "of" - ], - [ - 5927, - "the" - ], - [ - 5765, - "terms" - ], - [ - 6034, - "below" - ], - [ - 5902, - "yahoo" - ], - [ - 6072, - "does" - ], - [ - 5934, - "not" - ], - [ - 1951, - "grant" - ], - [ - 5926, - "you" - ], - [ - 2494, - "license" - ], - [ - 5929, - "to" - ], - [ - 5813, - "use" - ], - [ - 5927, - "the" - ], - [ - 5902, - "yahoo" - ], - [ - 5675, - "software" - ], - [ - 4717, - "click" - ], - [ - 5927, - "the" - ], - [ - 5035, - "i" - ], - [ - 1289, - "disagree" - ], - [ - 5440, - "or" - ], - [ - 6898, - "cancel" - ] - ], - [ - [ - 6672, - "button" - ], - [ - 5929, - "to" - ], - [ - 13337, - "exit" - ], - [ - 5927, - "the" - ], - [ - 7003, - "installer" - ] - ], - [], - [ - [ - 6219, - "information" - ], - [ - 666, - "collected" - ], - [ - 5943, - "through" - ], - [ - 5902, - "yahoo" - ], - [ - 5675, - "software" - ], - [ - 4681, - "by" - ], - [ - 5902, - "yahoo" - ], - [ - 5088, - "is" - ], - [ - 5940, - "subject" - ], - [ - 5929, - "to" - ], - [ - 5927, - "the" - ], - [ - 6179, - "full" - ], - [ - 5902, - "yahoo" - ], - [ - 3134, - "privacy" - ], - [ - 5505, - "policy" - ], - [ - 6139, - "http" - ], - [ - 5064, - "info" - ], - [ - 5902, - "yahoo" - ], - [ - 4733, - "com" - ], - [ - 3134, - "privacy" - ], - [ - 5811, - "us" - ], - [ - 5902, - "yahoo" - ], - [ - 5929, - "to" - ], - [ - 6212, - "find" - ], - [ - 6007, - "out" - ], - [ - 6269, - "more" - ], - [ - 6189, - "about" - ], - [ - 7415, - "setting" - ], - [ - 5968, - "your" - ], - [ - 3083, - "preferences" - ], - [ - 5936, - "and" - ], - [ - 5927, - "the" - ], - [ - 6219, - "information" - ], - [ - 666, - "collected" - ], - [ - 4681, - "by" - ], - [ - 5927, - "the" - ], - [ - 5902, - "yahoo" - ], - [ - 5675, - "software" - ], - [ - 5936, - "and" - ], - [ - 5964, - "used" - ], - [ - 4681, - "by" - ], - [ - 5902, - "yahoo" - ], - [ - 7087, - "go" - ], - [ - 5929, - "to" - ], - [ - 6139, - "http" - ], - [ - 5064, - "info" - ], - [ - 5902, - "yahoo" - ], - [ - 4733, - "com" - ], - [ - 3134, - "privacy" - ], - [ - 5811, - "us" - ], - [ - 5902, - "yahoo" - ], - [ - 20221, - "toolbar" - ], - [ - 6141, - "details" - ], - [ - 5978, - "html" - ] - ], - [], - [ - [ - 5902, - "yahoo" - ], - [ - 3536, - "reserves" - ], - [ - 5927, - "the" - ], - [ - 5928, - "right" - ], - [ - 5929, - "to" - ], - [ - 7021, - "update" - ], - [ - 5936, - "and" - ], - [ - 4703, - "change" - ], - [ - 5956, - "from" - ], - [ - 6047, - "time" - ], - [ - 5929, - "to" - ], - [ - 6047, - "time" - ], - [ - 5932, - "this" - ], - [ - 5675, - "software" - ], - [ - 2494, - "license" - ], - [ - 5936, - "and" - ], - [ - 5963, - "all" - ], - [ - 6245, - "documents" - ], - [ - 2140, - "incorporated" - ], - [ - 4681, - "by" - ], - [ - 5568, - "reference" - ], - [ - 5926, - "you" - ], - [ - 4688, - "can" - ], - [ - 6948, - "always" - ], - [ - 6212, - "find" - ], - [ - 5927, - "the" - ], - [ - 6148, - "most" - ], - [ - 11438, - "recent" - ], - [ - 5969, - "version" - ], - [ - 5931, - "of" - ], - [ - 5932, - "this" - ], - [ - 5675, - "software" - ], - [ - 2494, - "license" - ], - [ - 6046, - "at" - ], - [ - 6139, - "http" - ], - [ - 5064, - "info" - ], - [ - 5902, - "yahoo" - ], - [ - 4733, - "com" - ], - [ - 2430, - "legal" - ], - [ - 5811, - "us" - ], - [ - 5902, - "yahoo" - ], - [ - 20221, - "toolbar" - ], - [ - null, - null - ], - [ - null, - null - ], - [ - null, - null - ], - [ - 5978, - "html" - ], - [ - 5902, - "yahoo" - ], - [ - 5952, - "may" - ], - [ - 4703, - "change" - ], - [ - 5932, - "this" - ], - [ - 5675, - "software" - ], - [ - 2494, - "license" - ], - [ - 4681, - "by" - ], - [ - 3054, - "posting" - ], - [ - 5344, - "new" - ], - [ - 5969, - "version" - ], - [ - 5957, - "without" - ], - [ - 5370, - "notice" - ], - [ - 5929, - "to" - ], - [ - 5926, - "you" - ], - [ - 5813, - "use" - ], - [ - 5931, - "of" - ], - [ - 5927, - "the" - ], - [ - 5902, - "yahoo" - ], - [ - 5675, - "software" - ], - [ - 6725, - "after" - ], - [ - 6010, - "such" - ], - [ - 4703, - "change" - ], - [ - 853, - "constitutes" - ], - [ - 20, - "acceptance" - ], - [ - 5931, - "of" - ], - [ - 6010, - "such" - ], - [ - 5961, - "changes" - ] - ] -] \ No newline at end of file diff --git a/tests/licensedcode/licensedcode_test_utils.py b/tests/licensedcode/licensedcode_test_utils.py index 82a0000d7c6..5df37a15bf8 100644 --- a/tests/licensedcode/licensedcode_test_utils.py +++ b/tests/licensedcode/licensedcode_test_utils.py @@ -64,7 +64,7 @@ def __attrs_post_init__(self, *args, **kwargs): with io.open(self.data_file, encoding='utf-8') as df: data = saneyaml.load(df.read()) or {} except Exception as e: - raise Exception('Failed to read:', 'file://' + self.data_file, e) + raise Exception(f'Failed to read: file://{self.data_file}', e) self.license_expressions = data.pop('license_expressions', []) self.notes = data.pop('notes', None) @@ -83,14 +83,14 @@ def __attrs_post_init__(self, *args, **kwargs): except: raise Exception( 'Unable to parse License rule expression: ' - +repr(exp) + ' for: file://' + self.data_file + - '\n' + traceback.format_exc() - ) + f'{exp!r} for: file://{self.data_file}\n' + + traceback.format_exc() + ) if expression is None: raise Exception( 'Unable to parse License rule expression: ' - +repr(exp) + ' for:' + repr(self.data_file)) - + f'{exp!r} for: file://{self.data_file}' + ) new_exp = expression.render() self.license_expressions[i] = new_exp @@ -98,7 +98,8 @@ def __attrs_post_init__(self, *args, **kwargs): if not self.notes: raise Exception( 'A license test without expected license_expressions should ' - 'have explanatory notes: for: file://' + self.data_file) + f'have explanatory notes: for: file://{self.data_file}' + ) def to_dict(self): dct = {} @@ -139,8 +140,11 @@ def load_from(test_dir): """ Return an iterable of LicenseTest objects loaded from `test_dir` """ - return [LicenseTest(data_file, test_file) - for data_file, test_file in get_test_file_pairs(test_dir)] + return [ + LicenseTest(data_file, test_file) + for data_file, test_file + in get_test_file_pairs(test_dir) + ] def build_tests(test_dir, clazz, regen=False): @@ -162,8 +166,9 @@ def build_tests(test_dir, clazz, regen=False): # avoid duplicated test method if hasattr(clazz, test_name): - msg = ('Duplicated test method name: {test_name}: file://{test_file}' - ).format(**locals()) + msg = ( + f'Duplicated test method name: {test_name}: file://{test_file}' + ) raise Exception(msg) # attach that method to our license_test class @@ -216,17 +221,17 @@ def closure_test_function(*args, **kwargs): results_failure_trace.extend(['', '======= MATCH ====', repr(match), '======= Matched Query Text for:', - 'file://{test_file}'.format(**locals()) + f'file://{test_file}' ]) if test_data_file: - results_failure_trace.append('file://{test_data_file}'.format(**locals())) + results_failure_trace.append(f'file://{test_data_file}') results_failure_trace.append('') results_failure_trace.append(qtext) results_failure_trace.extend(['', '======= Matched Rule Text for:', - 'file://{rule_text_file}'.format(**locals()), - 'file://{rule_data_file}'.format(**locals()), + f'file://{rule_text_file}', + f'file://{rule_data_file}', '', itext, ]) @@ -234,10 +239,10 @@ def closure_test_function(*args, **kwargs): results_failure_trace.extend(['', '======= NO MATCH ====', '======= Not Matched Query Text for:', - 'file://{test_file}'.format(**locals()) + f'file://{test_file}' ]) if test_data_file: - results_failure_trace.append('file://{test_data_file}'.format(**locals())) + results_failure_trace.append(f'file://{test_data_file}') # this assert will always fail and provide a detailed failure trace assert '\n'.join(results_failure_trace) == '\n'.join(expected) diff --git a/tests/licensedcode/test_detect.py b/tests/licensedcode/test_detect.py index e00fb4102f9..7aa1bf73be3 100644 --- a/tests/licensedcode/test_detect.py +++ b/tests/licensedcode/test_detect.py @@ -1061,8 +1061,8 @@ def test_match_has_correct_line_positions_in_automake_perl_file(self): expected = [ # detected, match.lines(), match.qspan, (u'gpl-2.0-plus', (12, 25), Span(46, 155)), - (u'fsf-unlimited-no-warranty', (231, 238), Span(943, 1006)), - (u'free-unknown', (306, 307), Span(1312, 1334)), + (u'fsf-unlimited-no-warranty', (231, 238), Span(945, 1008)), + (u'free-unknown', (306, 307), Span(1314, 1336)), ] self.check_position('positions/automake.pl', expected) diff --git a/tests/licensedcode/test_detection_validate.py b/tests/licensedcode/test_detection_validate.py index 8e131b3a9c5..a26892c675b 100644 --- a/tests/licensedcode/test_detection_validate.py +++ b/tests/licensedcode/test_detection_validate.py @@ -9,6 +9,7 @@ import os import unittest +from pprint import pprint import pytest import saneyaml @@ -28,7 +29,7 @@ """ -def make_validation_test(rule, test_name): +def make_validation_test(rule, test_name, regen=False): """ Build and return a test function closing on tests arguments. """ @@ -38,13 +39,13 @@ def make_validation_test(rule, test_name): if rule.is_false_positive: def closure_test_function(*args, **kwargs): - check_special_rule_can_be_detected(rule) + check_special_rule_cannot_be_detected(rule) else: def closure_test_function(*args, **kwargs): check_rule_or_license_can_be_self_detected_exactly(rule) - check_ignorable_clues(rule) + check_ignorable_clues(rule, regen=regen) closure_test_function.__name__ = test_name closure_test_function.funcname = test_name @@ -52,29 +53,27 @@ def closure_test_function(*args, **kwargs): return closure_test_function -def check_special_rule_can_be_detected(rule): +def check_special_rule_cannot_be_detected(rule): idx = cache.get_index() results = idx.match(location=rule.text_file) - try: - assert not results - except: + if results: data_file = rule.data_file if not data_file: data_file = rule.text_file.replace('.LICENSE', '.yml') # On failure, we compare againto get additional failure details such as # a clickable text_file path - results = ( - results, - 'file://{data_file}'.format(**locals()), - 'file://{text_file}'.format(**locals()), - ) + results = (results, f'file://{data_file}', f'file://{rule.text_file}') # this assert will always fail and provide a more detailed failure trace - assert not results + assert results == [] def check_rule_or_license_can_be_self_detected_exactly(rule): idx = cache.get_index() - matches = idx.match(location=rule.text_file, _skip_hash_match=True) + matches = idx.match( + location=rule.text_file, + _skip_hash_match=True, + deadline=10, + ) expected = [rule.identifier, '100'] results = flatten((m.rule.identifier, str(int(m.coverage()))) for m in matches) @@ -92,99 +91,80 @@ def check_rule_or_license_can_be_self_detected_exactly(rule): failure_trace = ['======= TEST ===='] failure_trace.extend(results) failure_trace.extend(['', - 'file://{data_file}'.format(**locals()), - 'file://{text_file}'.format(**locals()), + f'file://{data_file}', + f'file://{text_file}', '======================', ]) for i, match in enumerate(matches): qtext, itext = get_texts(match) m_text_file = match.rule.text_file + if match.rule.is_from_license: m_data_file = m_text_file.replace('LICENSE', '.yml') else: m_data_file = match.rule.data_file failure_trace.extend(['', - '======= MATCH {} ===='.format(i), repr(match), - 'file://{m_data_file}'.format(**locals()), - 'file://{m_text_file}'.format(**locals()), + f'======= MATCH {i} ====', + repr(match), + f'file://{m_data_file}', + f'file://{m_text_file}', '======= Matched Query Text:', '', qtext, '' '======= Matched Rule Text:', '', itext ]) # this assert will always fail and provide a detailed failure trace - assert '\n'.join(expected) == '\n'.join(failure_trace) + assert '\n'.join(failure_trace) == '\n'.join(expected) -def check_ignorable_clues(rule, regen=False): +def check_ignorable_clues(licensish, regen=False, verbose=False): """ - Validate that all ignorable clues defined in a `rule` Rule object are - properly detected in that rule text file. + Validate that all expected ignorable clues declared in a `licensish` License + or Rule object are properly detected in that rule text file. Optionally + regen the ignorables and updates the License or Rule .yml data file. """ - from itertools import chain - from scancode import api - - text_file = rule.text_file + result = models.get_ignorables(text_file=licensish.text_file) - # scan clues - scan_data = {} - scan_data.update(api.get_copyrights(text_file)) - scan_data.update(api.get_urls(text_file, threshold=0)) - scan_data.update(api.get_emails(text_file, threshold=0)) - - results = {} - for what, detections in scan_data.items(): - # remove lines - for detected in detections: - detected.pop('start_line', None) - detected.pop('end_line', None) - - # remove keys and keep only values e.g. a list of detected copyrights, - # emails, etc - detections = sorted(set(chain(*(detected.values() for detected in detections)))) - results['ignorable_' + what] = detections - - results = dict([(k, v) for k, v in sorted(results.items()) if v]) + if verbose: + print() + print('result') + pprint(result) if regen: - for k, v in results.items(): - setattr(rule, k, v) - rule.dump() + models.set_ignorables(licensish, result , verbose=verbose) + licensish.dump() - # collect ignorables - expected = dict([ - ('ignorable_copyrights', sorted(rule.ignorable_copyrights or [])), - ('ignorable_holders', sorted(rule.ignorable_holders or [])), - ('ignorable_authors', sorted(rule.ignorable_authors or [])), - ('ignorable_urls', sorted(rule.ignorable_urls or [])), - ('ignorable_emails', sorted(rule.ignorable_emails or [])), - ]) + expected = models.get_normalized_ignorables(licensish) - expected = dict([(k, v) for k, v in sorted(expected.items()) if v]) + if verbose: + print('expected') + pprint(expected) try: - assert results == expected + assert result == expected except: - # On failure, we compare againto get additional failure details such as - # a clickable text_file path + # On failure, we compare again to get additional failure details such as + # a clickable text_file path. - data_file = rule.data_file + data_file = licensish.data_file if not data_file: - data_file = text_file.replace('.LICENSE', '.yml') - results['files'] = [ - 'file://{data_file}'.format(**locals()), - 'file://{text_file}'.format(**locals()), + data_file = licensish.text_file.replace('.LICENSE', '.yml') + + result['files'] = [ + f'file://{data_file}', + f'file://{licensish.text_file}', ] - # this assert will always fail and provide a more detailed failure trace - assert saneyaml.dump(results) == saneyaml.dump(expected) + + # This assert will always fail and provide a more detailed failure trace + assert saneyaml.dump(result) == saneyaml.dump(expected) -def build_validation_tests(rules, test_classes): +def build_validation_tests(rules, test_classes, regen=False): """ - Dynamically build an individual test method for each rule texts in a `rules` - iterable of Rule objects then attach the test method to the `class_basic` and `class_extended` test - classes for basic and extended respectively. + Dynamically build an individual test method for each rule texts in a + ``rules`` iterable of Rule objects then attach the test methods to the + ``test_classes`` lits of test classes. """ # TODO: add test to detect the standard notice?? @@ -203,8 +183,15 @@ def build_validation_tests(rules, test_classes): for chunk, cls in zip(chunks, test_classes): for rule in chunk: if rule.text_file and os.path.exists(rule.text_file): - test_name = ('test_validate_detect_' + text.python_safe_name(rule.identifier)) - test_method = make_validation_test(rule=rule, test_name=test_name) + test_name = ( + 'test_validate_detect_' + + text.python_safe_name(rule.identifier) + ) + test_method = make_validation_test( + rule=rule, + test_name=test_name, + regen=regen, + ) setattr(cls, test_name, test_method) @@ -239,6 +226,7 @@ class TestValidateLicenseExtended5(unittest.TestCase): _rules = sorted(models.get_rules(), key=lambda r: r.identifier) + build_validation_tests( _rules, test_classes=[ @@ -248,6 +236,8 @@ class TestValidateLicenseExtended5(unittest.TestCase): TestValidateLicenseExtended3, TestValidateLicenseExtended4, TestValidateLicenseExtended5, - ] + ], + regen=False, ) + del _rules diff --git a/tests/licensedcode/test_match.py b/tests/licensedcode/test_match.py index 6c25222c531..cf368461919 100644 --- a/tests/licensedcode/test_match.py +++ b/tests/licensedcode/test_match.py @@ -1412,6 +1412,7 @@ def test_matched_text_is_collected_correctly_in_binary_ffmpeg_windows_whole_line '--enable-lzma --enable-decklink --enable-zlib', 'libswresample license: GPL version 3 or later', + '--enable-gpl --enable-version3 --enable-dxva2 --enable-libmfx --enable-nvenc ' '--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r ' '--enable-gnutls --enable-iconv --enable-libass --enable-libbluray ' @@ -1426,6 +1427,7 @@ def test_matched_text_is_collected_correctly_in_binary_ffmpeg_windows_whole_line '--enable-lzma --enable-decklink --enable-zlib', 'libswscale license: GPL version 3 or later', + '--enable-gpl --enable-version3 --enable-dxva2 --enable-libmfx --enable-nvenc ' '--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r ' '--enable-gnutls --enable-iconv --enable-libass --enable-libbluray ' @@ -1441,7 +1443,7 @@ def test_matched_text_is_collected_correctly_in_binary_ffmpeg_windows_whole_line 'libavutil license: GPL version 3 or later', - 'This software is derived from the GNU GPL XviD codec (1.3.0).' + 'This software is derived from the GNU GPL XviD codec (1.3.0).', ] self.check_matched_texts( diff --git a/tests/licensedcode/test_match_spdx_lid.py b/tests/licensedcode/test_match_spdx_lid.py index 20c770b47bd..50a6826da0c 100644 --- a/tests/licensedcode/test_match_spdx_lid.py +++ b/tests/licensedcode/test_match_spdx_lid.py @@ -68,13 +68,12 @@ def test_method(self): qry = Query(location=test_loc, idx=idx) results = [list(l) for l in qry.spdx_lines] if regen: - wmode = 'w' - with open(expected_loc, wmode) as ef: + with open(expected_loc, 'w') as ef: json.dump(results, ef, indent=2) expected = results else: - with open(expected_loc, 'rb') as ef: - expected = json.load(ef, encoding='utf-8') + with open(expected_loc) as ef: + expected = json.load(ef) assert results == expected diff --git a/tests/licensedcode/test_models.py b/tests/licensedcode/test_models.py index da4463b073b..4f88d73494a 100644 --- a/tests/licensedcode/test_models.py +++ b/tests/licensedcode/test_models.py @@ -103,7 +103,9 @@ def test_build_rules_from_licenses(self): def test_validate_license_library(self): errors, warnings, infos = models.License.validate( - cache.get_licenses_db(), verbose=True) + cache.get_licenses_db(), + verbose=False, + ) assert errors == {} assert warnings == {} assert infos @@ -112,13 +114,16 @@ def test_validate_license_library_can_return_errors(self): test_dir = self.get_test_loc('models/validate') lics = models.load_licenses(test_dir) errors, warnings, infos = models.License.validate( - lics, no_dupe_urls=True, verbose=True) + lics, + no_dupe_urls=True, + verbose=False, + ) expected_errors = { 'GLOBAL': [ - 'Duplicate texts in multiple licenses:apache-2.0: TEXT, bsd-ack-carrot2: TEXT', - 'Duplicate short name:GPL 1.0 in licenses:gpl-1.0-plus, gpl-1.0', - 'Duplicate name:GNU General Public License 1.0 in licenses:gpl-1.0-plus, gpl-1.0'], + 'Duplicate texts in multiple licenses: apache-2.0: TEXT, bsd-ack-carrot2: TEXT', + 'Duplicate short name: GPL 1.0 in licenses: gpl-1.0-plus, gpl-1.0', + 'Duplicate name: GNU General Public License 1.0 in licenses: gpl-1.0-plus, gpl-1.0'], 'bsd-ack-carrot2': [ 'No short name', 'No name', @@ -162,7 +167,7 @@ def test_load_licenses_fails_if_directory_contains_orphaned_files(self): list(models.load_licenses(test_dir)) self.fail('Exception not raised') except Exception as e: - assert 'Some License data or text files are orphaned' in str(e) + assert 'Some License files are orphaned in' in str(e) class TestRule(FileBasedTesting): @@ -200,9 +205,9 @@ def test_rules_types_has_only_boolean_values(self): rule_consitency_errors = [] for r in rules: - list_rule_types = [r.is_license_text, r.is_license_notice, + list_rule_types = [r.is_license_text, r.is_license_notice, r.is_license_tag, r.is_license_reference] - + if any(type(rule_type) != bool for rule_type in list_rule_types): rule_consitency_errors.append((r.data_file, r.text_file)) @@ -213,7 +218,7 @@ def test_rules_have_only_one_rule_type(self): rule_consitency_errors = [] for r in rules: - list_rule_types = [r.is_license_text, r.is_license_notice, + list_rule_types = [r.is_license_text, r.is_license_notice, r.is_license_tag, r.is_license_reference] if sum(list_rule_types) > 1: @@ -317,7 +322,6 @@ def test_compute_thresholds_occurences(self): expected = expected_min_matched_length_unique, expected_min_high_matched_length_unique assert results == expected - def test_Thresholds(self): r1_text = 'licensed under the GPL, licensed under the GPL' r1 = models.Rule(text_file='r1', license_expression='apache-1.1', stored_text=r1_text) diff --git a/tests/licensedcode/test_query.py b/tests/licensedcode/test_query.py index eab1391452a..bf6d34cfdbf 100644 --- a/tests/licensedcode/test_query.py +++ b/tests/licensedcode/test_query.py @@ -9,7 +9,6 @@ import json import os -from unittest.case import expectedFailure from commoncode.testcase import FileBasedTesting from licensedcode import cache @@ -18,12 +17,9 @@ from licensedcode.models import Rule from licensedcode.query import Query - TEST_DATA_DIR = os.path.join(os.path.dirname(__file__), 'data') - - def check_result_equals_expected_json(result, expected, regen=False): """ Check equality between a result collection and an expected JSON file. @@ -143,7 +139,6 @@ def test_Query_known_and_unknown_positions(self): ] assert result == expected - def test_Query_tokenize_from_string(self): rule_text = 'Redistribution and use in source and binary forms with or without modification are permitted' idx = index.LicenseIndex([Rule(stored_text=rule_text, license_expression='bsd')]) @@ -773,14 +768,3 @@ def test_query_run_for_text_with_long_lines(self): idx = cache.get_index() assert len(Query(location1, idx=idx).query_runs) == 17 assert len(Query(location2, idx=idx).query_runs) == 15 - - def test_Query_tokens_by_line_behaves_the_same_on_various_python_2(self): - location = self.get_test_loc('query/query_lines/yahoo-eula.txt') - idx = cache.get_index() - query = Query(location, idx=idx) - tbl = list(query.tokens_by_line()) - # inject the actual token string for sanity - tbt = idx.tokens_by_tid - results = [[[i, i and tbt[i] or i] for i in line] for line in tbl] - expected = self.get_test_loc('query/query_lines/yahoo-eula.txt.json') - check_result_equals_expected_json(results, expected, regen=False) diff --git a/tests/licensedcode/test_seq.py b/tests/licensedcode/test_seq.py index 8d2c8437894..c04712d9cfe 100644 --- a/tests/licensedcode/test_seq.py +++ b/tests/licensedcode/test_seq.py @@ -11,13 +11,19 @@ from licensedcode import seq +""" +This is testing the sequence matching internals using sequences of integers. The +texts are there for reference and sanity and are not use directly in the tests. +""" + class TestSeq(TestCase): def test_find_longest_match_seq(self): # true len = 409 - a = [33, 747, 1551, 119, 33, 1205, 2175, 2837, 119, 84, 3, 21, 54, 5801, + a = [ + 33, 747, 1551, 119, 33, 1205, 2175, 2837, 119, 84, 3, 21, 54, 5801, 4, 5789, 5, 11, 13, 9, 69, 18, 2, 42, 5867, 12, 5824, 5802, 46, 14, 0, 74, 33, 53, 4, 5, 84, 53, 265, 7, 39, 94, 5813, 4, 5856, 7, 38, 4, 140, 296, 12, 120, 46, 14, 474, 5974, 12, 338, 3, 0, 167, 4, 0, 2837, 349, @@ -41,16 +47,22 @@ def test_find_longest_match_seq(self): 9516, 56, 592, 1112, 30, 3, 1409, 17, 723, 34, 301, 1, 1991, 4, 159, 1409, 58, 55, 3805, 10, 478, 790, 2121, 18, 0, 2564, - 0, 2567, 2298, 6, 6670, 2103, 10248, 2179, 4107, 910, 5, 72, 17, 412, - 17, 8, 5878, 5, 53, 8, 97, 76, 6165, 8, 438, 18, 5, 7770, 26, 162, 555, - 230, 936, 4, 8, 1537, 5, 7770, 12, 3479, 30, 8, 97, 8176, 947, 10, 2567, - 7, 755, 3670, 3723, 3716] + 0, 2567, 2298, 6, 6670, 2103, 10248, 2179, 4107, 910, + 5, 72, 17, 412, 17, 8, 5878, 5, 53, 8, + 97, 76, 6165, 8, 438, 18, 5, 7770, 26, 162, + 555, 230, 936, 4, 8, 1537, 5, 7770, 12, 3479, + 30, 8, 97, 8176, 947, 10, 2567, 7, 755, 3670, + 3723, 3716 + ] a_357 = [ - 0, 2567, 2298, 6, 6670, 2103, 10248, 2179, 4107, 910, 5, 72, 17, 412, - 17, 8, 5878, 5, 53, 8, 97, 76, 6165, 8, 438, 18, 5, 7770, 26, 162, 555, - 230, 936, 4, 8, 1537, 5, 7770, 12, 3479, 30, 8, 97, 8176, 947, 10, 2567, - 7, 755, 3670, 3723, 3716 ] + 0, 2567, 2298, 6, 6670, 2103, 10248, 2179, 4107, 910, + 5, 72, 17, 412, 17, 8, 5878, 5, 53, 8, + 97, 76, 6165, 8, 438, 18, 5, 7770, 26, 162, + 555, 230, 936, 4, 8, 1537, 5, 7770, 12, 3479, + 30, 8, 97, 8176, 947, 10, 2567, 7, 755, 3670, + 3723, 3716 + ] ato = ''' copyright 1996 david org copyright 2008 miller openbsd org permission to @@ -90,6 +102,8 @@ def test_find_longest_match_seq(self): stuff if we meet some day and you think this stuff is worth it you can buy me a beer in return poul henning kamp''' + assert len(a) == len(ato.split()) + ato_357 = [ 'the', 'beer', 'ware', 'license', 'revision', '42', 'phk', 'login', 'dk', 'wrote', 'this', 'file', 'as', 'long', 'as', 'you', 'retain', @@ -110,15 +124,26 @@ def test_find_longest_match_seq(self): 407, 408] ) + assert len(matchables) == len(a_357) == len(ato_357) == 52 + b = [ - 0, 2567, 2298, 6, 6670, 2103, 10248, 2179, 13406, 4107, 910, 5, 72, 17, - 412, 17, 8, 5878, 5, 53, 8, 97, 76, 6165, 8, 438, 18, 5, 7770, 26, 162, - 555, 230, 936, 4, 8, 1537, 5, 7770, 12, 3479, 30, 8, 97, 8176, 947, 10, - 2567, 7, 755, 3670, 3723, 3716] + 0, 2567, 2298, 6, 6670, 2103, 10248, 2179, + + # this is an extra token in b only (not in a), at bpos: 9=8 + 13406, + + 4107, 910, + + 5, 72, 17, 412, 17, 8, 5878, 5, 53, 8, + 97, 76, 6165, 8, 438, 18, 5, 7770, 26, 162, + 555, 230, 936, 4, 8, 1537, 5, 7770, 12, 3479, + 30, 8, 97, 8176, 947, 10, 2567, 7, 755, 3670, + 3723, 3716, + ] # this is mapping of high token ids in b to a list of positions # for instance, 10248 is the 'phk' token and is found at position 6 in b - # and 7770 is stuff and oudn in two places + # and 7770 is stuff and found in two places b2j = { 10248: [6], 6670: [4], @@ -135,5 +160,15 @@ def test_find_longest_match_seq(self): b_start = 0 b_end = 53 - tests = seq.find_longest_match(a, b, a_start, len(a), b_start, b_end, b2j, len_good, matchables) + tests = seq.find_longest_match( + a=a, + b=b, + alo=a_start, + ahi=len(a), + blo=b_start, + bhi=b_end, + b2j=b2j, + len_good=len_good, + matchables=matchables, + ) assert tests == seq.Match(a=357, b=0, size=8) diff --git a/tests/packagedcode/data/about/apipkg.ABOUT-expected b/tests/packagedcode/data/about/apipkg.ABOUT-expected index 6b236add96f..5d298682201 100644 --- a/tests/packagedcode/data/about/apipkg.ABOUT-expected +++ b/tests/packagedcode/data/about/apipkg.ABOUT-expected @@ -36,6 +36,9 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": { + "about_resource": "apipkg-1.4-py2.py3-none-any.whl" + }, "purl": "pkg:about/apipkg@1.4", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/about/appdirs.ABOUT-expected b/tests/packagedcode/data/about/appdirs.ABOUT-expected index 4a9ab7bd771..6e647bf4808 100644 --- a/tests/packagedcode/data/about/appdirs.ABOUT-expected +++ b/tests/packagedcode/data/about/appdirs.ABOUT-expected @@ -36,6 +36,9 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": { + "about_resource": "appdirs-1.4.3-py2.py3-none-any.whl" + }, "purl": "pkg:about/appdirs@1.4.3", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/bluedevil/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/bluedevil/APKBUILD new file mode 100644 index 00000000000..66eb4588043 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/bluedevil/APKBUILD @@ -0,0 +1,61 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=bluedevil +pkgver=5.22.0 +pkgrel=0 +pkgdesc="Integrate the Bluetooth technology within KDE workspace and applications" +# armhf blocked by qt5-qtdeclarative +# s390x blocked by kiconthemes +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later AND LGPL-2.0-or-later AND (LGPL-2.1-only OR LGPL-3.0-only)" +depends=" + bluez + kded + " +makedepends=" + bluez-qt-dev + extra-cmake-modules + kcoreaddons-dev + kdbusaddons-dev + kded + kded-dev + ki18n-dev + kiconthemes-dev + kio-dev + knotifications-dev + kwidgetsaddons-dev + kwindowsystem-dev + plasma-framework-dev + qt5-qtbase-dev + qt5-qtdeclarative-dev + shared-mime-info + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/bluedevil-$pkgver.tar.xz" +subpackages="$pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums=" +2fd736347f6144da38c9e53f1bdcb3946b9a6950f8ee2ee3e2663b306fa87fe02e8472266bb7830090835c71a3d14b5965753eadd049dc1b431993ddffd8736a bluedevil-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/bluedevil/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/bluedevil/APKBUILD-expected.json new file mode 100644 index 00000000000..99566ea775f --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/bluedevil/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "bluedevil", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Integrate the Bluetooth technology within KDE workspace and applications", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus AND lgpl-2.0-plus AND (lgpl-2.1 OR lgpl-3.0)", + "declared_license": "GPL-2.0-or-later AND LGPL-2.0-or-later AND (LGPL-2.1-only OR LGPL-3.0-only)", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/bluedevil-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "bluedevil-5.22.0.tar.xz", + "sha512": "2fd736347f6144da38c9e53f1bdcb3946b9a6950f8ee2ee3e2663b306fa87fe02e8472266bb7830090835c71a3d14b5965753eadd049dc1b431993ddffd8736a" + } + ] + }, + "purl": "pkg:alpine/bluedevil@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/breeze-grub/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/breeze-grub/APKBUILD new file mode 100644 index 00000000000..93b33b70bd0 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/breeze-grub/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=breeze-grub +pkgver=5.22.0 +pkgrel=0 +pkgdesc="Breeze theme for GRUB" +arch="noarch !s390x !armhf" # armhf blocked by extra-cmake-modules +url="https://kde.org/plasma-desktop/" +license="GPL-3.0-or-later" +depends="grub" +makedepends=" + extra-cmake-modules + grub-mkfont + unifont + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/breeze-grub-$pkgver.tar.xz" +options="!check" # No test suite available + +build() { + ./mkfont.sh +} + +package() { + install -d "$pkgdir"/usr/share/grub/themes + cp -r breeze "$pkgdir"/usr/share/grub/themes +} +sha512sums=" +7acbac9b242211d82a0d9f0e2922d0be7bfdebce0749a22fc0488cf9bd77bbfc4f8e1eff072aad2c507c7454b4c920b3d14eab3215590bb23b5f854e04136d78 breeze-grub-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/breeze-grub/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/breeze-grub/APKBUILD-expected.json new file mode 100644 index 00000000000..7071258e0e0 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/breeze-grub/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "breeze-grub", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Breeze theme for GRUB", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-3.0-plus", + "declared_license": "GPL-3.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/breeze-grub-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "breeze-grub-5.22.0.tar.xz", + "sha512": "7acbac9b242211d82a0d9f0e2922d0be7bfdebce0749a22fc0488cf9bd77bbfc4f8e1eff072aad2c507c7454b4c920b3d14eab3215590bb23b5f854e04136d78" + } + ] + }, + "purl": "pkg:alpine/breeze-grub@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/breeze-gtk/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/breeze-gtk/APKBUILD new file mode 100644 index 00000000000..fdbf64dadd6 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/breeze-gtk/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=breeze-gtk +pkgver=5.22.0 +pkgrel=0 +pkgdesc="A GTK Theme Built to Match KDE's Breeze" +# armhf blocked by extra-cmake-modules +# s390x blocked by breeze +arch="noarch !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="LGPL-2.1-only" +depends="gtk-engines" +makedepends=" + breeze + breeze-dev + extra-cmake-modules + py3-cairo + sassc + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/breeze-gtk-$pkgver.tar.xz" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums=" +61ce15452173577d397e79ca131cf6cf150388d3972cac91f73e1aff9209a1a9475feccfb6dbc0e5a877e539e1c2a44cc7635e4f874e031e76f09cc4b49120c5 breeze-gtk-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/breeze-gtk/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/breeze-gtk/APKBUILD-expected.json new file mode 100644 index 00000000000..2e3b93f230b --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/breeze-gtk/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "breeze-gtk", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "A GTK Theme Built to Match KDE's Breeze", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "lgpl-2.1", + "declared_license": "LGPL-2.1-only", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/breeze-gtk-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "breeze-gtk-5.22.0.tar.xz", + "sha512": "61ce15452173577d397e79ca131cf6cf150388d3972cac91f73e1aff9209a1a9475feccfb6dbc0e5a877e539e1c2a44cc7635e4f874e031e76f09cc4b49120c5" + } + ] + }, + "purl": "pkg:alpine/breeze-gtk@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/breeze-plymouth/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/breeze-plymouth/APKBUILD new file mode 100644 index 00000000000..b739709a842 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/breeze-plymouth/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=breeze-plymouth +pkgver=5.22.0 +pkgrel=0 +arch="all !armhf" # armhf blocked by extra-cmake-modules +url="https://kde.org/" +pkgdesc="Breeze theme for Plymouth" +license="GPL-2.0-or-later" +depends="plymouth" +makedepends=" + extra-cmake-modules + plymouth-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/breeze-plymouth-$pkgver.tar.xz" +options="!check" # No tests + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DDISTRO_NAME="$(grep PRETTY_NAME /etc/os-release | awk -F = '{ print $2 }')" \ + -DDISTRO_VERSION="$(grep VERSION_ID /etc/os-release | awk -F = '{ print $2 }')" + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums=" +a6c58e4f303767af201397279b48dddb3addc4c6f793ed22eb3af50d0e99bafa387410f86444c45f61e12618153bce321eb32f40288d7e478953357ecab47a32 breeze-plymouth-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/breeze-plymouth/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/breeze-plymouth/APKBUILD-expected.json new file mode 100644 index 00000000000..26b95948be8 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/breeze-plymouth/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "breeze-plymouth", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Breeze theme for Plymouth", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus", + "declared_license": "GPL-2.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/breeze-plymouth-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "breeze-plymouth-5.22.0.tar.xz", + "sha512": "a6c58e4f303767af201397279b48dddb3addc4c6f793ed22eb3af50d0e99bafa387410f86444c45f61e12618153bce321eb32f40288d7e478953357ecab47a32" + } + ] + }, + "purl": "pkg:alpine/breeze-plymouth@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/breeze/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/breeze/APKBUILD new file mode 100644 index 00000000000..9584cfc057f --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/breeze/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=breeze +pkgver=5.22.0 +pkgrel=0 +pkgdesc="Artwork, styles and assets for the Breeze visual style for the Plasma Desktop" +# armhf blocked by qt5-qtdeclarative +# mips, mips64, s390x blocked by kiconthemes +arch="all !armhf !s390x !mips !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later" +depends_dev=" + kconfigwidgets-dev + kdecoration-dev + kguiaddons-dev + ki18n-dev + kiconthemes-dev + kpackage-dev + kwindowsystem-dev + " +makedepends="$depends_dev + extra-cmake-modules + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/breeze-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums=" +6ac6557dba04ea8546ba19a535e6209967d96f0ad6d1f4b653c1eee020db8af47787f510f885570b2c19a9b419e43fa4a4c9d06ed03d353d0e99d877b77def0b breeze-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/breeze/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/breeze/APKBUILD-expected.json new file mode 100644 index 00000000000..d1477c748a3 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/breeze/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "breeze", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Artwork, styles and assets for the Breeze visual style for the Plasma Desktop", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus", + "declared_license": "GPL-2.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/breeze-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "breeze-5.22.0.tar.xz", + "sha512": "6ac6557dba04ea8546ba19a535e6209967d96f0ad6d1f4b653c1eee020db8af47787f510f885570b2c19a9b419e43fa4a4c9d06ed03d353d0e99d877b77def0b" + } + ] + }, + "purl": "pkg:alpine/breeze@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/discover/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/discover/APKBUILD new file mode 100644 index 00000000000..36f48d0562f --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/discover/APKBUILD @@ -0,0 +1,164 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=discover +pkgver=5.22.0 +pkgrel=0 +# armhf blocked by qt5-qtdeclarative +# s390x blocked by flatpak +arch="all !armhf !s390x !mips64" +url="https://userbase.kde.org/Discover" +pkgdesc="KDE Plasma resources management GUI" +license="LGPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only) AND GFDL-1.2-only" +depends="kirigami2" +makedepends=" + appstream-dev + attica-dev + extra-cmake-modules + flatpak-dev + karchive-dev + kauth-dev + kcmutils-dev + kconfig-dev + kcoreaddons-dev + kcrash-dev + kdbusaddons-dev + kdeclarative-dev + ki18n-dev + kidletime-dev + kio-dev + kitemmodels-dev + knewstuff-dev + kuserfeedback-dev + kxmlgui-dev + libapk-qt-dev + plasma-framework-dev + qt5-qtbase-dev + qt5-qtdeclarative-dev + " +checkdepends="xvfb-run" + +# secfixes: +# 5.21.3-r0: +# - CVE-2021-28117 + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source=" + https://download.kde.org/$_rel/plasma/$pkgver/discover-$pkgver.tar.xz + 0001-Add-support-for-Alpine-Linux-apk-backend.patch + alpine-appstream-data.json + alpine-linux-logo-icon.png + " +subpackages=" + $pkgname-backend-apk:backend_apk + $pkgname-backend-flatpak:backend_flatpak + $pkgname-lang + " + +case "$CARCH" in + x86|x86_64) + makedepends="$makedepends fwupd-dev" + subpackages="$subpackages $pkgname-backend-fwupd:backend_fwupd" + ;; + *) ;; +esac + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_DISABLE_FIND_PACKAGE_Snapd=ON + cmake --build build +} + +check() { + cd build + # knsbackendtest and flatpaktest fail to find their required executables + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "(knsbackend|flatpak)test" +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +backend_flatpak() { + pkgdesc="Flatpak backend for $pkgname" + depends="" + install_if="$pkgname flatpak" + + mkdir -p \ + "$subpkgdir"/usr/lib/qt5/plugins/discover \ + "$subpkgdir"/usr/share/libdiscover/categories \ + "$subpkgdir"/usr/lib/qt5/plugins/discover-notifier \ + "$subpkgdir"/usr/share/applications \ + "$subpkgdir"/usr/share/metainfo \ + "$subpkgdir"/usr/share/icons/hicolor/scalable/apps + + mv "$pkgdir"/usr/lib/qt5/plugins/discover/flatpak-backend.so \ + "$subpkgdir"/usr/lib/qt5/plugins/discover/ + mv "$pkgdir"/usr/share/libdiscover/categories/flatpak-backend-categories.xml \ + "$subpkgdir"/usr/share/libdiscover/categories/ + mv "$pkgdir"/usr/lib/qt5/plugins/discover-notifier/FlatpakNotifier.so \ + "$subpkgdir"/usr/lib/qt5/plugins/discover-notifier/ + mv "$pkgdir"/usr/share/applications/org.kde.discover-flatpak.desktop \ + "$subpkgdir"/usr/share/applications/ + mv "$pkgdir"/usr/share/metainfo/org.kde.discover.flatpak.appdata.xml \ + "$subpkgdir"/usr/share/metainfo/ + mv "$pkgdir"/usr/share/icons/hicolor/scalable/apps/flatpak-discover.svg \ + "$subpkgdir"/usr/share/icons/hicolor/scalable/apps/ +} + +backend_apk() { + pkgdesc="Apk backend for $pkgname" + depends="" + install_if="$pkgname apk-tools" + + mkdir -p \ + "$subpkgdir"/usr/lib/qt5/plugins/discover \ + "$subpkgdir"/usr/share/libdiscover/external-appstream-urls \ + "$subpkgdir"/usr/lib/libexec/kauth/ \ + "$subpkgdir"/usr/share/polkit-1/actions/ \ + "$subpkgdir"/usr/share/dbus-1/system.d/ \ + "$subpkgdir"/usr/share/dbus-1/system-services/ + + mv "$pkgdir"/usr/lib/qt5/plugins/discover/alpineapk-backend.so \ + "$subpkgdir"/usr/lib/qt5/plugins/discover/ + mv "$pkgdir"/usr/lib/libexec/kauth/alpineapk_kauth_helper \ + "$subpkgdir"/usr/lib/libexec/kauth/ + mv "$pkgdir"/usr/share/polkit-1/actions/org.kde.discover.alpineapkbackend.policy \ + "$subpkgdir"/usr/share/polkit-1/actions/ + mv "$pkgdir"/usr/share/dbus-1/system.d/org.kde.discover.alpineapkbackend.conf \ + "$subpkgdir"/usr/share/dbus-1/system.d/ + mv "$pkgdir"/usr/share/dbus-1/system-services/org.kde.discover.alpineapkbackend.service \ + "$subpkgdir"/usr/share/dbus-1/system-services/ + + # JSON file contains placeholder for replacement - @CARCH@ + sed -i "s/@CARCH@/$CARCH/g" "$srcdir"/alpine-appstream-data.json + install -Dm644 "$srcdir"/alpine-appstream-data.json \ + "$subpkgdir"/usr/share/libdiscover/external-appstream-urls/alpine-appstream-data.json + + install -Dm644 -t "$subpkgdir"/usr/share/icons/hicolor/32x32/apps/ \ + "$srcdir"/alpine-linux-logo-icon.png +} + +backend_fwupd() { + pkgdesc="fwupd backend for $pkgname" + depends="" + install_if="$pkgname fwupd" + + mkdir -p \ + "$subpkgdir"/usr/lib/qt5/plugins/discover + + mv "$pkgdir"/usr/lib/qt5/plugins/discover/fwupd-backend.so \ + "$subpkgdir"/usr/lib/qt5/plugins/discover/ +} + +sha512sums=" +0612ef86b1a49ea06da9a89e5ef537d34d80ad3c9b748d1e91e6e574670eb545094eb52e858747567c82b0d13a064fb27a8378d1eda3059fb1e1958ad30df945 discover-5.22.0.tar.xz +40019b59c8ad5523ccf64313bf03efb354e8c81074733e62b6a778a3c0dbb699f5d6ba3ee8c950b484fee40bf21c82a5608aa2b0e30bad989fdcf557aa68b583 0001-Add-support-for-Alpine-Linux-apk-backend.patch +f9f73888f8e20b317987da55028bd578de854fb34293466d1bc5deb82e32dc164916f724411de64a42235ecda37205d3f1ba26621ed7ab710b94273acce34aa3 alpine-appstream-data.json +0766668630cb14f58c840ebdda8b76bd1dec98b4dd61469677d4ad6eb4966809a25dbec2a846502cad0391df5b6ca9d692bb857a6fa203b61a52e6ac044cfbf4 alpine-linux-logo-icon.png +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/discover/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/discover/APKBUILD-expected.json new file mode 100644 index 00000000000..fc2c56ffbf4 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/discover/APKBUILD-expected.json @@ -0,0 +1,73 @@ +{ + "type": "alpine", + "namespace": null, + "name": "discover", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "KDE Plasma resources management GUI", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "lgpl-2.0-plus AND (gpl-2.0 OR gpl-3.0) AND gfdl-1.2", + "declared_license": "LGPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only) AND GFDL-1.2-only", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/discover-5.22.0.tar.xz" + }, + { + "file_name": "0001-Add-support-for-Alpine-Linux-apk-backend.patch", + "url": null + }, + { + "file_name": "alpine-appstream-data.json", + "url": null + }, + { + "file_name": "alpine-linux-logo-icon.png", + "url": null + } + ], + "checksums": [ + { + "file_name": "discover-5.22.0.tar.xz", + "sha512": "0612ef86b1a49ea06da9a89e5ef537d34d80ad3c9b748d1e91e6e574670eb545094eb52e858747567c82b0d13a064fb27a8378d1eda3059fb1e1958ad30df945" + }, + { + "file_name": "0001-Add-support-for-Alpine-Linux-apk-backend.patch", + "sha512": "40019b59c8ad5523ccf64313bf03efb354e8c81074733e62b6a778a3c0dbb699f5d6ba3ee8c950b484fee40bf21c82a5608aa2b0e30bad989fdcf557aa68b583" + }, + { + "file_name": "alpine-appstream-data.json", + "sha512": "f9f73888f8e20b317987da55028bd578de854fb34293466d1bc5deb82e32dc164916f724411de64a42235ecda37205d3f1ba26621ed7ab710b94273acce34aa3" + }, + { + "file_name": "alpine-linux-logo-icon.png", + "sha512": "0766668630cb14f58c840ebdda8b76bd1dec98b4dd61469677d4ad6eb4966809a25dbec2a846502cad0391df5b6ca9d692bb857a6fa203b61a52e6ac044cfbf4" + } + ] + }, + "purl": "pkg:alpine/discover@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/drkonqi/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/drkonqi/APKBUILD new file mode 100644 index 00000000000..25ad4ae8d15 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/drkonqi/APKBUILD @@ -0,0 +1,60 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=drkonqi +pkgver=5.22.0 +pkgrel=0 +pkgdesc="The KDE crash handler" +# armhf blocked by extra-cmake-modules +# s390x blocked by kconfigwidgets +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later" +makedepends=" + extra-cmake-modules + kcompletion-dev + kconfigwidgets-dev + kcoreaddons-dev + kcrash-dev + ki18n-dev + kidletime-dev + kio-dev + kjobwidgets-dev + knotifications-dev + kservice-dev + kwallet-dev + kwidgetsaddons-dev + kxmlrpcclient-dev + qt5-qtbase-dev + qt5-qtx11extras-dev + syntax-highlighting-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/drkonqi-$pkgver.tar.xz" +subpackages="$pkgname-lang" +options="!check" # Broken + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF # Broken + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums=" +4b4fb1277584f5200a08c866c74d7caafcb72af2527504cf569558a2ee9ae0ded6fd43020006936b0e969b8a3649a007866865d142da939407c0a34e2ef37796 drkonqi-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/drkonqi/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/drkonqi/APKBUILD-expected.json new file mode 100644 index 00000000000..0286c803702 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/drkonqi/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "drkonqi", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "The KDE crash handler", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus", + "declared_license": "GPL-2.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/drkonqi-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "drkonqi-5.22.0.tar.xz", + "sha512": "4b4fb1277584f5200a08c866c74d7caafcb72af2527504cf569558a2ee9ae0ded6fd43020006936b0e969b8a3649a007866865d142da939407c0a34e2ef37796" + } + ] + }, + "purl": "pkg:alpine/drkonqi@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/jool-modules-lts/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/jool-modules-lts/APKBUILD new file mode 100644 index 00000000000..78b9ca0220e --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/jool-modules-lts/APKBUILD @@ -0,0 +1,99 @@ +# Contributor: Jakub Jirutka +# Maintainer: Jakub Jirutka + +# Jool version +# Keep _ver in sync with community/jool-tools! +# When changing _ver we *must* bump _rel! +_name=jool-modules +_ver=4.1.5 +_rel=0 + +# For custom kernels set $FLAVOR. +_flavor="$FLAVOR" +_extra_flavors="" +if [ -z "$FLAVOR" ]; then + _flavor=lts + case $CARCH in + x86 | x86_64) _extra_flavors="virt";; + esac +fi + +# Kernel version +# Keep in sync with main/linux-lts! +_kpkg=linux-$_flavor +_kver=5.10.43 +_krel=0 +_kpkgver="$_kver-r$_krel" + +pkgname=$_name-$_flavor +pkgver=$_kver +pkgrel=$(( $_krel + $_rel )) +pkgdesc="SIIT and NAT64 for Linux (kernel modules for linux-$_flavor)" +url="https://jool.mx" +arch="all !armhf !mips !mips64" +license="GPL-2.0-or-later" +depends="$_kpkg=$_kpkgver" +makedepends="$_kpkg-dev=$_kpkgver linux-headers" +install_if="$_kpkg=$_kpkgver jool-tools" +source="https://github.com/NICMx/Jool/releases/download/v$_ver/jool-$_ver.tar.gz" +builddir="$srcdir/jool-$_ver" +options="!check" # no tests provided + +for _f in $_extra_flavors; do + makedepends="$makedepends linux-$_f-dev=$_kpkgver" + subpackages="$subpackages $_name-$_f:_extra" +done + +prepare() { + default_prepare + + if [ -z "$FLAVOR" ]; then + ( . "$startdir"/../../main/linux-$_flavor/APKBUILD + [ "$_kver" != "$pkgver" ] && die "please update _kver to $pkgver" + [ "$_krel" != "$pkgrel" ] && die "please update _krel to $pkgrel" + return 0 + ) + fi + + local flavor; for flavor in $_flavor $_extra_flavors; do + cp -r "$builddir" "$srcdir"/$flavor + done +} + +build() { + unset LDFLAGS + + local flavor; for flavor in $_flavor $_extra_flavors; do + # building common first appears to fix a parallell build issue. + make -C "$srcdir"/"$flavor"/src/mod/common \ + MODULES_DIR="/lib/modules/$_kver-$_krel-$flavor" + make -C "$srcdir"/"$flavor"/src/mod \ + MODULES_DIR="/lib/modules/$_kver-$_krel-$flavor" + done +} + +package() { + _modules_install "$_flavor" "$pkgdir" +} + +_extra() { + local flavor=${subpkgname##*-} + depends="linux-$flavor=$_kpkgver" + install_if="linux-$flavor=$_kpkgver jool-tools" + pkgdesc="SIIT and NAT64 for Linux (kernel modules for linux-$flavor)" + + _modules_install "$flavor" "$subpkgdir" +} + +_modules_install() { + local flavor="$1" + local destdir="$2" + + make -C "$srcdir"/$flavor/src/mod modules_install \ + MODULES_DIR=/lib/modules/$_kver-$_krel-$flavor \ + INSTALL_MOD_PATH="$destdir" +} + +sha512sums=" +b1ddd4738ac3c2af607ca6cf298f949f087436b01d5b168d3f3496ba6f1586014958a348393c172599d9c5d42ba2e6e097895ef45db27e2759c89118a3ba33c9 jool-4.1.5.tar.gz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/jool-modules-lts/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/jool-modules-lts/APKBUILD-expected.json new file mode 100644 index 00000000000..3f9b0860445 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/jool-modules-lts/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "jool-modules-lts", + "version": "5.10.43-r$((", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "SIIT and NAT64 for Linux (kernel modules for linux-lts)", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus", + "declared_license": "GPL-2.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://github.com/NICMx/Jool/releases/download/v4.1.5/jool-4.1.5.tar.gz" + } + ], + "checksums": [ + { + "file_name": "jool-4.1.5.tar.gz", + "sha512": "b1ddd4738ac3c2af607ca6cf298f949f087436b01d5b168d3f3496ba6f1586014958a348393c172599d9c5d42ba2e6e097895ef45db27e2759c89118a3ba33c9" + } + ] + }, + "purl": "pkg:alpine/jool-modules-lts@5.10.43-r%24%28%28", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/jool-modules-rpi/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/jool-modules-rpi/APKBUILD new file mode 100644 index 00000000000..22d8edc47fb --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/jool-modules-rpi/APKBUILD @@ -0,0 +1,99 @@ +# Contributor: Jakub Jirutka +# Maintainer: Jakub Jirutka + +# Jool version +# Keep _ver in sync with community/jool-tools! +# When changing _ver we *must* bump _rel! +_name=jool-modules +_ver=4.1.5 +_rel=0 + +# For custom kernels set $FLAVOR. +_flavor="$FLAVOR" +_extra_flavors="" +if [ -z "$FLAVOR" ]; then + _flavor="rpi" + case $CARCH in + armhf | armv7) _extra_flavors="rpi2";; + esac +fi + +# Kernel version +# Keep in sync with main/linux-rpi! +_kpkg=linux-$_flavor +_kver=5.10.43 +_krel=0 +_kpkgver="$_kver-r$_krel" + +pkgname=$_name-$_flavor +pkgver=$_kver +pkgrel=$(( $_krel + $_rel )) +pkgdesc="SIIT and NAT64 for Linux (kernel modules for linux-$_flavor)" +url="https://jool.mx" +arch="armhf armv7 aarch64" +license="GPL-2.0-or-later" +depends="$_kpkg=$_kpkgver" +makedepends="$_kpkg-dev=$_kpkgver linux-headers" +install_if="$_kpkg=$_kpkgver jool-tools" +source="https://github.com/NICMx/Jool/releases/download/v$_ver/jool-$_ver.tar.gz" +builddir="$srcdir/jool-$_ver" +options="!check" # no tests provided + +for _f in $_extra_flavors; do + makedepends="$makedepends linux-$_f-dev=$_kpkgver" + subpackages="$subpackages $_name-$_f:_extra" +done + +prepare() { + default_prepare + + if [ -z "$FLAVOR" ]; then + ( . "$startdir"/../../main/linux-$_flavor/APKBUILD + [ "$_kver" != "$pkgver" ] && die "please update _kver to $pkgver" + [ "$_krel" != "$pkgrel" ] && die "please update _krel to $pkgrel" + return 0 + ) + fi + + local flavor; for flavor in $_flavor $_extra_flavors; do + cp -r "$builddir" "$srcdir"/$flavor + done +} + +build() { + unset LDFLAGS + + local flavor; for flavor in $_flavor $_extra_flavors; do + # building common first appears to fix a parallell build issue. + make -C "$srcdir"/"$flavor"/src/mod/common \ + MODULES_DIR="/lib/modules/$_kver-$_krel-$flavor" + make -C "$srcdir"/"$flavor"/src/mod \ + MODULES_DIR="/lib/modules/$_kver-$_krel-$flavor" + done +} + +package() { + _modules_install "$_flavor" "$pkgdir" +} + +_extra() { + local flavor=${subpkgname##*-} + depends="linux-$flavor=$_kpkgver" + install_if="linux-$flavor=$_kpkgver jool-tools" + pkgdesc="SIIT and NAT64 for Linux (kernel modules for linux-$flavor)" + + _modules_install "$flavor" "$subpkgdir" +} + +_modules_install() { + local flavor="$1" + local destdir="$2" + + make -C "$srcdir"/$flavor/src/mod modules_install \ + MODULES_DIR=/lib/modules/$_kver-$_krel-$flavor \ + INSTALL_MOD_PATH="$destdir" +} + +sha512sums=" +b1ddd4738ac3c2af607ca6cf298f949f087436b01d5b168d3f3496ba6f1586014958a348393c172599d9c5d42ba2e6e097895ef45db27e2759c89118a3ba33c9 jool-4.1.5.tar.gz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/jool-modules-rpi/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/jool-modules-rpi/APKBUILD-expected.json new file mode 100644 index 00000000000..3f9b0860445 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/jool-modules-rpi/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "jool-modules-lts", + "version": "5.10.43-r$((", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "SIIT and NAT64 for Linux (kernel modules for linux-lts)", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus", + "declared_license": "GPL-2.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://github.com/NICMx/Jool/releases/download/v4.1.5/jool-4.1.5.tar.gz" + } + ], + "checksums": [ + { + "file_name": "jool-4.1.5.tar.gz", + "sha512": "b1ddd4738ac3c2af607ca6cf298f949f087436b01d5b168d3f3496ba6f1586014958a348393c172599d9c5d42ba2e6e097895ef45db27e2759c89118a3ba33c9" + } + ] + }, + "purl": "pkg:alpine/jool-modules-lts@5.10.43-r%24%28%28", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kactivitymanagerd/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kactivitymanagerd/APKBUILD new file mode 100644 index 00000000000..d32723018a5 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kactivitymanagerd/APKBUILD @@ -0,0 +1,55 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kactivitymanagerd +pkgver=5.22.0 +pkgrel=0 +pkgdesc="System service to manage user's activities and track the usage patterns" +# armhf blocked by qt5-qtdeclarative +# s390x, mips64 blocked by kxmlgui, kio +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-only OR GPL-3.0-only" +depends="qt5-qtbase-sqlite" +makedepends=" + boost-dev + extra-cmake-modules + kconfig-dev + kcoreaddons-dev + kdbusaddons-dev + kglobalaccel-dev + ki18n-dev + kio-dev + kwindowsystem-dev + kxmlgui-dev + qt5-qtbase-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/kactivitymanagerd-$pkgver.tar.xz" +subpackages="$pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build + + # We don't ship systemd + rm -r "$pkgdir"/usr/lib/systemd +} +sha512sums=" +5f5e2ed9207a7a427f10cd0ee0e9083d56a742c0e3b93d30dd7df55db7da3609479c48261b020d7ac1178c60dfbdc0ddda6b518296f5386264b3a83be6d47396 kactivitymanagerd-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kactivitymanagerd/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kactivitymanagerd/APKBUILD-expected.json new file mode 100644 index 00000000000..99b199f0e10 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kactivitymanagerd/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "kactivitymanagerd", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "System service to manage user's activities and track the usage patterns", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0 OR gpl-3.0", + "declared_license": "GPL-2.0-only OR GPL-3.0-only", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/kactivitymanagerd-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "kactivitymanagerd-5.22.0.tar.xz", + "sha512": "5f5e2ed9207a7a427f10cd0ee0e9083d56a742c0e3b93d30dd7df55db7da3609479c48261b020d7ac1178c60dfbdc0ddda6b518296f5386264b3a83be6d47396" + } + ] + }, + "purl": "pkg:alpine/kactivitymanagerd@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kde-cli-tools/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kde-cli-tools/APKBUILD new file mode 100644 index 00000000000..8b1b3b76295 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kde-cli-tools/APKBUILD @@ -0,0 +1,62 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kde-cli-tools +pkgver=5.22.0 +pkgrel=0 +pkgdesc="Tools based on KDE Frameworks 5 to better interact with the system" +# armhf blocked by extra-cmake-modules +# s390x blocked by libksysguard +arch="all !armhf !s390x !mips64" +url="https://invent.kde.org/plasma/kde-cli-tools" +license="(GPL-2.0-only OR GPL-3.0-only) AND GPL-2.0-or-later AND GPL-2.0-only AND LGPL-2.1-only" +makedepends=" + extra-cmake-modules + kactivities-dev + kcmutils-dev + kconfig-dev + kdeclarative-dev + kdesu-dev + kdoctools-dev + ki18n-dev + kiconthemes-dev + kinit-dev + kio-dev + kservice-dev + kwindowsystem-dev + plasma-workspace-dev + qt5-qtbase-dev + qt5-qtsvg-dev + qt5-qtx11extras-dev + " +checkdepends="xvfb-run" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/kde-cli-tools-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang" +options="!check" # Broken + +# Workaround a circular dependency https://gitlab.alpinelinux.org/alpine/aports/-/issues/11785 +install_if="plasma-workspace" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums=" +6905a29e4700c045de1e04975d001835c1cc26a6999cfd20459d0a8ff0123974bd0c5fd7931de3ac7355420a294f066479f2056d56ae4d2280daa5be753a9fe3 kde-cli-tools-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kde-cli-tools/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kde-cli-tools/APKBUILD-expected.json new file mode 100644 index 00000000000..4c386f902ce --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kde-cli-tools/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "kde-cli-tools", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Tools based on KDE Frameworks 5 to better interact with the system", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "(gpl-2.0 OR gpl-3.0) AND gpl-2.0-plus AND gpl-2.0 AND lgpl-2.1", + "declared_license": "(GPL-2.0-only OR GPL-3.0-only) AND GPL-2.0-or-later AND GPL-2.0-only AND LGPL-2.1-only", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/kde-cli-tools-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "kde-cli-tools-5.22.0.tar.xz", + "sha512": "6905a29e4700c045de1e04975d001835c1cc26a6999cfd20459d0a8ff0123974bd0c5fd7931de3ac7355420a294f066479f2056d56ae4d2280daa5be753a9fe3" + } + ] + }, + "purl": "pkg:alpine/kde-cli-tools@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kde-gtk-config/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kde-gtk-config/APKBUILD new file mode 100644 index 00000000000..851733a1e01 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kde-gtk-config/APKBUILD @@ -0,0 +1,55 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kde-gtk-config +pkgver=5.22.0 +pkgrel=0 +pkgdesc="GTK2 and GTK3 Configurator for KDE" +# armhf blocked by qt5-qtdeclarative +# s390x blocked by kcmutils +arch="all !armhf !s390x !mips64" +url="https://invent.kde.org/plasma/kde-gtk-config" +license="GPL-2.0 AND LGPL-2.1-only OR LGPL-3.0-only" +depends="gsettings-desktop-schemas" +makedepends=" + extra-cmake-modules + gsettings-desktop-schemas-dev + gtk+2.0-dev + gtk+3.0-dev + karchive-dev + kcmutils-dev + kconfigwidgets-dev + kdecoration-dev + ki18n-dev + kiconthemes-dev + kio-dev + knewstuff-dev + qt5-qtbase-dev + qt5-qtsvg-dev + sassc + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/kde-gtk-config-$pkgver.tar.xz" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums=" +8e0b41523dbfab3677065354c1cbc60b81dee081ea893331fd5f473da21b8db04313bdac793a354d3b0ee895f9e4996a39556932d99e4919fb6fc0aaef9ef233 kde-gtk-config-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kde-gtk-config/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kde-gtk-config/APKBUILD-expected.json new file mode 100644 index 00000000000..15debe7a175 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kde-gtk-config/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "kde-gtk-config", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "GTK2 and GTK3 Configurator for KDE", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "(gpl-2.0 AND lgpl-2.1) OR lgpl-3.0", + "declared_license": "GPL-2.0 AND LGPL-2.1-only OR LGPL-3.0-only", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/kde-gtk-config-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "kde-gtk-config-5.22.0.tar.xz", + "sha512": "8e0b41523dbfab3677065354c1cbc60b81dee081ea893331fd5f473da21b8db04313bdac793a354d3b0ee895f9e4996a39556932d99e4919fb6fc0aaef9ef233" + } + ] + }, + "purl": "pkg:alpine/kde-gtk-config@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kdecoration/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kdecoration/APKBUILD new file mode 100644 index 00000000000..dcb10fce29f --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kdecoration/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kdecoration +pkgver=5.22.0 +pkgrel=0 +pkgdesc="Plugin based library to create window decorations" +arch="all !armhf" +url="https://kde.org/plasma-desktop/" +license="LGPL-2.1-only OR LGPL-3.0-only" +depends_dev=" + ki18n-dev + qt5-qtbase-dev + " +makedepends="$depends_dev + extra-cmake-modules + " +checkdepends="xvfb-run" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/kdecoration-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums=" +435e90dc984bb7bf1e94672e6f56455f9265a0baf7dcca0da4655c88e008f4e1eb788b106edb5fce8153e6239c1d6d924c60e4804e5c02ef843e1201e432963b kdecoration-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kdecoration/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kdecoration/APKBUILD-expected.json new file mode 100644 index 00000000000..ac0ca65fda3 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kdecoration/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "kdecoration", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Plugin based library to create window decorations", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "lgpl-2.1 OR lgpl-3.0", + "declared_license": "LGPL-2.1-only OR LGPL-3.0-only", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/kdecoration-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "kdecoration-5.22.0.tar.xz", + "sha512": "435e90dc984bb7bf1e94672e6f56455f9265a0baf7dcca0da4655c88e008f4e1eb788b106edb5fce8153e6239c1d6d924c60e4804e5c02ef843e1201e432963b" + } + ] + }, + "purl": "pkg:alpine/kdecoration@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kdeplasma-addons/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kdeplasma-addons/APKBUILD new file mode 100644 index 00000000000..dc696e4a9e3 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kdeplasma-addons/APKBUILD @@ -0,0 +1,67 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kdeplasma-addons +pkgver=5.22.0 +pkgrel=0 +pkgdesc="All kind of addons to improve your Plasma experience" +# mips, ppc64le and s390x blocked by qt5-qtwebengine +# armhf blocked by qt5-qtdeclarative +arch="all !ppc64le !s390x !armhf !mips !mips64" +url="https://kde.org/plasma-desktop/" +license="LGPL-2.0-only AND GPL-2.0-or-later" +depends="purpose" +depends_dev=" + karchive-dev + kcmutils-dev + kconfig-dev + kcoreaddons-dev + kdeclarative-dev + kholidays-dev + ki18n-dev + kiconthemes-dev + kio-dev + knewstuff-dev + knotifications-dev + kross-dev + krunner-dev + kservice-dev + kunitconversion-dev + kwindowsystem-dev + plasma-framework-dev + qt5-qtbase-dev + qt5-qtdeclarative-dev + qt5-qtwebengine-dev + sonnet-dev + " +makedepends="$depends_dev + extra-cmake-modules + " +checkdepends="xvfb-run" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/kdeplasma-addons-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + # converterrunnertest is broken + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "converterrunnertest" +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums=" +027b54c290011ad0b031515a744ce7ad1b18734054f892c119eddce744078b838583b6125014419c05dea3ba97207b095a487ede0d3e03e2df34d16fe189a543 kdeplasma-addons-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kdeplasma-addons/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kdeplasma-addons/APKBUILD-expected.json new file mode 100644 index 00000000000..2eaa2e57505 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kdeplasma-addons/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "kdeplasma-addons", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "All kind of addons to improve your Plasma experience", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "lgpl-2.0 AND gpl-2.0-plus", + "declared_license": "LGPL-2.0-only AND GPL-2.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/kdeplasma-addons-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "kdeplasma-addons-5.22.0.tar.xz", + "sha512": "027b54c290011ad0b031515a744ce7ad1b18734054f892c119eddce744078b838583b6125014419c05dea3ba97207b095a487ede0d3e03e2df34d16fe189a543" + } + ] + }, + "purl": "pkg:alpine/kdeplasma-addons@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kgamma5/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kgamma5/APKBUILD new file mode 100644 index 00000000000..a3b682d101b --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kgamma5/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kgamma5 +pkgver=5.22.0 +pkgrel=0 +pkgdesc="Adjust your monitor's gamma settings" +# armhf blocked by extra-cmake-modules +# s390x blocked by kconfigwidgets +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later" +makedepends=" + extra-cmake-modules + kconfig-dev + kconfigwidgets-dev + kdoctools-dev + ki18n-dev + qt5-qtbase-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/kgamma5-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums=" +45ad2eebb17b92d32d968cc7abd700b43439ac37e46cbf5a536d323a405325d4030882ce63dddbc7781c1409ae484489f17eaa21faad49fdb809c31d49b12118 kgamma5-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kgamma5/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kgamma5/APKBUILD-expected.json new file mode 100644 index 00000000000..13aa9bcbab4 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kgamma5/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "kgamma5", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Adjust your monitor's gamma settings", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus", + "declared_license": "GPL-2.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/kgamma5-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "kgamma5-5.22.0.tar.xz", + "sha512": "45ad2eebb17b92d32d968cc7abd700b43439ac37e46cbf5a536d323a405325d4030882ce63dddbc7781c1409ae484489f17eaa21faad49fdb809c31d49b12118" + } + ] + }, + "purl": "pkg:alpine/kgamma5@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/khotkeys/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/khotkeys/APKBUILD new file mode 100644 index 00000000000..c9e5ea5de91 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/khotkeys/APKBUILD @@ -0,0 +1,55 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=khotkeys +pkgver=5.22.0 +pkgrel=0 +# armhf blocked by extra-cmake-modules +# s390x blocked by libksysguard +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +pkgdesc="Key Accelerator Application" +license="GPL-2.0-only AND LGPL-2.0-or-later" +makedepends=" + extra-cmake-modules + kcmutils-dev + kdbusaddons-dev + kdelibs4support-dev + kdoctools-dev + kglobalaccel-dev + ki18n-dev + kio-dev + kxmlgui-dev + plasma-framework-dev + plasma-workspace-dev + qt5-qtbase-dev + qt5-qtx11extras-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/khotkeys-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang $pkgname-dev" +options="!check" # No tests + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums=" +722e6d67cd1c131c1ee56dd348e4305ae6d8a408ddbaf188bcbccbb5107a6c9e64cf93605165613b2830cfbeb5d0396c9987901bf029fa36f63a47d60b28ae24 khotkeys-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/khotkeys/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/khotkeys/APKBUILD-expected.json new file mode 100644 index 00000000000..300419eeabc --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/khotkeys/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "khotkeys", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Key Accelerator Application", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0 AND lgpl-2.0-plus", + "declared_license": "GPL-2.0-only AND LGPL-2.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/khotkeys-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "khotkeys-5.22.0.tar.xz", + "sha512": "722e6d67cd1c131c1ee56dd348e4305ae6d8a408ddbaf188bcbccbb5107a6c9e64cf93605165613b2830cfbeb5d0396c9987901bf029fa36f63a47d60b28ae24" + } + ] + }, + "purl": "pkg:alpine/khotkeys@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kinfocenter/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kinfocenter/APKBUILD new file mode 100644 index 00000000000..737db7654a8 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kinfocenter/APKBUILD @@ -0,0 +1,64 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kinfocenter +pkgver=5.22.0 +pkgrel=0 +pkgdesc="A utility that provides information about a computer system" +# armhf blocked by extra-cmake-modules +# mips64, s390x blocked by kconfigwidgets, polkit-qt +arch="all !armhf !s390x !mips !mips64" +url="https://kde.org/plasma-desktop/" +license="(GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only)" +makedepends=" + extra-cmake-modules + glu-dev + kcmutils-dev + kcompletion-dev + kconfig-dev + kconfigwidgets-dev + kcoreaddons-dev + kcrash-dev + kdbusaddons-dev + kdeclarative-dev + kdoctools-dev + ki18n-dev + kiconthemes-dev + kio-dev + kpackage-dev + kservice-dev + kwayland-dev + kwidgetsaddons-dev + kwindowsystem-dev + kxmlgui-dev + qt5-qtbase-dev + solid-dev + solid-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/kinfocenter-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums=" +ae5754d8c0054b35f78c14e54177480df9271dfcea80d72ecf8da7d89ea5dc9ff57964d88ab64cc15811cf4a15ffe0e5a7b4e186c5a1c1385167d1bc0653fdf1 kinfocenter-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kinfocenter/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kinfocenter/APKBUILD-expected.json new file mode 100644 index 00000000000..7102e3b339d --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kinfocenter/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "kinfocenter", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "A utility that provides information about a computer system", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "(gpl-2.0 OR gpl-3.0) AND (lgpl-2.1 OR lgpl-3.0)", + "declared_license": "(GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only)", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/kinfocenter-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "kinfocenter-5.22.0.tar.xz", + "sha512": "ae5754d8c0054b35f78c14e54177480df9271dfcea80d72ecf8da7d89ea5dc9ff57964d88ab64cc15811cf4a15ffe0e5a7b4e186c5a1c1385167d1bc0653fdf1" + } + ] + }, + "purl": "pkg:alpine/kinfocenter@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kmenuedit/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kmenuedit/APKBUILD new file mode 100644 index 00000000000..13825b982ef --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kmenuedit/APKBUILD @@ -0,0 +1,53 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kmenuedit +pkgver=5.22.0 +pkgrel=0 +pkgdesc="KDE menu editor" +# armhf blocked by qt5-qtdeclarative +# s390x and mips64 blocked by polkit (blocked by mozjs, blocked by rust) +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later" +makedepends=" + extra-cmake-modules + kdbusaddons-dev + kdoctools-dev + kglobalaccel-dev + ki18n-dev + kiconthemes-dev + kinit-dev + kio-dev + kitemviews-dev + kxmlgui-dev + qt5-qtbase-dev + sonnet-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/kmenuedit-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums=" +005982c2deeec0624e90d590253e5df42bfa86c8550a203ae6ad06160449ffe47fdd11b42c2602f54ebcd9cc10a936793cba55cab768da6c8b27462475b7641d kmenuedit-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kmenuedit/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kmenuedit/APKBUILD-expected.json new file mode 100644 index 00000000000..08239831a39 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kmenuedit/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "kmenuedit", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "KDE menu editor", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus", + "declared_license": "GPL-2.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/kmenuedit-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "kmenuedit-5.22.0.tar.xz", + "sha512": "005982c2deeec0624e90d590253e5df42bfa86c8550a203ae6ad06160449ffe47fdd11b42c2602f54ebcd9cc10a936793cba55cab768da6c8b27462475b7641d" + } + ] + }, + "purl": "pkg:alpine/kmenuedit@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kscreen/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kscreen/APKBUILD new file mode 100644 index 00000000000..9a27b459138 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kscreen/APKBUILD @@ -0,0 +1,59 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kscreen +pkgver=5.22.0 +pkgrel=0 +pkgdesc="KDE's screen management software" +# armhf blocked by qt5-qtdeclarative +# s390x blocked by kconfigwidgets +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later AND LGPL-2.1-or-later" +depends="hicolor-icon-theme" +makedepends=" + extra-cmake-modules + kcmutils-dev + kconfig-dev + kconfigwidgets-dev + kdbusaddons-dev + kdeclarative-dev + kglobalaccel-dev + ki18n-dev + kiconthemes-dev + kwidgetsaddons-dev + kxmlgui-dev + libkscreen-dev + plasma-framework-dev + qt5-qtbase-dev + qt5-qtsensors-dev + " +checkdepends="xvfb-run" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/kscreen-$pkgver.tar.xz" +subpackages="$pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + # kscreen-kded-configtest is broken + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "kscreen-kded-configtest" +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums=" +00212bed49d079f5c318f374604a03e8dcdc128638666b3d5486230494e8fa980e279fda9380f3b0d818e3f1d0878dbe792b84a3a06f8ef1a2dcf9ff775731c9 kscreen-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kscreen/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kscreen/APKBUILD-expected.json new file mode 100644 index 00000000000..b8e84e4ab6f --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kscreen/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "kscreen", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "KDE's screen management software", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus AND lgpl-2.1-plus", + "declared_license": "GPL-2.0-or-later AND LGPL-2.1-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/kscreen-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "kscreen-5.22.0.tar.xz", + "sha512": "00212bed49d079f5c318f374604a03e8dcdc128638666b3d5486230494e8fa980e279fda9380f3b0d818e3f1d0878dbe792b84a3a06f8ef1a2dcf9ff775731c9" + } + ] + }, + "purl": "pkg:alpine/kscreen@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kscreenlocker/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kscreenlocker/APKBUILD new file mode 100644 index 00000000000..e0f23e77643 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kscreenlocker/APKBUILD @@ -0,0 +1,77 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kscreenlocker +pkgver=5.22.0 +pkgrel=0 +pkgdesc="Library and components for secure lock screen architecture" +# armhf blocked by extra-cmake-modules +# s390x, mips64 blocked by kdeclarative-dev, kcmutils-dev, ktextwidgets-dev, kxmlgui-dev +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only)" +depends=" + elogind + linux-pam + " +depends_dev=" + elogind-dev + kcmutils-dev + kcrash-dev + kdeclarative-dev + kglobalaccel-dev + ki18n-dev + kidletime-dev + knotifications-dev + ktextwidgets-dev + kwayland-dev + kwindowsystem-dev + kxmlgui-dev + layer-shell-qt-dev + libseccomp-dev + linux-pam-dev + qt5-qtbase-dev + qt5-qtx11extras-dev + solid-dev + xcb-util-keysyms-dev + " +makedepends="$depends_dev + extra-cmake-modules + " +checkdepends="xvfb-run" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/kscreenlocker-$pkgver.tar.xz + kde.pam + kde-np.pam + " +subpackages="$pkgname-dev $pkgname-lang" +options="!check" # Requires running loginctl + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build + + install -D -m644 "$srcdir"/kde.pam "$pkgdir"/etc/pam.d/kde + install -m644 "$srcdir"/kde-np.pam "$pkgdir"/etc/pam.d/kde-np +} + +sha512sums=" +8a9be9993d889ea47a8ec3f77c47e19d1cb44ee390d1c2ad702260a633fa60d01637a11a36de642cf37aefc190d1dfd2a8c614dee87cb8e8837f0144fbc56d42 kscreenlocker-5.22.0.tar.xz +56e87d02d75c4a8cc4ed183faed416fb4972e7f223b8759959c0f5da32e11e657907a1df279d62a44a6a174f5aca8b2ac66a5f3325c5deb92011bcf71eed74c3 kde.pam +565265485dd7466b77966d75a56766216b8bcc187c95a997e531e9481cf50ddbe576071eb0e334421202bcab19aa6de6b93e042447ca4797a24bf97e1d053ffd kde-np.pam +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kscreenlocker/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kscreenlocker/APKBUILD-expected.json new file mode 100644 index 00000000000..25701f9b689 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kscreenlocker/APKBUILD-expected.json @@ -0,0 +1,65 @@ +{ + "type": "alpine", + "namespace": null, + "name": "kscreenlocker", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Library and components for secure lock screen architecture", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus AND (gpl-2.0 OR gpl-3.0)", + "declared_license": "GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only)", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/kscreenlocker-5.22.0.tar.xz" + }, + { + "file_name": "kde.pam", + "url": null + }, + { + "file_name": "kde-np.pam", + "url": null + } + ], + "checksums": [ + { + "file_name": "kscreenlocker-5.22.0.tar.xz", + "sha512": "8a9be9993d889ea47a8ec3f77c47e19d1cb44ee390d1c2ad702260a633fa60d01637a11a36de642cf37aefc190d1dfd2a8c614dee87cb8e8837f0144fbc56d42" + }, + { + "file_name": "kde.pam", + "sha512": "56e87d02d75c4a8cc4ed183faed416fb4972e7f223b8759959c0f5da32e11e657907a1df279d62a44a6a174f5aca8b2ac66a5f3325c5deb92011bcf71eed74c3" + }, + { + "file_name": "kde-np.pam", + "sha512": "565265485dd7466b77966d75a56766216b8bcc187c95a997e531e9481cf50ddbe576071eb0e334421202bcab19aa6de6b93e042447ca4797a24bf97e1d053ffd" + } + ] + }, + "purl": "pkg:alpine/kscreenlocker@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/ksshaskpass/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/ksshaskpass/APKBUILD new file mode 100644 index 00000000000..76b1c21ec0d --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/ksshaskpass/APKBUILD @@ -0,0 +1,48 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=ksshaskpass +pkgver=5.22.0 +pkgrel=0 +pkgdesc="ssh-add helper that uses kwallet and kpassworddialog" +# armhf blocked by qt5-qtdeclarative +# s390x blocked by kwallet +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later" +makedepends=" + extra-cmake-modules + kcoreaddons-dev + kdoctools-dev + ki18n-dev + kwallet-dev + kwidgetsaddons-dev + qt5-qtbase-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/ksshaskpass-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums=" +918c098c877fc48e6809e498e81b0ab1968371f58f1f89af65a45fb817829f8d44666c1fee4b84cae8a1f114b59698e48da683bc452151db57df0f2e4063fb3c ksshaskpass-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/ksshaskpass/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/ksshaskpass/APKBUILD-expected.json new file mode 100644 index 00000000000..e5a43b842c9 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/ksshaskpass/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "ksshaskpass", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "ssh-add helper that uses kwallet and kpassworddialog", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus", + "declared_license": "GPL-2.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/ksshaskpass-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "ksshaskpass-5.22.0.tar.xz", + "sha512": "918c098c877fc48e6809e498e81b0ab1968371f58f1f89af65a45fb817829f8d44666c1fee4b84cae8a1f114b59698e48da683bc452151db57df0f2e4063fb3c" + } + ] + }, + "purl": "pkg:alpine/ksshaskpass@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kwallet-pam/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kwallet-pam/APKBUILD new file mode 100644 index 00000000000..a9e42929d5c --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kwallet-pam/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kwallet-pam +pkgver=5.22.0 +pkgrel=0 +pkgdesc="KWallet PAM integration" +# armhf blocked by extra-cmake-modules +# s390x blocked by kwallet +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="LGPL-2.1-or-later" +makedepends=" + extra-cmake-modules + kwallet-dev + libgcrypt-dev + linux-pam-dev + socat + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/kwallet-pam-$pkgver.tar.xz" +options="!check" # No tests available + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums=" +4f82b59c28879df3113c8d67171a50cb4c76728413c242749e5cce92d896f2139436263d07672fc4f2e98d457a7755a9901ddd3257a6c21ac088d24fec0b2026 kwallet-pam-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kwallet-pam/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kwallet-pam/APKBUILD-expected.json new file mode 100644 index 00000000000..bcc6768cc40 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kwallet-pam/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "kwallet-pam", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "KWallet PAM integration", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "lgpl-2.1-plus", + "declared_license": "LGPL-2.1-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/kwallet-pam-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "kwallet-pam-5.22.0.tar.xz", + "sha512": "4f82b59c28879df3113c8d67171a50cb4c76728413c242749e5cce92d896f2139436263d07672fc4f2e98d457a7755a9901ddd3257a6c21ac088d24fec0b2026" + } + ] + }, + "purl": "pkg:alpine/kwallet-pam@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kwayland-integration/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kwayland-integration/APKBUILD new file mode 100644 index 00000000000..280a0773db5 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kwayland-integration/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Bhushan Shah +# Maintainer: Bart Ribbers +pkgname=kwayland-integration +pkgver=5.22.0 +pkgrel=0 +pkgdesc="KWayland integration" +url="https://kde.org/plasma-desktop/" +arch="all !armhf" # armhf blocked by extra-cmake-modules +license="LGPL-2.1-only OR LGPL-3.0-only" +depends="kglobalaccel" +makedepends=" + extra-cmake-modules + kguiaddons-dev + kidletime-dev + kwayland-dev + kwindowsystem-dev + qt5-qtbase-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/kwayland-integration-$pkgver.tar.xz" +options="!check" # Broken + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums=" +337ec281dd0ce7791d93af123ef1e5bd476328c91edc28df514c87c714b27d0f6a739b55f11e1dbf3ce0f6826ab437f404639b116644234086b855b748ff71d9 kwayland-integration-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kwayland-integration/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kwayland-integration/APKBUILD-expected.json new file mode 100644 index 00000000000..403e2edb115 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kwayland-integration/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "kwayland-integration", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "KWayland integration", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "lgpl-2.1 OR lgpl-3.0", + "declared_license": "LGPL-2.1-only OR LGPL-3.0-only", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/kwayland-integration-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "kwayland-integration-5.22.0.tar.xz", + "sha512": "337ec281dd0ce7791d93af123ef1e5bd476328c91edc28df514c87c714b27d0f6a739b55f11e1dbf3ce0f6826ab437f404639b116644234086b855b748ff71d9" + } + ] + }, + "purl": "pkg:alpine/kwayland-integration@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kwayland-server/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kwayland-server/APKBUILD new file mode 100644 index 00000000000..d0d926f7433 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kwayland-server/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kwayland-server +pkgver=5.22.0 +pkgrel=0 +pkgdesc="Wayland Server Components built on KDE Frameworks" +arch="all !armhf" # armhf blocked by qt5-qtdeclarative +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only) AND LGPL-2.1-only" +depends_dev=" + kwayland-dev + plasma-wayland-protocols + qt5-qtbase-dev + " +makedepends="$depends_dev + doxygen + extra-cmake-modules + linux-headers + qt5-qttools-dev + wayland-protocols + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/kwayland-server-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-dbg" +options="!check" # Requires running wayland compositor + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums=" +aea5aa7ffecb1c085f733aaf5d4f16fa01c11264ab1e3717c1fed51f9937c3a99cf505664021749c8b203ae1c6b804d856efd9389ec7b26bc90887b3f57aba59 kwayland-server-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kwayland-server/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kwayland-server/APKBUILD-expected.json new file mode 100644 index 00000000000..faf483c418d --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kwayland-server/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "kwayland-server", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Wayland Server Components built on KDE Frameworks", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus AND (gpl-2.0 OR gpl-3.0) AND lgpl-2.1", + "declared_license": "GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only) AND LGPL-2.1-only", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/kwayland-server-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "kwayland-server-5.22.0.tar.xz", + "sha512": "aea5aa7ffecb1c085f733aaf5d4f16fa01c11264ab1e3717c1fed51f9937c3a99cf505664021749c8b203ae1c6b804d856efd9389ec7b26bc90887b3f57aba59" + } + ] + }, + "purl": "pkg:alpine/kwayland-server@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kwin/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kwin/APKBUILD new file mode 100644 index 00000000000..702c2d71c9e --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kwin/APKBUILD @@ -0,0 +1,111 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kwin +pkgver=5.22.0 +pkgrel=0 +pkgdesc="An easy to use, but flexible, composited Window Manager" +# armhf blocked by qt5-qtdeclarative +# s390x blocked by kscreenlocker +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only) AND LGPL-2.1-only" +depends=" + kirigami2 + qt5-qtmultimedia + qt5-qtwayland + xwayland + " +depends_dev=" + breeze-dev + eudev-dev + fontconfig-dev + kactivities-dev + kcmutils-dev + kcompletion-dev + kconfig-dev + kconfigwidgets-dev + kcoreaddons-dev + kcrash-dev + kdeclarative-dev + kdecoration-dev + kglobalaccel-dev + ki18n-dev + kiconthemes-dev + kidletime-dev + kinit-dev + kio-dev + knewstuff-dev + knotifications-dev + kpackage-dev + krunner-dev + kscreenlocker-dev + kservice-dev + ktextwidgets-dev + kwayland-dev + kwayland-server-dev + kwidgetsaddons-dev + kwindowsystem-dev + kxmlgui-dev + lcms2-dev + libdrm-dev + libepoxy-dev + libinput-dev + libqaccessibilityclient-dev + libxi-dev + libxkbcommon-dev + mesa-dev + mesa-gbm + pipewire-dev + plasma-framework-dev + qt5-qtbase-dev + qt5-qtdeclarative-dev + qt5-qtscript-dev + qt5-qtsensors-dev + qt5-qtx11extras-dev + wayland-dev + xcb-util-cursor-dev + xcb-util-image-dev + xcb-util-wm-dev + " +makedepends="$depends_dev + extra-cmake-modules + kdoctools-dev + qt5-qttools-dev + " +checkdepends="xvfb-run" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/kwin-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-dbg" +options="!check" # Broken + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build + + # We don't ship systemd + rm -r "$pkgdir"/usr/lib/systemd + + # kwin_wayland has CAP_SYS_NICE set. Because of this, libdbus doesn't trust the + # environment and ignores it, causing for example keyboard shortcuts to not work + # Remove CAP_SYS_NICE from kwin_wayland to make them work again + setcap -r "$pkgdir"/usr/bin/kwin_wayland +} +sha512sums=" +eccd6d674a6ab7820de8f7765b25b55e8554ea5ddc21af90f189789856a047dc4468ced4a897b2e94c084ebb7e85f114e75cb7e63253497d36c76c2b228eb471 kwin-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kwin/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kwin/APKBUILD-expected.json new file mode 100644 index 00000000000..80a823529eb --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kwin/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "kwin", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "An easy to use, but flexible, composited Window Manager", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus AND (gpl-2.0 OR gpl-3.0) AND lgpl-2.1", + "declared_license": "GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only) AND LGPL-2.1-only", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/kwin-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "kwin-5.22.0.tar.xz", + "sha512": "eccd6d674a6ab7820de8f7765b25b55e8554ea5ddc21af90f189789856a047dc4468ced4a897b2e94c084ebb7e85f114e75cb7e63253497d36c76c2b228eb471" + } + ] + }, + "purl": "pkg:alpine/kwin@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kwrited/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kwrited/APKBUILD new file mode 100644 index 00000000000..4935d1ec8c4 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kwrited/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kwrited +pkgver=5.22.0 +pkgrel=0 +pkgdesc="KDE daemon listening for wall and write messages" +arch="all !armhf" # qt5-qtdeclarative-dev unavilable on armhf +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later" +makedepends=" + extra-cmake-modules + kcoreaddons-dev + kdbusaddons-dev + ki18n-dev + knotifications-dev + kpty-dev + qt5-qtbase-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/kwrited-$pkgver.tar.xz" +options="!check" # No tests available + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums=" +810d79d7a916339a3bf4014863af5f6f0884cdfdecb9768d5daefee53fb19c7ef3897c838feef085e26b8dfa80fba80b14c41e9f337c623e5dd86c2de89ef297 kwrited-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kwrited/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kwrited/APKBUILD-expected.json new file mode 100644 index 00000000000..43587a36be2 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/kwrited/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "kwrited", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "KDE daemon listening for wall and write messages", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus", + "declared_license": "GPL-2.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/kwrited-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "kwrited-5.22.0.tar.xz", + "sha512": "810d79d7a916339a3bf4014863af5f6f0884cdfdecb9768d5daefee53fb19c7ef3897c838feef085e26b8dfa80fba80b14c41e9f337c623e5dd86c2de89ef297" + } + ] + }, + "purl": "pkg:alpine/kwrited@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/layer-shell-qt/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/layer-shell-qt/APKBUILD new file mode 100644 index 00000000000..888725e53e4 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/layer-shell-qt/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=layer-shell-qt +pkgver=5.22.0 +pkgrel=0 +pkgdesc="Qt component to allow applications to make use of the Wayland wl-layer-shell protocol" +# armhf blocked by extra-cmake-modules +arch="all !armhf" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only)" +depends_dev=" + qt5-qtdeclarative-dev + qt5-qtwayland-dev + " +makedepends="$depends_dev + extra-cmake-modules + wayland-protocols + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/layer-shell-qt-$pkgver.tar.xz" +subpackages="$pkgname-dev" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DENABLE_TESTING=ON + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums=" +7ec410925349894a9312ba5de08fe5ccf7d94ac295a39e256ffc5d46d76482f67d1f0b579d76796f9c194ac4f9f0d58d4a997afe5060fb3c746629d70bbd1047 layer-shell-qt-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/layer-shell-qt/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/layer-shell-qt/APKBUILD-expected.json new file mode 100644 index 00000000000..6aed8a391c9 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/layer-shell-qt/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "layer-shell-qt", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Qt component to allow applications to make use of the Wayland wl-layer-shell protocol", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus AND (gpl-2.0 OR gpl-3.0)", + "declared_license": "GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only)", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/layer-shell-qt-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "layer-shell-qt-5.22.0.tar.xz", + "sha512": "7ec410925349894a9312ba5de08fe5ccf7d94ac295a39e256ffc5d46d76482f67d1f0b579d76796f9c194ac4f9f0d58d4a997afe5060fb3c746629d70bbd1047" + } + ] + }, + "purl": "pkg:alpine/layer-shell-qt@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/libkscreen/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/libkscreen/APKBUILD new file mode 100644 index 00000000000..36c4c00b121 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/libkscreen/APKBUILD @@ -0,0 +1,49 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=libkscreen +pkgver=5.22.0 +pkgrel=0 +pkgdesc="KDE screen management software" +arch="all !armhf" # armhf blocked by extra-cmake-modules +url="https://kde.org/plasma-desktop/" +license="LGPL-2.1-or-later AND GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only)" +depends_dev=" + kwayland-dev + qt5-qtbase-dev + qt5-qtx11extras-dev + " +makedepends="$depends_dev + doxygen + extra-cmake-modules + graphviz + qt5-qttools-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/libkscreen-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-doc" +options="!check" # Fails due to requiring dbus-x11 and it running + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums=" +beb4ec7f2cb3fea0dc503c4205fd7181f646a6d17c33197e51d343c55537dbc045069f6cae46d0de0602b8a09efe6b3577aaade09c976e91ee4aa6f00ff98722 libkscreen-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/libkscreen/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/libkscreen/APKBUILD-expected.json new file mode 100644 index 00000000000..2186c57464a --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/libkscreen/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "libkscreen", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "KDE screen management software", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "lgpl-2.1-plus AND gpl-2.0-plus AND (gpl-2.0 OR gpl-3.0)", + "declared_license": "LGPL-2.1-or-later AND GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only)", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/libkscreen-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "libkscreen-5.22.0.tar.xz", + "sha512": "beb4ec7f2cb3fea0dc503c4205fd7181f646a6d17c33197e51d343c55537dbc045069f6cae46d0de0602b8a09efe6b3577aaade09c976e91ee4aa6f00ff98722" + } + ] + }, + "purl": "pkg:alpine/libkscreen@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/libksysguard/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/libksysguard/APKBUILD new file mode 100644 index 00000000000..5bad78a63e4 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/libksysguard/APKBUILD @@ -0,0 +1,66 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=libksysguard +pkgver=5.22.0 +pkgrel=0 +pkgdesc="KDE system monitor library" +# armhf blocked by extra-cmake-modules +# mips, mips64, s390x blocked by kauth +arch="all !armhf !mips !mips64 !s390x" +url="https://kde.org/plasma-desktop/" +license="LGPL-2.1-or-later AND (GPL-2.0-only OR GPL-3.0-only)" +depends_dev=" + kauth-dev + kcompletion-dev + kconfig-dev + kconfigwidgets-dev + kcoreaddons-dev + kglobalaccel-dev + ki18n-dev + kiconthemes-dev + kio-dev + knewstuff-dev + kservice-dev + kwidgetsaddons-dev + kwindowsystem-dev + libnl3-dev + libpcap-dev + plasma-framework-dev + qt5-qttools-dev + qt5-qtwebchannel-dev + zlib-dev + " +makedepends="$depends_dev + extra-cmake-modules + " +checkdepends="xvfb-run" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/libksysguard-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-lang" + +replaces="ksysguard<5.22" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + # processtest requires working OpenGL + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "processtest" +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums=" +87630a8d62ec172e57fc15b51221b66536e74aa8999cc1a2749738ded16922a3c89cd13697b7168ac84af3eee7a03a49afba164b3ce51a33c8900648b9377f2e libksysguard-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/libksysguard/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/libksysguard/APKBUILD-expected.json new file mode 100644 index 00000000000..a1d4344adf7 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/libksysguard/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "libksysguard", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "KDE system monitor library", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "lgpl-2.1-plus AND (gpl-2.0 OR gpl-3.0)", + "declared_license": "LGPL-2.1-or-later AND (GPL-2.0-only OR GPL-3.0-only)", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/libksysguard-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "libksysguard-5.22.0.tar.xz", + "sha512": "87630a8d62ec172e57fc15b51221b66536e74aa8999cc1a2749738ded16922a3c89cd13697b7168ac84af3eee7a03a49afba164b3ce51a33c8900648b9377f2e" + } + ] + }, + "purl": "pkg:alpine/libksysguard@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/libreoffice/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/libreoffice/APKBUILD new file mode 100644 index 00000000000..5fb46680d86 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/libreoffice/APKBUILD @@ -0,0 +1,487 @@ +# Contributor: Jens Staal +# Contributor: Timo Teräs +# Maintainer: Timo Teräs +pkgname=libreoffice +pkgver=6.4.6.2 +pkgrel=11 +pkgdesc="LibreOffice - Meta package for the full office suite" +url="https://www.libreoffice.org/" +arch="all !s390x !mips !mips64" +license="MPL-2.0" +makedepends=" + apache-ant + apr-dev + autoconf + automake + bison + bluez-dev + boost-dev + cairo-dev + clucene-dev + coreutils + cppunit-dev + cups-dev + doxygen + findutils + flex + freetype-dev + glew-dev + glm-dev + glu-dev + gperf + gpgme-dev + gst-plugins-base-dev + gstreamer-dev + gtk+3.0-dev + harfbuzz-dev + hunspell-dev + hyphen-dev + icu + icu-dev + junit + lcms2-dev + libabw-dev + libcdr-dev + libcmis-dev + libe-book-dev + libepubgen-dev + libetonyek-dev + libexttextcat-dev + libfreehand-dev + libjpeg-turbo-dev + libmspub-dev + libmwaw-dev + libnumbertext-dev + libodfgen-dev + liborcus-dev + libpagemaker-dev + libqxp-dev + libstaroffice-dev + libvisio-dev + libwpd-dev + libwpg-dev + libwps-dev + libxml2-utils + libxrandr-dev + libxrender-dev + libxslt-dev + libzmf-dev + mariadb-dev + mdds-dev + mythes-dev + neon-dev + npapi-sdk + nss-dev + openjdk8 + openldap-dev + openssl-dev + perl + perl-archive-zip + poppler-dev + postgresql-dev + py3-setuptools + python3-dev + redland-dev + sed + tar + ucpp + unixodbc-dev + vigra-dev + xmlsec-dev + zip + " +# GNU sed is needed for in i18npool/CustomTarget_localedata.mk +subpackages="$pkgname-common $pkgname-base $pkgname-calc $pkgname-draw + $pkgname-gnome $pkgname-impress $pkgname-math $pkgname-connector-postgres $pkgname-writer + $pkgname-sdk $pkgname-sdk-doc:sdk_doc libreofficekit" +depends="$pkgname-base $pkgname-calc $pkgname-common $pkgname-draw $pkgname-impress $pkgname-math + $pkgname-connector-postgres $pkgname-writer libreofficekit" +_addsrcurl="https://dev-www.libreoffice.org/src" +case $pkgver in + *.*.*.*) _v=${pkgver%.*};; + *.*.*) _v=$pkgver;; +esac + +# grep LIBXMLSEC_TARBALL download.lst +source="https://download.documentfoundation.org/libreoffice/src/$_v/libreoffice-$pkgver.tar.xz + https://download.documentfoundation.org/libreoffice/src/$_v/libreoffice-dictionaries-$pkgver.tar.xz + https://download.documentfoundation.org/libreoffice/src/$_v/libreoffice-translations-$pkgver.tar.xz + $_addsrcurl/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip + $_addsrcurl/3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip + $_addsrcurl/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip + $_addsrcurl/39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip + $_addsrcurl/3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip + $_addsrcurl/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip + $_addsrcurl/8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip + $_addsrcurl/97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip + $_addsrcurl/ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip + $_addsrcurl/ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip + $_addsrcurl/beeca87be45ec87d241ddd0e1bad80c1-bsh-2.0b6-src.zip + $_addsrcurl/commons-logging-1.2-src.tar.gz + $_addsrcurl/d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip + $_addsrcurl/db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip + $_addsrcurl/eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip + $_addsrcurl/f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip + $_addsrcurl/lxml-4.1.1.tgz + $_addsrcurl/pdfium-3963.tar.bz2 + $_addsrcurl/QR-Code-generator-1.4.0.tar.gz + https://dev-www.libreoffice.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll + https://dev-www.libreoffice.org/extern/884ed41809687c3e168fc7c19b16585149ff058eca79acbf3ee784f6630704cc-opens___.ttf + + linux-musl.patch + fix-execinfo.patch + disable-liborcus-unittest.patch + musl-stacksize.patch + musl-libintl.patch + gcc10.patch + " + +# secfixes: +# 6.3.1.2-r0: +# - CVE-2019-9854 +# - CVE-2019-9855 +# 6.3.0.4-r0: +# - CVE-2019-9850 +# - CVE-2019-9851 +# - CVE-2019-9852 +# 6.2.5.2-r0: +# - CVE-2019-9848 +# - CVE-2019-9849 + +add_lang() { + local pkglang="${3:-$1}" + subpackages="$subpackages $pkgname-lang-$1:_lang_$1" + languages="$languages ${pkglang/_/-}" + eval "_lang_$1() { pkgdesc=\"LibreOffice - $2 language pack\"; depends=\"\"; _split lang_${pkglang}; }" +} + +add_lang af "Afrikaans" +add_lang am "Amharic" +add_lang ar "Arabic" +add_lang as "Assamese" +add_lang ast "Asturian" +add_lang be "Belarusian" +add_lang bg "Bulgarian" +add_lang bn "Bengali" +add_lang bn_in "Bengali (India)" bn_IN +add_lang bo "Tibetan" +add_lang br "Breton" +add_lang brx "Bodo" +add_lang bs "Bosnian" +add_lang ca "Catalan" +add_lang ca_valencia "Catalan (Valencian)" +add_lang cs "Czech" +add_lang cy "Welsh (Cymraeg)" +add_lang da "Danish" +add_lang de "German" +add_lang dgo "Dogri proper" +add_lang dz "Dzongkha" +add_lang el "Greek" +add_lang en_gb "English (UK)" en_GB +add_lang en_us "English (US)" en_US +add_lang en_za "English (South Africa)" en_ZA +add_lang eo "Esperanto" +add_lang es "Spanish" +add_lang et "Estonian" +add_lang eu "Basque" +add_lang fa "Persian (Farsi)" +add_lang fi "Finnish" +add_lang fr "French" +add_lang ga "Irish" +add_lang gd "Scottish Gaelic" +add_lang gl "Galician" +add_lang gu "Gujarati" +add_lang gug "Guaraní (Paraguay)" +add_lang he "Hebrew" +add_lang hi "Hindi" +add_lang hr "Croatian" +add_lang hu "Hungarian" +add_lang id "Indonesian" +add_lang is "Icelandic" +add_lang it "Italian" +add_lang ja "Japanese" +add_lang ka "Georgian" +add_lang kk "Kazakh" +add_lang km "Khmer" +add_lang kmr_latn "Kurmanji Kurdish (Latin)" kmr_Latn +add_lang kn "Kannada" +add_lang ko "Korean" +add_lang kok "Konkani" +add_lang ks "Kashmiri" +add_lang lb "Luxembourgish" +add_lang lo "Lao" +add_lang lt "Lithuanian" +add_lang lv "Latvian" +add_lang mai "Maithili" +add_lang mk "Macedonian" +add_lang ml "Malayalam" +add_lang mn "Mongolian" +add_lang mni "Meithei (Manipuri)" +add_lang mr "Marathi" +add_lang my "Burmese" +add_lang nb "Norwegian (Bokmal)" +add_lang ne "Nepali" +add_lang nl "Dutch" +add_lang nn "Nynorsk" +add_lang nr "Ndebele (South)" +add_lang nso "Northern Sotho" +add_lang oc "Occitan" +add_lang om "Oromo" +add_lang or "Oriya" +add_lang pa_in "Punjabi (India)" pa_IN +add_lang pl "Polish" +add_lang pt "Portuguese" +add_lang pt_br "Portuguese (Brazil)" pt_BR +add_lang ro "Romanian" +add_lang ru "Russian" +add_lang rw "Kinyarwanda" +add_lang sa_in "Sanskrit (India)" sa_IN +add_lang sat "Santali" +add_lang sd "Sindhi" +add_lang si "Sinhala" +add_lang sid "Sidamo" +add_lang sk "Slovak" +add_lang sl "Slovenian" +add_lang sq "Albanian" +add_lang sr "Serbian" +add_lang sr_latn "Serbian (Latin)" sr_Latn +add_lang ss "Swati" +add_lang st "Southern Sotho" +add_lang sv "Swedish" +add_lang sw_tz "Swahili (Tanzania)" sw_TZ +add_lang ta "Tamil" +add_lang te "Telugu" +add_lang tg "Tajik" +add_lang th "Thai" +add_lang tn "Tswana" +add_lang tr "Turkish" +add_lang ts "Tsonga" +add_lang tt "Tatar" +add_lang ug "Uyghur" +add_lang uk "Ukrainian" +add_lang uz "Uzbek" +add_lang ve "Venda" +add_lang vi "Vietnamese" +add_lang xh "Xhosa" +add_lang zh_cn "Simplified Chinese (Peoples Republic of China)" zh_CN +add_lang zh_tw "Traditional Chinese (Taiwan)" zh_TW +add_lang zu "Zulu" + + +# help abuild find shared objects in rpath +ldpath="/usr/lib/libreoffice/program:/usr/lib/libreoffice/ure/lib/" + +unpack() { + if [ -z "${force:-}" ]; then + verify + initdcheck + fi + mkdir -p "$srcdir" + msg "Unpacking sources..." + + local u + for u in $source; do + local s="$SRCDEST/$(filename_from_uri $u)" + case $s in + */libreoffice-*.tar.xz) + msg "Unpacking $s..." + unxz -c "$s" | tar -C "$srcdir" -x ;; + esac + done +} + +prepare() { + default_prepare + NOCONFIGURE=1 ./autogen.sh +} + +build() { + # boost-1.59 + export CPPFLAGS="$CPPFLAGS -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --with-vendor="Alpine Linux" \ + --disable-online-update \ + --disable-fetch-external \ + --disable-dependency-tracking \ + --enable-release-build \ + --enable-split-app-modules \ + --enable-python=system \ + --with-alloc=system \ + --with-tls=nss \ + --with-system-libs \ + --with-system-dicts \ + --with-system-ucpp \ + --with-external-dict-dir=/usr/share/hunspell \ + --with-external-hyph-dir=/usr/share/hyphen \ + --with-external-tar="$srcdir" \ + --with-lang="$languages" \ + --with-jdk-home="/usr/lib/jvm/java-1.8-openjdk" \ + --with-ant-home="/usr/share/java/apache-ant" \ + --without-system-jars \ + --without-system-qrcodegen \ + --without-junit \ + --without-fonts \ + --without-system-sane \ + --without-myspell-dicts \ + --disable-firebird-sdbc \ + --disable-coinmp \ + --disable-lpsolve \ + --enable-gtk3 + # adding '-isystem /usr/include' make things break with gcc6 + # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823145 + sed -i -e 's:-isystem /usr/include[^/]::g' config_host.mk + + make build-nocheck + # build libreofficekit + cd libreofficekit && make +} + +package() { + make DESTDIR="$pkgdir"/../all distro-pack-install +} + +_split() { + local i + grep "^[^% ]" $builddir/file-lists/${1}_list.txt | sort -u | while IFS= read -r i; do + [ "$i" ] || continue + dirname="$(dirname $i)" + [ -d "$subpkgdir/$dirname" ] || install -dm755 "$subpkgdir/$dirname" + mv "$pkgdir"/../all/"$i" "$subpkgdir"/"$i" + done +} + +base() { + pkgdesc="LibreOffice - Database frontend" + depends="libreoffice-common" + _split base + + mkdir -p "$subpkgdir"/usr/lib/libreoffice/share/xdg + mv "$pkgdir"/../all/usr/lib/libreoffice/share/xdg/base.desktop "$subpkgdir"/usr/lib/libreoffice/share/xdg +} + +calc() { + pkgdesc="LibreOffice - Spreadsheet" + depends="libreoffice-common" + _split calc + + mkdir -p "$subpkgdir"/usr/lib/libreoffice/share/xdg + mv "$pkgdir"/../all/usr/lib/libreoffice/share/xdg/calc.desktop "$subpkgdir"/usr/lib/libreoffice/share/xdg +} + +common() { + pkgdesc="LibreOffice - Common files" + depends="libreoffice-lang-en_us" + _split common + + # The .desktop files for each app should be in the corrosponding subpackage + mkdir -p "$pkgdir"/../all/usr/lib/libreoffice/share/xdg + mv "$subpkgdir"/usr/lib/libreoffice/share/xdg/ "$pkgdir"/../all/usr/lib/libreoffice/share/ + mkdir -p "$subpkgdir"/usr/lib/libreoffice/share/xdg + mv \ + "$pkgdir"/../all/usr/lib/libreoffice/share/xdg/startcenter.desktop \ + "$pkgdir"/../all/usr/lib/libreoffice/share/xdg/xsltfilter.desktop \ + "$subpkgdir"/usr/lib/libreoffice/share/xdg/ +} + +draw() { + pkgdesc="LibreOffice - Drawing application" + depends="libreoffice-common" + _split draw + + mkdir -p "$subpkgdir"/usr/lib/libreoffice/share/xdg + mv "$pkgdir"/../all/usr/lib/libreoffice/share/xdg/draw.desktop "$subpkgdir"/usr/lib/libreoffice/share/xdg +} + +gnome() { + pkgdesc="LibreOffice - GNOME integration" + depends="libreoffice-common" + _split gnome +} + +impress() { + pkgdesc="LibreOffice - Presentation application" + depends="libreoffice-common" + _split impress + + mkdir -p "$subpkgdir"/usr/lib/libreoffice/share/xdg + mv "$pkgdir"/../all/usr/lib/libreoffice/share/xdg/impress.desktop "$subpkgdir"/usr/lib/libreoffice/share/xdg +} + +libreofficekit() { + mkdir -p "$subpkgdir"/usr/include + cp -a "$builddir"/include/LibreOfficeKit "$subpkgdir"/usr/include +} + +math() { + pkgdesc="LibreOffice - Equation editor" + depends="libreoffice-common" + _split math + + mkdir -p "$subpkgdir"/usr/lib/libreoffice/share/xdg + mv "$pkgdir"/../all/usr/lib/libreoffice/share/xdg/math.desktop "$subpkgdir"/usr/lib/libreoffice/share/xdg +} + +postgres() { + pkgdesc="LibreOffice - Connector for PostgreSQL database" + depends="libreoffice-base" + _split postgresql +} + +writer() { + pkgdesc="LibreOffice - Word Processor" + depends="libreoffice-common" + _split writer + + mkdir -p "$subpkgdir"/usr/lib/libreoffice/share/xdg + mv "$pkgdir"/../all/usr/lib/libreoffice/share/xdg/writer.desktop "$subpkgdir"/usr/lib/libreoffice/share/xdg +} + +sdk() { + pkgdesc="LibreOffice - SDK" + depends="libreoffice-common" + _split sdk +} + +sdk_doc() { + pkgdesc="LibreOffice - SDK documentation" + depends="libreoffice-common" + _split sdk_doc +} + +sha512sums="377675494d4422c4d9363fe3857a8587e38f6ccd39aebec9c23337aa3a88cb2526608b8d0bcb27985ed8f821a98ca541dad4b48d69db441bcb27e9fb81beb9ba libreoffice-6.4.6.2.tar.xz +5522f2aeca53a30eaadc6c94316e7d16cbb627d5d715ec16defa1be97e7e7cff6ae16568d6f0c7dfbe69029fa757a422c24bbfa03331c11f821659d9ed3f35ca libreoffice-dictionaries-6.4.6.2.tar.xz +6bbf6d35cfdd94515a15e0c61aacbaec872af4fb007616556a26d9891cc104976b09ddfff835af3193a287d9ce50531c9f7f2371785140b813db16a6d3ec4797 libreoffice-translations-6.4.6.2.tar.xz +a231eba4a1baca11766ef292ab45e302081115477fe23018652882923308856835cf8c9ecba61a5cf22543474ccef3136965d794a90c9e4e9e6dcc21f9af6e1a 17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip +9fe106bbdb55365f589246e5a0d10bbe9b35224132b66a1823dc6361633a67f2acc0e8c393dc7ed70d086858d16d242b8806b8b2184c98e3d20d0be85bed9c44 3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip +4a48f1e32907fb2dee601cda3cd7a0d7198b2d51f2a572b647f1e93f901fd511eef3567676e52dfb1723a2cdfbc01f2015ca0bb22903b0bc1476dd618cc9aa8a 35c94d2df8893241173de1d16b6034c0-swingExSrc.zip +a7c3044a0a7c67881f78eddc4b3faf05e29b20755a59cdbb9a0a49bd21be5aaa95d4ea5eaabdd6f005a421981fb7c55fee590d4c9592fe363ba27ae590652bd4 39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip +8eaa9eed3bff16a16483d0754756c181089eb705ea34ded7f9f6db90a591cbce3f0551f28d097bd2f44de813cb818720c430e79e516939e0398b72bf4614f4cd 3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip +ec5ae23c8fe2f5efc377f7a9665039afadf28b4d8f2791379296766a5fbc9a3bf7548f9b0e3b3b07762229ec733a92ccbb69791ee0318c9c6f78f8e847253d3f 798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip +12ab17a4db3f7c834b21e59ff6f6f6456630d8626db7fb908867b20204295d4fba8969e79a3694ca66cb24e9f0e5a0fa4b9d2d3f748691b7f93985f9e666ce5f 8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip +17ba9d2c0376fb7326d53bb1e3796610176a1af426d1b9073b5f7cf06c93d865e585c495e75c52fb8e426d7c453e751356a9ca9a54dc821ddadb6c8160ed5ba6 97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip +58c1aa3965bf3a5f5d0facb67a5e42cec04e3f74e59cd7348ea2a9f6d9cafdce5552677c6b6d9c4cf2b31f52751695f2e53b2cee658e5f2eacb1393534a53c0e ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip +654d2408c11349c90ae7d80b0c1997ee831004bc4ee36a706a0d8a84617fd0f82a97c5b45ab2388d60085afaec59a02eada007a8a1e14c3b366cabd36b7607ec ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip +a04eca6a57807358bd4f8d017a2eeaa58403ef51fab11fc46ab089113a0ff5f66aaa793d3fc57b484334cbf51ed388a90d8d72d1e5819c8248cc0113ac928a77 beeca87be45ec87d241ddd0e1bad80c1-bsh-2.0b6-src.zip +9f3761184950f2f13e85d8bc447709ab8be631dfd231b4f053f8147468db1bf71fb116ddba95e39f4afc4cf28c742e07d40c7a637f28004a60dc13935f9609f9 commons-logging-1.2-src.tar.gz +71164f5e052db4fc16d1eb6ceb66d2b483d4912d874e371399047761e1d82e95d14288be5a7952c40f0ce39366f0706e726720e6e7171a00ce7bb55632cbf10c d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip +4476024e7f307617719714fbf0999409aa11d730bc316f833bb6627d1b83abb42460417be588c193ecb49d6b926dd1f411934d8a8abebe00a3e85c0047dad0a6 db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip +9091d3628d9c75c068507537afc9e10bfb79c1abfd36ad697af3d592a1cc049ba6640f665bfc53cc520b6a26c21d70b0275106843444b441484c2178f2784743 eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip +c1a15ebbfe817ec79d4b3f1c97d096bf8511737d7d35d97302856ccfb3de14a1cd16bd31000415d9ab24bbd9ef770d37855cee4b819ff0e8fca2f2766920a114 f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip +9542e5206f9b2f9e072c52ef8e6cf44d1aaae8ae3e7ca7e820c1fac12e716503308ccb3cebc52155b4c93799f3ebca247781fc491524d004378bd26f5cddb9d1 lxml-4.1.1.tgz +b4f47cf210314de3ab5a7cfb913ea6109894d3c6bd6ac0d3aed3629e6bf733ef0f6af122bd8b8a475389fe2a28f7eae66c07a22b80a7c142c1075b2e5aa8ff90 pdfium-3963.tar.bz2 +314a757bfdf9a38bcf07fd7a0103d28a2d1dd7311b8234761304efeef7bfdb740db78ab01e6b67e99a28d523cc2be9c1073b2de9d65e853d191c3dad19af56d0 QR-Code-generator-1.4.0.tar.gz +854b8ae29b57b40ba6bb6ff66e723a0e8dad053fcc2849f0ad763cd8a31352f4aeba9636fd4e3f0f2a0cd985a6f49b4261b9ace68d6be821ed42cfa7a73eb13c 185d60944ea767075d27247c3162b3bc-unowinreg.dll +ce7e23e750f2c6f7ff2e590cc8941caa18eaae2727c9ca31313ab72ab19278055bd9393d38b0b5b685594e2f04ee15cb83b3bbb25d09665fe7383d7f26bf2ae8 884ed41809687c3e168fc7c19b16585149ff058eca79acbf3ee784f6630704cc-opens___.ttf +d5e4b5cc2b1528d474dc60e4f9c65f679c199dcf48495b4bef8187edaccf13cfaf2be667344f303cd3a19d46bbc99b0014656c6eb4d20739e87d46bd62ac48ca linux-musl.patch +417ad2849ff9e189ec0247bbd5fe241988e6377a17a0842013eebf1879627fb520408ce97088827eaff8b4c37b702c9946bde2799d2ac61fac6f040ad078de8f fix-execinfo.patch +121827c1eaa0d09a8ccc757e18c7306fef0b8a22335a1910606d1a59891b8ae33fbe85581baa8b2da79dafd27d952d89c4402f0ffb37cb4f702418d50abf0c90 disable-liborcus-unittest.patch +9abb0b14b7c408705569f26f6ed6519630ee7b98ff9c959eb53bb5efec6c08cae906f3c82943aee21098ab09c6caf58443a0dbe347d7dc5c8b6637f3665abca2 musl-stacksize.patch +d99d074e89e2713a3b6a56fa60d9d989ca6eefc8884ccbf88cb16c7b09da6dde4ba4ebc6a4d8408b61a08088df7cb1bcda60738f91e5569179fc45d7e9b901a3 musl-libintl.patch +4a390cd19553b1f58549e58503803297f714b021807073980ba009e4b712c986249a3fac71185a3c079e4360fdb6c6482ff47e6b20a51df3572f65e0ac4d69e7 gcc10.patch" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/libreoffice/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/libreoffice/APKBUILD-expected.json new file mode 100644 index 00000000000..3a76ccbeffe --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/libreoffice/APKBUILD-expected.json @@ -0,0 +1,281 @@ +{ + "type": "alpine", + "namespace": null, + "name": "libreoffice", + "version": "6.4.6.2-r11", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "LibreOffice - Meta package for the full office suite", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "mpl-2.0", + "declared_license": "MPL-2.0", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.documentfoundation.org/libreoffice/src/6.4.6/libreoffice-6.4.6.2.tar.xz" + }, + { + "file_name": null, + "url": "https://download.documentfoundation.org/libreoffice/src/6.4.6/libreoffice-dictionaries-6.4.6.2.tar.xz" + }, + { + "file_name": null, + "url": "https://download.documentfoundation.org/libreoffice/src/6.4.6/libreoffice-translations-6.4.6.2.tar.xz" + }, + { + "file_name": null, + "url": "https://dev-www.libreoffice.org/src/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip" + }, + { + "file_name": null, + "url": "https://dev-www.libreoffice.org/src/3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip" + }, + { + "file_name": null, + "url": "https://dev-www.libreoffice.org/src/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip" + }, + { + "file_name": null, + "url": "https://dev-www.libreoffice.org/src/39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip" + }, + { + "file_name": null, + "url": "https://dev-www.libreoffice.org/src/3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip" + }, + { + "file_name": null, + "url": "https://dev-www.libreoffice.org/src/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip" + }, + { + "file_name": null, + "url": "https://dev-www.libreoffice.org/src/8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip" + }, + { + "file_name": null, + "url": "https://dev-www.libreoffice.org/src/97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip" + }, + { + "file_name": null, + "url": "https://dev-www.libreoffice.org/src/ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip" + }, + { + "file_name": null, + "url": "https://dev-www.libreoffice.org/src/ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip" + }, + { + "file_name": null, + "url": "https://dev-www.libreoffice.org/src/beeca87be45ec87d241ddd0e1bad80c1-bsh-2.0b6-src.zip" + }, + { + "file_name": null, + "url": "https://dev-www.libreoffice.org/src/commons-logging-1.2-src.tar.gz" + }, + { + "file_name": null, + "url": "https://dev-www.libreoffice.org/src/d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip" + }, + { + "file_name": null, + "url": "https://dev-www.libreoffice.org/src/db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip" + }, + { + "file_name": null, + "url": "https://dev-www.libreoffice.org/src/eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip" + }, + { + "file_name": null, + "url": "https://dev-www.libreoffice.org/src/f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip" + }, + { + "file_name": null, + "url": "https://dev-www.libreoffice.org/src/lxml-4.1.1.tgz" + }, + { + "file_name": null, + "url": "https://dev-www.libreoffice.org/src/pdfium-3963.tar.bz2" + }, + { + "file_name": null, + "url": "https://dev-www.libreoffice.org/src/QR-Code-generator-1.4.0.tar.gz" + }, + { + "file_name": null, + "url": "https://dev-www.libreoffice.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll" + }, + { + "file_name": null, + "url": "https://dev-www.libreoffice.org/extern/884ed41809687c3e168fc7c19b16585149ff058eca79acbf3ee784f6630704cc-opens___.ttf" + }, + { + "file_name": "linux-musl.patch", + "url": null + }, + { + "file_name": "fix-execinfo.patch", + "url": null + }, + { + "file_name": "disable-liborcus-unittest.patch", + "url": null + }, + { + "file_name": "musl-stacksize.patch", + "url": null + }, + { + "file_name": "musl-libintl.patch", + "url": null + }, + { + "file_name": "gcc10.patch", + "url": null + } + ], + "checksums": [ + { + "file_name": "libreoffice-6.4.6.2.tar.xz", + "sha512": "377675494d4422c4d9363fe3857a8587e38f6ccd39aebec9c23337aa3a88cb2526608b8d0bcb27985ed8f821a98ca541dad4b48d69db441bcb27e9fb81beb9ba" + }, + { + "file_name": "libreoffice-dictionaries-6.4.6.2.tar.xz", + "sha512": "5522f2aeca53a30eaadc6c94316e7d16cbb627d5d715ec16defa1be97e7e7cff6ae16568d6f0c7dfbe69029fa757a422c24bbfa03331c11f821659d9ed3f35ca" + }, + { + "file_name": "libreoffice-translations-6.4.6.2.tar.xz", + "sha512": "6bbf6d35cfdd94515a15e0c61aacbaec872af4fb007616556a26d9891cc104976b09ddfff835af3193a287d9ce50531c9f7f2371785140b813db16a6d3ec4797" + }, + { + "file_name": "17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip", + "sha512": "a231eba4a1baca11766ef292ab45e302081115477fe23018652882923308856835cf8c9ecba61a5cf22543474ccef3136965d794a90c9e4e9e6dcc21f9af6e1a" + }, + { + "file_name": "3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip", + "sha512": "9fe106bbdb55365f589246e5a0d10bbe9b35224132b66a1823dc6361633a67f2acc0e8c393dc7ed70d086858d16d242b8806b8b2184c98e3d20d0be85bed9c44" + }, + { + "file_name": "35c94d2df8893241173de1d16b6034c0-swingExSrc.zip", + "sha512": "4a48f1e32907fb2dee601cda3cd7a0d7198b2d51f2a572b647f1e93f901fd511eef3567676e52dfb1723a2cdfbc01f2015ca0bb22903b0bc1476dd618cc9aa8a" + }, + { + "file_name": "39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip", + "sha512": "a7c3044a0a7c67881f78eddc4b3faf05e29b20755a59cdbb9a0a49bd21be5aaa95d4ea5eaabdd6f005a421981fb7c55fee590d4c9592fe363ba27ae590652bd4" + }, + { + "file_name": "3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip", + "sha512": "8eaa9eed3bff16a16483d0754756c181089eb705ea34ded7f9f6db90a591cbce3f0551f28d097bd2f44de813cb818720c430e79e516939e0398b72bf4614f4cd" + }, + { + "file_name": "798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip", + "sha512": "ec5ae23c8fe2f5efc377f7a9665039afadf28b4d8f2791379296766a5fbc9a3bf7548f9b0e3b3b07762229ec733a92ccbb69791ee0318c9c6f78f8e847253d3f" + }, + { + "file_name": "8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip", + "sha512": "12ab17a4db3f7c834b21e59ff6f6f6456630d8626db7fb908867b20204295d4fba8969e79a3694ca66cb24e9f0e5a0fa4b9d2d3f748691b7f93985f9e666ce5f" + }, + { + "file_name": "97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip", + "sha512": "17ba9d2c0376fb7326d53bb1e3796610176a1af426d1b9073b5f7cf06c93d865e585c495e75c52fb8e426d7c453e751356a9ca9a54dc821ddadb6c8160ed5ba6" + }, + { + "file_name": "ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip", + "sha512": "58c1aa3965bf3a5f5d0facb67a5e42cec04e3f74e59cd7348ea2a9f6d9cafdce5552677c6b6d9c4cf2b31f52751695f2e53b2cee658e5f2eacb1393534a53c0e" + }, + { + "file_name": "ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip", + "sha512": "654d2408c11349c90ae7d80b0c1997ee831004bc4ee36a706a0d8a84617fd0f82a97c5b45ab2388d60085afaec59a02eada007a8a1e14c3b366cabd36b7607ec" + }, + { + "file_name": "beeca87be45ec87d241ddd0e1bad80c1-bsh-2.0b6-src.zip", + "sha512": "a04eca6a57807358bd4f8d017a2eeaa58403ef51fab11fc46ab089113a0ff5f66aaa793d3fc57b484334cbf51ed388a90d8d72d1e5819c8248cc0113ac928a77" + }, + { + "file_name": "commons-logging-1.2-src.tar.gz", + "sha512": "9f3761184950f2f13e85d8bc447709ab8be631dfd231b4f053f8147468db1bf71fb116ddba95e39f4afc4cf28c742e07d40c7a637f28004a60dc13935f9609f9" + }, + { + "file_name": "d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip", + "sha512": "71164f5e052db4fc16d1eb6ceb66d2b483d4912d874e371399047761e1d82e95d14288be5a7952c40f0ce39366f0706e726720e6e7171a00ce7bb55632cbf10c" + }, + { + "file_name": "db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip", + "sha512": "4476024e7f307617719714fbf0999409aa11d730bc316f833bb6627d1b83abb42460417be588c193ecb49d6b926dd1f411934d8a8abebe00a3e85c0047dad0a6" + }, + { + "file_name": "eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip", + "sha512": "9091d3628d9c75c068507537afc9e10bfb79c1abfd36ad697af3d592a1cc049ba6640f665bfc53cc520b6a26c21d70b0275106843444b441484c2178f2784743" + }, + { + "file_name": "f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip", + "sha512": "c1a15ebbfe817ec79d4b3f1c97d096bf8511737d7d35d97302856ccfb3de14a1cd16bd31000415d9ab24bbd9ef770d37855cee4b819ff0e8fca2f2766920a114" + }, + { + "file_name": "lxml-4.1.1.tgz", + "sha512": "9542e5206f9b2f9e072c52ef8e6cf44d1aaae8ae3e7ca7e820c1fac12e716503308ccb3cebc52155b4c93799f3ebca247781fc491524d004378bd26f5cddb9d1" + }, + { + "file_name": "pdfium-3963.tar.bz2", + "sha512": "b4f47cf210314de3ab5a7cfb913ea6109894d3c6bd6ac0d3aed3629e6bf733ef0f6af122bd8b8a475389fe2a28f7eae66c07a22b80a7c142c1075b2e5aa8ff90" + }, + { + "file_name": "QR-Code-generator-1.4.0.tar.gz", + "sha512": "314a757bfdf9a38bcf07fd7a0103d28a2d1dd7311b8234761304efeef7bfdb740db78ab01e6b67e99a28d523cc2be9c1073b2de9d65e853d191c3dad19af56d0" + }, + { + "file_name": "185d60944ea767075d27247c3162b3bc-unowinreg.dll", + "sha512": "854b8ae29b57b40ba6bb6ff66e723a0e8dad053fcc2849f0ad763cd8a31352f4aeba9636fd4e3f0f2a0cd985a6f49b4261b9ace68d6be821ed42cfa7a73eb13c" + }, + { + "file_name": "884ed41809687c3e168fc7c19b16585149ff058eca79acbf3ee784f6630704cc-opens___.ttf", + "sha512": "ce7e23e750f2c6f7ff2e590cc8941caa18eaae2727c9ca31313ab72ab19278055bd9393d38b0b5b685594e2f04ee15cb83b3bbb25d09665fe7383d7f26bf2ae8" + }, + { + "file_name": "linux-musl.patch", + "sha512": "d5e4b5cc2b1528d474dc60e4f9c65f679c199dcf48495b4bef8187edaccf13cfaf2be667344f303cd3a19d46bbc99b0014656c6eb4d20739e87d46bd62ac48ca" + }, + { + "file_name": "fix-execinfo.patch", + "sha512": "417ad2849ff9e189ec0247bbd5fe241988e6377a17a0842013eebf1879627fb520408ce97088827eaff8b4c37b702c9946bde2799d2ac61fac6f040ad078de8f" + }, + { + "file_name": "disable-liborcus-unittest.patch", + "sha512": "121827c1eaa0d09a8ccc757e18c7306fef0b8a22335a1910606d1a59891b8ae33fbe85581baa8b2da79dafd27d952d89c4402f0ffb37cb4f702418d50abf0c90" + }, + { + "file_name": "musl-stacksize.patch", + "sha512": "9abb0b14b7c408705569f26f6ed6519630ee7b98ff9c959eb53bb5efec6c08cae906f3c82943aee21098ab09c6caf58443a0dbe347d7dc5c8b6637f3665abca2" + }, + { + "file_name": "musl-libintl.patch", + "sha512": "d99d074e89e2713a3b6a56fa60d9d989ca6eefc8884ccbf88cb16c7b09da6dde4ba4ebc6a4d8408b61a08088df7cb1bcda60738f91e5569179fc45d7e9b901a3" + }, + { + "file_name": "gcc10.patch", + "sha512": "4a390cd19553b1f58549e58503803297f714b021807073980ba009e4b712c986249a3fac71185a3c079e4360fdb6c6482ff47e6b20a51df3572f65e0ac4d69e7" + } + ] + }, + "purl": "pkg:alpine/libreoffice@6.4.6.2-r11", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/milou/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/milou/APKBUILD new file mode 100644 index 00000000000..ad35d4494e1 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/milou/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=milou +pkgver=5.22.0 +pkgrel=0 +pkgdesc="A dedicated search application built on top of Baloo" +# armhf blocked by qt5-qtdeclarative +# s390x blocked by kdeclarative +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only)" +makedepends=" + extra-cmake-modules + kcoreaddons-dev + kdeclarative-dev + ki18n-dev + kitemmodels-dev + krunner-dev + kservice-dev + plasma-framework-dev + qt5-qtbase-dev + qt5-qtdeclarative-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/milou-$pkgver.tar.xz" +subpackages="$pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums=" +a6a479d68d9efbb9be06c137e39a26635aabcb78ad569c25d018b10dbe79b3c7dddd8d1c5396ebf49fd7d08eb96cba3e75db8c4ad4048940cd31fb9175bcce26 milou-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/milou/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/milou/APKBUILD-expected.json new file mode 100644 index 00000000000..e91c330a3e3 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/milou/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "milou", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "A dedicated search application built on top of Baloo", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus AND (gpl-2.0 OR gpl-3.0) AND (lgpl-2.1 OR lgpl-3.0)", + "declared_license": "GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only)", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/milou-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "milou-5.22.0.tar.xz", + "sha512": "a6a479d68d9efbb9be06c137e39a26635aabcb78ad569c25d018b10dbe79b3c7dddd8d1c5396ebf49fd7d08eb96cba3e75db8c4ad4048940cd31fb9175bcce26" + } + ] + }, + "purl": "pkg:alpine/milou@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/mpd/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/mpd/APKBUILD new file mode 100644 index 00000000000..eb752514f7f --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/mpd/APKBUILD @@ -0,0 +1,125 @@ +# Contributor: Leo +# Contributor: Łukasz Jendrysik +# Contributor: Sebastian Wicki +# Contributor: Sören Tempel +# Maintainer: Carlo Landmeter +pkgname=mpd +pkgver=0.22.8 +case $pkgver in +*.*.*) _branch=${pkgver%.*};; +*.*) _branch=$pkgver;; +esac +pkgrel=2 +pkgdesc="Music daemon that plays MP3, FLAC, Ogg Vorbis files and Audio CDs" +url="https://musicpd.org" +pkgusers="mpd" +pkggroups="mpd audio" +arch="all" +license="GPL-2.0-or-later" +makedepends=" + alsa-lib-dev + avahi-dev + boost-dev + curl-dev + expat-dev + faad2-dev + ffmpeg-dev + flac-dev + glib-dev + icu-dev + jack-dev + lame-dev + libao-dev + libcap + libcdio-paranoia-dev + libid3tag-dev + libmad-dev + libmodplug-dev + libmpdclient-dev + libnfs-dev + libogg-dev + libsamplerate-dev + libshout-dev + libvorbis-dev + meson + opus-dev + pulseaudio-dev + py3-attrs + py3-sphinx + samba-dev + soxr-dev + wavpack-dev + " +checkdepends="gtest-dev gtest" +install="$pkgname.pre-install" +subpackages="$pkgname-doc $pkgname-dbg $pkgname-openrc" +source="https://www.musicpd.org/download/mpd/$_branch/mpd-$pkgver.tar.xz + stacksize.patch + mpd.initd + mpd.confd + libcdio-paranoia-version.patch + remove-avahi-test.patch + disable-time-test.patch + " + +# secfixes: +# 0: +# - CVE-2020-7465 +# - CVE-2020-7466 + +build() { + abuild-meson \ + -Dshout=enabled \ + -Dopus=enabled \ + -Dmodplug=enabled \ + -Dnfs=enabled \ + -Dsmbclient=enabled \ + -Dffmpeg=enabled \ + -Dlibmpdclient=enabled \ + -Dcdio_paranoia=enabled \ + -Dzeroconf=avahi \ + -Dtest=true \ + -Ddocumentation=enabled \ + -Dwavpack=enabled \ + . output + meson compile ${JOBS:+-j ${JOBS}} -C output +} + +check() { + meson test --no-rebuild -v -C output +} + +package() { + DESTDIR="$pkgdir" meson install --no-rebuild -C output + + # mpd attempts to configure real-time scheduling on linux + # add the capability which allows doing that + # see: https://www.musicpd.org/doc/html/user.html#real-time-scheduling + setcap cap_sys_nice+ep "$pkgdir"/usr/bin/mpd + + # provide a config that works by default + install -d "$pkgdir"/etc + sed -e 's:\#user.*:user\t\t"mpd":' \ + -e 's:\#log_file.*:log_file\t\t"syslog":' \ + doc/mpdconf.example > "$pkgdir"/etc/mpd.conf + install -m755 -D "$srcdir"/$pkgname.initd \ + "$pkgdir"/etc/init.d/$pkgname + install -m644 -D "$srcdir"/$pkgname.confd \ + "$pkgdir"/etc/conf.d/$pkgname + install -d -g audio -o mpd -m775 \ + "$pkgdir"/var/run/mpd \ + "$pkgdir"/var/log/mpd \ + "$pkgdir"/var/lib/mpd \ + "$pkgdir"/var/lib/mpd/playlists \ + "$pkgdir"/var/lib/mpd/music +} + +sha512sums=" +54b381e6d4e6113cd170ca7afbb671bef4ababb4de80a80504fe951f53aaf66269c123b7923112ab40291e069fa27457936227204cc84b42cf44aac1721c0d0d mpd-0.22.8.tar.xz +f60f6f3e921d20732c1a4c31a97f28660b43fd649e767d6c39661b6a90145231a79ad3f740ae0d706380b245ad040e98b661a513463c54cea161d1f64fc261e0 stacksize.patch +8547f685adf3cdc7b2aab7bedeed8c72242011c6f1e01750415ac21eba5ecf6b416239f527adbc904f72439c5d476249148cfb89965e33de1be69421e02c18e0 mpd.initd +41b2467f5b03f5c4dd7003cd5f56f6cfc1f67af7a9aa2538d70360f839625222bdd0c4b04c33e8cd52eeecfc354da3ca22f5aaab8aee357a5774aaf3503594e7 mpd.confd +1a8bc5ec04c75c2aa240d607dfb2790e57126299dd5449cd71d3ea1cdf00951d546bc58ecc4003e062c02a82c9879e1ac6e89c3ad4cdefe3adcde217df9c07ad libcdio-paranoia-version.patch +b888b8d033e7752ce48cc47c116d1265f77d8b2ec42fb4587839afe901ae1392731524f18520888ae1fa654ac9a742e46b309e9450cf403d6077012947f746c5 remove-avahi-test.patch +4352009b1b0f9ffb19c51d476539656f2fe0ab9e34cd4a7ba65c1397d155cc408bb08da96d6ecf8f798a9af615da7662f8d1bf44ab35e9522177da44ba59fbf2 disable-time-test.patch +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/mpd/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/mpd/APKBUILD-expected.json new file mode 100644 index 00000000000..c977f90c8df --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/mpd/APKBUILD-expected.json @@ -0,0 +1,97 @@ +{ + "type": "alpine", + "namespace": null, + "name": "mpd", + "version": "0.22.8-r2", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Music daemon that plays MP3, FLAC, Ogg Vorbis files and Audio CDs", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus", + "declared_license": "GPL-2.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://www.musicpd.org/download/mpd/0.22/mpd-0.22.8.tar.xz" + }, + { + "file_name": "stacksize.patch", + "url": null + }, + { + "file_name": "mpd.initd", + "url": null + }, + { + "file_name": "mpd.confd", + "url": null + }, + { + "file_name": "libcdio-paranoia-version.patch", + "url": null + }, + { + "file_name": "remove-avahi-test.patch", + "url": null + }, + { + "file_name": "disable-time-test.patch", + "url": null + } + ], + "checksums": [ + { + "file_name": "mpd-0.22.8.tar.xz", + "sha512": "54b381e6d4e6113cd170ca7afbb671bef4ababb4de80a80504fe951f53aaf66269c123b7923112ab40291e069fa27457936227204cc84b42cf44aac1721c0d0d" + }, + { + "file_name": "stacksize.patch", + "sha512": "f60f6f3e921d20732c1a4c31a97f28660b43fd649e767d6c39661b6a90145231a79ad3f740ae0d706380b245ad040e98b661a513463c54cea161d1f64fc261e0" + }, + { + "file_name": "mpd.initd", + "sha512": "8547f685adf3cdc7b2aab7bedeed8c72242011c6f1e01750415ac21eba5ecf6b416239f527adbc904f72439c5d476249148cfb89965e33de1be69421e02c18e0" + }, + { + "file_name": "mpd.confd", + "sha512": "41b2467f5b03f5c4dd7003cd5f56f6cfc1f67af7a9aa2538d70360f839625222bdd0c4b04c33e8cd52eeecfc354da3ca22f5aaab8aee357a5774aaf3503594e7" + }, + { + "file_name": "libcdio-paranoia-version.patch", + "sha512": "1a8bc5ec04c75c2aa240d607dfb2790e57126299dd5449cd71d3ea1cdf00951d546bc58ecc4003e062c02a82c9879e1ac6e89c3ad4cdefe3adcde217df9c07ad" + }, + { + "file_name": "remove-avahi-test.patch", + "sha512": "b888b8d033e7752ce48cc47c116d1265f77d8b2ec42fb4587839afe901ae1392731524f18520888ae1fa654ac9a742e46b309e9450cf403d6077012947f746c5" + }, + { + "file_name": "disable-time-test.patch", + "sha512": "4352009b1b0f9ffb19c51d476539656f2fe0ab9e34cd4a7ba65c1397d155cc408bb08da96d6ecf8f798a9af615da7662f8d1bf44ab35e9522177da44ba59fbf2" + } + ] + }, + "purl": "pkg:alpine/mpd@0.22.8-r2", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/oxygen/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/oxygen/APKBUILD new file mode 100644 index 00000000000..1b0866adf0c --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/oxygen/APKBUILD @@ -0,0 +1,59 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=oxygen +pkgver=5.22.0 +pkgrel=0 +pkgdesc="Artwork, styles and assets for the Oxygen visual style for the Plasma Desktop" +# armhf blocked by extra-cmake-modules +# s390x and mips64 blocked by frameworkintegration +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="LGPL-2.1-or-later" +makedepends=" + extra-cmake-modules + frameworkintegration-dev + kcmutils-dev + kcompletion-dev + kconfig-dev + kdecoration-dev + kguiaddons-dev + ki18n-dev + kservice-dev + kwayland-dev + kwidgetsaddons-dev + kwindowsystem-dev + qt5-qtbase-dev + xcb-util-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/oxygen-$pkgver.tar.xz" +subpackages="$pkgname-lang $pkgname-sounds::noarch" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sounds() { + pkgdesc="$pkgdesc (sounds)" + amove usr/share/sounds +} +sha512sums=" +b3a29245780c8cdbd8531d6ea91d15363ad9633ec89b3112a32c8d0909f9c6c33dd69a3f6eca5de5a74e583dbee4649cd034c85df5c1cfea32cb8e8e5e6d5731 oxygen-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/oxygen/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/oxygen/APKBUILD-expected.json new file mode 100644 index 00000000000..bdcf9487d0c --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/oxygen/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "oxygen", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Artwork, styles and assets for the Oxygen visual style for the Plasma Desktop", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "lgpl-2.1-plus", + "declared_license": "LGPL-2.1-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/oxygen-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "oxygen-5.22.0.tar.xz", + "sha512": "b3a29245780c8cdbd8531d6ea91d15363ad9633ec89b3112a32c8d0909f9c6c33dd69a3f6eca5de5a74e583dbee4649cd034c85df5c1cfea32cb8e8e5e6d5731" + } + ] + }, + "purl": "pkg:alpine/oxygen@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/parole/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/parole/APKBUILD new file mode 100644 index 00000000000..06e2c1d9830 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/parole/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Natanael Copa +# Maintainer: Natanael Copa +pkgname=parole +pkgver=1.0.5 +pkgrel=0 +case $pkgver in + *.*.*.*) _branch=${pkgver%.*.*};; + *.*.*) _branch=${pkgver%.*};; +esac +pkgdesc="Media player for the Xfce desktop" +url="https://docs.xfce.org/apps/parole/start" +arch="all !x86 !armv7 !armhf" # webkit2gtk missing +license="GPL-2.0-or-later" +depends="gst-plugins-good" +depends_dev="libxfce4ui-dev libxfce4util-dev intltool gstreamer-dev bash + gst-plugins-base-dev libsm-dev taglib-dev libnotify-dev dbus-glib-dev" +makedepends="$depends_dev linux-headers" +subpackages="$pkgname-dev $pkgname-lang" +source="https://archive.xfce.org/src/apps/parole/$_branch/parole-$pkgver.tar.bz2" + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --with-gstreamer=1.0 + make +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="458b042752919d4dd1bfdaceda2b281b07a3094d986a99ec2ff51c12b7ca32adba6ce67ecb67e9ab70bdf83cfa22f8b5027054e2c3a3cf71d50ec8b98eeb24df parole-1.0.5.tar.bz2" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/parole/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/parole/APKBUILD-expected.json new file mode 100644 index 00000000000..58c5aa42f31 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/parole/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "parole", + "version": "1.0.5-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Media player for the Xfce desktop", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus", + "declared_license": "GPL-2.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://archive.xfce.org/src/apps/parole/1.0/parole-1.0.5.tar.bz2" + } + ], + "checksums": [ + { + "file_name": "parole-1.0.5.tar.bz2", + "sha512": "458b042752919d4dd1bfdaceda2b281b07a3094d986a99ec2ff51c12b7ca32adba6ce67ecb67e9ab70bdf83cfa22f8b5027054e2c3a3cf71d50ec8b98eeb24df" + } + ] + }, + "purl": "pkg:alpine/parole@1.0.5-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-browser-integration/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-browser-integration/APKBUILD new file mode 100644 index 00000000000..e1867a8e494 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-browser-integration/APKBUILD @@ -0,0 +1,53 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=plasma-browser-integration +pkgver=5.22.0 +pkgrel=0 +pkgdesc="Components necessary to integrate browsers into the Plasma Desktop" +# armhf blocked by extra-cmake-modules +# s390x, mips64 blocked by kio-dev, krunner-dev, purpose-dev +arch="all !armhf !s390x !mips64" +url="https://community.kde.org/Plasma/Browser_Integration" +license="GPL-3.0-or-later" +makedepends=" + extra-cmake-modules + kactivities-dev + kconfig-dev + kdbusaddons-dev + kfilemetadata-dev + ki18n-dev + kio-dev + knotifications-dev + krunner-dev + plasma-workspace-dev + purpose-dev + qt5-qtbase-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-browser-integration-$pkgver.tar.xz" +subpackages="$pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums=" +0b8ad95830261fe823c98a12fa5aa2832b64d2754585d05db413314f3e2617426ade0a3c71df46143514b97448bf74b15c805a6e5512ab0f95cb734d56911811 plasma-browser-integration-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-browser-integration/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-browser-integration/APKBUILD-expected.json new file mode 100644 index 00000000000..b0434812021 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-browser-integration/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "plasma-browser-integration", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Components necessary to integrate browsers into the Plasma Desktop", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-3.0-plus", + "declared_license": "GPL-3.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/plasma-browser-integration-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "plasma-browser-integration-5.22.0.tar.xz", + "sha512": "0b8ad95830261fe823c98a12fa5aa2832b64d2754585d05db413314f3e2617426ade0a3c71df46143514b97448bf74b15c805a6e5512ab0f95cb734d56911811" + } + ] + }, + "purl": "pkg:alpine/plasma-browser-integration@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-desktop/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-desktop/APKBUILD new file mode 100644 index 00000000000..e111a1f9092 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-desktop/APKBUILD @@ -0,0 +1,102 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=plasma-desktop +pkgver=5.22.0 +pkgrel=0 +pkgdesc="KDE Plasma Desktop" +# s390x, mips, mips64 blocked by ibus +# armhf blocked by qt5-qtdeclarative +arch="all !s390x !armhf !mips !mips64" +url='https://kde.org/plasma-desktop/' +license="GPL-2.0-only AND LGPL-2.1-only" +depends=" + accountsservice + font-noto-emoji + ibus-emoji + kirigami2 + plasma-workspace + qqc2-desktop-style + setxkbmap + " +makedepends=" + attica-dev + baloo-dev + eudev-dev + extra-cmake-modules + fontconfig-dev + ibus-dev + kaccounts-integration-dev + kactivities-dev + kactivities-stats-dev + kauth-dev + kcmutils-dev + kcodecs-dev + kconfig-dev + kdbusaddons-dev + kdeclarative-dev + kdelibs4support-dev + kdoctools-dev + kemoticons-dev + kglobalaccel-dev + ki18n-dev + kitemmodels-dev + knewstuff-dev + knotifications-dev + knotifyconfig-dev + kpeople-dev + krunner-dev + kwallet-dev + kwin-dev + libxcursor-dev + libxi-dev + libxkbfile-dev + plasma-framework-dev + plasma-workspace-dev + qt5-qtbase-dev + qt5-qtdeclarative-dev + qt5-qtsvg-dev + qt5-qtx11extras-dev + xf86-input-evdev-dev + xf86-input-libinput-dev + xf86-input-synaptics-dev + " +checkdepends="xvfb-run iso-codes" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-desktop-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang knetattach" +options="!check" # Requires running dbus + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build + + rm "$pkgdir"/usr/bin/knetattach + rm "$pkgdir"/usr/share/applications/org.kde.knetattach.desktop +} + +knetattach() { + pkgdesc="Wizard which makes it easier to integrate network resources with the Plasma Desktop" + depends="kdelibs4support" + + cd "$builddir"/build/knetattach + DESTDIR="$subpkgdir" make install +} +sha512sums=" +b2799e196079519e2e3da27d6d41f2b9f606a1e703d3edb1a6c16fb74fc5d2a7d9452872cb70a3f3e8f699fb7951a9f178370744fd9989e1624294401d83d3ba plasma-desktop-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-desktop/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-desktop/APKBUILD-expected.json new file mode 100644 index 00000000000..b1c5f1670d4 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-desktop/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "plasma-desktop", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "KDE Plasma Desktop", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0 AND lgpl-2.1", + "declared_license": "GPL-2.0-only AND LGPL-2.1-only", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/plasma-desktop-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "plasma-desktop-5.22.0.tar.xz", + "sha512": "b2799e196079519e2e3da27d6d41f2b9f606a1e703d3edb1a6c16fb74fc5d2a7d9452872cb70a3f3e8f699fb7951a9f178370744fd9989e1624294401d83d3ba" + } + ] + }, + "purl": "pkg:alpine/plasma-desktop@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-disks/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-disks/APKBUILD new file mode 100644 index 00000000000..1619737965b --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-disks/APKBUILD @@ -0,0 +1,56 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=plasma-disks +pkgver=5.22.0 +pkgrel=0 +pkgdesc="Monitors S.M.A.R.T. capable devices for imminent failure" +# armhf blocked by qt5-qtdeclarative +# s390x blocked by solid, kio, kauth and kdeclarative +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later" +depends=" + kirigami2 + smartmontools + " +makedepends=" + extra-cmake-modules + qt5-qtbase-dev + kcoreaddons-dev + kdbusaddons-dev + knotifications-dev + ki18n-dev + solid-dev + kservice-dev + kio-dev + kauth-dev + kdeclarative-dev + " +checkdepends="xvfb-run" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-disks-$pkgver.tar.xz" +subpackages="$pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums=" +c8e4df1d87199936736f31b5e10985d7319fccefe24434d669746ca0f17fb7cc1c015f51bd5fbd115aab5ad275773020936e78c46e895ef15fdeec88d38e8012 plasma-disks-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-disks/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-disks/APKBUILD-expected.json new file mode 100644 index 00000000000..2591dc238e8 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-disks/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "plasma-disks", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Monitors S.M.A.R.T. capable devices for imminent failure", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus", + "declared_license": "GPL-2.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/plasma-disks-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "plasma-disks-5.22.0.tar.xz", + "sha512": "c8e4df1d87199936736f31b5e10985d7319fccefe24434d669746ca0f17fb7cc1c015f51bd5fbd115aab5ad275773020936e78c46e895ef15fdeec88d38e8012" + } + ] + }, + "purl": "pkg:alpine/plasma-disks@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-firewall/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-firewall/APKBUILD new file mode 100644 index 00000000000..d6821d64024 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-firewall/APKBUILD @@ -0,0 +1,53 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=plasma-firewall +pkgver=5.22.0 +pkgrel=0 +pkgdesc="Control Panel for your system firewall" +# armhf blocked by qt5-qtdeclarative +# s390x and mips64 blocked by kcmutils +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later" +depends=" + python3 + kirigami2 + " +makedepends=" + extra-cmake-modules + kcmutils-dev + kcoreaddons-dev + kdeclarative-dev + ki18n-dev + plasma-framework-dev + qt5-qtbase-dev + qt5-qtdeclarative-dev + qt5-qtx11extras-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-firewall-$pkgver.tar.xz" +subpackages="$pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums=" +500324331383c9aff899dbf9c78ec76c5ca468b1a06603b30d72763b88ed8f538b1c9d4cbae1e8b5777d0b1073710806db81601637d80f0fbead1471724cc5f5 plasma-firewall-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-firewall/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-firewall/APKBUILD-expected.json new file mode 100644 index 00000000000..aab4eb7934e --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-firewall/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "plasma-firewall", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Control Panel for your system firewall", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus", + "declared_license": "GPL-2.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/plasma-firewall-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "plasma-firewall-5.22.0.tar.xz", + "sha512": "500324331383c9aff899dbf9c78ec76c5ca468b1a06603b30d72763b88ed8f538b1c9d4cbae1e8b5777d0b1073710806db81601637d80f0fbead1471724cc5f5" + } + ] + }, + "purl": "pkg:alpine/plasma-firewall@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-integration/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-integration/APKBUILD new file mode 100644 index 00000000000..800042ae64f --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-integration/APKBUILD @@ -0,0 +1,64 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=plasma-integration +pkgver=5.22.0 +pkgrel=0 +pkgdesc="Qt Platform Theme integration plugins for the Plasma workspaces" +# armhf blocked by qt5-qtdeclarative +# s390x blocked by kconfigwidgets +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="(LGPL-2.1-only OR LGPL-3.0-only) AND LGPL-2.1-only AND ((LGPL-2.1-only WITH Nokia-Qt-exception-1.1) OR (GPL-3.0-only WITH Nokia-Qt-exception-1.1))" +depends=" + font-noto + qqc2-desktop-style + ttf-hack + " +makedepends=" + breeze-dev + extra-cmake-modules + kconfig-dev + kconfigwidgets-dev + ki18n-dev + kiconthemes-dev + kio-dev + knotifications-dev + kwayland-dev + kwidgetsaddons-dev + kwindowsystem-dev + libxcursor-dev + qt5-qtbase-dev + qt5-qtquickcontrols2-dev + qt5-qtx11extras-dev + " +checkdepends="xvfb-run" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-integration-$pkgver.tar.xz" +subpackages="$pkgname-lang" +options="!check" # Broken + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_DISABLE_FIND_PACKAGE_FontNotoSans=true \ + -DCMAKE_DISABLE_FIND_PACKAGE_FontHack=true + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums=" +0383d3c014c294c31e2dac3ef299288a6c67aeaec3e3367784add413c38edb16c96552fe315a4b77ded516c9e8efe246ae49dd98ab42efa13476dcafffe91315 plasma-integration-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-integration/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-integration/APKBUILD-expected.json new file mode 100644 index 00000000000..51810ef5231 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-integration/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "plasma-integration", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Qt Platform Theme integration plugins for the Plasma workspaces", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "(lgpl-2.1 OR lgpl-3.0) AND lgpl-2.1 AND (lgpl-2.1 WITH qt-lgpl-exception-1.1 OR gpl-3.0 WITH qt-lgpl-exception-1.1)", + "declared_license": "(LGPL-2.1-only OR LGPL-3.0-only) AND LGPL-2.1-only AND ((LGPL-2.1-only WITH Nokia-Qt-exception-1.1) OR (GPL-3.0-only WITH Nokia-Qt-exception-1.1))", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/plasma-integration-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "plasma-integration-5.22.0.tar.xz", + "sha512": "0383d3c014c294c31e2dac3ef299288a6c67aeaec3e3367784add413c38edb16c96552fe315a4b77ded516c9e8efe246ae49dd98ab42efa13476dcafffe91315" + } + ] + }, + "purl": "pkg:alpine/plasma-integration@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-nano/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-nano/APKBUILD new file mode 100644 index 00000000000..09bd89aa68c --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-nano/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=plasma-nano +pkgver=5.22.0 +pkgrel=0 +pkgdesc="A minimal Plasma shell package intended for embedded devices" +# armhf blocked by extra-cmake-modules +# s390x blocked by plasma-framework +arch="all !armhf !s390x !mips64" +url="https://invent.kde.org/kde/plasma-nano" +license="GPL-2.0-or-later AND LGPL-2.1-or-later" +depends="qt5-qtvirtualkeyboard" +makedepends=" + extra-cmake-modules + kwayland-dev + kwindowsystem-dev + plasma-framework-dev + qt5-qtbase-dev + qt5-qtdeclarative-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-nano-$pkgver.tar.xz" +options="!check" # No tests + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums=" +6f594ba2ba26b0a8d62c3144172dfbcf1e48a3bded45b3bd340d0ca93474f37ee69bfc74d943b04c3df929592fc4e8b39ed940841d556b56d827f78252f892ac plasma-nano-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-nano/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-nano/APKBUILD-expected.json new file mode 100644 index 00000000000..56671b2ac34 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-nano/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "plasma-nano", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "A minimal Plasma shell package intended for embedded devices", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus AND lgpl-2.1-plus", + "declared_license": "GPL-2.0-or-later AND LGPL-2.1-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/plasma-nano-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "plasma-nano-5.22.0.tar.xz", + "sha512": "6f594ba2ba26b0a8d62c3144172dfbcf1e48a3bded45b3bd340d0ca93474f37ee69bfc74d943b04c3df929592fc4e8b39ed940841d556b56d827f78252f892ac" + } + ] + }, + "purl": "pkg:alpine/plasma-nano@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-nm/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-nm/APKBUILD new file mode 100644 index 00000000000..e6fab5c28e4 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-nm/APKBUILD @@ -0,0 +1,79 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=plasma-nm +pkgver=5.22.0 +pkgrel=0 +pkgdesc="Plasma applet written in QML for managing network connections" +# armhf blocked by qt5-qtdeclarative +# s390x, mips64 blocked by plasma-framework +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="(LGPL-2.1-only OR LGPL-3.0-only) AND LGPL-2.0-or-later" +depends="kirigami2 networkmanager" +makedepends=" + extra-cmake-modules + kcompletion-dev + kconfigwidgets-dev + kcoreaddons-dev + kdbusaddons-dev + kdeclarative-dev + ki18n-dev + kiconthemes-dev + kio-dev + knotifications-dev + kservice-dev + kwallet-dev + kwidgetsaddons-dev + kwindowsystem-dev + mobile-broadband-provider-info + modemmanager-qt-dev + networkmanager-qt-dev + plasma-framework-dev + prison-dev + qca-dev + qt5-qtbase-dev + qt5-qtdeclarative-dev + solid-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-nm-$pkgver.tar.xz" +subpackages="$pkgname-lang $pkgname-mobile" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_MOBILE=ON + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +mobile() { + pkgdesc="$pkgdesc (mobile KCM's)" + + mkdir -p \ + "$subpkgdir"/usr/lib/qt5/plugins \ + "$subpkgdir"/usr/share/kservices5 + + mv "$pkgdir"/usr/share/kpackage "$subpkgdir"/usr/share/ + mv "$pkgdir"/usr/lib/qt5/plugins/kcms "$subpkgdir"/usr/lib/qt5/plugins + mv \ + "$pkgdir"/usr/share/kservices5/wifisettings.desktop \ + "$subpkgdir"/usr/share/kservices5/ +} +sha512sums=" +5fea3c71bba5481b363abba0ced6a546a3384225f57166c4fcba9f370f89f3a3b0bb98320239e61733c496ed17230fa38b0bcaeae927206f113976467f116a43 plasma-nm-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-nm/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-nm/APKBUILD-expected.json new file mode 100644 index 00000000000..ddd8a01b7ce --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-nm/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "plasma-nm", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Plasma applet written in QML for managing network connections", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "(lgpl-2.1 OR lgpl-3.0) AND lgpl-2.0-plus", + "declared_license": "(LGPL-2.1-only OR LGPL-3.0-only) AND LGPL-2.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/plasma-nm-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "plasma-nm-5.22.0.tar.xz", + "sha512": "5fea3c71bba5481b363abba0ced6a546a3384225f57166c4fcba9f370f89f3a3b0bb98320239e61733c496ed17230fa38b0bcaeae927206f113976467f116a43" + } + ] + }, + "purl": "pkg:alpine/plasma-nm@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-pa/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-pa/APKBUILD new file mode 100644 index 00000000000..347517e1332 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-pa/APKBUILD @@ -0,0 +1,54 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=plasma-pa +pkgver=5.22.0 +pkgrel=0 +pkgdesc="Plasma applet for audio volume management using PulseAudio" +# armhf blocked by qt5-qtdeclarative +# s390x blocked by libksysguard +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="LGPL-2.1-only OR LGPL-3.0-only AND GPL-2.0-only" +depends="pulseaudio kirigami2" +makedepends=" + extra-cmake-modules + qt5-qtbase-dev + qt5-qtdeclarative-dev + kcoreaddons-dev + kdeclarative-dev + kdoctools-dev + kglobalaccel-dev + knotifications-dev + ki18n-dev + plasma-workspace-dev + pulseaudio-dev + libcanberra-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-pa-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DUSE_GCONF=OFF + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums=" +4791943ea7d44c0798d6d87553a70f9a9d3f5cc9cca729ef07af15ba3dc0e908ce1de370dd347bea602207eccc06b43700c84e22b1894009711b79e9675182e1 plasma-pa-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-pa/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-pa/APKBUILD-expected.json new file mode 100644 index 00000000000..11dce03fdf0 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-pa/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "plasma-pa", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Plasma applet for audio volume management using PulseAudio", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "lgpl-2.1 OR (lgpl-3.0 AND gpl-2.0)", + "declared_license": "LGPL-2.1-only OR LGPL-3.0-only AND GPL-2.0-only", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/plasma-pa-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "plasma-pa-5.22.0.tar.xz", + "sha512": "4791943ea7d44c0798d6d87553a70f9a9d3f5cc9cca729ef07af15ba3dc0e908ce1de370dd347bea602207eccc06b43700c84e22b1894009711b79e9675182e1" + } + ] + }, + "purl": "pkg:alpine/plasma-pa@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-phone-components/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-phone-components/APKBUILD new file mode 100644 index 00000000000..106a2990f6b --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-phone-components/APKBUILD @@ -0,0 +1,85 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=plasma-phone-components +pkgver=5.22.0 +pkgrel=0 +pkgdesc="Modules providing phone functionality for Plasma" +# armhf blocked by extra-cmake-modules +# s390x and mips64 blocked by libksysguard +arch="all !armhf !s390x !mips64" +url="https://www.plasma-mobile.org/" +license="GPL-2.0-or-later AND LGPL-2.1-or-later" +depends=" + breeze-icons + dbus-x11 + kactivities + libqofono + maliit-keyboard + plasma-nano + plasma-nm + plasma-pa + plasma-settings + plasma-workspace + qqc2-breeze-style + qt5-qtquickcontrols2 + " +makedepends=" + extra-cmake-modules + kactivities-dev + kauth-dev + kbookmarks-dev + kcodecs-dev + kcompletion-dev + kconfig-dev + kconfigwidgets-dev + kcoreaddons-dev + kdbusaddons-dev + kdeclarative-dev + ki18n-dev + kio-dev + kitemviews-dev + kjobwidgets-dev + knotifications-dev + kpackage-dev + kpeople-dev + kservice-dev + kwayland-dev + kwidgetsaddons-dev + kwin-dev + kwindowsystem-dev + kxmlgui-dev + libphonenumber-dev + plasma-framework-dev + qt5-qtdeclarative-dev + solid-dev + telepathy-qt-dev + " +subpackages="$pkgname-lang" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-phone-components-$pkgver.tar.xz" +options="!check" # No tests + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums=" +eba189d461286b5d64992386d8d2c98bd717aec6bb54a6c1b1b215e74166100239dcbf1c5b82261284770237536b2586f4c29d851209e2a39b07e3630de76d1f plasma-phone-components-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-phone-components/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-phone-components/APKBUILD-expected.json new file mode 100644 index 00000000000..692a2e9da88 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-phone-components/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "plasma-phone-components", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Modules providing phone functionality for Plasma", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus AND lgpl-2.1-plus", + "declared_license": "GPL-2.0-or-later AND LGPL-2.1-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/plasma-phone-components-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "plasma-phone-components-5.22.0.tar.xz", + "sha512": "eba189d461286b5d64992386d8d2c98bd717aec6bb54a6c1b1b215e74166100239dcbf1c5b82261284770237536b2586f4c29d851209e2a39b07e3630de76d1f" + } + ] + }, + "purl": "pkg:alpine/plasma-phone-components@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-sdk/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-sdk/APKBUILD new file mode 100644 index 00000000000..5ebc0206a29 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-sdk/APKBUILD @@ -0,0 +1,68 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=plasma-sdk +pkgver=5.22.0 +pkgrel=0 +pkgdesc="Applications useful for Plasma Development" +# armhf blocked by qt5-qtdeclarative +# s390x blocked by kconfigwidgets +# mips64 blocked by multiple dependencies +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later" +depends=" + kirigami2 + qt5-qtquickcontrols + " +makedepends=" + extra-cmake-modules + karchive-dev + kcompletion-dev + kconfig-dev + kconfigwidgets-dev + kcoreaddons-dev + kdbusaddons-dev + kdeclarative-dev + kdoctools-dev + ki18n-dev + kiconthemes-dev + kio-dev + kparts-dev + kservice-dev + ktexteditor-dev + kwidgetsaddons-dev + plasma-framework-dev + qt5-qtbase-dev + qt5-qtdeclarative-dev + qt5-qtsvg-dev + " +checkdepends="xvfb-run" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-sdk-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + # iconmodeltest is broken + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "iconmodeltest" +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums=" +84be9a4bab8ef0eb8a6e9445b1bc74c6d8d460b657b9b2f1260b2444e3f9f95de6044f097aa2fac4f31308168f1d0130bcb65acaf896fd849f4a6e248c6c7c3d plasma-sdk-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-sdk/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-sdk/APKBUILD-expected.json new file mode 100644 index 00000000000..1cad28b4d73 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-sdk/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "plasma-sdk", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Applications useful for Plasma Development", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus", + "declared_license": "GPL-2.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/plasma-sdk-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "plasma-sdk-5.22.0.tar.xz", + "sha512": "84be9a4bab8ef0eb8a6e9445b1bc74c6d8d460b657b9b2f1260b2444e3f9f95de6044f097aa2fac4f31308168f1d0130bcb65acaf896fd849f4a6e248c6c7c3d" + } + ] + }, + "purl": "pkg:alpine/plasma-sdk@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-systemmonitor/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-systemmonitor/APKBUILD new file mode 100644 index 00000000000..d863d827bff --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-systemmonitor/APKBUILD @@ -0,0 +1,55 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=plasma-systemmonitor +pkgver=5.22.0 +pkgrel=0 +pkgdesc="An application for monitoring system resources" +# armhf blocked by extra-cmake-modules +# s390x blocked by libksysguard +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="LicenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL AND CC0-1.0" +depends="kirigami2" +makedepends=" + extra-cmake-modules + kconfig-dev + kdbusaddons-dev + kdeclarative-dev + kglobalaccel-dev + ki18n-dev + kio-dev + kitemmodels-dev + knewstuff-dev + kservice-dev + libksysguard-dev + qt5-qtbase-dev + qt5-qtdeclarative-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-systemmonitor-$pkgver.tar.xz" +subpackages="$pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + # ksystemstatstest is broken + CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "ksystemstatstest" +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums=" +e1a8995660b440fb9af4b18737e45df7cb91995b9cbd75e947649b93c9654b9d28d16341ee2e2ed9fc6fa8e9645dfcf1a4e0d54500fed13a6fc013ad992e3970 plasma-systemmonitor-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-systemmonitor/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-systemmonitor/APKBUILD-expected.json new file mode 100644 index 00000000000..932321bedee --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-systemmonitor/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "plasma-systemmonitor", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "An application for monitoring system resources", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "kde-accepted-gpl AND kde-accepted-lgpl AND cc0-1.0", + "declared_license": "LicenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL AND CC0-1.0", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/plasma-systemmonitor-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "plasma-systemmonitor-5.22.0.tar.xz", + "sha512": "e1a8995660b440fb9af4b18737e45df7cb91995b9cbd75e947649b93c9654b9d28d16341ee2e2ed9fc6fa8e9645dfcf1a4e0d54500fed13a6fc013ad992e3970" + } + ] + }, + "purl": "pkg:alpine/plasma-systemmonitor@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-thunderbolt/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-thunderbolt/APKBUILD new file mode 100644 index 00000000000..e47696ca74d --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-thunderbolt/APKBUILD @@ -0,0 +1,53 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=plasma-thunderbolt +pkgver=5.22.0 +pkgrel=0 +# armhf blocked by qt5-qtdeclarative +# s390x blocked by bolt +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +pkgdesc="Plasma integration for controlling Thunderbolt devices" +license="GPL-2.0-only OR GPL-3.0-only" +depends="bolt" +makedepends=" + extra-cmake-modules + kcmutils-dev + kcoreaddons-dev + kdbusaddons-dev + kdeclarative-dev + ki18n-dev + knotifications-dev + qt5-qtbase-dev + qt5-qtdeclarative-dev + " +checkdepends="xvfb-run" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-thunderbolt-$pkgver.tar.xz" +subpackages="$pkgname-lang" +options="!check" # Requires running dbus server + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums=" +33cb92c07a212eb4c20faf8d0caf6a39f73326173c6765820a28562ce76480f1dc876a7f9411357bdd9bad6c4f3259e6a56416ccd0690ea9bcb81aa84088fe51 plasma-thunderbolt-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-thunderbolt/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-thunderbolt/APKBUILD-expected.json new file mode 100644 index 00000000000..bc589f20a87 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-thunderbolt/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "plasma-thunderbolt", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Plasma integration for controlling Thunderbolt devices", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0 OR gpl-3.0", + "declared_license": "GPL-2.0-only OR GPL-3.0-only", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/plasma-thunderbolt-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "plasma-thunderbolt-5.22.0.tar.xz", + "sha512": "33cb92c07a212eb4c20faf8d0caf6a39f73326173c6765820a28562ce76480f1dc876a7f9411357bdd9bad6c4f3259e6a56416ccd0690ea9bcb81aa84088fe51" + } + ] + }, + "purl": "pkg:alpine/plasma-thunderbolt@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-vault/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-vault/APKBUILD new file mode 100644 index 00000000000..3bc003170a5 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-vault/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=plasma-vault +pkgver=5.22.0 +pkgrel=0 +pkgdesc="Plasma applet and services for creating encrypted vaults" +# armhf blocked by extra-cmake-modules +# s390x blocked by libksysguard +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="(GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only AND LGPL-3.0-only)" +makedepends=" + extra-cmake-modules + kactivities-dev + kconfig-dev + kconfigwidgets-dev + kcoreaddons-dev + kdbusaddons-dev + ki18n-dev + kio-dev + kwidgetsaddons-dev + libksysguard-dev + networkmanager-qt-dev + plasma-framework-dev + qt5-qtbase-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-vault-$pkgver.tar.xz" +subpackages="$pkgname-lang" +options="!check" # No tests + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums=" +176090b62310683fd6b44edf9205858bf55cb6eef43f6c351db85dfed5601c15ef20fd760632c1217100a1c5cb7473ba90ebaf7de6b25ed884212ff0257e8cbe plasma-vault-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-vault/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-vault/APKBUILD-expected.json new file mode 100644 index 00000000000..661b8f67148 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-vault/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "plasma-vault", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Plasma applet and services for creating encrypted vaults", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "(gpl-2.0 OR gpl-3.0) AND (lgpl-2.1 AND lgpl-3.0)", + "declared_license": "(GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only AND LGPL-3.0-only)", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/plasma-vault-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "plasma-vault-5.22.0.tar.xz", + "sha512": "176090b62310683fd6b44edf9205858bf55cb6eef43f6c351db85dfed5601c15ef20fd760632c1217100a1c5cb7473ba90ebaf7de6b25ed884212ff0257e8cbe" + } + ] + }, + "purl": "pkg:alpine/plasma-vault@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-workspace-wallpapers/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-workspace-wallpapers/APKBUILD new file mode 100644 index 00000000000..b58063142c8 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-workspace-wallpapers/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=plasma-workspace-wallpapers +pkgver=5.22.0 +pkgrel=0 +pkgdesc="Wallpapers for the Plasma Workspace" +arch="noarch !armhf" # armhf blocked by extra-cmake-modules +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later" +makedepends="extra-cmake-modules" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-workspace-wallpapers-$pkgver.tar.xz" +options="!check" # No tests available + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums=" +494fe7220b961ea6223f1fe66a3c8305418b12da07b08b94de96be2528f08a67bc5e5114899ce86f8a4ef0ca22a4450852bf3e92850a4b1fac85c3986dd2f1f4 plasma-workspace-wallpapers-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-workspace-wallpapers/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-workspace-wallpapers/APKBUILD-expected.json new file mode 100644 index 00000000000..00e1a466aa8 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-workspace-wallpapers/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "plasma-workspace-wallpapers", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Wallpapers for the Plasma Workspace", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus", + "declared_license": "GPL-2.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/plasma-workspace-wallpapers-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "plasma-workspace-wallpapers-5.22.0.tar.xz", + "sha512": "494fe7220b961ea6223f1fe66a3c8305418b12da07b08b94de96be2528f08a67bc5e5114899ce86f8a4ef0ca22a4450852bf3e92850a4b1fac85c3986dd2f1f4" + } + ] + }, + "purl": "pkg:alpine/plasma-workspace-wallpapers@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-workspace/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-workspace/APKBUILD new file mode 100644 index 00000000000..b732816673f --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-workspace/APKBUILD @@ -0,0 +1,112 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=plasma-workspace +pkgver=5.22.0 +pkgrel=2 +pkgdesc="KDE Plasma Workspace" +# armhf blocked by kirigami2 +# s390x blocked by kactivitymanagerd +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="(GPL-2.0-only OR GPL-3.0-only) AND LGPL-2.1-or-later AND GPL-2.0-or-later AND MIT AND LGPL-2.1-only AND LGPL-2.0-or-later AND (LGPL-2.1-only OR LGPL-3.0-only) AND LGPL-2.0-only" +depends=" + kactivitymanagerd + kded + kinit + kio-extras + kirigami2 + kquickcharts + kwin + milou + plasma-integration + qt5-qtquickcontrols + qt5-qttools + qtchooser + tzdata + " +depends_dev=" + appstream-dev + baloo-dev + gpsd-dev + iso-codes-dev + kactivities-stats-dev + kcmutils-dev + kcoreaddons-dev + kcrash-dev + kdbusaddons-dev + kdeclarative-dev + kded-dev + kdelibs4support-dev + kdesu-dev + kglobalaccel-dev + kholidays-dev + ki18n-dev + kidletime-dev + kitemmodels-dev + kjsembed-dev + knewstuff-dev + knotifyconfig-dev + kpackage-dev + kpeople-dev + krunner-dev + kscreenlocker-dev + ktexteditor-dev + ktextwidgets-dev + kuserfeedback-dev + kwallet-dev + kwayland-dev + kwin-dev + layer-shell-qt-dev + libkscreen-dev + libksysguard-dev + networkmanager-qt-dev + phonon-dev + plasma-framework-dev + prison-dev + zlib-dev + " +makedepends="$depends_dev + extra-cmake-modules + kdoctools-dev + libxtst-dev + " +checkdepends="xvfb-run" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-workspace-$pkgver.tar.xz + 0001-fix-kcmfontinst-install-destination.patch + " +subpackages="$pkgname-dev $pkgname-libs $pkgname-doc $pkgname-lang" +replaces="plasma-desktop<5.22" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DPLASMA_WAYLAND_DEFAULT_SESSION=TRUE + cmake --build build +} + +check() { + cd build + # nightcolortest requires running dbus + # testdesktop, lookandfeel-kcmTest, test_kio_fonts, servicerunnertest systemtraymodeltest are broken + # tst_triangleFilter requires plasma-workspace to be installed + # locationsrunnertest requires a running Wayland environment + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "(nightcolortest|testdesktop|lookandfeel-kcmTest|test_kio_fonts|servicerunnertest|systemtraymodeltest|tst_triangleFilter|locationsrunnertest)" +} + +package() { + DESTDIR="$pkgdir" cmake --install build + + # We don't ship systemd + rm -r "$pkgdir"/usr/lib/systemd +} +sha512sums=" +fb57dde0ae5f774cb782ab305a526ce22404972197d531a2c5e6972eb6400d57b99a7ce397fd417c0c42c8de58f4c06d9e9771b64eb94f501987da910054f4af plasma-workspace-5.22.0.tar.xz +23ae68ad8b70e5709f8e185d021d552990a6be5b252e8358cdd7aa3834bf79afb2b2a9970bf33a0bd5a7801591e635f8490c8458ae8d24d636fc64d607bb3159 0001-fix-kcmfontinst-install-destination.patch +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-workspace/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-workspace/APKBUILD-expected.json new file mode 100644 index 00000000000..bd8ba4fad4b --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plasma-workspace/APKBUILD-expected.json @@ -0,0 +1,57 @@ +{ + "type": "alpine", + "namespace": null, + "name": "plasma-workspace", + "version": "5.22.0-r2", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "KDE Plasma Workspace", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "(gpl-2.0 OR gpl-3.0) AND lgpl-2.1-plus AND gpl-2.0-plus AND mit AND lgpl-2.1 AND lgpl-2.0-plus AND (lgpl-2.1 OR lgpl-3.0) AND lgpl-2.0", + "declared_license": "(GPL-2.0-only OR GPL-3.0-only) AND LGPL-2.1-or-later AND GPL-2.0-or-later AND MIT AND LGPL-2.1-only AND LGPL-2.0-or-later AND (LGPL-2.1-only OR LGPL-3.0-only) AND LGPL-2.0-only", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/plasma-workspace-5.22.0.tar.xz" + }, + { + "file_name": "0001-fix-kcmfontinst-install-destination.patch", + "url": null + } + ], + "checksums": [ + { + "file_name": "plasma-workspace-5.22.0.tar.xz", + "sha512": "fb57dde0ae5f774cb782ab305a526ce22404972197d531a2c5e6972eb6400d57b99a7ce397fd417c0c42c8de58f4c06d9e9771b64eb94f501987da910054f4af" + }, + { + "file_name": "0001-fix-kcmfontinst-install-destination.patch", + "sha512": "23ae68ad8b70e5709f8e185d021d552990a6be5b252e8358cdd7aa3834bf79afb2b2a9970bf33a0bd5a7801591e635f8490c8458ae8d24d636fc64d607bb3159" + } + ] + }, + "purl": "pkg:alpine/plasma-workspace@5.22.0-r2", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plymouth-kcm/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plymouth-kcm/APKBUILD new file mode 100644 index 00000000000..99f8696ee34 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plymouth-kcm/APKBUILD @@ -0,0 +1,54 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=plymouth-kcm +pkgver=5.22.0 +pkgrel=0 +# armhf blocked by extra-cmake-modules +# s390x blocked by knewstuff +arch="all !armhf !s390x !mips64" +url="https://invent.kde.org/plasma/plymouth-kcm" +pkgdesc="KCM to manage the Plymouth (Boot) theme" +license="GPL-2.0-or-later" +depends="plymouth" +makedepends=" + extra-cmake-modules + karchive-dev + kcmutils + kconfig-dev + kconfigwidgets-dev + kdeclarative-dev + ki18n-dev + kio-dev + knewstuff-dev + plymouth-dev + qt5-qtbase-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/plymouth-kcm-$pkgver.tar.xz" +subpackages="$pkgname-lang" +options="!check" # No tests + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums=" +608ae68550cf7514a16d47c8a6564badca2b620182ec2a08490a596396899e25d2bc38c0181b0359c5281d35ea8f7e498c45d1d895e20dc7504b6c933a27f850 plymouth-kcm-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plymouth-kcm/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plymouth-kcm/APKBUILD-expected.json new file mode 100644 index 00000000000..80cc3b98396 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/plymouth-kcm/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "plymouth-kcm", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "KCM to manage the Plymouth (Boot) theme", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus", + "declared_license": "GPL-2.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/plymouth-kcm-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "plymouth-kcm-5.22.0.tar.xz", + "sha512": "608ae68550cf7514a16d47c8a6564badca2b620182ec2a08490a596396899e25d2bc38c0181b0359c5281d35ea8f7e498c45d1d895e20dc7504b6c933a27f850" + } + ] + }, + "purl": "pkg:alpine/plymouth-kcm@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/polkit-kde-agent-1/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/polkit-kde-agent-1/APKBUILD new file mode 100644 index 00000000000..becb1b7e2bb --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/polkit-kde-agent-1/APKBUILD @@ -0,0 +1,51 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=polkit-kde-agent-1 +pkgver=5.22.0 +pkgrel=0 +pkgdesc="Daemon providing a polkit authentication UI for KDE" +# armhf blocked by extra-cmake-modules +# mips, mips64, s390x blocked by polkit-qt-1 +arch="all !armhf !s390x !mips !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later" +depends="polkit-elogind" +makedepends=" + extra-cmake-modules + kcoreaddons-dev + kcrash-dev + kdbusaddons-dev + ki18n-dev + kiconthemes-dev + kwidgetsaddons-dev + kwindowsystem-dev + polkit-qt-1-dev + qt5-qtbase-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/polkit-kde-agent-1-$pkgver.tar.xz" +subpackages="$pkgname-lang" +options="!check" # No tests + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build + + # We don't ship systemd + rm -r "$pkgdir"/usr/lib/systemd +} + +sha512sums=" +4c93eef0451d7e55c7eaee92c653f75f245426945e622227e78b22b550cf5524f0ac316ad914b4fc66a2e4e6db47d7f788f353ec1b1b8aa29e7c2e1bbe2b609e polkit-kde-agent-1-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/polkit-kde-agent-1/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/polkit-kde-agent-1/APKBUILD-expected.json new file mode 100644 index 00000000000..3ec29bbad9b --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/polkit-kde-agent-1/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "polkit-kde-agent-1", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Daemon providing a polkit authentication UI for KDE", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus", + "declared_license": "GPL-2.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/polkit-kde-agent-1-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "polkit-kde-agent-1-5.22.0.tar.xz", + "sha512": "4c93eef0451d7e55c7eaee92c653f75f245426945e622227e78b22b550cf5524f0ac316ad914b4fc66a2e4e6db47d7f788f353ec1b1b8aa29e7c2e1bbe2b609e" + } + ] + }, + "purl": "pkg:alpine/polkit-kde-agent-1@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/powerdevil/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/powerdevil/APKBUILD new file mode 100644 index 00000000000..4b7d4c458c7 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/powerdevil/APKBUILD @@ -0,0 +1,73 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=powerdevil +pkgver=5.22.0 +pkgrel=0 +pkgdesc="Manages the power consumption settings of a Plasma Shell" +# armhf blocked by extra-cmake-modules +# s390x blocked by libksysguard +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later AND LGPL-2.0-or-later AND (LGPL-2.1-only OR LGPL-3.0-only)" +depends="upower" +depends_dev=" + bluez-qt-dev + eudev-dev + kactivities-dev + kauth-dev + kconfig-dev + kcrash-dev + kdbusaddons-dev + kglobalaccel-dev + ki18n-dev + kidletime-dev + kio-dev + knotifications-dev + knotifyconfig-dev + kwayland-dev + libkscreen-dev + networkmanager-qt-dev + plasma-workspace-dev + qt5-qtbase-dev + qt5-qtx11extras-dev + solid-dev + " +makedepends="$depends_dev + extra-cmake-modules + kdoctools-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/powerdevil-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-libs $pkgname-doc $pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build + + # We don't ship systemd + rm -r "$pkgdir"/usr/lib/systemd + + # org_kde_powerdevil has CAP_WAKE_ALARM set and this breaks dbus + # Remove CAP_WAKE_ALARM from org_kde_powerdevil to make it work again + setcap -r "$pkgdir"/usr/lib/libexec/org_kde_powerdevil +} + +sha512sums=" +02e2bbbb763b130a22dca307a580f7f68f0cef2fb0f9d57c8a877897b22d368165f28e9182ff9dc71259595f9c74cf5d030e1e701ec0431d3c567cac0c967803 powerdevil-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/powerdevil/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/powerdevil/APKBUILD-expected.json new file mode 100644 index 00000000000..27c58a79035 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/powerdevil/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "powerdevil", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Manages the power consumption settings of a Plasma Shell", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus AND lgpl-2.0-plus AND (lgpl-2.1 OR lgpl-3.0)", + "declared_license": "GPL-2.0-or-later AND LGPL-2.0-or-later AND (LGPL-2.1-only OR LGPL-3.0-only)", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/powerdevil-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "powerdevil-5.22.0.tar.xz", + "sha512": "02e2bbbb763b130a22dca307a580f7f68f0cef2fb0f9d57c8a877897b22d368165f28e9182ff9dc71259595f9c74cf5d030e1e701ec0431d3c567cac0c967803" + } + ] + }, + "purl": "pkg:alpine/powerdevil@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/qqc2-breeze-style/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/qqc2-breeze-style/APKBUILD new file mode 100644 index 00000000000..eb5c4b19ce8 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/qqc2-breeze-style/APKBUILD @@ -0,0 +1,53 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=qqc2-breeze-style +pkgver=5.22.0 +pkgrel=0 +pkgdesc="Breeze inspired QQC2 style" +# armhf blocked by extra-cmake-modules +# s390x and mips64 blocked by kconfigwidgets +arch="all !armhf !s390x !mips64" +url="https://www.plasma-mobile.org/" +license="LicenseRef-KDE-Accepted-LGPL AND LicenseRef-KFQF-Accepted-GPL" +depends="kirigami2" +makedepends=" + extra-cmake-modules + kconfig-dev + kconfigwidgets-dev + kguiaddons-dev + kiconthemes-dev + kirigami2-dev + qt5-qtbase-dev + qt5-qtdeclarative-dev + qt5-qtquickcontrols2-dev + qt5-qtx11extras-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/qqc2-breeze-style-$pkgver.tar.xz" +subpackages="$pkgname-dev" +options="!check" # No tests + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums=" +7e16a6d6b90fb69623c26151468b3a70331b756c39a839a2da3804b0fc5ee3eb62ac4d3606beba2714680506dabbf93737ae5df70557e86a038c6a0a240d53ca qqc2-breeze-style-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/qqc2-breeze-style/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/qqc2-breeze-style/APKBUILD-expected.json new file mode 100644 index 00000000000..a004899812f --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/qqc2-breeze-style/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "qqc2-breeze-style", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Breeze inspired QQC2 style", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "kde-accepted-lgpl AND kfqf-accepted-gpl", + "declared_license": "LicenseRef-KDE-Accepted-LGPL AND LicenseRef-KFQF-Accepted-GPL", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/qqc2-breeze-style-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "qqc2-breeze-style-5.22.0.tar.xz", + "sha512": "7e16a6d6b90fb69623c26151468b3a70331b756c39a839a2da3804b0fc5ee3eb62ac4d3606beba2714680506dabbf93737ae5df70557e86a038c6a0a240d53ca" + } + ] + }, + "purl": "pkg:alpine/qqc2-breeze-style@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/qt6-qtbase/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/qt6-qtbase/APKBUILD new file mode 100644 index 00000000000..3cff56e090c --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/qt6-qtbase/APKBUILD @@ -0,0 +1,144 @@ +# Maintainer: Bart Ribbers +pkgname=qt6-qtbase +pkgver=6.1.1 +pkgrel=0 +pkgdesc="A cross-platform application and UI framework" +url="https://qt.io/" +arch="all" +license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0" +_sub=" + $pkgname-mysql + $pkgname-odbc + $pkgname-postgresql + $pkgname-sqlite + $pkgname-x11 + " + +# TODO: Add vulkan-loader-dev, right now it's linked wrongly +depends_dev="$_sub + cups-dev + dbus-dev + double-conversion-dev + eudev-dev + fontconfig-dev + freetype-dev + glib-dev + gtk+3.0-dev + harfbuzz-dev + icu-dev + libb2-dev + libinput-dev + libjpeg-turbo-dev + libpng-dev + libproxy-dev + libxkbcommon-dev + mariadb-dev + mesa-dev + openssl-dev + pcre2-dev + postgresql-dev + sqlite-dev + tslib-dev + unixodbc-dev + vulkan-headers + vulkan-loader-dev + wayland-dev + xcb-util-dev + xcb-util-image-dev + xcb-util-keysyms-dev + xcb-util-renderutil-dev + xcb-util-wm-dev + zlib-dev + " +makedepends="$depends_dev + cmake + perl + samurai + xmlstarlet + " +subpackages="$pkgname-dev $pkgname-doc $_sub" +builddir="$srcdir/qtbase-everywhere-src-${pkgver/_/-}" + +case $pkgver in + *_alpha*|*_beta*|*_rc*) _rel=development_releases;; + *) _rel=official_releases;; +esac + +source="https://download.qt.io/$_rel/qt/${pkgver%.*}/${pkgver/_/-}/submodules/qtbase-everywhere-src-${pkgver/_/-}.tar.xz" + +case "$CTARGET_ARCH" in + arm*|aarch64) _opengl="-DQT_FEATURE_opengles2=ON" ;; +esac + +build() { + cmake -B build -G Ninja \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DINSTALL_BINDIR=lib/qt6/bin \ + -DINSTALL_DOCDIR=share/doc/qt6 \ + -DINSTALL_ARCHDATADIR=lib/qt6 \ + -DINSTALL_DATADIR=share/qt6 \ + -DINSTALL_INCLUDEDIR=include/qt6 \ + -DINSTALL_MKSPECSDIR=lib/qt6/mkspecs \ + -DINSTALL_EXAMPLESDIR=share/doc/qt6/examples \ + -DQT_FEATURE_journald=OFF \ + -DQT_FEATURE_openssl_linked=ON \ + -DQT_FEATURE_vulkan=ON \ + $_opengl + cmake --build build --parallel +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sqlite() { + pkgdesc="SQLite driver for Qt6's SQL classes" + cd "$pkgdir" + amove usr/lib/qt6/plugins/sqldrivers/libqsqlite* +} + +odbc() { + pkgdesc="ODBC driver for Qt6's SQL classes" + cd "$pkgdir" + amove usr/lib/qt6/plugins/sqldrivers/libqsqlodbc* +} + +postgresql() { + pkgdesc="PostgreSQL driver for Qt6's SQL classes" + cd "$pkgdir" + amove usr/lib/qt6/plugins/sqldrivers/libqsqlpsql* +} + +mysql() { + pkgdesc="MySQL driver for Qt6's SQL classes" + cd "$pkgdir" + amove usr/lib/qt6/plugins/sqldrivers/libqsqlmysql* +} + +x11() { + pkgdesc="Qt6 GUI-related libraries" + depends="hicolor-icon-theme" + cd "$pkgdir" + amove \ + usr/lib/libQt6EglFSDeviceIntegration.so.* \ + usr/lib/libQt6EglFsKmsSupport.so.* \ + usr/lib/libQt6Gui.so.* \ + usr/lib/libQt6OpenGL.so.* \ + usr/lib/libQt6PrintSupport.so.* \ + usr/lib/libQt6Widgets.so.* \ + usr/lib/qt6/plugins/egldeviceintegrations \ + usr/lib/qt6/plugins/generic \ + usr/lib/qt6/plugins/image* \ + usr/lib/qt6/plugins/platform* \ + usr/lib/qt6/plugins/printsupport* +} + +sha512sums=" +fd374d17b1b6861e01ab40be4ba683ad7aa62989688504ebf2f3e1ec0a67658460e807cc8b106093730900cd6db7e15507c8e4eb9a35e239d2ead1cf06b2325b qtbase-everywhere-src-6.1.1.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/qt6-qtbase/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/qt6-qtbase/APKBUILD-expected.json new file mode 100644 index 00000000000..7c66252772e --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/qt6-qtbase/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "qt6-qtbase", + "version": "6.1.1-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "A cross-platform application and UI framework", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "lgpl-2.1 AND lgpl-3.0 AND gpl-3.0 AND qt-gpl-exception-1.0", + "declared_license": "LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.qt.io/official_releases/qt/6.1/6.1.1/submodules/qtbase-everywhere-src-6.1.1.tar.xz" + } + ], + "checksums": [ + { + "file_name": "qtbase-everywhere-src-6.1.1.tar.xz", + "sha512": "fd374d17b1b6861e01ab40be4ba683ad7aa62989688504ebf2f3e1ec0a67658460e807cc8b106093730900cd6db7e15507c8e4eb9a35e239d2ead1cf06b2325b" + } + ] + }, + "purl": "pkg:alpine/qt6-qtbase@6.1.1-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/rtpengine-lts/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/rtpengine-lts/APKBUILD new file mode 100644 index 00000000000..43c576315cb --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/rtpengine-lts/APKBUILD @@ -0,0 +1,87 @@ +# Maintainer: Leonardo Arena + +# rtpengine version +_ver=9.0.1.10 +_rel=0 + +# kernel version +_kver=5.10.43 +_krel=0 + +_kpkgver="$_kver-r$_krel" + +# for custom kernels set $FLAVOR +_extra_flavors= +if [ -z "$FLAVOR" ]; then + _flavor=lts + case $CARCH in + x86|x86_64|armv7|aarch64) _extra_flavors="virt";; + esac +else + _flavor=$FLAVOR +fi +_kpkg=linux-$_flavor + +pkgname=rtpengine-$_flavor +pkgver=$_kver +pkgrel=$(($_rel + $_krel)) + +pkgdesc="Kernel module for rtpengine" +url="https://github.com/sipwise/rtpengine" +arch="all !armhf" +license="GPL-3.0-only" +makedepends="linux-$_flavor-dev=$_kpkgver" +install_if="rtpengine linux-$_flavor=$_kpkgver" +options="!check" +source="$pkgname-$_ver.tar.gz::https://github.com/sipwise/rtpengine/archive/mr$_ver.tar.gz" +builddir="$srcdir"/rtpengine-mr$_ver + +for f in $_extra_flavors; do + makedepends="$makedepends linux-$f-dev=$_kpkgver" + subpackages="$subpackages rtpengine-$f:_extra" +done + +prepare() { + default_prepare + if [ -z "$FLAVOR" ]; then + ( . "$startdir"/../../main/linux-"$_flavor"/APKBUILD + [ "$_kver" != "$pkgver" ] && die "please update _kver to $pkgver" + [ "$_krel" != "$pkgrel" ] && die "please update _krel to $pkgrel" + return 0 + ) + fi + local flavor= + for flavor in $_flavor $_extra_flavors; do + cp -r "$builddir" "$srcdir/$flavor" + done +} + +build() { + unset LDFLAGS + local flavor= kabi= + for flavor in $_flavor $_extra_flavors; do + kabi="$_kver-$_krel-$flavor" + make -C "$srcdir/$flavor"/kernel-module \ + KSRC=/lib/modules/"$kabi"/build + done +} + +package() { + local kabi="$_kver-$_krel-$_flavor" + install -Dm644 "$srcdir/$_flavor"/kernel-module/xt_RTPENGINE.ko \ + "$pkgdir/lib/modules/$kabi/extra/xt_RTPENGINE.ko" +} + +_extra() { + flavor=${subpkgname##*-} + depends="linux-$flavor=$_kpkgver" + install_if="rtpengine linux-$flavor=$_kpkgver" + pkgdesc="$flavour kernel modules for rtpengine" + local kabi="$_kver-$_krel-$flavor" + install -Dm644 "$srcdir"/virt/kernel-module/xt_RTPENGINE.ko \ + "$subpkgdir/lib/modules/$kabi/extra/xt_RTPENGINE.ko" +} + +sha512sums=" +ee870f0cc1f3a2b860dcb9a0e8519c535c5fc82efc2ef75022e3f09bcc75df2d9024390f474765d5a711ee1e0af90441764649f14c98d1c8b3ab2e93ab7423da rtpengine-lts-9.0.1.10.tar.gz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/rtpengine-lts/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/rtpengine-lts/APKBUILD-expected.json new file mode 100644 index 00000000000..2b68fc8799c --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/rtpengine-lts/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "rtpengine-lts", + "version": "5.10.43-r$((0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Kernel module for rtpengine", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-3.0", + "declared_license": "GPL-3.0-only", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": "rtpengine-lts-9.0.1.10.tar.gz", + "url": "https://github.com/sipwise/rtpengine/archive/mr9.0.1.10.tar.gz" + } + ], + "checksums": [ + { + "file_name": "rtpengine-lts-9.0.1.10.tar.gz", + "sha512": "ee870f0cc1f3a2b860dcb9a0e8519c535c5fc82efc2ef75022e3f09bcc75df2d9024390f474765d5a711ee1e0af90441764649f14c98d1c8b3ab2e93ab7423da" + } + ] + }, + "purl": "pkg:alpine/rtpengine-lts@5.10.43-r%24%28%280", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/sddm-kcm/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/sddm-kcm/APKBUILD new file mode 100644 index 00000000000..b8eff88b8e9 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/sddm-kcm/APKBUILD @@ -0,0 +1,56 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=sddm-kcm +pkgver=5.22.0 +pkgrel=0 +pkgdesc="Config module for SDDM" +# armhf blocked by qt5-qtdeclarative +# s390x blocked by plasma-workspace +arch="all !armhf !s390x !mips64" +url="https://www.kde.org" +license="GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only) AND LGPL-2.1-or-later AND GPL-2.0-only" +depends=" + sddm + systemsettings + " +makedepends=" + extra-cmake-modules + karchive-dev + kauth-dev + kcmutils-dev + kconfigwidgets-dev + kcoreaddons-dev + kdeclarative-dev + ki18n-dev + kio-dev + knewstuff-dev + kxmlgui-dev + libxcursor-dev + qt5-qtbase-dev + qt5-qtdeclarative-dev + qt5-qtx11extras-dev + xcb-util-image-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/sddm-kcm-$pkgver.tar.xz" +subpackages="$pkgname-lang" +options="!check" # No tests + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums=" +240e6182c9fd15fedad73542c86dd9d910c79042163de800ea4e63b923c8fa5607f1a632b75ca2624463060877e8147b92350789b8236a58a781b18566fed7b1 sddm-kcm-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/sddm-kcm/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/sddm-kcm/APKBUILD-expected.json new file mode 100644 index 00000000000..3d9e10396f1 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/sddm-kcm/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "sddm-kcm", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Config module for SDDM", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus AND (gpl-2.0 OR gpl-3.0) AND lgpl-2.1-plus AND gpl-2.0", + "declared_license": "GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only) AND LGPL-2.1-or-later AND GPL-2.0-only", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/sddm-kcm-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "sddm-kcm-5.22.0.tar.xz", + "sha512": "240e6182c9fd15fedad73542c86dd9d910c79042163de800ea4e63b923c8fa5607f1a632b75ca2624463060877e8147b92350789b8236a58a781b18566fed7b1" + } + ] + }, + "purl": "pkg:alpine/sddm-kcm@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/systemsettings/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/systemsettings/APKBUILD new file mode 100644 index 00000000000..b56925b3355 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/systemsettings/APKBUILD @@ -0,0 +1,64 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=systemsettings +pkgver=5.22.0 +pkgrel=0 +pkgdesc="Plasma system manager for hardware, software, and workspaces" +# armhf blocked by qt5-qtdeclarative +# s390x blocked by libksysguard +arch="all !armhf !s390x !mips64" +url="https://kde.org/plasma-desktop/" +license="GPL-2.0-or-later" +depends="kirigami2" +makedepends=" + extra-cmake-modules + kactivities-dev + kactivities-stats-dev + kcmutils-dev + kconfig-dev + kcrash-dev + kdbusaddons-dev + kdeclarative-dev + kdoctools-dev + khtml-dev + ki18n-dev + kiconthemes-dev + kio-dev + kirigami2-dev + kitemviews-dev + kpackage-dev + kservice-dev + kwidgetsaddons-dev + kwindowsystem-dev + kxmlgui-dev + plasma-workspace-dev + qt5-qtbase-dev + qt5-qtdeclarative-dev + " + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/systemsettings-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +check() { + cd build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} +sha512sums=" +30b9e0150508d6c15dda61814436cec0bd941f7a70614c890c1b275f3290e5f696db088a7d7715e42a97c9b7c98d9d23cde49e1aff14caede48d0e96186c4912 systemsettings-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/systemsettings/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/systemsettings/APKBUILD-expected.json new file mode 100644 index 00000000000..7e944865d47 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/systemsettings/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "systemsettings", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Plasma system manager for hardware, software, and workspaces", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus", + "declared_license": "GPL-2.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/systemsettings-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "systemsettings-5.22.0.tar.xz", + "sha512": "30b9e0150508d6c15dda61814436cec0bd941f7a70614c890c1b275f3290e5f696db088a7d7715e42a97c9b7c98d9d23cde49e1aff14caede48d0e96186c4912" + } + ] + }, + "purl": "pkg:alpine/systemsettings@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/ufw/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/ufw/APKBUILD new file mode 100644 index 00000000000..a7199eef5c5 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/ufw/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Danilo Falcão +# Contributor: Bartłomiej Piotrowski +# Maintainer: Anjandev Momi +pkgname=ufw +pkgver=0.36 +pkgrel=4 +pkgdesc="Uncomplicated CLI tool managing a netfilter firewall" +url="https://launchpad.net/ufw" +arch="noarch" +license="GPL-3.0-or-later" +options="!check" # 3 tests fails +depends="iptables ip6tables python3" +subpackages="$pkgname-doc $pkgname-openrc $pkgname-bash-completion:bashcomp:noarch" +source="https://launchpad.net/ufw/$(echo $pkgver|cut -c1-4)/$pkgver/+download/ufw-$pkgver.tar.gz + $pkgname.initd + fix-lib_path.patch + " + +check() { + sh run_tests.sh +} + +package() { + python3 setup.py install --root="$pkgdir" + + install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname + chmod 644 "$pkgdir"/etc/ufw/*.rules + + install -Dm0644 "$builddir"/shell-completion/bash \ + "$pkgdir"/usr/share/bash-completion/completions/ufw +} + +sha512sums="b32d7f79f43c203149c48b090ee0d063df78fcf654344ee11066a7363e799a62b046758ffe02b8bd15121545ac2a6b61df21fe56f8b810319fe4dd562cbdadb3 ufw-0.36.tar.gz +b0405525a22bfa70f656ec3685a0aa509645d52771465a3fc068e789cd4bbf86e8409cb4021200794729dcba3c10c99d5c2ba06ae91eca9e3b942a407525e6d5 ufw.initd +1f3f884f219dad9f2a8eaa1c02d90e82ac1646910c5a30b37cd70fc228f885aa147ef00b6e45d30bc0bdd7f2f19bc8f4db1fe0b63917ee013c07ab953744006a fix-lib_path.patch" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/ufw/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/ufw/APKBUILD-expected.json new file mode 100644 index 00000000000..e8302cad8bb --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/ufw/APKBUILD-expected.json @@ -0,0 +1,65 @@ +{ + "type": "alpine", + "namespace": null, + "name": "ufw", + "version": "0.36-r4", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Uncomplicated CLI tool managing a netfilter firewall", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-3.0-plus", + "declared_license": "GPL-3.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://launchpad.net/ufw/0.36/0.36/+download/ufw-0.36.tar.gz" + }, + { + "file_name": "ufw.initd", + "url": null + }, + { + "file_name": "fix-lib_path.patch", + "url": null + } + ], + "checksums": [ + { + "file_name": "ufw-0.36.tar.gz", + "sha512": "b32d7f79f43c203149c48b090ee0d063df78fcf654344ee11066a7363e799a62b046758ffe02b8bd15121545ac2a6b61df21fe56f8b810319fe4dd562cbdadb3" + }, + { + "file_name": "ufw.initd", + "sha512": "b0405525a22bfa70f656ec3685a0aa509645d52771465a3fc068e789cd4bbf86e8409cb4021200794729dcba3c10c99d5c2ba06ae91eca9e3b942a407525e6d5" + }, + { + "file_name": "fix-lib_path.patch", + "sha512": "1f3f884f219dad9f2a8eaa1c02d90e82ac1646910c5a30b37cd70fc228f885aa147ef00b6e45d30bc0bdd7f2f19bc8f4db1fe0b63917ee013c07ab953744006a" + } + ] + }, + "purl": "pkg:alpine/ufw@0.36-r4", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/xdg-desktop-portal-kde/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/xdg-desktop-portal-kde/APKBUILD new file mode 100644 index 00000000000..6a8525d36d3 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/xdg-desktop-portal-kde/APKBUILD @@ -0,0 +1,51 @@ +# Contributor: Rasmus Thomsen +# Maintainer: Bart Ribbers +pkgname=xdg-desktop-portal-kde +pkgver=5.22.0 +pkgrel=0 +pkgdesc="A backend implementation for xdg-desktop-portal that is using Qt/KDE" +# armhf blocked by extra-cmake-modules +# s390x blocked by rust and pipewire +arch="all !armhf !s390x" +arch="$arch !mips !mips64 !s390x" # xdg-desktop-portal->flatpak->polkit +url="https://phabricator.kde.org/source/xdg-desktop-portal-kde" +license="LGPL-2.0-or-later" +depends="xdg-desktop-portal" +makedepends=" + cups-dev + extra-cmake-modules + glib-dev + kcoreaddons-dev + kdeclarative-dev + kio-dev + kirigami2-dev + kwayland-dev + libepoxy-dev + pipewire-dev + plasma-framework-dev + plasma-wayland-protocols + qt5-qtbase-dev + " +subpackages="$pkgname-lang" + +case "$pkgver" in + *.90*) _rel=unstable;; + *) _rel=stable;; +esac +source="https://download.kde.org/$_rel/plasma/$pkgver/xdg-desktop-portal-kde-$pkgver.tar.xz" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums=" +9016790fc08d1e57e60dea0d0cbfe9e1226170d6b22b61f74904ca8123f43b7475512fd0a6feacf1705bfb3d5aab50c220e4e64120568ec898d7c7c0d2bf54ad xdg-desktop-portal-kde-5.22.0.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/xdg-desktop-portal-kde/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/xdg-desktop-portal-kde/APKBUILD-expected.json new file mode 100644 index 00000000000..9081ba619ee --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/community/xdg-desktop-portal-kde/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "xdg-desktop-portal-kde", + "version": "5.22.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "A backend implementation for xdg-desktop-portal that is using Qt/KDE", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "lgpl-2.0-plus", + "declared_license": "LGPL-2.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.kde.org/stable/plasma/5.22.0/xdg-desktop-portal-kde-5.22.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "xdg-desktop-portal-kde-5.22.0.tar.xz", + "sha512": "9016790fc08d1e57e60dea0d0cbfe9e1226170d6b22b61f74904ca8123f43b7475512fd0a6feacf1705bfb3d5aab50c220e4e64120568ec898d7c7c0d2bf54ad" + } + ] + }, + "purl": "pkg:alpine/xdg-desktop-portal-kde@5.22.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/cmake/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/cmake/APKBUILD new file mode 100644 index 00000000000..e40e7117e3e --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/cmake/APKBUILD @@ -0,0 +1,64 @@ +# Contributor: Valery Kartel +# Maintainer: Natanael Copa +pkgname=cmake +pkgver=3.20.3 +pkgrel=0 +pkgdesc="Cross-platform, open-source make system" +url="https://www.cmake.org/" +arch="all" +license="BSD-3-Clause" +makedepends="bzip2-dev curl-dev expat-dev libarchive-dev linux-headers + libuv-dev ncurses-dev rhash-dev xz-dev zlib-dev py3-sphinx" +options="!check" +checkdepends="file musl-utils" +subpackages="$pkgname-doc $pkgname-bash-completion + " +case $pkgver in +*.*.*.*) _v=v${pkgver%.*.*};; +*.*.*) _v=v${pkgver%.*};; +esac + +source="https://www.cmake.org/files/$_v/cmake-$pkgver.tar.gz + patch-adjust-lib64.patch + " + +_parallel_opt() { + local i n + for i in $MAKEOPTS; do + case "$i" in + -j*) n=${i#-j};; + esac; + done + [ -n "$n" ] && echo "--parallel $n" +} + +build() { + # jsoncpp needs cmake to build so to avoid recursive build + # dependency, we use the bundled version of jsoncpp. + # Do NOT remove --no-system-jsoncpp unless you consulted + # maintainer + ./bootstrap \ + --prefix=/usr \ + --mandir=/share/man \ + --datadir=/share/$pkgname \ + --docdir=/share/doc/$pkgname \ + --sphinx-man \ + --system-libs \ + --no-system-jsoncpp \ + $(_parallel_opt) + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE bin/ctest +} + +package() { + cd $startdir/src/$pkgname-$pkgver + make DESTDIR="$pkgdir" install +} + +sha512sums=" +ed2b8b04c759c4f7c5c363be33bf08e6677c710c1f937050a378ab5539136b919531e1c927b117b3d8d68d4bb613de8d92a3d4d50f3ab3bc98355febca779a1b cmake-3.20.3.tar.gz +87051601dda49894a1631156bf63aaa79fcf7cb7bb6705712889b9012d87d2f11d2707a1d729223b180668ad61f22b16893658e9777beee330c7e9a90e7421e6 patch-adjust-lib64.patch +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/cmake/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/cmake/APKBUILD-expected.json new file mode 100644 index 00000000000..0fcce576d11 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/cmake/APKBUILD-expected.json @@ -0,0 +1,57 @@ +{ + "type": "alpine", + "namespace": null, + "name": "cmake", + "version": "3.20.3-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Cross-platform, open-source make system", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "bsd-new", + "declared_license": "BSD-3-Clause", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://www.cmake.org/files/v3.20/cmake-3.20.3.tar.gz" + }, + { + "file_name": "patch-adjust-lib64.patch", + "url": null + } + ], + "checksums": [ + { + "file_name": "cmake-3.20.3.tar.gz", + "sha512": "ed2b8b04c759c4f7c5c363be33bf08e6677c710c1f937050a378ab5539136b919531e1c927b117b3d8d68d4bb613de8d92a3d4d50f3ab3bc98355febca779a1b" + }, + { + "file_name": "patch-adjust-lib64.patch", + "sha512": "87051601dda49894a1631156bf63aaa79fcf7cb7bb6705712889b9012d87d2f11d2707a1d729223b180668ad61f22b16893658e9777beee330c7e9a90e7421e6" + } + ] + }, + "purl": "pkg:alpine/cmake@3.20.3-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/kamailio/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/kamailio/APKBUILD new file mode 100644 index 00000000000..2bad009055b --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/kamailio/APKBUILD @@ -0,0 +1,558 @@ +# Contributor: Łukasz Jendrysik +# Contributor: Michael Mason +# Contributor: Leonardo Arena +# Maintainer: Nathan Angelacos + +pkgname=kamailio +pkgver=5.4.5 +pkgrel=0 + +# If building from a git snapshot, specify the gitcommit +# If building a proper release, leave gitcommit blank or commented +#_gitcommit=991fe9b28e0e201309048f3b38a135037e40357a + +[ -n "$_gitcommit" ] && pkgver="$pkgver.$(date +%Y%m%d)" +[ -n "$_gitcommit" ] && _suffix="-${_gitcommit:0:7}" +[ -n "$_gitcommit" ] && builddir="$srcdir/$pkgname-$_gitcommit" || builddir="$srcdir/$pkgname-$pkgver" +[ -z "$_gitcommit" ] && _gitcommit="$pkgver" + +pkgdesc="Open Source SIP Server" +url="https://www.kamailio.org/" +pkgusers="kamailio" +pkggroups="kamailio" +arch="all" +license="GPL-2.0-or-later" +depends="gawk" +makedepends="bison flex freeradius-client-dev expat-dev + lksctp-tools-dev perl-dev postgresql-dev python3-dev + pcre-dev mariadb-dev libxml2-dev curl-dev unixodbc-dev + confuse-dev ncurses-dev sqlite-dev lua-dev openldap-dev openssl-dev + net-snmp-dev libuuid libev-dev jansson-dev json-c-dev libevent-dev + linux-headers libmemcached-dev rabbitmq-c-dev hiredis-dev + ruby-dev libmaxminddb-dev libunistring-dev mosquitto-dev libmnl-dev" + # These are in testing / community - can't enable for kamailio in main + # librdkafka-dev dnssec-tools-dev +source="kamailio-${pkgver}$_suffix.tar.gz::https://github.com/kamailio/kamailio/archive/$_gitcommit.tar.gz + kamailio.initd + " + +install="$pkgname.pre-install $pkgname.pre-upgrade" + +# secfixes: +# 5.1.4-r0: +# - CVE-2018-14767 + +# See Makefile.groups for the list of recommended modules for +# each package. What follows is a simplified version of Makefile.groups +# +# Alpine specific changes: +# +# _mod_list_debugger is not defined in the orginal +# +# Move avp from _mod_list_extras to _mod_list_basic, so that we can create +# a kamailio-extras package +# +# Remove db_text from _mod_list_db because we create a separate dbtext package +# +# - basic used modules, with no extra dependency (widespread usage) +_mod_list_basic="avp async auth benchmark blst cfg_rpc cfgt cfgutils corex counters \ + ctl debugger diversion enum exec gzcompress ipops kex mangler \ + maxfwd mediaproxy mqueue \ + nat_traversal nathelper path pike pv ratelimit rr rtimer \ + rtpproxy sanity sdpops siputils sl smsops statsc statistics \ + textops textopsx tm tmx topoh topos xlog rtpengine stun sipt \ + pv_headers kemix dlgs" + +# - extra used modules, with no extra dependency +_mod_list_extras="auth_diameter call_control cnxcc dmq domainpolicy log_custom \ + msrp pdb qos sca seas sms sst timer tmrec tsilo uac_redirect \ + xhttp xhttp_rpc xprint nosip dmq_usrloc statsd rtjson tcpops \ + auth_xkeys cfgt" + +# - common modules depending on database +_mod_list_db="acc alias_db auth_db avpops cfg_db db_flatstore \ + db_cluster dialog dispatcher domain drouting group \ + htable imc matrix mohqueue msilo mtree p_usrloc pdt permissions \ + pipelimit prefix_route registrar sipcapture siptrace speeddial \ + sqlops uac uri_db userblacklist usrloc" + +# - common modules depending on database, using UID db schema +_mod_list_dbuid="db2_ops uid_auth_db uid_avp_db uid_domain uid_gflags \ + uid_uri_db" + +# - modules for devel purposes +_mod_list_devel="malloc_test print print_lib" + +# - modules depending on pcre3 library +_mod_list_pcre="dialplan lcr regex" + +# - modules depending on radius client library +_mod_list_radius="acc_radius auth_radius misc_radius peering" + +# - modules depending on ldap client library +_mod_list_ldap="db2_ldap h350 ldap" + +# - modules depending on mysql client library +_mod_list_mysql="db_mysql" + +# - modules depending on postgres client library +_mod_list_postgres="db_postgres" + +# - modules depending on unixodbc library +_mod_list_unixodbc="db_unixodbc" + +# - modules depending on mysql cassandra library +_mod_list_cassandra="db_cassandra ndb_cassandra" + +# - modules depending on xml2 library +_mod_list_cpl="cplc" + +# - modules depending on xml2 library +_mod_list_xml="xhttp_pi xmlrpc xmlops" + +# - modules depending on net-snmp library +_mod_list_snmpstats="snmpstats" + +# - modules depending on expat library +_mod_list_xmpp="xmpp" + +# - modules depending on confuse library +_mod_list_carrierroute="carrierroute" + +# - modules depending on curl library +_mod_list_utils="utils http_client" + +# - async http_async_client +_mod_list_http_async="http_async_client" + +# - modules depending on memcache library +_mod_list_memcached="memcached" + +# - modules depending on openssl library +_mod_list_tls="auth_identity crypto tls" + +# - modules depending on openssl library +_mod_list_outbound="outbound" + +# - modules depending on unistring library +_mod_list_websocket="websocket" + +# - modules depending on dnssec-tools-dev +_mod_list_dnssec="dnssec" + +# - modules depending on libsctp +_mod_list_sctp="sctp" + +# - modules depending on openssl library +_mod_list_authephemeral="auth_ephemeral" + +# - modules related to SIMPLE presence extensions +_mod_list_presence="presence presence_conference presence_dialoginfo \ + presence_mwi presence_profile presence_reginfo \ + presence_xml \ + pua pua_bla pua_dialoginfo pua_reginfo \ + pua_rpc pua_usrloc pua_xmpp \ + rls xcap_client xcap_server" + +# - modules depending on lua library +_mod_list_lua="app_lua app_lua_sr" + +# - modules depending on perl library +_mod_list_perl="app_perl db_perlvdb" + +# - modules depending on python3 libarary +_mod_list_python3="app_python3" + +# - modules depending on ruby library +_mod_list_ruby="app_ruby" + +# - modules depending on rabbitmq +_mod_list_rabbitmq="rabbitmq" + +# - modules depending on rdkafka library +_mod_list_kafka=kafka + +# - modules depending on mqtt mosquitto and ev library +_mod_list_mqtt=mqtt + +# - modules depending on geoip2 library +_mod_list_geoip2="geoip2" + +# - modules depending on sqlite library +_mod_list_sqlite="db_sqlite" + +# - modules depending on oracle library +_mod_list_oracle="db_oracle" + +# - modules depending on json library +_mod_list_json="json pua_json jsonrpcc jsonrpcs" + +# - modules depending on redis library +_mod_list_redis="db_redis ndb_redis topos_redis" + +# - modules depending on mono library +_mod_list_mono="app_mono" + +# - modules related to IMS extensions +_mod_list_ims="cdp cdp_avp ims_dialog ims_diameter_server ims_auth \ + ims_ipsec_pcscf ims_isc ims_icscf ims_qos ims_registrar_pcscf \ + ims_registrar_scscf ims_usrloc_pcscf ims_ocs ims_usrloc_scscf \ + ims_charging" + +# - modules depending on osp toolkit library +_mod_list_osp="osp" + +# - modules depending on java library +_mod_list_java="app_java" + +# - modules depending on gzip library +_mod_list_gzcompress="gzcompress" + +# - modules depending on uuid library +_mod_list_uuid="uuid" + +# - modules depending on ev library +_mod_list_ev="evapi" + +# - modules depending on kazoo/rabbitmq +_mod_list_kazoo="kazoo" + +# - modules depending on mongodb +_mod_list_mongodb="db_mongodb ndb_mongodb" + +# - modules depending on jansson library +_mod_list_jansson="jansson janssonrpcc acc_json" + +# - modules depending on libm +_mod_list_jsdt="app_jsdt" + +# - modules depending on sqlang +_mod_list_sqlang="app_sqlang" + +# - modules depending on rabbitmq +_mod_list_rabbitmq="rabbitmq" + +# - modules depending on sipdump +_mod_list_sipdump="sipdump" + + +# Alpine Specific +_mod_list_debugger="$_mod_list_devel benchmark debugger" + +# Standard modules in main pkg +_module_group_kstandard="$_mod_list_basic $_mod_list_dbuid $_mod_list_pcre" + +# END Makefile.groups ############################################################# + +subpackages="$pkgname-doc $pkgname-dbg $pkgname-openrc" +_modules="$_module_group_kstandard" +for _i in db postgres sqlite dbtext mysql \ + cpl xml unixodbc snmpstats xmpp carrierroute \ + ldap utils tls presence lua ims outbound debugger \ + extras json websocket authephemeral \ + uuid ev memcached redis geoip2 jansson sqlang sipdump \ + jsdt http_async kazoo rabbitmq sctp radius perl \ + python3 mqtt ruby; do + + subpackages="$subpackages $pkgname-$_i" + eval "_modules=\"\$_modules \$_mod_list_$_i\"" +done + +snapshot() { + if [ ! -f "$SRCDEST"/$pkgname-${pkgver}$_suffix.tar.gz ]; then + wget -O "$SRCDEST"/$pkgname-${pkgver}$_suffix.tar.gz https://github.com/kamailio/$pkgname/archive/$_gitcommit.tar.gz + fi + SHA512SUM=$(sha512sum "$SRCDEST"/$pkgname-${pkgver}$_suffix.tar.gz | sed -e "s:$SRCDEST/::") + sed -i -e "s/^\(sha512sums=.\).*/\1$SHA512SUM/" APKBUILD +} + +prepare() { + default_prepare + cd utils/kamctl/ + sed -i -e 's:/var/run/kamailio.pid:/var/run/kamailio/kamailio.pid:g' \ + kamctl.base kamctlrc + # we actually dont need bash + sed -i -e 's:/bin/bash:/bin/sh:' kamctl kamdbctl +} + +build() { + make FLAVOUR=kamailio STUN=1 \ + PREFIX=/usr \ + CC_EXTRA_OPTS="$CFLAGS -D_GNU_SOURCE" \ + cfg_target=/etc/kamailio/ \ + run_prefix="" \ + include_modules="$_modules" \ + LIBDIR=lib \ + DESTDIR="$pkgdir" \ + cfg_prefix="$pkgdir" \ + cfg + make EMBEDDED_UTF8_DECODE=1 STUN=1 FREERADIUS=1 \ + all +} + +package() { + make FREERADIUS=1 install + + install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname + install -d -o kamailio "$pkgdir"/var/run/kamailio +} + +_mv_mod() { + local moddir=usr/lib/kamailio/modules i= + mkdir -p "$subpkgdir"/$moddir + for i in $@; do + mv "$pkgdir"/$moddir/$i.so "$subpkgdir"/$moddir/ + done +} + +_generic_pkg() { + pkgdesc="Kamailio $1" + depends="$pkgname" + _mv_mod $2 +} + +_db_driver() { + pkgdesc="Database drivers for $1" + depends="$pkgname $pkgname-db" + _mv_mod db_$2 + mkdir -p "$subpkgdir"/usr/share/kamailio \ + "$subpkgdir"/usr/lib/kamailio/kamctl + mv "$pkgdir"/usr/share/kamailio/$3 \ + "$subpkgdir"/usr/share/kamailio/ + mv "$pkgdir"/usr/lib/kamailio/kamctl/*.$4 \ + "$subpkgdir"/usr/lib/kamailio/kamctl/ +} + +db() { + _generic_pkg "modules using a database backend" "$_mod_list_db" +} + +postgres() { + _db_driver Postgres postgres postgres pgsql +} + +mysql() { + _db_driver Mysql mysql mysql mysql +} + +sqlite() { + _db_driver SQlite sqlite db_sqlite sqlite +} + +dbtext() { + _db_driver DBText text dbtext dbtext + # kamdbctl.dbtext is a python script - but we will not make python + # a dependency because kamdbctl is not normaly used + depends="$depends" + mkdir -p "$subpkgdir"/usr/lib/kamailio/kamctl + mv "$pkgdir"/usr/lib/kamailio/kamctl/dbtextdb \ + "$subpkgdir"/usr/lib/kamailio/kamctl/ +} + +cpl() { + _generic_pkg "CPL (Call Processing Language) interpreter" \ + "$_mod_list_cpl" +} + +xml() { + _generic_pkg "XML related modules: $_mod_list_xml" \ + "$_mod_list_xml" + mkdir -p "$subpkgdir"/usr/share/kamailio + mv "$pkgdir"/usr/share/kamailio/xhttp_pi \ + "$subpkgdir"/usr/share/kamailio + mkdir -p "$subpkgdir"/etc/kamailio/ + mv "$pkgdir"/etc/kamailio/pi_framework.xml \ + "$subpkgdir"/etc/kamailio +} + +unixodbc() { + _generic_pkg "Database drivers for unixodbc" \ + "$_mod_list_unixodbc" +} + +snmpstats() { + _generic_pkg "SNMP statistics support" \ + "$_mod_list_snmpstats" + mkdir -p "$subpkgdir"/usr/share/snmp + mv "$builddir"/src/modules/snmpstats/mibs \ + "$subpkgdir"/usr/share/snmp/ +} + +xmpp() { + _generic_pkg "XMPP (Jabber) gateway" \ + "$_mod_list_xmpp" +} + +carrierroute() { + _generic_pkg "carrier grade routing functions" \ + "$_mod_list_carrierroute" +} + +ldap() { + _generic_pkg "LDAP search functions" \ + "$_mod_list_ldap" +} + +utils() { + _generic_pkg "miscelaneous utility functions" \ + "$_mod_list_utils" +} + +tls() { + _generic_pkg "TLS support" \ + "$_mod_list_tls" +} + +presence() { + _generic_pkg "SIP Notify (Presence) support" \ + "$_mod_list_presence" +} + +lua() { + _generic_pkg "Lua script support" \ + "$_mod_list_lua" +} + +ims() { + _generic_pkg "IP Multimedia Subsystem (IMS) support" \ + "$_mod_list_ims" +} + +outbound() { + _generic_pkg "RFC 5626 section 5 Outbound support" \ + "$_mod_list_outbound" +} + +debugger() { + _generic_pkg "debugging modules" \ + "$_mod_list_debugger" +} + +extras() { + _generic_pkg "extra modules" \ + "$_mod_list_extras" +} + +websocket() { + _generic_pkg "websocket support" \ + "$_mod_list_websocket" +} + +authephemeral() { + _generic_pkg "auth ephemeral (webrtc)" \ + "$_mod_list_authephemeral" +} + +json() { + _generic_pkg "Operations on json strings" \ + "$_mod_list_json" +} + +jansson() { + _generic_pkg "Operations on json strings using jansson library" \ + "$_mod_list_jansson" +} + +geoip2() { + _generic_pkg "MaxMind GeoIP lookup support" \ + "$_mod_list_geoip2" +} + +ev() { + _generic_pkg "Network event broadcast API" \ + "$_mod_list_ev" +} + +uuid() { + _generic_pkg "UUID generator using libuuid" \ + "$_mod_list_uuid" +} + +memcached() { + _generic_pkg "memcached support" \ + "$_mod_list_memcached" +} + +rabbitmq() { + _generic_pkg "RabbitMQ client for configuration file" \ + "$_mod_list_rabbitmq" +} + +jsdt() { + _generic_pkg "Support for executing JavaScript" \ + "$_mod_list_jsdt" +} + +redis() { + _generic_pkg "Redis NoSQL support" \ + "$_mod_list_redis" +} + +http_async() { + _generic_pkg "Asynchronous HTTP queries support" \ + "$_mod_list_http_async" +} + +kazoo() { + _generic_pkg "Kazoo VoIP platform support" \ + "$_mod_list_kazoo" +} + +radius() { + _generic_pkg "RADIUS modules for Kamailio" \ + "$_mod_list_radius" +} + +sctp() { + _generic_pkg "SCTP transport for Kamailio" \ + "$_mod_list_sctp" +} + +perl() { + _generic_pkg "Perl extensions and database driver for Kamailio" \ + "$_mod_list_perl" +} + +python3() { + _generic_pkg "Execute embedded Python3 scripts" \ + "$_mod_list_python3" +} + +ruby() { + _generic_pkg "Execute embedded Ruby scripts" \ + "$_mod_list_ruby" +} + +sqlang() { + _generic_pkg "Squirrel Language (SQLang) for Kamailio" \ + "$_mod_list_sqlang" +} + +mqtt() { + _generic_pkg "MQTT publish/subscribe connector" \ + "$_mod_list_mqtt" +} + +# kafka() { +# _generic_pkg "Produce and send messages to a Kafka server" \ +# "$_mod_list_kafka" +# } + + +rabbitmq() { + _generic_pkg "RabbitMQ related modules for Kamailio" \ + "$_mod_list_rabbitmq" +} + +# dnssec() { +# _generic_pkg "DNSSEC implementation for SIP routing" \ +# "$_mod_list_dnssec" +# } + +sipdump() { + _generic_pkg "This module writes SIP traffic and some associated details into local files" \ + "$_mod_list_sipdump" +} + +sha512sums="34ad79d4d954499b3711eb12afe1c753e42c6c59d2085d2495237ecce287255510271b61284d79c0db587b75eb9adbc462c4f5470c60fda41de012f1dc41aa7b kamailio-5.4.5.tar.gz +0c87bfb78481568c03e603049eb8597a90d24ae2941fc81694181b2326fa9db89fbddaaa3cf08c7bc2f5fa0e7ffac4cf4e2d010d08c4faa6cf6df98593432539 kamailio.initd" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/kamailio/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/kamailio/APKBUILD-expected.json new file mode 100644 index 00000000000..019d4274faf --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/kamailio/APKBUILD-expected.json @@ -0,0 +1,57 @@ +{ + "type": "alpine", + "namespace": null, + "name": "kamailio", + "version": "5.4.5-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Open Source SIP Server", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus", + "declared_license": "GPL-2.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": "kamailio-5.4.5.tar.gz", + "url": "https://github.com/kamailio/kamailio/archive/5.4.5.tar.gz" + }, + { + "file_name": "kamailio.initd", + "url": null + } + ], + "checksums": [ + { + "file_name": "kamailio-5.4.5.tar.gz", + "sha512": "34ad79d4d954499b3711eb12afe1c753e42c6c59d2085d2495237ecce287255510271b61284d79c0db587b75eb9adbc462c4f5470c60fda41de012f1dc41aa7b" + }, + { + "file_name": "kamailio.initd", + "sha512": "0c87bfb78481568c03e603049eb8597a90d24ae2941fc81694181b2326fa9db89fbddaaa3cf08c7bc2f5fa0e7ffac4cf4e2d010d08c4faa6cf6df98593432539" + } + ] + }, + "purl": "pkg:alpine/kamailio@5.4.5-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/libburn/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/libburn/APKBUILD new file mode 100644 index 00000000000..8f7bdf2b52a --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/libburn/APKBUILD @@ -0,0 +1,38 @@ +# Maintainer: Natanael Copa +pkgname=libburn +pkgver=1.5.4 +_ver=${pkgver%_p*} +if [ "$_ver" != "$pkgver" ]; then + _pver=".pl${pkgver##*_p}" +fi +pkgrel=0 +pkgdesc="Library for reading, mastering and writing optical discs" +url="http://libburnia-project.org/" +arch="all" +license="GPL-2.0-or-later" +makedepends="linux-headers" +subpackages="$pkgname-dev $pkgname-doc" +source="http://files.libburnia-project.org/releases/libburn-${_ver}$_pver.tar.gz" + +prepare() { + default_prepare + update_config_sub +} + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-static + make +} + +check() { + make check +} +package() { + make -j1 DESTDIR="$pkgdir" install +} + +sha512sums="dd7b14093e62e2c02011955c24e01d70ed78969b14faf7e5a63c0da97a80c438b628922532eb135af7dea8ee7c7b83554b3354160306dad852ce5bf6eb1d5ac9 libburn-1.5.4.tar.gz" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/libburn/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/libburn/APKBUILD-expected.json new file mode 100644 index 00000000000..ae551319c44 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/libburn/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "libburn", + "version": "1.5.4-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Library for reading, mastering and writing optical discs", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus", + "declared_license": "GPL-2.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "http://files.libburnia-project.org/releases/libburn-1.5.4.tar.gz" + } + ], + "checksums": [ + { + "file_name": "libburn-1.5.4.tar.gz", + "sha512": "dd7b14093e62e2c02011955c24e01d70ed78969b14faf7e5a63c0da97a80c438b628922532eb135af7dea8ee7c7b83554b3354160306dad852ce5bf6eb1d5ac9" + } + ] + }, + "purl": "pkg:alpine/libburn@1.5.4-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/linux-lts/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/linux-lts/APKBUILD new file mode 100644 index 00000000000..d5a32f56072 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/linux-lts/APKBUILD @@ -0,0 +1,252 @@ +# Maintainer: Natanael Copa + +_flavor=lts +pkgname=linux-${_flavor} +pkgver=5.10.43 +case $pkgver in + *.*.*) _kernver=${pkgver%.*};; + *.*) _kernver=$pkgver;; +esac +pkgrel=0 +pkgdesc="Linux lts kernel" +url="https://www.kernel.org" +depends="mkinitfs" +_depends_dev="perl gmp-dev elfutils-dev bash flex bison" +makedepends="$_depends_dev sed installkernel bc linux-headers linux-firmware-any openssl-dev + diffutils findutils" +options="!strip" +_config=${config:-config-lts.${CARCH}} +install= +source="https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/linux-$_kernver.tar.xz + 0002-powerpc-config-defang-gcc-check-for-stack-protector-.patch + + 0007-pci-hotplug-declare-IDT-bridge-as-hotpluggabl-bridge.patch + 0008-pci-spr2803-quirk-to-fix-class-ID.patch + ampere-mt-jade.patch + + config-lts.aarch64 + config-lts.armv7 + config-lts.x86 + config-lts.x86_64 + config-lts.ppc64le + config-lts.s390x + config-lts.mips64 + + config-virt.aarch64 + config-virt.armv7 + config-virt.ppc64le + config-virt.x86 + config-virt.x86_64 + " +subpackages="$pkgname-dev:_dev:$CBUILD_ARCH" +_flavors= +for _i in $source; do + case $_i in + config-*.$CARCH) + _f=${_i%.$CARCH} + _f=${_f#config-} + _flavors="$_flavors ${_f}" + if [ "linux-$_f" != "$pkgname" ]; then + subpackages="$subpackages linux-${_f}::$CBUILD_ARCH linux-${_f}-dev:_dev:$CBUILD_ARCH" + fi + ;; + esac +done + +if [ "${pkgver%.0}" = "$pkgver" ]; then + source="$source + https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/patch-$pkgver.xz" +fi +arch="all !armhf !riscv64" +license="GPL-2.0" + +_carch=${CARCH} +case "$_carch" in +aarch64*) _carch="arm64" ;; +arm*) _carch="arm" ;; +mips*) _carch="mips" ;; +ppc*) _carch="powerpc" ;; +s390*) _carch="s390" ;; +esac + +# secfixes: +# 5.10.4-r0: +# - CVE-2020-29568 +# - CVE-2020-29569 + +prepare() { + local _patch_failed= + cd "$srcdir"/linux-$_kernver + if [ "$_kernver" != "$pkgver" ]; then + msg "Applying patch-$pkgver.xz" + unxz -c < "$srcdir"/patch-$pkgver.xz | patch -p1 -N + fi + + # first apply patches in specified order + for i in $source; do + case $i in + *.patch) + msg "Applying $i..." + if ! patch -s -p1 -N -i "$srcdir"/$i; then + echo $i >>failed + _patch_failed=1 + fi + ;; + esac + done + + if ! [ -z "$_patch_failed" ]; then + error "The following patches failed:" + cat failed + return 1 + fi + + # remove localversion from patch if any + rm -f localversion* + oldconfig +} + +oldconfig() { + for i in $_flavors; do + local _config=config-$i.${CARCH} + local _builddir="$srcdir"/build-$i.$CARCH + mkdir -p "$_builddir" + echo "-$pkgrel-$i" > "$_builddir"/localversion-alpine \ + || return 1 + + cp "$srcdir"/$_config "$_builddir"/.config + make -C "$srcdir"/linux-$_kernver \ + O="$_builddir" \ + ARCH="$_carch" \ + listnewconfig oldconfig + done +} + +build() { + unset LDFLAGS + export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})" + for i in $_flavors; do + cd "$srcdir"/build-$i.$CARCH + make ARCH="$_carch" CC="${CC:-gcc}" \ + KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-Alpine" + done +} + +_package() { + local _buildflavor="$1" _outdir="$2" + local _abi_release=${pkgver}-${pkgrel}-${_buildflavor} + export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})" + + cd "$srcdir"/build-$_buildflavor.$CARCH + # modules_install seems to regenerate a defect Modules.symvers on s390x. Work + # around it by backing it up and restore it after modules_install + cp Module.symvers Module.symvers.backup + + mkdir -p "$_outdir"/boot "$_outdir"/lib/modules + + local _install + case "$CARCH" in + arm*|aarch64) _install="zinstall dtbs_install";; + *) _install=install;; + esac + + make -j1 modules_install $_install \ + ARCH="$_carch" \ + INSTALL_MOD_PATH="$_outdir" \ + INSTALL_PATH="$_outdir"/boot \ + INSTALL_DTBS_PATH="$_outdir/boot/dtbs-$_buildflavor" + + cp Module.symvers.backup Module.symvers + + rm -f "$_outdir"/lib/modules/${_abi_release}/build \ + "$_outdir"/lib/modules/${_abi_release}/source + rm -rf "$_outdir"/lib/firmware + + install -D include/config/kernel.release \ + "$_outdir"/usr/share/kernel/$_buildflavor/kernel.release +} + +# main flavor installs in $pkgdir +package() { + depends="$depends linux-firmware-any" + + _package lts "$pkgdir" +} + +# subflavors install in $subpkgdir +virt() { + _package virt "$subpkgdir" +} + +_dev() { + local _flavor=$(echo $subpkgname | sed -E 's/(^linux-|-dev$)//g') + local _abi_release=${pkgver}-${pkgrel}-$_flavor + # copy the only the parts that we really need for build 3rd party + # kernel modules and install those as /usr/src/linux-headers, + # simlar to what ubuntu does + # + # this way you dont need to install the 300-400 kernel sources to + # build a tiny kernel module + # + pkgdesc="Headers and script for third party modules for $_flavor kernel" + depends="$_depends_dev" + local dir="$subpkgdir"/usr/src/linux-headers-${_abi_release} + export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})" + + # first we import config, run prepare to set up for building + # external modules, and create the scripts + mkdir -p "$dir" + cp "$srcdir"/config-$_flavor.${CARCH} "$dir"/.config + echo "-$pkgrel-$_flavor" > "$dir"/localversion-alpine + + make -j1 -C "$srcdir"/linux-$_kernver O="$dir" ARCH="$_carch" \ + syncconfig prepare modules_prepare scripts + + # remove the stuff that points to real sources. we want 3rd party + # modules to believe this is the soruces + rm "$dir"/Makefile "$dir"/source + + # copy the needed stuff from real sources + # + # this is taken from ubuntu kernel build script + # http://kernel.ubuntu.com/git/ubuntu/ubuntu-zesty.git/tree/debian/rules.d/3-binary-indep.mk + cd "$srcdir"/linux-$_kernver + find . -path './include/*' -prune \ + -o -path './scripts/*' -prune -o -type f \ + \( -name 'Makefile*' -o -name 'Kconfig*' -o -name 'Kbuild*' -o \ + -name '*.sh' -o -name '*.pl' -o -name '*.lds' -o -name 'Platform' \) \ + -print | cpio -pdm "$dir" + + cp -a scripts include "$dir" + + find $(find arch -name include -type d -print) -type f \ + | cpio -pdm "$dir" + + install -Dm644 "$srcdir"/build-$_flavor.$CARCH/Module.symvers \ + "$dir"/Module.symvers + + mkdir -p "$subpkgdir"/lib/modules/${_abi_release} + ln -sf /usr/src/linux-headers-${_abi_release} \ + "$subpkgdir"/lib/modules/${_abi_release}/build +} + +sha512sums=" +95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e linux-5.10.tar.xz +d19365fe94431008768c96a2c88955652f70b6df6677457ee55ee95246a64fdd2c6fed9b3bef37c29075178294a7fc91f148ead636382530ebfa822be4ad8c2f 0002-powerpc-config-defang-gcc-check-for-stack-protector-.patch +ca5aafac37e0b5f3fcbaf801e12f98beb58ffaf1d8c88f76caff22b059831869b4094e7fdcb6d6860422d6b2d036e072caff460e1feb84bd04d10740ad56265b 0007-pci-hotplug-declare-IDT-bridge-as-hotpluggabl-bridge.patch +cbe85cf34e8420c91d2276c2d2aa0ab5023af68e57a1fa613f073f16a76766c67f585eda71c28f232bd0625e0dc8275a9eddc95f49409205dc0dbcc28c9fac1c 0008-pci-spr2803-quirk-to-fix-class-ID.patch +16b2d5b0255b37075ba894fc797673d633395907ce0b93400c5a8bd05b512b5cd040b91000fa41f9240d42afc664a69206597d1e3f754a1aa64b9be21a67f5c6 ampere-mt-jade.patch +1ee7883eec2c1cad009f480b9dc162bf0d44e102f86ad39f18cc75a1dcd0b83478565ba6e318ca301a21f5c3d51f8df33c6c9a5def7a2803e116554c7537d18f config-lts.aarch64 +e9acae08bfbbdf1227544c7e635232a7037d945f0bc6cc316361092a18f0a8cc1326979bed7b948d5284d25d3e0ade77d2a04494933886d5c4b37d5aae1c8427 config-lts.armv7 +fd4e6ecfa98a7f74a384089b07802f40f30a70300cd466b30a5343b3594cf20679ac6c4f80ea815987ce1deff92d75039d6692ba9e3ad85035878e2a360d43eb config-lts.x86 +f370f92e35a8815229e52eec5a5e9c4d15ab01c8e7afa13e9672b6b1d1e0eaeb1379347fe92ae172d61bb749d5ebe53dee2c4f1a3062b144befc3a7339502bb0 config-lts.x86_64 +46b44a0dc3ceb85f081bc04bacfab12f9e5e701eeeff89281af8123a2061afb4012194c9d5c5365c1391c95bdcdc12e641436458000c6b145024072e676c9eec config-lts.ppc64le +b0aa02a11f6f8d88b83d8a615d0fa182e8033bc1543e94099030dd777d9930876ab1b3b4ffee60cf4efda92860a9755f939226c5b5bec69317a47284866dea55 config-lts.s390x +06148ae8d49127dd17a3b5cbe8e09bb4e3b95a85a9b372d6a2753a59c1c9caf5639dce865f3bab36da58c8fdcebe52483d7b0c785fdf15e3b71d6fc59c61c6c6 config-lts.mips64 +a31345f835aa93066f3b98328ed07a5301ffb0d22d5affe258f569ba5da0776bd61bf38c6bfcf028100c81700f5c8d732b207e933ba947ccfb7517f9f475b88c config-virt.aarch64 +b4799566dbb0ea7813647c965937c72a40afe60e535a29fb94b8343170e2272c73c27c68568ab296bb6351dfdedd28d0bc2e0000e378afe9c90d7a20a2cc86b5 config-virt.armv7 +a795ab637ba2d84da8f1475bbac4600b59370c277b788fd58b3b28cb3dccf3d3d19b0d5196d915ccfb46c95a2ee20b4626401ee3ee05a54ee17c59bef963142e config-virt.ppc64le +00aef9f7f596be069eba7b5c3ed23d2b057a35d8c9d3b0d54f562a3460302583164baade001f971c9deb16fd8b7bdd36bdc1e7aa0a1fbed75dc55a1f3e3e8e4f config-virt.x86 +bf8bf531cc6fd1d2d80eda1129b67bd28a7f04c7e893d6ef4d52dcd5f9bcc9b9e712efe205f0f6b2d32a8a23e19670e9498a636e6dc4e9b6f920e1ee253582b7 config-virt.x86_64 +fb1e6d753de74058fa0ce19f5e00b0f9edbe7538a755e322a7b9e05f5436aed9f61cfdbafe5fc5de187b5c486258d0a4441e16c55906003341ef658328cc044e patch-5.10.43.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/linux-lts/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/linux-lts/APKBUILD-expected.json new file mode 100644 index 00000000000..1a2241f5b1c --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/linux-lts/APKBUILD-expected.json @@ -0,0 +1,181 @@ +{ + "type": "alpine", + "namespace": null, + "name": "linux-lts", + "version": "5.10.43-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Linux lts kernel", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0", + "declared_license": "GPL-2.0", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.10.tar.xz" + }, + { + "file_name": "0002-powerpc-config-defang-gcc-check-for-stack-protector-.patch", + "url": null + }, + { + "file_name": "0007-pci-hotplug-declare-IDT-bridge-as-hotpluggabl-bridge.patch", + "url": null + }, + { + "file_name": "0008-pci-spr2803-quirk-to-fix-class-ID.patch", + "url": null + }, + { + "file_name": "ampere-mt-jade.patch", + "url": null + }, + { + "file_name": "config-lts.aarch64", + "url": null + }, + { + "file_name": "config-lts.armv7", + "url": null + }, + { + "file_name": "config-lts.x86", + "url": null + }, + { + "file_name": "config-lts.x86_64", + "url": null + }, + { + "file_name": "config-lts.ppc64le", + "url": null + }, + { + "file_name": "config-lts.s390x", + "url": null + }, + { + "file_name": "config-lts.mips64", + "url": null + }, + { + "file_name": "config-virt.aarch64", + "url": null + }, + { + "file_name": "config-virt.armv7", + "url": null + }, + { + "file_name": "config-virt.ppc64le", + "url": null + }, + { + "file_name": "config-virt.x86", + "url": null + }, + { + "file_name": "config-virt.x86_64", + "url": null + } + ], + "checksums": [ + { + "file_name": "linux-5.10.tar.xz", + "sha512": "95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e" + }, + { + "file_name": "0002-powerpc-config-defang-gcc-check-for-stack-protector-.patch", + "sha512": "d19365fe94431008768c96a2c88955652f70b6df6677457ee55ee95246a64fdd2c6fed9b3bef37c29075178294a7fc91f148ead636382530ebfa822be4ad8c2f" + }, + { + "file_name": "0007-pci-hotplug-declare-IDT-bridge-as-hotpluggabl-bridge.patch", + "sha512": "ca5aafac37e0b5f3fcbaf801e12f98beb58ffaf1d8c88f76caff22b059831869b4094e7fdcb6d6860422d6b2d036e072caff460e1feb84bd04d10740ad56265b" + }, + { + "file_name": "0008-pci-spr2803-quirk-to-fix-class-ID.patch", + "sha512": "cbe85cf34e8420c91d2276c2d2aa0ab5023af68e57a1fa613f073f16a76766c67f585eda71c28f232bd0625e0dc8275a9eddc95f49409205dc0dbcc28c9fac1c" + }, + { + "file_name": "ampere-mt-jade.patch", + "sha512": "16b2d5b0255b37075ba894fc797673d633395907ce0b93400c5a8bd05b512b5cd040b91000fa41f9240d42afc664a69206597d1e3f754a1aa64b9be21a67f5c6" + }, + { + "file_name": "config-lts.aarch64", + "sha512": "1ee7883eec2c1cad009f480b9dc162bf0d44e102f86ad39f18cc75a1dcd0b83478565ba6e318ca301a21f5c3d51f8df33c6c9a5def7a2803e116554c7537d18f" + }, + { + "file_name": "config-lts.armv7", + "sha512": "e9acae08bfbbdf1227544c7e635232a7037d945f0bc6cc316361092a18f0a8cc1326979bed7b948d5284d25d3e0ade77d2a04494933886d5c4b37d5aae1c8427" + }, + { + "file_name": "config-lts.x86", + "sha512": "fd4e6ecfa98a7f74a384089b07802f40f30a70300cd466b30a5343b3594cf20679ac6c4f80ea815987ce1deff92d75039d6692ba9e3ad85035878e2a360d43eb" + }, + { + "file_name": "config-lts.x86_64", + "sha512": "f370f92e35a8815229e52eec5a5e9c4d15ab01c8e7afa13e9672b6b1d1e0eaeb1379347fe92ae172d61bb749d5ebe53dee2c4f1a3062b144befc3a7339502bb0" + }, + { + "file_name": "config-lts.ppc64le", + "sha512": "46b44a0dc3ceb85f081bc04bacfab12f9e5e701eeeff89281af8123a2061afb4012194c9d5c5365c1391c95bdcdc12e641436458000c6b145024072e676c9eec" + }, + { + "file_name": "config-lts.s390x", + "sha512": "b0aa02a11f6f8d88b83d8a615d0fa182e8033bc1543e94099030dd777d9930876ab1b3b4ffee60cf4efda92860a9755f939226c5b5bec69317a47284866dea55" + }, + { + "file_name": "config-lts.mips64", + "sha512": "06148ae8d49127dd17a3b5cbe8e09bb4e3b95a85a9b372d6a2753a59c1c9caf5639dce865f3bab36da58c8fdcebe52483d7b0c785fdf15e3b71d6fc59c61c6c6" + }, + { + "file_name": "config-virt.aarch64", + "sha512": "a31345f835aa93066f3b98328ed07a5301ffb0d22d5affe258f569ba5da0776bd61bf38c6bfcf028100c81700f5c8d732b207e933ba947ccfb7517f9f475b88c" + }, + { + "file_name": "config-virt.armv7", + "sha512": "b4799566dbb0ea7813647c965937c72a40afe60e535a29fb94b8343170e2272c73c27c68568ab296bb6351dfdedd28d0bc2e0000e378afe9c90d7a20a2cc86b5" + }, + { + "file_name": "config-virt.ppc64le", + "sha512": "a795ab637ba2d84da8f1475bbac4600b59370c277b788fd58b3b28cb3dccf3d3d19b0d5196d915ccfb46c95a2ee20b4626401ee3ee05a54ee17c59bef963142e" + }, + { + "file_name": "config-virt.x86", + "sha512": "00aef9f7f596be069eba7b5c3ed23d2b057a35d8c9d3b0d54f562a3460302583164baade001f971c9deb16fd8b7bdd36bdc1e7aa0a1fbed75dc55a1f3e3e8e4f" + }, + { + "file_name": "config-virt.x86_64", + "sha512": "bf8bf531cc6fd1d2d80eda1129b67bd28a7f04c7e893d6ef4d52dcd5f9bcc9b9e712efe205f0f6b2d32a8a23e19670e9498a636e6dc4e9b6f920e1ee253582b7" + }, + { + "file_name": "patch-5.10.43.xz", + "sha512": "fb1e6d753de74058fa0ce19f5e00b0f9edbe7538a755e322a7b9e05f5436aed9f61cfdbafe5fc5de187b5c486258d0a4441e16c55906003341ef658328cc044e" + } + ] + }, + "purl": "pkg:alpine/linux-lts@5.10.43-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/linux-rpi/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/linux-rpi/APKBUILD new file mode 100644 index 00000000000..be57146abbf --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/linux-rpi/APKBUILD @@ -0,0 +1,316 @@ +# Maintainer: Natanael Copa + +pkgname=linux-rpi +pkgver=5.10.43 +case $pkgver in +*.*.*) _kernver=${pkgver%.*};; +*.*) _kernver=${pkgver};; +esac +pkgrel=0 +pkgdesc="Linux kernel with Raspberry Pi patches" +url=https://github.com/raspberrypi/linux +depends="mkinitfs" +_depends_dev="perl gmp-dev elfutils-dev bash" +makedepends="$_depends_dev sed installkernel bc linux-headers linux-firmware + bison flex openssl-dev findutils +" +options="!strip !check" +_rpi_repo="git://github.com/raspberrypi/linux.git" +_linux_repo="git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git" +source="https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-$_kernver.tar.xz + https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-$pkgver.xz + https://dev.alpinelinux.org/archive/rpi-patches/rpi-$pkgver-alpine.patch + + config-changes-rpi.armhf + config-changes-rpi.armv7 + config-changes-rpi.aarch64 + config-changes-rpi2.armhf + config-changes-rpi2.armv7 + config-changes-rpi4.armv7 + config-changes-rpi4.aarch64 + " +subpackages="" +arch="armhf armv7 aarch64" +license="GPL-2.0" +_flavors= +for _i in $source; do + case $_i in + config-*.$CARCH) + _f=${_i%.$CARCH} + _f=${_f#config-changes-} + _flavors="$_flavors ${_f}" + [ "linux-$_f" != "$pkgname" ] && subpackages="$subpackages linux-${_f}::$CBUILD_ARCH" + subpackages="$subpackages linux-${_f}-dev:_dev:$CBUILD_ARCH" + ;; + esac +done + +case "$CARCH" in + aarch64) _carch="arm64" ;; + arm*) _carch="arm" ;; +esac + +prepare() { + local _patch_failed= + cd "$srcdir"/linux-$_kernver + if [ "${pkgver%.0}" = "$pkgver" ]; then + msg "Applying patch-$pkgver.xz" + unxz -c < "$srcdir"/patch-$pkgver.xz | patch -p1 -N + fi + + # first apply patches in specified order + for i in $source; do + case $i in + *.patch) + msg "Applying $i..." + if ! patch -s -p1 -N -i "$srcdir"/${i##*/}; then + echo $i >>failed + _patch_failed=1 + fi + ;; + esac + done + + if ! [ -z "$_patch_failed" ]; then + error "The following patches failed:" + cat failed + return 1 + fi + + # remove localversion from patch if any + rm -f localversion* + + local flavor= + for flavor in $_flavors; do + local _builddir="$srcdir"/build-$flavor + mkdir -p "$_builddir" + echo "-$pkgrel-$flavor" > "$_builddir"/localversion-alpine + _genconfig $flavor + make -C "$srcdir"/linux-$_kernver \ + O="$_builddir" \ + ARCH="$_carch" \ + olddefconfig + _verifyconfig $flavor + done +} + +# generate config from defconfig and apply local changes. +# config-changes-$flavor.$CARCH holds a list of = delimited +# config command and values used by kernel scripts/config script. +_genconfig() { + local flavor=$1 defconfig= + local builddir="$srcdir"/build-$flavor + local defconfig= + case $flavor in + rpi) defconfig=bcmrpi_defconfig + [ "$CARCH" = "aarch64" ] && defconfig=bcmrpi3_defconfig ;; + rpi2) defconfig=bcm2709_defconfig ;; + rpi4) defconfig=bcm2711_defconfig ;; + *) die "Unknown flavor: $flavor" ;; + esac + + cp "$srcdir"/linux-$_kernver/arch/$_carch/configs/$defconfig \ + "$builddir"/.config + + while read line; do + # skip comments + case "$line" in + "#"*) continue;; + esac + local option=${line%%=*} str= + local cmd=$(echo $line | cut -d= -f2) + case "$cmd" in + y) cmd="enable";; + n) cmd="disable";; + m) cmd="module";; + '"'*) cmd="set-str"; str="${line#*=}";; + [0-9]*) cmd="set-val"; str="${line#*=}";; + *) die "Command $cmd not accepted" ;; + esac + msg "[$flavor] $cmd: $option $str" + "$srcdir"/linux-$_kernver/scripts/config \ + --file "$builddir"/.config \ + --${cmd} "$option" "${str//\"/}" + done < "$srcdir"/config-changes-$flavor.${CARCH} +} + +# verify if options are set to correct value +_verifyconfig() { + local flavor=$1 + local builddir="$srcdir"/build-$flavor + while read line; do + [ ${line:0:1} = "#" ] && continue + local option=${line%%=*} str= invert= + local cmd=$(echo $line | cut -d= -f2) + case "$cmd" in + enable) str="$option=y" ;; + disable) str="$option"; invert="-v" ;; + module) str="$option=m" ;; + set-val) str="$option=${line##*=}" ;; + set-str) str=${line##*=} + str="$option=\"${str//\"/}\"" ;; + esac + grep -q $invert "^$str" "$builddir"/.config || \ + die "Config: $option not properly set!" + done < "$srcdir"/config-changes-$flavor.${CARCH} +} + +build() { + unset LDFLAGS + for i in $_flavors; do + cd "$srcdir"/build-$i + local _kver=$(make kernelversion) + if [ "$_kver" != "$pkgver" ]; then + error "Version in Makefile ($_kver) does not correspond with pkgver ($pkgver)" + return 1 + fi + make ARCH="$_carch" CC="${CC:-gcc}" \ + KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-Alpine" + done +} + +_package() { + local _buildflavor="$1" _outdir="$2" + local _abi_release=${pkgver}-${pkgrel}-${_buildflavor} + + cd "$srcdir"/build-$_buildflavor + + mkdir -p "$_outdir"/boot "$_outdir"/lib/modules + + local _install + case "$CARCH" in + arm*) + _install="zinstall dtbs_install" + ;; + aarch64) + _install="install dtbs_install" + ;; + *) + _install=install + ;; + esac + + cd "$srcdir"/build-$_buildflavor + # modules_install seems to regenerate a defect Modules.symvers. Work + # around it by backing it up and restore it after modules_install + cp Module.symvers Module.symvers.backup + + local INSTALL_DTBS_PATH="$_outdir"/boot + make -j1 modules_install $_install \ + ARCH="$_carch" \ + INSTALL_MOD_PATH="$_outdir" \ + INSTALL_PATH="$_outdir"/boot \ + INSTALL_DTBS_PATH="$INSTALL_DTBS_PATH" + cp Module.symvers.backup Module.symvers + + rm -f "$_outdir"/lib/modules/${_abi_release}/build \ + "$_outdir"/lib/modules/${_abi_release}/source + rm -rf "$_outdir"/lib/firmware + + install -D include/config/kernel.release \ + "$_outdir"/usr/share/kernel/$_buildflavor/kernel.release + + if [ "$CARCH" = "aarch64" ]; then + mv -f "$INSTALL_DTBS_PATH"/broadcom/*.dtb \ + "$INSTALL_DTBS_PATH" + rmdir "$INSTALL_DTBS_PATH"/broadcom + fi +} + +genpatch() { + local RPI_REPO_PATH="$HOME/repositories/linux-rpi" + msg "Checking out/pulling the Linux kernel git repository.." + mkdir -p "$RPI_REPO_PATH" && cd "$RPI_REPO_PATH" + git clone "$_linux_repo" "$RPI_REPO_PATH" 2>/dev/null || git pull + msg "Fetching raspberry git repository.." + git remote add rpi "$_rpi_repo" 2>/dev/null || true + git fetch rpi + msg "Generating rpi patch: rpi-$pkgver.patch" + mkdir -p "$srcdir" + git diff v$pkgver remotes/rpi/rpi-${pkgver%.*}.y > \ + "$srcdir"/rpi-$pkgver.patch + msg "Sending patch to dev.alpinelinux.org.." + scp "$srcdir"/rpi-$pkgver.patch \ + dev.alpinelinux.org:/archive/rpi-patches/rpi-$pkgver.patch + cd "$startdir" && abuild checksum +} + +# main flavor installs in $pkgdir +package() { + depends="$depends linux-firmware-brcm" + _package rpi "$pkgdir" +} + +# subflavors install in $subpkgdir +rpi2() { + depends="$depends linux-firmware-brcm" + _package rpi2 "$subpkgdir" +} + +rpi4() { + depends="$depends linux-firmware-brcm" + _package rpi4 "$subpkgdir" +} + +_dev() { + local _flavor=$(echo $subpkgname | sed -E 's/(^linux-|-dev$)//g') + local _abi_release=${pkgver}-${pkgrel}-$_flavor + # copy the only the parts that we really need for build 3rd party + # kernel modules and install those as /usr/src/linux-headers, + # simlar to what ubuntu does + # + # this way you dont need to install the 300-400 kernel sources to + # build a tiny kernel module + # + pkgdesc="Headers and script for third party modules for $_flavor kernel" + depends="$_depends_dev" + local dir="$subpkgdir"/usr/src/linux-headers-${_abi_release} + + # first we import config, run prepare to set up for building + # external modules, and create the scripts + mkdir -p "$dir" + cp "$srcdir"/build-$_flavor/.config "$dir"/.config + echo "-$pkgrel-$_flavor" > "$dir"/localversion-alpine + + make -j1 -C "$srcdir"/linux-$_kernver O="$dir" \ + syncconfig prepare modules_prepare scripts + + # remove the stuff that points to real sources. we want 3rd party + # modules to believe this is the soruces + rm "$dir"/Makefile "$dir"/source + + # copy the needed stuff from real sources + # + # this is taken from ubuntu kernel build script + # http://kernel.ubuntu.com/git/ubuntu/ubuntu-zesty.git/tree/debian/rules.d/3-binary-indep.mk + cd "$srcdir"/linux-$_kernver + find . -path './include/*' -prune \ + -o -path './scripts/*' -prune -o -type f \ + \( -name 'Makefile*' -o -name 'Kconfig*' -o -name 'Kbuild*' -o \ + -name '*.sh' -o -name '*.pl' -o -name '*.lds' \) \ + -print | cpio -pdm "$dir" + + cp -a scripts include "$dir" + find $(find arch -name include -type d -print) -type f \ + | cpio -pdm "$dir" + + install -Dm644 "$srcdir"/build-$_flavor/Module.symvers \ + "$dir"/Module.symvers + + mkdir -p "$subpkgdir"/lib/modules/${_abi_release} + ln -sf /usr/src/linux-headers-${_abi_release} \ + "$subpkgdir"/lib/modules/${_abi_release}/build +} + +sha512sums=" +95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e linux-5.10.tar.xz +fb1e6d753de74058fa0ce19f5e00b0f9edbe7538a755e322a7b9e05f5436aed9f61cfdbafe5fc5de187b5c486258d0a4441e16c55906003341ef658328cc044e patch-5.10.43.xz +7f9c39158ac6c8852edbc71366bad1dc211184440a3a4447cc2e62ca05bd980c928c0ad7dda638e0e4977fc223c17f97d29f0317173e975612a9902ba237b73c rpi-5.10.43-alpine.patch +13612ed26f486a4053dc61a1d376cccf21b57f96e9359d3f3b1897458fb96dde24dfcd32f15eeec2a60e5246044d67df2d84b215b2dbb082495b08e872c735c9 config-changes-rpi.armhf +13612ed26f486a4053dc61a1d376cccf21b57f96e9359d3f3b1897458fb96dde24dfcd32f15eeec2a60e5246044d67df2d84b215b2dbb082495b08e872c735c9 config-changes-rpi.armv7 +13612ed26f486a4053dc61a1d376cccf21b57f96e9359d3f3b1897458fb96dde24dfcd32f15eeec2a60e5246044d67df2d84b215b2dbb082495b08e872c735c9 config-changes-rpi.aarch64 +13612ed26f486a4053dc61a1d376cccf21b57f96e9359d3f3b1897458fb96dde24dfcd32f15eeec2a60e5246044d67df2d84b215b2dbb082495b08e872c735c9 config-changes-rpi2.armhf +13612ed26f486a4053dc61a1d376cccf21b57f96e9359d3f3b1897458fb96dde24dfcd32f15eeec2a60e5246044d67df2d84b215b2dbb082495b08e872c735c9 config-changes-rpi2.armv7 +13612ed26f486a4053dc61a1d376cccf21b57f96e9359d3f3b1897458fb96dde24dfcd32f15eeec2a60e5246044d67df2d84b215b2dbb082495b08e872c735c9 config-changes-rpi4.armv7 +13612ed26f486a4053dc61a1d376cccf21b57f96e9359d3f3b1897458fb96dde24dfcd32f15eeec2a60e5246044d67df2d84b215b2dbb082495b08e872c735c9 config-changes-rpi4.aarch64 +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/linux-rpi/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/linux-rpi/APKBUILD-expected.json new file mode 100644 index 00000000000..af8fc56f268 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/linux-rpi/APKBUILD-expected.json @@ -0,0 +1,121 @@ +{ + "type": "alpine", + "namespace": null, + "name": "linux-rpi", + "version": "5.10.43-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Linux kernel with Raspberry Pi patches", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0", + "declared_license": "GPL-2.0", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.10.tar.xz" + }, + { + "file_name": null, + "url": "https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-5.10.43.xz" + }, + { + "file_name": null, + "url": "https://dev.alpinelinux.org/archive/rpi-patches/rpi-5.10.43-alpine.patch" + }, + { + "file_name": "config-changes-rpi.armhf", + "url": null + }, + { + "file_name": "config-changes-rpi.armv7", + "url": null + }, + { + "file_name": "config-changes-rpi.aarch64", + "url": null + }, + { + "file_name": "config-changes-rpi2.armhf", + "url": null + }, + { + "file_name": "config-changes-rpi2.armv7", + "url": null + }, + { + "file_name": "config-changes-rpi4.armv7", + "url": null + }, + { + "file_name": "config-changes-rpi4.aarch64", + "url": null + } + ], + "checksums": [ + { + "file_name": "linux-5.10.tar.xz", + "sha512": "95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e" + }, + { + "file_name": "patch-5.10.43.xz", + "sha512": "fb1e6d753de74058fa0ce19f5e00b0f9edbe7538a755e322a7b9e05f5436aed9f61cfdbafe5fc5de187b5c486258d0a4441e16c55906003341ef658328cc044e" + }, + { + "file_name": "rpi-5.10.43-alpine.patch", + "sha512": "7f9c39158ac6c8852edbc71366bad1dc211184440a3a4447cc2e62ca05bd980c928c0ad7dda638e0e4977fc223c17f97d29f0317173e975612a9902ba237b73c" + }, + { + "file_name": "config-changes-rpi.armhf", + "sha512": "13612ed26f486a4053dc61a1d376cccf21b57f96e9359d3f3b1897458fb96dde24dfcd32f15eeec2a60e5246044d67df2d84b215b2dbb082495b08e872c735c9" + }, + { + "file_name": "config-changes-rpi.armv7", + "sha512": "13612ed26f486a4053dc61a1d376cccf21b57f96e9359d3f3b1897458fb96dde24dfcd32f15eeec2a60e5246044d67df2d84b215b2dbb082495b08e872c735c9" + }, + { + "file_name": "config-changes-rpi.aarch64", + "sha512": "13612ed26f486a4053dc61a1d376cccf21b57f96e9359d3f3b1897458fb96dde24dfcd32f15eeec2a60e5246044d67df2d84b215b2dbb082495b08e872c735c9" + }, + { + "file_name": "config-changes-rpi2.armhf", + "sha512": "13612ed26f486a4053dc61a1d376cccf21b57f96e9359d3f3b1897458fb96dde24dfcd32f15eeec2a60e5246044d67df2d84b215b2dbb082495b08e872c735c9" + }, + { + "file_name": "config-changes-rpi2.armv7", + "sha512": "13612ed26f486a4053dc61a1d376cccf21b57f96e9359d3f3b1897458fb96dde24dfcd32f15eeec2a60e5246044d67df2d84b215b2dbb082495b08e872c735c9" + }, + { + "file_name": "config-changes-rpi4.armv7", + "sha512": "13612ed26f486a4053dc61a1d376cccf21b57f96e9359d3f3b1897458fb96dde24dfcd32f15eeec2a60e5246044d67df2d84b215b2dbb082495b08e872c735c9" + }, + { + "file_name": "config-changes-rpi4.aarch64", + "sha512": "13612ed26f486a4053dc61a1d376cccf21b57f96e9359d3f3b1897458fb96dde24dfcd32f15eeec2a60e5246044d67df2d84b215b2dbb082495b08e872c735c9" + } + ] + }, + "purl": "pkg:alpine/linux-rpi@5.10.43-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/lua-unit/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/lua-unit/APKBUILD new file mode 100644 index 00000000000..d0368cd96e6 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/lua-unit/APKBUILD @@ -0,0 +1,40 @@ +# Maintainer: Leonardo Arena +pkgname=lua-unit +_pkgname=$(echo ${pkgname/-/} | tr '[:lower:]' '[:upper:]') +pkgver=3.3 +_pkgver=${pkgver/./_} +pkgrel=2 +pkgdesc="Unit-testing framework for Lua" +url="https://github.com/bluebird75/luaunit" +arch="noarch" +license="BSD-2-Clause" +depends="lua5.2" +makedepends="python3" +options="!check" # test suite suitable for Windows only +source="https://github.com/bluebird75/luaunit/archive/${_pkgname}_V$_pkgver.tar.gz" +builddir="$srcdir"/${pkgname/-/}-${_pkgname}_V$_pkgver + +_luaversions="5.1 5.2 5.3 5.4" +for _v in $_luaversions; do + makedepends="$makedepends lua$_v-dev" + subpackages="$subpackages lua$_v-${pkgname#lua-}:_subpackage" +done + +check() { + python3 doit.py runtests +} + +package() { + mkdir -p "$pkgdir" +} + +_subpackage() { + local lver="${subpkgname:3:3}" + pkgdesc="$pkgdesc (for Lua $lver)" + depends="lua$lver" + install_if="$pkgname=$pkgver-r$pkgrel lua$lver" + install -m644 -D "$builddir"/luaunit.lua \ + "$subpkgdir"/usr/share/lua/$lver/luaunit.lua +} + +sha512sums="bf0ea8f714fe93123ca019e7c9a61fb81592f1300a7943ca2f1d0717c1882d673316f4c800e6204c38cdc4e90467f35475df9a6420e4d675d753db46d2ca57ac LUAUNIT_V3_3.tar.gz" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/lua-unit/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/lua-unit/APKBUILD-expected.json new file mode 100644 index 00000000000..ff3c8d02682 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/lua-unit/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "lua-unit", + "version": "3.3-r2", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Unit-testing framework for Lua", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "bsd-simplified", + "declared_license": "BSD-2-Clause", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://github.com/bluebird75/luaunit/archive/LUAUNIT_V3_3.tar.gz" + } + ], + "checksums": [ + { + "file_name": "LUAUNIT_V3_3.tar.gz", + "sha512": "bf0ea8f714fe93123ca019e7c9a61fb81592f1300a7943ca2f1d0717c1882d673316f4c800e6204c38cdc4e90467f35475df9a6420e4d675d753db46d2ca57ac" + } + ] + }, + "purl": "pkg:alpine/lua-unit@3.3-r2", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/sqlite-tcl/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/sqlite-tcl/APKBUILD new file mode 100644 index 00000000000..a0d67f13690 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/sqlite-tcl/APKBUILD @@ -0,0 +1,67 @@ +# Maintainer: Carlo Landmeter +# Contributor: Łukasz Jendrysik +pkgname=sqlite-tcl +pkgver=3.35.5 +pkgrel=0 +pkgdesc="Sqlite Tcl Extension Architecture (TEA)" +url="https://www.sqlite.org/" +arch="all" +license="Public-Domain" +makedepends="readline-dev tcl-dev sqlite-dev libtool autoconf automake" +subpackages="$pkgname-doc" +options="!check" # no testsuite from upstream + +# compute _ver +_a=${pkgver%%.*} +_b=${pkgver#$_a.} +_b=${_b%%.*} +_c=${pkgver#$_a.$_b.} +_c=${_c%%.*} +case $pkgver in + *.*.*.*)_d=${pkgver##*.};; + *.*.*) _d=0;; +esac +[ $_b -lt 10 ] && _b=0$_b +[ $_c -lt 10 ] && _c=0$_c +[ $_d -lt 10 ] && _d=0$_d +_ver=${_a}${_b}${_c}$_d + +# these variables depend on _ver being set +source="https://www.sqlite.org/2021/sqlite-autoconf-$_ver.tar.gz" +builddir="$srcdir/sqlite-autoconf-$_ver/tea" + +prepare() { + default_prepare + + if [ -f "$startdir"/../sqlite/APKBUILD ]; then + ( + _tclver=$pkgver + . "$startdir"/../sqlite/APKBUILD + if [ "$_tclver" != "$pkgver" ]; then + die "sqlite version mismatch ($_tclver != $pkgver)" + fi + ) + fi +} + +build() { + ./configure \ + --build="$CBUILD" \ + --host="$CHOST" \ + --prefix=/usr \ + --with-system-sqlite \ + --enable-threads + make +} + +check() { + make check +} + +package() { + make DESTDIR="$pkgdir" install + install -Dm644 license.terms \ + "$pkgdir"/usr/share/licenses/$pkgname/license.terms +} + +sha512sums="039af796f79fc4517be0bd5ba37886264d49da309e234ae6fccdb488ef0109ed2b917fc3e6c1fc7224dff4f736824c653aaf8f0a37550c5ebc14d035cb8ac737 sqlite-autoconf-3350500.tar.gz" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/sqlite-tcl/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/sqlite-tcl/APKBUILD-expected.json new file mode 100644 index 00000000000..b16d85058d0 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/sqlite-tcl/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "sqlite-tcl", + "version": "3.35.5-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Sqlite Tcl Extension Architecture (TEA)", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "public-domain", + "declared_license": "Public-Domain", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://www.sqlite.org/2021/sqlite-autoconf-3350500.tar.gz" + } + ], + "checksums": [ + { + "file_name": "sqlite-autoconf-3350500.tar.gz", + "sha512": "039af796f79fc4517be0bd5ba37886264d49da309e234ae6fccdb488ef0109ed2b917fc3e6c1fc7224dff4f736824c653aaf8f0a37550c5ebc14d035cb8ac737" + } + ] + }, + "purl": "pkg:alpine/sqlite-tcl@3.35.5-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/sqlite/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/sqlite/APKBUILD new file mode 100644 index 00000000000..cd62dd78c61 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/sqlite/APKBUILD @@ -0,0 +1,126 @@ +# Maintainer: Carlo Landmeter +# Contributor: Łukasz Jendrysik +pkgname=sqlite +# NOTE: pkgver needs to correspond with sqlite-tcl +pkgver=3.35.5 +pkgrel=0 +pkgdesc="C library that implements an SQL database engine" +url="https://www.sqlite.org/" +arch="all" +license="Public-Domain" +makedepends="readline-dev" +subpackages="$pkgname-static $pkgname-doc $pkgname-dev $pkgname-libs" + +# compute _ver +_a=${pkgver%%.*} +_b=${pkgver#$_a.} +_b=${_b%%.*} +_c=${pkgver#$_a.$_b.} +_c=${_c%%.*} +case $pkgver in + *.*.*.*)_d=${pkgver##*.};; + *.*.*) _d=0;; +esac +[ $_b -lt 10 ] && _b=0$_b +[ $_c -lt 10 ] && _c=0$_c +[ $_d -lt 10 ] && _d=0$_d +_ver=${_a}${_b}${_c}$_d + +# these variables depend on _ver being set +builddir="$srcdir/$pkgname-autoconf-$_ver" +source="https://www.sqlite.org/2021/sqlite-autoconf-$_ver.tar.gz + license.txt + " + +# secfixes: +# 3.34.1-r0: +# - CVE-2021-20227 +# 3.32.1-r0: +# - CVE-2020-13434 +# - CVE-2020-13435 +# 3.30.1-r3: +# - CVE-2020-11655 +# 3.30.1-r1: +# - CVE-2019-19242 +# - CVE-2019-19244 +# 3.28.0-r0: +# - CVE-2019-5018 +# - CVE-2019-8457 + +# additional CFLAGS to set +_amalgamation="-DSQLITE_ENABLE_FTS4 \ + -DSQLITE_ENABLE_FTS3_PARENTHESIS \ + -DSQLITE_ENABLE_FTS3 \ + -DSQLITE_ENABLE_FTS5 \ + -DSQLITE_ENABLE_COLUMN_METADATA \ + -DSQLITE_SECURE_DELETE \ + -DSQLITE_ENABLE_UNLOCK_NOTIFY \ + -DSQLITE_ENABLE_RTREE \ + -DSQLITE_ENABLE_GEOPOLY \ + -DSQLITE_USE_URI \ + -DSQLITE_ENABLE_DBSTAT_VTAB \ + -DSQLITE_MAX_VARIABLE_NUMBER=250000 \ + -DSQLITE_ENABLE_JSON1" + +prepare() { + if [ -f "$startdir"/../sqlite-tcl/APKBUILD ]; then + ( + _sqlitever=$pkgver + . "$startdir"/../sqlite-tcl/APKBUILD + if [ "$_sqlitever" != "$pkgver" ]; then + warning "sqlite-tcl version mismatch ($_sqlitever != $pkgver)" + fi + ) + fi + + default_prepare +} + +build() { + export CFLAGS="$CFLAGS $_amalgamation" + ./configure \ + --build="$CBUILD" \ + --host="$CHOST" \ + --prefix=/usr \ + --enable-threadsafe \ + --enable-readline \ + --enable-static \ + --enable-dynamic-extensions \ + --enable-fts3 + + # rpath removal + sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool + sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + + make +} + +check() { + make check +} + +package() { + make DESTDIR="$pkgdir" install + + install -Dm0644 sqlite3.1 \ + "$pkgdir"/usr/share/man/man1/sqlite3.1 + install -Dm644 "$srcdir"/license.txt \ + "$pkgdir"/usr/share/licenses/$pkgname/license.txt +} + +libs() { + replaces="sqlite" + pkgdesc="Sqlite3 library" + + mkdir -p "$subpkgdir"/usr + mv "$pkgdir"/usr/lib "$subpkgdir"/usr/ +} + +static() { + pkgdesc="Sqlite3 static library" + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/lib*.a "$subpkgdir"/usr/lib/ +} + +sha512sums="039af796f79fc4517be0bd5ba37886264d49da309e234ae6fccdb488ef0109ed2b917fc3e6c1fc7224dff4f736824c653aaf8f0a37550c5ebc14d035cb8ac737 sqlite-autoconf-3350500.tar.gz +5bde14bec5bf18cc686b8b90a8b2324c8c6600bca1ae56431a795bb34b8b5ae85527143f3b5f0c845c776bce60eaa537624104cefc3a47b3820d43083f40c6e9 license.txt" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/sqlite/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/sqlite/APKBUILD-expected.json new file mode 100644 index 00000000000..7309283d102 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/sqlite/APKBUILD-expected.json @@ -0,0 +1,57 @@ +{ + "type": "alpine", + "namespace": null, + "name": "sqlite", + "version": "3.35.5-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "C library that implements an SQL database engine", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "public-domain", + "declared_license": "Public-Domain", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://www.sqlite.org/2021/sqlite-autoconf-3350500.tar.gz" + }, + { + "file_name": "license.txt", + "url": null + } + ], + "checksums": [ + { + "file_name": "sqlite-autoconf-3350500.tar.gz", + "sha512": "039af796f79fc4517be0bd5ba37886264d49da309e234ae6fccdb488ef0109ed2b917fc3e6c1fc7224dff4f736824c653aaf8f0a37550c5ebc14d035cb8ac737" + }, + { + "file_name": "license.txt", + "sha512": "5bde14bec5bf18cc686b8b90a8b2324c8c6600bca1ae56431a795bb34b8b5ae85527143f3b5f0c845c776bce60eaa537624104cefc3a47b3820d43083f40c6e9" + } + ] + }, + "purl": "pkg:alpine/sqlite@3.35.5-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/sqsh/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/sqsh/APKBUILD new file mode 100644 index 00000000000..34f329067be --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/sqsh/APKBUILD @@ -0,0 +1,48 @@ +# Contributor: Ashton Spencer +# Maintainer: Jeff Bilyk +pkgname=sqsh +pkgver=2.5.16.1 +case $pkgver in +*.*.*.*) _v=${pkgver%.*.*};; +*.*.*) _v=${pkgver%.*};; +*) _v=$pkgver;; +esac +pkgrel=4 +pkgdesc="Sybase iSQL replacement" +url="http://www.sqsh.org" +arch="all" +license="GPL" +makedepends="freetds-dev readline-dev ncurses-dev" +subpackages="$pkgname-doc" +source="https://downloads.sourceforge.net/project/sqsh/sqsh/sqsh-$_v/sqsh-$pkgver.tgz + tds-version.patch + freetds-1.2.patch + " + +prepare() { + default_prepare + update_config_sub +} + +builddir="$srcdir"/$pkgname-$_v +build() { + SYBASE=/usr + export SYBASE + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/doc \ + --with-readline + make +} + +package() { + make DESTDIR="$pkgdir" install + make DESTDIR="$pkgdir" install.man +} + +sha512sums="d011d413f5a21059e1b043c75f0a15ea29d10972b59ea980ebcb010b1b0e16eb377a66d21ba4f3ea4433c4deac5ba80b1af7e858129a306a6611de32da48981c sqsh-2.5.16.1.tgz +f73696f016e6a0f3c8f4020ba79b7dc9618c1958872dbb531e31c1b2709d7d7af227a3206b466bda932d8319443c838f6b05042b79b50560a9de842502274798 tds-version.patch +563bb6805025f2560b0c0bae4528e3ee54d17598c51669848f988d2948dc45b177412d5113259d2af5509ab77ae70e5dfdb4e0eebe9fe5252293d9b57f325934 freetds-1.2.patch" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/sqsh/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/sqsh/APKBUILD-expected.json new file mode 100644 index 00000000000..3935619295c --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/sqsh/APKBUILD-expected.json @@ -0,0 +1,65 @@ +{ + "type": "alpine", + "namespace": null, + "name": "sqsh", + "version": "2.5.16.1-r4", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Sybase iSQL replacement", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-1.0-plus", + "declared_license": "GPL", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://downloads.sourceforge.net/project/sqsh/sqsh/sqsh-2.5/sqsh-2.5.16.1.tgz" + }, + { + "file_name": "tds-version.patch", + "url": null + }, + { + "file_name": "freetds-1.2.patch", + "url": null + } + ], + "checksums": [ + { + "file_name": "sqsh-2.5.16.1.tgz", + "sha512": "d011d413f5a21059e1b043c75f0a15ea29d10972b59ea980ebcb010b1b0e16eb377a66d21ba4f3ea4433c4deac5ba80b1af7e858129a306a6611de32da48981c" + }, + { + "file_name": "tds-version.patch", + "sha512": "f73696f016e6a0f3c8f4020ba79b7dc9618c1958872dbb531e31c1b2709d7d7af227a3206b466bda932d8319443c838f6b05042b79b50560a9de842502274798" + }, + { + "file_name": "freetds-1.2.patch", + "sha512": "563bb6805025f2560b0c0bae4528e3ee54d17598c51669848f988d2948dc45b177412d5113259d2af5509ab77ae70e5dfdb4e0eebe9fe5252293d9b57f325934" + } + ] + }, + "purl": "pkg:alpine/sqsh@2.5.16.1-r4", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/sudo/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/sudo/APKBUILD new file mode 100644 index 00000000000..75c804bad43 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/sudo/APKBUILD @@ -0,0 +1,77 @@ +# Contributor: Sören Tempel +# Contributor: Łukasz Jendrysik +# Maintainer: Natanael Copa +pkgname=sudo +pkgver=1.9.6_p1 +if [ "${pkgver%_*}" != "$pkgver" ]; then + _realver=${pkgver%_*}${pkgver#*_} +else + _realver=$pkgver +fi +pkgrel=1 +pkgdesc="Give certain users the ability to run some commands as root" +url="https://www.sudo.ws/sudo/" +arch="all" +license="custom ISC" +makedepends="zlib-dev bash mandoc" +subpackages="$pkgname-doc $pkgname-dev" +source="https://www.sudo.ws/dist/sudo-$_realver.tar.gz + fix-cross-compile.patch + SIGUNUSED.patch + " +options="suid" +builddir="$srcdir/sudo-$_realver" + +# secfixes: +# 1.9.5p2-r0: +# - CVE-2021-3156 +# 1.9.5-r0: +# - CVE-2021-23239 +# - CVE-2021-23240 +# 1.8.31-r0: +# - CVE-2019-18634 +# 1.8.28-r0: +# - CVE-2019-14287 +# 1.8.20_p2-r0: +# - CVE-2017-1000368 + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --libexecdir=/usr/lib \ + --mandir=/usr/share/man \ + --disable-nls \ + --enable-pie \ + --with-env-editor \ + --with-mdoc \ + --without-pam \ + --without-skey \ + --with-sendmail=/usr/sbin/sendmail \ + --with-passprompt="[sudo] password for %p: " + + # Workaround until SIGUNUSED.patch is not needed anymore + rm lib/util/mksiglist.h lib/util/mksigname.h + make -C lib/util DEVEL=1 mksiglist.h mksigname.h + make +} + +check() { + make check +} + +package() { + # the sudo's mkinstalldir script miscreates the leading + # path components with bad permissions. fix this. + install -d -m0755 "$pkgdir"/var "$pkgdir"/var/db + make -j1 DESTDIR="$pkgdir" install + rm -rf "$pkgdir"/var/run + + # Exactly the same as /etc/sudoers + rm "$pkgdir"/etc/sudoers.dist +} + +sha512sums="632dfe72f04ce9a7a5a7236fcd5c09ce4535e695ced49d24dd848e3a7b1bea7380df44188b9e475af4271069539b5a5816948a98fbb0649ebebaba8b4c4b7745 sudo-1.9.6p1.tar.gz +f476bb5ac02c3222d3be7eecb828131374e0baf806cc0fd548fb9d4a90f40a848d0ef58851a63ea1d988b720fe259312f3a457ca994ac0e93ed9e16fc72d5234 fix-cross-compile.patch +03a2cef9fcc26cc2711edb5928c945fcf214b22139bb88d77538d25f3bfd144d17b6c9dabb1e01960ac1697d83b3452397a5ef4c7d0e68ea72548a631b212e6d SIGUNUSED.patch" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/sudo/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/sudo/APKBUILD-expected.json new file mode 100644 index 00000000000..bc6037d0adf --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/sudo/APKBUILD-expected.json @@ -0,0 +1,65 @@ +{ + "type": "alpine", + "namespace": null, + "name": "sudo", + "version": "1.9.6_p1-r1", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Give certain users the ability to run some commands as root", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "unknown-license-reference AND isc", + "declared_license": "custom ISC", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://www.sudo.ws/dist/sudo-1.9.6p1.tar.gz" + }, + { + "file_name": "fix-cross-compile.patch", + "url": null + }, + { + "file_name": "SIGUNUSED.patch", + "url": null + } + ], + "checksums": [ + { + "file_name": "sudo-1.9.6p1.tar.gz", + "sha512": "632dfe72f04ce9a7a5a7236fcd5c09ce4535e695ced49d24dd848e3a7b1bea7380df44188b9e475af4271069539b5a5816948a98fbb0649ebebaba8b4c4b7745" + }, + { + "file_name": "fix-cross-compile.patch", + "sha512": "f476bb5ac02c3222d3be7eecb828131374e0baf806cc0fd548fb9d4a90f40a848d0ef58851a63ea1d988b720fe259312f3a457ca994ac0e93ed9e16fc72d5234" + }, + { + "file_name": "SIGUNUSED.patch", + "sha512": "03a2cef9fcc26cc2711edb5928c945fcf214b22139bb88d77538d25f3bfd144d17b6c9dabb1e01960ac1697d83b3452397a5ef4c7d0e68ea72548a631b212e6d" + } + ] + }, + "purl": "pkg:alpine/sudo@1.9.6_p1-r1", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/util-linux/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/util-linux/APKBUILD new file mode 100644 index 00000000000..aaff65518cf --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/util-linux/APKBUILD @@ -0,0 +1,159 @@ +# Contributor: Sören Tempel +# Contributor: Leonardo Arena +# Maintainer: Natanael Copa +pkgname=util-linux +pkgver=2.37 + +case $pkgver in + *.*.*) _v=${pkgver%.*};; + *.*) _v=$pkgver;; +esac + +pkgrel=0 +pkgdesc="Random collection of Linux utilities" +url="https://git.kernel.org/cgit/utils/util-linux/util-linux.git" +arch="all" +license="GPL-3.0-or-later AND GPL-2.0-or-later AND GPL-2.0-only AND + LGPL-2.1-or-later AND BSD-3-Clause AND BSD-4-Clause-UC AND Public-Domain" +depends="blkid setpriv findmnt mcookie hexdump lsblk sfdisk cfdisk partx flock logger uuidgen" +makedepends_build="autoconf automake libtool" +makedepends_host="zlib-dev ncurses-dev linux-headers libcap-ng-dev" +options="suid" +source="https://www.kernel.org/pub/linux/utils/util-linux/v$_v/util-linux-$pkgver.tar.xz + ttydefaults.h + rfkill.confd + rfkill.initd + " +subpackages="$pkgname-doc $pkgname-dev $pkgname-bash-completion:bashcomp:noarch $pkgname-openrc + libblkid:_mv_lib + libfdisk:_mv_lib + libmount:_mv_lib + libsmartcols:_mv_lib + libuuid:_mv_lib + + lsblk:_mv_bin + blkid:_mv_bin + cfdisk:_mv_bin + findmnt:_mv_bin + hexdump:_mv_bin + mcookie:_mv_bin + partx:_mv_bin + setpriv:_mv_bin + sfdisk:_mv_bin + flock:_mv_bin + logger:_mv_bin + uuidgen:_mv_bin + " +if [ -z "$BOOTSTRAP" ]; then + makedepends_host="$makedepends_host linux-pam-dev python3-dev libeconf-dev" + subpackages="$subpackages py3-libmount:_py3 runuser:_mv_bin" + _bootstrap_config="--enable-runuser --with-python=3 --with-econf" +else + _bootstrap_config="--without-python --without-econf" +fi +makedepends="$makedepends_build $makedepends_host" + +prepare() { + default_prepare + + cp "$srcdir"/ttydefaults.h include/ + libtoolize --force && aclocal -I m4 && autoconf \ + && automake --add-missing +} + +build() { + # login utils are provided by shadow (with PAM) or busybox (no PAM) --nenolod + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --with-sysroot=$CBUILDROOT \ + --prefix=/usr \ + --disable-chfn-chsh \ + --enable-raw \ + --disable-uuidd \ + --disable-nls \ + --disable-tls \ + --disable-kill \ + --disable-login \ + --disable-last \ + --disable-sulogin \ + --disable-su \ + --with-vendordir=/usr/lib \ + $_bootstrap_config + make +} + +package() { + make -j1 DESTDIR="$pkgdir" -C "$builddir" install + # use pkg-config + install -D -m755 "$srcdir"/rfkill.initd "$pkgdir"/etc/init.d/rfkill + install -D -m644 "$srcdir"/rfkill.confd "$pkgdir"/etc/conf.d/rfkill +} + +_mv_bin() { + local _bin=$subpkgname + pkgdesc="$_bin from util-linux" + depends= + case "$_bin" in + blkid) pkgdesc="Block device identification tool from util-linux";; + sfdisk) pkgdesc="Partition table manipulator from util-linux";; + cfdisk) pkgdesc="Curses based partition table manipulator from util-linux";; + setpriv) pkgdesc="Run a program with different Linux privilege settings";; + runuser) pkgdesc="Run a program with substitute user and group ID";; + flock) pkgdesc="File locker from util-linux";; + logger) pkgdesc="Logger from util-linux";; + uuidgen) pkgdesc="UUID generator from util-linux";; + *);; + esac + local _path; for _path in usr/bin usr/sbin bin sbin; do + if [ -e "$pkgdir"/$_path/$_bin ]; then + mkdir -p "$subpkgdir"/$_path + mv "$pkgdir"/$_path/$_bin "$subpkgdir"/$_path/ + return 0 + fi + done + return 1 +} + +_mv_lib() { + local _lib="$subpkgname" + depends= + case "$_lib" in + libuuid) pkgdesc="DCE compatible Universally Unique Identifier library";; + libblkid) pkgdesc="Block device identification library from util-linux";; + libmount) pkgdesc="Block device identification library from util-linux";; + libsmartcols) pkgdesc="Formatting library for ls-like programs.";; + libfdisk) pkgdesc="Partitioning library for fdisk-like programs";; + esac + mkdir -p "$subpkgdir"/lib + mv "$pkgdir"/lib/$_lib.so.* "$subpkgdir"/lib/ +} + +dev() { + depends_dev="$depends_dev util-linux=$pkgver-r$pkgrel" + default_dev +} + +bashcomp() { + pkgdesc="Bash completions for $pkgname" + depends="" + install_if="$pkgname=$pkgver-r$pkgrel bash-completion" + + mkdir -p "$subpkgdir"/usr/share/ + mv "$pkgdir"/usr/share/bash-completion \ + "$subpkgdir"/usr/share/ +} + +_py3() { + pkgdesc="python3 bindings to libmount" + depends= + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/ +} + +sha512sums=" +84cf1df46165f286caa1a1204b335dc1fc826a8e1d52a817c28eb80ef19734eccd6efdfb078e87ade9e4381a9102e59d4df83e9bb100e4c73aff2aa4bfb85615 util-linux-2.37.tar.xz +876bb9041eca1b2cca1e9aac898f282db576f7860aba690a95c0ac629d7c5b2cdeccba504dda87ff55c2a10b67165985ce16ca41a0694a267507e1e0cafd46d9 ttydefaults.h +401d2ccbdbfb0ebd573ac616c1077e2c2b79ff03e9221007759d8ac25eb522c401f705abbf7daac183d5e8017982b8ec5dd0a5ebad39507c5bb0a9f31f04ee97 rfkill.confd +c4e7ba6d257496c99934add2ca532db16fb070ea2367554587c9fb4e24ab1d80b8ba3fd0fd4fdd5ef1374c3ec6414007369b292ee334ef23171d0232ef709db2 rfkill.initd +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/util-linux/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/util-linux/APKBUILD-expected.json new file mode 100644 index 00000000000..a00d50057f8 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/main/util-linux/APKBUILD-expected.json @@ -0,0 +1,73 @@ +{ + "type": "alpine", + "namespace": null, + "name": "util-linux", + "version": "2.37-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Random collection of Linux utilities", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-3.0-plus AND gpl-2.0-plus AND gpl-2.0 AND lgpl-2.1-plus AND bsd-new AND bsd-original-uc AND public-domain", + "declared_license": "GPL-3.0-or-later AND GPL-2.0-or-later AND GPL-2.0-only AND\n\tLGPL-2.1-or-later AND BSD-3-Clause AND BSD-4-Clause-UC AND Public-Domain", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://www.kernel.org/pub/linux/utils/util-linux/v2.37/util-linux-2.37.tar.xz" + }, + { + "file_name": "ttydefaults.h", + "url": null + }, + { + "file_name": "rfkill.confd", + "url": null + }, + { + "file_name": "rfkill.initd", + "url": null + } + ], + "checksums": [ + { + "file_name": "util-linux-2.37.tar.xz", + "sha512": "84cf1df46165f286caa1a1204b335dc1fc826a8e1d52a817c28eb80ef19734eccd6efdfb078e87ade9e4381a9102e59d4df83e9bb100e4c73aff2aa4bfb85615" + }, + { + "file_name": "ttydefaults.h", + "sha512": "876bb9041eca1b2cca1e9aac898f282db576f7860aba690a95c0ac629d7c5b2cdeccba504dda87ff55c2a10b67165985ce16ca41a0694a267507e1e0cafd46d9" + }, + { + "file_name": "rfkill.confd", + "sha512": "401d2ccbdbfb0ebd573ac616c1077e2c2b79ff03e9221007759d8ac25eb522c401f705abbf7daac183d5e8017982b8ec5dd0a5ebad39507c5bb0a9f31f04ee97" + }, + { + "file_name": "rfkill.initd", + "sha512": "c4e7ba6d257496c99934add2ca532db16fb070ea2367554587c9fb4e24ab1d80b8ba3fd0fd4fdd5ef1374c3ec6414007369b292ee334ef23171d0232ef709db2" + } + ] + }, + "purl": "pkg:alpine/util-linux@2.37-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/testing/linux-edge/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/testing/linux-edge/APKBUILD new file mode 100644 index 00000000000..cd32c1334b0 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/testing/linux-edge/APKBUILD @@ -0,0 +1,230 @@ +# Maintainer: Milan P. Stanić + +_flavor=edge +pkgname=linux-${_flavor} +# NOTE: this kernel is intended for testing +# please resist urge to upgrade it blindly +pkgver=5.12.10 +case $pkgver in + *.*.*) _kernver=${pkgver%.*};; + *.*) _kernver=$pkgver;; +esac +pkgrel=0 +pkgdesc="Linux latest stable kernel" +url="https://www.kernel.org" +depends="mkinitfs" +_depends_dev="perl gmp-dev elfutils-dev bash flex bison" +makedepends="$_depends_dev sed installkernel bc linux-headers linux-firmware-any openssl-dev + diffutils findutils xz" +options="!strip" +_config=${config:-config-edge.${CARCH}} +install= + +subpackages="$pkgname-dev:_dev:$CBUILD_ARCH" +source="https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/linux-$_kernver.tar.xz" +case $pkgver in + *.*.0) source="$source";; + *.*.*) source="$source + https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/patch-$pkgver.xz" ;; +esac + + source="$source + config-edge.aarch64 + config-edge.armv7 + config-edge.x86_64 + config-edge-virt.aarch64 + config-edge-virt.armv7 + config-edge-virt.x86_64 + " + +arch="armv7 aarch64 x86_64" +license="GPL-2.0" + +_flavors= +for _i in $source; do + case $_i in + config-*.$CARCH) + _f=${_i%.$CARCH} + _f=${_f#config-} + _flavors="$_flavors ${_f}" + if [ "linux-$_f" != "$pkgname" ]; then + subpackages="$subpackages linux-${_f}::$CBUILD_ARCH linux-${_f}-dev:_dev:$CBUILD_ARCH" + fi + ;; + esac +done + +_carch=${CARCH} +case "$_carch" in +aarch64*) _carch="arm64" ;; +arm*) _carch="arm" ;; +esac + +prepare() { + local _patch_failed= + cd "$srcdir"/linux-$_kernver + case $pkgver in + *.*.0);; + *) + msg "Applying patch-$pkgver.xz" + unxz -c < "$srcdir"/patch-$pkgver.xz | patch -p1 -N ;; + esac + + # first apply patches in specified order + for i in $source; do + case $i in + *.patch) + msg "Applying $i..." + if ! patch -s -p1 -N -i "$srcdir"/$i; then + echo $i >>failed + _patch_failed=1 + fi + ;; + esac + done + + if ! [ -z "$_patch_failed" ]; then + error "The following patches failed:" + cat failed + return 1 + fi + + # remove localversion from patch if any + rm -f localversion* + oldconfig +} + +oldconfig() { + for i in $_flavors; do + local _config=config-$i.${CARCH} + local _builddir="$srcdir"/build-$i.$CARCH + mkdir -p "$_builddir" + echo "-$pkgrel-$i" > "$_builddir"/localversion-alpine \ + || return 1 + + cp "$srcdir"/$_config "$_builddir"/.config + make -C "$srcdir"/linux-$_kernver \ + O="$_builddir" \ + ARCH="$_carch" \ + listnewconfig oldconfig + done +} + +build() { + unset LDFLAGS + export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})" + for i in $_flavors; do + cd "$srcdir"/build-$i.$CARCH + make ARCH="$_carch" CC="${CC:-gcc}" \ + KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-Alpine" + done +} + +_package() { + local _buildflavor="$1" _outdir="$2" + local _abi_release=${pkgver}-${pkgrel}-${_buildflavor} + export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})" + + cd "$srcdir"/build-$_buildflavor.$CARCH + # modules_install seems to regenerate a defect Modules.symvers on s390x. Work + # around it by backing it up and restore it after modules_install + cp Module.symvers Module.symvers.backup + + mkdir -p "$_outdir"/boot "$_outdir"/lib/modules + + local _install + case "$CARCH" in + arm*|aarch64) _install="zinstall dtbs_install";; + *) _install=install;; + esac + + make -j1 modules_install $_install \ + ARCH="$_carch" \ + INSTALL_MOD_PATH="$_outdir" \ + INSTALL_PATH="$_outdir"/boot \ + INSTALL_DTBS_PATH="$_outdir/boot/dtbs-$_buildflavor" + + cp Module.symvers.backup Module.symvers + + rm -f "$_outdir"/lib/modules/${_abi_release}/build \ + "$_outdir"/lib/modules/${_abi_release}/source + rm -rf "$_outdir"/lib/firmware + + install -D include/config/kernel.release \ + "$_outdir"/usr/share/kernel/$_buildflavor/kernel.release +} + +# main flavor installs in $pkgdir +package() { + depends="$depends linux-firmware-any" + + _package edge "$pkgdir" +} + +# subflavors install in $subpkgdir +virt() { + _package edge-virt "$subpkgdir" +} + +_dev() { + local _flavor=$(echo $subpkgname | sed -E 's/(^linux-|-dev$)//g') + local _abi_release=${pkgver}-${pkgrel}-$_flavor + # copy the only the parts that we really need for build 3rd party + # kernel modules and install those as /usr/src/linux-headers, + # simlar to what ubuntu does + # + # this way you dont need to install the 300-400 kernel sources to + # build a tiny kernel module + # + pkgdesc="Headers and script for third party modules for $_flavor kernel" + depends="$_depends_dev" + local dir="$subpkgdir"/usr/src/linux-headers-${_abi_release} + export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})" + + # first we import config, run prepare to set up for building + # external modules, and create the scripts + mkdir -p "$dir" + cp "$srcdir"/config-$_flavor.${CARCH} "$dir"/.config + echo "-$pkgrel-$_flavor" > "$dir"/localversion-alpine + + make -j1 -C "$srcdir"/linux-$_kernver O="$dir" ARCH="$_carch" \ + syncconfig prepare modules_prepare scripts + + # remove the stuff that points to real sources. we want 3rd party + # modules to believe this is the soruces + rm "$dir"/Makefile "$dir"/source + + # copy the needed stuff from real sources + # + # this is taken from ubuntu kernel build script + # http://kernel.ubuntu.com/git/ubuntu/ubuntu-zesty.git/tree/debian/rules.d/3-binary-indep.mk + cd "$srcdir"/linux-$_kernver + find . -path './include/*' -prune \ + -o -path './scripts/*' -prune -o -type f \ + \( -name 'Makefile*' -o -name 'Kconfig*' -o -name 'Kbuild*' -o \ + -name '*.sh' -o -name '*.pl' -o -name '*.lds' -o -name 'Platform' \) \ + -print | cpio -pdm "$dir" + + cp -a scripts include "$dir" + + find $(find arch -name include -type d -print) -type f \ + | cpio -pdm "$dir" + + install -Dm644 "$srcdir"/build-$_flavor.$CARCH/Module.symvers \ + "$dir"/Module.symvers + + mkdir -p "$subpkgdir"/lib/modules/${_abi_release} + ln -sf /usr/src/linux-headers-${_abi_release} \ + "$subpkgdir"/lib/modules/${_abi_release}/build +} + +sha512sums=" +be03b6fee1d1ea8087b09874d27c0a602c0b04fd90ad38b975bd2c8455a07e83c29b56814aaf1389e82305fae0e4c2d1701075a7f0a7295dd28149f967ec5b3d linux-5.12.tar.xz +df9e2b7ff789a5f92354ff046f06b92ff9e3c2eabe59e7cc806ca6372fba10555c84bf1074176beda22058fc1dcf95abec8f86e201cdb243d8df200fd2991b1f patch-5.12.10.xz +3daf0a9cb3c0dcc340f4f8b4ea7b7d77b0d4fe80ce105a3bb92eeb1662a2c567e97bebb698c4f1823daf0db9068de0392c37a29216e40e4c655355cbc74cb81a config-edge.aarch64 +b40586b97374b4cfd309e3544dffca5d098f689f8e10d95a3a28d7458f7404d836f573407aa80c52a4454e3d892983280b5619120c4cf0d136f6342065451428 config-edge.armv7 +0dfe37ffcdd7c8a859e687f70263c16dd69c870b2bc1d8a75d9219a1f77988d9e7e2592faad9ca7e91e9c8839e10f95affa869d23333772bca4b1c53aa4eb041 config-edge.x86_64 +4c8a2c2ce693edf514c5dac6d40fe89fe846238a3386c924944301346d01e9030086edaf73de9bff511c420ed8c951acd10e12caa3d72b15855833c8fdca6608 config-edge-virt.aarch64 +ea35f51e56a8a84c154a5cdc10262c1c041c5382705835ddd68b6f832eaef90524011b212e17328cb21d43b9d7fc7ef85f3b1080ebd2760a426bfe6bd905b2ea config-edge-virt.armv7 +36af3a69f4b25c85c5807c8bdd81f6c0203aee9c6f9c33fe297532bb5129d280f11c696d9c70bc94b4a1f4bca94910c9711c135add9e61acdaa777ac14cafa4c config-edge-virt.x86_64 +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/testing/linux-edge/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/testing/linux-edge/APKBUILD-expected.json new file mode 100644 index 00000000000..ef4ec090872 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/testing/linux-edge/APKBUILD-expected.json @@ -0,0 +1,77 @@ +{ + "type": "alpine", + "namespace": null, + "name": "linux-edge", + "version": "5.12.10-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Linux latest stable kernel", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0", + "declared_license": "GPL-2.0", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.12.tar.xz" + } + ], + "checksums": [ + { + "file_name": "linux-5.12.tar.xz", + "sha512": "be03b6fee1d1ea8087b09874d27c0a602c0b04fd90ad38b975bd2c8455a07e83c29b56814aaf1389e82305fae0e4c2d1701075a7f0a7295dd28149f967ec5b3d" + }, + { + "file_name": "patch-5.12.10.xz", + "sha512": "df9e2b7ff789a5f92354ff046f06b92ff9e3c2eabe59e7cc806ca6372fba10555c84bf1074176beda22058fc1dcf95abec8f86e201cdb243d8df200fd2991b1f" + }, + { + "file_name": "config-edge.aarch64", + "sha512": "3daf0a9cb3c0dcc340f4f8b4ea7b7d77b0d4fe80ce105a3bb92eeb1662a2c567e97bebb698c4f1823daf0db9068de0392c37a29216e40e4c655355cbc74cb81a" + }, + { + "file_name": "config-edge.armv7", + "sha512": "b40586b97374b4cfd309e3544dffca5d098f689f8e10d95a3a28d7458f7404d836f573407aa80c52a4454e3d892983280b5619120c4cf0d136f6342065451428" + }, + { + "file_name": "config-edge.x86_64", + "sha512": "0dfe37ffcdd7c8a859e687f70263c16dd69c870b2bc1d8a75d9219a1f77988d9e7e2592faad9ca7e91e9c8839e10f95affa869d23333772bca4b1c53aa4eb041" + }, + { + "file_name": "config-edge-virt.aarch64", + "sha512": "4c8a2c2ce693edf514c5dac6d40fe89fe846238a3386c924944301346d01e9030086edaf73de9bff511c420ed8c951acd10e12caa3d72b15855833c8fdca6608" + }, + { + "file_name": "config-edge-virt.armv7", + "sha512": "ea35f51e56a8a84c154a5cdc10262c1c041c5382705835ddd68b6f832eaef90524011b212e17328cb21d43b9d7fc7ef85f3b1080ebd2760a426bfe6bd905b2ea" + }, + { + "file_name": "config-edge-virt.x86_64", + "sha512": "36af3a69f4b25c85c5807c8bdd81f6c0203aee9c6f9c33fe297532bb5129d280f11c696d9c70bc94b4a1f4bca94910c9711c135add9e61acdaa777ac14cafa4c" + } + ] + }, + "purl": "pkg:alpine/linux-edge@5.12.10-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/testing/linux-elm/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/testing/linux-elm/APKBUILD new file mode 100644 index 00000000000..43fa48ddcfc --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/testing/linux-elm/APKBUILD @@ -0,0 +1,244 @@ +# Maintainer: Milan P. Stanić + +_flavor=elm +pkgname=linux-${_flavor} +# NOTE: this kernel is intended for testing +# please resist urge to upgrade it blindly +pkgver=5.12.10 +case $pkgver in + *.*.*) _kernver=${pkgver%.*};; + *.*) _kernver=$pkgver;; +esac +pkgrel=0 +pkgdesc="Linux latest stable kernel for elm chromebooks" +url="https://www.kernel.org" +#depends="mkinitfs linux-firmware-any" +_depends_dev="perl gmp-dev elfutils-dev bash flex bison" +makedepends="$_depends_dev sed installkernel bc linux-headers linux-firmware-any openssl-dev + diffutils findutils vboot-utils u-boot-tools dtc" +options="!strip" +_config=${config:-config-elm.${CARCH}} +install= + +subpackages="$pkgname-dev:_dev:$CBUILD_ARCH" +source="https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/linux-$_kernver.tar.xz" +case $pkgver in + *.*.0) source="$source";; + *.*.*) source="$source + https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/patch-$pkgver.xz" ;; +esac + + source="$source + config-elm.aarch64 + kernel.its.elm + fix-mmc1-speed.patch + fix-spi-nor-max-frequency.patch + fix-mmc-order.patch + " + +arch="aarch64" +license="GPL-2.0" + +_flavors= +for _i in $source; do + case $_i in + config-*.$CARCH) + _f=${_i%.$CARCH} + _f=${_f#config-} + _flavors="$_flavors ${_f}" + if [ "linux-$_f" != "$pkgname" ]; then + subpackages="$subpackages linux-${_f}::$CBUILD_ARCH linux-${_f}-dev:_dev:$CBUILD_ARCH" + fi + ;; + esac +done + +_carch=${CARCH} +case "$_carch" in +aarch64*) _carch="arm64" ;; +arm*) _carch="arm" ;; +esac + +prepare() { + local _patch_failed= + cd "$srcdir"/linux-$_kernver + case $pkgver in + *.*.0);; + *) + msg "Applying patch-$pkgver.xz" + unxz -c < "$srcdir"/patch-$pkgver.xz | patch -p1 -N ;; + esac + + # first apply patches in specified order + for i in $source; do + case $i in + *.patch) + msg "Applying $i..." + if ! patch -s -p1 -N -i "$srcdir"/$i; then + echo $i >>failed + _patch_failed=1 + fi + ;; + esac + done + + if ! [ -z "$_patch_failed" ]; then + error "The following patches failed:" + cat failed + return 1 + fi + + # remove localversion from patch if any + rm -f localversion* + oldconfig +} + +oldconfig() { + for i in $_flavors; do + local _config=config-$i.${CARCH} + local _builddir="$srcdir"/build-$i.$CARCH + mkdir -p "$_builddir" + echo "-$pkgrel-$i" > "$_builddir"/localversion-alpine \ + || return 1 + + cp "$srcdir"/$_config "$_builddir"/.config + make -C "$srcdir"/linux-$_kernver \ + O="$_builddir" \ + ARCH="$_carch" \ + listnewconfig oldconfig + done +} + +build() { + unset LDFLAGS + export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})" + for i in $_flavors; do + cd "$srcdir"/build-$i.$CARCH + make ARCH="$_carch" CC="${CC:-gcc}" \ + KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-Alpine" + done +} + +_package() { + local _buildflavor="$1" _outdir="$2" + local _abi_release=${pkgver}-${pkgrel}-${_buildflavor} + export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})" + + cd "$srcdir"/build-$_buildflavor.$CARCH + # modules_install seems to regenerate a defect Modules.symvers on s390x. Work + # around it by backing it up and restore it after modules_install + cp Module.symvers Module.symvers.backup + + mkdir -p "$_outdir"/boot "$_outdir"/lib/modules + + local _install + case "$CARCH" in + arm*|aarch64) _install="zinstall dtbs_install";; + *) _install=install;; + esac + + make -j1 modules_install $_install \ + ARCH="$_carch" \ + INSTALL_MOD_PATH="$_outdir" \ + INSTALL_PATH="$_outdir"/boot \ + INSTALL_DTBS_PATH="$_outdir/boot/dtbs-$_buildflavor" + + cp Module.symvers.backup Module.symvers + + rm -f "$_outdir"/lib/modules/${_abi_release}/build \ + "$_outdir"/lib/modules/${_abi_release}/source + rm -rf "$_outdir"/lib/firmware + + install -D include/config/kernel.release \ + "$_outdir"/usr/share/kernel/$_buildflavor/kernel.release +} + +# main flavor installs in $pkgdir +package() { + + _package elm "$pkgdir" + local _builddir="$srcdir"/build-$_flavor.$CARCH + cd $_builddir + cp $srcdir/kernel.its.elm . + mkimage -D "-I dts -O dtb -p 2048" -f kernel.its.elm vmlinux.uimg + + dd if=/dev/zero of=bootloader.bin bs=512 count=1 + echo "console=tty1 earlyprintk=tty1 init=/sbin/init root=PARTUUID=%U/PARTNROFF=1 rootwait rw noinitrd loglevel=7" > cmdline + vbutil_kernel \ + --pack $pkgdir/boot/vmlinux.kpart-$pkgver-$pkgrel-$_flavor \ + --version 1 \ + --vmlinuz vmlinux.uimg \ + --arch aarch64 \ + --keyblock /usr/share/vboot/devkeys/kernel.keyblock \ + --signprivate kernel_data_key.vbprivk \ + --signprivate /usr/share/vboot/devkeys/kernel_data_key.vbprivk \ + --config cmdline \ + --bootloader bootloader.bin + + rm cmdline bootloader.bin + rm $pkgdir/boot/vmlinuz-elm + cd $pkgdir/boot + ln -s vmlinux.kpart-$pkgver-$pkgrel-$_flavor vmlinux.kpart +} + +_dev() { + local _flavor=$(echo $subpkgname | sed -E 's/(^linux-|-dev$)//g') + local _abi_release=${pkgver}-${pkgrel}-$_flavor + # copy the only the parts that we really need for build 3rd party + # kernel modules and install those as /usr/src/linux-headers, + # simlar to what ubuntu does + # + # this way you dont need to install the 300-400 kernel sources to + # build a tiny kernel module + # + pkgdesc="Headers and script for third party modules for $_flavor kernel" + depends="$_depends_dev" + local dir="$subpkgdir"/usr/src/linux-headers-${_abi_release} + export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})" + + # first we import config, run prepare to set up for building + # external modules, and create the scripts + mkdir -p "$dir" + cp "$srcdir"/config-$_flavor.${CARCH} "$dir"/.config + echo "-$pkgrel-$_flavor" > "$dir"/localversion-alpine + + make -j1 -C "$srcdir"/linux-$_kernver O="$dir" ARCH="$_carch" \ + syncconfig prepare modules_prepare scripts + + # remove the stuff that points to real sources. we want 3rd party + # modules to believe this is the soruces + rm "$dir"/Makefile "$dir"/source + + # copy the needed stuff from real sources + # + # this is taken from ubuntu kernel build script + # http://kernel.ubuntu.com/git/ubuntu/ubuntu-zesty.git/tree/debian/rules.d/3-binary-indep.mk + cd "$srcdir"/linux-$_kernver + find . -path './include/*' -prune \ + -o -path './scripts/*' -prune -o -type f \ + \( -name 'Makefile*' -o -name 'Kconfig*' -o -name 'Kbuild*' -o \ + -name '*.sh' -o -name '*.pl' -o -name '*.lds' -o -name 'Platform' \) \ + -print | cpio -pdm "$dir" + + cp -a scripts include "$dir" + + find $(find arch -name include -type d -print) -type f \ + | cpio -pdm "$dir" + + install -Dm644 "$srcdir"/build-$_flavor.$CARCH/Module.symvers \ + "$dir"/Module.symvers + + mkdir -p "$subpkgdir"/lib/modules/${_abi_release} + ln -sf /usr/src/linux-headers-${_abi_release} \ + "$subpkgdir"/lib/modules/${_abi_release}/build +} + +sha512sums=" +be03b6fee1d1ea8087b09874d27c0a602c0b04fd90ad38b975bd2c8455a07e83c29b56814aaf1389e82305fae0e4c2d1701075a7f0a7295dd28149f967ec5b3d linux-5.12.tar.xz +df9e2b7ff789a5f92354ff046f06b92ff9e3c2eabe59e7cc806ca6372fba10555c84bf1074176beda22058fc1dcf95abec8f86e201cdb243d8df200fd2991b1f patch-5.12.10.xz +5d0fe10b27d22eaa8218baaeec260fe2c1f0ca938fb279636bb7902bda9ce2ba40752fb6933f0ad3e39fe3853b0d6cdf391f6f6fca71325d3606d2568b732a88 config-elm.aarch64 +112af92af4a3f61867ffc20076d057845aa8c9139e58153d0c88f4d7185d9a9628fa79d4edfa8855f095fb70d257bfbd7c4573a7431d4b17706415b411a50775 kernel.its.elm +65c57a6d9a5bd5b6ec8798d1c46091bb72377ed1349b66e9a0a1a50ffa077f044f2bfdd30eab974c9c9774fc62d8dd5020a38432d108fce7f4fc1ed6648ea703 fix-mmc1-speed.patch +9e17fb96b81590da0f9b0917ddd2b9d195bab5cde2a4e7feb19991c50a8ac8e4502445715153ced8666e5b6575137c1d49899bb0ae9ab4505ed8f1ff7e569269 fix-spi-nor-max-frequency.patch +00e7afdab1dc89a6e0426829685d85cebb98fb95cb13a253d01326fd22f78ddf792bbe3b5be4c9bc93784f1fa93f87f604a4b6c6710660319db6f2e35dd09835 fix-mmc-order.patch +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/testing/linux-elm/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/testing/linux-elm/APKBUILD-expected.json new file mode 100644 index 00000000000..4864b227945 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/testing/linux-elm/APKBUILD-expected.json @@ -0,0 +1,73 @@ +{ + "type": "alpine", + "namespace": null, + "name": "linux-elm", + "version": "5.12.10-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Linux latest stable kernel for elm chromebooks", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0", + "declared_license": "GPL-2.0", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.12.tar.xz" + } + ], + "checksums": [ + { + "file_name": "linux-5.12.tar.xz", + "sha512": "be03b6fee1d1ea8087b09874d27c0a602c0b04fd90ad38b975bd2c8455a07e83c29b56814aaf1389e82305fae0e4c2d1701075a7f0a7295dd28149f967ec5b3d" + }, + { + "file_name": "patch-5.12.10.xz", + "sha512": "df9e2b7ff789a5f92354ff046f06b92ff9e3c2eabe59e7cc806ca6372fba10555c84bf1074176beda22058fc1dcf95abec8f86e201cdb243d8df200fd2991b1f" + }, + { + "file_name": "config-elm.aarch64", + "sha512": "5d0fe10b27d22eaa8218baaeec260fe2c1f0ca938fb279636bb7902bda9ce2ba40752fb6933f0ad3e39fe3853b0d6cdf391f6f6fca71325d3606d2568b732a88" + }, + { + "file_name": "kernel.its.elm", + "sha512": "112af92af4a3f61867ffc20076d057845aa8c9139e58153d0c88f4d7185d9a9628fa79d4edfa8855f095fb70d257bfbd7c4573a7431d4b17706415b411a50775" + }, + { + "file_name": "fix-mmc1-speed.patch", + "sha512": "65c57a6d9a5bd5b6ec8798d1c46091bb72377ed1349b66e9a0a1a50ffa077f044f2bfdd30eab974c9c9774fc62d8dd5020a38432d108fce7f4fc1ed6648ea703" + }, + { + "file_name": "fix-spi-nor-max-frequency.patch", + "sha512": "9e17fb96b81590da0f9b0917ddd2b9d195bab5cde2a4e7feb19991c50a8ac8e4502445715153ced8666e5b6575137c1d49899bb0ae9ab4505ed8f1ff7e569269" + }, + { + "file_name": "fix-mmc-order.patch", + "sha512": "00e7afdab1dc89a6e0426829685d85cebb98fb95cb13a253d01326fd22f78ddf792bbe3b5be4c9bc93784f1fa93f87f604a4b6c6710660319db6f2e35dd09835" + } + ] + }, + "purl": "pkg:alpine/linux-elm@5.12.10-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/testing/linux-gru/APKBUILD b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/testing/linux-gru/APKBUILD new file mode 100644 index 00000000000..557a8466936 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/testing/linux-gru/APKBUILD @@ -0,0 +1,241 @@ +# Maintainer: Milan P. Stanić + +_flavor=gru +pkgname=linux-${_flavor} +# NOTE: this kernel is intended for testing +# please resist urge to upgrade it blindly +pkgver=5.12.10 +case $pkgver in + *.*.*) _kernver=${pkgver%.*};; + *.*) _kernver=$pkgver;; +esac +pkgrel=0 +pkgdesc="Linux latest stable kernel for gru chromebooks" +url="https://www.kernel.org" +_depends_dev="perl gmp-dev elfutils-dev bash flex bison" +makedepends="$_depends_dev sed installkernel bc linux-headers linux-firmware-any openssl-dev + diffutils findutils vboot-utils uboot-tools dtc" +options="!strip" +_config=${config:-config-gru.${CARCH}} +#install= + +#subpackages="$pkgname-dev:_dev:$CBUILD_ARCH" +source="https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/linux-$_kernver.tar.xz" +case $pkgver in + *.*.0) source="$source";; + *.*.*) source="$source + https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/patch-$pkgver.xz" ;; +esac + + source="$source + config-gru.aarch64 + kernel.its.gru + fix-gru-analogix_dp_core.patch + fix-rk3399-mmc-order.patch + " + +arch="aarch64" +license="GPL-2.0" + +_flavors= +for _i in $source; do + case $_i in + config-*.$CARCH) + _f=${_i%.$CARCH} + _f=${_f#config-} + _flavors="$_flavors ${_f}" + if [ "linux-$_f" != "$pkgname" ]; then + subpackages="$subpackages linux-${_f}::$CBUILD_ARCH linux-${_f}-dev:_dev:$CBUILD_ARCH" + fi + ;; + esac +done + +_carch=${CARCH} +case "$_carch" in +aarch64*) _carch="arm64" ;; +arm*) _carch="arm" ;; +esac + +prepare() { + local _patch_failed= + cd "$srcdir"/linux-$_kernver + case $pkgver in + *.*.0);; + *) + msg "Applying patch-$pkgver.xz" + unxz -c < "$srcdir"/patch-$pkgver.xz | patch -p1 -N ;; + esac + + # first apply patches in specified order + for i in $source; do + case $i in + *.patch) + msg "Applying $i..." + if ! patch -s -p1 -N -i "$srcdir"/$i; then + echo $i >>failed + _patch_failed=1 + fi + ;; + esac + done + + if ! [ -z "$_patch_failed" ]; then + error "The following patches failed:" + cat failed + return 1 + fi + + # remove localversion from patch if any + rm -f localversion* + oldconfig +} + +oldconfig() { + for i in $_flavors; do + local _config=config-$i.${CARCH} + local _builddir="$srcdir"/build-$i.$CARCH + mkdir -p "$_builddir" + echo "-$pkgrel-$i" > "$_builddir"/localversion-alpine \ + || return 1 + + cp "$srcdir"/$_config "$_builddir"/.config + make -C "$srcdir"/linux-$_kernver \ + O="$_builddir" \ + ARCH="$_carch" \ + listnewconfig oldconfig + done +} + +build() { + unset LDFLAGS + export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})" + for i in $_flavors; do + cd "$srcdir"/build-$i.$CARCH + make ARCH="$_carch" CC="${CC:-gcc}" \ + KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-Alpine" + done +} + +_package() { + local _buildflavor="$1" _outdir="$2" + local _abi_release=${pkgver}-${pkgrel}-${_buildflavor} + export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})" + + cd "$srcdir"/build-$_buildflavor.$CARCH + # modules_install seems to regenerate a defect Modules.symvers on s390x. Work + # around it by backing it up and restore it after modules_install + cp Module.symvers Module.symvers.backup + + mkdir -p "$_outdir"/boot "$_outdir"/lib/modules + + local _install + case "$CARCH" in + arm*|aarch64) _install="zinstall dtbs_install";; + *) _install=install;; + esac + + make -j1 modules_install $_install \ + ARCH="$_carch" \ + INSTALL_MOD_PATH="$_outdir" \ + INSTALL_PATH="$_outdir"/boot \ + INSTALL_DTBS_PATH="$_outdir/boot/dtbs-$_buildflavor" + + cp Module.symvers.backup Module.symvers + + rm -f "$_outdir"/lib/modules/${_abi_release}/build \ + "$_outdir"/lib/modules/${_abi_release}/source + rm -rf "$_outdir"/lib/firmware + + install -D include/config/kernel.release \ + "$_outdir"/usr/share/kernel/$_buildflavor/kernel.release +} + +# main flavor installs in $pkgdir +package() { + + _package gru "$pkgdir" + local _builddir="$srcdir"/build-$_flavor.$CARCH + cd $_builddir + cp $srcdir/kernel.its.gru . + mkimage -D "-I dts -O dtb -p 2048" -f kernel.its.gru vmlinux.uimg + + dd if=/dev/zero of=bootloader.bin bs=512 count=1 + echo "console=tty1 earlyprintk=tty1 init=/sbin/init root=PARTUUID=%U/PARTNROFF=1 rootwait rw noinitrd loglevel=7" > cmdline + vbutil_kernel \ + --pack $pkgdir/boot/vmlinux.kpart-$pkgver-$pkgrel-$_flavor \ + --version 1 \ + --vmlinuz vmlinux.uimg \ + --arch aarch64 \ + --keyblock /usr/share/vboot/devkeys/kernel.keyblock \ + --signprivate kernel_data_key.vbprivk \ + --signprivate /usr/share/vboot/devkeys/kernel_data_key.vbprivk \ + --config cmdline \ + --bootloader bootloader.bin + + rm cmdline bootloader.bin + rm $pkgdir/boot/vmlinuz-gru + cd $pkgdir/boot + ln -s vmlinux.kpart-$pkgver-$pkgrel-$_flavor vmlinux.kpart +} + +_dev() { + local _flavor=$(echo $subpkgname | sed -E 's/(^linux-|-dev$)//g') + local _abi_release=${pkgver}-${pkgrel}-$_flavor + # copy the only the parts that we really need for build 3rd party + # kernel modules and install those as /usr/src/linux-headers, + # simlar to what ubuntu does + # + # this way you dont need to install the 300-400 kernel sources to + # build a tiny kernel module + # + pkgdesc="Headers and script for third party modules for $_flavor kernel" + depends="$_depends_dev" + local dir="$subpkgdir"/usr/src/linux-headers-${_abi_release} + export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})" + + # first we import config, run prepare to set up for building + # external modules, and create the scripts + mkdir -p "$dir" + cp "$srcdir"/config-$_flavor.${CARCH} "$dir"/.config + echo "-$pkgrel-$_flavor" > "$dir"/localversion-alpine + + make -j1 -C "$srcdir"/linux-$_kernver O="$dir" ARCH="$_carch" \ + syncconfig prepare modules_prepare scripts + + # remove the stuff that points to real sources. we want 3rd party + # modules to believe this is the soruces + rm "$dir"/Makefile "$dir"/source + + # copy the needed stuff from real sources + # + # this is taken from ubuntu kernel build script + # http://kernel.ubuntu.com/git/ubuntu/ubuntu-zesty.git/tree/debian/rules.d/3-binary-indep.mk + cd "$srcdir"/linux-$_kernver + find . -path './include/*' -prune \ + -o -path './scripts/*' -prune -o -type f \ + \( -name 'Makefile*' -o -name 'Kconfig*' -o -name 'Kbuild*' -o \ + -name '*.sh' -o -name '*.pl' -o -name '*.lds' -o -name 'Platform' \) \ + -print | cpio -pdm "$dir" + + cp -a scripts include "$dir" + + find $(find arch -name include -type d -print) -type f \ + | cpio -pdm "$dir" + + install -Dm644 "$srcdir"/build-$_flavor.$CARCH/Module.symvers \ + "$dir"/Module.symvers + + mkdir -p "$subpkgdir"/lib/modules/${_abi_release} + ln -sf /usr/src/linux-headers-${_abi_release} \ + "$subpkgdir"/lib/modules/${_abi_release}/build +} + +sha512sums=" +be03b6fee1d1ea8087b09874d27c0a602c0b04fd90ad38b975bd2c8455a07e83c29b56814aaf1389e82305fae0e4c2d1701075a7f0a7295dd28149f967ec5b3d linux-5.12.tar.xz +df9e2b7ff789a5f92354ff046f06b92ff9e3c2eabe59e7cc806ca6372fba10555c84bf1074176beda22058fc1dcf95abec8f86e201cdb243d8df200fd2991b1f patch-5.12.10.xz +4b5917ba168e6e076f4be2f3ae3a8d0e2387cfdf73c39bcd7688614bdfd16860911b6ea7cc3d9b00ff659f6720958c6b61a031e8bc3aacb018e14ee9aff6468b config-gru.aarch64 +b5a2fbc0560201b4ec1d21e890cc5290c58d0544105a5bfabfe04e76bdf54b64dc07076c40414cedb38b12687cf1ae3f773ecfcac02e3d1edd84f6ef80c951da kernel.its.gru +476188e5a6967fe061293a6d5b540158869f7f09eba3b0eb651bb7948003c050aa7e419c90f3135316f2ce8c1bb4a411bd3c82cde85dddbf17d971c5198893fe fix-gru-analogix_dp_core.patch +9ee86c1b793b0b605720412d276ef7e79766c2d86d3ac1371cd3dce94ed87652310a8938e3a5d0b4ca56c7d46eccb1a52e3f5177844b8ca3f27a9a1f09fec7f6 fix-rk3399-mmc-order.patch +" diff --git a/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/testing/linux-gru/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/testing/linux-gru/APKBUILD-expected.json new file mode 100644 index 00000000000..d59df675bd4 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild-problems/alpine14/testing/linux-gru/APKBUILD-expected.json @@ -0,0 +1,69 @@ +{ + "type": "alpine", + "namespace": null, + "name": "linux-gru", + "version": "5.12.10-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Linux latest stable kernel for gru chromebooks", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0", + "declared_license": "GPL-2.0", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.12.tar.xz" + } + ], + "checksums": [ + { + "file_name": "linux-5.12.tar.xz", + "sha512": "be03b6fee1d1ea8087b09874d27c0a602c0b04fd90ad38b975bd2c8455a07e83c29b56814aaf1389e82305fae0e4c2d1701075a7f0a7295dd28149f967ec5b3d" + }, + { + "file_name": "patch-5.12.10.xz", + "sha512": "df9e2b7ff789a5f92354ff046f06b92ff9e3c2eabe59e7cc806ca6372fba10555c84bf1074176beda22058fc1dcf95abec8f86e201cdb243d8df200fd2991b1f" + }, + { + "file_name": "config-gru.aarch64", + "sha512": "4b5917ba168e6e076f4be2f3ae3a8d0e2387cfdf73c39bcd7688614bdfd16860911b6ea7cc3d9b00ff659f6720958c6b61a031e8bc3aacb018e14ee9aff6468b" + }, + { + "file_name": "kernel.its.gru", + "sha512": "b5a2fbc0560201b4ec1d21e890cc5290c58d0544105a5bfabfe04e76bdf54b64dc07076c40414cedb38b12687cf1ae3f773ecfcac02e3d1edd84f6ef80c951da" + }, + { + "file_name": "fix-gru-analogix_dp_core.patch", + "sha512": "476188e5a6967fe061293a6d5b540158869f7f09eba3b0eb651bb7948003c050aa7e419c90f3135316f2ce8c1bb4a411bd3c82cde85dddbf17d971c5198893fe" + }, + { + "file_name": "fix-rk3399-mmc-order.patch", + "sha512": "9ee86c1b793b0b605720412d276ef7e79766c2d86d3ac1371cd3dce94ed87652310a8938e3a5d0b4ca56c7d46eccb1a52e3f5177844b8ca3f27a9a1f09fec7f6" + } + ] + }, + "purl": "pkg:alpine/linux-gru@5.12.10-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine13/community/abook/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine13/community/abook/APKBUILD new file mode 100644 index 00000000000..d7d2199b971 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine13/community/abook/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Bartłomiej Piotrowski +# Maintainer: ScrumpyJack +pkgname=abook +pkgver=0.6.1 +_ver=${pkgver/_pre/pre} +pkgrel=5 +pkgdesc="Text-based addressbook designed for use with Mutt" +url="http://abook.sourceforge.net" +license="GPL-2.0-or-later" +arch="all" +makedepends="ncurses-dev readline-dev automake autoconf gettext-dev" +subpackages="$pkgname-doc $pkgname-lang" +source="http://$pkgname.sourceforge.net/devel/$pkgname-${_ver}.tar.gz + gcc6.patch" + +builddir="$srcdir"/$pkgname-$_ver +prepare() { + default_prepare + aclocal && automake --add-missing && autoconf -v + sed 's/0.18/0.20/g' -i po/Makefile.in.in +} + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="993895ef2fd6d98d50db610699f8f0a28112778065ac56484373eb814afd8ab7371201fc21506c090514f4b29570ec229dc62c606ab068301152567e2c47fe66 abook-0.6.1.tar.gz +21ab6475512ea9baae1a6509749628d6b610e96e77c64139d09697d272d66556875058e91c9b948c4ebaf65795a97d8532bae25e5d7e71cc4a20af49897cd867 gcc6.patch" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine13/community/abook/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine13/community/abook/APKBUILD-expected.json new file mode 100644 index 00000000000..33cd800307b --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine13/community/abook/APKBUILD-expected.json @@ -0,0 +1,57 @@ +{ + "type": "alpine", + "namespace": null, + "name": "abook", + "version": "0.6.1-r5", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Text-based addressbook designed for use with Mutt", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus", + "declared_license": "GPL-2.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "http://abook.sourceforge.net/devel/abook-0.6.1.tar.gz" + }, + { + "file_name": "gcc6.patch", + "url": null + } + ], + "checksums": [ + { + "file_name": "abook-0.6.1.tar.gz", + "sha512": "993895ef2fd6d98d50db610699f8f0a28112778065ac56484373eb814afd8ab7371201fc21506c090514f4b29570ec229dc62c606ab068301152567e2c47fe66" + }, + { + "file_name": "gcc6.patch", + "sha512": "21ab6475512ea9baae1a6509749628d6b610e96e77c64139d09697d272d66556875058e91c9b948c4ebaf65795a97d8532bae25e5d7e71cc4a20af49897cd867" + } + ] + }, + "purl": "pkg:alpine/abook@0.6.1-r5", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine13/community/darktable/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine13/community/darktable/APKBUILD new file mode 100644 index 00000000000..d0bb669b295 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine13/community/darktable/APKBUILD @@ -0,0 +1,71 @@ +# Contributor: Kevin Daudt +# Maintainer: Kevin Daudt +pkgname=darktable +pkgver=3.4.0 +pkgrel=0 +pkgdesc="an open source photography workflow application and raw developer" +url="https://www.darktable.org/" +arch="x86_64 aarch64" +license="GPL-3.0-or-later" +depends="dbus:org.freedesktop.Secrets" +makedepends=" + cmake + colord-dev + colord-gtk-dev + cups-dev + curl-dev + exiv2-dev + gtk+3.0-dev + intltool + libjpeg-turbo-dev + json-glib-dev + lcms2-dev + lensfun-dev + flickcurl-dev + libgphoto2-dev + librsvg-dev + libsecret-dev + libwebp-dev + libxml2-dev + libxml2-utils + libxslt + lua5.3-dev + openexr-dev + openjpeg-dev + pugixml-dev + sqlite-dev + tiff-dev" +ldpath="/usr/lib/$pkgname" +subpackages="$pkgname-dbg $pkgname-doc $pkgname-lang" +options="!check" # Dependencies missing +source="https://github.com/darktable-org/darktable/releases/download/release-${pkgver/_/}/darktable-${pkgver/_/.}.tar.xz + fix-ifunc-multiarch.patch + fix-cmake-none.patch + aarch64-include-xmmintrin-if-sse-defined.patch + " + +prepare() { + default_prepare + mkdir -p build +} + +build() { + cd "$builddir/build" + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=True \ + -DCMAKE_BUILD_TYPE=None \ + -DBINARY_PACKAGE_BUILD=ON \ + .. + make +} + +package() { + cd "$builddir/build" + make DESTDIR="$pkgdir" install +} + +sha512sums="b0a1e58f9af4007b22bacd7c61c75bdd036db9b1bbb6bd0ed785759d1a7a5a095a49a2a68c1555c661c4fff2549fcd35d2db2d9d4c16fc035bb37939804c749f darktable-3.4.0.tar.xz +bbb665f06b21a75f34a82f26d9e7421281445843b392871d1f851c7b73eabc862bbe43525b669a67429a22fea63bb03ca90b8a1d200d62a52907946ffcd9a7e3 fix-ifunc-multiarch.patch +74a47de2820e34d5c4ac53adbc557be908f73c06ab7e978429b22a5decb9c974871f5a83a23dd4fe6a7c13bc54de65ef004776efda8aad3f38d27fb35c0bd2c6 fix-cmake-none.patch +b756b9d6c007580b5030c90bc64bbc70154ebabf2d54312a7af61274962cc2d3ec3b8c68def07072e113c492b3caee490dff6021576f1075db654057605e31d1 aarch64-include-xmmintrin-if-sse-defined.patch" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine13/community/darktable/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine13/community/darktable/APKBUILD-expected.json new file mode 100644 index 00000000000..08bb000675e --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine13/community/darktable/APKBUILD-expected.json @@ -0,0 +1,73 @@ +{ + "type": "alpine", + "namespace": null, + "name": "darktable", + "version": "3.4.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "an open source photography workflow application and raw developer", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-3.0-plus", + "declared_license": "GPL-3.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://github.com/darktable-org/darktable/releases/download/release-3.4.0/darktable-3.4.0.tar.xz" + }, + { + "file_name": "fix-ifunc-multiarch.patch", + "url": null + }, + { + "file_name": "fix-cmake-none.patch", + "url": null + }, + { + "file_name": "aarch64-include-xmmintrin-if-sse-defined.patch", + "url": null + } + ], + "checksums": [ + { + "file_name": "darktable-3.4.0.tar.xz", + "sha512": "b0a1e58f9af4007b22bacd7c61c75bdd036db9b1bbb6bd0ed785759d1a7a5a095a49a2a68c1555c661c4fff2549fcd35d2db2d9d4c16fc035bb37939804c749f" + }, + { + "file_name": "fix-ifunc-multiarch.patch", + "sha512": "bbb665f06b21a75f34a82f26d9e7421281445843b392871d1f851c7b73eabc862bbe43525b669a67429a22fea63bb03ca90b8a1d200d62a52907946ffcd9a7e3" + }, + { + "file_name": "fix-cmake-none.patch", + "sha512": "74a47de2820e34d5c4ac53adbc557be908f73c06ab7e978429b22a5decb9c974871f5a83a23dd4fe6a7c13bc54de65ef004776efda8aad3f38d27fb35c0bd2c6" + }, + { + "file_name": "aarch64-include-xmmintrin-if-sse-defined.patch", + "sha512": "b756b9d6c007580b5030c90bc64bbc70154ebabf2d54312a7af61274962cc2d3ec3b8c68def07072e113c492b3caee490dff6021576f1075db654057605e31d1" + } + ] + }, + "purl": "pkg:alpine/darktable@3.4.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine13/community/haxe/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine13/community/haxe/APKBUILD new file mode 100644 index 00000000000..79238863c3d --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine13/community/haxe/APKBUILD @@ -0,0 +1,63 @@ +# Contributor: Jon Ong +# Maintainer: Andy Li +pkgname=haxe +pkgver=3.4.7 +_versuffix= +pkgrel=1 +pkgdesc="Cross-platform toolkit and programming language" +url="https://haxe.org" +arch="all !x86 !armhf !armv7 !mips !mips64" +license="GPL MIT LGPL" # http://haxe.org/foundation/open-source.html +makedepends="ocaml-camlp4-dev ocaml neko-dev zlib-dev pcre-dev" +options="!strip" +subpackages="$pkgname-doc" + +# haxelib and ocamllibs are git submodules in the haxe repo. +# To get the commits, run `git submodule status`. +_haxelib_rev="a494d8be523e26fcf875e2c33915808dc221e17a" +_ocamllibs_rev="ab5be31c6dd1fcd761c2ba16c5d767bcf6792490" +source="$pkgname-$pkgver.tar.gz::https://github.com/HaxeFoundation/haxe/archive/$pkgver$_versuffix.tar.gz + haxelib-$_haxelib_rev.tar.gz::https://github.com/HaxeFoundation/haxelib/archive/$_haxelib_rev.tar.gz + ocamllibs-$_ocamllibs_rev.tar.gz::https://github.com/HaxeFoundation/ocamllibs/archive/$_ocamllibs_rev.tar.gz + haxe.sh + " +builddir="$srcdir/$pkgname-$pkgver$_versuffix" + +build() { + cd "$builddir" + + rmdir libs extra/haxelib_src + mv "$srcdir"/haxelib-$_haxelib_rev extra/haxelib_src + mv "$srcdir"/ocamllibs-$_ocamllibs_rev libs + + # Workaround to make it build with ocaml >=4.06. + export OCAMLPARAM="safe-string=0,_" + + # Check to see if ocamlopt exists. If not, bytecompile everything. + command -v ocamlopt && make -j1 || make -j1 BYTECODE=1 + make -j1 tools + + unset OCAMLPARAM +} + +check() { + cd "$builddir" + + ./haxe -version + ./haxelib version +} + +package() { + cd "$builddir" + + install -d "$pkgdir"/usr/bin/ "$pkgdir"/usr/share/haxe/ + install -m 755 haxe haxelib "$pkgdir"/usr/bin/ + cp -rf std "$pkgdir"/usr/share/$pkgname/ + install -Dm 644 extra/LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt + install -Dm 644 "$srcdir/haxe.sh" "$pkgdir/etc/profile.d/haxe.sh" +} + +sha512sums="5b15018b714922aa362aeb9eab672ed76d32db73d06a0d976d14445bcd644661f2ff397016c41bdc2d092c513ad1458f3b377ca040c6c293f5d0711fdd6ba26d haxe-3.4.7.tar.gz +549d8eead2236a60747acc50a88129e587d52f7408342f657965d4f2faf638d62fd556f0d0d23a122ef03ee7164b966d6234f35dc81c1cebd703e254e2f57265 haxelib-a494d8be523e26fcf875e2c33915808dc221e17a.tar.gz +4aa501389bde4a9bef8e2e571dc012ccab10b98c3c37903ab5a262c2a9bec57fa4bee936222397c484ecefe917f28e98f6513bf83007cf89434f93e80ccc9d23 ocamllibs-ab5be31c6dd1fcd761c2ba16c5d767bcf6792490.tar.gz +c756571769bcdb0d7040b44b3d486e445c56a01a8d23d26f668be19b8d147e9f324166f004872d04e912f329e45ad821672a0a365df4ba27fb1dc22bb34130a3 haxe.sh" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine13/community/haxe/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine13/community/haxe/APKBUILD-expected.json new file mode 100644 index 00000000000..295ada03b07 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine13/community/haxe/APKBUILD-expected.json @@ -0,0 +1,73 @@ +{ + "type": "alpine", + "namespace": null, + "name": "haxe", + "version": "3.4.7-r1", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Cross-platform toolkit and programming language", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-1.0-plus AND mit AND lgpl-2.0-plus", + "declared_license": "GPL MIT LGPL", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": "haxe-3.4.7.tar.gz", + "url": "https://github.com/HaxeFoundation/haxe/archive/3.4.7.tar.gz" + }, + { + "file_name": "haxelib-a494d8be523e26fcf875e2c33915808dc221e17a.tar.gz", + "url": "https://github.com/HaxeFoundation/haxelib/archive/a494d8be523e26fcf875e2c33915808dc221e17a.tar.gz" + }, + { + "file_name": "ocamllibs-ab5be31c6dd1fcd761c2ba16c5d767bcf6792490.tar.gz", + "url": "https://github.com/HaxeFoundation/ocamllibs/archive/ab5be31c6dd1fcd761c2ba16c5d767bcf6792490.tar.gz" + }, + { + "file_name": "haxe.sh", + "url": null + } + ], + "checksums": [ + { + "file_name": "haxe-3.4.7.tar.gz", + "sha512": "5b15018b714922aa362aeb9eab672ed76d32db73d06a0d976d14445bcd644661f2ff397016c41bdc2d092c513ad1458f3b377ca040c6c293f5d0711fdd6ba26d" + }, + { + "file_name": "haxelib-a494d8be523e26fcf875e2c33915808dc221e17a.tar.gz", + "sha512": "549d8eead2236a60747acc50a88129e587d52f7408342f657965d4f2faf638d62fd556f0d0d23a122ef03ee7164b966d6234f35dc81c1cebd703e254e2f57265" + }, + { + "file_name": "ocamllibs-ab5be31c6dd1fcd761c2ba16c5d767bcf6792490.tar.gz", + "sha512": "4aa501389bde4a9bef8e2e571dc012ccab10b98c3c37903ab5a262c2a9bec57fa4bee936222397c484ecefe917f28e98f6513bf83007cf89434f93e80ccc9d23" + }, + { + "file_name": "haxe.sh", + "sha512": "c756571769bcdb0d7040b44b3d486e445c56a01a8d23d26f668be19b8d147e9f324166f004872d04e912f329e45ad821672a0a365df4ba27fb1dc22bb34130a3" + } + ] + }, + "purl": "pkg:alpine/haxe@3.4.7-r1", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine13/main/linux-firmware/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine13/main/linux-firmware/APKBUILD new file mode 100644 index 00000000000..847ad0356dd --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine13/main/linux-firmware/APKBUILD @@ -0,0 +1,137 @@ +# Contributor: Oliver Smith +# Maintainer: Natanael Copa +pkgname=linux-firmware +pkgver=20201218 +pkgrel=0 +pkgdesc="firmware files for linux" +url="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git;a=summary" +arch="all" +license="custom:multiple" +makedepends="libarchive-tools" +provides="linux-firmware-any" +provider_priority=1 +options="!strip !check !archcheck !tracedeps !spdx" + +_rpi_bt=fff76cb15527c435ce99a9787848eacd6288282c + +source="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-$pkgver.tar.gz + BCM43430A1.hcd.${_rpi_bt::8}::https://github.com/RPi-Distro/bluez-firmware/raw/$_rpi_bt/broadcom/BCM43430A1.hcd + BCM4345C0.hcd.${_rpi_bt::8}::https://github.com/RPi-Distro/bluez-firmware/raw/$_rpi_bt/broadcom/BCM4345C0.hcd + " + +_builddir="$srcdir"/$pkgname-$pkgver + +# Put /lib/firmware/* folders in subpackages +_folders="3com acenic adaptec advansys amd amd-ucode amdgpu ar3k ath10k ath11k + ath6k ath9k_htc atmel atusb av7110 bnx2 bnx2x brcm cadence cavium cis cpia2 + cxgb3 cxgb4 cypress dabusb dpaa2 dsp56k e100 edgeport emi26 emi62 ene-ub6250 + ess go7007 i915 imx inside-secure intel isci kaweth keyspan keyspan_pda korg + libertas liquidio matrox mediatek mellanox meson microchip moxa mrvl mwl8k + mwlwifi myricom netronome nvidia ositech qca qcom qed qlogic r128 radeon + rockchip rsi rtl8192e rtl_bt rtl_nic rtlwifi rtw88 sb16 slicoss sun sxg tehuti + ti ti-connectivity ti-keystone tigon ttusb-budget ueagle-atm vicam vxge yam + yamaha" + +subpackages="$pkgname-other::noarch $pkgname-none::noarch" +depends="linux-firmware-other=$pkgver-r$pkgrel" +for i in $_folders; do + subpackages="$pkgname-$i:_folder:noarch $subpackages" + depends="$pkgname-$i=$pkgver-r$pkgrel $depends" +done +subpackages="amd-ucode::noarch $subpackages" + +package() { + cd "${_builddir}" + make DESTDIR="${pkgdir}" FIRMWAREDIR="/lib/firmware" install + + # add compat links for pre-5.0 kernel + ln -s brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt "$pkgdir"/lib/firmware/brcm/brcmfmac43455-sdio.txt + ln -s brcmfmac43430-sdio.raspberrypi,3-model-b.txt "$pkgdir"/lib/firmware/brcm/brcmfmac43430-sdio.txt + + # https://gitlab.alpinelinux.org/alpine/aports/issues/11408 + ln -s brcmfmac43430-sdio.raspberrypi,3-model-b.txt "$pkgdir"/lib/firmware/brcm/brcmfmac43430-sdio.raspberrypi,model-zero-w.txt + + + local fw; for fw in $source; do + local _f=${fw%::*} + case $_f in + *.hcd*) + install -Dm 644 $srcdir/$_f \ + "$pkgdir"/lib/firmware/brcm/"${_f%.*}" + ;; + esac + done + + rm -f "${pkgdir}/usr/lib/firmware/{Makefile,README,configure,GPL-3}" + + find "${pkgdir}" \( -name '*.S' -or -name '*.asm' -or \ + -name '*.c' -or -name '*.h' -or -name '*.pl' -or \ + -name 'Makefile' \) -exec rm -- {} \; +} + +_folder() { + local folder=${subpkgname##linux-firmware-} + pkgdesc="firmware files for linux ($folder folder)" + depends="" + provides="linux-firmware-any" + provider_priority= + + # Move /lib/firmware/$folder (case insensitive) + mkdir -p "$subpkgdir/lib/firmware" + mv "$(find "$pkgdir/lib/firmware" -iname "$folder" -type d)" \ + "$subpkgdir/lib/firmware" +} + +other() { + # Requires subfolders to be split in subpackages + local leftover="" + local i + for i in "$pkgdir"/lib/firmware/*; do + [ -d "$i" ] && leftover="$leftover $(basename $i)" + done + if [ "$leftover" != "" ]; then + local fixed + error "Not all subfolders have been moved to subpackages!" + error "Fix this by adjusting _folders as follows:" + fixed="$(echo $_folders$leftover | tr " " "\n" | tr '[A-Z]' '[a-z]' | sort)" + echo "_folders=\"$(printf "$fixed" | tr "\n" " ")\"" | fold -s + return 1 + fi + + # Move /lib/firmware (which doesn't have subfolders now) + pkgdesc="firmware files for linux (uncategorized)" + depends="" + provides="linux-firmware-any" + provider_priority= + mkdir -p "$subpkgdir"/ + mv "$pkgdir"/lib "$subpkgdir"/ +} + +none() { + # dummy package with no firmware + pkgdesc="Empty linux firwmare package for those who does not need any firmware" + provider_priority= + provides="linux-firmware-any" + depends= + mkdir -p "$subpkgdir" +} + +ucode() { + pkgdesc="Microcode update files for AMD CPUs" + provider_priority= + provides= + depends= + + # build ported from Arch Linux's PKGBUILD + mkdir -p "$subpkgdir"/boot + mkdir -p "$builddir"/kernel/x86/microcode + cat "$pkgdir"/lib/firmware/amd-ucode/microcode_amd*.bin > "$builddir"/kernel/x86/microcode/AuthenticAMD.bin + [ -n "$SOURCE_DATE_EPOCH" ] && touch -d @$SOURCE_DATE_EPOCH "$builddir"/kernel/x86/microcode/AuthenticAMD.bin + cd "$builddir" && echo kernel/x86/microcode/AuthenticAMD.bin | + bsdtar --uid 0 --gid 0 -cnf - -T - | + bsdtar --null -cf - --format=newc @- > "$subpkgdir"/boot/amd-ucode.img +} + +sha512sums="2685640759a316561b948f96e6fc49ffe9543cb300c282876e6d6880d1c0f8114360f1f50ed2688d7d97a4a0a966fc7ecb887702ae3c77c3a63d703096115f9e linux-firmware-20201218.tar.gz +a7b37bce092367125e390017bb0329c3b7f8fa891cf30d422ee73ce53d0592d4ff0fc2e2a94a87eefb641d5dd8631fae1cc46664224dea987ca04b68a8af8519 BCM43430A1.hcd.fff76cb1 +a52fdb876131affa85b39434d619580c0e1605094992ffa3bb321af387dd79739736842dea9ffa759e6658aecde40eda6b06d93dbb58234a4b126b756c28521e BCM4345C0.hcd.fff76cb1" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine13/main/linux-firmware/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine13/main/linux-firmware/APKBUILD-expected.json new file mode 100644 index 00000000000..287043a238c --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine13/main/linux-firmware/APKBUILD-expected.json @@ -0,0 +1,65 @@ +{ + "type": "alpine", + "namespace": null, + "name": "linux-firmware", + "version": "20201218-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "firmware files for linux", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "unknown-license-reference", + "declared_license": "custom:multiple", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-20201218.tar.gz" + }, + { + "file_name": "BCM43430A1.hcd.fff76cb1", + "url": "https://github.com/RPi-Distro/bluez-firmware/raw/fff76cb15527c435ce99a9787848eacd6288282c/broadcom/BCM43430A1.hcd" + }, + { + "file_name": "BCM4345C0.hcd.fff76cb1", + "url": "https://github.com/RPi-Distro/bluez-firmware/raw/fff76cb15527c435ce99a9787848eacd6288282c/broadcom/BCM4345C0.hcd" + } + ], + "checksums": [ + { + "file_name": "linux-firmware-20201218.tar.gz", + "sha512": "2685640759a316561b948f96e6fc49ffe9543cb300c282876e6d6880d1c0f8114360f1f50ed2688d7d97a4a0a966fc7ecb887702ae3c77c3a63d703096115f9e" + }, + { + "file_name": "BCM43430A1.hcd.fff76cb1", + "sha512": "a7b37bce092367125e390017bb0329c3b7f8fa891cf30d422ee73ce53d0592d4ff0fc2e2a94a87eefb641d5dd8631fae1cc46664224dea987ca04b68a8af8519" + }, + { + "file_name": "BCM4345C0.hcd.fff76cb1", + "sha512": "a52fdb876131affa85b39434d619580c0e1605094992ffa3bb321af387dd79739736842dea9ffa759e6658aecde40eda6b06d93dbb58234a4b126b756c28521e" + } + ] + }, + "purl": "pkg:alpine/linux-firmware@20201218-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/2bwm/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/2bwm/APKBUILD new file mode 100644 index 00000000000..2060bdea03c --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/2bwm/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: prspkt +# Maintainer: prspkt +pkgname=2bwm +pkgver=0.3 +pkgrel=0 +pkgdesc="Fast floating window manager" +url="https://github.com/venam/2bwm" +arch="all" +license="ISC" +makedepends="libxcb-dev xcb-util-keysyms-dev xcb-util-wm-dev xcb-util-xrm-dev" +options="!check" # no test suite +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/venam/2bwm/archive/v$pkgver.tar.gz" + +prepare() { + default_prepare + sed -i Makefile -e "/CFLAGS/{s/+=-Os /+=/}" +} + +build() { + make +} + +package() { + make PREFIX=/usr DESTDIR="$pkgdir" install +} + +sha512sums="088a97e5245287890c72e2b0685f7348a4cc0fd49582893b7ce7a081f80a4d7454a3c0eadf4609589314351ded02fd8b75548019b782e797350ad5db5c939f92 2bwm-0.3.tar.gz" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/2bwm/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/2bwm/APKBUILD-expected.json new file mode 100644 index 00000000000..865d7c368e8 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/2bwm/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "2bwm", + "version": "0.3-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Fast floating window manager", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "isc", + "declared_license": "ISC", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": "2bwm-0.3.tar.gz", + "url": "https://github.com/venam/2bwm/archive/v0.3.tar.gz" + } + ], + "checksums": [ + { + "file_name": "2bwm-0.3.tar.gz", + "sha512": "088a97e5245287890c72e2b0685f7348a4cc0fd49582893b7ce7a081f80a4d7454a3c0eadf4609589314351ded02fd8b75548019b782e797350ad5db5c939f92" + } + ] + }, + "purl": "pkg:alpine/2bwm@0.3-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/acccheck/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/acccheck/APKBUILD new file mode 100644 index 00000000000..3b607f1cadd --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/acccheck/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Alan Lacerda +# Maintainer: Francesco Colista +pkgname=acccheck +pkgver=0.2.1 +pkgrel=1 +pkgdesc="A password dictionary attack tool" +url="https://labs.portcullis.co.uk/tools/acccheck/" +arch="" # source has certificate failure +license="GPL-2.0" +depends="perl" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="" +source="https://labs.portcullis.co.uk/download/$pkgname-${pkgver//./-}.tar.gz" + +builddir="$srcdir/$pkgname-${pkgver//./-}" + +build() { + cd "$builddir" + return 0 +} + +package() { + cd "$builddir" + mkdir -p "$pkgdir/usr/bin/" + install -Dm755 acccheck.pl "$pkgdir/usr/bin/" +} + +sha512sums="28c1c5fa465e14d5447c42f539b95d436f303de801f6687d4cf22bd9f77371c68f84ad7b655c845bc42b6bdab851c379a72081feea2e1860e6619c089447238b acccheck-0-2-1.tar.gz" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/acccheck/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/acccheck/APKBUILD-expected.json new file mode 100644 index 00000000000..97bca5948d8 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/acccheck/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "acccheck", + "version": "0.2.1-r1", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "A password dictionary attack tool", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0", + "declared_license": "GPL-2.0", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://labs.portcullis.co.uk/download/acccheck-0-2-1.tar.gz" + } + ], + "checksums": [ + { + "file_name": "acccheck-0-2-1.tar.gz", + "sha512": "28c1c5fa465e14d5447c42f539b95d436f303de801f6687d4cf22bd9f77371c68f84ad7b655c845bc42b6bdab851c379a72081feea2e1860e6619c089447238b" + } + ] + }, + "purl": "pkg:alpine/acccheck@0.2.1-r1", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/accerciser/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/accerciser/APKBUILD new file mode 100644 index 00000000000..83969872b0e --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/accerciser/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Rasmus Thomsen +# Maintainer: Rasmus Thomsen +pkgname=accerciser +pkgver=3.38.0 +pkgrel=1 +pkgdesc="Interactive Python accessibility explorer" +url="https://wiki.gnome.org/Apps/Accerciser" +arch="noarch !s390x !mips !mips64" #librsvg +license="BSD-3-Clause" +depends="libwnck3 py3-gobject3 py3-atspi gtk+3.0 librsvg py3-xlib ipython" +makedepends="gtk+3.0-dev py3-gobject3-dev glib-dev at-spi2-core-dev itstool" +options="!check" # no tests +subpackages="$pkgname-lang $pkgname-doc" +source="https://download.gnome.org/sources/accerciser/${pkgver%.*}/accerciser-$pkgver.tar.xz" + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="5740e4acfb00f5842dac8045ca9f10c85cf2ae164f3e0caf63ec303ff104002ace6de591a9b6516c4052ec0da8e48b394647f018b6c8b68a6c5ff77c4fff2904 accerciser-3.38.0.tar.xz" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/accerciser/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/accerciser/APKBUILD-expected.json new file mode 100644 index 00000000000..4c8a885e16c --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/accerciser/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "accerciser", + "version": "3.38.0-r1", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Interactive Python accessibility explorer", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "bsd-new", + "declared_license": "BSD-3-Clause", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.gnome.org/sources/accerciser/3.38/accerciser-3.38.0.tar.xz" + } + ], + "checksums": [ + { + "file_name": "accerciser-3.38.0.tar.xz", + "sha512": "5740e4acfb00f5842dac8045ca9f10c85cf2ae164f3e0caf63ec303ff104002ace6de591a9b6516c4052ec0da8e48b394647f018b6c8b68a6c5ff77c4fff2904" + } + ] + }, + "purl": "pkg:alpine/accerciser@3.38.0-r1", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/alpine/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/alpine/APKBUILD new file mode 100644 index 00000000000..a9b796244bf --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/alpine/APKBUILD @@ -0,0 +1,39 @@ +# Maintainer: Kaarle Ritvanen +pkgname=alpine +pkgver=2.24 +pkgrel=0 +_commit=3165f59b344fb4d56d161541f294754d56bcb372 +pkgdesc="Text-based email client, friendly for novices but powerful" +url="http://alpine.x10host.com/alpine/" +arch="all" +license="Apache-2.0" +makedepends="openldap-dev heimdal-dev ncurses-dev openssl-dev" +subpackages="$pkgname-dbg $pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://repo.or.cz/alpine.git/snapshot/$_commit.tar.gz + 0001-ssl_unix-fix-server-name-validation.patch + " +builddir="$srcdir/$pkgname-${_commit:0:7}" + +# secfixes: +# 2.23-r0: +# - CVE-2020-14929 + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --with-passfile=.pine-pass \ + --without-tcl \ + --disable-shared \ + --with-system-pinerc=/etc/alpine.d/pine.conf \ + --with-system-fixed-pinerc=/etc/alpine.d/pine.conf.fixed + make +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="648618fd965fd600ee5d870cfcb87aeb5792311236c5b476f337d2202c460db5c37c5d170430c177cd4ab7c806eff10ee1c327c5ada9253f7d07b6a54442a6d3 alpine-2.24.tar.gz +5e10289f292139bf576e40bda0f3539d62024309650473a2fdbb281e5d7691cc4c1d3d21f78615e2c900766eddba076f512d92f60d4fbb61e1683f35cba185aa 0001-ssl_unix-fix-server-name-validation.patch" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/alpine/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/alpine/APKBUILD-expected.json new file mode 100644 index 00000000000..ef43d58031d --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/alpine/APKBUILD-expected.json @@ -0,0 +1,57 @@ +{ + "type": "alpine", + "namespace": null, + "name": "alpine", + "version": "2.24-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Text-based email client, friendly for novices but powerful", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "apache-2.0", + "declared_license": "Apache-2.0", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": "alpine-2.24.tar.gz", + "url": "https://repo.or.cz/alpine.git/snapshot/3165f59b344fb4d56d161541f294754d56bcb372.tar.gz" + }, + { + "file_name": "0001-ssl_unix-fix-server-name-validation.patch", + "url": null + } + ], + "checksums": [ + { + "file_name": "alpine-2.24.tar.gz", + "sha512": "648618fd965fd600ee5d870cfcb87aeb5792311236c5b476f337d2202c460db5c37c5d170430c177cd4ab7c806eff10ee1c327c5ada9253f7d07b6a54442a6d3" + }, + { + "file_name": "0001-ssl_unix-fix-server-name-validation.patch", + "sha512": "5e10289f292139bf576e40bda0f3539d62024309650473a2fdbb281e5d7691cc4c1d3d21f78615e2c900766eddba076f512d92f60d4fbb61e1683f35cba185aa" + } + ] + }, + "purl": "pkg:alpine/alpine@2.24-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/audacious-plugins/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/audacious-plugins/APKBUILD new file mode 100644 index 00000000000..9e0f20bb5af --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/audacious-plugins/APKBUILD @@ -0,0 +1,76 @@ +# Contributor: Łukasz Jendrysik +# Contributor: Bart Ribbers +# Maintainer: Ariadne Conill +pkgname=audacious-plugins +pkgver=4.0.5 +pkgrel=0 +pkgdesc="A playlist-oriented media player with multiple interfaces (plugins)" +url="https://audacious-media-player.org/" +arch="all !s390x" +license="BSD-2-Clause AND BSD-3-Clause AND ISC AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND GPL-3.0-or-later" +depends="audacious" +install_if="audacious=$pkgver" +makedepends=" + dbus-glib-dev + audacious-dev>=${pkgver%.*} + libxml2-dev + mpg123-dev + libcdio-dev + libcdio-paranoia-dev + libcddb-dev + libxcomposite-dev + libsamplerate-dev + libcue-dev + libmms-dev + libsndfile-dev + libnotify-dev + libogg-dev + libvorbis-dev + ffmpeg-dev + alsa-lib-dev + pulseaudio-dev + faad2-dev + neon-dev + curl-dev + wavpack-dev + lame-dev + flac-dev + sdl-dev + automake + autoconf + " +subpackages="$pkgname-dbg $pkgname-lang" +source="http://distfiles.audacious-media-player.org/audacious-plugins-$pkgver.tar.bz2" +options="!check" # No test suite (or any plans for one) + +case "$CTARGET_ARCH" in + arm*|aarch64) _qtglspectrum="--disable-qtglspectrum" ;; + *) _qtglspectrum="--enable-qtglspectrum" ;; +esac + +prepare() { + default_prepare + + update_config_sub + update_config_guess +} + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-gtk \ + --enable-qt \ + $_qtglspectrum + make +} + +package() { + DESTDIR="$pkgdir" make install +} + +sha512sums="90ab2edbfc797fa835aae9937b5f478a0ca575f31c443d9e8ba7394e1615f605beb417372872874c94d4f804dba7bea9fbae2078e162178386683d8a3e36c108 audacious-plugins-4.0.5.tar.bz2" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/audacious-plugins/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/audacious-plugins/APKBUILD-expected.json new file mode 100644 index 00000000000..81b929ce6a0 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/audacious-plugins/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "audacious-plugins", + "version": "4.0.5-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "A playlist-oriented media player with multiple interfaces (plugins)", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "bsd-simplified AND bsd-new AND isc AND gpl-2.0 AND gpl-2.0-plus AND gpl-3.0 AND gpl-3.0-plus", + "declared_license": "BSD-2-Clause AND BSD-3-Clause AND ISC AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND GPL-3.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "http://distfiles.audacious-media-player.org/audacious-plugins-4.0.5.tar.bz2" + } + ], + "checksums": [ + { + "file_name": "audacious-plugins-4.0.5.tar.bz2", + "sha512": "90ab2edbfc797fa835aae9937b5f478a0ca575f31c443d9e8ba7394e1615f605beb417372872874c94d4f804dba7bea9fbae2078e162178386683d8a3e36c108" + } + ] + }, + "purl": "pkg:alpine/audacious-plugins@4.0.5-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/boost-build/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/boost-build/APKBUILD new file mode 100644 index 00000000000..45f2bd7507f --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/boost-build/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Pedro Filipe +# Contributor: Valery Kartel +# Maintainer: +pkgname=boost-build +pkgver=1.76.0 +pkgrel=0 +pkgdesc="Boost.Build makes it easy to build C++ projects, everywhere" +url="https://boost.org/build" +arch="noarch" +options="!check" +license="BSL-1.0" +depends="boost1.76 python3" +makedepends="boost1.76 python3" +subpackages="$pkgname-doc" +builddir="$srcdir/${pkgname#*-}-${pkgname%%-*}-$pkgver" +source="$pkgname-$pkgver.tar.gz::https://github.com/boostorg/${pkgname#*-}/archive/${pkgname%%-*}-$pkgver.tar.gz" + +build() { + # we bootstrapped with boost already + local _b2="$(command -v b2)" + local _bjam="$(command -v bjam)" + cp -p "${_b2:-NOT_INSTALLED}" "$builddir"/src/engine + cp -p "${_bjam:-NOT_INSTALLED}" "$builddir"/src/engine +} + +package() { + b2 install --with-python=/usr/bin/python3 --prefix="$pkgdir"/usr + + # These binaries are provided by the boost package already + rm -v -rf "${pkgdir:?}"/usr/bin + + install -Dm0644 LICENSE.txt "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE + mkdir -p "$pkgdir"/usr/share/doc/"$pkgname" + mv example "$pkgdir"/usr/share/doc/"$pkgname"/ +} + +sha512sums="2c4088c413e63d7eb192c368960a60fc534fd3a804ebf5577a35e0f77d50518c919e31c67361b1c968d7920387e2348e42443bf090cc246a285828444ecac6bc boost-build-1.76.0.tar.gz" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/boost-build/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/boost-build/APKBUILD-expected.json new file mode 100644 index 00000000000..6c52277a3c7 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/boost-build/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "boost-build", + "version": "1.76.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Boost.Build makes it easy to build C++ projects, everywhere", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "boost-1.0", + "declared_license": "BSL-1.0", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": "boost-build-1.76.0.tar.gz", + "url": "https://github.com/boostorg/build/archive/boost-1.76.0.tar.gz" + } + ], + "checksums": [ + { + "file_name": "boost-build-1.76.0.tar.gz", + "sha512": "2c4088c413e63d7eb192c368960a60fc534fd3a804ebf5577a35e0f77d50518c919e31c67361b1c968d7920387e2348e42443bf090cc246a285828444ecac6bc" + } + ] + }, + "purl": "pkg:alpine/boost-build@1.76.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/dircproxy/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/dircproxy/APKBUILD new file mode 100644 index 00000000000..264ba4bd491 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/dircproxy/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: Natanael Copa +# Maintainer: Natanael Copa +pkgname=dircproxy +pkgver=1.2.0_rc +_status=${pkgver/_rc/-BETA} +_ver=${_status//./_} +pkgrel=2 +pkgdesc="IRC proxy server designed for people who use IRC from lots of different workstations or clients" +url="https://github.com/w8tvi/dircproxy" +arch="all" +license="GPL-2.0-or-later" +makedepends="autoconf automake" +subpackages="$pkgname-doc" +source="$pkgname-$_ver.tar.gz::https://github.com/w8tvi/dircproxy/archive/RELEASE-$_ver.tar.gz + fix-gcc4-issue.patch + fix-segfault.patch + fix-issue54-1.patch + fix-issue54-2.patch + " + +builddir="$srcdir/$pkgname-RELEASE-$_ver" +prepare() { + default_prepare + ./autogen.sh +} + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="9a720823cba52b1e3670a2ef76578f952e07275d7455f7609eff7d88bcb89f8c3098e9d517266efd19f84b3adf3163a3359b4113e253bd5c5bdbb36597a333c8 dircproxy-1_2_0-BETA.tar.gz +182c1907317e669bb9f2f410c683a8ce4682ad29b3caa07548b7e126f66b85f3e1f8ad258d5a90b017f21b5e03be1aa2480c5919be25ae40b4debb6b8740e93e fix-gcc4-issue.patch +906556a5a64670bb25394a424be281f90018c255b0dccb21f0805724899977d4041482c584f1aeb022d6acf56d5c0ab65065123bb045a2e7eb56674026be7fb4 fix-segfault.patch +66624cc8be5c891ccd3591397608ccdbe5b8496928ab77220214ef02a10433fe7d6b67a4abbfb36b60dd8a198581814ec2485b88778c2f1c14089d0b0246c66e fix-issue54-1.patch +517b67297d51d4327aabb0054eb5bac1a15bf26a45091517d27998e861555e5320573f315ea4d2a719387d9a30482ebf3e58d731048f78a63ecba8b4c2664fe2 fix-issue54-2.patch" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/dircproxy/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/dircproxy/APKBUILD-expected.json new file mode 100644 index 00000000000..6768ccdb7a7 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/dircproxy/APKBUILD-expected.json @@ -0,0 +1,81 @@ +{ + "type": "alpine", + "namespace": null, + "name": "dircproxy", + "version": "1.2.0_rc-r2", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "IRC proxy server designed for people who use IRC from lots of different workstations or clients", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus", + "declared_license": "GPL-2.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": "dircproxy-1_2_0-BETA.tar.gz", + "url": "https://github.com/w8tvi/dircproxy/archive/RELEASE-1_2_0-BETA.tar.gz" + }, + { + "file_name": "fix-gcc4-issue.patch", + "url": null + }, + { + "file_name": "fix-segfault.patch", + "url": null + }, + { + "file_name": "fix-issue54-1.patch", + "url": null + }, + { + "file_name": "fix-issue54-2.patch", + "url": null + } + ], + "checksums": [ + { + "file_name": "dircproxy-1_2_0-BETA.tar.gz", + "sha512": "9a720823cba52b1e3670a2ef76578f952e07275d7455f7609eff7d88bcb89f8c3098e9d517266efd19f84b3adf3163a3359b4113e253bd5c5bdbb36597a333c8" + }, + { + "file_name": "fix-gcc4-issue.patch", + "sha512": "182c1907317e669bb9f2f410c683a8ce4682ad29b3caa07548b7e126f66b85f3e1f8ad258d5a90b017f21b5e03be1aa2480c5919be25ae40b4debb6b8740e93e" + }, + { + "file_name": "fix-segfault.patch", + "sha512": "906556a5a64670bb25394a424be281f90018c255b0dccb21f0805724899977d4041482c584f1aeb022d6acf56d5c0ab65065123bb045a2e7eb56674026be7fb4" + }, + { + "file_name": "fix-issue54-1.patch", + "sha512": "66624cc8be5c891ccd3591397608ccdbe5b8496928ab77220214ef02a10433fe7d6b67a4abbfb36b60dd8a198581814ec2485b88778c2f1c14089d0b0246c66e" + }, + { + "file_name": "fix-issue54-2.patch", + "sha512": "517b67297d51d4327aabb0054eb5bac1a15bf26a45091517d27998e861555e5320573f315ea4d2a719387d9a30482ebf3e58d731048f78a63ecba8b4c2664fe2" + } + ] + }, + "purl": "pkg:alpine/dircproxy@1.2.0_rc-r2", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/faac/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/faac/APKBUILD new file mode 100644 index 00000000000..359811e7c6b --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/faac/APKBUILD @@ -0,0 +1,44 @@ +# Maintainer: Natanael Copa +pkgname=faac +pkgver=1.30 +pkgrel=1 +pkgdesc="FAAC is an AAC audio encoder." +options="!check" # No testsuite +url="http://faac.sourceforge.net/" +arch="all" +license="GPL-3.0-or-later" +makedepends="autoconf automake libtool" +subpackages="$pkgname-static $pkgname-dev $pkgname-doc" +source="faac-$pkgver.tar.gz::https://github.com/knik0/faac/archive/${pkgver/./_}.tar.gz" +builddir="$srcdir"/faac-${pkgver/./_} + +# secfixes: +# 1.30-r0: +# - CVE-2018-19886 + +prepare() { + default_prepare + ./bootstrap +} + +build() { + CXXFLAGS="$CXXFLAGS -fpermissive" \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr + make +} + +package() { + make DESTDIR="$pkgdir" install +} + +static() { + depends="" + pkgdesc="$pkgdesc (static library)" + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib +} + +sha512sums="8582cd580dba2a347d15dc4fab42020d7120d0552c54ab74cfaf59ba1b270abb94c67e39d42459a14cbc6e98f3fd00cbda589e1b4f0c7278e41bdef6ae7b6554 faac-1.30.tar.gz" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/faac/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/faac/APKBUILD-expected.json new file mode 100644 index 00000000000..c5a9df85ade --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/faac/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "faac", + "version": "1.30-r1", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "FAAC is an AAC audio encoder.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-3.0-plus", + "declared_license": "GPL-3.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": "faac-1.30.tar.gz", + "url": "https://github.com/knik0/faac/archive/1_30.tar.gz" + } + ], + "checksums": [ + { + "file_name": "faac-1.30.tar.gz", + "sha512": "8582cd580dba2a347d15dc4fab42020d7120d0552c54ab74cfaf59ba1b270abb94c67e39d42459a14cbc6e98f3fd00cbda589e1b4f0c7278e41bdef6ae7b6554" + } + ] + }, + "purl": "pkg:alpine/faac@1.30-r1", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/feedbackd-device-themes/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/feedbackd-device-themes/APKBUILD new file mode 100644 index 00000000000..1505650d52d --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/feedbackd-device-themes/APKBUILD @@ -0,0 +1,28 @@ +# Maintainer: Dylan Van Assche +# Contributor: Dylan Van Assche +pkgname=feedbackd-device-themes +pkgver=0_git20210126 +pkgrel=0 +pkgdesc="Feedbackd device themes for different devices" +url="https://source.puri.sm/Librem5/feedbackd-device-themes" +arch="all" +license="GPL-3.0-or-later" +makedepends="meson json-glib-dev" +source="https://source.puri.sm/Librem5/feedbackd-device-themes/-/archive/v0.0.${pkgver#0_git}/feedbackd-device-themes-v0.0.${pkgver#0_git}.tar.gz" +builddir="$srcdir/$pkgname-v0.0.${pkgver#0_git}" + +build() { + abuild-meson \ + -Dgtk_doc=false \ + . output +} + +check() { + meson test --no-rebuild -v -C output +} + +package() { + DESTDIR="$pkgdir" meson install --no-rebuild -C output +} + +sha512sums="feb9390a025748b37319162d5e8b6cec353ea58e7339806c1e971a7d2a2168af381bfcfebc40b7319aa2ce688bfc7fcbf406218cb97c271c5e1d352b27691748 feedbackd-device-themes-v0.0.20210126.tar.gz" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/feedbackd-device-themes/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/feedbackd-device-themes/APKBUILD-expected.json new file mode 100644 index 00000000000..0ae1f9509ec --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/feedbackd-device-themes/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "feedbackd-device-themes", + "version": "0_git20210126-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Feedbackd device themes for different devices", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-3.0-plus", + "declared_license": "GPL-3.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://source.puri.sm/Librem5/feedbackd-device-themes/-/archive/v0.0.20210126/feedbackd-device-themes-v0.0.20210126.tar.gz" + } + ], + "checksums": [ + { + "file_name": "feedbackd-device-themes-v0.0.20210126.tar.gz", + "sha512": "feb9390a025748b37319162d5e8b6cec353ea58e7339806c1e971a7d2a2168af381bfcfebc40b7319aa2ce688bfc7fcbf406218cb97c271c5e1d352b27691748" + } + ] + }, + "purl": "pkg:alpine/feedbackd-device-themes@0_git20210126-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/gcc6/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/gcc6/APKBUILD new file mode 100644 index 00000000000..f1edadafd85 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/gcc6/APKBUILD @@ -0,0 +1,356 @@ +# Maintainer: Natanael Copa +pkgname=gcc6 +pkgver=6.4.0 +_ver=${pkgver%%.*} +pkgname="$pkgname" +pkgrel=12 # Update java-gcj-compat _gccpkgrel so it matchs! +pkgdesc="The GNU Compiler Collection" +url="https://gcc.gnu.org/" +arch="all !mips !mips64" # FTBFS on mips +license="GPL LGPL" +_gccrel=$pkgver-r$pkgrel +depends="binutils isl" +makedepends_build="gcc$_cross g++$_cross bison flex texinfo gawk zip gmp-dev mpfr-dev mpc1-dev zlib-dev" +makedepends_host="linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev !gettext-dev" +subpackages="$pkgname-doc" + +STRIP_FOR_TARGET=${CROSS_COMPILE}strip +_builddir="$srcdir/build" + +_languages="c,c++,java" +subpackages="$subpackages libstdc++6:libcxx:$CTARGET_ARCH g++6:gpp" +subpackages="$subpackages libgcj6:libgcj:$CTARGET_ARCH gcc6-java:java" +makedepends="$makedepends_build $makedepends_host" + +source="https://gcc.gnu.org/pub/gcc/releases/gcc-${_pkgbase:-$pkgver}/gcc-${_pkgbase:-$pkgver}.tar.xz + https://sourceware.org/pub/java/ecj-4.9.jar + + 001_all_default-ssp-strong.patch + 002_all_default-relro.patch + 003_all_default-fortify-source.patch + 005_all_default-as-needed.patch + 011_all_default-warn-format-security.patch + 012_all_default-warn-trampolines.patch + 020_all_msgfmt-libstdc++-link.patch + 050_all_libiberty-asprintf.patch + 051_all_libiberty-pic.patch + 053_all_libitm-no-fortify-source.patch + 067_all_gcc-poison-system-directories.patch + 090_all_pr55930-dependency-tracking.patch + + 201-cilkrts.patch + 203-libgcc_s.patch + 204-linux_libc_has_function.patch + 205-nopie.patch + 207-static-pie.patch + + libgcc-always-build-gcceh.a.patch + gcc-4.9-musl-fortify.patch + gcc-6.1-musl-libssp.patch + boehm-gc-musl.patch + boehm-gc-musl-mips.patch + gcc-pure64.patch + fix-gcj-stdgnu14-link.patch + fix-gcj-musl.patch + fix-gcj-iconv-musl.patch + fix-gcj-arm-thumb.patch + + gcc-4.8-build-args.patch + fix-cxxflags-passing.patch + + 300-main-gcc-add-musl-s390x-dynamic-linker.patch + 310-build-gcj-s390x.patch + 320-libffi-gnulinux.patch + + fix-rs6000-pie.patch + fix-linux-header-use-in-libgcc.patch + gcc-pure64-mips.patch + fix-ppc64le-coercion-r261621.patch + 0017-pr93402.patch + isl-0.22.patch + " + +sonameprefix="$pkgname:" + +# we build out-of-tree +_gccdir="$srcdir"/gcc-${_pkgbase:-$pkgver} +_gcclibdir=/usr/lib/gcc/${CTARGET}/$pkgver +_gcclibexec=/usr/libexec/gcc/${CTARGET}/$pkgver + +prepare() { + cd "$_gccdir" + + _err= + for i in $source; do + case "$i" in + *.patch) + msg "Applying $i" + patch -p1 -F3 -i "$srcdir"/$i || _err="$_err $i" + ;; + esac + done + + if [ -n "$_err" ]; then + error "The following patches failed:" + for i in $_err; do + echo " $i" + done + return 1 + fi + + # see https://gcc.gnu.org/ml/java/2008-04/msg00027.html + mv "$srcdir"/ecj-*.jar ecj.jar + + echo ${pkgver} > gcc/BASE-VER +} + +build() { + local _arch_configure= + local _libc_configure= + local _bootstrap_configure= + local _symvers= + + cd "$_gccdir" + + case "$CTARGET" in + aarch64-*-*-*) _arch_configure="--with-arch=armv8-a --with-abi=lp64";; + armv5-*-*-*eabi) _arch_configure="--with-arch=armv5te --with-tune=arm926ej-s --with-float=soft --with-abi=aapcs-linux";; + armv6-*-*-*eabihf) _arch_configure="--with-arch=armv6zk --with-tune=arm1176jzf-s --with-fpu=vfp --with-float=hard --with-abi=aapcs-linux";; + armv7-*-*-*eabihf) _arch_configure="--with-arch=armv7-a --with-tune=generic-armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-abi=aapcs-linux --with-mode=thumb";; + mips-*-*-*) _arch_configure="--with-arch=mips32 --with-mips-plt --with-float=soft --with-abi=32";; + mips64-*-*-*) _arch_configure="--with-arch=mips3 --with-tune=mips64 --with-mips-plt --with-float=soft --with-abi=64";; + mips64el-*-*-*) _arch_configure="--with-arch=mips3 --with-tune=mips64 --with-mips-plt --with-float=soft --with-abi=64";; + mipsel-*-*-*) _arch_configure="--with-arch=mips32 --with-mips-plt --with-float=soft --with-abi=32";; + powerpc-*-*-*) _arch_configure="--enable-secureplt --enable-decimal-float=no";; + powerpc64*-*-*-*) _arch_configure="--with-abi=elfv2 --enable-secureplt --enable-decimal-float=no --enable-targets=powerpcle-linux";; + i486-*-*-*) _arch_configure="--with-arch=i486 --with-tune=generic --enable-cld";; + i586-*-*-*) _arch_configure="--with-arch=i586 --with-tune=generic --enable-cld";; + s390x-*-*-*) _arch_configure="--with-arch=z196 --with-tune=zEC12 --with-zarch --with-long-double-128 --enable-decimal-float";; + esac + + case "$CTARGET_ARCH" in + mips*) _hash_style_configure="--with-linker-hash-style=sysv" ;; + *) _hash_style_configure="--with-linker-hash-style=gnu" ;; + esac + + case "$CTARGET_LIBC" in + musl) + # musl does not support mudflap, or libsanitizer + # libmpx uses secure_getenv and struct _libc_fpstate not present in musl + # alpine musl provides libssp_nonshared.a, so we don't need libssp either + _libc_configure="--disable-libssp --disable-libmpx --disable-libmudflap --disable-libsanitizer" + _symvers="--disable-symvers" + export libat_cv_have_ifunc=no + ;; + esac + + _bootstrap_configure="--enable-shared --enable-threads --enable-tls" + + msg "Building the following:" + echo "" + echo " CBUILD=$CBUILD" + echo " CHOST=$CHOST" + echo " CTARGET=$CTARGET" + echo " CTARGET_ARCH=$CTARGET_ARCH" + echo " CTARGET_LIBC=$CTARGET_LIBC" + echo " languages=$_languages" + echo " arch_configure=$_arch_configure" + echo " libc_configure=$_libc_configure" + echo " bootstrap_configure=$_bootstrap_configure" + echo " hash_style_configure=$_hash_style_configure" + echo "" + + mkdir -p "$_builddir" + cd "$_builddir" + "$_gccdir"/configure --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --build=${CBUILD} \ + --host=${CHOST} \ + --target=${CTARGET} \ + --program-suffix="-$_ver" \ + --with-pkgversion="Alpine ${pkgver}" \ + --enable-checking=release \ + --disable-bootstrap \ + --disable-fixed-point \ + --disable-libstdcxx-pch \ + --disable-multilib \ + --disable-nls \ + --disable-werror \ + --disable-libatomic \ + --disable-libgomp \ + --disable-libitm \ + --disable-libquadmath \ + $_symvers \ + --enable-__cxa_atexit \ + --enable-default-pie \ + --enable-cloog-backend \ + --enable-version-specific-runtime-libs \ + --enable-languages=$_languages \ + $_arch_configure \ + $_libc_configure \ + $_bootstrap_configure \ + --with-system-zlib \ + --with-jvm-root=/usr/lib/jvm/java-1.5-gcj \ + $_hash_style_configure + make +} + +package() { + cd "$_builddir" + make -j1 DESTDIR="${pkgdir}" install + + ln -s gcc-$_ver "$pkgdir"/usr/bin/cc-$_ver + + # we dont support gcj -static + # and saving 35MB is not bad. + find "$pkgdir" -name libgcj.a -o -name libgtkpeer.a \ + -o -name libgjsmalsa.a -o -name libgcj-tools.a \ + -o -name libjvm.a -o -name libgij.a -o -name libgcj_bc.a \ + -o -name libjavamath.a \ + | xargs rm -f + + # strip debug info from some static libs + ${STRIP_FOR_TARGET} -g `find "$pkgdir" \( -name \ + -o -name libmudflap.a -o -name libmudflapth.a \ + -o -name libgcc.a -o -name libgcov.a \ + -o -name libitm.a -o -name libcaf\*.a \ + -o -name libasan.a -o -name libtsan.a \) \ + -a -type f` + + sed -i -e 's/lib: /&%{static:%eJava programs cannot be linked statically}/' \ + "$pkgdir"/$_gcclibdir/libgcj.spec + + # avoid conlict with gcc + mv "$pkgdir"/usr/lib/libcc1* "$pkgdir"/$_gcclibdir/ + + # remove ffi + rm -f "$pkgdir"/usr/lib/libffi* "$pkgdir"/usr/share/man/man3/ffi* + find "$pkgdir" -name 'ffi*.h' | xargs rm -f + + # remove conflicting files + rm -f "$pkgdir"/usr/lib/gcc/${CHOST}/lib/libgcc_s.so* \ + "$pkgdir"/usr/lib/libgcc_s.so* + + local gdblib=${CTARGET}lib + for i in $(find "$pkgdir"/usr/$gdblib/ -type f -maxdepth 1 -name "*-gdb.py" ); do + mkdir -p "$pkgdir"/usr/share/gdb/python/auto-load/usr/$gdblib + mv "$i" "$pkgdir"/usr/share/gdb/python/auto-load/usr/$gdblib/ + done +} + +libcxx() { + pkgdesc="GNU C++ standard runtime library" + depends= + + mkdir -p "$subpkgdir"/$_gcclibdir + mv "$pkgdir"/$_gcclibdir/libstdc++.so.* "$subpkgdir"/$_gcclibdir/ +} + +gpp() { + pkgdesc="GNU C++ standard library and compiler" + depends="libstdc++=$_gccrel gcc=$_gccrel libc-dev" + mkdir -p "$subpkgdir/$_gcclibexec" \ + "$subpkgdir"/usr/bin \ + "$subpkgdir"/$_gcclibdir/include + + mv "$pkgdir/$_gcclibexec/cc1plus" "$subpkgdir/$_gcclibexec/" + + mv "$pkgdir"/$_gcclibdir/*++* "$subpkgdir"/$_gcclibdir/ + mv "$pkgdir"/$_gcclibdir/include/c++ "$subpkgdir"/$_gcclibdir/include/ + mv "$pkgdir"/usr/bin/*++* "$subpkgdir"/usr/bin/ +} + +java() { + pkgdesc="Java support for GCC" + depends="zlib-dev gcc6=$_gccrel libgcj6=$_gccrel" + + mkdir -p "$subpkgdir"/usr/bin "$subpkgdir"/usr/lib "$subpkgdir"/$_gcclibdir/ + cd "$pkgdir"/usr/bin + mv gcj-$_ver gcj-dbtool-$_ver gjavah-$_ver gcjh-$_ver jcf-dump-$_ver "$subpkgdir"/usr/bin/ + cd "$pkgdir" + for i in $(find usr/ -name ecj1 -o -name jc1 -o -name jvgenmain); do + mkdir -p "$subpkgdir"/${i%/*} + mv "$pkgdir"/$i "$subpkgdir"/$i + done + for i in "$pkgdir"/$_gcclibdir/libgcj*.so; do + if [ -L "$i" ]; then + mv "$i" "$subpkgdir"/usr/lib/ + fi + done + mv "$pkgdir"/$_gcclibdir/libgij.so \ + "$pkgdir"/$_gcclibdir/libgcj.spec \ + "$subpkgdir"/$_gcclibdir/ +} + +libgcj() { + pkgdesc="Java runtime library for gcc" + depends= + + mkdir -p "$subpkgdir"/usr/bin + cd "$pkgdir"/usr/bin + mv aot-compile-$_ver gappletviewer-$_ver gc-analyze-$_ver gij-$_ver \ + gjar-$_ver gjarsigner-$_ver gkeytool-$_ver gnative2ascii-$_ver gorbd-$_ver \ + grmic-$_ver grmid-$_ver grmiregistry-$_ver gserialver-$_ver \ + gtnameserv-$_ver jv-convert-$_ver rebuild-gcj-db-$_ver \ + "$subpkgdir"/usr/bin/ + cd "$pkgdir" + for i in $(find usr/lib -name jc1 -o -name jvgenmain); do + mkdir -p "$subpkgdir"/${i%/*} + mv "$pkgdir"/$i "$subpkgdir"/$i + done + mkdir -p "$subpkgdir"/$_gcclibdir + mv "$pkgdir"/$_gcclibdir/gcj-* \ + "$pkgdir"/$_gcclibdir/logging.properties \ + "$pkgdir"/$_gcclibdir/security \ + "$subpkgdir"/$_gcclibdir + + mv "$pkgdir"/$_gcclibdir/libgcj_bc.so \ + "$pkgdir"/$_gcclibdir/libgcj*.so.* \ + "$pkgdir"/$_gcclibdir/libgij.so.* \ + "$subpkgdir"/usr/lib + + mkdir -p "$subpkgdir"/usr/share/ + mv "$pkgdir"/usr/share/java "$subpkgdir"/usr/share/ +} + +sha512sums="02c60e54527c7adf584798d5251f8a0b80c93d5deafce82501b2c28e6692e0bd783927bbfc4bc527a863c0cccc025150a34740a9e29badb02d4b48e56a8aba90 gcc-6.4.0.tar.xz +28f8c6fdbcb19e950b1d0bafb3bcc7a8cba87bc673aa6027cece116599cdee80f0cf5e95a1440544890239f5c754e8a93ab46d9daedd937faef445d7ea33b226 ecj-4.9.jar +a1335adc2fbee98e36c4437ff2587771b98ed4180726779020f65039498235626a411cdb0100dbd20cd19d12f0d94f9a21af179ff624676c28cead9d60598b5d 001_all_default-ssp-strong.patch +e36e95b81489163abd6fe9d58f7867bdca43e61143afacbfb17f4698c0b16ec5fd0061d8fab7b2ae615540bebd721c2e2227f80401b4e7fc253da9da62e6b513 002_all_default-relro.patch +f86466c62b8291fac46f9c250c7ad8fa5ab7b1cce2504442fd07ddc4543665b317ae28951f244e39aba29aeaf3fff252ec4f6a147aa16adb2b7aed747dd89188 003_all_default-fortify-source.patch +6c15983d90b50106ef7a306be73e4ea93607c1e45ab5e0c386f24366869360b194c47b42c5cb1ec81e6975e486e78b7007a96bbc14fe625a98ed440e67bede10 005_all_default-as-needed.patch +3398386dd1e079d6545dd9799adc799c6b80e3984fac6899d0e1a7ee21b66d0c7e53cddf17a65d590c883db750f9f79aaedd857355a8b9f7fb9476c906237919 011_all_default-warn-format-security.patch +9adb0d2b9b67dd957df6c609b8714c7c078efb52cd88770905c37c67827be8fc83d1125037b9c29d77db21ce78756aa2bb0bacdb0b98d869ac126da76a298e21 012_all_default-warn-trampolines.patch +d35a3ac7e13a4446921a90e1ff3eec1079840c845f9d523c868e24ae21f94cf69ba041de5341ebef96432a6f57598e223381d4286e8fb8baaa25906707f29fbd 020_all_msgfmt-libstdc++-link.patch +840070a3c423e6206aaa6e63e1d9a0fcd6efd53626cd1240a193f0b60aa5d84216acc4a2a4fa8bce74549b07e6a316b01d638f20cea13dc62473491a302fb3d6 050_all_libiberty-asprintf.patch +0a0bc72b9366158f5d23fff1928e756fdd212433bac6ab1f00d632f241382820db8db5d475ddf11ea020eaf7e2e71b12fb9b1c3c870cf84adf6c2b16f15aabca 051_all_libiberty-pic.patch +e7a2eb1b1870e199d6fd753d065781575656fa12baa264f96c5d179689d88c31b8a3f92a5dae96088c05e96aa2bda138364ad7dbcc79e1819a102f192cbb7bab 053_all_libitm-no-fortify-source.patch +e87da18aa7ab92b02b06168658c63b42a6c73a08fad2a30f81ef6296100fdbe3c3a91548fd0cb24eaf591e862bb08e4b67249bc4b977b07da33523aee0c686bc 067_all_gcc-poison-system-directories.patch +4a328d1e1a56c20166307edcfa322068915784d9c08025b7f81cf69714da48fc266b6d34f77b9135c2f10da830d9df408276a1b78d1fd218637c2823506593c2 090_all_pr55930-dependency-tracking.patch +ef052d0c3c9642fcb5ed570069c5a49c8ef523c47ac8ce3f201a801766f72ae4ff7c3725a70ee66e52c0fb559621e35fe0cf5b88b901d71ceadd381f49653a08 201-cilkrts.patch +808e206f5e107084156fba333d4e091dcbd62f5d7756142bc292d4b0a52619f8c2aaca3617defc2f5b6552ba0439aebd33f4141329d88eab6ddf2dd637d92c08 203-libgcc_s.patch +fc0de05b36613b732a0222ea005c90653c6a40d6761b6894af2419272f4e74875f37e26af33a9b9940669ef89269c44c46d17ca5bcd54b5cd1176e5eaf2992c1 204-linux_libc_has_function.patch +98473bcaa77903a223ca9b0d2087c0921b287a2816d308cc32c8fe009e6cbf5dd1ae7fba27794ab8d9c09e117fe534413d91a464d1218474fc123ce0adfdc2c1 205-nopie.patch +3287d5b443bea8ec64132bcabe869c738ae98ea8f1a86df1c5d18c927f8816edbfcefeefc47792dbbb2bcacf50319af00e01b3735d34525913b64350770ad453 207-static-pie.patch +d08d7ead2de0429e5c9055d5b029ec2be9a8c821d22cecaf9b51f633652c493333f98963d9267fa2fa63850c50ae5eefd5f59e5910ec10d20044dac082182a8b libgcc-always-build-gcceh.a.patch +600fe5098dc54edaa9808fd5717af9dec058953f9ad37d49cfba1db4f7e9a7a8f02019342f75157fc575946fa693259422184de27b7ecc8386d9f3ecc0f7cc5d gcc-4.9-musl-fortify.patch +dbe0ee917fc7668571722364ab7c806731e3a31e8bfa30b4941b28b16b877d2a32b4a3897ef533399a28f82d43cac9b28e92de0493f0e779046db56584e07fa4 gcc-6.1-musl-libssp.patch +bda845a6aa1854d2c883910b115f79ccfa93dfc2b5eac69a3a236d83eb34cadc140731d616ffc24698c7abc8878dd15f231bcc5119f1860e575a120b311706c7 boehm-gc-musl.patch +c3afce4ce61c8de4e8dc3844516950a993ee6256323cf6e6aa1cc2b0ad9fa34f2a8da3eb73a4a48b2fd5968f41e582f68ef7281ee7c1d5c78724cee8e21990af boehm-gc-musl-mips.patch +fa62556719449caec6b2b434355bfbcaa5ae55ffe017b3e1f827f66a2aae21b79c571ee7a4ce723ea69169bc3a6447e73650991a200cc372adf2f102677518d7 gcc-pure64.patch +2253941f3d19b6d08801d3782f5f5ed56c3b73fbc9d3561a8f01c702963ac4fab91599c686076e7081eb6a80c37ccd33591ae978996d6eee1dc0ce0f1c50259a fix-gcj-stdgnu14-link.patch +f89ddeb21bc8f97e6a850a6b70b4501a8f3e49a4bc8cc82897488decda5d98ad01cb7f6c8b392d452e9579924a523bc75da6e0648c1c976d42e40af48b10343b fix-gcj-musl.patch +54d67cc008b735e47771314171930c5d8b8f5f5dc97fcf4214824c105c808f3e75d22d5a4fdf5068ed0457fa0d46c60cfb442e276259a4a5e9b8722a027d18e6 fix-gcj-iconv-musl.patch +4b35b83d5524123c6a87dc4581ad25de499caf288ac10684769369619a92626b6f13d05f7c0e606d5fc01b4df9a40d34698d708c38ac8aa6f60d7d00aa371dba fix-gcj-arm-thumb.patch +abe9aaf9aa956058d0386a4396a511d176a46bb3906b90e952383646cdc158cbeb0a5dc616a1ccb1ca7d49fd0b5e351532aa15a3b13362abbf1ca4266f54a687 gcc-4.8-build-args.patch +35d6d59f0b7b968f282f56767c9e0823a7bdc5aa0d450aca50fbd802649a7ca608b47671244a3faa208a9b0d6832cabb5a22724157dc817b2c0ad63d09f93282 fix-cxxflags-passing.patch +4b4a0ff306a8ef34ff6e3284fbfca869012164a47ba7cb099085c1dd03e6ca0cdd462f82710e08c9a02895adc7484e4c5eef17b5aa264cf5d978fe8ad78eea93 300-main-gcc-add-musl-s390x-dynamic-linker.patch +385bc2fa50204f678964e5148c6170f572701dab920fbec8301f505bda34d182cde0adb7da042fee71719e12fb59f59181897f9b1bb4f4716ff59aad46ca1998 310-build-gcj-s390x.patch +f4ef08454e28c8732db69115e4998ec153399e8d229dd27f923dbdcf57b68128a65640d026cc7f45b58ba8764ab1eb575d4eb6d6dfc550a87a183f8b94e76181 320-libffi-gnulinux.patch +01c71cd5881fc07ea3b9b980697e89b3ca0fe98502958ceafc3fca18b2604c844e2f457feab711baf8e03f00a5383b0e38aac7eb954034e306f43d4a37f165ed fix-rs6000-pie.patch +34a818d5be67eb1f34e44a80b83c28a9b9c17d37fc9fac639f490d6bb5b53ebe3318140d09c236a17d7c98f5a7792ae3d6cefccda8067a5e942d6305b9d1f87c fix-linux-header-use-in-libgcc.patch +86be3338cc9c33089608bc4c5e3b7918c4e500a345c338f361b18c342119a6ed69af5495d72950de7106d760f003528b46ad14795e805f8a3331e206dcb234e3 gcc-pure64-mips.patch +aae9d510326bed6eca0b1f680d2caf64dd804e73fb9d726c8932faa845c07e1be6ab12920972d8fb80a33dafedcaafca71487b0eaf10e6d5fa7deb853926b933 fix-ppc64le-coercion-r261621.patch +0e20a5717c20ddc1d9f00276453b0abb4868adff0496604ad7d5b766a1028181c09c2061c5648bcfd4cb29dca7048cc866d2f27c013d82c2440164f17eac685d 0017-pr93402.patch +8c46436ca6ff75d68186e6aeeb16addee7bf2502c4295b86f71ab3dc9d58540cc5cf8723bee69b3aeae07cde0c725a19fbe69c1110a23549331b5b0b250fd31f isl-0.22.patch" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/gcc6/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/gcc6/APKBUILD-expected.json new file mode 100644 index 00000000000..d9ed79e3ca3 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/gcc6/APKBUILD-expected.json @@ -0,0 +1,361 @@ +{ + "type": "alpine", + "namespace": null, + "name": "gcc6", + "version": "6.4.0-r12", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "The GNU Compiler Collection", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-1.0-plus AND lgpl-2.0-plus", + "declared_license": "GPL LGPL", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://gcc.gnu.org/pub/gcc/releases/gcc-6/gcc-6.tar.xz" + }, + { + "file_name": null, + "url": "https://sourceware.org/pub/java/ecj-4.9.jar" + }, + { + "file_name": "001_all_default-ssp-strong.patch", + "url": null + }, + { + "file_name": "002_all_default-relro.patch", + "url": null + }, + { + "file_name": "003_all_default-fortify-source.patch", + "url": null + }, + { + "file_name": "005_all_default-as-needed.patch", + "url": null + }, + { + "file_name": "011_all_default-warn-format-security.patch", + "url": null + }, + { + "file_name": "012_all_default-warn-trampolines.patch", + "url": null + }, + { + "file_name": "020_all_msgfmt-libstdc++-link.patch", + "url": null + }, + { + "file_name": "050_all_libiberty-asprintf.patch", + "url": null + }, + { + "file_name": "051_all_libiberty-pic.patch", + "url": null + }, + { + "file_name": "053_all_libitm-no-fortify-source.patch", + "url": null + }, + { + "file_name": "067_all_gcc-poison-system-directories.patch", + "url": null + }, + { + "file_name": "090_all_pr55930-dependency-tracking.patch", + "url": null + }, + { + "file_name": "201-cilkrts.patch", + "url": null + }, + { + "file_name": "203-libgcc_s.patch", + "url": null + }, + { + "file_name": "204-linux_libc_has_function.patch", + "url": null + }, + { + "file_name": "205-nopie.patch", + "url": null + }, + { + "file_name": "207-static-pie.patch", + "url": null + }, + { + "file_name": "libgcc-always-build-gcceh.a.patch", + "url": null + }, + { + "file_name": "gcc-4.9-musl-fortify.patch", + "url": null + }, + { + "file_name": "gcc-6.1-musl-libssp.patch", + "url": null + }, + { + "file_name": "boehm-gc-musl.patch", + "url": null + }, + { + "file_name": "boehm-gc-musl-mips.patch", + "url": null + }, + { + "file_name": "gcc-pure64.patch", + "url": null + }, + { + "file_name": "fix-gcj-stdgnu14-link.patch", + "url": null + }, + { + "file_name": "fix-gcj-musl.patch", + "url": null + }, + { + "file_name": "fix-gcj-iconv-musl.patch", + "url": null + }, + { + "file_name": "fix-gcj-arm-thumb.patch", + "url": null + }, + { + "file_name": "gcc-4.8-build-args.patch", + "url": null + }, + { + "file_name": "fix-cxxflags-passing.patch", + "url": null + }, + { + "file_name": "300-main-gcc-add-musl-s390x-dynamic-linker.patch", + "url": null + }, + { + "file_name": "310-build-gcj-s390x.patch", + "url": null + }, + { + "file_name": "320-libffi-gnulinux.patch", + "url": null + }, + { + "file_name": "fix-rs6000-pie.patch", + "url": null + }, + { + "file_name": "fix-linux-header-use-in-libgcc.patch", + "url": null + }, + { + "file_name": "gcc-pure64-mips.patch", + "url": null + }, + { + "file_name": "fix-ppc64le-coercion-r261621.patch", + "url": null + }, + { + "file_name": "0017-pr93402.patch", + "url": null + }, + { + "file_name": "isl-0.22.patch", + "url": null + } + ], + "checksums": [ + { + "file_name": "gcc-6.4.0.tar.xz", + "sha512": "02c60e54527c7adf584798d5251f8a0b80c93d5deafce82501b2c28e6692e0bd783927bbfc4bc527a863c0cccc025150a34740a9e29badb02d4b48e56a8aba90" + }, + { + "file_name": "ecj-4.9.jar", + "sha512": "28f8c6fdbcb19e950b1d0bafb3bcc7a8cba87bc673aa6027cece116599cdee80f0cf5e95a1440544890239f5c754e8a93ab46d9daedd937faef445d7ea33b226" + }, + { + "file_name": "001_all_default-ssp-strong.patch", + "sha512": "a1335adc2fbee98e36c4437ff2587771b98ed4180726779020f65039498235626a411cdb0100dbd20cd19d12f0d94f9a21af179ff624676c28cead9d60598b5d" + }, + { + "file_name": "002_all_default-relro.patch", + "sha512": "e36e95b81489163abd6fe9d58f7867bdca43e61143afacbfb17f4698c0b16ec5fd0061d8fab7b2ae615540bebd721c2e2227f80401b4e7fc253da9da62e6b513" + }, + { + "file_name": "003_all_default-fortify-source.patch", + "sha512": "f86466c62b8291fac46f9c250c7ad8fa5ab7b1cce2504442fd07ddc4543665b317ae28951f244e39aba29aeaf3fff252ec4f6a147aa16adb2b7aed747dd89188" + }, + { + "file_name": "005_all_default-as-needed.patch", + "sha512": "6c15983d90b50106ef7a306be73e4ea93607c1e45ab5e0c386f24366869360b194c47b42c5cb1ec81e6975e486e78b7007a96bbc14fe625a98ed440e67bede10" + }, + { + "file_name": "011_all_default-warn-format-security.patch", + "sha512": "3398386dd1e079d6545dd9799adc799c6b80e3984fac6899d0e1a7ee21b66d0c7e53cddf17a65d590c883db750f9f79aaedd857355a8b9f7fb9476c906237919" + }, + { + "file_name": "012_all_default-warn-trampolines.patch", + "sha512": "9adb0d2b9b67dd957df6c609b8714c7c078efb52cd88770905c37c67827be8fc83d1125037b9c29d77db21ce78756aa2bb0bacdb0b98d869ac126da76a298e21" + }, + { + "file_name": "020_all_msgfmt-libstdc++-link.patch", + "sha512": "d35a3ac7e13a4446921a90e1ff3eec1079840c845f9d523c868e24ae21f94cf69ba041de5341ebef96432a6f57598e223381d4286e8fb8baaa25906707f29fbd" + }, + { + "file_name": "050_all_libiberty-asprintf.patch", + "sha512": "840070a3c423e6206aaa6e63e1d9a0fcd6efd53626cd1240a193f0b60aa5d84216acc4a2a4fa8bce74549b07e6a316b01d638f20cea13dc62473491a302fb3d6" + }, + { + "file_name": "051_all_libiberty-pic.patch", + "sha512": "0a0bc72b9366158f5d23fff1928e756fdd212433bac6ab1f00d632f241382820db8db5d475ddf11ea020eaf7e2e71b12fb9b1c3c870cf84adf6c2b16f15aabca" + }, + { + "file_name": "053_all_libitm-no-fortify-source.patch", + "sha512": "e7a2eb1b1870e199d6fd753d065781575656fa12baa264f96c5d179689d88c31b8a3f92a5dae96088c05e96aa2bda138364ad7dbcc79e1819a102f192cbb7bab" + }, + { + "file_name": "067_all_gcc-poison-system-directories.patch", + "sha512": "e87da18aa7ab92b02b06168658c63b42a6c73a08fad2a30f81ef6296100fdbe3c3a91548fd0cb24eaf591e862bb08e4b67249bc4b977b07da33523aee0c686bc" + }, + { + "file_name": "090_all_pr55930-dependency-tracking.patch", + "sha512": "4a328d1e1a56c20166307edcfa322068915784d9c08025b7f81cf69714da48fc266b6d34f77b9135c2f10da830d9df408276a1b78d1fd218637c2823506593c2" + }, + { + "file_name": "201-cilkrts.patch", + "sha512": "ef052d0c3c9642fcb5ed570069c5a49c8ef523c47ac8ce3f201a801766f72ae4ff7c3725a70ee66e52c0fb559621e35fe0cf5b88b901d71ceadd381f49653a08" + }, + { + "file_name": "203-libgcc_s.patch", + "sha512": "808e206f5e107084156fba333d4e091dcbd62f5d7756142bc292d4b0a52619f8c2aaca3617defc2f5b6552ba0439aebd33f4141329d88eab6ddf2dd637d92c08" + }, + { + "file_name": "204-linux_libc_has_function.patch", + "sha512": "fc0de05b36613b732a0222ea005c90653c6a40d6761b6894af2419272f4e74875f37e26af33a9b9940669ef89269c44c46d17ca5bcd54b5cd1176e5eaf2992c1" + }, + { + "file_name": "205-nopie.patch", + "sha512": "98473bcaa77903a223ca9b0d2087c0921b287a2816d308cc32c8fe009e6cbf5dd1ae7fba27794ab8d9c09e117fe534413d91a464d1218474fc123ce0adfdc2c1" + }, + { + "file_name": "207-static-pie.patch", + "sha512": "3287d5b443bea8ec64132bcabe869c738ae98ea8f1a86df1c5d18c927f8816edbfcefeefc47792dbbb2bcacf50319af00e01b3735d34525913b64350770ad453" + }, + { + "file_name": "libgcc-always-build-gcceh.a.patch", + "sha512": "d08d7ead2de0429e5c9055d5b029ec2be9a8c821d22cecaf9b51f633652c493333f98963d9267fa2fa63850c50ae5eefd5f59e5910ec10d20044dac082182a8b" + }, + { + "file_name": "gcc-4.9-musl-fortify.patch", + "sha512": "600fe5098dc54edaa9808fd5717af9dec058953f9ad37d49cfba1db4f7e9a7a8f02019342f75157fc575946fa693259422184de27b7ecc8386d9f3ecc0f7cc5d" + }, + { + "file_name": "gcc-6.1-musl-libssp.patch", + "sha512": "dbe0ee917fc7668571722364ab7c806731e3a31e8bfa30b4941b28b16b877d2a32b4a3897ef533399a28f82d43cac9b28e92de0493f0e779046db56584e07fa4" + }, + { + "file_name": "boehm-gc-musl.patch", + "sha512": "bda845a6aa1854d2c883910b115f79ccfa93dfc2b5eac69a3a236d83eb34cadc140731d616ffc24698c7abc8878dd15f231bcc5119f1860e575a120b311706c7" + }, + { + "file_name": "boehm-gc-musl-mips.patch", + "sha512": "c3afce4ce61c8de4e8dc3844516950a993ee6256323cf6e6aa1cc2b0ad9fa34f2a8da3eb73a4a48b2fd5968f41e582f68ef7281ee7c1d5c78724cee8e21990af" + }, + { + "file_name": "gcc-pure64.patch", + "sha512": "fa62556719449caec6b2b434355bfbcaa5ae55ffe017b3e1f827f66a2aae21b79c571ee7a4ce723ea69169bc3a6447e73650991a200cc372adf2f102677518d7" + }, + { + "file_name": "fix-gcj-stdgnu14-link.patch", + "sha512": "2253941f3d19b6d08801d3782f5f5ed56c3b73fbc9d3561a8f01c702963ac4fab91599c686076e7081eb6a80c37ccd33591ae978996d6eee1dc0ce0f1c50259a" + }, + { + "file_name": "fix-gcj-musl.patch", + "sha512": "f89ddeb21bc8f97e6a850a6b70b4501a8f3e49a4bc8cc82897488decda5d98ad01cb7f6c8b392d452e9579924a523bc75da6e0648c1c976d42e40af48b10343b" + }, + { + "file_name": "fix-gcj-iconv-musl.patch", + "sha512": "54d67cc008b735e47771314171930c5d8b8f5f5dc97fcf4214824c105c808f3e75d22d5a4fdf5068ed0457fa0d46c60cfb442e276259a4a5e9b8722a027d18e6" + }, + { + "file_name": "fix-gcj-arm-thumb.patch", + "sha512": "4b35b83d5524123c6a87dc4581ad25de499caf288ac10684769369619a92626b6f13d05f7c0e606d5fc01b4df9a40d34698d708c38ac8aa6f60d7d00aa371dba" + }, + { + "file_name": "gcc-4.8-build-args.patch", + "sha512": "abe9aaf9aa956058d0386a4396a511d176a46bb3906b90e952383646cdc158cbeb0a5dc616a1ccb1ca7d49fd0b5e351532aa15a3b13362abbf1ca4266f54a687" + }, + { + "file_name": "fix-cxxflags-passing.patch", + "sha512": "35d6d59f0b7b968f282f56767c9e0823a7bdc5aa0d450aca50fbd802649a7ca608b47671244a3faa208a9b0d6832cabb5a22724157dc817b2c0ad63d09f93282" + }, + { + "file_name": "300-main-gcc-add-musl-s390x-dynamic-linker.patch", + "sha512": "4b4a0ff306a8ef34ff6e3284fbfca869012164a47ba7cb099085c1dd03e6ca0cdd462f82710e08c9a02895adc7484e4c5eef17b5aa264cf5d978fe8ad78eea93" + }, + { + "file_name": "310-build-gcj-s390x.patch", + "sha512": "385bc2fa50204f678964e5148c6170f572701dab920fbec8301f505bda34d182cde0adb7da042fee71719e12fb59f59181897f9b1bb4f4716ff59aad46ca1998" + }, + { + "file_name": "320-libffi-gnulinux.patch", + "sha512": "f4ef08454e28c8732db69115e4998ec153399e8d229dd27f923dbdcf57b68128a65640d026cc7f45b58ba8764ab1eb575d4eb6d6dfc550a87a183f8b94e76181" + }, + { + "file_name": "fix-rs6000-pie.patch", + "sha512": "01c71cd5881fc07ea3b9b980697e89b3ca0fe98502958ceafc3fca18b2604c844e2f457feab711baf8e03f00a5383b0e38aac7eb954034e306f43d4a37f165ed" + }, + { + "file_name": "fix-linux-header-use-in-libgcc.patch", + "sha512": "34a818d5be67eb1f34e44a80b83c28a9b9c17d37fc9fac639f490d6bb5b53ebe3318140d09c236a17d7c98f5a7792ae3d6cefccda8067a5e942d6305b9d1f87c" + }, + { + "file_name": "gcc-pure64-mips.patch", + "sha512": "86be3338cc9c33089608bc4c5e3b7918c4e500a345c338f361b18c342119a6ed69af5495d72950de7106d760f003528b46ad14795e805f8a3331e206dcb234e3" + }, + { + "file_name": "fix-ppc64le-coercion-r261621.patch", + "sha512": "aae9d510326bed6eca0b1f680d2caf64dd804e73fb9d726c8932faa845c07e1be6ab12920972d8fb80a33dafedcaafca71487b0eaf10e6d5fa7deb853926b933" + }, + { + "file_name": "0017-pr93402.patch", + "sha512": "0e20a5717c20ddc1d9f00276453b0abb4868adff0496604ad7d5b766a1028181c09c2061c5648bcfd4cb29dca7048cc866d2f27c013d82c2440164f17eac685d" + }, + { + "file_name": "isl-0.22.patch", + "sha512": "8c46436ca6ff75d68186e6aeeb16addee7bf2502c4295b86f71ab3dc9d58540cc5cf8723bee69b3aeae07cde0c725a19fbe69c1110a23549331b5b0b250fd31f" + } + ] + }, + "purl": "pkg:alpine/gcc6@6.4.0-r12", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/hunspell-de-de/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/hunspell-de-de/APKBUILD new file mode 100644 index 00000000000..9aa0fbc77ff --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/hunspell-de-de/APKBUILD @@ -0,0 +1,20 @@ +# Maintainer: Rasmus Thomsen +pkgname=hunspell-de-de +pkgver=20170112 +_pkgver="${pkgver:0:4}-${pkgver:4:2}-${pkgver:6:2}" +pkgrel=0 +pkgdesc="German (Germany) hunspell dictionaries" +url="https://extensions.libreoffice.org/extensions/german-de-de-frami-dictionaries" +arch="noarch" +license="GPL-3.0-only" +makedepends="unzip" +options="!check" # no tests available +source="$pkgname-$pkgver.zip::https://sourceforge.net/projects/aoo-extensions/files/1075/15/dict-de_de-frami_$_pkgver.oxt/download" +builddir="$srcdir" + +package() { + install -d "$pkgdir"/usr/share/hunspell + install -m644 de_DE_frami/de_DE_frami.aff "$pkgdir"/usr/share/hunspell/de_DE.aff + install -m644 de_DE_frami/de_DE_frami.dic "$pkgdir"/usr/share/hunspell/de_DE.dic +} +sha512sums="f44d30c875335f52674ea91557c716eb2c9917e7bd170372c8994d8d58e948ef2b68f004d93f175173ffad4a17a1920c69eaffe915668e0c4dc5fee7f8abcc6e hunspell-de-de-20170112.zip" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/hunspell-de-de/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/hunspell-de-de/APKBUILD-expected.json new file mode 100644 index 00000000000..53d9e6ab66e --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/hunspell-de-de/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "hunspell-de-de", + "version": "20170112-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "German (Germany) hunspell dictionaries", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-3.0", + "declared_license": "GPL-3.0-only", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": "hunspell-de-de-20170112.zip", + "url": "https://sourceforge.net/projects/aoo-extensions/files/1075/15/dict-de_de-frami_2017-01-12.oxt/download" + } + ], + "checksums": [ + { + "file_name": "hunspell-de-de-20170112.zip", + "sha512": "f44d30c875335f52674ea91557c716eb2c9917e7bd170372c8994d8d58e948ef2b68f004d93f175173ffad4a17a1920c69eaffe915668e0c4dc5fee7f8abcc6e" + } + ] + }, + "purl": "pkg:alpine/hunspell-de-de@20170112-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/imagemagick/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/imagemagick/APKBUILD new file mode 100644 index 00000000000..fb796c51250 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/imagemagick/APKBUILD @@ -0,0 +1,213 @@ +# Contributor: Łukasz Jendrysik +# Contributor: Carlo Landmeter +# Maintainer: Natanael Copa +pkgname=imagemagick +_pkgname=ImageMagick +pkgver=7.0.11.13 +pkgrel=0 +_pkgver=${pkgver%.*}-${pkgver##*.} +_abiver=7 +pkgdesc="Collection of tools and libraries for many image formats" +url="https://imagemagick.org/" +arch="all" +license="ImageMagick" +options="libtool" +makedepends=" + chrpath + fontconfig-dev + freetype-dev + ghostscript-dev + lcms2-dev + libheif-dev + libjpeg-turbo-dev + libpng-dev + libtool + libwebp-dev + libx11-dev + libxext-dev + libxml2-dev + perl-dev + tiff-dev + zlib-dev + " + +case "$CARCH" in + s390x) ;; + mips*) options="$options !check" ;; + *) makedepends="$makedepends librsvg-dev" ;; +esac + +checkdepends="freetype fontconfig ghostscript ghostscript-fonts lcms2 graphviz" +subpackages=" + $pkgname-doc + $pkgname-static + $pkgname-dev + $pkgname-c++:_cxx + $pkgname-libs + $pkgname-perlmagick:_perlmagick + $pkgname-perlmagick-doc:_perlmagick_doc + " +source="https://download.imagemagick.org/ImageMagick/download/ImageMagick-$_pkgver.tar.xz + disable-avaraging-tests.patch + " +builddir="$srcdir/$_pkgname-$_pkgver" + +# secfixes: +# 7.0.11.1-r0: +# - CVE-2021-20241 +# - CVE-2021-20243 +# - CVE-2021-20244 +# - CVE-2021-20245 +# - CVE-2021-20246 +# - CVE-2021-20309 +# - CVE-2021-20310 +# - CVE-2021-20311 +# - CVE-2021-20312 +# - CVE-2021-20313 +# 7.0.10.57-r0: +# - CVE-2021-20176 +# 7.0.10.42-r0: +# - CVE-2020-29599 +# 7.0.10.35-r0: +# - CVE-2020-27560 +# 7.0.10.18-r0: +# - CVE-2020-13902 +# 7.0.10.8-r0: +# - CVE-2020-19667 +# 7.0.10.0-r0: +# - CVE-2020-10251 +# 7.0.9.7-r0: +# - CVE-2019-19952 +# 7.0.8.62-r0: +# - CVE-2019-17547 +# 7.0.8.56-r0: +# - CVE-2019-17541 +# - CVE-2019-17540 +# - CVE-2019-14981 +# - CVE-2019-13454 +# 7.0.8.53-r0: +# - CVE-2019-13391 +# - CVE-2019-13311 +# - CVE-2019-13310 +# - CVE-2019-13309 +# - CVE-2019-13308 +# - CVE-2019-13307 +# - CVE-2019-13306 +# - CVE-2019-13305 +# - CVE-2019-13304 +# - CVE-2019-13303 +# - CVE-2019-13302 +# - CVE-2019-13301 +# - CVE-2019-13300 +# - CVE-2019-13299 +# - CVE-2019-13298 +# - CVE-2019-13297 +# - CVE-2019-13296 +# - CVE-2019-13295 +# - CVE-2019-13137 +# - CVE-2019-13136 +# - CVE-2019-13135 +# - CVE-2019-13134 +# - CVE-2019-13133 +# 7.0.8.44-r0: +# - CVE-2019-19949 +# - CVE-2019-19948 +# - CVE-2019-16713 +# - CVE-2019-16712 +# - CVE-2019-16711 +# - CVE-2019-15141 +# - CVE-2019-15140 +# - CVE-2019-15139 +# - CVE-2019-14980 +# - CVE-2019-11598 +# - CVE-2019-11597 +# - CVE-2019-11472 +# 7.0.8.38-r0: +# - CVE-2019-9956 +# - CVE-2019-16710 +# - CVE-2019-16709 +# - CVE-2019-16708 +# - CVE-2019-10650 +# - CVE-2019-10649 + +build() { + case "$CARCH" in + s390x) ;; + *) _conf_args="--with-rsvg" ;; + esac + + # fix doc dir, Gentoo bug 91911 + sed -i -e \ + 's:DOCUMENTATION_PATH="$DATA_DIR/doc/$DOCUMENTATION_RELATIVE_PATH":DOCUMENTATION_PATH="/usr/share/doc/imagemagick":g' \ + configure + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --enable-static \ + --disable-openmp \ + --with-threads \ + --with-x \ + --with-tiff \ + --with-png \ + --with-webp \ + --with-gslib \ + --with-gs-font-dir=/usr/share/fonts/Type1 \ + --with-heic \ + --with-modules \ + --with-xml \ + --with-perl \ + --with-perl-options="PREFIX=/usr INSTALLDIRS=vendor" \ + $_conf_args + make +} + +check() { + make check +} + +package() { + make -j1 DESTDIR="$pkgdir" install + if ! [ -e "$pkgdir"/usr/lib/libMagickCore-$_abiver.Q16HDRI.so ]; then + error "Has ABI verision changed? (current is $_abiver)" + return 1 + fi + + # we cannot let abuild delete the *.la files due to we need *.la + # for the modules + rm "$pkgdir"/usr/lib/*.la + + find "$pkgdir" \( -name '.packlist' -o -name 'perllocal.pod' \ + -o -name '*.bs' \) -delete +} + +_cxx() { + pkgdesc="ImageMagick Magick++ library (C++ bindings)" + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libMagick++*.so.* "$subpkgdir"/usr/lib/ +} + +_perlmagick() { + pkgdesc="PerlMagick Perl Modules for ImageMagick" + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/perl5 "$subpkgdir"/usr/lib/ + # Strip all the rpath that include /home + scanelf --recursive --rpath "$subpkgdir" | awk '/home/{print $3;}' | xargs chrpath -d +# chrpath -d "$subpkgdir"/usr/lib/perl5/vendor_perl/auto/Image/Magick/Q16HDRI/Q16HDRI.so +# chrpath -d "$subpkgdir"/usr/lib/perl5/vendor_perl/auto/Image/Magick/Magick.so +} + +_perlmagick_doc() { + pkgdesc="PerlMagick Perl Module Documentation for ImageMagick" + mkdir -p "$subpkgdir" + cd "$builddir"/PerlMagick + make -j1 DESTDIR="$subpkgdir" doc_vendor_install +} + +sha512sums=" +8b5fe1ad06ca3af752454f67f53a066842668832bbd4efede35c515449cd2b970e6f7f23e716928ba598f89a7ec020bd988cc392196c89117586fb97a48e1d9e ImageMagick-7.0.11-13.tar.xz +58afb2da075a6208b6a990ff297b3a827d260687c3355198a8b4d987e1596c0b0cd78aff6f0be0e1896e537fbe44a3d467473183f5f149664ea6e6fb3d3291a9 disable-avaraging-tests.patch +" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/imagemagick/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/imagemagick/APKBUILD-expected.json new file mode 100644 index 00000000000..2acb1987ac0 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/imagemagick/APKBUILD-expected.json @@ -0,0 +1,57 @@ +{ + "type": "alpine", + "namespace": null, + "name": "imagemagick", + "version": "7.0.11.13-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Collection of tools and libraries for many image formats", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "imagemagick", + "declared_license": "ImageMagick", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.imagemagick.org/ImageMagick/download/ImageMagick-7.0.11-13.tar.xz" + }, + { + "file_name": "disable-avaraging-tests.patch", + "url": null + } + ], + "checksums": [ + { + "file_name": "ImageMagick-7.0.11-13.tar.xz", + "sha512": "8b5fe1ad06ca3af752454f67f53a066842668832bbd4efede35c515449cd2b970e6f7f23e716928ba598f89a7ec020bd988cc392196c89117586fb97a48e1d9e" + }, + { + "file_name": "disable-avaraging-tests.patch", + "sha512": "58afb2da075a6208b6a990ff297b3a827d260687c3355198a8b4d987e1596c0b0cd78aff6f0be0e1896e537fbe44a3d467473183f5f149664ea6e6fb3d3291a9" + } + ] + }, + "purl": "pkg:alpine/imagemagick@7.0.11.13-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/imagemagick6/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/imagemagick6/APKBUILD new file mode 100644 index 00000000000..8cf8b1d639e --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/imagemagick6/APKBUILD @@ -0,0 +1,208 @@ +# Contributor: Łukasz Jendrysik +# Contributor: Carlo Landmeter +# Maintainer: Jakub Jirutka +pkgname=imagemagick6 +_pkgname=ImageMagick6 +pkgver=6.9.11.55 +_pkgver=${pkgver%.*}-${pkgver##*.} +_abiver=${pkgname#imagemagick} +pkgrel=0 +pkgdesc="A collection of tools and libraries for many image formats (legacy version $_abiver)" +url="https://www.imagemagick.org/" +arch="all" +license="Apache-2.0" +options="libtool" +depends_dev="!${pkgname%$_abiver}-dev" +makedepends="fontconfig-dev freetype-dev ghostscript-dev lcms2-dev + libjpeg-turbo-dev libpng-dev libtool libxml2-dev tiff-dev + zlib-dev" + +case "$CARCH" in + s390x) ;; + mips*) options="!check" ;; + *) makedepends="$makedepends librsvg-dev" ;; +esac + +checkdepends="freetype fontconfig ghostscript ghostscript-fonts lcms2 graphviz" +subpackages="$pkgname-doc $pkgname-dev $pkgname-c++:_cxx $pkgname-libs" +source="$_pkgname-$_pkgver.tar.gz::https://github.com/ImageMagick/ImageMagick6/archive/$_pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$_pkgver" + +# secfixes: +# 6.9.11.42-r0: +# - CVE-2020-29599 +# 6.9.11.35-r0: +# - CVE-2020-27560 +# 6.9.11.9-r0: +# - CVE-2020-19667 +# 6.9.10.80-r0: +# - CVE-2019-19952 +# 6.9.10.55-r0: +# - CVE-2019-13454 +# 6.9.10.53-r0: +# - CVE-2019-13391 +# - CVE-2019-13311 +# - CVE-2019-13310 +# - CVE-2019-13309 +# - CVE-2019-13308 +# - CVE-2019-13307 +# - CVE-2019-13306 +# - CVE-2019-13305 +# - CVE-2019-13304 +# - CVE-2019-13303 +# - CVE-2019-13302 +# - CVE-2019-13301 +# - CVE-2019-13300 +# - CVE-2019-13299 +# - CVE-2019-13298 +# - CVE-2019-13297 +# - CVE-2019-13296 +# - CVE-2019-13295 +# - CVE-2019-13137 +# - CVE-2019-13136 +# - CVE-2019-13135 +# - CVE-2019-13134 +# - CVE-2019-13133 +# 6.9.10.43-r0: +# - CVE-2019-19949 +# - CVE-2019-19948 +# - CVE-2019-14981 +# - CVE-2019-14980 +# - CVE-2019-11598 +# - CVE-2019-11597 +# - CVE-2019-11472 +# 6.9.10.37-r0: +# - CVE-2019-10649 +# - CVE-2019-10650 +# - CVE-2019-7175 +# - CVE-2019-7395 +# - CVE-2019-7396 +# - CVE-2019-7397 +# - CVE-2019-7398 +# - CVE-2019-9956 +# - CVE-2018-12599 +# - CVE-2018-12600 +# - CVE-2018-13153 +# - CVE-2018-14434 +# - CVE-2018-14435 +# - CVE-2018-14436 +# - CVE-2018-14437 +# - CVE-2018-14551 +# - CVE-2018-15607 +# - CVE-2018-16329 +# - CVE-2018-16412 +# - CVE-2018-16413 +# - CVE-2018-16640 +# - CVE-2018-16642 +# - CVE-2018-16643 +# - CVE-2018-16644 +# - CVE-2018-16645 +# - CVE-2018-16749 +# - CVE-2018-16750 +# - CVE-2018-17965 +# - CVE-2018-17966 +# - CVE-2018-17967 +# - CVE-2018-18016 +# - CVE-2018-18024 +# - CVE-2018-18025 +# - CVE-2018-18544 +# - CVE-2018-20467 +# - CVE-2018-5246 +# - CVE-2018-5247 +# - CVE-2018-5357 +# - CVE-2018-5358 +# - CVE-2018-6405 +# - CVE-2018-7443 +# - CVE-2018-7470 +# - CVE-2018-8804 +# - CVE-2018-8960 +# - CVE-2018-9133 +# - CVE-2018-9135 + +prepare() { + default_prepare + + if [ "${pkgver%%.*}" != "$_abiver" ]; then + error "This abuild is for major version $_abiver, but pkgver=$pkgver!" + return 1 + fi +} + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --program-suffix="-$_abiver" \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-docs \ + --disable-static \ + --with-threads \ + --without-x \ + --without-perl \ + --with-tiff \ + --with-png \ + --with-rsvg \ + --with-gslib \ + --with-gs-font-dir=/usr/share/fonts/Type1 \ + --with-modules \ + --with-xml + make +} + +check() { + make check +} + +package() { + make -j1 DESTDIR="$pkgdir" install + + if [ ! -e "$pkgdir"/usr/lib/libMagickCore-$_abiver.Q16.so ]; then + error "Has ABI verision changed? (current is $_abiver)" + return 1 + fi + + # We cannot let abuild delete the *.la files due to we need *.la + # for the modules. + rm "$pkgdir"/usr/lib/*.la + + find "$pkgdir" -name '.packlist' -o -name 'perllocal.pod' \ + -o -name '*.bs' -delete + + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +dev() { + default_dev + + cd "$subpkgdir" + + mkdir -p ./usr/bin + mv "$pkgdir"/usr/bin/*-config-$_abiver ./usr/bin/ + + cd ./usr/bin + local f; for f in *; do + ln -s $f ${f%-$_abiver} + done +} + +libs() { + default_libs + + cd "$subpkgdir" + + mv "$pkgdir"/etc . + mv "$pkgdir"/usr/lib/* ./usr/lib/ + mv "$pkgdir"/usr/share ./usr/ +} + +_cxx() { + pkgdesc="ImageMagick Magick++ library (C++ bindings)" + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libMagick++*.so.* "$subpkgdir"/usr/lib/ +} + +sha512sums="908aefdb997e82d26eaecfc3ee575c583c42405eaa690378873ef42beca227b281e5ce30943821f597689552e68221858281974f88ccf20eff8527965086a442 ImageMagick6-6.9.11-55.tar.gz" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/imagemagick6/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/imagemagick6/APKBUILD-expected.json new file mode 100644 index 00000000000..e4a216335a5 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/imagemagick6/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "imagemagick6", + "version": "6.9.11.55-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "A collection of tools and libraries for many image formats (legacy version 6)", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "apache-2.0", + "declared_license": "Apache-2.0", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": "ImageMagick6-6.9.11-55.tar.gz", + "url": "https://github.com/ImageMagick/ImageMagick6/archive/6.9.11-55.tar.gz" + } + ], + "checksums": [ + { + "file_name": "ImageMagick6-6.9.11-55.tar.gz", + "sha512": "908aefdb997e82d26eaecfc3ee575c583c42405eaa690378873ef42beca227b281e5ce30943821f597689552e68221858281974f88ccf20eff8527965086a442" + } + ] + }, + "purl": "pkg:alpine/imagemagick6@6.9.11.55-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/libluv/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/libluv/APKBUILD new file mode 100644 index 00000000000..06151c5551f --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/libluv/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Leo +# Maintainer: +pkgname=libluv +_release=0 +pkgver=1.36.0.$_release +pkgrel=2 +pkgdesc="Bare libuv bindings for lua" +options="!check" # No testsuite +url="https://github.com/luvit/luv" +arch="all" +license="Apache-2.0" +makedepends="cmake luajit-dev libuv-dev ninja" +subpackages="$pkgname-dev" +source="https://github.com/luvit/luv/releases/download/${pkgver%.*}-$_release/luv-${pkgver%.*}-$_release.tar.gz + cmake-use-pkgconfig.patch + lua_unsigned-typedef.patch + " +builddir="$srcdir/luv-${pkgver%.*}-$_release" + +build() { + cmake -B build -G Ninja \ + -DCMAKE_BUILD_TYPE=None \ + -DWITH_SHARED_LIBUV=ON \ + -DLUA_BUILD_TYPE=System \ + -DBUILD_MODULE=OFF \ + -DBUILD_SHARED_LIBS=ON \ + -DBUILD_STATIC_LIBS=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr \ + . + ninja -C build +} + +package() { + DESTDIR="$pkgdir" ninja -C build install +} + +sha512sums="9972d82bacdcf528d95047f3f2cfbceb523f6d6f5782e577b24cdd25f1292df745d3fb116b6fbd376d797df47c378ad25d5b673044d9ab5678af6e5fef5eca49 luv-1.36.0-0.tar.gz +ba68d920e11d107febe458fbe4887288c8915fc3a56c4742bb577650b4e74e0428a364e1321b68ee47f17a157e1bd304a8777bd294a8f2baefcaf541fdf5170b cmake-use-pkgconfig.patch +53ba683e3c97e0ebc1b3b864c1fcf16a073802fb52bca923a21aa556d1ebdaf5d78e2b4629d8f9d00f03cbf0efceeac8b7f4e1c4c98618175c51ca69d2122b22 lua_unsigned-typedef.patch" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/libluv/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/libluv/APKBUILD-expected.json new file mode 100644 index 00000000000..16fadf369ca --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/libluv/APKBUILD-expected.json @@ -0,0 +1,65 @@ +{ + "type": "alpine", + "namespace": null, + "name": "libluv", + "version": "1.36.0.0-r2", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Bare libuv bindings for lua", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "apache-2.0", + "declared_license": "Apache-2.0", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://github.com/luvit/luv/releases/download/1.36.0-0/luv-1.36.0-0.tar.gz" + }, + { + "file_name": "cmake-use-pkgconfig.patch", + "url": null + }, + { + "file_name": "lua_unsigned-typedef.patch", + "url": null + } + ], + "checksums": [ + { + "file_name": "luv-1.36.0-0.tar.gz", + "sha512": "9972d82bacdcf528d95047f3f2cfbceb523f6d6f5782e577b24cdd25f1292df745d3fb116b6fbd376d797df47c378ad25d5b673044d9ab5678af6e5fef5eca49" + }, + { + "file_name": "cmake-use-pkgconfig.patch", + "sha512": "ba68d920e11d107febe458fbe4887288c8915fc3a56c4742bb577650b4e74e0428a364e1321b68ee47f17a157e1bd304a8777bd294a8f2baefcaf541fdf5170b" + }, + { + "file_name": "lua_unsigned-typedef.patch", + "sha512": "53ba683e3c97e0ebc1b3b864c1fcf16a073802fb52bca923a21aa556d1ebdaf5d78e2b4629d8f9d00f03cbf0efceeac8b7f4e1c4c98618175c51ca69d2122b22" + } + ] + }, + "purl": "pkg:alpine/libluv@1.36.0.0-r2", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/nymphcast-client/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/nymphcast-client/APKBUILD new file mode 100644 index 00000000000..f760d5b3d92 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/nymphcast-client/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=nymphcast-client +pkgver=0.1_alpha4 +pkgrel=0 +# mips64 blocked by nymphcast +arch="all !mips64" +url="http://nyanko.ws/product_nymphcast.php" +pkgdesc="Test client for nymphcast" +license="BSD-3-Clause" +depends="avahi" +makedepends=" + nymphcast-dev + qt5-qtbase-dev + " +source="$pkgname-${pkgver/_/-}.tar.gz::https://github.com/MayaPosch/NymphCast/archive/v${pkgver/_/-}.tar.gz" +options="!check" # No tests +builddir="$srcdir/NymphCast-${pkgver/_/-}" + +build() { + cd player/NymphCastPlayer + qmake-qt5 + make +} + +package() { + cd player/NymphCastPlayer + install -Dm755 NymphCastPlayer "$pkgdir"/usr/bin/NymphCastPlayer +} + +sha512sums="8032f2a520508be1ce26e9c16eb3a61f43a6ac0b9c792873a5520627e035bf14684aa87d7900da15028b190a4bbddbab8d15a9a7bdc6e9c36888aed50e63d819 nymphcast-client-0.1-alpha4.tar.gz" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/nymphcast-client/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/nymphcast-client/APKBUILD-expected.json new file mode 100644 index 00000000000..2c1c5c8a673 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/nymphcast-client/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "nymphcast-client", + "version": "0.1_alpha4-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Test client for nymphcast", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "bsd-new", + "declared_license": "BSD-3-Clause", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": "nymphcast-client-0.1-alpha4.tar.gz", + "url": "https://github.com/MayaPosch/NymphCast/archive/v0.1-alpha4.tar.gz" + } + ], + "checksums": [ + { + "file_name": "nymphcast-client-0.1-alpha4.tar.gz", + "sha512": "8032f2a520508be1ce26e9c16eb3a61f43a6ac0b9c792873a5520627e035bf14684aa87d7900da15028b190a4bbddbab8d15a9a7bdc6e9c36888aed50e63d819" + } + ] + }, + "purl": "pkg:alpine/nymphcast-client@0.1_alpha4-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/openjdk10/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/openjdk10/APKBUILD new file mode 100644 index 00000000000..8940e02077b --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/openjdk10/APKBUILD @@ -0,0 +1,311 @@ +# Contributor: Simon Frankenberger +# Maintainer: Simon Frankenberger +pkgname=openjdk10 +pkgver=10.0.2_p13 +_pkgver=${pkgver/_p/+} +pkgrel=3 +pkgdesc="Oracle OpenJDK 10" +provider_priority=10 +url="https://hg.openjdk.java.net/jdk-updates/jdk10u" +# oracle dropped support for 32 bit +# no bootstrap JDK on mips +arch="all !x86 !armhf !armv7 !mips !mips64" +license="GPL-2.0-with-classpath-exception" +makedepends="autoconf + bash + gawk + grep + make + openjdk9-jdk + zip + alsa-lib-dev + cups-dev + elfutils-dev + fontconfig-dev + freetype-dev + giflib-dev + lcms2-dev + libexecinfo-dev + libffi-dev + libjpeg-turbo-dev + libx11-dev + libxext-dev + libxrender-dev + libxt-dev + libxtst-dev + linux-headers + zlib-dev" +depends="$pkgname-jmods $pkgname-demos $pkgname-doc $pkgname-jdk" # for the virtual openjdk10 package +subpackages="$pkgname-jmods:_jmods:noarch + $pkgname-demos:_demos:noarch + $pkgname-doc:_doc:noarch + $pkgname-jre:_jre + $pkgname-src:_src:noarch + $pkgname-jre-headless:_jre_headless + $pkgname-jdk:_jdk" +source="jdk-$_pkgver.tar.gz::https://github.com/openjdk/jdk10u/archive/jdk-$_pkgver.tar.gz + + build.patch + aarch64.patch + ppc64le.patch + make-4.3.patch + fix-bootjdk-check.patch + gcc10-compilation-fix.patch + JDK-8245051.patch + JDK-8241296.patch + + HelloWorld.java + TestECDSA.java + TestCryptoLevel.java + Alpine_Bug_10126.java +" +builddir="$srcdir/jdk10u-jdk-${_pkgver/+/-}" + +_java_home="/usr/lib/jvm/java-10-openjdk" + +ldpath="$_java_home/lib:$_java_home/lib/jli:$_java_home/lib/server" +sonameprefix="$pkgname:" + +# enable running the JTReg tests in check? +# see comment in that function for explanation +_run_jtreg=${_run_jtreg:-0} +if [ $_run_jtreg -ne 0 ]; then + makedepends="$makedepends java-jtreg" + checkdepends="$checkdepends ttf-freefont xvfb-run" +fi + +prepare() { + default_prepare + + # update autoconf files to detect alpine + update_config_sub + update_config_guess + + # remove not compilable module (hotspot jdk.hotspot.agent) + # this needs libthread_db which is only provided by glibc + # + # haven't found any way to disable this module so just remove it. + rm -r src/jdk.hotspot.agent +} + +build() { + if [ $_run_jtreg -ne 0 ]; then + _with_jtreg="--with-jtreg=/usr/share/java/jtreg" + else + _with_jtreg="--with-jtreg=no" + fi + + # CFLAGS, CXXFLAGS and LDFLAGS are ignored as shown by a warning + # in the output of ./configure unless used like such: + # --with-extra-cflags="$CFLAGS" + # --with-extra-cxxflags="$CXXFLAGS" + # --with-extra-ldflags="$LDFLAGS" + # See also paragraph "Configure Control Variables" from "common/doc/building.md" + # shellcheck disable=2097 disable=2098 + CFLAGS='' CXXFLAGS='' LDFLAGS='' \ + bash ./configure \ + --openjdk-target=$CHOST \ + --prefix="$_java_home" \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --with-extra-cflags="$CFLAGS" \ + --with-extra-cxxflags="$CXXFLAGS" \ + --with-extra-ldflags="$LDFLAGS" \ + --with-zlib=system \ + --with-libjpeg=system \ + --with-giflib=system \ + --with-libpng=system \ + --with-lcms=system \ + --with-jobs=${JOBS:-4} \ + --with-test-jobs=${JOBS:-4} \ + --with-native-debug-symbols=none \ + $_with_jtreg \ + --disable-warnings-as-errors \ + --disable-precompiled-headers \ + --enable-dtrace=no \ + --with-jvm-variants=server \ + --with-debug-level=release \ + --with-version-pre= \ + --with-version-opt="alpine-r$pkgrel" \ + --with-version-build=${_pkgver#*+} \ + --with-vendor-name="Alpine" \ + --with-vendor-url="https://alpinelinux.org/" \ + --with-vendor-bug-url="https://gitlab.alpinelinux.org/alpine/aports/issues" \ + --with-vendor-vm-bug-url="https://gitlab.alpinelinux.org/alpine/aports/issues" + MAKEFLAGS='' make jdk-image +} + +check() { + local _java_bin="./build/*-normal-server-release/images/jdk/bin" + + # 1) compile and run a simple hello world + $_java_bin/javac -d . "$srcdir"/HelloWorld.java + $_java_bin/java HelloWorld + + # 2) compile and run a testcase for unlimited policy + $_java_bin/javac -d . "$srcdir"/TestCryptoLevel.java + $_java_bin/java -cp . --add-opens java.base/javax.crypto=ALL-UNNAMED TestCryptoLevel + + # 3) compile and run a testcase for ECDSA signatures + $_java_bin/javac -d . "$srcdir"/TestECDSA.java + $_java_bin/java TestECDSA + + # 4) compile and run testcase for bug 10126 + $_java_bin/javac -d . "$srcdir"/Alpine_Bug_10126.java + $_java_bin/java Alpine_Bug_10126 + + # run the gtest unittest suites + MAKEFLAGS='' make test-hotspot-gtest + + # The jtreg tests take very, very long to finish and show some failures (9 - 12 on my machine, varying between runs) + # I think these are not critical and can be safely ignored. + # As the tests take too long, they are disabled by default. + # When updating this aport please let them run at least once on your machine to see if the failure count changes. + if [ $_run_jtreg -ne 0 ]; then + _logfile=$( mktemp -p "$builddir" ) + MAKEFLAGS='' xvfb-run make \ + run-test-tier1 \ + run-test-tier2 \ + run-test-tier3 \ + | tee "$_logfile" + msg "---------------------------------------" + msg "The build log can be found at $_logfile" + # abort the build so you may take a look at the logfile + false + return 1 + fi +} + +package() { + mkdir -p "$pkgdir/$_java_home" + cp -r build/*-normal-server-release/images/jdk/* "$pkgdir/$_java_home" +} + +_jmods() { + pkgdesc="Oracle OpenJDK 10 (jmods)" + depends="" + _fromroot="$pkgdir/$_java_home" + _toroot="$subpkgdir/$_java_home" + + mkdir -p "$_toroot" + mv "$_fromroot/jmods" "$_toroot" +} + +_demos() { + pkgdesc="Oracle OpenJDK 10 (demos)" + depends="" + _fromroot="$pkgdir/$_java_home" + _toroot="$subpkgdir/$_java_home" + + mkdir -p "$_toroot" + mv "$_fromroot/demo" "$_toroot" +} + +_doc() { + pkgdesc="Oracle OpenJDK 10 (Documentation)" + depends="" + _fromroot="$pkgdir/$_java_home" + _toroot="$subpkgdir/$_java_home" + + mkdir -p "$_toroot" + + # handle man + mv "$_fromroot/man" "$_toroot" +} + +_jre() { + pkgdesc="Oracle OpenJDK 10 (JRE)" + depends="$pkgname-jre-headless" + provides=java-jre + _fromroot="$pkgdir/$_java_home" + _toroot="$subpkgdir/$_java_home" + + mkdir -p "$_toroot/lib" + mv "$_fromroot/lib/libawt_xawt.so" \ + "$_fromroot/lib/libfontmanager.so" \ + "$_fromroot/lib/libjavajpeg.so" \ + "$_fromroot/lib/libjawt.so" \ + "$_fromroot/lib/libjsoundalsa.so" \ + "$_fromroot/lib/liblcms.so" \ + "$_fromroot/lib/libsplashscreen.so" \ + "$_toroot/lib" +} + +_src() { + pkgdesc="Oracle OpenJDK 10 (sources)" + depends="$pkgname-jre-headless" + mkdir -p "$subpkgdir/$_java_home"/lib + mv "$pkgdir"/$_java_home/lib/src.zip \ + "$subpkgdir"/$_java_home/lib/ +} + +_jre_headless() { + pkgdesc="Oracle OpenJDK 10 (JRE headless)" + depends="java-common java-cacerts" + provides=java-jre-headless + _fromroot="$pkgdir/$_java_home" + _toroot="$subpkgdir/$_java_home" + + mkdir -p "$_toroot" + mv "$_fromroot/lib" "$_toroot" + + mkdir -p "$_toroot/bin" + for i in appletviewer \ + idlj \ + java \ + jjs \ + jrunscript \ + keytool \ + orbd \ + pack200 \ + rmid \ + rmiregistry \ + servertool \ + tnameserv \ + unpack200; do + mv "$_fromroot/bin/$i" "$_toroot/bin/$i" + done + + mv "$_fromroot/legal" "$_toroot" + mv "$_fromroot/conf" "$_toroot" + mv "$_fromroot/release" "$_toroot" + cp "$builddir/ASSEMBLY_EXCEPTION" "$_toroot" + cp "$builddir/LICENSE" "$_toroot" + cp "$builddir/README" "$_toroot" + + # symlink to shared cacerts store + rm "$_toroot/lib/security/cacerts" + ln -sf /etc/ssl/certs/java/cacerts \ + "$_toroot/lib/security/cacerts" + + # symlink for java-common to work (expects jre in $_java_home/jre) + ln -sf . "$_toroot/jre" +} + +_jdk() { + pkgdesc="Oracle OpenJDK 10 (JDK)" + depends="$pkgname-jre" + provides=java-jdk + _fromroot="$pkgdir/$_java_home" + _toroot="$subpkgdir/$_java_home" + + mkdir -p "$_toroot" + mv "$_fromroot/bin" "$_toroot" + mv "$_fromroot/include" "$_toroot" +} + +sha512sums="8d8e47006308d9a794090f1051a4f1fad1eabe609736e9039f29a60a9593d6c415759d607ee4557cceb18d6ce76b30d6d186b9453525fd4a2e6d158848cfd30c jdk-10.0.2+13.tar.gz +ae8740c9a61c458986375a605294fa5b262772c43c5a520373b186da983be4d9407cf7bd33d3cd906fd3e1b1cb4481a74c8123fbd262d54506edefc859265fef build.patch +6825ddfad1b61f7ffdebfb7189243d7f2d5c75e0b656b36c439b001c030b1d441dad22eb1b6ad4495ed208f72aac2e1cbde3a1cdee77b89b27d557695b851e66 aarch64.patch +0cc8e06ef66ee3a982fc14ad0189d897f1de7fa3e5a741363906495ace06e329f2207ef1dcc84c08af1a1a58aed1c93c25d084552920f3def96920ef7ac39f9b ppc64le.patch +2d7e829830f43d1c1849183a558dbfb108cd9750c1d6da4ebb7b9afdfa111e5a5ff63936f67f97f9317780a4f8e0e4c3d75c929746314254dc0b06f68b7480ec make-4.3.patch +0a08b2198f059be9bdc1c19571c53e6be24d81a36888f5fe251de34709b29ccfb4e17e293aa1d5d6310160ee41f673b1028dbf50332d4be5364f1c15fa87a6b9 fix-bootjdk-check.patch +33964c1f7834826c96695f759587ea889966dfa11d52b94d1e70ef88c600b837f7fa1588764f6f52e6198682e5e675723254b891d6916dc45c14111b234cdf81 gcc10-compilation-fix.patch +a41008618734c87e512eae60dfd217a8eb9fa08ab416852aae1ceb8ae57ef7f943a9090f190ba275722d71687a8531e791d68eb29d2ad1a0e88cc2539dec9877 JDK-8245051.patch +4282a77485139f67bb45f58c129109346fd35b4eaf4dc8927ea45c8348e9c49b7a3d29c9bd83ff7f53fedbca45bb4d7a75e217e89d295e66305043caeb44ce54 JDK-8241296.patch +d1767dddd8e0956e25c0f77ed45c6fc86a1191bae1704a6dc33be490fd20eaa50461fe5c2a3349512059d555651e2eb41437dd3c1096c351e8ee68b4534a2579 HelloWorld.java +27e91edef89d26c0c5b9a813e2045f8d2b348745a506ae37b34b660fa7093da9a4e0e676ea41dc4a5c901bce02e5304d95e90f68d6c99cbf461b2da40a7a9853 TestECDSA.java +b02dff8d549f88317bb4c741a9e269e8d59eef990197d085388fc49c7423a4eb9367dbe1e02bffb10e7862f5980301eb58d4494e177d0e8f60af6b05c7fbbe60 TestCryptoLevel.java +cc466f64fcc8762cf6e3c1f5739be6425209b27aa58acff4e7eb126003d61fa18266f0e79e57e9d84224654010185ab45dc0a8043543dea227258458a00a1eb1 Alpine_Bug_10126.java" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/openjdk10/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/openjdk10/APKBUILD-expected.json new file mode 100644 index 00000000000..fa64fd2792e --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/openjdk10/APKBUILD-expected.json @@ -0,0 +1,145 @@ +{ + "type": "alpine", + "namespace": null, + "name": "openjdk10", + "version": "10.0.2_p13-r3", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Oracle OpenJDK 10", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "classpath-exception-2.0", + "declared_license": "GPL-2.0-with-classpath-exception", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": "jdk-10.0.2+13.tar.gz", + "url": "https://github.com/openjdk/jdk10u/archive/jdk-10.0.2+13.tar.gz" + }, + { + "file_name": "build.patch", + "url": null + }, + { + "file_name": "aarch64.patch", + "url": null + }, + { + "file_name": "ppc64le.patch", + "url": null + }, + { + "file_name": "make-4.3.patch", + "url": null + }, + { + "file_name": "fix-bootjdk-check.patch", + "url": null + }, + { + "file_name": "gcc10-compilation-fix.patch", + "url": null + }, + { + "file_name": "JDK-8245051.patch", + "url": null + }, + { + "file_name": "JDK-8241296.patch", + "url": null + }, + { + "file_name": "HelloWorld.java", + "url": null + }, + { + "file_name": "TestECDSA.java", + "url": null + }, + { + "file_name": "TestCryptoLevel.java", + "url": null + }, + { + "file_name": "Alpine_Bug_10126.java", + "url": null + } + ], + "checksums": [ + { + "file_name": "jdk-10.0.2+13.tar.gz", + "sha512": "8d8e47006308d9a794090f1051a4f1fad1eabe609736e9039f29a60a9593d6c415759d607ee4557cceb18d6ce76b30d6d186b9453525fd4a2e6d158848cfd30c" + }, + { + "file_name": "build.patch", + "sha512": "ae8740c9a61c458986375a605294fa5b262772c43c5a520373b186da983be4d9407cf7bd33d3cd906fd3e1b1cb4481a74c8123fbd262d54506edefc859265fef" + }, + { + "file_name": "aarch64.patch", + "sha512": "6825ddfad1b61f7ffdebfb7189243d7f2d5c75e0b656b36c439b001c030b1d441dad22eb1b6ad4495ed208f72aac2e1cbde3a1cdee77b89b27d557695b851e66" + }, + { + "file_name": "ppc64le.patch", + "sha512": "0cc8e06ef66ee3a982fc14ad0189d897f1de7fa3e5a741363906495ace06e329f2207ef1dcc84c08af1a1a58aed1c93c25d084552920f3def96920ef7ac39f9b" + }, + { + "file_name": "make-4.3.patch", + "sha512": "2d7e829830f43d1c1849183a558dbfb108cd9750c1d6da4ebb7b9afdfa111e5a5ff63936f67f97f9317780a4f8e0e4c3d75c929746314254dc0b06f68b7480ec" + }, + { + "file_name": "fix-bootjdk-check.patch", + "sha512": "0a08b2198f059be9bdc1c19571c53e6be24d81a36888f5fe251de34709b29ccfb4e17e293aa1d5d6310160ee41f673b1028dbf50332d4be5364f1c15fa87a6b9" + }, + { + "file_name": "gcc10-compilation-fix.patch", + "sha512": "33964c1f7834826c96695f759587ea889966dfa11d52b94d1e70ef88c600b837f7fa1588764f6f52e6198682e5e675723254b891d6916dc45c14111b234cdf81" + }, + { + "file_name": "JDK-8245051.patch", + "sha512": "a41008618734c87e512eae60dfd217a8eb9fa08ab416852aae1ceb8ae57ef7f943a9090f190ba275722d71687a8531e791d68eb29d2ad1a0e88cc2539dec9877" + }, + { + "file_name": "JDK-8241296.patch", + "sha512": "4282a77485139f67bb45f58c129109346fd35b4eaf4dc8927ea45c8348e9c49b7a3d29c9bd83ff7f53fedbca45bb4d7a75e217e89d295e66305043caeb44ce54" + }, + { + "file_name": "HelloWorld.java", + "sha512": "d1767dddd8e0956e25c0f77ed45c6fc86a1191bae1704a6dc33be490fd20eaa50461fe5c2a3349512059d555651e2eb41437dd3c1096c351e8ee68b4534a2579" + }, + { + "file_name": "TestECDSA.java", + "sha512": "27e91edef89d26c0c5b9a813e2045f8d2b348745a506ae37b34b660fa7093da9a4e0e676ea41dc4a5c901bce02e5304d95e90f68d6c99cbf461b2da40a7a9853" + }, + { + "file_name": "TestCryptoLevel.java", + "sha512": "b02dff8d549f88317bb4c741a9e269e8d59eef990197d085388fc49c7423a4eb9367dbe1e02bffb10e7862f5980301eb58d4494e177d0e8f60af6b05c7fbbe60" + }, + { + "file_name": "Alpine_Bug_10126.java", + "sha512": "cc466f64fcc8762cf6e3c1f5739be6425209b27aa58acff4e7eb126003d61fa18266f0e79e57e9d84224654010185ab45dc0a8043543dea227258458a00a1eb1" + } + ] + }, + "purl": "pkg:alpine/openjdk10@10.0.2_p13-r3", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/py3-cairosvg/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/py3-cairosvg/APKBUILD new file mode 100644 index 00000000000..4f96d652427 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/py3-cairosvg/APKBUILD @@ -0,0 +1,35 @@ +# Maintainer: Drew DeVault +pkgname=py3-cairosvg +_pyname=CairoSVG +pkgver=2.5.2 +pkgrel=1 +pkgdesc="Cairo-based SVG renderer for python" +url="https://cairosvg.org" +arch="noarch" +license="LGPL-3.0-or-later" +depends=" + python3 py3-tinycss2 py3-cssselect2 py3-defusedxml py3-cairocffi + py3-webencodings +" +checkdepends="py3-pytest py3-pillow py3-pytest-flake8 py3-pytest-isort + py3-pytest-runner" +makedepends="python3-dev py3-setuptools cairo-dev" +_pypiprefix="${_pyname%${_pyname#?}}" +source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz" +builddir="$srcdir"/CairoSVG-$pkgver +replaces="py-cairosvg" # Backwards compat +provides="py-cairosvg=$pkgver-r$pkgrel" # Backwards compat + +build() { + python3 setup.py build +} + +check() { + pytest-3 cairosvg/test_api.py +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="070fbb549614401a7d8290497b0eb7702330ee264c5f625cd1e7aac4aea7d71ee7d2d8899297212e1a3c11c93903b191c0c699336d9000796318b11f4e075576 CairoSVG-2.5.2.tar.gz" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/py3-cairosvg/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/py3-cairosvg/APKBUILD-expected.json new file mode 100644 index 00000000000..60e629537fe --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/py3-cairosvg/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "py3-cairosvg", + "version": "2.5.2-r1", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Cairo-based SVG renderer for python", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "lgpl-3.0-plus", + "declared_license": "LGPL-3.0-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://files.pythonhosted.org/packages/source/C/CairoSVG/CairoSVG-2.5.2.tar.gz" + } + ], + "checksums": [ + { + "file_name": "CairoSVG-2.5.2.tar.gz", + "sha512": "070fbb549614401a7d8290497b0eb7702330ee264c5f625cd1e7aac4aea7d71ee7d2d8899297212e1a3c11c93903b191c0c699336d9000796318b11f4e075576" + } + ] + }, + "purl": "pkg:alpine/py3-cairosvg@2.5.2-r1", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/qt6-qt3d/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/qt6-qt3d/APKBUILD new file mode 100644 index 00000000000..488b2f3f305 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/qt6-qt3d/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=qt6-qt3d +pkgver=6.1.1 +pkgrel=0 +pkgdesc="C++ and QML APIs for easy inclusion of 3D graphics" +url="https://qt.io/" +arch="all" +license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0" +depends_dev=" + qt6-qtbase-dev + qt6-qtdeclarative-dev + qt6-qtshadertools-dev + " +makedepends="$depends_dev + cmake + perl + " +subpackages="$pkgname-dev" +options="!check" # No tests +builddir="$srcdir/qt3d-everywhere-src-${pkgver/_/-}" + +case $pkgver in + *_alpha*|*_beta*|*_rc*) _rel=development_releases;; + *) _rel=official_releases;; +esac + +source="https://download.qt.io/$_rel/qt/${pkgver%.*}/${pkgver/_/-}/submodules/qt3d-everywhere-src-${pkgver/_/-}.tar.xz" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DINPUT_qt3d_assimp=system + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums=" +5bdeb03f3072a1803b6aa5f385c0a52f10cfaddc4db02eec4d56cb9677782a2c7b102d6edea32fc14edb0ad83901a70f3b94d233f34b1a8d38bdcc6dd916ecaa qt3d-everywhere-src-6.1.1.tar.xz +" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/qt6-qt3d/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/qt6-qt3d/APKBUILD-expected.json new file mode 100644 index 00000000000..34e99c03ac6 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/qt6-qt3d/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "qt6-qt3d", + "version": "6.1.1-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "C++ and QML APIs for easy inclusion of 3D graphics", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "lgpl-2.1 AND lgpl-3.0 AND gpl-3.0 AND qt-gpl-exception-1.0", + "declared_license": "LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.qt.io/official_releases/qt/6.1/6.1.1/submodules/qt3d-everywhere-src-6.1.1.tar.xz" + } + ], + "checksums": [ + { + "file_name": "qt3d-everywhere-src-6.1.1.tar.xz", + "sha512": "5bdeb03f3072a1803b6aa5f385c0a52f10cfaddc4db02eec4d56cb9677782a2c7b102d6edea32fc14edb0ad83901a70f3b94d233f34b1a8d38bdcc6dd916ecaa" + } + ] + }, + "purl": "pkg:alpine/qt6-qt3d@6.1.1-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/ruby-rspec/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/ruby-rspec/APKBUILD new file mode 100644 index 00000000000..a8050003afb --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/ruby-rspec/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: Jakub Jirutka +# Maintainer: Jakub Jirutka +pkgname=ruby-rspec +_gemname=${pkgname#ruby-} +pkgver=3.10.0 +pkgrel=0 +pkgdesc="Behaviour Driven Development for Ruby" +url="http://rspec.info/" +arch="noarch" +license="MIT" +depends="ruby + ruby-rspec-core~=${pkgver%.*} + ruby-rspec-expectations~=${pkgver%.*} + ruby-rspec-mocks~=${pkgver%.*}" +options="!check" # no tests provided +source="$pkgname-$pkgver.tar.gz::https://github.com/rspec/$_gemname/archive/v$pkgver.tar.gz + gemspec.patch" +builddir="$srcdir/$_gemname-$pkgver" + +build() { + cd "$builddir" + gem build $_gemname.gemspec +} + +package() { + local gemdir="$pkgdir/$(ruby -e 'puts Gem.default_dir')" + + cd "$builddir" + gem install --local \ + --install-dir "$gemdir" \ + --ignore-dependencies \ + --no-document \ + --verbose \ + $_gemname + + # Clean-up... + rm -r "$gemdir"/cache \ + "$gemdir"/build_info \ + "$gemdir"/doc +} + +sha512sums="afc2b04d0cfbe26d5f485c3d22e68a95394d5f0e3be44849562d565bd87eba9157f8ee9e1faee9ad22b7572906d17db242913036b9960f5d3871c7df5140629c ruby-rspec-3.10.0.tar.gz +f554eef881574e68532dd6c9edeb6b8ad172ac707f7518134378e1099a40ada959c6c770514aab13a6345343113594208be0e42044803c0c2cde3adde00c5520 gemspec.patch" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/ruby-rspec/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/ruby-rspec/APKBUILD-expected.json new file mode 100644 index 00000000000..057970c90df --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/ruby-rspec/APKBUILD-expected.json @@ -0,0 +1,57 @@ +{ + "type": "alpine", + "namespace": null, + "name": "ruby-rspec", + "version": "3.10.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Behaviour Driven Development for Ruby", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "mit", + "declared_license": "MIT", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": "ruby-rspec-3.10.0.tar.gz", + "url": "https://github.com/rspec/rspec/archive/v3.10.0.tar.gz" + }, + { + "file_name": "gemspec.patch", + "url": null + } + ], + "checksums": [ + { + "file_name": "ruby-rspec-3.10.0.tar.gz", + "sha512": "afc2b04d0cfbe26d5f485c3d22e68a95394d5f0e3be44849562d565bd87eba9157f8ee9e1faee9ad22b7572906d17db242913036b9960f5d3871c7df5140629c" + }, + { + "file_name": "gemspec.patch", + "sha512": "f554eef881574e68532dd6c9edeb6b8ad172ac707f7518134378e1099a40ada959c6c770514aab13a6345343113594208be0e42044803c0c2cde3adde00c5520" + } + ] + }, + "purl": "pkg:alpine/ruby-rspec@3.10.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/unicode-character-database/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/unicode-character-database/APKBUILD new file mode 100644 index 00000000000..8ab7758fa1a --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/unicode-character-database/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Bart Ribbers +# Maintainer: Rasmus Thomsen +pkgname=unicode-character-database +pkgver=13.0.0 +pkgrel=1 +pkgdesc="Unicode Character Database" +arch="noarch" +license="Unicode-DFS-2015" +url="https://www.unicode.org/" +makedepends="libarchive-tools" +source="UCD-$pkgver.zip::http://www.unicode.org/Public/zipped/$pkgver/UCD.zip + Unihan-$pkgver.zip::http://www.unicode.org/Public/zipped/$pkgver/Unihan.zip + emoji-sequences-${pkgver%.*}.txt::http://www.unicode.org/Public/emoji/${pkgver%.*}/emoji-sequences.txt + emoji-zwj-sequences-${pkgver%.*}.txt::http://www.unicode.org/Public/emoji/${pkgver%.*}/emoji-zwj-sequences.txt + emoji-test-${pkgver%.*}.txt::http://www.unicode.org/Public/emoji/${pkgver%.*}/emoji-test.txt + " +options="!check" # no tests to speak off +replaces="unicode-emoji" +builddir="$srcdir" + +package() { + for _f in UCD Unihan; do + install -Dm644 $_f-$pkgver.zip "$pkgdir/usr/share/unicode/$_f.zip" + bsdtar -C "$pkgdir/usr/share/unicode" -x --no-same-owner --no-same-permissions -f $_f-$pkgver.zip + done + + for _f in sequences test zwj-sequences; do + install -Dm644 emoji-$_f-${pkgver%.*}.txt "$pkgdir"/usr/share/unicode/emoji/emoji-$_f.txt + done +} + +sha512sums="aed6d06c370dd87bc5713e19ff4cde47b065b76a18149194fa843e4efc5269f749ec8905cad9132d3b803ab621a46e372052b8f3c3e9b6a65afa6516b0f2b4f2 UCD-13.0.0.zip +87238202b5da069ab1bbc4672d86c6fd0711e354fb17f53b0b4152850c56c0fa09e6e45820ae52d49756b25fe696518ceaa34cbfe5366ff60688c9a5c3a2d5be Unihan-13.0.0.zip +65f4fdaf6f2038d34f645220a0306036244dba69aeba0a44939584c18ad8e0488cb612f07e17cdb1ffea3d8d2fe3e54ed2e134855c3dc615730fd14cd297a9a3 emoji-sequences-13.0.txt +a0b04ca2732acd33c7ea9a2929ef5d60080dfeb4b1b452e853486e57663518773af4e863b239dd2bd6f5e78ce2a7e828898757ca4adc82134da370111c3e0272 emoji-zwj-sequences-13.0.txt +6da82936f1eb92e5d31a4e815204e17119011408d746c60c3ecd700c8039389d7c790c8ea6b8ec2828aadd863b923f0d3861a42a1f6b5ecdbbb19d2f5f81ea56 emoji-test-13.0.txt" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/unicode-character-database/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/unicode-character-database/APKBUILD-expected.json new file mode 100644 index 00000000000..be552270ddd --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/unicode-character-database/APKBUILD-expected.json @@ -0,0 +1,81 @@ +{ + "type": "alpine", + "namespace": null, + "name": "unicode-character-database", + "version": "13.0.0-r1", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Unicode Character Database", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "unicode-dfs-2015", + "declared_license": "Unicode-DFS-2015", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": "UCD-13.0.0.zip", + "url": "http://www.unicode.org/Public/zipped/13.0.0/UCD.zip" + }, + { + "file_name": "Unihan-13.0.0.zip", + "url": "http://www.unicode.org/Public/zipped/13.0.0/Unihan.zip" + }, + { + "file_name": "emoji-sequences-13.0.txt", + "url": "http://www.unicode.org/Public/emoji/13.0/emoji-sequences.txt" + }, + { + "file_name": "emoji-zwj-sequences-13.0.txt", + "url": "http://www.unicode.org/Public/emoji/13.0/emoji-zwj-sequences.txt" + }, + { + "file_name": "emoji-test-13.0.txt", + "url": "http://www.unicode.org/Public/emoji/13.0/emoji-test.txt" + } + ], + "checksums": [ + { + "file_name": "UCD-13.0.0.zip", + "sha512": "aed6d06c370dd87bc5713e19ff4cde47b065b76a18149194fa843e4efc5269f749ec8905cad9132d3b803ab621a46e372052b8f3c3e9b6a65afa6516b0f2b4f2" + }, + { + "file_name": "Unihan-13.0.0.zip", + "sha512": "87238202b5da069ab1bbc4672d86c6fd0711e354fb17f53b0b4152850c56c0fa09e6e45820ae52d49756b25fe696518ceaa34cbfe5366ff60688c9a5c3a2d5be" + }, + { + "file_name": "emoji-sequences-13.0.txt", + "sha512": "65f4fdaf6f2038d34f645220a0306036244dba69aeba0a44939584c18ad8e0488cb612f07e17cdb1ffea3d8d2fe3e54ed2e134855c3dc615730fd14cd297a9a3" + }, + { + "file_name": "emoji-zwj-sequences-13.0.txt", + "sha512": "a0b04ca2732acd33c7ea9a2929ef5d60080dfeb4b1b452e853486e57663518773af4e863b239dd2bd6f5e78ce2a7e828898757ca4adc82134da370111c3e0272" + }, + { + "file_name": "emoji-test-13.0.txt", + "sha512": "6da82936f1eb92e5d31a4e815204e17119011408d746c60c3ecd700c8039389d7c790c8ea6b8ec2828aadd863b923f0d3861a42a1f6b5ecdbbb19d2f5f81ea56" + } + ] + }, + "purl": "pkg:alpine/unicode-character-database@13.0.0-r1", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/vtk/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/vtk/APKBUILD new file mode 100644 index 00000000000..64627d7c3da --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/vtk/APKBUILD @@ -0,0 +1,70 @@ +# Maintainer: Marian Buschsieweke +# Contributor: Marian Buschsieweke +pkgname=vtk +pkgver=9.0.1 +pkgrel=5 +pkgdesc="A software system for 3D computer graphics, image processing and visualization" +url="https://vtk.org/" +# Other arches blocked by pdal +arch="x86_64 x86 aarch64 ppc64le" +license="BSD-3-Clause" +depends_dev=" + boost-dev + doxygen + ffmpeg-dev + gdal-dev + glew-dev + jpeg-dev + libexecinfo-dev + libpng-dev + libxml2-dev + openmpi-dev + pdal-dev + qt5-qtbase-dev + qt5-qttools-dev + qt5-qtx11extras-dev + sqlite-dev + tk-dev + unixodbc-dev + zlib-dev + " +makedepends="$depends_dev + cmake + " +subpackages="$pkgname-doc $pkgname-dev" +source=" + https://www.vtk.org/files/release/${pkgver%.*}/VTK-$pkgver.tar.gz + https://www.vtk.org/files/release/${pkgver%.*}/VTKData-$pkgver.tar.gz + https://www.vtk.org/files/release/${pkgver%.*}/VTKLargeData-$pkgver.tar.gz + fix-build.patch + " +builddir="$srcdir/VTK-$pkgver" +options="!check" # No unit tests provided + +build() { + cmake -B build \ + -Wno-dev \ + -DCMAKE_SKIP_INSTALL_RPATH=ON \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=ON \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DBUILD_DOCUMENTATION=OFF \ + -DVTK_USE_FFMPEG_ENCODER=ON \ + -DModule_vtkIOPDAL=ON \ + -DVTK_USE_LARGE_DATA=ON \ + -DVTK_QT_VERSION="5" \ + -DVTK_PYTHON_VERSION="3" \ + -DVTK_CUSTOM_LIBRARY_SUFFIX="" \ + -DVTK_INSTALL_INCLUDE_DIR=include/vtk \ + -DCMAKE_BUILD_TYPE=None + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} + +sha512sums="eb2508e2409ad302cc5db65282a9c1ff4477ac8a93e0fee898ad8f0974d72decc7d5d444dc825a3c2f7952ebf59853616097ebe0d134649cab0d49a9619065bf VTK-9.0.1.tar.gz +2fc418a6e15bd4e30ce181bb209c39666982645dbdbe2d6491683497662b72712689e58cf54b7af91865d0e3d0cb3f9ab66606b02964d57bf88d769d292dd938 VTKData-9.0.1.tar.gz +b3303d633f063a6f3bfcc61b441f445611ff7cff6f006c77d8452eb5a3af89a18b2a1201a2dbd230af085b9e45b9abb70319d2f41db0f1e19c632286e7b02ec2 VTKLargeData-9.0.1.tar.gz +c814628a7ce9e1015cb02d4c9ad7ae7c6ad6d5d83b553f0c484414744488e4d0fa313924b4fd0f579a363352832347035147d1be3aca6f6a4885b6f9a1590b9e fix-build.patch" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/vtk/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/vtk/APKBUILD-expected.json new file mode 100644 index 00000000000..86206817f1d --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/vtk/APKBUILD-expected.json @@ -0,0 +1,73 @@ +{ + "type": "alpine", + "namespace": null, + "name": "vtk", + "version": "9.0.1-r5", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "A software system for 3D computer graphics, image processing and visualization", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "bsd-new", + "declared_license": "BSD-3-Clause", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://www.vtk.org/files/release/9.0/VTK-9.0.1.tar.gz" + }, + { + "file_name": null, + "url": "https://www.vtk.org/files/release/9.0/VTKData-9.0.1.tar.gz" + }, + { + "file_name": null, + "url": "https://www.vtk.org/files/release/9.0/VTKLargeData-9.0.1.tar.gz" + }, + { + "file_name": "fix-build.patch", + "url": null + } + ], + "checksums": [ + { + "file_name": "VTK-9.0.1.tar.gz", + "sha512": "eb2508e2409ad302cc5db65282a9c1ff4477ac8a93e0fee898ad8f0974d72decc7d5d444dc825a3c2f7952ebf59853616097ebe0d134649cab0d49a9619065bf" + }, + { + "file_name": "VTKData-9.0.1.tar.gz", + "sha512": "2fc418a6e15bd4e30ce181bb209c39666982645dbdbe2d6491683497662b72712689e58cf54b7af91865d0e3d0cb3f9ab66606b02964d57bf88d769d292dd938" + }, + { + "file_name": "VTKLargeData-9.0.1.tar.gz", + "sha512": "b3303d633f063a6f3bfcc61b441f445611ff7cff6f006c77d8452eb5a3af89a18b2a1201a2dbd230af085b9e45b9abb70319d2f41db0f1e19c632286e7b02ec2" + }, + { + "file_name": "fix-build.patch", + "sha512": "c814628a7ce9e1015cb02d4c9ad7ae7c6ad6d5d83b553f0c484414744488e4d0fa313924b4fd0f579a363352832347035147d1be3aca6f6a4885b6f9a1590b9e" + } + ] + }, + "purl": "pkg:alpine/vtk@9.0.1-r5", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/zsnes/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/zsnes/APKBUILD new file mode 100644 index 00000000000..eeafc1adcc1 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/zsnes/APKBUILD @@ -0,0 +1,62 @@ +# Maintainer: Natanael Copa +pkgname=zsnes +pkgver=1.51 +pkgrel=11 +pkgdesc="Super Nintendo emulator" +url="http://www.zsnes.com/" +arch="x86" +license="GPL-2.0" +makedepends="sdl-dev libpng-dev ncurses-dev mesa-dev automake autoconf nasm" +subpackages="$pkgname-doc" +source="https://downloads.sourceforge.net/sourceforge/zsnes/zsnes151src.tar.bz2 + $pkgname.desktop + zsnes.patch + zsnes-1.51-CC-quotes.patch + zsnes-1.51-depbuild.patch + zsnes-libpng15.patch + zsnes_icon.png + zsnes-1.51-gcc-10.patch + " + +builddir="$srcdir/${pkgname}_${pkgver%.*}_${pkgver#*.}" + +prepare() { + default_prepare + + update_config_sub + cd "$builddir"/src + aclocal && autoconf +} + +build() { + cd "$builddir"/src + CFLAGS="$CFLAGS -no-pie -fcommon" \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + x_libraries=/usr/lib \ + force_arch=i586 \ + --enable-release + make makefile.dep + make +} + +package() { + cd "$builddir"/src + make DESTDIR="$pkgdir" install + install -Dm644 "$srcdir"/zsnes.desktop \ + "$pkgdir"/usr/share/applications/zsnes.desktop + install -Dm644 "$srcdir"/zsnes_icon.png \ + "$pkgdir"/usr/share/pixmaps/zsnes_icon.png + mv "$pkgdir"/usr/man "$pkgdir"/usr/share +} +sha512sums="b10373cf81b201a33dc60c728431d4f69d36de31fcf6f137b623ea206a2998f722dcd6132daec1d0bf14a05ae52f3ee9ecee4334517039be554db85c9f7b8274 zsnes151src.tar.bz2 +2a6462596b62c0bfc381f3ce63df3bbcc7724cea3514a8efc77cc8e544bcacdf4d169b245ef36c8e692564371446425e6eb2074f637c8408ca2c92e2c4717868 zsnes.desktop +30cf826e1a818f16c82d4f45e3b90c9a3a9ea47638b31e92879d8d97c5b4db9271e62b6d7966b58c5c2fbdf964345224ddcacee877ef4d8e3f0df252a13dbee6 zsnes.patch +ff6ad20827b2b6346a68a1c07e67761d71e0f7777e1c213d93c6c9e08a71839ee4d17edcf93e4bc277b25df99a665378cdc3a0ff3542102a0597de614bb0e800 zsnes-1.51-CC-quotes.patch +0f119725ad0b4d361c0cd34e9e8d9321c82c36395fee472405b0564a379d51b7b4c4a7e0a7d9dc2591ba947fbd633e3ce4ef5d9ca60c4a98c96d7f4dd05bc8ae zsnes-1.51-depbuild.patch +84d554e6422c28646b8a4c89048d0abe2062f90feaad1512e8e780acc8d438eecd65d88dd222fd94d434303d73f6633cf0a79a98b14f43b765c6a74cad010ec7 zsnes-libpng15.patch +50a3392de384f3279ec2c8aa0d7e4cedca4b0ff0b8dc6b1b265a84d8e5d91589b23fa52ae0f083c93e638ee9a785b2f18636de6146145dc09d13174bef2511f6 zsnes_icon.png +2c8759b6963cf5765234c513c80b0e6abc9a007d58f299bb91c34d33d8d13675affaa8828835bd1fe272dc81d8d85a17553ff4f2ca7d29e0de4fc96dc3b0dddb zsnes-1.51-gcc-10.patch" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/community/zsnes/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/zsnes/APKBUILD-expected.json new file mode 100644 index 00000000000..858156c2d73 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/community/zsnes/APKBUILD-expected.json @@ -0,0 +1,105 @@ +{ + "type": "alpine", + "namespace": null, + "name": "zsnes", + "version": "1.51-r11", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Super Nintendo emulator", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0", + "declared_license": "GPL-2.0", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://downloads.sourceforge.net/sourceforge/zsnes/zsnes151src.tar.bz2" + }, + { + "file_name": "zsnes.desktop", + "url": null + }, + { + "file_name": "zsnes.patch", + "url": null + }, + { + "file_name": "zsnes-1.51-CC-quotes.patch", + "url": null + }, + { + "file_name": "zsnes-1.51-depbuild.patch", + "url": null + }, + { + "file_name": "zsnes-libpng15.patch", + "url": null + }, + { + "file_name": "zsnes_icon.png", + "url": null + }, + { + "file_name": "zsnes-1.51-gcc-10.patch", + "url": null + } + ], + "checksums": [ + { + "file_name": "zsnes151src.tar.bz2", + "sha512": "b10373cf81b201a33dc60c728431d4f69d36de31fcf6f137b623ea206a2998f722dcd6132daec1d0bf14a05ae52f3ee9ecee4334517039be554db85c9f7b8274" + }, + { + "file_name": "zsnes.desktop", + "sha512": "2a6462596b62c0bfc381f3ce63df3bbcc7724cea3514a8efc77cc8e544bcacdf4d169b245ef36c8e692564371446425e6eb2074f637c8408ca2c92e2c4717868" + }, + { + "file_name": "zsnes.patch", + "sha512": "30cf826e1a818f16c82d4f45e3b90c9a3a9ea47638b31e92879d8d97c5b4db9271e62b6d7966b58c5c2fbdf964345224ddcacee877ef4d8e3f0df252a13dbee6" + }, + { + "file_name": "zsnes-1.51-CC-quotes.patch", + "sha512": "ff6ad20827b2b6346a68a1c07e67761d71e0f7777e1c213d93c6c9e08a71839ee4d17edcf93e4bc277b25df99a665378cdc3a0ff3542102a0597de614bb0e800" + }, + { + "file_name": "zsnes-1.51-depbuild.patch", + "sha512": "0f119725ad0b4d361c0cd34e9e8d9321c82c36395fee472405b0564a379d51b7b4c4a7e0a7d9dc2591ba947fbd633e3ce4ef5d9ca60c4a98c96d7f4dd05bc8ae" + }, + { + "file_name": "zsnes-libpng15.patch", + "sha512": "84d554e6422c28646b8a4c89048d0abe2062f90feaad1512e8e780acc8d438eecd65d88dd222fd94d434303d73f6633cf0a79a98b14f43b765c6a74cad010ec7" + }, + { + "file_name": "zsnes_icon.png", + "sha512": "50a3392de384f3279ec2c8aa0d7e4cedca4b0ff0b8dc6b1b265a84d8e5d91589b23fa52ae0f083c93e638ee9a785b2f18636de6146145dc09d13174bef2511f6" + }, + { + "file_name": "zsnes-1.51-gcc-10.patch", + "sha512": "2c8759b6963cf5765234c513c80b0e6abc9a007d58f299bb91c34d33d8d13675affaa8828835bd1fe272dc81d8d85a17553ff4f2ca7d29e0de4fc96dc3b0dddb" + } + ] + }, + "purl": "pkg:alpine/zsnes@1.51-r11", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/main/gcc/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/main/gcc/APKBUILD new file mode 100644 index 00000000000..d355ad432d6 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/main/gcc/APKBUILD @@ -0,0 +1,703 @@ +# Contributor: Natanael Copa +# Maintainer: Ariadne Conill +pkgname=gcc +_pkgbase=10.3.1 +pkgver=10.3.1_git20210424 +[ "$BOOTSTRAP" = "nolibc" ] && pkgname="gcc-pass2" +[ "$CBUILD" != "$CHOST" ] && _cross="-$CARCH" || _cross="" +[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target="" + +pkgname="$pkgname$_target" +pkgrel=1 +pkgdesc="The GNU Compiler Collection" +url="https://gcc.gnu.org" +arch="all" +license="GPL-2.0-or-later LGPL-2.1-or-later" +_gccrel=$pkgver-r$pkgrel +depends="binutils$_target" +makedepends_build="gcc$_cross g++$_cross bison flex texinfo gawk zip gmp-dev mpfr-dev mpc1-dev zlib-dev" +makedepends_host="linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev !gettext-dev libucontext-dev" +subpackages=" " +[ "$CHOST" = "$CTARGET" ] && subpackages="gcc-doc$_target" +replaces="libstdc++ binutils" + +: "${LANG_CXX:=true}" +: "${LANG_D:=true}" +: "${LANG_OBJC:=true}" +: "${LANG_GO:=true}" +: "${LANG_FORTRAN:=true}" +: "${LANG_ADA:=true}" + +_libgomp=true +_libgcc=true +_libatomic=true +_libitm=true + +if [ "$CHOST" != "$CTARGET" ]; then + if [ "$BOOTSTRAP" = nolibc ]; then + LANG_CXX=false + LANG_ADA=false + _libgcc=false + _builddir="$srcdir/build-cross-pass2" + else + _builddir="$srcdir/build-cross-final" + fi + LANG_OBJC=false + LANG_GO=false + LANG_FORTRAN=false + LANG_D=false + _libgomp=false + _libatomic=false + _libitm=false + + # reset target flags (should be set in crosscreate abuild) + # fixup flags. seems gcc treats CPPFLAGS as global without + # _FOR_xxx variants. wrap it in CFLAGS and CXXFLAGS. + export CFLAGS="$CPPFLAGS $CFLAGS" + export CXXFLAGS="$CPPFLAGS $CXXFLAGS" + unset CPPFLAGS + export CFLAGS_FOR_TARGET=" " + export CXXFLAGS_FOR_TARGET=" " + export LDFLAGS_FOR_TARGET=" " + + STRIP_FOR_TARGET="$CTARGET-strip" +elif [ "$CBUILD" != "$CHOST" ]; then + # fixup flags. seems gcc treats CPPFLAGS as global without + # _FOR_xxx variants. wrap it in CFLAGS and CXXFLAGS. + export CFLAGS="$CPPFLAGS $CFLAGS" + export CXXFLAGS="$CPPFLAGS $CXXFLAGS" + unset CPPFLAGS + + # reset flags and cc for build + export CC_FOR_BUILD="gcc" + export CXX_FOR_BUILD="g++" + export CFLAGS_FOR_BUILD=" " + export CXXFLAGS_FOR_BUILD=" " + export LDFLAGS_FOR_BUILD=" " + export CFLAGS_FOR_TARGET=" " + export CXXFLAGS_FOR_TARGET=" " + export LDFLAGS_FOR_TARGET=" " + + # Languages that do not need bootstrapping + LANG_OBJC=false + LANG_GO=false + LANG_FORTRAN=false + LANG_D=false + + STRIP_FOR_TARGET=${CROSS_COMPILE}strip + _builddir="$srcdir/build-cross-native" +else + STRIP_FOR_TARGET=${CROSS_COMPILE}strip + _builddir="$srcdir/build" +fi + +# GDC hasn't been ported to PowerPC +# See libphobos/configure.tgt in GCC sources for supported targets +# riscv fails with: error: static assert "unimplemented" +case "$CARCH" in +ppc64le|riscv64) LANG_D=false ;; +esac + +# libitm has TEXTRELs in ARM build, so disable for now +case "$CTARGET_ARCH" in +arm*) _libitm=false ;; +mips*) _libitm=false ;; +riscv64) _libitm=false ;; +esac + +# Internal libffi fails to build on MIPS at the moment, need to +# investigate further. We disable LANG_GO on mips64 as it requires +# the internal libffi. +case "$CTARGET_ARCH" in +mips*) LANG_GO=false ;; +esac + +# Fortran uses libquadmath if toolchain has __float128 +# currently on x86, x86_64 and ia64 +_libquadmath=$LANG_FORTRAN +case "$CTARGET_ARCH" in +x86 | x86_64) _libquadmath=$LANG_FORTRAN ;; +*) _libquadmath=false ;; +esac + +# libatomic is a dependency for openvswitch +$_libatomic && subpackages="$subpackages libatomic::$CTARGET_ARCH" +$_libgcc && subpackages="$subpackages libgcc::$CTARGET_ARCH" +$_libquadmath && subpackages="$subpackages libquadmath::$CTARGET_ARCH" +if $_libgomp; then + depends="$depends libgomp=$_gccrel" + subpackages="$subpackages libgomp::$CTARGET_ARCH" +fi + +case "$CARCH" in +riscv64) +LANG_ADA=false;; +esac + +_languages=c +if $LANG_CXX; then + subpackages="$subpackages libstdc++:libcxx:$CTARGET_ARCH g++$_target:gpp" + _languages="$_languages,c++" +fi +if $LANG_D; then + subpackages="$subpackages libgphobos::$CTARGET_ARCH gcc-gdc$_target:gdc" + _languages="$_languages,d" + makedepends_build="$makedepends_build libucontext-dev" +fi +if $LANG_OBJC; then + subpackages="$subpackages libobjc::$CTARGET_ARCH gcc-objc$_target:objc" + _languages="$_languages,objc" +fi +if $LANG_GO; then + subpackages="$subpackages libgo::$CTARGET_ARCH gcc-go$_target:go" + _languages="$_languages,go" +fi +if $LANG_FORTRAN; then + subpackages="$subpackages libgfortran::$CTARGET_ARCH gfortran$_target:gfortran" + _languages="$_languages,fortran" +fi +if $LANG_ADA; then + subpackages="$subpackages libgnat-static:libgnatstatic:$CTARGET_ARCH libgnat::$CTARGET_ARCH gcc-gnat$_target:gnat" + _languages="$_languages,ada" + [ "$CBUILD" = "$CTARGET" ] && makedepends_build="$makedepends_build gcc-gnat-bootstrap" + [ "$CBUILD" != "$CTARGET" ] && makedepends_build="$makedepends_build gcc-gnat gcc-gnat$_cross" +fi +makedepends="$makedepends_build $makedepends_host" + +# when using upstream releases, use this URI template +# https://gcc.gnu.org/pub/gcc/releases/gcc-${_pkgbase:-$pkgver}/gcc-${_pkgbase:-$pkgver}.tar.xz +# +# right now, we are using a git snapshot. +# +# PLEASE submit all patches to gcc to https://gitlab.alpinelinux.org/kaniini/alpine-gcc-patches, +# so that they can be properly tracked and easily rebased if needed. +source="https://dev.alpinelinux.org/~nenolod/gcc-${pkgver}.tar.xz + 0001-posix_memalign.patch + 0002-gcc-poison-system-directories.patch + 0003-Turn-on-Wl-z-relro-z-now-by-default.patch + 0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch + 0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch + 0006-Enable-Wformat-and-Wformat-security-by-default.patch + 0007-Enable-Wtrampolines-by-default.patch + 0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch + 0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch + 0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch + 0011-libiberty-copy-PIC-objects-during-build-process.patch + 0012-libitm-disable-FORTIFY.patch + 0013-libgcc_s.patch + 0014-nopie.patch + 0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch + 0016-dlang-update-zlib-binding.patch + 0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch + 0018-ada-fix-shared-linking.patch + 0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch + 0020-add-fortify-headers-paths.patch + 0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch + 0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch + 0023-Pure-64-bit-MIPS.patch + 0024-use-pure-64-bit-configuration-where-appropriate.patch + 0025-always-build-libgcc_eh.a.patch + 0026-ada-libgnarl-compatibility-for-musl.patch + 0027-ada-musl-support-fixes.patch + 0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch + 0029-gcc-go-Don-t-include-sys-user.h.patch + 0030-gcc-go-Fix-ucontext_t-on-PPC64.patch + 0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch + 0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch + 0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch + 0034-gcc-go-signal-34-is-special-on-musl-libc.patch + 0035-gcc-go-Prefer-_off_t-over-_off64_t.patch + 0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch + 0037-gcc-go-link-to-libucontext.patch + 0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch + 0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch + 0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch + 0041-Use-generic-errstr.go-implementation-on-musl.patch + " + +# we build out-of-tree +_gccdir="$srcdir"/gcc-$pkgver +_gcclibdir="/usr/lib/gcc/$CTARGET/${_pkgbase:-$pkgver}" +_gcclibexec="/usr/libexec/gcc/$CTARGET/${_pkgbase:-$pkgver}" + +prepare() { + cd "$_gccdir" + + _err= + for i in $source; do + case "$i" in + *.patch) + msg "Applying $i" + patch -p1 -i "$srcdir"/$i || _err="$_err $i" + ;; + esac + done + + if [ -n "$_err" ]; then + error "The following patches failed:" + for i in $_err; do + echo " $i" + done + return 1 + fi + + echo ${_pkgbase:-$pkgver} > gcc/BASE-VER +} + +build() { + local _arch_configure= + local _libc_configure= + local _cross_configure= + local _bootstrap_configure= + local _symvers= + + cd "$_gccdir" + + case "$CTARGET" in + aarch64-*-*-*) _arch_configure="--with-arch=armv8-a --with-abi=lp64";; + armv5-*-*-*eabi) _arch_configure="--with-arch=armv5te --with-tune=arm926ej-s --with-float=soft --with-abi=aapcs-linux";; + armv6-*-*-*eabihf) _arch_configure="--with-arch=armv6zk --with-tune=arm1176jzf-s --with-fpu=vfp --with-float=hard --with-abi=aapcs-linux";; + armv7-*-*-*eabihf) _arch_configure="--with-arch=armv7-a --with-tune=generic-armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-abi=aapcs-linux --with-mode=thumb";; + mips-*-*-*) _arch_configure="--with-arch=mips32 --with-mips-plt --with-float=soft --with-abi=32";; + mips64-*-*-*) _arch_configure="--with-arch=mips3 --with-tune=mips64 --with-mips-plt --with-float=soft --with-abi=64";; + mips64el-*-*-*) _arch_configure="--with-arch=mips3 --with-tune=mips64 --with-mips-plt --with-float=soft --with-abi=64";; + mipsel-*-*-*) _arch_configure="--with-arch=mips32 --with-mips-plt --with-float=soft --with-abi=32";; + powerpc-*-*-*) _arch_configure="--enable-secureplt --enable-decimal-float=no";; + powerpc64*-*-*-*) _arch_configure="--with-abi=elfv2 --enable-secureplt --enable-decimal-float=no --enable-targets=powerpcle-linux";; + i486-*-*-*) _arch_configure="--with-arch=i486 --with-tune=generic --enable-cld";; + i586-*-*-*) _arch_configure="--with-arch=i586 --with-tune=generic --enable-cld";; + s390x-*-*-*) _arch_configure="--with-arch=z196 --with-tune=zEC12 --with-zarch --with-long-double-128 --enable-decimal-float";; + esac + + case "$CTARGET_ARCH" in + mips*) _hash_style_configure="--with-linker-hash-style=sysv" ;; + *) _hash_style_configure="--with-linker-hash-style=gnu" ;; + esac + + case "$CTARGET_LIBC" in + musl) + # musl does not support mudflap, or libsanitizer + # libmpx uses secure_getenv and struct _libc_fpstate not present in musl + # alpine musl provides libssp_nonshared.a, so we don't need libssp either + _libc_configure="--disable-libssp --disable-libmpx --disable-libmudflap --disable-libsanitizer" + _symvers="--disable-symvers" + export libat_cv_have_ifunc=no + ;; + esac + + [ "$CBUILD" != "$CHOST" ] && _cross_configure="--disable-bootstrap" + [ "$CHOST" != "$CTARGET" ] && _cross_configure="--disable-bootstrap --with-sysroot=$CBUILDROOT" + + case "$BOOTSTRAP" in + nolibc) _bootstrap_configure="--with-newlib --disable-shared --enable-threads=no" ;; + *) _bootstrap_configure="--enable-shared --enable-threads --enable-tls" ;; + esac + + $_libgomp || _bootstrap_configure="$_bootstrap_configure --disable-libgomp" + $_libatomic || _bootstrap_configure="$_bootstrap_configure --disable-libatomic" + $_libitm || _bootstrap_configure="$_bootstrap_configure --disable-libitm" + $_libquadmath || _arch_configure="$_arch_configure --disable-libquadmath" + + msg "Building the following:" + echo "" + echo " CBUILD=$CBUILD" + echo " CHOST=$CHOST" + echo " CTARGET=$CTARGET" + echo " CTARGET_ARCH=$CTARGET_ARCH" + echo " CTARGET_LIBC=$CTARGET_LIBC" + echo " languages=$_languages" + echo " arch_configure=$_arch_configure" + echo " libc_configure=$_libc_configure" + echo " cross_configure=$_cross_configure" + echo " bootstrap_configure=$_bootstrap_configure" + echo " hash_style_configure=$_hash_style_configure" + echo "" + + export CFLAGS="$CFLAGS -O2" + + mkdir -p "$_builddir" + cd "$_builddir" + "$_gccdir"/configure --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --build=${CBUILD} \ + --host=${CHOST} \ + --target=${CTARGET} \ + --with-pkgversion="Alpine $pkgver" \ + --enable-checking=release \ + --disable-fixed-point \ + --disable-libstdcxx-pch \ + --disable-multilib \ + --disable-nls \ + --disable-werror \ + $_symvers \ + --enable-__cxa_atexit \ + --enable-default-pie \ + --enable-default-ssp \ + --enable-cloog-backend \ + --enable-languages=$_languages \ + $_arch_configure \ + $_libc_configure \ + $_cross_configure \ + $_bootstrap_configure \ + --with-system-zlib \ + $_hash_style_configure + make +} + +package() { + cd "$_builddir" + make -j1 DESTDIR="$pkgdir" install + + ln -s gcc "$pkgdir"/usr/bin/cc + + # we dont support gcj -static + # and saving 35MB is not bad. + find "$pkgdir" \( -name libgtkpeer.a \ + -o -name libgjsmalsa.a \ + -o -name libgij.a \) \ + -delete + + # strip debug info from some static libs + find "$pkgdir" \( -name libgfortran.a -o -name libobjc.a -o -name libgomp.a \ + -o -name libgphobos.a -o -name libgdruntime.a \ + -o -name libmudflap.a -o -name libmudflapth.a \ + -o -name libgcc.a -o -name libgcov.a -o -name libquadmath.a \ + -o -name libitm.a -o -name libgo.a -o -name libcaf\*.a \ + -o -name libatomic.a -o -name libasan.a -o -name libtsan.a \) \ + -a -type f \ + -exec ${STRIP_FOR_TARGET} -g {} + + + if $_libgomp; then + mv "$pkgdir"/usr/lib/libgomp.spec "$pkgdir"/$_gcclibdir + fi + if $_libitm; then + mv "$pkgdir"/usr/lib/libitm.spec "$pkgdir"/$_gcclibdir + fi + + # remove ffi + rm -f "$pkgdir"/usr/lib/libffi* "$pkgdir"/usr/share/man/man3/ffi* + find "$pkgdir" -name 'ffi*.h' -delete + + local gdblib=${_target:+$CTARGET/}lib + if [ -d "$pkgdir"/usr/$gdblib/ ]; then + for i in $(find "$pkgdir"/usr/$gdblib/ -type f -maxdepth 1 -name "*-gdb.py"); do + mkdir -p "$pkgdir"/usr/share/gdb/python/auto-load/usr/$gdblib + mv "$i" "$pkgdir"/usr/share/gdb/python/auto-load/usr/$gdblib/ + done + fi + + # move ada runtime libs + if $LANG_ADA; then + for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 -name "libgna*.so"); do + mv "$i" "$pkgdir"/usr/lib/ + ln -s ../../../../${i##*/} $i + done + for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 -name "libgna*.a"); do + mv "$i" "$pkgdir"/usr/lib/ + ln -s ../../../../${i##*/} $i + done + fi + + if [ "$CHOST" != "$CTARGET" ]; then + # cross-gcc: remove any files that would conflict with the + # native gcc package + rm -rf "$pkgdir"/usr/bin/cc "$pkgdir"/usr/include "${pkgdir:?}"/usr/share + # libcc1 does not depend on target, don't ship it + rm -rf "$pkgdir"/usr/lib/libcc1.so* + + # fixup gcc library symlinks to be linker scripts so + # linker finds the libs from relocated sysroot + for so in "$pkgdir"/usr/"$CTARGET"/lib/*.so; do + if [ -h "$so" ]; then + local _real=$(basename "$(readlink "$so")") + rm -f "$so" + echo "GROUP ($_real)" > "$so" + fi + done + else + # add c89/c99 wrapper scripts + cat >"$pkgdir"/usr/bin/c89 <<'EOF' +#!/bin/sh +_flavor="-std=c89" +for opt; do + case "$opt" in + -ansi|-std=c89|-std=iso9899:1990) _flavor="";; + -std=*) echo "$(basename $0) called with non ANSI/ISO C option $opt" >&2 + exit 1;; + esac +done +exec gcc $_flavor ${1+"$@"} +EOF + cat >"$pkgdir"/usr/bin/c99 <<'EOF' +#!/bin/sh +_flavor="-std=c99" +for opt; do + case "$opt" in + -std=c99|-std=iso9899:1999) _flavor="";; + -std=*) echo "$(basename $0) called with non ISO C99 option $opt" >&2 + exit 1;; + esac +done +exec gcc $_flavor ${1+"$@"} +EOF + chmod 755 "$pkgdir"/usr/bin/c?9 + + # install lto plugin so regular binutils may use it + mkdir -p "$pkgdir"/usr/lib/bfd-plugins + ln -s /$_gcclibexec/liblto_plugin.so "$pkgdir/usr/lib/bfd-plugins/" + fi +} + +libatomic() { + pkgdesc="GCC Atomic library" + depends= + replaces="gcc" + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/libatomic.so.* "$subpkgdir"/usr/lib/ +} + +libcxx() { + pkgdesc="GNU C++ standard runtime library" + depends= + + if [ "$CHOST" = "$CTARGET" ]; then + # verify that we are using clock_gettime rather than doing direct syscalls + # so we dont break 32 bit arches due to time64. + nm -D "$pkgdir"/usr/lib/libstdc++.so.* | grep clock_gettime + fi + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/libstdc++.so.* "$subpkgdir"/usr/lib/ +} + +gpp() { + pkgdesc="GNU C++ standard library and compiler" + depends="libstdc++=$_gccrel gcc=$_gccrel libc-dev" + mkdir -p "$subpkgdir/$_gcclibexec" \ + "$subpkgdir"/usr/bin \ + "$subpkgdir"/usr/${_target:+$CTARGET/}include \ + "$subpkgdir"/usr/${_target:+$CTARGET/}lib \ + + mv "$pkgdir/$_gcclibexec/cc1plus" "$subpkgdir/$_gcclibexec/" + + mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/*++* "$subpkgdir"/usr/${_target:+$CTARGET/}lib/ + mv "$pkgdir"/usr/${_target:+$CTARGET/}include/c++ "$subpkgdir"/usr/${_target:+$CTARGET/}include/ + mv "$pkgdir"/usr/bin/*++ "$subpkgdir"/usr/bin/ +} + +libobjc() { + pkgdesc="GNU Objective-C runtime" + replaces="objc" + depends= + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/libobjc.so.* "$subpkgdir"/usr/lib/ +} + +objc() { + pkgdesc="GNU Objective-C" + replaces="gcc" + depends="libc-dev gcc=$_gccrel libobjc=$_gccrel" + + mkdir -p "$subpkgdir/$_gcclibexec" \ + "$subpkgdir"/$_gcclibdir/include \ + "$subpkgdir"/usr/lib + mv "$pkgdir/$_gcclibexec/cc1obj" "$subpkgdir/$_gcclibexec/" + mv "$pkgdir"/$_gcclibdir/include/objc "$subpkgdir"/$_gcclibdir/include/ + mv "$pkgdir"/usr/lib/libobjc.so "$pkgdir"/usr/lib/libobjc.a \ + "$subpkgdir"/usr/lib/ +} + +libgcc() { + pkgdesc="GNU C compiler runtime libraries" + depends= + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/libgcc_s.so.* "$subpkgdir"/usr/lib/ +} + +libgomp() { + pkgdesc="GCC shared-memory parallel programming API library" + depends= + replaces="gcc" + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/libgomp.so.* "$subpkgdir"/usr/lib/ +} + +libgphobos() { + pkgdesc="D programming language standard library for GCC" + depends= + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libgdruntime.so.* "$subpkgdir"/usr/lib/ + mv "$pkgdir"/usr/lib/libgphobos.so.* "$subpkgdir"/usr/lib/ +} + +gdc() { + pkgdesc="GCC-based D language compiler" + depends="gcc=$_gccrel libgphobos=$_gccrel musl-dev" + depends="$depends libucontext-dev" + + mkdir -p "$subpkgdir/$_gcclibexec" \ + "$subpkgdir"/$_gcclibdir/include/d/ \ + "$subpkgdir"/usr/lib \ + "$subpkgdir"/usr/bin + # Copy: The installed '.d' files, the static lib, the binary itself + # The shared libs are part of 'libgphobos' so one can run program + # without installing the compiler + mv "$pkgdir/$_gcclibexec/d21" "$subpkgdir/$_gcclibexec/" + mv "$pkgdir"/$_gcclibdir/include/d/* "$subpkgdir"/$_gcclibdir/include/d/ + mv "$pkgdir"/usr/lib/libgdruntime.a "$subpkgdir"/usr/lib/ + mv "$pkgdir"/usr/lib/libgphobos.a "$subpkgdir"/usr/lib/ + mv "$pkgdir"/usr/lib/libgphobos.spec "$subpkgdir"/usr/lib/ + mv "$pkgdir"/usr/bin/$CTARGET-gdc "$subpkgdir"/usr/bin/ + mv "$pkgdir"/usr/bin/gdc "$subpkgdir"/usr/bin/ +} + + +libgo() { + pkgdesc="Go runtime library for GCC" + depends= + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libgo.so.* "$subpkgdir"/usr/lib/ +} + +go() { + pkgdesc="Go support for GCC" + depends="gcc=$_gccrel libgo=$_gccrel !go" + + mkdir -p "$subpkgdir"/$_gcclibexec \ + "$subpkgdir"/usr/lib \ + "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/lib/go "$subpkgdir"/usr/lib/ + mv "$pkgdir"/usr/bin/*gccgo "$subpkgdir"/usr/bin/ + mv "$pkgdir"/usr/bin/*go "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/*gofmt "$subpkgdir"/usr/bin + mv "$pkgdir"/$_gcclibexec/go1 "$subpkgdir"/$_gcclibexec/ + mv "$pkgdir"/$_gcclibexec/cgo "$subpkgdir"/$_gcclibexec/ + mv "$pkgdir"/$_gcclibexec/buildid "$subpkgdir"/$_gcclibexec/ + mv "$pkgdir"/$_gcclibexec/test2json "$subpkgdir"/$_gcclibexec/ + mv "$pkgdir"/$_gcclibexec/vet "$subpkgdir"/$_gcclibexec/ + mv "$pkgdir"/usr/lib/libgo.a \ + "$pkgdir"/usr/lib/libgo.so \ + "$pkgdir"/usr/lib/libgobegin.a \ + "$pkgdir"/usr/lib/libgolibbegin.a \ + "$subpkgdir"/usr/lib/ +} + +libgfortran() { + pkgdesc="Fortran runtime library for GCC" + depends= + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libgfortran.so.* "$subpkgdir"/usr/lib/ +} + +libquadmath() { + replaces="gcc" + pkgdesc="128-bit math library for GCC" + depends= + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libquadmath.so.* "$subpkgdir"/usr/lib/ +} + +gfortran() { + pkgdesc="GNU Fortran Compiler" + depends="gcc=$_gccrel libgfortran=$_gccrel" + $_libquadmath && depends="$depends libquadmath=$_gccrel" + replaces="gcc" + + mkdir -p "$subpkgdir"/$_gcclibexec \ + "$subpkgdir"/$_gcclibdir \ + "$subpkgdir"/usr/lib \ + "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/*gfortran "$subpkgdir"/usr/bin/ + mv "$pkgdir"/usr/lib/libgfortran.a \ + "$pkgdir"/usr/lib/libgfortran.so \ + "$subpkgdir"/usr/lib/ + if $_libquadmath; then + mv "$pkgdir"/usr/lib/libquadmath.a \ + "$pkgdir"/usr/lib/libquadmath.so \ + "$subpkgdir"/usr/lib/ + fi + mv "$pkgdir"/$_gcclibdir/finclude "$subpkgdir"/$_gcclibdir/ + mv "$pkgdir"/$_gcclibexec/f951 "$subpkgdir"/$_gcclibexec + mv "$pkgdir"/usr/lib/libgfortran.spec "$subpkgdir"/$_gcclibdir +} + +libgnat() { + pkgdesc="GNU Ada runtime shared libraries" + depends= + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libgna*.so "$subpkgdir"/usr/lib/ +} + +libgnatstatic() { + pkgdesc="GNU Ada static libraries" + depends= + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libgna*.a "$subpkgdir"/usr/lib/ +} + +gnat() { + pkgdesc="Ada support for GCC" + depends="gcc=$_gccrel" + provides="$pkgname-gnat-bootstrap" + [ "$CHOST" = "$CTARGET" ] && depends="$depends libgnat=$_gccrel" + + mkdir -p "$subpkgdir"/$_gcclibexec \ + "$subpkgdir"/$_gcclibdir \ + "$subpkgdir"/usr/bin + mv "$pkgdir"/$_gcclibexec/*gnat* "$subpkgdir"/$_gcclibexec/ + mv "$pkgdir"/$_gcclibdir/*ada* "$subpkgdir"/$_gcclibdir/ + mv "$pkgdir"/usr/bin/*gnat* "$subpkgdir"/usr/bin/ +} + +sha512sums="0ef281e6633b8bef7ce24d1448ec7b96aef66e414f90821a9a021dcd98eca8895d217d9d95b70fd9c96113689cd026aec951edc356462e439a9350edb4009df6 gcc-10.3.1_git20210424.tar.xz +d1e10db83a04c02d99f9f6ce03f949b83ccd013674773dcb08992c604048df6a08bf9bd16f74e3c60ea85fd861fb08c1fa9fe17c304af9bfc9a032b81f1ac9eb 0001-posix_memalign.patch +a77c7ebd994b5780cc5209f33ace24fc4d04353638dcdb14af192b0be5b0e5be397218ddba40e577af889a267af1aa69c1def474207a6661a37c3f5c15002bcb 0002-gcc-poison-system-directories.patch +108ad63f61e61f627a75613605962021c08bbde584f3c0507d6a07c6112487847ce89699d1d80efb9201c4eab3440ba66f2eeb781bd259fdfc9c87b3baee1e27 0003-Turn-on-Wl-z-relro-z-now-by-default.patch +dc28895223fe7ce531648225da3cd15e20c26a9be0248fdd66f11efb153647776bdbe8109097d87a087c4443e809a0d425848bdeae1442135c52a13bdd06ef75 0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch +ce7a5f243072284e767510083c57250dd5f1dcdcae102cf1ecbb06f36ea286b00b1f84dc32e5fdb76bac77b52ef3e4e650cff7cc0d14d94487a40ca9d5605bbd 0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch +f5458adfd23f51fa54fb690ec322552d7cadc3afa5773e13e73832c56832854ff14a73ff480c9990731ce929c5a4df35bc20247239268221b9af40ba37331228 0006-Enable-Wformat-and-Wformat-security-by-default.patch +2601b0de5fe402cdd9a3d87c2a3e959154c2ee413989db21fbc232f169b20d94807a1f89ff5ebb650a143d59b4b48187b338832d8de577fa47bfdd1b76313114 0007-Enable-Wtrampolines-by-default.patch +3eedfe70c85d963845a658444d8692792a34af8b5e0fa800991bf1e0e2c9ff3196c50f11a284cfaca5d48b4c78b614febf38339918c7fa7a7f4723a1f6bdad16 0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch +6a4b6843cb27b560ac4327b17718806bac4b602903f696222617148a52e9918144648cc45642293beb7c8fd48eba325c115e1dcaa4adec85e1caff0ea33d2a8a 0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch +af174250b4fbcc3664bed51d919695511b538f2f3b65532383591f511bede3d13a1ade29aea66598d6df17f2e931a2d171f01c4e7008b4f468cfb13dc5f2b4cf 0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch +aabac76659e3fa96fa7b4ee2571672c840c3dd37314f16516038d3934333a42b20442a967afce5a35a326685c3c8ef384fc97dc8f4dae57479038f5431e33c19 0011-libiberty-copy-PIC-objects-during-build-process.patch +36702acf0c9b34adb0b23b74167e5358c706246cc88ce569d4462555bb48288d5d633298aa447ef023c6f75de86dfa7d4ebbf3c43593e1279837ebd47061be0f 0012-libitm-disable-FORTIFY.patch +79912633ee707c60c66abf6ee16159db3357e4e75d4254f7f38cbc0119c2adfcfa2b8c6b1df3885526d68e49f88e2a0c87969a784ed8a1025a680a4f18acd06c 0013-libgcc_s.patch +c8c6f4e967afb5d4a9eccd917f6338a61547cc2fabbf56b25e27220b4f3c85f5002477bf2f9d05a911185cee8dcba3a12d3ad24c0d7b1d3b67a3a53bfea702c6 0014-nopie.patch +d8d8556a6192d7695e1aeb1e64bf98a02b068c427442dd9c23d2b9a863c504e577f35e0890b5f0a184c687ce9315cecff3d2e0bb82f19531a493efb72b54cfe7 0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch +b3fb29187561fef84b6eb0b35a582c79833203f689e5bf884146cd9a71ec407e0e3b27b0bd4953143d00879ce32331e92741e1c7229ca291ebf13dfd8f5d409c 0016-dlang-update-zlib-binding.patch +2a03683d5e00cc65f8ebc83638953dff89981069943169874df03f4f3a22348b960780250d9240505acf5b1bfbe154d57d14f310f29a94b76404f50611da9000 0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch +3df60839e5337fccdd228ebf753fb0dbf672aefca5f3f16329b99c813b907f44e1ce4948ce7f692dca316eb307b83ae9f5028cf1875eb3c9fee85b2dee7bfe83 0018-ada-fix-shared-linking.patch +bd60be22341b508b4b5cb66eb48723d0f48770745352c60cfe146efa4d18ec58cccbb37f85b98dc0432e52bb5dc8dc1f28b3a3ca50d1ca6db68eb38df970e5aa 0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch +333f9c7a1935dc4f29783fa31c254bda6339c30ee770eb30d585ac422cd0f69701b5d988f9493471e4c83cf20937050f33320852a83ed6dfb2e739ee3539ca0e 0020-add-fortify-headers-paths.patch +053b0339936cc0469e8708ccc086fa1dabe8572199530e1e78a93551340dd35467a07273e19d2cbc7fe915b7a5bdf95c128718ba0518b67b9668ef0316b7aa06 0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch +7b3d849cdbdee5855918db4114de8f989ec5d612cddc7551eb63ca2878e69e3566353bbfafa9205a161ffd51c5aedd367de6ad82cd5ebf6cb28c716a8d447bb5 0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch +6b3c0fa81cebaf32948657bddaac99024f45c2fc19ac8bc504f3773b6458099b9907e310e162952973bdd41c9fc011e7a50bc8fa86cc0ebec9dd4c69830a012b 0023-Pure-64-bit-MIPS.patch +da634721fa9cba18e4f527b2cdbe6896c0251ce43865c6fbf29a7281d766c3a8f98e2ddd345b801c25b7ceb85880150ae9cc422aa8891b1fc28a3dc40bcd3114 0024-use-pure-64-bit-configuration-where-appropriate.patch +64b58a273993224f93c68cddfacc1b3da6b0900b2983f27f8db39b4375afa97cce564739c8fc320666821f6de526e54acbc4920c7e16612303b3d25aed34d5f1 0025-always-build-libgcc_eh.a.patch +6004be7d683993c175f819e1d62767b6ca2b80643917bb584ffffe2aee9fd5ad9745f91651ad5d1d00aed390e7346262b5c28bec356efd9ff1c85e4b54bcfe2e 0026-ada-libgnarl-compatibility-for-musl.patch +7a3ce107cc55356ac46f3a217eea1cf9cdddd43fd3fede048a26e5da2280f0af9f806392942d2896a0f841ca0b0b0eaceb4e20f09edee7a743b515d3553fc8b3 0027-ada-musl-support-fixes.patch +0cd8303456ec5479942970679352fe8bcd259b8b04bffba458545abdfac87163a8fb8e55c3aa505c516af8fd0a1bfb5f2ee4c6027ec9bcb0b0d3564469a18e23 0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch +6cc82829bb8bf8ffb473e4f2f9c2f657a4078290fc7c3208d199c0b07c2c3a7575a0c423e52fc02fd96c81158ab2e7ad33ccb651523ba80e00dee9e503d19c6d 0029-gcc-go-Don-t-include-sys-user.h.patch +868e0cf5d32412c557d7835e03eb23621745179e77c87d69b810f8ec968cf80606cb5cb8085e5e125f08e809d5e3ff50c4de869d94caca5f4257669237a29b92 0030-gcc-go-Fix-ucontext_t-on-PPC64.patch +257814e2dc39bf01dedc3efe9f50029bdc230e112a0e739d0547896212b87bcdb9d40d4632a237137c91e2d9605b2256ebd45ee005920a5c4e401e699ce69f46 0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch +0e33205e6ef0b58d12eb80d3fd6ce7361e9e3a86ba2ae781745133be1f0fea6a1e95fd58331765f6bb599f4ad355224c954db4fbaf804b9e4c0ea01dbaae1638 0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch +bb1e3bbea65644435134910e04b8d4de27642026371b19f4faf51b90e32af08e7181b3198e936b3626cba2126f8f9182ce39f6b8c8849b6b27f56a1c45e4f8c5 0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch +0758417ab682ee6d4b75f1ba2d0c1f568e115a16625eb664066c1862178a43ae717396c5d61a355a08fc01929041abebbf33bc58176a0b78ab384aba7d2ed8ba 0034-gcc-go-signal-34-is-special-on-musl-libc.patch +d0b132d1bb9a455af23829a9da4ff89c27eff3f642e2280712667753d552fc214424470cad4cecd0ae39052553b6a22d7dc7a20eebfd1cb976d98552b00b9dcd 0035-gcc-go-Prefer-_off_t-over-_off64_t.patch +a21844975ff13317ed7985b5f5b257a0bc1dd961360b6a6f36bf52151b8edf5ecf38fbdd47cb2c28c13ed3dfbf4ca112d91d81373fd3e2c5992aba35296645af 0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch +0217263fc1fcfbde92fcebfc626b2cf0ba30e704b4fbe5a11f55d9ca5b579cceac3ba9ec45e7f53cd8805678b69fb6e5ab1295e67938b9c83f82e44ddebd0a85 0037-gcc-go-link-to-libucontext.patch +8a90ce84d493bfcdcad4cb1a02a320dca18e8178e717451087501b059ca00ab8f6b73d628bcb3f49c5c6702b7222b063d3c0803d093e2c6f58820b6aa578969e 0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch +a3e7362fa95d5ffa56b0d8ea73f6f8e867409ae3b85d041aa0591dba093c5bb1d30f3294151c5142e8d1df91f4d138e9f4484009b8a675c8fc3b754a34c7648e 0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch +dc7a8f6dc885dc34229128a716531b375ec4e8247a8522adb623c5a6b39db60ff471436b360a25f0310ee16fe1a6ec85ff64398cbae2677534626972ac01db22 0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch +046bfe95d6de9df148e6c410b5d23a49c488ab41d95e599fc381a2b7d190e6d7d99de59fa8cd8c3a711ee2310426f3cdcd323cf887c8d11543e119d205659b6a 0041-Use-generic-errstr.go-implementation-on-musl.patch" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/main/gcc/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/main/gcc/APKBUILD-expected.json new file mode 100644 index 00000000000..ce2eb572e8e --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/main/gcc/APKBUILD-expected.json @@ -0,0 +1,377 @@ +{ + "type": "alpine", + "namespace": null, + "name": "gcc", + "version": "10.3.1_git20210424-r1", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "The GNU Compiler Collection", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0-plus AND lgpl-2.1-plus", + "declared_license": "GPL-2.0-or-later LGPL-2.1-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://dev.alpinelinux.org/~nenolod/gcc-10.3.1_git20210424.tar.xz" + }, + { + "file_name": "0001-posix_memalign.patch", + "url": null + }, + { + "file_name": "0002-gcc-poison-system-directories.patch", + "url": null + }, + { + "file_name": "0003-Turn-on-Wl-z-relro-z-now-by-default.patch", + "url": null + }, + { + "file_name": "0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch", + "url": null + }, + { + "file_name": "0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch", + "url": null + }, + { + "file_name": "0006-Enable-Wformat-and-Wformat-security-by-default.patch", + "url": null + }, + { + "file_name": "0007-Enable-Wtrampolines-by-default.patch", + "url": null + }, + { + "file_name": "0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch", + "url": null + }, + { + "file_name": "0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch", + "url": null + }, + { + "file_name": "0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch", + "url": null + }, + { + "file_name": "0011-libiberty-copy-PIC-objects-during-build-process.patch", + "url": null + }, + { + "file_name": "0012-libitm-disable-FORTIFY.patch", + "url": null + }, + { + "file_name": "0013-libgcc_s.patch", + "url": null + }, + { + "file_name": "0014-nopie.patch", + "url": null + }, + { + "file_name": "0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch", + "url": null + }, + { + "file_name": "0016-dlang-update-zlib-binding.patch", + "url": null + }, + { + "file_name": "0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch", + "url": null + }, + { + "file_name": "0018-ada-fix-shared-linking.patch", + "url": null + }, + { + "file_name": "0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch", + "url": null + }, + { + "file_name": "0020-add-fortify-headers-paths.patch", + "url": null + }, + { + "file_name": "0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch", + "url": null + }, + { + "file_name": "0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch", + "url": null + }, + { + "file_name": "0023-Pure-64-bit-MIPS.patch", + "url": null + }, + { + "file_name": "0024-use-pure-64-bit-configuration-where-appropriate.patch", + "url": null + }, + { + "file_name": "0025-always-build-libgcc_eh.a.patch", + "url": null + }, + { + "file_name": "0026-ada-libgnarl-compatibility-for-musl.patch", + "url": null + }, + { + "file_name": "0027-ada-musl-support-fixes.patch", + "url": null + }, + { + "file_name": "0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch", + "url": null + }, + { + "file_name": "0029-gcc-go-Don-t-include-sys-user.h.patch", + "url": null + }, + { + "file_name": "0030-gcc-go-Fix-ucontext_t-on-PPC64.patch", + "url": null + }, + { + "file_name": "0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch", + "url": null + }, + { + "file_name": "0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch", + "url": null + }, + { + "file_name": "0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch", + "url": null + }, + { + "file_name": "0034-gcc-go-signal-34-is-special-on-musl-libc.patch", + "url": null + }, + { + "file_name": "0035-gcc-go-Prefer-_off_t-over-_off64_t.patch", + "url": null + }, + { + "file_name": "0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch", + "url": null + }, + { + "file_name": "0037-gcc-go-link-to-libucontext.patch", + "url": null + }, + { + "file_name": "0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch", + "url": null + }, + { + "file_name": "0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch", + "url": null + }, + { + "file_name": "0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch", + "url": null + }, + { + "file_name": "0041-Use-generic-errstr.go-implementation-on-musl.patch", + "url": null + } + ], + "checksums": [ + { + "file_name": "gcc-10.3.1_git20210424.tar.xz", + "sha512": "0ef281e6633b8bef7ce24d1448ec7b96aef66e414f90821a9a021dcd98eca8895d217d9d95b70fd9c96113689cd026aec951edc356462e439a9350edb4009df6" + }, + { + "file_name": "0001-posix_memalign.patch", + "sha512": "d1e10db83a04c02d99f9f6ce03f949b83ccd013674773dcb08992c604048df6a08bf9bd16f74e3c60ea85fd861fb08c1fa9fe17c304af9bfc9a032b81f1ac9eb" + }, + { + "file_name": "0002-gcc-poison-system-directories.patch", + "sha512": "a77c7ebd994b5780cc5209f33ace24fc4d04353638dcdb14af192b0be5b0e5be397218ddba40e577af889a267af1aa69c1def474207a6661a37c3f5c15002bcb" + }, + { + "file_name": "0003-Turn-on-Wl-z-relro-z-now-by-default.patch", + "sha512": "108ad63f61e61f627a75613605962021c08bbde584f3c0507d6a07c6112487847ce89699d1d80efb9201c4eab3440ba66f2eeb781bd259fdfc9c87b3baee1e27" + }, + { + "file_name": "0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch", + "sha512": "dc28895223fe7ce531648225da3cd15e20c26a9be0248fdd66f11efb153647776bdbe8109097d87a087c4443e809a0d425848bdeae1442135c52a13bdd06ef75" + }, + { + "file_name": "0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch", + "sha512": "ce7a5f243072284e767510083c57250dd5f1dcdcae102cf1ecbb06f36ea286b00b1f84dc32e5fdb76bac77b52ef3e4e650cff7cc0d14d94487a40ca9d5605bbd" + }, + { + "file_name": "0006-Enable-Wformat-and-Wformat-security-by-default.patch", + "sha512": "f5458adfd23f51fa54fb690ec322552d7cadc3afa5773e13e73832c56832854ff14a73ff480c9990731ce929c5a4df35bc20247239268221b9af40ba37331228" + }, + { + "file_name": "0007-Enable-Wtrampolines-by-default.patch", + "sha512": "2601b0de5fe402cdd9a3d87c2a3e959154c2ee413989db21fbc232f169b20d94807a1f89ff5ebb650a143d59b4b48187b338832d8de577fa47bfdd1b76313114" + }, + { + "file_name": "0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch", + "sha512": "3eedfe70c85d963845a658444d8692792a34af8b5e0fa800991bf1e0e2c9ff3196c50f11a284cfaca5d48b4c78b614febf38339918c7fa7a7f4723a1f6bdad16" + }, + { + "file_name": "0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch", + "sha512": "6a4b6843cb27b560ac4327b17718806bac4b602903f696222617148a52e9918144648cc45642293beb7c8fd48eba325c115e1dcaa4adec85e1caff0ea33d2a8a" + }, + { + "file_name": "0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch", + "sha512": "af174250b4fbcc3664bed51d919695511b538f2f3b65532383591f511bede3d13a1ade29aea66598d6df17f2e931a2d171f01c4e7008b4f468cfb13dc5f2b4cf" + }, + { + "file_name": "0011-libiberty-copy-PIC-objects-during-build-process.patch", + "sha512": "aabac76659e3fa96fa7b4ee2571672c840c3dd37314f16516038d3934333a42b20442a967afce5a35a326685c3c8ef384fc97dc8f4dae57479038f5431e33c19" + }, + { + "file_name": "0012-libitm-disable-FORTIFY.patch", + "sha512": "36702acf0c9b34adb0b23b74167e5358c706246cc88ce569d4462555bb48288d5d633298aa447ef023c6f75de86dfa7d4ebbf3c43593e1279837ebd47061be0f" + }, + { + "file_name": "0013-libgcc_s.patch", + "sha512": "79912633ee707c60c66abf6ee16159db3357e4e75d4254f7f38cbc0119c2adfcfa2b8c6b1df3885526d68e49f88e2a0c87969a784ed8a1025a680a4f18acd06c" + }, + { + "file_name": "0014-nopie.patch", + "sha512": "c8c6f4e967afb5d4a9eccd917f6338a61547cc2fabbf56b25e27220b4f3c85f5002477bf2f9d05a911185cee8dcba3a12d3ad24c0d7b1d3b67a3a53bfea702c6" + }, + { + "file_name": "0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch", + "sha512": "d8d8556a6192d7695e1aeb1e64bf98a02b068c427442dd9c23d2b9a863c504e577f35e0890b5f0a184c687ce9315cecff3d2e0bb82f19531a493efb72b54cfe7" + }, + { + "file_name": "0016-dlang-update-zlib-binding.patch", + "sha512": "b3fb29187561fef84b6eb0b35a582c79833203f689e5bf884146cd9a71ec407e0e3b27b0bd4953143d00879ce32331e92741e1c7229ca291ebf13dfd8f5d409c" + }, + { + "file_name": "0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch", + "sha512": "2a03683d5e00cc65f8ebc83638953dff89981069943169874df03f4f3a22348b960780250d9240505acf5b1bfbe154d57d14f310f29a94b76404f50611da9000" + }, + { + "file_name": "0018-ada-fix-shared-linking.patch", + "sha512": "3df60839e5337fccdd228ebf753fb0dbf672aefca5f3f16329b99c813b907f44e1ce4948ce7f692dca316eb307b83ae9f5028cf1875eb3c9fee85b2dee7bfe83" + }, + { + "file_name": "0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch", + "sha512": "bd60be22341b508b4b5cb66eb48723d0f48770745352c60cfe146efa4d18ec58cccbb37f85b98dc0432e52bb5dc8dc1f28b3a3ca50d1ca6db68eb38df970e5aa" + }, + { + "file_name": "0020-add-fortify-headers-paths.patch", + "sha512": "333f9c7a1935dc4f29783fa31c254bda6339c30ee770eb30d585ac422cd0f69701b5d988f9493471e4c83cf20937050f33320852a83ed6dfb2e739ee3539ca0e" + }, + { + "file_name": "0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch", + "sha512": "053b0339936cc0469e8708ccc086fa1dabe8572199530e1e78a93551340dd35467a07273e19d2cbc7fe915b7a5bdf95c128718ba0518b67b9668ef0316b7aa06" + }, + { + "file_name": "0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch", + "sha512": "7b3d849cdbdee5855918db4114de8f989ec5d612cddc7551eb63ca2878e69e3566353bbfafa9205a161ffd51c5aedd367de6ad82cd5ebf6cb28c716a8d447bb5" + }, + { + "file_name": "0023-Pure-64-bit-MIPS.patch", + "sha512": "6b3c0fa81cebaf32948657bddaac99024f45c2fc19ac8bc504f3773b6458099b9907e310e162952973bdd41c9fc011e7a50bc8fa86cc0ebec9dd4c69830a012b" + }, + { + "file_name": "0024-use-pure-64-bit-configuration-where-appropriate.patch", + "sha512": "da634721fa9cba18e4f527b2cdbe6896c0251ce43865c6fbf29a7281d766c3a8f98e2ddd345b801c25b7ceb85880150ae9cc422aa8891b1fc28a3dc40bcd3114" + }, + { + "file_name": "0025-always-build-libgcc_eh.a.patch", + "sha512": "64b58a273993224f93c68cddfacc1b3da6b0900b2983f27f8db39b4375afa97cce564739c8fc320666821f6de526e54acbc4920c7e16612303b3d25aed34d5f1" + }, + { + "file_name": "0026-ada-libgnarl-compatibility-for-musl.patch", + "sha512": "6004be7d683993c175f819e1d62767b6ca2b80643917bb584ffffe2aee9fd5ad9745f91651ad5d1d00aed390e7346262b5c28bec356efd9ff1c85e4b54bcfe2e" + }, + { + "file_name": "0027-ada-musl-support-fixes.patch", + "sha512": "7a3ce107cc55356ac46f3a217eea1cf9cdddd43fd3fede048a26e5da2280f0af9f806392942d2896a0f841ca0b0b0eaceb4e20f09edee7a743b515d3553fc8b3" + }, + { + "file_name": "0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch", + "sha512": "0cd8303456ec5479942970679352fe8bcd259b8b04bffba458545abdfac87163a8fb8e55c3aa505c516af8fd0a1bfb5f2ee4c6027ec9bcb0b0d3564469a18e23" + }, + { + "file_name": "0029-gcc-go-Don-t-include-sys-user.h.patch", + "sha512": "6cc82829bb8bf8ffb473e4f2f9c2f657a4078290fc7c3208d199c0b07c2c3a7575a0c423e52fc02fd96c81158ab2e7ad33ccb651523ba80e00dee9e503d19c6d" + }, + { + "file_name": "0030-gcc-go-Fix-ucontext_t-on-PPC64.patch", + "sha512": "868e0cf5d32412c557d7835e03eb23621745179e77c87d69b810f8ec968cf80606cb5cb8085e5e125f08e809d5e3ff50c4de869d94caca5f4257669237a29b92" + }, + { + "file_name": "0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch", + "sha512": "257814e2dc39bf01dedc3efe9f50029bdc230e112a0e739d0547896212b87bcdb9d40d4632a237137c91e2d9605b2256ebd45ee005920a5c4e401e699ce69f46" + }, + { + "file_name": "0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch", + "sha512": "0e33205e6ef0b58d12eb80d3fd6ce7361e9e3a86ba2ae781745133be1f0fea6a1e95fd58331765f6bb599f4ad355224c954db4fbaf804b9e4c0ea01dbaae1638" + }, + { + "file_name": "0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch", + "sha512": "bb1e3bbea65644435134910e04b8d4de27642026371b19f4faf51b90e32af08e7181b3198e936b3626cba2126f8f9182ce39f6b8c8849b6b27f56a1c45e4f8c5" + }, + { + "file_name": "0034-gcc-go-signal-34-is-special-on-musl-libc.patch", + "sha512": "0758417ab682ee6d4b75f1ba2d0c1f568e115a16625eb664066c1862178a43ae717396c5d61a355a08fc01929041abebbf33bc58176a0b78ab384aba7d2ed8ba" + }, + { + "file_name": "0035-gcc-go-Prefer-_off_t-over-_off64_t.patch", + "sha512": "d0b132d1bb9a455af23829a9da4ff89c27eff3f642e2280712667753d552fc214424470cad4cecd0ae39052553b6a22d7dc7a20eebfd1cb976d98552b00b9dcd" + }, + { + "file_name": "0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch", + "sha512": "a21844975ff13317ed7985b5f5b257a0bc1dd961360b6a6f36bf52151b8edf5ecf38fbdd47cb2c28c13ed3dfbf4ca112d91d81373fd3e2c5992aba35296645af" + }, + { + "file_name": "0037-gcc-go-link-to-libucontext.patch", + "sha512": "0217263fc1fcfbde92fcebfc626b2cf0ba30e704b4fbe5a11f55d9ca5b579cceac3ba9ec45e7f53cd8805678b69fb6e5ab1295e67938b9c83f82e44ddebd0a85" + }, + { + "file_name": "0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch", + "sha512": "8a90ce84d493bfcdcad4cb1a02a320dca18e8178e717451087501b059ca00ab8f6b73d628bcb3f49c5c6702b7222b063d3c0803d093e2c6f58820b6aa578969e" + }, + { + "file_name": "0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch", + "sha512": "a3e7362fa95d5ffa56b0d8ea73f6f8e867409ae3b85d041aa0591dba093c5bb1d30f3294151c5142e8d1df91f4d138e9f4484009b8a675c8fc3b754a34c7648e" + }, + { + "file_name": "0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch", + "sha512": "dc7a8f6dc885dc34229128a716531b375ec4e8247a8522adb623c5a6b39db60ff471436b360a25f0310ee16fe1a6ec85ff64398cbae2677534626972ac01db22" + }, + { + "file_name": "0041-Use-generic-errstr.go-implementation-on-musl.patch", + "sha512": "046bfe95d6de9df148e6c410b5d23a49c488ab41d95e599fc381a2b7d190e6d7d99de59fa8cd8c3a711ee2310426f3cdcd323cf887c8d11543e119d205659b6a" + } + ] + }, + "purl": "pkg:alpine/gcc@10.3.1_git20210424-r1", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/main/icu/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/main/icu/APKBUILD new file mode 100644 index 00000000000..af61c144ba1 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/main/icu/APKBUILD @@ -0,0 +1,79 @@ +# Contributor: Sergey Lukin +# Maintainer: Natanael Copa +# +# TODO: After 3.13 is released, change data-packaging to "archive" and split +# data into multiple variants (English-only, all, ...). +pkgname=icu +pkgver=67.1 +pkgrel=2 +pkgdesc="International Components for Unicode library" +url="http://site.icu-project.org/" +arch="all" +license="MIT ICU Unicode-TOU" +subpackages="$pkgname-static $pkgname-dev $pkgname-doc $pkgname-libs $pkgname-data::noarch" +depends_dev="$pkgname=$pkgver-r$pkgrel" +checkdepends="diffutils python3" +source="https://github.com/unicode-org/icu/releases/download/release-${pkgver//./-}/icu4c-${pkgver//./_}-src.tgz" +builddir="$srcdir"/icu/source + +# secfixes: +# 65.1-r1: +# - CVE-2020-10531 +# 57.1-r1: +# - CVE-2016-6293 +# 58.1-r1: +# - CVE-2016-7415 +# 58.2-r2: +# - CVE-2017-7867 +# - CVE-2017-7868 + +# Failing tests on ARMv7 +case "$CARCH" in + armv7) options="!check";; +esac + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --with-data-packaging=library \ + --disable-samples \ + --enable-static \ + --mandir=/usr/share/man + mkdir -p data/out # work around for s390x build issue + make +} + +check() { + make check +} + +package() { + make -j1 DESTDIR="$pkgdir" install + chmod +x "$pkgdir"/usr/bin/icu-config + install -Dm644 "$srcdir"/icu/license.html \ + "$pkgdir"/usr/share/licenses/icu/license.html +} + +static() { + pkgdesc="$pkgname static libraries" + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib/ +} + +libs() { + default_libs + replaces="icu" +} + +data() { + pkgdesc="ICU data in a .dat package file" + local majorver=${pkgver%%.*} + + install -Dm644 "$builddir"/data/in/icudt${majorver}l.dat \ + "$subpkgdir"/usr/share/icu/$pkgver/icudt${majorver}l.dat +} + +sha512sums="4779f1ce1ca7976f6fad6768853ea8c540da54d11509e3b6cfd864a04b5f2db1c3d4b546387f91ad02fb90804525bc37d2543173f0d705d6ca11dc6f2b7640a8 icu4c-67_1-src.tgz" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/main/icu/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/main/icu/APKBUILD-expected.json new file mode 100644 index 00000000000..c0e8e140848 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/main/icu/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "icu", + "version": "67.1-r2", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "International Components for Unicode library", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "mit AND x11 AND unicode-tou", + "declared_license": "MIT ICU Unicode-TOU", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://github.com/unicode-org/icu/releases/download/release-67-1/icu4c-67_1-src.tgz" + } + ], + "checksums": [ + { + "file_name": "icu4c-67_1-src.tgz", + "sha512": "4779f1ce1ca7976f6fad6768853ea8c540da54d11509e3b6cfd864a04b5f2db1c3d4b546387f91ad02fb90804525bc37d2543173f0d705d6ca11dc6f2b7640a8" + } + ] + }, + "purl": "pkg:alpine/icu@67.1-r2", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/main/ruby/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/main/ruby/APKBUILD new file mode 100644 index 00000000000..2db95899a0f --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/main/ruby/APKBUILD @@ -0,0 +1,353 @@ +# Contributor: Carlo Landmeter +# Contributor: Jakub Jirutka +# Maintainer: Natanael Copa +# +# secfixes: +# 2.7.3-r0: +# - CVE-2021-28965 +# - CVE-2021-28966 +# 2.7.2-r0: +# - CVE-2020-25613 +# 2.6.6-r0: +# - CVE-2020-10663 +# - CVE-2020-10933 +# 2.6.5-r0: +# - CVE-2019-16255 +# - CVE-2019-16254 +# - CVE-2019-15845 +# - CVE-2019-16201 +# 2.5.2-r0: +# - CVE-2018-16395 +# - CVE-2018-16396 +# 2.5.1-r0: +# - CVE-2017-17742 +# - CVE-2018-6914 +# - CVE-2018-8777 +# - CVE-2018-8778 +# - CVE-2018-8779 +# - CVE-2018-8780 +# 2.4.2-r0: +# - CVE-2017-0898 +# - CVE-2017-10784 +# - CVE-2017-14033 +# - CVE-2017-14064 +# - CVE-2017-0899 +# - CVE-2017-0900 +# - CVE-2017-0901 +# - CVE-2017-0902 +# 2.4.3-r0: +# - CVE-2017-17405 +# +pkgname=ruby +pkgver=2.7.3 +_abiver="${pkgver%.*}.0" +pkgrel=1 +pkgdesc="An object-oriented language for quick and easy programming" +url="https://www.ruby-lang.org/" +arch="all" +license="Ruby AND BSD-2-Clause AND MIT" +depends="ca-certificates" +depends_dev="$pkgname=$pkgver-r$pkgrel gmp-dev libucontext-dev" +makedepends="$depends_dev zlib-dev openssl-dev gdbm-dev readline-dev + libffi-dev coreutils yaml-dev linux-headers autoconf" +install="$pkgname.post-upgrade" +subpackages="$pkgname-dbg $pkgname-doc $pkgname-dev + $pkgname-bigdecimal + $pkgname-etc + $pkgname-fiddle + $pkgname-gdbm + $pkgname-io-console:io_console + $pkgname-irb::noarch + $pkgname-json + $pkgname-minitest::noarch + $pkgname-net-telnet:net_telnet:noarch + $pkgname-power_assert::noarch + $pkgname-rake::noarch + $pkgname-rdoc::noarch + $pkgname-sdbm + $pkgname-test-unit:test_unit:noarch + $pkgname-webrick::noarch + $pkgname-xmlrpc::noarch + $pkgname-libs + $pkgname-full::noarch + " +source="https://cache.ruby-lang.org/pub/ruby/${pkgver%.*}/ruby-$pkgver.tar.gz + rubygems-avoid-platform-specific-gems.patch + test_insns-lower-recursion-depth.patch + fix-get_main_stack.patch + remove-broken-autoconf-section.patch + " +replaces="ruby-gems" + +_gemdir="/usr/lib/ruby/gems/$_abiver" +_rubydir="/usr/lib/ruby/$_abiver" +_chost="${CHOST/-alpine-/-}" + +case "$CARCH" in + x86) _arch="i386";; + *) _arch="$CARCH";; +esac + +_bundled_gems= +for _i in $subpackages; do + case "$_i" in + *-dev | *-doc | *-libs | *-full:*) continue;; + *) _bundled_gems="$_bundled_gems ${_i%%:*}";; + esac +done + +prepare() { + default_prepare + autoconf + + # v2.7.1 - Of all the bootstraptest only test_fiber fails on s390x: + # test_fiber.rb bootstraptest.tmp.rb:8: [BUG] vm_call_cfunc: cfp consistency error (0x000003ffb63fefb0, 0x000003ffb42f5f58) + case "$CARCH" in + s390x) + rm bootstraptest/test_fiber.rb ;; + esac +} + +build() { + # -fomit-frame-pointer makes ruby segfault, see gentoo bug #150413 + # In many places aliasing rules are broken; play it safe + # as it's risky with newer compilers to leave it as it is. + export CFLAGS="$CFLAGS -fno-omit-frame-pointer -fno-strict-aliasing" + export CPPFLAGS="$CPPFLAGS -fno-omit-frame-pointer -fno-strict-aliasing" + + # Needed for coroutine stuff + export LIBS="-lucontext" + + # ruby saves path to install. we want use $PATH + export INSTALL=install + + # the configure script does not detect isnan/isinf as macros + export ac_cv_func_isnan=yes + export ac_cv_func_isinf=yes + + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --with-sitedir=/usr/local/lib/site_ruby \ + --with-search-path="/usr/lib/site_ruby/\$(ruby_ver)/$_arch-linux" \ + --enable-pthread \ + --disable-rpath \ + --enable-shared \ + --with-mantype=man + make +} + +check() { + make test +} + +package() { + make DESTDIR="$pkgdir" install + + install -m 644 -D COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING + + # Remove bundled gem bundler; it's provided by a separate aport/package + # ruby-bundler. + subpkgdir=".trash" _mvgem bundler && rm -Rf .trash + rm usr/bin/bundle usr/bin/bundler + rm usr/share/man/man1/bundle* usr/share/man/man5/gemfile.5* + + # Remove bundled CA certificates; they are provided by ca-certificates. + rm "$pkgdir"/$_rubydir/rubygems/ssl_certs/*/*.pem + rmdir "$pkgdir"/$_rubydir/rubygems/ssl_certs/* || true + + rm -Rf "$pkgdir"/$_gemdir/cache/* + + if [ -d "$pkgdir"/usr/local ]; then + local f=$(cd "$pkgdir" ; find usr/local -type f) + if [ -n "$f" ]; then + error "Found files in /usr/local:" + echo "$f" + return 1 + fi + rm -r "$pkgdir"/usr/local + fi +} + +bigdecimal() { + pkgdesc="Ruby arbitrary-precision floating point decimal arithmetic" + license="Ruby" + depends="$pkgname-libs" + + _mvgem bigdecimal +} + +etc() { + pkgdesc="Provides access to information typically stored in UNIX /etc directory" + license="BSD-2-Clause" + depends="" + + _mvgem etc +} + +fiddle() { + pkgdesc="A libffi wrapper for Ruby" + license="BSD-2-Clause" + depends="" + + _mvgem fiddle +} + +gdbm() { + pkgdesc="Ruby extension for GNU dbm" + license="BSD-2-Clause" + depends="" + + _mvgem gdbm +} + +io_console() { + pkgdesc="Ruby simple console IO library" + license="BSD-2-Clause" + depends="" + + _mvgem io-console + _mv $_rubydir/io \ + $_rubydir/$_chost/io/console.so +} + +irb() { + pkgdesc="The Interactive Ruby" + replaces="$pkgname" + depends="$pkgname $pkgname-io-console" + + cd "$pkgdir" + _mvgem irb + _mv usr/bin/irb +} + +json() { + pkgdesc="JSON implementation as a Ruby extension in C" + license="Ruby" + depends="" + + _mvgem json +} + +minitest() { + pkgdesc="Ruby suite of testing facilities" + license="MIT" + depends="$pkgname" + + _mvgem minitest +} + +net_telnet() { + pkgdesc="Telnet client functionality for Ruby" + depends="$pkgname-libs" + + _mvgem net-telnet +} + +power_assert() { + pkgdesc="Power Assert for Ruby" + depends="$pkgname-libs" + + _mvgem power_assert +} + +rake() { + pkgdesc="Ruby based make-like utility" + license="MIT" + depends="$pkgname" + + _mvgem rake + _mv usr/bin/rake +} + +rdoc() { + pkgdesc="Ruby documentation tool" + license="Ruby" + depends="$pkgname $pkgname-json $pkgname-io-console" + + _mvgem rdoc + _mv usr/bin/ri \ + usr/bin/rdoc +} + +sdbm() { + pkgdesc="A simple file-based key-value store with String keys and values for Ruby" + license="BSD-2-Clause" + depends="" + + _mvgem sdbm +} + +test_unit() { + pkgdesc="An xUnit family unit testing framework for Ruby" + license="Ruby PSFL" + depends="$pkgname $pkgname-power_assert" + + _mvgem test-unit +} + +webrick() { + pkgdesc="HTTP server toolkit for Ruby" + license="BSD-2-Clause" + depends="$pkgname $pkgname-etc" + + _mvgem webrick +} + +xmlrpc() { + pkgdesc="XMLRPC library for Ruby" + license="Ruby" + depends="$pkgname-libs" + + _mvgem xmlrpc +} + +libs() { + pkgdesc="Libraries necessary to run Ruby" + depends="" + + mkdir -p "$subpkgdir"/usr + mv "$pkgdir"/usr/lib "$subpkgdir"/usr/ +} + +full() { + pkgdesc="Ruby with all bundled gems" + # bundler is bundled since Ruby 2.6, so include it in ruby-full despite + # that it's provided by a seprate aport/package. + depends="ruby $_bundled_gems ruby-bundler" + + mkdir -p "$subpkgdir" +} + +_mv() { + local i; for i in "$@"; do + mkdir -p "$subpkgdir"/${i%/*} + mv "$pkgdir"/$i "$subpkgdir"/${i%/*}/ + done +} + +_mvgem() { + cd "$pkgdir" + local path; for path in ./$_rubydir/$1.rb \ + ./$_rubydir/$1 \ + ./$_rubydir/$_chost/$1 \ + ./$_rubydir/$_chost/$1.so \ + ./$_gemdir/gems/$1-* \ + ./$_gemdir/specifications/$1-* \ + ./$_gemdir/specifications/default/$1-* ; do + [ ! -e "$pkgdir/$path" ] || _mv "$path" + done +} + + +sha512sums=" +1d036d08016351e8f9e7506a6abaf490fe226cf2ff9c2f9df582b57bff22a960dbaf271a8a167ac09f864613b9b8b14191bb79f8a6900ad5ca24131ecf571d54 ruby-2.7.3.tar.gz +a142199140fa711a64717429e9069fd2082319abaf4b129f561db374b3bc16e2a90cc4c849b5d28334505d1c71fed242aef3c44d983da3513d239dcb778673a5 rubygems-avoid-platform-specific-gems.patch +43c1fc80f0dcb4f24d891478889808583da90dc9e0df74c3b1cf41253c13a0d416d2b7ae17e7d53ac1238340a845b088f0fe20324a79905cc6b950b3dcfa4ac6 test_insns-lower-recursion-depth.patch +3ffc034c01110ee5531265333ca5ee8d61d08131843fe3004c5b34c88c9c1b32cb4ed89574f393177c8bd526e9c15da61ab344f93adf07b9148c561ee19e2eb5 fix-get_main_stack.patch +89d4b012ccb46805bf104e44360749a1a745572068778a383491acddd172213fae8239109f95e458c67a16f22f6dcee2ed4cc626cb07a2dc8d36b514912f5bc3 remove-broken-autoconf-section.patch +" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/main/ruby/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/main/ruby/APKBUILD-expected.json new file mode 100644 index 00000000000..c32f8d3bd7c --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/main/ruby/APKBUILD-expected.json @@ -0,0 +1,81 @@ +{ + "type": "alpine", + "namespace": null, + "name": "ruby", + "version": "2.7.3-r1", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "An object-oriented language for quick and easy programming", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "ruby AND bsd-simplified AND mit", + "declared_license": "Ruby AND BSD-2-Clause AND MIT", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.3.tar.gz" + }, + { + "file_name": "rubygems-avoid-platform-specific-gems.patch", + "url": null + }, + { + "file_name": "test_insns-lower-recursion-depth.patch", + "url": null + }, + { + "file_name": "fix-get_main_stack.patch", + "url": null + }, + { + "file_name": "remove-broken-autoconf-section.patch", + "url": null + } + ], + "checksums": [ + { + "file_name": "ruby-2.7.3.tar.gz", + "sha512": "1d036d08016351e8f9e7506a6abaf490fe226cf2ff9c2f9df582b57bff22a960dbaf271a8a167ac09f864613b9b8b14191bb79f8a6900ad5ca24131ecf571d54" + }, + { + "file_name": "rubygems-avoid-platform-specific-gems.patch", + "sha512": "a142199140fa711a64717429e9069fd2082319abaf4b129f561db374b3bc16e2a90cc4c849b5d28334505d1c71fed242aef3c44d983da3513d239dcb778673a5" + }, + { + "file_name": "test_insns-lower-recursion-depth.patch", + "sha512": "43c1fc80f0dcb4f24d891478889808583da90dc9e0df74c3b1cf41253c13a0d416d2b7ae17e7d53ac1238340a845b088f0fe20324a79905cc6b950b3dcfa4ac6" + }, + { + "file_name": "fix-get_main_stack.patch", + "sha512": "3ffc034c01110ee5531265333ca5ee8d61d08131843fe3004c5b34c88c9c1b32cb4ed89574f393177c8bd526e9c15da61ab344f93adf07b9148c561ee19e2eb5" + }, + { + "file_name": "remove-broken-autoconf-section.patch", + "sha512": "89d4b012ccb46805bf104e44360749a1a745572068778a383491acddd172213fae8239109f95e458c67a16f22f6dcee2ed4cc626cb07a2dc8d36b514912f5bc3" + } + ] + }, + "purl": "pkg:alpine/ruby@2.7.3-r1", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand-dcontainers/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand-dcontainers/APKBUILD new file mode 100644 index 00000000000..86b6c2c52a9 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand-dcontainers/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Rasmus Thomsen +# Maintainer: Rasmus Thomsen +pkgname=dcontainers +pkgver=0.8.0_alpha19 +_alphanum=${pkgver/${pkgver%alpha*}/} +_pkgver=${pkgver/_$_alphanum/} +_verstring=$_pkgver-${_alphanum/ha/ha.} +pkgrel=1 +pkgdesc="Containers backed by std.experimental.allocator" +url="https://github.com/dlang-community/containers" +arch="x86_64 aarch64" # ldc +license="BSL-1.0" +makedepends="meson ldc ldc-runtime stdx-allocator-dev" +subpackages="$pkgname-dev" +source="https://github.com/dlang-community/containers/archive/v$_verstring/containers-$_verstring.tar.gz" +builddir="$srcdir/containers-$_verstring" + +build() { + abuild-meson . output + meson compile ${JOBS:+-j ${JOBS}} -C output +} + +check() { + meson test --no-rebuild -v -C output +} + +package() { + DESTDIR="$pkgdir" meson install --no-rebuild -C output +} + +sha512sums="ef415e2bf7829e05c458cee0e41b6fc5768805a8dee332fb6a01a72e1e723f240f183cd1fd5ed74848cc4ea860b0746dca1c5dee13d37f819f0025da99098c4a containers-0.8.0-alpha.19.tar.gz" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand-dcontainers/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand-dcontainers/APKBUILD-expected.json new file mode 100644 index 00000000000..71222ce80c0 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand-dcontainers/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "dcontainers", + "version": "0.8.0_alpha19-r1", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Containers backed by std.experimental.allocator", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "boost-1.0", + "declared_license": "BSL-1.0", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://github.com/dlang-community/containers/archive/v0.8.0-alpha.19/containers-0.8.0-alpha.19.tar.gz" + } + ], + "checksums": [ + { + "file_name": "containers-0.8.0-alpha.19.tar.gz", + "sha512": "ef415e2bf7829e05c458cee0e41b6fc5768805a8dee332fb6a01a72e1e723f240f183cd1fd5ed74848cc4ea860b0746dca1c5dee13d37f819f0025da99098c4a" + } + ] + }, + "purl": "pkg:alpine/dcontainers@0.8.0_alpha19-r1", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand-linux-firmware/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand-linux-firmware/APKBUILD new file mode 100644 index 00000000000..d95740f54d8 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand-linux-firmware/APKBUILD @@ -0,0 +1,136 @@ +# Contributor: Oliver Smith +# Maintainer: Natanael Copa +pkgname=linux-firmware +pkgver=20210511 +pkgrel=0 +pkgdesc="firmware files for linux" +url="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git;a=summary" +arch="all" +license="custom:multiple" +makedepends="libarchive-tools" +provides="linux-firmware-any" +provider_priority=1 +options="!strip !check !archcheck !tracedeps !spdx" + +_rpi_bt=e7fd166981ab4bb9a36c2d1500205a078a35714d + +source="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-$pkgver.tar.gz + BCM43430A1.hcd.${_rpi_bt::8}::https://github.com/RPi-Distro/bluez-firmware/raw/$_rpi_bt/broadcom/BCM43430A1.hcd + BCM4345C0.hcd.${_rpi_bt::8}::https://github.com/RPi-Distro/bluez-firmware/raw/$_rpi_bt/broadcom/BCM4345C0.hcd + BCM43430B0.hcd.${_rpi_bt::8}::https://github.com/RPi-Distro/bluez-firmware/raw/$_rpi_bt/broadcom/BCM43430B0.hcd + BCM4345C5.hcd.${_rpi_bt::8}::https://github.com/RPi-Distro/bluez-firmware/raw/$_rpi_bt/broadcom/BCM4345C5.hcd" + +_builddir="$srcdir"/$pkgname-$pkgver + +# Put /lib/firmware/* folders in subpackages +_folders="3com acenic adaptec advansys amd amd-ucode amdgpu ar3k ath10k ath11k + ath6k ath9k_htc atmel atusb av7110 bnx2 bnx2x brcm cadence cavium cis cpia2 + cxgb3 cxgb4 cypress dabusb dpaa2 dsp56k e100 edgeport emi26 emi62 ene-ub6250 + ess go7007 i915 imx inside-secure intel isci kaweth keyspan keyspan_pda korg + libertas liquidio matrox mediatek mellanox meson microchip moxa mrvl mwl8k + mwlwifi myricom netronome nvidia ositech qca qcom qed qlogic r128 radeon + rockchip rsi rtl8192e rtl_bt rtl_nic rtlwifi rtw88 rtw89 sb16 silabs slicoss + sun sxg tehuti ti ti-connectivity ti-keystone tigon ttusb-budget ueagle-atm + vicam vxge yam yamaha" + +subpackages="$pkgname-other::noarch $pkgname-none::noarch" +depends="linux-firmware-other=$pkgver-r$pkgrel" +for i in $_folders; do + subpackages="$pkgname-$i:_folder:noarch $subpackages" + depends="$pkgname-$i=$pkgver-r$pkgrel $depends" +done +subpackages="amd-ucode::noarch $subpackages" + +package() { + cd "${_builddir}" + make DESTDIR="${pkgdir}" FIRMWAREDIR="/lib/firmware" install + + # add compat links for pre-5.0 kernel + ln -s brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt "$pkgdir"/lib/firmware/brcm/brcmfmac43455-sdio.txt + ln -s brcmfmac43430-sdio.raspberrypi,3-model-b.txt "$pkgdir"/lib/firmware/brcm/brcmfmac43430-sdio.txt + + local fw; for fw in $source; do + local _f=${fw%::*} + case $_f in + *.hcd*) + install -Dm 644 $srcdir/$_f \ + "$pkgdir"/lib/firmware/brcm/"${_f%.*}" + ;; + esac + done + + rm -f "${pkgdir}/usr/lib/firmware/{Makefile,README,configure,GPL-3}" + + find "${pkgdir}" \( -name '*.S' -or -name '*.asm' -or \ + -name '*.c' -or -name '*.h' -or -name '*.pl' -or \ + -name 'Makefile' \) -exec rm -- {} \; +} + +_folder() { + local folder=${subpkgname##linux-firmware-} + pkgdesc="firmware files for linux ($folder folder)" + depends="" + provides="linux-firmware-any" + provider_priority= + + # Move /lib/firmware/$folder (case insensitive) + mkdir -p "$subpkgdir/lib/firmware" + mv "$(find "$pkgdir/lib/firmware" -iname "$folder" -type d)" \ + "$subpkgdir/lib/firmware" +} + +other() { + # Requires subfolders to be split in subpackages + local leftover="" + local i + for i in "$pkgdir"/lib/firmware/*; do + [ -d "$i" ] && leftover="$leftover $(basename $i)" + done + if [ "$leftover" != "" ]; then + local fixed + error "Not all subfolders have been moved to subpackages!" + error "Fix this by adjusting _folders as follows:" + fixed="$(echo $_folders$leftover | tr " " "\n" | tr '[A-Z]' '[a-z]' | sort)" + echo "_folders=\"$(printf "$fixed" | tr "\n" " ")\"" | fold -s + return 1 + fi + + # Move /lib/firmware (which doesn't have subfolders now) + pkgdesc="firmware files for linux (uncategorized)" + depends="" + provides="linux-firmware-any" + provider_priority= + mkdir -p "$subpkgdir"/ + mv "$pkgdir"/lib "$subpkgdir"/ +} + +none() { + # dummy package with no firmware + pkgdesc="Empty linux firwmare package for those who does not need any firmware" + provider_priority= + provides="linux-firmware-any" + depends= + mkdir -p "$subpkgdir" +} + +ucode() { + pkgdesc="Microcode update files for AMD CPUs" + provider_priority= + provides= + depends= + + # build ported from Arch Linux's PKGBUILD + mkdir -p "$subpkgdir"/boot + mkdir -p "$builddir"/kernel/x86/microcode + cat "$pkgdir"/lib/firmware/amd-ucode/microcode_amd*.bin > "$builddir"/kernel/x86/microcode/AuthenticAMD.bin + [ -n "$SOURCE_DATE_EPOCH" ] && touch -d @$SOURCE_DATE_EPOCH "$builddir"/kernel/x86/microcode/AuthenticAMD.bin + cd "$builddir" && echo kernel/x86/microcode/AuthenticAMD.bin | + bsdtar --uid 0 --gid 0 -cnf - -T - | + bsdtar --null -cf - --format=newc @- > "$subpkgdir"/boot/amd-ucode.img +} + +sha512sums="f282bdcd0e62f446a3c859876319ae2fb4b2e129022a4b2b1ced45f38c8b192ccb07a4480ff4d41ed8fc13c0a38bf0c0d5a5d98515a1750d655db5d919c6af8c linux-firmware-20210511.tar.gz +355c940b4fd597101c332207678fd28154d7e7a90cb374b1fdf230d2061bf979af0209c5a423fca8d23ddb3d95abec741e7dd651da7f0aaa97459ed4fe4d2355 BCM43430A1.hcd.e7fd1669 +1707c2955ceac3e6fc4b1edb8965c871dcfab21ce85cc617de67d7e6f3d6f9b93ee5a8a202de6b20f7b43d1462668287a8569786146cadf5e0268058d2524a9c BCM4345C0.hcd.e7fd1669 +c8b943bfeffa54ce1687ca69884e9d56efd28d5ea1dbef660915a80c3e036a8675e7d4299102c32006193e4895367654bb67e2d08e66d7803f396eee7e3dfbd6 BCM43430B0.hcd.e7fd1669 +eac7428befa36952542e19d3c4a5fa96e1cb3a56c3b00770534909fb0d8caf503a42368175e715e1de58e50cfbd2b4c8ea5a26af3bd546cbbaf8d2c12457a628 BCM4345C5.hcd.e7fd1669" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand-linux-firmware/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand-linux-firmware/APKBUILD-expected.json new file mode 100644 index 00000000000..0f9f26036f8 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand-linux-firmware/APKBUILD-expected.json @@ -0,0 +1,81 @@ +{ + "type": "alpine", + "namespace": null, + "name": "linux-firmware", + "version": "20210511-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "firmware files for linux", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "unknown-license-reference", + "declared_license": "custom:multiple", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-20210511.tar.gz" + }, + { + "file_name": "BCM43430A1.hcd.e7fd1669", + "url": "https://github.com/RPi-Distro/bluez-firmware/raw/e7fd166981ab4bb9a36c2d1500205a078a35714d/broadcom/BCM43430A1.hcd" + }, + { + "file_name": "BCM4345C0.hcd.e7fd1669", + "url": "https://github.com/RPi-Distro/bluez-firmware/raw/e7fd166981ab4bb9a36c2d1500205a078a35714d/broadcom/BCM4345C0.hcd" + }, + { + "file_name": "BCM43430B0.hcd.e7fd1669", + "url": "https://github.com/RPi-Distro/bluez-firmware/raw/e7fd166981ab4bb9a36c2d1500205a078a35714d/broadcom/BCM43430B0.hcd" + }, + { + "file_name": "BCM4345C5.hcd.e7fd1669", + "url": "https://github.com/RPi-Distro/bluez-firmware/raw/e7fd166981ab4bb9a36c2d1500205a078a35714d/broadcom/BCM4345C5.hcd" + } + ], + "checksums": [ + { + "file_name": "linux-firmware-20210511.tar.gz", + "sha512": "f282bdcd0e62f446a3c859876319ae2fb4b2e129022a4b2b1ced45f38c8b192ccb07a4480ff4d41ed8fc13c0a38bf0c0d5a5d98515a1750d655db5d919c6af8c" + }, + { + "file_name": "BCM43430A1.hcd.e7fd1669", + "sha512": "355c940b4fd597101c332207678fd28154d7e7a90cb374b1fdf230d2061bf979af0209c5a423fca8d23ddb3d95abec741e7dd651da7f0aaa97459ed4fe4d2355" + }, + { + "file_name": "BCM4345C0.hcd.e7fd1669", + "sha512": "1707c2955ceac3e6fc4b1edb8965c871dcfab21ce85cc617de67d7e6f3d6f9b93ee5a8a202de6b20f7b43d1462668287a8569786146cadf5e0268058d2524a9c" + }, + { + "file_name": "BCM43430B0.hcd.e7fd1669", + "sha512": "c8b943bfeffa54ce1687ca69884e9d56efd28d5ea1dbef660915a80c3e036a8675e7d4299102c32006193e4895367654bb67e2d08e66d7803f396eee7e3dfbd6" + }, + { + "file_name": "BCM4345C5.hcd.e7fd1669", + "sha512": "eac7428befa36952542e19d3c4a5fa96e1cb3a56c3b00770534909fb0d8caf503a42368175e715e1de58e50cfbd2b4c8ea5a26af3bd546cbbaf8d2c12457a628" + } + ] + }, + "purl": "pkg:alpine/linux-firmware@20210511-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand-lua-lustache/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand-lua-lustache/APKBUILD new file mode 100644 index 00000000000..c66b91b8425 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand-lua-lustache/APKBUILD @@ -0,0 +1,39 @@ +# Maintainer: Natanael Copa +pkgname=lua-lustache +_rockname=lustache +pkgver=1.3.1 +_pkgver=$pkgver-0 +pkgrel=3 +pkgdesc="Logic-less {{mustache}} templates with Lua" +url="http://olivinelabs.com/lustache/" +arch="noarch" +license="MIT" +depends="lua" +provides="$pkgname-common=$pkgver-r$pkgrel" # for backward compatibility +replaces="$pkgname-common" # for backward compatibility +source="$pkgname-$pkgver.tar.gz::https://github.com/Olivine-Labs/$_rockname/archive/v$_pkgver.tar.gz" +builddir="$srcdir/$_rockname-$_pkgver" + +_luaversions="5.1 5.2 5.3 5.4" +for _v in $_luaversions; do + provides="$provides lua$_v-${pkgname#lua-}=$pkgver-r$pkgrel" # for backward compatibility +done + +prepare() { + default_prepare + + find "$builddir"/src -type f -exec chmod 644 {} + +} + +package() { + local lmod_dir="$pkgdir/usr/share/lua/common" + local rockdir="$pkgdir/usr/lib/luarocks/rocks-common/$_rockname/$_pkgver" + + mkdir -p "$lmod_dir" + cp -r "$builddir"/src/* "$lmod_dir"/ + + mkdir -p "$rockdir" + echo 'rock_manifest = {}' > "$rockdir"/rock_manifest +} + +sha512sums="f1ba0bdd38e60957df1995f32a73a16d1b430072af4e14cce530345c74d542021223c0ef41b0f997f88d762bb194fff7119701cd289e16e3e38dfe3f10d0d9d8 lua-lustache-1.3.1.tar.gz" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand-lua-lustache/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand-lua-lustache/APKBUILD-expected.json new file mode 100644 index 00000000000..52cf26381c0 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand-lua-lustache/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "lua-lustache", + "version": "1.3.1-r3", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Logic-less {{mustache}} templates with Lua", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "mit", + "declared_license": "MIT", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": "lua-lustache-1.3.1.tar.gz", + "url": "https://github.com/Olivine-Labs/lustache/archive/v1.3.1-0.tar.gz" + } + ], + "checksums": [ + { + "file_name": "lua-lustache-1.3.1.tar.gz", + "sha512": "f1ba0bdd38e60957df1995f32a73a16d1b430072af4e14cce530345c74d542021223c0ef41b0f997f88d762bb194fff7119701cd289e16e3e38dfe3f10d0d9d8" + } + ] + }, + "purl": "pkg:alpine/lua-lustache@1.3.1-r3", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand-perl-socket-getaddrinfo/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand-perl-socket-getaddrinfo/APKBUILD new file mode 100644 index 00000000000..76103a2a4fb --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand-perl-socket-getaddrinfo/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Sheila Aman +# Maintainer: Natanael Copa +pkgname=perl-socket-getaddrinfo +_pkgreal=Socket-GetAddrInfo +pkgver=0.22 +pkgrel=3 +pkgdesc="Perl interface for get{addr,name}info(3)" +url="https://metacpan.org/release/Socket-GetAddrInfo/" +arch="noarch" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" +depends="perl-extutils-cchecker" +makedepends="perl-dev perl-module-build" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +build() { + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + make test +} + +package() { + make DESTDIR="$pkgdir" install + find "$pkgdir" -name .packlist -name perllocal.pod -delete +} + +sha512sums="3117ad5931dd116f45afa041b7aad4506382c4359b67e61564affba6f34fe14db5dbe0dc0a1bf4c0b680847bda58958604907ff0339d500728b44301cf1fe554 Socket-GetAddrInfo-0.22.tar.gz" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand-perl-socket-getaddrinfo/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand-perl-socket-getaddrinfo/APKBUILD-expected.json new file mode 100644 index 00000000000..dfbc1b07e99 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand-perl-socket-getaddrinfo/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "perl-socket-getaddrinfo", + "version": "0.22-r3", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Perl interface for get{addr,name}info(3)", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-1.0-plus OR artistic-perl-1.0", + "declared_license": "GPL-1.0-or-later OR Artistic-1.0-Perl", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Socket-GetAddrInfo-0.22.tar.gz" + } + ], + "checksums": [ + { + "file_name": "Socket-GetAddrInfo-0.22.tar.gz", + "sha512": "3117ad5931dd116f45afa041b7aad4506382c4359b67e61564affba6f34fe14db5dbe0dc0a1bf4c0b680847bda58958604907ff0339d500728b44301cf1fe554" + } + ] + }, + "purl": "pkg:alpine/perl-socket-getaddrinfo@0.22-r3", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand-stdx-allocator/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand-stdx-allocator/APKBUILD new file mode 100644 index 00000000000..b26e54b03c2 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand-stdx-allocator/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Rasmus Thomsen +# Maintainer: Rasmus Thomsen +pkgname=stdx-allocator +pkgver=3.1.0_beta2 +_betanum=${pkgver/${pkgver%beta*}/} +_pkgver=${pkgver/_$_betanum/} +_verstring=$_pkgver-${_betanum/ta/ta.} +pkgrel=1 +pkgdesc="Extracted std.experimental.allocator for usage via DUB" +url="https://github.com/dlang-community/stdx-allocator" +arch="x86_64 aarch64" # ldc +license="BSL-1.0" +makedepends="meson ldc ldc-runtime mir-core-dev" +subpackages="$pkgname-dev" +options="!check" # region.d(759) failing +source="https://github.com/dlang-community/stdx-allocator/archive/v$_verstring/stdx-allocator-$_verstring.tar.gz" +builddir="$srcdir/stdx-allocator-$_verstring" + +build() { + abuild-meson . output + meson compile ${JOBS:+-j ${JOBS}} -C output +} + +check() { + meson test --no-rebuild -v -C output +} + +package() { + DESTDIR="$pkgdir" meson install --no-rebuild -C output +} + +sha512sums="74089666471ca23df66ace2c3d57e828fe7282344c1a0f9e14c0db13b8d842d3f60385181a3a8953fd193a1dbf6ca6828a561306636ab05c6ebe952b97993cfe stdx-allocator-3.1.0-beta.2.tar.gz" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand-stdx-allocator/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand-stdx-allocator/APKBUILD-expected.json new file mode 100644 index 00000000000..fc9d0882146 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand-stdx-allocator/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "stdx-allocator", + "version": "3.1.0_beta2-r1", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Extracted std.experimental.allocator for usage via DUB", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "boost-1.0", + "declared_license": "BSL-1.0", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://github.com/dlang-community/stdx-allocator/archive/v3.1.0-beta.2/stdx-allocator-3.1.0-beta.2.tar.gz" + } + ], + "checksums": [ + { + "file_name": "stdx-allocator-3.1.0-beta.2.tar.gz", + "sha512": "74089666471ca23df66ace2c3d57e828fe7282344c1a0f9e14c0db13b8d842d3f60385181a3a8953fd193a1dbf6ca6828a561306636ab05c6ebe952b97993cfe" + } + ] + }, + "purl": "pkg:alpine/stdx-allocator@3.1.0_beta2-r1", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand_in_python-py3-cssselect2/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand_in_python-py3-cssselect2/APKBUILD new file mode 100644 index 00000000000..66952f95182 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand_in_python-py3-cssselect2/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Drew DeVault +# Maintainer: Drew DeVault +pkgname=py3-cssselect2 +_pyname=cssselect2 +pkgver=0.4.1 +pkgrel=1 +pkgdesc="CSS selectors for Python ElementTree" +url="https://pypi.org/projects/cssselect2/" +arch="noarch" +license="BSD-3-Clause" +depends="py3-tinycss2" +checkdepends="py3-pytest py3-pytest-cov py3-pytest-isort py3-pytest-flake8" +_pypiprefix="${_pyname%${_pyname#?}}" +source=" + https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz +" +builddir="$srcdir"/$_pyname-$pkgver +options="!check" # upstream tests are broken + +build() { + python3 setup.py build +} + +check() { + pytest +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="feafeec3dbe3157ee452d94cd391a09cfcb48ca8bd1563c117c77c9ceb01102c4989611ede39e433ec25d3ddda98a94c4589ccb290b79c729683e673763b42ac cssselect2-0.4.1.tar.gz" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand_in_python-py3-cssselect2/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand_in_python-py3-cssselect2/APKBUILD-expected.json new file mode 100644 index 00000000000..fdf81d4bdfa --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/problems/nested_expand_in_python-py3-cssselect2/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "py3-cssselect2", + "version": "0.4.1-r1", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "CSS selectors for Python ElementTree", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "bsd-new", + "declared_license": "BSD-3-Clause", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://files.pythonhosted.org/packages/source/c/cssselect2/cssselect2-0.4.1.tar.gz" + } + ], + "checksums": [ + { + "file_name": "cssselect2-0.4.1.tar.gz", + "sha512": "feafeec3dbe3157ee452d94cd391a09cfcb48ca8bd1563c117c77c9ceb01102c4989611ede39e433ec25d3ddda98a94c4589ccb290b79c729683e673763b42ac" + } + ] + }, + "purl": "pkg:alpine/py3-cssselect2@0.4.1-r1", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/testing/gitlab-release-cli/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/testing/gitlab-release-cli/APKBUILD new file mode 100644 index 00000000000..dedcacaa5a2 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/testing/gitlab-release-cli/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Olliver Schinagl +# Maintainer: Olliver Schinagl +pkgname="gitlab-release-cli" +pkgver="0.3.0" +pkgrel=1 +pkgdesc="GitLab Release command-line tool" +url="http://ibmswtpm.sourceforge.net/ibmswtpm2.html" +license="MIT" +arch="all" +makedepends="go" +options="!check" # No selftest available +subpackages="${pkgname}-doc" +source="https://gitlab.com/gitlab-org/release-cli/-/archive/v${pkgver}/release-cli-v${pkgver}.tar.bz2" +builddir="${srcdir}/${pkgname##gitlab-}-v${pkgver}" + +build() { + make build +} + +package() { + install -D -m 0755 "${builddir}/bin/release-cli" \ + "${pkgdir}/usr/bin/release-cli" + + for _doc in "${builddir}/docs/"*; do + install -D -m 0644 "${_doc}" \ + "${pkgdir}/usr/share/doc/${pkgname}/${_doc##*/}" + done +} + +sha512sums="01debcf63e016fe00ec68c298807bff80fde46fd62fb378638c23812c61303c609217ac4520297b2fcaa3ac5fa7b1011872540df6c5962b5eeb023528459cfa1 release-cli-v0.3.0.tar.bz2" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/testing/gitlab-release-cli/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/testing/gitlab-release-cli/APKBUILD-expected.json new file mode 100644 index 00000000000..2219e5b55de --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/testing/gitlab-release-cli/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "gitlab-release-cli", + "version": "0.3.0-r1", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "GitLab Release command-line tool", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "mit", + "declared_license": "MIT", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://gitlab.com/gitlab-org/release-cli/-/archive/v0.3.0/release-cli-v0.3.0.tar.bz2" + } + ], + "checksums": [ + { + "file_name": "release-cli-v0.3.0.tar.bz2", + "sha512": "01debcf63e016fe00ec68c298807bff80fde46fd62fb378638c23812c61303c609217ac4520297b2fcaa3ac5fa7b1011872540df6c5962b5eeb023528459cfa1" + } + ] + }, + "purl": "pkg:alpine/gitlab-release-cli@0.3.0-r1", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/testing/gtksourceviewmm3/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/testing/gtksourceviewmm3/APKBUILD new file mode 100755 index 00000000000..fa2f00e4835 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/testing/gtksourceviewmm3/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: Alex Yam +# Maintainer: Alex Yam +pkgname=gtksourceviewmm3 +pkgver=3.21.3 +pkgrel=0 +arch="all" +pkgdesc="C++ wrapper for the gtksourceview widget library" +url="https://developer.gnome.org/gtksourceviewmm/stable/" +license="LGPL-2.1-or-later" +makedepends="libtool mm-common gtksourceview-dev" +subpackages="$pkgname-doc $pkgname-dev" +source="https://download.gnome.org/sources/gtksourceviewmm/${pkgver%.*}/gtksourceviewmm-$pkgver.tar.xz" +builddir="$srcdir/${pkgname:0:-1}-$pkgver" + +prepare() { + default_prepare + ./autogen.sh +} + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr + make +} + +check() { + make check +} + +package() { + make DESTDIR="$pkgdir" install +} + +doc() { + default_doc + # move /usr/share/devhelp to -doc package + # necessary until abuild's doc() detects 'devhelp' as doc + # abuild MR: https://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/87 + amove /usr/share/devhelp +} +sha512sums="bae4b1fc0792fee136b3be5a2514d29cc4ddc1e7ca663c090e5c15a693475fd6c80f081dd7972e53aa1a74f4ae85bc00d71438b7fb0a89d714a3e423cb5228ef gtksourceviewmm-3.21.3.tar.xz" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/testing/gtksourceviewmm3/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/testing/gtksourceviewmm3/APKBUILD-expected.json new file mode 100644 index 00000000000..ba5da609a43 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/testing/gtksourceviewmm3/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "gtksourceviewmm3", + "version": "3.21.3-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "C++ wrapper for the gtksourceview widget library", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "lgpl-2.1-plus", + "declared_license": "LGPL-2.1-or-later", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://download.gnome.org/sources/gtksourceviewmm/3.21/gtksourceviewmm-3.21.3.tar.xz" + } + ], + "checksums": [ + { + "file_name": "gtksourceviewmm-3.21.3.tar.xz", + "sha512": "bae4b1fc0792fee136b3be5a2514d29cc4ddc1e7ca663c090e5c15a693475fd6c80f081dd7972e53aa1a74f4ae85bc00d71438b7fb0a89d714a3e423cb5228ef" + } + ] + }, + "purl": "pkg:alpine/gtksourceviewmm3@3.21.3-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/testing/pnmixer/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/testing/pnmixer/APKBUILD new file mode 100644 index 00000000000..300a3ea3219 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/testing/pnmixer/APKBUILD @@ -0,0 +1,28 @@ +# Maintainer: Taner Tas +pkgname=pnmixer +pkgver=0.7.2 +pkgrel=1 +pkgdesc="PNMixer is a simple mixer application designed to run in system tray." +url="https://github.com/nicklan/pnmixer" +arch="all" +license="GPL" +makedepends="cmake gettext gtk+2.0-dev alsa-lib-dev libnotify-dev" +install="" +subpackages="$pkgname-doc $pkgname-lang" +source="${pkgname}-${pkgver}.tar.gz::https://github.com/nicklan/pnmixer/archive/v${pkgver/_/-}.tar.gz" +options="!check" +builddir="${srcdir}/${pkgname}-${pkgver/_/-}" +build() { + cd "$builddir" + cmake . \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DWITH_GTK3=OFF + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="0d3991a470817458089039586ab55889abfc0c9d44d1009ab00ab0755932ec0697543a7a744ffd83ea834b8ceb27e111b314cdafdb97f1c687b5f2f974996437 pnmixer-0.7.2.tar.gz" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/testing/pnmixer/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/testing/pnmixer/APKBUILD-expected.json new file mode 100644 index 00000000000..5b8fc2ccc98 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/testing/pnmixer/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "pnmixer", + "version": "0.7.2-r1", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "PNMixer is a simple mixer application designed to run in system tray.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-1.0-plus", + "declared_license": "GPL", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": "pnmixer-0.7.2.tar.gz", + "url": "https://github.com/nicklan/pnmixer/archive/v0.7.2.tar.gz" + } + ], + "checksums": [ + { + "file_name": "pnmixer-0.7.2.tar.gz", + "sha512": "0d3991a470817458089039586ab55889abfc0c9d44d1009ab00ab0755932ec0697543a7a744ffd83ea834b8ceb27e111b314cdafdb97f1c687b5f2f974996437" + } + ] + }, + "purl": "pkg:alpine/pnmixer@0.7.2-r1", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/testing/ubuntu-archive-keyring/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/testing/ubuntu-archive-keyring/APKBUILD new file mode 100644 index 00000000000..b65aeeb7d8f --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/testing/ubuntu-archive-keyring/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Francesco Colista +# Maintainer: Francesco Colista +pkgname=ubuntu-archive-keyring +pkgver=2016.05.13.1 +_pkgver=${pkgver%.*}${pkgver//*./-} +pkgrel=1 +pkgdesc="GnuPG archive keys of the Debian archive" +url="https://packages.debian.org/sid/debian-archive-keyring" +arch="noarch" +license="GPL" +depends="gnupg" +makedepends="tar xz" +options="!check" # upstream doesn't have a test suite. +subpackages="$pkgname-doc" +source="http://ftp.debian.org/debian/pool/main/u/ubuntu-keyring/${pkgname}_${_pkgver}_all.deb" + +unpack() { + cd "$srcdir" + for i in $source; do + case $i in + *.deb) ar x ${i##*/} || return 1 ;; + esac + done +} + +build() { + return 0 +} + +package() { + mkdir -p "$pkgdir" + tar -xJf "$srcdir"/data.tar.xz -C "$pkgdir"/ +} + +sha512sums="8234457c379d2a3d0524e5ab5abf806aa8c49806ec863e7fd1d95a63c2b32ccbcaf2375e186de3bd0611b1d8f227d4ee03428d63f30f5b45597036fd5d5a0a56 ubuntu-archive-keyring_2016.05.13-1_all.deb" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/testing/ubuntu-archive-keyring/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/testing/ubuntu-archive-keyring/APKBUILD-expected.json new file mode 100644 index 00000000000..f8a5da56de3 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/testing/ubuntu-archive-keyring/APKBUILD-expected.json @@ -0,0 +1,49 @@ +{ + "type": "alpine", + "namespace": null, + "name": "ubuntu-archive-keyring", + "version": "2016.05.13.1-r1", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "GnuPG archive keys of the Debian archive", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-1.0-plus", + "declared_license": "GPL", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "http://ftp.debian.org/debian/pool/main/u/ubuntu-keyring/ubuntu-archive-keyring_2016.05.132016.05.13.1_all.deb" + } + ], + "checksums": [ + { + "file_name": "ubuntu-archive-keyring_2016.05.13-1_all.deb", + "sha512": "8234457c379d2a3d0524e5ab5abf806aa8c49806ec863e7fd1d95a63c2b32ccbcaf2375e186de3bd0611b1d8f227d4ee03428d63f30f5b45597036fd5d5a0a56" + } + ] + }, + "purl": "pkg:alpine/ubuntu-archive-keyring@2016.05.13.1-r1", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/unmaintained/buildbot/APKBUILD b/tests/packagedcode/data/alpine/apkbuild/alpine14/unmaintained/buildbot/APKBUILD new file mode 100644 index 00000000000..743275e4f94 --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/unmaintained/buildbot/APKBUILD @@ -0,0 +1,56 @@ +# Contributor: Carlo Landmeter +# Maintainer: Francesco Colista +pkgname=buildbot +pkgver=1.6.0 +pkgrel=0 +pkgdesc="Continuous integration testing framework" +url="http://buildbot.net/" +arch="noarch" +license="GPL-2.0" +depends="python2 py-twisted py-simplejson py2-sqlalchemy + py2-pysqlite py-jinja2 py2-sqlalchemy-migrate + py-dateutil py-setuptools" +depends_dev="" +makedepends="python2-dev" +install="${pkgname}.pre-install" +BUILDBOT_USER=buildbot +BUILDBOT_GROUP=buildbot +pkgusers="$BUILDBOT_USER" +pkggroups="$BUILDBOT_GROUP" +subpackages="$pkgname-openrc" +source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-${pkgver/_/}.tar.gz + buildmaster.initd + buildmaster.confd" + +builddir="$srcdir"/$pkgname-${pkgver/_/} + +check() { + cd "$builddir" + python2 setup.py check +} + +prepare() { + default_prepare +} + +build() { + cd "$builddir" + python2 setup.py build +} + +package() { + cd "$builddir" + python2 setup.py install --prefix=/usr --root="$pkgdir" + install -D -m 755 \ + "$srcdir"/buildmaster.initd \ + "$pkgdir"/etc/init.d/buildmaster + install -D -m 644 \ + "$srcdir"/buildmaster.confd \ + "$pkgdir"/etc/conf.d/buildmaster + install -d -o $BUILDBOT_USER -g $BUILDBOT_GROUP \ + "$pkgdir"/var/lib/buildmaster +} + +sha512sums="1d54bf5b0932b8bb21e0c6a8b8545eccfa48af56dd751d97ab9f8540c0e1735dc98871b33616ba66467f7ca78d2c54c3d6666264784d236097659f3f4d1fd5f0 buildbot-1.6.0.tar.gz +2e65d22f1b94433ba11839fb3434d072f9ff8132396b03fdcdb3b437778679d1699534296fbb851d2661a3a7a0bce4ef1f94c49e7910419557e4055f2ed1a4d5 buildmaster.initd +d9339c30d3a92e92b41b0e3139ec89ecbd1460b0e4ee6c6fe2560c4307b2eb3f29b838c2f2312b9c7049bd95eaf652d09039227c691af805bc25a36999ec1840 buildmaster.confd" diff --git a/tests/packagedcode/data/alpine/apkbuild/alpine14/unmaintained/buildbot/APKBUILD-expected.json b/tests/packagedcode/data/alpine/apkbuild/alpine14/unmaintained/buildbot/APKBUILD-expected.json new file mode 100644 index 00000000000..1052669ab9f --- /dev/null +++ b/tests/packagedcode/data/alpine/apkbuild/alpine14/unmaintained/buildbot/APKBUILD-expected.json @@ -0,0 +1,65 @@ +{ + "type": "alpine", + "namespace": null, + "name": "buildbot", + "version": "1.6.0-r0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Continuous integration testing framework", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "gpl-2.0", + "declared_license": "GPL-2.0", + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "sources": [ + { + "file_name": null, + "url": "https://files.pythonhosted.org/packages/source/b/buildbot/buildbot-1.6.0.tar.gz" + }, + { + "file_name": "buildmaster.initd", + "url": null + }, + { + "file_name": "buildmaster.confd", + "url": null + } + ], + "checksums": [ + { + "file_name": "buildbot-1.6.0.tar.gz", + "sha512": "1d54bf5b0932b8bb21e0c6a8b8545eccfa48af56dd751d97ab9f8540c0e1735dc98871b33616ba66467f7ca78d2c54c3d6666264784d236097659f3f4d1fd5f0" + }, + { + "file_name": "buildmaster.initd", + "sha512": "2e65d22f1b94433ba11839fb3434d072f9ff8132396b03fdcdb3b437778679d1699534296fbb851d2661a3a7a0bce4ef1f94c49e7910419557e4055f2ed1a4d5" + }, + { + "file_name": "buildmaster.confd", + "sha512": "d9339c30d3a92e92b41b0e3139ec89ecbd1460b0e4ee6c6fe2560c4307b2eb3f29b838c2f2312b9c7049bd95eaf652d09039227c691af805bc25a36999ec1840" + } + ] + }, + "purl": "pkg:alpine/buildbot@1.6.0-r0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/alpine/full-installed/installed-expected.json b/tests/packagedcode/data/alpine/full-installed/installed-expected.json index 153cab04a58..2a72d9b9c41 100644 --- a/tests/packagedcode/data/alpine/full-installed/installed-expected.json +++ b/tests/packagedcode/data/alpine/full-installed/installed-expected.json @@ -41,6 +41,7 @@ "source_packages": [ "pkg:alpine/musl@1.1.24-r8" ], + "extra_data": {}, "purl": "pkg:alpine/musl@1.1.24-r8?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, @@ -106,6 +107,7 @@ "source_packages": [ "pkg:alpine/busybox@1.31.1-r16" ], + "extra_data": {}, "purl": "pkg:alpine/busybox@1.31.1-r16?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, @@ -211,6 +213,7 @@ "source_packages": [ "pkg:alpine/alpine-baselayout@3.2.0-r6" ], + "extra_data": {}, "purl": "pkg:alpine/alpine-baselayout@3.2.0-r6?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, @@ -476,6 +479,7 @@ "source_packages": [ "pkg:alpine/alpine-keys@2.2-r0" ], + "extra_data": {}, "purl": "pkg:alpine/alpine-keys@2.2-r0?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, @@ -685,6 +689,7 @@ "source_packages": [ "pkg:alpine/openssl@1.1.1g-r0" ], + "extra_data": {}, "purl": "pkg:alpine/libcrypto1.1@1.1.1g-r0?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, @@ -830,6 +835,7 @@ "source_packages": [ "pkg:alpine/openssl@1.1.1g-r0" ], + "extra_data": {}, "purl": "pkg:alpine/libssl1.1@1.1.1g-r0?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, @@ -886,7 +892,7 @@ "code_view_url": null, "vcs_url": "git+http://git.alpinelinux.org/aports/commit/?id=7363758e1d81ca25dace4597c1bcf0c92119159c", "copyright": null, - "license_expression": "mpl-2.0 OR gpl-2.0-plus", + "license_expression": "mpl-2.0 AND gpl-2.0-plus", "declared_license": "MPL-2.0 GPL-2.0-or-later", "notice_text": null, "root_path": null, @@ -895,6 +901,7 @@ "source_packages": [ "pkg:alpine/ca-certificates@20191127-r2" ], + "extra_data": {}, "purl": "pkg:alpine/ca-certificates-bundle@20191127-r2?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, @@ -961,6 +968,7 @@ "source_packages": [ "pkg:alpine/libtls-standalone@2.9.1-r1" ], + "extra_data": {}, "purl": "pkg:alpine/libtls-standalone@2.9.1-r1?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, @@ -1026,6 +1034,7 @@ "source_packages": [ "pkg:alpine/busybox@1.31.1-r16" ], + "extra_data": {}, "purl": "pkg:alpine/ssl_client@1.31.1-r16?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, @@ -1083,6 +1092,7 @@ "source_packages": [ "pkg:alpine/zlib@1.2.11-r3" ], + "extra_data": {}, "purl": "pkg:alpine/zlib@1.2.11-r3?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, @@ -1148,6 +1158,7 @@ "source_packages": [ "pkg:alpine/apk-tools@2.10.5-r1" ], + "extra_data": {}, "purl": "pkg:alpine/apk-tools@2.10.5-r1?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, @@ -1205,6 +1216,7 @@ "source_packages": [ "pkg:alpine/pax-utils@1.2.6-r0" ], + "extra_data": {}, "purl": "pkg:alpine/scanelf@1.2.6-r0?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, @@ -1253,7 +1265,7 @@ "code_view_url": null, "vcs_url": "git+http://git.alpinelinux.org/aports/commit/?id=afc38b4a14533b4d1c22a11c1b248be0372ec040", "copyright": null, - "license_expression": "(mit AND bsd-new) AND gpl-2.0-plus", + "license_expression": "mit AND bsd-new AND gpl-2.0-plus", "declared_license": "MIT BSD GPL2+", "notice_text": null, "root_path": null, @@ -1271,6 +1283,7 @@ "source_packages": [ "pkg:alpine/musl@1.1.24-r8" ], + "extra_data": {}, "purl": "pkg:alpine/musl-utils@1.1.24-r8?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, @@ -1369,6 +1382,7 @@ "source_packages": [ "pkg:alpine/libc-dev@0.7.2-r3" ], + "extra_data": {}, "purl": "pkg:alpine/libc-utils@0.7.2-r3?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.13-community-gcompat.yml b/tests/packagedcode/data/alpine/licenses/alp-3.13-community-gcompat.yml new file mode 100644 index 00000000000..7b33e73f20b --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.13-community-gcompat.yml @@ -0,0 +1,2 @@ +declared_license: UoI-NCSA +license_expression: uoi-ncsa diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.13-community-ocaml-lablgtk.yml b/tests/packagedcode/data/alpine/licenses/alp-3.13-community-ocaml-lablgtk.yml new file mode 100644 index 00000000000..bfdee5e0103 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.13-community-ocaml-lablgtk.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-or-later-WITH-OCaml-LGPL-linking-exception +license_expression: lgpl-2.1-plus WITH generic-exception diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.13-community-perl-log-log4perl.yml b/tests/packagedcode/data/alpine/licenses/alp-3.13-community-perl-log-log4perl.yml new file mode 100644 index 00000000000..edb98edbbe7 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.13-community-perl-log-log4perl.yml @@ -0,0 +1,2 @@ +declared_license: Artistic-1.0-Perl AND GPL-1.0-or-later +license_expression: artistic-perl-1.0 AND gpl-1.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.13-community-postgresql-plpgsql_check.yml b/tests/packagedcode/data/alpine/licenses/alp-3.13-community-postgresql-plpgsql_check.yml new file mode 100644 index 00000000000..f5a2df81adf --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.13-community-postgresql-plpgsql_check.yml @@ -0,0 +1,2 @@ +declared_license: custom:postcardware +license_expression: unknown-license-reference diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.13-community-termite.yml b/tests/packagedcode/data/alpine/licenses/alp-3.13-community-termite.yml new file mode 100644 index 00000000000..63db8b4b648 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.13-community-termite.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-or-later AND MIT +license_expression: lgpl-2.1-plus AND mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.13-community-w3m.yml b/tests/packagedcode/data/alpine/licenses/alp-3.13-community-w3m.yml new file mode 100644 index 00000000000..9e183208f24 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.13-community-w3m.yml @@ -0,0 +1,2 @@ +declared_license: MIT UCD +license_expression: mit AND other-permissive diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.13-community-wiringpi.yml b/tests/packagedcode/data/alpine/licenses/alp-3.13-community-wiringpi.yml new file mode 100644 index 00000000000..c9ee0f1e296 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.13-community-wiringpi.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-3.0 +license_expression: lgpl-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.13-main-elfutils.yml b/tests/packagedcode/data/alpine/licenses/alp-3.13-main-elfutils.yml new file mode 100644 index 00000000000..6a6b3da5105 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.13-main-elfutils.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-or-later and (GPL-2.0-or-later or LGPL-3.0-or-later) +license_expression: gpl-3.0-plus AND (gpl-2.0-plus OR lgpl-3.0-plus) diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.13-main-guile.yml b/tests/packagedcode/data/alpine/licenses/alp-3.13-main-guile.yml new file mode 100644 index 00000000000..83f7e522e89 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.13-main-guile.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-3.0+, GPL-3.0+ +license_expression: lgpl-3.0-plus AND gpl-3.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.13-main-mksh.yml b/tests/packagedcode/data/alpine/licenses/alp-3.13-main-mksh.yml new file mode 100644 index 00000000000..d9191756d56 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.13-main-mksh.yml @@ -0,0 +1,2 @@ +declared_license: MirOS +license_expression: mir-os diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.13-main-procps.yml b/tests/packagedcode/data/alpine/licenses/alp-3.13-main-procps.yml new file mode 100644 index 00000000000..0325cfcb2fc --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.13-main-procps.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0 LGPL-2.1+ +license_expression: gpl-2.0 AND lgpl-2.1-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.13-non-free-mongodb.yml b/tests/packagedcode/data/alpine/licenses/alp-3.13-non-free-mongodb.yml new file mode 100644 index 00000000000..73e861413bc --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.13-non-free-mongodb.yml @@ -0,0 +1,2 @@ +declared_license: AGPL3 +license_expression: agpl-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.13-testing-horizon.yml b/tests/packagedcode/data/alpine/licenses/alp-3.13-testing-horizon.yml new file mode 100644 index 00000000000..e458ff9d71c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.13-testing-horizon.yml @@ -0,0 +1,2 @@ +declared_license: AGPL-3.0+ +license_expression: agpl-3.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.13-testing-metricbeat.yml b/tests/packagedcode/data/alpine/licenses/alp-3.13-testing-metricbeat.yml new file mode 100644 index 00000000000..5b6baec495e --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.13-testing-metricbeat.yml @@ -0,0 +1,2 @@ +declared_license: ASL 2.0 +license_expression: apache-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.13-testing-openttd-opensfx.yml b/tests/packagedcode/data/alpine/licenses/alp-3.13-testing-openttd-opensfx.yml new file mode 100644 index 00000000000..2a394176e42 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.13-testing-openttd-opensfx.yml @@ -0,0 +1,2 @@ +declared_license: CC-SamplingPlus-1.0 +license_expression: cc-sampling-plus-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.13-testing-trivy.yml b/tests/packagedcode/data/alpine/licenses/alp-3.13-testing-trivy.yml new file mode 100644 index 00000000000..4b713f00ca7 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.13-testing-trivy.yml @@ -0,0 +1,2 @@ +declared_license: Apache 2.0 +license_expression: apache-2.0 AND unknown diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-adwaita-icon-theme.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-adwaita-icon-theme.yml new file mode 100644 index 00000000000..eabc7f6b854 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-adwaita-icon-theme.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-3.0-or-later OR CC-BY-SA-3.0 +license_expression: lgpl-3.0-plus OR cc-by-sa-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-akonadi-contacts.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-akonadi-contacts.yml new file mode 100644 index 00000000000..7a03427b14d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-akonadi-contacts.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1 +license_expression: lgpl-2.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-akonadi-search.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-akonadi-search.yml new file mode 100644 index 00000000000..9a4e933ebb9 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-akonadi-search.yml @@ -0,0 +1,2 @@ +declared_license: (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only) +license_expression: (gpl-2.0 OR gpl-3.0) AND (lgpl-2.1 OR lgpl-3.0) diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-albatross-themes.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-albatross-themes.yml new file mode 100644 index 00000000000..091c58a44a0 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-albatross-themes.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later OR CC-BY-SA-3.0 +license_expression: gpl-2.0-plus OR cc-by-sa-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-alsa-plugins.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-alsa-plugins.yml new file mode 100644 index 00000000000..01cc075c7ed --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-alsa-plugins.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later LGPL-2.1-or-later +license_expression: gpl-2.0-plus AND lgpl-2.1-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-amazfish.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-amazfish.yml new file mode 100644 index 00000000000..c5afa84625f --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-amazfish.yml @@ -0,0 +1,2 @@ +declared_license: AGPL-3.0-only AND GPL-3.0-only +license_expression: agpl-3.0 AND gpl-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-appstream.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-appstream.yml new file mode 100644 index 00000000000..28023fc94e5 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-appstream.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-or-later AND GPL-2.0-or-later +license_expression: lgpl-2.1-plus AND gpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-artikulate.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-artikulate.yml new file mode 100644 index 00000000000..f8768bee68e --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-artikulate.yml @@ -0,0 +1,2 @@ +declared_license: (GPL-2.0-only OR GPL-3.0-only) AND GFDL-1.2-only +license_expression: (gpl-2.0 OR gpl-3.0) AND gfdl-1.2 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-audacious-plugins.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-audacious-plugins.yml new file mode 100644 index 00000000000..4b4846a0e72 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-audacious-plugins.yml @@ -0,0 +1,4 @@ +declared_license: BSD-2-Clause AND BSD-3-Clause AND ISC AND GPL-2.0-only AND GPL-2.0-or-later + AND GPL-3.0-only AND GPL-3.0-or-later +license_expression: bsd-simplified AND bsd-new AND isc AND gpl-2.0 AND gpl-2.0-plus AND gpl-3.0 + AND gpl-3.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-audacious.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-audacious.yml new file mode 100644 index 00000000000..0f4272d78e6 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-audacious.yml @@ -0,0 +1,2 @@ +declared_license: BSD-2-Clause AND ISC +license_expression: bsd-simplified AND isc diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ausweisapp2.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ausweisapp2.yml new file mode 100644 index 00000000000..c760890fa3d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ausweisapp2.yml @@ -0,0 +1,2 @@ +declared_license: EUPL-1.2 +license_expression: eupl-1.2 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-avr-libc.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-avr-libc.yml new file mode 100644 index 00000000000..25aa2774ec3 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-avr-libc.yml @@ -0,0 +1,2 @@ +declared_license: BSD 3-Clause +license_expression: bsd-new diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-baculum.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-baculum.yml new file mode 100644 index 00000000000..660eda62cd8 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-baculum.yml @@ -0,0 +1,2 @@ +declared_license: AGPLv3 +license_expression: agpl-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-baloo-widgets.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-baloo-widgets.yml new file mode 100644 index 00000000000..74d2b25faff --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-baloo-widgets.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0-only AND LGPL-2.1-or-later +license_expression: lgpl-2.0 AND lgpl-2.1-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-bfs.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-bfs.yml new file mode 100644 index 00000000000..b10a1bca824 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-bfs.yml @@ -0,0 +1,2 @@ +declared_license: 0BSD +license_expression: bsd-zero diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-biblatex.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-biblatex.yml new file mode 100644 index 00000000000..79b31066d7e --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-biblatex.yml @@ -0,0 +1,2 @@ +declared_license: LPPL-1.3 +license_expression: lppl-1.3c diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-binutils-cross-embedded.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-binutils-cross-embedded.yml new file mode 100644 index 00000000000..220dbb8c67a --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-binutils-cross-embedded.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0 GPL-3.0-or-later LGPL-2.0 BSD +license_expression: gpl-2.0 AND gpl-3.0-plus AND lgpl-2.0 AND bsd-new diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-bluedevil.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-bluedevil.yml new file mode 100644 index 00000000000..82fcd4592f4 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-bluedevil.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND LGPL-2.0-or-later AND (LGPL-2.1-only OR LGPL-3.0-only) +license_expression: gpl-2.0-plus AND lgpl-2.0-plus AND (lgpl-2.1 OR lgpl-3.0) diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-bmon.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-bmon.yml new file mode 100644 index 00000000000..da0ee0baba9 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-bmon.yml @@ -0,0 +1,2 @@ +declared_license: BSD MIT +license_expression: bsd-new AND mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-bullet.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-bullet.yml new file mode 100644 index 00000000000..70867036f0e --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-bullet.yml @@ -0,0 +1,2 @@ +declared_license: Zlib +license_expression: zlib diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-cairomm.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-cairomm.yml new file mode 100644 index 00000000000..6275d99e639 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-cairomm.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0-or-later AND MPL-1.1 +license_expression: lgpl-2.0-plus AND mpl-1.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-calamares.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-calamares.yml new file mode 100644 index 00000000000..8b0275062a5 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-calamares.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-or-later AND LGPL-2.1-only +license_expression: gpl-3.0-plus AND lgpl-2.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-calendarsupport.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-calendarsupport.yml new file mode 100644 index 00000000000..fbc97ebbccb --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-calendarsupport.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND Qt-GPL-exception-1.0 AND LGPL-2.0-or-later +license_expression: gpl-2.0-plus AND qt-gpl-exception-1.0 AND lgpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-calligra.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-calligra.yml new file mode 100644 index 00000000000..70269f3a214 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-calligra.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND LGPL-2.0-only +license_expression: gpl-2.0-plus AND lgpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-can-utils.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-can-utils.yml new file mode 100644 index 00000000000..c74c5dba35a --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-can-utils.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-only AND BSD-3-Clause +license_expression: gpl-2.0 AND bsd-new diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-cd-discid.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-cd-discid.yml new file mode 100644 index 00000000000..1b92912bfac --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-cd-discid.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later OR GPL-1.0-or-later OR Artistic-1.0-Perl +license_expression: gpl-2.0-plus OR gpl-1.0-plus OR artistic-perl-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ceph.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ceph.yml new file mode 100644 index 00000000000..36466e9d469 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ceph.yml @@ -0,0 +1,5 @@ +declared_license: LGPL-2.1-only AND LGPL-2.0-or-later AND GPL-2.0-only AND GPL-3.0-only AND + CC-BY-SA-1.0 AND BSL-1.0 AND GPL-2.0-or-later WITH Autoconf-exception-2.0 AND BSD-3-Clause + AND MIT AND custom +license_expression: lgpl-2.1 AND lgpl-2.0-plus AND gpl-2.0 AND gpl-3.0 AND cc-by-sa-1.0 AND + boost-1.0 AND gpl-2.0-plus WITH autoconf-exception-2.0 AND bsd-new AND mit AND unknown-license-reference diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-choose.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-choose.yml new file mode 100644 index 00000000000..75c7dfeaacd --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-choose.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-or-later +license_expression: gpl-3.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-choqok.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-choqok.yml new file mode 100644 index 00000000000..c0258c7d0f8 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-choqok.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-only OR GPL-3.0-only +license_expression: gpl-2.0 OR gpl-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-clamav.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-clamav.yml new file mode 100644 index 00000000000..b350aed4258 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-clamav.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-only WITH OpenSSL-Exception +license_expression: gpl-2.0 WITH openssl-exception-gpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-cldr-emoji-annotation.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-cldr-emoji-annotation.yml new file mode 100644 index 00000000000..6e3d7f581b2 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-cldr-emoji-annotation.yml @@ -0,0 +1,2 @@ +declared_license: Unicode-DFS-2016 AND LGPL-2.0-or-later +license_expression: unicode-dfs-2016 AND lgpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-cloc.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-cloc.yml new file mode 100644 index 00000000000..b37abba4cf8 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-cloc.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later Artistic-2.0 +license_expression: gpl-2.0-plus AND artistic-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-cloud-init.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-cloud-init.yml new file mode 100644 index 00000000000..ccde7407f0d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-cloud-init.yml @@ -0,0 +1,2 @@ +declared_license: Apache-2.0 OR GPL-3.0-only +license_expression: apache-2.0 OR gpl-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-consul-template.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-consul-template.yml new file mode 100644 index 00000000000..7694119128c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-consul-template.yml @@ -0,0 +1,2 @@ +declared_license: MPL-2.0 +license_expression: mpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-cups-filters.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-cups-filters.yml new file mode 100644 index 00000000000..0539801ef32 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-cups-filters.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later LGPL-2.1-or-later MIT +license_expression: gpl-2.0-plus AND lgpl-2.1-plus AND mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-deadbeef.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-deadbeef.yml new file mode 100644 index 00000000000..14b79f388dd --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-deadbeef.yml @@ -0,0 +1,2 @@ +declared_license: Zlib GPL-2.0-or-later LGPL-2.1-or-later +license_expression: zlib AND gpl-2.0-plus AND lgpl-2.1-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-discover.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-discover.yml new file mode 100644 index 00000000000..cb9e21687d6 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-discover.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only) AND GFDL-1.2-only +license_expression: lgpl-2.0-plus AND (gpl-2.0 OR gpl-3.0) AND gfdl-1.2 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-drawterm.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-drawterm.yml new file mode 100644 index 00000000000..2c0f4735ab1 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-drawterm.yml @@ -0,0 +1,2 @@ +declared_license: LPL-1.02 +license_expression: lucent-pl-1.02 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-dwm.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-dwm.yml new file mode 100644 index 00000000000..9122aa54158 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-dwm.yml @@ -0,0 +1,2 @@ +declared_license: MIT/X +license_expression: mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-e2guardian.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-e2guardian.yml new file mode 100644 index 00000000000..5c12f786d79 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-e2guardian.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-only +license_expression: gpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-easytag.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-easytag.yml new file mode 100644 index 00000000000..4cc631b0d4d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-easytag.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-only AND GPL-3.0-only +license_expression: gpl-2.0 AND gpl-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ecryptfs-utils.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ecryptfs-utils.yml new file mode 100644 index 00000000000..f0c5c1b4ecb --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ecryptfs-utils.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later +license_expression: gpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-edk2.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-edk2.yml new file mode 100644 index 00000000000..82a3ed1d28a --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-edk2.yml @@ -0,0 +1,2 @@ +declared_license: BSD-2-Clause-Patent +license_expression: bsd-plus-patent diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-emscripten-fastcomp.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-emscripten-fastcomp.yml new file mode 100644 index 00000000000..b0e785a61d3 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-emscripten-fastcomp.yml @@ -0,0 +1,2 @@ +declared_license: NCSA +license_expression: uoi-ncsa diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-fdkaac.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-fdkaac.yml new file mode 100644 index 00000000000..ea889f64a83 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-fdkaac.yml @@ -0,0 +1,2 @@ +declared_license: BSD-4-Clause AND MIT AND Zlib +license_expression: bsd-original AND mit AND zlib diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-feh.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-feh.yml new file mode 100644 index 00000000000..bcab110e2ad --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-feh.yml @@ -0,0 +1,2 @@ +declared_license: MIT-feh +license_expression: mit-ack diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-fetchmail.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-fetchmail.yml new file mode 100644 index 00000000000..a24b75c263d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-fetchmail.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later WITH OpenSSL-Exception AND Public-Domain +license_expression: gpl-2.0-plus WITH openssl-exception-gpl-2.0-plus AND public-domain diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-firefox-esr.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-firefox-esr.yml new file mode 100644 index 00000000000..adf61e41788 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-firefox-esr.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-only AND LGPL-2.1-only AND LGPL-3.0-only AND MPL-2.0 +license_expression: gpl-3.0 AND lgpl-2.1 AND lgpl-3.0 AND mpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-fltk.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-fltk.yml new file mode 100644 index 00000000000..7807cdd6739 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-fltk.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0-only WITH FLTK-exception +license_expression: lgpl-2.0 WITH fltk-exception-lgpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-font-noto-emoji.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-font-noto-emoji.yml new file mode 100644 index 00000000000..df5b520b984 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-font-noto-emoji.yml @@ -0,0 +1,2 @@ +declared_license: OFL-1.1 +license_expression: ofl-1.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-freeimage.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-freeimage.yml new file mode 100644 index 00000000000..459e077c093 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-freeimage.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later FIPL +license_expression: gpl-2.0-plus AND freeimage-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-freerdp.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-freerdp.yml new file mode 100644 index 00000000000..d91d5ee2ced --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-freerdp.yml @@ -0,0 +1,2 @@ +declared_license: Apache-2.0 +license_expression: apache-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-freexl.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-freexl.yml new file mode 100644 index 00000000000..89901b6e35c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-freexl.yml @@ -0,0 +1,2 @@ +declared_license: MPL-1.1 GPL-2.0-only LGPL-2.1-only +license_expression: mpl-1.1 AND gpl-2.0 AND lgpl-2.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gcc6.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gcc6.yml new file mode 100644 index 00000000000..05cec82c059 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gcc6.yml @@ -0,0 +1,2 @@ +declared_license: GPL LGPL +license_expression: gpl-1.0-plus AND lgpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-geary.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-geary.yml new file mode 100644 index 00000000000..f8f1342369a --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-geary.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-or-later AND CC-BY-3.0 AND BSD-2-Clause +license_expression: lgpl-2.1-plus AND cc-by-3.0 AND bsd-simplified diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gegl.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gegl.yml new file mode 100644 index 00000000000..61b2d6eec1d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gegl.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-or-later AND LGPL-3.0-or-later +license_expression: gpl-3.0-plus AND lgpl-3.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gjs.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gjs.yml new file mode 100644 index 00000000000..c4f9fb5ebd5 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gjs.yml @@ -0,0 +1,2 @@ +declared_license: MIT AND LGPL-2.0-or-later +license_expression: mit AND lgpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-glacier-filemuncher.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-glacier-filemuncher.yml new file mode 100644 index 00000000000..54ba3c44ef9 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-glacier-filemuncher.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0-or-later +license_expression: lgpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-glacier-home.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-glacier-home.yml new file mode 100644 index 00000000000..700b2c0f991 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-glacier-home.yml @@ -0,0 +1,2 @@ +declared_license: BSD-3-Clause AND MIT +license_expression: bsd-new AND mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-autoar.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-autoar.yml new file mode 100644 index 00000000000..1297218a7c3 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-autoar.yml @@ -0,0 +1,2 @@ +declared_license: LGP-2.1-only +license_expression: lgpl-2.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-backgrounds.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-backgrounds.yml new file mode 100644 index 00000000000..af6a56884e8 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-backgrounds.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND CC-BY-2.0 AND CC-BY-SA-2.0 AND CC-BY-SA-3.0 +license_expression: gpl-2.0-plus AND cc-by-2.0 AND cc-by-sa-2.0 AND cc-by-sa-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-characters.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-characters.yml new file mode 100644 index 00000000000..dc1599b84e6 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-characters.yml @@ -0,0 +1,2 @@ +declared_license: BSD-3-Clause AND GPL-2.0-or-later +license_expression: bsd-new AND gpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-desktop.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-desktop.yml new file mode 100644 index 00000000000..8514ee28a22 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-desktop.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND LGPL-2.1-or-later +license_expression: gpl-2.0-plus AND lgpl-2.1-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-getting-started-docs.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-getting-started-docs.yml new file mode 100644 index 00000000000..5da8e82fdad --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-getting-started-docs.yml @@ -0,0 +1,2 @@ +declared_license: CC-BY-SA-3.0 +license_expression: cc-by-sa-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-icon-theme-symbolic.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-icon-theme-symbolic.yml new file mode 100644 index 00000000000..0811bc369d4 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-icon-theme-symbolic.yml @@ -0,0 +1,2 @@ +declared_license: CC-BY-SA +license_expression: cc-by-sa-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-icon-theme.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-icon-theme.yml new file mode 100644 index 00000000000..f5d39188800 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-icon-theme.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-3.0-only OR CC-BY-SA-3.0 +license_expression: lgpl-3.0 OR cc-by-sa-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-keyring.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-keyring.yml new file mode 100644 index 00000000000..79125034357 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-keyring.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-only LGPL-2.0-only +license_expression: gpl-2.0 AND lgpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-settings-daemon.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-settings-daemon.yml new file mode 100644 index 00000000000..c75d7a466b1 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-settings-daemon.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-only AND LGPL-2.1-only +license_expression: gpl-2.0 AND lgpl-2.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-taquin.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-taquin.yml new file mode 100644 index 00000000000..60d7e489ac6 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-taquin.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-or-later AND CC-BY-SA-3.0 +license_expression: gpl-3.0-plus AND cc-by-sa-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-terminal.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-terminal.yml new file mode 100644 index 00000000000..631eef773a4 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-terminal.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND GFDL-1.3-only +license_expression: gpl-2.0-plus AND gfdl-1.3 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-tweaks.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-tweaks.yml new file mode 100644 index 00000000000..99b6132aa33 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-tweaks.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-or-later CC0-1.0 +license_expression: gpl-3.0-plus AND cc0-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-user-docs.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-user-docs.yml new file mode 100644 index 00000000000..da2034b13f3 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gnome-user-docs.yml @@ -0,0 +1,2 @@ +declared_license: CC-BY-3.0 +license_expression: cc-by-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-go-ipfs.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-go-ipfs.yml new file mode 100644 index 00000000000..d024c61e254 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-go-ipfs.yml @@ -0,0 +1,2 @@ +declared_license: MIT Apache-2.0 +license_expression: mit AND apache-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-goffice.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-goffice.yml new file mode 100644 index 00000000000..35fdad03d5d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-goffice.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later OR GPL-3.0-or-later +license_expression: gpl-2.0-plus OR gpl-3.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gource.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gource.yml new file mode 100644 index 00000000000..11611df2dee --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gource.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0 +license_expression: gpl-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gpgme.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gpgme.yml new file mode 100644 index 00000000000..5ed74dd6787 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gpgme.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-or-later GPL-3.0-or-later +license_expression: lgpl-2.1-plus AND gpl-3.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-greybird-themes.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-greybird-themes.yml new file mode 100644 index 00000000000..ef9b66efd8b --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-greybird-themes.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND CC-BY-SA-3.0 +license_expression: gpl-2.0-plus AND cc-by-sa-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gsoap.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gsoap.yml new file mode 100644 index 00000000000..adfe30d85e7 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gsoap.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later gSOAP-1.3b +license_expression: gpl-2.0-plus AND gsoap-1.3b diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gtkd.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gtkd.yml new file mode 100644 index 00000000000..57623a8d347 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gtkd.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-3.0-or-later +license_expression: lgpl-3.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gucharmap.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gucharmap.yml new file mode 100644 index 00000000000..11006befb24 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gucharmap.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-or-later GFDL-1.3-only +license_expression: gpl-3.0-plus AND gfdl-1.3 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gulkan.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gulkan.yml new file mode 100644 index 00000000000..c3275b0b3a6 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-gulkan.yml @@ -0,0 +1,2 @@ +declared_license: MIT AND CC-BY-SA-4.0 +license_expression: mit AND cc-by-sa-4.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-haxe.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-haxe.yml new file mode 100644 index 00000000000..4bd9048b1bd --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-haxe.yml @@ -0,0 +1,2 @@ +declared_license: GPL MIT LGPL +license_expression: gpl-1.0-plus AND mit AND lgpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-heirloom-doctools.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-heirloom-doctools.yml new file mode 100644 index 00000000000..050457898ac --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-heirloom-doctools.yml @@ -0,0 +1,2 @@ +declared_license: CDDL +license_expression: cddl-1.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-heirloom-mailx.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-heirloom-mailx.yml new file mode 100644 index 00000000000..81cd3de7457 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-heirloom-mailx.yml @@ -0,0 +1,2 @@ +declared_license: BSD-4-Clause +license_expression: bsd-original diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-hidapi.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-hidapi.yml new file mode 100644 index 00000000000..fce28ee1b60 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-hidapi.yml @@ -0,0 +1,2 @@ +declared_license: custom +license_expression: unknown-license-reference diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-homer-ui.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-homer-ui.yml new file mode 100644 index 00000000000..0ddc71253d3 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-homer-ui.yml @@ -0,0 +1,2 @@ +declared_license: AGPL-3.0 +license_expression: agpl-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-imagemagick.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-imagemagick.yml new file mode 100644 index 00000000000..0a33ebeb2e2 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-imagemagick.yml @@ -0,0 +1,2 @@ +declared_license: ImageMagick +license_expression: imagemagick diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-imapsync.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-imapsync.yml new file mode 100644 index 00000000000..bb92f694819 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-imapsync.yml @@ -0,0 +1,2 @@ +declared_license: NLPL +license_expression: nlpl diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ipmiutil.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ipmiutil.yml new file mode 100644 index 00000000000..981f242dd62 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ipmiutil.yml @@ -0,0 +1,2 @@ +declared_license: BSD-2-clause BSD-3-clause GPL-2.0-or-later +license_expression: bsd-simplified AND bsd-new AND gpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-iprutils.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-iprutils.yml new file mode 100644 index 00000000000..e7e40345ab4 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-iprutils.yml @@ -0,0 +1,2 @@ +declared_license: CPL-1.0 +license_expression: cpl-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ipynb2html.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ipynb2html.yml new file mode 100644 index 00000000000..89334c0a237 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ipynb2html.yml @@ -0,0 +1,2 @@ +declared_license: MIT BSD-3-Clause +license_expression: mit AND bsd-new diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-irrlicht.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-irrlicht.yml new file mode 100644 index 00000000000..3410475c13a --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-irrlicht.yml @@ -0,0 +1,2 @@ +declared_license: zlib +license_expression: zlib diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-itinerary.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-itinerary.yml new file mode 100644 index 00000000000..5a8204ed21c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-itinerary.yml @@ -0,0 +1,2 @@ +declared_license: BSD-3-Clause AND LGPL-2.0-or-later +license_expression: bsd-new AND lgpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-iwgtk.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-iwgtk.yml new file mode 100644 index 00000000000..2a148db0ab9 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-iwgtk.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3-or-later +license_expression: gpl-3.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-java-jna.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-java-jna.yml new file mode 100644 index 00000000000..d4210ee7fc2 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-java-jna.yml @@ -0,0 +1,2 @@ +declared_license: Apache-2.0 LGPL-2.1 +license_expression: apache-2.0 AND lgpl-2.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-jruby.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-jruby.yml new file mode 100644 index 00000000000..b5ce3a83ff0 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-jruby.yml @@ -0,0 +1,2 @@ +declared_license: EPL-2.0 OR GPL-2.0-or-later OR LGPL-2.1-or-later AND Ruby +license_expression: epl-2.0 OR gpl-2.0-plus OR (lgpl-2.1-plus AND ruby) diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kactivities.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kactivities.yml new file mode 100644 index 00000000000..4d7f633eb7d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kactivities.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND LGPL-2.1-or-later AND (LGPL-2.1-only OR LGPL-3.0-only) +license_expression: gpl-2.0-plus AND lgpl-2.1-plus AND (lgpl-2.1 OR lgpl-3.0) diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kaidan.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kaidan.yml new file mode 100644 index 00000000000..8abd00451b6 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kaidan.yml @@ -0,0 +1,4 @@ +declared_license: GPL-3.0-or-later-with-openssl-exception AND GPL-3.0-or-later AND MIT AND AND + Apache-2.0 AND CC-BY-SA-4.0 AND CC-BY-SA-3.0 +license_expression: gpl-3.0-plus WITH generic-exception AND gpl-3.0-plus AND mit AND apache-2.0 + AND cc-by-sa-4.0 AND cc-by-sa-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kalgebra.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kalgebra.yml new file mode 100644 index 00000000000..86f59e15126 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kalgebra.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND GFDL-1.2-only +license_expression: gpl-2.0-plus AND gfdl-1.2 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kamoso.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kamoso.yml new file mode 100644 index 00000000000..5583fcc6931 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kamoso.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND LGPL-2.1-only +license_expression: gpl-2.0-plus AND lgpl-2.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kasts.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kasts.yml new file mode 100644 index 00000000000..034d9b765f2 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kasts.yml @@ -0,0 +1,2 @@ +declared_license: LicenseRef-KDE-Accepted-GPL AND CC0-1.0 +license_expression: kde-accepted-gpl AND cc0-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kate.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kate.yml new file mode 100644 index 00000000000..59e0ac24a92 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kate.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0-only AND LGPL-2.0-or-later +license_expression: lgpl-2.0 AND lgpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kconfig.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kconfig.yml new file mode 100644 index 00000000000..fc6a3229eb4 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kconfig.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0-or-later AND LGPL-2.0-only AND LGPL-2.1-or-later +license_expression: lgpl-2.0-plus AND lgpl-2.0 AND lgpl-2.1-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kcoreaddons.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kcoreaddons.yml new file mode 100644 index 00000000000..f7201f1359f --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kcoreaddons.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0-or-later AND (LGPL-2.1-only OR LGPL-3.0-only) +license_expression: lgpl-2.0-plus AND (lgpl-2.1 OR lgpl-3.0) diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kde-cli-tools.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kde-cli-tools.yml new file mode 100644 index 00000000000..bc576b8c481 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kde-cli-tools.yml @@ -0,0 +1,2 @@ +declared_license: (GPL-2.0-only OR GPL-3.0-only) AND GPL-2.0-or-later AND GPL-2.0-only AND LGPL-2.1-only +license_expression: (gpl-2.0 OR gpl-3.0) AND gpl-2.0-plus AND gpl-2.0 AND lgpl-2.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kde-dev-utils.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kde-dev-utils.yml new file mode 100644 index 00000000000..2c5828fa3fd --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kde-dev-utils.yml @@ -0,0 +1,2 @@ +declared_license: (LGPL-2.0-only OR LGPL-3.0-only) AND GPL-2.0-or-later +license_expression: (lgpl-2.0 OR lgpl-3.0) AND gpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kde-gtk-config.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kde-gtk-config.yml new file mode 100644 index 00000000000..9b35bc1ff10 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kde-gtk-config.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0 AND LGPL-2.1-only OR LGPL-3.0-only +license_expression: (gpl-2.0 AND lgpl-2.1) OR lgpl-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kdelibs4support.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kdelibs4support.yml new file mode 100644 index 00000000000..80aab63310c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kdelibs4support.yml @@ -0,0 +1,4 @@ +declared_license: LGPL-2.1-or-later AND MIT AND LGPL-2.1-only AND LGPL-2.0-only AND (LGPL-2.1-only + OR LGPL-3.0-only) AND (LGPL-2.0-only OR LGPL-3.0-only) +license_expression: lgpl-2.1-plus AND mit AND lgpl-2.1 AND lgpl-2.0 AND (lgpl-2.1 OR lgpl-3.0) + AND (lgpl-2.0 OR lgpl-3.0) diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kdeplasma-addons.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kdeplasma-addons.yml new file mode 100644 index 00000000000..44257b669b7 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kdeplasma-addons.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0-only AND GPL-2.0-or-later +license_expression: lgpl-2.0 AND gpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kdsoap.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kdsoap.yml new file mode 100644 index 00000000000..c3a3306ab63 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kdsoap.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-only AND LGPL-3.0-only AND (GPL-2.0-only OR GPL-3.0-only) AND AGPL-3.0-only +license_expression: lgpl-2.1 AND lgpl-3.0 AND (gpl-2.0 OR gpl-3.0) AND agpl-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kea.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kea.yml new file mode 100644 index 00000000000..f50b62760e2 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kea.yml @@ -0,0 +1,2 @@ +declared_license: MPL2 +license_expression: mpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-keditbookmarks.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-keditbookmarks.yml new file mode 100644 index 00000000000..d5abdf5c8e7 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-keditbookmarks.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-only AND GFDL-1.2-only +license_expression: gpl-2.0 AND gfdl-1.2 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kfilemetadata.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kfilemetadata.yml new file mode 100644 index 00000000000..1b1b13d9e13 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kfilemetadata.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-or-later AND (LGPL-2.1-only OR LGPL-3.0-only) +license_expression: lgpl-2.1-plus AND (lgpl-2.1 OR lgpl-3.0) diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-khotkeys.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-khotkeys.yml new file mode 100644 index 00000000000..d4a0a77ff6f --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-khotkeys.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-only AND LGPL-2.0-or-later +license_expression: gpl-2.0 AND lgpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-khtml.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-khtml.yml new file mode 100644 index 00000000000..780baaebbcd --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-khtml.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-or-later AND LGPL-2.1-only +license_expression: lgpl-2.1-plus AND lgpl-2.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ki18n.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ki18n.yml new file mode 100644 index 00000000000..81b5de91d21 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ki18n.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0-or-later AND (LGPL-2.1-only OR LGPL-3.0-or-later) +license_expression: lgpl-2.0-plus AND (lgpl-2.1 OR lgpl-3.0-plus) diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kibi.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kibi.yml new file mode 100644 index 00000000000..4e5d75f770f --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kibi.yml @@ -0,0 +1,2 @@ +declared_license: (Apache-2.0 OR MIT) AND BSD-2-Clause +license_expression: (apache-2.0 OR mit) AND bsd-simplified diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kigo.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kigo.yml new file mode 100644 index 00000000000..a3e80ce32e9 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kigo.yml @@ -0,0 +1,2 @@ +declared_license: LicenseRef-KDE-Accepted-GPL AND GFDL-1.2-only +license_expression: kde-accepted-gpl AND gfdl-1.2 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kio-extras.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kio-extras.yml new file mode 100644 index 00000000000..6fa2956bb6e --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kio-extras.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later (LGPL-2.1-only OR LGPL-3.0-only) +license_expression: gpl-2.0-plus AND (lgpl-2.1 OR lgpl-3.0) diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kio.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kio.yml new file mode 100644 index 00000000000..d64b7ec25fc --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kio.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-only AND LGPL-2.1-or-later AND (LGPL-2.1-only OR LGPL-3.0-only) +license_expression: lgpl-2.1 AND lgpl-2.1-plus AND (lgpl-2.1 OR lgpl-3.0) diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kirigami-addons.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kirigami-addons.yml new file mode 100644 index 00000000000..59de027a521 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kirigami-addons.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0-or-later AND GPL-2.0-or-later +license_expression: lgpl-2.0-plus AND gpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kjobwidgets.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kjobwidgets.yml new file mode 100644 index 00000000000..c8c292b23aa --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kjobwidgets.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-only AND (LGPL-2.1-only OR LGPL-3.0-only) +license_expression: lgpl-2.1 AND (lgpl-2.1 OR lgpl-3.0) diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kjs.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kjs.yml new file mode 100644 index 00000000000..46f2a3a75a5 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kjs.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-or-later AND BSD-3-Clause AND MIT +license_expression: lgpl-2.1-plus AND bsd-new AND mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kmediaplayer.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kmediaplayer.yml new file mode 100644 index 00000000000..422ccf18edb --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kmediaplayer.yml @@ -0,0 +1,2 @@ +declared_license: X11 AND LGPL-2.1-or-later +license_expression: x11-xconsortium AND lgpl-2.1-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-knotifications.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-knotifications.yml new file mode 100644 index 00000000000..4de998a899b --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-knotifications.yml @@ -0,0 +1,3 @@ +declared_license: BSD-3-Clause AND LGPL-2.0-or-later AND LGPL-2.0-only AND (LGPL-2.1-only OR + LGPL-3.0-only) +license_expression: bsd-new AND lgpl-2.0-plus AND lgpl-2.0 AND (lgpl-2.1 OR lgpl-3.0) diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-knotifyconfig.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-knotifyconfig.yml new file mode 100644 index 00000000000..1ec052b897c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-knotifyconfig.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0-only +license_expression: lgpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-koko.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-koko.yml new file mode 100644 index 00000000000..9f0890bb409 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-koko.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-3.0-only AND LicenseRef-KDE-Accepted-GPL +license_expression: lgpl-2.0-plus AND lgpl-2.1 AND lgpl-3.0 AND kde-accepted-gpl diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kolourpaint.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kolourpaint.yml new file mode 100644 index 00000000000..8f2b9a0ba33 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kolourpaint.yml @@ -0,0 +1,2 @@ +declared_license: BSD-2-Clause AND LGPL-2.0-or-later AND GFDL-1.2-only +license_expression: bsd-simplified AND lgpl-2.0-plus AND gfdl-1.2 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kongress.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kongress.yml new file mode 100644 index 00000000000..b9fc3d5c538 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kongress.yml @@ -0,0 +1,3 @@ +declared_license: GPL-3.0-or-later AND LGPL-3.0-or-later AND BSD-2-Clause AND CC-BY-SA-4.0 AND + CC0-1.0 +license_expression: gpl-3.0-plus AND lgpl-3.0-plus AND bsd-simplified AND cc-by-sa-4.0 AND cc0-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-konqueror.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-konqueror.yml new file mode 100644 index 00000000000..c46289a5a8f --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-konqueror.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND GFDL-1.2-only AND LicenseRef-KDE-Accepted-LGPL +license_expression: gpl-2.0-plus AND gfdl-1.2 AND kde-accepted-lgpl diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-konsole.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-konsole.yml new file mode 100644 index 00000000000..0a2ca39ec6a --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-konsole.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-only AND LGPL-2.1-or-later AND Unicode-DFS-2016 +license_expression: gpl-2.0 AND lgpl-2.1-plus AND unicode-dfs-2016 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kontactinterface.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kontactinterface.yml new file mode 100644 index 00000000000..c94355a6604 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kontactinterface.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0-only OR LGPL-3.0-only +license_expression: lgpl-2.0 OR lgpl-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kontrast.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kontrast.yml new file mode 100644 index 00000000000..60416cfd53e --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kontrast.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-or-later AND CC0-1.0 +license_expression: gpl-3.0-plus AND cc0-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kopete.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kopete.yml new file mode 100644 index 00000000000..9f82f58a07b --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kopete.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND LGPL-2.0-or-later AND GFDL-1.2-only +license_expression: gpl-2.0-plus AND lgpl-2.0-plus AND gfdl-1.2 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kosmindoormap.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kosmindoormap.yml new file mode 100644 index 00000000000..b1652bf3db9 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kosmindoormap.yml @@ -0,0 +1,2 @@ +declared_license: BSD-2-Clause AND BSD-3-Clause MIT AND LGPL-2.0-or-later +license_expression: bsd-simplified AND bsd-new AND mit AND lgpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kpublictransport.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kpublictransport.yml new file mode 100644 index 00000000000..a9a30b32b29 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kpublictransport.yml @@ -0,0 +1,2 @@ +declared_license: BSD-3-Clause AND LGPL-2.0-or-later AND MIT +license_expression: bsd-new AND lgpl-2.0-plus AND mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kquickimageeditor.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kquickimageeditor.yml new file mode 100644 index 00000000000..4bc80196c75 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kquickimageeditor.yml @@ -0,0 +1,2 @@ +declared_license: BSD-2-Clause AND LGPL-2.1-or-later +license_expression: bsd-simplified AND lgpl-2.1-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-krfb.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-krfb.yml new file mode 100644 index 00000000000..ceb698d38ff --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-krfb.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-or-later AND GFDL-1.2-only +license_expression: gpl-3.0-plus AND gfdl-1.2 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-krunner.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-krunner.yml new file mode 100644 index 00000000000..ca0973f1cf2 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-krunner.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-only AND LGPL-2.1-or-later +license_expression: lgpl-2.1 AND lgpl-2.1-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kscreenlocker.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kscreenlocker.yml new file mode 100644 index 00000000000..52cc0ec0096 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kscreenlocker.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only) +license_expression: gpl-2.0-plus AND (gpl-2.0 OR gpl-3.0) diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ktexteditor.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ktexteditor.yml new file mode 100644 index 00000000000..fe334f4afc4 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ktexteditor.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0-or-later AND (LGPL-2.0-only OR LGPL-3.0-only) +license_expression: lgpl-2.0-plus AND (lgpl-2.0 OR lgpl-3.0) diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ktp-common-internals.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ktp-common-internals.yml new file mode 100644 index 00000000000..ffc060bbb46 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ktp-common-internals.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-only AND GPL-2.0-only +license_expression: lgpl-2.1 AND gpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kweather.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kweather.yml new file mode 100644 index 00000000000..4e33d40410b --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kweather.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND CC-BY-4.0 +license_expression: gpl-2.0-plus AND cc-by-4.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kwidgetsaddons.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kwidgetsaddons.yml new file mode 100644 index 00000000000..a5af7edc4fa --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kwidgetsaddons.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-only AND LGPL-2.1-only AND Unicode-DFS-2016 +license_expression: gpl-2.0 AND lgpl-2.1 AND unicode-dfs-2016 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kwindowsystem.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kwindowsystem.yml new file mode 100644 index 00000000000..9ebbe2d67b0 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-kwindowsystem.yml @@ -0,0 +1,2 @@ +declared_license: MIT AND (LGPL-2.1-only OR LGPL-3.0-only +license_expression: mit AND (lgpl-2.1 OR lgpl-3.0) diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-lasem.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-lasem.yml new file mode 100644 index 00000000000..1c585e3c57e --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-lasem.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0 GPL-2.0 +license_expression: lgpl-2.0 AND gpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ldc.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ldc.yml new file mode 100644 index 00000000000..923c9874509 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ldc.yml @@ -0,0 +1,4 @@ +declared_license: BSD-3-Clause AND BSL-1.0 AND ( Artistic-1.0 OR GPL-2.0-or-later ) AND NCSA + AND MIT +license_expression: bsd-new AND boost-1.0 AND (artistic-1.0 OR gpl-2.0-plus) AND uoi-ncsa AND + mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libcaca.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libcaca.yml new file mode 100644 index 00000000000..76fd63cb8c7 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libcaca.yml @@ -0,0 +1,2 @@ +declared_license: WTFPL +license_expression: wtfpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libcdio-paranoia.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libcdio-paranoia.yml new file mode 100644 index 00000000000..af59e66c6dd --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libcdio-paranoia.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later and LGPL-2.0-or-later +license_expression: gpl-2.0-plus AND lgpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libcmis.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libcmis.yml new file mode 100644 index 00000000000..1a2f3aaf29c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libcmis.yml @@ -0,0 +1,2 @@ +declared_license: MPL-1.1 GPL-2.0-or-later LGPL-2.0-or-later +license_expression: mpl-1.1 AND gpl-2.0-plus AND lgpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libdbusmenu-glib.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libdbusmenu-glib.yml new file mode 100644 index 00000000000..3be3c2585ab --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libdbusmenu-glib.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-or-later AND LGPL-2.1-or-later AND LGPL-3.0-or-later +license_expression: gpl-3.0-plus AND lgpl-2.1-plus AND lgpl-3.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libetpan.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libetpan.yml new file mode 100644 index 00000000000..adc8fbf084a --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libetpan.yml @@ -0,0 +1,2 @@ +declared_license: custom:etpan +license_expression: unknown-license-reference diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libftdi1.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libftdi1.yml new file mode 100644 index 00000000000..032a86f8d55 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libftdi1.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-or-later AND GPL-2.0-only +license_expression: lgpl-2.1-plus AND gpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libgit2-1.0.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libgit2-1.0.yml new file mode 100644 index 00000000000..162a38ca214 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libgit2-1.0.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-only WITH GCC-exception-2.0 +license_expression: gpl-2.0 WITH gcc-linking-exception-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libkdegames.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libkdegames.yml new file mode 100644 index 00000000000..9cef65f0d06 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libkdegames.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0-only AND GFDL-1.2-only +license_expression: lgpl-2.0 AND gfdl-1.2 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libkdepim.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libkdepim.yml new file mode 100644 index 00000000000..fe23e028b69 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libkdepim.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND LGPL-2.0-or-later +license_expression: gpl-2.0-plus AND lgpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libkscreen.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libkscreen.yml new file mode 100644 index 00000000000..b8fc4adccf7 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libkscreen.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-or-later AND GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only) +license_expression: lgpl-2.1-plus AND gpl-2.0-plus AND (gpl-2.0 OR gpl-3.0) diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libksysguard.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libksysguard.yml new file mode 100644 index 00000000000..adcc3a0bd7a --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libksysguard.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-or-later AND (GPL-2.0-only OR GPL-3.0-only) +license_expression: lgpl-2.1-plus AND (gpl-2.0 OR gpl-3.0) diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-liblangtag.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-liblangtag.yml new file mode 100644 index 00000000000..6ab39af7f19 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-liblangtag.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-3.0-or-later OR MPL-2.0 +license_expression: lgpl-3.0-plus OR mpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libmaa.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libmaa.yml new file mode 100644 index 00000000000..0b8de2bb88e --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libmaa.yml @@ -0,0 +1,2 @@ +declared_license: GPL-1.0-or-later AND LGPL-2.0-or-later +license_expression: gpl-1.0-plus AND lgpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libmarisa.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libmarisa.yml new file mode 100644 index 00000000000..c5d59f35c02 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libmarisa.yml @@ -0,0 +1,2 @@ +declared_license: BSD-2-Clause OR LGPL-2.1-or-later +license_expression: bsd-simplified OR lgpl-2.1-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libmikmod.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libmikmod.yml new file mode 100644 index 00000000000..f6083beb172 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libmikmod.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0-or-later AND LGPL-2.1-or-later +license_expression: lgpl-2.0-plus AND lgpl-2.1-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libnice.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libnice.yml new file mode 100644 index 00000000000..23329bbf34e --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libnice.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-or-later AND MPL-1.1 +license_expression: lgpl-2.1-plus AND mpl-1.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libqaccessibilityclient.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libqaccessibilityclient.yml new file mode 100644 index 00000000000..3840b377d24 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libqaccessibilityclient.yml @@ -0,0 +1,2 @@ +declared_license: LicenseRef-KDE-Accepted-LGPL AND LGPL-2.1-only AND LGPL-3.0-only +license_expression: kde-accepted-lgpl AND lgpl-2.1 AND lgpl-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libraw.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libraw.yml new file mode 100644 index 00000000000..34eab0f0387 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libraw.yml @@ -0,0 +1,2 @@ +declared_license: CDDL-1.0 OR LGPL-2.1-only +license_expression: cddl-1.0 OR lgpl-2.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libresource.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libresource.yml new file mode 100644 index 00000000000..f0765b266f4 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libresource.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-only AND (AFL-2.1 OR GPL-2.0-or-later) +license_expression: lgpl-2.1 AND (afl-2.1 OR gpl-2.0-plus) diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libretro-beetle-lynx.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libretro-beetle-lynx.yml new file mode 100644 index 00000000000..e86ae66a83b --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libretro-beetle-lynx.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-only AND Zlib +license_expression: gpl-2.0 AND zlib diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-librtas.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-librtas.yml new file mode 100644 index 00000000000..8e421d4dc3d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-librtas.yml @@ -0,0 +1,2 @@ +declared_license: LGPL +license_expression: lgpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libsailfishkeyprovider.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libsailfishkeyprovider.yml new file mode 100644 index 00000000000..b4a0027e4fa --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libsailfishkeyprovider.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-only +license_expression: lgpl-2.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libsmbios.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libsmbios.yml new file mode 100644 index 00000000000..ff29c388ac1 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libsmbios.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND OSL-2.1 +license_expression: gpl-2.0-plus AND osl-2.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libspatialite.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libspatialite.yml new file mode 100644 index 00000000000..eaa06efd488 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libspatialite.yml @@ -0,0 +1,2 @@ +declared_license: MPL-1.1 +license_expression: mpl-1.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libssh.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libssh.yml new file mode 100644 index 00000000000..6fadd358ef0 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libssh.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-or-later BSD-2-Clause +license_expression: lgpl-2.1-plus AND bsd-simplified diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libwpg.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libwpg.yml new file mode 100644 index 00000000000..c0c017c9d10 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-libwpg.yml @@ -0,0 +1,2 @@ +declared_license: MPL-2.0 LGPL-2.1-or-later +license_expression: mpl-2.0 AND lgpl-2.1-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-lua-resty-openidc.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-lua-resty-openidc.yml new file mode 100644 index 00000000000..232bb749ba1 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-lua-resty-openidc.yml @@ -0,0 +1,2 @@ +declared_license: BSD2 +license_expression: bsd-simplified diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-lua-toml.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-lua-toml.yml new file mode 100644 index 00000000000..6976e53fb58 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-lua-toml.yml @@ -0,0 +1,2 @@ +declared_license: Happy +license_expression: mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-lucene++.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-lucene++.yml new file mode 100644 index 00000000000..08d6bdb391d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-lucene++.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-3.0-or-later OR Apache-2.0 +license_expression: lgpl-3.0-plus OR apache-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-maliit-keyboard.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-maliit-keyboard.yml new file mode 100644 index 00000000000..8335dcc7131 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-maliit-keyboard.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-3.0-only AND BSD-3-Clause AND CC-BY-SA-3.0 +license_expression: lgpl-3.0 AND bsd-new AND cc-by-sa-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-marble.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-marble.yml new file mode 100644 index 00000000000..f20b870ad5d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-marble.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-or-later AND GPL-3.0-or-later +license_expression: lgpl-2.1-plus AND gpl-3.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-mate-indicator-applet.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-mate-indicator-applet.yml new file mode 100644 index 00000000000..57eea32a2ba --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-mate-indicator-applet.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-or-later AND LGPL-2.1-or-later +license_expression: gpl-3.0-plus AND lgpl-2.1-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-mate-user-guide.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-mate-user-guide.yml new file mode 100644 index 00000000000..3d5fb66214f --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-mate-user-guide.yml @@ -0,0 +1,2 @@ +declared_license: GFDL-1.1 +license_expression: gfdl-1.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-menu-cache.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-menu-cache.yml new file mode 100644 index 00000000000..4a800eaa312 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-menu-cache.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0+ +license_expression: gpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-messagelib.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-messagelib.yml new file mode 100644 index 00000000000..4dbd05d8cab --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-messagelib.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0-only OR LGPL-3.0-only AND GPL-2.0-or-later +license_expression: lgpl-2.0 OR (lgpl-3.0 AND gpl-2.0-plus) diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-milou.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-milou.yml new file mode 100644 index 00000000000..d9a20887684 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-milou.yml @@ -0,0 +1,3 @@ +declared_license: GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR + LGPL-3.0-only) +license_expression: gpl-2.0-plus AND (gpl-2.0 OR gpl-3.0) AND (lgpl-2.1 OR lgpl-3.0) diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-mimic1.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-mimic1.yml new file mode 100644 index 00000000000..a9ada1a4087 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-mimic1.yml @@ -0,0 +1,3 @@ +declared_license: MIT AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND Apache-2.0 AND + CDLA-Permissive-1.0 +license_expression: mit AND bsd-simplified AND bsd-new AND bsd-original AND apache-2.0 AND cdla-permissive-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-minetest.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-minetest.yml new file mode 100644 index 00000000000..04a7686e584 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-minetest.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-or-later AND CC-BY-SA-3.0 +license_expression: lgpl-2.1-plus AND cc-by-sa-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-mingw-w64-headers-bootstrap.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-mingw-w64-headers-bootstrap.yml new file mode 100644 index 00000000000..138dbd11026 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-mingw-w64-headers-bootstrap.yml @@ -0,0 +1,2 @@ +declared_license: none +license_expression: unknown diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-minidlna.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-minidlna.yml new file mode 100644 index 00000000000..f53f8f5ad5e --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-minidlna.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND BSD-3-Clause +license_expression: gpl-2.0-plus AND bsd-new diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-mlt.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-mlt.yml new file mode 100644 index 00000000000..2eab8870442 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-mlt.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND LGPL-2.1-or-later AND GPL-3.0-or-later +license_expression: gpl-2.0-plus AND lgpl-2.1-plus AND gpl-3.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-moarvm.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-moarvm.yml new file mode 100644 index 00000000000..d3b76682d65 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-moarvm.yml @@ -0,0 +1,2 @@ +declared_license: Artistic-2.0 +license_expression: artistic-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-mtex2mml.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-mtex2mml.yml new file mode 100644 index 00000000000..6f01168edf2 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-mtex2mml.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0 MPL-2.0 LGPL-2.1 +license_expression: gpl-2.0 AND mpl-2.0 AND lgpl-2.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-mycroft-plasmoid.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-mycroft-plasmoid.yml new file mode 100644 index 00000000000..0957ef6e83a --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-mycroft-plasmoid.yml @@ -0,0 +1,2 @@ +declared_license: Apache-2.0 AND LGPL-2.0-or-later AND LicenseRef-KDE-Accepted-GPL +license_expression: apache-2.0 AND lgpl-2.0-plus AND kde-accepted-gpl diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-mypaint-brushes.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-mypaint-brushes.yml new file mode 100644 index 00000000000..2461a3ce53e --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-mypaint-brushes.yml @@ -0,0 +1,2 @@ +declared_license: CC0-1.0 +license_expression: cc0-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-mythes.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-mythes.yml new file mode 100644 index 00000000000..3a4cc4512a3 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-mythes.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later LGPL-2.0-or-later MPL-1.1 +license_expression: gpl-2.0-plus AND lgpl-2.0-plus AND mpl-1.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ndctl.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ndctl.yml new file mode 100644 index 00000000000..8c159dbdbdc --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ndctl.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-only LGPL-2.1-only +license_expression: gpl-2.0 AND lgpl-2.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-nemo-qml-plugin-dbus.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-nemo-qml-plugin-dbus.yml new file mode 100644 index 00000000000..bcaee0cabcd --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-nemo-qml-plugin-dbus.yml @@ -0,0 +1,2 @@ +declared_license: BSD-3-Clause AND LGPL-2.1-only +license_expression: bsd-new AND lgpl-2.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-neochat.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-neochat.yml new file mode 100644 index 00000000000..4ef361d82e6 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-neochat.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND GPL-3.0-only AND GPL-3.0-or-later AND BSD-2-Clause +license_expression: gpl-2.0-plus AND gpl-3.0 AND gpl-3.0-plus AND bsd-simplified diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-neovim.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-neovim.yml new file mode 100644 index 00000000000..a4e296dfe37 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-neovim.yml @@ -0,0 +1,2 @@ +declared_license: Apache-2.0 custom +license_expression: apache-2.0 AND unknown-license-reference diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-nethack.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-nethack.yml new file mode 100644 index 00000000000..345480b9a7c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-nethack.yml @@ -0,0 +1,2 @@ +declared_license: NGPL +license_expression: ngpl diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-newlib.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-newlib.yml new file mode 100644 index 00000000000..bb170f0feea --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-newlib.yml @@ -0,0 +1,3 @@ +declared_license: GPL-2.0-only AND LGPL-2.1-only AND 0BSD AND BSD-3-Clause AND GPL-3.0-only + AND LGPL-3.0-only +license_expression: gpl-2.0 AND lgpl-2.1 AND bsd-zero AND bsd-new AND gpl-3.0 AND lgpl-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-nextcloud.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-nextcloud.yml new file mode 100644 index 00000000000..fd6e48f2918 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-nextcloud.yml @@ -0,0 +1,2 @@ +declared_license: AGPL-3.0-only +license_expression: agpl-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ocaml.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ocaml.yml new file mode 100644 index 00000000000..3172c7fb926 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ocaml.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-or-later-WITH-linking-exception +license_expression: lgpl-2.1-plus WITH generic-exception diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ocamlbuild.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ocamlbuild.yml new file mode 100644 index 00000000000..c582691d64d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ocamlbuild.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0-or-later-WITH-linking-exception +license_expression: lgpl-2.0-plus WITH generic-exception diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-okteta.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-okteta.yml new file mode 100644 index 00000000000..17901fd53b9 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-okteta.yml @@ -0,0 +1,2 @@ +declared_license: (LGPL-2.1-only OR LGPL-3.0-only) AND (GPL-2.0-only OR GPL-3.0-only) AND GFDL-1.2-only +license_expression: (lgpl-2.1 OR lgpl-3.0) AND (gpl-2.0 OR gpl-3.0) AND gfdl-1.2 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-opendmarc.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-opendmarc.yml new file mode 100644 index 00000000000..3eb10d4e4a3 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-opendmarc.yml @@ -0,0 +1,2 @@ +declared_license: BSD-3-Clause Sendmail +license_expression: bsd-new AND sendmail diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-openipmi.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-openipmi.yml new file mode 100644 index 00000000000..9fb0f8292e7 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-openipmi.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0-or-later and GPL-2.0-or-later or BSD-3-Clause +license_expression: (lgpl-2.0-plus AND gpl-2.0-plus) OR bsd-new diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-openjdk7.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-openjdk7.yml new file mode 100644 index 00000000000..5a4150ae360 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-openjdk7.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0 with Classpath +license_expression: gpl-2.0 WITH classpath-exception-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-openjdk9.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-openjdk9.yml new file mode 100644 index 00000000000..83c772c5c06 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-openjdk9.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-with-classpath-exception +license_expression: classpath-exception-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-openlibm.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-openlibm.yml new file mode 100644 index 00000000000..e03c7e9bc86 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-openlibm.yml @@ -0,0 +1,2 @@ +declared_license: MIT AND BSD-2-Clause AND ISC AND LGPL-2.1-or-later +license_expression: mit AND bsd-simplified AND isc AND lgpl-2.1-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-openocd.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-openocd.yml new file mode 100644 index 00000000000..cf50bfc843d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-openocd.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-only,GPL-2.0-or-later,GPL-3.0-only +license_expression: gpl-2.0 AND gpl-2.0-plus AND gpl-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-openscenegraph.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-openscenegraph.yml new file mode 100644 index 00000000000..83ec35e03d4 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-openscenegraph.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-or-later +license_expression: lgpl-2.1-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-openspecfun.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-openspecfun.yml new file mode 100644 index 00000000000..fc061e0def1 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-openspecfun.yml @@ -0,0 +1,2 @@ +declared_license: MIT Public-Domain +license_expression: mit AND public-domain diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-openzwave.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-openzwave.yml new file mode 100644 index 00000000000..a695461ab8b --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-openzwave.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-3.0-or-later GPL-3.0-or-later Apache-2.0 +license_expression: lgpl-3.0-plus AND gpl-3.0-plus AND apache-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ospd-openvas.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ospd-openvas.yml new file mode 100644 index 00000000000..eb850e832d7 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ospd-openvas.yml @@ -0,0 +1,2 @@ +declared_license: AGPL-3.0-or-later +license_expression: agpl-3.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-outils.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-outils.yml new file mode 100644 index 00000000000..8491d8b5923 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-outils.yml @@ -0,0 +1,2 @@ +declared_license: BSD-3-Clause ISC +license_expression: bsd-new AND isc diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-paper-icon-theme.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-paper-icon-theme.yml new file mode 100644 index 00000000000..2e51e2e8ba1 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-paper-icon-theme.yml @@ -0,0 +1,2 @@ +declared_license: CC-BY-SA-4.0 +license_expression: cc-by-sa-4.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-anyevent-i3.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-anyevent-i3.yml new file mode 100644 index 00000000000..31a6daaf378 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-anyevent-i3.yml @@ -0,0 +1,2 @@ +declared_license: Artistic-1.0 GPL-1.0-only +license_expression: artistic-1.0 AND gpl-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-crypt-jwt.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-crypt-jwt.yml new file mode 100644 index 00000000000..97a74f3f7b9 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-crypt-jwt.yml @@ -0,0 +1,2 @@ +declared_license: GPL-1.0-or-later OR Artistic-1.0-Perl +license_expression: gpl-1.0-plus OR artistic-perl-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-curses.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-curses.yml new file mode 100644 index 00000000000..73d0e263508 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-curses.yml @@ -0,0 +1,2 @@ +declared_license: GPL-1.0-only +license_expression: gpl-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-email-mime.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-email-mime.yml new file mode 100644 index 00000000000..1cdbbf981f0 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-email-mime.yml @@ -0,0 +1,2 @@ +declared_license: GPL-1.0-or-later Artistic-1.0-Perl +license_expression: gpl-1.0-plus AND artistic-perl-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-font-ttf.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-font-ttf.yml new file mode 100644 index 00000000000..7281b48bb65 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-font-ttf.yml @@ -0,0 +1,2 @@ +declared_license: Artistic License 2.0 +license_expression: artistic-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-image-exiftool.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-image-exiftool.yml new file mode 100644 index 00000000000..49c6643a28d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-image-exiftool.yml @@ -0,0 +1,2 @@ +declared_license: Artistic-1.0-Perl GPL-1.0-or-later +license_expression: artistic-perl-1.0 AND gpl-1.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-iptables-chainmgr.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-iptables-chainmgr.yml new file mode 100644 index 00000000000..6720bc8c55b --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-iptables-chainmgr.yml @@ -0,0 +1,2 @@ +declared_license: Artistic-1.0 +license_expression: artistic-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-math-pari.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-math-pari.yml new file mode 100644 index 00000000000..f63dcc3578b --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-math-pari.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later OR Artistic-1.0-Perl +license_expression: gpl-2.0-plus OR artistic-perl-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-object-insideout.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-object-insideout.yml new file mode 100644 index 00000000000..3b1bc142699 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-object-insideout.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later OR Artistic-2.0 +license_expression: gpl-2.0-plus OR artistic-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-pdf-api2.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-pdf-api2.yml new file mode 100644 index 00000000000..a5271e4f3a4 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-pdf-api2.yml @@ -0,0 +1,2 @@ +declared_license: lgpl_2_1 +license_expression: lgpl-2.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-spreadsheet-parseexcel.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-spreadsheet-parseexcel.yml new file mode 100644 index 00000000000..3237bcd8cb4 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-spreadsheet-parseexcel.yml @@ -0,0 +1,2 @@ +declared_license: GPL PerlArtistic +license_expression: gpl-1.0-plus AND artistic-perl-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-sys-meminfo.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-sys-meminfo.yml new file mode 100644 index 00000000000..640fb9f6954 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-sys-meminfo.yml @@ -0,0 +1,2 @@ +declared_license: Perl +license_expression: gpl-1.0-plus OR artistic-perl-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-test-command.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-test-command.yml new file mode 100644 index 00000000000..24259db18c8 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-test-command.yml @@ -0,0 +1,2 @@ +declared_license: Artistic-Perl OR GPL-1.0-or-later +license_expression: artistic-perl-1.0 OR gpl-1.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-text-quoted.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-text-quoted.yml new file mode 100644 index 00000000000..48945bde5fa --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-text-quoted.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0 or Artistic +license_expression: gpl-2.0 OR artistic-perl-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-xml-writer.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-xml-writer.yml new file mode 100644 index 00000000000..77d3f0591ec --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-perl-xml-writer.yml @@ -0,0 +1,2 @@ +declared_license: PerlArtistic +license_expression: artistic-perl-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-peruse.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-peruse.yml new file mode 100644 index 00000000000..82300790180 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-peruse.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-or-later AND LicenseRef-KDE-Accepted-LGPL +license_expression: lgpl-2.1-plus AND kde-accepted-lgpl diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-pev.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-pev.yml new file mode 100644 index 00000000000..2c67bb5f84c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-pev.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND MIT AND BSD-2-Clause +license_expression: gpl-2.0-plus AND mit AND bsd-simplified diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-php7-pecl-redis.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-php7-pecl-redis.yml new file mode 100644 index 00000000000..36baf6c1921 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-php7-pecl-redis.yml @@ -0,0 +1,2 @@ +declared_license: PHP-3.01 +license_expression: php-3.01 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-php7-pecl-xdebug.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-php7-pecl-xdebug.yml new file mode 100644 index 00000000000..9f94cda9955 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-php7-pecl-xdebug.yml @@ -0,0 +1,2 @@ +declared_license: PHP-3.0 +license_expression: php-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-php8.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-php8.yml new file mode 100644 index 00000000000..c454f462f2a --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-php8.yml @@ -0,0 +1,2 @@ +declared_license: PHP-3.01 BSD-3-Clause LGPL-2.0-or-later MIT Zend-2.0 +license_expression: php-3.01 AND bsd-new AND lgpl-2.0-plus AND mit AND zend-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-phpmyadmin.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-phpmyadmin.yml new file mode 100644 index 00000000000..cc93f857b2a --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-phpmyadmin.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-only AND MIT AND BSD-2-Clause +license_expression: gpl-2.0 AND mit AND bsd-simplified diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-picom.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-picom.yml new file mode 100644 index 00000000000..daf4944fd30 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-picom.yml @@ -0,0 +1,2 @@ +declared_license: MIT AND MPL-2.0 +license_expression: mit AND mpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-plasma-bigscreen.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-plasma-bigscreen.yml new file mode 100644 index 00000000000..1c043830a52 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-plasma-bigscreen.yml @@ -0,0 +1,2 @@ +declared_license: Apache-2.0 AND LGPL-2.0-only AND LGPL-2.1-only AND GPL-2.0-only +license_expression: apache-2.0 AND lgpl-2.0 AND lgpl-2.1 AND gpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-plasma-camera.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-plasma-camera.yml new file mode 100644 index 00000000000..d2647bc3de5 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-plasma-camera.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-or-later AND BSD-3-Clause +license_expression: gpl-3.0-plus AND bsd-new diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-plasma-integration.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-plasma-integration.yml new file mode 100644 index 00000000000..110306f188d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-plasma-integration.yml @@ -0,0 +1,4 @@ +declared_license: (LGPL-2.1-only OR LGPL-3.0-only) AND LGPL-2.1-only AND ((LGPL-2.1-only WITH + Nokia-Qt-exception-1.1) OR (GPL-3.0-only WITH Nokia-Qt-exception-1.1)) +license_expression: (lgpl-2.1 OR lgpl-3.0) AND lgpl-2.1 AND (lgpl-2.1 WITH qt-lgpl-exception-1.1 + OR gpl-3.0 WITH qt-lgpl-exception-1.1) diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-plasma-nm.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-plasma-nm.yml new file mode 100644 index 00000000000..96d2d708140 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-plasma-nm.yml @@ -0,0 +1,2 @@ +declared_license: (LGPL-2.1-only OR LGPL-3.0-only) AND LGPL-2.0-or-later +license_expression: (lgpl-2.1 OR lgpl-3.0) AND lgpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-plasma-pa.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-plasma-pa.yml new file mode 100644 index 00000000000..70e56b23ba3 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-plasma-pa.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-only OR LGPL-3.0-only AND GPL-2.0-only +license_expression: lgpl-2.1 OR (lgpl-3.0 AND gpl-2.0) diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-plasma-systemmonitor.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-plasma-systemmonitor.yml new file mode 100644 index 00000000000..5a97b72bd90 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-plasma-systemmonitor.yml @@ -0,0 +1,2 @@ +declared_license: LicenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL AND CC0-1.0 +license_expression: kde-accepted-gpl AND kde-accepted-lgpl AND cc0-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-plasma-vault.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-plasma-vault.yml new file mode 100644 index 00000000000..5a2166ec708 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-plasma-vault.yml @@ -0,0 +1,2 @@ +declared_license: (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only AND LGPL-3.0-only) +license_expression: (gpl-2.0 OR gpl-3.0) AND (lgpl-2.1 AND lgpl-3.0) diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-plasma-wayland-protocols.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-plasma-wayland-protocols.yml new file mode 100644 index 00000000000..66c94c763fd --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-plasma-wayland-protocols.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only) AND LGPL-2.1-only +license_expression: gpl-2.0-plus AND (gpl-2.0 OR gpl-3.0) AND lgpl-2.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-plasma-workspace.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-plasma-workspace.yml new file mode 100644 index 00000000000..862bddda7eb --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-plasma-workspace.yml @@ -0,0 +1,4 @@ +declared_license: (GPL-2.0-only OR GPL-3.0-only) AND LGPL-2.1-or-later AND GPL-2.0-or-later + AND MIT AND LGPL-2.1-only AND LGPL-2.0-or-later AND (LGPL-2.1-only OR LGPL-3.0-only) AND LGPL-2.0-only +license_expression: (gpl-2.0 OR gpl-3.0) AND lgpl-2.1-plus AND gpl-2.0-plus AND mit AND lgpl-2.1 + AND lgpl-2.0-plus AND (lgpl-2.1 OR lgpl-3.0) AND lgpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-poppler-data.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-poppler-data.yml new file mode 100644 index 00000000000..62b8210e0ef --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-poppler-data.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND BSD-3-Clause AND MIT +license_expression: gpl-2.0-plus AND bsd-new AND mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-postgresql-hypopg.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-postgresql-hypopg.yml new file mode 100644 index 00000000000..6e708176f4b --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-postgresql-hypopg.yml @@ -0,0 +1,2 @@ +declared_license: PostgreSQL +license_expression: postgresql diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-postsrsd.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-postsrsd.yml new file mode 100644 index 00000000000..c2422d0ccaf --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-postsrsd.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND ( GPL-2.0-only OR BSD-3-Clause ) +license_expression: gpl-2.0-plus AND (gpl-2.0 OR bsd-new) diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-adblock.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-adblock.yml new file mode 100644 index 00000000000..b8140ec0698 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-adblock.yml @@ -0,0 +1,2 @@ +declared_license: Apache-2.0 MIT +license_expression: apache-2.0 AND mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-asn1-modules.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-asn1-modules.yml new file mode 100644 index 00000000000..4219abb35e4 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-asn1-modules.yml @@ -0,0 +1,2 @@ +declared_license: BSD-2-Clause +license_expression: bsd-simplified diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-astor.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-astor.yml new file mode 100644 index 00000000000..f6d28eff8c6 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-astor.yml @@ -0,0 +1,2 @@ +declared_license: BSD-3-Clause-Clear +license_expression: clear-bsd diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-cloudpickle.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-cloudpickle.yml new file mode 100644 index 00000000000..19945b32afe --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-cloudpickle.yml @@ -0,0 +1,2 @@ +declared_license: BSD-3-Clause +license_expression: bsd-new diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-contextlib2.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-contextlib2.yml new file mode 100644 index 00000000000..0e19e46392a --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-contextlib2.yml @@ -0,0 +1,2 @@ +declared_license: PSF-2.0 +license_expression: psf-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-curl.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-curl.yml new file mode 100644 index 00000000000..0312ef69bcd --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-curl.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0-or-later MIT +license_expression: lgpl-2.0-plus AND mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-cx_freeze.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-cx_freeze.yml new file mode 100644 index 00000000000..46f393c081c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-cx_freeze.yml @@ -0,0 +1,2 @@ +declared_license: PSF +license_expression: psf-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-dateutil.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-dateutil.yml new file mode 100644 index 00000000000..47233dc8acc --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-dateutil.yml @@ -0,0 +1,2 @@ +declared_license: Apache-2.0 AND BSD-3-Clause +license_expression: apache-2.0 AND bsd-new diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-django-pipeline.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-django-pipeline.yml new file mode 100644 index 00000000000..2adf704fb85 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-django-pipeline.yml @@ -0,0 +1,2 @@ +declared_license: JSON +license_expression: json diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-dulwich.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-dulwich.yml new file mode 100644 index 00000000000..9fd598d4317 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-dulwich.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later OR Apache-2.0 +license_expression: gpl-2.0-plus OR apache-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-fido2.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-fido2.yml new file mode 100644 index 00000000000..ea383e7e636 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-fido2.yml @@ -0,0 +1,2 @@ +declared_license: BSD-2-Clause AND Apache-2.0 AND MPL-2.0 +license_expression: bsd-simplified AND apache-2.0 AND mpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-fonttools.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-fonttools.yml new file mode 100644 index 00000000000..42ed7c934cf --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-fonttools.yml @@ -0,0 +1,2 @@ +declared_license: MIT AND OFL-1.1 +license_expression: mit AND ofl-1.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-func-timeout.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-func-timeout.yml new file mode 100644 index 00000000000..cbb99147227 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-func-timeout.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-3.0-only +license_expression: lgpl-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-humanhash3.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-humanhash3.yml new file mode 100644 index 00000000000..483b73fed43 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-humanhash3.yml @@ -0,0 +1,2 @@ +declared_license: Unlicense +license_expression: unlicense diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-ipaddr.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-ipaddr.yml new file mode 100644 index 00000000000..701c6a375ef --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-ipaddr.yml @@ -0,0 +1,2 @@ +declared_license: Apache-2.0 PSF +license_expression: apache-2.0 AND psf-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-kiwisolver.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-kiwisolver.yml new file mode 100644 index 00000000000..4cd850cf8e3 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-kiwisolver.yml @@ -0,0 +1,2 @@ +declared_license: BSD-3-Clause-Attribution +license_expression: bsd-ack diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-lmdb.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-lmdb.yml new file mode 100644 index 00000000000..7290200637a --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-lmdb.yml @@ -0,0 +1,2 @@ +declared_license: OLDAP-2.8 +license_expression: openldap-2.8 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-lxml.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-lxml.yml new file mode 100644 index 00000000000..61c4129925c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-lxml.yml @@ -0,0 +1,2 @@ +declared_license: BSD-3-Clause AND ZPL-2.0 AND ElementTree +license_expression: bsd-new AND zpl-2.0 AND (secret-labs-2011 AND bsd-new) diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-paho-mqtt.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-paho-mqtt.yml new file mode 100644 index 00000000000..a93892c857f --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-paho-mqtt.yml @@ -0,0 +1,2 @@ +declared_license: EPL-1.0 +license_expression: epl-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-pycryptodome.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-pycryptodome.yml new file mode 100644 index 00000000000..1c2eed21742 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-pycryptodome.yml @@ -0,0 +1,2 @@ +declared_license: BSD-2-Clause Unlicense +license_expression: bsd-simplified AND unlicense diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-pygit2.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-pygit2.yml new file mode 100644 index 00000000000..7bade7d80dd --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-pygit2.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0 WITH GCC-exception-2.0 +license_expression: gpl-2.0 WITH gcc-linking-exception-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-pyldap.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-pyldap.yml new file mode 100644 index 00000000000..10cb2f0562e --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-pyldap.yml @@ -0,0 +1,2 @@ +declared_license: Python-2.0 +license_expression: python diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-pyphen.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-pyphen.yml new file mode 100644 index 00000000000..ab8fb156459 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-pyphen.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND LGPL-2.1-or-later AND MPL-1.1 +license_expression: gpl-2.0-plus AND lgpl-2.1-plus AND mpl-1.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-pyside2.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-pyside2.yml new file mode 100644 index 00000000000..0d1c6f68ca6 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-pyside2.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-3.0-only AND GPL-2.0-only +license_expression: lgpl-3.0 AND gpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-pytest-trio.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-pytest-trio.yml new file mode 100644 index 00000000000..0dbf894ae20 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-pytest-trio.yml @@ -0,0 +1,2 @@ +declared_license: MIT OR Apache-2.0 +license_expression: mit OR apache-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-pyzmq.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-pyzmq.yml new file mode 100644 index 00000000000..5920fe5ea13 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-pyzmq.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-3.0-or-later AND BSD-3-Clause +license_expression: lgpl-3.0-plus AND bsd-new diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-regex.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-regex.yml new file mode 100644 index 00000000000..328196e1e2d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-regex.yml @@ -0,0 +1,2 @@ +declared_license: CNRI-Python +license_expression: cnri-python-1.6 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-simpleparse.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-simpleparse.yml new file mode 100644 index 00000000000..17b7972346e --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-simpleparse.yml @@ -0,0 +1,2 @@ +declared_license: eGenix ISC +license_expression: egenix-1.1.0 AND isc diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-sip.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-sip.yml new file mode 100644 index 00000000000..ed72728626d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-sip.yml @@ -0,0 +1,2 @@ +declared_license: custom:sip +license_expression: unknown-license-reference diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-sparqlwrapper.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-sparqlwrapper.yml new file mode 100644 index 00000000000..053fc0ba7aa --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-sparqlwrapper.yml @@ -0,0 +1,2 @@ +declared_license: W3C +license_expression: w3c diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-speechrecognition.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-speechrecognition.yml new file mode 100644 index 00000000000..a118d522666 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-speechrecognition.yml @@ -0,0 +1,2 @@ +declared_license: BSD-3-Clause AND GPL-2.0-only +license_expression: bsd-new AND gpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-testrepository.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-testrepository.yml new file mode 100644 index 00000000000..4b6388964ed --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-testrepository.yml @@ -0,0 +1,2 @@ +declared_license: Apache-2.0 OR BSD-3-Clause +license_expression: apache-2.0 OR bsd-new diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-text-unidecode.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-text-unidecode.yml new file mode 100644 index 00000000000..2e3fc9744cf --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-text-unidecode.yml @@ -0,0 +1,2 @@ +declared_license: Artistic-1.0-cl8 +license_expression: artistic-1.0-cl8 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-trustme.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-trustme.yml new file mode 100644 index 00000000000..32a16f826f2 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-trustme.yml @@ -0,0 +1,2 @@ +declared_license: Apache-2.0 OR MIT +license_expression: apache-2.0 OR mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-uritemplate.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-uritemplate.yml new file mode 100644 index 00000000000..218189f8cac --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-uritemplate.yml @@ -0,0 +1,2 @@ +declared_license: BSD-3-Clause OR Apache-2.0 +license_expression: bsd-new OR apache-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-zabbix.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-zabbix.yml new file mode 100644 index 00000000000..91838035cd5 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-zabbix.yml @@ -0,0 +1,2 @@ +declared_license: LGPL 2.1 +license_expression: lgpl-2.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-zope-testing.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-zope-testing.yml new file mode 100644 index 00000000000..a1a1b99003b --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-py3-zope-testing.yml @@ -0,0 +1,2 @@ +declared_license: ZPL-2.1 +license_expression: zpl-2.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qbs.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qbs.yml new file mode 100644 index 00000000000..a454951cdac --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qbs.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-or-later WITH Qt-LGPL-exception-1.1 +license_expression: lgpl-2.1-plus WITH qt-lgpl-exception-1.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qemu.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qemu.yml new file mode 100644 index 00000000000..4972574788c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qemu.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0 LGPL-2 +license_expression: gpl-2.0 AND lgpl-2.0-plus AND lgpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qpage.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qpage.yml new file mode 100644 index 00000000000..c9e3e3e850d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qpage.yml @@ -0,0 +1,2 @@ +declared_license: Custom +license_expression: unknown-license-reference diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qqc2-breeze-style.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qqc2-breeze-style.yml new file mode 100644 index 00000000000..e569d7e2a8c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qqc2-breeze-style.yml @@ -0,0 +1,2 @@ +declared_license: LicenseRef-KDE-Accepted-LGPL AND LicenseRef-KFQF-Accepted-GPL +license_expression: kde-accepted-lgpl AND kfqf-accepted-gpl diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qqc2-desktop-style.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qqc2-desktop-style.yml new file mode 100644 index 00000000000..f565066b97c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qqc2-desktop-style.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-3.0-only AND (GPL-2.0-only OR GPL-3.0-only) +license_expression: lgpl-3.0 AND (gpl-2.0 OR gpl-3.0) diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qrupdate.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qrupdate.yml new file mode 100644 index 00000000000..61503ecb39b --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qrupdate.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-only +license_expression: gpl-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qt5-qtconnectivity.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qt5-qtconnectivity.yml new file mode 100644 index 00000000000..052f1cbf40a --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qt5-qtconnectivity.yml @@ -0,0 +1,2 @@ +declared_license: (LGPL-2.0-or-later OR GPL-3.0-only OR GPL-2.0-or-later) AND Qt-GPL-exception-1.0 +license_expression: (lgpl-2.0-plus OR gpl-3.0 OR gpl-2.0-plus) AND qt-gpl-exception-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qt5-qttools.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qt5-qttools.yml new file mode 100644 index 00000000000..76e6c8a1d73 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qt5-qttools.yml @@ -0,0 +1,4 @@ +declared_license: (LGPL-2.0-or-later OR GPL-3.0-only OR GPL-2.0-or-later) AND Qt-GPL-exception-1.0 + AND GFDL-1.3-or-later +license_expression: (lgpl-2.0-plus OR gpl-3.0 OR gpl-2.0-plus) AND qt-gpl-exception-1.0 AND + gfdl-1.3-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qt5-qttranslations.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qt5-qttranslations.yml new file mode 100644 index 00000000000..ebd3bcb89b6 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qt5-qttranslations.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-only AND Qt-GPL-exception-1.0 +license_expression: gpl-3.0 AND qt-gpl-exception-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qt5-qtwebview.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qt5-qtwebview.yml new file mode 100644 index 00000000000..d9e6ad76dbe --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qt5-qtwebview.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-3.0-only AND GPL-2.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0 +license_expression: lgpl-3.0 AND gpl-2.0 AND gpl-3.0 AND qt-gpl-exception-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qt5-qtx11extras.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qt5-qtx11extras.yml new file mode 100644 index 00000000000..882a82f540f --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qt5-qtx11extras.yml @@ -0,0 +1,2 @@ +declared_license: (LGPL-3.0-or-later OR GPL-3.0-only OR GPL-2.0-or-later) AND Qt-GPL-exception-1.0 +license_expression: (lgpl-3.0-plus OR gpl-3.0 OR gpl-2.0-plus) AND qt-gpl-exception-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qt6-qt5compat.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qt6-qt5compat.yml new file mode 100644 index 00000000000..ec8d70c5924 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qt6-qt5compat.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0 +license_expression: lgpl-2.1 AND lgpl-3.0 AND gpl-3.0 AND qt-gpl-exception-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qtchooser.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qtchooser.yml new file mode 100644 index 00000000000..31691497385 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qtchooser.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-only OR LGPL-2.1-only +license_expression: gpl-3.0 OR lgpl-2.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qtquickcontrols-nemo.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qtquickcontrols-nemo.yml new file mode 100644 index 00000000000..c481921a37d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-qtquickcontrols-nemo.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-only AND Apache-2.0 +license_expression: lgpl-2.1 AND apache-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-quazip.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-quazip.yml new file mode 100644 index 00000000000..1bb1fdf5b10 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-quazip.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-or-later WITH custom-static-linking-exception +license_expression: lgpl-2.1-plus WITH generic-exception diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-r.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-r.yml new file mode 100644 index 00000000000..b2cb838953c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-r.yml @@ -0,0 +1,2 @@ +declared_license: (GPL-2.0-only OR GPL-3.0-only) AND LGPL-2.1-or-later +license_expression: (gpl-2.0 OR gpl-3.0) AND lgpl-2.1-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-racktables.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-racktables.yml new file mode 100644 index 00000000000..8a6ec81b36c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-racktables.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-only BSD-3-Clause MIT CC-BY-SA-3.0 Custom +license_expression: gpl-2.0 AND bsd-new AND mit AND cc-by-sa-3.0 AND unknown-license-reference diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-rancid.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-rancid.yml new file mode 100644 index 00000000000..80e9946d2bd --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-rancid.yml @@ -0,0 +1,2 @@ +declared_license: BSD-3-Clause-No-Nuclear-License-2014 +license_expression: oracle-bsd-no-nuclear diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-range-v3.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-range-v3.yml new file mode 100644 index 00000000000..e156b285ed1 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-range-v3.yml @@ -0,0 +1,2 @@ +declared_license: BSL-1.0 +license_expression: boost-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-rattlesnake.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-rattlesnake.yml new file mode 100644 index 00000000000..34274562242 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-rattlesnake.yml @@ -0,0 +1,2 @@ +declared_license: LicenseRef-KDE-Accepted-GPL +license_expression: kde-accepted-gpl diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-retroarch-assets.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-retroarch-assets.yml new file mode 100644 index 00000000000..e4644e1d96a --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-retroarch-assets.yml @@ -0,0 +1,2 @@ +declared_license: CC-BY-4.0 +license_expression: cc-by-4.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ripgrep.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ripgrep.yml new file mode 100644 index 00000000000..35db663da99 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ripgrep.yml @@ -0,0 +1,2 @@ +declared_license: MIT OR Public-Domain +license_expression: mit OR public-domain diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-rocs.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-rocs.yml new file mode 100644 index 00000000000..ce9ca14b634 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-rocs.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND (LGPL-2.1-only OR LGPL-3.0-only) AND GFDL-1.2-only +license_expression: gpl-2.0-plus AND (lgpl-2.1 OR lgpl-3.0) AND gfdl-1.2 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-rover.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-rover.yml new file mode 100644 index 00000000000..fa664976381 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-rover.yml @@ -0,0 +1,2 @@ +declared_license: Public-Domain +license_expression: public-domain diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-rpm.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-rpm.yml new file mode 100644 index 00000000000..d851b7748b6 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-rpm.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later LGPL-2.0-or-later +license_expression: gpl-2.0-plus AND lgpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-rspamd.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-rspamd.yml new file mode 100644 index 00000000000..899c1365887 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-rspamd.yml @@ -0,0 +1,4 @@ +declared_license: Apache-2.0 BSD-1-Clause BSD-2-Clause BSD-3-Clause CC0-1.0 LGPL-2.1-or-later + LGPL-3.0-only MIT Zlib +license_expression: apache-2.0 AND bsd-1-clause AND bsd-simplified AND bsd-new AND cc0-1.0 AND + lgpl-2.1-plus AND lgpl-3.0 AND mit AND zlib diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ruby-pg.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ruby-pg.yml new file mode 100644 index 00000000000..550445cf87c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ruby-pg.yml @@ -0,0 +1,2 @@ +declared_license: BSD-2-Clause PostgreSQL +license_expression: bsd-simplified AND postgresql diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-runit.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-runit.yml new file mode 100644 index 00000000000..c1d091af898 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-runit.yml @@ -0,0 +1,2 @@ +declared_license: BSD +license_expression: bsd-new diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-rust.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-rust.yml new file mode 100644 index 00000000000..c0b54d18ff3 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-rust.yml @@ -0,0 +1,2 @@ +declared_license: Apache-2.0 AND MIT +license_expression: apache-2.0 AND mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-rutorrent.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-rutorrent.yml new file mode 100644 index 00000000000..d478f591e1e --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-rutorrent.yml @@ -0,0 +1,2 @@ +declared_license: GPL +license_expression: gpl-1.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-sane.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-sane.yml new file mode 100644 index 00000000000..68a3234afed --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-sane.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later GPL-2.0-or-later-with-sane-exception Public-Domain +license_expression: gpl-2.0-plus AND gpl-2.0-plus WITH generic-exception AND public-domain diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-sddm-kcm.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-sddm-kcm.yml new file mode 100644 index 00000000000..b5728ea0341 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-sddm-kcm.yml @@ -0,0 +1,3 @@ +declared_license: GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only) AND LGPL-2.1-or-later + AND GPL-2.0-only +license_expression: gpl-2.0-plus AND (gpl-2.0 OR gpl-3.0) AND lgpl-2.1-plus AND gpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-sessreg.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-sessreg.yml new file mode 100644 index 00000000000..31fb979d0c3 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-sessreg.yml @@ -0,0 +1,2 @@ +declared_license: ICU +license_expression: x11 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-sfeed.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-sfeed.yml new file mode 100644 index 00000000000..ea8ed3b2c10 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-sfeed.yml @@ -0,0 +1,2 @@ +declared_license: ISC +license_expression: isc diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-sg3_utils.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-sg3_utils.yml new file mode 100644 index 00000000000..d3b8eef1c52 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-sg3_utils.yml @@ -0,0 +1,2 @@ +declared_license: BSD-2-Clause AND GPL-2.0-or-later +license_expression: bsd-simplified AND gpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-shotwell.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-shotwell.yml new file mode 100644 index 00000000000..dfe14b6773c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-shotwell.yml @@ -0,0 +1,2 @@ +declared_license: CC-BY-SA-3.0 AND LGPL-2.1-or-later +license_expression: cc-by-sa-3.0 AND lgpl-2.1-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-solid.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-solid.yml new file mode 100644 index 00000000000..b7a8c166eb3 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-solid.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-only OR LGPL-3.0-only +license_expression: lgpl-2.1 OR lgpl-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-sound-theme-freedesktop.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-sound-theme-freedesktop.yml new file mode 100644 index 00000000000..8f001ca1643 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-sound-theme-freedesktop.yml @@ -0,0 +1,2 @@ +declared_license: CC-BY-SA-3.0 AND GPL-2.0-or-later AND GPL-2.0-only AND CC-BY-3.0 +license_expression: cc-by-sa-3.0 AND gpl-2.0-plus AND gpl-2.0 AND cc-by-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-spacebar.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-spacebar.yml new file mode 100644 index 00000000000..01d8791907a --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-spacebar.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND LicenseRef-KDE-Accepted-GPL +license_expression: gpl-2.0-plus AND kde-accepted-gpl diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ssu-sysinfo.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ssu-sysinfo.yml new file mode 100644 index 00000000000..870f9409082 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ssu-sysinfo.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-or-later AND BSD-3-Clause +license_expression: lgpl-2.1-plus AND bsd-new diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-stunnel.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-stunnel.yml new file mode 100644 index 00000000000..2d6e72b4e8e --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-stunnel.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later with OpenSSL exception +license_expression: gpl-2.0-plus WITH openssl-exception-gpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-syndication.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-syndication.yml new file mode 100644 index 00000000000..e8b21c4e035 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-syndication.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0-or-later AND BSD-3-Clause +license_expression: lgpl-2.0-plus AND bsd-new diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-taglib.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-taglib.yml new file mode 100644 index 00000000000..902c9d61d45 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-taglib.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-only or MPL-1.1 +license_expression: lgpl-2.1 OR mpl-1.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-tango-icon-theme.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-tango-icon-theme.yml new file mode 100644 index 00000000000..f9c9b6a9290 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-tango-icon-theme.yml @@ -0,0 +1,2 @@ +declared_license: CC-BY-SA-2.5 +license_expression: cc-by-sa-2.5 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-telegram-desktop.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-telegram-desktop.yml new file mode 100644 index 00000000000..3e795f5fd04 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-telegram-desktop.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-or-later WITH OpenSSL +license_expression: gpl-3.0-plus WITH openssl-ssleay diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-texlive.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-texlive.yml new file mode 100644 index 00000000000..c6327ef8f9a --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-texlive.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND GPL-3.0-or-later +license_expression: gpl-2.0-plus AND gpl-3.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-texmf-dist.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-texmf-dist.yml new file mode 100644 index 00000000000..dcfd5217c8b --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-texmf-dist.yml @@ -0,0 +1,2 @@ +declared_license: LPPL-1.0 LPPL-1.1 LPPL-1.2 LPPL-1.3a LPPL-1.3c GPL-2.0-only +license_expression: lppl-1.0 AND lppl-1.1 AND lppl-1.2 AND lppl-1.3a AND lppl-1.3c AND gpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-thttpd.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-thttpd.yml new file mode 100644 index 00000000000..2f24e6ec2ed --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-thttpd.yml @@ -0,0 +1,2 @@ +declared_license: custom:BSD +license_expression: unknown-license-reference diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-thunar.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-thunar.yml new file mode 100644 index 00000000000..90f431455e6 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-thunar.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later LGPL-2.0-only +license_expression: gpl-2.0-plus AND lgpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-tinycompress.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-tinycompress.yml new file mode 100644 index 00000000000..81c2111dd9c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-tinycompress.yml @@ -0,0 +1,2 @@ +declared_license: BSD-3-Clause OR LGPL-2.1-only +license_expression: bsd-new OR lgpl-2.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-tokei.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-tokei.yml new file mode 100644 index 00000000000..1a45c28898a --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-tokei.yml @@ -0,0 +1,2 @@ +declared_license: MIT AND Apache-2.0 +license_expression: mit AND apache-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-tokodon.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-tokodon.yml new file mode 100644 index 00000000000..16a779af92b --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-tokodon.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-only AND CC0-1.0 +license_expression: gpl-3.0 AND cc0-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-transmission.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-transmission.yml new file mode 100644 index 00000000000..b2554184aa3 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-transmission.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND MIT +license_expression: gpl-2.0-plus AND mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ttf-font-awesome.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ttf-font-awesome.yml new file mode 100644 index 00000000000..2fa473f49de --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ttf-font-awesome.yml @@ -0,0 +1,2 @@ +declared_license: CC +license_expression: cc-by-3.0 AND free-unknown diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ttf-inconsolata.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ttf-inconsolata.yml new file mode 100644 index 00000000000..cb73cd38d8d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ttf-inconsolata.yml @@ -0,0 +1,2 @@ +declared_license: OFL +license_expression: ofl-1.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-tzdata-timed.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-tzdata-timed.yml new file mode 100644 index 00000000000..cd3cc466eb9 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-tzdata-timed.yml @@ -0,0 +1,2 @@ +declared_license: PDDL-1.0 +license_expression: pddl-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-uacme.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-uacme.yml new file mode 100644 index 00000000000..21afae33f16 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-uacme.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-or-later ISC MIT +license_expression: gpl-3.0-plus AND isc AND mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-unicode-character-database.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-unicode-character-database.yml new file mode 100644 index 00000000000..9ada9d93cda --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-unicode-character-database.yml @@ -0,0 +1,2 @@ +declared_license: Unicode-DFS-2015 +license_expression: unicode-dfs-2015 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-upx.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-upx.yml new file mode 100644 index 00000000000..3fa984a57f2 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-upx.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0 Public-Domain +license_expression: gpl-2.0 AND public-domain diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-utf8proc.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-utf8proc.yml new file mode 100644 index 00000000000..7085f1304c8 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-utf8proc.yml @@ -0,0 +1,2 @@ +declared_license: MIT custom +license_expression: mit AND unknown-license-reference diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-vboot-utils.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-vboot-utils.yml new file mode 100644 index 00000000000..95b10c1a69b --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-vboot-utils.yml @@ -0,0 +1,2 @@ +declared_license: custom:chromiumos +license_expression: unknown-license-reference diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-vim-sleuth.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-vim-sleuth.yml new file mode 100644 index 00000000000..c78306b083c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-vim-sleuth.yml @@ -0,0 +1,2 @@ +declared_license: Vim +license_expression: vim diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-virtualbox-guest-additions.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-virtualbox-guest-additions.yml new file mode 100644 index 00000000000..d489013f368 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-virtualbox-guest-additions.yml @@ -0,0 +1,2 @@ +declared_license: GPL custom +license_expression: gpl-1.0-plus AND unknown-license-reference diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-waylandpp.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-waylandpp.yml new file mode 100644 index 00000000000..9afcd46fd19 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-waylandpp.yml @@ -0,0 +1,2 @@ +declared_license: MIT AND GPL-3.0-or-later +license_expression: mit AND gpl-3.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-webkit2gtk.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-webkit2gtk.yml new file mode 100644 index 00000000000..29e0e883050 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-webkit2gtk.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0-or-later AND BSD-2-Clause +license_expression: lgpl-2.0-plus AND bsd-simplified diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-wine_gecko.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-wine_gecko.yml new file mode 100644 index 00000000000..cd85fd75bde --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-wine_gecko.yml @@ -0,0 +1,2 @@ +declared_license: MPL +license_expression: mpl-1.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-wt.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-wt.yml new file mode 100644 index 00000000000..8d8a9e5b532 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-wt.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later WITH openssl-exception +license_expression: gpl-2.0-plus WITH openssl-exception-gpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-wxgtk.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-wxgtk.yml new file mode 100644 index 00000000000..150eaa6c686 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-wxgtk.yml @@ -0,0 +1,2 @@ +declared_license: wxWidgets +license_expression: wxwidgets diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-xbindkeys.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-xbindkeys.yml new file mode 100644 index 00000000000..254261d1591 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-xbindkeys.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0 +license_expression: gpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-xbps.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-xbps.yml new file mode 100644 index 00000000000..1bddb688271 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-xbps.yml @@ -0,0 +1,2 @@ +declared_license: BSD-2-Clause AND (BSD-3-Clause AND ISC AND BSD-2-Clause-NetBSD) +license_expression: bsd-simplified AND (bsd-new AND isc AND bsd-simplified) diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-xdesktop.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-xdesktop.yml new file mode 100644 index 00000000000..6f2eb2cdd35 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-xdesktop.yml @@ -0,0 +1,2 @@ +declared_license: unlicense +license_expression: unlicense diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-xdg-user-dirs.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-xdg-user-dirs.yml new file mode 100644 index 00000000000..d580d3b4157 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-xdg-user-dirs.yml @@ -0,0 +1,2 @@ +declared_license: MIT AND GPL-2.0-only +license_expression: mit AND gpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-xf86-video-modesetting.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-xf86-video-modesetting.yml new file mode 100644 index 00000000000..b89937bc372 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-xf86-video-modesetting.yml @@ -0,0 +1,2 @@ +declared_license: MIT +license_expression: mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-xorgxrdp.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-xorgxrdp.yml new file mode 100644 index 00000000000..8b652b12d9d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-xorgxrdp.yml @@ -0,0 +1,2 @@ +declared_license: X11 +license_expression: x11-xconsortium diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-xscreensaver.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-xscreensaver.yml new file mode 100644 index 00000000000..8068c04950b --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-xscreensaver.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later GPL-3.0-or-later 0BSD MIT +license_expression: gpl-2.0-plus AND gpl-3.0-plus AND bsd-zero AND mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-xxhash.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-xxhash.yml new file mode 100644 index 00000000000..3c0cebd6c89 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-xxhash.yml @@ -0,0 +1,2 @@ +declared_license: BSD-2-Clause GPL-2.0-or-later +license_expression: bsd-simplified AND gpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-yelp-xsl.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-yelp-xsl.yml new file mode 100644 index 00000000000..9770b6c169a --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-yelp-xsl.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND LGPL-2.1-or-later AND MIT +license_expression: gpl-2.0-plus AND lgpl-2.1-plus AND mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ytnef.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ytnef.yml new file mode 100644 index 00000000000..091f965b0af --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-ytnef.yml @@ -0,0 +1,2 @@ +declared_license: GPL+ +license_expression: gpl-1.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-zanshin.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-zanshin.yml new file mode 100644 index 00000000000..868dc98efeb --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-zanshin.yml @@ -0,0 +1,2 @@ +declared_license: (GPL-2.0-only OR GPL-3.0-only) AND LGPL-2.0-or-later +license_expression: (gpl-2.0 OR gpl-3.0) AND lgpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-zeroconf-ioslave.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-zeroconf-ioslave.yml new file mode 100644 index 00000000000..2343fd0a7a1 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-zeroconf-ioslave.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND LGPL-2.0-only AND GFDL-1.2-only +license_expression: gpl-2.0-plus AND lgpl-2.0 AND gfdl-1.2 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-community-zziplib.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-zziplib.yml new file mode 100644 index 00000000000..2235d537ad9 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-community-zziplib.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0-or-later MPL-1.1 +license_expression: lgpl-2.0-plus AND mpl-1.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-aaudit.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-aaudit.yml new file mode 100644 index 00000000000..b23fd7ae9e0 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-aaudit.yml @@ -0,0 +1,2 @@ +declared_license: Unknown +license_expression: unknown diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-acpica.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-acpica.yml new file mode 100644 index 00000000000..fab7ba123e8 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-acpica.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-only OR BSD-3-Clause OR Intel-ACPI +license_expression: gpl-2.0 OR bsd-new OR intel-acpi diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-altermime.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-altermime.yml new file mode 100644 index 00000000000..d4fd5618efe --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-altermime.yml @@ -0,0 +1,2 @@ +declared_license: custom:altermime +license_expression: other-copyleft AND unknown-license-reference diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-amavis.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-amavis.yml new file mode 100644 index 00000000000..3e506eb37d4 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-amavis.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later BSD +license_expression: gpl-2.0-plus AND bsd-new diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-argon2.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-argon2.yml new file mode 100644 index 00000000000..1208b0deda6 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-argon2.yml @@ -0,0 +1,2 @@ +declared_license: Apache-2.0 CC0-1.0 +license_expression: apache-2.0 AND cc0-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-arpwatch.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-arpwatch.yml new file mode 100644 index 00000000000..ec78bd56de5 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-arpwatch.yml @@ -0,0 +1,2 @@ +declared_license: BSD-4-Clause-Shortened +license_expression: bsd-4-clause-shortened diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-asciidoc.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-asciidoc.yml new file mode 100644 index 00000000000..d4ffb7f60df --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-asciidoc.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later and GPL-1.0-or-later +license_expression: gpl-2.0-plus AND gpl-1.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-atf.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-atf.yml new file mode 100644 index 00000000000..3636972accb --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-atf.yml @@ -0,0 +1,2 @@ +declared_license: BSD-2-Clause AND BSD-3-Clause +license_expression: bsd-simplified AND bsd-new diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-automake.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-automake.yml new file mode 100644 index 00000000000..f170b036fea --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-automake.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later MIT Public-Domain +license_expression: gpl-2.0-plus AND mit AND public-domain diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-bacula.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-bacula.yml new file mode 100644 index 00000000000..4c6a57115b7 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-bacula.yml @@ -0,0 +1,2 @@ +declared_license: AGPL-3.0-or-later WITH OpenSSL-Exception +license_expression: agpl-3.0-plus WITH openssl-exception-agpl-3.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-batctl.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-batctl.yml new file mode 100644 index 00000000000..160d9aac5a9 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-batctl.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2 +license_expression: gpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-btrfs-progs.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-btrfs-progs.yml new file mode 100644 index 00000000000..a1315ef09f1 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-btrfs-progs.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later LGPL-3.0-or-later +license_expression: gpl-2.0-plus AND lgpl-3.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-bzip2.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-bzip2.yml new file mode 100644 index 00000000000..9416e3b314d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-bzip2.yml @@ -0,0 +1,2 @@ +declared_license: bzip2-1.0.6 +license_expression: bzip2-libbzip-2010 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-ca-certificates.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-ca-certificates.yml new file mode 100644 index 00000000000..d5355e9eee2 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-ca-certificates.yml @@ -0,0 +1,2 @@ +declared_license: MPL-2.0 AND MIT +license_expression: mpl-2.0 AND mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-clucene.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-clucene.yml new file mode 100644 index 00000000000..34b6d934db0 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-clucene.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0-or-later or Apache-2.0 +license_expression: lgpl-2.0-plus OR apache-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-dbus.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-dbus.yml new file mode 100644 index 00000000000..fcc71f2901b --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-dbus.yml @@ -0,0 +1,2 @@ +declared_license: AFL-2.1 OR GPL-2.0-or-later +license_expression: afl-2.1 OR gpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-dpkg.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-dpkg.yml new file mode 100644 index 00000000000..d72be8c75a4 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-dpkg.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later BSD-2-Clause +license_expression: gpl-2.0-plus AND bsd-simplified diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-e2fsprogs.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-e2fsprogs.yml new file mode 100644 index 00000000000..ceb86c99e7a --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-e2fsprogs.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND LGPL-2.0-or-later AND BSD-3-Clause AND MIT +license_expression: gpl-2.0-plus AND lgpl-2.0-plus AND bsd-new AND mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-efitools.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-efitools.yml new file mode 100644 index 00000000000..50c11e239ad --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-efitools.yml @@ -0,0 +1,2 @@ +declared_license: (GPL-2.0-only AND LGPL-2.1-or-later) WITH OpenSSL-Exception +license_expression: gpl-2.0 WITH generic-exception AND lgpl-2.1-plus WITH generic-exception diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-elfutils.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-elfutils.yml new file mode 100644 index 00000000000..1fe1fe09b5a --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-elfutils.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-or-later AND (GPL-2.0-or-later OR LGPL-3.0-or-later) +license_expression: gpl-3.0-plus AND (gpl-2.0-plus OR lgpl-3.0-plus) diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-flac.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-flac.yml new file mode 100644 index 00000000000..0a1debef48b --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-flac.yml @@ -0,0 +1,2 @@ +declared_license: custom:Xiph LGPL GPL FDL +license_expression: bsd-new AND gpl-2.0-plus AND gpl-3.0-plus AND lgpl-2.1-plus AND gfdl-1.1-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-flex.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-flex.yml new file mode 100644 index 00000000000..3c2d630a487 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-flex.yml @@ -0,0 +1,2 @@ +declared_license: BSD-2-Clause AND LGPL-2.0-or-later +license_expression: bsd-simplified AND lgpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-fortify-headers.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-fortify-headers.yml new file mode 100644 index 00000000000..b9c268e1a8b --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-fortify-headers.yml @@ -0,0 +1,2 @@ +declared_license: BSD-0 +license_expression: bsd-zero diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-freeswitch-sounds-fr-fr-sibylle-8000.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-freeswitch-sounds-fr-fr-sibylle-8000.yml new file mode 100644 index 00000000000..4730b26d5cc --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-freeswitch-sounds-fr-fr-sibylle-8000.yml @@ -0,0 +1,2 @@ +declared_license: CC-3.0 +license_expression: cc-by-sa-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-freeswitch-sounds-music-32000.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-freeswitch-sounds-music-32000.yml new file mode 100644 index 00000000000..aa7c3175f7f --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-freeswitch-sounds-music-32000.yml @@ -0,0 +1,2 @@ +declared_license: unknown +license_expression: unknown diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-freetds.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-freetds.yml new file mode 100644 index 00000000000..60341aeacc7 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-freetds.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later OR LGPL-2.0-or-later +license_expression: gpl-2.0-plus OR lgpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-freetype.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-freetype.yml new file mode 100644 index 00000000000..889db7fdecb --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-freetype.yml @@ -0,0 +1,2 @@ +declared_license: FTL GPL-2.0-or-later +license_expression: freetype AND gpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-gc.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-gc.yml new file mode 100644 index 00000000000..98ad164c684 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-gc.yml @@ -0,0 +1,2 @@ +declared_license: custom:GPL-like +license_expression: mozilla-gc diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-gettext.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-gettext.yml new file mode 100644 index 00000000000..a699b4c163d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-gettext.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-or-later AND LGPL-2.1-or-later AND MIT +license_expression: gpl-3.0-plus AND lgpl-2.1-plus AND mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-glu.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-glu.yml new file mode 100644 index 00000000000..e4e8d4003a2 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-glu.yml @@ -0,0 +1,2 @@ +declared_license: SGI-B-1.1 AND SGI-B-2.0 +license_expression: sgi-freeb-1.1 AND sgi-freeb-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-gmp.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-gmp.yml new file mode 100644 index 00000000000..bf5d9fc21e7 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-gmp.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-3.0-or-later OR GPL-2.0-or-later +license_expression: lgpl-3.0-plus OR gpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-gobject-introspection.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-gobject-introspection.yml new file mode 100644 index 00000000000..9dd1817427d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-gobject-introspection.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0-or-later AND GPL-2.0-or-later AND MIT +license_expression: lgpl-2.0-plus AND gpl-2.0-plus AND mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-gperf.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-gperf.yml new file mode 100644 index 00000000000..8817392357b --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-gperf.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0+ +license_expression: gpl-3.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-graphite2.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-graphite2.yml new file mode 100644 index 00000000000..2ade3053b80 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-graphite2.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-or-later OR MPL-1.1 +license_expression: lgpl-2.1-plus OR mpl-1.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-gsm.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-gsm.yml new file mode 100644 index 00000000000..0c47cc269eb --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-gsm.yml @@ -0,0 +1,2 @@ +declared_license: custom:TU-Berlin-2.0 +license_expression: tu-berlin-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-gtk-doc.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-gtk-doc.yml new file mode 100644 index 00000000000..b0cb963b36a --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-gtk-doc.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND GFDL-1.1-or-later +license_expression: gpl-2.0-plus AND gfdl-1.1-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-guile.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-guile.yml new file mode 100644 index 00000000000..2204afdfd0c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-guile.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-3.0-or-later AND GPL-3.0-or-later +license_expression: lgpl-3.0-plus AND gpl-3.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-haproxy.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-haproxy.yml new file mode 100644 index 00000000000..d45b7434a0c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-haproxy.yml @@ -0,0 +1,2 @@ +declared_license: (GPL-2.0-or-later AND GPL-2.1-or-later) WITH OpenSSL-Exception +license_expression: gpl-2.0-plus WITH generic-exception AND lgpl-2.1-plus WITH generic-exception diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-hdparm.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-hdparm.yml new file mode 100644 index 00000000000..9acab121369 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-hdparm.yml @@ -0,0 +1,2 @@ +declared_license: BSD-2-Clause OR GPL-2.0-only +license_expression: bsd-simplified OR gpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-hunspell-en.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-hunspell-en.yml new file mode 100644 index 00000000000..2d622029749 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-hunspell-en.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0-or-later scowl +license_expression: lgpl-2.0-plus AND other-permissive AND mit-old-style AND public-domain diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-hunspell-pt-br.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-hunspell-pt-br.yml new file mode 100644 index 00000000000..a73850b6431 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-hunspell-pt-br.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-3.0 MPL +license_expression: lgpl-3.0 AND mpl-1.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-hwids.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-hwids.yml new file mode 100644 index 00000000000..1a9dda7d252 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-hwids.yml @@ -0,0 +1,2 @@ +declared_license: BSD-3-Clause OR GPL-2.0-or-later +license_expression: bsd-new OR gpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-iaxmodem.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-iaxmodem.yml new file mode 100644 index 00000000000..693518d2826 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-iaxmodem.yml @@ -0,0 +1,2 @@ +declared_license: LGPL+ +license_expression: lgpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-icu.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-icu.yml new file mode 100644 index 00000000000..244701a4684 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-icu.yml @@ -0,0 +1,2 @@ +declared_license: MIT ICU Unicode-TOU +license_expression: mit AND x11 AND unicode-tou diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-imake.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-imake.yml new file mode 100644 index 00000000000..b1283a10349 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-imake.yml @@ -0,0 +1,2 @@ +declared_license: MIT-enna +license_expression: enna diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-imlib2.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-imlib2.yml new file mode 100644 index 00000000000..0a1bce9845b --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-imlib2.yml @@ -0,0 +1,2 @@ +declared_license: Imlib2 +license_expression: imlib2 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-indent.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-indent.yml new file mode 100644 index 00000000000..68a218480d2 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-indent.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-or-later BSD +license_expression: gpl-3.0-plus AND bsd-new diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-iputils.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-iputils.yml new file mode 100644 index 00000000000..43be2a1170e --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-iputils.yml @@ -0,0 +1,2 @@ +declared_license: BSD-3-Clause AND GPL-2.0-or-later AND MIT +license_expression: bsd-new AND gpl-2.0-plus AND mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-iucode-tool.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-iucode-tool.yml new file mode 100644 index 00000000000..a7f4ba0a9ee --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-iucode-tool.yml @@ -0,0 +1,2 @@ +declared_license: GPLv2+ +license_expression: gpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-jack.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-jack.yml new file mode 100644 index 00000000000..c24848b6e4c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-jack.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0 GPL-2.0-or-later LGPL-2.0-or-later +license_expression: gpl-2.0 AND gpl-2.0-plus AND lgpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-lcms2.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-lcms2.yml new file mode 100644 index 00000000000..f3342e86eff --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-lcms2.yml @@ -0,0 +1,2 @@ +declared_license: MIT GPL-3.0-only +license_expression: mit AND gpl-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-less.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-less.yml new file mode 100644 index 00000000000..96933621bf0 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-less.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-or-later OR BSD-2-Clause +license_expression: gpl-3.0-plus OR bsd-simplified diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libarchive.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libarchive.yml new file mode 100644 index 00000000000..9e37b347ec0 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libarchive.yml @@ -0,0 +1,2 @@ +declared_license: BSD-2-Clause AND BSD-3-Clause AND Public-Domain +license_expression: bsd-simplified AND bsd-new AND public-domain diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libcap.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libcap.yml new file mode 100644 index 00000000000..02b3ef37295 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libcap.yml @@ -0,0 +1,2 @@ +declared_license: BSD-3-Clause OR GPL-2.0-only +license_expression: bsd-new OR gpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libev.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libev.yml new file mode 100644 index 00000000000..6f313827fd8 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libev.yml @@ -0,0 +1,2 @@ +declared_license: BSD-2-Clause OR GPL-2.0-or-later +license_expression: bsd-simplified OR gpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libical.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libical.yml new file mode 100644 index 00000000000..ade67f87c01 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libical.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-only OR MPL-2.0 +license_expression: lgpl-2.1 OR mpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libidn2.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libidn2.yml new file mode 100644 index 00000000000..dbfbb1fc763 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libidn2.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later GPL-3.0-or-later LGPL-3.0-or-later +license_expression: gpl-2.0-plus AND gpl-3.0-plus AND lgpl-3.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libjpeg-turbo.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libjpeg-turbo.yml new file mode 100644 index 00000000000..5fe2deec618 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libjpeg-turbo.yml @@ -0,0 +1,2 @@ +declared_license: BSD-3-Clause IJG Zlib +license_expression: bsd-new AND ijg AND zlib diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libksba.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libksba.yml new file mode 100644 index 00000000000..90c93be7dda --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libksba.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later or GPL-3.0-or-later +license_expression: gpl-2.0-plus OR gpl-3.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-liblockfile.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-liblockfile.yml new file mode 100644 index 00000000000..6948769f3b8 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-liblockfile.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0-or-later and GPL-2.0-or-later +license_expression: lgpl-2.0-plus AND gpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-liblognorm.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-liblognorm.yml new file mode 100644 index 00000000000..3cb1c4462eb --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-liblognorm.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-or-later Apache-2.0 +license_expression: lgpl-2.1-plus AND apache-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libmd.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libmd.yml new file mode 100644 index 00000000000..8e2475c22ff --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libmd.yml @@ -0,0 +1,2 @@ +declared_license: Public Domain +license_expression: public-domain diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libmilter.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libmilter.yml new file mode 100644 index 00000000000..4bcae0ae24d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libmilter.yml @@ -0,0 +1,2 @@ +declared_license: Sendmail +license_expression: sendmail diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libpng.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libpng.yml new file mode 100644 index 00000000000..19bb3ec279c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libpng.yml @@ -0,0 +1,2 @@ +declared_license: Libpng +license_expression: libpng diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libretls.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libretls.yml new file mode 100644 index 00000000000..f1ceb77e0d3 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libretls.yml @@ -0,0 +1,2 @@ +declared_license: ISC AND (BSD-3-Clause OR MIT) +license_expression: isc AND (bsd-new OR mit) diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libsamplerate.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libsamplerate.yml new file mode 100644 index 00000000000..ec8665b5376 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libsamplerate.yml @@ -0,0 +1,2 @@ +declared_license: BSD-2-Clause-NetBSD +license_expression: bsd-simplified diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libspf2.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libspf2.yml new file mode 100644 index 00000000000..4168a2578c5 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libspf2.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-or-later OR BSD-2-Clause +license_expression: lgpl-2.1-plus OR bsd-simplified diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libunistring.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libunistring.yml new file mode 100644 index 00000000000..1891d0941e8 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libunistring.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0+ OR LGPL-3.0+ +license_expression: gpl-2.0-plus OR lgpl-3.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libusb-compat.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libusb-compat.yml new file mode 100644 index 00000000000..0569a5d1a00 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libusb-compat.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1+ +license_expression: lgpl-2.1-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libuv.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libuv.yml new file mode 100644 index 00000000000..174f871ea1c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libuv.yml @@ -0,0 +1,2 @@ +declared_license: MIT AND ISC +license_expression: mit AND isc diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libx11.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libx11.yml new file mode 100644 index 00000000000..dbcedd81989 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libx11.yml @@ -0,0 +1,3 @@ +declared_license: custom:XFREE86 +license_expression: mit AND x11-xconsortium AND x11-keith-packard AND historical AND x11-opengroup + AND other-permissive diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libxi.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libxi.yml new file mode 100644 index 00000000000..a5341b047b4 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libxi.yml @@ -0,0 +1,2 @@ +declared_license: MIT AND X11 +license_expression: mit AND x11-xconsortium diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libxpm.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libxpm.yml new file mode 100644 index 00000000000..dbf7ac873bb --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-libxpm.yml @@ -0,0 +1,2 @@ +declared_license: custom:BELL +license_expression: x11-xconsortium diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-links.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-links.yml new file mode 100644 index 00000000000..430533d1624 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-links.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later WITH OpenSSL-Exception +license_expression: gpl-2.0-plus WITH openssl-exception-gpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-linux-firmware.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-linux-firmware.yml new file mode 100644 index 00000000000..fad31576392 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-linux-firmware.yml @@ -0,0 +1,2 @@ +declared_license: custom:multiple +license_expression: unknown-license-reference diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-lksctp-tools.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-lksctp-tools.yml new file mode 100644 index 00000000000..0bc8d166b65 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-lksctp-tools.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-only AND LGPL-2.1-or-later +license_expression: gpl-2.0 AND lgpl-2.1-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-lsof.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-lsof.yml new file mode 100644 index 00000000000..b8b3288fbbc --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-lsof.yml @@ -0,0 +1,2 @@ +declared_license: lsof +license_expression: purdue-bsd diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-lz4.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-lz4.yml new file mode 100644 index 00000000000..57bff55a1cd --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-lz4.yml @@ -0,0 +1,2 @@ +declared_license: BSD-2-Clause GPL-2.0-only +license_expression: bsd-simplified AND gpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-mailcap.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-mailcap.yml new file mode 100644 index 00000000000..9ab72870439 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-mailcap.yml @@ -0,0 +1,2 @@ +declared_license: Public-Domain and MIT +license_expression: public-domain AND mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-mailx.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-mailx.yml new file mode 100644 index 00000000000..b64869294c3 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-mailx.yml @@ -0,0 +1,2 @@ +declared_license: BSD-4-Clause-UC +license_expression: bsd-original-uc diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-mandoc.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-mandoc.yml new file mode 100644 index 00000000000..9cb3df230da --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-mandoc.yml @@ -0,0 +1,2 @@ +declared_license: ISC and BSD-2-Clause and BSD-3-Clause +license_expression: isc AND bsd-simplified AND bsd-new diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-mesa.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-mesa.yml new file mode 100644 index 00000000000..552ad7d790f --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-mesa.yml @@ -0,0 +1,2 @@ +declared_license: MIT SGI-B-2.0 BSL-1.0 +license_expression: mit AND sgi-freeb-2.0 AND boost-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-mksh.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-mksh.yml new file mode 100644 index 00000000000..12024cf507b --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-mksh.yml @@ -0,0 +1,2 @@ +declared_license: MirOS AND Unicode-DFS-2016 +license_expression: mir-os AND unicode-dfs-2016 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-ncftp.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-ncftp.yml new file mode 100644 index 00000000000..de6a2fc7157 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-ncftp.yml @@ -0,0 +1,2 @@ +declared_license: ClArtistic +license_expression: artistic-clarified diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-net-snmp.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-net-snmp.yml new file mode 100644 index 00000000000..9f3069c0f5e --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-net-snmp.yml @@ -0,0 +1,2 @@ +declared_license: Net-SNMP +license_expression: net-snmp diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-newt.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-newt.yml new file mode 100644 index 00000000000..3711e3d13f0 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-newt.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0 +license_expression: lgpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-nfs-utils.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-nfs-utils.yml new file mode 100644 index 00000000000..ddf98a2cd41 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-nfs-utils.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later BSD-3-Clause +license_expression: gpl-2.0-plus AND bsd-new diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-npth.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-npth.yml new file mode 100644 index 00000000000..d9680bb3a23 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-npth.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-3.0-or-later or GPL-2.0-or-later or (LGPL-3.0-or-later and GPL-2.0-or-later) +license_expression: lgpl-3.0-plus OR gpl-2.0-plus OR (lgpl-3.0-plus AND gpl-2.0-plus) diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-ortp.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-ortp.yml new file mode 100644 index 00000000000..852f99e00ae --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-ortp.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0-or-later VSL +license_expression: gpl-3.0 OR commercial-license diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-carp.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-carp.yml new file mode 100644 index 00000000000..a8d9a833566 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-carp.yml @@ -0,0 +1,2 @@ +declared_license: GPL-1.0-or-later OR Artisitc-1.0-Perl +license_expression: gpl-1.0-plus OR artistic-perl-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-convert-binhex.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-convert-binhex.yml new file mode 100644 index 00000000000..bf06a911af3 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-convert-binhex.yml @@ -0,0 +1,2 @@ +declared_license: Artistic-1.0 GPL+ +license_expression: artistic-1.0 AND gpl-1.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-convert-uulib.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-convert-uulib.yml new file mode 100644 index 00000000000..db83d2fe92f --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-convert-uulib.yml @@ -0,0 +1,2 @@ +declared_license: (GPL-2.0-or-later OR Artistic-1.0-Perl) AND GPL-2.0-or-later AND ZLib +license_expression: (gpl-2.0-plus OR artistic-perl-1.0) AND gpl-2.0-plus AND zlib diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-crypt-openssl-rsa.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-crypt-openssl-rsa.yml new file mode 100644 index 00000000000..b9195140f0d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-crypt-openssl-rsa.yml @@ -0,0 +1,2 @@ +declared_license: Perl Artistic GPL +license_expression: artistic-perl-1.0 AND gpl-1.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-crypt-x509.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-crypt-x509.yml new file mode 100644 index 00000000000..ed5541ee6ec --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-crypt-x509.yml @@ -0,0 +1,2 @@ +declared_license: Artistic-1.0-Perl +license_expression: artistic-perl-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-data-uuid.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-data-uuid.yml new file mode 100644 index 00000000000..1585be53764 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-data-uuid.yml @@ -0,0 +1,2 @@ +declared_license: osf-1990(variant) +license_expression: osf-1990 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-email-address-list.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-email-address-list.yml new file mode 100644 index 00000000000..5d953204e7c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-email-address-list.yml @@ -0,0 +1,2 @@ +declared_license: GPL+ or Artistic +license_expression: gpl-1.0-plus OR artistic-perl-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-fcgi.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-fcgi.yml new file mode 100644 index 00000000000..afa91a9cfc1 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-fcgi.yml @@ -0,0 +1,2 @@ +declared_license: OML +license_expression: fastcgi-devkit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-io-multiplex.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-io-multiplex.yml new file mode 100644 index 00000000000..57137a27ce2 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-io-multiplex.yml @@ -0,0 +1,2 @@ +declared_license: Artistic-Perl-1.0 OR GPL-1.0-or-later +license_expression: artistic-perl-1.0 OR gpl-1.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-ipc-run3.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-ipc-run3.yml new file mode 100644 index 00000000000..c12e52b17fc --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-ipc-run3.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0 or Artistic-1.0-Perl +license_expression: gpl-2.0 OR artistic-perl-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-ipc-sharelite.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-ipc-sharelite.yml new file mode 100644 index 00000000000..9ce94f933f6 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-ipc-sharelite.yml @@ -0,0 +1,2 @@ +declared_license: PerlArtistic GPL +license_expression: artistic-perl-1.0 AND gpl-1.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-net-dns-resolver-programmable.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-net-dns-resolver-programmable.yml new file mode 100644 index 00000000000..e91f7ab6396 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-net-dns-resolver-programmable.yml @@ -0,0 +1,2 @@ +declared_license: Perl Artistic +license_expression: artistic-perl-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-net-libidn.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-net-libidn.yml new file mode 100644 index 00000000000..dbcebe2f551 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-net-libidn.yml @@ -0,0 +1,2 @@ +declared_license: Artistic-Perl-1.0 GPL+ +license_expression: artistic-perl-1.0 AND gpl-1.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-net-rblclient.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-net-rblclient.yml new file mode 100644 index 00000000000..41cb706963d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-net-rblclient.yml @@ -0,0 +1,2 @@ +declared_license: Artistic GPL-2.0 +license_expression: artistic-perl-1.0 AND gpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-netaddr-ip.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-netaddr-ip.yml new file mode 100644 index 00000000000..e98262c6732 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-netaddr-ip.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0 and Artistic +license_expression: gpl-2.0 AND artistic-perl-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-pod-coverage.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-pod-coverage.yml new file mode 100644 index 00000000000..91566b74e80 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-pod-coverage.yml @@ -0,0 +1,2 @@ +declared_license: Artistic-1.0-Perl or GPL-1.0-or-later +license_expression: artistic-perl-1.0 OR gpl-1.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-test-cpan-meta.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-test-cpan-meta.yml new file mode 100644 index 00000000000..aee1a9e620f --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-test-cpan-meta.yml @@ -0,0 +1,2 @@ +declared_license: Artistic-2 +license_expression: artistic-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-test-pod-coverage.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-test-pod-coverage.yml new file mode 100644 index 00000000000..a35e909bc75 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-test-pod-coverage.yml @@ -0,0 +1,2 @@ +declared_license: Artistic GPL +license_expression: artistic-perl-1.0 AND gpl-1.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-text-reform.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-text-reform.yml new file mode 100644 index 00000000000..4fa3b6bc84f --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-text-reform.yml @@ -0,0 +1,2 @@ +declared_license: GPL-1.0-or-later or Artistic-1.0-Perl +license_expression: gpl-1.0-plus OR artistic-perl-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-time-hires.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-time-hires.yml new file mode 100644 index 00000000000..a7d2fbf3044 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-time-hires.yml @@ -0,0 +1,2 @@ +declared_license: GPL-1.0-only Artistic-1.0-Perl +license_expression: gpl-1.0 AND artistic-perl-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-tk.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-tk.yml new file mode 100644 index 00000000000..1fa82a2aa6c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-perl-tk.yml @@ -0,0 +1,2 @@ +declared_license: unrestricted +license_expression: other-permissive diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-pgpool.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-pgpool.yml new file mode 100644 index 00000000000..f370b819ab0 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-pgpool.yml @@ -0,0 +1,2 @@ +declared_license: pgpool-II +license_expression: mit-old-style-no-advert diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-postfix.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-postfix.yml new file mode 100644 index 00000000000..d08eba78348 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-postfix.yml @@ -0,0 +1,2 @@ +declared_license: IPL-1.0 EPL-2.0 +license_expression: ibmpl-1.0 AND epl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-ppp.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-ppp.yml new file mode 100644 index 00000000000..91eb9b70fbe --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-ppp.yml @@ -0,0 +1,2 @@ +declared_license: BSD and LGPL-2.0-or-later and GPL-2.0-or-later and Public-Domain +license_expression: bsd-new AND lgpl-2.0-plus AND gpl-2.0-plus AND public-domain diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-py3-docutils.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-py3-docutils.yml new file mode 100644 index 00000000000..bae0bcf6ee8 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-py3-docutils.yml @@ -0,0 +1,2 @@ +declared_license: BSD-2-Clause AND GPL-3.0-or-later AND Python-2.0 +license_expression: bsd-simplified AND gpl-3.0-plus AND python diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-py3-meld3.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-py3-meld3.yml new file mode 100644 index 00000000000..15aae229729 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-py3-meld3.yml @@ -0,0 +1,2 @@ +declared_license: ZPL +license_expression: zpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-py3-packaging.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-py3-packaging.yml new file mode 100644 index 00000000000..ab3e5e212c3 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-py3-packaging.yml @@ -0,0 +1,2 @@ +declared_license: Apache-2.0 AND BSD-2-Clause +license_expression: apache-2.0 AND bsd-simplified diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-py3-pillow.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-py3-pillow.yml new file mode 100644 index 00000000000..1400d9435b1 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-py3-pillow.yml @@ -0,0 +1,2 @@ +declared_license: custom:PIL +license_expression: secret-labs-2011 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-radvd.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-radvd.yml new file mode 100644 index 00000000000..043070bfdf6 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-radvd.yml @@ -0,0 +1,2 @@ +declared_license: BSD with advertising +license_expression: bsd-original diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-rarian.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-rarian.yml new file mode 100644 index 00000000000..5fe050502df --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-rarian.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0+, LGPL-2.1+, Zlib +license_expression: gpl-2.0-plus AND lgpl-2.1-plus AND zlib diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-rsyslog.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-rsyslog.yml new file mode 100644 index 00000000000..5cf8b6a7d2e --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-rsyslog.yml @@ -0,0 +1,2 @@ +declared_license: Apache-2.0 GPL-3.0-or-later LGPL-3.0-or-later +license_expression: apache-2.0 AND gpl-3.0-plus AND lgpl-3.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-rtpproxy.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-rtpproxy.yml new file mode 100644 index 00000000000..ae9a0de3ffd --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-rtpproxy.yml @@ -0,0 +1,2 @@ +declared_license: BSD-2-CLause +license_expression: bsd-simplified diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-ruby.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-ruby.yml new file mode 100644 index 00000000000..2e26f2702e2 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-ruby.yml @@ -0,0 +1,2 @@ +declared_license: Ruby AND BSD-2-Clause AND MIT +license_expression: ruby AND bsd-simplified AND mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-samba.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-samba.yml new file mode 100644 index 00000000000..0998b110ade --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-samba.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-or-later LGPL-3.0-or-later +license_expression: gpl-3.0-plus AND lgpl-3.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-sbsigntool.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-sbsigntool.yml new file mode 100644 index 00000000000..2b1f39f8268 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-sbsigntool.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-only WITH OpenSSL-Exception +license_expression: gpl-3.0 WITH openssl-exception-gpl-3.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-spice-protocol.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-spice-protocol.yml new file mode 100644 index 00000000000..6097b1b3755 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-spice-protocol.yml @@ -0,0 +1,2 @@ +declared_license: BSD-3-Clause LGPL-2.1-or-later +license_expression: bsd-new AND lgpl-2.1-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-subversion.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-subversion.yml new file mode 100644 index 00000000000..efe31cf5f87 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-subversion.yml @@ -0,0 +1,2 @@ +declared_license: Apache-2.0 BSD +license_expression: apache-2.0 AND bsd-new diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-sudo.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-sudo.yml new file mode 100644 index 00000000000..a511cf9b818 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-sudo.yml @@ -0,0 +1,2 @@ +declared_license: custom ISC +license_expression: unknown-license-reference AND isc diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-supervisor.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-supervisor.yml new file mode 100644 index 00000000000..0b780ad90ed --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-supervisor.yml @@ -0,0 +1,2 @@ +declared_license: BSD-4-Clause and BSD-3-Clause-Clear +license_expression: bsd-original AND clear-bsd diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-tiff.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-tiff.yml new file mode 100644 index 00000000000..dfad7bb3360 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-tiff.yml @@ -0,0 +1,2 @@ +declared_license: libtiff +license_expression: x11-tiff diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-ttf-cantarell.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-ttf-cantarell.yml new file mode 100644 index 00000000000..6a47c2374c1 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-ttf-cantarell.yml @@ -0,0 +1,2 @@ +declared_license: OFL-1.1 AND Apache-2.0 +license_expression: ofl-1.1 AND apache-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-ttf-freefont.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-ttf-freefont.yml new file mode 100644 index 00000000000..17098cf2e4a --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-ttf-freefont.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0+ with exception +license_expression: gpl-3.0-plus WITH generic-exception diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-ttf-liberation.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-ttf-liberation.yml new file mode 100644 index 00000000000..6371b91a4bf --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-ttf-liberation.yml @@ -0,0 +1,2 @@ +declared_license: custom GPL-2.0 +license_expression: unknown-license-reference AND gpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-ttf-linux-libertine.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-ttf-linux-libertine.yml new file mode 100644 index 00000000000..699d0a79b40 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-ttf-linux-libertine.yml @@ -0,0 +1,2 @@ +declared_license: GPL custom:OFL +license_expression: gpl-2.0 WITH font-exception-gpl OR ofl-1.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-ttf-tlwg.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-ttf-tlwg.yml new file mode 100644 index 00000000000..83997e8a4d7 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-ttf-tlwg.yml @@ -0,0 +1,2 @@ +declared_license: LPPL-1.3c AND GPL-2.0-only WITH Font-exception-2.0 +license_expression: lppl-1.3c AND gpl-2.0 WITH font-exception-gpl diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-u-boot.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-u-boot.yml new file mode 100644 index 00000000000..e4944434892 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-u-boot.yml @@ -0,0 +1,4 @@ +declared_license: GPL-2.0-or-later OFL-1.1 BSD-2-Clause BSD-3-Clause eCos-2.0 IBM-pibs ISC LGPL-2.0-only + LGPL-2.1-only X11 +license_expression: gpl-2.0-plus AND ofl-1.1 AND bsd-simplified AND bsd-new AND gpl-2.0-plus + WITH ecos-exception-2.0 AND ibm-pibs AND isc AND lgpl-2.0 AND lgpl-2.1 AND x11-xconsortium diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-unifont.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-unifont.yml new file mode 100644 index 00000000000..6b51e77f490 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-unifont.yml @@ -0,0 +1,2 @@ +declared_license: GFDL-1.3-or-later GPL-2.0-or-later WITH Font-exception-2.0 +license_expression: gfdl-1.3-plus AND gpl-2.0-plus WITH font-exception-gpl diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-util-linux.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-util-linux.yml new file mode 100644 index 00000000000..a465265c281 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-util-linux.yml @@ -0,0 +1,4 @@ +declared_license: GPL-3.0-or-later AND GPL-2.0-or-later AND GPL-2.0-only AND LGPL-2.1-or-later + AND BSD-3-Clause AND BSD-4-Clause-UC AND Public-Domain +license_expression: gpl-3.0-plus AND gpl-2.0-plus AND gpl-2.0 AND lgpl-2.1-plus AND bsd-new + AND bsd-original-uc AND public-domain diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-wget.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-wget.yml new file mode 100644 index 00000000000..dc68cfa2a1c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-wget.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-or-later WITH OpenSSL-Exception +license_expression: gpl-3.0-plus WITH openssl-exception-gpl-3.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-xorgproto.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-xorgproto.yml new file mode 100644 index 00000000000..a13b4a0ceda --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-xorgproto.yml @@ -0,0 +1,2 @@ +declared_license: BSD-2-Clause AND MIT AND X11 +license_expression: bsd-simplified AND mit AND x11-xconsortium diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-xz.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-xz.yml new file mode 100644 index 00000000000..45d757298bc --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-xz.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later AND Public-Domain AND LGPL-2.1-or-later +license_expression: gpl-2.0-plus AND public-domain AND lgpl-2.1-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-zeromq.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-zeromq.yml new file mode 100644 index 00000000000..9610823ab6d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-zeromq.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-3.0-or-later with exceptions +license_expression: lgpl-3.0-plus WITH generic-exception diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-zfs-lts.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-zfs-lts.yml new file mode 100644 index 00000000000..fd21c50e72d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-zfs-lts.yml @@ -0,0 +1,2 @@ +declared_license: CDDL-1.0 +license_expression: cddl-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-zip.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-zip.yml new file mode 100644 index 00000000000..027f1f899d8 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-zip.yml @@ -0,0 +1,2 @@ +declared_license: Info-ZIP +license_expression: info-zip diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-main-zstd.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-zstd.yml new file mode 100644 index 00000000000..bec8159076d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-main-zstd.yml @@ -0,0 +1,2 @@ +declared_license: BSD-3-Clause GPL-2.0-or-later +license_expression: bsd-new AND gpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-non-free-3dm2.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-non-free-3dm2.yml new file mode 100644 index 00000000000..98481d3fc2f --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-non-free-3dm2.yml @@ -0,0 +1,2 @@ +declared_license: closed +license_expression: proprietary-license diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-non-free-b43-firmware.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-non-free-b43-firmware.yml new file mode 100644 index 00000000000..66f639c5415 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-non-free-b43-firmware.yml @@ -0,0 +1,2 @@ +declared_license: propietary +license_expression: proprietary-license diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-non-free-mongodb.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-non-free-mongodb.yml new file mode 100644 index 00000000000..0c8d7264bae --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-non-free-mongodb.yml @@ -0,0 +1,2 @@ +declared_license: SSPL-1.0 +license_expression: mongodb-sspl-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-non-free-unifi.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-non-free-unifi.yml new file mode 100644 index 00000000000..977b18f2598 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-non-free-unifi.yml @@ -0,0 +1,2 @@ +declared_license: UniFi-EULA +license_expression: proprietary-license diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-non-free-vlmcsd.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-non-free-vlmcsd.yml new file mode 100644 index 00000000000..bfb03da0233 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-non-free-vlmcsd.yml @@ -0,0 +1,2 @@ +declared_license: other +license_expression: proprietary-license diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-non-free-wiredtiger.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-non-free-wiredtiger.yml new file mode 100644 index 00000000000..9e8e0301553 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-non-free-wiredtiger.yml @@ -0,0 +1,2 @@ +declared_license: (GPL-2.0 or GPL-3.0) and MIT and BSD +license_expression: (gpl-2.0 OR gpl-3.0) AND mit AND bsd-new diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-3proxy.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-3proxy.yml new file mode 100644 index 00000000000..0ab58986edb --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-3proxy.yml @@ -0,0 +1,2 @@ +declared_license: Apache-2.0 GPL-2.0-or-later LGPL-2.1-or-later +license_expression: apache-2.0 AND gpl-2.0-plus AND lgpl-2.1-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-asteroid-wallpapers.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-asteroid-wallpapers.yml new file mode 100644 index 00000000000..f6f5a3ff910 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-asteroid-wallpapers.yml @@ -0,0 +1,2 @@ +declared_license: CC0-1.0 AND CC-BY-2.0 AND CC-BY-NC-SA-2.0 +license_expression: cc0-1.0 AND cc-by-2.0 AND cc-by-nc-sa-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-b3sum.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-b3sum.yml new file mode 100644 index 00000000000..220d3d46851 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-b3sum.yml @@ -0,0 +1,2 @@ +declared_license: CC0-1.0 OR Apache-2.0 +license_expression: cc0-1.0 OR apache-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-btpd.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-btpd.yml new file mode 100644 index 00000000000..e46e836640b --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-btpd.yml @@ -0,0 +1,2 @@ +declared_license: BSD-2-Clause BSD-3-Clause +license_expression: bsd-simplified AND bsd-new diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-cgal.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-cgal.yml new file mode 100644 index 00000000000..7d0a11052b2 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-cgal.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-or-later custom +license_expression: gpl-3.0-plus AND unknown-license-reference diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-consolation.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-consolation.yml new file mode 100644 index 00000000000..84bd6b9aaaf --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-consolation.yml @@ -0,0 +1,2 @@ +declared_license: MIT GPL-2.0-only +license_expression: mit AND gpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-cowsay.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-cowsay.yml new file mode 100644 index 00000000000..2487dceaa70 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-cowsay.yml @@ -0,0 +1,2 @@ +declared_license: Artistic-1.0-Perl OR GPL-2.0-or-later +license_expression: artistic-perl-1.0 OR gpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-criu.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-criu.yml new file mode 100644 index 00000000000..c196a82702f --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-criu.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later LGPL-2.1-only +license_expression: gpl-2.0-plus AND lgpl-2.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-crosstool-ng.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-crosstool-ng.yml new file mode 100644 index 00000000000..41bf1beb17d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-crosstool-ng.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-or-later GPL-2.0-or-later CC-BY-SA-2.5 +license_expression: lgpl-2.1-plus AND gpl-2.0-plus AND cc-by-sa-2.5 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-ding-libs.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-ding-libs.yml new file mode 100644 index 00000000000..e9187a95ecb --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-ding-libs.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0 LGPL-3.0 +license_expression: gpl-3.0 AND lgpl-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-eclipse-ecj.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-eclipse-ecj.yml new file mode 100644 index 00000000000..a6a77ce8d10 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-eclipse-ecj.yml @@ -0,0 +1,2 @@ +declared_license: EPL-2.0 +license_expression: epl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-editline.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-editline.yml new file mode 100644 index 00000000000..493cfde4ab0 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-editline.yml @@ -0,0 +1,2 @@ +declared_license: Spencer-94 +license_expression: hs-regexp diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-emscripten.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-emscripten.yml new file mode 100644 index 00000000000..f882e3bcde8 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-emscripten.yml @@ -0,0 +1,2 @@ +declared_license: MIT UOI-NCSA +license_expression: mit AND uoi-ncsa diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-font-ipa.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-font-ipa.yml new file mode 100644 index 00000000000..f31030a9415 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-font-ipa.yml @@ -0,0 +1,2 @@ +declared_license: IPA +license_expression: ipa-font diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-font-uw-ttyp0.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-font-uw-ttyp0.yml new file mode 100644 index 00000000000..51ff5481b74 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-font-uw-ttyp0.yml @@ -0,0 +1,2 @@ +declared_license: TTYP0 +license_expression: ttyp0 AND mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-ginger.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-ginger.yml new file mode 100644 index 00000000000..81447c14abb --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-ginger.yml @@ -0,0 +1,2 @@ +declared_license: Apache LGPL-2.1 +license_expression: apache-2.0 AND lgpl-2.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-gingerbase.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-gingerbase.yml new file mode 100644 index 00000000000..5988659df17 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-gingerbase.yml @@ -0,0 +1,2 @@ +declared_license: AGPL-2.1 +license_expression: lgpl-2.1 AND apache-2.0 AND free-unknown diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-gopt.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-gopt.yml new file mode 100644 index 00000000000..d192a2d583f --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-gopt.yml @@ -0,0 +1,2 @@ +declared_license: TFL +license_expression: public-domain-disclaimer diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-gpa.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-gpa.yml new file mode 100644 index 00000000000..8a2cdeba542 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-gpa.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-or-later AND GPL-2.0-or-later +license_expression: gpl-3.0-plus AND gpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-havoc.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-havoc.yml new file mode 100644 index 00000000000..28194fdae5b --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-havoc.yml @@ -0,0 +1,2 @@ +declared_license: PD OR MIT +license_expression: public-domain OR mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-hfsprogs.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-hfsprogs.yml new file mode 100644 index 00000000000..ec4ed6ca3c4 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-hfsprogs.yml @@ -0,0 +1,2 @@ +declared_license: APSL-2.0 +license_expression: apsl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-hplip.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-hplip.yml new file mode 100644 index 00000000000..a5dd2af8fcd --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-hplip.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-only AND BSD-3-Clause AND MIT +license_expression: gpl-2.0 AND bsd-new AND mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-kak-lsp.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-kak-lsp.yml new file mode 100644 index 00000000000..471b0e6d45d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-kak-lsp.yml @@ -0,0 +1,2 @@ +declared_license: Unlicense OR MIT +license_expression: unlicense OR mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-kimchi.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-kimchi.yml new file mode 100644 index 00000000000..f6f4df381b4 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-kimchi.yml @@ -0,0 +1,2 @@ +declared_license: Apache-2.0 and LGPL-2.1-or-later +license_expression: apache-2.0 AND lgpl-2.1-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-libibumad.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-libibumad.yml new file mode 100644 index 00000000000..9c9cd0b6d46 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-libibumad.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-only OR BSD-2-Clause +license_expression: gpl-2.0 OR bsd-simplified diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-libiscsi.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-libiscsi.yml new file mode 100644 index 00000000000..03367a4e048 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-libiscsi.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-or-later GPL-2.0-or-later +license_expression: lgpl-2.1-plus AND gpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-libmesode.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-libmesode.yml new file mode 100644 index 00000000000..1704b0b236c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-libmesode.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-only MIT +license_expression: gpl-3.0 AND mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-livestreamer.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-livestreamer.yml new file mode 100644 index 00000000000..157c5a3ace7 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-livestreamer.yml @@ -0,0 +1,2 @@ +declared_license: BSD-2-Clause AND MIT +license_expression: bsd-simplified AND mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-lzbench.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-lzbench.yml new file mode 100644 index 00000000000..aa4909d7e00 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-lzbench.yml @@ -0,0 +1,3 @@ +declared_license: GPL zlib MIT Unlicense BSD Apache-2.0 CDDL CC0 custom +license_expression: gpl-1.0-plus AND zlib AND mit AND unlicense AND bsd-new AND apache-2.0 AND + cddl-1.1 AND cc0-1.0 AND unknown-license-reference diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-mapnik.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-mapnik.yml new file mode 100644 index 00000000000..637526d2e25 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-mapnik.yml @@ -0,0 +1,2 @@ +declared_license: LPGL-2.0-or-later +license_expression: lgpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-memdump.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-memdump.yml new file mode 100644 index 00000000000..3425aac5bec --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-memdump.yml @@ -0,0 +1,2 @@ +declared_license: IPL-1.0 +license_expression: ibmpl-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-moka-icon-theme.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-moka-icon-theme.yml new file mode 100644 index 00000000000..b643834d6bb --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-moka-icon-theme.yml @@ -0,0 +1,2 @@ +declared_license: CC-BY-SA-4.0 OR GPL-3.0-or-later +license_expression: cc-by-sa-4.0 OR gpl-3.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-multimc.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-multimc.yml new file mode 100644 index 00000000000..88756fd8dd1 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-multimc.yml @@ -0,0 +1,4 @@ +declared_license: MIT AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-or-later + AND BSD-3-Clause-Clear AND OFL-1.0-RFN AND GPL-2.0 WITH Classpath-exception-2.0 AND Apache-2.0 +license_expression: mit AND lgpl-2.0-plus AND lgpl-2.1 AND lgpl-2.1-plus AND lgpl-3.0-plus AND + clear-bsd AND ofl-1.0-rfn AND gpl-2.0 WITH classpath-exception-2.0 AND apache-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-netpbm.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-netpbm.yml new file mode 100644 index 00000000000..0f30cf10585 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-netpbm.yml @@ -0,0 +1,2 @@ +declared_license: IJG AND BSD-3-Clause AND GPL-2.0-only +license_expression: ijg AND bsd-new AND gpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-ocaml-num.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-ocaml-num.yml new file mode 100644 index 00000000000..7d80412afbc --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-ocaml-num.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-or-later-WITH-linking-exception-AND-MIT +license_expression: lgpl-2.1-plus WITH generic-exception AND mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-ocaml-ptmap.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-ocaml-ptmap.yml new file mode 100644 index 00000000000..a8ffeba17fd --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-ocaml-ptmap.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-or-later WITH OCaml-linking-exception +license_expression: lgpl-2.1-plus WITH ocaml-lgpl-linking-exception diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-ocamlclean.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-ocamlclean.yml new file mode 100644 index 00000000000..47c814be3b5 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-ocamlclean.yml @@ -0,0 +1,2 @@ +declared_license: CECILL-2.0 +license_expression: cecill-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-openttd-opensfx.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-openttd-opensfx.yml new file mode 100644 index 00000000000..7f7921e0d12 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-openttd-opensfx.yml @@ -0,0 +1,2 @@ +declared_license: CC-BY-SA-3.0 GPL-2.0-or-later CDDL-1.1 +license_expression: cc-by-sa-3.0 AND gpl-2.0-plus AND cddl-1.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-openwsman.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-openwsman.yml new file mode 100644 index 00000000000..6bf141659c6 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-openwsman.yml @@ -0,0 +1,2 @@ +declared_license: custom BSD-3-Clause +license_expression: unknown-license-reference AND bsd-new diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-ossec-hids-local.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-ossec-hids-local.yml new file mode 100644 index 00000000000..5ecd4bda735 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-ossec-hids-local.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-only WITH openssl-exception +license_expression: gpl-2.0 WITH openssl-exception-gpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-pam-krb5.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-pam-krb5.yml new file mode 100644 index 00000000000..8c6331d55f5 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-pam-krb5.yml @@ -0,0 +1,2 @@ +declared_license: BSD-3-Clause OR GPL-1.0-or-later +license_expression: bsd-new OR gpl-1.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-pegasus-frontend.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-pegasus-frontend.yml new file mode 100644 index 00000000000..2ba447fcf51 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-pegasus-frontend.yml @@ -0,0 +1,2 @@ +declared_license: GPL-1.0-or-later +license_expression: gpl-1.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-percona-toolkit.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-percona-toolkit.yml new file mode 100644 index 00000000000..dced4f22dd4 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-percona-toolkit.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-only OR Artistic-1.0-Perl +license_expression: gpl-2.0 OR artistic-perl-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-perl-gtk2-ex-listmodelconcat.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-perl-gtk2-ex-listmodelconcat.yml new file mode 100644 index 00000000000..e5cec854a18 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-perl-gtk2-ex-listmodelconcat.yml @@ -0,0 +1,2 @@ +declared_license: open_source +license_expression: free-unknown diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-perl-net-curl.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-perl-net-curl.yml new file mode 100644 index 00000000000..f32591406d7 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-perl-net-curl.yml @@ -0,0 +1,2 @@ +declared_license: MIT-open-group OR MPL-1.1 +license_expression: x11-opengroup OR mpl-1.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-proot.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-proot.yml new file mode 100644 index 00000000000..5b891ea8233 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-proot.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2-or-later +license_expression: gpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-caldav.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-caldav.yml new file mode 100644 index 00000000000..5a5c79eb6b2 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-caldav.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-only AND Apache-2.0 +license_expression: gpl-3.0 AND apache-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-chameleon.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-chameleon.yml new file mode 100644 index 00000000000..856fa4a673b --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-chameleon.yml @@ -0,0 +1,2 @@ +declared_license: BSD-3-Clause AND BSD-4-Clause AND Python-2.0 AND ZPL-2.1 +license_expression: bsd-new AND bsd-original AND python AND zpl-2.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-daemon.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-daemon.yml new file mode 100644 index 00000000000..e764a7e8659 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-daemon.yml @@ -0,0 +1,2 @@ +declared_license: Apache-2.0 AND GPL-3.0-or-later +license_expression: apache-2.0 AND gpl-3.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-django-suit.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-django-suit.yml new file mode 100644 index 00000000000..2afdf9b5907 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-django-suit.yml @@ -0,0 +1,2 @@ +declared_license: CC-BY-NC-3.0 +license_expression: cc-by-nc-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-flask-bootstrap.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-flask-bootstrap.yml new file mode 100644 index 00000000000..faa1fff9b66 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-flask-bootstrap.yml @@ -0,0 +1,2 @@ +declared_license: BSD-3-Clause and Apache-2.0 +license_expression: bsd-new AND apache-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-flask-restless.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-flask-restless.yml new file mode 100644 index 00000000000..b92c973e2ae --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-flask-restless.yml @@ -0,0 +1,2 @@ +declared_license: AGPL-3.0-or-later OR BSD-3-Clause +license_expression: agpl-3.0-plus OR bsd-new diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-forbiddenfruit.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-forbiddenfruit.yml new file mode 100644 index 00000000000..67277f04e64 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-forbiddenfruit.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-or-later OR MIT +license_expression: gpl-3.0-plus OR mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-managesieve.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-managesieve.yml new file mode 100644 index 00000000000..2c3d42239dc --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-managesieve.yml @@ -0,0 +1,2 @@ +declared_license: PSF-2.0 AND GPL-3.0-or-later +license_expression: psf-2.0 AND gpl-3.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-py-radix.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-py-radix.yml new file mode 100644 index 00000000000..63be6f81b71 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-py-radix.yml @@ -0,0 +1,2 @@ +declared_license: BSD-4-Clause AND ISC +license_expression: bsd-original AND isc diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-tld.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-tld.yml new file mode 100644 index 00000000000..b2c5f06c4c8 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-tld.yml @@ -0,0 +1,2 @@ +declared_license: MPL-1.1 OR GPL-2.0-only OR LGPL-2.1-or-later +license_expression: mpl-1.1 OR gpl-2.0 OR lgpl-2.1-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-wstools.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-wstools.yml new file mode 100644 index 00000000000..16af609c0a3 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-wstools.yml @@ -0,0 +1,2 @@ +declared_license: BSD-3-Clause AND BSD-3-Clause-LBNL AND ZPL-2.0 +license_expression: bsd-new AND lbnl-bsd AND zpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-xlwt.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-xlwt.yml new file mode 100644 index 00000000000..503faa3ff8c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-py3-xlwt.yml @@ -0,0 +1,2 @@ +declared_license: BSD-3-Clause BSD-4-Clause LGPL-2.1-or-later +license_expression: bsd-new AND bsd-original AND lgpl-2.1-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-qt-creator.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-qt-creator.yml new file mode 100644 index 00000000000..e0cebf18882 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-qt-creator.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-only WITH Qt-GPL-exception-1.0 +license_expression: gpl-3.0 WITH qt-gpl-exception-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-racket.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-racket.yml new file mode 100644 index 00000000000..a71bb57ad8d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-racket.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-3.0-or-later MIT +license_expression: lgpl-3.0-plus AND mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-raft.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-raft.yml new file mode 100644 index 00000000000..e48a2db1341 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-raft.yml @@ -0,0 +1,2 @@ +declared_license: LGPL3 +license_expression: lgpl-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-rav1e.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-rav1e.yml new file mode 100644 index 00000000000..890a95eabf8 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-rav1e.yml @@ -0,0 +1,2 @@ +declared_license: BSD-2-Clause custom +license_expression: bsd-simplified AND unknown-license-reference diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-rocksdb.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-rocksdb.yml new file mode 100644 index 00000000000..437595681ef --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-rocksdb.yml @@ -0,0 +1,2 @@ +declared_license: Apache-2.0 OR GPL-2.0-only +license_expression: apache-2.0 OR gpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-rtkit.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-rtkit.yml new file mode 100644 index 00000000000..5eae341bfde --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-rtkit.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-only AND MIT +license_expression: gpl-3.0 AND mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-sblim-wbemcli.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-sblim-wbemcli.yml new file mode 100644 index 00000000000..9e6bb8ddde0 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-sblim-wbemcli.yml @@ -0,0 +1,2 @@ +declared_license: CPL-1.0 AND EPL-1.0 +license_expression: cpl-1.0 AND epl-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-scratch.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-scratch.yml new file mode 100644 index 00000000000..ca1c8aadc62 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-scratch.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0 AND CC-BY-SA AND MIT +license_expression: gpl-2.0 AND cc-by-sa-3.0 AND mit diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-scream.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-scream.yml new file mode 100644 index 00000000000..c032c3ad848 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-scream.yml @@ -0,0 +1,2 @@ +declared_license: MS-PL +license_expression: ms-pl diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-sct.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-sct.yml new file mode 100644 index 00000000000..4ca66220bc2 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-sct.yml @@ -0,0 +1,2 @@ +declared_license: public domain +license_expression: public-domain diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-singularity.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-singularity.yml new file mode 100644 index 00000000000..dad97d6d85d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-singularity.yml @@ -0,0 +1,2 @@ +declared_license: BSD-3-Clause AND BSD-3-Clause-LBNL +license_expression: bsd-new AND lbnl-bsd diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-sopel.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-sopel.yml new file mode 100644 index 00000000000..e1e388b7cce --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-sopel.yml @@ -0,0 +1,2 @@ +declared_license: EFL-2.0 +license_expression: efl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-sqlcipher.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-sqlcipher.yml new file mode 100644 index 00000000000..f196ddcca18 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-sqlcipher.yml @@ -0,0 +1,2 @@ +declared_license: BSD-3-clause +license_expression: bsd-new diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-sslscan.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-sslscan.yml new file mode 100644 index 00000000000..e519dad5b3c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-sslscan.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-or-later OpenSSL +license_expression: gpl-3.0-plus AND openssl-ssleay diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-stone-soup.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-stone-soup.yml new file mode 100644 index 00000000000..9fa9439b0f7 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-stone-soup.yml @@ -0,0 +1,4 @@ +declared_license: BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND MIT AND Zlib AND Apache-2.0 + AND BSL-1.0 +license_expression: bsd-simplified AND bsd-new AND cc0-1.0 AND mit AND zlib AND apache-2.0 AND + boost-1.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-straw-viewer.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-straw-viewer.yml new file mode 100644 index 00000000000..e2441085268 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-straw-viewer.yml @@ -0,0 +1,2 @@ +declared_license: Artistic-2.0 License +license_expression: artistic-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-thunderbird.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-thunderbird.yml new file mode 100644 index 00000000000..5ccba308f36 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-thunderbird.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-or-later AND LGPL-2.1-or-later AND MPL-2.0 +license_expression: gpl-3.0-plus AND lgpl-2.1-plus AND mpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-tiled.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-tiled.yml new file mode 100644 index 00000000000..cff54b14709 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-tiled.yml @@ -0,0 +1,2 @@ +declared_license: Apache-2.0 AND BSD-2-Clause AND GPL-2.0-only +license_expression: apache-2.0 AND bsd-simplified AND gpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-ustr.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-ustr.yml new file mode 100644 index 00000000000..99ce6e51af1 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-ustr.yml @@ -0,0 +1,2 @@ +declared_license: MIT or LGPL-2.0-or-later or BSD +license_expression: mit OR lgpl-2.0-plus OR bsd-new diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-wok.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-wok.yml new file mode 100644 index 00000000000..6edabbfd5ff --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-wok.yml @@ -0,0 +1,2 @@ +declared_license: Apache-2.0 AND LGPL-2.1-only +license_expression: apache-2.0 AND lgpl-2.1 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-zile.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-zile.yml new file mode 100644 index 00000000000..aa4081c1fa3 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-zile.yml @@ -0,0 +1,2 @@ +declared_license: GPL3 +license_expression: gpl-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-zimg.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-zimg.yml new file mode 100644 index 00000000000..5cd2aaa330d --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-testing-zimg.yml @@ -0,0 +1,2 @@ +declared_license: WTFPL-2.0 +license_expression: wtfpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-acf-provisioning-algo.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-acf-provisioning-algo.yml new file mode 100644 index 00000000000..a00f4b98f37 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-acf-provisioning-algo.yml @@ -0,0 +1,2 @@ +declared_license: AS-IS +license_expression: unknown-license-reference diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-ajaxterm.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-ajaxterm.yml new file mode 100644 index 00000000000..3800ea43983 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-ajaxterm.yml @@ -0,0 +1,2 @@ +declared_license: GPL-2.0-or-later OR LGPL-2.1-or-later +license_expression: gpl-2.0-plus OR lgpl-2.1-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-boost-coroutine.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-boost-coroutine.yml new file mode 100644 index 00000000000..a8c91c4420a --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-boost-coroutine.yml @@ -0,0 +1,2 @@ +declared_license: custom:boost +license_expression: unknown-license-reference diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-cegui06.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-cegui06.yml new file mode 100644 index 00000000000..135a3320d3e --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-cegui06.yml @@ -0,0 +1,2 @@ +declared_license: MIT LGPL-2.0-or-later +license_expression: mit AND lgpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-jitterentropy-rngd.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-jitterentropy-rngd.yml new file mode 100644 index 00000000000..d9743c1ee1c --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-jitterentropy-rngd.yml @@ -0,0 +1,2 @@ +declared_license: BSD-3-Clause OR GPL-2.0-Only +license_expression: bsd-new OR gpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-libc++.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-libc++.yml new file mode 100644 index 00000000000..28dbfb724c8 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-libc++.yml @@ -0,0 +1,2 @@ +declared_license: UOI-NCSA +license_expression: uoi-ncsa diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-liboil.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-liboil.yml new file mode 100644 index 00000000000..6b286c4b200 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-liboil.yml @@ -0,0 +1,2 @@ +declared_license: BSD-2-Clause-NetBSD, BSD-3-Clause, Weird-Motorola-License +license_expression: bsd-simplified AND bsd-new AND motorola diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-libwnck.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-libwnck.yml new file mode 100644 index 00000000000..0aea30e35be --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-libwnck.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0+ +license_expression: lgpl-2.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-lxappearance-obconf.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-lxappearance-obconf.yml new file mode 100644 index 00000000000..1d64bf81730 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-lxappearance-obconf.yml @@ -0,0 +1,2 @@ +declared_license: GPL2 +license_expression: gpl-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-ocaml-lwt_log.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-ocaml-lwt_log.yml new file mode 100644 index 00000000000..371290d0f6e --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-ocaml-lwt_log.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-or-later-WITH-linking-exception BSD-3-Clause +license_expression: lgpl-2.1-plus WITH generic-exception AND bsd-new diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-ocaml-migrate-parsetree.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-ocaml-migrate-parsetree.yml new file mode 100644 index 00000000000..ec21e9222d7 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-ocaml-migrate-parsetree.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-only-WITH-linking-exception +license_expression: lgpl-2.1 WITH generic-exception diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-ocaml-uchar.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-ocaml-uchar.yml new file mode 100644 index 00000000000..0f209f5f74a --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-ocaml-uchar.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.1-WITH-linking-exception +license_expression: lgpl-2.1 WITH generic-exception diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-openssl-d.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-openssl-d.yml new file mode 100644 index 00000000000..f4fc343f227 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-openssl-d.yml @@ -0,0 +1,2 @@ +declared_license: OpenSSL +license_expression: openssl-ssleay diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-owncloud.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-owncloud.yml new file mode 100644 index 00000000000..4dd2218dd73 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-owncloud.yml @@ -0,0 +1,2 @@ +declared_license: AGPL +license_expression: agpl-3.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-perl-mail-clamav.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-perl-mail-clamav.yml new file mode 100644 index 00000000000..19bd8b16cc5 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-perl-mail-clamav.yml @@ -0,0 +1,2 @@ +declared_license: Artistic-1.0-Perl OR GPL-1.0-or-later +license_expression: artistic-perl-1.0 OR gpl-1.0-plus diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-php7-cassandra.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-php7-cassandra.yml new file mode 100644 index 00000000000..95f92018e55 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-php7-cassandra.yml @@ -0,0 +1,2 @@ +declared_license: PHP +license_expression: php-3.01 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-py-django-compressor.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-py-django-compressor.yml new file mode 100644 index 00000000000..53762793f4b --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-py-django-compressor.yml @@ -0,0 +1,2 @@ +declared_license: MIT and Apache-2.0 and BSD +license_expression: mit AND apache-2.0 AND bsd-new diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-py-mopidy-moped.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-py-mopidy-moped.yml new file mode 100644 index 00000000000..91f0629c897 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-py-mopidy-moped.yml @@ -0,0 +1,2 @@ +declared_license: Apache +license_expression: apache-2.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-roundcube-mobile.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-roundcube-mobile.yml new file mode 100644 index 00000000000..8e7e6eeffdf --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-roundcube-mobile.yml @@ -0,0 +1,2 @@ +declared_license: GPL-3.0-or-later CC-3.0-BY-SA +license_expression: gpl-3.0-plus AND cc-by-sa-3.0 diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-tarantool.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-tarantool.yml new file mode 100644 index 00000000000..30fd8c50622 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-tarantool.yml @@ -0,0 +1,2 @@ +declared_license: BSD-2-Clause MIT Public-Domain +license_expression: bsd-simplified AND mit AND public-domain diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-tcllib.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-tcllib.yml new file mode 100644 index 00000000000..095ba5b9e7f --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-tcllib.yml @@ -0,0 +1,2 @@ +declared_license: TCL +license_expression: tcl diff --git a/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-webkitgtk.yml b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-webkitgtk.yml new file mode 100644 index 00000000000..5f5f258ecd0 --- /dev/null +++ b/tests/packagedcode/data/alpine/licenses/alp-3.14-unmaintained-webkitgtk.yml @@ -0,0 +1,2 @@ +declared_license: LGPL-2.0-or-later BSD +license_expression: lgpl-2.0-plus AND bsd-new diff --git a/tests/packagedcode/data/alpine/single-installed/installed-expected.json b/tests/packagedcode/data/alpine/single-installed/installed-expected.json index e0ad5aeff68..bb1c584b732 100644 --- a/tests/packagedcode/data/alpine/single-installed/installed-expected.json +++ b/tests/packagedcode/data/alpine/single-installed/installed-expected.json @@ -41,6 +41,7 @@ "source_packages": [ "pkg:alpine/busybox@1.31.1-r9" ], + "extra_data": {}, "purl": "pkg:alpine/busybox@1.31.1-r9?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/alpine/small-installed/installed-expected.json b/tests/packagedcode/data/alpine/small-installed/installed-expected.json index 6c1d789abcd..a6610a3c7a4 100644 --- a/tests/packagedcode/data/alpine/small-installed/installed-expected.json +++ b/tests/packagedcode/data/alpine/small-installed/installed-expected.json @@ -41,6 +41,7 @@ "source_packages": [ "pkg:alpine/musl@1.1.24-r0" ], + "extra_data": {}, "purl": "pkg:alpine/musl@1.1.24-r0?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, @@ -106,6 +107,7 @@ "source_packages": [ "pkg:alpine/busybox@1.31.1-r9" ], + "extra_data": {}, "purl": "pkg:alpine/busybox@1.31.1-r9?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, @@ -211,6 +213,7 @@ "source_packages": [ "pkg:alpine/alpine-baselayout@3.2.0-r3" ], + "extra_data": {}, "purl": "pkg:alpine/alpine-baselayout@3.2.0-r3?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, @@ -476,6 +479,7 @@ "source_packages": [ "pkg:alpine/alpine-keys@2.1-r2" ], + "extra_data": {}, "purl": "pkg:alpine/alpine-keys@2.1-r2?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, @@ -669,6 +673,7 @@ "source_packages": [ "pkg:alpine/openssl@1.1.1d-r3" ], + "extra_data": {}, "purl": "pkg:alpine/libcrypto1.1@1.1.1d-r3?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, @@ -814,6 +819,7 @@ "source_packages": [ "pkg:alpine/openssl@1.1.1d-r3" ], + "extra_data": {}, "purl": "pkg:alpine/libssl1.1@1.1.1d-r3?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, @@ -870,7 +876,7 @@ "code_view_url": null, "vcs_url": "git+http://git.alpinelinux.org/aports/commit/?id=8f660379d74a2191e69e83adf79f54bdc4e9d646", "copyright": null, - "license_expression": "mpl-2.0 OR gpl-2.0-plus", + "license_expression": "mpl-2.0 AND gpl-2.0-plus", "declared_license": "MPL-2.0 GPL-2.0-or-later", "notice_text": null, "root_path": null, @@ -879,6 +885,7 @@ "source_packages": [ "pkg:alpine/ca-certificates@20191127-r0" ], + "extra_data": {}, "purl": "pkg:alpine/ca-certificates-cacert@20191127-r0?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, @@ -937,6 +944,7 @@ "source_packages": [ "pkg:alpine/libtls-standalone@2.9.1-r0" ], + "extra_data": {}, "purl": "pkg:alpine/libtls-standalone@2.9.1-r0?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, @@ -1002,6 +1010,7 @@ "source_packages": [ "pkg:alpine/busybox@1.31.1-r9" ], + "extra_data": {}, "purl": "pkg:alpine/ssl_client@1.31.1-r9?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, @@ -1059,6 +1068,7 @@ "source_packages": [ "pkg:alpine/zlib@1.2.11-r3" ], + "extra_data": {}, "purl": "pkg:alpine/zlib@1.2.11-r3?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, @@ -1124,6 +1134,7 @@ "source_packages": [ "pkg:alpine/apk-tools@2.10.4-r3" ], + "extra_data": {}, "purl": "pkg:alpine/apk-tools@2.10.4-r3?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, @@ -1181,6 +1192,7 @@ "source_packages": [ "pkg:alpine/pax-utils@1.2.4-r0" ], + "extra_data": {}, "purl": "pkg:alpine/scanelf@1.2.4-r0?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, @@ -1229,7 +1241,7 @@ "code_view_url": null, "vcs_url": "git+http://git.alpinelinux.org/aports/commit/?id=ba05f40c20ddc515f748f205f01befbba3a88feb", "copyright": null, - "license_expression": "(mit AND bsd-new) AND gpl-2.0-plus", + "license_expression": "mit AND bsd-new AND gpl-2.0-plus", "declared_license": "MIT BSD GPL2+", "notice_text": null, "root_path": null, @@ -1247,6 +1259,7 @@ "source_packages": [ "pkg:alpine/musl@1.1.24-r0" ], + "extra_data": {}, "purl": "pkg:alpine/musl-utils@1.1.24-r0?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, @@ -1327,7 +1340,7 @@ "code_view_url": null, "vcs_url": "git+http://git.alpinelinux.org/aports/commit/?id=97b1c2842faa3bfa30f5811ffbf16d5ff9f1a479", "copyright": null, - "license_expression": "unknown", + "license_expression": "bsd-new", "declared_license": "BSD", "notice_text": null, "root_path": null, @@ -1345,6 +1358,7 @@ "source_packages": [ "pkg:alpine/libc-dev@0.7.2-r0" ], + "extra_data": {}, "purl": "pkg:alpine/libc-utils@0.7.2-r0?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/bashlex/APKBUILD b/tests/packagedcode/data/bashlex/APKBUILD new file mode 100644 index 00000000000..413264cd6df --- /dev/null +++ b/tests/packagedcode/data/bashlex/APKBUILD @@ -0,0 +1,704 @@ +# Contributor: Natanael Copa +# Maintainer: Ariadne Conill +pkgname=gcc +_pkgbase=10.3.1 +pkgver=10.3.1_git20210424 +[ "$BOOTSTRAP" = "nolibc" ] && pkgname="gcc-pass2" +[ "$CBUILD" != "$CHOST" ] && _cross="-$CARCH" || _cross="" +[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target="" + +pkgname="$pkgname$_target" +pkgrel=2 +pkgdesc="The GNU Compiler Collection" +url="https://gcc.gnu.org" +arch="all" +license="GPL-2.0-or-later LGPL-2.1-or-later" +_gccrel=$pkgver-r$pkgrel +depends="binutils$_target" +makedepends_build="gcc$_cross g++$_cross bison flex texinfo gawk zip gmp-dev mpfr-dev mpc1-dev zlib-dev" +makedepends_host="linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev !gettext-dev libucontext-dev" +subpackages=" " +[ "$CHOST" = "$CTARGET" ] && subpackages="gcc-doc$_target" +replaces="libstdc++ binutils" + +: "${LANG_CXX:=true}" +: "${LANG_D:=true}" +: "${LANG_OBJC:=true}" +: "${LANG_GO:=true}" +: "${LANG_FORTRAN:=true}" +: "${LANG_ADA:=true}" + +_libgomp=true +_libgcc=true +_libatomic=true +_libitm=true + +if [ "$CHOST" != "$CTARGET" ]; then + if [ "$BOOTSTRAP" = nolibc ]; then + LANG_CXX=false + LANG_ADA=false + _libgcc=false + _builddir="$srcdir/build-cross-pass2" + else + _builddir="$srcdir/build-cross-final" + fi + LANG_OBJC=false + LANG_GO=false + LANG_FORTRAN=false + LANG_D=false + _libgomp=false + _libatomic=false + _libitm=false + + # reset target flags (should be set in crosscreate abuild) + # fixup flags. seems gcc treats CPPFLAGS as global without + # _FOR_xxx variants. wrap it in CFLAGS and CXXFLAGS. + export CFLAGS="$CPPFLAGS $CFLAGS" + export CXXFLAGS="$CPPFLAGS $CXXFLAGS" + unset CPPFLAGS + export CFLAGS_FOR_TARGET=" " + export CXXFLAGS_FOR_TARGET=" " + export LDFLAGS_FOR_TARGET=" " + + STRIP_FOR_TARGET="$CTARGET-strip" +elif [ "$CBUILD" != "$CHOST" ]; then + # fixup flags. seems gcc treats CPPFLAGS as global without + # _FOR_xxx variants. wrap it in CFLAGS and CXXFLAGS. + export CFLAGS="$CPPFLAGS $CFLAGS" + export CXXFLAGS="$CPPFLAGS $CXXFLAGS" + unset CPPFLAGS + + # reset flags and cc for build + export CC_FOR_BUILD="gcc" + export CXX_FOR_BUILD="g++" + export CFLAGS_FOR_BUILD=" " + export CXXFLAGS_FOR_BUILD=" " + export LDFLAGS_FOR_BUILD=" " + export CFLAGS_FOR_TARGET=" " + export CXXFLAGS_FOR_TARGET=" " + export LDFLAGS_FOR_TARGET=" " + + # Languages that do not need bootstrapping + LANG_OBJC=false + LANG_GO=false + LANG_FORTRAN=false + LANG_D=false + + STRIP_FOR_TARGET=${CROSS_COMPILE}strip + _builddir="$srcdir/build-cross-native" +else + STRIP_FOR_TARGET=${CROSS_COMPILE}strip + _builddir="$srcdir/build" +fi + +# GDC hasn't been ported to PowerPC +# See libphobos/configure.tgt in GCC sources for supported targets +# riscv fails with: error: static assert "unimplemented" +case "$CARCH" in +ppc64le|riscv64) LANG_D=false ;; +esac + +# libitm has TEXTRELs in ARM build, so disable for now +case "$CTARGET_ARCH" in +arm*) _libitm=false ;; +mips*) _libitm=false ;; +riscv64) _libitm=false ;; +esac + +# Internal libffi fails to build on MIPS at the moment, need to +# investigate further. We disable LANG_GO on mips64 as it requires +# the internal libffi. +case "$CTARGET_ARCH" in +mips*) LANG_GO=false ;; +esac + +# Fortran uses libquadmath if toolchain has __float128 +# currently on x86, x86_64 and ia64 +_libquadmath=$LANG_FORTRAN +case "$CTARGET_ARCH" in +x86 | x86_64) _libquadmath=$LANG_FORTRAN ;; +*) _libquadmath=false ;; +esac + +# libatomic is a dependency for openvswitch +$_libatomic && subpackages="$subpackages libatomic::$CTARGET_ARCH" +$_libgcc && subpackages="$subpackages libgcc::$CTARGET_ARCH" +$_libquadmath && subpackages="$subpackages libquadmath::$CTARGET_ARCH" +if $_libgomp; then + depends="$depends libgomp=$_gccrel" + subpackages="$subpackages libgomp::$CTARGET_ARCH" +fi + +case "$CARCH" in +riscv64) +LANG_ADA=false;; +esac + +_languages=c +if $LANG_CXX; then + subpackages="$subpackages libstdc++:libcxx:$CTARGET_ARCH g++$_target:gpp" + _languages="$_languages,c++" +fi +if $LANG_D; then + subpackages="$subpackages libgphobos::$CTARGET_ARCH gcc-gdc$_target:gdc" + _languages="$_languages,d" + makedepends_build="$makedepends_build libucontext-dev" +fi +if $LANG_OBJC; then + subpackages="$subpackages libobjc::$CTARGET_ARCH gcc-objc$_target:objc" + _languages="$_languages,objc" +fi +if $LANG_GO; then + subpackages="$subpackages libgo::$CTARGET_ARCH gcc-go$_target:go" + _languages="$_languages,go" +fi +if $LANG_FORTRAN; then + subpackages="$subpackages libgfortran::$CTARGET_ARCH gfortran$_target:gfortran" + _languages="$_languages,fortran" +fi +if $LANG_ADA; then + subpackages="$subpackages libgnat-static:libgnatstatic:$CTARGET_ARCH libgnat::$CTARGET_ARCH gcc-gnat$_target:gnat" + _languages="$_languages,ada" + [ "$CBUILD" = "$CTARGET" ] && makedepends_build="$makedepends_build gcc-gnat-bootstrap" + [ "$CBUILD" != "$CTARGET" ] && makedepends_build="$makedepends_build gcc-gnat gcc-gnat$_cross" +fi +makedepends="$makedepends_build $makedepends_host" + +# when using upstream releases, use this URI template +# https://gcc.gnu.org/pub/gcc/releases/gcc-${_pkgbase:-$pkgver}/gcc-${_pkgbase:-$pkgver}.tar.xz +# +# right now, we are using a git snapshot. +# +# PLEASE submit all patches to gcc to https://gitlab.alpinelinux.org/kaniini/alpine-gcc-patches, +# so that they can be properly tracked and easily rebased if needed. +source="https://dev.alpinelinux.org/~nenolod/gcc-${pkgver}.tar.xz + 0001-posix_memalign.patch + 0002-gcc-poison-system-directories.patch + 0003-Turn-on-Wl-z-relro-z-now-by-default.patch + 0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch + 0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch + 0006-Enable-Wformat-and-Wformat-security-by-default.patch + 0007-Enable-Wtrampolines-by-default.patch + 0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch + 0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch + 0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch + 0011-libiberty-copy-PIC-objects-during-build-process.patch + 0012-libitm-disable-FORTIFY.patch + 0013-libgcc_s.patch + 0014-nopie.patch + 0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch + 0016-dlang-update-zlib-binding.patch + 0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch + 0018-ada-fix-shared-linking.patch + 0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch + 0020-add-fortify-headers-paths.patch + 0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch + 0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch + 0023-Pure-64-bit-MIPS.patch + 0024-use-pure-64-bit-configuration-where-appropriate.patch + 0025-always-build-libgcc_eh.a.patch + 0026-ada-libgnarl-compatibility-for-musl.patch + 0027-ada-musl-support-fixes.patch + 0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch + 0029-gcc-go-Don-t-include-sys-user.h.patch + 0030-gcc-go-Fix-ucontext_t-on-PPC64.patch + 0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch + 0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch + 0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch + 0034-gcc-go-signal-34-is-special-on-musl-libc.patch + 0035-gcc-go-Prefer-_off_t-over-_off64_t.patch + 0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch + 0037-gcc-go-link-to-libucontext.patch + 0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch + 0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch + 0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch + 0041-Use-generic-errstr.go-implementation-on-musl.patch + " + +# we build out-of-tree +_gccdir="$srcdir"/gcc-$pkgver +_gcclibdir="/usr/lib/gcc/$CTARGET/${_pkgbase:-$pkgver}" +_gcclibexec="/usr/libexec/gcc/$CTARGET/${_pkgbase:-$pkgver}" + +prepare() { + cd "$_gccdir" + + _err= + for i in $source; do + case "$i" in + *.patch) + msg "Applying $i" + patch -p1 -i "$srcdir"/$i || _err="$_err $i" + ;; + esac + done + + if [ -n "$_err" ]; then + error "The following patches failed:" + for i in $_err; do + echo " $i" + done + return 1 + fi + + echo ${_pkgbase:-$pkgver} > gcc/BASE-VER +} + +build() { + local _arch_configure= + local _libc_configure= + local _cross_configure= + local _bootstrap_configure= + local _symvers= + + cd "$_gccdir" + + case "$CTARGET" in + aarch64-*-*-*) _arch_configure="--with-arch=armv8-a --with-abi=lp64";; + armv5-*-*-*eabi) _arch_configure="--with-arch=armv5te --with-tune=arm926ej-s --with-float=soft --with-abi=aapcs-linux";; + armv6-*-*-*eabihf) _arch_configure="--with-arch=armv6zk --with-tune=arm1176jzf-s --with-fpu=vfp --with-float=hard --with-abi=aapcs-linux";; + armv7-*-*-*eabihf) _arch_configure="--with-arch=armv7-a --with-tune=generic-armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-abi=aapcs-linux --with-mode=thumb";; + mips-*-*-*) _arch_configure="--with-arch=mips32 --with-mips-plt --with-float=soft --with-abi=32";; + mips64-*-*-*) _arch_configure="--with-arch=mips3 --with-tune=mips64 --with-mips-plt --with-float=soft --with-abi=64";; + mips64el-*-*-*) _arch_configure="--with-arch=mips3 --with-tune=mips64 --with-mips-plt --with-float=soft --with-abi=64";; + mipsel-*-*-*) _arch_configure="--with-arch=mips32 --with-mips-plt --with-float=soft --with-abi=32";; + powerpc-*-*-*) _arch_configure="--enable-secureplt --enable-decimal-float=no";; + powerpc64*-*-*-*) _arch_configure="--with-abi=elfv2 --enable-secureplt --enable-decimal-float=no --enable-targets=powerpcle-linux";; + i486-*-*-*) _arch_configure="--with-arch=i486 --with-tune=generic --enable-cld";; + i586-*-*-*) _arch_configure="--with-arch=i586 --with-tune=generic --enable-cld";; + s390x-*-*-*) _arch_configure="--with-arch=z196 --with-tune=zEC12 --with-zarch --with-long-double-128 --enable-decimal-float";; + riscv64-*-*-*) _arch_configure="--with-arch=rv64gc --with-abi=lp64d --enable-autolink-libatomic";; + esac + + case "$CTARGET_ARCH" in + mips*) _hash_style_configure="--with-linker-hash-style=sysv" ;; + *) _hash_style_configure="--with-linker-hash-style=gnu" ;; + esac + + case "$CTARGET_LIBC" in + musl) + # musl does not support mudflap, or libsanitizer + # libmpx uses secure_getenv and struct _libc_fpstate not present in musl + # alpine musl provides libssp_nonshared.a, so we don't need libssp either + _libc_configure="--disable-libssp --disable-libmpx --disable-libmudflap --disable-libsanitizer" + _symvers="--disable-symvers" + export libat_cv_have_ifunc=no + ;; + esac + + [ "$CBUILD" != "$CHOST" ] && _cross_configure="--disable-bootstrap" + [ "$CHOST" != "$CTARGET" ] && _cross_configure="--disable-bootstrap --with-sysroot=$CBUILDROOT" + + case "$BOOTSTRAP" in + nolibc) _bootstrap_configure="--with-newlib --disable-shared --enable-threads=no" ;; + *) _bootstrap_configure="--enable-shared --enable-threads --enable-tls" ;; + esac + + $_libgomp || _bootstrap_configure="$_bootstrap_configure --disable-libgomp" + $_libatomic || _bootstrap_configure="$_bootstrap_configure --disable-libatomic" + $_libitm || _bootstrap_configure="$_bootstrap_configure --disable-libitm" + $_libquadmath || _arch_configure="$_arch_configure --disable-libquadmath" + + msg "Building the following:" + echo "" + echo " CBUILD=$CBUILD" + echo " CHOST=$CHOST" + echo " CTARGET=$CTARGET" + echo " CTARGET_ARCH=$CTARGET_ARCH" + echo " CTARGET_LIBC=$CTARGET_LIBC" + echo " languages=$_languages" + echo " arch_configure=$_arch_configure" + echo " libc_configure=$_libc_configure" + echo " cross_configure=$_cross_configure" + echo " bootstrap_configure=$_bootstrap_configure" + echo " hash_style_configure=$_hash_style_configure" + echo "" + + export CFLAGS="$CFLAGS -O2" + + mkdir -p "$_builddir" + cd "$_builddir" + "$_gccdir"/configure --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --build=${CBUILD} \ + --host=${CHOST} \ + --target=${CTARGET} \ + --with-pkgversion="Alpine $pkgver" \ + --enable-checking=release \ + --disable-fixed-point \ + --disable-libstdcxx-pch \ + --disable-multilib \ + --disable-nls \ + --disable-werror \ + $_symvers \ + --enable-__cxa_atexit \ + --enable-default-pie \ + --enable-default-ssp \ + --enable-cloog-backend \ + --enable-languages=$_languages \ + $_arch_configure \ + $_libc_configure \ + $_cross_configure \ + $_bootstrap_configure \ + --with-system-zlib \ + $_hash_style_configure + make +} + +package() { + cd "$_builddir" + make -j1 DESTDIR="$pkgdir" install + + ln -s gcc "$pkgdir"/usr/bin/cc + + # we dont support gcj -static + # and saving 35MB is not bad. + find "$pkgdir" \( -name libgtkpeer.a \ + -o -name libgjsmalsa.a \ + -o -name libgij.a \) \ + -delete + + # strip debug info from some static libs + find "$pkgdir" \( -name libgfortran.a -o -name libobjc.a -o -name libgomp.a \ + -o -name libgphobos.a -o -name libgdruntime.a \ + -o -name libmudflap.a -o -name libmudflapth.a \ + -o -name libgcc.a -o -name libgcov.a -o -name libquadmath.a \ + -o -name libitm.a -o -name libgo.a -o -name libcaf\*.a \ + -o -name libatomic.a -o -name libasan.a -o -name libtsan.a \) \ + -a -type f \ + -exec ${STRIP_FOR_TARGET} -g {} + + + if $_libgomp; then + mv "$pkgdir"/usr/lib/libgomp.spec "$pkgdir"/$_gcclibdir + fi + if $_libitm; then + mv "$pkgdir"/usr/lib/libitm.spec "$pkgdir"/$_gcclibdir + fi + + # remove ffi + rm -f "$pkgdir"/usr/lib/libffi* "$pkgdir"/usr/share/man/man3/ffi* + find "$pkgdir" -name 'ffi*.h' -delete + + local gdblib=${_target:+$CTARGET/}lib + if [ -d "$pkgdir"/usr/$gdblib/ ]; then + for i in $(find "$pkgdir"/usr/$gdblib/ -type f -maxdepth 1 -name "*-gdb.py"); do + mkdir -p "$pkgdir"/usr/share/gdb/python/auto-load/usr/$gdblib + mv "$i" "$pkgdir"/usr/share/gdb/python/auto-load/usr/$gdblib/ + done + fi + + # move ada runtime libs + if $LANG_ADA; then + for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 -name "libgna*.so"); do + mv "$i" "$pkgdir"/usr/lib/ + ln -s ../../../../${i##*/} $i + done + for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 -name "libgna*.a"); do + mv "$i" "$pkgdir"/usr/lib/ + ln -s ../../../../${i##*/} $i + done + fi + + if [ "$CHOST" != "$CTARGET" ]; then + # cross-gcc: remove any files that would conflict with the + # native gcc package + rm -rf "$pkgdir"/usr/bin/cc "$pkgdir"/usr/include "${pkgdir:?}"/usr/share + # libcc1 does not depend on target, don't ship it + rm -rf "$pkgdir"/usr/lib/libcc1.so* + + # fixup gcc library symlinks to be linker scripts so + # linker finds the libs from relocated sysroot + for so in "$pkgdir"/usr/"$CTARGET"/lib/*.so; do + if [ -h "$so" ]; then + local _real=$(basename "$(readlink "$so")") + rm -f "$so" + echo "GROUP ($_real)" > "$so" + fi + done + else + # add c89/c99 wrapper scripts + cat >"$pkgdir"/usr/bin/c89 <<'EOF' +#!/bin/sh +_flavor="-std=c89" +for opt; do + case "$opt" in + -ansi|-std=c89|-std=iso9899:1990) _flavor="";; + -std=*) echo "$(basename $0) called with non ANSI/ISO C option $opt" >&2 + exit 1;; + esac +done +exec gcc $_flavor ${1+"$@"} +EOF + cat >"$pkgdir"/usr/bin/c99 <<'EOF' +#!/bin/sh +_flavor="-std=c99" +for opt; do + case "$opt" in + -std=c99|-std=iso9899:1999) _flavor="";; + -std=*) echo "$(basename $0) called with non ISO C99 option $opt" >&2 + exit 1;; + esac +done +exec gcc $_flavor ${1+"$@"} +EOF + chmod 755 "$pkgdir"/usr/bin/c?9 + + # install lto plugin so regular binutils may use it + mkdir -p "$pkgdir"/usr/lib/bfd-plugins + ln -s /$_gcclibexec/liblto_plugin.so "$pkgdir/usr/lib/bfd-plugins/" + fi +} + +libatomic() { + pkgdesc="GCC Atomic library" + depends= + replaces="gcc" + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/libatomic.so.* "$subpkgdir"/usr/lib/ +} + +libcxx() { + pkgdesc="GNU C++ standard runtime library" + depends= + + if [ "$CHOST" = "$CTARGET" ]; then + # verify that we are using clock_gettime rather than doing direct syscalls + # so we dont break 32 bit arches due to time64. + nm -D "$pkgdir"/usr/lib/libstdc++.so.* | grep clock_gettime + fi + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/libstdc++.so.* "$subpkgdir"/usr/lib/ +} + +gpp() { + pkgdesc="GNU C++ standard library and compiler" + depends="libstdc++=$_gccrel gcc=$_gccrel libc-dev" + mkdir -p "$subpkgdir/$_gcclibexec" \ + "$subpkgdir"/usr/bin \ + "$subpkgdir"/usr/${_target:+$CTARGET/}include \ + "$subpkgdir"/usr/${_target:+$CTARGET/}lib \ + + mv "$pkgdir/$_gcclibexec/cc1plus" "$subpkgdir/$_gcclibexec/" + + mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/*++* "$subpkgdir"/usr/${_target:+$CTARGET/}lib/ + mv "$pkgdir"/usr/${_target:+$CTARGET/}include/c++ "$subpkgdir"/usr/${_target:+$CTARGET/}include/ + mv "$pkgdir"/usr/bin/*++ "$subpkgdir"/usr/bin/ +} + +libobjc() { + pkgdesc="GNU Objective-C runtime" + replaces="objc" + depends= + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/libobjc.so.* "$subpkgdir"/usr/lib/ +} + +objc() { + pkgdesc="GNU Objective-C" + replaces="gcc" + depends="libc-dev gcc=$_gccrel libobjc=$_gccrel" + + mkdir -p "$subpkgdir/$_gcclibexec" \ + "$subpkgdir"/$_gcclibdir/include \ + "$subpkgdir"/usr/lib + mv "$pkgdir/$_gcclibexec/cc1obj" "$subpkgdir/$_gcclibexec/" + mv "$pkgdir"/$_gcclibdir/include/objc "$subpkgdir"/$_gcclibdir/include/ + mv "$pkgdir"/usr/lib/libobjc.so "$pkgdir"/usr/lib/libobjc.a \ + "$subpkgdir"/usr/lib/ +} + +libgcc() { + pkgdesc="GNU C compiler runtime libraries" + depends= + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/libgcc_s.so.* "$subpkgdir"/usr/lib/ +} + +libgomp() { + pkgdesc="GCC shared-memory parallel programming API library" + depends= + replaces="gcc" + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/libgomp.so.* "$subpkgdir"/usr/lib/ +} + +libgphobos() { + pkgdesc="D programming language standard library for GCC" + depends= + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libgdruntime.so.* "$subpkgdir"/usr/lib/ + mv "$pkgdir"/usr/lib/libgphobos.so.* "$subpkgdir"/usr/lib/ +} + +gdc() { + pkgdesc="GCC-based D language compiler" + depends="gcc=$_gccrel libgphobos=$_gccrel musl-dev" + depends="$depends libucontext-dev" + + mkdir -p "$subpkgdir/$_gcclibexec" \ + "$subpkgdir"/$_gcclibdir/include/d/ \ + "$subpkgdir"/usr/lib \ + "$subpkgdir"/usr/bin + # Copy: The installed '.d' files, the static lib, the binary itself + # The shared libs are part of 'libgphobos' so one can run program + # without installing the compiler + mv "$pkgdir/$_gcclibexec/d21" "$subpkgdir/$_gcclibexec/" + mv "$pkgdir"/$_gcclibdir/include/d/* "$subpkgdir"/$_gcclibdir/include/d/ + mv "$pkgdir"/usr/lib/libgdruntime.a "$subpkgdir"/usr/lib/ + mv "$pkgdir"/usr/lib/libgphobos.a "$subpkgdir"/usr/lib/ + mv "$pkgdir"/usr/lib/libgphobos.spec "$subpkgdir"/usr/lib/ + mv "$pkgdir"/usr/bin/$CTARGET-gdc "$subpkgdir"/usr/bin/ + mv "$pkgdir"/usr/bin/gdc "$subpkgdir"/usr/bin/ +} + + +libgo() { + pkgdesc="Go runtime library for GCC" + depends= + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libgo.so.* "$subpkgdir"/usr/lib/ +} + +go() { + pkgdesc="Go support for GCC" + depends="gcc=$_gccrel libgo=$_gccrel !go" + + mkdir -p "$subpkgdir"/$_gcclibexec \ + "$subpkgdir"/usr/lib \ + "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/lib/go "$subpkgdir"/usr/lib/ + mv "$pkgdir"/usr/bin/*gccgo "$subpkgdir"/usr/bin/ + mv "$pkgdir"/usr/bin/*go "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/*gofmt "$subpkgdir"/usr/bin + mv "$pkgdir"/$_gcclibexec/go1 "$subpkgdir"/$_gcclibexec/ + mv "$pkgdir"/$_gcclibexec/cgo "$subpkgdir"/$_gcclibexec/ + mv "$pkgdir"/$_gcclibexec/buildid "$subpkgdir"/$_gcclibexec/ + mv "$pkgdir"/$_gcclibexec/test2json "$subpkgdir"/$_gcclibexec/ + mv "$pkgdir"/$_gcclibexec/vet "$subpkgdir"/$_gcclibexec/ + mv "$pkgdir"/usr/lib/libgo.a \ + "$pkgdir"/usr/lib/libgo.so \ + "$pkgdir"/usr/lib/libgobegin.a \ + "$pkgdir"/usr/lib/libgolibbegin.a \ + "$subpkgdir"/usr/lib/ +} + +libgfortran() { + pkgdesc="Fortran runtime library for GCC" + depends= + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libgfortran.so.* "$subpkgdir"/usr/lib/ +} + +libquadmath() { + replaces="gcc" + pkgdesc="128-bit math library for GCC" + depends= + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libquadmath.so.* "$subpkgdir"/usr/lib/ +} + +gfortran() { + pkgdesc="GNU Fortran Compiler" + depends="gcc=$_gccrel libgfortran=$_gccrel" + $_libquadmath && depends="$depends libquadmath=$_gccrel" + replaces="gcc" + + mkdir -p "$subpkgdir"/$_gcclibexec \ + "$subpkgdir"/$_gcclibdir \ + "$subpkgdir"/usr/lib \ + "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/*gfortran "$subpkgdir"/usr/bin/ + mv "$pkgdir"/usr/lib/libgfortran.a \ + "$pkgdir"/usr/lib/libgfortran.so \ + "$subpkgdir"/usr/lib/ + if $_libquadmath; then + mv "$pkgdir"/usr/lib/libquadmath.a \ + "$pkgdir"/usr/lib/libquadmath.so \ + "$subpkgdir"/usr/lib/ + fi + mv "$pkgdir"/$_gcclibdir/finclude "$subpkgdir"/$_gcclibdir/ + mv "$pkgdir"/$_gcclibexec/f951 "$subpkgdir"/$_gcclibexec + mv "$pkgdir"/usr/lib/libgfortran.spec "$subpkgdir"/$_gcclibdir +} + +libgnat() { + pkgdesc="GNU Ada runtime shared libraries" + depends= + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libgna*.so "$subpkgdir"/usr/lib/ +} + +libgnatstatic() { + pkgdesc="GNU Ada static libraries" + depends= + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libgna*.a "$subpkgdir"/usr/lib/ +} + +gnat() { + pkgdesc="Ada support for GCC" + depends="gcc=$_gccrel" + provides="$pkgname-gnat-bootstrap" + [ "$CHOST" = "$CTARGET" ] && depends="$depends libgnat=$_gccrel" + + mkdir -p "$subpkgdir"/$_gcclibexec \ + "$subpkgdir"/$_gcclibdir \ + "$subpkgdir"/usr/bin + mv "$pkgdir"/$_gcclibexec/*gnat* "$subpkgdir"/$_gcclibexec/ + mv "$pkgdir"/$_gcclibdir/*ada* "$subpkgdir"/$_gcclibdir/ + mv "$pkgdir"/usr/bin/*gnat* "$subpkgdir"/usr/bin/ +} + +sha512sums="0ef281e6633b8bef7ce24d1448ec7b96aef66e414f90821a9a021dcd98eca8895d217d9d95b70fd9c96113689cd026aec951edc356462e439a9350edb4009df6 gcc-10.3.1_git20210424.tar.xz +d1e10db83a04c02d99f9f6ce03f949b83ccd013674773dcb08992c604048df6a08bf9bd16f74e3c60ea85fd861fb08c1fa9fe17c304af9bfc9a032b81f1ac9eb 0001-posix_memalign.patch +a77c7ebd994b5780cc5209f33ace24fc4d04353638dcdb14af192b0be5b0e5be397218ddba40e577af889a267af1aa69c1def474207a6661a37c3f5c15002bcb 0002-gcc-poison-system-directories.patch +108ad63f61e61f627a75613605962021c08bbde584f3c0507d6a07c6112487847ce89699d1d80efb9201c4eab3440ba66f2eeb781bd259fdfc9c87b3baee1e27 0003-Turn-on-Wl-z-relro-z-now-by-default.patch +dc28895223fe7ce531648225da3cd15e20c26a9be0248fdd66f11efb153647776bdbe8109097d87a087c4443e809a0d425848bdeae1442135c52a13bdd06ef75 0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch +ce7a5f243072284e767510083c57250dd5f1dcdcae102cf1ecbb06f36ea286b00b1f84dc32e5fdb76bac77b52ef3e4e650cff7cc0d14d94487a40ca9d5605bbd 0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch +f5458adfd23f51fa54fb690ec322552d7cadc3afa5773e13e73832c56832854ff14a73ff480c9990731ce929c5a4df35bc20247239268221b9af40ba37331228 0006-Enable-Wformat-and-Wformat-security-by-default.patch +2601b0de5fe402cdd9a3d87c2a3e959154c2ee413989db21fbc232f169b20d94807a1f89ff5ebb650a143d59b4b48187b338832d8de577fa47bfdd1b76313114 0007-Enable-Wtrampolines-by-default.patch +3eedfe70c85d963845a658444d8692792a34af8b5e0fa800991bf1e0e2c9ff3196c50f11a284cfaca5d48b4c78b614febf38339918c7fa7a7f4723a1f6bdad16 0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch +6a4b6843cb27b560ac4327b17718806bac4b602903f696222617148a52e9918144648cc45642293beb7c8fd48eba325c115e1dcaa4adec85e1caff0ea33d2a8a 0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch +af174250b4fbcc3664bed51d919695511b538f2f3b65532383591f511bede3d13a1ade29aea66598d6df17f2e931a2d171f01c4e7008b4f468cfb13dc5f2b4cf 0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch +aabac76659e3fa96fa7b4ee2571672c840c3dd37314f16516038d3934333a42b20442a967afce5a35a326685c3c8ef384fc97dc8f4dae57479038f5431e33c19 0011-libiberty-copy-PIC-objects-during-build-process.patch +36702acf0c9b34adb0b23b74167e5358c706246cc88ce569d4462555bb48288d5d633298aa447ef023c6f75de86dfa7d4ebbf3c43593e1279837ebd47061be0f 0012-libitm-disable-FORTIFY.patch +79912633ee707c60c66abf6ee16159db3357e4e75d4254f7f38cbc0119c2adfcfa2b8c6b1df3885526d68e49f88e2a0c87969a784ed8a1025a680a4f18acd06c 0013-libgcc_s.patch +c8c6f4e967afb5d4a9eccd917f6338a61547cc2fabbf56b25e27220b4f3c85f5002477bf2f9d05a911185cee8dcba3a12d3ad24c0d7b1d3b67a3a53bfea702c6 0014-nopie.patch +d8d8556a6192d7695e1aeb1e64bf98a02b068c427442dd9c23d2b9a863c504e577f35e0890b5f0a184c687ce9315cecff3d2e0bb82f19531a493efb72b54cfe7 0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch +b3fb29187561fef84b6eb0b35a582c79833203f689e5bf884146cd9a71ec407e0e3b27b0bd4953143d00879ce32331e92741e1c7229ca291ebf13dfd8f5d409c 0016-dlang-update-zlib-binding.patch +2a03683d5e00cc65f8ebc83638953dff89981069943169874df03f4f3a22348b960780250d9240505acf5b1bfbe154d57d14f310f29a94b76404f50611da9000 0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch +3df60839e5337fccdd228ebf753fb0dbf672aefca5f3f16329b99c813b907f44e1ce4948ce7f692dca316eb307b83ae9f5028cf1875eb3c9fee85b2dee7bfe83 0018-ada-fix-shared-linking.patch +bd60be22341b508b4b5cb66eb48723d0f48770745352c60cfe146efa4d18ec58cccbb37f85b98dc0432e52bb5dc8dc1f28b3a3ca50d1ca6db68eb38df970e5aa 0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch +333f9c7a1935dc4f29783fa31c254bda6339c30ee770eb30d585ac422cd0f69701b5d988f9493471e4c83cf20937050f33320852a83ed6dfb2e739ee3539ca0e 0020-add-fortify-headers-paths.patch +053b0339936cc0469e8708ccc086fa1dabe8572199530e1e78a93551340dd35467a07273e19d2cbc7fe915b7a5bdf95c128718ba0518b67b9668ef0316b7aa06 0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch +7b3d849cdbdee5855918db4114de8f989ec5d612cddc7551eb63ca2878e69e3566353bbfafa9205a161ffd51c5aedd367de6ad82cd5ebf6cb28c716a8d447bb5 0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch +6b3c0fa81cebaf32948657bddaac99024f45c2fc19ac8bc504f3773b6458099b9907e310e162952973bdd41c9fc011e7a50bc8fa86cc0ebec9dd4c69830a012b 0023-Pure-64-bit-MIPS.patch +da634721fa9cba18e4f527b2cdbe6896c0251ce43865c6fbf29a7281d766c3a8f98e2ddd345b801c25b7ceb85880150ae9cc422aa8891b1fc28a3dc40bcd3114 0024-use-pure-64-bit-configuration-where-appropriate.patch +64b58a273993224f93c68cddfacc1b3da6b0900b2983f27f8db39b4375afa97cce564739c8fc320666821f6de526e54acbc4920c7e16612303b3d25aed34d5f1 0025-always-build-libgcc_eh.a.patch +6004be7d683993c175f819e1d62767b6ca2b80643917bb584ffffe2aee9fd5ad9745f91651ad5d1d00aed390e7346262b5c28bec356efd9ff1c85e4b54bcfe2e 0026-ada-libgnarl-compatibility-for-musl.patch +7a3ce107cc55356ac46f3a217eea1cf9cdddd43fd3fede048a26e5da2280f0af9f806392942d2896a0f841ca0b0b0eaceb4e20f09edee7a743b515d3553fc8b3 0027-ada-musl-support-fixes.patch +0cd8303456ec5479942970679352fe8bcd259b8b04bffba458545abdfac87163a8fb8e55c3aa505c516af8fd0a1bfb5f2ee4c6027ec9bcb0b0d3564469a18e23 0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch +6cc82829bb8bf8ffb473e4f2f9c2f657a4078290fc7c3208d199c0b07c2c3a7575a0c423e52fc02fd96c81158ab2e7ad33ccb651523ba80e00dee9e503d19c6d 0029-gcc-go-Don-t-include-sys-user.h.patch +868e0cf5d32412c557d7835e03eb23621745179e77c87d69b810f8ec968cf80606cb5cb8085e5e125f08e809d5e3ff50c4de869d94caca5f4257669237a29b92 0030-gcc-go-Fix-ucontext_t-on-PPC64.patch +257814e2dc39bf01dedc3efe9f50029bdc230e112a0e739d0547896212b87bcdb9d40d4632a237137c91e2d9605b2256ebd45ee005920a5c4e401e699ce69f46 0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch +0e33205e6ef0b58d12eb80d3fd6ce7361e9e3a86ba2ae781745133be1f0fea6a1e95fd58331765f6bb599f4ad355224c954db4fbaf804b9e4c0ea01dbaae1638 0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch +bb1e3bbea65644435134910e04b8d4de27642026371b19f4faf51b90e32af08e7181b3198e936b3626cba2126f8f9182ce39f6b8c8849b6b27f56a1c45e4f8c5 0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch +0758417ab682ee6d4b75f1ba2d0c1f568e115a16625eb664066c1862178a43ae717396c5d61a355a08fc01929041abebbf33bc58176a0b78ab384aba7d2ed8ba 0034-gcc-go-signal-34-is-special-on-musl-libc.patch +d0b132d1bb9a455af23829a9da4ff89c27eff3f642e2280712667753d552fc214424470cad4cecd0ae39052553b6a22d7dc7a20eebfd1cb976d98552b00b9dcd 0035-gcc-go-Prefer-_off_t-over-_off64_t.patch +a21844975ff13317ed7985b5f5b257a0bc1dd961360b6a6f36bf52151b8edf5ecf38fbdd47cb2c28c13ed3dfbf4ca112d91d81373fd3e2c5992aba35296645af 0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch +0217263fc1fcfbde92fcebfc626b2cf0ba30e704b4fbe5a11f55d9ca5b579cceac3ba9ec45e7f53cd8805678b69fb6e5ab1295e67938b9c83f82e44ddebd0a85 0037-gcc-go-link-to-libucontext.patch +8a90ce84d493bfcdcad4cb1a02a320dca18e8178e717451087501b059ca00ab8f6b73d628bcb3f49c5c6702b7222b063d3c0803d093e2c6f58820b6aa578969e 0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch +a3e7362fa95d5ffa56b0d8ea73f6f8e867409ae3b85d041aa0591dba093c5bb1d30f3294151c5142e8d1df91f4d138e9f4484009b8a675c8fc3b754a34c7648e 0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch +dc7a8f6dc885dc34229128a716531b375ec4e8247a8522adb623c5a6b39db60ff471436b360a25f0310ee16fe1a6ec85ff64398cbae2677534626972ac01db22 0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch +046bfe95d6de9df148e6c410b5d23a49c488ab41d95e599fc381a2b7d190e6d7d99de59fa8cd8c3a711ee2310426f3cdcd323cf887c8d11543e119d205659b6a 0041-Use-generic-errstr.go-implementation-on-musl.patch" diff --git a/tests/packagedcode/data/bashlex/APKBUILD-expected.json b/tests/packagedcode/data/bashlex/APKBUILD-expected.json new file mode 100644 index 00000000000..afd3d28b90c --- /dev/null +++ b/tests/packagedcode/data/bashlex/APKBUILD-expected.json @@ -0,0 +1,25608 @@ +[ + { + "pos": 0, + "type": [ + "Comment" + ], + "value": "# Contributor: Natanael Copa " + }, + { + "pos": 52, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 53, + "type": [ + "Comment" + ], + "value": "# Maintainer: Ariadne Conill " + }, + { + "pos": 108, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 109, + "type": [ + "Name", + "Variable" + ], + "value": "pkgname" + }, + { + "pos": 116, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 117, + "type": [ + "Text" + ], + "value": "gcc" + }, + { + "pos": 120, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 121, + "type": [ + "Name", + "Variable" + ], + "value": "_pkgbase" + }, + { + "pos": 129, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 130, + "type": [ + "Text" + ], + "value": "10.3.1" + }, + { + "pos": 136, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 137, + "type": [ + "Name", + "Variable" + ], + "value": "pkgver" + }, + { + "pos": 143, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 144, + "type": [ + "Text" + ], + "value": "10.3.1_git20210424" + }, + { + "pos": 162, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 163, + "type": [ + "Text" + ], + "value": "[" + }, + { + "pos": 164, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 165, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$BOOTSTRAP\"" + }, + { + "pos": 177, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 178, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 179, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 180, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"nolibc\"" + }, + { + "pos": 188, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 189, + "type": [ + "Text" + ], + "value": "]" + }, + { + "pos": 190, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 191, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 193, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 194, + "type": [ + "Text" + ], + "value": "pkgname=\"gcc-pass2\"" + }, + { + "pos": 213, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 214, + "type": [ + "Text" + ], + "value": "[" + }, + { + "pos": 215, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 216, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CBUILD\"" + }, + { + "pos": 225, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 226, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 228, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 229, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CHOST\"" + }, + { + "pos": 237, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 238, + "type": [ + "Text" + ], + "value": "]" + }, + { + "pos": 239, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 240, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 242, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 243, + "type": [ + "Text" + ], + "value": "_cross=\"-$CARCH\"" + }, + { + "pos": 259, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 260, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 262, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 263, + "type": [ + "Text" + ], + "value": "_cross=\"\"" + }, + { + "pos": 272, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 273, + "type": [ + "Text" + ], + "value": "[" + }, + { + "pos": 274, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 275, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CHOST\"" + }, + { + "pos": 283, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 284, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 286, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 287, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CTARGET\"" + }, + { + "pos": 297, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 298, + "type": [ + "Text" + ], + "value": "]" + }, + { + "pos": 299, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 300, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 302, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 303, + "type": [ + "Text" + ], + "value": "_target=\"-$CTARGET_ARCH\"" + }, + { + "pos": 327, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 328, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 330, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 331, + "type": [ + "Text" + ], + "value": "_target=\"\"" + }, + { + "pos": 341, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 343, + "type": [ + "Name", + "Variable" + ], + "value": "pkgname" + }, + { + "pos": 350, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 351, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgname$_target\"" + }, + { + "pos": 369, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 370, + "type": [ + "Name", + "Variable" + ], + "value": "pkgrel" + }, + { + "pos": 376, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 377, + "type": [ + "Text" + ], + "value": "2" + }, + { + "pos": 378, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 379, + "type": [ + "Name", + "Variable" + ], + "value": "pkgdesc" + }, + { + "pos": 386, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 387, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"The GNU Compiler Collection\"" + }, + { + "pos": 416, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 417, + "type": [ + "Name", + "Variable" + ], + "value": "url" + }, + { + "pos": 420, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 421, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"https://gcc.gnu.org\"" + }, + { + "pos": 442, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 443, + "type": [ + "Name", + "Variable" + ], + "value": "arch" + }, + { + "pos": 447, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 448, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"all\"" + }, + { + "pos": 453, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 454, + "type": [ + "Name", + "Variable" + ], + "value": "license" + }, + { + "pos": 461, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 462, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"GPL-2.0-or-later LGPL-2.1-or-later\"" + }, + { + "pos": 498, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 499, + "type": [ + "Name", + "Variable" + ], + "value": "_gccrel" + }, + { + "pos": 506, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 507, + "type": [ + "Text" + ], + "value": "$pkgver-r$pkgrel" + }, + { + "pos": 523, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 524, + "type": [ + "Name", + "Variable" + ], + "value": "depends" + }, + { + "pos": 531, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 532, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"binutils$_target\"" + }, + { + "pos": 550, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 551, + "type": [ + "Name", + "Variable" + ], + "value": "makedepends_build" + }, + { + "pos": 568, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 569, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"gcc$_cross g++$_cross bison flex texinfo gawk zip gmp-dev mpfr-dev mpc1-dev zlib-dev\"" + }, + { + "pos": 655, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 656, + "type": [ + "Name", + "Variable" + ], + "value": "makedepends_host" + }, + { + "pos": 672, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 673, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev !gettext-dev libucontext-dev\"" + }, + { + "pos": 760, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 761, + "type": [ + "Name", + "Variable" + ], + "value": "subpackages" + }, + { + "pos": 772, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 773, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" \"" + }, + { + "pos": 776, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 777, + "type": [ + "Text" + ], + "value": "[" + }, + { + "pos": 778, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 779, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CHOST\"" + }, + { + "pos": 787, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 788, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 789, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 790, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CTARGET\"" + }, + { + "pos": 800, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 801, + "type": [ + "Text" + ], + "value": "]" + }, + { + "pos": 802, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 803, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 805, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 806, + "type": [ + "Text" + ], + "value": "subpackages=\"gcc-doc$_target\"" + }, + { + "pos": 835, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 836, + "type": [ + "Name", + "Variable" + ], + "value": "replaces" + }, + { + "pos": 844, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 845, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"libstdc++ binutils\"" + }, + { + "pos": 865, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 867, + "type": [ + "Text" + ], + "value": ":" + }, + { + "pos": 868, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 869, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${LANG_CXX:=true}\"" + }, + { + "pos": 888, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 889, + "type": [ + "Text" + ], + "value": ":" + }, + { + "pos": 890, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 891, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${LANG_D:=true}\"" + }, + { + "pos": 908, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 909, + "type": [ + "Text" + ], + "value": ":" + }, + { + "pos": 910, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 911, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${LANG_OBJC:=true}\"" + }, + { + "pos": 931, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 932, + "type": [ + "Text" + ], + "value": ":" + }, + { + "pos": 933, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 934, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${LANG_GO:=true}\"" + }, + { + "pos": 952, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 953, + "type": [ + "Text" + ], + "value": ":" + }, + { + "pos": 954, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 955, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${LANG_FORTRAN:=true}\"" + }, + { + "pos": 978, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 979, + "type": [ + "Text" + ], + "value": ":" + }, + { + "pos": 980, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 981, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${LANG_ADA:=true}\"" + }, + { + "pos": 1000, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 1002, + "type": [ + "Name", + "Variable" + ], + "value": "_libgomp" + }, + { + "pos": 1010, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 1011, + "type": [ + "Text" + ], + "value": "true" + }, + { + "pos": 1015, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1016, + "type": [ + "Name", + "Variable" + ], + "value": "_libgcc" + }, + { + "pos": 1023, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 1024, + "type": [ + "Text" + ], + "value": "true" + }, + { + "pos": 1028, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1029, + "type": [ + "Name", + "Variable" + ], + "value": "_libatomic" + }, + { + "pos": 1039, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 1040, + "type": [ + "Text" + ], + "value": "true" + }, + { + "pos": 1044, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1045, + "type": [ + "Name", + "Variable" + ], + "value": "_libitm" + }, + { + "pos": 1052, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 1053, + "type": [ + "Text" + ], + "value": "true" + }, + { + "pos": 1057, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 1059, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 1061, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1062, + "type": [ + "Text" + ], + "value": "[" + }, + { + "pos": 1063, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1064, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CHOST\"" + }, + { + "pos": 1072, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1073, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 1075, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1076, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CTARGET\"" + }, + { + "pos": 1086, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1087, + "type": [ + "Text" + ], + "value": "];" + }, + { + "pos": 1089, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1090, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 1094, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1095, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 1096, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 1098, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1099, + "type": [ + "Text" + ], + "value": "[" + }, + { + "pos": 1100, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1101, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$BOOTSTRAP\"" + }, + { + "pos": 1113, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1114, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 1115, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1116, + "type": [ + "Text" + ], + "value": "nolibc" + }, + { + "pos": 1122, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1123, + "type": [ + "Text" + ], + "value": "];" + }, + { + "pos": 1125, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1126, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 1130, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1131, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 1133, + "type": [ + "Text" + ], + "value": "LANG_CXX=false" + }, + { + "pos": 1147, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1148, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 1150, + "type": [ + "Text" + ], + "value": "LANG_ADA=false" + }, + { + "pos": 1164, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1165, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 1167, + "type": [ + "Text" + ], + "value": "_libgcc=false" + }, + { + "pos": 1180, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1181, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 1183, + "type": [ + "Text" + ], + "value": "_builddir=\"$srcdir/build-cross-pass2\"" + }, + { + "pos": 1220, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1221, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 1222, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 1226, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1227, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 1229, + "type": [ + "Text" + ], + "value": "_builddir=\"$srcdir/build-cross-final\"" + }, + { + "pos": 1266, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1267, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 1268, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 1270, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1271, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 1272, + "type": [ + "Text" + ], + "value": "LANG_OBJC=false" + }, + { + "pos": 1287, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1288, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 1289, + "type": [ + "Text" + ], + "value": "LANG_GO=false" + }, + { + "pos": 1302, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1303, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 1304, + "type": [ + "Text" + ], + "value": "LANG_FORTRAN=false" + }, + { + "pos": 1322, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1323, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 1324, + "type": [ + "Text" + ], + "value": "LANG_D=false" + }, + { + "pos": 1336, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1337, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 1338, + "type": [ + "Text" + ], + "value": "_libgomp=false" + }, + { + "pos": 1352, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1353, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 1354, + "type": [ + "Text" + ], + "value": "_libatomic=false" + }, + { + "pos": 1370, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1371, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 1372, + "type": [ + "Text" + ], + "value": "_libitm=false" + }, + { + "pos": 1385, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 1387, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 1388, + "type": [ + "Comment" + ], + "value": "# reset target flags (should be set in crosscreate abuild)" + }, + { + "pos": 1446, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1447, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 1448, + "type": [ + "Comment" + ], + "value": "# fixup flags. seems gcc treats CPPFLAGS as global without" + }, + { + "pos": 1506, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1507, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 1508, + "type": [ + "Comment" + ], + "value": "# _FOR_xxx variants. wrap it in CFLAGS and CXXFLAGS." + }, + { + "pos": 1560, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1561, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 1562, + "type": [ + "Text" + ], + "value": "export" + }, + { + "pos": 1568, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1569, + "type": [ + "Text" + ], + "value": "CFLAGS=\"$CPPFLAGS" + }, + { + "pos": 1586, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1587, + "type": [ + "Text" + ], + "value": "$CFLAGS\"" + }, + { + "pos": 1595, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1596, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 1597, + "type": [ + "Text" + ], + "value": "export" + }, + { + "pos": 1603, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1604, + "type": [ + "Text" + ], + "value": "CXXFLAGS=\"$CPPFLAGS" + }, + { + "pos": 1623, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1624, + "type": [ + "Text" + ], + "value": "$CXXFLAGS\"" + }, + { + "pos": 1634, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1635, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 1636, + "type": [ + "Text" + ], + "value": "unset" + }, + { + "pos": 1641, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1642, + "type": [ + "Text" + ], + "value": "CPPFLAGS" + }, + { + "pos": 1650, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1651, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 1652, + "type": [ + "Text" + ], + "value": "export" + }, + { + "pos": 1658, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1659, + "type": [ + "Text" + ], + "value": "CFLAGS_FOR_TARGET=\"" + }, + { + "pos": 1678, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1679, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"\n\texport CXXFLAGS_FOR_TARGET=\"" + }, + { + "pos": 1710, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1711, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"\n\texport LDFLAGS_FOR_TARGET=\"" + }, + { + "pos": 1741, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1742, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"\n\n\tSTRIP_FOR_TARGET=\"" + }, + { + "pos": 1764, + "type": [ + "Text" + ], + "value": "$CTARGET-strip\"" + }, + { + "pos": 1779, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1780, + "type": [ + "Text" + ], + "value": "elif" + }, + { + "pos": 1784, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1785, + "type": [ + "Text" + ], + "value": "[" + }, + { + "pos": 1786, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1787, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CBUILD\"" + }, + { + "pos": 1796, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1797, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 1799, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1800, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CHOST\"" + }, + { + "pos": 1808, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1809, + "type": [ + "Text" + ], + "value": "];" + }, + { + "pos": 1811, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1812, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 1816, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1817, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 1818, + "type": [ + "Comment" + ], + "value": "# fixup flags. seems gcc treats CPPFLAGS as global without" + }, + { + "pos": 1876, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1877, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 1878, + "type": [ + "Comment" + ], + "value": "# _FOR_xxx variants. wrap it in CFLAGS and CXXFLAGS." + }, + { + "pos": 1930, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1931, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 1932, + "type": [ + "Text" + ], + "value": "export" + }, + { + "pos": 1938, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1939, + "type": [ + "Text" + ], + "value": "CFLAGS=\"$CPPFLAGS" + }, + { + "pos": 1956, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1957, + "type": [ + "Text" + ], + "value": "$CFLAGS\"" + }, + { + "pos": 1965, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1966, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 1967, + "type": [ + "Text" + ], + "value": "export" + }, + { + "pos": 1973, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1974, + "type": [ + "Text" + ], + "value": "CXXFLAGS=\"$CPPFLAGS" + }, + { + "pos": 1993, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1994, + "type": [ + "Text" + ], + "value": "$CXXFLAGS\"" + }, + { + "pos": 2004, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2005, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 2006, + "type": [ + "Text" + ], + "value": "unset" + }, + { + "pos": 2011, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2012, + "type": [ + "Text" + ], + "value": "CPPFLAGS" + }, + { + "pos": 2020, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 2022, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 2023, + "type": [ + "Comment" + ], + "value": "# reset flags and cc for build" + }, + { + "pos": 2053, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2054, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 2055, + "type": [ + "Text" + ], + "value": "export" + }, + { + "pos": 2061, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2062, + "type": [ + "Text" + ], + "value": "CC_FOR_BUILD=\"gcc\"" + }, + { + "pos": 2080, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2081, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 2082, + "type": [ + "Text" + ], + "value": "export" + }, + { + "pos": 2088, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2089, + "type": [ + "Text" + ], + "value": "CXX_FOR_BUILD=\"g++\"" + }, + { + "pos": 2108, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2109, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 2110, + "type": [ + "Text" + ], + "value": "export" + }, + { + "pos": 2116, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2117, + "type": [ + "Text" + ], + "value": "CFLAGS_FOR_BUILD=\"" + }, + { + "pos": 2135, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2136, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"\n\texport CXXFLAGS_FOR_BUILD=\"" + }, + { + "pos": 2166, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2167, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"\n\texport LDFLAGS_FOR_BUILD=\"" + }, + { + "pos": 2196, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2197, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"\n\texport CFLAGS_FOR_TARGET=\"" + }, + { + "pos": 2226, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2227, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"\n\texport CXXFLAGS_FOR_TARGET=\"" + }, + { + "pos": 2258, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2259, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"\n\texport LDFLAGS_FOR_TARGET=\"" + }, + { + "pos": 2289, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2290, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"\n\n\t# Languages that do not need bootstrapping\n\tLANG_OBJC=false\n\tLANG_GO=false\n\tLANG_FORTRAN=false\n\tLANG_D=false\n\n\tSTRIP_FOR_TARGET=${CROSS_COMPILE}strip\n\t_builddir=\"" + }, + { + "pos": 2456, + "type": [ + "Text" + ], + "value": "$srcdir/build-cross-native\"" + }, + { + "pos": 2483, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2484, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 2488, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2489, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 2490, + "type": [ + "Text" + ], + "value": "STRIP_FOR_TARGET=${CROSS_COMPILE}strip" + }, + { + "pos": 2528, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2529, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 2530, + "type": [ + "Text" + ], + "value": "_builddir=\"$srcdir/build\"" + }, + { + "pos": 2555, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2556, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 2558, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 2560, + "type": [ + "Comment" + ], + "value": "# GDC hasn't been ported to PowerPC" + }, + { + "pos": 2595, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2596, + "type": [ + "Comment" + ], + "value": "# See libphobos/configure.tgt in GCC sources for supported targets" + }, + { + "pos": 2662, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2663, + "type": [ + "Comment" + ], + "value": "# riscv fails with: error: static assert \"unimplemented\"" + }, + { + "pos": 2720, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2721, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 2725, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2726, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CARCH\"" + }, + { + "pos": 2734, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2735, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 2737, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2738, + "type": [ + "Text" + ], + "value": "ppc64le|riscv64)" + }, + { + "pos": 2754, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 2755, + "type": [ + "Text" + ], + "value": "LANG_D=false" + }, + { + "pos": 2767, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2768, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 2770, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2771, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 2775, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 2777, + "type": [ + "Comment" + ], + "value": "# libitm has TEXTRELs in ARM build, so disable for now" + }, + { + "pos": 2831, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2832, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 2836, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2837, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CTARGET_ARCH\"" + }, + { + "pos": 2852, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2853, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 2855, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2856, + "type": [ + "Text" + ], + "value": "arm*)" + }, + { + "pos": 2861, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 2863, + "type": [ + "Text" + ], + "value": "_libitm=false" + }, + { + "pos": 2876, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2877, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 2879, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2880, + "type": [ + "Text" + ], + "value": "mips*)" + }, + { + "pos": 2886, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 2888, + "type": [ + "Text" + ], + "value": "_libitm=false" + }, + { + "pos": 2901, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2902, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 2904, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2905, + "type": [ + "Text" + ], + "value": "riscv64)" + }, + { + "pos": 2913, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 2914, + "type": [ + "Text" + ], + "value": "_libitm=false" + }, + { + "pos": 2927, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2928, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 2930, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2931, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 2935, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 2937, + "type": [ + "Comment" + ], + "value": "# Internal libffi fails to build on MIPS at the moment, need to" + }, + { + "pos": 3000, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3001, + "type": [ + "Comment" + ], + "value": "# investigate further. We disable LANG_GO on mips64 as it requires" + }, + { + "pos": 3068, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3069, + "type": [ + "Comment" + ], + "value": "# the internal libffi." + }, + { + "pos": 3091, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3092, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 3096, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3097, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CTARGET_ARCH\"" + }, + { + "pos": 3112, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3113, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 3115, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3116, + "type": [ + "Text" + ], + "value": "mips*)" + }, + { + "pos": 3122, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 3124, + "type": [ + "Text" + ], + "value": "LANG_GO=false" + }, + { + "pos": 3137, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3138, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 3140, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3141, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 3145, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 3147, + "type": [ + "Comment" + ], + "value": "# Fortran uses libquadmath if toolchain has __float128" + }, + { + "pos": 3201, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3202, + "type": [ + "Comment" + ], + "value": "# currently on x86, x86_64 and ia64" + }, + { + "pos": 3237, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3238, + "type": [ + "Name", + "Variable" + ], + "value": "_libquadmath" + }, + { + "pos": 3250, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 3251, + "type": [ + "Text" + ], + "value": "$LANG_FORTRAN" + }, + { + "pos": 3264, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3265, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 3269, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3270, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CTARGET_ARCH\"" + }, + { + "pos": 3285, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3286, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 3288, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3289, + "type": [ + "Text" + ], + "value": "x86" + }, + { + "pos": 3292, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3293, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 3294, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3295, + "type": [ + "Text" + ], + "value": "x86_64)" + }, + { + "pos": 3302, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3303, + "type": [ + "Text" + ], + "value": "_libquadmath=$LANG_FORTRAN" + }, + { + "pos": 3329, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3330, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 3332, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3333, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 3335, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 3337, + "type": [ + "Text" + ], + "value": "_libquadmath=false" + }, + { + "pos": 3355, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3356, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 3358, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3359, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 3363, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 3365, + "type": [ + "Comment" + ], + "value": "# libatomic is a dependency for openvswitch" + }, + { + "pos": 3408, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3409, + "type": [ + "Text" + ], + "value": "$_libatomic" + }, + { + "pos": 3420, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3421, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 3423, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3424, + "type": [ + "Text" + ], + "value": "subpackages=\"$subpackages" + }, + { + "pos": 3449, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3450, + "type": [ + "Text" + ], + "value": "libatomic::$CTARGET_ARCH\"" + }, + { + "pos": 3475, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3476, + "type": [ + "Text" + ], + "value": "$_libgcc" + }, + { + "pos": 3484, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3485, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 3487, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3488, + "type": [ + "Text" + ], + "value": "subpackages=\"$subpackages" + }, + { + "pos": 3513, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3514, + "type": [ + "Text" + ], + "value": "libgcc::$CTARGET_ARCH\"" + }, + { + "pos": 3536, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3537, + "type": [ + "Text" + ], + "value": "$_libquadmath" + }, + { + "pos": 3550, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3551, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 3553, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3554, + "type": [ + "Text" + ], + "value": "subpackages=\"$subpackages" + }, + { + "pos": 3579, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3580, + "type": [ + "Text" + ], + "value": "libquadmath::$CTARGET_ARCH\"" + }, + { + "pos": 3607, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3608, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 3610, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3611, + "type": [ + "Text" + ], + "value": "$_libgomp;" + }, + { + "pos": 3621, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3622, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 3626, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3627, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3628, + "type": [ + "Text" + ], + "value": "depends=\"$depends" + }, + { + "pos": 3645, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3646, + "type": [ + "Text" + ], + "value": "libgomp=$_gccrel\"" + }, + { + "pos": 3663, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3664, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3665, + "type": [ + "Text" + ], + "value": "subpackages=\"$subpackages" + }, + { + "pos": 3690, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3691, + "type": [ + "Text" + ], + "value": "libgomp::$CTARGET_ARCH\"" + }, + { + "pos": 3714, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3715, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 3717, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 3719, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 3723, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3724, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CARCH\"" + }, + { + "pos": 3732, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3733, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 3735, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3736, + "type": [ + "Text" + ], + "value": "riscv64)" + }, + { + "pos": 3744, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3745, + "type": [ + "Name", + "Variable" + ], + "value": "LANG_ADA" + }, + { + "pos": 3753, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 3754, + "type": [ + "Text" + ], + "value": "false;;" + }, + { + "pos": 3761, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3762, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 3766, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 3768, + "type": [ + "Name", + "Variable" + ], + "value": "_languages" + }, + { + "pos": 3778, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 3779, + "type": [ + "Text" + ], + "value": "c" + }, + { + "pos": 3780, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3781, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 3783, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3784, + "type": [ + "Text" + ], + "value": "$LANG_CXX;" + }, + { + "pos": 3794, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3795, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 3799, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3800, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3801, + "type": [ + "Text" + ], + "value": "subpackages=\"$subpackages" + }, + { + "pos": 3826, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3827, + "type": [ + "Text" + ], + "value": "libstdc++:libcxx:$CTARGET_ARCH" + }, + { + "pos": 3857, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3858, + "type": [ + "Text" + ], + "value": "g++$_target:gpp\"" + }, + { + "pos": 3874, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3875, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3876, + "type": [ + "Text" + ], + "value": "_languages=\"$_languages,c++\"" + }, + { + "pos": 3904, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3905, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 3907, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3908, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 3910, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3911, + "type": [ + "Text" + ], + "value": "$LANG_D;" + }, + { + "pos": 3919, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3920, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 3924, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3925, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3926, + "type": [ + "Text" + ], + "value": "subpackages=\"$subpackages" + }, + { + "pos": 3951, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3952, + "type": [ + "Text" + ], + "value": "libgphobos::$CTARGET_ARCH" + }, + { + "pos": 3977, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3978, + "type": [ + "Text" + ], + "value": "gcc-gdc$_target:gdc\"" + }, + { + "pos": 3998, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3999, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 4000, + "type": [ + "Text" + ], + "value": "_languages=\"$_languages,d\"" + }, + { + "pos": 4026, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4027, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 4028, + "type": [ + "Text" + ], + "value": "makedepends_build=\"$makedepends_build" + }, + { + "pos": 4065, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4066, + "type": [ + "Text" + ], + "value": "libucontext-dev\"" + }, + { + "pos": 4082, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4083, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 4085, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4086, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 4088, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4089, + "type": [ + "Text" + ], + "value": "$LANG_OBJC;" + }, + { + "pos": 4100, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4101, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 4105, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4106, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 4107, + "type": [ + "Text" + ], + "value": "subpackages=\"$subpackages" + }, + { + "pos": 4132, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4133, + "type": [ + "Text" + ], + "value": "libobjc::$CTARGET_ARCH" + }, + { + "pos": 4155, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4156, + "type": [ + "Text" + ], + "value": "gcc-objc$_target:objc\"" + }, + { + "pos": 4178, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4179, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 4180, + "type": [ + "Text" + ], + "value": "_languages=\"$_languages,objc\"" + }, + { + "pos": 4209, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4210, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 4212, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4213, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 4215, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4216, + "type": [ + "Text" + ], + "value": "$LANG_GO;" + }, + { + "pos": 4225, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4226, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 4230, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4231, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 4232, + "type": [ + "Text" + ], + "value": "subpackages=\"$subpackages" + }, + { + "pos": 4257, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4258, + "type": [ + "Text" + ], + "value": "libgo::$CTARGET_ARCH" + }, + { + "pos": 4278, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4279, + "type": [ + "Text" + ], + "value": "gcc-go$_target:go\"" + }, + { + "pos": 4297, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4298, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 4299, + "type": [ + "Text" + ], + "value": "_languages=\"$_languages,go\"" + }, + { + "pos": 4326, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4327, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 4329, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4330, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 4332, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4333, + "type": [ + "Text" + ], + "value": "$LANG_FORTRAN;" + }, + { + "pos": 4347, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4348, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 4352, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4353, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 4354, + "type": [ + "Text" + ], + "value": "subpackages=\"$subpackages" + }, + { + "pos": 4379, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4380, + "type": [ + "Text" + ], + "value": "libgfortran::$CTARGET_ARCH" + }, + { + "pos": 4406, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4407, + "type": [ + "Text" + ], + "value": "gfortran$_target:gfortran\"" + }, + { + "pos": 4433, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4434, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 4435, + "type": [ + "Text" + ], + "value": "_languages=\"$_languages,fortran\"" + }, + { + "pos": 4467, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4468, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 4470, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4471, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 4473, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4474, + "type": [ + "Text" + ], + "value": "$LANG_ADA;" + }, + { + "pos": 4484, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4485, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 4489, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4490, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 4491, + "type": [ + "Text" + ], + "value": "subpackages=\"$subpackages" + }, + { + "pos": 4516, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4517, + "type": [ + "Text" + ], + "value": "libgnat-static:libgnatstatic:$CTARGET_ARCH" + }, + { + "pos": 4559, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4560, + "type": [ + "Text" + ], + "value": "libgnat::$CTARGET_ARCH" + }, + { + "pos": 4582, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4583, + "type": [ + "Text" + ], + "value": "gcc-gnat$_target:gnat\"" + }, + { + "pos": 4605, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4606, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 4607, + "type": [ + "Text" + ], + "value": "_languages=\"$_languages,ada\"" + }, + { + "pos": 4635, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4636, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 4637, + "type": [ + "Text" + ], + "value": "[" + }, + { + "pos": 4638, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4639, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CBUILD\"" + }, + { + "pos": 4648, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4649, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 4650, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4651, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CTARGET\"" + }, + { + "pos": 4661, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4662, + "type": [ + "Text" + ], + "value": "]" + }, + { + "pos": 4663, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4664, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 4666, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4667, + "type": [ + "Text" + ], + "value": "makedepends_build=\"$makedepends_build" + }, + { + "pos": 4704, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4705, + "type": [ + "Text" + ], + "value": "gcc-gnat-bootstrap\"" + }, + { + "pos": 4724, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4725, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 4726, + "type": [ + "Text" + ], + "value": "[" + }, + { + "pos": 4727, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4728, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CBUILD\"" + }, + { + "pos": 4737, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4738, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 4740, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4741, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CTARGET\"" + }, + { + "pos": 4751, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4752, + "type": [ + "Text" + ], + "value": "]" + }, + { + "pos": 4753, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4754, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 4756, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4757, + "type": [ + "Text" + ], + "value": "makedepends_build=\"$makedepends_build" + }, + { + "pos": 4794, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4795, + "type": [ + "Text" + ], + "value": "gcc-gnat" + }, + { + "pos": 4803, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4804, + "type": [ + "Text" + ], + "value": "gcc-gnat$_cross\"" + }, + { + "pos": 4820, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4821, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 4823, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4824, + "type": [ + "Name", + "Variable" + ], + "value": "makedepends" + }, + { + "pos": 4835, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 4836, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$makedepends_build $makedepends_host\"" + }, + { + "pos": 4874, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 4876, + "type": [ + "Comment" + ], + "value": "# when using upstream releases, use this URI template" + }, + { + "pos": 4929, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4930, + "type": [ + "Comment" + ], + "value": "# https://gcc.gnu.org/pub/gcc/releases/gcc-${_pkgbase:-$pkgver}/gcc-${_pkgbase:-$pkgver}.tar.xz" + }, + { + "pos": 5025, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 5026, + "type": [ + "Comment" + ], + "value": "#" + }, + { + "pos": 5027, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 5028, + "type": [ + "Comment" + ], + "value": "# right now, we are using a git snapshot." + }, + { + "pos": 5069, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 5070, + "type": [ + "Comment" + ], + "value": "#" + }, + { + "pos": 5071, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 5072, + "type": [ + "Comment" + ], + "value": "# PLEASE submit all patches to gcc to https://gitlab.alpinelinux.org/kaniini/alpine-gcc-patches," + }, + { + "pos": 5168, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 5169, + "type": [ + "Comment" + ], + "value": "# so that they can be properly tracked and easily rebased if needed." + }, + { + "pos": 5237, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 5238, + "type": [ + "Name", + "Variable" + ], + "value": "source" + }, + { + "pos": 5244, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 5245, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"https://dev.alpinelinux.org/~nenolod/gcc-${pkgver}.tar.xz\n\t0001-posix_memalign.patch\n\t0002-gcc-poison-system-directories.patch\n\t0003-Turn-on-Wl-z-relro-z-now-by-default.patch\n\t0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch\n\t0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch\n\t0006-Enable-Wformat-and-Wformat-security-by-default.patch\n\t0007-Enable-Wtrampolines-by-default.patch\n\t0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch\n\t0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch\n\t0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch\n\t0011-libiberty-copy-PIC-objects-during-build-process.patch\n\t0012-libitm-disable-FORTIFY.patch\n\t0013-libgcc_s.patch\n\t0014-nopie.patch\n\t0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch\n\t0016-dlang-update-zlib-binding.patch\n\t0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch\n\t0018-ada-fix-shared-linking.patch\n\t0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch\n\t0020-add-fortify-headers-paths.patch\n\t0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch\n\t0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch\n\t0023-Pure-64-bit-MIPS.patch\n\t0024-use-pure-64-bit-configuration-where-appropriate.patch\n\t0025-always-build-libgcc_eh.a.patch\n\t0026-ada-libgnarl-compatibility-for-musl.patch\n\t0027-ada-musl-support-fixes.patch\n\t0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch\n\t0029-gcc-go-Don-t-include-sys-user.h.patch\n\t0030-gcc-go-Fix-ucontext_t-on-PPC64.patch\n\t0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch\n\t0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch\n\t0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch\n\t0034-gcc-go-signal-34-is-special-on-musl-libc.patch\n\t0035-gcc-go-Prefer-_off_t-over-_off64_t.patch\n\t0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch\n\t0037-gcc-go-link-to-libucontext.patch\n\t0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch\n\t0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch\n\t0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch\n\t0041-Use-generic-errstr.go-implementation-on-musl.patch\n\t\"" + }, + { + "pos": 7355, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 7357, + "type": [ + "Comment" + ], + "value": "# we build out-of-tree" + }, + { + "pos": 7379, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7380, + "type": [ + "Name", + "Variable" + ], + "value": "_gccdir" + }, + { + "pos": 7387, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 7388, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$srcdir\"" + }, + { + "pos": 7397, + "type": [ + "Text" + ], + "value": "/gcc-$pkgver" + }, + { + "pos": 7409, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7410, + "type": [ + "Name", + "Variable" + ], + "value": "_gcclibdir" + }, + { + "pos": 7420, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 7421, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"/usr/lib/gcc/$CTARGET/${_pkgbase:-$pkgver}\"" + }, + { + "pos": 7465, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7466, + "type": [ + "Name", + "Variable" + ], + "value": "_gcclibexec" + }, + { + "pos": 7477, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 7478, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"/usr/libexec/gcc/$CTARGET/${_pkgbase:-$pkgver}\"" + }, + { + "pos": 7526, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 7528, + "type": [ + "Text" + ], + "value": "prepare()" + }, + { + "pos": 7537, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7538, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 7539, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7540, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 7541, + "type": [ + "Text" + ], + "value": "cd" + }, + { + "pos": 7543, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7544, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$_gccdir\"" + }, + { + "pos": 7554, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 7556, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 7557, + "type": [ + "Text" + ], + "value": "_err=" + }, + { + "pos": 7562, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7563, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 7564, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 7567, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7568, + "type": [ + "Text" + ], + "value": "i" + }, + { + "pos": 7569, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7570, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 7572, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7573, + "type": [ + "Text" + ], + "value": "$source;" + }, + { + "pos": 7581, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7582, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 7584, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7585, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 7587, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 7591, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7592, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$i\"" + }, + { + "pos": 7596, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7597, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 7599, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7600, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 7602, + "type": [ + "Text" + ], + "value": "*.patch)" + }, + { + "pos": 7610, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7611, + "type": [ + "Text", + "WS" + ], + "value": "\t\t\t" + }, + { + "pos": 7614, + "type": [ + "Text" + ], + "value": "msg" + }, + { + "pos": 7617, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7618, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"Applying $i\"" + }, + { + "pos": 7631, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7632, + "type": [ + "Text", + "WS" + ], + "value": "\t\t\t" + }, + { + "pos": 7635, + "type": [ + "Text" + ], + "value": "patch" + }, + { + "pos": 7640, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7641, + "type": [ + "Text" + ], + "value": "-p1" + }, + { + "pos": 7644, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7645, + "type": [ + "Text" + ], + "value": "-i" + }, + { + "pos": 7647, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7648, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$srcdir\"" + }, + { + "pos": 7657, + "type": [ + "Text" + ], + "value": "/$i" + }, + { + "pos": 7660, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7661, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 7663, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7664, + "type": [ + "Text" + ], + "value": "_err=\"$_err" + }, + { + "pos": 7675, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7676, + "type": [ + "Text" + ], + "value": "$i\"" + }, + { + "pos": 7679, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7680, + "type": [ + "Text", + "WS" + ], + "value": "\t\t\t" + }, + { + "pos": 7683, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 7685, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7686, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 7688, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 7692, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7693, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 7694, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 7698, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 7700, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 7701, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 7703, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7704, + "type": [ + "Text" + ], + "value": "[" + }, + { + "pos": 7705, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7706, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 7708, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7709, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$_err\"" + }, + { + "pos": 7716, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7717, + "type": [ + "Text" + ], + "value": "];" + }, + { + "pos": 7719, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7720, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 7724, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7725, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 7727, + "type": [ + "Text" + ], + "value": "error" + }, + { + "pos": 7732, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7733, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"The following patches failed:\"" + }, + { + "pos": 7764, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7765, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 7767, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 7770, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7771, + "type": [ + "Text" + ], + "value": "i" + }, + { + "pos": 7772, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7773, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 7775, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7776, + "type": [ + "Text" + ], + "value": "$_err;" + }, + { + "pos": 7782, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7783, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 7785, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7786, + "type": [ + "Text", + "WS" + ], + "value": "\t\t\t" + }, + { + "pos": 7789, + "type": [ + "Text" + ], + "value": "echo" + }, + { + "pos": 7793, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7794, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" $i\"" + }, + { + "pos": 7800, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7801, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 7803, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 7807, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7808, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 7810, + "type": [ + "Text" + ], + "value": "return" + }, + { + "pos": 7816, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7817, + "type": [ + "Text" + ], + "value": "1" + }, + { + "pos": 7818, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7819, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 7820, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 7822, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 7824, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 7825, + "type": [ + "Text" + ], + "value": "echo" + }, + { + "pos": 7829, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7830, + "type": [ + "Text" + ], + "value": "${_pkgbase:-$pkgver}" + }, + { + "pos": 7850, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7851, + "type": [ + "Text" + ], + "value": ">" + }, + { + "pos": 7852, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7853, + "type": [ + "Text" + ], + "value": "gcc/BASE-VER" + }, + { + "pos": 7865, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7866, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 7867, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 7869, + "type": [ + "Text" + ], + "value": "build()" + }, + { + "pos": 7876, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7877, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 7878, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7879, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 7880, + "type": [ + "Text" + ], + "value": "local" + }, + { + "pos": 7885, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7886, + "type": [ + "Text" + ], + "value": "_arch_configure=" + }, + { + "pos": 7902, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7903, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 7904, + "type": [ + "Text" + ], + "value": "local" + }, + { + "pos": 7909, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7910, + "type": [ + "Text" + ], + "value": "_libc_configure=" + }, + { + "pos": 7926, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7927, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 7928, + "type": [ + "Text" + ], + "value": "local" + }, + { + "pos": 7933, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7934, + "type": [ + "Text" + ], + "value": "_cross_configure=" + }, + { + "pos": 7951, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7952, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 7953, + "type": [ + "Text" + ], + "value": "local" + }, + { + "pos": 7958, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7959, + "type": [ + "Text" + ], + "value": "_bootstrap_configure=" + }, + { + "pos": 7980, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7981, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 7982, + "type": [ + "Text" + ], + "value": "local" + }, + { + "pos": 7987, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7988, + "type": [ + "Text" + ], + "value": "_symvers=" + }, + { + "pos": 7997, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 7999, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 8000, + "type": [ + "Text" + ], + "value": "cd" + }, + { + "pos": 8002, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8003, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$_gccdir\"" + }, + { + "pos": 8013, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 8015, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 8016, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 8020, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8021, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CTARGET\"" + }, + { + "pos": 8031, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8032, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 8034, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8035, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 8036, + "type": [ + "Text" + ], + "value": "aarch64-*-*-*)" + }, + { + "pos": 8050, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 8052, + "type": [ + "Text" + ], + "value": "_arch_configure=\"--with-arch=armv8-a" + }, + { + "pos": 8088, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8089, + "type": [ + "Text" + ], + "value": "--with-abi=lp64\";;" + }, + { + "pos": 8107, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8108, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 8109, + "type": [ + "Text" + ], + "value": "armv5-*-*-*eabi)" + }, + { + "pos": 8125, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 8126, + "type": [ + "Text" + ], + "value": "_arch_configure=\"--with-arch=armv5te" + }, + { + "pos": 8162, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8163, + "type": [ + "Text" + ], + "value": "--with-tune=arm926ej-s" + }, + { + "pos": 8185, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8186, + "type": [ + "Text" + ], + "value": "--with-float=soft" + }, + { + "pos": 8203, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8204, + "type": [ + "Text" + ], + "value": "--with-abi=aapcs-linux\";;" + }, + { + "pos": 8229, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8230, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 8231, + "type": [ + "Text" + ], + "value": "armv6-*-*-*eabihf)" + }, + { + "pos": 8249, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 8250, + "type": [ + "Text" + ], + "value": "_arch_configure=\"--with-arch=armv6zk" + }, + { + "pos": 8286, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8287, + "type": [ + "Text" + ], + "value": "--with-tune=arm1176jzf-s" + }, + { + "pos": 8311, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8312, + "type": [ + "Text" + ], + "value": "--with-fpu=vfp" + }, + { + "pos": 8326, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8327, + "type": [ + "Text" + ], + "value": "--with-float=hard" + }, + { + "pos": 8344, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8345, + "type": [ + "Text" + ], + "value": "--with-abi=aapcs-linux\";;" + }, + { + "pos": 8370, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8371, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 8372, + "type": [ + "Text" + ], + "value": "armv7-*-*-*eabihf)" + }, + { + "pos": 8390, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 8391, + "type": [ + "Text" + ], + "value": "_arch_configure=\"--with-arch=armv7-a" + }, + { + "pos": 8427, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8428, + "type": [ + "Text" + ], + "value": "--with-tune=generic-armv7-a" + }, + { + "pos": 8455, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8456, + "type": [ + "Text" + ], + "value": "--with-fpu=vfpv3-d16" + }, + { + "pos": 8476, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8477, + "type": [ + "Text" + ], + "value": "--with-float=hard" + }, + { + "pos": 8494, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8495, + "type": [ + "Text" + ], + "value": "--with-abi=aapcs-linux" + }, + { + "pos": 8517, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8518, + "type": [ + "Text" + ], + "value": "--with-mode=thumb\";;" + }, + { + "pos": 8538, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8539, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 8540, + "type": [ + "Text" + ], + "value": "mips-*-*-*)" + }, + { + "pos": 8551, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 8553, + "type": [ + "Text" + ], + "value": "_arch_configure=\"--with-arch=mips32" + }, + { + "pos": 8588, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8589, + "type": [ + "Text" + ], + "value": "--with-mips-plt" + }, + { + "pos": 8604, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8605, + "type": [ + "Text" + ], + "value": "--with-float=soft" + }, + { + "pos": 8622, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8623, + "type": [ + "Text" + ], + "value": "--with-abi=32\";;" + }, + { + "pos": 8639, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8640, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 8641, + "type": [ + "Text" + ], + "value": "mips64-*-*-*)" + }, + { + "pos": 8654, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 8656, + "type": [ + "Text" + ], + "value": "_arch_configure=\"--with-arch=mips3" + }, + { + "pos": 8690, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8691, + "type": [ + "Text" + ], + "value": "--with-tune=mips64" + }, + { + "pos": 8709, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8710, + "type": [ + "Text" + ], + "value": "--with-mips-plt" + }, + { + "pos": 8725, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8726, + "type": [ + "Text" + ], + "value": "--with-float=soft" + }, + { + "pos": 8743, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8744, + "type": [ + "Text" + ], + "value": "--with-abi=64\";;" + }, + { + "pos": 8760, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8761, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 8762, + "type": [ + "Text" + ], + "value": "mips64el-*-*-*)" + }, + { + "pos": 8777, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 8779, + "type": [ + "Text" + ], + "value": "_arch_configure=\"--with-arch=mips3" + }, + { + "pos": 8813, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8814, + "type": [ + "Text" + ], + "value": "--with-tune=mips64" + }, + { + "pos": 8832, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8833, + "type": [ + "Text" + ], + "value": "--with-mips-plt" + }, + { + "pos": 8848, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8849, + "type": [ + "Text" + ], + "value": "--with-float=soft" + }, + { + "pos": 8866, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8867, + "type": [ + "Text" + ], + "value": "--with-abi=64\";;" + }, + { + "pos": 8883, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8884, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 8885, + "type": [ + "Text" + ], + "value": "mipsel-*-*-*)" + }, + { + "pos": 8898, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 8900, + "type": [ + "Text" + ], + "value": "_arch_configure=\"--with-arch=mips32" + }, + { + "pos": 8935, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8936, + "type": [ + "Text" + ], + "value": "--with-mips-plt" + }, + { + "pos": 8951, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8952, + "type": [ + "Text" + ], + "value": "--with-float=soft" + }, + { + "pos": 8969, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8970, + "type": [ + "Text" + ], + "value": "--with-abi=32\";;" + }, + { + "pos": 8986, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8987, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 8988, + "type": [ + "Text" + ], + "value": "powerpc-*-*-*)" + }, + { + "pos": 9002, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 9004, + "type": [ + "Text" + ], + "value": "_arch_configure=\"--enable-secureplt" + }, + { + "pos": 9039, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9040, + "type": [ + "Text" + ], + "value": "--enable-decimal-float=no\";;" + }, + { + "pos": 9068, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 9069, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 9070, + "type": [ + "Text" + ], + "value": "powerpc64*-*-*-*)" + }, + { + "pos": 9087, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 9088, + "type": [ + "Text" + ], + "value": "_arch_configure=\"--with-abi=elfv2" + }, + { + "pos": 9121, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9122, + "type": [ + "Text" + ], + "value": "--enable-secureplt" + }, + { + "pos": 9140, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9141, + "type": [ + "Text" + ], + "value": "--enable-decimal-float=no" + }, + { + "pos": 9166, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9167, + "type": [ + "Text" + ], + "value": "--enable-targets=powerpcle-linux\";;" + }, + { + "pos": 9202, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 9203, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 9204, + "type": [ + "Text" + ], + "value": "i486-*-*-*)" + }, + { + "pos": 9215, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 9217, + "type": [ + "Text" + ], + "value": "_arch_configure=\"--with-arch=i486" + }, + { + "pos": 9250, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9251, + "type": [ + "Text" + ], + "value": "--with-tune=generic" + }, + { + "pos": 9270, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9271, + "type": [ + "Text" + ], + "value": "--enable-cld\";;" + }, + { + "pos": 9286, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 9287, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 9288, + "type": [ + "Text" + ], + "value": "i586-*-*-*)" + }, + { + "pos": 9299, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 9301, + "type": [ + "Text" + ], + "value": "_arch_configure=\"--with-arch=i586" + }, + { + "pos": 9334, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9335, + "type": [ + "Text" + ], + "value": "--with-tune=generic" + }, + { + "pos": 9354, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9355, + "type": [ + "Text" + ], + "value": "--enable-cld\";;" + }, + { + "pos": 9370, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 9371, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 9372, + "type": [ + "Text" + ], + "value": "s390x-*-*-*)" + }, + { + "pos": 9384, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 9386, + "type": [ + "Text" + ], + "value": "_arch_configure=\"--with-arch=z196" + }, + { + "pos": 9419, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9420, + "type": [ + "Text" + ], + "value": "--with-tune=zEC12" + }, + { + "pos": 9437, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9438, + "type": [ + "Text" + ], + "value": "--with-zarch" + }, + { + "pos": 9450, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9451, + "type": [ + "Text" + ], + "value": "--with-long-double-128" + }, + { + "pos": 9473, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9474, + "type": [ + "Text" + ], + "value": "--enable-decimal-float\";;" + }, + { + "pos": 9499, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 9500, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 9501, + "type": [ + "Text" + ], + "value": "riscv64-*-*-*)" + }, + { + "pos": 9515, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 9517, + "type": [ + "Text" + ], + "value": "_arch_configure=\"--with-arch=rv64gc" + }, + { + "pos": 9552, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9553, + "type": [ + "Text" + ], + "value": "--with-abi=lp64d" + }, + { + "pos": 9569, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9570, + "type": [ + "Text" + ], + "value": "--enable-autolink-libatomic\";;" + }, + { + "pos": 9600, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 9601, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 9602, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 9606, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 9608, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 9609, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 9613, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9614, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CTARGET_ARCH\"" + }, + { + "pos": 9629, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9630, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 9632, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 9633, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 9634, + "type": [ + "Text" + ], + "value": "mips*)" + }, + { + "pos": 9640, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 9641, + "type": [ + "Text" + ], + "value": "_hash_style_configure=\"--with-linker-hash-style=sysv\"" + }, + { + "pos": 9694, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9695, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 9697, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 9698, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 9699, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 9701, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 9702, + "type": [ + "Text" + ], + "value": "_hash_style_configure=\"--with-linker-hash-style=gnu\"" + }, + { + "pos": 9754, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9755, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 9757, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 9758, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 9759, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 9763, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 9765, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 9766, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 9770, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9771, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CTARGET_LIBC\"" + }, + { + "pos": 9786, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9787, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 9789, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 9790, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 9791, + "type": [ + "Text" + ], + "value": "musl)" + }, + { + "pos": 9796, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 9797, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 9799, + "type": [ + "Comment" + ], + "value": "# musl does not support mudflap, or libsanitizer" + }, + { + "pos": 9847, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 9848, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 9850, + "type": [ + "Comment" + ], + "value": "# libmpx uses secure_getenv and struct _libc_fpstate not present in musl" + }, + { + "pos": 9922, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 9923, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 9925, + "type": [ + "Comment" + ], + "value": "# alpine musl provides libssp_nonshared.a, so we don't need libssp either" + }, + { + "pos": 9998, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 9999, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 10001, + "type": [ + "Text" + ], + "value": "_libc_configure=\"--disable-libssp" + }, + { + "pos": 10034, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10035, + "type": [ + "Text" + ], + "value": "--disable-libmpx" + }, + { + "pos": 10051, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10052, + "type": [ + "Text" + ], + "value": "--disable-libmudflap" + }, + { + "pos": 10072, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10073, + "type": [ + "Text" + ], + "value": "--disable-libsanitizer\"" + }, + { + "pos": 10096, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10097, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 10099, + "type": [ + "Text" + ], + "value": "_symvers=\"--disable-symvers\"" + }, + { + "pos": 10127, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10128, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 10130, + "type": [ + "Text" + ], + "value": "export" + }, + { + "pos": 10136, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10137, + "type": [ + "Text" + ], + "value": "libat_cv_have_ifunc=no" + }, + { + "pos": 10159, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10160, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 10162, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 10164, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10165, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 10166, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 10170, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 10172, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 10173, + "type": [ + "Text" + ], + "value": "[" + }, + { + "pos": 10174, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10175, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CBUILD\"" + }, + { + "pos": 10184, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10185, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 10187, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10188, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CHOST\"" + }, + { + "pos": 10196, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10199, + "type": [ + "Text" + ], + "value": "]" + }, + { + "pos": 10200, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10201, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 10203, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10204, + "type": [ + "Text" + ], + "value": "_cross_configure=\"--disable-bootstrap\"" + }, + { + "pos": 10242, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10243, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 10244, + "type": [ + "Text" + ], + "value": "[" + }, + { + "pos": 10245, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10246, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CHOST\"" + }, + { + "pos": 10254, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10256, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 10258, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10259, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CTARGET\"" + }, + { + "pos": 10269, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10270, + "type": [ + "Text" + ], + "value": "]" + }, + { + "pos": 10271, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10272, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 10274, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10275, + "type": [ + "Text" + ], + "value": "_cross_configure=\"--disable-bootstrap" + }, + { + "pos": 10312, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10313, + "type": [ + "Text" + ], + "value": "--with-sysroot=$CBUILDROOT\"" + }, + { + "pos": 10340, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 10342, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 10343, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 10347, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10348, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$BOOTSTRAP\"" + }, + { + "pos": 10360, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10361, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 10363, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10364, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 10365, + "type": [ + "Text" + ], + "value": "nolibc)" + }, + { + "pos": 10372, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 10373, + "type": [ + "Text" + ], + "value": "_bootstrap_configure=\"--with-newlib" + }, + { + "pos": 10408, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10409, + "type": [ + "Text" + ], + "value": "--disable-shared" + }, + { + "pos": 10425, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10426, + "type": [ + "Text" + ], + "value": "--enable-threads=no\"" + }, + { + "pos": 10446, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10447, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 10449, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10450, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 10451, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 10453, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 10454, + "type": [ + "Text" + ], + "value": "_bootstrap_configure=\"--enable-shared" + }, + { + "pos": 10491, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10492, + "type": [ + "Text" + ], + "value": "--enable-threads" + }, + { + "pos": 10508, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10509, + "type": [ + "Text" + ], + "value": "--enable-tls\"" + }, + { + "pos": 10522, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10523, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 10525, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10526, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 10527, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 10531, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 10533, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 10534, + "type": [ + "Text" + ], + "value": "$_libgomp" + }, + { + "pos": 10543, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 10544, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 10546, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10547, + "type": [ + "Text" + ], + "value": "_bootstrap_configure=\"$_bootstrap_configure" + }, + { + "pos": 10590, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10591, + "type": [ + "Text" + ], + "value": "--disable-libgomp\"" + }, + { + "pos": 10609, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10610, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 10611, + "type": [ + "Text" + ], + "value": "$_libatomic" + }, + { + "pos": 10622, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 10623, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 10625, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10626, + "type": [ + "Text" + ], + "value": "_bootstrap_configure=\"$_bootstrap_configure" + }, + { + "pos": 10669, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10670, + "type": [ + "Text" + ], + "value": "--disable-libatomic\"" + }, + { + "pos": 10690, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10691, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 10692, + "type": [ + "Text" + ], + "value": "$_libitm" + }, + { + "pos": 10700, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 10701, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 10703, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10704, + "type": [ + "Text" + ], + "value": "_bootstrap_configure=\"$_bootstrap_configure" + }, + { + "pos": 10747, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10748, + "type": [ + "Text" + ], + "value": "--disable-libitm\"" + }, + { + "pos": 10765, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10766, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 10767, + "type": [ + "Text" + ], + "value": "$_libquadmath" + }, + { + "pos": 10780, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 10781, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 10783, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10784, + "type": [ + "Text" + ], + "value": "_arch_configure=\"$_arch_configure" + }, + { + "pos": 10817, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10818, + "type": [ + "Text" + ], + "value": "--disable-libquadmath\"" + }, + { + "pos": 10840, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 10842, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 10843, + "type": [ + "Text" + ], + "value": "msg" + }, + { + "pos": 10846, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10847, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"Building the following:\"" + }, + { + "pos": 10872, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10873, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 10874, + "type": [ + "Text" + ], + "value": "echo" + }, + { + "pos": 10878, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10879, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"\"" + }, + { + "pos": 10881, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10882, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 10883, + "type": [ + "Text" + ], + "value": "echo" + }, + { + "pos": 10887, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10888, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" CBUILD=$CBUILD\"" + }, + { + "pos": 10906, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10907, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 10908, + "type": [ + "Text" + ], + "value": "echo" + }, + { + "pos": 10912, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10913, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" CHOST=$CHOST\"" + }, + { + "pos": 10929, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10930, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 10931, + "type": [ + "Text" + ], + "value": "echo" + }, + { + "pos": 10935, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10936, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" CTARGET=$CTARGET\"" + }, + { + "pos": 10956, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10957, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 10958, + "type": [ + "Text" + ], + "value": "echo" + }, + { + "pos": 10962, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10963, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" CTARGET_ARCH=$CTARGET_ARCH\"" + }, + { + "pos": 10993, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10994, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 10995, + "type": [ + "Text" + ], + "value": "echo" + }, + { + "pos": 10999, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11000, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" CTARGET_LIBC=$CTARGET_LIBC\"" + }, + { + "pos": 11030, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11031, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 11032, + "type": [ + "Text" + ], + "value": "echo" + }, + { + "pos": 11036, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11037, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" languages=$_languages\"" + }, + { + "pos": 11062, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11063, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 11064, + "type": [ + "Text" + ], + "value": "echo" + }, + { + "pos": 11068, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11069, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" arch_configure=$_arch_configure\"" + }, + { + "pos": 11104, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11105, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 11106, + "type": [ + "Text" + ], + "value": "echo" + }, + { + "pos": 11110, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11111, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" libc_configure=$_libc_configure\"" + }, + { + "pos": 11146, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11147, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 11148, + "type": [ + "Text" + ], + "value": "echo" + }, + { + "pos": 11152, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11153, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" cross_configure=$_cross_configure\"" + }, + { + "pos": 11190, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11191, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 11192, + "type": [ + "Text" + ], + "value": "echo" + }, + { + "pos": 11196, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11197, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" bootstrap_configure=$_bootstrap_configure\"" + }, + { + "pos": 11242, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11243, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 11244, + "type": [ + "Text" + ], + "value": "echo" + }, + { + "pos": 11248, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11249, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"\thash_style_configure=$_hash_style_configure\"" + }, + { + "pos": 11295, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11296, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 11297, + "type": [ + "Text" + ], + "value": "echo" + }, + { + "pos": 11301, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11302, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"\"" + }, + { + "pos": 11304, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 11306, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 11307, + "type": [ + "Text" + ], + "value": "export" + }, + { + "pos": 11313, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11314, + "type": [ + "Text" + ], + "value": "CFLAGS=\"$CFLAGS" + }, + { + "pos": 11329, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11330, + "type": [ + "Text" + ], + "value": "-O2\"" + }, + { + "pos": 11334, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 11336, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 11337, + "type": [ + "Text" + ], + "value": "mkdir" + }, + { + "pos": 11342, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11343, + "type": [ + "Text" + ], + "value": "-p" + }, + { + "pos": 11345, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11346, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$_builddir\"" + }, + { + "pos": 11358, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11359, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 11360, + "type": [ + "Text" + ], + "value": "cd" + }, + { + "pos": 11362, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11363, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$_builddir\"" + }, + { + "pos": 11375, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11376, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 11377, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$_gccdir\"" + }, + { + "pos": 11387, + "type": [ + "Text" + ], + "value": "/configure" + }, + { + "pos": 11397, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11398, + "type": [ + "Text" + ], + "value": "--prefix=/usr" + }, + { + "pos": 11411, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11412, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 11413, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11414, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 11416, + "type": [ + "Text" + ], + "value": "--mandir=/usr/share/man" + }, + { + "pos": 11439, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11440, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 11441, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11442, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 11444, + "type": [ + "Text" + ], + "value": "--infodir=/usr/share/info" + }, + { + "pos": 11469, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11470, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 11471, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11472, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 11474, + "type": [ + "Text" + ], + "value": "--build=${CBUILD}" + }, + { + "pos": 11491, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11492, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 11493, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11494, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 11496, + "type": [ + "Text" + ], + "value": "--host=${CHOST}" + }, + { + "pos": 11511, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11512, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 11513, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11514, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 11516, + "type": [ + "Text" + ], + "value": "--target=${CTARGET}" + }, + { + "pos": 11535, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11536, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 11537, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11538, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 11540, + "type": [ + "Text" + ], + "value": "--with-pkgversion=\"Alpine" + }, + { + "pos": 11565, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11566, + "type": [ + "Text" + ], + "value": "$pkgver\"" + }, + { + "pos": 11574, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11575, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 11576, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11577, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 11579, + "type": [ + "Text" + ], + "value": "--enable-checking=release" + }, + { + "pos": 11604, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11605, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 11606, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11607, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 11609, + "type": [ + "Text" + ], + "value": "--disable-fixed-point" + }, + { + "pos": 11630, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11631, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 11632, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11633, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 11635, + "type": [ + "Text" + ], + "value": "--disable-libstdcxx-pch" + }, + { + "pos": 11658, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11659, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 11660, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11661, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 11663, + "type": [ + "Text" + ], + "value": "--disable-multilib" + }, + { + "pos": 11681, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11682, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 11683, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11684, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 11686, + "type": [ + "Text" + ], + "value": "--disable-nls" + }, + { + "pos": 11699, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11700, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 11701, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11702, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 11704, + "type": [ + "Text" + ], + "value": "--disable-werror" + }, + { + "pos": 11720, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11721, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 11722, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11723, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 11725, + "type": [ + "Text" + ], + "value": "$_symvers" + }, + { + "pos": 11734, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11735, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 11736, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11737, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 11739, + "type": [ + "Text" + ], + "value": "--enable-__cxa_atexit" + }, + { + "pos": 11760, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11761, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 11762, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11763, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 11765, + "type": [ + "Text" + ], + "value": "--enable-default-pie" + }, + { + "pos": 11785, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11786, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 11787, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11788, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 11790, + "type": [ + "Text" + ], + "value": "--enable-default-ssp" + }, + { + "pos": 11810, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11811, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 11812, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11813, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 11815, + "type": [ + "Text" + ], + "value": "--enable-cloog-backend" + }, + { + "pos": 11837, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11838, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 11839, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11840, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 11842, + "type": [ + "Text" + ], + "value": "--enable-languages=$_languages" + }, + { + "pos": 11872, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11873, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 11874, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11875, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 11877, + "type": [ + "Text" + ], + "value": "$_arch_configure" + }, + { + "pos": 11893, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11894, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 11895, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11896, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 11898, + "type": [ + "Text" + ], + "value": "$_libc_configure" + }, + { + "pos": 11914, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11915, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 11916, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11917, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 11919, + "type": [ + "Text" + ], + "value": "$_cross_configure" + }, + { + "pos": 11936, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11937, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 11938, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11939, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 11941, + "type": [ + "Text" + ], + "value": "$_bootstrap_configure" + }, + { + "pos": 11962, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11963, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 11964, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11965, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 11967, + "type": [ + "Text" + ], + "value": "--with-system-zlib" + }, + { + "pos": 11985, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11986, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 11987, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11988, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 11990, + "type": [ + "Text" + ], + "value": "$_hash_style_configure" + }, + { + "pos": 12012, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12013, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 12014, + "type": [ + "Text" + ], + "value": "make" + }, + { + "pos": 12018, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12019, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 12020, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 12022, + "type": [ + "Text" + ], + "value": "package()" + }, + { + "pos": 12031, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12032, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 12033, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12034, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 12035, + "type": [ + "Text" + ], + "value": "cd" + }, + { + "pos": 12037, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12038, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$_builddir\"" + }, + { + "pos": 12050, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12051, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 12052, + "type": [ + "Text" + ], + "value": "make" + }, + { + "pos": 12056, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12057, + "type": [ + "Text" + ], + "value": "-j1" + }, + { + "pos": 12060, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12061, + "type": [ + "Text" + ], + "value": "DESTDIR=\"$pkgdir\"" + }, + { + "pos": 12078, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12079, + "type": [ + "Text" + ], + "value": "install" + }, + { + "pos": 12086, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 12088, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 12089, + "type": [ + "Text" + ], + "value": "ln" + }, + { + "pos": 12091, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12092, + "type": [ + "Text" + ], + "value": "-s" + }, + { + "pos": 12094, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12095, + "type": [ + "Text" + ], + "value": "gcc" + }, + { + "pos": 12098, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12099, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 12108, + "type": [ + "Text" + ], + "value": "/usr/bin/cc" + }, + { + "pos": 12119, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 12121, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 12122, + "type": [ + "Comment" + ], + "value": "# we dont support gcj -static" + }, + { + "pos": 12151, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12152, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 12153, + "type": [ + "Comment" + ], + "value": "# and saving 35MB is not bad." + }, + { + "pos": 12182, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12183, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 12184, + "type": [ + "Text" + ], + "value": "find" + }, + { + "pos": 12188, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12189, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 12198, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12199, + "type": [ + "Text" + ], + "value": "\\(" + }, + { + "pos": 12201, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12202, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 12207, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12208, + "type": [ + "Text" + ], + "value": "libgtkpeer.a" + }, + { + "pos": 12220, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12221, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 12222, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12223, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 12225, + "type": [ + "Text" + ], + "value": "-o" + }, + { + "pos": 12227, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12228, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 12233, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12234, + "type": [ + "Text" + ], + "value": "libgjsmalsa.a" + }, + { + "pos": 12247, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12248, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 12249, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12250, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 12252, + "type": [ + "Text" + ], + "value": "-o" + }, + { + "pos": 12254, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12255, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 12260, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12261, + "type": [ + "Text" + ], + "value": "libgij.a" + }, + { + "pos": 12269, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12270, + "type": [ + "Text" + ], + "value": "\\)" + }, + { + "pos": 12272, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12273, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 12274, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12275, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 12277, + "type": [ + "Text" + ], + "value": "-delete" + }, + { + "pos": 12284, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 12286, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 12287, + "type": [ + "Comment" + ], + "value": "# strip debug info from some static libs" + }, + { + "pos": 12327, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12328, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 12329, + "type": [ + "Text" + ], + "value": "find" + }, + { + "pos": 12333, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12334, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 12343, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12344, + "type": [ + "Text" + ], + "value": "\\(" + }, + { + "pos": 12346, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12347, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 12352, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12353, + "type": [ + "Text" + ], + "value": "libgfortran.a" + }, + { + "pos": 12366, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12367, + "type": [ + "Text" + ], + "value": "-o" + }, + { + "pos": 12369, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12370, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 12375, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12376, + "type": [ + "Text" + ], + "value": "libobjc.a" + }, + { + "pos": 12385, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12386, + "type": [ + "Text" + ], + "value": "-o" + }, + { + "pos": 12388, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12389, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 12394, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12395, + "type": [ + "Text" + ], + "value": "libgomp.a" + }, + { + "pos": 12404, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12405, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 12406, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12407, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 12409, + "type": [ + "Text" + ], + "value": "-o" + }, + { + "pos": 12411, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12412, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 12417, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12418, + "type": [ + "Text" + ], + "value": "libgphobos.a" + }, + { + "pos": 12430, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12431, + "type": [ + "Text" + ], + "value": "-o" + }, + { + "pos": 12433, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12434, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 12439, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12440, + "type": [ + "Text" + ], + "value": "libgdruntime.a" + }, + { + "pos": 12454, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12455, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 12456, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12457, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 12459, + "type": [ + "Text" + ], + "value": "-o" + }, + { + "pos": 12461, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12462, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 12467, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12468, + "type": [ + "Text" + ], + "value": "libmudflap.a" + }, + { + "pos": 12480, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12481, + "type": [ + "Text" + ], + "value": "-o" + }, + { + "pos": 12483, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12484, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 12489, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12490, + "type": [ + "Text" + ], + "value": "libmudflapth.a" + }, + { + "pos": 12504, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12505, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 12506, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12507, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 12509, + "type": [ + "Text" + ], + "value": "-o" + }, + { + "pos": 12511, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12512, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 12517, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12518, + "type": [ + "Text" + ], + "value": "libgcc.a" + }, + { + "pos": 12526, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12527, + "type": [ + "Text" + ], + "value": "-o" + }, + { + "pos": 12529, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12530, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 12535, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12536, + "type": [ + "Text" + ], + "value": "libgcov.a" + }, + { + "pos": 12545, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12546, + "type": [ + "Text" + ], + "value": "-o" + }, + { + "pos": 12548, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12549, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 12554, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12555, + "type": [ + "Text" + ], + "value": "libquadmath.a" + }, + { + "pos": 12568, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12569, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 12570, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12571, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 12573, + "type": [ + "Text" + ], + "value": "-o" + }, + { + "pos": 12575, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12576, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 12581, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12582, + "type": [ + "Text" + ], + "value": "libitm.a" + }, + { + "pos": 12590, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12591, + "type": [ + "Text" + ], + "value": "-o" + }, + { + "pos": 12593, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12594, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 12599, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12600, + "type": [ + "Text" + ], + "value": "libgo.a" + }, + { + "pos": 12607, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12608, + "type": [ + "Text" + ], + "value": "-o" + }, + { + "pos": 12610, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12611, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 12616, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12617, + "type": [ + "Text" + ], + "value": "libcaf\\*.a" + }, + { + "pos": 12627, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12628, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 12629, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12630, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 12632, + "type": [ + "Text" + ], + "value": "-o" + }, + { + "pos": 12634, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12635, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 12640, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12641, + "type": [ + "Text" + ], + "value": "libatomic.a" + }, + { + "pos": 12652, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12653, + "type": [ + "Text" + ], + "value": "-o" + }, + { + "pos": 12655, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12656, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 12661, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12662, + "type": [ + "Text" + ], + "value": "libasan.a" + }, + { + "pos": 12671, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12672, + "type": [ + "Text" + ], + "value": "-o" + }, + { + "pos": 12674, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12675, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 12680, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12681, + "type": [ + "Text" + ], + "value": "libtsan.a" + }, + { + "pos": 12690, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12691, + "type": [ + "Text" + ], + "value": "\\)" + }, + { + "pos": 12693, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12694, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 12695, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12696, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 12698, + "type": [ + "Text" + ], + "value": "-a" + }, + { + "pos": 12700, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12701, + "type": [ + "Text" + ], + "value": "-type" + }, + { + "pos": 12706, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12707, + "type": [ + "Text" + ], + "value": "f" + }, + { + "pos": 12708, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12709, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 12710, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12711, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 12713, + "type": [ + "Text" + ], + "value": "-exec" + }, + { + "pos": 12718, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12719, + "type": [ + "Text" + ], + "value": "${STRIP_FOR_TARGET}" + }, + { + "pos": 12738, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12739, + "type": [ + "Text" + ], + "value": "-g" + }, + { + "pos": 12741, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12742, + "type": [ + "Text" + ], + "value": "{}" + }, + { + "pos": 12744, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12745, + "type": [ + "Text" + ], + "value": "+" + }, + { + "pos": 12746, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 12748, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 12749, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 12751, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12752, + "type": [ + "Text" + ], + "value": "$_libgomp;" + }, + { + "pos": 12762, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12763, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 12767, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12768, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 12770, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 12772, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12773, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 12782, + "type": [ + "Text" + ], + "value": "/usr/lib/libgomp.spec" + }, + { + "pos": 12803, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12804, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 12813, + "type": [ + "Text" + ], + "value": "/$_gcclibdir" + }, + { + "pos": 12825, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12826, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 12827, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 12829, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12830, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 12831, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 12833, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12834, + "type": [ + "Text" + ], + "value": "$_libitm;" + }, + { + "pos": 12843, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12844, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 12848, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12849, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 12851, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 12853, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12854, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 12863, + "type": [ + "Text" + ], + "value": "/usr/lib/libitm.spec" + }, + { + "pos": 12883, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12884, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 12893, + "type": [ + "Text" + ], + "value": "/$_gcclibdir" + }, + { + "pos": 12905, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12906, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 12907, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 12909, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 12911, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 12912, + "type": [ + "Comment" + ], + "value": "# remove ffi" + }, + { + "pos": 12924, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12925, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 12926, + "type": [ + "Text" + ], + "value": "rm" + }, + { + "pos": 12928, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12929, + "type": [ + "Text" + ], + "value": "-f" + }, + { + "pos": 12931, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12932, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 12941, + "type": [ + "Text" + ], + "value": "/usr/lib/libffi*" + }, + { + "pos": 12957, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12958, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 12967, + "type": [ + "Text" + ], + "value": "/usr/share/man/man3/ffi*" + }, + { + "pos": 12991, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12992, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 12993, + "type": [ + "Text" + ], + "value": "find" + }, + { + "pos": 12997, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12998, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 13007, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13008, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 13013, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13014, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'ffi*.h'" + }, + { + "pos": 13022, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13023, + "type": [ + "Text" + ], + "value": "-delete" + }, + { + "pos": 13030, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 13032, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 13033, + "type": [ + "Text" + ], + "value": "local" + }, + { + "pos": 13038, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13039, + "type": [ + "Text" + ], + "value": "gdblib=${_target:+$CTARGET/}lib" + }, + { + "pos": 13070, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13071, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 13072, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 13074, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13075, + "type": [ + "Text" + ], + "value": "[" + }, + { + "pos": 13076, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13077, + "type": [ + "Text" + ], + "value": "-d" + }, + { + "pos": 13079, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13080, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 13089, + "type": [ + "Text" + ], + "value": "/usr/$gdblib/" + }, + { + "pos": 13102, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13103, + "type": [ + "Text" + ], + "value": "];" + }, + { + "pos": 13105, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13106, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 13110, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13111, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 13113, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 13116, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13117, + "type": [ + "Text" + ], + "value": "i" + }, + { + "pos": 13118, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13119, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 13121, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13122, + "type": [ + "Text" + ], + "value": "$(find" + }, + { + "pos": 13128, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13129, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 13138, + "type": [ + "Text" + ], + "value": "/usr/$gdblib/" + }, + { + "pos": 13151, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13152, + "type": [ + "Text" + ], + "value": "-type" + }, + { + "pos": 13157, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13158, + "type": [ + "Text" + ], + "value": "f" + }, + { + "pos": 13159, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13160, + "type": [ + "Text" + ], + "value": "-maxdepth" + }, + { + "pos": 13169, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13170, + "type": [ + "Text" + ], + "value": "1" + }, + { + "pos": 13171, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13172, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 13177, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13178, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*-gdb.py\"" + }, + { + "pos": 13188, + "type": [ + "ArraySep", + "End" + ], + "value": ")" + }, + { + "pos": 13189, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 13190, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13191, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 13193, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13194, + "type": [ + "Text", + "WS" + ], + "value": "\t\t\t" + }, + { + "pos": 13197, + "type": [ + "Text" + ], + "value": "mkdir" + }, + { + "pos": 13202, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13203, + "type": [ + "Text" + ], + "value": "-p" + }, + { + "pos": 13205, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13206, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 13215, + "type": [ + "Text" + ], + "value": "/usr/share/gdb/python/auto-load/usr/$gdblib" + }, + { + "pos": 13258, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13259, + "type": [ + "Text", + "WS" + ], + "value": "\t\t\t" + }, + { + "pos": 13262, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 13264, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13265, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$i\"" + }, + { + "pos": 13269, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13270, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 13279, + "type": [ + "Text" + ], + "value": "/usr/share/gdb/python/auto-load/usr/$gdblib/" + }, + { + "pos": 13323, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13324, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 13326, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 13330, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13331, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 13332, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 13334, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 13336, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 13337, + "type": [ + "Comment" + ], + "value": "# move ada runtime libs" + }, + { + "pos": 13360, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13361, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 13362, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 13364, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13365, + "type": [ + "Text" + ], + "value": "$LANG_ADA;" + }, + { + "pos": 13375, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13376, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 13380, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13381, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 13383, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 13386, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13387, + "type": [ + "Text" + ], + "value": "i" + }, + { + "pos": 13388, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13389, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 13391, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13392, + "type": [ + "Text" + ], + "value": "$(find" + }, + { + "pos": 13398, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13399, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 13408, + "type": [ + "Text" + ], + "value": "/$_gcclibdir/adalib/" + }, + { + "pos": 13428, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13429, + "type": [ + "Text" + ], + "value": "-type" + }, + { + "pos": 13434, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13435, + "type": [ + "Text" + ], + "value": "f" + }, + { + "pos": 13436, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13437, + "type": [ + "Text" + ], + "value": "-maxdepth" + }, + { + "pos": 13446, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13447, + "type": [ + "Text" + ], + "value": "1" + }, + { + "pos": 13448, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13449, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 13454, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13455, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"libgna*.so\"" + }, + { + "pos": 13467, + "type": [ + "ArraySep", + "End" + ], + "value": ")" + }, + { + "pos": 13468, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 13469, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13470, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 13472, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13473, + "type": [ + "Text", + "WS" + ], + "value": "\t\t\t" + }, + { + "pos": 13476, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 13478, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13479, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$i\"" + }, + { + "pos": 13483, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13484, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 13493, + "type": [ + "Text" + ], + "value": "/usr/lib/" + }, + { + "pos": 13502, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13503, + "type": [ + "Text", + "WS" + ], + "value": "\t\t\t" + }, + { + "pos": 13506, + "type": [ + "Text" + ], + "value": "ln" + }, + { + "pos": 13508, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13509, + "type": [ + "Text" + ], + "value": "-s" + }, + { + "pos": 13511, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13512, + "type": [ + "Text" + ], + "value": "../../../../${i##*/}" + }, + { + "pos": 13532, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13533, + "type": [ + "Text" + ], + "value": "$i" + }, + { + "pos": 13535, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13536, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 13538, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 13542, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13543, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 13545, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 13548, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13549, + "type": [ + "Text" + ], + "value": "i" + }, + { + "pos": 13550, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13551, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 13553, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13554, + "type": [ + "Text" + ], + "value": "$(find" + }, + { + "pos": 13560, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13561, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 13570, + "type": [ + "Text" + ], + "value": "/$_gcclibdir/adalib/" + }, + { + "pos": 13590, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13591, + "type": [ + "Text" + ], + "value": "-type" + }, + { + "pos": 13596, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13597, + "type": [ + "Text" + ], + "value": "f" + }, + { + "pos": 13598, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13599, + "type": [ + "Text" + ], + "value": "-maxdepth" + }, + { + "pos": 13608, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13609, + "type": [ + "Text" + ], + "value": "1" + }, + { + "pos": 13610, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13611, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 13616, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13617, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"libgna*.a\"" + }, + { + "pos": 13628, + "type": [ + "ArraySep", + "End" + ], + "value": ")" + }, + { + "pos": 13629, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 13630, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13631, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 13633, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13634, + "type": [ + "Text", + "WS" + ], + "value": "\t\t\t" + }, + { + "pos": 13637, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 13639, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13640, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$i\"" + }, + { + "pos": 13644, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13645, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 13654, + "type": [ + "Text" + ], + "value": "/usr/lib/" + }, + { + "pos": 13663, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13664, + "type": [ + "Text", + "WS" + ], + "value": "\t\t\t" + }, + { + "pos": 13667, + "type": [ + "Text" + ], + "value": "ln" + }, + { + "pos": 13669, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13670, + "type": [ + "Text" + ], + "value": "-s" + }, + { + "pos": 13672, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13673, + "type": [ + "Text" + ], + "value": "../../../../${i##*/}" + }, + { + "pos": 13693, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13694, + "type": [ + "Text" + ], + "value": "$i" + }, + { + "pos": 13696, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13697, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 13699, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 13703, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13704, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 13705, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 13707, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 13709, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 13710, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 13712, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13713, + "type": [ + "Text" + ], + "value": "[" + }, + { + "pos": 13714, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13715, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CHOST\"" + }, + { + "pos": 13723, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13724, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 13726, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13727, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CTARGET\"" + }, + { + "pos": 13737, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13738, + "type": [ + "Text" + ], + "value": "];" + }, + { + "pos": 13740, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13741, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 13745, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13746, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 13748, + "type": [ + "Comment" + ], + "value": "# cross-gcc: remove any files that would conflict with the" + }, + { + "pos": 13806, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13807, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 13809, + "type": [ + "Comment" + ], + "value": "# native gcc package" + }, + { + "pos": 13829, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13830, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 13832, + "type": [ + "Text" + ], + "value": "rm" + }, + { + "pos": 13834, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13835, + "type": [ + "Text" + ], + "value": "-rf" + }, + { + "pos": 13838, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13839, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 13848, + "type": [ + "Text" + ], + "value": "/usr/bin/cc" + }, + { + "pos": 13859, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13860, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 13869, + "type": [ + "Text" + ], + "value": "/usr/include" + }, + { + "pos": 13881, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13882, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${pkgdir:?}\"" + }, + { + "pos": 13895, + "type": [ + "Text" + ], + "value": "/usr/share" + }, + { + "pos": 13905, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13906, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 13908, + "type": [ + "Comment" + ], + "value": "# libcc1 does not depend on target, don't ship it" + }, + { + "pos": 13957, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13958, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 13960, + "type": [ + "Text" + ], + "value": "rm" + }, + { + "pos": 13962, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13963, + "type": [ + "Text" + ], + "value": "-rf" + }, + { + "pos": 13966, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13967, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 13976, + "type": [ + "Text" + ], + "value": "/usr/lib/libcc1.so*" + }, + { + "pos": 13995, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 13997, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 13999, + "type": [ + "Comment" + ], + "value": "# fixup gcc library symlinks to be linker scripts so" + }, + { + "pos": 14051, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14052, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 14054, + "type": [ + "Comment" + ], + "value": "# linker finds the libs from relocated sysroot" + }, + { + "pos": 14100, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14101, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 14103, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 14106, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14107, + "type": [ + "Text" + ], + "value": "so" + }, + { + "pos": 14109, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14110, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 14112, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14113, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 14122, + "type": [ + "Text" + ], + "value": "/usr/\"$CTARGET\"/lib/*.so;" + }, + { + "pos": 14147, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14148, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 14150, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14151, + "type": [ + "Text", + "WS" + ], + "value": "\t\t\t" + }, + { + "pos": 14154, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 14156, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14157, + "type": [ + "Text" + ], + "value": "[" + }, + { + "pos": 14158, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14159, + "type": [ + "Text" + ], + "value": "-h" + }, + { + "pos": 14161, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14162, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$so\"" + }, + { + "pos": 14167, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14168, + "type": [ + "Text" + ], + "value": "];" + }, + { + "pos": 14170, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14171, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 14175, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14176, + "type": [ + "Text", + "WS" + ], + "value": "\t\t\t\t" + }, + { + "pos": 14180, + "type": [ + "Text" + ], + "value": "local" + }, + { + "pos": 14185, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14186, + "type": [ + "Text" + ], + "value": "_real=$(basename" + }, + { + "pos": 14202, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14203, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$(readlink \"" + }, + { + "pos": 14216, + "type": [ + "Text" + ], + "value": "$so\")\")" + }, + { + "pos": 14223, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14224, + "type": [ + "Text", + "WS" + ], + "value": "\t\t\t\t" + }, + { + "pos": 14228, + "type": [ + "Text" + ], + "value": "rm" + }, + { + "pos": 14230, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14231, + "type": [ + "Text" + ], + "value": "-f" + }, + { + "pos": 14233, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14234, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$so\"" + }, + { + "pos": 14239, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14240, + "type": [ + "Text", + "WS" + ], + "value": "\t\t\t\t" + }, + { + "pos": 14244, + "type": [ + "Text" + ], + "value": "echo" + }, + { + "pos": 14248, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14249, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"GROUP ($_real)\"" + }, + { + "pos": 14265, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14266, + "type": [ + "Text" + ], + "value": ">" + }, + { + "pos": 14267, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14268, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$so\"" + }, + { + "pos": 14273, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14274, + "type": [ + "Text", + "WS" + ], + "value": "\t\t\t" + }, + { + "pos": 14277, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 14279, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14280, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 14282, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 14286, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14287, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 14288, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 14292, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14293, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 14295, + "type": [ + "Comment" + ], + "value": "# add c89/c99 wrapper scripts" + }, + { + "pos": 14324, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14325, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 14327, + "type": [ + "Text" + ], + "value": "cat" + }, + { + "pos": 14330, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14331, + "type": [ + "Text" + ], + "value": ">\"$pkgdir\"/usr/bin/c89" + }, + { + "pos": 14353, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14354, + "type": [ + "Text" + ], + "value": "<<'EOF'" + }, + { + "pos": 14361, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14362, + "type": [ + "Comment" + ], + "value": "#!/bin/sh" + }, + { + "pos": 14371, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14372, + "type": [ + "Name", + "Variable" + ], + "value": "_flavor" + }, + { + "pos": 14379, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 14380, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"-std=c89\"" + }, + { + "pos": 14390, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14391, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 14394, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14395, + "type": [ + "Text" + ], + "value": "opt;" + }, + { + "pos": 14399, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14400, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 14402, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14403, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 14404, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 14408, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14409, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$opt\"" + }, + { + "pos": 14415, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14416, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 14418, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14419, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 14420, + "type": [ + "Text" + ], + "value": "-ansi|-std=c89|-std=iso9899:1990)" + }, + { + "pos": 14453, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14454, + "type": [ + "Text" + ], + "value": "_flavor=\"\";;" + }, + { + "pos": 14466, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14467, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 14468, + "type": [ + "Text" + ], + "value": "-std=*)" + }, + { + "pos": 14475, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14476, + "type": [ + "Text" + ], + "value": "echo" + }, + { + "pos": 14480, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14481, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$(basename $0) called with non ANSI/ISO C option $opt\"" + }, + { + "pos": 14536, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14537, + "type": [ + "Text" + ], + "value": ">&2" + }, + { + "pos": 14540, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14541, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 14543, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 14547, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14548, + "type": [ + "Text" + ], + "value": "1;;" + }, + { + "pos": 14551, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14552, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 14553, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 14557, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14558, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 14562, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14563, + "type": [ + "Text" + ], + "value": "exec" + }, + { + "pos": 14567, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14568, + "type": [ + "Text" + ], + "value": "gcc" + }, + { + "pos": 14571, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14572, + "type": [ + "Text" + ], + "value": "$_flavor" + }, + { + "pos": 14580, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14581, + "type": [ + "Text" + ], + "value": "${1+\"$@\"}" + }, + { + "pos": 14590, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14591, + "type": [ + "Text" + ], + "value": "EOF" + }, + { + "pos": 14594, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14595, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 14597, + "type": [ + "Text" + ], + "value": "cat" + }, + { + "pos": 14600, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14601, + "type": [ + "Text" + ], + "value": ">\"$pkgdir\"/usr/bin/c99" + }, + { + "pos": 14623, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14624, + "type": [ + "Text" + ], + "value": "<<'EOF'" + }, + { + "pos": 14631, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14632, + "type": [ + "Comment" + ], + "value": "#!/bin/sh" + }, + { + "pos": 14641, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14642, + "type": [ + "Name", + "Variable" + ], + "value": "_flavor" + }, + { + "pos": 14649, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 14650, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"-std=c99\"" + }, + { + "pos": 14660, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14661, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 14664, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14665, + "type": [ + "Text" + ], + "value": "opt;" + }, + { + "pos": 14669, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14670, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 14672, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14673, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 14674, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 14678, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14679, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$opt\"" + }, + { + "pos": 14685, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14686, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 14688, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14689, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 14690, + "type": [ + "Text" + ], + "value": "-std=c99|-std=iso9899:1999)" + }, + { + "pos": 14717, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14718, + "type": [ + "Text" + ], + "value": "_flavor=\"\";;" + }, + { + "pos": 14730, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14731, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 14732, + "type": [ + "Text" + ], + "value": "-std=*)" + }, + { + "pos": 14739, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14740, + "type": [ + "Text" + ], + "value": "echo" + }, + { + "pos": 14744, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14745, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$(basename $0) called with non ISO C99 option $opt\"" + }, + { + "pos": 14797, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14798, + "type": [ + "Text" + ], + "value": ">&2" + }, + { + "pos": 14801, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14802, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 14804, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 14808, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14809, + "type": [ + "Text" + ], + "value": "1;;" + }, + { + "pos": 14812, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14813, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 14814, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 14818, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14819, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 14823, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14824, + "type": [ + "Text" + ], + "value": "exec" + }, + { + "pos": 14828, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14829, + "type": [ + "Text" + ], + "value": "gcc" + }, + { + "pos": 14832, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14833, + "type": [ + "Text" + ], + "value": "$_flavor" + }, + { + "pos": 14841, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14842, + "type": [ + "Text" + ], + "value": "${1+\"$@\"}" + }, + { + "pos": 14851, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14852, + "type": [ + "Text" + ], + "value": "EOF" + }, + { + "pos": 14855, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14856, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 14858, + "type": [ + "Text" + ], + "value": "chmod" + }, + { + "pos": 14863, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14864, + "type": [ + "Text" + ], + "value": "755" + }, + { + "pos": 14867, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14868, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 14877, + "type": [ + "Text" + ], + "value": "/usr/bin/c?9" + }, + { + "pos": 14889, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 14891, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 14893, + "type": [ + "Comment" + ], + "value": "# install lto plugin so regular binutils may use it" + }, + { + "pos": 14944, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14945, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 14947, + "type": [ + "Text" + ], + "value": "mkdir" + }, + { + "pos": 14952, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14953, + "type": [ + "Text" + ], + "value": "-p" + }, + { + "pos": 14955, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14956, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 14965, + "type": [ + "Text" + ], + "value": "/usr/lib/bfd-plugins" + }, + { + "pos": 14985, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14986, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 14988, + "type": [ + "Text" + ], + "value": "ln" + }, + { + "pos": 14990, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14991, + "type": [ + "Text" + ], + "value": "-s" + }, + { + "pos": 14993, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14994, + "type": [ + "Text" + ], + "value": "/$_gcclibexec/liblto_plugin.so" + }, + { + "pos": 15024, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15025, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir/usr/lib/bfd-plugins/\"" + }, + { + "pos": 15055, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15056, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 15057, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 15059, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15060, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 15061, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 15063, + "type": [ + "Text" + ], + "value": "libatomic()" + }, + { + "pos": 15074, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15075, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 15076, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15077, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 15078, + "type": [ + "Text" + ], + "value": "pkgdesc=\"GCC" + }, + { + "pos": 15090, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15091, + "type": [ + "Text" + ], + "value": "Atomic" + }, + { + "pos": 15097, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15098, + "type": [ + "Text" + ], + "value": "library\"" + }, + { + "pos": 15106, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15107, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 15108, + "type": [ + "Text" + ], + "value": "depends=" + }, + { + "pos": 15116, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15117, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 15118, + "type": [ + "Text" + ], + "value": "replaces=\"gcc\"" + }, + { + "pos": 15132, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 15134, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 15135, + "type": [ + "Text" + ], + "value": "mkdir" + }, + { + "pos": 15140, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15141, + "type": [ + "Text" + ], + "value": "-p" + }, + { + "pos": 15143, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15144, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 15156, + "type": [ + "Text" + ], + "value": "/usr/lib" + }, + { + "pos": 15164, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15165, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 15166, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 15168, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15169, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 15178, + "type": [ + "Text" + ], + "value": "/usr/${_target:+$CTARGET/}lib/libatomic.so.*" + }, + { + "pos": 15222, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15223, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 15235, + "type": [ + "Text" + ], + "value": "/usr/lib/" + }, + { + "pos": 15244, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15245, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 15246, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 15248, + "type": [ + "Text" + ], + "value": "libcxx()" + }, + { + "pos": 15256, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15257, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 15258, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15259, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 15260, + "type": [ + "Text" + ], + "value": "pkgdesc=\"GNU" + }, + { + "pos": 15272, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15273, + "type": [ + "Text" + ], + "value": "C++" + }, + { + "pos": 15276, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15277, + "type": [ + "Text" + ], + "value": "standard" + }, + { + "pos": 15285, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15286, + "type": [ + "Text" + ], + "value": "runtime" + }, + { + "pos": 15293, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15294, + "type": [ + "Text" + ], + "value": "library\"" + }, + { + "pos": 15302, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15303, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 15304, + "type": [ + "Text" + ], + "value": "depends=" + }, + { + "pos": 15312, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 15314, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 15315, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 15317, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15318, + "type": [ + "Text" + ], + "value": "[" + }, + { + "pos": 15319, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15320, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CHOST\"" + }, + { + "pos": 15328, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15329, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 15330, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15331, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CTARGET\"" + }, + { + "pos": 15341, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15342, + "type": [ + "Text" + ], + "value": "];" + }, + { + "pos": 15344, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15345, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 15349, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15350, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 15352, + "type": [ + "Comment" + ], + "value": "# verify that we are using clock_gettime rather than doing direct syscalls" + }, + { + "pos": 15426, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15427, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 15429, + "type": [ + "Comment" + ], + "value": "# so we dont break 32 bit arches due to time64." + }, + { + "pos": 15476, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15477, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 15479, + "type": [ + "Text" + ], + "value": "nm" + }, + { + "pos": 15481, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15482, + "type": [ + "Text" + ], + "value": "-D" + }, + { + "pos": 15484, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15485, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 15494, + "type": [ + "Text" + ], + "value": "/usr/lib/libstdc++.so.*" + }, + { + "pos": 15517, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15518, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 15519, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15520, + "type": [ + "Text" + ], + "value": "grep" + }, + { + "pos": 15524, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15525, + "type": [ + "Text" + ], + "value": "clock_gettime" + }, + { + "pos": 15538, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15539, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 15540, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 15542, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 15544, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 15545, + "type": [ + "Text" + ], + "value": "mkdir" + }, + { + "pos": 15550, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15551, + "type": [ + "Text" + ], + "value": "-p" + }, + { + "pos": 15553, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15554, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 15566, + "type": [ + "Text" + ], + "value": "/usr/lib" + }, + { + "pos": 15574, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15575, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 15576, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 15578, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15579, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 15588, + "type": [ + "Text" + ], + "value": "/usr/${_target:+$CTARGET/}lib/libstdc++.so.*" + }, + { + "pos": 15632, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15633, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 15645, + "type": [ + "Text" + ], + "value": "/usr/lib/" + }, + { + "pos": 15654, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15655, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 15656, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 15658, + "type": [ + "Text" + ], + "value": "gpp()" + }, + { + "pos": 15663, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15664, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 15665, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15666, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 15667, + "type": [ + "Text" + ], + "value": "pkgdesc=\"GNU" + }, + { + "pos": 15679, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15680, + "type": [ + "Text" + ], + "value": "C++" + }, + { + "pos": 15683, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15684, + "type": [ + "Text" + ], + "value": "standard" + }, + { + "pos": 15692, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15693, + "type": [ + "Text" + ], + "value": "library" + }, + { + "pos": 15700, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15701, + "type": [ + "Text" + ], + "value": "and" + }, + { + "pos": 15704, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15705, + "type": [ + "Text" + ], + "value": "compiler\"" + }, + { + "pos": 15714, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15715, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 15716, + "type": [ + "Text" + ], + "value": "depends=\"libstdc++=$_gccrel" + }, + { + "pos": 15743, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15744, + "type": [ + "Text" + ], + "value": "gcc=$_gccrel" + }, + { + "pos": 15756, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15757, + "type": [ + "Text" + ], + "value": "libc-dev\"" + }, + { + "pos": 15766, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15767, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 15768, + "type": [ + "Text" + ], + "value": "mkdir" + }, + { + "pos": 15773, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15774, + "type": [ + "Text" + ], + "value": "-p" + }, + { + "pos": 15776, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15777, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir/$_gcclibexec\"" + }, + { + "pos": 15802, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15803, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 15804, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15805, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 15807, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 15819, + "type": [ + "Text" + ], + "value": "/usr/bin" + }, + { + "pos": 15827, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15828, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 15829, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15830, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 15832, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 15844, + "type": [ + "Text" + ], + "value": "/usr/${_target:+$CTARGET/}include" + }, + { + "pos": 15877, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15878, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 15879, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15880, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 15882, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 15894, + "type": [ + "Text" + ], + "value": "/usr/${_target:+$CTARGET/}lib" + }, + { + "pos": 15923, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15924, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 15925, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 15927, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 15928, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 15930, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15931, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir/$_gcclibexec/cc1plus\"" + }, + { + "pos": 15961, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15962, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir/$_gcclibexec/\"" + }, + { + "pos": 15988, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 15990, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 15991, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 15993, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15994, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 16003, + "type": [ + "Text" + ], + "value": "/usr/${_target:+$CTARGET/}lib/*++*" + }, + { + "pos": 16037, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16038, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 16050, + "type": [ + "Text" + ], + "value": "/usr/${_target:+$CTARGET/}lib/" + }, + { + "pos": 16080, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16081, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 16082, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 16084, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16085, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 16094, + "type": [ + "Text" + ], + "value": "/usr/${_target:+$CTARGET/}include/c++" + }, + { + "pos": 16131, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16132, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 16144, + "type": [ + "Text" + ], + "value": "/usr/${_target:+$CTARGET/}include/" + }, + { + "pos": 16178, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16179, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 16180, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 16182, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16183, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 16192, + "type": [ + "Text" + ], + "value": "/usr/bin/*++" + }, + { + "pos": 16204, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16205, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 16217, + "type": [ + "Text" + ], + "value": "/usr/bin/" + }, + { + "pos": 16226, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16227, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 16228, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 16230, + "type": [ + "Text" + ], + "value": "libobjc()" + }, + { + "pos": 16239, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16240, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 16241, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16242, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 16243, + "type": [ + "Text" + ], + "value": "pkgdesc=\"GNU" + }, + { + "pos": 16255, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16256, + "type": [ + "Text" + ], + "value": "Objective-C" + }, + { + "pos": 16267, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16268, + "type": [ + "Text" + ], + "value": "runtime\"" + }, + { + "pos": 16276, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16277, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 16278, + "type": [ + "Text" + ], + "value": "replaces=\"objc\"" + }, + { + "pos": 16293, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16294, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 16295, + "type": [ + "Text" + ], + "value": "depends=" + }, + { + "pos": 16303, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16304, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 16305, + "type": [ + "Text" + ], + "value": "mkdir" + }, + { + "pos": 16310, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16311, + "type": [ + "Text" + ], + "value": "-p" + }, + { + "pos": 16313, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16314, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 16326, + "type": [ + "Text" + ], + "value": "/usr/lib" + }, + { + "pos": 16334, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16335, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 16336, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 16338, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16339, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 16348, + "type": [ + "Text" + ], + "value": "/usr/${_target:+$CTARGET/}lib/libobjc.so.*" + }, + { + "pos": 16390, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16391, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 16403, + "type": [ + "Text" + ], + "value": "/usr/lib/" + }, + { + "pos": 16412, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16413, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 16414, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 16416, + "type": [ + "Text" + ], + "value": "objc()" + }, + { + "pos": 16422, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16423, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 16424, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16425, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 16426, + "type": [ + "Text" + ], + "value": "pkgdesc=\"GNU" + }, + { + "pos": 16438, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16439, + "type": [ + "Text" + ], + "value": "Objective-C\"" + }, + { + "pos": 16451, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16452, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 16453, + "type": [ + "Text" + ], + "value": "replaces=\"gcc\"" + }, + { + "pos": 16467, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16468, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 16469, + "type": [ + "Text" + ], + "value": "depends=\"libc-dev" + }, + { + "pos": 16486, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16487, + "type": [ + "Text" + ], + "value": "gcc=$_gccrel" + }, + { + "pos": 16499, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16500, + "type": [ + "Text" + ], + "value": "libobjc=$_gccrel\"" + }, + { + "pos": 16517, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 16519, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 16520, + "type": [ + "Text" + ], + "value": "mkdir" + }, + { + "pos": 16525, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16526, + "type": [ + "Text" + ], + "value": "-p" + }, + { + "pos": 16528, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16529, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir/$_gcclibexec\"" + }, + { + "pos": 16554, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16555, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 16556, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16557, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 16559, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 16571, + "type": [ + "Text" + ], + "value": "/$_gcclibdir/include" + }, + { + "pos": 16591, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16592, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 16593, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16594, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 16596, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 16608, + "type": [ + "Text" + ], + "value": "/usr/lib" + }, + { + "pos": 16616, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16617, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 16618, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 16620, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16621, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir/$_gcclibexec/cc1obj\"" + }, + { + "pos": 16650, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16651, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir/$_gcclibexec/\"" + }, + { + "pos": 16677, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16678, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 16679, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 16681, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16682, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 16691, + "type": [ + "Text" + ], + "value": "/$_gcclibdir/include/objc" + }, + { + "pos": 16716, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16717, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 16729, + "type": [ + "Text" + ], + "value": "/$_gcclibdir/include/" + }, + { + "pos": 16750, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16751, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 16752, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 16754, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16755, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 16764, + "type": [ + "Text" + ], + "value": "/usr/lib/libobjc.so" + }, + { + "pos": 16783, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16784, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 16793, + "type": [ + "Text" + ], + "value": "/usr/lib/libobjc.a" + }, + { + "pos": 16811, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16812, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 16813, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16814, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 16816, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 16828, + "type": [ + "Text" + ], + "value": "/usr/lib/" + }, + { + "pos": 16837, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16838, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 16839, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 16841, + "type": [ + "Text" + ], + "value": "libgcc()" + }, + { + "pos": 16849, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16850, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 16851, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16852, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 16853, + "type": [ + "Text" + ], + "value": "pkgdesc=\"GNU" + }, + { + "pos": 16865, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16866, + "type": [ + "Text" + ], + "value": "C" + }, + { + "pos": 16867, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16868, + "type": [ + "Text" + ], + "value": "compiler" + }, + { + "pos": 16876, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16877, + "type": [ + "Text" + ], + "value": "runtime" + }, + { + "pos": 16884, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16885, + "type": [ + "Text" + ], + "value": "libraries\"" + }, + { + "pos": 16895, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16896, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 16897, + "type": [ + "Text" + ], + "value": "depends=" + }, + { + "pos": 16905, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 16907, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 16908, + "type": [ + "Text" + ], + "value": "mkdir" + }, + { + "pos": 16913, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16914, + "type": [ + "Text" + ], + "value": "-p" + }, + { + "pos": 16916, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16917, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 16929, + "type": [ + "Text" + ], + "value": "/usr/lib" + }, + { + "pos": 16937, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16938, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 16939, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 16941, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16942, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 16951, + "type": [ + "Text" + ], + "value": "/usr/${_target:+$CTARGET/}lib/libgcc_s.so.*" + }, + { + "pos": 16994, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16995, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 17007, + "type": [ + "Text" + ], + "value": "/usr/lib/" + }, + { + "pos": 17016, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17017, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 17018, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 17020, + "type": [ + "Text" + ], + "value": "libgomp()" + }, + { + "pos": 17029, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17030, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 17031, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17032, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 17033, + "type": [ + "Text" + ], + "value": "pkgdesc=\"GCC" + }, + { + "pos": 17045, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17046, + "type": [ + "Text" + ], + "value": "shared-memory" + }, + { + "pos": 17059, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17060, + "type": [ + "Text" + ], + "value": "parallel" + }, + { + "pos": 17068, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17069, + "type": [ + "Text" + ], + "value": "programming" + }, + { + "pos": 17080, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17081, + "type": [ + "Text" + ], + "value": "API" + }, + { + "pos": 17084, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17085, + "type": [ + "Text" + ], + "value": "library\"" + }, + { + "pos": 17093, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17094, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 17095, + "type": [ + "Text" + ], + "value": "depends=" + }, + { + "pos": 17103, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17104, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 17105, + "type": [ + "Text" + ], + "value": "replaces=\"gcc\"" + }, + { + "pos": 17119, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 17121, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 17122, + "type": [ + "Text" + ], + "value": "mkdir" + }, + { + "pos": 17127, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17128, + "type": [ + "Text" + ], + "value": "-p" + }, + { + "pos": 17130, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17131, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 17143, + "type": [ + "Text" + ], + "value": "/usr/lib" + }, + { + "pos": 17151, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17152, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 17153, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 17155, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17156, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 17165, + "type": [ + "Text" + ], + "value": "/usr/${_target:+$CTARGET/}lib/libgomp.so.*" + }, + { + "pos": 17207, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17208, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 17220, + "type": [ + "Text" + ], + "value": "/usr/lib/" + }, + { + "pos": 17229, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17230, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 17231, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 17233, + "type": [ + "Text" + ], + "value": "libgphobos()" + }, + { + "pos": 17245, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17246, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 17247, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17248, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 17249, + "type": [ + "Text" + ], + "value": "pkgdesc=\"D" + }, + { + "pos": 17259, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17260, + "type": [ + "Text" + ], + "value": "programming" + }, + { + "pos": 17271, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17272, + "type": [ + "Text" + ], + "value": "language" + }, + { + "pos": 17280, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17281, + "type": [ + "Text" + ], + "value": "standard" + }, + { + "pos": 17289, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17290, + "type": [ + "Text" + ], + "value": "library" + }, + { + "pos": 17297, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17298, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 17301, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17302, + "type": [ + "Text" + ], + "value": "GCC\"" + }, + { + "pos": 17306, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17307, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 17308, + "type": [ + "Text" + ], + "value": "depends=" + }, + { + "pos": 17316, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 17318, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 17319, + "type": [ + "Text" + ], + "value": "mkdir" + }, + { + "pos": 17324, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17325, + "type": [ + "Text" + ], + "value": "-p" + }, + { + "pos": 17327, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17328, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 17340, + "type": [ + "Text" + ], + "value": "/usr/lib" + }, + { + "pos": 17348, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17349, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 17350, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 17352, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17353, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 17362, + "type": [ + "Text" + ], + "value": "/usr/lib/libgdruntime.so.*" + }, + { + "pos": 17388, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17389, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 17401, + "type": [ + "Text" + ], + "value": "/usr/lib/" + }, + { + "pos": 17410, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17411, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 17412, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 17414, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17415, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 17424, + "type": [ + "Text" + ], + "value": "/usr/lib/libgphobos.so.*" + }, + { + "pos": 17448, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17450, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 17462, + "type": [ + "Text" + ], + "value": "/usr/lib/" + }, + { + "pos": 17471, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17472, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 17473, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 17475, + "type": [ + "Text" + ], + "value": "gdc()" + }, + { + "pos": 17480, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17481, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 17482, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17483, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 17484, + "type": [ + "Text" + ], + "value": "pkgdesc=\"GCC-based" + }, + { + "pos": 17502, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17503, + "type": [ + "Text" + ], + "value": "D" + }, + { + "pos": 17504, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17505, + "type": [ + "Text" + ], + "value": "language" + }, + { + "pos": 17513, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17514, + "type": [ + "Text" + ], + "value": "compiler\"" + }, + { + "pos": 17523, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17524, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 17525, + "type": [ + "Text" + ], + "value": "depends=\"gcc=$_gccrel" + }, + { + "pos": 17546, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17547, + "type": [ + "Text" + ], + "value": "libgphobos=$_gccrel" + }, + { + "pos": 17566, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17567, + "type": [ + "Text" + ], + "value": "musl-dev\"" + }, + { + "pos": 17576, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17577, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 17578, + "type": [ + "Text" + ], + "value": "depends=\"$depends" + }, + { + "pos": 17595, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17596, + "type": [ + "Text" + ], + "value": "libucontext-dev\"" + }, + { + "pos": 17612, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 17614, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 17615, + "type": [ + "Text" + ], + "value": "mkdir" + }, + { + "pos": 17620, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17621, + "type": [ + "Text" + ], + "value": "-p" + }, + { + "pos": 17623, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17624, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir/$_gcclibexec\"" + }, + { + "pos": 17649, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17650, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 17651, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17652, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 17654, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 17666, + "type": [ + "Text" + ], + "value": "/$_gcclibdir/include/d/" + }, + { + "pos": 17689, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17690, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 17691, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17692, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 17694, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 17706, + "type": [ + "Text" + ], + "value": "/usr/lib" + }, + { + "pos": 17714, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17715, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 17716, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17717, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 17719, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 17731, + "type": [ + "Text" + ], + "value": "/usr/bin" + }, + { + "pos": 17739, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17740, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 17741, + "type": [ + "Comment" + ], + "value": "# Copy: The installed '.d' files, the static lib, the binary itself" + }, + { + "pos": 17808, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17809, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 17810, + "type": [ + "Comment" + ], + "value": "# The shared libs are part of 'libgphobos' so one can run program" + }, + { + "pos": 17875, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17876, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 17877, + "type": [ + "Comment" + ], + "value": "# without installing the compiler" + }, + { + "pos": 17910, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17911, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 17912, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 17914, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17915, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir/$_gcclibexec/d21\"" + }, + { + "pos": 17941, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17942, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir/$_gcclibexec/\"" + }, + { + "pos": 17968, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17969, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 17970, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 17972, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17973, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 17982, + "type": [ + "Text" + ], + "value": "/$_gcclibdir/include/d/*" + }, + { + "pos": 18006, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18007, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 18019, + "type": [ + "Text" + ], + "value": "/$_gcclibdir/include/d/" + }, + { + "pos": 18042, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18043, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 18044, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 18046, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18047, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 18056, + "type": [ + "Text" + ], + "value": "/usr/lib/libgdruntime.a" + }, + { + "pos": 18079, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18080, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 18092, + "type": [ + "Text" + ], + "value": "/usr/lib/" + }, + { + "pos": 18101, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18102, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 18103, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 18105, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18106, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 18115, + "type": [ + "Text" + ], + "value": "/usr/lib/libgphobos.a" + }, + { + "pos": 18136, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18137, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 18149, + "type": [ + "Text" + ], + "value": "/usr/lib/" + }, + { + "pos": 18158, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18159, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 18160, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 18162, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18163, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 18172, + "type": [ + "Text" + ], + "value": "/usr/lib/libgphobos.spec" + }, + { + "pos": 18196, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18197, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 18209, + "type": [ + "Text" + ], + "value": "/usr/lib/" + }, + { + "pos": 18218, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18219, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 18220, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 18222, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18223, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 18232, + "type": [ + "Text" + ], + "value": "/usr/bin/$CTARGET-gdc" + }, + { + "pos": 18253, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18254, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 18266, + "type": [ + "Text" + ], + "value": "/usr/bin/" + }, + { + "pos": 18275, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18276, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 18277, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 18279, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18280, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 18289, + "type": [ + "Text" + ], + "value": "/usr/bin/gdc" + }, + { + "pos": 18301, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18302, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 18314, + "type": [ + "Text" + ], + "value": "/usr/bin/" + }, + { + "pos": 18323, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18324, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 18325, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n\n" + }, + { + "pos": 18328, + "type": [ + "Text" + ], + "value": "libgo()" + }, + { + "pos": 18335, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18336, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 18337, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18338, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 18339, + "type": [ + "Text" + ], + "value": "pkgdesc=\"Go" + }, + { + "pos": 18350, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18351, + "type": [ + "Text" + ], + "value": "runtime" + }, + { + "pos": 18358, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18359, + "type": [ + "Text" + ], + "value": "library" + }, + { + "pos": 18366, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18367, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 18370, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18371, + "type": [ + "Text" + ], + "value": "GCC\"" + }, + { + "pos": 18375, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18376, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 18377, + "type": [ + "Text" + ], + "value": "depends=" + }, + { + "pos": 18385, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 18387, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 18388, + "type": [ + "Text" + ], + "value": "mkdir" + }, + { + "pos": 18393, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18394, + "type": [ + "Text" + ], + "value": "-p" + }, + { + "pos": 18396, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18397, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 18409, + "type": [ + "Text" + ], + "value": "/usr/lib" + }, + { + "pos": 18417, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18418, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 18419, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 18421, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18422, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 18431, + "type": [ + "Text" + ], + "value": "/usr/lib/libgo.so.*" + }, + { + "pos": 18450, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18451, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 18463, + "type": [ + "Text" + ], + "value": "/usr/lib/" + }, + { + "pos": 18472, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18473, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 18474, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 18476, + "type": [ + "Text" + ], + "value": "go()" + }, + { + "pos": 18480, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18481, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 18482, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18483, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 18484, + "type": [ + "Text" + ], + "value": "pkgdesc=\"Go" + }, + { + "pos": 18495, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18496, + "type": [ + "Text" + ], + "value": "support" + }, + { + "pos": 18503, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18504, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 18507, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18508, + "type": [ + "Text" + ], + "value": "GCC\"" + }, + { + "pos": 18512, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18513, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 18514, + "type": [ + "Text" + ], + "value": "depends=\"gcc=$_gccrel" + }, + { + "pos": 18535, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18536, + "type": [ + "Text" + ], + "value": "libgo=$_gccrel" + }, + { + "pos": 18550, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18551, + "type": [ + "Text" + ], + "value": "!go\"" + }, + { + "pos": 18555, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 18557, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 18558, + "type": [ + "Text" + ], + "value": "mkdir" + }, + { + "pos": 18563, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18564, + "type": [ + "Text" + ], + "value": "-p" + }, + { + "pos": 18566, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18567, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 18579, + "type": [ + "Text" + ], + "value": "/$_gcclibexec" + }, + { + "pos": 18592, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18593, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 18594, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18595, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 18597, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 18609, + "type": [ + "Text" + ], + "value": "/usr/lib" + }, + { + "pos": 18617, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18618, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 18619, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18620, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 18622, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 18634, + "type": [ + "Text" + ], + "value": "/usr/bin" + }, + { + "pos": 18642, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18643, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 18644, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 18646, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18647, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 18656, + "type": [ + "Text" + ], + "value": "/usr/lib/go" + }, + { + "pos": 18667, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18668, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 18680, + "type": [ + "Text" + ], + "value": "/usr/lib/" + }, + { + "pos": 18689, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18690, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 18691, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 18693, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18694, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 18703, + "type": [ + "Text" + ], + "value": "/usr/bin/*gccgo" + }, + { + "pos": 18718, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18719, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 18731, + "type": [ + "Text" + ], + "value": "/usr/bin/" + }, + { + "pos": 18740, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18741, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 18742, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 18744, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18745, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 18754, + "type": [ + "Text" + ], + "value": "/usr/bin/*go" + }, + { + "pos": 18766, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18767, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 18779, + "type": [ + "Text" + ], + "value": "/usr/bin" + }, + { + "pos": 18787, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18788, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 18789, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 18791, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18792, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 18801, + "type": [ + "Text" + ], + "value": "/usr/bin/*gofmt" + }, + { + "pos": 18816, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18817, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 18829, + "type": [ + "Text" + ], + "value": "/usr/bin" + }, + { + "pos": 18837, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18838, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 18839, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 18841, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18842, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 18851, + "type": [ + "Text" + ], + "value": "/$_gcclibexec/go1" + }, + { + "pos": 18868, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18869, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 18881, + "type": [ + "Text" + ], + "value": "/$_gcclibexec/" + }, + { + "pos": 18895, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18896, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 18897, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 18899, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18900, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 18909, + "type": [ + "Text" + ], + "value": "/$_gcclibexec/cgo" + }, + { + "pos": 18926, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18927, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 18939, + "type": [ + "Text" + ], + "value": "/$_gcclibexec/" + }, + { + "pos": 18953, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18954, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 18955, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 18957, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18958, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 18967, + "type": [ + "Text" + ], + "value": "/$_gcclibexec/buildid" + }, + { + "pos": 18988, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18989, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 19001, + "type": [ + "Text" + ], + "value": "/$_gcclibexec/" + }, + { + "pos": 19015, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19016, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 19017, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 19019, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19020, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 19029, + "type": [ + "Text" + ], + "value": "/$_gcclibexec/test2json" + }, + { + "pos": 19052, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19053, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 19065, + "type": [ + "Text" + ], + "value": "/$_gcclibexec/" + }, + { + "pos": 19079, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19080, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 19081, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 19083, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19084, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 19093, + "type": [ + "Text" + ], + "value": "/$_gcclibexec/vet" + }, + { + "pos": 19110, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19111, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 19123, + "type": [ + "Text" + ], + "value": "/$_gcclibexec/" + }, + { + "pos": 19137, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19138, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 19139, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 19141, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19142, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 19151, + "type": [ + "Text" + ], + "value": "/usr/lib/libgo.a" + }, + { + "pos": 19167, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19168, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 19169, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19170, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 19172, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 19181, + "type": [ + "Text" + ], + "value": "/usr/lib/libgo.so" + }, + { + "pos": 19198, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19199, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 19200, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19201, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 19203, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 19212, + "type": [ + "Text" + ], + "value": "/usr/lib/libgobegin.a" + }, + { + "pos": 19233, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19234, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 19235, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19236, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 19238, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 19247, + "type": [ + "Text" + ], + "value": "/usr/lib/libgolibbegin.a" + }, + { + "pos": 19271, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19272, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 19273, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19274, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 19276, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 19288, + "type": [ + "Text" + ], + "value": "/usr/lib/" + }, + { + "pos": 19297, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19298, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 19299, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 19301, + "type": [ + "Text" + ], + "value": "libgfortran()" + }, + { + "pos": 19314, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19315, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 19316, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19317, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 19318, + "type": [ + "Text" + ], + "value": "pkgdesc=\"Fortran" + }, + { + "pos": 19334, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19335, + "type": [ + "Text" + ], + "value": "runtime" + }, + { + "pos": 19342, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19343, + "type": [ + "Text" + ], + "value": "library" + }, + { + "pos": 19350, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19351, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 19354, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19355, + "type": [ + "Text" + ], + "value": "GCC\"" + }, + { + "pos": 19359, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19360, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 19361, + "type": [ + "Text" + ], + "value": "depends=" + }, + { + "pos": 19369, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 19371, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 19372, + "type": [ + "Text" + ], + "value": "mkdir" + }, + { + "pos": 19377, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19378, + "type": [ + "Text" + ], + "value": "-p" + }, + { + "pos": 19380, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19381, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 19393, + "type": [ + "Text" + ], + "value": "/usr/lib" + }, + { + "pos": 19401, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19402, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 19403, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 19405, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19406, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 19415, + "type": [ + "Text" + ], + "value": "/usr/lib/libgfortran.so.*" + }, + { + "pos": 19440, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19441, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 19453, + "type": [ + "Text" + ], + "value": "/usr/lib/" + }, + { + "pos": 19462, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19463, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 19464, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 19466, + "type": [ + "Text" + ], + "value": "libquadmath()" + }, + { + "pos": 19479, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19480, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 19481, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19482, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 19483, + "type": [ + "Text" + ], + "value": "replaces=\"gcc\"" + }, + { + "pos": 19497, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19498, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 19499, + "type": [ + "Text" + ], + "value": "pkgdesc=\"128-bit" + }, + { + "pos": 19515, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19516, + "type": [ + "Text" + ], + "value": "math" + }, + { + "pos": 19520, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19521, + "type": [ + "Text" + ], + "value": "library" + }, + { + "pos": 19528, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19529, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 19532, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19533, + "type": [ + "Text" + ], + "value": "GCC\"" + }, + { + "pos": 19537, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19538, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 19539, + "type": [ + "Text" + ], + "value": "depends=" + }, + { + "pos": 19547, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 19549, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 19550, + "type": [ + "Text" + ], + "value": "mkdir" + }, + { + "pos": 19555, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19556, + "type": [ + "Text" + ], + "value": "-p" + }, + { + "pos": 19558, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19559, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 19571, + "type": [ + "Text" + ], + "value": "/usr/lib" + }, + { + "pos": 19579, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19580, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 19581, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 19583, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19584, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 19593, + "type": [ + "Text" + ], + "value": "/usr/lib/libquadmath.so.*" + }, + { + "pos": 19618, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19619, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 19631, + "type": [ + "Text" + ], + "value": "/usr/lib/" + }, + { + "pos": 19640, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19641, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 19642, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 19644, + "type": [ + "Text" + ], + "value": "gfortran()" + }, + { + "pos": 19654, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19655, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 19656, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19657, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 19658, + "type": [ + "Text" + ], + "value": "pkgdesc=\"GNU" + }, + { + "pos": 19670, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19671, + "type": [ + "Text" + ], + "value": "Fortran" + }, + { + "pos": 19678, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19679, + "type": [ + "Text" + ], + "value": "Compiler\"" + }, + { + "pos": 19688, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19689, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 19690, + "type": [ + "Text" + ], + "value": "depends=\"gcc=$_gccrel" + }, + { + "pos": 19711, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19712, + "type": [ + "Text" + ], + "value": "libgfortran=$_gccrel\"" + }, + { + "pos": 19733, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19734, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 19735, + "type": [ + "Text" + ], + "value": "$_libquadmath" + }, + { + "pos": 19748, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19749, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 19751, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19752, + "type": [ + "Text" + ], + "value": "depends=\"$depends" + }, + { + "pos": 19769, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19770, + "type": [ + "Text" + ], + "value": "libquadmath=$_gccrel\"" + }, + { + "pos": 19791, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19792, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 19793, + "type": [ + "Text" + ], + "value": "replaces=\"gcc\"" + }, + { + "pos": 19807, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 19809, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 19810, + "type": [ + "Text" + ], + "value": "mkdir" + }, + { + "pos": 19815, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19816, + "type": [ + "Text" + ], + "value": "-p" + }, + { + "pos": 19818, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19819, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 19831, + "type": [ + "Text" + ], + "value": "/$_gcclibexec" + }, + { + "pos": 19844, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19845, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 19846, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19847, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 19849, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 19861, + "type": [ + "Text" + ], + "value": "/$_gcclibdir" + }, + { + "pos": 19873, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19874, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 19875, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19876, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 19878, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 19890, + "type": [ + "Text" + ], + "value": "/usr/lib" + }, + { + "pos": 19898, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19899, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 19900, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19901, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 19903, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 19915, + "type": [ + "Text" + ], + "value": "/usr/bin" + }, + { + "pos": 19923, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19924, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 19925, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 19927, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19928, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 19937, + "type": [ + "Text" + ], + "value": "/usr/bin/*gfortran" + }, + { + "pos": 19955, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19956, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 19968, + "type": [ + "Text" + ], + "value": "/usr/bin/" + }, + { + "pos": 19977, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19978, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 19979, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 19981, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19982, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 19991, + "type": [ + "Text" + ], + "value": "/usr/lib/libgfortran.a" + }, + { + "pos": 20013, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20014, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 20015, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20016, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 20018, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 20027, + "type": [ + "Text" + ], + "value": "/usr/lib/libgfortran.so" + }, + { + "pos": 20050, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20051, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 20052, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20053, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 20055, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 20067, + "type": [ + "Text" + ], + "value": "/usr/lib/" + }, + { + "pos": 20076, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20077, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 20078, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 20080, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20081, + "type": [ + "Text" + ], + "value": "$_libquadmath;" + }, + { + "pos": 20095, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20096, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 20100, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20101, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 20103, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 20105, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20106, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 20115, + "type": [ + "Text" + ], + "value": "/usr/lib/libquadmath.a" + }, + { + "pos": 20137, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20138, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 20139, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20140, + "type": [ + "Text", + "WS" + ], + "value": "\t\t\t" + }, + { + "pos": 20143, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 20152, + "type": [ + "Text" + ], + "value": "/usr/lib/libquadmath.so" + }, + { + "pos": 20175, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20176, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 20177, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20178, + "type": [ + "Text", + "WS" + ], + "value": "\t\t\t" + }, + { + "pos": 20181, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 20193, + "type": [ + "Text" + ], + "value": "/usr/lib/" + }, + { + "pos": 20202, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20203, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 20204, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 20206, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20207, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 20208, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 20210, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20211, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 20220, + "type": [ + "Text" + ], + "value": "/$_gcclibdir/finclude" + }, + { + "pos": 20241, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20242, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 20254, + "type": [ + "Text" + ], + "value": "/$_gcclibdir/" + }, + { + "pos": 20267, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20268, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 20269, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 20271, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20272, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 20281, + "type": [ + "Text" + ], + "value": "/$_gcclibexec/f951" + }, + { + "pos": 20299, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20300, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 20312, + "type": [ + "Text" + ], + "value": "/$_gcclibexec" + }, + { + "pos": 20325, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20326, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 20327, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 20329, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20330, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 20339, + "type": [ + "Text" + ], + "value": "/usr/lib/libgfortran.spec" + }, + { + "pos": 20364, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20365, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 20377, + "type": [ + "Text" + ], + "value": "/$_gcclibdir" + }, + { + "pos": 20389, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20390, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 20391, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 20393, + "type": [ + "Text" + ], + "value": "libgnat()" + }, + { + "pos": 20402, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20403, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 20404, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20405, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 20406, + "type": [ + "Text" + ], + "value": "pkgdesc=\"GNU" + }, + { + "pos": 20418, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20419, + "type": [ + "Text" + ], + "value": "Ada" + }, + { + "pos": 20422, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20423, + "type": [ + "Text" + ], + "value": "runtime" + }, + { + "pos": 20430, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20431, + "type": [ + "Text" + ], + "value": "shared" + }, + { + "pos": 20437, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20438, + "type": [ + "Text" + ], + "value": "libraries\"" + }, + { + "pos": 20448, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20449, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 20450, + "type": [ + "Text" + ], + "value": "depends=" + }, + { + "pos": 20458, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 20460, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 20461, + "type": [ + "Text" + ], + "value": "mkdir" + }, + { + "pos": 20466, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20467, + "type": [ + "Text" + ], + "value": "-p" + }, + { + "pos": 20469, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20470, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 20482, + "type": [ + "Text" + ], + "value": "/usr/lib" + }, + { + "pos": 20490, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20491, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 20492, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 20494, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20495, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 20504, + "type": [ + "Text" + ], + "value": "/usr/lib/libgna*.so" + }, + { + "pos": 20523, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20524, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 20536, + "type": [ + "Text" + ], + "value": "/usr/lib/" + }, + { + "pos": 20545, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20546, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 20547, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 20549, + "type": [ + "Text" + ], + "value": "libgnatstatic()" + }, + { + "pos": 20564, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20565, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 20566, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20567, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 20568, + "type": [ + "Text" + ], + "value": "pkgdesc=\"GNU" + }, + { + "pos": 20580, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20581, + "type": [ + "Text" + ], + "value": "Ada" + }, + { + "pos": 20584, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20585, + "type": [ + "Text" + ], + "value": "static" + }, + { + "pos": 20591, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20592, + "type": [ + "Text" + ], + "value": "libraries\"" + }, + { + "pos": 20602, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20603, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 20604, + "type": [ + "Text" + ], + "value": "depends=" + }, + { + "pos": 20612, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 20614, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 20615, + "type": [ + "Text" + ], + "value": "mkdir" + }, + { + "pos": 20620, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20621, + "type": [ + "Text" + ], + "value": "-p" + }, + { + "pos": 20623, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20624, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 20636, + "type": [ + "Text" + ], + "value": "/usr/lib" + }, + { + "pos": 20644, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20645, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 20646, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 20648, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20649, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 20658, + "type": [ + "Text" + ], + "value": "/usr/lib/libgna*.a" + }, + { + "pos": 20676, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20677, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 20689, + "type": [ + "Text" + ], + "value": "/usr/lib/" + }, + { + "pos": 20698, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20699, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 20700, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 20702, + "type": [ + "Text" + ], + "value": "gnat()" + }, + { + "pos": 20708, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20709, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 20710, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20711, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 20712, + "type": [ + "Text" + ], + "value": "pkgdesc=\"Ada" + }, + { + "pos": 20724, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20725, + "type": [ + "Text" + ], + "value": "support" + }, + { + "pos": 20732, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20733, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 20736, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20737, + "type": [ + "Text" + ], + "value": "GCC\"" + }, + { + "pos": 20741, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20742, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 20743, + "type": [ + "Text" + ], + "value": "depends=\"gcc=$_gccrel\"" + }, + { + "pos": 20765, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20766, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 20767, + "type": [ + "Text" + ], + "value": "provides=\"$pkgname-gnat-bootstrap\"" + }, + { + "pos": 20801, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20802, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 20803, + "type": [ + "Text" + ], + "value": "[" + }, + { + "pos": 20804, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20805, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CHOST\"" + }, + { + "pos": 20813, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20814, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 20815, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20816, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CTARGET\"" + }, + { + "pos": 20826, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20827, + "type": [ + "Text" + ], + "value": "]" + }, + { + "pos": 20828, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20829, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 20831, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20832, + "type": [ + "Text" + ], + "value": "depends=\"$depends" + }, + { + "pos": 20849, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20850, + "type": [ + "Text" + ], + "value": "libgnat=$_gccrel\"" + }, + { + "pos": 20867, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 20869, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 20870, + "type": [ + "Text" + ], + "value": "mkdir" + }, + { + "pos": 20875, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20876, + "type": [ + "Text" + ], + "value": "-p" + }, + { + "pos": 20878, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20879, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 20891, + "type": [ + "Text" + ], + "value": "/$_gcclibexec" + }, + { + "pos": 20904, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20905, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 20906, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20907, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 20909, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 20921, + "type": [ + "Text" + ], + "value": "/$_gcclibdir" + }, + { + "pos": 20933, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20934, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 20935, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20936, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 20938, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 20950, + "type": [ + "Text" + ], + "value": "/usr/bin" + }, + { + "pos": 20958, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20959, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 20960, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 20962, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20963, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 20972, + "type": [ + "Text" + ], + "value": "/$_gcclibexec/*gnat*" + }, + { + "pos": 20992, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20993, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 21005, + "type": [ + "Text" + ], + "value": "/$_gcclibexec/" + }, + { + "pos": 21019, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 21020, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 21021, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 21023, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21024, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 21033, + "type": [ + "Text" + ], + "value": "/$_gcclibdir/*ada*" + }, + { + "pos": 21051, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21052, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 21064, + "type": [ + "Text" + ], + "value": "/$_gcclibdir/" + }, + { + "pos": 21077, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 21078, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 21079, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 21081, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21082, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 21091, + "type": [ + "Text" + ], + "value": "/usr/bin/*gnat*" + }, + { + "pos": 21106, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21107, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 21119, + "type": [ + "Text" + ], + "value": "/usr/bin/" + }, + { + "pos": 21128, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 21129, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 21130, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 21132, + "type": [ + "Name", + "Variable" + ], + "value": "sha512sums" + }, + { + "pos": 21142, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 21143, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"0ef281e6633b8bef7ce24d1448ec7b96aef66e414f90821a9a021dcd98eca8895d217d9d95b70fd9c96113689cd026aec951edc356462e439a9350edb4009df6 gcc-10.3.1_git20210424.tar.xz\nd1e10db83a04c02d99f9f6ce03f949b83ccd013674773dcb08992c604048df6a08bf9bd16f74e3c60ea85fd861fb08c1fa9fe17c304af9bfc9a032b81f1ac9eb 0001-posix_memalign.patch\na77c7ebd994b5780cc5209f33ace24fc4d04353638dcdb14af192b0be5b0e5be397218ddba40e577af889a267af1aa69c1def474207a6661a37c3f5c15002bcb 0002-gcc-poison-system-directories.patch\n108ad63f61e61f627a75613605962021c08bbde584f3c0507d6a07c6112487847ce89699d1d80efb9201c4eab3440ba66f2eeb781bd259fdfc9c87b3baee1e27 0003-Turn-on-Wl-z-relro-z-now-by-default.patch\ndc28895223fe7ce531648225da3cd15e20c26a9be0248fdd66f11efb153647776bdbe8109097d87a087c4443e809a0d425848bdeae1442135c52a13bdd06ef75 0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch\nce7a5f243072284e767510083c57250dd5f1dcdcae102cf1ecbb06f36ea286b00b1f84dc32e5fdb76bac77b52ef3e4e650cff7cc0d14d94487a40ca9d5605bbd 0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch\nf5458adfd23f51fa54fb690ec322552d7cadc3afa5773e13e73832c56832854ff14a73ff480c9990731ce929c5a4df35bc20247239268221b9af40ba37331228 0006-Enable-Wformat-and-Wformat-security-by-default.patch\n2601b0de5fe402cdd9a3d87c2a3e959154c2ee413989db21fbc232f169b20d94807a1f89ff5ebb650a143d59b4b48187b338832d8de577fa47bfdd1b76313114 0007-Enable-Wtrampolines-by-default.patch\n3eedfe70c85d963845a658444d8692792a34af8b5e0fa800991bf1e0e2c9ff3196c50f11a284cfaca5d48b4c78b614febf38339918c7fa7a7f4723a1f6bdad16 0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch\n6a4b6843cb27b560ac4327b17718806bac4b602903f696222617148a52e9918144648cc45642293beb7c8fd48eba325c115e1dcaa4adec85e1caff0ea33d2a8a 0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch\naf174250b4fbcc3664bed51d919695511b538f2f3b65532383591f511bede3d13a1ade29aea66598d6df17f2e931a2d171f01c4e7008b4f468cfb13dc5f2b4cf 0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch\naabac76659e3fa96fa7b4ee2571672c840c3dd37314f16516038d3934333a42b20442a967afce5a35a326685c3c8ef384fc97dc8f4dae57479038f5431e33c19 0011-libiberty-copy-PIC-objects-during-build-process.patch\n36702acf0c9b34adb0b23b74167e5358c706246cc88ce569d4462555bb48288d5d633298aa447ef023c6f75de86dfa7d4ebbf3c43593e1279837ebd47061be0f 0012-libitm-disable-FORTIFY.patch\n79912633ee707c60c66abf6ee16159db3357e4e75d4254f7f38cbc0119c2adfcfa2b8c6b1df3885526d68e49f88e2a0c87969a784ed8a1025a680a4f18acd06c 0013-libgcc_s.patch\nc8c6f4e967afb5d4a9eccd917f6338a61547cc2fabbf56b25e27220b4f3c85f5002477bf2f9d05a911185cee8dcba3a12d3ad24c0d7b1d3b67a3a53bfea702c6 0014-nopie.patch\nd8d8556a6192d7695e1aeb1e64bf98a02b068c427442dd9c23d2b9a863c504e577f35e0890b5f0a184c687ce9315cecff3d2e0bb82f19531a493efb72b54cfe7 0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch\nb3fb29187561fef84b6eb0b35a582c79833203f689e5bf884146cd9a71ec407e0e3b27b0bd4953143d00879ce32331e92741e1c7229ca291ebf13dfd8f5d409c 0016-dlang-update-zlib-binding.patch\n2a03683d5e00cc65f8ebc83638953dff89981069943169874df03f4f3a22348b960780250d9240505acf5b1bfbe154d57d14f310f29a94b76404f50611da9000 0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch\n3df60839e5337fccdd228ebf753fb0dbf672aefca5f3f16329b99c813b907f44e1ce4948ce7f692dca316eb307b83ae9f5028cf1875eb3c9fee85b2dee7bfe83 0018-ada-fix-shared-linking.patch\nbd60be22341b508b4b5cb66eb48723d0f48770745352c60cfe146efa4d18ec58cccbb37f85b98dc0432e52bb5dc8dc1f28b3a3ca50d1ca6db68eb38df970e5aa 0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch\n333f9c7a1935dc4f29783fa31c254bda6339c30ee770eb30d585ac422cd0f69701b5d988f9493471e4c83cf20937050f33320852a83ed6dfb2e739ee3539ca0e 0020-add-fortify-headers-paths.patch\n053b0339936cc0469e8708ccc086fa1dabe8572199530e1e78a93551340dd35467a07273e19d2cbc7fe915b7a5bdf95c128718ba0518b67b9668ef0316b7aa06 0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch\n7b3d849cdbdee5855918db4114de8f989ec5d612cddc7551eb63ca2878e69e3566353bbfafa9205a161ffd51c5aedd367de6ad82cd5ebf6cb28c716a8d447bb5 0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch\n6b3c0fa81cebaf32948657bddaac99024f45c2fc19ac8bc504f3773b6458099b9907e310e162952973bdd41c9fc011e7a50bc8fa86cc0ebec9dd4c69830a012b 0023-Pure-64-bit-MIPS.patch\nda634721fa9cba18e4f527b2cdbe6896c0251ce43865c6fbf29a7281d766c3a8f98e2ddd345b801c25b7ceb85880150ae9cc422aa8891b1fc28a3dc40bcd3114 0024-use-pure-64-bit-configuration-where-appropriate.patch\n64b58a273993224f93c68cddfacc1b3da6b0900b2983f27f8db39b4375afa97cce564739c8fc320666821f6de526e54acbc4920c7e16612303b3d25aed34d5f1 0025-always-build-libgcc_eh.a.patch\n6004be7d683993c175f819e1d62767b6ca2b80643917bb584ffffe2aee9fd5ad9745f91651ad5d1d00aed390e7346262b5c28bec356efd9ff1c85e4b54bcfe2e 0026-ada-libgnarl-compatibility-for-musl.patch\n7a3ce107cc55356ac46f3a217eea1cf9cdddd43fd3fede048a26e5da2280f0af9f806392942d2896a0f841ca0b0b0eaceb4e20f09edee7a743b515d3553fc8b3 0027-ada-musl-support-fixes.patch\n0cd8303456ec5479942970679352fe8bcd259b8b04bffba458545abdfac87163a8fb8e55c3aa505c516af8fd0a1bfb5f2ee4c6027ec9bcb0b0d3564469a18e23 0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch\n6cc82829bb8bf8ffb473e4f2f9c2f657a4078290fc7c3208d199c0b07c2c3a7575a0c423e52fc02fd96c81158ab2e7ad33ccb651523ba80e00dee9e503d19c6d 0029-gcc-go-Don-t-include-sys-user.h.patch\n868e0cf5d32412c557d7835e03eb23621745179e77c87d69b810f8ec968cf80606cb5cb8085e5e125f08e809d5e3ff50c4de869d94caca5f4257669237a29b92 0030-gcc-go-Fix-ucontext_t-on-PPC64.patch\n257814e2dc39bf01dedc3efe9f50029bdc230e112a0e739d0547896212b87bcdb9d40d4632a237137c91e2d9605b2256ebd45ee005920a5c4e401e699ce69f46 0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch\n0e33205e6ef0b58d12eb80d3fd6ce7361e9e3a86ba2ae781745133be1f0fea6a1e95fd58331765f6bb599f4ad355224c954db4fbaf804b9e4c0ea01dbaae1638 0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch\nbb1e3bbea65644435134910e04b8d4de27642026371b19f4faf51b90e32af08e7181b3198e936b3626cba2126f8f9182ce39f6b8c8849b6b27f56a1c45e4f8c5 0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch\n0758417ab682ee6d4b75f1ba2d0c1f568e115a16625eb664066c1862178a43ae717396c5d61a355a08fc01929041abebbf33bc58176a0b78ab384aba7d2ed8ba 0034-gcc-go-signal-34-is-special-on-musl-libc.patch\nd0b132d1bb9a455af23829a9da4ff89c27eff3f642e2280712667753d552fc214424470cad4cecd0ae39052553b6a22d7dc7a20eebfd1cb976d98552b00b9dcd 0035-gcc-go-Prefer-_off_t-over-_off64_t.patch\na21844975ff13317ed7985b5f5b257a0bc1dd961360b6a6f36bf52151b8edf5ecf38fbdd47cb2c28c13ed3dfbf4ca112d91d81373fd3e2c5992aba35296645af 0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch\n0217263fc1fcfbde92fcebfc626b2cf0ba30e704b4fbe5a11f55d9ca5b579cceac3ba9ec45e7f53cd8805678b69fb6e5ab1295e67938b9c83f82e44ddebd0a85 0037-gcc-go-link-to-libucontext.patch\n8a90ce84d493bfcdcad4cb1a02a320dca18e8178e717451087501b059ca00ab8f6b73d628bcb3f49c5c6702b7222b063d3c0803d093e2c6f58820b6aa578969e 0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch\na3e7362fa95d5ffa56b0d8ea73f6f8e867409ae3b85d041aa0591dba093c5bb1d30f3294151c5142e8d1df91f4d138e9f4484009b8a675c8fc3b754a34c7648e 0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch\ndc7a8f6dc885dc34229128a716531b375ec4e8247a8522adb623c5a6b39db60ff471436b360a25f0310ee16fe1a6ec85ff64398cbae2677534626972ac01db22 0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch\n046bfe95d6de9df148e6c410b5d23a49c488ab41d95e599fc381a2b7d190e6d7d99de59fa8cd8c3a711ee2310426f3cdcd323cf887c8d11543e119d205659b6a 0041-Use-generic-errstr.go-implementation-on-musl.patch\"" + }, + { + "pos": 28642, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + } +] \ No newline at end of file diff --git a/tests/packagedcode/data/bashlex/PKGBUILD b/tests/packagedcode/data/bashlex/PKGBUILD new file mode 100644 index 00000000000..de4383c6af6 --- /dev/null +++ b/tests/packagedcode/data/bashlex/PKGBUILD @@ -0,0 +1,62 @@ +# Maintainer: Gordian Edenhofer + +pkgname=papermc +_pkgver=1.17.1 +_build=100 +_license_commit=40b3461 +pkgver="${_pkgver}+b${_build}" +pkgrel=3 +pkgdesc="Next generation of Minecraft server, compatible with Spigot plugins and offering uncompromising performance" +arch=('any') +url="https://papermc.io/" +license=('custom') +depends=('java-runtime-headless>=8' 'tmux' 'sudo' 'bash' 'awk' 'sed') +optdepends=("tar: needed in order to create world backups" + "netcat: required in order to suspend an idle server") +conflicts=('papermc-git') +backup=('etc/conf.d/papermc') +install="${pkgname}.install" +source=("papermc.${pkgver}.jar"::"https://papermc.io/api/v1/paper/${_pkgver}/${_build}/download" + "papermc-backup.service" + "papermc-backup.timer" + "papermc.service" + "papermc.conf" + "papermc.sh" + "papermc.tmpfiles" + "papermc.sysusers" + "LICENSE_${pkgver}.md"::"https://raw.githubusercontent.com/PaperMC/Paper/${_license_commit}/LICENSE.md") +noextract=("papermc.${pkgver}.jar") +sha512sums=('34366f0d5e116c011e2ff2dba884b3c5dda6444e0fb28115bc5e12ee839551a77ade8bc174939ecb8f818fc0eca65aa478d87f0b9082b894efbd587909dbfbb8' + 'a4fcc9f28436c0163e9414f2793fcbd4f6ea74772230cdff4a628246eae2a8008688b3dfb94d433f8f0887cd7eea3fe43ce25f9d5812d46e62179ff315b62895' + '51c5345155e8640d4f1eaef0c8cfb890ae46063f2d4e7a0fe181ad4c8ff7b96fea88b0f9fc74031d589dfd61602f37b440f183ca1859835930fe69d37508cd42' + 'f29c4044d9e3cc5ab137c21f7e62399b36d7e1f777d5558a39f7b4a01de75bdf2de0b8678e424accc03934ca7db9ebb6a22c78c8c4497759287dd55e1c3eb456' + 'fe268d7380f881229100700b1d4f4897904a630aa65b0b06bba08be5d5918f208d497e01fc5306deecd5d93a78cfdb7e9c7f1c3b910b3a414ce9af186a05224d' + 'bb0633de2da12b0f9e8c9ba29ef61c91785e9e6fb65f7712d60cf99d2045a38321073b78d7a7e1b34078e5627acbe42e8f3ad7164bbf6eef27dbbb3c5d41d748' + 'c40cba5dfbf5af5d206cd42fa2b43f2321b481f83ab79c9ce4eaa76f204abab48ff2d8b8526a1a3d82636be97f18596d4343b0efc72a7082642e4af8d1b561c5' + '115fe7213d7edd0e3159607a31b28edb6e6b3bd1d454d516973e38c8cf0b803275c2c4e59b29e2260561270d931c71bad134046535e5add309e0a8d055cde0ff' + '8621db1c6355b4467081ae1860a78a910c1ab3e50c8b1d71a70d701cca46131933c5d8d1352d42e0d79f75bd40e73e4fc825b9fb5be80326ef65c115244aa9df') + +_game="papermc" +_server_root="/srv/papermc" + +package() { + install -Dm644 ${_game}.conf "${pkgdir}/etc/conf.d/${_game}" + install -Dm755 ${_game}.sh "${pkgdir}/usr/bin/${_game}" + install -Dm644 ${_game}.service "${pkgdir}/usr/lib/systemd/system/${_game}.service" + install -Dm644 ${_game}-backup.service "${pkgdir}/usr/lib/systemd/system/${_game}-backup.service" + install -Dm644 ${_game}-backup.timer "${pkgdir}/usr/lib/systemd/system/${_game}-backup.timer" + install -Dm644 ${_game}.sysusers "${pkgdir}/usr/lib/sysusers.d/${_game}.conf" + install -Dm644 ${_game}.tmpfiles "${pkgdir}/usr/lib/tmpfiles.d/${_game}.conf" + install -Dm644 ${_game}.${pkgver}.jar "${pkgdir}/${_server_root}/${_game}.${pkgver}.jar" + ln -s "${_game}.${pkgver}.jar" "${pkgdir}${_server_root}/${_game}_server.jar" + + # Link the log files + mkdir -p "${pkgdir}/var/log/" + install -dm2755 "${pkgdir}/${_server_root}/logs" + ln -s "${_server_root}/logs" "${pkgdir}/var/log/${_game}" + + # Give the group write permissions and set user or group ID on execution + chmod g+ws "${pkgdir}${_server_root}" + + install -D ./LICENSE_${pkgver}.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} diff --git a/tests/packagedcode/data/bashlex/PKGBUILD-expected.json b/tests/packagedcode/data/bashlex/PKGBUILD-expected.json new file mode 100644 index 00000000000..776abb5394c --- /dev/null +++ b/tests/packagedcode/data/bashlex/PKGBUILD-expected.json @@ -0,0 +1,2413 @@ +[ + { + "pos": 0, + "type": [ + "Comment" + ], + "value": "# Maintainer: Gordian Edenhofer " + }, + { + "pos": 61, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 63, + "type": [ + "Name", + "Variable" + ], + "value": "pkgname" + }, + { + "pos": 70, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 71, + "type": [ + "Text" + ], + "value": "papermc" + }, + { + "pos": 78, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 79, + "type": [ + "Name", + "Variable" + ], + "value": "_pkgver" + }, + { + "pos": 86, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 87, + "type": [ + "Text" + ], + "value": "1.17.1" + }, + { + "pos": 93, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 94, + "type": [ + "Name", + "Variable" + ], + "value": "_build" + }, + { + "pos": 100, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 101, + "type": [ + "Text" + ], + "value": "100" + }, + { + "pos": 104, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 105, + "type": [ + "Name", + "Variable" + ], + "value": "_license_commit" + }, + { + "pos": 120, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 121, + "type": [ + "Text" + ], + "value": "40b3461" + }, + { + "pos": 128, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 129, + "type": [ + "Name", + "Variable" + ], + "value": "pkgver" + }, + { + "pos": 135, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 136, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${_pkgver}+b${_build}\"" + }, + { + "pos": 159, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 160, + "type": [ + "Name", + "Variable" + ], + "value": "pkgrel" + }, + { + "pos": 166, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 167, + "type": [ + "Text" + ], + "value": "3" + }, + { + "pos": 168, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 169, + "type": [ + "Name", + "Variable" + ], + "value": "pkgdesc" + }, + { + "pos": 176, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 177, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"Next generation of Minecraft server, compatible with Spigot plugins and offering uncompromising performance\"" + }, + { + "pos": 286, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 287, + "type": [ + "Name", + "Variable" + ], + "value": "arch" + }, + { + "pos": 291, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 292, + "type": [ + "ArraySep", + "Start" + ], + "value": "(" + }, + { + "pos": 293, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'any'" + }, + { + "pos": 298, + "type": [ + "ArraySep", + "End" + ], + "value": ")" + }, + { + "pos": 299, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 300, + "type": [ + "Name", + "Variable" + ], + "value": "url" + }, + { + "pos": 303, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 304, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"https://papermc.io/\"" + }, + { + "pos": 325, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 326, + "type": [ + "Name", + "Variable" + ], + "value": "license" + }, + { + "pos": 333, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 334, + "type": [ + "ArraySep", + "Start" + ], + "value": "(" + }, + { + "pos": 335, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'custom'" + }, + { + "pos": 343, + "type": [ + "ArraySep", + "End" + ], + "value": ")" + }, + { + "pos": 344, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 345, + "type": [ + "Name", + "Variable" + ], + "value": "depends" + }, + { + "pos": 352, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 353, + "type": [ + "ArraySep", + "Start" + ], + "value": "(" + }, + { + "pos": 354, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'java-runtime-headless>=8'" + }, + { + "pos": 380, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 381, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'tmux'" + }, + { + "pos": 387, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 388, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'sudo'" + }, + { + "pos": 394, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 395, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'bash'" + }, + { + "pos": 401, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 402, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'awk'" + }, + { + "pos": 407, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 408, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'sed'" + }, + { + "pos": 413, + "type": [ + "ArraySep", + "End" + ], + "value": ")" + }, + { + "pos": 414, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 415, + "type": [ + "Name", + "Variable" + ], + "value": "optdepends" + }, + { + "pos": 425, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 426, + "type": [ + "ArraySep", + "Start" + ], + "value": "(" + }, + { + "pos": 427, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"tar: needed in order to create world backups\"" + }, + { + "pos": 473, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 474, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 475, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"netcat: required in order to suspend an idle server\"" + }, + { + "pos": 528, + "type": [ + "ArraySep", + "End" + ], + "value": ")" + }, + { + "pos": 529, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 530, + "type": [ + "Name", + "Variable" + ], + "value": "conflicts" + }, + { + "pos": 539, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 540, + "type": [ + "ArraySep", + "Start" + ], + "value": "(" + }, + { + "pos": 541, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'papermc-git'" + }, + { + "pos": 554, + "type": [ + "ArraySep", + "End" + ], + "value": ")" + }, + { + "pos": 555, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 556, + "type": [ + "Name", + "Variable" + ], + "value": "backup" + }, + { + "pos": 562, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 563, + "type": [ + "ArraySep", + "Start" + ], + "value": "(" + }, + { + "pos": 564, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'etc/conf.d/papermc'" + }, + { + "pos": 584, + "type": [ + "ArraySep", + "End" + ], + "value": ")" + }, + { + "pos": 585, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 586, + "type": [ + "Name", + "Variable" + ], + "value": "install" + }, + { + "pos": 593, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 594, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${pkgname}.install\"" + }, + { + "pos": 614, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 615, + "type": [ + "Name", + "Variable" + ], + "value": "source" + }, + { + "pos": 621, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 622, + "type": [ + "ArraySep", + "Start" + ], + "value": "(" + }, + { + "pos": 623, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"papermc.${pkgver}.jar\"" + }, + { + "pos": 646, + "type": [ + "Text" + ], + "value": "::\"https://papermc.io/api/v1/paper/${_pkgver}/${_build}/download\"" + }, + { + "pos": 711, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 712, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 713, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"papermc-backup.service\"" + }, + { + "pos": 737, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 738, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 739, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"papermc-backup.timer\"" + }, + { + "pos": 761, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 762, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 763, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"papermc.service\"" + }, + { + "pos": 780, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 781, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 782, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"papermc.conf\"" + }, + { + "pos": 796, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 797, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 798, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"papermc.sh\"" + }, + { + "pos": 810, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 811, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 812, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"papermc.tmpfiles\"" + }, + { + "pos": 830, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 831, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 832, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"papermc.sysusers\"" + }, + { + "pos": 850, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 851, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 852, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"LICENSE_${pkgver}.md\"" + }, + { + "pos": 874, + "type": [ + "Text" + ], + "value": "::\"https://raw.githubusercontent.com/PaperMC/Paper/${_license_commit}/LICENSE.md\")" + }, + { + "pos": 956, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 957, + "type": [ + "Name", + "Variable" + ], + "value": "noextract" + }, + { + "pos": 966, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 967, + "type": [ + "ArraySep", + "Start" + ], + "value": "(" + }, + { + "pos": 968, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"papermc.${pkgver}.jar\"" + }, + { + "pos": 991, + "type": [ + "ArraySep", + "End" + ], + "value": ")" + }, + { + "pos": 992, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 993, + "type": [ + "Name", + "Variable" + ], + "value": "sha512sums" + }, + { + "pos": 1003, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 1004, + "type": [ + "ArraySep", + "Start" + ], + "value": "(" + }, + { + "pos": 1005, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'34366f0d5e116c011e2ff2dba884b3c5dda6444e0fb28115bc5e12ee839551a77ade8bc174939ecb8f818fc0eca65aa478d87f0b9082b894efbd587909dbfbb8'" + }, + { + "pos": 1135, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1136, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1148, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'a4fcc9f28436c0163e9414f2793fcbd4f6ea74772230cdff4a628246eae2a8008688b3dfb94d433f8f0887cd7eea3fe43ce25f9d5812d46e62179ff315b62895'" + }, + { + "pos": 1278, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1279, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1291, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'51c5345155e8640d4f1eaef0c8cfb890ae46063f2d4e7a0fe181ad4c8ff7b96fea88b0f9fc74031d589dfd61602f37b440f183ca1859835930fe69d37508cd42'" + }, + { + "pos": 1421, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1422, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1434, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'f29c4044d9e3cc5ab137c21f7e62399b36d7e1f777d5558a39f7b4a01de75bdf2de0b8678e424accc03934ca7db9ebb6a22c78c8c4497759287dd55e1c3eb456'" + }, + { + "pos": 1564, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1565, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1577, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'fe268d7380f881229100700b1d4f4897904a630aa65b0b06bba08be5d5918f208d497e01fc5306deecd5d93a78cfdb7e9c7f1c3b910b3a414ce9af186a05224d'" + }, + { + "pos": 1707, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1708, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1720, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'bb0633de2da12b0f9e8c9ba29ef61c91785e9e6fb65f7712d60cf99d2045a38321073b78d7a7e1b34078e5627acbe42e8f3ad7164bbf6eef27dbbb3c5d41d748'" + }, + { + "pos": 1850, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1851, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1863, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'c40cba5dfbf5af5d206cd42fa2b43f2321b481f83ab79c9ce4eaa76f204abab48ff2d8b8526a1a3d82636be97f18596d4343b0efc72a7082642e4af8d1b561c5'" + }, + { + "pos": 1993, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1994, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2006, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'115fe7213d7edd0e3159607a31b28edb6e6b3bd1d454d516973e38c8cf0b803275c2c4e59b29e2260561270d931c71bad134046535e5add309e0a8d055cde0ff'" + }, + { + "pos": 2136, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2137, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2149, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'8621db1c6355b4467081ae1860a78a910c1ab3e50c8b1d71a70d701cca46131933c5d8d1352d42e0d79f75bd40e73e4fc825b9fb5be80326ef65c115244aa9df'" + }, + { + "pos": 2279, + "type": [ + "ArraySep", + "End" + ], + "value": ")" + }, + { + "pos": 2280, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 2282, + "type": [ + "Name", + "Variable" + ], + "value": "_game" + }, + { + "pos": 2287, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 2288, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"papermc\"" + }, + { + "pos": 2297, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2298, + "type": [ + "Name", + "Variable" + ], + "value": "_server_root" + }, + { + "pos": 2310, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 2311, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"/srv/papermc\"" + }, + { + "pos": 2325, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 2327, + "type": [ + "Text" + ], + "value": "package()" + }, + { + "pos": 2336, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2337, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 2338, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2339, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 2340, + "type": [ + "Text" + ], + "value": "install" + }, + { + "pos": 2347, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2348, + "type": [ + "Text" + ], + "value": "-Dm644" + }, + { + "pos": 2354, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2355, + "type": [ + "Text" + ], + "value": "${_game}.conf" + }, + { + "pos": 2368, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2382, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${pkgdir}/etc/conf.d/${_game}\"" + }, + { + "pos": 2413, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2414, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 2415, + "type": [ + "Text" + ], + "value": "install" + }, + { + "pos": 2422, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2423, + "type": [ + "Text" + ], + "value": "-Dm755" + }, + { + "pos": 2429, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2430, + "type": [ + "Text" + ], + "value": "${_game}.sh" + }, + { + "pos": 2441, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2457, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${pkgdir}/usr/bin/${_game}\"" + }, + { + "pos": 2485, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2486, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 2487, + "type": [ + "Text" + ], + "value": "install" + }, + { + "pos": 2494, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2495, + "type": [ + "Text" + ], + "value": "-Dm644" + }, + { + "pos": 2501, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2502, + "type": [ + "Text" + ], + "value": "${_game}.service" + }, + { + "pos": 2518, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2529, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${pkgdir}/usr/lib/systemd/system/${_game}.service\"" + }, + { + "pos": 2580, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2581, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 2582, + "type": [ + "Text" + ], + "value": "install" + }, + { + "pos": 2589, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2590, + "type": [ + "Text" + ], + "value": "-Dm644" + }, + { + "pos": 2596, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2597, + "type": [ + "Text" + ], + "value": "${_game}-backup.service" + }, + { + "pos": 2620, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2624, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${pkgdir}/usr/lib/systemd/system/${_game}-backup.service\"" + }, + { + "pos": 2682, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2683, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 2684, + "type": [ + "Text" + ], + "value": "install" + }, + { + "pos": 2691, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2692, + "type": [ + "Text" + ], + "value": "-Dm644" + }, + { + "pos": 2698, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2699, + "type": [ + "Text" + ], + "value": "${_game}-backup.timer" + }, + { + "pos": 2720, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2726, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${pkgdir}/usr/lib/systemd/system/${_game}-backup.timer\"" + }, + { + "pos": 2782, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2783, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 2784, + "type": [ + "Text" + ], + "value": "install" + }, + { + "pos": 2791, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2792, + "type": [ + "Text" + ], + "value": "-Dm644" + }, + { + "pos": 2798, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2799, + "type": [ + "Text" + ], + "value": "${_game}.sysusers" + }, + { + "pos": 2816, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2826, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${pkgdir}/usr/lib/sysusers.d/${_game}.conf\"" + }, + { + "pos": 2870, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2871, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 2872, + "type": [ + "Text" + ], + "value": "install" + }, + { + "pos": 2879, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2880, + "type": [ + "Text" + ], + "value": "-Dm644" + }, + { + "pos": 2886, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2887, + "type": [ + "Text" + ], + "value": "${_game}.tmpfiles" + }, + { + "pos": 2904, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2914, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${pkgdir}/usr/lib/tmpfiles.d/${_game}.conf\"" + }, + { + "pos": 2958, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2959, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 2960, + "type": [ + "Text" + ], + "value": "install" + }, + { + "pos": 2967, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2968, + "type": [ + "Text" + ], + "value": "-Dm644" + }, + { + "pos": 2974, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2975, + "type": [ + "Text" + ], + "value": "${_game}.${pkgver}.jar" + }, + { + "pos": 2997, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3002, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${pkgdir}/${_server_root}/${_game}.${pkgver}.jar\"" + }, + { + "pos": 3052, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3053, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3054, + "type": [ + "Text" + ], + "value": "ln" + }, + { + "pos": 3056, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3057, + "type": [ + "Text" + ], + "value": "-s" + }, + { + "pos": 3059, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3060, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${_game}.${pkgver}.jar\"" + }, + { + "pos": 3084, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3085, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${pkgdir}${_server_root}/${_game}_server.jar\"" + }, + { + "pos": 3131, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 3133, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3134, + "type": [ + "Comment" + ], + "value": "# Link the log files" + }, + { + "pos": 3154, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3155, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3156, + "type": [ + "Text" + ], + "value": "mkdir" + }, + { + "pos": 3161, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3162, + "type": [ + "Text" + ], + "value": "-p" + }, + { + "pos": 3164, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3165, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${pkgdir}/var/log/\"" + }, + { + "pos": 3185, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3186, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3187, + "type": [ + "Text" + ], + "value": "install" + }, + { + "pos": 3194, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3195, + "type": [ + "Text" + ], + "value": "-dm2755" + }, + { + "pos": 3202, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3203, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${pkgdir}/${_server_root}/logs\"" + }, + { + "pos": 3235, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3236, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3237, + "type": [ + "Text" + ], + "value": "ln" + }, + { + "pos": 3239, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3240, + "type": [ + "Text" + ], + "value": "-s" + }, + { + "pos": 3242, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3243, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${_server_root}/logs\"" + }, + { + "pos": 3265, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3266, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${pkgdir}/var/log/${_game}\"" + }, + { + "pos": 3294, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 3296, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3297, + "type": [ + "Comment" + ], + "value": "# Give the group write permissions and set user or group ID on execution" + }, + { + "pos": 3369, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3370, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3371, + "type": [ + "Text" + ], + "value": "chmod" + }, + { + "pos": 3376, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3377, + "type": [ + "Text" + ], + "value": "g+ws" + }, + { + "pos": 3381, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3382, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${pkgdir}${_server_root}\"" + }, + { + "pos": 3408, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 3410, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3411, + "type": [ + "Text" + ], + "value": "install" + }, + { + "pos": 3418, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3419, + "type": [ + "Text" + ], + "value": "-D" + }, + { + "pos": 3421, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3422, + "type": [ + "Text" + ], + "value": "./LICENSE_${pkgver}.md" + }, + { + "pos": 3444, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3445, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE\"" + }, + { + "pos": 3494, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3495, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 3496, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + } +] \ No newline at end of file diff --git a/tests/packagedcode/data/bashlex/bsd-simplified.LICENSE b/tests/packagedcode/data/bashlex/bsd-simplified.LICENSE new file mode 100644 index 00000000000..57326dd0fd0 --- /dev/null +++ b/tests/packagedcode/data/bashlex/bsd-simplified.LICENSE @@ -0,0 +1,9 @@ +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/tests/packagedcode/data/bashlex/example.sh b/tests/packagedcode/data/bashlex/example.sh new file mode 100644 index 00000000000..2112cdd10db --- /dev/null +++ b/tests/packagedcode/data/bashlex/example.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +printf "%d %s\n" 10 "foo" +printf "%d %s\n" $((10#1)) "bar" + +let "m = 10#${1:1:2}" +echo $m + +m=$((10#${1:4:3} + 10#${1:1:3})) +echo $m + +m=$((10#${1:4:3})) +echo $m + +m=$((10#$1)) +echo $m + +m=$((10#1)) +echo $m + +m=$((10)) +echo $m diff --git a/tests/packagedcode/data/bashlex/example.sh-expected.json b/tests/packagedcode/data/bashlex/example.sh-expected.json new file mode 100644 index 00000000000..7bc60366c0a --- /dev/null +++ b/tests/packagedcode/data/bashlex/example.sh-expected.json @@ -0,0 +1,557 @@ +[ + { + "pos": 0, + "type": [ + "Comment" + ], + "value": "#!/bin/bash" + }, + { + "pos": 11, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 13, + "type": [ + "Text" + ], + "value": "printf" + }, + { + "pos": 19, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"%d %s\\n\"" + }, + { + "pos": 29, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30, + "type": [ + "Text" + ], + "value": "10" + }, + { + "pos": 32, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"foo\"" + }, + { + "pos": 38, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39, + "type": [ + "Text" + ], + "value": "printf" + }, + { + "pos": 45, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"%d %s\\n\"" + }, + { + "pos": 55, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56, + "type": [ + "Text" + ], + "value": "$((10#1))" + }, + { + "pos": 65, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"bar\"" + }, + { + "pos": 71, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 73, + "type": [ + "Text" + ], + "value": "let" + }, + { + "pos": 76, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"m = 10#${1:1:2}\"" + }, + { + "pos": 94, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 95, + "type": [ + "Text" + ], + "value": "echo" + }, + { + "pos": 99, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 100, + "type": [ + "Text" + ], + "value": "$m" + }, + { + "pos": 102, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 104, + "type": [ + "Name", + "Variable" + ], + "value": "m" + }, + { + "pos": 105, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 106, + "type": [ + "Text" + ], + "value": "$((10#${1:4:3}" + }, + { + "pos": 120, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 121, + "type": [ + "Text" + ], + "value": "+" + }, + { + "pos": 122, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 123, + "type": [ + "Text" + ], + "value": "10#${1:1:3}))" + }, + { + "pos": 136, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 137, + "type": [ + "Text" + ], + "value": "echo" + }, + { + "pos": 141, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 142, + "type": [ + "Text" + ], + "value": "$m" + }, + { + "pos": 144, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 146, + "type": [ + "Name", + "Variable" + ], + "value": "m" + }, + { + "pos": 147, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 148, + "type": [ + "Text" + ], + "value": "$((10#${1:4:3}))" + }, + { + "pos": 164, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 165, + "type": [ + "Text" + ], + "value": "echo" + }, + { + "pos": 169, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 170, + "type": [ + "Text" + ], + "value": "$m" + }, + { + "pos": 172, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 174, + "type": [ + "Name", + "Variable" + ], + "value": "m" + }, + { + "pos": 175, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 176, + "type": [ + "Text" + ], + "value": "$((10#$1))" + }, + { + "pos": 186, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 187, + "type": [ + "Text" + ], + "value": "echo" + }, + { + "pos": 191, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 192, + "type": [ + "Text" + ], + "value": "$m" + }, + { + "pos": 194, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 196, + "type": [ + "Name", + "Variable" + ], + "value": "m" + }, + { + "pos": 197, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 198, + "type": [ + "Text" + ], + "value": "$((10#1))" + }, + { + "pos": 207, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 208, + "type": [ + "Text" + ], + "value": "echo" + }, + { + "pos": 212, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 213, + "type": [ + "Text" + ], + "value": "$m" + }, + { + "pos": 215, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 217, + "type": [ + "Name", + "Variable" + ], + "value": "m" + }, + { + "pos": 218, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 219, + "type": [ + "Text" + ], + "value": "$((10))" + }, + { + "pos": 226, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 227, + "type": [ + "Text" + ], + "value": "echo" + }, + { + "pos": 231, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 232, + "type": [ + "Text" + ], + "value": "$m" + }, + { + "pos": 234, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + } +] \ No newline at end of file diff --git a/tests/packagedcode/data/bashlex/linux-firmware-APKBUILD b/tests/packagedcode/data/bashlex/linux-firmware-APKBUILD new file mode 100644 index 00000000000..d95740f54d8 --- /dev/null +++ b/tests/packagedcode/data/bashlex/linux-firmware-APKBUILD @@ -0,0 +1,136 @@ +# Contributor: Oliver Smith +# Maintainer: Natanael Copa +pkgname=linux-firmware +pkgver=20210511 +pkgrel=0 +pkgdesc="firmware files for linux" +url="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git;a=summary" +arch="all" +license="custom:multiple" +makedepends="libarchive-tools" +provides="linux-firmware-any" +provider_priority=1 +options="!strip !check !archcheck !tracedeps !spdx" + +_rpi_bt=e7fd166981ab4bb9a36c2d1500205a078a35714d + +source="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-$pkgver.tar.gz + BCM43430A1.hcd.${_rpi_bt::8}::https://github.com/RPi-Distro/bluez-firmware/raw/$_rpi_bt/broadcom/BCM43430A1.hcd + BCM4345C0.hcd.${_rpi_bt::8}::https://github.com/RPi-Distro/bluez-firmware/raw/$_rpi_bt/broadcom/BCM4345C0.hcd + BCM43430B0.hcd.${_rpi_bt::8}::https://github.com/RPi-Distro/bluez-firmware/raw/$_rpi_bt/broadcom/BCM43430B0.hcd + BCM4345C5.hcd.${_rpi_bt::8}::https://github.com/RPi-Distro/bluez-firmware/raw/$_rpi_bt/broadcom/BCM4345C5.hcd" + +_builddir="$srcdir"/$pkgname-$pkgver + +# Put /lib/firmware/* folders in subpackages +_folders="3com acenic adaptec advansys amd amd-ucode amdgpu ar3k ath10k ath11k + ath6k ath9k_htc atmel atusb av7110 bnx2 bnx2x brcm cadence cavium cis cpia2 + cxgb3 cxgb4 cypress dabusb dpaa2 dsp56k e100 edgeport emi26 emi62 ene-ub6250 + ess go7007 i915 imx inside-secure intel isci kaweth keyspan keyspan_pda korg + libertas liquidio matrox mediatek mellanox meson microchip moxa mrvl mwl8k + mwlwifi myricom netronome nvidia ositech qca qcom qed qlogic r128 radeon + rockchip rsi rtl8192e rtl_bt rtl_nic rtlwifi rtw88 rtw89 sb16 silabs slicoss + sun sxg tehuti ti ti-connectivity ti-keystone tigon ttusb-budget ueagle-atm + vicam vxge yam yamaha" + +subpackages="$pkgname-other::noarch $pkgname-none::noarch" +depends="linux-firmware-other=$pkgver-r$pkgrel" +for i in $_folders; do + subpackages="$pkgname-$i:_folder:noarch $subpackages" + depends="$pkgname-$i=$pkgver-r$pkgrel $depends" +done +subpackages="amd-ucode::noarch $subpackages" + +package() { + cd "${_builddir}" + make DESTDIR="${pkgdir}" FIRMWAREDIR="/lib/firmware" install + + # add compat links for pre-5.0 kernel + ln -s brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt "$pkgdir"/lib/firmware/brcm/brcmfmac43455-sdio.txt + ln -s brcmfmac43430-sdio.raspberrypi,3-model-b.txt "$pkgdir"/lib/firmware/brcm/brcmfmac43430-sdio.txt + + local fw; for fw in $source; do + local _f=${fw%::*} + case $_f in + *.hcd*) + install -Dm 644 $srcdir/$_f \ + "$pkgdir"/lib/firmware/brcm/"${_f%.*}" + ;; + esac + done + + rm -f "${pkgdir}/usr/lib/firmware/{Makefile,README,configure,GPL-3}" + + find "${pkgdir}" \( -name '*.S' -or -name '*.asm' -or \ + -name '*.c' -or -name '*.h' -or -name '*.pl' -or \ + -name 'Makefile' \) -exec rm -- {} \; +} + +_folder() { + local folder=${subpkgname##linux-firmware-} + pkgdesc="firmware files for linux ($folder folder)" + depends="" + provides="linux-firmware-any" + provider_priority= + + # Move /lib/firmware/$folder (case insensitive) + mkdir -p "$subpkgdir/lib/firmware" + mv "$(find "$pkgdir/lib/firmware" -iname "$folder" -type d)" \ + "$subpkgdir/lib/firmware" +} + +other() { + # Requires subfolders to be split in subpackages + local leftover="" + local i + for i in "$pkgdir"/lib/firmware/*; do + [ -d "$i" ] && leftover="$leftover $(basename $i)" + done + if [ "$leftover" != "" ]; then + local fixed + error "Not all subfolders have been moved to subpackages!" + error "Fix this by adjusting _folders as follows:" + fixed="$(echo $_folders$leftover | tr " " "\n" | tr '[A-Z]' '[a-z]' | sort)" + echo "_folders=\"$(printf "$fixed" | tr "\n" " ")\"" | fold -s + return 1 + fi + + # Move /lib/firmware (which doesn't have subfolders now) + pkgdesc="firmware files for linux (uncategorized)" + depends="" + provides="linux-firmware-any" + provider_priority= + mkdir -p "$subpkgdir"/ + mv "$pkgdir"/lib "$subpkgdir"/ +} + +none() { + # dummy package with no firmware + pkgdesc="Empty linux firwmare package for those who does not need any firmware" + provider_priority= + provides="linux-firmware-any" + depends= + mkdir -p "$subpkgdir" +} + +ucode() { + pkgdesc="Microcode update files for AMD CPUs" + provider_priority= + provides= + depends= + + # build ported from Arch Linux's PKGBUILD + mkdir -p "$subpkgdir"/boot + mkdir -p "$builddir"/kernel/x86/microcode + cat "$pkgdir"/lib/firmware/amd-ucode/microcode_amd*.bin > "$builddir"/kernel/x86/microcode/AuthenticAMD.bin + [ -n "$SOURCE_DATE_EPOCH" ] && touch -d @$SOURCE_DATE_EPOCH "$builddir"/kernel/x86/microcode/AuthenticAMD.bin + cd "$builddir" && echo kernel/x86/microcode/AuthenticAMD.bin | + bsdtar --uid 0 --gid 0 -cnf - -T - | + bsdtar --null -cf - --format=newc @- > "$subpkgdir"/boot/amd-ucode.img +} + +sha512sums="f282bdcd0e62f446a3c859876319ae2fb4b2e129022a4b2b1ced45f38c8b192ccb07a4480ff4d41ed8fc13c0a38bf0c0d5a5d98515a1750d655db5d919c6af8c linux-firmware-20210511.tar.gz +355c940b4fd597101c332207678fd28154d7e7a90cb374b1fdf230d2061bf979af0209c5a423fca8d23ddb3d95abec741e7dd651da7f0aaa97459ed4fe4d2355 BCM43430A1.hcd.e7fd1669 +1707c2955ceac3e6fc4b1edb8965c871dcfab21ce85cc617de67d7e6f3d6f9b93ee5a8a202de6b20f7b43d1462668287a8569786146cadf5e0268058d2524a9c BCM4345C0.hcd.e7fd1669 +c8b943bfeffa54ce1687ca69884e9d56efd28d5ea1dbef660915a80c3e036a8675e7d4299102c32006193e4895367654bb67e2d08e66d7803f396eee7e3dfbd6 BCM43430B0.hcd.e7fd1669 +eac7428befa36952542e19d3c4a5fa96e1cb3a56c3b00770534909fb0d8caf503a42368175e715e1de58e50cfbd2b4c8ea5a26af3bd546cbbaf8d2c12457a628 BCM4345C5.hcd.e7fd1669" diff --git a/tests/packagedcode/data/bashlex/linux-firmware-APKBUILD-expected.json b/tests/packagedcode/data/bashlex/linux-firmware-APKBUILD-expected.json new file mode 100644 index 00000000000..0eca14980bd --- /dev/null +++ b/tests/packagedcode/data/bashlex/linux-firmware-APKBUILD-expected.json @@ -0,0 +1,5420 @@ +[ + { + "pos": 0, + "type": [ + "Comment" + ], + "value": "# Contributor: Oliver Smith " + }, + { + "pos": 60, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61, + "type": [ + "Comment" + ], + "value": "# Maintainer: Natanael Copa " + }, + { + "pos": 112, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 113, + "type": [ + "Name", + "Variable" + ], + "value": "pkgname" + }, + { + "pos": 120, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 121, + "type": [ + "Text" + ], + "value": "linux-firmware" + }, + { + "pos": 135, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 136, + "type": [ + "Name", + "Variable" + ], + "value": "pkgver" + }, + { + "pos": 142, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 143, + "type": [ + "Text" + ], + "value": "20210511" + }, + { + "pos": 151, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 152, + "type": [ + "Name", + "Variable" + ], + "value": "pkgrel" + }, + { + "pos": 158, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 159, + "type": [ + "Text" + ], + "value": "0" + }, + { + "pos": 160, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 161, + "type": [ + "Name", + "Variable" + ], + "value": "pkgdesc" + }, + { + "pos": 168, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 169, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"firmware files for linux\"" + }, + { + "pos": 195, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 196, + "type": [ + "Name", + "Variable" + ], + "value": "url" + }, + { + "pos": 199, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 200, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git;a=summary\"" + }, + { + "pos": 282, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 283, + "type": [ + "Name", + "Variable" + ], + "value": "arch" + }, + { + "pos": 287, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 288, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"all\"" + }, + { + "pos": 293, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 294, + "type": [ + "Name", + "Variable" + ], + "value": "license" + }, + { + "pos": 301, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 302, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"custom:multiple\"" + }, + { + "pos": 319, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 320, + "type": [ + "Name", + "Variable" + ], + "value": "makedepends" + }, + { + "pos": 331, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 332, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"libarchive-tools\"" + }, + { + "pos": 350, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 351, + "type": [ + "Name", + "Variable" + ], + "value": "provides" + }, + { + "pos": 359, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 360, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"linux-firmware-any\"" + }, + { + "pos": 380, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 381, + "type": [ + "Name", + "Variable" + ], + "value": "provider_priority" + }, + { + "pos": 398, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 399, + "type": [ + "Text" + ], + "value": "1" + }, + { + "pos": 400, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 401, + "type": [ + "Name", + "Variable" + ], + "value": "options" + }, + { + "pos": 408, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 409, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"!strip !check !archcheck !tracedeps !spdx\"" + }, + { + "pos": 452, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 454, + "type": [ + "Name", + "Variable" + ], + "value": "_rpi_bt" + }, + { + "pos": 461, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 462, + "type": [ + "Text" + ], + "value": "e7fd166981ab4bb9a36c2d1500205a078a35714d" + }, + { + "pos": 502, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 504, + "type": [ + "Name", + "Variable" + ], + "value": "source" + }, + { + "pos": 510, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 511, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-$pkgver.tar.gz\n\tBCM43430A1.hcd.${_rpi_bt::8}::https://github.com/RPi-Distro/bluez-firmware/raw/$_rpi_bt/broadcom/BCM43430A1.hcd\n\tBCM4345C0.hcd.${_rpi_bt::8}::https://github.com/RPi-Distro/bluez-firmware/raw/$_rpi_bt/broadcom/BCM4345C0.hcd\n\tBCM43430B0.hcd.${_rpi_bt::8}::https://github.com/RPi-Distro/bluez-firmware/raw/$_rpi_bt/broadcom/BCM43430B0.hcd\n\tBCM4345C5.hcd.${_rpi_bt::8}::https://github.com/RPi-Distro/bluez-firmware/raw/$_rpi_bt/broadcom/BCM4345C5.hcd\"" + }, + { + "pos": 1075, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 1077, + "type": [ + "Name", + "Variable" + ], + "value": "_builddir" + }, + { + "pos": 1086, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 1087, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$srcdir\"" + }, + { + "pos": 1096, + "type": [ + "Text" + ], + "value": "/$pkgname-$pkgver" + }, + { + "pos": 1113, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 1115, + "type": [ + "Comment" + ], + "value": "# Put /lib/firmware/* folders in subpackages" + }, + { + "pos": 1159, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1160, + "type": [ + "Name", + "Variable" + ], + "value": "_folders" + }, + { + "pos": 1168, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 1169, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"3com acenic adaptec advansys amd amd-ucode amdgpu ar3k ath10k ath11k\n\tath6k ath9k_htc atmel atusb av7110 bnx2 bnx2x brcm cadence cavium cis cpia2\n\tcxgb3 cxgb4 cypress dabusb dpaa2 dsp56k e100 edgeport emi26 emi62 ene-ub6250\n\tess go7007 i915 imx inside-secure intel isci kaweth keyspan keyspan_pda korg\n\tlibertas liquidio matrox mediatek mellanox meson microchip moxa mrvl mwl8k\n\tmwlwifi myricom netronome nvidia ositech qca qcom qed qlogic r128 radeon\n\trockchip rsi rtl8192e rtl_bt rtl_nic rtlwifi rtw88 rtw89 sb16 silabs slicoss\n\tsun sxg tehuti ti ti-connectivity ti-keystone tigon ttusb-budget ueagle-atm\n\tvicam vxge yam yamaha\"" + }, + { + "pos": 1800, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 1802, + "type": [ + "Name", + "Variable" + ], + "value": "subpackages" + }, + { + "pos": 1813, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 1814, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgname-other::noarch $pkgname-none::noarch\"" + }, + { + "pos": 1860, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1861, + "type": [ + "Name", + "Variable" + ], + "value": "depends" + }, + { + "pos": 1868, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 1869, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"linux-firmware-other=$pkgver-r$pkgrel\"" + }, + { + "pos": 1908, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1909, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 1912, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1913, + "type": [ + "Text" + ], + "value": "i" + }, + { + "pos": 1914, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1915, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 1917, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1918, + "type": [ + "Text" + ], + "value": "$_folders;" + }, + { + "pos": 1928, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1929, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 1931, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1932, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 1933, + "type": [ + "Text" + ], + "value": "subpackages=\"$pkgname-$i:_folder:noarch" + }, + { + "pos": 1972, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1973, + "type": [ + "Text" + ], + "value": "$subpackages\"" + }, + { + "pos": 1986, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1987, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 1988, + "type": [ + "Text" + ], + "value": "depends=\"$pkgname-$i=$pkgver-r$pkgrel" + }, + { + "pos": 2025, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2026, + "type": [ + "Text" + ], + "value": "$depends\"" + }, + { + "pos": 2035, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2036, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 2040, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2041, + "type": [ + "Name", + "Variable" + ], + "value": "subpackages" + }, + { + "pos": 2052, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 2053, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"amd-ucode::noarch $subpackages\"" + }, + { + "pos": 2085, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 2087, + "type": [ + "Text" + ], + "value": "package()" + }, + { + "pos": 2096, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2097, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 2098, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2099, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 2100, + "type": [ + "Text" + ], + "value": "cd" + }, + { + "pos": 2102, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2103, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${_builddir}\"" + }, + { + "pos": 2117, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2118, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 2119, + "type": [ + "Text" + ], + "value": "make" + }, + { + "pos": 2123, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2124, + "type": [ + "Text" + ], + "value": "DESTDIR=\"${pkgdir}\"" + }, + { + "pos": 2143, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2144, + "type": [ + "Text" + ], + "value": "FIRMWAREDIR=\"/lib/firmware\"" + }, + { + "pos": 2171, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2172, + "type": [ + "Text" + ], + "value": "install" + }, + { + "pos": 2179, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 2181, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 2182, + "type": [ + "Comment" + ], + "value": "# add compat links for pre-5.0 kernel" + }, + { + "pos": 2219, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2220, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 2221, + "type": [ + "Text" + ], + "value": "ln" + }, + { + "pos": 2223, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2224, + "type": [ + "Text" + ], + "value": "-s" + }, + { + "pos": 2226, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2227, + "type": [ + "Text" + ], + "value": "brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt" + }, + { + "pos": 2276, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2277, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 2286, + "type": [ + "Text" + ], + "value": "/lib/firmware/brcm/brcmfmac43455-sdio.txt" + }, + { + "pos": 2327, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2328, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 2329, + "type": [ + "Text" + ], + "value": "ln" + }, + { + "pos": 2331, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2332, + "type": [ + "Text" + ], + "value": "-s" + }, + { + "pos": 2334, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2335, + "type": [ + "Text" + ], + "value": "brcmfmac43430-sdio.raspberrypi,3-model-b.txt" + }, + { + "pos": 2379, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2385, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 2394, + "type": [ + "Text" + ], + "value": "/lib/firmware/brcm/brcmfmac43430-sdio.txt" + }, + { + "pos": 2435, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 2437, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 2438, + "type": [ + "Text" + ], + "value": "local" + }, + { + "pos": 2443, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2444, + "type": [ + "Text" + ], + "value": "fw;" + }, + { + "pos": 2447, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2448, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 2451, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2452, + "type": [ + "Text" + ], + "value": "fw" + }, + { + "pos": 2454, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2455, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 2457, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2458, + "type": [ + "Text" + ], + "value": "$source;" + }, + { + "pos": 2466, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2467, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 2469, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2470, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 2472, + "type": [ + "Text" + ], + "value": "local" + }, + { + "pos": 2477, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2478, + "type": [ + "Text" + ], + "value": "_f=${fw%::*}" + }, + { + "pos": 2490, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2491, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 2493, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 2497, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2498, + "type": [ + "Text" + ], + "value": "$_f" + }, + { + "pos": 2501, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2502, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 2504, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2505, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 2507, + "type": [ + "Text" + ], + "value": "*.hcd*)" + }, + { + "pos": 2514, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2515, + "type": [ + "Text", + "WS" + ], + "value": "\t\t\t" + }, + { + "pos": 2518, + "type": [ + "Text" + ], + "value": "install" + }, + { + "pos": 2525, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2526, + "type": [ + "Text" + ], + "value": "-Dm" + }, + { + "pos": 2529, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2530, + "type": [ + "Text" + ], + "value": "644" + }, + { + "pos": 2533, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2534, + "type": [ + "Text" + ], + "value": "$srcdir/$_f" + }, + { + "pos": 2545, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2546, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 2547, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2548, + "type": [ + "Text", + "WS" + ], + "value": "\t\t\t\t" + }, + { + "pos": 2552, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 2561, + "type": [ + "Text" + ], + "value": "/lib/firmware/brcm/\"${_f%.*}\"" + }, + { + "pos": 2590, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2591, + "type": [ + "Text", + "WS" + ], + "value": "\t\t\t" + }, + { + "pos": 2594, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 2596, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2597, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 2599, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 2603, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2604, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 2605, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 2609, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 2611, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 2612, + "type": [ + "Text" + ], + "value": "rm" + }, + { + "pos": 2614, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2615, + "type": [ + "Text" + ], + "value": "-f" + }, + { + "pos": 2617, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2618, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${pkgdir}/usr/lib/firmware/{Makefile,README,configure,GPL-3}\"" + }, + { + "pos": 2680, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 2682, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 2683, + "type": [ + "Text" + ], + "value": "find" + }, + { + "pos": 2687, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2688, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${pkgdir}\"" + }, + { + "pos": 2699, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2700, + "type": [ + "Text" + ], + "value": "\\(" + }, + { + "pos": 2702, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2703, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 2708, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2709, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'*.S'" + }, + { + "pos": 2714, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2715, + "type": [ + "Text" + ], + "value": "-or" + }, + { + "pos": 2718, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2719, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 2724, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2725, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'*.asm'" + }, + { + "pos": 2732, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2733, + "type": [ + "Text" + ], + "value": "-or" + }, + { + "pos": 2736, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2737, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 2738, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2739, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 2741, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 2746, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2747, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'*.c'" + }, + { + "pos": 2752, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2753, + "type": [ + "Text" + ], + "value": "-or" + }, + { + "pos": 2756, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2757, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 2762, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2763, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'*.h'" + }, + { + "pos": 2768, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2769, + "type": [ + "Text" + ], + "value": "-or" + }, + { + "pos": 2772, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2773, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 2778, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2779, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'*.pl'" + }, + { + "pos": 2785, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2786, + "type": [ + "Text" + ], + "value": "-or" + }, + { + "pos": 2789, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2790, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 2791, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2792, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2808, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 2813, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2814, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'Makefile'" + }, + { + "pos": 2824, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2825, + "type": [ + "Text" + ], + "value": "\\)" + }, + { + "pos": 2827, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2828, + "type": [ + "Text" + ], + "value": "-exec" + }, + { + "pos": 2833, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2834, + "type": [ + "Text" + ], + "value": "rm" + }, + { + "pos": 2836, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2837, + "type": [ + "Text" + ], + "value": "--" + }, + { + "pos": 2839, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2840, + "type": [ + "Text" + ], + "value": "{}" + }, + { + "pos": 2842, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2843, + "type": [ + "Text" + ], + "value": "\\;" + }, + { + "pos": 2845, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2846, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 2847, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 2849, + "type": [ + "Text" + ], + "value": "_folder()" + }, + { + "pos": 2858, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2859, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 2860, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2861, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 2862, + "type": [ + "Text" + ], + "value": "local" + }, + { + "pos": 2867, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2868, + "type": [ + "Text" + ], + "value": "folder=${subpkgname##linux-firmware-}" + }, + { + "pos": 2905, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2906, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 2907, + "type": [ + "Text" + ], + "value": "pkgdesc=\"firmware" + }, + { + "pos": 2924, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2925, + "type": [ + "Text" + ], + "value": "files" + }, + { + "pos": 2930, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2931, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 2934, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2935, + "type": [ + "Text" + ], + "value": "linux" + }, + { + "pos": 2940, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2941, + "type": [ + "ArraySep", + "Start" + ], + "value": "(" + }, + { + "pos": 2942, + "type": [ + "Text" + ], + "value": "$folder" + }, + { + "pos": 2949, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2950, + "type": [ + "Text" + ], + "value": "folder)\"" + }, + { + "pos": 2958, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2959, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 2960, + "type": [ + "Text" + ], + "value": "depends=\"\"" + }, + { + "pos": 2970, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2971, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 2972, + "type": [ + "Text" + ], + "value": "provides=\"linux-firmware-any\"" + }, + { + "pos": 3001, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3002, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3003, + "type": [ + "Text" + ], + "value": "provider_priority=" + }, + { + "pos": 3021, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 3023, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3024, + "type": [ + "Comment" + ], + "value": "# Move /lib/firmware/$folder (case insensitive)" + }, + { + "pos": 3071, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3072, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3073, + "type": [ + "Text" + ], + "value": "mkdir" + }, + { + "pos": 3078, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3079, + "type": [ + "Text" + ], + "value": "-p" + }, + { + "pos": 3081, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3082, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir/lib/firmware\"" + }, + { + "pos": 3107, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3108, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3109, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 3111, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3112, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$(find \"" + }, + { + "pos": 3121, + "type": [ + "Text" + ], + "value": "$pkgdir/lib/firmware\"" + }, + { + "pos": 3142, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3143, + "type": [ + "Text" + ], + "value": "-iname" + }, + { + "pos": 3149, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3150, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$folder\"" + }, + { + "pos": 3159, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3160, + "type": [ + "Text" + ], + "value": "-type" + }, + { + "pos": 3165, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3166, + "type": [ + "Text" + ], + "value": "d)\"" + }, + { + "pos": 3169, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3170, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 3171, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3172, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 3174, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir/lib/firmware\"" + }, + { + "pos": 3199, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3200, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 3201, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 3203, + "type": [ + "Text" + ], + "value": "other()" + }, + { + "pos": 3210, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3211, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 3212, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3213, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3214, + "type": [ + "Comment" + ], + "value": "# Requires subfolders to be split in subpackages" + }, + { + "pos": 3262, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3263, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3264, + "type": [ + "Text" + ], + "value": "local" + }, + { + "pos": 3269, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3270, + "type": [ + "Text" + ], + "value": "leftover=\"\"" + }, + { + "pos": 3281, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3282, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3283, + "type": [ + "Text" + ], + "value": "local" + }, + { + "pos": 3288, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3289, + "type": [ + "Text" + ], + "value": "i" + }, + { + "pos": 3290, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3291, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3292, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 3295, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3296, + "type": [ + "Text" + ], + "value": "i" + }, + { + "pos": 3297, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3298, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 3300, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3301, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 3310, + "type": [ + "Text" + ], + "value": "/lib/firmware/*;" + }, + { + "pos": 3326, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3327, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 3329, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3330, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 3332, + "type": [ + "Text" + ], + "value": "[" + }, + { + "pos": 3333, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3334, + "type": [ + "Text" + ], + "value": "-d" + }, + { + "pos": 3336, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3337, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$i\"" + }, + { + "pos": 3341, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3342, + "type": [ + "Text" + ], + "value": "]" + }, + { + "pos": 3343, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3344, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 3346, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3347, + "type": [ + "Text" + ], + "value": "leftover=\"$leftover" + }, + { + "pos": 3366, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3367, + "type": [ + "Text" + ], + "value": "$(basename" + }, + { + "pos": 3377, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3378, + "type": [ + "Text" + ], + "value": "$i)\"" + }, + { + "pos": 3382, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3383, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3384, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 3388, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3389, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3390, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 3392, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3393, + "type": [ + "Text" + ], + "value": "[" + }, + { + "pos": 3394, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3395, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$leftover\"" + }, + { + "pos": 3406, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3407, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 3409, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3410, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"\"" + }, + { + "pos": 3412, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3413, + "type": [ + "Text" + ], + "value": "];" + }, + { + "pos": 3415, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3416, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 3420, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3421, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 3423, + "type": [ + "Text" + ], + "value": "local" + }, + { + "pos": 3428, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3429, + "type": [ + "Text" + ], + "value": "fixed" + }, + { + "pos": 3434, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3435, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 3437, + "type": [ + "Text" + ], + "value": "error" + }, + { + "pos": 3442, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3443, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"Not all subfolders have been moved to subpackages!\"" + }, + { + "pos": 3495, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3496, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 3498, + "type": [ + "Text" + ], + "value": "error" + }, + { + "pos": 3503, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3504, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"Fix this by adjusting _folders as follows:\"" + }, + { + "pos": 3548, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3549, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 3551, + "type": [ + "Text" + ], + "value": "fixed=\"$(echo" + }, + { + "pos": 3564, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3565, + "type": [ + "Text" + ], + "value": "$_folders$leftover" + }, + { + "pos": 3583, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3584, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 3585, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3586, + "type": [ + "Text" + ], + "value": "tr" + }, + { + "pos": 3588, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3589, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" \"" + }, + { + "pos": 3592, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3593, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"\\n\"" + }, + { + "pos": 3597, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3598, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 3599, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3600, + "type": [ + "Text" + ], + "value": "tr" + }, + { + "pos": 3602, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3603, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'[A-Z]'" + }, + { + "pos": 3610, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3611, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'[a-z]'" + }, + { + "pos": 3618, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3619, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 3620, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3621, + "type": [ + "Text" + ], + "value": "sort)\"" + }, + { + "pos": 3627, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3628, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 3630, + "type": [ + "Text" + ], + "value": "echo" + }, + { + "pos": 3634, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3635, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"_folders=\\\"$(printf \"" + }, + { + "pos": 3657, + "type": [ + "Text" + ], + "value": "$fixed\"" + }, + { + "pos": 3664, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3665, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 3666, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3667, + "type": [ + "Text" + ], + "value": "tr" + }, + { + "pos": 3669, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3670, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"\\n\"" + }, + { + "pos": 3674, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3675, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" \"" + }, + { + "pos": 3678, + "type": [ + "ArraySep", + "End" + ], + "value": ")" + }, + { + "pos": 3679, + "type": [ + "Text" + ], + "value": "\\\"\"" + }, + { + "pos": 3682, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3683, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 3684, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3685, + "type": [ + "Text" + ], + "value": "fold" + }, + { + "pos": 3689, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3690, + "type": [ + "Text" + ], + "value": "-s" + }, + { + "pos": 3692, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3693, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 3695, + "type": [ + "Text" + ], + "value": "return" + }, + { + "pos": 3701, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3702, + "type": [ + "Text" + ], + "value": "1" + }, + { + "pos": 3703, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3704, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3705, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 3707, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 3709, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3710, + "type": [ + "Comment" + ], + "value": "# Move /lib/firmware (which doesn't have subfolders now)" + }, + { + "pos": 3766, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3767, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3768, + "type": [ + "Text" + ], + "value": "pkgdesc=\"firmware" + }, + { + "pos": 3785, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3786, + "type": [ + "Text" + ], + "value": "files" + }, + { + "pos": 3791, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3792, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 3795, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3796, + "type": [ + "Text" + ], + "value": "linux" + }, + { + "pos": 3801, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3802, + "type": [ + "ArraySep", + "Start" + ], + "value": "(" + }, + { + "pos": 3803, + "type": [ + "Text" + ], + "value": "uncategorized)\"" + }, + { + "pos": 3818, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3819, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3820, + "type": [ + "Text" + ], + "value": "depends=\"\"" + }, + { + "pos": 3830, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3831, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3832, + "type": [ + "Text" + ], + "value": "provides=\"linux-firmware-any\"" + }, + { + "pos": 3861, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3862, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3863, + "type": [ + "Text" + ], + "value": "provider_priority=" + }, + { + "pos": 3881, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3882, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3883, + "type": [ + "Text" + ], + "value": "mkdir" + }, + { + "pos": 3888, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3889, + "type": [ + "Text" + ], + "value": "-p" + }, + { + "pos": 3891, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3892, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 3904, + "type": [ + "Text" + ], + "value": "/" + }, + { + "pos": 3905, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3906, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3907, + "type": [ + "Text" + ], + "value": "mv" + }, + { + "pos": 3909, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3910, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 3919, + "type": [ + "Text" + ], + "value": "/lib" + }, + { + "pos": 3923, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3924, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 3936, + "type": [ + "Text" + ], + "value": "/" + }, + { + "pos": 3937, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3938, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 3939, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 3941, + "type": [ + "Text" + ], + "value": "none()" + }, + { + "pos": 3947, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 3948, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 3949, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3950, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3951, + "type": [ + "Comment" + ], + "value": "# dummy package with no firmware" + }, + { + "pos": 3983, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 3984, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 3985, + "type": [ + "Text" + ], + "value": "pkgdesc=\"Empty" + }, + { + "pos": 3999, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4000, + "type": [ + "Text" + ], + "value": "linux" + }, + { + "pos": 4005, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4006, + "type": [ + "Text" + ], + "value": "firwmare" + }, + { + "pos": 4014, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4015, + "type": [ + "Text" + ], + "value": "package" + }, + { + "pos": 4022, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4023, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 4026, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4027, + "type": [ + "Text" + ], + "value": "those" + }, + { + "pos": 4032, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4033, + "type": [ + "Text" + ], + "value": "who" + }, + { + "pos": 4036, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4037, + "type": [ + "Text" + ], + "value": "does" + }, + { + "pos": 4041, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4042, + "type": [ + "Text" + ], + "value": "not" + }, + { + "pos": 4045, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4046, + "type": [ + "Text" + ], + "value": "need" + }, + { + "pos": 4050, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4051, + "type": [ + "Text" + ], + "value": "any" + }, + { + "pos": 4054, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4055, + "type": [ + "Text" + ], + "value": "firmware\"" + }, + { + "pos": 4064, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4065, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 4066, + "type": [ + "Text" + ], + "value": "provider_priority=" + }, + { + "pos": 4084, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4085, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 4086, + "type": [ + "Text" + ], + "value": "provides=\"linux-firmware-any\"" + }, + { + "pos": 4115, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4116, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 4117, + "type": [ + "Text" + ], + "value": "depends=" + }, + { + "pos": 4125, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4126, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 4127, + "type": [ + "Text" + ], + "value": "mkdir" + }, + { + "pos": 4132, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4133, + "type": [ + "Text" + ], + "value": "-p" + }, + { + "pos": 4135, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4136, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 4148, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4149, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 4150, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 4152, + "type": [ + "Text" + ], + "value": "ucode()" + }, + { + "pos": 4159, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4160, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 4161, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4162, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 4163, + "type": [ + "Text" + ], + "value": "pkgdesc=\"Microcode" + }, + { + "pos": 4181, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4182, + "type": [ + "Text" + ], + "value": "update" + }, + { + "pos": 4188, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4189, + "type": [ + "Text" + ], + "value": "files" + }, + { + "pos": 4194, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4195, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 4198, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4199, + "type": [ + "Text" + ], + "value": "AMD" + }, + { + "pos": 4202, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4203, + "type": [ + "Text" + ], + "value": "CPUs\"" + }, + { + "pos": 4208, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4209, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 4210, + "type": [ + "Text" + ], + "value": "provider_priority=" + }, + { + "pos": 4228, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4229, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 4230, + "type": [ + "Text" + ], + "value": "provides=" + }, + { + "pos": 4239, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4240, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 4241, + "type": [ + "Text" + ], + "value": "depends=" + }, + { + "pos": 4249, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 4251, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 4252, + "type": [ + "Comment" + ], + "value": "# build ported from Arch Linux's PKGBUILD" + }, + { + "pos": 4293, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4294, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 4295, + "type": [ + "Text" + ], + "value": "mkdir" + }, + { + "pos": 4300, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4301, + "type": [ + "Text" + ], + "value": "-p" + }, + { + "pos": 4303, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4304, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 4316, + "type": [ + "Text" + ], + "value": "/boot" + }, + { + "pos": 4321, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4322, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 4323, + "type": [ + "Text" + ], + "value": "mkdir" + }, + { + "pos": 4328, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4329, + "type": [ + "Text" + ], + "value": "-p" + }, + { + "pos": 4331, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4332, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$builddir\"" + }, + { + "pos": 4343, + "type": [ + "Text" + ], + "value": "/kernel/x86/microcode" + }, + { + "pos": 4364, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4365, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 4366, + "type": [ + "Text" + ], + "value": "cat" + }, + { + "pos": 4369, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4370, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pkgdir\"" + }, + { + "pos": 4379, + "type": [ + "Text" + ], + "value": "/lib/firmware/amd-ucode/microcode_amd*.bin" + }, + { + "pos": 4421, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4422, + "type": [ + "Text" + ], + "value": ">" + }, + { + "pos": 4423, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4424, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$builddir\"" + }, + { + "pos": 4435, + "type": [ + "Text" + ], + "value": "/kernel/x86/microcode/AuthenticAMD.bin" + }, + { + "pos": 4473, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4474, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 4475, + "type": [ + "Text" + ], + "value": "[" + }, + { + "pos": 4476, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4477, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 4479, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4480, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$SOURCE_DATE_EPOCH\"" + }, + { + "pos": 4500, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4501, + "type": [ + "Text" + ], + "value": "]" + }, + { + "pos": 4502, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4503, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 4505, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4506, + "type": [ + "Text" + ], + "value": "touch" + }, + { + "pos": 4511, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4512, + "type": [ + "Text" + ], + "value": "-d" + }, + { + "pos": 4514, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4515, + "type": [ + "Text" + ], + "value": "@$SOURCE_DATE_EPOCH" + }, + { + "pos": 4534, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4535, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$builddir\"" + }, + { + "pos": 4546, + "type": [ + "Text" + ], + "value": "/kernel/x86/microcode/AuthenticAMD.bin" + }, + { + "pos": 4584, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4585, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 4586, + "type": [ + "Text" + ], + "value": "cd" + }, + { + "pos": 4588, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4589, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$builddir\"" + }, + { + "pos": 4600, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4601, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 4603, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4604, + "type": [ + "Text" + ], + "value": "echo" + }, + { + "pos": 4608, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4609, + "type": [ + "Text" + ], + "value": "kernel/x86/microcode/AuthenticAMD.bin" + }, + { + "pos": 4646, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4647, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 4648, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4649, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 4652, + "type": [ + "Text" + ], + "value": "bsdtar" + }, + { + "pos": 4658, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4659, + "type": [ + "Text" + ], + "value": "--uid" + }, + { + "pos": 4664, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4665, + "type": [ + "Text" + ], + "value": "0" + }, + { + "pos": 4666, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4667, + "type": [ + "Text" + ], + "value": "--gid" + }, + { + "pos": 4672, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4673, + "type": [ + "Text" + ], + "value": "0" + }, + { + "pos": 4674, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4675, + "type": [ + "Text" + ], + "value": "-cnf" + }, + { + "pos": 4679, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4680, + "type": [ + "Text" + ], + "value": "-" + }, + { + "pos": 4681, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4682, + "type": [ + "Text" + ], + "value": "-T" + }, + { + "pos": 4684, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4685, + "type": [ + "Text" + ], + "value": "-" + }, + { + "pos": 4686, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4687, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 4688, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4689, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 4692, + "type": [ + "Text" + ], + "value": "bsdtar" + }, + { + "pos": 4698, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4699, + "type": [ + "Text" + ], + "value": "--null" + }, + { + "pos": 4705, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4706, + "type": [ + "Text" + ], + "value": "-cf" + }, + { + "pos": 4709, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4710, + "type": [ + "Text" + ], + "value": "-" + }, + { + "pos": 4711, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4712, + "type": [ + "Text" + ], + "value": "--format=newc" + }, + { + "pos": 4725, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4726, + "type": [ + "Text" + ], + "value": "@-" + }, + { + "pos": 4728, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4729, + "type": [ + "Text" + ], + "value": ">" + }, + { + "pos": 4730, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4731, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$subpkgdir\"" + }, + { + "pos": 4743, + "type": [ + "Text" + ], + "value": "/boot/amd-ucode.img" + }, + { + "pos": 4762, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4763, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 4764, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 4766, + "type": [ + "Name", + "Variable" + ], + "value": "sha512sums" + }, + { + "pos": 4776, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 4777, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"f282bdcd0e62f446a3c859876319ae2fb4b2e129022a4b2b1ced45f38c8b192ccb07a4480ff4d41ed8fc13c0a38bf0c0d5a5d98515a1750d655db5d919c6af8c linux-firmware-20210511.tar.gz\n355c940b4fd597101c332207678fd28154d7e7a90cb374b1fdf230d2061bf979af0209c5a423fca8d23ddb3d95abec741e7dd651da7f0aaa97459ed4fe4d2355 BCM43430A1.hcd.e7fd1669\n1707c2955ceac3e6fc4b1edb8965c871dcfab21ce85cc617de67d7e6f3d6f9b93ee5a8a202de6b20f7b43d1462668287a8569786146cadf5e0268058d2524a9c BCM4345C0.hcd.e7fd1669\nc8b943bfeffa54ce1687ca69884e9d56efd28d5ea1dbef660915a80c3e036a8675e7d4299102c32006193e4895367654bb67e2d08e66d7803f396eee7e3dfbd6 BCM43430B0.hcd.e7fd1669\neac7428befa36952542e19d3c4a5fa96e1cb3a56c3b00770534909fb0d8caf503a42368175e715e1de58e50cfbd2b4c8ea5a26af3bd546cbbaf8d2c12457a628 BCM4345C5.hcd.e7fd1669\"" + }, + { + "pos": 5553, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + } +] \ No newline at end of file diff --git a/tests/packagedcode/data/bashlex/ltmain.sh b/tests/packagedcode/data/bashlex/ltmain.sh new file mode 100644 index 00000000000..5b5f845f2cd --- /dev/null +++ b/tests/packagedcode/data/bashlex/ltmain.sh @@ -0,0 +1,2849 @@ +# ltmain.sh - Provide generalized library-building support services. +# NOTE: Changing this file will not affect anything until you rerun configure. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005 +# Free Software Foundation, Inc. +# Originally by Gordon Matzigkeit , 1996 +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +basename="s,^.*/,,g" + +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh +# is ksh but when the shell is invoked as "sh" and the current value of +# the _XPG environment variable is not equal to 1 (one), the special +# positional parameter $0, within a function call, is the name of the +# function. +progpath="$0" + +# define SED for historic ltconfig's generated by Libtool 1.3 +test -z "$SED" && SED=sed + +# The name of this program: +progname=`echo "$progpath" | $SED $basename` +modename="$progname" + +# Global variables: +EXIT_SUCCESS=0 +EXIT_FAILURE=1 + +PROGRAM=ltmain.sh +PACKAGE=libtool +VERSION=1.5.22 +TIMESTAMP=" (1.1220.2.365 2005/12/18 22:14:06)" + +# See if we are running on zsh, and set the options which allow our +# commands through without removal of \ escapes. +if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi +# Same for EGREP, and just to be sure, do LTCC as well +if test "X$EGREP" = X ; then + EGREP=egrep +fi +if test "X$LTCC" = X ; then + LTCC=${CC-gcc} +fi + +# Check that we have a working $echo. +if test "X$1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift +elif test "X$1" = X--fallback-echo; then + # Avoid inline document here, it may be left over + : +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then + # Yippee, $echo works! + : +else + # Restart under the correct shell, and then maybe $echo will work. + exec $SHELL "$progpath" --no-reexec ${1+"$@"} +fi + +if test "X$1" = X--fallback-echo; then + # used as fallback echo + shift + cat <&2 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 + exit $EXIT_FAILURE +fi + +# Global variables. +mode=$default_mode +nonopt= +prev= +prevopt= +run= +show="$echo" +show_help= +execute_dlfiles= +duplicate_deps=no +preserve_args= +lo2o="s/\\.lo\$/.${objext}/" +o2lo="s/\\.${objext}\$/.lo/" + +if test -z "$max_cmd_len"; then + i=0 + testring="ABCD" + new_result= + + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while (test "X"`$SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \ + = "XX$testring") >/dev/null 2>&1 && + new_result=`expr "X$testring" : ".*" 2>&1` && + max_cmd_len="$new_result" && + test "$i" != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + testring="$testring$testring" + done + testring= + # Add a significant safety factor because C++ compilers can tack on massive + # amounts of additional arguments before passing them to the linker. + # It appears as though 1/2 is a usable value. + max_cmd_len=`expr $max_cmd_len \/ 2` +fi + +##################################### +# Shell function definitions: +# This seems to be the best place for them + +# func_mktempdir [string] +# Make a temporary directory that won't clash with other running +# libtool processes, and avoids race conditions if possible. If +# given, STRING is the basename for that directory. +func_mktempdir () +{ + my_template="${TMPDIR-/tmp}/${1-$progname}" + + if test "$run" = ":"; then + # Return a directory name, but don't create it in dry-run mode + my_tmpdir="${my_template}-$$" + else + + # If mktemp works, use that first and foremost + my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null` + + if test ! -d "$my_tmpdir"; then + # Failing that, at least try and use $RANDOM to avoid a race + my_tmpdir="${my_template}-${RANDOM-0}$$" + + save_mktempdir_umask=`umask` + umask 0077 + $mkdir "$my_tmpdir" + umask $save_mktempdir_umask + fi + + # If we're not in dry-run mode, bomb out on failure + test -d "$my_tmpdir" || { + $echo "cannot create temporary directory \`$my_tmpdir'" 1>&2 + exit $EXIT_FAILURE + } + fi + + $echo "X$my_tmpdir" | $Xsed +} + + +# func_win32_libid arg +# return the library type of file 'arg' +# +# Need a lot of goo to handle *both* DLLs and import libs +# Has to be a shell function in order to 'eat' the argument +# that is supplied when $file_magic_command is called. +func_win32_libid () +{ + win32_libid_type="unknown" + win32_fileres=`file -L $1 2>/dev/null` + case $win32_fileres in + *ar\ archive\ import\ library*) # definitely import + win32_libid_type="x86 archive import" + ;; + *ar\ archive*) # could be an import, or static + if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \ + $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then + win32_nmres=`eval $NM -f posix -A $1 | \ + $SED -n -e '1,100{/ I /{s,.*,import,;p;q;};}'` + case $win32_nmres in + import*) win32_libid_type="x86 archive import";; + *) win32_libid_type="x86 archive static";; + esac + fi + ;; + *DLL*) + win32_libid_type="x86 DLL" + ;; + *executable*) # but shell scripts are "executable" too... + case $win32_fileres in + *MS\ Windows\ PE\ Intel*) + win32_libid_type="x86 DLL" + ;; + esac + ;; + esac + $echo $win32_libid_type +} + + +# func_infer_tag arg +# Infer tagged configuration to use if any are available and +# if one wasn't chosen via the "--tag" command line option. +# Only attempt this if the compiler in the base compile +# command doesn't match the default compiler. +# arg is usually of the form 'gcc ...' +func_infer_tag () +{ + if test -n "$available_tags" && test -z "$tagname"; then + CC_quoted= + for arg in $CC; do + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + CC_quoted="$CC_quoted $arg" + done + case $@ in + # Blanks in the command may have been stripped by the calling shell, + # but not from the CC environment variable when configure was run. + " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;; + # Blanks at the start of $base_compile will cause this to fail + # if we don't check for them as well. + *) + for z in $available_tags; do + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then + # Evaluate the configuration. + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" + CC_quoted= + for arg in $CC; do + # Double-quote args containing other shell metacharacters. + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + CC_quoted="$CC_quoted $arg" + done + # user sometimes does CC=-gcc so we need to match that to 'gcc' + trimedcc=`echo ${CC} | $SED -e "s/${host}-//g"` + # and sometimes libtool has CC=-gcc but user does CC=gcc + extendcc=${host}-${CC} + # and sometimes libtool has CC=-gcc but user has CC=-gcc + # (Gentoo-specific hack because we always export $CHOST) + mungedcc=${CHOST-${host}}-${trimedcc} + case "$@ " in + "cc "* | " cc "* | "${host}-cc "* | " ${host}-cc "*|\ + "gcc "* | " gcc "* | "${host}-gcc "* | " ${host}-gcc "*) + tagname=CC + break ;; + "$trimedcc "* | " $trimedcc "* | "`$echo $trimedcc` "* | " `$echo $trimedcc` "*|\ + "$extendcc "* | " $extendcc "* | "`$echo $extendcc` "* | " `$echo $extendcc` "*|\ + "$mungedcc "* | " $mungedcc "* | "`$echo $mungedcc` "* | " `$echo $mungedcc` "*|\ + " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) + # The compiler in the base compile command matches + # the one in the tagged configuration. + # Assume this is the tagged configuration we want. + tagname=$z + break + ;; + esac + fi + done + # If $tagname still isn't set, then no tagged configuration + # was found and let the user know that the "--tag" command + # line option must be used. + if test -z "$tagname"; then + $echo "$modename: unable to infer tagged configuration" + $echo "$modename: specify a tag with \`--tag'" 1>&2 + exit $EXIT_FAILURE +# else +# $echo "$modename: using $tagname tagged configuration" + fi + ;; + esac + fi +} + + +# func_extract_an_archive dir oldlib +func_extract_an_archive () +{ + f_ex_an_ar_dir="$1"; shift + f_ex_an_ar_oldlib="$1" + + $show "(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_oldlib)" + $run eval "(cd \$f_ex_an_ar_dir && $AR x \$f_ex_an_ar_oldlib)" || exit $? + if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then + : + else + $echo "$modename: ERROR: object name conflicts: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" 1>&2 + exit $EXIT_FAILURE + fi +} + +# func_extract_archives gentop oldlib ... +func_extract_archives () +{ + my_gentop="$1"; shift + my_oldlibs=${1+"$@"} + my_oldobjs="" + my_xlib="" + my_xabs="" + my_xdir="" + my_status="" + + $show "${rm}r $my_gentop" + $run ${rm}r "$my_gentop" + $show "$mkdir $my_gentop" + $run $mkdir "$my_gentop" + my_status=$? + if test "$my_status" -ne 0 && test ! -d "$my_gentop"; then + exit $my_status + fi + + for my_xlib in $my_oldlibs; do + # Extract the objects. + case $my_xlib in + [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;; + *) my_xabs=`pwd`"/$my_xlib" ;; + esac + my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'` + my_xdir="$my_gentop/$my_xlib" + + $show "${rm}r $my_xdir" + $run ${rm}r "$my_xdir" + $show "$mkdir $my_xdir" + $run $mkdir "$my_xdir" + exit_status=$? + if test "$exit_status" -ne 0 && test ! -d "$my_xdir"; then + exit $exit_status + fi + case $host in + *-darwin*) + $show "Extracting $my_xabs" + # Do not bother doing anything if just a dry run + if test -z "$run"; then + darwin_orig_dir=`pwd` + cd $my_xdir || exit $? + darwin_archive=$my_xabs + darwin_curdir=`pwd` + darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'` + darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null` + if test -n "$darwin_arches"; then + darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'` + darwin_arch= + $show "$darwin_base_archive has multiple architectures $darwin_arches" + for darwin_arch in $darwin_arches ; do + mkdir -p "unfat-$$/${darwin_base_archive}-${darwin_arch}" + lipo -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}" + cd "unfat-$$/${darwin_base_archive}-${darwin_arch}" + func_extract_an_archive "`pwd`" "${darwin_base_archive}" + cd "$darwin_curdir" + $rm "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" + done # $darwin_arches + ## Okay now we have a bunch of thin objects, gotta fatten them up :) + darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print| xargs basename | sort -u | $NL2SP` + darwin_file= + darwin_files= + for darwin_file in $darwin_filelist; do + darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP` + lipo -create -output "$darwin_file" $darwin_files + done # $darwin_filelist + ${rm}r unfat-$$ + cd "$darwin_orig_dir" + else + cd "$darwin_orig_dir" + func_extract_an_archive "$my_xdir" "$my_xabs" + fi # $darwin_arches + fi # $run + ;; + *) + func_extract_an_archive "$my_xdir" "$my_xabs" + ;; + esac + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` + done + func_extract_archives_result="$my_oldobjs" +} +# End of Shell function definitions +##################################### + +# Darwin sucks +eval std_shrext=\"$shrext_cmds\" + +disable_libs=no + +# Parse our command line options once, thoroughly. +while test "$#" -gt 0 +do + arg="$1" + shift + + case $arg in + -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;; + *) optarg= ;; + esac + + # If the previous option needs an argument, assign it. + if test -n "$prev"; then + case $prev in + execute_dlfiles) + execute_dlfiles="$execute_dlfiles $arg" + ;; + tag) + tagname="$arg" + preserve_args="${preserve_args}=$arg" + + # Check whether tagname contains only valid characters + case $tagname in + *[!-_A-Za-z0-9,/]*) + $echo "$progname: invalid tag name: $tagname" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + case $tagname in + CC) + # Don't test for the "default" C tag, as we know, it's there, but + # not specially marked. + ;; + *) + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then + taglist="$taglist $tagname" + # Evaluate the configuration. + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`" + else + $echo "$progname: ignoring unknown tag $tagname" 1>&2 + fi + ;; + esac + ;; + *) + eval "$prev=\$arg" + ;; + esac + + prev= + prevopt= + continue + fi + + # Have we seen a non-optional argument yet? + case $arg in + --help) + show_help=yes + ;; + + --version) + $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP" + $echo + $echo "Copyright (C) 2005 Free Software Foundation, Inc." + $echo "This is free software; see the source for copying conditions. There is NO" + $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + exit $? + ;; + + --config) + ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath + # Now print the configurations for the tags. + for tagname in $taglist; do + ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath" + done + exit $? + ;; + + --debug) + $echo "$progname: enabling shell trace mode" + set -x + preserve_args="$preserve_args $arg" + ;; + + --dry-run | -n) + run=: + ;; + + --features) + $echo "host: $host" + if test "$build_libtool_libs" = yes; then + $echo "enable shared libraries" + else + $echo "disable shared libraries" + fi + if test "$build_old_libs" = yes; then + $echo "enable static libraries" + else + $echo "disable static libraries" + fi + exit $? + ;; + + --finish) mode="finish" ;; + + --mode) prevopt="--mode" prev=mode ;; + --mode=*) mode="$optarg" ;; + + --preserve-dup-deps) duplicate_deps="yes" ;; + + --quiet | --silent) + show=: + preserve_args="$preserve_args $arg" + ;; + + --tag) + prevopt="--tag" + prev=tag + preserve_args="$preserve_args --tag" + ;; + --tag=*) + set tag "$optarg" ${1+"$@"} + shift + prev=tag + preserve_args="$preserve_args --tag" + ;; + + -dlopen) + prevopt="-dlopen" + prev=execute_dlfiles + ;; + + -*) + $echo "$modename: unrecognized option \`$arg'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + ;; + + *) + nonopt="$arg" + break + ;; + esac +done + +if test -n "$prevopt"; then + $echo "$modename: option \`$prevopt' requires an argument" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE +fi + +case $disable_libs in +no) + ;; +shared) + build_libtool_libs=no + build_old_libs=yes + ;; +static) + build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` + ;; +esac + +# If this variable is set in any of the actions, the command in it +# will be execed at the end. This prevents here-documents from being +# left over by shells. +exec_cmd= + +if test -z "$show_help"; then + + # Infer the operation mode. + if test -z "$mode"; then + $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2 + $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2 + case $nonopt in + *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*) + mode=link + for arg + do + case $arg in + -c) + mode=compile + break + ;; + esac + done + ;; + *db | *dbx | *strace | *truss) + mode=execute + ;; + *install*|cp|mv) + mode=install + ;; + *rm) + mode=uninstall + ;; + *) + # If we have no mode, but dlfiles were specified, then do execute mode. + test -n "$execute_dlfiles" && mode=execute + + # Just use the default operation mode. + if test -z "$mode"; then + if test -n "$nonopt"; then + $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2 + else + $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2 + fi + fi + ;; + esac + fi + + # Only execute mode is allowed to have -dlopen flags. + if test -n "$execute_dlfiles" && test "$mode" != execute; then + $echo "$modename: unrecognized option \`-dlopen'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # Change the help message to a mode-specific one. + generic_help="$help" + help="Try \`$modename --help --mode=$mode' for more information." + + # These modes are in order of execution frequency so that they run quickly. + case $mode in + # libtool compile mode + compile) + modename="$modename: compile" + # Get the compilation command and the source file. + base_compile= + srcfile="$nonopt" # always keep a non-empty value in "srcfile" + suppress_opt=yes + suppress_output= + arg_mode=normal + libobj= + later= + + for arg + do + case $arg_mode in + arg ) + # do not "continue". Instead, add this to base_compile + lastarg="$arg" + arg_mode=normal + ;; + + target ) + libobj="$arg" + arg_mode=normal + continue + ;; + + normal ) + # Accept any command-line options. + case $arg in + -o) + if test -n "$libobj" ; then + $echo "$modename: you cannot specify \`-o' more than once" 1>&2 + exit $EXIT_FAILURE + fi + arg_mode=target + continue + ;; + + -static | -prefer-pic | -prefer-non-pic) + later="$later $arg" + continue + ;; + + -no-suppress) + suppress_opt=no + continue + ;; + + -Xcompiler) + arg_mode=arg # the next one goes into the "base_compile" arg list + continue # The current "srcfile" will either be retained or + ;; # replaced later. I would guess that would be a bug. + + -Wc,*) + args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"` + lastarg= + save_ifs="$IFS"; IFS=',' + for arg in $args; do + IFS="$save_ifs" + + # Double-quote args containing other shell metacharacters. + # Many Bourne shells cannot handle close brackets correctly + # in scan sets, so we specify it separately. + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + lastarg="$lastarg $arg" + done + IFS="$save_ifs" + lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"` + + # Add the arguments to base_compile. + base_compile="$base_compile $lastarg" + continue + ;; + + * ) + # Accept the current argument as the source file. + # The previous "srcfile" becomes the current argument. + # + lastarg="$srcfile" + srcfile="$arg" + ;; + esac # case $arg + ;; + esac # case $arg_mode + + # Aesthetically quote the previous argument. + lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"` + + case $lastarg in + # Double-quote args containing other shell metacharacters. + # Many Bourne shells cannot handle close brackets correctly + # in scan sets, and some SunOS ksh mistreat backslash-escaping + # in scan sets (worked around with variable expansion), + # and furthermore cannot handle '|' '&' '(' ')' in scan sets + # at all, so we specify them separately. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + lastarg="\"$lastarg\"" + ;; + esac + + base_compile="$base_compile $lastarg" + done # for arg + + case $arg_mode in + arg) + $echo "$modename: you must specify an argument for -Xcompile" + exit $EXIT_FAILURE + ;; + target) + $echo "$modename: you must specify a target with \`-o'" 1>&2 + exit $EXIT_FAILURE + ;; + *) + # Get the name of the library object. + [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'` + ;; + esac + + # Recognize several different file suffixes. + # If the user specifies -o file.o, it is replaced with file.lo + xform='[cCFSifmso]' + case $libobj in + *.ada) xform=ada ;; + *.adb) xform=adb ;; + *.ads) xform=ads ;; + *.asm) xform=asm ;; + *.c++) xform=c++ ;; + *.cc) xform=cc ;; + *.ii) xform=ii ;; + *.class) xform=class ;; + *.cpp) xform=cpp ;; + *.cxx) xform=cxx ;; + *.f90) xform=f90 ;; + *.for) xform=for ;; + *.java) xform=java ;; + esac + + libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"` + + case $libobj in + *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;; + *) + $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + func_infer_tag $base_compile + + for arg in $later; do + case $arg in + -static) + build_old_libs=yes + continue + ;; + + -prefer-pic) + pic_mode=yes + continue + ;; + + -prefer-non-pic) + pic_mode=no + continue + ;; + esac + done + + qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"` + case $qlibobj in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + qlibobj="\"$qlibobj\"" ;; + esac + test "X$libobj" != "X$qlibobj" \ + && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"' &()|`$[]' \ + && $echo "$modename: libobj name \`$libobj' may not contain shell special characters." + objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'` + xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$obj"; then + xdir= + else + xdir=$xdir/ + fi + lobj=${xdir}$objdir/$objname + + if test -z "$base_compile"; then + $echo "$modename: you must specify a compilation command" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # Delete any leftover library objects. + if test "$build_old_libs" = yes; then + removelist="$obj $lobj $libobj ${libobj}T" + else + removelist="$lobj $libobj ${libobj}T" + fi + + $run $rm $removelist + trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 + + # On Cygwin there's no "real" PIC flag so we must build both object types + case $host_os in + cygwin* | mingw* | pw32* | os2*) + pic_mode=default + ;; + esac + if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then + # non-PIC code in shared libraries is not supported + pic_mode=default + fi + + # Calculate the filename of the output object if compiler does + # not support -o with -c + if test "$compiler_c_o" = no; then + output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext} + lockfile="$output_obj.lock" + removelist="$removelist $output_obj $lockfile" + trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 + else + output_obj= + need_locks=no + lockfile= + fi + + # Lock this critical section if it is needed + # We use this script file to make the link, it avoids creating a new file + if test "$need_locks" = yes; then + until $run ln "$srcfile" "$lockfile" 2>/dev/null; do + $show "Waiting for $lockfile to be removed" + sleep 2 + done + elif test "$need_locks" = warn; then + if test -f "$lockfile"; then + $echo "\ +*** ERROR, $lockfile exists and contains: +`cat $lockfile 2>/dev/null` + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $run $rm $removelist + exit $EXIT_FAILURE + fi + $echo "$srcfile" > "$lockfile" + fi + + if test -n "$fix_srcfile_path"; then + eval srcfile=\"$fix_srcfile_path\" + fi + qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"` + case $qsrcfile in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + qsrcfile="\"$qsrcfile\"" ;; + esac + + $run $rm "$libobj" "${libobj}T" + + # Create a libtool object file (analogous to a ".la" file), + # but don't create it if we're doing a dry run. + test -z "$run" && cat > ${libobj}T </dev/null`" != "X$srcfile"; then + $echo "\ +*** ERROR, $lockfile contains: +`cat $lockfile 2>/dev/null` + +but it should contain: +$srcfile + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $run $rm $removelist + exit $EXIT_FAILURE + fi + + # Just move the object if needed, then go on to compile the next one + if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then + $show "$mv $output_obj $lobj" + if $run $mv $output_obj $lobj; then : + else + error=$? + $run $rm $removelist + exit $error + fi + fi + + # Append the name of the PIC object to the libtool object file. + test -z "$run" && cat >> ${libobj}T <> ${libobj}T </dev/null`" != "X$srcfile"; then + $echo "\ +*** ERROR, $lockfile contains: +`cat $lockfile 2>/dev/null` + +but it should contain: +$srcfile + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $run $rm $removelist + exit $EXIT_FAILURE + fi + + # Just move the object if needed + if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then + $show "$mv $output_obj $obj" + if $run $mv $output_obj $obj; then : + else + error=$? + $run $rm $removelist + exit $error + fi + fi + + # Append the name of the non-PIC object the libtool object file. + # Only append if the libtool object file exists. + test -z "$run" && cat >> ${libobj}T <> ${libobj}T <&2 + fi + if test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + prefer_static_libs=yes + else + if test -z "$pic_flag" && test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + prefer_static_libs=built + fi + build_libtool_libs=no + build_old_libs=yes + break + ;; + esac + done + + # See if our shared archives depend on static archives. + test -n "$old_archive_from_new_cmds" && build_old_libs=yes + + # Go through the arguments, transforming them on the way. + while test "$#" -gt 0; do + arg="$1" + shift + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test + ;; + *) qarg=$arg ;; + esac + libtool_args="$libtool_args $qarg" + + # If the previous option needs an argument, assign it. + if test -n "$prev"; then + case $prev in + output) + compile_command="$compile_command @OUTPUT@" + finalize_command="$finalize_command @OUTPUT@" + ;; + esac + + case $prev in + dlfiles|dlprefiles) + if test "$preload" = no; then + # Add the symbol object into the linking commands. + compile_command="$compile_command @SYMFILE@" + finalize_command="$finalize_command @SYMFILE@" + preload=yes + fi + case $arg in + *.la | *.lo) ;; # We handle these cases below. + force) + if test "$dlself" = no; then + dlself=needless + export_dynamic=yes + fi + prev= + continue + ;; + self) + if test "$prev" = dlprefiles; then + dlself=yes + elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then + dlself=yes + else + dlself=needless + export_dynamic=yes + fi + prev= + continue + ;; + *) + if test "$prev" = dlfiles; then + dlfiles="$dlfiles $arg" + else + dlprefiles="$dlprefiles $arg" + fi + prev= + continue + ;; + esac + ;; + expsyms) + export_symbols="$arg" + if test ! -f "$arg"; then + $echo "$modename: symbol file \`$arg' does not exist" + exit $EXIT_FAILURE + fi + prev= + continue + ;; + expsyms_regex) + export_symbols_regex="$arg" + prev= + continue + ;; + inst_prefix) + inst_prefix_dir="$arg" + prev= + continue + ;; + precious_regex) + precious_files_regex="$arg" + prev= + continue + ;; + release) + release="-$arg" + prev= + continue + ;; + objectlist) + if test -f "$arg"; then + save_arg=$arg + moreargs= + for fil in `cat $save_arg` + do +# moreargs="$moreargs $fil" + arg=$fil + # A libtool-controlled object. + + # Check to see that this really is a libtool object. + if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + pic_object= + non_pic_object= + + # Read the .lo file + # If there is no directory component, then add one. + case $arg in + */* | *\\*) . $arg ;; + *) . ./$arg ;; + esac + + if test -z "$pic_object" || \ + test -z "$non_pic_object" || + test "$pic_object" = none && \ + test "$non_pic_object" = none; then + $echo "$modename: cannot find name of object for \`$arg'" 1>&2 + exit $EXIT_FAILURE + fi + + # Extract subdirectory from the argument. + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$arg"; then + xdir= + else + xdir="$xdir/" + fi + + if test "$pic_object" != none; then + # Prepend the subdirectory the object is found in. + pic_object="$xdir$pic_object" + + if test "$prev" = dlfiles; then + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then + dlfiles="$dlfiles $pic_object" + prev= + continue + else + # If libtool objects are unsupported, then we need to preload. + prev=dlprefiles + fi + fi + + # CHECK ME: I think I busted this. -Ossama + if test "$prev" = dlprefiles; then + # Preload the old-style object. + dlprefiles="$dlprefiles $pic_object" + prev= + fi + + # A PIC object. + libobjs="$libobjs $pic_object" + arg="$pic_object" + fi + + # Non-PIC object. + if test "$non_pic_object" != none; then + # Prepend the subdirectory the object is found in. + non_pic_object="$xdir$non_pic_object" + + # A standard non-PIC object + non_pic_objects="$non_pic_objects $non_pic_object" + if test -z "$pic_object" || test "$pic_object" = none ; then + arg="$non_pic_object" + fi + else + # If the PIC object exists, use it instead. + # $xdir was prepended to $pic_object above. + non_pic_object="$pic_object" + non_pic_objects="$non_pic_objects $non_pic_object" + fi + else + # Only an error if not doing a dry-run. + if test -z "$run"; then + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 + exit $EXIT_FAILURE + else + # Dry-run case. + + # Extract subdirectory from the argument. + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$arg"; then + xdir= + else + xdir="$xdir/" + fi + + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` + libobjs="$libobjs $pic_object" + non_pic_objects="$non_pic_objects $non_pic_object" + fi + fi + done + else + $echo "$modename: link input file \`$save_arg' does not exist" + exit $EXIT_FAILURE + fi + arg=$save_arg + prev= + continue + ;; + rpath | xrpath) + # We need an absolute path. + case $arg in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + $echo "$modename: only absolute run-paths are allowed" 1>&2 + exit $EXIT_FAILURE + ;; + esac + if test "$prev" = rpath; then + case "$rpath " in + *" $arg "*) ;; + *) rpath="$rpath $arg" ;; + esac + else + case "$xrpath " in + *" $arg "*) ;; + *) xrpath="$xrpath $arg" ;; + esac + fi + prev= + continue + ;; + xcompiler) + compiler_flags="$compiler_flags $qarg" + prev= + compile_command="$compile_command $qarg" + finalize_command="$finalize_command $qarg" + continue + ;; + xlinker) + linker_flags="$linker_flags $qarg" + compiler_flags="$compiler_flags $wl$qarg" + prev= + compile_command="$compile_command $wl$qarg" + finalize_command="$finalize_command $wl$qarg" + continue + ;; + xcclinker) + linker_flags="$linker_flags $qarg" + compiler_flags="$compiler_flags $qarg" + prev= + compile_command="$compile_command $qarg" + finalize_command="$finalize_command $qarg" + continue + ;; + shrext) + shrext_cmds="$arg" + prev= + continue + ;; + darwin_framework|darwin_framework_skip) + test "$prev" = "darwin_framework" && compiler_flags="$compiler_flags $arg" + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + prev= + continue + ;; + *) + eval "$prev=\"\$arg\"" + prev= + continue + ;; + esac + fi # test -n "$prev" + + prevarg="$arg" + + case $arg in + -all-static) + if test -n "$link_static_flag"; then + compile_command="$compile_command $link_static_flag" + finalize_command="$finalize_command $link_static_flag" + fi + continue + ;; + + -allow-undefined) + # FIXME: remove this flag sometime in the future. + $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2 + continue + ;; + + -avoid-version) + avoid_version=yes + continue + ;; + + -dlopen) + prev=dlfiles + continue + ;; + + -dlpreopen) + prev=dlprefiles + continue + ;; + + -export-dynamic) + export_dynamic=yes + continue + ;; + + -export-symbols | -export-symbols-regex) + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then + $echo "$modename: more than one -exported-symbols argument is not allowed" + exit $EXIT_FAILURE + fi + if test "X$arg" = "X-export-symbols"; then + prev=expsyms + else + prev=expsyms_regex + fi + continue + ;; + + -framework|-arch|-isysroot) + case " $CC " in + *" ${arg} ${1} "* | *" ${arg} ${1} "*) + prev=darwin_framework_skip ;; + *) compiler_flags="$compiler_flags $arg" + prev=darwin_framework ;; + esac + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + continue + ;; + + -inst-prefix-dir) + prev=inst_prefix + continue + ;; + + # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* + # so, if we see these flags be careful not to treat them like -L + -L[A-Z][A-Z]*:*) + case $with_gcc/$host in + no/*-*-irix* | /*-*-irix*) + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + ;; + esac + continue + ;; + + -L*) + dir=`$echo "X$arg" | $Xsed -e 's/^-L//'` + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + absdir=`cd "$dir" && pwd` + if test -z "$absdir"; then + $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2 + absdir="$dir" + notinst_path="$notinst_path $dir" + fi + dir="$absdir" + ;; + esac + case "$deplibs " in + *" -L$dir "*) ;; + *) + deplibs="$deplibs -L$dir" + lib_search_path="$lib_search_path $dir" + ;; + esac + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) + testbindir=`$echo "X$dir" | $Xsed -e 's*/lib$*/bin*'` + case :$dllsearchpath: in + *":$dir:"*) ;; + *) dllsearchpath="$dllsearchpath:$dir";; + esac + case :$dllsearchpath: in + *":$testbindir:"*) ;; + *) dllsearchpath="$dllsearchpath:$testbindir";; + esac + ;; + esac + continue + ;; + + -l*) + if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*) + # These systems don't actually have a C or math library (as such) + continue + ;; + *-*-os2*) + # These systems don't actually have a C library (as such) + test "X$arg" = "X-lc" && continue + ;; + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) + # Do not include libc due to us having libc/libc_r. + test "X$arg" = "X-lc" && continue + ;; + *-*-rhapsody* | *-*-darwin1.[012]) + # Rhapsody C and math libraries are in the System framework + deplibs="$deplibs -framework System" + continue + ;; + *-*-sco3.2v5* | *-*-sco5v6*) + # Causes problems with __ctype + test "X$arg" = "X-lc" && continue + ;; + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) + # Compiler inserts libc in the correct place for threads to work + test "X$arg" = "X-lc" && continue + ;; + esac + elif test "X$arg" = "X-lc_r"; then + case $host in + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; + esac + fi + deplibs="$deplibs $arg" + continue + ;; + + # Tru64 UNIX uses -model [arg] to determine the layout of C++ + # classes, name mangling, and exception handling. + -model) + compile_command="$compile_command $arg" + compiler_flags="$compiler_flags $arg" + finalize_command="$finalize_command $arg" + prev=xcompiler + continue + ;; + + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe) + compiler_flags="$compiler_flags $arg" + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + continue + ;; + + -module) + module=yes + continue + ;; + + # -64, -mips[0-9] enable 64-bit mode on the SGI compiler + # -r[0-9][0-9]* specifies the processor on the SGI compiler + # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler + # +DA*, +DD* enable 64-bit mode on the HP compiler + # -q* pass through compiler args for the IBM compiler + # -m* pass through architecture-specific compiler args for GCC + # -m*, -t[45]*, -txscale* pass through architecture-specific + # compiler args for GCC + # -pg pass through profiling flag for GCC + # @file GCC response files + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*|-pg| \ + -t[45]*|-txscale*|@*) + + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + compiler_flags="$compiler_flags $arg" + continue + ;; + + -shrext) + prev=shrext + continue + ;; + + -no-fast-install) + fast_install=no + continue + ;; + + -no-install) + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) + # The PATH hackery in wrapper scripts is required on Windows + # in order for the loader to find any dlls it needs. + $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2 + $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2 + fast_install=no + ;; + *) no_install=yes ;; + esac + continue + ;; + + -no-undefined) + allow_undefined=no + continue + ;; + + -objectlist) + prev=objectlist + continue + ;; + + -o) prev=output ;; + + -precious-files-regex) + prev=precious_regex + continue + ;; + + -release) + prev=release + continue + ;; + + -rpath) + prev=rpath + continue + ;; + + -R) + prev=xrpath + continue + ;; + + -R*) + dir=`$echo "X$arg" | $Xsed -e 's/^-R//'` + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + $echo "$modename: only absolute run-paths are allowed" 1>&2 + exit $EXIT_FAILURE + ;; + esac + case "$xrpath " in + *" $dir "*) ;; + *) xrpath="$xrpath $dir" ;; + esac + continue + ;; + + -static) + # The effects of -static are defined in a previous loop. + # We used to do the same as -all-static on platforms that + # didn't have a PIC flag, but the assumption that the effects + # would be equivalent was wrong. It would break on at least + # Digital Unix and AIX. + continue + ;; + + -thread-safe) + thread_safe=yes + continue + ;; + + -version-info) + prev=vinfo + continue + ;; + -version-number) + prev=vinfo + vinfo_number=yes + continue + ;; + + -Wc,*) + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'` + arg= + save_ifs="$IFS"; IFS=',' + for flag in $args; do + IFS="$save_ifs" + case $flag in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + flag="\"$flag\"" + ;; + esac + arg="$arg $wl$flag" + compiler_flags="$compiler_flags $flag" + done + IFS="$save_ifs" + arg=`$echo "X$arg" | $Xsed -e "s/^ //"` + ;; + + -Wl,*) + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'` + arg= + save_ifs="$IFS"; IFS=',' + for flag in $args; do + IFS="$save_ifs" + case $flag in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + flag="\"$flag\"" + ;; + esac + arg="$arg $wl$flag" + compiler_flags="$compiler_flags $wl$flag" + linker_flags="$linker_flags $flag" + done + IFS="$save_ifs" + arg=`$echo "X$arg" | $Xsed -e "s/^ //"` + ;; + + -Xcompiler) + prev=xcompiler + continue + ;; + + -Xlinker) + prev=xlinker + continue + ;; + + -XCClinker) + prev=xcclinker + continue + ;; + + # Some other compiler flag. + -* | +*) + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + ;; + + *.$objext) + # A standard object. + objs="$objs $arg" + ;; + + *.lo) + # A libtool-controlled object. + + # Check to see that this really is a libtool object. + if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + pic_object= + non_pic_object= + + # Read the .lo file + # If there is no directory component, then add one. + case $arg in + */* | *\\*) . $arg ;; + *) . ./$arg ;; + esac + + if test -z "$pic_object" || \ + test -z "$non_pic_object" || + test "$pic_object" = none && \ + test "$non_pic_object" = none; then + $echo "$modename: cannot find name of object for \`$arg'" 1>&2 + exit $EXIT_FAILURE + fi + + # Extract subdirectory from the argument. + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$arg"; then + xdir= + else + xdir="$xdir/" + fi + + if test "$pic_object" != none; then + # Prepend the subdirectory the object is found in. + pic_object="$xdir$pic_object" + + if test "$prev" = dlfiles; then + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then + dlfiles="$dlfiles $pic_object" + prev= + continue + else + # If libtool objects are unsupported, then we need to preload. + prev=dlprefiles + fi + fi + + # CHECK ME: I think I busted this. -Ossama + if test "$prev" = dlprefiles; then + # Preload the old-style object. + dlprefiles="$dlprefiles $pic_object" + prev= + fi + + # A PIC object. + libobjs="$libobjs $pic_object" + arg="$pic_object" + fi + + # Non-PIC object. + if test "$non_pic_object" != none; then + # Prepend the subdirectory the object is found in. + non_pic_object="$xdir$non_pic_object" + + # A standard non-PIC object + non_pic_objects="$non_pic_objects $non_pic_object" + if test -z "$pic_object" || test "$pic_object" = none ; then + arg="$non_pic_object" + fi + else + # If the PIC object exists, use it instead. + # $xdir was prepended to $pic_object above. + non_pic_object="$pic_object" + non_pic_objects="$non_pic_objects $non_pic_object" + fi + else + # Only an error if not doing a dry-run. + if test -z "$run"; then + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 + exit $EXIT_FAILURE + else + # Dry-run case. + + # Extract subdirectory from the argument. + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$arg"; then + xdir= + else + xdir="$xdir/" + fi + + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` + libobjs="$libobjs $pic_object" + non_pic_objects="$non_pic_objects $non_pic_object" + fi + fi + ;; + + *.$libext) + # An archive. + deplibs="$deplibs $arg" + old_deplibs="$old_deplibs $arg" + continue + ;; + + *.la) + # A libtool-controlled library. + + if test "$prev" = dlfiles; then + # This library was specified with -dlopen. + dlfiles="$dlfiles $arg" + prev= + elif test "$prev" = dlprefiles; then + # The library was specified with -dlpreopen. + dlprefiles="$dlprefiles $arg" + prev= + else + deplibs="$deplibs $arg" + fi + continue + ;; + + # Some other compiler argument. + *) + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + ;; + esac # arg + + # Now actually substitute the argument into the commands. + if test -n "$arg"; then + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + fi + done # argument parsing loop + + if test -n "$prev"; then + $echo "$modename: the \`$prevarg' option requires an argument" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then + eval arg=\"$export_dynamic_flag_spec\" + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + fi + + oldlibs= + # calculate the name of the file, without its directory + outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'` + libobjs_save="$libobjs" + + if test -n "$shlibpath_var"; then + # get the directories listed in $shlibpath_var + eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\` + else + shlib_search_path= + fi + eval sys_lib_search_path=\"$sys_lib_search_path_spec\" + eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" + + output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'` + if test "X$output_objdir" = "X$output"; then + output_objdir="$objdir" + else + output_objdir="$output_objdir/$objdir" + fi + # Create the object directory. + if test ! -d "$output_objdir"; then + $show "$mkdir $output_objdir" + $run $mkdir $output_objdir + exit_status=$? + if test "$exit_status" -ne 0 && test ! -d "$output_objdir"; then + exit $exit_status + fi + fi + + # Determine the type of output + case $output in + "") + $echo "$modename: you must specify an output file" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + ;; + *.$libext) linkmode=oldlib ;; + *.lo | *.$objext) linkmode=obj ;; + *.la) linkmode=lib ;; + *) linkmode=prog ;; # Anything else should be a program. + esac + + case $host in + *cygwin* | *mingw* | *pw32*) + # don't eliminate duplications in $postdeps and $predeps + duplicate_compiler_generated_deps=yes + ;; + *) + duplicate_compiler_generated_deps=$duplicate_deps + ;; + esac + specialdeplibs= + + libs= + # Find all interdependent deplibs by searching for libraries + # that are linked more than once (e.g. -la -lb -la) + for deplib in $deplibs; do + if test "X$duplicate_deps" = "Xyes" ; then + case "$libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + libs="$libs $deplib" + done + + if test "$linkmode" = lib; then + libs="$predeps $libs $compiler_lib_search_path $postdeps" + + # Compute libraries that are listed more than once in $predeps + # $postdeps and mark them as special (i.e., whose duplicates are + # not to be eliminated). + pre_post_deps= + if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then + for pre_post_dep in $predeps $postdeps; do + case "$pre_post_deps " in + *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;; + esac + pre_post_deps="$pre_post_deps $pre_post_dep" + done + fi + pre_post_deps= + fi + + deplibs= + newdependency_libs= + newlib_search_path= + need_relink=no # whether we're linking any uninstalled libtool libraries + notinst_deplibs= # not-installed libtool libraries + case $linkmode in + lib) + passes="conv link" + for file in $dlfiles $dlprefiles; do + case $file in + *.la) ;; + *) + $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2 + exit $EXIT_FAILURE + ;; + esac + done + ;; + prog) + compile_deplibs= + finalize_deplibs= + alldeplibs=no + newdlfiles= + newdlprefiles= + passes="conv scan dlopen dlpreopen link" + ;; + *) passes="conv" + ;; + esac + for pass in $passes; do + if test "$linkmode,$pass" = "lib,link" || + test "$linkmode,$pass" = "prog,scan"; then + libs="$deplibs" + deplibs= + fi + if test "$linkmode" = prog; then + case $pass in + dlopen) libs="$dlfiles" ;; + dlpreopen) libs="$dlprefiles" ;; + link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; + esac + fi + if test "$pass" = dlopen; then + # Collect dlpreopened libraries + save_deplibs="$deplibs" + deplibs= + fi + for deplib in $libs; do + lib= + found=no + case $deplib in + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe) + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + compiler_flags="$compiler_flags $deplib" + fi + continue + ;; + -l*) + if test "$linkmode" != lib && test "$linkmode" != prog; then + $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2 + continue + fi + name=`$echo "X$deplib" | $Xsed -e 's/^-l//'` + for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do + for search_ext in .la $std_shrext .so .a; do + # Search the libtool library + lib="$searchdir/lib${name}${search_ext}" + if test -f "$lib"; then + if test "$search_ext" = ".la"; then + found=yes + else + found=no + fi + break 2 + fi + done + done + if test "$found" != yes; then + # deplib doesn't seem to be a libtool library + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" + fi + continue + else # deplib is a libtool library + # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, + # We need to do some special things here, and not later. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $deplib "*) + if (${SED} -e '2q' $lib | + grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + library_names= + old_library= + case $lib in + */* | *\\*) . $lib ;; + *) . ./$lib ;; + esac + for l in $old_library $library_names; do + ll="$l" + done + if test "X$ll" = "X$old_library" ; then # only static version available + found=no + ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` + test "X$ladir" = "X$lib" && ladir="." + lib=$ladir/$old_library + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" + fi + continue + fi + fi + ;; + *) ;; + esac + fi + fi + ;; # -l + -L*) + case $linkmode in + lib) + deplibs="$deplib $deplibs" + test "$pass" = conv && continue + newdependency_libs="$deplib $newdependency_libs" + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` + ;; + prog) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + continue + fi + if test "$pass" = scan; then + deplibs="$deplib $deplibs" + else + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + fi + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` + ;; + *) + $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2 + ;; + esac # linkmode + continue + ;; # -L + -R*) + if test "$pass" = link; then + dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'` + # Make sure the xrpath contains only unique directories. + case "$xrpath " in + *" $dir "*) ;; + *) xrpath="$xrpath $dir" ;; + esac + fi + deplibs="$deplib $deplibs" + continue + ;; + *.la) lib="$deplib" ;; + *.$libext) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + continue + fi + case $linkmode in + lib) + valid_a_lib=no + case $deplibs_check_method in + match_pattern*) + set dummy $deplibs_check_method + match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` + if eval $echo \"$deplib\" 2>/dev/null \ + | $SED 10q \ + | $EGREP "$match_pattern_regex" > /dev/null; then + valid_a_lib=yes + fi + ;; + pass_all) + valid_a_lib=yes + ;; + esac + if test "$valid_a_lib" != yes; then + $echo + $echo "*** Warning: Trying to link with static lib archive $deplib." + $echo "*** I have the capability to make that library automatically link in when" + $echo "*** you link to this library. But I can only do this if you have a" + $echo "*** shared version of the library, which you do not appear to have" + $echo "*** because the file extensions .$libext of this argument makes me believe" + $echo "*** that it is just a static archive that I should not used here." + else + $echo + $echo "*** Warning: Linking the shared library $output against the" + $echo "*** static library $deplib is not portable!" + deplibs="$deplib $deplibs" + fi + continue + ;; + prog) + if test "$pass" != link; then + deplibs="$deplib $deplibs" + else + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + fi + continue + ;; + esac # linkmode + ;; # *.$libext + *.lo | *.$objext) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + elif test "$linkmode" = prog; then + if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then + # If there is no dlopen support or we're linking statically, + # we need to preload. + newdlprefiles="$newdlprefiles $deplib" + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + newdlfiles="$newdlfiles $deplib" + fi + fi + continue + ;; + %DEPLIBS%) + alldeplibs=yes + continue + ;; + esac # case $deplib + if test "$found" = yes || test -f "$lib"; then : + else + $echo "$modename: cannot find the library \`$lib' or unhandled argument \`$deplib'" 1>&2 + exit $EXIT_FAILURE + fi + + # Check to see that this really is a libtool archive. + if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : + else + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 + exit $EXIT_FAILURE + fi + + ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` + test "X$ladir" = "X$lib" && ladir="." + + dlname= + dlopen= + dlpreopen= + libdir= + library_names= + old_library= + # If the library was installed with an old release of libtool, + # it will not redefine variables installed, or shouldnotlink + installed=yes + shouldnotlink=no + avoidtemprpath= + + + # Read the .la file + case $lib in + */* | *\\*) . $lib ;; + *) . ./$lib ;; + esac + + if test "$linkmode,$pass" = "lib,link" || + test "$linkmode,$pass" = "prog,scan" || + { test "$linkmode" != prog && test "$linkmode" != lib; }; then + test -n "$dlopen" && dlfiles="$dlfiles $dlopen" + test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen" + fi + + if test "$pass" = conv; then + # Only check for convenience libraries + deplibs="$lib $deplibs" + if test -z "$libdir"; then + if test -z "$old_library"; then + $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 + exit $EXIT_FAILURE + fi + # It is a libtool convenience library, so add in its objects. + convenience="$convenience $ladir/$objdir/$old_library" + old_convenience="$old_convenience $ladir/$objdir/$old_library" + tmp_libs= + for deplib in $dependency_libs; do + deplibs="$deplib $deplibs" + if test "X$duplicate_deps" = "Xyes" ; then + case "$tmp_libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + tmp_libs="$tmp_libs $deplib" + done + elif test "$linkmode" != prog && test "$linkmode" != lib; then + $echo "$modename: \`$lib' is not a convenience library" 1>&2 + exit $EXIT_FAILURE + fi + continue + fi # $pass = conv + + + # Get the name of the library we link against. + linklib= + for l in $old_library $library_names; do + linklib="$l" + done + if test -z "$linklib"; then + $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 + exit $EXIT_FAILURE + fi + + # This library was specified with -dlopen. + if test "$pass" = dlopen; then + if test -z "$libdir"; then + $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2 + exit $EXIT_FAILURE + fi + if test -z "$dlname" || + test "$dlopen_support" != yes || + test "$build_libtool_libs" = no; then + # If there is no dlname, no dlopen support or we're linking + # statically, we need to preload. We also need to preload any + # dependent libraries so libltdl's deplib preloader doesn't + # bomb out in the load deplibs phase. + dlprefiles="$dlprefiles $lib $dependency_libs" + else + newdlfiles="$newdlfiles $lib" + fi + continue + fi # $pass = dlopen + + # We need an absolute path. + case $ladir in + [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;; + *) + abs_ladir=`cd "$ladir" && pwd` + if test -z "$abs_ladir"; then + $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2 + $echo "$modename: passing it literally to the linker, although it might fail" 1>&2 + abs_ladir="$ladir" + fi + ;; + esac + laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` + + # Find the relevant object directory and library name. + if test "X$installed" = Xyes; then + if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then + $echo "$modename: warning: library \`$lib' was moved." 1>&2 + dir="$ladir" + absdir="$abs_ladir" + libdir="$abs_ladir" + else + dir="$libdir" + absdir="$libdir" + fi + test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes + else + if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then + dir="$ladir" + absdir="$abs_ladir" + # Remove this search path later + notinst_path="$notinst_path $abs_ladir" + else + dir="$ladir/$objdir" + absdir="$abs_ladir/$objdir" + # Remove this search path later + notinst_path="$notinst_path $abs_ladir" + fi + fi # $installed = yes + name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` + + # This library was specified with -dlpreopen. + if test "$pass" = dlpreopen; then + if test -z "$libdir"; then + $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2 + exit $EXIT_FAILURE + fi + # Prefer using a static library (so that no silly _DYNAMIC symbols + # are required to link). + if test -n "$old_library"; then + newdlprefiles="$newdlprefiles $dir/$old_library" + # Otherwise, use the dlname, so that lt_dlopen finds it. + elif test -n "$dlname"; then + newdlprefiles="$newdlprefiles $dir/$dlname" + else + newdlprefiles="$newdlprefiles $dir/$linklib" + fi + fi # $pass = dlpreopen + + if test -z "$libdir"; then + # Link the convenience library + if test "$linkmode" = lib; then + deplibs="$dir/$old_library $deplibs" + elif test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$dir/$old_library $compile_deplibs" + finalize_deplibs="$dir/$old_library $finalize_deplibs" + else + deplibs="$lib $deplibs" # used for prog,scan pass + fi + continue + fi + + + if test "$linkmode" = prog && test "$pass" != link; then + newlib_search_path="$newlib_search_path $ladir" + deplibs="$lib $deplibs" + + linkalldeplibs=no + if test "$link_all_deplibs" != no || test -z "$library_names" || + test "$build_libtool_libs" = no; then + linkalldeplibs=yes + fi + + tmp_libs= + for deplib in $dependency_libs; do + case $deplib in + -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test + esac + # Need to link against all dependency_libs? + if test "$linkalldeplibs" = yes; then + deplibs="$deplib $deplibs" + else + # Need to hardcode shared library paths + # or/and link against static libraries + newdependency_libs="$deplib $newdependency_libs" + fi + if test "X$duplicate_deps" = "Xyes" ; then + case "$tmp_libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + tmp_libs="$tmp_libs $deplib" + done # for deplib + continue + fi # $linkmode = prog... + + if test "$linkmode,$pass" = "prog,link"; then + if test -n "$library_names" && + { test "$prefer_static_libs" = no || test -z "$old_library"; }; then + # We need to hardcode the library path + if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then + # Make sure the rpath contains only unique directories. + case "$temp_rpath " in + *" $dir "*) ;; + *" $absdir "*) ;; + *) temp_rpath="$temp_rpath $absdir" ;; + esac + fi + + # Hardcode the library path. + # Skip directories that are in the system default run-time + # search path. + case " $sys_lib_dlsearch_path " in + *" $absdir "*) ;; + *) + case "$compile_rpath " in + *" $absdir "*) ;; + *) compile_rpath="$compile_rpath $absdir" + esac + ;; + esac + case " $sys_lib_dlsearch_path " in + *" $libdir "*) ;; + *) + case "$finalize_rpath " in + *" $libdir "*) ;; + *) finalize_rpath="$finalize_rpath $libdir" + esac + ;; + esac + fi # $linkmode,$pass = prog,link... + + if test "$alldeplibs" = yes && + { test "$deplibs_check_method" = pass_all || + { test "$build_libtool_libs" = yes && + test -n "$library_names"; }; }; then + # We only need to search for static libraries + continue + fi + fi + + link_static=no # Whether the deplib will be linked statically + use_static_libs=$prefer_static_libs + if test "$use_static_libs" = built && test "$installed" = yes ; then + use_static_libs=no + fi + if test -n "$library_names" && + { test "$use_static_libs" = no || test -z "$old_library"; }; then + if test "$installed" = no; then + notinst_deplibs="$notinst_deplibs $lib" + need_relink=yes + fi + # This is a shared library + + # Warn about portability, can't link against -module's on + # some systems (darwin) + if test "$shouldnotlink" = yes && test "$pass" = link ; then + $echo + if test "$linkmode" = prog; then + $echo "*** Warning: Linking the executable $output against the loadable module" + else + $echo "*** Warning: Linking the shared library $output against the loadable module" + fi + $echo "*** $linklib is not portable!" + fi + if test "$linkmode" = lib && + test "$hardcode_into_libs" = yes; then + # Hardcode the library path. + # Skip directories that are in the system default run-time + # search path. + case " $sys_lib_dlsearch_path " in + *" $absdir "*) ;; + *) + case "$compile_rpath " in + *" $absdir "*) ;; + *) compile_rpath="$compile_rpath $absdir" + esac + ;; + esac + case " $sys_lib_dlsearch_path " in + *" $libdir "*) ;; + *) + case "$finalize_rpath " in + *" $libdir "*) ;; + *) finalize_rpath="$finalize_rpath $libdir" + esac + ;; + esac + fi + + if test -n "$old_archive_from_expsyms_cmds"; then + # figure out the soname + set dummy $library_names + realname="$2" + shift; shift + libname=`eval \\$echo \"$libname_spec\"` + # use dlname if we got it. it's perfectly good, no? + if test -n "$dlname"; then + soname="$dlname" + elif test -n "$soname_spec"; then + # bleh windows + case $host in + *cygwin* | mingw*) + major=`expr $current - $age` + versuffix="-$major" + ;; + esac + eval soname=\"$soname_spec\" + else + soname="$realname" + fi + + # Make a new name for the extract_expsyms_cmds to use + soroot="$soname" + soname=`$echo $soroot | ${SED} -e 's/^.*\///'` + newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a" + + # If the library has no export list, then create one now + if test -f "$output_objdir/$soname-def"; then : + else + $show "extracting exported symbol list from \`$soname'" + save_ifs="$IFS"; IFS='~' + cmds=$extract_expsyms_cmds + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + fi + + # Create $newlib + if test -f "$output_objdir/$newlib"; then :; else + $show "generating import library for \`$soname'" + save_ifs="$IFS"; IFS='~' + cmds=$old_archive_from_expsyms_cmds + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + fi + # make sure the library variables are pointing to the new library + dir=$output_objdir + linklib=$newlib + fi # test -n "$old_archive_from_expsyms_cmds" + + if test "$linkmode" = prog || test "$mode" != relink; then + add_shlibpath= + add_dir= + add= + lib_linked=yes + case $hardcode_action in + immediate | unsupported) + if test "$hardcode_direct" = no; then + add="$dir/$linklib" + case $host in + *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;; + *-*-sysv4*uw2*) add_dir="-L$dir" ;; + *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ + *-*-unixware7*) add_dir="-L$dir" ;; + *-*-darwin* ) + # if the lib is a module then we can not link against + # it, someone is ignoring the new warnings I added + if /usr/bin/file -L $add 2> /dev/null | + $EGREP ": [^:]* bundle" >/dev/null ; then + $echo "** Warning, lib $linklib is a module, not a shared library" + if test -z "$old_library" ; then + $echo + $echo "** And there doesn't seem to be a static archive available" + $echo "** The link will probably fail, sorry" + else + add="$dir/$old_library" + fi + fi + esac + elif test "$hardcode_minus_L" = no; then + case $host in + *-*-sunos*) add_shlibpath="$dir" ;; + esac + add_dir="-L$dir" + add="-l$name" + elif test "$hardcode_shlibpath_var" = no; then + add_shlibpath="$dir" + add="-l$name" + else + lib_linked=no + fi + ;; + relink) + if test "$hardcode_direct" = yes; then + add="$dir/$linklib" + elif test "$hardcode_minus_L" = yes; then + add_dir="-L$dir" + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case $libdir in + [\\/]*) + add_dir="$add_dir -L$inst_prefix_dir$libdir" + ;; + esac + fi + add="-l$name" + elif test "$hardcode_shlibpath_var" = yes; then + add_shlibpath="$dir" + add="-l$name" + else + lib_linked=no + fi + ;; + *) lib_linked=no ;; + esac + + if test "$lib_linked" != yes; then + $echo "$modename: configuration error: unsupported hardcode properties" + exit $EXIT_FAILURE + fi + + if test -n "$add_shlibpath"; then + case :$compile_shlibpath: in + *":$add_shlibpath:"*) ;; + *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;; + esac + fi + if test "$linkmode" = prog; then + test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" + test -n "$add" && compile_deplibs="$add $compile_deplibs" + else + test -n "$add_dir" && deplibs="$add_dir $deplibs" + test -n "$add" && deplibs="$add $deplibs" + if test "$hardcode_direct" != yes && \ + test "$hardcode_minus_L" != yes && \ + test "$hardcode_shlibpath_var" = yes; then + case :$finalize_shlibpath: in + *":$libdir:"*) ;; + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; + esac + fi + fi + fi + + if test "$linkmode" = prog || test "$mode" = relink; then + add_shlibpath= + add_dir= + add= + # Finalize command for both is simple: just hardcode it. + if test "$hardcode_direct" = yes; then + add="$libdir/$linklib" + elif test "$hardcode_minus_L" = yes; then + add_dir="-L$libdir" + add="-l$name" + elif test "$hardcode_shlibpath_var" = yes; then + case :$finalize_shlibpath: in + *":$libdir:"*) ;; + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; + esac + add="-l$name" + elif test "$hardcode_automatic" = yes; then + if test -n "$inst_prefix_dir" && + test -f "$inst_prefix_dir$libdir/$linklib" ; then + add="$inst_prefix_dir$libdir/$linklib" + else + add="$libdir/$linklib" + fi + else + # We cannot seem to hardcode it, guess we'll fake it. + add_dir="-L$libdir" + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case $libdir in + [\\/]*) + add_dir="$add_dir -L$inst_prefix_dir$libdir" + ;; + esac + fi + add="-l$name" + fi + + if test "$linkmode" = prog; then + test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" + test -n "$add" && finalize_deplibs="$add $finalize_deplibs" + else + test -n "$add_dir" && deplibs="$add_dir $deplibs" + test -n "$add" && deplibs="$add $deplibs" + fi + fi + elif test "$linkmode" = prog; then + # Here we assume that one of hardcode_direct or hardcode_minus_L + # is not unsupported. This is valid on all known static and + # shared platforms. + if test "$hardcode_direct" != unsupported; then + test -n "$old_library" && linklib="$old_library" + compile_deplibs="$dir/$linklib $compile_deplibs" + finalize_deplibs="$dir/$linklib $finalize_deplibs" + else + compile_deplibs="-l$name -L$dir $compile_deplibs" + finalize_deplibs="-l$name -L$dir $finalize_deplibs" + fi + elif test "$build_libtool_libs" = yes; then + # Not a shared library + if test "$deplibs_check_method" != pass_all; then + # We're trying link a shared library against a static one + # but the system doesn't support it. + diff --git a/tests/packagedcode/data/bashlex/ltmain.sh-expected.json b/tests/packagedcode/data/bashlex/ltmain.sh-expected.json new file mode 100644 index 00000000000..22df5057b8d --- /dev/null +++ b/tests/packagedcode/data/bashlex/ltmain.sh-expected.json @@ -0,0 +1,110749 @@ +[ + { + "pos": 0, + "type": [ + "Comment" + ], + "value": "# ltmain.sh - Provide generalized library-building support services." + }, + { + "pos": 68, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 69, + "type": [ + "Comment" + ], + "value": "# NOTE: Changing this file will not affect anything until you rerun configure." + }, + { + "pos": 147, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 148, + "type": [ + "Comment" + ], + "value": "#" + }, + { + "pos": 149, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 150, + "type": [ + "Comment" + ], + "value": "# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005" + }, + { + "pos": 218, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 219, + "type": [ + "Comment" + ], + "value": "# Free Software Foundation, Inc." + }, + { + "pos": 251, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 252, + "type": [ + "Comment" + ], + "value": "# Originally by Gordon Matzigkeit , 1996" + }, + { + "pos": 313, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 314, + "type": [ + "Comment" + ], + "value": "#" + }, + { + "pos": 315, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 316, + "type": [ + "Comment" + ], + "value": "# This program is free software; you can redistribute it and/or modify" + }, + { + "pos": 386, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 387, + "type": [ + "Comment" + ], + "value": "# it under the terms of the GNU General Public License as published by" + }, + { + "pos": 457, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 458, + "type": [ + "Comment" + ], + "value": "# the Free Software Foundation; either version 2 of the License, or" + }, + { + "pos": 525, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 526, + "type": [ + "Comment" + ], + "value": "# (at your option) any later version." + }, + { + "pos": 563, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 564, + "type": [ + "Comment" + ], + "value": "#" + }, + { + "pos": 565, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 566, + "type": [ + "Comment" + ], + "value": "# This program is distributed in the hope that it will be useful, but" + }, + { + "pos": 635, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 636, + "type": [ + "Comment" + ], + "value": "# WITHOUT ANY WARRANTY; without even the implied warranty of" + }, + { + "pos": 696, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 697, + "type": [ + "Comment" + ], + "value": "# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU" + }, + { + "pos": 764, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 765, + "type": [ + "Comment" + ], + "value": "# General Public License for more details." + }, + { + "pos": 807, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 808, + "type": [ + "Comment" + ], + "value": "#" + }, + { + "pos": 809, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 810, + "type": [ + "Comment" + ], + "value": "# You should have received a copy of the GNU General Public License" + }, + { + "pos": 877, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 878, + "type": [ + "Comment" + ], + "value": "# along with this program; if not, write to the Free Software" + }, + { + "pos": 939, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 940, + "type": [ + "Comment" + ], + "value": "# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA." + }, + { + "pos": 1020, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1021, + "type": [ + "Comment" + ], + "value": "#" + }, + { + "pos": 1022, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1023, + "type": [ + "Comment" + ], + "value": "# As a special exception to the GNU General Public License, if you" + }, + { + "pos": 1089, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1090, + "type": [ + "Comment" + ], + "value": "# distribute this file as part of a program that contains a" + }, + { + "pos": 1149, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1150, + "type": [ + "Comment" + ], + "value": "# configuration script generated by Autoconf, you may include it under" + }, + { + "pos": 1220, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1221, + "type": [ + "Comment" + ], + "value": "# the same distribution terms that you use for the rest of that program." + }, + { + "pos": 1293, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 1295, + "type": [ + "Name", + "Variable" + ], + "value": "basename" + }, + { + "pos": 1303, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 1304, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"s,^.*/,,g\"" + }, + { + "pos": 1315, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 1317, + "type": [ + "Comment" + ], + "value": "# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh" + }, + { + "pos": 1389, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1390, + "type": [ + "Comment" + ], + "value": "# is ksh but when the shell is invoked as \"sh\" and the current value of" + }, + { + "pos": 1461, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1462, + "type": [ + "Comment" + ], + "value": "# the _XPG environment variable is not equal to 1 (one), the special" + }, + { + "pos": 1530, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1531, + "type": [ + "Comment" + ], + "value": "# positional parameter $0, within a function call, is the name of the" + }, + { + "pos": 1600, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1601, + "type": [ + "Comment" + ], + "value": "# function." + }, + { + "pos": 1612, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1613, + "type": [ + "Name", + "Variable" + ], + "value": "progpath" + }, + { + "pos": 1621, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 1622, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$0\"" + }, + { + "pos": 1626, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 1628, + "type": [ + "Comment" + ], + "value": "# define SED for historic ltconfig's generated by Libtool 1.3" + }, + { + "pos": 1689, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1690, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 1694, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1695, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 1697, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1698, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$SED\"" + }, + { + "pos": 1704, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1705, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 1707, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1708, + "type": [ + "Text" + ], + "value": "SED=sed" + }, + { + "pos": 1715, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 1717, + "type": [ + "Comment" + ], + "value": "# The name of this program:" + }, + { + "pos": 1744, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1745, + "type": [ + "Name", + "Variable" + ], + "value": "progname" + }, + { + "pos": 1753, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 1754, + "type": [ + "Text" + ], + "value": "`echo" + }, + { + "pos": 1759, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1760, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$progpath\"" + }, + { + "pos": 1771, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1772, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 1773, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1774, + "type": [ + "Text" + ], + "value": "$SED" + }, + { + "pos": 1778, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 1779, + "type": [ + "Text" + ], + "value": "$basename`" + }, + { + "pos": 1789, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1790, + "type": [ + "Name", + "Variable" + ], + "value": "modename" + }, + { + "pos": 1798, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 1799, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$progname\"" + }, + { + "pos": 1810, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 1812, + "type": [ + "Comment" + ], + "value": "# Global variables:" + }, + { + "pos": 1831, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1832, + "type": [ + "Name", + "Variable" + ], + "value": "EXIT_SUCCESS" + }, + { + "pos": 1844, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 1845, + "type": [ + "Text" + ], + "value": "0" + }, + { + "pos": 1846, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1847, + "type": [ + "Name", + "Variable" + ], + "value": "EXIT_FAILURE" + }, + { + "pos": 1859, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 1860, + "type": [ + "Text" + ], + "value": "1" + }, + { + "pos": 1861, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 1863, + "type": [ + "Name", + "Variable" + ], + "value": "PROGRAM" + }, + { + "pos": 1870, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 1871, + "type": [ + "Text" + ], + "value": "ltmain.sh" + }, + { + "pos": 1880, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1881, + "type": [ + "Name", + "Variable" + ], + "value": "PACKAGE" + }, + { + "pos": 1888, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 1889, + "type": [ + "Text" + ], + "value": "libtool" + }, + { + "pos": 1896, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1897, + "type": [ + "Name", + "Variable" + ], + "value": "VERSION" + }, + { + "pos": 1904, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 1905, + "type": [ + "Text" + ], + "value": "1.5.22" + }, + { + "pos": 1911, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 1912, + "type": [ + "Name", + "Variable" + ], + "value": "TIMESTAMP" + }, + { + "pos": 1921, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 1922, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" (1.1220.2.365 2005/12/18 22:14:06)\"" + }, + { + "pos": 1959, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 1961, + "type": [ + "Comment" + ], + "value": "# See if we are running on zsh, and set the options which allow our" + }, + { + "pos": 2028, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2029, + "type": [ + "Comment" + ], + "value": "# commands through without removal of \\ escapes." + }, + { + "pos": 2077, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2078, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 2080, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2081, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 2085, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2086, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 2088, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2089, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${ZSH_VERSION+set}\"" + }, + { + "pos": 2109, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2110, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 2111, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2112, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 2116, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2117, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2119, + "type": [ + "Text" + ], + "value": "setopt" + }, + { + "pos": 2125, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2126, + "type": [ + "Text" + ], + "value": "NO_GLOB_SUBST" + }, + { + "pos": 2139, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2140, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 2142, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2143, + "type": [ + "Comment" + ], + "value": "# Same for EGREP, and just to be sure, do LTCC as well" + }, + { + "pos": 2197, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2198, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 2200, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2201, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 2205, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2206, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$EGREP\"" + }, + { + "pos": 2215, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2216, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 2217, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2218, + "type": [ + "Text" + ], + "value": "X" + }, + { + "pos": 2219, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2220, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 2221, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2222, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 2226, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2227, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2231, + "type": [ + "Text" + ], + "value": "EGREP=egrep" + }, + { + "pos": 2242, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2243, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 2245, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2246, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 2248, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2249, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 2253, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2254, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$LTCC\"" + }, + { + "pos": 2262, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2263, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 2264, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2265, + "type": [ + "Text" + ], + "value": "X" + }, + { + "pos": 2266, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2267, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 2268, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2269, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 2273, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2274, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2278, + "type": [ + "Text" + ], + "value": "LTCC=${CC-gcc}" + }, + { + "pos": 2292, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2293, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 2295, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 2297, + "type": [ + "Comment" + ], + "value": "# Check that we have a working $echo." + }, + { + "pos": 2334, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2335, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 2337, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2338, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 2342, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2343, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$1\"" + }, + { + "pos": 2348, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2349, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 2350, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2351, + "type": [ + "Text" + ], + "value": "X--no-reexec;" + }, + { + "pos": 2364, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2365, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 2369, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2370, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2372, + "type": [ + "Comment" + ], + "value": "# Discard the --no-reexec flag, and continue." + }, + { + "pos": 2417, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2418, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2420, + "type": [ + "Text" + ], + "value": "shift" + }, + { + "pos": 2425, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2426, + "type": [ + "Text" + ], + "value": "elif" + }, + { + "pos": 2430, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2431, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 2435, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2436, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$1\"" + }, + { + "pos": 2441, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2442, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 2443, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2444, + "type": [ + "Text" + ], + "value": "X--fallback-echo;" + }, + { + "pos": 2461, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2462, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 2466, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2467, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2469, + "type": [ + "Comment" + ], + "value": "# Avoid inline document here, it may be left over" + }, + { + "pos": 2518, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2519, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2521, + "type": [ + "Text" + ], + "value": ":" + }, + { + "pos": 2522, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2523, + "type": [ + "Text" + ], + "value": "elif" + }, + { + "pos": 2527, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2528, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 2532, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2533, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X`($echo '\\t') 2>/dev/null`\"" + }, + { + "pos": 2562, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2563, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 2564, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2565, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'X\\t'" + }, + { + "pos": 2570, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 2571, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2572, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 2576, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2577, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2579, + "type": [ + "Comment" + ], + "value": "# Yippee, $echo works!" + }, + { + "pos": 2601, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2602, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2604, + "type": [ + "Text" + ], + "value": ":" + }, + { + "pos": 2605, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2606, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 2610, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2611, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2613, + "type": [ + "Comment" + ], + "value": "# Restart under the correct shell, and then maybe $echo will work." + }, + { + "pos": 2679, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2680, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2682, + "type": [ + "Text" + ], + "value": "exec" + }, + { + "pos": 2686, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2687, + "type": [ + "Text" + ], + "value": "$SHELL" + }, + { + "pos": 2693, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2694, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$progpath\"" + }, + { + "pos": 2705, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2706, + "type": [ + "Text" + ], + "value": "--no-reexec" + }, + { + "pos": 2717, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2718, + "type": [ + "Text" + ], + "value": "${1+\"$@\"}" + }, + { + "pos": 2727, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2728, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 2730, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 2732, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 2734, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2735, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 2739, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2740, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$1\"" + }, + { + "pos": 2745, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2746, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 2747, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2748, + "type": [ + "Text" + ], + "value": "X--fallback-echo;" + }, + { + "pos": 2765, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2766, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 2770, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2771, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2773, + "type": [ + "Comment" + ], + "value": "# used as fallback echo" + }, + { + "pos": 2796, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2797, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2799, + "type": [ + "Text" + ], + "value": "shift" + }, + { + "pos": 2804, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 2805, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2807, + "type": [ + "Text" + ], + "value": "cat" + }, + { + "pos": 2810, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 2811, + "type": [ + "Text" + ], + "value": "<&2" + }, + { + "pos": 4081, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4082, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4084, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 4089, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4090, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"Fatal configuration error. See the $PACKAGE docs for more information.\"" + }, + { + "pos": 4163, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4164, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 4168, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4169, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4171, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 4175, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4176, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 4189, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4190, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 4192, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 4194, + "type": [ + "Comment" + ], + "value": "# Global variables." + }, + { + "pos": 4213, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4214, + "type": [ + "Name", + "Variable" + ], + "value": "mode" + }, + { + "pos": 4218, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 4219, + "type": [ + "Text" + ], + "value": "$default_mode" + }, + { + "pos": 4232, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4233, + "type": [ + "Name", + "Variable" + ], + "value": "nonopt" + }, + { + "pos": 4239, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 4240, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4241, + "type": [ + "Name", + "Variable" + ], + "value": "prev" + }, + { + "pos": 4245, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 4246, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4247, + "type": [ + "Name", + "Variable" + ], + "value": "prevopt" + }, + { + "pos": 4254, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 4255, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4256, + "type": [ + "Name", + "Variable" + ], + "value": "run" + }, + { + "pos": 4259, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 4260, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4261, + "type": [ + "Name", + "Variable" + ], + "value": "show" + }, + { + "pos": 4265, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 4266, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$echo\"" + }, + { + "pos": 4273, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4274, + "type": [ + "Name", + "Variable" + ], + "value": "show_help" + }, + { + "pos": 4283, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 4284, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4285, + "type": [ + "Name", + "Variable" + ], + "value": "execute_dlfiles" + }, + { + "pos": 4300, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 4301, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4302, + "type": [ + "Name", + "Variable" + ], + "value": "duplicate_deps" + }, + { + "pos": 4316, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 4317, + "type": [ + "Text" + ], + "value": "no" + }, + { + "pos": 4319, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4320, + "type": [ + "Name", + "Variable" + ], + "value": "preserve_args" + }, + { + "pos": 4333, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 4334, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4335, + "type": [ + "Name", + "Variable" + ], + "value": "lo2o" + }, + { + "pos": 4339, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 4340, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"s/\\\\.lo\\$/.${objext}/\"" + }, + { + "pos": 4363, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4364, + "type": [ + "Name", + "Variable" + ], + "value": "o2lo" + }, + { + "pos": 4368, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 4369, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"s/\\\\.${objext}\\$/.lo/\"" + }, + { + "pos": 4392, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 4394, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 4396, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4397, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 4401, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4402, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 4404, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4405, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$max_cmd_len\"" + }, + { + "pos": 4419, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 4420, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4421, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 4425, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4426, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4428, + "type": [ + "Text" + ], + "value": "i=0" + }, + { + "pos": 4431, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4432, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4434, + "type": [ + "Text" + ], + "value": "testring=\"ABCD\"" + }, + { + "pos": 4449, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4450, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4452, + "type": [ + "Text" + ], + "value": "new_result=" + }, + { + "pos": 4463, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4464, + "type": [ + "Text", + "WS" + ], + "value": " \n " + }, + { + "pos": 4469, + "type": [ + "Comment" + ], + "value": "# If test is not a shell built-in, we'll probably end up computing a" + }, + { + "pos": 4537, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4538, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4540, + "type": [ + "Comment" + ], + "value": "# maximum length that is only half of the actual maximum length, but" + }, + { + "pos": 4608, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4609, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4611, + "type": [ + "Comment" + ], + "value": "# we can't tell." + }, + { + "pos": 4627, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4628, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4630, + "type": [ + "Text" + ], + "value": "while" + }, + { + "pos": 4635, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4636, + "type": [ + "ArraySep", + "Start" + ], + "value": "(" + }, + { + "pos": 4637, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 4641, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4642, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X\"" + }, + { + "pos": 4645, + "type": [ + "Text" + ], + "value": "`$SHELL" + }, + { + "pos": 4652, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4653, + "type": [ + "Text" + ], + "value": "$0" + }, + { + "pos": 4655, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4656, + "type": [ + "Text" + ], + "value": "--fallback-echo" + }, + { + "pos": 4671, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4672, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$testring\"" + }, + { + "pos": 4684, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4685, + "type": [ + "Text" + ], + "value": "2>/dev/null`" + }, + { + "pos": 4697, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4698, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 4699, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4700, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4713, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 4714, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4715, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"XX$testring\"" + }, + { + "pos": 4728, + "type": [ + "ArraySep", + "End" + ], + "value": ")" + }, + { + "pos": 4729, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4730, + "type": [ + "Text" + ], + "value": ">/dev/null" + }, + { + "pos": 4740, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4741, + "type": [ + "Text" + ], + "value": "2>&1" + }, + { + "pos": 4745, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4746, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 4748, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4749, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4759, + "type": [ + "Text" + ], + "value": "new_result=`expr" + }, + { + "pos": 4775, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4776, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$testring\"" + }, + { + "pos": 4788, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4789, + "type": [ + "Text" + ], + "value": ":" + }, + { + "pos": 4790, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4791, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\".*\"" + }, + { + "pos": 4795, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4796, + "type": [ + "Text" + ], + "value": "2>&1`" + }, + { + "pos": 4801, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4802, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 4804, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4805, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4815, + "type": [ + "Text" + ], + "value": "max_cmd_len=\"$new_result\"" + }, + { + "pos": 4840, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4841, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 4843, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4844, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4854, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 4858, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4859, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$i\"" + }, + { + "pos": 4863, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4864, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 4866, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4867, + "type": [ + "Text" + ], + "value": "17" + }, + { + "pos": 4869, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4870, + "type": [ + "Comment" + ], + "value": "# 1/2 MB should be enough" + }, + { + "pos": 4895, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4896, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4898, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 4900, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4901, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4905, + "type": [ + "Text" + ], + "value": "i=`expr" + }, + { + "pos": 4912, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4913, + "type": [ + "Text" + ], + "value": "$i" + }, + { + "pos": 4915, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4916, + "type": [ + "Text" + ], + "value": "+" + }, + { + "pos": 4917, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4918, + "type": [ + "Text" + ], + "value": "1`" + }, + { + "pos": 4920, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4921, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4925, + "type": [ + "Text" + ], + "value": "testring=\"$testring$testring\"" + }, + { + "pos": 4954, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4955, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4957, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 4961, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4962, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4964, + "type": [ + "Text" + ], + "value": "testring=" + }, + { + "pos": 4973, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 4974, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4976, + "type": [ + "Comment" + ], + "value": "# Add a significant safety factor because C++ compilers can tack on massive" + }, + { + "pos": 5051, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 5052, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 5054, + "type": [ + "Comment" + ], + "value": "# amounts of additional arguments before passing them to the linker." + }, + { + "pos": 5122, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 5123, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 5125, + "type": [ + "Comment" + ], + "value": "# It appears as though 1/2 is a usable value." + }, + { + "pos": 5170, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 5171, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 5173, + "type": [ + "Text" + ], + "value": "max_cmd_len=`expr" + }, + { + "pos": 5190, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 5191, + "type": [ + "Text" + ], + "value": "$max_cmd_len" + }, + { + "pos": 5203, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 5204, + "type": [ + "Text" + ], + "value": "\\/" + }, + { + "pos": 5206, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 5207, + "type": [ + "Text" + ], + "value": "2`" + }, + { + "pos": 5209, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 5210, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 5212, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 5214, + "type": [ + "Comment" + ], + "value": "#####################################" + }, + { + "pos": 5251, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 5252, + "type": [ + "Comment" + ], + "value": "# Shell function definitions:" + }, + { + "pos": 5281, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 5282, + "type": [ + "Comment" + ], + "value": "# This seems to be the best place for them" + }, + { + "pos": 5324, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 5326, + "type": [ + "Comment" + ], + "value": "# func_mktempdir [string]" + }, + { + "pos": 5351, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 5352, + "type": [ + "Comment" + ], + "value": "# Make a temporary directory that won't clash with other running" + }, + { + "pos": 5416, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 5417, + "type": [ + "Comment" + ], + "value": "# libtool processes, and avoids race conditions if possible. If" + }, + { + "pos": 5481, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 5482, + "type": [ + "Comment" + ], + "value": "# given, STRING is the basename for that directory." + }, + { + "pos": 5533, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 5534, + "type": [ + "Text" + ], + "value": "func_mktempdir" + }, + { + "pos": 5548, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 5549, + "type": [ + "ArraySep", + "Start" + ], + "value": "(" + }, + { + "pos": 5550, + "type": [ + "ArraySep", + "End" + ], + "value": ")" + }, + { + "pos": 5551, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 5552, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 5553, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 5554, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 5558, + "type": [ + "Text" + ], + "value": "my_template=\"${TMPDIR-/tmp}/${1-$progname}\"" + }, + { + "pos": 5601, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 5603, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 5607, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 5609, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 5610, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 5614, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 5615, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$run\"" + }, + { + "pos": 5621, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 5622, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 5623, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 5624, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\":\"" + }, + { + "pos": 5627, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 5628, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 5629, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 5633, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 5634, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 5640, + "type": [ + "Comment" + ], + "value": "# Return a directory name, but don't create it in dry-run mode" + }, + { + "pos": 5702, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 5703, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 5709, + "type": [ + "Text" + ], + "value": "my_tmpdir=\"${my_template}-$$\"" + }, + { + "pos": 5738, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 5739, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 5743, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 5747, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 5749, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 5755, + "type": [ + "Comment" + ], + "value": "# If mktemp works, use that first and foremost" + }, + { + "pos": 5801, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 5802, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 5808, + "type": [ + "Text" + ], + "value": "my_tmpdir=`mktemp" + }, + { + "pos": 5825, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 5826, + "type": [ + "Text" + ], + "value": "-d" + }, + { + "pos": 5828, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 5829, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${my_template}-XXXXXXXX\"" + }, + { + "pos": 5854, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 5855, + "type": [ + "Text" + ], + "value": "2>/dev/null`" + }, + { + "pos": 5867, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 5869, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 5875, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 5877, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 5878, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 5882, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 5883, + "type": [ + "Text" + ], + "value": "!" + }, + { + "pos": 5884, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 5885, + "type": [ + "Text" + ], + "value": "-d" + }, + { + "pos": 5887, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 5888, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$my_tmpdir\"" + }, + { + "pos": 5900, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 5901, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 5902, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 5906, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 5907, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 5908, + "type": [ + "Comment" + ], + "value": "# Failing that, at least try and use $RANDOM to avoid a race" + }, + { + "pos": 5968, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 5969, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 5970, + "type": [ + "Text" + ], + "value": "my_tmpdir=\"${my_template}-${RANDOM-0}$$\"" + }, + { + "pos": 6010, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 6012, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 6013, + "type": [ + "Text" + ], + "value": "save_mktempdir_umask=`umask`" + }, + { + "pos": 6041, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 6042, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 6043, + "type": [ + "Text" + ], + "value": "umask" + }, + { + "pos": 6048, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6049, + "type": [ + "Text" + ], + "value": "0077" + }, + { + "pos": 6053, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 6054, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 6055, + "type": [ + "Text" + ], + "value": "$mkdir" + }, + { + "pos": 6061, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6062, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$my_tmpdir\"" + }, + { + "pos": 6074, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 6075, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 6076, + "type": [ + "Text" + ], + "value": "umask" + }, + { + "pos": 6081, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6082, + "type": [ + "Text" + ], + "value": "$save_mktempdir_umask" + }, + { + "pos": 6103, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 6104, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6110, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 6112, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 6114, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6120, + "type": [ + "Comment" + ], + "value": "# If we're not in dry-run mode, bomb out on failure" + }, + { + "pos": 6171, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 6172, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6178, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 6182, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6183, + "type": [ + "Text" + ], + "value": "-d" + }, + { + "pos": 6185, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6186, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$my_tmpdir\"" + }, + { + "pos": 6198, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6199, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 6201, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6202, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 6203, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 6204, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6212, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 6217, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6218, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"cannot create temporary directory \\`$my_tmpdir'\"" + }, + { + "pos": 6267, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6268, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 6272, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 6273, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 6274, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 6278, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6279, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 6292, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 6293, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6299, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 6300, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 6301, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6305, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 6307, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 6309, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6313, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 6318, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6319, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$my_tmpdir\"" + }, + { + "pos": 6332, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6333, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 6334, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6335, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 6340, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 6341, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 6342, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n\n" + }, + { + "pos": 6345, + "type": [ + "Comment" + ], + "value": "# func_win32_libid arg" + }, + { + "pos": 6367, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 6368, + "type": [ + "Comment" + ], + "value": "# return the library type of file 'arg'" + }, + { + "pos": 6407, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 6408, + "type": [ + "Comment" + ], + "value": "#" + }, + { + "pos": 6409, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 6410, + "type": [ + "Comment" + ], + "value": "# Need a lot of goo to handle *both* DLLs and import libs" + }, + { + "pos": 6467, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 6468, + "type": [ + "Comment" + ], + "value": "# Has to be a shell function in order to 'eat' the argument" + }, + { + "pos": 6527, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 6528, + "type": [ + "Comment" + ], + "value": "# that is supplied when $file_magic_command is called." + }, + { + "pos": 6582, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 6583, + "type": [ + "Text" + ], + "value": "func_win32_libid" + }, + { + "pos": 6599, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6600, + "type": [ + "ArraySep", + "Start" + ], + "value": "(" + }, + { + "pos": 6601, + "type": [ + "ArraySep", + "End" + ], + "value": ")" + }, + { + "pos": 6602, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 6603, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 6604, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 6605, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6607, + "type": [ + "Text" + ], + "value": "win32_libid_type=\"unknown\"" + }, + { + "pos": 6633, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 6634, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6636, + "type": [ + "Text" + ], + "value": "win32_fileres=`file" + }, + { + "pos": 6655, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6656, + "type": [ + "Text" + ], + "value": "-L" + }, + { + "pos": 6658, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6659, + "type": [ + "Text" + ], + "value": "$1" + }, + { + "pos": 6661, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6662, + "type": [ + "Text" + ], + "value": "2>/dev/null`" + }, + { + "pos": 6674, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 6675, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6677, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 6681, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6682, + "type": [ + "Text" + ], + "value": "$win32_fileres" + }, + { + "pos": 6696, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6697, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 6699, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 6700, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6702, + "type": [ + "Text" + ], + "value": "*ar\\" + }, + { + "pos": 6706, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6707, + "type": [ + "Text" + ], + "value": "archive\\" + }, + { + "pos": 6715, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6716, + "type": [ + "Text" + ], + "value": "import\\" + }, + { + "pos": 6723, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6724, + "type": [ + "Text" + ], + "value": "library*)" + }, + { + "pos": 6733, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6734, + "type": [ + "Comment" + ], + "value": "# definitely import" + }, + { + "pos": 6753, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 6754, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6758, + "type": [ + "Text" + ], + "value": "win32_libid_type=\"x86" + }, + { + "pos": 6779, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6780, + "type": [ + "Text" + ], + "value": "archive" + }, + { + "pos": 6787, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6788, + "type": [ + "Text" + ], + "value": "import\"" + }, + { + "pos": 6795, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 6796, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6800, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 6802, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 6803, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6805, + "type": [ + "Text" + ], + "value": "*ar\\" + }, + { + "pos": 6809, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6810, + "type": [ + "Text" + ], + "value": "archive*)" + }, + { + "pos": 6819, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6820, + "type": [ + "Comment" + ], + "value": "# could be an import, or static" + }, + { + "pos": 6851, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 6852, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6856, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 6858, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6859, + "type": [ + "Text" + ], + "value": "eval" + }, + { + "pos": 6863, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6864, + "type": [ + "Text" + ], + "value": "$OBJDUMP" + }, + { + "pos": 6872, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6873, + "type": [ + "Text" + ], + "value": "-f" + }, + { + "pos": 6875, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6876, + "type": [ + "Text" + ], + "value": "$1" + }, + { + "pos": 6878, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6879, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 6880, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6881, + "type": [ + "Text" + ], + "value": "$SED" + }, + { + "pos": 6885, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6886, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 6888, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6889, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'10q'" + }, + { + "pos": 6894, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6895, + "type": [ + "Text" + ], + "value": "2>/dev/null" + }, + { + "pos": 6906, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6907, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 6908, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6909, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 6910, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 6911, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6917, + "type": [ + "Text" + ], + "value": "$EGREP" + }, + { + "pos": 6923, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6924, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 6926, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6927, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'file format pe-i386(.*architecture: i386)?'" + }, + { + "pos": 6971, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6972, + "type": [ + "Text" + ], + "value": ">/dev/null" + }, + { + "pos": 6982, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6983, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 6984, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6985, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 6989, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 6990, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 6996, + "type": [ + "Text" + ], + "value": "win32_nmres=`eval" + }, + { + "pos": 7013, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7014, + "type": [ + "Text" + ], + "value": "$NM" + }, + { + "pos": 7017, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7018, + "type": [ + "Text" + ], + "value": "-f" + }, + { + "pos": 7020, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7021, + "type": [ + "Text" + ], + "value": "posix" + }, + { + "pos": 7026, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7027, + "type": [ + "Text" + ], + "value": "-A" + }, + { + "pos": 7029, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7030, + "type": [ + "Text" + ], + "value": "$1" + }, + { + "pos": 7032, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7033, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 7034, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7035, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 7036, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7037, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 7038, + "type": [ + "Text" + ], + "value": "$SED" + }, + { + "pos": 7042, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7043, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 7045, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7046, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 7048, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7049, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'1,100{/ I /{s,.*,import,;p;q;};}'" + }, + { + "pos": 7083, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 7084, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7085, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7091, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 7095, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7096, + "type": [ + "Text" + ], + "value": "$win32_nmres" + }, + { + "pos": 7108, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7109, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 7111, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7112, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7118, + "type": [ + "Text" + ], + "value": "import*)" + }, + { + "pos": 7126, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7128, + "type": [ + "Text" + ], + "value": "win32_libid_type=\"x86" + }, + { + "pos": 7149, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7150, + "type": [ + "Text" + ], + "value": "archive" + }, + { + "pos": 7157, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7158, + "type": [ + "Text" + ], + "value": "import\";;" + }, + { + "pos": 7167, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7168, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7174, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 7176, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7184, + "type": [ + "Text" + ], + "value": "win32_libid_type=\"x86" + }, + { + "pos": 7205, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7206, + "type": [ + "Text" + ], + "value": "archive" + }, + { + "pos": 7213, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7214, + "type": [ + "Text" + ], + "value": "static\";;" + }, + { + "pos": 7223, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7224, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7230, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 7234, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7235, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7239, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 7241, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7242, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7246, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 7248, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7249, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7251, + "type": [ + "Text" + ], + "value": "*DLL*)" + }, + { + "pos": 7257, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7258, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7262, + "type": [ + "Text" + ], + "value": "win32_libid_type=\"x86" + }, + { + "pos": 7283, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7284, + "type": [ + "Text" + ], + "value": "DLL\"" + }, + { + "pos": 7288, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7289, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7293, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 7295, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7296, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7298, + "type": [ + "Text" + ], + "value": "*executable*)" + }, + { + "pos": 7311, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7312, + "type": [ + "Comment" + ], + "value": "# but shell scripts are \"executable\" too..." + }, + { + "pos": 7355, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7356, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7360, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 7364, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7365, + "type": [ + "Text" + ], + "value": "$win32_fileres" + }, + { + "pos": 7379, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7380, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 7382, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7383, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7387, + "type": [ + "Text" + ], + "value": "*MS\\" + }, + { + "pos": 7391, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7392, + "type": [ + "Text" + ], + "value": "Windows\\" + }, + { + "pos": 7400, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7401, + "type": [ + "Text" + ], + "value": "PE\\" + }, + { + "pos": 7404, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7405, + "type": [ + "Text" + ], + "value": "Intel*)" + }, + { + "pos": 7412, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7413, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7419, + "type": [ + "Text" + ], + "value": "win32_libid_type=\"x86" + }, + { + "pos": 7440, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7441, + "type": [ + "Text" + ], + "value": "DLL\"" + }, + { + "pos": 7445, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7446, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7452, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 7454, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7455, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7459, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 7463, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7464, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7468, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 7470, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7471, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7473, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 7477, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7478, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7480, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 7485, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7486, + "type": [ + "Text" + ], + "value": "$win32_libid_type" + }, + { + "pos": 7503, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7504, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 7505, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n\n" + }, + { + "pos": 7508, + "type": [ + "Comment" + ], + "value": "# func_infer_tag arg" + }, + { + "pos": 7528, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7529, + "type": [ + "Comment" + ], + "value": "# Infer tagged configuration to use if any are available and" + }, + { + "pos": 7589, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7590, + "type": [ + "Comment" + ], + "value": "# if one wasn't chosen via the \"--tag\" command line option." + }, + { + "pos": 7649, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7650, + "type": [ + "Comment" + ], + "value": "# Only attempt this if the compiler in the base compile" + }, + { + "pos": 7705, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7706, + "type": [ + "Comment" + ], + "value": "# command doesn't match the default compiler." + }, + { + "pos": 7751, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7752, + "type": [ + "Comment" + ], + "value": "# arg is usually of the form 'gcc ...'" + }, + { + "pos": 7790, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7791, + "type": [ + "Text" + ], + "value": "func_infer_tag" + }, + { + "pos": 7805, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7806, + "type": [ + "ArraySep", + "Start" + ], + "value": "(" + }, + { + "pos": 7807, + "type": [ + "ArraySep", + "End" + ], + "value": ")" + }, + { + "pos": 7808, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7809, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 7810, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7811, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7815, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 7817, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7818, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 7822, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7823, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 7825, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7826, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$available_tags\"" + }, + { + "pos": 7843, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7844, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 7846, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7847, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 7851, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7852, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 7854, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7855, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$tagname\"" + }, + { + "pos": 7865, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 7866, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7867, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 7871, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7872, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7878, + "type": [ + "Text" + ], + "value": "CC_quoted=" + }, + { + "pos": 7888, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7889, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7895, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 7898, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7899, + "type": [ + "Text" + ], + "value": "arg" + }, + { + "pos": 7902, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7903, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 7905, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7906, + "type": [ + "Text" + ], + "value": "$CC;" + }, + { + "pos": 7910, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7911, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 7913, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7914, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 7915, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 7919, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7920, + "type": [ + "Text" + ], + "value": "$arg" + }, + { + "pos": 7924, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7925, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 7927, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7928, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 7931, + "type": [ + "Text" + ], + "value": "*[\\[\\~\\#\\^\\&\\*\\(\\)\\{\\}\\|\\;\\<\\>\\?\\'\\" + }, + { + "pos": 7966, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 7967, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 7968, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 7969, + "type": [ + "Text" + ], + "value": "]*|*]*|\"\")" + }, + { + "pos": 7979, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7980, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 7983, + "type": [ + "Text" + ], + "value": "arg=\"\\\"$arg\\\"\"" + }, + { + "pos": 7997, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 7998, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 8001, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 8003, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8004, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 8005, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 8009, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8010, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 8011, + "type": [ + "Text" + ], + "value": "CC_quoted=\"$CC_quoted" + }, + { + "pos": 8032, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8033, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 8038, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8039, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8045, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 8049, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8050, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8056, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 8060, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8061, + "type": [ + "Text" + ], + "value": "$@" + }, + { + "pos": 8063, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8064, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 8066, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8067, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8073, + "type": [ + "Comment" + ], + "value": "# Blanks in the command may have been stripped by the calling shell," + }, + { + "pos": 8141, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8142, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8148, + "type": [ + "Comment" + ], + "value": "# but not from the CC environment variable when configure was run." + }, + { + "pos": 8214, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8215, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8221, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" $CC \"" + }, + { + "pos": 8228, + "type": [ + "Text" + ], + "value": "*" + }, + { + "pos": 8229, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8230, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 8231, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8232, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CC \"" + }, + { + "pos": 8238, + "type": [ + "Text" + ], + "value": "*" + }, + { + "pos": 8239, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8240, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 8241, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8242, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" `$echo $CC` \"" + }, + { + "pos": 8257, + "type": [ + "Text" + ], + "value": "*" + }, + { + "pos": 8258, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8259, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 8260, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8261, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"`$echo $CC` \"" + }, + { + "pos": 8275, + "type": [ + "Text" + ], + "value": "*" + }, + { + "pos": 8276, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8277, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 8278, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8279, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" $CC_quoted\"" + }, + { + "pos": 8292, + "type": [ + "Text" + ], + "value": "*" + }, + { + "pos": 8293, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8294, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 8295, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8296, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CC_quoted \"" + }, + { + "pos": 8309, + "type": [ + "Text" + ], + "value": "*" + }, + { + "pos": 8310, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8311, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 8312, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8313, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" `$echo $CC_quoted` \"" + }, + { + "pos": 8335, + "type": [ + "Text" + ], + "value": "*" + }, + { + "pos": 8336, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8337, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 8338, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8339, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"`$echo $CC_quoted` \"" + }, + { + "pos": 8360, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 8362, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8363, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 8365, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8366, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8372, + "type": [ + "Comment" + ], + "value": "# Blanks at the start of $base_compile will cause this to fail" + }, + { + "pos": 8434, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8435, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8441, + "type": [ + "Comment" + ], + "value": "# if we don't check for them as well." + }, + { + "pos": 8478, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8479, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8485, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 8487, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8488, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 8489, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 8492, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8493, + "type": [ + "Text" + ], + "value": "z" + }, + { + "pos": 8494, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8495, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 8497, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8498, + "type": [ + "Text" + ], + "value": "$available_tags;" + }, + { + "pos": 8514, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8515, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 8517, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8518, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 8521, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 8523, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8524, + "type": [ + "Text" + ], + "value": "grep" + }, + { + "pos": 8528, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8529, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"^# ### BEGIN LIBTOOL TAG CONFIG: $z$\"" + }, + { + "pos": 8567, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8568, + "type": [ + "Text" + ], + "value": "<" + }, + { + "pos": 8569, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8570, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$progpath\"" + }, + { + "pos": 8581, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8582, + "type": [ + "Text" + ], + "value": ">" + }, + { + "pos": 8583, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8584, + "type": [ + "Text" + ], + "value": "/dev/null;" + }, + { + "pos": 8594, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8595, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 8599, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8600, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 8605, + "type": [ + "Comment" + ], + "value": "# Evaluate the configuration." + }, + { + "pos": 8634, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8635, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 8640, + "type": [ + "Text" + ], + "value": "eval" + }, + { + "pos": 8644, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8645, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`\"" + }, + { + "pos": 8756, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8757, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 8762, + "type": [ + "Text" + ], + "value": "CC_quoted=" + }, + { + "pos": 8772, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8773, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 8778, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 8781, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8782, + "type": [ + "Text" + ], + "value": "arg" + }, + { + "pos": 8785, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8786, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 8788, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8789, + "type": [ + "Text" + ], + "value": "$CC;" + }, + { + "pos": 8793, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8794, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 8796, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8797, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 8802, + "type": [ + "Comment" + ], + "value": "# Double-quote args containing other shell metacharacters." + }, + { + "pos": 8860, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8861, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 8866, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 8870, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8871, + "type": [ + "Text" + ], + "value": "$arg" + }, + { + "pos": 8875, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8876, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 8878, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8879, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 8886, + "type": [ + "Text" + ], + "value": "*[\\[\\~\\#\\^\\&\\*\\(\\)\\{\\}\\|\\;\\<\\>\\?\\'\\" + }, + { + "pos": 8921, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 8922, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 8923, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 8924, + "type": [ + "Text" + ], + "value": "]*|*]*|\"\")" + }, + { + "pos": 8934, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8935, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 8942, + "type": [ + "Text" + ], + "value": "arg=\"\\\"$arg\\\"\"" + }, + { + "pos": 8956, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8957, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 8964, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 8966, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8967, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 8972, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 8976, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 8977, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 8982, + "type": [ + "Text" + ], + "value": "CC_quoted=\"$CC_quoted" + }, + { + "pos": 9003, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9004, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 9009, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 9010, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 9013, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 9017, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 9018, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 9023, + "type": [ + "Comment" + ], + "value": "# user sometimes does CC=-gcc so we need to match that to 'gcc'" + }, + { + "pos": 9092, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 9093, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 9098, + "type": [ + "Text" + ], + "value": "trimedcc=`echo" + }, + { + "pos": 9112, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9113, + "type": [ + "Text" + ], + "value": "${CC}" + }, + { + "pos": 9118, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9119, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 9120, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9121, + "type": [ + "Text" + ], + "value": "$SED" + }, + { + "pos": 9125, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9126, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 9128, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9129, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"s/${host}-//g\"" + }, + { + "pos": 9144, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 9145, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 9146, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 9151, + "type": [ + "Comment" + ], + "value": "# and sometimes libtool has CC=-gcc but user does CC=gcc" + }, + { + "pos": 9213, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 9214, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 9219, + "type": [ + "Text" + ], + "value": "extendcc=${host}-${CC}" + }, + { + "pos": 9241, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 9242, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 9247, + "type": [ + "Comment" + ], + "value": "# and sometimes libtool has CC=-gcc but user has CC=-gcc " + }, + { + "pos": 9323, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 9324, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 9329, + "type": [ + "Comment" + ], + "value": "# (Gentoo-specific hack because we always export $CHOST)" + }, + { + "pos": 9385, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 9386, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 9391, + "type": [ + "Text" + ], + "value": "mungedcc=${CHOST-${host}}-${trimedcc}" + }, + { + "pos": 9428, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 9429, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 9434, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 9438, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9439, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$@ \"" + }, + { + "pos": 9444, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9445, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 9447, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 9448, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 9455, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"cc \"" + }, + { + "pos": 9460, + "type": [ + "Text" + ], + "value": "*" + }, + { + "pos": 9461, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9462, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 9463, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9464, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" cc \"" + }, + { + "pos": 9470, + "type": [ + "Text" + ], + "value": "*" + }, + { + "pos": 9471, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9472, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 9473, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9474, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${host}-cc \"" + }, + { + "pos": 9487, + "type": [ + "Text" + ], + "value": "*" + }, + { + "pos": 9488, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9489, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 9490, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9491, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" ${host}-cc \"" + }, + { + "pos": 9505, + "type": [ + "Text" + ], + "value": "*|\\" + }, + { + "pos": 9508, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 9509, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 9516, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"gcc \"" + }, + { + "pos": 9522, + "type": [ + "Text" + ], + "value": "*" + }, + { + "pos": 9523, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9524, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 9525, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9526, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" gcc \"" + }, + { + "pos": 9533, + "type": [ + "Text" + ], + "value": "*" + }, + { + "pos": 9534, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9535, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 9536, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9537, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${host}-gcc \"" + }, + { + "pos": 9551, + "type": [ + "Text" + ], + "value": "*" + }, + { + "pos": 9552, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9553, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 9554, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9555, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" ${host}-gcc \"" + }, + { + "pos": 9570, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 9572, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 9573, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 9580, + "type": [ + "Text" + ], + "value": "tagname=CC" + }, + { + "pos": 9590, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 9591, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 9598, + "type": [ + "Text" + ], + "value": "break" + }, + { + "pos": 9603, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9604, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 9606, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 9607, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 9614, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$trimedcc \"" + }, + { + "pos": 9626, + "type": [ + "Text" + ], + "value": "*" + }, + { + "pos": 9627, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9628, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 9629, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9630, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" $trimedcc \"" + }, + { + "pos": 9643, + "type": [ + "Text" + ], + "value": "*" + }, + { + "pos": 9644, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9645, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 9646, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9647, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"`$echo $trimedcc` \"" + }, + { + "pos": 9667, + "type": [ + "Text" + ], + "value": "*" + }, + { + "pos": 9668, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9669, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 9670, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9671, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" `$echo $trimedcc` \"" + }, + { + "pos": 9692, + "type": [ + "Text" + ], + "value": "*|\\" + }, + { + "pos": 9695, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 9696, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 9703, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$extendcc \"" + }, + { + "pos": 9715, + "type": [ + "Text" + ], + "value": "*" + }, + { + "pos": 9716, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9717, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 9718, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9719, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" $extendcc \"" + }, + { + "pos": 9732, + "type": [ + "Text" + ], + "value": "*" + }, + { + "pos": 9733, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9734, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 9735, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9736, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"`$echo $extendcc` \"" + }, + { + "pos": 9756, + "type": [ + "Text" + ], + "value": "*" + }, + { + "pos": 9757, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9758, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 9759, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9760, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" `$echo $extendcc` \"" + }, + { + "pos": 9781, + "type": [ + "Text" + ], + "value": "*|\\" + }, + { + "pos": 9784, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 9785, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 9792, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$mungedcc \"" + }, + { + "pos": 9804, + "type": [ + "Text" + ], + "value": "*" + }, + { + "pos": 9805, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9806, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 9807, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9808, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" $mungedcc \"" + }, + { + "pos": 9821, + "type": [ + "Text" + ], + "value": "*" + }, + { + "pos": 9822, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9823, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 9824, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9825, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"`$echo $mungedcc` \"" + }, + { + "pos": 9845, + "type": [ + "Text" + ], + "value": "*" + }, + { + "pos": 9846, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9847, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 9848, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9849, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" `$echo $mungedcc` \"" + }, + { + "pos": 9870, + "type": [ + "Text" + ], + "value": "*|\\" + }, + { + "pos": 9873, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 9874, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 9881, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" $CC \"" + }, + { + "pos": 9888, + "type": [ + "Text" + ], + "value": "*" + }, + { + "pos": 9889, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9890, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 9891, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9892, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CC \"" + }, + { + "pos": 9898, + "type": [ + "Text" + ], + "value": "*" + }, + { + "pos": 9899, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9900, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 9901, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9902, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" `$echo $CC` \"" + }, + { + "pos": 9917, + "type": [ + "Text" + ], + "value": "*" + }, + { + "pos": 9918, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9919, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 9920, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9921, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"`$echo $CC` \"" + }, + { + "pos": 9935, + "type": [ + "Text" + ], + "value": "*" + }, + { + "pos": 9936, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9937, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 9938, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9939, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" $CC_quoted\"" + }, + { + "pos": 9952, + "type": [ + "Text" + ], + "value": "*" + }, + { + "pos": 9953, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9954, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 9955, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9956, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$CC_quoted \"" + }, + { + "pos": 9969, + "type": [ + "Text" + ], + "value": "*" + }, + { + "pos": 9970, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9971, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 9972, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9973, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" `$echo $CC_quoted` \"" + }, + { + "pos": 9995, + "type": [ + "Text" + ], + "value": "*" + }, + { + "pos": 9996, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9997, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 9998, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 9999, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"`$echo $CC_quoted` \"" + }, + { + "pos": 10020, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 10022, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10023, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 10030, + "type": [ + "Comment" + ], + "value": "# The compiler in the base compile command matches" + }, + { + "pos": 10080, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10081, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 10088, + "type": [ + "Comment" + ], + "value": "# the one in the tagged configuration." + }, + { + "pos": 10126, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10127, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 10134, + "type": [ + "Comment" + ], + "value": "# Assume this is the tagged configuration we want." + }, + { + "pos": 10184, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10185, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 10192, + "type": [ + "Text" + ], + "value": "tagname=$z" + }, + { + "pos": 10202, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10203, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 10210, + "type": [ + "Text" + ], + "value": "break" + }, + { + "pos": 10215, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10216, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 10223, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 10225, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10226, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 10231, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 10235, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10236, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 10239, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 10241, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10242, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 10243, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 10247, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10248, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 10249, + "type": [ + "Comment" + ], + "value": "# If $tagname still isn't set, then no tagged configuration" + }, + { + "pos": 10308, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10309, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 10310, + "type": [ + "Comment" + ], + "value": "# was found and let the user know that the \"--tag\" command" + }, + { + "pos": 10368, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10369, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 10370, + "type": [ + "Comment" + ], + "value": "# line option must be used." + }, + { + "pos": 10397, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10398, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 10399, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 10401, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10402, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 10406, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10407, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 10409, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10410, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$tagname\"" + }, + { + "pos": 10420, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 10421, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10422, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 10426, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10427, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 10430, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 10435, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10436, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: unable to infer tagged configuration\"" + }, + { + "pos": 10485, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10486, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 10489, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 10494, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10495, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: specify a tag with \\`--tag'\"" + }, + { + "pos": 10535, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10536, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 10540, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10541, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 10544, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 10548, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10549, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 10562, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10563, + "type": [ + "Comment" + ], + "value": "# else" + }, + { + "pos": 10576, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10577, + "type": [ + "Comment" + ], + "value": "# $echo \"$modename: using $tagname tagged configuration\"" + }, + { + "pos": 10642, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10643, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 10644, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 10646, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10647, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 10648, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 10650, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10651, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10657, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 10661, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10662, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10666, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 10668, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10669, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 10670, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n\n" + }, + { + "pos": 10673, + "type": [ + "Comment" + ], + "value": "# func_extract_an_archive dir oldlib" + }, + { + "pos": 10709, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10710, + "type": [ + "Text" + ], + "value": "func_extract_an_archive" + }, + { + "pos": 10733, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10734, + "type": [ + "ArraySep", + "Start" + ], + "value": "(" + }, + { + "pos": 10735, + "type": [ + "ArraySep", + "End" + ], + "value": ")" + }, + { + "pos": 10736, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10737, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 10738, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10739, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10743, + "type": [ + "Text" + ], + "value": "f_ex_an_ar_dir=\"$1\";" + }, + { + "pos": 10763, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10764, + "type": [ + "Text" + ], + "value": "shift" + }, + { + "pos": 10769, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10770, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10774, + "type": [ + "Text" + ], + "value": "f_ex_an_ar_oldlib=\"$1\"" + }, + { + "pos": 10796, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 10798, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10802, + "type": [ + "Text" + ], + "value": "$show" + }, + { + "pos": 10807, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10808, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_oldlib)\"" + }, + { + "pos": 10858, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10859, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10863, + "type": [ + "Text" + ], + "value": "$run" + }, + { + "pos": 10867, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10868, + "type": [ + "Text" + ], + "value": "eval" + }, + { + "pos": 10872, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10873, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"(cd \\$f_ex_an_ar_dir && $AR x \\$f_ex_an_ar_oldlib)\"" + }, + { + "pos": 10925, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10926, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 10928, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10929, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 10933, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10934, + "type": [ + "Text" + ], + "value": "$?" + }, + { + "pos": 10936, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 10937, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10941, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 10943, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10944, + "type": [ + "ArraySep", + "Start" + ], + "value": "(" + }, + { + "pos": 10945, + "type": [ + "Text" + ], + "value": "$AR" + }, + { + "pos": 10948, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10949, + "type": [ + "Text" + ], + "value": "t" + }, + { + "pos": 10950, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10951, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$f_ex_an_ar_oldlib\"" + }, + { + "pos": 10971, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10972, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 10973, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10974, + "type": [ + "Text" + ], + "value": "sort" + }, + { + "pos": 10978, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10979, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 10980, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10981, + "type": [ + "Text" + ], + "value": "sort" + }, + { + "pos": 10985, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10986, + "type": [ + "Text" + ], + "value": "-uc" + }, + { + "pos": 10989, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 10990, + "type": [ + "Text" + ], + "value": ">/dev/null" + }, + { + "pos": 11000, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11001, + "type": [ + "Text" + ], + "value": "2>&1);" + }, + { + "pos": 11007, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11008, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 11012, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11013, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11018, + "type": [ + "Text" + ], + "value": ":" + }, + { + "pos": 11019, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11020, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11024, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 11028, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11029, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11035, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 11040, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11041, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: ERROR: object name conflicts: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib\"" + }, + { + "pos": 11118, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11119, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 11123, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11124, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11130, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 11134, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11135, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 11148, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11149, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11153, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 11155, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11156, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 11157, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 11159, + "type": [ + "Comment" + ], + "value": "# func_extract_archives gentop oldlib ..." + }, + { + "pos": 11200, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11201, + "type": [ + "Text" + ], + "value": "func_extract_archives" + }, + { + "pos": 11222, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11223, + "type": [ + "ArraySep", + "Start" + ], + "value": "(" + }, + { + "pos": 11224, + "type": [ + "ArraySep", + "End" + ], + "value": ")" + }, + { + "pos": 11225, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11226, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 11227, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11228, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11232, + "type": [ + "Text" + ], + "value": "my_gentop=\"$1\";" + }, + { + "pos": 11247, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11248, + "type": [ + "Text" + ], + "value": "shift" + }, + { + "pos": 11253, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11254, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11258, + "type": [ + "Text" + ], + "value": "my_oldlibs=${1+\"$@\"}" + }, + { + "pos": 11278, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11279, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11283, + "type": [ + "Text" + ], + "value": "my_oldobjs=\"\"" + }, + { + "pos": 11296, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11297, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11301, + "type": [ + "Text" + ], + "value": "my_xlib=\"\"" + }, + { + "pos": 11311, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11312, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11316, + "type": [ + "Text" + ], + "value": "my_xabs=\"\"" + }, + { + "pos": 11326, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11327, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11331, + "type": [ + "Text" + ], + "value": "my_xdir=\"\"" + }, + { + "pos": 11341, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11342, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11346, + "type": [ + "Text" + ], + "value": "my_status=\"\"" + }, + { + "pos": 11358, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 11360, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11364, + "type": [ + "Text" + ], + "value": "$show" + }, + { + "pos": 11369, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11370, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${rm}r $my_gentop\"" + }, + { + "pos": 11389, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11390, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11394, + "type": [ + "Text" + ], + "value": "$run" + }, + { + "pos": 11398, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11399, + "type": [ + "Text" + ], + "value": "${rm}r" + }, + { + "pos": 11405, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11406, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$my_gentop\"" + }, + { + "pos": 11418, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11419, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11423, + "type": [ + "Text" + ], + "value": "$show" + }, + { + "pos": 11428, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11429, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$mkdir $my_gentop\"" + }, + { + "pos": 11448, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11449, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11453, + "type": [ + "Text" + ], + "value": "$run" + }, + { + "pos": 11457, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11458, + "type": [ + "Text" + ], + "value": "$mkdir" + }, + { + "pos": 11464, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11465, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$my_gentop\"" + }, + { + "pos": 11477, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11478, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11482, + "type": [ + "Text" + ], + "value": "my_status=$?" + }, + { + "pos": 11494, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11495, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11499, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 11501, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11502, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 11506, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11507, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$my_status\"" + }, + { + "pos": 11519, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11520, + "type": [ + "Text" + ], + "value": "-ne" + }, + { + "pos": 11523, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11524, + "type": [ + "Text" + ], + "value": "0" + }, + { + "pos": 11525, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11526, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 11528, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11529, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 11533, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11534, + "type": [ + "Text" + ], + "value": "!" + }, + { + "pos": 11535, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11536, + "type": [ + "Text" + ], + "value": "-d" + }, + { + "pos": 11538, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11539, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$my_gentop\"" + }, + { + "pos": 11551, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 11552, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11553, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 11557, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11558, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11564, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 11568, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11569, + "type": [ + "Text" + ], + "value": "$my_status" + }, + { + "pos": 11579, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11580, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11584, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 11586, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 11588, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11592, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 11595, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11596, + "type": [ + "Text" + ], + "value": "my_xlib" + }, + { + "pos": 11603, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11604, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 11606, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11607, + "type": [ + "Text" + ], + "value": "$my_oldlibs;" + }, + { + "pos": 11619, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11620, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 11622, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11623, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11629, + "type": [ + "Comment" + ], + "value": "# Extract the objects." + }, + { + "pos": 11651, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11652, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11658, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 11662, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11663, + "type": [ + "Text" + ], + "value": "$my_xlib" + }, + { + "pos": 11671, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11672, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 11674, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11675, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 11676, + "type": [ + "Text" + ], + "value": "[\\\\/]*" + }, + { + "pos": 11682, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11683, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 11684, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11685, + "type": [ + "Text" + ], + "value": "[A-Za-z]:[\\\\/]*)" + }, + { + "pos": 11701, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11702, + "type": [ + "Text" + ], + "value": "my_xabs=\"$my_xlib\"" + }, + { + "pos": 11720, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11721, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 11723, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11724, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 11725, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 11727, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11728, + "type": [ + "Text" + ], + "value": "my_xabs=`pwd`\"/$my_xlib\"" + }, + { + "pos": 11752, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11753, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 11755, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11756, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11762, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 11766, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11767, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11773, + "type": [ + "Text" + ], + "value": "my_xlib=`$echo" + }, + { + "pos": 11787, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11788, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$my_xlib\"" + }, + { + "pos": 11799, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11800, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 11801, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11802, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 11807, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11808, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 11810, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11811, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s%^.*/%%'" + }, + { + "pos": 11821, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 11822, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11823, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11829, + "type": [ + "Text" + ], + "value": "my_xdir=\"$my_gentop/$my_xlib\"" + }, + { + "pos": 11858, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 11860, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11866, + "type": [ + "Text" + ], + "value": "$show" + }, + { + "pos": 11871, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11872, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${rm}r $my_xdir\"" + }, + { + "pos": 11889, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11890, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11896, + "type": [ + "Text" + ], + "value": "$run" + }, + { + "pos": 11900, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11901, + "type": [ + "Text" + ], + "value": "${rm}r" + }, + { + "pos": 11907, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11908, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$my_xdir\"" + }, + { + "pos": 11918, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11919, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11925, + "type": [ + "Text" + ], + "value": "$show" + }, + { + "pos": 11930, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11931, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$mkdir $my_xdir\"" + }, + { + "pos": 11948, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11949, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11955, + "type": [ + "Text" + ], + "value": "$run" + }, + { + "pos": 11959, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11960, + "type": [ + "Text" + ], + "value": "$mkdir" + }, + { + "pos": 11966, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11967, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$my_xdir\"" + }, + { + "pos": 11977, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11978, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 11984, + "type": [ + "Text" + ], + "value": "exit_status=$?" + }, + { + "pos": 11998, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11999, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12005, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 12007, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12008, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 12012, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12013, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$exit_status\"" + }, + { + "pos": 12027, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12028, + "type": [ + "Text" + ], + "value": "-ne" + }, + { + "pos": 12031, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12032, + "type": [ + "Text" + ], + "value": "0" + }, + { + "pos": 12033, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12034, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 12036, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12037, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 12041, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12042, + "type": [ + "Text" + ], + "value": "!" + }, + { + "pos": 12043, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12044, + "type": [ + "Text" + ], + "value": "-d" + }, + { + "pos": 12046, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12047, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$my_xdir\"" + }, + { + "pos": 12057, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 12058, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12059, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 12063, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12064, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 12065, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 12069, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12070, + "type": [ + "Text" + ], + "value": "$exit_status" + }, + { + "pos": 12082, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12083, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12089, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 12091, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12092, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12098, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 12102, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12103, + "type": [ + "Text" + ], + "value": "$host" + }, + { + "pos": 12108, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12109, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 12111, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12112, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12118, + "type": [ + "Text" + ], + "value": "*-darwin*)" + }, + { + "pos": 12128, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12129, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 12130, + "type": [ + "Text" + ], + "value": "$show" + }, + { + "pos": 12135, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12136, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"Extracting $my_xabs\"" + }, + { + "pos": 12157, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12158, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 12159, + "type": [ + "Comment" + ], + "value": "# Do not bother doing anything if just a dry run" + }, + { + "pos": 12207, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12208, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 12209, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 12211, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12212, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 12216, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12217, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 12219, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12220, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$run\"" + }, + { + "pos": 12226, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 12227, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12228, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 12232, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12233, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 12236, + "type": [ + "Text" + ], + "value": "darwin_orig_dir=`pwd`" + }, + { + "pos": 12257, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12258, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 12261, + "type": [ + "Text" + ], + "value": "cd" + }, + { + "pos": 12263, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12264, + "type": [ + "Text" + ], + "value": "$my_xdir" + }, + { + "pos": 12272, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12273, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 12275, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12276, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 12280, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12281, + "type": [ + "Text" + ], + "value": "$?" + }, + { + "pos": 12283, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12284, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 12287, + "type": [ + "Text" + ], + "value": "darwin_archive=$my_xabs" + }, + { + "pos": 12310, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12311, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 12314, + "type": [ + "Text" + ], + "value": "darwin_curdir=`pwd`" + }, + { + "pos": 12333, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12334, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 12337, + "type": [ + "Text" + ], + "value": "darwin_base_archive=`$echo" + }, + { + "pos": 12363, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12364, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$darwin_archive\"" + }, + { + "pos": 12382, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12383, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 12384, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12385, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 12390, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12391, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 12393, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12394, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s%^.*/%%'" + }, + { + "pos": 12404, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 12405, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12406, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 12409, + "type": [ + "Text" + ], + "value": "darwin_arches=`lipo" + }, + { + "pos": 12428, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12429, + "type": [ + "Text" + ], + "value": "-info" + }, + { + "pos": 12434, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12435, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$darwin_archive\"" + }, + { + "pos": 12452, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12453, + "type": [ + "Text" + ], + "value": "2>/dev/null" + }, + { + "pos": 12464, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12465, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 12466, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12467, + "type": [ + "Text" + ], + "value": "$EGREP" + }, + { + "pos": 12473, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12474, + "type": [ + "Text" + ], + "value": "Architectures" + }, + { + "pos": 12487, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12488, + "type": [ + "Text" + ], + "value": "2>/dev/null`" + }, + { + "pos": 12500, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12501, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 12504, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 12506, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12507, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 12511, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12512, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 12514, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12515, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$darwin_arches\"" + }, + { + "pos": 12531, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 12532, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12533, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 12537, + "type": [ + "Text", + "WS" + ], + "value": " \n\t " + }, + { + "pos": 12544, + "type": [ + "Text" + ], + "value": "darwin_arches=`echo" + }, + { + "pos": 12563, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12564, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$darwin_arches\"" + }, + { + "pos": 12580, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12581, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 12582, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12583, + "type": [ + "Text" + ], + "value": "$SED" + }, + { + "pos": 12587, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12588, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 12590, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12591, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s/.*are://'" + }, + { + "pos": 12603, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 12604, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12605, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 12610, + "type": [ + "Text" + ], + "value": "darwin_arch=" + }, + { + "pos": 12622, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12623, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 12628, + "type": [ + "Text" + ], + "value": "$show" + }, + { + "pos": 12633, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12634, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$darwin_base_archive has multiple architectures $darwin_arches\"" + }, + { + "pos": 12698, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12699, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 12704, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 12707, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12708, + "type": [ + "Text" + ], + "value": "darwin_arch" + }, + { + "pos": 12719, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12720, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 12722, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12724, + "type": [ + "Text" + ], + "value": "$darwin_arches" + }, + { + "pos": 12738, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12739, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 12740, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12741, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 12743, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12744, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 12751, + "type": [ + "Text" + ], + "value": "mkdir" + }, + { + "pos": 12756, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12757, + "type": [ + "Text" + ], + "value": "-p" + }, + { + "pos": 12759, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12760, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"unfat-$$/${darwin_base_archive}-${darwin_arch}\"" + }, + { + "pos": 12808, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12809, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 12816, + "type": [ + "Text" + ], + "value": "lipo" + }, + { + "pos": 12820, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12821, + "type": [ + "Text" + ], + "value": "-thin" + }, + { + "pos": 12826, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12827, + "type": [ + "Text" + ], + "value": "$darwin_arch" + }, + { + "pos": 12839, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12840, + "type": [ + "Text" + ], + "value": "-output" + }, + { + "pos": 12847, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12848, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}\"" + }, + { + "pos": 12919, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12920, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${darwin_archive}\"" + }, + { + "pos": 12939, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12940, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 12947, + "type": [ + "Text" + ], + "value": "cd" + }, + { + "pos": 12949, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 12950, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"unfat-$$/${darwin_base_archive}-${darwin_arch}\"" + }, + { + "pos": 12998, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 12999, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 13006, + "type": [ + "Text" + ], + "value": "func_extract_an_archive" + }, + { + "pos": 13029, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13030, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"`pwd`\"" + }, + { + "pos": 13037, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13038, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${darwin_base_archive}\"" + }, + { + "pos": 13062, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13063, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 13070, + "type": [ + "Text" + ], + "value": "cd" + }, + { + "pos": 13072, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13073, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$darwin_curdir\"" + }, + { + "pos": 13089, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13090, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 13097, + "type": [ + "Text" + ], + "value": "$rm" + }, + { + "pos": 13100, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13101, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}\"" + }, + { + "pos": 13172, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13173, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 13178, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 13182, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13183, + "type": [ + "Comment" + ], + "value": "# $darwin_arches" + }, + { + "pos": 13199, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13200, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13206, + "type": [ + "Comment" + ], + "value": "## Okay now we have a bunch of thin objects, gotta fatten them up :)" + }, + { + "pos": 13274, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13275, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 13280, + "type": [ + "Text" + ], + "value": "darwin_filelist=`find" + }, + { + "pos": 13301, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13302, + "type": [ + "Text" + ], + "value": "unfat-$$" + }, + { + "pos": 13310, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13311, + "type": [ + "Text" + ], + "value": "-type" + }, + { + "pos": 13316, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13317, + "type": [ + "Text" + ], + "value": "f" + }, + { + "pos": 13318, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13319, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 13324, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13325, + "type": [ + "Text" + ], + "value": "\\*.o" + }, + { + "pos": 13329, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13330, + "type": [ + "Text" + ], + "value": "-print" + }, + { + "pos": 13336, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13337, + "type": [ + "Text" + ], + "value": "-o" + }, + { + "pos": 13339, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13340, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 13345, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13346, + "type": [ + "Text" + ], + "value": "\\*.lo" + }, + { + "pos": 13351, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13352, + "type": [ + "Text" + ], + "value": "-print|" + }, + { + "pos": 13359, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13360, + "type": [ + "Text" + ], + "value": "xargs" + }, + { + "pos": 13365, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13366, + "type": [ + "Text" + ], + "value": "basename" + }, + { + "pos": 13374, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13375, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 13376, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13377, + "type": [ + "Text" + ], + "value": "sort" + }, + { + "pos": 13381, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13382, + "type": [ + "Text" + ], + "value": "-u" + }, + { + "pos": 13384, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13385, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 13386, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13387, + "type": [ + "Text" + ], + "value": "$NL2SP`" + }, + { + "pos": 13394, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13395, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 13400, + "type": [ + "Text" + ], + "value": "darwin_file=" + }, + { + "pos": 13412, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13413, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 13418, + "type": [ + "Text" + ], + "value": "darwin_files=" + }, + { + "pos": 13431, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13432, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 13437, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 13440, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13441, + "type": [ + "Text" + ], + "value": "darwin_file" + }, + { + "pos": 13452, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13453, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 13455, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13456, + "type": [ + "Text" + ], + "value": "$darwin_filelist;" + }, + { + "pos": 13473, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13474, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 13476, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13477, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 13484, + "type": [ + "Text" + ], + "value": "darwin_files=`find" + }, + { + "pos": 13502, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13503, + "type": [ + "Text" + ], + "value": "unfat-$$" + }, + { + "pos": 13511, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13512, + "type": [ + "Text" + ], + "value": "-name" + }, + { + "pos": 13517, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13518, + "type": [ + "Text" + ], + "value": "$darwin_file" + }, + { + "pos": 13530, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13531, + "type": [ + "Text" + ], + "value": "-print" + }, + { + "pos": 13537, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13538, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 13539, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13540, + "type": [ + "Text" + ], + "value": "$NL2SP`" + }, + { + "pos": 13547, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13548, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 13555, + "type": [ + "Text" + ], + "value": "lipo" + }, + { + "pos": 13559, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13560, + "type": [ + "Text" + ], + "value": "-create" + }, + { + "pos": 13567, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13568, + "type": [ + "Text" + ], + "value": "-output" + }, + { + "pos": 13575, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13576, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$darwin_file\"" + }, + { + "pos": 13590, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13591, + "type": [ + "Text" + ], + "value": "$darwin_files" + }, + { + "pos": 13604, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13605, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 13610, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 13614, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13615, + "type": [ + "Comment" + ], + "value": "# $darwin_filelist" + }, + { + "pos": 13633, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13634, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 13639, + "type": [ + "Text" + ], + "value": "${rm}r" + }, + { + "pos": 13645, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13646, + "type": [ + "Text" + ], + "value": "unfat-$$" + }, + { + "pos": 13654, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13655, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 13660, + "type": [ + "Text" + ], + "value": "cd" + }, + { + "pos": 13662, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13663, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$darwin_orig_dir\"" + }, + { + "pos": 13681, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13682, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 13685, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 13689, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13690, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 13695, + "type": [ + "Text" + ], + "value": "cd" + }, + { + "pos": 13697, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13698, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$darwin_orig_dir\"" + }, + { + "pos": 13716, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13717, + "type": [ + "Text", + "WS" + ], + "value": " \t " + }, + { + "pos": 13723, + "type": [ + "Text" + ], + "value": "func_extract_an_archive" + }, + { + "pos": 13746, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13747, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$my_xdir\"" + }, + { + "pos": 13757, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13758, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$my_xabs\"" + }, + { + "pos": 13768, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13769, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 13772, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 13774, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13775, + "type": [ + "Comment" + ], + "value": "# $darwin_arches" + }, + { + "pos": 13791, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13792, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 13793, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 13795, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13796, + "type": [ + "Comment" + ], + "value": "# $run" + }, + { + "pos": 13802, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13803, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 13804, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 13806, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13807, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13813, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 13815, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13816, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13824, + "type": [ + "Text" + ], + "value": "func_extract_an_archive" + }, + { + "pos": 13847, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13848, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$my_xdir\"" + }, + { + "pos": 13858, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13859, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$my_xabs\"" + }, + { + "pos": 13869, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13870, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13878, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 13880, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13881, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13887, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 13891, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 13892, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13898, + "type": [ + "Text" + ], + "value": "my_oldobjs=\"$my_oldobjs" + }, + { + "pos": 13921, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13922, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"`find $my_xdir -name \\*.$objext -print -o -name \\*.lo -print | $NL2SP`\n done\n func_extract_archives_result=\"" + }, + { + "pos": 14037, + "type": [ + "Text" + ], + "value": "$my_oldobjs\"" + }, + { + "pos": 14049, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14050, + "type": [ + "Text" + ], + "value": "}" + }, + { + "pos": 14051, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14052, + "type": [ + "Comment" + ], + "value": "# End of Shell function definitions" + }, + { + "pos": 14087, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14088, + "type": [ + "Comment" + ], + "value": "#####################################" + }, + { + "pos": 14125, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 14127, + "type": [ + "Comment" + ], + "value": "# Darwin sucks" + }, + { + "pos": 14141, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14142, + "type": [ + "Text" + ], + "value": "eval" + }, + { + "pos": 14146, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14147, + "type": [ + "Text" + ], + "value": "std_shrext=\\\"$shrext_cmds\\\"" + }, + { + "pos": 14174, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 14176, + "type": [ + "Name", + "Variable" + ], + "value": "disable_libs" + }, + { + "pos": 14188, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 14189, + "type": [ + "Text" + ], + "value": "no" + }, + { + "pos": 14191, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 14193, + "type": [ + "Comment" + ], + "value": "# Parse our command line options once, thoroughly." + }, + { + "pos": 14243, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14244, + "type": [ + "Text" + ], + "value": "while" + }, + { + "pos": 14249, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14250, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 14254, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14255, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$#\"" + }, + { + "pos": 14259, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14260, + "type": [ + "Text" + ], + "value": "-gt" + }, + { + "pos": 14263, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14264, + "type": [ + "Text" + ], + "value": "0" + }, + { + "pos": 14265, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14266, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 14268, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14269, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14271, + "type": [ + "Text" + ], + "value": "arg=\"$1\"" + }, + { + "pos": 14279, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14280, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14282, + "type": [ + "Text" + ], + "value": "shift" + }, + { + "pos": 14287, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 14289, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14291, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 14295, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14296, + "type": [ + "Text" + ], + "value": "$arg" + }, + { + "pos": 14300, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14301, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 14303, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14304, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14306, + "type": [ + "Text" + ], + "value": "-*=*)" + }, + { + "pos": 14311, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14312, + "type": [ + "Text" + ], + "value": "optarg=`$echo" + }, + { + "pos": 14325, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14326, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$arg\"" + }, + { + "pos": 14333, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14334, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 14335, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14336, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 14341, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14342, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 14344, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14345, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s/[-_a-zA-Z0-9]*=//'" + }, + { + "pos": 14366, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 14367, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14368, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 14370, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14371, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14373, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 14375, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14376, + "type": [ + "Text" + ], + "value": "optarg=" + }, + { + "pos": 14383, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14384, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 14386, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14387, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14389, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 14393, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 14395, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14397, + "type": [ + "Comment" + ], + "value": "# If the previous option needs an argument, assign it." + }, + { + "pos": 14451, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14452, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14454, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 14456, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14457, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 14461, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14462, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 14464, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14465, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$prev\"" + }, + { + "pos": 14472, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 14473, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14474, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 14478, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14479, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14483, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 14487, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14488, + "type": [ + "Text" + ], + "value": "$prev" + }, + { + "pos": 14493, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14494, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 14496, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14497, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14501, + "type": [ + "Text" + ], + "value": "execute_dlfiles)" + }, + { + "pos": 14517, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14518, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14524, + "type": [ + "Text" + ], + "value": "execute_dlfiles=\"$execute_dlfiles" + }, + { + "pos": 14557, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14558, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 14563, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14564, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14570, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 14572, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14573, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14577, + "type": [ + "Text" + ], + "value": "tag)" + }, + { + "pos": 14581, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14582, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14588, + "type": [ + "Text" + ], + "value": "tagname=\"$arg\"" + }, + { + "pos": 14602, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14603, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14609, + "type": [ + "Text" + ], + "value": "preserve_args=\"${preserve_args}=$arg\"" + }, + { + "pos": 14646, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 14648, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14654, + "type": [ + "Comment" + ], + "value": "# Check whether tagname contains only valid characters" + }, + { + "pos": 14708, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14709, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14715, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 14719, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14720, + "type": [ + "Text" + ], + "value": "$tagname" + }, + { + "pos": 14728, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14729, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 14731, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14732, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14738, + "type": [ + "Text" + ], + "value": "*[!-_A-Za-z0-9,/]*)" + }, + { + "pos": 14757, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14758, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 14759, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 14764, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14765, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$progname: invalid tag name: $tagname\"" + }, + { + "pos": 14804, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14805, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 14809, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14810, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 14811, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 14815, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14816, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 14829, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14830, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 14831, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 14833, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14834, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14840, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 14844, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 14846, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14852, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 14856, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14857, + "type": [ + "Text" + ], + "value": "$tagname" + }, + { + "pos": 14865, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14866, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 14868, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14869, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14875, + "type": [ + "Text" + ], + "value": "CC)" + }, + { + "pos": 14878, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14879, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 14880, + "type": [ + "Comment" + ], + "value": "# Don't test for the \"default\" C tag, as we know, it's there, but" + }, + { + "pos": 14945, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14946, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 14947, + "type": [ + "Comment" + ], + "value": "# not specially marked." + }, + { + "pos": 14970, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14971, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 14972, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 14974, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14975, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14981, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 14983, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 14984, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 14985, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 14987, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14988, + "type": [ + "Text" + ], + "value": "grep" + }, + { + "pos": 14992, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 14993, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$\"" + }, + { + "pos": 15037, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15038, + "type": [ + "Text" + ], + "value": "<" + }, + { + "pos": 15039, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15040, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$progpath\"" + }, + { + "pos": 15051, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15052, + "type": [ + "Text" + ], + "value": ">" + }, + { + "pos": 15053, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15054, + "type": [ + "Text" + ], + "value": "/dev/null;" + }, + { + "pos": 15064, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15065, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 15069, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15070, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 15073, + "type": [ + "Text" + ], + "value": "taglist=\"$taglist" + }, + { + "pos": 15090, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15091, + "type": [ + "Text" + ], + "value": "$tagname\"" + }, + { + "pos": 15100, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15101, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 15104, + "type": [ + "Comment" + ], + "value": "# Evaluate the configuration." + }, + { + "pos": 15133, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15134, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 15137, + "type": [ + "Text" + ], + "value": "eval" + }, + { + "pos": 15141, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15142, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`\"" + }, + { + "pos": 15265, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15266, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 15267, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 15271, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15272, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 15275, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 15280, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15281, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$progname: ignoring unknown tag $tagname\"" + }, + { + "pos": 15323, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15324, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 15328, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15329, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 15330, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 15332, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15333, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 15334, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 15336, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15337, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15343, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 15347, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15348, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15354, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 15356, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15357, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15361, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 15363, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15364, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15370, + "type": [ + "Text" + ], + "value": "eval" + }, + { + "pos": 15374, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15375, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$prev=\\$arg\"" + }, + { + "pos": 15388, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15389, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15395, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 15397, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15398, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15402, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 15406, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 15408, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15412, + "type": [ + "Text" + ], + "value": "prev=" + }, + { + "pos": 15417, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15418, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15422, + "type": [ + "Text" + ], + "value": "prevopt=" + }, + { + "pos": 15430, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15431, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15435, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 15443, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15444, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15446, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 15448, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 15450, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15452, + "type": [ + "Comment" + ], + "value": "# Have we seen a non-optional argument yet?" + }, + { + "pos": 15495, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15496, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15498, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 15502, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15503, + "type": [ + "Text" + ], + "value": "$arg" + }, + { + "pos": 15507, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15508, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 15510, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15511, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15513, + "type": [ + "Text" + ], + "value": "--help)" + }, + { + "pos": 15520, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15521, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15525, + "type": [ + "Text" + ], + "value": "show_help=yes" + }, + { + "pos": 15538, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15539, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15543, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 15545, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 15547, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15549, + "type": [ + "Text" + ], + "value": "--version)" + }, + { + "pos": 15559, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15560, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15564, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 15569, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15570, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP\"" + }, + { + "pos": 15614, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15615, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15619, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 15624, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15625, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15629, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 15634, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15635, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"Copyright (C) 2005 Free Software Foundation, Inc.\"" + }, + { + "pos": 15687, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15688, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15692, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 15697, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15698, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"This is free software; see the source for copying conditions. There is NO\"" + }, + { + "pos": 15774, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15775, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15779, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 15784, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15785, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\"" + }, + { + "pos": 15862, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15863, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15867, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 15871, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15872, + "type": [ + "Text" + ], + "value": "$?" + }, + { + "pos": 15874, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15875, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15879, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 15881, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 15883, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15885, + "type": [ + "Text" + ], + "value": "--config)" + }, + { + "pos": 15894, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15895, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15899, + "type": [ + "Text" + ], + "value": "${SED}" + }, + { + "pos": 15905, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15906, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 15908, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15909, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'1,/^# ### BEGIN LIBTOOL CONFIG/d'" + }, + { + "pos": 15943, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15944, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 15946, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15947, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'/^# ### END LIBTOOL CONFIG/,$d'" + }, + { + "pos": 15979, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15980, + "type": [ + "Text" + ], + "value": "$progpath" + }, + { + "pos": 15989, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 15990, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 15994, + "type": [ + "Comment" + ], + "value": "# Now print the configurations for the tags." + }, + { + "pos": 16038, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16039, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16043, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 16046, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16047, + "type": [ + "Text" + ], + "value": "tagname" + }, + { + "pos": 16054, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16055, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 16057, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16058, + "type": [ + "Text" + ], + "value": "$taglist;" + }, + { + "pos": 16067, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16068, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 16070, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16071, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16077, + "type": [ + "Text" + ], + "value": "${SED}" + }, + { + "pos": 16083, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16084, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 16086, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16087, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 16089, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16090, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p\"" + }, + { + "pos": 16180, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16181, + "type": [ + "Text" + ], + "value": "<" + }, + { + "pos": 16182, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16183, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$progpath\"" + }, + { + "pos": 16194, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16195, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16199, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 16203, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16204, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16208, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 16212, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16213, + "type": [ + "Text" + ], + "value": "$?" + }, + { + "pos": 16215, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16216, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16220, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 16222, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 16224, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16226, + "type": [ + "Text" + ], + "value": "--debug)" + }, + { + "pos": 16234, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16235, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16239, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 16244, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16245, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$progname: enabling shell trace mode\"" + }, + { + "pos": 16283, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16284, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16288, + "type": [ + "Text" + ], + "value": "set" + }, + { + "pos": 16291, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16292, + "type": [ + "Text" + ], + "value": "-x" + }, + { + "pos": 16294, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16295, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16299, + "type": [ + "Text" + ], + "value": "preserve_args=\"$preserve_args" + }, + { + "pos": 16328, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16329, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 16334, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16335, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16339, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 16341, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 16343, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16345, + "type": [ + "Text" + ], + "value": "--dry-run" + }, + { + "pos": 16354, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16355, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 16356, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16357, + "type": [ + "Text" + ], + "value": "-n)" + }, + { + "pos": 16360, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16361, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16365, + "type": [ + "Text" + ], + "value": "run=:" + }, + { + "pos": 16370, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16371, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16375, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 16377, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 16379, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16381, + "type": [ + "Text" + ], + "value": "--features)" + }, + { + "pos": 16392, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16393, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16397, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 16402, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16403, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"host: $host\"" + }, + { + "pos": 16416, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16417, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16421, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 16423, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16424, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 16428, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16429, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$build_libtool_libs\"" + }, + { + "pos": 16450, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16451, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 16452, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16453, + "type": [ + "Text" + ], + "value": "yes;" + }, + { + "pos": 16457, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16458, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 16462, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16463, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16469, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 16474, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16475, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"enable shared libraries\"" + }, + { + "pos": 16500, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16501, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16505, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 16509, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16510, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16516, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 16521, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16522, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"disable shared libraries\"" + }, + { + "pos": 16548, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16549, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16553, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 16555, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16556, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16560, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 16562, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16563, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 16567, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16568, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$build_old_libs\"" + }, + { + "pos": 16585, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16586, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 16587, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16588, + "type": [ + "Text" + ], + "value": "yes;" + }, + { + "pos": 16592, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16593, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 16597, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16598, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16604, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 16609, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16610, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"enable static libraries\"" + }, + { + "pos": 16635, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16636, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16640, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 16644, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16645, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16651, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 16656, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16657, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"disable static libraries\"" + }, + { + "pos": 16683, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16684, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16688, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 16690, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16691, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16695, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 16699, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16700, + "type": [ + "Text" + ], + "value": "$?" + }, + { + "pos": 16702, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16703, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16707, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 16709, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 16711, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16713, + "type": [ + "Text" + ], + "value": "--finish)" + }, + { + "pos": 16722, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16723, + "type": [ + "Text" + ], + "value": "mode=\"finish\"" + }, + { + "pos": 16736, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16737, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 16739, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 16741, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16743, + "type": [ + "Text" + ], + "value": "--mode)" + }, + { + "pos": 16750, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16751, + "type": [ + "Text" + ], + "value": "prevopt=\"--mode\"" + }, + { + "pos": 16767, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16768, + "type": [ + "Text" + ], + "value": "prev=mode" + }, + { + "pos": 16777, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16778, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 16780, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16781, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16783, + "type": [ + "Text" + ], + "value": "--mode=*)" + }, + { + "pos": 16792, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16793, + "type": [ + "Text" + ], + "value": "mode=\"$optarg\"" + }, + { + "pos": 16807, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16808, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 16810, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 16812, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16814, + "type": [ + "Text" + ], + "value": "--preserve-dup-deps)" + }, + { + "pos": 16834, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16835, + "type": [ + "Text" + ], + "value": "duplicate_deps=\"yes\"" + }, + { + "pos": 16855, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16856, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 16858, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 16860, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16862, + "type": [ + "Text" + ], + "value": "--quiet" + }, + { + "pos": 16869, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16870, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 16871, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16872, + "type": [ + "Text" + ], + "value": "--silent)" + }, + { + "pos": 16881, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16882, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16886, + "type": [ + "Text" + ], + "value": "show=:" + }, + { + "pos": 16892, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16893, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16897, + "type": [ + "Text" + ], + "value": "preserve_args=\"$preserve_args" + }, + { + "pos": 16926, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16927, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 16932, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16933, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16937, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 16939, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 16941, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16943, + "type": [ + "Text" + ], + "value": "--tag)" + }, + { + "pos": 16949, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16950, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16954, + "type": [ + "Text" + ], + "value": "prevopt=\"--tag\"" + }, + { + "pos": 16969, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16970, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16974, + "type": [ + "Text" + ], + "value": "prev=tag" + }, + { + "pos": 16982, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 16983, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 16987, + "type": [ + "Text" + ], + "value": "preserve_args=\"$preserve_args" + }, + { + "pos": 17016, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17017, + "type": [ + "Text" + ], + "value": "--tag\"" + }, + { + "pos": 17023, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17024, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17028, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 17030, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17031, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17033, + "type": [ + "Text" + ], + "value": "--tag=*)" + }, + { + "pos": 17041, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17042, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17046, + "type": [ + "Text" + ], + "value": "set" + }, + { + "pos": 17049, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17050, + "type": [ + "Text" + ], + "value": "tag" + }, + { + "pos": 17053, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17054, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$optarg\"" + }, + { + "pos": 17063, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17064, + "type": [ + "Text" + ], + "value": "${1+\"$@\"}" + }, + { + "pos": 17073, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17074, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17078, + "type": [ + "Text" + ], + "value": "shift" + }, + { + "pos": 17083, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17084, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17088, + "type": [ + "Text" + ], + "value": "prev=tag" + }, + { + "pos": 17096, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17097, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17101, + "type": [ + "Text" + ], + "value": "preserve_args=\"$preserve_args" + }, + { + "pos": 17130, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17131, + "type": [ + "Text" + ], + "value": "--tag\"" + }, + { + "pos": 17137, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17138, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17142, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 17144, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 17146, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17148, + "type": [ + "Text" + ], + "value": "-dlopen)" + }, + { + "pos": 17156, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17157, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17161, + "type": [ + "Text" + ], + "value": "prevopt=\"-dlopen\"" + }, + { + "pos": 17178, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17179, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17183, + "type": [ + "Text" + ], + "value": "prev=execute_dlfiles" + }, + { + "pos": 17203, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17204, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17208, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 17210, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 17212, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17214, + "type": [ + "Text" + ], + "value": "-*)" + }, + { + "pos": 17217, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17218, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17222, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 17227, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17228, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: unrecognized option \\`$arg'\"" + }, + { + "pos": 17268, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17269, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 17273, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17274, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17278, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 17283, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17284, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$help\"" + }, + { + "pos": 17291, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17292, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 17296, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17297, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17301, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 17305, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17306, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 17319, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17320, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17324, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 17326, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 17328, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17330, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 17332, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17333, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17337, + "type": [ + "Text" + ], + "value": "nonopt=\"$arg\"" + }, + { + "pos": 17350, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17351, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17355, + "type": [ + "Text" + ], + "value": "break" + }, + { + "pos": 17360, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17361, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17365, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 17367, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17368, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17370, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 17374, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17375, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 17379, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 17381, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 17383, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17384, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 17388, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17389, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 17391, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17392, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$prevopt\"" + }, + { + "pos": 17402, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 17403, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17404, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 17408, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17409, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17411, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 17416, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17417, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: option \\`$prevopt' requires an argument\"" + }, + { + "pos": 17469, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17470, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 17474, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17475, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17477, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 17482, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17483, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$help\"" + }, + { + "pos": 17490, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17491, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 17495, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17496, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17498, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 17502, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17503, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 17516, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17517, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 17519, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 17521, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 17525, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17526, + "type": [ + "Text" + ], + "value": "$disable_libs" + }, + { + "pos": 17539, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17540, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 17542, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17543, + "type": [ + "Text" + ], + "value": "no)" + }, + { + "pos": 17546, + "type": [ + "Text", + "WS" + ], + "value": " \n " + }, + { + "pos": 17550, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 17552, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17553, + "type": [ + "Text" + ], + "value": "shared)" + }, + { + "pos": 17560, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17561, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17563, + "type": [ + "Text" + ], + "value": "build_libtool_libs=no" + }, + { + "pos": 17584, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17585, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17587, + "type": [ + "Text" + ], + "value": "build_old_libs=yes" + }, + { + "pos": 17605, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17606, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17608, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 17610, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17611, + "type": [ + "Text" + ], + "value": "static)" + }, + { + "pos": 17618, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17619, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17621, + "type": [ + "Text" + ], + "value": "build_old_libs=`case" + }, + { + "pos": 17641, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17642, + "type": [ + "Text" + ], + "value": "$build_libtool_libs" + }, + { + "pos": 17661, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17662, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 17664, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17665, + "type": [ + "Text" + ], + "value": "yes)" + }, + { + "pos": 17669, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17670, + "type": [ + "Text" + ], + "value": "echo" + }, + { + "pos": 17674, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17675, + "type": [ + "Text" + ], + "value": "no;;" + }, + { + "pos": 17679, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17680, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 17682, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17683, + "type": [ + "Text" + ], + "value": "echo" + }, + { + "pos": 17687, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17688, + "type": [ + "Text" + ], + "value": "yes;;" + }, + { + "pos": 17693, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17694, + "type": [ + "Text" + ], + "value": "esac`" + }, + { + "pos": 17699, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17700, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17702, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 17704, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17705, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 17709, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 17711, + "type": [ + "Comment" + ], + "value": "# If this variable is set in any of the actions, the command in it" + }, + { + "pos": 17777, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17778, + "type": [ + "Comment" + ], + "value": "# will be execed at the end. This prevents here-documents from being" + }, + { + "pos": 17847, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17848, + "type": [ + "Comment" + ], + "value": "# left over by shells." + }, + { + "pos": 17870, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17871, + "type": [ + "Name", + "Variable" + ], + "value": "exec_cmd" + }, + { + "pos": 17879, + "type": [ + "Operator", + "Equal" + ], + "value": "=" + }, + { + "pos": 17880, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 17882, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 17884, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17885, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 17889, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17890, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 17892, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17893, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$show_help\"" + }, + { + "pos": 17905, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 17906, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17907, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 17911, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 17913, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17915, + "type": [ + "Comment" + ], + "value": "# Infer the operation mode." + }, + { + "pos": 17942, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17943, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17945, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 17947, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17948, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 17952, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17953, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 17955, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17956, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$mode\"" + }, + { + "pos": 17963, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 17964, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17965, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 17969, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 17970, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17974, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 17979, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 17980, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*** Warning: inferring the mode of operation is deprecated.\"" + }, + { + "pos": 18041, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18042, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 18046, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18047, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18051, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 18056, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18057, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*** Future versions of Libtool will require --mode=MODE be specified.\"" + }, + { + "pos": 18128, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18129, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 18133, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18134, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18138, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 18142, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18143, + "type": [ + "Text" + ], + "value": "$nonopt" + }, + { + "pos": 18150, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18151, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 18153, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18154, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18158, + "type": [ + "Text" + ], + "value": "*cc" + }, + { + "pos": 18161, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18162, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 18163, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18164, + "type": [ + "Text" + ], + "value": "cc*" + }, + { + "pos": 18167, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18168, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 18169, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18170, + "type": [ + "Text" + ], + "value": "*++" + }, + { + "pos": 18173, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18174, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 18175, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18176, + "type": [ + "Text" + ], + "value": "gcc*" + }, + { + "pos": 18180, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18181, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 18182, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18183, + "type": [ + "Text" + ], + "value": "*-gcc*" + }, + { + "pos": 18189, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18190, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 18191, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18192, + "type": [ + "Text" + ], + "value": "g++*" + }, + { + "pos": 18196, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18197, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 18198, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18199, + "type": [ + "Text" + ], + "value": "xlc*)" + }, + { + "pos": 18204, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18205, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18211, + "type": [ + "Text" + ], + "value": "mode=link" + }, + { + "pos": 18220, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18221, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18227, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 18230, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18231, + "type": [ + "Text" + ], + "value": "arg" + }, + { + "pos": 18234, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18235, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18241, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 18243, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18244, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 18245, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 18249, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18250, + "type": [ + "Text" + ], + "value": "$arg" + }, + { + "pos": 18254, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18255, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 18257, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18258, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 18259, + "type": [ + "Text" + ], + "value": "-c)" + }, + { + "pos": 18262, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18263, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 18267, + "type": [ + "Text" + ], + "value": "mode=compile" + }, + { + "pos": 18279, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18280, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 18284, + "type": [ + "Text" + ], + "value": "break" + }, + { + "pos": 18289, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18290, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 18294, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 18296, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18297, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 18298, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 18302, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18303, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18309, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 18313, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18314, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18320, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 18322, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18323, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18327, + "type": [ + "Text" + ], + "value": "*db" + }, + { + "pos": 18330, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18331, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 18332, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18333, + "type": [ + "Text" + ], + "value": "*dbx" + }, + { + "pos": 18337, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18338, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 18339, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18340, + "type": [ + "Text" + ], + "value": "*strace" + }, + { + "pos": 18347, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18348, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 18349, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18350, + "type": [ + "Text" + ], + "value": "*truss)" + }, + { + "pos": 18357, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18358, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18364, + "type": [ + "Text" + ], + "value": "mode=execute" + }, + { + "pos": 18376, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18377, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18383, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 18385, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18386, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18390, + "type": [ + "Text" + ], + "value": "*install*|cp|mv)" + }, + { + "pos": 18406, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18407, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18413, + "type": [ + "Text" + ], + "value": "mode=install" + }, + { + "pos": 18425, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18426, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18432, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 18434, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18435, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18439, + "type": [ + "Text" + ], + "value": "*rm)" + }, + { + "pos": 18443, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18444, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18450, + "type": [ + "Text" + ], + "value": "mode=uninstall" + }, + { + "pos": 18464, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18465, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18471, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 18473, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18474, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18478, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 18480, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18481, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18487, + "type": [ + "Comment" + ], + "value": "# If we have no mode, but dlfiles were specified, then do execute mode." + }, + { + "pos": 18558, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18559, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18565, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 18569, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18570, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 18572, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18573, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$execute_dlfiles\"" + }, + { + "pos": 18591, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18592, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 18594, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18595, + "type": [ + "Text" + ], + "value": "mode=execute" + }, + { + "pos": 18607, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 18609, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18615, + "type": [ + "Comment" + ], + "value": "# Just use the default operation mode." + }, + { + "pos": 18653, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18654, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18660, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 18662, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18663, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 18667, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18668, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 18670, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18671, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$mode\"" + }, + { + "pos": 18678, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 18679, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18680, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 18684, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18685, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 18686, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 18688, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18689, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 18693, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18694, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 18696, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18697, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$nonopt\"" + }, + { + "pos": 18706, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 18707, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18708, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 18712, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18713, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 18716, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 18721, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18722, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: warning: cannot infer operation mode from \\`$nonopt'\"" + }, + { + "pos": 18787, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18788, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 18792, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18793, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 18794, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 18798, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18799, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 18802, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 18807, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18808, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: warning: cannot infer operation mode without MODE-ARGS\"" + }, + { + "pos": 18875, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18876, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 18880, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18881, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 18882, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 18884, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18885, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18891, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 18893, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18894, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18900, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 18902, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18903, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18907, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 18911, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18912, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18914, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 18916, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 18918, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18920, + "type": [ + "Comment" + ], + "value": "# Only execute mode is allowed to have -dlopen flags." + }, + { + "pos": 18973, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 18974, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18976, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 18978, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18979, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 18983, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18984, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 18986, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 18987, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$execute_dlfiles\"" + }, + { + "pos": 19005, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19006, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 19008, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19009, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 19013, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19014, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$mode\"" + }, + { + "pos": 19021, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19022, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 19024, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19025, + "type": [ + "Text" + ], + "value": "execute;" + }, + { + "pos": 19033, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19034, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 19038, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19039, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19043, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 19048, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19049, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: unrecognized option \\`-dlopen'\"" + }, + { + "pos": 19092, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19093, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 19097, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19098, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19102, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 19107, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19108, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$help\"" + }, + { + "pos": 19115, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19116, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 19120, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19121, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19125, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 19129, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19130, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 19143, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19144, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19146, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 19148, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 19150, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19152, + "type": [ + "Comment" + ], + "value": "# Change the help message to a mode-specific one." + }, + { + "pos": 19201, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19202, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19204, + "type": [ + "Text" + ], + "value": "generic_help=\"$help\"" + }, + { + "pos": 19224, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19225, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19227, + "type": [ + "Text" + ], + "value": "help=\"Try" + }, + { + "pos": 19236, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19237, + "type": [ + "Text" + ], + "value": "\\`$modename" + }, + { + "pos": 19248, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19249, + "type": [ + "Text" + ], + "value": "--help" + }, + { + "pos": 19255, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19256, + "type": [ + "Text" + ], + "value": "--mode=$mode'" + }, + { + "pos": 19269, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19270, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 19273, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19274, + "type": [ + "Text" + ], + "value": "more" + }, + { + "pos": 19278, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19279, + "type": [ + "Text" + ], + "value": "information.\"" + }, + { + "pos": 19292, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 19294, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19296, + "type": [ + "Comment" + ], + "value": "# These modes are in order of execution frequency so that they run quickly." + }, + { + "pos": 19371, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19372, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19374, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 19378, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19379, + "type": [ + "Text" + ], + "value": "$mode" + }, + { + "pos": 19384, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19385, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 19387, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19388, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19390, + "type": [ + "Comment" + ], + "value": "# libtool compile mode" + }, + { + "pos": 19412, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19413, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19415, + "type": [ + "Text" + ], + "value": "compile)" + }, + { + "pos": 19423, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19424, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19428, + "type": [ + "Text" + ], + "value": "modename=\"$modename:" + }, + { + "pos": 19448, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19449, + "type": [ + "Text" + ], + "value": "compile\"" + }, + { + "pos": 19457, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19458, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19462, + "type": [ + "Comment" + ], + "value": "# Get the compilation command and the source file." + }, + { + "pos": 19512, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19513, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19517, + "type": [ + "Text" + ], + "value": "base_compile=" + }, + { + "pos": 19530, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19531, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19535, + "type": [ + "Text" + ], + "value": "srcfile=\"$nonopt\"" + }, + { + "pos": 19552, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19554, + "type": [ + "Comment" + ], + "value": "# always keep a non-empty value in \"srcfile\"" + }, + { + "pos": 19599, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19600, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19604, + "type": [ + "Text" + ], + "value": "suppress_opt=yes" + }, + { + "pos": 19620, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19621, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19625, + "type": [ + "Text" + ], + "value": "suppress_output=" + }, + { + "pos": 19641, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19642, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19646, + "type": [ + "Text" + ], + "value": "arg_mode=normal" + }, + { + "pos": 19661, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19662, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19666, + "type": [ + "Text" + ], + "value": "libobj=" + }, + { + "pos": 19673, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19674, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19678, + "type": [ + "Text" + ], + "value": "later=" + }, + { + "pos": 19684, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 19686, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19690, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 19693, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19694, + "type": [ + "Text" + ], + "value": "arg" + }, + { + "pos": 19697, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19698, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19702, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 19704, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19705, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19711, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 19715, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19716, + "type": [ + "Text" + ], + "value": "$arg_mode" + }, + { + "pos": 19725, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19726, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 19728, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19729, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19735, + "type": [ + "Text" + ], + "value": "arg" + }, + { + "pos": 19738, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19740, + "type": [ + "ArraySep", + "End" + ], + "value": ")" + }, + { + "pos": 19741, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19742, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 19743, + "type": [ + "Comment" + ], + "value": "# do not \"continue\". Instead, add this to base_compile" + }, + { + "pos": 19798, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19799, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 19800, + "type": [ + "Text" + ], + "value": "lastarg=\"$arg\"" + }, + { + "pos": 19814, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19815, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 19816, + "type": [ + "Text" + ], + "value": "arg_mode=normal" + }, + { + "pos": 19831, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19832, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 19833, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 19835, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 19837, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19843, + "type": [ + "Text" + ], + "value": "target" + }, + { + "pos": 19849, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19850, + "type": [ + "ArraySep", + "End" + ], + "value": ")" + }, + { + "pos": 19851, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19852, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 19853, + "type": [ + "Text" + ], + "value": "libobj=\"$arg\"" + }, + { + "pos": 19866, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19867, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 19868, + "type": [ + "Text" + ], + "value": "arg_mode=normal" + }, + { + "pos": 19883, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19884, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 19885, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 19893, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19894, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 19895, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 19897, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 19899, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19905, + "type": [ + "Text" + ], + "value": "normal" + }, + { + "pos": 19911, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19912, + "type": [ + "ArraySep", + "End" + ], + "value": ")" + }, + { + "pos": 19913, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19914, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 19915, + "type": [ + "Comment" + ], + "value": "# Accept any command-line options." + }, + { + "pos": 19949, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19950, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 19951, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 19955, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19956, + "type": [ + "Text" + ], + "value": "$arg" + }, + { + "pos": 19960, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19961, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 19963, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19964, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 19965, + "type": [ + "Text" + ], + "value": "-o)" + }, + { + "pos": 19968, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 19969, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 19972, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 19974, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19975, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 19979, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19980, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 19982, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19983, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$libobj\"" + }, + { + "pos": 19992, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19993, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 19994, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19995, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 19999, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20000, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 20005, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 20010, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20011, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: you cannot specify \\`-o' more than once\"" + }, + { + "pos": 20063, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20064, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 20068, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20069, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 20074, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 20078, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20079, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 20092, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20093, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 20096, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 20098, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20099, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 20102, + "type": [ + "Text" + ], + "value": "arg_mode=target" + }, + { + "pos": 20117, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20118, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 20121, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 20129, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20130, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 20133, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 20135, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 20137, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 20138, + "type": [ + "Text" + ], + "value": "-static" + }, + { + "pos": 20145, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20146, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 20147, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20148, + "type": [ + "Text" + ], + "value": "-prefer-pic" + }, + { + "pos": 20159, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20160, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 20161, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20162, + "type": [ + "Text" + ], + "value": "-prefer-non-pic)" + }, + { + "pos": 20178, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20179, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 20182, + "type": [ + "Text" + ], + "value": "later=\"$later" + }, + { + "pos": 20195, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20196, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 20201, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20202, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 20205, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 20213, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20214, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 20217, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 20219, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 20221, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 20222, + "type": [ + "Text" + ], + "value": "-no-suppress)" + }, + { + "pos": 20235, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20236, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 20239, + "type": [ + "Text" + ], + "value": "suppress_opt=no" + }, + { + "pos": 20254, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20255, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 20258, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 20266, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20267, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 20270, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 20272, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 20274, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 20275, + "type": [ + "Text" + ], + "value": "-Xcompiler)" + }, + { + "pos": 20286, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20287, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 20290, + "type": [ + "Text" + ], + "value": "arg_mode=arg" + }, + { + "pos": 20302, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20304, + "type": [ + "Comment" + ], + "value": "# the next one goes into the \"base_compile\" arg list" + }, + { + "pos": 20357, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20358, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 20361, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 20369, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20375, + "type": [ + "Comment" + ], + "value": "# The current \"srcfile\" will either be retained or" + }, + { + "pos": 20426, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20427, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 20430, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 20432, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20444, + "type": [ + "Comment" + ], + "value": "# replaced later. I would guess that would be a bug." + }, + { + "pos": 20498, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 20500, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 20501, + "type": [ + "Text" + ], + "value": "-Wc,*)" + }, + { + "pos": 20507, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20508, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 20511, + "type": [ + "Text" + ], + "value": "args=`$echo" + }, + { + "pos": 20522, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20523, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$arg\"" + }, + { + "pos": 20530, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20531, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 20532, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20533, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 20538, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20539, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 20541, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20542, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"s/^-Wc,//\"" + }, + { + "pos": 20553, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 20554, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20555, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 20558, + "type": [ + "Text" + ], + "value": "lastarg=" + }, + { + "pos": 20566, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20567, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 20570, + "type": [ + "Text" + ], + "value": "save_ifs=\"$IFS\";" + }, + { + "pos": 20586, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20587, + "type": [ + "Text" + ], + "value": "IFS=','" + }, + { + "pos": 20594, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20595, + "type": [ + "Text", + "WS" + ], + "value": " \t " + }, + { + "pos": 20599, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 20602, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20603, + "type": [ + "Text" + ], + "value": "arg" + }, + { + "pos": 20606, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20607, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 20609, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20610, + "type": [ + "Text" + ], + "value": "$args;" + }, + { + "pos": 20616, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20617, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 20619, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20620, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 20625, + "type": [ + "Text" + ], + "value": "IFS=\"$save_ifs\"" + }, + { + "pos": 20640, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 20642, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 20647, + "type": [ + "Comment" + ], + "value": "# Double-quote args containing other shell metacharacters." + }, + { + "pos": 20705, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20706, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 20711, + "type": [ + "Comment" + ], + "value": "# Many Bourne shells cannot handle close brackets correctly" + }, + { + "pos": 20770, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20771, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 20776, + "type": [ + "Comment" + ], + "value": "# in scan sets, so we specify it separately." + }, + { + "pos": 20820, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20821, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 20826, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 20830, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20831, + "type": [ + "Text" + ], + "value": "$arg" + }, + { + "pos": 20835, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20836, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 20838, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20839, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 20846, + "type": [ + "Text" + ], + "value": "*[\\[\\~\\#\\^\\&\\*\\(\\)\\{\\}\\|\\;\\<\\>\\?\\'\\" + }, + { + "pos": 20881, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20882, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 20883, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 20884, + "type": [ + "Text" + ], + "value": "]*|*]*|\"\")" + }, + { + "pos": 20894, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20895, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 20902, + "type": [ + "Text" + ], + "value": "arg=\"\\\"$arg\\\"\"" + }, + { + "pos": 20916, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20917, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 20924, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 20926, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20927, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 20932, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 20936, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20937, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 20942, + "type": [ + "Text" + ], + "value": "lastarg=\"$lastarg" + }, + { + "pos": 20959, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 20960, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 20965, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20966, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 20969, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 20973, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20974, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 20977, + "type": [ + "Text" + ], + "value": "IFS=\"$save_ifs\"" + }, + { + "pos": 20992, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 20993, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 20996, + "type": [ + "Text" + ], + "value": "lastarg=`$echo" + }, + { + "pos": 21010, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21011, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$lastarg\"" + }, + { + "pos": 21022, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21023, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 21024, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21025, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 21030, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21031, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 21033, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21034, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"s/^ //\"" + }, + { + "pos": 21042, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 21043, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 21045, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 21048, + "type": [ + "Comment" + ], + "value": "# Add the arguments to base_compile." + }, + { + "pos": 21084, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 21085, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 21088, + "type": [ + "Text" + ], + "value": "base_compile=\"$base_compile" + }, + { + "pos": 21115, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21116, + "type": [ + "Text" + ], + "value": "$lastarg\"" + }, + { + "pos": 21125, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 21126, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 21129, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 21137, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 21138, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 21141, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 21143, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 21145, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 21146, + "type": [ + "Text" + ], + "value": "*" + }, + { + "pos": 21147, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21148, + "type": [ + "ArraySep", + "End" + ], + "value": ")" + }, + { + "pos": 21149, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 21150, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 21153, + "type": [ + "Comment" + ], + "value": "# Accept the current argument as the source file." + }, + { + "pos": 21202, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 21203, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 21206, + "type": [ + "Comment" + ], + "value": "# The previous \"srcfile\" becomes the current argument." + }, + { + "pos": 21260, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 21261, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 21264, + "type": [ + "Comment" + ], + "value": "#" + }, + { + "pos": 21265, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 21266, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 21269, + "type": [ + "Text" + ], + "value": "lastarg=\"$srcfile\"" + }, + { + "pos": 21287, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 21288, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 21291, + "type": [ + "Text" + ], + "value": "srcfile=\"$arg\"" + }, + { + "pos": 21305, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 21306, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 21309, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 21311, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 21312, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 21313, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 21317, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21319, + "type": [ + "Comment" + ], + "value": "# case $arg" + }, + { + "pos": 21331, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 21332, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 21333, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 21335, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 21336, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21342, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 21346, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21350, + "type": [ + "Comment" + ], + "value": "# case $arg_mode" + }, + { + "pos": 21367, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 21369, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21375, + "type": [ + "Comment" + ], + "value": "# Aesthetically quote the previous argument." + }, + { + "pos": 21419, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 21420, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21426, + "type": [ + "Text" + ], + "value": "lastarg=`$echo" + }, + { + "pos": 21440, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21441, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$lastarg\"" + }, + { + "pos": 21452, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21453, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 21454, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21455, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 21460, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21461, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 21463, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21464, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$sed_quote_subst\"" + }, + { + "pos": 21482, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 21483, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 21485, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21491, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 21495, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21496, + "type": [ + "Text" + ], + "value": "$lastarg" + }, + { + "pos": 21504, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21505, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 21507, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 21508, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21514, + "type": [ + "Comment" + ], + "value": "# Double-quote args containing other shell metacharacters." + }, + { + "pos": 21572, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 21573, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21579, + "type": [ + "Comment" + ], + "value": "# Many Bourne shells cannot handle close brackets correctly" + }, + { + "pos": 21638, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 21639, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21645, + "type": [ + "Comment" + ], + "value": "# in scan sets, and some SunOS ksh mistreat backslash-escaping" + }, + { + "pos": 21707, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 21708, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21714, + "type": [ + "Comment" + ], + "value": "# in scan sets (worked around with variable expansion)," + }, + { + "pos": 21769, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 21770, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21776, + "type": [ + "Comment" + ], + "value": "# and furthermore cannot handle '|' '&' '(' ')' in scan sets " + }, + { + "pos": 21837, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 21838, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21844, + "type": [ + "Comment" + ], + "value": "# at all, so we specify them separately." + }, + { + "pos": 21884, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 21885, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21891, + "type": [ + "Text" + ], + "value": "*[\\[\\~\\#\\^\\&\\*\\(\\)\\{\\}\\|\\;\\<\\>\\?\\'\\" + }, + { + "pos": 21926, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21927, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 21928, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 21929, + "type": [ + "Text" + ], + "value": "]*|*]*|\"\")" + }, + { + "pos": 21939, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 21940, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 21941, + "type": [ + "Text" + ], + "value": "lastarg=\"\\\"$lastarg\\\"\"" + }, + { + "pos": 21963, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 21964, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 21965, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 21967, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 21968, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21974, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 21978, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 21980, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 21986, + "type": [ + "Text" + ], + "value": "base_compile=\"$base_compile" + }, + { + "pos": 22013, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22014, + "type": [ + "Text" + ], + "value": "$lastarg\"" + }, + { + "pos": 22023, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 22024, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22028, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 22032, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22033, + "type": [ + "Comment" + ], + "value": "# for arg" + }, + { + "pos": 22042, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 22044, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22048, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 22052, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22053, + "type": [ + "Text" + ], + "value": "$arg_mode" + }, + { + "pos": 22062, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22063, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 22065, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 22066, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22070, + "type": [ + "Text" + ], + "value": "arg)" + }, + { + "pos": 22074, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 22075, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22081, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 22086, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22087, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: you must specify an argument for -Xcompile\"" + }, + { + "pos": 22142, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 22143, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22149, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 22153, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22154, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 22167, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 22168, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22174, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 22176, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 22177, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22181, + "type": [ + "Text" + ], + "value": "target)" + }, + { + "pos": 22188, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 22189, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22195, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 22200, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22201, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: you must specify a target with \\`-o'\"" + }, + { + "pos": 22250, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22251, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 22255, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 22256, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22262, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 22266, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22267, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 22280, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 22281, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22287, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 22289, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 22290, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22294, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 22296, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 22297, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22303, + "type": [ + "Comment" + ], + "value": "# Get the name of the library object." + }, + { + "pos": 22340, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 22341, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22347, + "type": [ + "Text" + ], + "value": "[" + }, + { + "pos": 22348, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22349, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 22351, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22352, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$libobj\"" + }, + { + "pos": 22361, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22362, + "type": [ + "Text" + ], + "value": "]" + }, + { + "pos": 22363, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22364, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 22366, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22367, + "type": [ + "Text" + ], + "value": "libobj=`$echo" + }, + { + "pos": 22380, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22381, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$srcfile\"" + }, + { + "pos": 22392, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22393, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 22394, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22395, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 22400, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22401, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 22403, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22404, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s%^.*/%%'" + }, + { + "pos": 22414, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 22415, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 22416, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22422, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 22424, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 22425, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22429, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 22433, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 22435, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22439, + "type": [ + "Comment" + ], + "value": "# Recognize several different file suffixes." + }, + { + "pos": 22483, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 22484, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22488, + "type": [ + "Comment" + ], + "value": "# If the user specifies -o file.o, it is replaced with file.lo" + }, + { + "pos": 22550, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 22551, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22555, + "type": [ + "Text" + ], + "value": "xform='[cCFSifmso]'" + }, + { + "pos": 22574, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 22575, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22579, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 22583, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22584, + "type": [ + "Text" + ], + "value": "$libobj" + }, + { + "pos": 22591, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22592, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 22594, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 22595, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22599, + "type": [ + "Text" + ], + "value": "*.ada)" + }, + { + "pos": 22605, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22606, + "type": [ + "Text" + ], + "value": "xform=ada" + }, + { + "pos": 22615, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22616, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 22618, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 22619, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22623, + "type": [ + "Text" + ], + "value": "*.adb)" + }, + { + "pos": 22629, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22630, + "type": [ + "Text" + ], + "value": "xform=adb" + }, + { + "pos": 22639, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22640, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 22642, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 22643, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22647, + "type": [ + "Text" + ], + "value": "*.ads)" + }, + { + "pos": 22653, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22654, + "type": [ + "Text" + ], + "value": "xform=ads" + }, + { + "pos": 22663, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22664, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 22666, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 22667, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22671, + "type": [ + "Text" + ], + "value": "*.asm)" + }, + { + "pos": 22677, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22678, + "type": [ + "Text" + ], + "value": "xform=asm" + }, + { + "pos": 22687, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22688, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 22690, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 22691, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22695, + "type": [ + "Text" + ], + "value": "*.c++)" + }, + { + "pos": 22701, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22702, + "type": [ + "Text" + ], + "value": "xform=c++" + }, + { + "pos": 22711, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22712, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 22714, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 22715, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22719, + "type": [ + "Text" + ], + "value": "*.cc)" + }, + { + "pos": 22724, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22725, + "type": [ + "Text" + ], + "value": "xform=cc" + }, + { + "pos": 22733, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22734, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 22736, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 22737, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22741, + "type": [ + "Text" + ], + "value": "*.ii)" + }, + { + "pos": 22746, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22747, + "type": [ + "Text" + ], + "value": "xform=ii" + }, + { + "pos": 22755, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22756, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 22758, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 22759, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22763, + "type": [ + "Text" + ], + "value": "*.class)" + }, + { + "pos": 22771, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22772, + "type": [ + "Text" + ], + "value": "xform=class" + }, + { + "pos": 22783, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22784, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 22786, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 22787, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22791, + "type": [ + "Text" + ], + "value": "*.cpp)" + }, + { + "pos": 22797, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22798, + "type": [ + "Text" + ], + "value": "xform=cpp" + }, + { + "pos": 22807, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22808, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 22810, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 22811, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22815, + "type": [ + "Text" + ], + "value": "*.cxx)" + }, + { + "pos": 22821, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22822, + "type": [ + "Text" + ], + "value": "xform=cxx" + }, + { + "pos": 22831, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22832, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 22834, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 22835, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22839, + "type": [ + "Text" + ], + "value": "*.f90)" + }, + { + "pos": 22845, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22846, + "type": [ + "Text" + ], + "value": "xform=f90" + }, + { + "pos": 22855, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22856, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 22858, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 22859, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22863, + "type": [ + "Text" + ], + "value": "*.for)" + }, + { + "pos": 22869, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22870, + "type": [ + "Text" + ], + "value": "xform=for" + }, + { + "pos": 22879, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22880, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 22882, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 22883, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22887, + "type": [ + "Text" + ], + "value": "*.java)" + }, + { + "pos": 22894, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22895, + "type": [ + "Text" + ], + "value": "xform=java" + }, + { + "pos": 22905, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22906, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 22908, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 22909, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22913, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 22917, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 22919, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22923, + "type": [ + "Text" + ], + "value": "libobj=`$echo" + }, + { + "pos": 22936, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22937, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$libobj\"" + }, + { + "pos": 22947, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22948, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 22949, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22950, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 22955, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22956, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 22958, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22959, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"s/\\.$xform$/.lo/\"" + }, + { + "pos": 22977, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 22978, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 22980, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22984, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 22988, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22989, + "type": [ + "Text" + ], + "value": "$libobj" + }, + { + "pos": 22996, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 22997, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 22999, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23000, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23004, + "type": [ + "Text" + ], + "value": "*.lo)" + }, + { + "pos": 23009, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23010, + "type": [ + "Text" + ], + "value": "obj=`$echo" + }, + { + "pos": 23020, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23021, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$libobj\"" + }, + { + "pos": 23031, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23032, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 23033, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23034, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 23039, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23040, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 23042, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23043, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$lo2o\"" + }, + { + "pos": 23050, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 23051, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23052, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 23054, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23055, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23059, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 23061, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23062, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23068, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 23073, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23074, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: cannot determine name of library object from \\`$libobj'\"" + }, + { + "pos": 23142, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23143, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 23147, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23148, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23154, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 23158, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23159, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 23172, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23173, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23179, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 23181, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23182, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23186, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 23190, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 23192, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23196, + "type": [ + "Text" + ], + "value": "func_infer_tag" + }, + { + "pos": 23210, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23211, + "type": [ + "Text" + ], + "value": "$base_compile" + }, + { + "pos": 23224, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 23226, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23230, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 23233, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23234, + "type": [ + "Text" + ], + "value": "arg" + }, + { + "pos": 23237, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23238, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 23240, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23241, + "type": [ + "Text" + ], + "value": "$later;" + }, + { + "pos": 23248, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23249, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 23251, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23252, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23258, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 23262, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23263, + "type": [ + "Text" + ], + "value": "$arg" + }, + { + "pos": 23267, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23268, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 23270, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23271, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23277, + "type": [ + "Text" + ], + "value": "-static)" + }, + { + "pos": 23285, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23286, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 23287, + "type": [ + "Text" + ], + "value": "build_old_libs=yes" + }, + { + "pos": 23305, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23306, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 23307, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 23315, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23316, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 23317, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 23319, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 23321, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23327, + "type": [ + "Text" + ], + "value": "-prefer-pic)" + }, + { + "pos": 23339, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23340, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 23341, + "type": [ + "Text" + ], + "value": "pic_mode=yes" + }, + { + "pos": 23353, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23354, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 23355, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 23363, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23364, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 23365, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 23367, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 23369, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23375, + "type": [ + "Text" + ], + "value": "-prefer-non-pic)" + }, + { + "pos": 23391, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23392, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 23393, + "type": [ + "Text" + ], + "value": "pic_mode=no" + }, + { + "pos": 23404, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23405, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 23406, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 23414, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23415, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 23416, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 23418, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23419, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23425, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 23429, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23430, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23434, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 23438, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 23440, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23444, + "type": [ + "Text" + ], + "value": "qlibobj=`$echo" + }, + { + "pos": 23458, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23459, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$libobj\"" + }, + { + "pos": 23469, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23470, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 23471, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23472, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 23477, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23478, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 23480, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23481, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$sed_quote_subst\"" + }, + { + "pos": 23499, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 23500, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23501, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23505, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 23509, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23510, + "type": [ + "Text" + ], + "value": "$qlibobj" + }, + { + "pos": 23518, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23519, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 23521, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23522, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23528, + "type": [ + "Text" + ], + "value": "*[\\[\\~\\#\\^\\&\\*\\(\\)\\{\\}\\|\\;\\<\\>\\?\\'\\" + }, + { + "pos": 23563, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23564, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 23565, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 23566, + "type": [ + "Text" + ], + "value": "]*|*]*|\"\")" + }, + { + "pos": 23576, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23577, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 23578, + "type": [ + "Text" + ], + "value": "qlibobj=\"\\\"$qlibobj\\\"\"" + }, + { + "pos": 23600, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23601, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 23603, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23604, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23608, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 23612, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23613, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23617, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 23621, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23622, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$libobj\"" + }, + { + "pos": 23632, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23633, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 23635, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23636, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$qlibobj\"" + }, + { + "pos": 23647, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23648, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 23649, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23650, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 23651, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 23653, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23654, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 23659, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23660, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$libobj\"" + }, + { + "pos": 23670, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23671, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 23672, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23673, + "type": [ + "Text" + ], + "value": "grep" + }, + { + "pos": 23677, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23678, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'[]~#^*{};<>?\"'" + }, + { + "pos": 23693, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"'\"" + }, + { + "pos": 23696, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "' \t&()|`$[]'" + }, + { + "pos": 23708, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23709, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 23710, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23711, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 23712, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 23714, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23715, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 23720, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23721, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: libobj name \\`$libobj' may not contain shell special characters.\"" + }, + { + "pos": 23798, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23799, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23803, + "type": [ + "Text" + ], + "value": "objname=`$echo" + }, + { + "pos": 23817, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23818, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$obj\"" + }, + { + "pos": 23825, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23826, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 23827, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23828, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 23833, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23834, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 23836, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23837, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s%^.*/%%'" + }, + { + "pos": 23847, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 23848, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23849, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23853, + "type": [ + "Text" + ], + "value": "xdir=`$echo" + }, + { + "pos": 23864, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23865, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$obj\"" + }, + { + "pos": 23872, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23873, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 23874, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23875, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 23880, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23881, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 23883, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23884, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s%/[^/]*$%%'" + }, + { + "pos": 23897, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 23898, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23899, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23903, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 23905, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23906, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 23910, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23911, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$xdir\"" + }, + { + "pos": 23919, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23920, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 23921, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23922, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$obj\"" + }, + { + "pos": 23929, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 23930, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23931, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 23935, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23936, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23942, + "type": [ + "Text" + ], + "value": "xdir=" + }, + { + "pos": 23947, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23948, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23952, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 23956, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23957, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23963, + "type": [ + "Text" + ], + "value": "xdir=$xdir/" + }, + { + "pos": 23974, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23975, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23979, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 23981, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 23982, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 23986, + "type": [ + "Text" + ], + "value": "lobj=${xdir}$objdir/$objname" + }, + { + "pos": 24014, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 24016, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24020, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 24022, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24023, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 24027, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24028, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 24030, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24031, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$base_compile\"" + }, + { + "pos": 24046, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 24047, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24048, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 24052, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 24053, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24059, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 24064, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24065, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: you must specify a compilation command\"" + }, + { + "pos": 24116, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24117, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 24121, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 24122, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24128, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 24133, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24134, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$help\"" + }, + { + "pos": 24141, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24142, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 24146, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 24147, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24153, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 24157, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24158, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 24171, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 24172, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24176, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 24178, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 24180, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24184, + "type": [ + "Comment" + ], + "value": "# Delete any leftover library objects." + }, + { + "pos": 24222, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 24223, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24227, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 24229, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24230, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 24234, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24235, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$build_old_libs\"" + }, + { + "pos": 24252, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24253, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 24254, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24255, + "type": [ + "Text" + ], + "value": "yes;" + }, + { + "pos": 24259, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24260, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 24264, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 24265, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24271, + "type": [ + "Text" + ], + "value": "removelist=\"$obj" + }, + { + "pos": 24287, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24288, + "type": [ + "Text" + ], + "value": "$lobj" + }, + { + "pos": 24293, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24294, + "type": [ + "Text" + ], + "value": "$libobj" + }, + { + "pos": 24301, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24302, + "type": [ + "Text" + ], + "value": "${libobj}T\"" + }, + { + "pos": 24313, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 24314, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24318, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 24322, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 24323, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24329, + "type": [ + "Text" + ], + "value": "removelist=\"$lobj" + }, + { + "pos": 24346, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24347, + "type": [ + "Text" + ], + "value": "$libobj" + }, + { + "pos": 24354, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24355, + "type": [ + "Text" + ], + "value": "${libobj}T\"" + }, + { + "pos": 24366, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 24367, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24371, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 24373, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 24375, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24379, + "type": [ + "Text" + ], + "value": "$run" + }, + { + "pos": 24383, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24384, + "type": [ + "Text" + ], + "value": "$rm" + }, + { + "pos": 24387, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24388, + "type": [ + "Text" + ], + "value": "$removelist" + }, + { + "pos": 24399, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 24400, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24404, + "type": [ + "Text" + ], + "value": "trap" + }, + { + "pos": 24408, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24409, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$run $rm $removelist; exit $EXIT_FAILURE\"" + }, + { + "pos": 24451, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24452, + "type": [ + "Text" + ], + "value": "1" + }, + { + "pos": 24453, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24454, + "type": [ + "Text" + ], + "value": "2" + }, + { + "pos": 24455, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24456, + "type": [ + "Text" + ], + "value": "15" + }, + { + "pos": 24458, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 24460, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24464, + "type": [ + "Comment" + ], + "value": "# On Cygwin there's no \"real\" PIC flag so we must build both object types" + }, + { + "pos": 24537, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 24538, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24542, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 24546, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24547, + "type": [ + "Text" + ], + "value": "$host_os" + }, + { + "pos": 24555, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24556, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 24558, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 24559, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24563, + "type": [ + "Text" + ], + "value": "cygwin*" + }, + { + "pos": 24570, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24571, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 24572, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24573, + "type": [ + "Text" + ], + "value": "mingw*" + }, + { + "pos": 24579, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24580, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 24581, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24582, + "type": [ + "Text" + ], + "value": "pw32*" + }, + { + "pos": 24587, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24588, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 24589, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24590, + "type": [ + "Text" + ], + "value": "os2*)" + }, + { + "pos": 24595, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 24596, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24602, + "type": [ + "Text" + ], + "value": "pic_mode=default" + }, + { + "pos": 24618, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 24619, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24625, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 24627, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 24628, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24632, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 24636, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 24637, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24641, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 24643, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24644, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 24648, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24649, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pic_mode\"" + }, + { + "pos": 24660, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24661, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 24662, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24663, + "type": [ + "Text" + ], + "value": "no" + }, + { + "pos": 24665, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24666, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 24668, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24669, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 24673, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24674, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$deplibs_check_method\"" + }, + { + "pos": 24697, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24698, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 24700, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24701, + "type": [ + "Text" + ], + "value": "pass_all;" + }, + { + "pos": 24710, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24711, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 24715, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 24716, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24722, + "type": [ + "Comment" + ], + "value": "# non-PIC code in shared libraries is not supported" + }, + { + "pos": 24773, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 24774, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24780, + "type": [ + "Text" + ], + "value": "pic_mode=default" + }, + { + "pos": 24796, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 24797, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24801, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 24803, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 24805, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24809, + "type": [ + "Comment" + ], + "value": "# Calculate the filename of the output object if compiler does" + }, + { + "pos": 24871, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 24872, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24876, + "type": [ + "Comment" + ], + "value": "# not support -o with -c" + }, + { + "pos": 24900, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 24901, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24905, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 24907, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24908, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 24912, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24913, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$compiler_c_o\"" + }, + { + "pos": 24928, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24929, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 24930, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24931, + "type": [ + "Text" + ], + "value": "no;" + }, + { + "pos": 24934, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24935, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 24939, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 24940, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24946, + "type": [ + "Text" + ], + "value": "output_obj=`$echo" + }, + { + "pos": 24963, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24964, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$srcfile\"" + }, + { + "pos": 24975, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24976, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 24977, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24978, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 24983, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24984, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 24986, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24987, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s%^.*/%%'" + }, + { + "pos": 24997, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 24998, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 25000, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25001, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s%\\.[^.]*$%%'" + }, + { + "pos": 25015, + "type": [ + "Text" + ], + "value": "`.${objext}" + }, + { + "pos": 25026, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 25027, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25033, + "type": [ + "Text" + ], + "value": "lockfile=\"$output_obj.lock\"" + }, + { + "pos": 25060, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 25061, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25067, + "type": [ + "Text" + ], + "value": "removelist=\"$removelist" + }, + { + "pos": 25090, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25091, + "type": [ + "Text" + ], + "value": "$output_obj" + }, + { + "pos": 25102, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25103, + "type": [ + "Text" + ], + "value": "$lockfile\"" + }, + { + "pos": 25113, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 25114, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25120, + "type": [ + "Text" + ], + "value": "trap" + }, + { + "pos": 25124, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25125, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$run $rm $removelist; exit $EXIT_FAILURE\"" + }, + { + "pos": 25167, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25168, + "type": [ + "Text" + ], + "value": "1" + }, + { + "pos": 25169, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25170, + "type": [ + "Text" + ], + "value": "2" + }, + { + "pos": 25171, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25172, + "type": [ + "Text" + ], + "value": "15" + }, + { + "pos": 25174, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 25175, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25179, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 25183, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 25184, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25190, + "type": [ + "Text" + ], + "value": "output_obj=" + }, + { + "pos": 25201, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 25202, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25208, + "type": [ + "Text" + ], + "value": "need_locks=no" + }, + { + "pos": 25221, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 25222, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25228, + "type": [ + "Text" + ], + "value": "lockfile=" + }, + { + "pos": 25237, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 25238, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25242, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 25244, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 25246, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25250, + "type": [ + "Comment" + ], + "value": "# Lock this critical section if it is needed" + }, + { + "pos": 25294, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 25295, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25299, + "type": [ + "Comment" + ], + "value": "# We use this script file to make the link, it avoids creating a new file" + }, + { + "pos": 25372, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 25373, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25377, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 25379, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25380, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 25384, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25385, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$need_locks\"" + }, + { + "pos": 25398, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25399, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 25400, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25401, + "type": [ + "Text" + ], + "value": "yes;" + }, + { + "pos": 25405, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25406, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 25410, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 25411, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25417, + "type": [ + "Text" + ], + "value": "until" + }, + { + "pos": 25422, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25423, + "type": [ + "Text" + ], + "value": "$run" + }, + { + "pos": 25427, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25428, + "type": [ + "Text" + ], + "value": "ln" + }, + { + "pos": 25430, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25431, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$srcfile\"" + }, + { + "pos": 25441, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25442, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$lockfile\"" + }, + { + "pos": 25453, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25454, + "type": [ + "Text" + ], + "value": "2>/dev/null;" + }, + { + "pos": 25466, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25467, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 25469, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 25470, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 25471, + "type": [ + "Text" + ], + "value": "$show" + }, + { + "pos": 25476, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25477, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"Waiting for $lockfile to be removed\"" + }, + { + "pos": 25514, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 25515, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 25516, + "type": [ + "Text" + ], + "value": "sleep" + }, + { + "pos": 25521, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25522, + "type": [ + "Text" + ], + "value": "2" + }, + { + "pos": 25523, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 25524, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25530, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 25534, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 25535, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25539, + "type": [ + "Text" + ], + "value": "elif" + }, + { + "pos": 25543, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25544, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 25548, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25549, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$need_locks\"" + }, + { + "pos": 25562, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25563, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 25564, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25565, + "type": [ + "Text" + ], + "value": "warn;" + }, + { + "pos": 25570, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25571, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 25575, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 25576, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25582, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 25584, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25585, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 25589, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25590, + "type": [ + "Text" + ], + "value": "-f" + }, + { + "pos": 25592, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25593, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$lockfile\"" + }, + { + "pos": 25604, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 25605, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25606, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 25610, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 25611, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 25612, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 25617, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25618, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"\\\n*** ERROR, $lockfile exists and contains:\n`cat $lockfile 2>/dev/null`\n\nThis indicates that another process is trying to use the same\ntemporary object file, and libtool could not work around it because\nyour compiler does not support \\`-c' and \\`-o' together. If you\nrepeat this compilation, it may succeed, by chance, but you had better\navoid parallel builds (make -j) in this platform, or get a better\ncompiler.\"" + }, + { + "pos": 26034, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 26036, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 26037, + "type": [ + "Text" + ], + "value": "$run" + }, + { + "pos": 26041, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26042, + "type": [ + "Text" + ], + "value": "$rm" + }, + { + "pos": 26045, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26046, + "type": [ + "Text" + ], + "value": "$removelist" + }, + { + "pos": 26057, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 26058, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 26059, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 26063, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26064, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 26077, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 26078, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26084, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 26086, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 26087, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26093, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 26098, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26099, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$srcfile\"" + }, + { + "pos": 26109, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26110, + "type": [ + "Text" + ], + "value": ">" + }, + { + "pos": 26111, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26112, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$lockfile\"" + }, + { + "pos": 26123, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 26124, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26128, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 26130, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 26132, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26136, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 26138, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26139, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 26143, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26144, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 26146, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26147, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$fix_srcfile_path\"" + }, + { + "pos": 26166, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 26167, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26168, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 26172, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 26173, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26179, + "type": [ + "Text" + ], + "value": "eval" + }, + { + "pos": 26183, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26184, + "type": [ + "Text" + ], + "value": "srcfile=\\\"$fix_srcfile_path\\\"" + }, + { + "pos": 26213, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 26214, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26218, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 26220, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 26221, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26225, + "type": [ + "Text" + ], + "value": "qsrcfile=`$echo" + }, + { + "pos": 26240, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26241, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$srcfile\"" + }, + { + "pos": 26252, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26253, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 26254, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26255, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 26260, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26261, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 26263, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26264, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$sed_quote_subst\"" + }, + { + "pos": 26282, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 26283, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 26284, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26288, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 26292, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26293, + "type": [ + "Text" + ], + "value": "$qsrcfile" + }, + { + "pos": 26302, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26303, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 26305, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 26306, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26312, + "type": [ + "Text" + ], + "value": "*[\\[\\~\\#\\^\\&\\*\\(\\)\\{\\}\\|\\;\\<\\>\\?\\'\\" + }, + { + "pos": 26347, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26348, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 26349, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 26350, + "type": [ + "Text" + ], + "value": "]*|*]*|\"\")" + }, + { + "pos": 26360, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 26361, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26367, + "type": [ + "Text" + ], + "value": "qsrcfile=\"\\\"$qsrcfile\\\"\"" + }, + { + "pos": 26391, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26392, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 26394, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 26395, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26399, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 26403, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 26405, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26409, + "type": [ + "Text" + ], + "value": "$run" + }, + { + "pos": 26413, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26414, + "type": [ + "Text" + ], + "value": "$rm" + }, + { + "pos": 26417, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26418, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$libobj\"" + }, + { + "pos": 26427, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26428, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"${libobj}T\"" + }, + { + "pos": 26440, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 26442, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26446, + "type": [ + "Comment" + ], + "value": "# Create a libtool object file (analogous to a \".la\" file)," + }, + { + "pos": 26505, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 26506, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26510, + "type": [ + "Comment" + ], + "value": "# but don't create it if we're doing a dry run." + }, + { + "pos": 26557, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 26558, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26562, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 26566, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26567, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 26569, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26570, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$run\"" + }, + { + "pos": 26576, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26577, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 26579, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26580, + "type": [ + "Text" + ], + "value": "cat" + }, + { + "pos": 26583, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26584, + "type": [ + "Text" + ], + "value": ">" + }, + { + "pos": 26585, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26586, + "type": [ + "Text" + ], + "value": "${libobj}T" + }, + { + "pos": 26596, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 26597, + "type": [ + "Text" + ], + "value": "</dev/null`\"" + }, + { + "pos": 27772, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 27773, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 27775, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 27776, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$srcfile\"" + }, + { + "pos": 27787, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 27788, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 27789, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 27793, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 27794, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 27795, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 27800, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 27801, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"\\\n*** ERROR, $lockfile contains:\n`cat $lockfile 2>/dev/null`\n\nbut it should contain:\n$srcfile\n\nThis indicates that another process is trying to use the same\ntemporary object file, and libtool could not work around it because\nyour compiler does not support \\`-c' and \\`-o' together. If you\nrepeat this compilation, it may succeed, by chance, but you had better\navoid parallel builds (make -j) in this platform, or get a better\ncompiler.\"" + }, + { + "pos": 28239, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 28241, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 28242, + "type": [ + "Text" + ], + "value": "$run" + }, + { + "pos": 28246, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28247, + "type": [ + "Text" + ], + "value": "$rm" + }, + { + "pos": 28250, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28251, + "type": [ + "Text" + ], + "value": "$removelist" + }, + { + "pos": 28262, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 28263, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 28264, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 28268, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28269, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 28282, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 28283, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28289, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 28291, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 28293, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28299, + "type": [ + "Comment" + ], + "value": "# Just move the object if needed, then go on to compile the next one" + }, + { + "pos": 28367, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 28368, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28374, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 28376, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28377, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 28381, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28382, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 28384, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28385, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$output_obj\"" + }, + { + "pos": 28398, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28399, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 28401, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28402, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 28406, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28407, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$output_obj\"" + }, + { + "pos": 28421, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28422, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 28424, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28425, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$lobj\"" + }, + { + "pos": 28433, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 28434, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28435, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 28439, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 28440, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 28441, + "type": [ + "Text" + ], + "value": "$show" + }, + { + "pos": 28446, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28447, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$mv $output_obj $lobj\"" + }, + { + "pos": 28470, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 28471, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 28472, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 28474, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28475, + "type": [ + "Text" + ], + "value": "$run" + }, + { + "pos": 28479, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28480, + "type": [ + "Text" + ], + "value": "$mv" + }, + { + "pos": 28483, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28484, + "type": [ + "Text" + ], + "value": "$output_obj" + }, + { + "pos": 28495, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28496, + "type": [ + "Text" + ], + "value": "$lobj;" + }, + { + "pos": 28502, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28503, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 28507, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28508, + "type": [ + "Text" + ], + "value": ":" + }, + { + "pos": 28509, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 28510, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 28511, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 28515, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 28516, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 28519, + "type": [ + "Text" + ], + "value": "error=$?" + }, + { + "pos": 28527, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 28528, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 28531, + "type": [ + "Text" + ], + "value": "$run" + }, + { + "pos": 28535, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28536, + "type": [ + "Text" + ], + "value": "$rm" + }, + { + "pos": 28539, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28540, + "type": [ + "Text" + ], + "value": "$removelist" + }, + { + "pos": 28551, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 28552, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 28555, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 28559, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28560, + "type": [ + "Text" + ], + "value": "$error" + }, + { + "pos": 28566, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 28567, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 28568, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 28570, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 28571, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28577, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 28579, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 28581, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28587, + "type": [ + "Comment" + ], + "value": "# Append the name of the PIC object to the libtool object file." + }, + { + "pos": 28650, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 28651, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28657, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 28661, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28662, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 28664, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28665, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$run\"" + }, + { + "pos": 28671, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28672, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 28674, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28675, + "type": [ + "Text" + ], + "value": "cat" + }, + { + "pos": 28678, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28679, + "type": [ + "Text" + ], + "value": ">>" + }, + { + "pos": 28681, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28682, + "type": [ + "Text" + ], + "value": "${libobj}T" + }, + { + "pos": 28692, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 28693, + "type": [ + "Text" + ], + "value": "<>" + }, + { + "pos": 29017, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 29018, + "type": [ + "Text" + ], + "value": "${libobj}T" + }, + { + "pos": 29028, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 29029, + "type": [ + "Text" + ], + "value": "</dev/null`\"" + }, + { + "pos": 29767, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 29768, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 29770, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 29771, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$srcfile\"" + }, + { + "pos": 29782, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 29783, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 29784, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 29788, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 29789, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 29790, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 29795, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 29796, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"\\\n*** ERROR, $lockfile contains:\n`cat $lockfile 2>/dev/null`\n\nbut it should contain:\n$srcfile\n\nThis indicates that another process is trying to use the same\ntemporary object file, and libtool could not work around it because\nyour compiler does not support \\`-c' and \\`-o' together. If you\nrepeat this compilation, it may succeed, by chance, but you had better\navoid parallel builds (make -j) in this platform, or get a better\ncompiler.\"" + }, + { + "pos": 30234, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 30236, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 30237, + "type": [ + "Text" + ], + "value": "$run" + }, + { + "pos": 30241, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30242, + "type": [ + "Text" + ], + "value": "$rm" + }, + { + "pos": 30245, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30246, + "type": [ + "Text" + ], + "value": "$removelist" + }, + { + "pos": 30257, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 30258, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 30259, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 30263, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30264, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 30277, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 30278, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30284, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 30286, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 30288, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30294, + "type": [ + "Comment" + ], + "value": "# Just move the object if needed" + }, + { + "pos": 30326, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 30327, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30333, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 30335, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30336, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 30340, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30341, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 30343, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30344, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$output_obj\"" + }, + { + "pos": 30357, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30358, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 30360, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30361, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 30365, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30366, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$output_obj\"" + }, + { + "pos": 30380, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30381, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 30383, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30384, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$obj\"" + }, + { + "pos": 30391, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 30392, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30393, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 30397, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 30398, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 30399, + "type": [ + "Text" + ], + "value": "$show" + }, + { + "pos": 30404, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30405, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$mv $output_obj $obj\"" + }, + { + "pos": 30427, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 30428, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 30429, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 30431, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30432, + "type": [ + "Text" + ], + "value": "$run" + }, + { + "pos": 30436, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30437, + "type": [ + "Text" + ], + "value": "$mv" + }, + { + "pos": 30440, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30441, + "type": [ + "Text" + ], + "value": "$output_obj" + }, + { + "pos": 30452, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30453, + "type": [ + "Text" + ], + "value": "$obj;" + }, + { + "pos": 30458, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30459, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 30463, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30464, + "type": [ + "Text" + ], + "value": ":" + }, + { + "pos": 30465, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 30466, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 30467, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 30471, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 30472, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 30475, + "type": [ + "Text" + ], + "value": "error=$?" + }, + { + "pos": 30483, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 30484, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 30487, + "type": [ + "Text" + ], + "value": "$run" + }, + { + "pos": 30491, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30492, + "type": [ + "Text" + ], + "value": "$rm" + }, + { + "pos": 30495, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30496, + "type": [ + "Text" + ], + "value": "$removelist" + }, + { + "pos": 30507, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 30508, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 30511, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 30515, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30516, + "type": [ + "Text" + ], + "value": "$error" + }, + { + "pos": 30522, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 30523, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 30524, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 30526, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 30527, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30533, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 30535, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 30537, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30543, + "type": [ + "Comment" + ], + "value": "# Append the name of the non-PIC object the libtool object file." + }, + { + "pos": 30607, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 30608, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30614, + "type": [ + "Comment" + ], + "value": "# Only append if the libtool object file exists." + }, + { + "pos": 30662, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 30663, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30669, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 30673, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30674, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 30676, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30677, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$run\"" + }, + { + "pos": 30683, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30684, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 30686, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30687, + "type": [ + "Text" + ], + "value": "cat" + }, + { + "pos": 30690, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30691, + "type": [ + "Text" + ], + "value": ">>" + }, + { + "pos": 30693, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30694, + "type": [ + "Text" + ], + "value": "${libobj}T" + }, + { + "pos": 30704, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30705, + "type": [ + "Text" + ], + "value": "<>" + }, + { + "pos": 30937, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30938, + "type": [ + "Text" + ], + "value": "${libobj}T" + }, + { + "pos": 30948, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 30949, + "type": [ + "Text" + ], + "value": "<&2" + }, + { + "pos": 33340, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 33341, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 33344, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 33346, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 33347, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 33350, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 33352, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33353, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 33357, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33358, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 33360, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33361, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$link_static_flag\"" + }, + { + "pos": 33380, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 33381, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33382, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 33386, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 33387, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 33392, + "type": [ + "Text" + ], + "value": "dlopen_self=$dlopen_self_static" + }, + { + "pos": 33423, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 33424, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 33427, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 33429, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 33430, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 33433, + "type": [ + "Text" + ], + "value": "prefer_static_libs=yes" + }, + { + "pos": 33455, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 33456, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 33457, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 33461, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 33462, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 33465, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 33467, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33468, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 33472, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33473, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 33475, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33476, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pic_flag\"" + }, + { + "pos": 33487, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33488, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 33490, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33491, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 33495, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33496, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 33498, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33499, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$link_static_flag\"" + }, + { + "pos": 33518, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 33519, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33520, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 33524, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 33525, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 33530, + "type": [ + "Text" + ], + "value": "dlopen_self=$dlopen_self_static" + }, + { + "pos": 33561, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 33562, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 33565, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 33567, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 33568, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 33571, + "type": [ + "Text" + ], + "value": "prefer_static_libs=built" + }, + { + "pos": 33595, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 33596, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 33597, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 33599, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 33600, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 33601, + "type": [ + "Text" + ], + "value": "build_libtool_libs=no" + }, + { + "pos": 33622, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 33623, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 33624, + "type": [ + "Text" + ], + "value": "build_old_libs=yes" + }, + { + "pos": 33642, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 33643, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 33644, + "type": [ + "Text" + ], + "value": "break" + }, + { + "pos": 33649, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 33650, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 33651, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 33653, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 33654, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33660, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 33664, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 33665, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33669, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 33673, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 33675, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33679, + "type": [ + "Comment" + ], + "value": "# See if our shared archives depend on static archives." + }, + { + "pos": 33734, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 33735, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33739, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 33743, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33744, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 33746, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33747, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$old_archive_from_new_cmds\"" + }, + { + "pos": 33775, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33776, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 33778, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33779, + "type": [ + "Text" + ], + "value": "build_old_libs=yes" + }, + { + "pos": 33797, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 33799, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33803, + "type": [ + "Comment" + ], + "value": "# Go through the arguments, transforming them on the way." + }, + { + "pos": 33860, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 33861, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33865, + "type": [ + "Text" + ], + "value": "while" + }, + { + "pos": 33870, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33871, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 33875, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33876, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$#\"" + }, + { + "pos": 33880, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33881, + "type": [ + "Text" + ], + "value": "-gt" + }, + { + "pos": 33884, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33885, + "type": [ + "Text" + ], + "value": "0;" + }, + { + "pos": 33887, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33888, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 33890, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 33891, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33897, + "type": [ + "Text" + ], + "value": "arg=\"$1\"" + }, + { + "pos": 33905, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 33906, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33912, + "type": [ + "Text" + ], + "value": "shift" + }, + { + "pos": 33917, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 33918, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33924, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 33928, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33929, + "type": [ + "Text" + ], + "value": "$arg" + }, + { + "pos": 33933, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33934, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 33936, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 33937, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33943, + "type": [ + "Text" + ], + "value": "*[\\[\\~\\#\\^\\&\\*\\(\\)\\{\\}\\|\\;\\<\\>\\?\\'\\" + }, + { + "pos": 33978, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33979, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 33980, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 33981, + "type": [ + "Text" + ], + "value": "]*|*]*|\"\")" + }, + { + "pos": 33991, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 33992, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 33993, + "type": [ + "Text" + ], + "value": "qarg=\\\"`$echo" + }, + { + "pos": 34006, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34007, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$arg\"" + }, + { + "pos": 34014, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34015, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 34016, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34017, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 34022, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34023, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 34025, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34026, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$sed_quote_subst\"" + }, + { + "pos": 34044, + "type": [ + "Text" + ], + "value": "`\\\"" + }, + { + "pos": 34047, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34048, + "type": [ + "Comment" + ], + "value": "### testsuite: skip nested quoting test" + }, + { + "pos": 34087, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34088, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 34089, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 34091, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34092, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34098, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 34100, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34101, + "type": [ + "Text" + ], + "value": "qarg=$arg" + }, + { + "pos": 34110, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34111, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 34113, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34114, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34120, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 34124, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34125, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34131, + "type": [ + "Text" + ], + "value": "libtool_args=\"$libtool_args" + }, + { + "pos": 34158, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34159, + "type": [ + "Text" + ], + "value": "$qarg\"" + }, + { + "pos": 34165, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 34167, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34173, + "type": [ + "Comment" + ], + "value": "# If the previous option needs an argument, assign it." + }, + { + "pos": 34227, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34228, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34234, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 34236, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34237, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 34241, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34242, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 34244, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34245, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$prev\"" + }, + { + "pos": 34252, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 34253, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34254, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 34258, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34259, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 34260, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 34264, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34265, + "type": [ + "Text" + ], + "value": "$prev" + }, + { + "pos": 34270, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34271, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 34273, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34274, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 34275, + "type": [ + "Text" + ], + "value": "output)" + }, + { + "pos": 34282, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34283, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 34286, + "type": [ + "Text" + ], + "value": "compile_command=\"$compile_command" + }, + { + "pos": 34319, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34320, + "type": [ + "Text" + ], + "value": "@OUTPUT@\"" + }, + { + "pos": 34329, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34330, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 34333, + "type": [ + "Text" + ], + "value": "finalize_command=\"$finalize_command" + }, + { + "pos": 34368, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34369, + "type": [ + "Text" + ], + "value": "@OUTPUT@\"" + }, + { + "pos": 34378, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34379, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 34382, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 34384, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34385, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 34386, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 34390, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 34392, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 34393, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 34397, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34398, + "type": [ + "Text" + ], + "value": "$prev" + }, + { + "pos": 34403, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34404, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 34406, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34407, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 34408, + "type": [ + "Text" + ], + "value": "dlfiles|dlprefiles)" + }, + { + "pos": 34427, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34428, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 34431, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 34433, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34434, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 34438, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34439, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$preload\"" + }, + { + "pos": 34449, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34450, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 34451, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34452, + "type": [ + "Text" + ], + "value": "no;" + }, + { + "pos": 34455, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34456, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 34460, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34461, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 34466, + "type": [ + "Comment" + ], + "value": "# Add the symbol object into the linking commands." + }, + { + "pos": 34516, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34517, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 34522, + "type": [ + "Text" + ], + "value": "compile_command=\"$compile_command" + }, + { + "pos": 34555, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34556, + "type": [ + "Text" + ], + "value": "@SYMFILE@\"" + }, + { + "pos": 34566, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34567, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 34572, + "type": [ + "Text" + ], + "value": "finalize_command=\"$finalize_command" + }, + { + "pos": 34607, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34608, + "type": [ + "Text" + ], + "value": "@SYMFILE@\"" + }, + { + "pos": 34618, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34619, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 34624, + "type": [ + "Text" + ], + "value": "preload=yes" + }, + { + "pos": 34635, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34636, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 34639, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 34641, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34642, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 34645, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 34649, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34650, + "type": [ + "Text" + ], + "value": "$arg" + }, + { + "pos": 34654, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34655, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 34657, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34658, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 34661, + "type": [ + "Text" + ], + "value": "*.la" + }, + { + "pos": 34665, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34666, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 34667, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34668, + "type": [ + "Text" + ], + "value": "*.lo)" + }, + { + "pos": 34673, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34674, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 34676, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34678, + "type": [ + "Comment" + ], + "value": "# We handle these cases below." + }, + { + "pos": 34708, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34709, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 34712, + "type": [ + "Text" + ], + "value": "force)" + }, + { + "pos": 34718, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34719, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 34724, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 34726, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34727, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 34731, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34732, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$dlself\"" + }, + { + "pos": 34741, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34742, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 34743, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34744, + "type": [ + "Text" + ], + "value": "no;" + }, + { + "pos": 34747, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34748, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 34752, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34753, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 34760, + "type": [ + "Text" + ], + "value": "dlself=needless" + }, + { + "pos": 34775, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34776, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 34783, + "type": [ + "Text" + ], + "value": "export_dynamic=yes" + }, + { + "pos": 34801, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34802, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 34807, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 34809, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34810, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 34815, + "type": [ + "Text" + ], + "value": "prev=" + }, + { + "pos": 34820, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34821, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 34826, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 34834, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34835, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 34840, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 34842, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34843, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 34846, + "type": [ + "Text" + ], + "value": "self)" + }, + { + "pos": 34851, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34852, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 34857, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 34859, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34860, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 34864, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34865, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$prev\"" + }, + { + "pos": 34872, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34873, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 34874, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34875, + "type": [ + "Text" + ], + "value": "dlprefiles;" + }, + { + "pos": 34886, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34887, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 34891, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34892, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 34899, + "type": [ + "Text" + ], + "value": "dlself=yes" + }, + { + "pos": 34909, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34910, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 34915, + "type": [ + "Text" + ], + "value": "elif" + }, + { + "pos": 34919, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34920, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 34924, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34925, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$prev\"" + }, + { + "pos": 34932, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34933, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 34934, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34935, + "type": [ + "Text" + ], + "value": "dlfiles" + }, + { + "pos": 34942, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34943, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 34945, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34946, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 34950, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34951, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$dlopen_self\"" + }, + { + "pos": 34965, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34966, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 34968, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34969, + "type": [ + "Text" + ], + "value": "yes;" + }, + { + "pos": 34973, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 34974, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 34978, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34979, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 34986, + "type": [ + "Text" + ], + "value": "dlself=yes" + }, + { + "pos": 34996, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 34997, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35002, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 35006, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35007, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35014, + "type": [ + "Text" + ], + "value": "dlself=needless" + }, + { + "pos": 35029, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35030, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35037, + "type": [ + "Text" + ], + "value": "export_dynamic=yes" + }, + { + "pos": 35055, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35056, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35061, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 35063, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35064, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35069, + "type": [ + "Text" + ], + "value": "prev=" + }, + { + "pos": 35074, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35075, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35080, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 35088, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35089, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35094, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 35096, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35097, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35100, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 35102, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35103, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35108, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 35110, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 35111, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 35115, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 35116, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$prev\"" + }, + { + "pos": 35123, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 35124, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 35125, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 35126, + "type": [ + "Text" + ], + "value": "dlfiles;" + }, + { + "pos": 35134, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 35135, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 35139, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35140, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35147, + "type": [ + "Text" + ], + "value": "dlfiles=\"$dlfiles" + }, + { + "pos": 35164, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 35165, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 35170, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35171, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35176, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 35180, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35181, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35188, + "type": [ + "Text" + ], + "value": "dlprefiles=\"$dlprefiles" + }, + { + "pos": 35211, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 35212, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 35217, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35218, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35223, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 35225, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35226, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35231, + "type": [ + "Text" + ], + "value": "prev=" + }, + { + "pos": 35236, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35237, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35242, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 35250, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35251, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35256, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 35258, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35259, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35262, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 35266, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35267, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35270, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 35272, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35273, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 35274, + "type": [ + "Text" + ], + "value": "expsyms)" + }, + { + "pos": 35282, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35283, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35286, + "type": [ + "Text" + ], + "value": "export_symbols=\"$arg\"" + }, + { + "pos": 35307, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35308, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35311, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 35313, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 35314, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 35318, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 35319, + "type": [ + "Text" + ], + "value": "!" + }, + { + "pos": 35320, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 35321, + "type": [ + "Text" + ], + "value": "-f" + }, + { + "pos": 35323, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 35324, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$arg\"" + }, + { + "pos": 35330, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 35331, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 35332, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 35336, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35337, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35342, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 35347, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 35348, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: symbol file \\`$arg' does not exist\"" + }, + { + "pos": 35395, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35396, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35401, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 35405, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 35406, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 35419, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35420, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35423, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 35425, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35426, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35429, + "type": [ + "Text" + ], + "value": "prev=" + }, + { + "pos": 35434, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35435, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35438, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 35446, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35447, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35450, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 35452, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35453, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 35454, + "type": [ + "Text" + ], + "value": "expsyms_regex)" + }, + { + "pos": 35468, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35469, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35472, + "type": [ + "Text" + ], + "value": "export_symbols_regex=\"$arg\"" + }, + { + "pos": 35499, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35500, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35503, + "type": [ + "Text" + ], + "value": "prev=" + }, + { + "pos": 35508, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35509, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35512, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 35520, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35521, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35524, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 35526, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35527, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 35528, + "type": [ + "Text" + ], + "value": "inst_prefix)" + }, + { + "pos": 35540, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35541, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35544, + "type": [ + "Text" + ], + "value": "inst_prefix_dir=\"$arg\"" + }, + { + "pos": 35566, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35567, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35570, + "type": [ + "Text" + ], + "value": "prev=" + }, + { + "pos": 35575, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35576, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35579, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 35587, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35588, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35591, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 35593, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35594, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 35595, + "type": [ + "Text" + ], + "value": "precious_regex)" + }, + { + "pos": 35610, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35611, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35614, + "type": [ + "Text" + ], + "value": "precious_files_regex=\"$arg\"" + }, + { + "pos": 35641, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35642, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35645, + "type": [ + "Text" + ], + "value": "prev=" + }, + { + "pos": 35650, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35651, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35654, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 35662, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35663, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35666, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 35668, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35669, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 35670, + "type": [ + "Text" + ], + "value": "release)" + }, + { + "pos": 35678, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35679, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35682, + "type": [ + "Text" + ], + "value": "release=\"-$arg\"" + }, + { + "pos": 35697, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35698, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35701, + "type": [ + "Text" + ], + "value": "prev=" + }, + { + "pos": 35706, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35707, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35710, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 35718, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35719, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35722, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 35724, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35725, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 35726, + "type": [ + "Text" + ], + "value": "objectlist)" + }, + { + "pos": 35737, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35738, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35741, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 35743, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 35744, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 35748, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 35749, + "type": [ + "Text" + ], + "value": "-f" + }, + { + "pos": 35751, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 35752, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$arg\"" + }, + { + "pos": 35758, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 35759, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 35760, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 35764, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35765, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35770, + "type": [ + "Text" + ], + "value": "save_arg=$arg" + }, + { + "pos": 35783, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35784, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35789, + "type": [ + "Text" + ], + "value": "moreargs=" + }, + { + "pos": 35798, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35799, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35804, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 35807, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 35808, + "type": [ + "Text" + ], + "value": "fil" + }, + { + "pos": 35811, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 35812, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 35814, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 35815, + "type": [ + "Text" + ], + "value": "`cat" + }, + { + "pos": 35819, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 35820, + "type": [ + "Text" + ], + "value": "$save_arg`" + }, + { + "pos": 35830, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35831, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35836, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 35838, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35839, + "type": [ + "Comment" + ], + "value": "#\t moreargs=\"$moreargs $fil\"" + }, + { + "pos": 35872, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35873, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35880, + "type": [ + "Text" + ], + "value": "arg=$fil" + }, + { + "pos": 35888, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35889, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35896, + "type": [ + "Comment" + ], + "value": "# A libtool-controlled object." + }, + { + "pos": 35926, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 35928, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35935, + "type": [ + "Comment" + ], + "value": "# Check to see that this really is a libtool object." + }, + { + "pos": 35987, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 35988, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 35995, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 35997, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 35998, + "type": [ + "ArraySep", + "Start" + ], + "value": "(" + }, + { + "pos": 35999, + "type": [ + "Text" + ], + "value": "${SED}" + }, + { + "pos": 36005, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36006, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 36008, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36009, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'2q'" + }, + { + "pos": 36013, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36014, + "type": [ + "Text" + ], + "value": "$arg" + }, + { + "pos": 36018, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36019, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 36020, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36021, + "type": [ + "Text" + ], + "value": "grep" + }, + { + "pos": 36025, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36026, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"^# Generated by .*$PACKAGE\"" + }, + { + "pos": 36054, + "type": [ + "ArraySep", + "End" + ], + "value": ")" + }, + { + "pos": 36055, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36056, + "type": [ + "Text" + ], + "value": ">/dev/null" + }, + { + "pos": 36066, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36067, + "type": [ + "Text" + ], + "value": "2>&1;" + }, + { + "pos": 36072, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36073, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 36077, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 36078, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 36080, + "type": [ + "Text" + ], + "value": "pic_object=" + }, + { + "pos": 36091, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 36092, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 36094, + "type": [ + "Text" + ], + "value": "non_pic_object=" + }, + { + "pos": 36109, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 36111, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 36113, + "type": [ + "Comment" + ], + "value": "# Read the .lo file" + }, + { + "pos": 36132, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 36133, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 36135, + "type": [ + "Comment" + ], + "value": "# If there is no directory component, then add one." + }, + { + "pos": 36186, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 36187, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 36189, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 36193, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36194, + "type": [ + "Text" + ], + "value": "$arg" + }, + { + "pos": 36198, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36199, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 36201, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 36202, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 36204, + "type": [ + "Text" + ], + "value": "*/*" + }, + { + "pos": 36207, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36208, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 36209, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36210, + "type": [ + "Text" + ], + "value": "*\\\\*)" + }, + { + "pos": 36215, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36216, + "type": [ + "Text" + ], + "value": "." + }, + { + "pos": 36217, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36218, + "type": [ + "Text" + ], + "value": "$arg" + }, + { + "pos": 36222, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36223, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 36225, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 36226, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 36228, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 36230, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36231, + "type": [ + "Text" + ], + "value": "." + }, + { + "pos": 36232, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36233, + "type": [ + "Text" + ], + "value": "./$arg" + }, + { + "pos": 36239, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36240, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 36242, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 36243, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 36245, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 36249, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 36251, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 36253, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 36255, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36256, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 36260, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36261, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 36263, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36264, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pic_object\"" + }, + { + "pos": 36277, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36278, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 36280, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36281, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 36282, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 36283, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 36288, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 36292, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36293, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 36295, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36296, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$non_pic_object\"" + }, + { + "pos": 36313, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36314, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 36316, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 36317, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 36322, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 36326, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36327, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pic_object\"" + }, + { + "pos": 36340, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36341, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 36342, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36343, + "type": [ + "Text" + ], + "value": "none" + }, + { + "pos": 36347, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36348, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 36350, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36351, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 36352, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 36353, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 36358, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 36362, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36363, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$non_pic_object\"" + }, + { + "pos": 36380, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36381, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 36382, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36383, + "type": [ + "Text" + ], + "value": "none;" + }, + { + "pos": 36388, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36389, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 36393, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 36394, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 36398, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 36403, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36404, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: cannot find name of object for \\`$arg'\"" + }, + { + "pos": 36455, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36456, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 36460, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 36461, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 36465, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 36469, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36470, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 36483, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 36484, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 36486, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 36488, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 36490, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 36492, + "type": [ + "Comment" + ], + "value": "# Extract subdirectory from the argument." + }, + { + "pos": 36533, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 36534, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 36536, + "type": [ + "Text" + ], + "value": "xdir=`$echo" + }, + { + "pos": 36547, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36548, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$arg\"" + }, + { + "pos": 36555, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36556, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 36557, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36558, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 36563, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36564, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 36566, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36567, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s%/[^/]*$%%'" + }, + { + "pos": 36580, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 36581, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 36582, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 36584, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 36586, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36587, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 36591, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36592, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$xdir\"" + }, + { + "pos": 36600, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36601, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 36602, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36603, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$arg\"" + }, + { + "pos": 36610, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 36611, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36612, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 36616, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 36617, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 36621, + "type": [ + "Text" + ], + "value": "xdir=" + }, + { + "pos": 36626, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 36627, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 36629, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 36633, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 36634, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 36638, + "type": [ + "Text" + ], + "value": "xdir=\"$xdir/\"" + }, + { + "pos": 36651, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 36652, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 36654, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 36656, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 36658, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 36660, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 36662, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36663, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 36667, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36668, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pic_object\"" + }, + { + "pos": 36681, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36682, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 36684, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36685, + "type": [ + "Text" + ], + "value": "none;" + }, + { + "pos": 36690, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36691, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 36695, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 36696, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 36700, + "type": [ + "Comment" + ], + "value": "# Prepend the subdirectory the object is found in." + }, + { + "pos": 36750, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 36751, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 36755, + "type": [ + "Text" + ], + "value": "pic_object=\"$xdir$pic_object\"" + }, + { + "pos": 36784, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 36786, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 36790, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 36792, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36793, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 36797, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36798, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$prev\"" + }, + { + "pos": 36805, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36806, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 36807, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36808, + "type": [ + "Text" + ], + "value": "dlfiles;" + }, + { + "pos": 36816, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36817, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 36821, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 36822, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 36828, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 36830, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36831, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 36835, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36836, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$build_libtool_libs\"" + }, + { + "pos": 36857, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36858, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 36859, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36860, + "type": [ + "Text" + ], + "value": "yes" + }, + { + "pos": 36863, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36864, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 36866, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36867, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 36871, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36872, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$dlopen_support\"" + }, + { + "pos": 36889, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36890, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 36891, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36892, + "type": [ + "Text" + ], + "value": "yes;" + }, + { + "pos": 36896, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36897, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 36901, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 36902, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 36910, + "type": [ + "Text" + ], + "value": "dlfiles=\"$dlfiles" + }, + { + "pos": 36927, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 36928, + "type": [ + "Text" + ], + "value": "$pic_object\"" + }, + { + "pos": 36940, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 36941, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 36949, + "type": [ + "Text" + ], + "value": "prev=" + }, + { + "pos": 36954, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 36955, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 36963, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 36971, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 36972, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 36978, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 36982, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 36983, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 36991, + "type": [ + "Comment" + ], + "value": "# If libtool objects are unsupported, then we need to preload." + }, + { + "pos": 37053, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 37054, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 37062, + "type": [ + "Text" + ], + "value": "prev=dlprefiles" + }, + { + "pos": 37077, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 37078, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 37084, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 37086, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 37087, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 37091, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 37093, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 37095, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 37099, + "type": [ + "Comment" + ], + "value": "# CHECK ME: I think I busted this. -Ossama" + }, + { + "pos": 37143, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 37144, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 37148, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 37150, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 37151, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 37155, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 37156, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$prev\"" + }, + { + "pos": 37163, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 37164, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 37165, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 37166, + "type": [ + "Text" + ], + "value": "dlprefiles;" + }, + { + "pos": 37177, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 37178, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 37182, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 37183, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 37189, + "type": [ + "Comment" + ], + "value": "# Preload the old-style object." + }, + { + "pos": 37220, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 37221, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 37227, + "type": [ + "Text" + ], + "value": "dlprefiles=\"$dlprefiles" + }, + { + "pos": 37250, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 37251, + "type": [ + "Text" + ], + "value": "$pic_object\"" + }, + { + "pos": 37263, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 37264, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 37270, + "type": [ + "Text" + ], + "value": "prev=" + }, + { + "pos": 37275, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 37276, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 37280, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 37282, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 37284, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 37288, + "type": [ + "Comment" + ], + "value": "# A PIC object." + }, + { + "pos": 37303, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 37304, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 37308, + "type": [ + "Text" + ], + "value": "libobjs=\"$libobjs" + }, + { + "pos": 37325, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 37326, + "type": [ + "Text" + ], + "value": "$pic_object\"" + }, + { + "pos": 37338, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 37339, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 37343, + "type": [ + "Text" + ], + "value": "arg=\"$pic_object\"" + }, + { + "pos": 37360, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 37361, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 37363, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 37365, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 37367, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 37369, + "type": [ + "Comment" + ], + "value": "# Non-PIC object." + }, + { + "pos": 37386, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 37387, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 37389, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 37391, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 37392, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 37396, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 37397, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$non_pic_object\"" + }, + { + "pos": 37414, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 37415, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 37417, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 37418, + "type": [ + "Text" + ], + "value": "none;" + }, + { + "pos": 37423, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 37424, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 37428, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 37429, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 37433, + "type": [ + "Comment" + ], + "value": "# Prepend the subdirectory the object is found in." + }, + { + "pos": 37483, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 37484, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 37488, + "type": [ + "Text" + ], + "value": "non_pic_object=\"$xdir$non_pic_object\"" + }, + { + "pos": 37525, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 37527, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 37531, + "type": [ + "Comment" + ], + "value": "# A standard non-PIC object" + }, + { + "pos": 37558, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 37559, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 37563, + "type": [ + "Text" + ], + "value": "non_pic_objects=\"$non_pic_objects" + }, + { + "pos": 37596, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 37597, + "type": [ + "Text" + ], + "value": "$non_pic_object\"" + }, + { + "pos": 37613, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 37614, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 37618, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 37620, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 37621, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 37625, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 37626, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 37628, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 37629, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pic_object\"" + }, + { + "pos": 37642, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 37643, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 37645, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 37646, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 37650, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 37651, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pic_object\"" + }, + { + "pos": 37664, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 37665, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 37666, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 37667, + "type": [ + "Text" + ], + "value": "none" + }, + { + "pos": 37671, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 37672, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 37673, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 37674, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 37678, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 37679, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 37685, + "type": [ + "Text" + ], + "value": "arg=\"$non_pic_object\"" + }, + { + "pos": 37706, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 37707, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 37711, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 37713, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 37714, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 37716, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 37720, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 37721, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 37725, + "type": [ + "Comment" + ], + "value": "# If the PIC object exists, use it instead." + }, + { + "pos": 37768, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 37769, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 37773, + "type": [ + "Comment" + ], + "value": "# $xdir was prepended to $pic_object above." + }, + { + "pos": 37816, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 37817, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 37821, + "type": [ + "Text" + ], + "value": "non_pic_object=\"$pic_object\"" + }, + { + "pos": 37849, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 37850, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 37854, + "type": [ + "Text" + ], + "value": "non_pic_objects=\"$non_pic_objects" + }, + { + "pos": 37887, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 37888, + "type": [ + "Text" + ], + "value": "$non_pic_object\"" + }, + { + "pos": 37904, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 37905, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 37907, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 37909, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 37910, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 37917, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 37921, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 37922, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 37924, + "type": [ + "Comment" + ], + "value": "# Only an error if not doing a dry-run." + }, + { + "pos": 37963, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 37964, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 37966, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 37968, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 37969, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 37973, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 37974, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 37976, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 37977, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$run\"" + }, + { + "pos": 37983, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 37984, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 37985, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 37989, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 37990, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 37994, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 37999, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38000, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: \\`$arg' is not a valid libtool object\"" + }, + { + "pos": 38050, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38051, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 38055, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38056, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 38060, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 38064, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38065, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 38078, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38079, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 38081, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 38085, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38086, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 38090, + "type": [ + "Comment" + ], + "value": "# Dry-run case." + }, + { + "pos": 38105, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 38107, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 38111, + "type": [ + "Comment" + ], + "value": "# Extract subdirectory from the argument." + }, + { + "pos": 38152, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38153, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 38157, + "type": [ + "Text" + ], + "value": "xdir=`$echo" + }, + { + "pos": 38168, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38169, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$arg\"" + }, + { + "pos": 38176, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38177, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 38178, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38179, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 38184, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38185, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 38187, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38188, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s%/[^/]*$%%'" + }, + { + "pos": 38201, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 38202, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38203, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 38207, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 38209, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38210, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 38214, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38215, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$xdir\"" + }, + { + "pos": 38223, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38224, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 38225, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38226, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$arg\"" + }, + { + "pos": 38233, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 38234, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38235, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 38239, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38240, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 38246, + "type": [ + "Text" + ], + "value": "xdir=" + }, + { + "pos": 38251, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38252, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 38256, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 38260, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38261, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 38267, + "type": [ + "Text" + ], + "value": "xdir=\"$xdir/\"" + }, + { + "pos": 38280, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38281, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 38285, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 38287, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 38289, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 38293, + "type": [ + "Text" + ], + "value": "pic_object=`$echo" + }, + { + "pos": 38310, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38311, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X${xdir}${objdir}/${arg}\"" + }, + { + "pos": 38337, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38338, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 38339, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38340, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 38345, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38346, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 38348, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38349, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$lo2o\"" + }, + { + "pos": 38356, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 38357, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38358, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 38362, + "type": [ + "Text" + ], + "value": "non_pic_object=`$echo" + }, + { + "pos": 38383, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38384, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X${xdir}${arg}\"" + }, + { + "pos": 38400, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38401, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 38402, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38403, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 38408, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38409, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 38411, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38412, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$lo2o\"" + }, + { + "pos": 38419, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 38420, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38421, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 38425, + "type": [ + "Text" + ], + "value": "libobjs=\"$libobjs" + }, + { + "pos": 38442, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38443, + "type": [ + "Text" + ], + "value": "$pic_object\"" + }, + { + "pos": 38455, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38456, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 38460, + "type": [ + "Text" + ], + "value": "non_pic_objects=\"$non_pic_objects" + }, + { + "pos": 38493, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38494, + "type": [ + "Text" + ], + "value": "$non_pic_object\"" + }, + { + "pos": 38510, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38511, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 38513, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 38515, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38516, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 38523, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 38525, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38526, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 38531, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 38535, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38536, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 38539, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 38543, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38544, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 38549, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 38554, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38555, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: link input file \\`$save_arg' does not exist\"" + }, + { + "pos": 38611, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38612, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 38617, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 38621, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38622, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 38635, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38636, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 38639, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 38641, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38642, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 38645, + "type": [ + "Text" + ], + "value": "arg=$save_arg" + }, + { + "pos": 38658, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38659, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 38662, + "type": [ + "Text" + ], + "value": "prev=" + }, + { + "pos": 38667, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38668, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 38671, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 38679, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38680, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 38683, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 38685, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38686, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 38687, + "type": [ + "Text" + ], + "value": "rpath" + }, + { + "pos": 38692, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38693, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 38694, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38695, + "type": [ + "Text" + ], + "value": "xrpath)" + }, + { + "pos": 38702, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38703, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 38706, + "type": [ + "Comment" + ], + "value": "# We need an absolute path." + }, + { + "pos": 38733, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38734, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 38737, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 38741, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38742, + "type": [ + "Text" + ], + "value": "$arg" + }, + { + "pos": 38746, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38747, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 38749, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38750, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 38753, + "type": [ + "Text" + ], + "value": "[\\\\/]*" + }, + { + "pos": 38759, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38760, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 38761, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38762, + "type": [ + "Text" + ], + "value": "[A-Za-z]:[\\\\/]*)" + }, + { + "pos": 38778, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38779, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 38781, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38782, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 38785, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 38787, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38788, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 38793, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 38798, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38799, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: only absolute run-paths are allowed\"" + }, + { + "pos": 38847, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38848, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 38852, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38853, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 38858, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 38862, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38863, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 38876, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38877, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 38882, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 38884, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38885, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 38888, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 38892, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38893, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 38896, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 38898, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38899, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 38903, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38904, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$prev\"" + }, + { + "pos": 38911, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38912, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 38913, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38914, + "type": [ + "Text" + ], + "value": "rpath;" + }, + { + "pos": 38920, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38921, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 38925, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38926, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 38931, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 38935, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38936, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$rpath \"" + }, + { + "pos": 38945, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38946, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 38948, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 38949, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 38954, + "type": [ + "Text" + ], + "value": "*\"" + }, + { + "pos": 38956, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38957, + "type": [ + "Text" + ], + "value": "$arg" + }, + { + "pos": 38961, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38962, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*) ;;\n\t *) rpath=\"" + }, + { + "pos": 38984, + "type": [ + "Text" + ], + "value": "$rpath" + }, + { + "pos": 38990, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38991, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 38996, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 38997, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 38999, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39000, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39005, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 39009, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39010, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39013, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 39017, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39018, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39023, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 39027, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 39028, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$xrpath \"" + }, + { + "pos": 39038, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 39039, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 39041, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39042, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39047, + "type": [ + "Text" + ], + "value": "*\"" + }, + { + "pos": 39049, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 39050, + "type": [ + "Text" + ], + "value": "$arg" + }, + { + "pos": 39054, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 39055, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*) ;;\n\t *) xrpath=\"" + }, + { + "pos": 39078, + "type": [ + "Text" + ], + "value": "$xrpath" + }, + { + "pos": 39085, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 39086, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 39091, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 39092, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 39094, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39095, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39100, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 39104, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39105, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39108, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 39110, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39111, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39114, + "type": [ + "Text" + ], + "value": "prev=" + }, + { + "pos": 39119, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39120, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39123, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 39131, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39132, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39135, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 39137, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39138, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 39139, + "type": [ + "Text" + ], + "value": "xcompiler)" + }, + { + "pos": 39149, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39150, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39153, + "type": [ + "Text" + ], + "value": "compiler_flags=\"$compiler_flags" + }, + { + "pos": 39184, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 39185, + "type": [ + "Text" + ], + "value": "$qarg\"" + }, + { + "pos": 39191, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39192, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39195, + "type": [ + "Text" + ], + "value": "prev=" + }, + { + "pos": 39200, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39201, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39204, + "type": [ + "Text" + ], + "value": "compile_command=\"$compile_command" + }, + { + "pos": 39237, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 39238, + "type": [ + "Text" + ], + "value": "$qarg\"" + }, + { + "pos": 39244, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39245, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39248, + "type": [ + "Text" + ], + "value": "finalize_command=\"$finalize_command" + }, + { + "pos": 39283, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 39284, + "type": [ + "Text" + ], + "value": "$qarg\"" + }, + { + "pos": 39290, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39291, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39294, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 39302, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39303, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39306, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 39308, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39309, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 39310, + "type": [ + "Text" + ], + "value": "xlinker)" + }, + { + "pos": 39318, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39319, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39322, + "type": [ + "Text" + ], + "value": "linker_flags=\"$linker_flags" + }, + { + "pos": 39349, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 39350, + "type": [ + "Text" + ], + "value": "$qarg\"" + }, + { + "pos": 39356, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39357, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39360, + "type": [ + "Text" + ], + "value": "compiler_flags=\"$compiler_flags" + }, + { + "pos": 39391, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 39392, + "type": [ + "Text" + ], + "value": "$wl$qarg\"" + }, + { + "pos": 39401, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39402, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39405, + "type": [ + "Text" + ], + "value": "prev=" + }, + { + "pos": 39410, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39411, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39414, + "type": [ + "Text" + ], + "value": "compile_command=\"$compile_command" + }, + { + "pos": 39447, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 39448, + "type": [ + "Text" + ], + "value": "$wl$qarg\"" + }, + { + "pos": 39457, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39458, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39461, + "type": [ + "Text" + ], + "value": "finalize_command=\"$finalize_command" + }, + { + "pos": 39496, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 39497, + "type": [ + "Text" + ], + "value": "$wl$qarg\"" + }, + { + "pos": 39506, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39507, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39510, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 39518, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39519, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39522, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 39524, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39525, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 39526, + "type": [ + "Text" + ], + "value": "xcclinker)" + }, + { + "pos": 39536, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39537, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39540, + "type": [ + "Text" + ], + "value": "linker_flags=\"$linker_flags" + }, + { + "pos": 39567, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 39568, + "type": [ + "Text" + ], + "value": "$qarg\"" + }, + { + "pos": 39574, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39575, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39578, + "type": [ + "Text" + ], + "value": "compiler_flags=\"$compiler_flags" + }, + { + "pos": 39609, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 39610, + "type": [ + "Text" + ], + "value": "$qarg\"" + }, + { + "pos": 39616, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39617, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39620, + "type": [ + "Text" + ], + "value": "prev=" + }, + { + "pos": 39625, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39626, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39629, + "type": [ + "Text" + ], + "value": "compile_command=\"$compile_command" + }, + { + "pos": 39662, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 39663, + "type": [ + "Text" + ], + "value": "$qarg\"" + }, + { + "pos": 39669, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39670, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39673, + "type": [ + "Text" + ], + "value": "finalize_command=\"$finalize_command" + }, + { + "pos": 39708, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 39709, + "type": [ + "Text" + ], + "value": "$qarg\"" + }, + { + "pos": 39715, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39716, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39719, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 39727, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39728, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39731, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 39733, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39734, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 39735, + "type": [ + "Text" + ], + "value": "shrext)" + }, + { + "pos": 39742, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39743, + "type": [ + "Text", + "WS" + ], + "value": " \t " + }, + { + "pos": 39748, + "type": [ + "Text" + ], + "value": "shrext_cmds=\"$arg\"" + }, + { + "pos": 39766, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39767, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39770, + "type": [ + "Text" + ], + "value": "prev=" + }, + { + "pos": 39775, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39776, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39779, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 39787, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39788, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39791, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 39793, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39794, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 39795, + "type": [ + "Text" + ], + "value": "darwin_framework|darwin_framework_skip)" + }, + { + "pos": 39834, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39835, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39838, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 39842, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 39843, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$prev\"" + }, + { + "pos": 39850, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 39851, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 39852, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 39853, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"darwin_framework\"" + }, + { + "pos": 39871, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 39872, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 39874, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 39875, + "type": [ + "Text" + ], + "value": "compiler_flags=\"$compiler_flags" + }, + { + "pos": 39906, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 39907, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 39912, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39913, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39916, + "type": [ + "Text" + ], + "value": "compile_command=\"$compile_command" + }, + { + "pos": 39949, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 39950, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 39955, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 39956, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 39959, + "type": [ + "Text" + ], + "value": "finalize_command=\"$finalize_command" + }, + { + "pos": 39994, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 39995, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 40000, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40001, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 40004, + "type": [ + "Text" + ], + "value": "prev=" + }, + { + "pos": 40009, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40010, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 40013, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 40021, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40022, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 40025, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 40027, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40028, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 40029, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 40031, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40032, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 40035, + "type": [ + "Text" + ], + "value": "eval" + }, + { + "pos": 40039, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40040, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$prev=\\\"\\$arg\\\"\"" + }, + { + "pos": 40057, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40058, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 40061, + "type": [ + "Text" + ], + "value": "prev=" + }, + { + "pos": 40066, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40067, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 40070, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 40078, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40079, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 40082, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 40084, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40085, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 40086, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 40090, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40091, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40097, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 40099, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40100, + "type": [ + "Comment" + ], + "value": "# test -n \"$prev\"" + }, + { + "pos": 40117, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 40119, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40125, + "type": [ + "Text" + ], + "value": "prevarg=\"$arg\"" + }, + { + "pos": 40139, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 40141, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40147, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 40151, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40152, + "type": [ + "Text" + ], + "value": "$arg" + }, + { + "pos": 40156, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40157, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 40159, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40160, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40166, + "type": [ + "Text" + ], + "value": "-all-static)" + }, + { + "pos": 40178, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40179, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 40180, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 40182, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40183, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 40187, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40188, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 40190, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40191, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$link_static_flag\"" + }, + { + "pos": 40210, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 40211, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40212, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 40216, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40217, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 40220, + "type": [ + "Text" + ], + "value": "compile_command=\"$compile_command" + }, + { + "pos": 40253, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40254, + "type": [ + "Text" + ], + "value": "$link_static_flag\"" + }, + { + "pos": 40272, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40273, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 40276, + "type": [ + "Text" + ], + "value": "finalize_command=\"$finalize_command" + }, + { + "pos": 40311, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40312, + "type": [ + "Text" + ], + "value": "$link_static_flag\"" + }, + { + "pos": 40330, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40331, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 40332, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 40334, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40335, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 40336, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 40344, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40345, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 40346, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 40348, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 40350, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40356, + "type": [ + "Text" + ], + "value": "-allow-undefined)" + }, + { + "pos": 40373, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40374, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 40375, + "type": [ + "Comment" + ], + "value": "# FIXME: remove this flag sometime in the future." + }, + { + "pos": 40424, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40425, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 40426, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 40431, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40432, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: \\`-allow-undefined' is deprecated because it is the default\"" + }, + { + "pos": 40504, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40505, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 40509, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40510, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 40511, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 40519, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40520, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 40521, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 40523, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 40525, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40531, + "type": [ + "Text" + ], + "value": "-avoid-version)" + }, + { + "pos": 40546, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40547, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 40548, + "type": [ + "Text" + ], + "value": "avoid_version=yes" + }, + { + "pos": 40565, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40566, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 40567, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 40575, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40576, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 40577, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 40579, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 40581, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40587, + "type": [ + "Text" + ], + "value": "-dlopen)" + }, + { + "pos": 40595, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40596, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 40597, + "type": [ + "Text" + ], + "value": "prev=dlfiles" + }, + { + "pos": 40609, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40610, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 40611, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 40619, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40620, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 40621, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 40623, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 40625, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40631, + "type": [ + "Text" + ], + "value": "-dlpreopen)" + }, + { + "pos": 40642, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40643, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 40644, + "type": [ + "Text" + ], + "value": "prev=dlprefiles" + }, + { + "pos": 40659, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40660, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 40661, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 40669, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40670, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 40671, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 40673, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 40675, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40681, + "type": [ + "Text" + ], + "value": "-export-dynamic)" + }, + { + "pos": 40697, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40698, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 40699, + "type": [ + "Text" + ], + "value": "export_dynamic=yes" + }, + { + "pos": 40717, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40718, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 40719, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 40727, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40728, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 40729, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 40731, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 40733, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40739, + "type": [ + "Text" + ], + "value": "-export-symbols" + }, + { + "pos": 40754, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40755, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 40756, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40757, + "type": [ + "Text" + ], + "value": "-export-symbols-regex)" + }, + { + "pos": 40779, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40780, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 40781, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 40783, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40784, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 40788, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40789, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 40791, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40792, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$export_symbols\"" + }, + { + "pos": 40809, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40810, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 40812, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40813, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 40817, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40818, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 40820, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40821, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$export_symbols_regex\"" + }, + { + "pos": 40844, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 40845, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40846, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 40850, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40851, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 40854, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 40859, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40860, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: more than one -exported-symbols argument is not allowed\"" + }, + { + "pos": 40928, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40929, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 40932, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 40936, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40937, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 40950, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40951, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 40952, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 40954, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40955, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 40956, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 40958, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40959, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 40963, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40964, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$arg\"" + }, + { + "pos": 40971, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40972, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 40973, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40974, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X-export-symbols\"" + }, + { + "pos": 40992, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 40993, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 40994, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 40998, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 40999, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 41002, + "type": [ + "Text" + ], + "value": "prev=expsyms" + }, + { + "pos": 41014, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41015, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 41016, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 41020, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41021, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 41024, + "type": [ + "Text" + ], + "value": "prev=expsyms_regex" + }, + { + "pos": 41042, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41043, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 41044, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 41046, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41047, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 41048, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 41056, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41057, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 41058, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 41060, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 41062, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41068, + "type": [ + "Text" + ], + "value": "-framework|-arch|-isysroot)" + }, + { + "pos": 41095, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41096, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 41097, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 41101, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41102, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" $CC \"" + }, + { + "pos": 41109, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41110, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 41112, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41113, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 41116, + "type": [ + "Text" + ], + "value": "*\"" + }, + { + "pos": 41118, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41119, + "type": [ + "Text" + ], + "value": "${arg}" + }, + { + "pos": 41125, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41126, + "type": [ + "Text" + ], + "value": "${1}" + }, + { + "pos": 41130, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41131, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"* | *\"" + }, + { + "pos": 41138, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41139, + "type": [ + "Text" + ], + "value": "${arg}" + }, + { + "pos": 41145, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 41146, + "type": [ + "Text" + ], + "value": "${1}" + }, + { + "pos": 41150, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41151, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*) \n\t\tprev=darwin_framework_skip ;;\n\t *) compiler_flags=\"" + }, + { + "pos": 41210, + "type": [ + "Text" + ], + "value": "$compiler_flags" + }, + { + "pos": 41225, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41226, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 41231, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41232, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 41238, + "type": [ + "Text" + ], + "value": "prev=darwin_framework" + }, + { + "pos": 41259, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41260, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 41262, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41263, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 41264, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 41268, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41269, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 41270, + "type": [ + "Text" + ], + "value": "compile_command=\"$compile_command" + }, + { + "pos": 41303, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41304, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 41309, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41310, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 41311, + "type": [ + "Text" + ], + "value": "finalize_command=\"$finalize_command" + }, + { + "pos": 41346, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41347, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 41352, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41353, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 41354, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 41362, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41363, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 41364, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 41366, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 41368, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41374, + "type": [ + "Text" + ], + "value": "-inst-prefix-dir)" + }, + { + "pos": 41391, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41392, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 41393, + "type": [ + "Text" + ], + "value": "prev=inst_prefix" + }, + { + "pos": 41409, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41410, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 41411, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 41419, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41420, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 41421, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 41423, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 41425, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41431, + "type": [ + "Comment" + ], + "value": "# The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*" + }, + { + "pos": 41495, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41496, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41502, + "type": [ + "Comment" + ], + "value": "# so, if we see these flags be careful not to treat them like -L" + }, + { + "pos": 41566, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41567, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41573, + "type": [ + "Text" + ], + "value": "-L[A-Z][A-Z]*:*)" + }, + { + "pos": 41589, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41590, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 41591, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 41595, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41596, + "type": [ + "Text" + ], + "value": "$with_gcc/$host" + }, + { + "pos": 41611, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41612, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 41614, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41615, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 41616, + "type": [ + "Text" + ], + "value": "no/*-*-irix*" + }, + { + "pos": 41628, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41629, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 41630, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41631, + "type": [ + "Text" + ], + "value": "/*-*-irix*)" + }, + { + "pos": 41642, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41643, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 41646, + "type": [ + "Text" + ], + "value": "compile_command=\"$compile_command" + }, + { + "pos": 41679, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41680, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 41685, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41686, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 41689, + "type": [ + "Text" + ], + "value": "finalize_command=\"$finalize_command" + }, + { + "pos": 41724, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41725, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 41730, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41731, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 41734, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 41736, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41737, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 41738, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 41742, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41743, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 41744, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 41752, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41753, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 41754, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 41756, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 41758, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41764, + "type": [ + "Text" + ], + "value": "-L*)" + }, + { + "pos": 41768, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41769, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 41770, + "type": [ + "Text" + ], + "value": "dir=`$echo" + }, + { + "pos": 41780, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41781, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$arg\"" + }, + { + "pos": 41788, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41789, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 41790, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41791, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 41796, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41797, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 41799, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41800, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s/^-L//'" + }, + { + "pos": 41809, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 41810, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41811, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 41812, + "type": [ + "Comment" + ], + "value": "# We need an absolute path." + }, + { + "pos": 41839, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41840, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 41841, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 41845, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41846, + "type": [ + "Text" + ], + "value": "$dir" + }, + { + "pos": 41850, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41851, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 41853, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41854, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 41855, + "type": [ + "Text" + ], + "value": "[\\\\/]*" + }, + { + "pos": 41861, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41862, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 41863, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41864, + "type": [ + "Text" + ], + "value": "[A-Za-z]:[\\\\/]*)" + }, + { + "pos": 41880, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41881, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 41883, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41884, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 41885, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 41887, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41888, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 41891, + "type": [ + "Text" + ], + "value": "absdir=`cd" + }, + { + "pos": 41901, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41902, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$dir\"" + }, + { + "pos": 41908, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41909, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 41911, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41912, + "type": [ + "Text" + ], + "value": "pwd`" + }, + { + "pos": 41916, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41917, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 41920, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 41922, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41923, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 41927, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41928, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 41930, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41931, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$absdir\"" + }, + { + "pos": 41940, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 41941, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41942, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 41946, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 41947, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 41952, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 41957, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 41958, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: cannot determine absolute directory name of \\`$dir'\"" + }, + { + "pos": 42022, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42023, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 42027, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42028, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 42033, + "type": [ + "Text" + ], + "value": "absdir=\"$dir\"" + }, + { + "pos": 42046, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42047, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 42052, + "type": [ + "Text" + ], + "value": "notinst_path=\"$notinst_path" + }, + { + "pos": 42079, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42080, + "type": [ + "Text" + ], + "value": "$dir\"" + }, + { + "pos": 42085, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42086, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 42089, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 42091, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42092, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 42095, + "type": [ + "Text" + ], + "value": "dir=\"$absdir\"" + }, + { + "pos": 42108, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42109, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 42112, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 42114, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42115, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 42116, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 42120, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42121, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 42122, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 42126, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42127, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$deplibs \"" + }, + { + "pos": 42138, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42139, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 42141, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42142, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 42143, + "type": [ + "Text" + ], + "value": "*\"" + }, + { + "pos": 42145, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42146, + "type": [ + "Text" + ], + "value": "-L$dir" + }, + { + "pos": 42152, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42153, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*) ;;\n\t*)\n\t deplibs=\"" + }, + { + "pos": 42176, + "type": [ + "Text" + ], + "value": "$deplibs" + }, + { + "pos": 42184, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42185, + "type": [ + "Text" + ], + "value": "-L$dir\"" + }, + { + "pos": 42192, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42193, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 42196, + "type": [ + "Text" + ], + "value": "lib_search_path=\"$lib_search_path" + }, + { + "pos": 42229, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42230, + "type": [ + "Text" + ], + "value": "$dir\"" + }, + { + "pos": 42235, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42236, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 42239, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 42241, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42242, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 42243, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 42247, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42248, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 42249, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 42253, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42254, + "type": [ + "Text" + ], + "value": "$host" + }, + { + "pos": 42259, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42260, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 42262, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42263, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 42264, + "type": [ + "Text" + ], + "value": "*-*-cygwin*" + }, + { + "pos": 42275, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42276, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 42277, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42278, + "type": [ + "Text" + ], + "value": "*-*-mingw*" + }, + { + "pos": 42288, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42289, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 42290, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42291, + "type": [ + "Text" + ], + "value": "*-*-pw32*" + }, + { + "pos": 42300, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42301, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 42302, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42303, + "type": [ + "Text" + ], + "value": "*-*-os2*)" + }, + { + "pos": 42312, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42313, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 42316, + "type": [ + "Text" + ], + "value": "testbindir=`$echo" + }, + { + "pos": 42333, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42334, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$dir\"" + }, + { + "pos": 42341, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42342, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 42343, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42344, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 42349, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42350, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 42352, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42353, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s*/lib$*/bin*'" + }, + { + "pos": 42368, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 42369, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42370, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 42373, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 42377, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42378, + "type": [ + "Text" + ], + "value": ":$dllsearchpath:" + }, + { + "pos": 42394, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42395, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 42397, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42398, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 42401, + "type": [ + "Text" + ], + "value": "*\":$dir:\"*)" + }, + { + "pos": 42412, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42413, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 42415, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42416, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 42419, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 42421, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42422, + "type": [ + "Text" + ], + "value": "dllsearchpath=\"$dllsearchpath:$dir\";;" + }, + { + "pos": 42459, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42460, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 42463, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 42467, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42468, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 42471, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 42475, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42476, + "type": [ + "Text" + ], + "value": ":$dllsearchpath:" + }, + { + "pos": 42492, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42493, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 42495, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42496, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 42499, + "type": [ + "Text" + ], + "value": "*\":$testbindir:\"*)" + }, + { + "pos": 42517, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42518, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 42520, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42521, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 42524, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 42526, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42527, + "type": [ + "Text" + ], + "value": "dllsearchpath=\"$dllsearchpath:$testbindir\";;" + }, + { + "pos": 42571, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42572, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 42575, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 42579, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42580, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 42583, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 42585, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42586, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 42587, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 42591, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42592, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 42593, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 42601, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42602, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 42603, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 42605, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 42607, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42613, + "type": [ + "Text" + ], + "value": "-l*)" + }, + { + "pos": 42617, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42618, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 42619, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 42621, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42622, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 42626, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42627, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$arg\"" + }, + { + "pos": 42634, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42635, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 42636, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42637, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X-lc\"" + }, + { + "pos": 42643, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42644, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 42646, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42647, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 42651, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42652, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$arg\"" + }, + { + "pos": 42659, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42660, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 42661, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42662, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X-lm\"" + }, + { + "pos": 42668, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 42669, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42670, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 42674, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42675, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 42678, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 42682, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42683, + "type": [ + "Text" + ], + "value": "$host" + }, + { + "pos": 42688, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42689, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 42691, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42692, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 42695, + "type": [ + "Text" + ], + "value": "*-*-cygwin*" + }, + { + "pos": 42706, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42707, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 42708, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42709, + "type": [ + "Text" + ], + "value": "*-*-mingw*" + }, + { + "pos": 42719, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42720, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 42721, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42722, + "type": [ + "Text" + ], + "value": "*-*-pw32*" + }, + { + "pos": 42731, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42732, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 42733, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42734, + "type": [ + "Text" + ], + "value": "*-*-beos*)" + }, + { + "pos": 42744, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42745, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 42750, + "type": [ + "Comment" + ], + "value": "# These systems don't actually have a C or math library (as such)" + }, + { + "pos": 42815, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42816, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 42821, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 42829, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42830, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 42835, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 42837, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42838, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 42841, + "type": [ + "Text" + ], + "value": "*-*-os2*)" + }, + { + "pos": 42850, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42851, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 42856, + "type": [ + "Comment" + ], + "value": "# These systems don't actually have a C library (as such)" + }, + { + "pos": 42913, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42914, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 42919, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 42923, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42924, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$arg\"" + }, + { + "pos": 42931, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42932, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 42933, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42934, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X-lc\"" + }, + { + "pos": 42940, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42941, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 42943, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42944, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 42952, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42953, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 42958, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 42960, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 42961, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 42964, + "type": [ + "Text" + ], + "value": "*-*-openbsd*" + }, + { + "pos": 42976, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42977, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 42978, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42979, + "type": [ + "Text" + ], + "value": "*-*-freebsd*" + }, + { + "pos": 42991, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42992, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 42993, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 42994, + "type": [ + "Text" + ], + "value": "*-*-dragonfly*)" + }, + { + "pos": 43009, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43010, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 43015, + "type": [ + "Comment" + ], + "value": "# Do not include libc due to us having libc/libc_r." + }, + { + "pos": 43066, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43067, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 43072, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 43076, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43077, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$arg\"" + }, + { + "pos": 43084, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43085, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 43086, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43087, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X-lc\"" + }, + { + "pos": 43093, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43094, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 43096, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43097, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 43105, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43106, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 43111, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 43113, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43114, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 43117, + "type": [ + "Text" + ], + "value": "*-*-rhapsody*" + }, + { + "pos": 43130, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43131, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 43132, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43133, + "type": [ + "Text" + ], + "value": "*-*-darwin1.[012])" + }, + { + "pos": 43151, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43152, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 43157, + "type": [ + "Comment" + ], + "value": "# Rhapsody C and math libraries are in the System framework" + }, + { + "pos": 43216, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43217, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 43222, + "type": [ + "Text" + ], + "value": "deplibs=\"$deplibs" + }, + { + "pos": 43239, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43240, + "type": [ + "Text" + ], + "value": "-framework" + }, + { + "pos": 43250, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43251, + "type": [ + "Text" + ], + "value": "System\"" + }, + { + "pos": 43258, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43259, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 43264, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 43272, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43273, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 43278, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 43280, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43281, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 43284, + "type": [ + "Text" + ], + "value": "*-*-sco3.2v5*" + }, + { + "pos": 43297, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43298, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 43299, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43300, + "type": [ + "Text" + ], + "value": "*-*-sco5v6*)" + }, + { + "pos": 43312, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43313, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 43318, + "type": [ + "Comment" + ], + "value": "# Causes problems with __ctype" + }, + { + "pos": 43348, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43349, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 43354, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 43358, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43359, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$arg\"" + }, + { + "pos": 43366, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43367, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 43368, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43369, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X-lc\"" + }, + { + "pos": 43375, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43376, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 43378, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43379, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 43387, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43388, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 43393, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 43395, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43396, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 43399, + "type": [ + "Text" + ], + "value": "*-*-sysv4.2uw2*" + }, + { + "pos": 43414, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43415, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 43416, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43417, + "type": [ + "Text" + ], + "value": "*-*-sysv5*" + }, + { + "pos": 43427, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43428, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 43429, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43430, + "type": [ + "Text" + ], + "value": "*-*-unixware*" + }, + { + "pos": 43443, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43444, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 43445, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43446, + "type": [ + "Text" + ], + "value": "*-*-OpenUNIX*)" + }, + { + "pos": 43460, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43461, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 43466, + "type": [ + "Comment" + ], + "value": "# Compiler inserts libc in the correct place for threads to work" + }, + { + "pos": 43530, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43531, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 43536, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 43540, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43541, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$arg\"" + }, + { + "pos": 43548, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43549, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 43550, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43551, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X-lc\"" + }, + { + "pos": 43557, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43558, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 43560, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43561, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 43569, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43570, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 43575, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 43577, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43578, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 43581, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 43585, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43586, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 43587, + "type": [ + "Text" + ], + "value": "elif" + }, + { + "pos": 43591, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43592, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 43596, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43597, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$arg\"" + }, + { + "pos": 43604, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43605, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 43606, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43607, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X-lc_r\"" + }, + { + "pos": 43615, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 43616, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43617, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 43621, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43622, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 43624, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 43628, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43629, + "type": [ + "Text" + ], + "value": "$host" + }, + { + "pos": 43634, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43635, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 43637, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43638, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 43640, + "type": [ + "Text" + ], + "value": "*-*-openbsd*" + }, + { + "pos": 43652, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43653, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 43654, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43655, + "type": [ + "Text" + ], + "value": "*-*-freebsd*" + }, + { + "pos": 43667, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43668, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 43669, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43670, + "type": [ + "Text" + ], + "value": "*-*-dragonfly*)" + }, + { + "pos": 43685, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43686, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 43690, + "type": [ + "Comment" + ], + "value": "# Do not include libc_r directly, use -pthread flag." + }, + { + "pos": 43742, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43743, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 43747, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 43755, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43756, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 43760, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 43762, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43763, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 43765, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 43769, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43770, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 43771, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 43773, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43774, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 43775, + "type": [ + "Text" + ], + "value": "deplibs=\"$deplibs" + }, + { + "pos": 43792, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43793, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 43798, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43799, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 43800, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 43808, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43809, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 43810, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 43812, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 43814, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43820, + "type": [ + "Comment" + ], + "value": "# Tru64 UNIX uses -model [arg] to determine the layout of C++" + }, + { + "pos": 43881, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43882, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43888, + "type": [ + "Comment" + ], + "value": "# classes, name mangling, and exception handling." + }, + { + "pos": 43937, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43938, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43944, + "type": [ + "Text" + ], + "value": "-model)" + }, + { + "pos": 43951, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43952, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 43953, + "type": [ + "Text" + ], + "value": "compile_command=\"$compile_command" + }, + { + "pos": 43986, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 43987, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 43992, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 43993, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 43994, + "type": [ + "Text" + ], + "value": "compiler_flags=\"$compiler_flags" + }, + { + "pos": 44025, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 44026, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 44031, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 44032, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 44033, + "type": [ + "Text" + ], + "value": "finalize_command=\"$finalize_command" + }, + { + "pos": 44068, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 44069, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 44074, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 44075, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 44076, + "type": [ + "Text" + ], + "value": "prev=xcompiler" + }, + { + "pos": 44090, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 44091, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 44092, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 44100, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 44101, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 44102, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 44104, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 44106, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 44111, + "type": [ + "Text" + ], + "value": "-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)" + }, + { + "pos": 44176, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 44177, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 44178, + "type": [ + "Text" + ], + "value": "compiler_flags=\"$compiler_flags" + }, + { + "pos": 44209, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 44210, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 44215, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 44216, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 44217, + "type": [ + "Text" + ], + "value": "compile_command=\"$compile_command" + }, + { + "pos": 44250, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 44251, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 44256, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 44257, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 44258, + "type": [ + "Text" + ], + "value": "finalize_command=\"$finalize_command" + }, + { + "pos": 44293, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 44294, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 44299, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 44300, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 44301, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 44309, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 44310, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 44311, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 44313, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 44315, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 44321, + "type": [ + "Text" + ], + "value": "-module)" + }, + { + "pos": 44329, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 44330, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 44331, + "type": [ + "Text" + ], + "value": "module=yes" + }, + { + "pos": 44341, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 44342, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 44343, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 44351, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 44352, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 44353, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 44355, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 44357, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 44363, + "type": [ + "Comment" + ], + "value": "# -64, -mips[0-9] enable 64-bit mode on the SGI compiler" + }, + { + "pos": 44419, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 44420, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 44426, + "type": [ + "Comment" + ], + "value": "# -r[0-9][0-9]* specifies the processor on the SGI compiler" + }, + { + "pos": 44485, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 44486, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 44492, + "type": [ + "Comment" + ], + "value": "# -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler" + }, + { + "pos": 44553, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 44554, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 44560, + "type": [ + "Comment" + ], + "value": "# +DA*, +DD* enable 64-bit mode on the HP compiler" + }, + { + "pos": 44610, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 44611, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 44617, + "type": [ + "Comment" + ], + "value": "# -q* pass through compiler args for the IBM compiler" + }, + { + "pos": 44670, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 44671, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 44677, + "type": [ + "Comment" + ], + "value": "# -m* pass through architecture-specific compiler args for GCC" + }, + { + "pos": 44739, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 44740, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 44746, + "type": [ + "Comment" + ], + "value": "# -m*, -t[45]*, -txscale* pass through architecture-specific" + }, + { + "pos": 44806, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 44807, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 44813, + "type": [ + "Comment" + ], + "value": "# compiler args for GCC" + }, + { + "pos": 44836, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 44837, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 44843, + "type": [ + "Comment" + ], + "value": "# -pg pass through profiling flag for GCC" + }, + { + "pos": 44884, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 44885, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 44891, + "type": [ + "Comment" + ], + "value": "# @file GCC response files" + }, + { + "pos": 44917, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 44918, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 44924, + "type": [ + "Text" + ], + "value": "-64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*|-pg|" + }, + { + "pos": 44995, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 44996, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 44997, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 44998, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45004, + "type": [ + "Text" + ], + "value": "-t[45]*|-txscale*|@*)" + }, + { + "pos": 45025, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 45027, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 45028, + "type": [ + "Comment" + ], + "value": "# Unknown arguments in both finalize_command and compile_command need" + }, + { + "pos": 45097, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 45098, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 45099, + "type": [ + "Comment" + ], + "value": "# to be aesthetically quoted because they are evaled later." + }, + { + "pos": 45158, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 45159, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 45160, + "type": [ + "Text" + ], + "value": "arg=`$echo" + }, + { + "pos": 45170, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45171, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$arg\"" + }, + { + "pos": 45178, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45179, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 45180, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45181, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 45186, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45187, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 45189, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45190, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$sed_quote_subst\"" + }, + { + "pos": 45208, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 45209, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 45210, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 45211, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 45215, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45216, + "type": [ + "Text" + ], + "value": "$arg" + }, + { + "pos": 45220, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45221, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 45223, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 45224, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 45225, + "type": [ + "Text" + ], + "value": "*[\\[\\~\\#\\^\\&\\*\\(\\)\\{\\}\\|\\;\\<\\>\\?\\'\\" + }, + { + "pos": 45260, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45261, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 45262, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 45263, + "type": [ + "Text" + ], + "value": "]*|*]*|\"\")" + }, + { + "pos": 45273, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 45274, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 45277, + "type": [ + "Text" + ], + "value": "arg=\"\\\"$arg\\\"\"" + }, + { + "pos": 45291, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 45292, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 45295, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 45297, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 45298, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 45299, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 45303, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 45304, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45312, + "type": [ + "Text" + ], + "value": "compile_command=\"$compile_command" + }, + { + "pos": 45345, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45346, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 45351, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 45352, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45360, + "type": [ + "Text" + ], + "value": "finalize_command=\"$finalize_command" + }, + { + "pos": 45395, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45396, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 45401, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 45402, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45410, + "type": [ + "Text" + ], + "value": "compiler_flags=\"$compiler_flags" + }, + { + "pos": 45441, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45442, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 45447, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 45448, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45456, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 45464, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 45465, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45473, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 45475, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 45477, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45483, + "type": [ + "Text" + ], + "value": "-shrext)" + }, + { + "pos": 45491, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 45492, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 45493, + "type": [ + "Text" + ], + "value": "prev=shrext" + }, + { + "pos": 45504, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 45505, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 45506, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 45514, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 45515, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 45516, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 45518, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 45520, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45526, + "type": [ + "Text" + ], + "value": "-no-fast-install)" + }, + { + "pos": 45543, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 45544, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 45545, + "type": [ + "Text" + ], + "value": "fast_install=no" + }, + { + "pos": 45560, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 45561, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 45562, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 45570, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 45571, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 45572, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 45574, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 45576, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45582, + "type": [ + "Text" + ], + "value": "-no-install)" + }, + { + "pos": 45594, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 45595, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 45596, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 45600, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45601, + "type": [ + "Text" + ], + "value": "$host" + }, + { + "pos": 45606, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45607, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 45609, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 45610, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 45611, + "type": [ + "Text" + ], + "value": "*-*-cygwin*" + }, + { + "pos": 45622, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45623, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 45624, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45625, + "type": [ + "Text" + ], + "value": "*-*-mingw*" + }, + { + "pos": 45635, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45636, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 45637, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45638, + "type": [ + "Text" + ], + "value": "*-*-pw32*" + }, + { + "pos": 45647, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45648, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 45649, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45650, + "type": [ + "Text" + ], + "value": "*-*-os2*)" + }, + { + "pos": 45659, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 45660, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 45663, + "type": [ + "Comment" + ], + "value": "# The PATH hackery in wrapper scripts is required on Windows" + }, + { + "pos": 45723, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 45724, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 45727, + "type": [ + "Comment" + ], + "value": "# in order for the loader to find any dlls it needs." + }, + { + "pos": 45779, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 45780, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 45783, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 45788, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45789, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: warning: \\`-no-install' is ignored for $host\"" + }, + { + "pos": 45846, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45847, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 45851, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 45852, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 45855, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 45860, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45861, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: warning: assuming \\`-no-fast-install' instead\"" + }, + { + "pos": 45919, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45920, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 45924, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 45925, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 45928, + "type": [ + "Text" + ], + "value": "fast_install=no" + }, + { + "pos": 45943, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 45944, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 45947, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 45949, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 45950, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 45951, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 45953, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45954, + "type": [ + "Text" + ], + "value": "no_install=yes" + }, + { + "pos": 45968, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45969, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 45971, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 45972, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 45973, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 45977, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 45978, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 45979, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 45987, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 45988, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 45989, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 45991, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 45993, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 45999, + "type": [ + "Text" + ], + "value": "-no-undefined)" + }, + { + "pos": 46013, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46014, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46015, + "type": [ + "Text" + ], + "value": "allow_undefined=no" + }, + { + "pos": 46033, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46034, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46035, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 46043, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46044, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46045, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 46047, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 46049, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46055, + "type": [ + "Text" + ], + "value": "-objectlist)" + }, + { + "pos": 46067, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46068, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46069, + "type": [ + "Text" + ], + "value": "prev=objectlist" + }, + { + "pos": 46084, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46085, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46086, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 46094, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46095, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46096, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 46098, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 46100, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46106, + "type": [ + "Text" + ], + "value": "-o)" + }, + { + "pos": 46109, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46110, + "type": [ + "Text" + ], + "value": "prev=output" + }, + { + "pos": 46121, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46122, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 46124, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 46126, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46132, + "type": [ + "Text" + ], + "value": "-precious-files-regex)" + }, + { + "pos": 46154, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46155, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46156, + "type": [ + "Text" + ], + "value": "prev=precious_regex" + }, + { + "pos": 46175, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46176, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46177, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 46185, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46186, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46187, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 46189, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 46191, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46197, + "type": [ + "Text" + ], + "value": "-release)" + }, + { + "pos": 46206, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46207, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46208, + "type": [ + "Text" + ], + "value": "prev=release" + }, + { + "pos": 46220, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46221, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46222, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 46230, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46231, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46232, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 46234, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 46236, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46242, + "type": [ + "Text" + ], + "value": "-rpath)" + }, + { + "pos": 46249, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46250, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46251, + "type": [ + "Text" + ], + "value": "prev=rpath" + }, + { + "pos": 46261, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46262, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46263, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 46271, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46272, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46273, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 46275, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 46277, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46283, + "type": [ + "Text" + ], + "value": "-R)" + }, + { + "pos": 46286, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46287, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46288, + "type": [ + "Text" + ], + "value": "prev=xrpath" + }, + { + "pos": 46299, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46300, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46301, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 46309, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46310, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46311, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 46313, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 46315, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46321, + "type": [ + "Text" + ], + "value": "-R*)" + }, + { + "pos": 46325, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46326, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46327, + "type": [ + "Text" + ], + "value": "dir=`$echo" + }, + { + "pos": 46337, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46338, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$arg\"" + }, + { + "pos": 46345, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46346, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 46347, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46348, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 46353, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46354, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 46356, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46357, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s/^-R//'" + }, + { + "pos": 46366, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 46367, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46368, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46369, + "type": [ + "Comment" + ], + "value": "# We need an absolute path." + }, + { + "pos": 46396, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46397, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46398, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 46402, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46403, + "type": [ + "Text" + ], + "value": "$dir" + }, + { + "pos": 46407, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46408, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 46410, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46411, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46412, + "type": [ + "Text" + ], + "value": "[\\\\/]*" + }, + { + "pos": 46418, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46419, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 46420, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46421, + "type": [ + "Text" + ], + "value": "[A-Za-z]:[\\\\/]*)" + }, + { + "pos": 46437, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46438, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 46440, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46441, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46442, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 46444, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46445, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 46448, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 46453, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46454, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: only absolute run-paths are allowed\"" + }, + { + "pos": 46502, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46503, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 46507, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46508, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 46511, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 46515, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46516, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 46529, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46530, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 46533, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 46535, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46536, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46537, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 46541, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46542, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46543, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 46547, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46548, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$xrpath \"" + }, + { + "pos": 46558, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46559, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 46561, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46562, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46563, + "type": [ + "Text" + ], + "value": "*\"" + }, + { + "pos": 46565, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46566, + "type": [ + "Text" + ], + "value": "$dir" + }, + { + "pos": 46570, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46571, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*) ;;\n\t*) xrpath=\"" + }, + { + "pos": 46590, + "type": [ + "Text" + ], + "value": "$xrpath" + }, + { + "pos": 46597, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46598, + "type": [ + "Text" + ], + "value": "$dir\"" + }, + { + "pos": 46603, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46604, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 46606, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46607, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46608, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 46612, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46613, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46614, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 46622, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46623, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46624, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 46626, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 46628, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46634, + "type": [ + "Text" + ], + "value": "-static)" + }, + { + "pos": 46642, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46643, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46644, + "type": [ + "Comment" + ], + "value": "# The effects of -static are defined in a previous loop." + }, + { + "pos": 46700, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46701, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46702, + "type": [ + "Comment" + ], + "value": "# We used to do the same as -all-static on platforms that" + }, + { + "pos": 46759, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46760, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46761, + "type": [ + "Comment" + ], + "value": "# didn't have a PIC flag, but the assumption that the effects" + }, + { + "pos": 46822, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46823, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46824, + "type": [ + "Comment" + ], + "value": "# would be equivalent was wrong. It would break on at least" + }, + { + "pos": 46884, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46885, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46886, + "type": [ + "Comment" + ], + "value": "# Digital Unix and AIX." + }, + { + "pos": 46909, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46910, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46911, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 46919, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46920, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46921, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 46923, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 46925, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46931, + "type": [ + "Text" + ], + "value": "-thread-safe)" + }, + { + "pos": 46944, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46945, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46946, + "type": [ + "Text" + ], + "value": "thread_safe=yes" + }, + { + "pos": 46961, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46962, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46963, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 46971, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46972, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46973, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 46975, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 46977, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 46983, + "type": [ + "Text" + ], + "value": "-version-info)" + }, + { + "pos": 46997, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 46998, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 46999, + "type": [ + "Text" + ], + "value": "prev=vinfo" + }, + { + "pos": 47009, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47010, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 47011, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 47019, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47020, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 47021, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 47023, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47024, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47030, + "type": [ + "Text" + ], + "value": "-version-number)" + }, + { + "pos": 47046, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47047, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 47048, + "type": [ + "Text" + ], + "value": "prev=vinfo" + }, + { + "pos": 47058, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47059, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 47060, + "type": [ + "Text" + ], + "value": "vinfo_number=yes" + }, + { + "pos": 47076, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47077, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 47078, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 47086, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47087, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 47088, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 47090, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 47092, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47098, + "type": [ + "Text" + ], + "value": "-Wc,*)" + }, + { + "pos": 47104, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47105, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 47106, + "type": [ + "Text" + ], + "value": "args=`$echo" + }, + { + "pos": 47117, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47118, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$arg\"" + }, + { + "pos": 47125, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47126, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 47127, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47128, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 47133, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47134, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 47136, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47137, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$sed_quote_subst\"" + }, + { + "pos": 47155, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47156, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 47158, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47159, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s/^-Wc,//'" + }, + { + "pos": 47170, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 47171, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47172, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 47173, + "type": [ + "Text" + ], + "value": "arg=" + }, + { + "pos": 47177, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47178, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 47179, + "type": [ + "Text" + ], + "value": "save_ifs=\"$IFS\";" + }, + { + "pos": 47195, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47196, + "type": [ + "Text" + ], + "value": "IFS=','" + }, + { + "pos": 47203, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47204, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 47205, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 47208, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47209, + "type": [ + "Text" + ], + "value": "flag" + }, + { + "pos": 47213, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47214, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 47216, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47217, + "type": [ + "Text" + ], + "value": "$args;" + }, + { + "pos": 47223, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47224, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 47226, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47227, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 47230, + "type": [ + "Text" + ], + "value": "IFS=\"$save_ifs\"" + }, + { + "pos": 47245, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47246, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 47249, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 47253, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47254, + "type": [ + "Text" + ], + "value": "$flag" + }, + { + "pos": 47259, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47260, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 47262, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47263, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 47268, + "type": [ + "Text" + ], + "value": "*[\\[\\~\\#\\^\\&\\*\\(\\)\\{\\}\\|\\;\\<\\>\\?\\'\\" + }, + { + "pos": 47303, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47304, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 47305, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 47306, + "type": [ + "Text" + ], + "value": "]*|*]*|\"\")" + }, + { + "pos": 47316, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47317, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 47322, + "type": [ + "Text" + ], + "value": "flag=\"\\\"$flag\\\"\"" + }, + { + "pos": 47338, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47339, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 47344, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 47346, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47347, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 47350, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 47354, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47355, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 47358, + "type": [ + "Text" + ], + "value": "arg=\"$arg" + }, + { + "pos": 47367, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47368, + "type": [ + "Text" + ], + "value": "$wl$flag\"" + }, + { + "pos": 47377, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47378, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 47381, + "type": [ + "Text" + ], + "value": "compiler_flags=\"$compiler_flags" + }, + { + "pos": 47412, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47413, + "type": [ + "Text" + ], + "value": "$flag\"" + }, + { + "pos": 47419, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47420, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 47421, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 47425, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47426, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 47427, + "type": [ + "Text" + ], + "value": "IFS=\"$save_ifs\"" + }, + { + "pos": 47442, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47443, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 47444, + "type": [ + "Text" + ], + "value": "arg=`$echo" + }, + { + "pos": 47454, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47455, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$arg\"" + }, + { + "pos": 47462, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47463, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 47464, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47465, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 47470, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47471, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 47473, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47474, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"s/^ //\"" + }, + { + "pos": 47482, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 47483, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47484, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 47485, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 47487, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 47489, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47495, + "type": [ + "Text" + ], + "value": "-Wl,*)" + }, + { + "pos": 47501, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47502, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 47503, + "type": [ + "Text" + ], + "value": "args=`$echo" + }, + { + "pos": 47514, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47515, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$arg\"" + }, + { + "pos": 47522, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47523, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 47524, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47525, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 47530, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47531, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 47533, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47534, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$sed_quote_subst\"" + }, + { + "pos": 47552, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47553, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 47555, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47556, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s/^-Wl,//'" + }, + { + "pos": 47567, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 47568, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47569, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 47570, + "type": [ + "Text" + ], + "value": "arg=" + }, + { + "pos": 47574, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47575, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 47576, + "type": [ + "Text" + ], + "value": "save_ifs=\"$IFS\";" + }, + { + "pos": 47592, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47593, + "type": [ + "Text" + ], + "value": "IFS=','" + }, + { + "pos": 47600, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47601, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 47602, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 47605, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47606, + "type": [ + "Text" + ], + "value": "flag" + }, + { + "pos": 47610, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47611, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 47613, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47614, + "type": [ + "Text" + ], + "value": "$args;" + }, + { + "pos": 47620, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47621, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 47623, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47624, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 47627, + "type": [ + "Text" + ], + "value": "IFS=\"$save_ifs\"" + }, + { + "pos": 47642, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47643, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 47646, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 47650, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47651, + "type": [ + "Text" + ], + "value": "$flag" + }, + { + "pos": 47656, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47657, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 47659, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47660, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 47665, + "type": [ + "Text" + ], + "value": "*[\\[\\~\\#\\^\\&\\*\\(\\)\\{\\}\\|\\;\\<\\>\\?\\'\\" + }, + { + "pos": 47700, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47701, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 47702, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 47703, + "type": [ + "Text" + ], + "value": "]*|*]*|\"\")" + }, + { + "pos": 47713, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47714, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 47719, + "type": [ + "Text" + ], + "value": "flag=\"\\\"$flag\\\"\"" + }, + { + "pos": 47735, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47736, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 47741, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 47743, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47744, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 47747, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 47751, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47752, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 47755, + "type": [ + "Text" + ], + "value": "arg=\"$arg" + }, + { + "pos": 47764, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47765, + "type": [ + "Text" + ], + "value": "$wl$flag\"" + }, + { + "pos": 47774, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47775, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 47778, + "type": [ + "Text" + ], + "value": "compiler_flags=\"$compiler_flags" + }, + { + "pos": 47809, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47810, + "type": [ + "Text" + ], + "value": "$wl$flag\"" + }, + { + "pos": 47819, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47820, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 47823, + "type": [ + "Text" + ], + "value": "linker_flags=\"$linker_flags" + }, + { + "pos": 47850, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47851, + "type": [ + "Text" + ], + "value": "$flag\"" + }, + { + "pos": 47857, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47858, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 47859, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 47863, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47864, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 47865, + "type": [ + "Text" + ], + "value": "IFS=\"$save_ifs\"" + }, + { + "pos": 47880, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47881, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 47882, + "type": [ + "Text" + ], + "value": "arg=`$echo" + }, + { + "pos": 47892, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47893, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$arg\"" + }, + { + "pos": 47900, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47901, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 47902, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47903, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 47908, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47909, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 47911, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47912, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"s/^ //\"" + }, + { + "pos": 47920, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 47921, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47922, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 47923, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 47925, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 47927, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47933, + "type": [ + "Text" + ], + "value": "-Xcompiler)" + }, + { + "pos": 47944, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47945, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 47946, + "type": [ + "Text" + ], + "value": "prev=xcompiler" + }, + { + "pos": 47960, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47961, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 47962, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 47970, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47971, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 47972, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 47974, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 47976, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 47982, + "type": [ + "Text" + ], + "value": "-Xlinker)" + }, + { + "pos": 47991, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 47992, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 47993, + "type": [ + "Text" + ], + "value": "prev=xlinker" + }, + { + "pos": 48005, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 48006, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 48007, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 48015, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 48016, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 48017, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 48019, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 48021, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48027, + "type": [ + "Text" + ], + "value": "-XCClinker)" + }, + { + "pos": 48038, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 48039, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 48040, + "type": [ + "Text" + ], + "value": "prev=xcclinker" + }, + { + "pos": 48054, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 48055, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 48056, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 48064, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 48065, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 48066, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 48068, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 48070, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48076, + "type": [ + "Comment" + ], + "value": "# Some other compiler flag." + }, + { + "pos": 48103, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 48104, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48110, + "type": [ + "Text" + ], + "value": "-*" + }, + { + "pos": 48112, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48113, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 48114, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48115, + "type": [ + "Text" + ], + "value": "+*)" + }, + { + "pos": 48118, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 48119, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 48120, + "type": [ + "Comment" + ], + "value": "# Unknown arguments in both finalize_command and compile_command need" + }, + { + "pos": 48189, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 48190, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 48191, + "type": [ + "Comment" + ], + "value": "# to be aesthetically quoted because they are evaled later." + }, + { + "pos": 48250, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 48251, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 48252, + "type": [ + "Text" + ], + "value": "arg=`$echo" + }, + { + "pos": 48262, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48263, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$arg\"" + }, + { + "pos": 48270, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48271, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 48272, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48273, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 48278, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48279, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 48281, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48282, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$sed_quote_subst\"" + }, + { + "pos": 48300, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 48301, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 48302, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 48303, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 48307, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48308, + "type": [ + "Text" + ], + "value": "$arg" + }, + { + "pos": 48312, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48313, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 48315, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 48316, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 48317, + "type": [ + "Text" + ], + "value": "*[\\[\\~\\#\\^\\&\\*\\(\\)\\{\\}\\|\\;\\<\\>\\?\\'\\" + }, + { + "pos": 48352, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48353, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 48354, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 48355, + "type": [ + "Text" + ], + "value": "]*|*]*|\"\")" + }, + { + "pos": 48365, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 48366, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 48369, + "type": [ + "Text" + ], + "value": "arg=\"\\\"$arg\\\"\"" + }, + { + "pos": 48383, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 48384, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 48387, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 48389, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 48390, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 48391, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 48395, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 48396, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 48397, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 48399, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 48401, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48407, + "type": [ + "Text" + ], + "value": "*.$objext)" + }, + { + "pos": 48417, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 48418, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 48419, + "type": [ + "Comment" + ], + "value": "# A standard object." + }, + { + "pos": 48439, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 48440, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 48441, + "type": [ + "Text" + ], + "value": "objs=\"$objs" + }, + { + "pos": 48452, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48453, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 48458, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 48459, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 48460, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 48462, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 48464, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48470, + "type": [ + "Text" + ], + "value": "*.lo)" + }, + { + "pos": 48475, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 48476, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 48477, + "type": [ + "Comment" + ], + "value": "# A libtool-controlled object." + }, + { + "pos": 48507, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 48509, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 48510, + "type": [ + "Comment" + ], + "value": "# Check to see that this really is a libtool object." + }, + { + "pos": 48562, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 48563, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 48564, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 48566, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48567, + "type": [ + "ArraySep", + "Start" + ], + "value": "(" + }, + { + "pos": 48568, + "type": [ + "Text" + ], + "value": "${SED}" + }, + { + "pos": 48574, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48575, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 48577, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48578, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'2q'" + }, + { + "pos": 48582, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48583, + "type": [ + "Text" + ], + "value": "$arg" + }, + { + "pos": 48587, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48588, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 48589, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48590, + "type": [ + "Text" + ], + "value": "grep" + }, + { + "pos": 48594, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48595, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"^# Generated by .*$PACKAGE\"" + }, + { + "pos": 48623, + "type": [ + "ArraySep", + "End" + ], + "value": ")" + }, + { + "pos": 48624, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48625, + "type": [ + "Text" + ], + "value": ">/dev/null" + }, + { + "pos": 48635, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48636, + "type": [ + "Text" + ], + "value": "2>&1;" + }, + { + "pos": 48641, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48642, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 48646, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 48647, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 48650, + "type": [ + "Text" + ], + "value": "pic_object=" + }, + { + "pos": 48661, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 48662, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 48665, + "type": [ + "Text" + ], + "value": "non_pic_object=" + }, + { + "pos": 48680, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 48682, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 48685, + "type": [ + "Comment" + ], + "value": "# Read the .lo file" + }, + { + "pos": 48704, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 48705, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 48708, + "type": [ + "Comment" + ], + "value": "# If there is no directory component, then add one." + }, + { + "pos": 48759, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 48760, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 48763, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 48767, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48768, + "type": [ + "Text" + ], + "value": "$arg" + }, + { + "pos": 48772, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48773, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 48775, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 48776, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 48779, + "type": [ + "Text" + ], + "value": "*/*" + }, + { + "pos": 48782, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48783, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 48784, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48785, + "type": [ + "Text" + ], + "value": "*\\\\*)" + }, + { + "pos": 48790, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48791, + "type": [ + "Text" + ], + "value": "." + }, + { + "pos": 48792, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48793, + "type": [ + "Text" + ], + "value": "$arg" + }, + { + "pos": 48797, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48798, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 48800, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 48801, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 48804, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 48806, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48807, + "type": [ + "Text" + ], + "value": "." + }, + { + "pos": 48808, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48809, + "type": [ + "Text" + ], + "value": "./$arg" + }, + { + "pos": 48815, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48816, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 48818, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 48819, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 48822, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 48826, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 48828, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 48831, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 48833, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48834, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 48838, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48839, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 48841, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48842, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pic_object\"" + }, + { + "pos": 48855, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48856, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 48858, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48859, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 48860, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 48861, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 48867, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 48871, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48872, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 48874, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48875, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$non_pic_object\"" + }, + { + "pos": 48892, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48893, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 48895, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 48896, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 48902, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 48906, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48907, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pic_object\"" + }, + { + "pos": 48920, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48921, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 48922, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48923, + "type": [ + "Text" + ], + "value": "none" + }, + { + "pos": 48927, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48928, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 48930, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48931, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 48932, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 48933, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 48939, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 48943, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48944, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$non_pic_object\"" + }, + { + "pos": 48961, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48962, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 48963, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48964, + "type": [ + "Text" + ], + "value": "none;" + }, + { + "pos": 48969, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48970, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 48974, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 48975, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 48980, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 48985, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 48986, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: cannot find name of object for \\`$arg'\"" + }, + { + "pos": 49037, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49038, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 49042, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 49043, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 49048, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 49052, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49053, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 49066, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 49067, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 49070, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 49072, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 49074, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 49077, + "type": [ + "Comment" + ], + "value": "# Extract subdirectory from the argument." + }, + { + "pos": 49118, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 49119, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 49122, + "type": [ + "Text" + ], + "value": "xdir=`$echo" + }, + { + "pos": 49133, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49134, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$arg\"" + }, + { + "pos": 49141, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49142, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 49143, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49144, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 49149, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49150, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 49152, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49153, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s%/[^/]*$%%'" + }, + { + "pos": 49166, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 49167, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 49168, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 49171, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 49173, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49174, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 49178, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49179, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$xdir\"" + }, + { + "pos": 49187, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49188, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 49189, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49190, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$arg\"" + }, + { + "pos": 49197, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 49198, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49199, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 49203, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 49204, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 49209, + "type": [ + "Text" + ], + "value": "xdir=" + }, + { + "pos": 49214, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 49215, + "type": [ + "Text", + "WS" + ], + "value": " \t " + }, + { + "pos": 49219, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 49223, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 49224, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 49229, + "type": [ + "Text" + ], + "value": "xdir=\"$xdir/\"" + }, + { + "pos": 49242, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 49243, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 49246, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 49248, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 49250, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 49253, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 49255, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49256, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 49260, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49261, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pic_object\"" + }, + { + "pos": 49274, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49275, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 49277, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49278, + "type": [ + "Text" + ], + "value": "none;" + }, + { + "pos": 49283, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49284, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 49288, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 49289, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 49294, + "type": [ + "Comment" + ], + "value": "# Prepend the subdirectory the object is found in." + }, + { + "pos": 49344, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 49345, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 49350, + "type": [ + "Text" + ], + "value": "pic_object=\"$xdir$pic_object\"" + }, + { + "pos": 49379, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 49381, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 49386, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 49388, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49389, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 49393, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49394, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$prev\"" + }, + { + "pos": 49401, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49402, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 49403, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49404, + "type": [ + "Text" + ], + "value": "dlfiles;" + }, + { + "pos": 49412, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49413, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 49417, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 49418, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 49425, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 49427, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49428, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 49432, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49433, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$build_libtool_libs\"" + }, + { + "pos": 49454, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49455, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 49456, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49457, + "type": [ + "Text" + ], + "value": "yes" + }, + { + "pos": 49460, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49461, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 49463, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49464, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 49468, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49469, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$dlopen_support\"" + }, + { + "pos": 49486, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49487, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 49488, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49489, + "type": [ + "Text" + ], + "value": "yes;" + }, + { + "pos": 49493, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49494, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 49498, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 49499, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 49501, + "type": [ + "Text" + ], + "value": "dlfiles=\"$dlfiles" + }, + { + "pos": 49518, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49519, + "type": [ + "Text" + ], + "value": "$pic_object\"" + }, + { + "pos": 49531, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 49532, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 49534, + "type": [ + "Text" + ], + "value": "prev=" + }, + { + "pos": 49539, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 49540, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 49542, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 49550, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 49551, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 49558, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 49562, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 49563, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 49565, + "type": [ + "Comment" + ], + "value": "# If libtool objects are unsupported, then we need to preload." + }, + { + "pos": 49627, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 49628, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 49630, + "type": [ + "Text" + ], + "value": "prev=dlprefiles" + }, + { + "pos": 49645, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 49646, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 49653, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 49655, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 49656, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 49661, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 49663, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 49665, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 49670, + "type": [ + "Comment" + ], + "value": "# CHECK ME: I think I busted this. -Ossama" + }, + { + "pos": 49714, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 49715, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 49720, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 49722, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49723, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 49727, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49728, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$prev\"" + }, + { + "pos": 49735, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49736, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 49737, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49738, + "type": [ + "Text" + ], + "value": "dlprefiles;" + }, + { + "pos": 49749, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49750, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 49754, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 49755, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 49762, + "type": [ + "Comment" + ], + "value": "# Preload the old-style object." + }, + { + "pos": 49793, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 49794, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 49801, + "type": [ + "Text" + ], + "value": "dlprefiles=\"$dlprefiles" + }, + { + "pos": 49824, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49825, + "type": [ + "Text" + ], + "value": "$pic_object\"" + }, + { + "pos": 49837, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 49838, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 49845, + "type": [ + "Text" + ], + "value": "prev=" + }, + { + "pos": 49850, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 49851, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 49856, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 49858, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 49860, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 49865, + "type": [ + "Comment" + ], + "value": "# A PIC object." + }, + { + "pos": 49880, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 49881, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 49886, + "type": [ + "Text" + ], + "value": "libobjs=\"$libobjs" + }, + { + "pos": 49903, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49904, + "type": [ + "Text" + ], + "value": "$pic_object\"" + }, + { + "pos": 49916, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 49917, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 49922, + "type": [ + "Text" + ], + "value": "arg=\"$pic_object\"" + }, + { + "pos": 49939, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 49940, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 49943, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 49945, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 49947, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 49950, + "type": [ + "Comment" + ], + "value": "# Non-PIC object." + }, + { + "pos": 49967, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 49968, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 49971, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 49973, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49974, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 49978, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49979, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$non_pic_object\"" + }, + { + "pos": 49996, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 49997, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 49999, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50000, + "type": [ + "Text" + ], + "value": "none;" + }, + { + "pos": 50005, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50006, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 50010, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 50011, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 50016, + "type": [ + "Comment" + ], + "value": "# Prepend the subdirectory the object is found in." + }, + { + "pos": 50066, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 50067, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 50072, + "type": [ + "Text" + ], + "value": "non_pic_object=\"$xdir$non_pic_object\"" + }, + { + "pos": 50109, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 50111, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 50116, + "type": [ + "Comment" + ], + "value": "# A standard non-PIC object" + }, + { + "pos": 50143, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 50144, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 50149, + "type": [ + "Text" + ], + "value": "non_pic_objects=\"$non_pic_objects" + }, + { + "pos": 50182, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50183, + "type": [ + "Text" + ], + "value": "$non_pic_object\"" + }, + { + "pos": 50199, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 50200, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 50205, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 50207, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50208, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 50212, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50213, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 50215, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50216, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pic_object\"" + }, + { + "pos": 50229, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50230, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 50232, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50233, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 50237, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50238, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pic_object\"" + }, + { + "pos": 50251, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50252, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 50253, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50254, + "type": [ + "Text" + ], + "value": "none" + }, + { + "pos": 50258, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50259, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 50260, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50261, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 50265, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 50266, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 50273, + "type": [ + "Text" + ], + "value": "arg=\"$non_pic_object\"" + }, + { + "pos": 50294, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 50295, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 50300, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 50302, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 50303, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 50306, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 50310, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 50311, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 50316, + "type": [ + "Comment" + ], + "value": "# If the PIC object exists, use it instead." + }, + { + "pos": 50359, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 50360, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 50365, + "type": [ + "Comment" + ], + "value": "# $xdir was prepended to $pic_object above." + }, + { + "pos": 50408, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 50409, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 50414, + "type": [ + "Text" + ], + "value": "non_pic_object=\"$pic_object\"" + }, + { + "pos": 50442, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 50443, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 50448, + "type": [ + "Text" + ], + "value": "non_pic_objects=\"$non_pic_objects" + }, + { + "pos": 50481, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50482, + "type": [ + "Text" + ], + "value": "$non_pic_object\"" + }, + { + "pos": 50498, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 50499, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 50502, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 50504, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 50505, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 50506, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 50510, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 50511, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 50514, + "type": [ + "Comment" + ], + "value": "# Only an error if not doing a dry-run." + }, + { + "pos": 50553, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 50554, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 50557, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 50559, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50560, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 50564, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50565, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 50567, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50568, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$run\"" + }, + { + "pos": 50574, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 50575, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50576, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 50580, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 50581, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 50586, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 50591, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50592, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: \\`$arg' is not a valid libtool object\"" + }, + { + "pos": 50642, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50643, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 50647, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 50648, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 50653, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 50657, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50658, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 50671, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 50672, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 50675, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 50679, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 50680, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 50685, + "type": [ + "Comment" + ], + "value": "# Dry-run case." + }, + { + "pos": 50700, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 50702, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 50707, + "type": [ + "Comment" + ], + "value": "# Extract subdirectory from the argument." + }, + { + "pos": 50748, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 50749, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 50754, + "type": [ + "Text" + ], + "value": "xdir=`$echo" + }, + { + "pos": 50765, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50766, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$arg\"" + }, + { + "pos": 50773, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50774, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 50775, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50776, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 50781, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50782, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 50784, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50785, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s%/[^/]*$%%'" + }, + { + "pos": 50798, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 50799, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 50800, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 50805, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 50807, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50808, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 50812, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50813, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$xdir\"" + }, + { + "pos": 50821, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50822, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 50823, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50824, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$arg\"" + }, + { + "pos": 50831, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 50832, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50833, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 50837, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 50838, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 50845, + "type": [ + "Text" + ], + "value": "xdir=" + }, + { + "pos": 50850, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 50851, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 50856, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 50860, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 50861, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 50868, + "type": [ + "Text" + ], + "value": "xdir=\"$xdir/\"" + }, + { + "pos": 50881, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 50882, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 50887, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 50889, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 50891, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 50896, + "type": [ + "Text" + ], + "value": "pic_object=`$echo" + }, + { + "pos": 50913, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50914, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X${xdir}${objdir}/${arg}\"" + }, + { + "pos": 50940, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50941, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 50942, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50943, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 50948, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50949, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 50951, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50952, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$lo2o\"" + }, + { + "pos": 50959, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 50960, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 50961, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 50966, + "type": [ + "Text" + ], + "value": "non_pic_object=`$echo" + }, + { + "pos": 50987, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 50988, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X${xdir}${arg}\"" + }, + { + "pos": 51004, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51005, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 51006, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51007, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 51012, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51013, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 51015, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51016, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$lo2o\"" + }, + { + "pos": 51023, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 51024, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51025, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 51030, + "type": [ + "Text" + ], + "value": "libobjs=\"$libobjs" + }, + { + "pos": 51047, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51048, + "type": [ + "Text" + ], + "value": "$pic_object\"" + }, + { + "pos": 51060, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51061, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 51066, + "type": [ + "Text" + ], + "value": "non_pic_objects=\"$non_pic_objects" + }, + { + "pos": 51099, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51100, + "type": [ + "Text" + ], + "value": "$non_pic_object\"" + }, + { + "pos": 51116, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51117, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 51120, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 51122, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51123, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 51124, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 51126, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51127, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 51128, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 51130, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 51132, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51138, + "type": [ + "Text" + ], + "value": "*.$libext)" + }, + { + "pos": 51148, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51149, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 51150, + "type": [ + "Comment" + ], + "value": "# An archive." + }, + { + "pos": 51163, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51164, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 51165, + "type": [ + "Text" + ], + "value": "deplibs=\"$deplibs" + }, + { + "pos": 51182, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51183, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 51188, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51189, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 51190, + "type": [ + "Text" + ], + "value": "old_deplibs=\"$old_deplibs" + }, + { + "pos": 51215, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51216, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 51221, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51222, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 51223, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 51231, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51232, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 51233, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 51235, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 51237, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51243, + "type": [ + "Text" + ], + "value": "*.la)" + }, + { + "pos": 51248, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51249, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 51250, + "type": [ + "Comment" + ], + "value": "# A libtool-controlled library." + }, + { + "pos": 51281, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 51283, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 51284, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 51286, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51287, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 51291, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51292, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$prev\"" + }, + { + "pos": 51299, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51300, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 51301, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51302, + "type": [ + "Text" + ], + "value": "dlfiles;" + }, + { + "pos": 51310, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51311, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 51315, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51316, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 51319, + "type": [ + "Comment" + ], + "value": "# This library was specified with -dlopen." + }, + { + "pos": 51361, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51362, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 51365, + "type": [ + "Text" + ], + "value": "dlfiles=\"$dlfiles" + }, + { + "pos": 51382, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51383, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 51388, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51389, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 51392, + "type": [ + "Text" + ], + "value": "prev=" + }, + { + "pos": 51397, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51398, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 51399, + "type": [ + "Text" + ], + "value": "elif" + }, + { + "pos": 51403, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51404, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 51408, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51409, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$prev\"" + }, + { + "pos": 51416, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51417, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 51418, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51419, + "type": [ + "Text" + ], + "value": "dlprefiles;" + }, + { + "pos": 51430, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51431, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 51435, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51436, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 51439, + "type": [ + "Comment" + ], + "value": "# The library was specified with -dlpreopen." + }, + { + "pos": 51483, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51484, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 51487, + "type": [ + "Text" + ], + "value": "dlprefiles=\"$dlprefiles" + }, + { + "pos": 51510, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51511, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 51516, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51517, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 51520, + "type": [ + "Text" + ], + "value": "prev=" + }, + { + "pos": 51525, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51526, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 51527, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 51531, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51532, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 51535, + "type": [ + "Text" + ], + "value": "deplibs=\"$deplibs" + }, + { + "pos": 51552, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51553, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 51558, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51559, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 51560, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 51562, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51563, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 51564, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 51572, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51573, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 51574, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 51576, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 51578, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51584, + "type": [ + "Comment" + ], + "value": "# Some other compiler argument." + }, + { + "pos": 51615, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51616, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51622, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 51624, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51625, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 51626, + "type": [ + "Comment" + ], + "value": "# Unknown arguments in both finalize_command and compile_command need" + }, + { + "pos": 51695, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51696, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 51697, + "type": [ + "Comment" + ], + "value": "# to be aesthetically quoted because they are evaled later." + }, + { + "pos": 51756, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51757, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 51758, + "type": [ + "Text" + ], + "value": "arg=`$echo" + }, + { + "pos": 51768, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51769, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$arg\"" + }, + { + "pos": 51776, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51777, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 51778, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51779, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 51784, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51785, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 51787, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51788, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$sed_quote_subst\"" + }, + { + "pos": 51806, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 51807, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51808, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 51809, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 51813, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51814, + "type": [ + "Text" + ], + "value": "$arg" + }, + { + "pos": 51818, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51819, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 51821, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51822, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 51823, + "type": [ + "Text" + ], + "value": "*[\\[\\~\\#\\^\\&\\*\\(\\)\\{\\}\\|\\;\\<\\>\\?\\'\\" + }, + { + "pos": 51858, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51859, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 51860, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 51861, + "type": [ + "Text" + ], + "value": "]*|*]*|\"\")" + }, + { + "pos": 51871, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51872, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 51875, + "type": [ + "Text" + ], + "value": "arg=\"\\\"$arg\\\"\"" + }, + { + "pos": 51889, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51890, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 51893, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 51895, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51896, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 51897, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 51901, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51902, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 51903, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 51905, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51906, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51912, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 51916, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51917, + "type": [ + "Comment" + ], + "value": "# arg" + }, + { + "pos": 51922, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 51924, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51930, + "type": [ + "Comment" + ], + "value": "# Now actually substitute the argument into the commands." + }, + { + "pos": 51987, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 51988, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51994, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 51996, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 51997, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 52001, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52002, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 52004, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52005, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$arg\"" + }, + { + "pos": 52011, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 52012, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52013, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 52017, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 52018, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 52019, + "type": [ + "Text" + ], + "value": "compile_command=\"$compile_command" + }, + { + "pos": 52052, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52053, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 52058, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 52059, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 52060, + "type": [ + "Text" + ], + "value": "finalize_command=\"$finalize_command" + }, + { + "pos": 52095, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52096, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 52101, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 52102, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52108, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 52110, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 52111, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52115, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 52119, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52120, + "type": [ + "Comment" + ], + "value": "# argument parsing loop" + }, + { + "pos": 52143, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 52145, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52149, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 52151, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52152, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 52156, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52157, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 52159, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52160, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$prev\"" + }, + { + "pos": 52167, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 52168, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52169, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 52173, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 52174, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52180, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 52185, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52186, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: the \\`$prevarg' option requires an argument\"" + }, + { + "pos": 52242, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52243, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 52247, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 52248, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52254, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 52259, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52260, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$help\"" + }, + { + "pos": 52267, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52268, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 52272, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 52273, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52279, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 52283, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52284, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 52297, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 52298, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52302, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 52304, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 52306, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52310, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 52312, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52313, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 52317, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52318, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$export_dynamic\"" + }, + { + "pos": 52335, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52336, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 52337, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52338, + "type": [ + "Text" + ], + "value": "yes" + }, + { + "pos": 52341, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52342, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 52344, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52345, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 52349, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52350, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 52352, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52353, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$export_dynamic_flag_spec\"" + }, + { + "pos": 52380, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 52381, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52382, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 52386, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 52387, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52393, + "type": [ + "Text" + ], + "value": "eval" + }, + { + "pos": 52397, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52398, + "type": [ + "Text" + ], + "value": "arg=\\\"$export_dynamic_flag_spec\\\"" + }, + { + "pos": 52431, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 52432, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52438, + "type": [ + "Text" + ], + "value": "compile_command=\"$compile_command" + }, + { + "pos": 52471, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52472, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 52477, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 52478, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52484, + "type": [ + "Text" + ], + "value": "finalize_command=\"$finalize_command" + }, + { + "pos": 52519, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52520, + "type": [ + "Text" + ], + "value": "$arg\"" + }, + { + "pos": 52525, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 52526, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52530, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 52532, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 52534, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52538, + "type": [ + "Text" + ], + "value": "oldlibs=" + }, + { + "pos": 52546, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 52547, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52551, + "type": [ + "Comment" + ], + "value": "# calculate the name of the file, without its directory" + }, + { + "pos": 52606, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 52607, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52611, + "type": [ + "Text" + ], + "value": "outputname=`$echo" + }, + { + "pos": 52628, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52629, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$output\"" + }, + { + "pos": 52639, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52640, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 52641, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52642, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 52647, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52648, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 52650, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52651, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s%^.*/%%'" + }, + { + "pos": 52661, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 52662, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 52663, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52667, + "type": [ + "Text" + ], + "value": "libobjs_save=\"$libobjs\"" + }, + { + "pos": 52690, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 52692, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52696, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 52698, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52699, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 52703, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52704, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 52706, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52707, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$shlibpath_var\"" + }, + { + "pos": 52723, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 52724, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52725, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 52729, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 52730, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52736, + "type": [ + "Comment" + ], + "value": "# get the directories listed in $shlibpath_var" + }, + { + "pos": 52782, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 52783, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52789, + "type": [ + "Text" + ], + "value": "eval" + }, + { + "pos": 52793, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52794, + "type": [ + "Text" + ], + "value": "shlib_search_path=\\`\\$echo" + }, + { + "pos": 52820, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52821, + "type": [ + "Text" + ], + "value": "\\\"X\\${$shlibpath_var}\\\"" + }, + { + "pos": 52844, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52845, + "type": [ + "Text" + ], + "value": "\\|" + }, + { + "pos": 52847, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52848, + "type": [ + "Text" + ], + "value": "\\$Xsed" + }, + { + "pos": 52854, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52855, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 52857, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52858, + "type": [ + "Text" + ], + "value": "\\'s/:/" + }, + { + "pos": 52864, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52865, + "type": [ + "Text" + ], + "value": "/g\\'\\`" + }, + { + "pos": 52871, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 52872, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52876, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 52880, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 52881, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52887, + "type": [ + "Text" + ], + "value": "shlib_search_path=" + }, + { + "pos": 52905, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 52906, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52910, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 52912, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 52913, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52917, + "type": [ + "Text" + ], + "value": "eval" + }, + { + "pos": 52921, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52922, + "type": [ + "Text" + ], + "value": "sys_lib_search_path=\\\"$sys_lib_search_path_spec\\\"" + }, + { + "pos": 52971, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 52972, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52976, + "type": [ + "Text" + ], + "value": "eval" + }, + { + "pos": 52980, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 52981, + "type": [ + "Text" + ], + "value": "sys_lib_dlsearch_path=\\\"$sys_lib_dlsearch_path_spec\\\"" + }, + { + "pos": 53034, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 53036, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53040, + "type": [ + "Text" + ], + "value": "output_objdir=`$echo" + }, + { + "pos": 53060, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53061, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$output\"" + }, + { + "pos": 53071, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53072, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 53073, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53074, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 53079, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53080, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 53082, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53083, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s%/[^/]*$%%'" + }, + { + "pos": 53096, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 53097, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 53098, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53102, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 53104, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53105, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 53109, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53110, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$output_objdir\"" + }, + { + "pos": 53127, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53128, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 53129, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53130, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$output\"" + }, + { + "pos": 53140, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 53141, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53142, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 53146, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 53147, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53153, + "type": [ + "Text" + ], + "value": "output_objdir=\"$objdir\"" + }, + { + "pos": 53176, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 53177, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53181, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 53185, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 53186, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53192, + "type": [ + "Text" + ], + "value": "output_objdir=\"$output_objdir/$objdir\"" + }, + { + "pos": 53230, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 53231, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53235, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 53237, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 53238, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53242, + "type": [ + "Comment" + ], + "value": "# Create the object directory." + }, + { + "pos": 53272, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 53273, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53277, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 53279, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53280, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 53284, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53285, + "type": [ + "Text" + ], + "value": "!" + }, + { + "pos": 53286, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53287, + "type": [ + "Text" + ], + "value": "-d" + }, + { + "pos": 53289, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53290, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$output_objdir\"" + }, + { + "pos": 53306, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 53307, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53308, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 53312, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 53313, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53319, + "type": [ + "Text" + ], + "value": "$show" + }, + { + "pos": 53324, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53325, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$mkdir $output_objdir\"" + }, + { + "pos": 53348, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 53349, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53355, + "type": [ + "Text" + ], + "value": "$run" + }, + { + "pos": 53359, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53360, + "type": [ + "Text" + ], + "value": "$mkdir" + }, + { + "pos": 53366, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53367, + "type": [ + "Text" + ], + "value": "$output_objdir" + }, + { + "pos": 53381, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 53382, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53388, + "type": [ + "Text" + ], + "value": "exit_status=$?" + }, + { + "pos": 53402, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 53403, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53409, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 53411, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53412, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 53416, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53417, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$exit_status\"" + }, + { + "pos": 53431, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53432, + "type": [ + "Text" + ], + "value": "-ne" + }, + { + "pos": 53435, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53436, + "type": [ + "Text" + ], + "value": "0" + }, + { + "pos": 53437, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53438, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 53440, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53441, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 53445, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53446, + "type": [ + "Text" + ], + "value": "!" + }, + { + "pos": 53447, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53448, + "type": [ + "Text" + ], + "value": "-d" + }, + { + "pos": 53450, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53451, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$output_objdir\"" + }, + { + "pos": 53467, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 53468, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53469, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 53473, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 53474, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 53475, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 53479, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53480, + "type": [ + "Text" + ], + "value": "$exit_status" + }, + { + "pos": 53492, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 53493, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53499, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 53501, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 53502, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53506, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 53508, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 53510, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53514, + "type": [ + "Comment" + ], + "value": "# Determine the type of output" + }, + { + "pos": 53544, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 53545, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53549, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 53553, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53554, + "type": [ + "Text" + ], + "value": "$output" + }, + { + "pos": 53561, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53562, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 53564, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 53565, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53569, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"\"" + }, + { + "pos": 53571, + "type": [ + "ArraySep", + "End" + ], + "value": ")" + }, + { + "pos": 53572, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 53573, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53579, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 53584, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53585, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: you must specify an output file\"" + }, + { + "pos": 53629, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53630, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 53634, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 53635, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53641, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 53646, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53647, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$help\"" + }, + { + "pos": 53654, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53655, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 53659, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 53660, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53666, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 53670, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53671, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 53684, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 53685, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53691, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 53693, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 53694, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53698, + "type": [ + "Text" + ], + "value": "*.$libext)" + }, + { + "pos": 53708, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53709, + "type": [ + "Text" + ], + "value": "linkmode=oldlib" + }, + { + "pos": 53724, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53725, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 53727, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 53728, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53732, + "type": [ + "Text" + ], + "value": "*.lo" + }, + { + "pos": 53736, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53737, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 53738, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53739, + "type": [ + "Text" + ], + "value": "*.$objext)" + }, + { + "pos": 53749, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53750, + "type": [ + "Text" + ], + "value": "linkmode=obj" + }, + { + "pos": 53762, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53763, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 53765, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 53766, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53770, + "type": [ + "Text" + ], + "value": "*.la)" + }, + { + "pos": 53775, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53776, + "type": [ + "Text" + ], + "value": "linkmode=lib" + }, + { + "pos": 53788, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53789, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 53791, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 53792, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53796, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 53798, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53799, + "type": [ + "Text" + ], + "value": "linkmode=prog" + }, + { + "pos": 53812, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53813, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 53815, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53816, + "type": [ + "Comment" + ], + "value": "# Anything else should be a program." + }, + { + "pos": 53852, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 53853, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53857, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 53861, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 53863, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53867, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 53871, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53872, + "type": [ + "Text" + ], + "value": "$host" + }, + { + "pos": 53877, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53878, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 53880, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 53881, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53885, + "type": [ + "Text" + ], + "value": "*cygwin*" + }, + { + "pos": 53893, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53894, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 53895, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53896, + "type": [ + "Text" + ], + "value": "*mingw*" + }, + { + "pos": 53903, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53904, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 53905, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53906, + "type": [ + "Text" + ], + "value": "*pw32*)" + }, + { + "pos": 53913, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 53914, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53920, + "type": [ + "Comment" + ], + "value": "# don't eliminate duplications in $postdeps and $predeps" + }, + { + "pos": 53976, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 53977, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 53983, + "type": [ + "Text" + ], + "value": "duplicate_compiler_generated_deps=yes" + }, + { + "pos": 54020, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 54021, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54027, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 54029, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 54030, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54034, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 54036, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 54037, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54043, + "type": [ + "Text" + ], + "value": "duplicate_compiler_generated_deps=$duplicate_deps" + }, + { + "pos": 54092, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 54093, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54099, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 54101, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 54102, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54106, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 54110, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 54111, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54115, + "type": [ + "Text" + ], + "value": "specialdeplibs=" + }, + { + "pos": 54130, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 54132, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54136, + "type": [ + "Text" + ], + "value": "libs=" + }, + { + "pos": 54141, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 54142, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54146, + "type": [ + "Comment" + ], + "value": "# Find all interdependent deplibs by searching for libraries" + }, + { + "pos": 54206, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 54207, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54211, + "type": [ + "Comment" + ], + "value": "# that are linked more than once (e.g. -la -lb -la)" + }, + { + "pos": 54262, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 54263, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54267, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 54270, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54271, + "type": [ + "Text" + ], + "value": "deplib" + }, + { + "pos": 54277, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54278, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 54280, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54281, + "type": [ + "Text" + ], + "value": "$deplibs;" + }, + { + "pos": 54290, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54291, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 54293, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 54294, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54300, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 54302, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54303, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 54307, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54308, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$duplicate_deps\"" + }, + { + "pos": 54326, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54327, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 54328, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54329, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"Xyes\"" + }, + { + "pos": 54335, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54336, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 54337, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54338, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 54342, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 54343, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 54344, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 54348, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54349, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$libs \"" + }, + { + "pos": 54357, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54358, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 54360, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 54361, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 54362, + "type": [ + "Text" + ], + "value": "*\"" + }, + { + "pos": 54364, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54365, + "type": [ + "Text" + ], + "value": "$deplib" + }, + { + "pos": 54372, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54373, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*) specialdeplibs=\"" + }, + { + "pos": 54393, + "type": [ + "Text" + ], + "value": "$specialdeplibs" + }, + { + "pos": 54408, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54409, + "type": [ + "Text" + ], + "value": "$deplib\"" + }, + { + "pos": 54417, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54418, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 54420, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 54421, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 54422, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 54426, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 54427, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54433, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 54435, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 54436, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54442, + "type": [ + "Text" + ], + "value": "libs=\"$libs" + }, + { + "pos": 54453, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54454, + "type": [ + "Text" + ], + "value": "$deplib\"" + }, + { + "pos": 54462, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 54463, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54467, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 54471, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 54473, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54477, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 54479, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54480, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 54484, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54485, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$linkmode\"" + }, + { + "pos": 54496, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54497, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 54498, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54499, + "type": [ + "Text" + ], + "value": "lib;" + }, + { + "pos": 54503, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54504, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 54508, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 54509, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54515, + "type": [ + "Text" + ], + "value": "libs=\"$predeps" + }, + { + "pos": 54529, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54530, + "type": [ + "Text" + ], + "value": "$libs" + }, + { + "pos": 54535, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54536, + "type": [ + "Text" + ], + "value": "$compiler_lib_search_path" + }, + { + "pos": 54561, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54562, + "type": [ + "Text" + ], + "value": "$postdeps\"" + }, + { + "pos": 54572, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 54574, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54580, + "type": [ + "Comment" + ], + "value": "# Compute libraries that are listed more than once in $predeps" + }, + { + "pos": 54642, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 54643, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54649, + "type": [ + "Comment" + ], + "value": "# $postdeps and mark them as special (i.e., whose duplicates are" + }, + { + "pos": 54713, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 54714, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54720, + "type": [ + "Comment" + ], + "value": "# not to be eliminated)." + }, + { + "pos": 54744, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 54745, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54751, + "type": [ + "Text" + ], + "value": "pre_post_deps=" + }, + { + "pos": 54765, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 54766, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54772, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 54774, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54775, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 54779, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54780, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$duplicate_compiler_generated_deps\"" + }, + { + "pos": 54817, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54818, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 54819, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54820, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"Xyes\"" + }, + { + "pos": 54826, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54827, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 54828, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54829, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 54833, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 54834, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 54835, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 54838, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54839, + "type": [ + "Text" + ], + "value": "pre_post_dep" + }, + { + "pos": 54851, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54852, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 54854, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54855, + "type": [ + "Text" + ], + "value": "$predeps" + }, + { + "pos": 54863, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54864, + "type": [ + "Text" + ], + "value": "$postdeps;" + }, + { + "pos": 54874, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54875, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 54877, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 54878, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 54881, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 54885, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54886, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pre_post_deps \"" + }, + { + "pos": 54903, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54904, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 54906, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 54907, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 54910, + "type": [ + "Text" + ], + "value": "*\"" + }, + { + "pos": 54912, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54913, + "type": [ + "Text" + ], + "value": "$pre_post_dep" + }, + { + "pos": 54926, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54927, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*) specialdeplibs=\"" + }, + { + "pos": 54947, + "type": [ + "Text" + ], + "value": "$specialdeplibs" + }, + { + "pos": 54962, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54963, + "type": [ + "Text" + ], + "value": "$pre_post_deps\"" + }, + { + "pos": 54978, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 54979, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 54981, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 54982, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 54985, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 54989, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 54990, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 54993, + "type": [ + "Text" + ], + "value": "pre_post_deps=\"$pre_post_deps" + }, + { + "pos": 55022, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55023, + "type": [ + "Text" + ], + "value": "$pre_post_dep\"" + }, + { + "pos": 55037, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55038, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 55039, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 55043, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55044, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55050, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 55052, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55053, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55059, + "type": [ + "Text" + ], + "value": "pre_post_deps=" + }, + { + "pos": 55073, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55074, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55078, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 55080, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 55082, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55086, + "type": [ + "Text" + ], + "value": "deplibs=" + }, + { + "pos": 55094, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55095, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55099, + "type": [ + "Text" + ], + "value": "newdependency_libs=" + }, + { + "pos": 55118, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55119, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55123, + "type": [ + "Text" + ], + "value": "newlib_search_path=" + }, + { + "pos": 55142, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55143, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55147, + "type": [ + "Text" + ], + "value": "need_relink=no" + }, + { + "pos": 55161, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55162, + "type": [ + "Comment" + ], + "value": "# whether we're linking any uninstalled libtool libraries" + }, + { + "pos": 55219, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55220, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55224, + "type": [ + "Text" + ], + "value": "notinst_deplibs=" + }, + { + "pos": 55240, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55241, + "type": [ + "Comment" + ], + "value": "# not-installed libtool libraries" + }, + { + "pos": 55274, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55275, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55279, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 55283, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55284, + "type": [ + "Text" + ], + "value": "$linkmode" + }, + { + "pos": 55293, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55294, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 55296, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55297, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55301, + "type": [ + "Text" + ], + "value": "lib)" + }, + { + "pos": 55305, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55306, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 55307, + "type": [ + "Text" + ], + "value": "passes=\"conv" + }, + { + "pos": 55319, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55320, + "type": [ + "Text" + ], + "value": "link\"" + }, + { + "pos": 55325, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55326, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 55327, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 55330, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55331, + "type": [ + "Text" + ], + "value": "file" + }, + { + "pos": 55335, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55336, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 55338, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55339, + "type": [ + "Text" + ], + "value": "$dlfiles" + }, + { + "pos": 55347, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55348, + "type": [ + "Text" + ], + "value": "$dlprefiles;" + }, + { + "pos": 55360, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55361, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 55363, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55364, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 55367, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 55371, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55372, + "type": [ + "Text" + ], + "value": "$file" + }, + { + "pos": 55377, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55378, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 55380, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55381, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 55384, + "type": [ + "Text" + ], + "value": "*.la)" + }, + { + "pos": 55389, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55390, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 55392, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55393, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 55396, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 55398, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55399, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 55404, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 55409, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55410, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: libraries can \\`-dlopen' only libtool libraries: $file\"" + }, + { + "pos": 55477, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55478, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 55482, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55483, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 55488, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 55492, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55493, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 55506, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55507, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 55512, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 55514, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55515, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 55518, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 55522, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55523, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 55524, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 55528, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55529, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 55530, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 55532, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55533, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55537, + "type": [ + "Text" + ], + "value": "prog)" + }, + { + "pos": 55542, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55543, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 55544, + "type": [ + "Text" + ], + "value": "compile_deplibs=" + }, + { + "pos": 55560, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55561, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 55562, + "type": [ + "Text" + ], + "value": "finalize_deplibs=" + }, + { + "pos": 55579, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55580, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 55581, + "type": [ + "Text" + ], + "value": "alldeplibs=no" + }, + { + "pos": 55594, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55595, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 55596, + "type": [ + "Text" + ], + "value": "newdlfiles=" + }, + { + "pos": 55607, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55608, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 55609, + "type": [ + "Text" + ], + "value": "newdlprefiles=" + }, + { + "pos": 55623, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55624, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 55625, + "type": [ + "Text" + ], + "value": "passes=\"conv" + }, + { + "pos": 55637, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55638, + "type": [ + "Text" + ], + "value": "scan" + }, + { + "pos": 55642, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55643, + "type": [ + "Text" + ], + "value": "dlopen" + }, + { + "pos": 55649, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55650, + "type": [ + "Text" + ], + "value": "dlpreopen" + }, + { + "pos": 55659, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55660, + "type": [ + "Text" + ], + "value": "link\"" + }, + { + "pos": 55665, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55666, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 55667, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 55669, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55670, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55674, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 55676, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55678, + "type": [ + "Text" + ], + "value": "passes=\"conv\"" + }, + { + "pos": 55691, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55692, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 55693, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 55695, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55696, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55700, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 55704, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55705, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55709, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 55712, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55713, + "type": [ + "Text" + ], + "value": "pass" + }, + { + "pos": 55717, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55718, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 55720, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55721, + "type": [ + "Text" + ], + "value": "$passes;" + }, + { + "pos": 55729, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55730, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 55732, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55733, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55739, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 55741, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55742, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 55746, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55747, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$linkmode,$pass\"" + }, + { + "pos": 55764, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55765, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 55766, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55767, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"lib,link\"" + }, + { + "pos": 55777, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55778, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 55780, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55781, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 55783, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 55787, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55788, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$linkmode,$pass\"" + }, + { + "pos": 55805, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55806, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 55807, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55808, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"prog,scan\"" + }, + { + "pos": 55819, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 55820, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55821, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 55825, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55826, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 55827, + "type": [ + "Text" + ], + "value": "libs=\"$deplibs\"" + }, + { + "pos": 55842, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55843, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 55844, + "type": [ + "Text" + ], + "value": "deplibs=" + }, + { + "pos": 55852, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55853, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55859, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 55861, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55862, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55868, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 55870, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55871, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 55875, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55876, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$linkmode\"" + }, + { + "pos": 55887, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55888, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 55889, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55890, + "type": [ + "Text" + ], + "value": "prog;" + }, + { + "pos": 55895, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55896, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 55900, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55901, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 55902, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 55906, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55907, + "type": [ + "Text" + ], + "value": "$pass" + }, + { + "pos": 55912, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55913, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 55915, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55916, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 55917, + "type": [ + "Text" + ], + "value": "dlopen)" + }, + { + "pos": 55924, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55925, + "type": [ + "Text" + ], + "value": "libs=\"$dlfiles\"" + }, + { + "pos": 55940, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55941, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 55943, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55944, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 55945, + "type": [ + "Text" + ], + "value": "dlpreopen)" + }, + { + "pos": 55955, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55956, + "type": [ + "Text" + ], + "value": "libs=\"$dlprefiles\"" + }, + { + "pos": 55974, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55975, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 55977, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 55978, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 55979, + "type": [ + "Text" + ], + "value": "link)" + }, + { + "pos": 55984, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 55985, + "type": [ + "Text" + ], + "value": "libs=\"$deplibs" + }, + { + "pos": 55999, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56000, + "type": [ + "Text" + ], + "value": "%DEPLIBS%" + }, + { + "pos": 56009, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56010, + "type": [ + "Text" + ], + "value": "$dependency_libs\"" + }, + { + "pos": 56027, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56028, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 56030, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56031, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 56032, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 56036, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56037, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56043, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 56045, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56046, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56052, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 56054, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56055, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 56059, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56060, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pass\"" + }, + { + "pos": 56067, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56068, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 56069, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56070, + "type": [ + "Text" + ], + "value": "dlopen;" + }, + { + "pos": 56077, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56078, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 56082, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56083, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 56084, + "type": [ + "Comment" + ], + "value": "# Collect dlpreopened libraries" + }, + { + "pos": 56115, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56116, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 56117, + "type": [ + "Text" + ], + "value": "save_deplibs=\"$deplibs\"" + }, + { + "pos": 56140, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56141, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 56142, + "type": [ + "Text" + ], + "value": "deplibs=" + }, + { + "pos": 56150, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56151, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56157, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 56159, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56160, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56166, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 56169, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56170, + "type": [ + "Text" + ], + "value": "deplib" + }, + { + "pos": 56176, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56177, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 56179, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56180, + "type": [ + "Text" + ], + "value": "$libs;" + }, + { + "pos": 56186, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56187, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 56189, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56190, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 56191, + "type": [ + "Text" + ], + "value": "lib=" + }, + { + "pos": 56195, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56196, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 56197, + "type": [ + "Text" + ], + "value": "found=no" + }, + { + "pos": 56205, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56206, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 56207, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 56211, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56212, + "type": [ + "Text" + ], + "value": "$deplib" + }, + { + "pos": 56219, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56220, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 56222, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56223, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 56224, + "type": [ + "Text" + ], + "value": "-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)" + }, + { + "pos": 56289, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56290, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 56293, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 56295, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56296, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 56300, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56301, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$linkmode,$pass\"" + }, + { + "pos": 56318, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56319, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 56320, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56321, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"prog,link\"" + }, + { + "pos": 56332, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 56333, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56334, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 56338, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56339, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 56344, + "type": [ + "Text" + ], + "value": "compile_deplibs=\"$deplib" + }, + { + "pos": 56368, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56369, + "type": [ + "Text" + ], + "value": "$compile_deplibs\"" + }, + { + "pos": 56386, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56387, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 56392, + "type": [ + "Text" + ], + "value": "finalize_deplibs=\"$deplib" + }, + { + "pos": 56417, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56418, + "type": [ + "Text" + ], + "value": "$finalize_deplibs\"" + }, + { + "pos": 56436, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56437, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 56440, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 56444, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56445, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 56450, + "type": [ + "Text" + ], + "value": "compiler_flags=\"$compiler_flags" + }, + { + "pos": 56481, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56482, + "type": [ + "Text" + ], + "value": "$deplib\"" + }, + { + "pos": 56490, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56491, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 56494, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 56496, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56497, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 56500, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 56508, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56509, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 56512, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 56514, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56515, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 56516, + "type": [ + "Text" + ], + "value": "-l*)" + }, + { + "pos": 56520, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56521, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 56524, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 56526, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56527, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 56531, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56532, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$linkmode\"" + }, + { + "pos": 56543, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56544, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 56546, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56547, + "type": [ + "Text" + ], + "value": "lib" + }, + { + "pos": 56550, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56551, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 56553, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56554, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 56558, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56559, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$linkmode\"" + }, + { + "pos": 56570, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56571, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 56573, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56574, + "type": [ + "Text" + ], + "value": "prog;" + }, + { + "pos": 56579, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56580, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 56584, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56585, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 56590, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 56595, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56596, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: warning: \\`-l' is ignored for archives/objects\"" + }, + { + "pos": 56655, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56656, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 56660, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56661, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 56666, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 56674, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56675, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 56678, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 56680, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56681, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 56684, + "type": [ + "Text" + ], + "value": "name=`$echo" + }, + { + "pos": 56695, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56696, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$deplib\"" + }, + { + "pos": 56706, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56707, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 56708, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56709, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 56714, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56715, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 56717, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56718, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s/^-l//'" + }, + { + "pos": 56727, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 56728, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56729, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 56732, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 56735, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56736, + "type": [ + "Text" + ], + "value": "searchdir" + }, + { + "pos": 56745, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56746, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 56748, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56749, + "type": [ + "Text" + ], + "value": "$newlib_search_path" + }, + { + "pos": 56768, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56769, + "type": [ + "Text" + ], + "value": "$lib_search_path" + }, + { + "pos": 56785, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56786, + "type": [ + "Text" + ], + "value": "$sys_lib_search_path" + }, + { + "pos": 56806, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56807, + "type": [ + "Text" + ], + "value": "$shlib_search_path;" + }, + { + "pos": 56826, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56827, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 56829, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56830, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 56835, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 56838, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56839, + "type": [ + "Text" + ], + "value": "search_ext" + }, + { + "pos": 56849, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56850, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 56852, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56853, + "type": [ + "Text" + ], + "value": ".la" + }, + { + "pos": 56856, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56857, + "type": [ + "Text" + ], + "value": "$std_shrext" + }, + { + "pos": 56868, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56869, + "type": [ + "Text" + ], + "value": ".so" + }, + { + "pos": 56872, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56873, + "type": [ + "Text" + ], + "value": ".a;" + }, + { + "pos": 56876, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56877, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 56879, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56880, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 56887, + "type": [ + "Comment" + ], + "value": "# Search the libtool library" + }, + { + "pos": 56915, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56916, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 56923, + "type": [ + "Text" + ], + "value": "lib=\"$searchdir/lib${name}${search_ext}\"" + }, + { + "pos": 56963, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56964, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 56971, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 56973, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56974, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 56978, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56979, + "type": [ + "Text" + ], + "value": "-f" + }, + { + "pos": 56981, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56982, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$lib\"" + }, + { + "pos": 56988, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 56989, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 56990, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 56994, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 56995, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 56997, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 56999, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57000, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 57004, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57005, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$search_ext\"" + }, + { + "pos": 57018, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57019, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 57020, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57021, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\".la\"" + }, + { + "pos": 57026, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 57027, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57028, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 57032, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 57033, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 57037, + "type": [ + "Text" + ], + "value": "found=yes" + }, + { + "pos": 57046, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 57047, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 57049, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 57053, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 57054, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 57058, + "type": [ + "Text" + ], + "value": "found=no" + }, + { + "pos": 57066, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 57067, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 57069, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 57071, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 57072, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 57074, + "type": [ + "Text" + ], + "value": "break" + }, + { + "pos": 57079, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57080, + "type": [ + "Text" + ], + "value": "2" + }, + { + "pos": 57081, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 57082, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 57089, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 57091, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 57092, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 57097, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 57101, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 57102, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 57105, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 57109, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 57110, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 57113, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 57115, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57116, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 57120, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57121, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$found\"" + }, + { + "pos": 57129, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57130, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 57132, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57133, + "type": [ + "Text" + ], + "value": "yes;" + }, + { + "pos": 57137, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57138, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 57142, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 57143, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 57148, + "type": [ + "Comment" + ], + "value": "# deplib doesn't seem to be a libtool library" + }, + { + "pos": 57193, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 57194, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 57199, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 57201, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57202, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 57206, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57207, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$linkmode,$pass\"" + }, + { + "pos": 57224, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57225, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 57226, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57227, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"prog,link\"" + }, + { + "pos": 57238, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 57239, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57240, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 57244, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 57245, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 57252, + "type": [ + "Text" + ], + "value": "compile_deplibs=\"$deplib" + }, + { + "pos": 57276, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57277, + "type": [ + "Text" + ], + "value": "$compile_deplibs\"" + }, + { + "pos": 57294, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 57295, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 57302, + "type": [ + "Text" + ], + "value": "finalize_deplibs=\"$deplib" + }, + { + "pos": 57327, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57328, + "type": [ + "Text" + ], + "value": "$finalize_deplibs\"" + }, + { + "pos": 57346, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 57347, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 57352, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 57356, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 57357, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 57364, + "type": [ + "Text" + ], + "value": "deplibs=\"$deplib" + }, + { + "pos": 57380, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57381, + "type": [ + "Text" + ], + "value": "$deplibs\"" + }, + { + "pos": 57390, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 57391, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 57398, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 57402, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57403, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$linkmode\"" + }, + { + "pos": 57414, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57415, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 57416, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57417, + "type": [ + "Text" + ], + "value": "lib" + }, + { + "pos": 57420, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57421, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 57423, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57424, + "type": [ + "Text" + ], + "value": "newdependency_libs=\"$deplib" + }, + { + "pos": 57451, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57452, + "type": [ + "Text" + ], + "value": "$newdependency_libs\"" + }, + { + "pos": 57472, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 57473, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 57478, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 57480, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 57481, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 57486, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 57494, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 57495, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 57498, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 57502, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57503, + "type": [ + "Comment" + ], + "value": "# deplib is a libtool library" + }, + { + "pos": 57532, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 57533, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 57538, + "type": [ + "Comment" + ], + "value": "# If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib," + }, + { + "pos": 57607, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 57608, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 57613, + "type": [ + "Comment" + ], + "value": "# We need to do some special things here, and not later." + }, + { + "pos": 57669, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 57670, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 57675, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 57677, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57678, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 57682, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57683, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$allow_libtool_libs_with_static_runtimes\"" + }, + { + "pos": 57726, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57727, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 57728, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57729, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"Xyes\"" + }, + { + "pos": 57735, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57736, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 57737, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57738, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 57742, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 57743, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 57750, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 57754, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57755, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" $predeps $postdeps \"" + }, + { + "pos": 57777, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57778, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 57780, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 57781, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 57788, + "type": [ + "Text" + ], + "value": "*\"" + }, + { + "pos": 57790, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57791, + "type": [ + "Text" + ], + "value": "$deplib" + }, + { + "pos": 57798, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57799, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*)\n\t\tif (${SED} -e '2q' $lib |\n grep \"" + }, + { + "pos": 57857, + "type": [ + "Text" + ], + "value": "^#" + }, + { + "pos": 57859, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57860, + "type": [ + "Text" + ], + "value": "Generated" + }, + { + "pos": 57869, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57870, + "type": [ + "Text" + ], + "value": "by" + }, + { + "pos": 57872, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57873, + "type": [ + "Text" + ], + "value": ".*$PACKAGE\")" + }, + { + "pos": 57885, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57886, + "type": [ + "Text" + ], + "value": ">/dev/null" + }, + { + "pos": 57896, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57897, + "type": [ + "Text" + ], + "value": "2>&1;" + }, + { + "pos": 57902, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57903, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 57907, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 57908, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 57912, + "type": [ + "Text" + ], + "value": "library_names=" + }, + { + "pos": 57926, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 57927, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 57931, + "type": [ + "Text" + ], + "value": "old_library=" + }, + { + "pos": 57943, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 57944, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 57948, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 57952, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57953, + "type": [ + "Text" + ], + "value": "$lib" + }, + { + "pos": 57957, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57958, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 57960, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 57961, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 57965, + "type": [ + "Text" + ], + "value": "*/*" + }, + { + "pos": 57968, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57969, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 57970, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57971, + "type": [ + "Text" + ], + "value": "*\\\\*)" + }, + { + "pos": 57976, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57977, + "type": [ + "Text" + ], + "value": "." + }, + { + "pos": 57978, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57979, + "type": [ + "Text" + ], + "value": "$lib" + }, + { + "pos": 57983, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57984, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 57986, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 57987, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 57991, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 57993, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57994, + "type": [ + "Text" + ], + "value": "." + }, + { + "pos": 57995, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 57996, + "type": [ + "Text" + ], + "value": "./$lib" + }, + { + "pos": 58002, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58003, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 58005, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58006, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 58010, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 58014, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58015, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 58019, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 58022, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58023, + "type": [ + "Text" + ], + "value": "l" + }, + { + "pos": 58024, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58025, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 58027, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58028, + "type": [ + "Text" + ], + "value": "$old_library" + }, + { + "pos": 58040, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58041, + "type": [ + "Text" + ], + "value": "$library_names;" + }, + { + "pos": 58056, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58057, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 58059, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58060, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 58066, + "type": [ + "Text" + ], + "value": "ll=\"$l\"" + }, + { + "pos": 58073, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58074, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 58078, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 58082, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58083, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 58087, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 58089, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58090, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 58094, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58095, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$ll\"" + }, + { + "pos": 58101, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58102, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 58103, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58104, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$old_library\"" + }, + { + "pos": 58119, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58120, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 58121, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58122, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 58126, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58127, + "type": [ + "Comment" + ], + "value": "# only static version available" + }, + { + "pos": 58158, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58159, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 58165, + "type": [ + "Text" + ], + "value": "found=no" + }, + { + "pos": 58173, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58174, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 58180, + "type": [ + "Text" + ], + "value": "ladir=`$echo" + }, + { + "pos": 58192, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58193, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$lib\"" + }, + { + "pos": 58200, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58201, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 58202, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58203, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 58208, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58209, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 58211, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58212, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s%/[^/]*$%%'" + }, + { + "pos": 58225, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 58226, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58227, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 58233, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 58237, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58238, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$ladir\"" + }, + { + "pos": 58247, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58248, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 58249, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58250, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$lib\"" + }, + { + "pos": 58257, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58258, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 58260, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58261, + "type": [ + "Text" + ], + "value": "ladir=\".\"" + }, + { + "pos": 58270, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58271, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 58277, + "type": [ + "Text" + ], + "value": "lib=$ladir/$old_library" + }, + { + "pos": 58300, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58301, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 58307, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 58309, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58310, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 58314, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58315, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$linkmode,$pass\"" + }, + { + "pos": 58332, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58333, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 58334, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58335, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"prog,link\"" + }, + { + "pos": 58346, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 58347, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58348, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 58352, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58353, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 58361, + "type": [ + "Text" + ], + "value": "compile_deplibs=\"$deplib" + }, + { + "pos": 58385, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58386, + "type": [ + "Text" + ], + "value": "$compile_deplibs\"" + }, + { + "pos": 58403, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58404, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 58412, + "type": [ + "Text" + ], + "value": "finalize_deplibs=\"$deplib" + }, + { + "pos": 58437, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58438, + "type": [ + "Text" + ], + "value": "$finalize_deplibs\"" + }, + { + "pos": 58456, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58457, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 58463, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 58467, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58468, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 58476, + "type": [ + "Text" + ], + "value": "deplibs=\"$deplib" + }, + { + "pos": 58492, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58493, + "type": [ + "Text" + ], + "value": "$deplibs\"" + }, + { + "pos": 58502, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58503, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 58511, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 58515, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58516, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$linkmode\"" + }, + { + "pos": 58527, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58528, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 58529, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58530, + "type": [ + "Text" + ], + "value": "lib" + }, + { + "pos": 58533, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58534, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 58536, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58537, + "type": [ + "Text" + ], + "value": "newdependency_libs=\"$deplib" + }, + { + "pos": 58564, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58565, + "type": [ + "Text" + ], + "value": "$newdependency_libs\"" + }, + { + "pos": 58585, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58586, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 58592, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 58594, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58595, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 58601, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 58609, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58610, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 58614, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 58616, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58617, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 58619, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 58621, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58622, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 58631, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 58633, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58634, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 58641, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 58643, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58644, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 58646, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58647, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 58654, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 58658, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58659, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 58664, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 58666, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58667, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 58670, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 58672, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58673, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 58676, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 58678, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58679, + "type": [ + "Comment" + ], + "value": "# -l" + }, + { + "pos": 58683, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58684, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 58685, + "type": [ + "Text" + ], + "value": "-L*)" + }, + { + "pos": 58689, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58690, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 58693, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 58697, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58698, + "type": [ + "Text" + ], + "value": "$linkmode" + }, + { + "pos": 58707, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58708, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 58710, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58711, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 58714, + "type": [ + "Text" + ], + "value": "lib)" + }, + { + "pos": 58718, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58719, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 58724, + "type": [ + "Text" + ], + "value": "deplibs=\"$deplib" + }, + { + "pos": 58740, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58741, + "type": [ + "Text" + ], + "value": "$deplibs\"" + }, + { + "pos": 58750, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58751, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 58756, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 58760, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58761, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pass\"" + }, + { + "pos": 58768, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58769, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 58770, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58771, + "type": [ + "Text" + ], + "value": "conv" + }, + { + "pos": 58775, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58776, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 58778, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58779, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 58787, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58788, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 58793, + "type": [ + "Text" + ], + "value": "newdependency_libs=\"$deplib" + }, + { + "pos": 58820, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58821, + "type": [ + "Text" + ], + "value": "$newdependency_libs\"" + }, + { + "pos": 58841, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58842, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 58847, + "type": [ + "Text" + ], + "value": "newlib_search_path=\"$newlib_search_path" + }, + { + "pos": 58886, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58887, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"`$echo \"" + }, + { + "pos": 58896, + "type": [ + "Text" + ], + "value": "X$deplib\"" + }, + { + "pos": 58905, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58906, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 58907, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58908, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 58913, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58914, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 58916, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58917, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s/^-L//'" + }, + { + "pos": 58926, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 58927, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58928, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 58933, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 58935, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58936, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 58939, + "type": [ + "Text" + ], + "value": "prog)" + }, + { + "pos": 58944, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58945, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 58950, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 58952, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58953, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 58957, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58958, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pass\"" + }, + { + "pos": 58965, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58966, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 58967, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58968, + "type": [ + "Text" + ], + "value": "conv;" + }, + { + "pos": 58973, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 58974, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 58978, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 58979, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 58986, + "type": [ + "Text" + ], + "value": "deplibs=\"$deplib" + }, + { + "pos": 59002, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59003, + "type": [ + "Text" + ], + "value": "$deplibs\"" + }, + { + "pos": 59012, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59013, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59020, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 59028, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59029, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59034, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 59036, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59037, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59042, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 59044, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59045, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 59049, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59050, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pass\"" + }, + { + "pos": 59057, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59058, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 59059, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59060, + "type": [ + "Text" + ], + "value": "scan;" + }, + { + "pos": 59065, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59066, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 59070, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59071, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59078, + "type": [ + "Text" + ], + "value": "deplibs=\"$deplib" + }, + { + "pos": 59094, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59095, + "type": [ + "Text" + ], + "value": "$deplibs\"" + }, + { + "pos": 59104, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59105, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59110, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 59114, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59115, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59122, + "type": [ + "Text" + ], + "value": "compile_deplibs=\"$deplib" + }, + { + "pos": 59146, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59147, + "type": [ + "Text" + ], + "value": "$compile_deplibs\"" + }, + { + "pos": 59164, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59165, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59172, + "type": [ + "Text" + ], + "value": "finalize_deplibs=\"$deplib" + }, + { + "pos": 59197, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59198, + "type": [ + "Text" + ], + "value": "$finalize_deplibs\"" + }, + { + "pos": 59216, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59217, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59222, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 59224, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59225, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59230, + "type": [ + "Text" + ], + "value": "newlib_search_path=\"$newlib_search_path" + }, + { + "pos": 59269, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59270, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"`$echo \"" + }, + { + "pos": 59279, + "type": [ + "Text" + ], + "value": "X$deplib\"" + }, + { + "pos": 59288, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59289, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 59290, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59291, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 59296, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59297, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 59299, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59300, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s/^-L//'" + }, + { + "pos": 59309, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 59310, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59311, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59316, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 59318, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59319, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59322, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 59324, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59325, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59330, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 59335, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59336, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: warning: \\`-L' is ignored for archives/objects\"" + }, + { + "pos": 59395, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59396, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 59400, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59401, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59406, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 59408, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59409, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59412, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 59416, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59417, + "type": [ + "Comment" + ], + "value": "# linkmode" + }, + { + "pos": 59427, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59428, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59431, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 59439, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59440, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59443, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 59445, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59446, + "type": [ + "Comment" + ], + "value": "# -L" + }, + { + "pos": 59450, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59451, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 59452, + "type": [ + "Text" + ], + "value": "-R*)" + }, + { + "pos": 59456, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59457, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59460, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 59462, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59463, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 59467, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59468, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pass\"" + }, + { + "pos": 59475, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59476, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 59477, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59478, + "type": [ + "Text" + ], + "value": "link;" + }, + { + "pos": 59483, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59484, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 59488, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59489, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59494, + "type": [ + "Text" + ], + "value": "dir=`$echo" + }, + { + "pos": 59504, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59505, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$deplib\"" + }, + { + "pos": 59515, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59516, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 59517, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59518, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 59523, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59524, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 59526, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59527, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s/^-R//'" + }, + { + "pos": 59536, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 59537, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59538, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59543, + "type": [ + "Comment" + ], + "value": "# Make sure the xrpath contains only unique directories." + }, + { + "pos": 59599, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59600, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59605, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 59609, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59610, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$xrpath \"" + }, + { + "pos": 59620, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59621, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 59623, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59624, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59629, + "type": [ + "Text" + ], + "value": "*\"" + }, + { + "pos": 59631, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59632, + "type": [ + "Text" + ], + "value": "$dir" + }, + { + "pos": 59636, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59637, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*) ;;\n\t *) xrpath=\"" + }, + { + "pos": 59660, + "type": [ + "Text" + ], + "value": "$xrpath" + }, + { + "pos": 59667, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59668, + "type": [ + "Text" + ], + "value": "$dir\"" + }, + { + "pos": 59673, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59674, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 59676, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59677, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59682, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 59686, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59687, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59690, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 59692, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59693, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59696, + "type": [ + "Text" + ], + "value": "deplibs=\"$deplib" + }, + { + "pos": 59712, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59713, + "type": [ + "Text" + ], + "value": "$deplibs\"" + }, + { + "pos": 59722, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59723, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59726, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 59734, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59735, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59738, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 59740, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59741, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 59742, + "type": [ + "Text" + ], + "value": "*.la)" + }, + { + "pos": 59747, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59748, + "type": [ + "Text" + ], + "value": "lib=\"$deplib\"" + }, + { + "pos": 59761, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59762, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 59764, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59765, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 59766, + "type": [ + "Text" + ], + "value": "*.$libext)" + }, + { + "pos": 59776, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59777, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59780, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 59782, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59783, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 59787, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59788, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pass\"" + }, + { + "pos": 59795, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59796, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 59797, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59798, + "type": [ + "Text" + ], + "value": "conv;" + }, + { + "pos": 59803, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59804, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 59808, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59809, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59814, + "type": [ + "Text" + ], + "value": "deplibs=\"$deplib" + }, + { + "pos": 59830, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59831, + "type": [ + "Text" + ], + "value": "$deplibs\"" + }, + { + "pos": 59840, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59841, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59846, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 59854, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59855, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59858, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 59860, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59861, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59864, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 59868, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59869, + "type": [ + "Text" + ], + "value": "$linkmode" + }, + { + "pos": 59878, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59879, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 59881, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59882, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59885, + "type": [ + "Text" + ], + "value": "lib)" + }, + { + "pos": 59889, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59890, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59895, + "type": [ + "Text" + ], + "value": "valid_a_lib=no" + }, + { + "pos": 59909, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59910, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59915, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 59919, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59920, + "type": [ + "Text" + ], + "value": "$deplibs_check_method" + }, + { + "pos": 59941, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59942, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 59944, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59945, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 59952, + "type": [ + "Text" + ], + "value": "match_pattern*)" + }, + { + "pos": 59967, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 59968, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 59970, + "type": [ + "Text" + ], + "value": "set" + }, + { + "pos": 59973, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59974, + "type": [ + "Text" + ], + "value": "dummy" + }, + { + "pos": 59979, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 59980, + "type": [ + "Text" + ], + "value": "$deplibs_check_method" + }, + { + "pos": 60001, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 60002, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 60011, + "type": [ + "Text" + ], + "value": "match_pattern_regex=`expr" + }, + { + "pos": 60036, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 60037, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$deplibs_check_method\"" + }, + { + "pos": 60060, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 60061, + "type": [ + "Text" + ], + "value": ":" + }, + { + "pos": 60062, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 60063, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$2 \\(.*\\)\"" + }, + { + "pos": 60074, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 60075, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 60076, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 60078, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 60080, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 60081, + "type": [ + "Text" + ], + "value": "eval" + }, + { + "pos": 60085, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 60086, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 60091, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 60092, + "type": [ + "Text" + ], + "value": "\\\"$deplib\\\"" + }, + { + "pos": 60103, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 60104, + "type": [ + "Text" + ], + "value": "2>/dev/null" + }, + { + "pos": 60115, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 60116, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 60117, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 60118, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 60124, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 60125, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 60126, + "type": [ + "Text" + ], + "value": "$SED" + }, + { + "pos": 60130, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 60131, + "type": [ + "Text" + ], + "value": "10q" + }, + { + "pos": 60134, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 60135, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 60136, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 60137, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 60143, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 60144, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 60145, + "type": [ + "Text" + ], + "value": "$EGREP" + }, + { + "pos": 60151, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 60152, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$match_pattern_regex\"" + }, + { + "pos": 60174, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 60175, + "type": [ + "Text" + ], + "value": ">" + }, + { + "pos": 60176, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 60177, + "type": [ + "Text" + ], + "value": "/dev/null;" + }, + { + "pos": 60187, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 60188, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 60192, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 60193, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 60197, + "type": [ + "Text" + ], + "value": "valid_a_lib=yes" + }, + { + "pos": 60212, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 60213, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 60215, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 60217, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 60218, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 60220, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 60222, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 60223, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 60230, + "type": [ + "Text" + ], + "value": "pass_all)" + }, + { + "pos": 60239, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 60240, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 60242, + "type": [ + "Text" + ], + "value": "valid_a_lib=yes" + }, + { + "pos": 60257, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 60258, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 60260, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 60262, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 60263, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 60275, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 60279, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 60280, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 60285, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 60287, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 60288, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 60292, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 60293, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$valid_a_lib\"" + }, + { + "pos": 60307, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 60308, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 60310, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 60311, + "type": [ + "Text" + ], + "value": "yes;" + }, + { + "pos": 60315, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 60316, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 60320, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 60321, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 60328, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 60333, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 60334, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 60341, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 60346, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 60347, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*** Warning: Trying to link with static lib archive $deplib.\"" + }, + { + "pos": 60409, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 60410, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 60417, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 60422, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 60423, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*** I have the capability to make that library automatically link in when\"" + }, + { + "pos": 60498, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 60499, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 60506, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 60511, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 60512, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*** you link to this library. But I can only do this if you have a\"" + }, + { + "pos": 60581, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 60582, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 60589, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 60594, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 60595, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*** shared version of the library, which you do not appear to have\"" + }, + { + "pos": 60663, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 60664, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 60671, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 60676, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 60677, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*** because the file extensions .$libext of this argument makes me believe\"" + }, + { + "pos": 60753, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 60754, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 60761, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 60766, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 60767, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*** that it is just a static archive that I should not used here.\"" + }, + { + "pos": 60834, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 60835, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 60840, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 60844, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 60845, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 60852, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 60857, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 60858, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 60865, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 60870, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 60871, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*** Warning: Linking the shared library $output against the\"" + }, + { + "pos": 60932, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 60933, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 60940, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 60945, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 60946, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*** static library $deplib is not portable!\"" + }, + { + "pos": 60991, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 60992, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 60999, + "type": [ + "Text" + ], + "value": "deplibs=\"$deplib" + }, + { + "pos": 61015, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61016, + "type": [ + "Text" + ], + "value": "$deplibs\"" + }, + { + "pos": 61025, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61026, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61031, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 61033, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61034, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61039, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 61047, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61048, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61053, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 61055, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61056, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61059, + "type": [ + "Text" + ], + "value": "prog)" + }, + { + "pos": 61064, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61065, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61070, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 61072, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61073, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 61077, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61078, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pass\"" + }, + { + "pos": 61085, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61086, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 61088, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61089, + "type": [ + "Text" + ], + "value": "link;" + }, + { + "pos": 61094, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61095, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 61099, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61100, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61107, + "type": [ + "Text" + ], + "value": "deplibs=\"$deplib" + }, + { + "pos": 61123, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61124, + "type": [ + "Text" + ], + "value": "$deplibs\"" + }, + { + "pos": 61133, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61134, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61139, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 61143, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61144, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61151, + "type": [ + "Text" + ], + "value": "compile_deplibs=\"$deplib" + }, + { + "pos": 61175, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61176, + "type": [ + "Text" + ], + "value": "$compile_deplibs\"" + }, + { + "pos": 61193, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61194, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61201, + "type": [ + "Text" + ], + "value": "finalize_deplibs=\"$deplib" + }, + { + "pos": 61226, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61227, + "type": [ + "Text" + ], + "value": "$finalize_deplibs\"" + }, + { + "pos": 61245, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61246, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61251, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 61253, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61254, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61259, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 61267, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61268, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61273, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 61275, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61276, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61279, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 61283, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61284, + "type": [ + "Comment" + ], + "value": "# linkmode" + }, + { + "pos": 61294, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61295, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61298, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 61300, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61301, + "type": [ + "Comment" + ], + "value": "# *.$libext" + }, + { + "pos": 61312, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61313, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 61314, + "type": [ + "Text" + ], + "value": "*.lo" + }, + { + "pos": 61318, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61319, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 61320, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61321, + "type": [ + "Text" + ], + "value": "*.$objext)" + }, + { + "pos": 61331, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61332, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61335, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 61337, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61338, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 61342, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61343, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pass\"" + }, + { + "pos": 61350, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61351, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 61352, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61353, + "type": [ + "Text" + ], + "value": "conv;" + }, + { + "pos": 61358, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61359, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 61363, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61364, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61369, + "type": [ + "Text" + ], + "value": "deplibs=\"$deplib" + }, + { + "pos": 61385, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61386, + "type": [ + "Text" + ], + "value": "$deplibs\"" + }, + { + "pos": 61395, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61396, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61399, + "type": [ + "Text" + ], + "value": "elif" + }, + { + "pos": 61403, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61404, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 61408, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61409, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$linkmode\"" + }, + { + "pos": 61420, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61421, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 61422, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61423, + "type": [ + "Text" + ], + "value": "prog;" + }, + { + "pos": 61428, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61429, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 61433, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61434, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61439, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 61441, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61442, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 61446, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61447, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pass\"" + }, + { + "pos": 61454, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61455, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 61456, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61457, + "type": [ + "Text" + ], + "value": "dlpreopen" + }, + { + "pos": 61466, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61467, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 61469, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61470, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 61474, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61475, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$dlopen_support\"" + }, + { + "pos": 61492, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61493, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 61495, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61496, + "type": [ + "Text" + ], + "value": "yes" + }, + { + "pos": 61499, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61500, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 61502, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61503, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 61507, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61508, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$build_libtool_libs\"" + }, + { + "pos": 61529, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61530, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 61531, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61532, + "type": [ + "Text" + ], + "value": "no;" + }, + { + "pos": 61535, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61536, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 61540, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61541, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61548, + "type": [ + "Comment" + ], + "value": "# If there is no dlopen support or we're linking statically," + }, + { + "pos": 61608, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61609, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61616, + "type": [ + "Comment" + ], + "value": "# we need to preload." + }, + { + "pos": 61637, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61638, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61645, + "type": [ + "Text" + ], + "value": "newdlprefiles=\"$newdlprefiles" + }, + { + "pos": 61674, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61675, + "type": [ + "Text" + ], + "value": "$deplib\"" + }, + { + "pos": 61683, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61684, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61691, + "type": [ + "Text" + ], + "value": "compile_deplibs=\"$deplib" + }, + { + "pos": 61715, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61716, + "type": [ + "Text" + ], + "value": "$compile_deplibs\"" + }, + { + "pos": 61733, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61734, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61741, + "type": [ + "Text" + ], + "value": "finalize_deplibs=\"$deplib" + }, + { + "pos": 61766, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61767, + "type": [ + "Text" + ], + "value": "$finalize_deplibs\"" + }, + { + "pos": 61785, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61786, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61791, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 61795, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61796, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61803, + "type": [ + "Text" + ], + "value": "newdlfiles=\"$newdlfiles" + }, + { + "pos": 61826, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61827, + "type": [ + "Text" + ], + "value": "$deplib\"" + }, + { + "pos": 61835, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61836, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61841, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 61843, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61844, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61847, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 61849, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61850, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61853, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 61861, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61862, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61865, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 61867, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61868, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 61869, + "type": [ + "Text" + ], + "value": "%DEPLIBS%)" + }, + { + "pos": 61879, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61880, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61883, + "type": [ + "Text" + ], + "value": "alldeplibs=yes" + }, + { + "pos": 61897, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61898, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61901, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 61909, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61910, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61913, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 61915, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61916, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 61917, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 61921, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61922, + "type": [ + "Comment" + ], + "value": "# case $deplib" + }, + { + "pos": 61936, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61937, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 61938, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 61940, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61941, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 61945, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61946, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$found\"" + }, + { + "pos": 61954, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61955, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 61956, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61957, + "type": [ + "Text" + ], + "value": "yes" + }, + { + "pos": 61960, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61961, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 61963, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61964, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 61968, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61969, + "type": [ + "Text" + ], + "value": "-f" + }, + { + "pos": 61971, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61972, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$lib\"" + }, + { + "pos": 61978, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 61979, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61980, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 61984, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 61985, + "type": [ + "Text" + ], + "value": ":" + }, + { + "pos": 61986, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61987, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 61988, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 61992, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 61993, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 61996, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 62001, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62002, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: cannot find the library \\`$lib' or unhandled argument \\`$deplib'\"" + }, + { + "pos": 62079, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62080, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 62084, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 62085, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 62088, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 62092, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62093, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 62106, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 62107, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 62108, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 62110, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 62112, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 62113, + "type": [ + "Comment" + ], + "value": "# Check to see that this really is a libtool archive." + }, + { + "pos": 62166, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 62167, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 62168, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 62170, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62171, + "type": [ + "ArraySep", + "Start" + ], + "value": "(" + }, + { + "pos": 62172, + "type": [ + "Text" + ], + "value": "${SED}" + }, + { + "pos": 62178, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62179, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 62181, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62182, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'2q'" + }, + { + "pos": 62186, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62187, + "type": [ + "Text" + ], + "value": "$lib" + }, + { + "pos": 62191, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62192, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 62193, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62194, + "type": [ + "Text" + ], + "value": "grep" + }, + { + "pos": 62198, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62199, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"^# Generated by .*$PACKAGE\"" + }, + { + "pos": 62227, + "type": [ + "ArraySep", + "End" + ], + "value": ")" + }, + { + "pos": 62228, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62229, + "type": [ + "Text" + ], + "value": ">/dev/null" + }, + { + "pos": 62239, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62240, + "type": [ + "Text" + ], + "value": "2>&1;" + }, + { + "pos": 62245, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62246, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 62250, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62251, + "type": [ + "Text" + ], + "value": ":" + }, + { + "pos": 62252, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 62253, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 62254, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 62258, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 62259, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 62262, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 62267, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62268, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: \\`$lib' is not a valid libtool archive\"" + }, + { + "pos": 62319, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62320, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 62324, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 62325, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 62328, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 62332, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62333, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 62346, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 62347, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 62348, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 62350, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 62352, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 62353, + "type": [ + "Text" + ], + "value": "ladir=`$echo" + }, + { + "pos": 62365, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62366, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$lib\"" + }, + { + "pos": 62373, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62374, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 62375, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62376, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 62381, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62382, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 62384, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62385, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s%/[^/]*$%%'" + }, + { + "pos": 62398, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 62399, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 62400, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 62401, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 62405, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62406, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$ladir\"" + }, + { + "pos": 62415, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62416, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 62417, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62418, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$lib\"" + }, + { + "pos": 62425, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62426, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 62428, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62429, + "type": [ + "Text" + ], + "value": "ladir=\".\"" + }, + { + "pos": 62438, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 62440, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 62441, + "type": [ + "Text" + ], + "value": "dlname=" + }, + { + "pos": 62448, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 62449, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 62450, + "type": [ + "Text" + ], + "value": "dlopen=" + }, + { + "pos": 62457, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 62458, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 62459, + "type": [ + "Text" + ], + "value": "dlpreopen=" + }, + { + "pos": 62469, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 62470, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 62471, + "type": [ + "Text" + ], + "value": "libdir=" + }, + { + "pos": 62478, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 62479, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 62480, + "type": [ + "Text" + ], + "value": "library_names=" + }, + { + "pos": 62494, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 62495, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 62496, + "type": [ + "Text" + ], + "value": "old_library=" + }, + { + "pos": 62508, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 62509, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 62510, + "type": [ + "Comment" + ], + "value": "# If the library was installed with an old release of libtool," + }, + { + "pos": 62572, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 62573, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 62574, + "type": [ + "Comment" + ], + "value": "# it will not redefine variables installed, or shouldnotlink" + }, + { + "pos": 62634, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 62635, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 62636, + "type": [ + "Text" + ], + "value": "installed=yes" + }, + { + "pos": 62649, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 62650, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 62651, + "type": [ + "Text" + ], + "value": "shouldnotlink=no" + }, + { + "pos": 62667, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 62668, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 62669, + "type": [ + "Text" + ], + "value": "avoidtemprpath=" + }, + { + "pos": 62684, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n\n" + }, + { + "pos": 62687, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 62688, + "type": [ + "Comment" + ], + "value": "# Read the .la file" + }, + { + "pos": 62707, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 62708, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 62709, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 62713, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62714, + "type": [ + "Text" + ], + "value": "$lib" + }, + { + "pos": 62718, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62719, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 62721, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 62722, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 62723, + "type": [ + "Text" + ], + "value": "*/*" + }, + { + "pos": 62726, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62727, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 62728, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62729, + "type": [ + "Text" + ], + "value": "*\\\\*)" + }, + { + "pos": 62734, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62735, + "type": [ + "Text" + ], + "value": "." + }, + { + "pos": 62736, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62737, + "type": [ + "Text" + ], + "value": "$lib" + }, + { + "pos": 62741, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62742, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 62744, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 62745, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 62746, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 62748, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62749, + "type": [ + "Text" + ], + "value": "." + }, + { + "pos": 62750, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62751, + "type": [ + "Text" + ], + "value": "./$lib" + }, + { + "pos": 62757, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62758, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 62760, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 62761, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 62762, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 62766, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 62768, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 62769, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 62771, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62772, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 62776, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62777, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$linkmode,$pass\"" + }, + { + "pos": 62794, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62795, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 62796, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62797, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"lib,link\"" + }, + { + "pos": 62807, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62808, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 62810, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 62811, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 62815, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 62819, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62820, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$linkmode,$pass\"" + }, + { + "pos": 62837, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62838, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 62839, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62840, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"prog,scan\"" + }, + { + "pos": 62851, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62852, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 62854, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 62855, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 62859, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 62860, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62861, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 62865, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62866, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$linkmode\"" + }, + { + "pos": 62877, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62878, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 62880, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62881, + "type": [ + "Text" + ], + "value": "prog" + }, + { + "pos": 62885, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62886, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 62888, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62889, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 62893, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62894, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$linkmode\"" + }, + { + "pos": 62905, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62906, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 62908, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62909, + "type": [ + "Text" + ], + "value": "lib;" + }, + { + "pos": 62913, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62914, + "type": [ + "Text" + ], + "value": "};" + }, + { + "pos": 62916, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62917, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 62921, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 62922, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 62925, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 62929, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62930, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 62932, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62933, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$dlopen\"" + }, + { + "pos": 62942, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62943, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 62945, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62946, + "type": [ + "Text" + ], + "value": "dlfiles=\"$dlfiles" + }, + { + "pos": 62963, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62964, + "type": [ + "Text" + ], + "value": "$dlopen\"" + }, + { + "pos": 62972, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 62973, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 62976, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 62980, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62981, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 62983, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62984, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$dlpreopen\"" + }, + { + "pos": 62996, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 62997, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 62999, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63000, + "type": [ + "Text" + ], + "value": "dlprefiles=\"$dlprefiles" + }, + { + "pos": 63023, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63024, + "type": [ + "Text" + ], + "value": "$dlpreopen\"" + }, + { + "pos": 63035, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 63036, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 63037, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 63039, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 63041, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 63042, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 63044, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63045, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 63049, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63050, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pass\"" + }, + { + "pos": 63057, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63058, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 63059, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63060, + "type": [ + "Text" + ], + "value": "conv;" + }, + { + "pos": 63065, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63066, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 63070, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 63071, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 63074, + "type": [ + "Comment" + ], + "value": "# Only check for convenience libraries" + }, + { + "pos": 63112, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 63113, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 63116, + "type": [ + "Text" + ], + "value": "deplibs=\"$lib" + }, + { + "pos": 63129, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63130, + "type": [ + "Text" + ], + "value": "$deplibs\"" + }, + { + "pos": 63139, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 63140, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 63143, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 63145, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63146, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 63150, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63151, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 63153, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63154, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$libdir\"" + }, + { + "pos": 63163, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 63164, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63165, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 63169, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 63170, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 63175, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 63177, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63178, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 63182, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63183, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 63185, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63186, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$old_library\"" + }, + { + "pos": 63200, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 63201, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63202, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 63206, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 63207, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 63214, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 63219, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63220, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: cannot find name of link library for \\`$lib'\"" + }, + { + "pos": 63277, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63278, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 63282, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 63283, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 63290, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 63294, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63295, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 63308, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 63309, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 63314, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 63316, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 63317, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 63322, + "type": [ + "Comment" + ], + "value": "# It is a libtool convenience library, so add in its objects." + }, + { + "pos": 63383, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 63384, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 63389, + "type": [ + "Text" + ], + "value": "convenience=\"$convenience" + }, + { + "pos": 63414, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63415, + "type": [ + "Text" + ], + "value": "$ladir/$objdir/$old_library\"" + }, + { + "pos": 63443, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 63444, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 63449, + "type": [ + "Text" + ], + "value": "old_convenience=\"$old_convenience" + }, + { + "pos": 63482, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63483, + "type": [ + "Text" + ], + "value": "$ladir/$objdir/$old_library\"" + }, + { + "pos": 63511, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 63512, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 63517, + "type": [ + "Text" + ], + "value": "tmp_libs=" + }, + { + "pos": 63526, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 63527, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 63532, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 63535, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63536, + "type": [ + "Text" + ], + "value": "deplib" + }, + { + "pos": 63542, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63543, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 63545, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63546, + "type": [ + "Text" + ], + "value": "$dependency_libs;" + }, + { + "pos": 63563, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63564, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 63566, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 63567, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 63574, + "type": [ + "Text" + ], + "value": "deplibs=\"$deplib" + }, + { + "pos": 63590, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63591, + "type": [ + "Text" + ], + "value": "$deplibs\"" + }, + { + "pos": 63600, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 63601, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63615, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 63617, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63618, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 63622, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63623, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$duplicate_deps\"" + }, + { + "pos": 63641, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63642, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 63643, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63644, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"Xyes\"" + }, + { + "pos": 63650, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63651, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 63652, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63653, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 63657, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 63658, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 63667, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 63671, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63672, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$tmp_libs \"" + }, + { + "pos": 63684, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63685, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 63687, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 63688, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 63697, + "type": [ + "Text" + ], + "value": "*\"" + }, + { + "pos": 63699, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63700, + "type": [ + "Text" + ], + "value": "$deplib" + }, + { + "pos": 63707, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63708, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*) specialdeplibs=\"" + }, + { + "pos": 63728, + "type": [ + "Text" + ], + "value": "$specialdeplibs" + }, + { + "pos": 63743, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63744, + "type": [ + "Text" + ], + "value": "$deplib\"" + }, + { + "pos": 63752, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63753, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 63755, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 63756, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 63765, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 63769, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 63770, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63784, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 63786, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 63787, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 63794, + "type": [ + "Text" + ], + "value": "tmp_libs=\"$tmp_libs" + }, + { + "pos": 63813, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63814, + "type": [ + "Text" + ], + "value": "$deplib\"" + }, + { + "pos": 63822, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 63823, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 63828, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 63832, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 63833, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 63836, + "type": [ + "Text" + ], + "value": "elif" + }, + { + "pos": 63840, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63841, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 63845, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63846, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$linkmode\"" + }, + { + "pos": 63857, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63858, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 63860, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63861, + "type": [ + "Text" + ], + "value": "prog" + }, + { + "pos": 63865, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63866, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 63868, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63869, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 63873, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63874, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$linkmode\"" + }, + { + "pos": 63885, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63886, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 63888, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63889, + "type": [ + "Text" + ], + "value": "lib;" + }, + { + "pos": 63893, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63894, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 63898, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 63899, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 63904, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 63909, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63910, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: \\`$lib' is not a convenience library\"" + }, + { + "pos": 63959, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63960, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 63964, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 63965, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 63970, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 63974, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 63975, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 63988, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 63989, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 63992, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 63994, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 63995, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 63998, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 64006, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 64007, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 64008, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 64010, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64011, + "type": [ + "Comment" + ], + "value": "# $pass = conv" + }, + { + "pos": 64025, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n\n" + }, + { + "pos": 64028, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 64029, + "type": [ + "Comment" + ], + "value": "# Get the name of the library we link against." + }, + { + "pos": 64075, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 64076, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 64077, + "type": [ + "Text" + ], + "value": "linklib=" + }, + { + "pos": 64085, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 64086, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 64087, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 64090, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64091, + "type": [ + "Text" + ], + "value": "l" + }, + { + "pos": 64092, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64093, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 64095, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64096, + "type": [ + "Text" + ], + "value": "$old_library" + }, + { + "pos": 64108, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64109, + "type": [ + "Text" + ], + "value": "$library_names;" + }, + { + "pos": 64124, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64125, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 64127, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 64128, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 64131, + "type": [ + "Text" + ], + "value": "linklib=\"$l\"" + }, + { + "pos": 64143, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 64144, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 64145, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 64149, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 64150, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 64151, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 64153, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64154, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 64158, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64159, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 64161, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64162, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$linklib\"" + }, + { + "pos": 64172, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 64173, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64174, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 64178, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 64179, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 64182, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 64187, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64188, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: cannot find name of link library for \\`$lib'\"" + }, + { + "pos": 64245, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64246, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 64250, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 64251, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 64254, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 64258, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64259, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 64272, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 64273, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 64274, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 64276, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 64278, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 64279, + "type": [ + "Comment" + ], + "value": "# This library was specified with -dlopen." + }, + { + "pos": 64321, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 64322, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 64323, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 64325, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64326, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 64330, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64331, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pass\"" + }, + { + "pos": 64338, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64339, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 64340, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64341, + "type": [ + "Text" + ], + "value": "dlopen;" + }, + { + "pos": 64348, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64349, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 64353, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 64354, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 64357, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 64359, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64360, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 64364, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64365, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 64367, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64368, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$libdir\"" + }, + { + "pos": 64377, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 64378, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64379, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 64383, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 64384, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 64389, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 64394, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64395, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: cannot -dlopen a convenience library: \\`$lib'\"" + }, + { + "pos": 64453, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64454, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 64458, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 64459, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 64464, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 64468, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64469, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 64482, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 64483, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 64486, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 64488, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 64489, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 64492, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 64494, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64495, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 64499, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64500, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 64502, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64503, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$dlname\"" + }, + { + "pos": 64512, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64513, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 64515, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 64516, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 64522, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 64526, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64527, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$dlopen_support\"" + }, + { + "pos": 64544, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64545, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 64547, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64548, + "type": [ + "Text" + ], + "value": "yes" + }, + { + "pos": 64551, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64552, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 64554, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 64555, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 64561, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 64565, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64566, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$build_libtool_libs\"" + }, + { + "pos": 64587, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64588, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 64589, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64590, + "type": [ + "Text" + ], + "value": "no;" + }, + { + "pos": 64593, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64594, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 64598, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 64599, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 64604, + "type": [ + "Comment" + ], + "value": "# If there is no dlname, no dlopen support or we're linking" + }, + { + "pos": 64663, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 64664, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 64669, + "type": [ + "Comment" + ], + "value": "# statically, we need to preload. We also need to preload any" + }, + { + "pos": 64731, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 64732, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 64737, + "type": [ + "Comment" + ], + "value": "# dependent libraries so libltdl's deplib preloader doesn't" + }, + { + "pos": 64796, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 64797, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 64802, + "type": [ + "Comment" + ], + "value": "# bomb out in the load deplibs phase." + }, + { + "pos": 64839, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 64840, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 64845, + "type": [ + "Text" + ], + "value": "dlprefiles=\"$dlprefiles" + }, + { + "pos": 64868, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64869, + "type": [ + "Text" + ], + "value": "$lib" + }, + { + "pos": 64873, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64874, + "type": [ + "Text" + ], + "value": "$dependency_libs\"" + }, + { + "pos": 64891, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 64892, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 64895, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 64899, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 64900, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 64905, + "type": [ + "Text" + ], + "value": "newdlfiles=\"$newdlfiles" + }, + { + "pos": 64928, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64929, + "type": [ + "Text" + ], + "value": "$lib\"" + }, + { + "pos": 64934, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 64935, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 64938, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 64940, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 64941, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 64944, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 64952, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 64953, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 64954, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 64956, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 64957, + "type": [ + "Comment" + ], + "value": "# $pass = dlopen" + }, + { + "pos": 64973, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 64975, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 64976, + "type": [ + "Comment" + ], + "value": "# We need an absolute path." + }, + { + "pos": 65003, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 65004, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 65005, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 65009, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65010, + "type": [ + "Text" + ], + "value": "$ladir" + }, + { + "pos": 65016, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65017, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 65019, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 65020, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 65021, + "type": [ + "Text" + ], + "value": "[\\\\/]*" + }, + { + "pos": 65027, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65028, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 65029, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65030, + "type": [ + "Text" + ], + "value": "[A-Za-z]:[\\\\/]*)" + }, + { + "pos": 65046, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65047, + "type": [ + "Text" + ], + "value": "abs_ladir=\"$ladir\"" + }, + { + "pos": 65065, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65066, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 65068, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 65069, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 65070, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 65072, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 65073, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 65076, + "type": [ + "Text" + ], + "value": "abs_ladir=`cd" + }, + { + "pos": 65089, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65090, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$ladir\"" + }, + { + "pos": 65098, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65099, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 65101, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65102, + "type": [ + "Text" + ], + "value": "pwd`" + }, + { + "pos": 65106, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 65107, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 65110, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 65112, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65113, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 65117, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65118, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 65120, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65121, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$abs_ladir\"" + }, + { + "pos": 65133, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 65134, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65135, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 65139, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 65140, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 65145, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 65150, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65151, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: warning: cannot determine absolute directory name of \\`$ladir'\"" + }, + { + "pos": 65226, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65227, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 65231, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 65232, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 65237, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 65242, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65243, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: passing it literally to the linker, although it might fail\"" + }, + { + "pos": 65314, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65315, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 65319, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 65320, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 65325, + "type": [ + "Text" + ], + "value": "abs_ladir=\"$ladir\"" + }, + { + "pos": 65343, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 65344, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 65347, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 65349, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 65350, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 65353, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 65355, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 65356, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 65357, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 65361, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 65362, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 65363, + "type": [ + "Text" + ], + "value": "laname=`$echo" + }, + { + "pos": 65376, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65377, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$lib\"" + }, + { + "pos": 65384, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65385, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 65386, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65387, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 65392, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65393, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 65395, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65396, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s%^.*/%%'" + }, + { + "pos": 65406, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 65407, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 65409, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 65410, + "type": [ + "Comment" + ], + "value": "# Find the relevant object directory and library name." + }, + { + "pos": 65464, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 65465, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 65466, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 65468, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65469, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 65473, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65474, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$installed\"" + }, + { + "pos": 65487, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65488, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 65489, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65490, + "type": [ + "Text" + ], + "value": "Xyes;" + }, + { + "pos": 65495, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65496, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 65500, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 65501, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 65504, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 65506, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65507, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 65511, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65512, + "type": [ + "Text" + ], + "value": "!" + }, + { + "pos": 65513, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65514, + "type": [ + "Text" + ], + "value": "-f" + }, + { + "pos": 65516, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65517, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$libdir/$linklib\"" + }, + { + "pos": 65535, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65536, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 65538, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65539, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 65543, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65544, + "type": [ + "Text" + ], + "value": "-f" + }, + { + "pos": 65546, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65547, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$abs_ladir/$linklib\"" + }, + { + "pos": 65568, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 65569, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65570, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 65574, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 65575, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 65580, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 65585, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65586, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: warning: library \\`$lib' was moved.\"" + }, + { + "pos": 65634, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65635, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 65639, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 65640, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 65645, + "type": [ + "Text" + ], + "value": "dir=\"$ladir\"" + }, + { + "pos": 65657, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 65658, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 65663, + "type": [ + "Text" + ], + "value": "absdir=\"$abs_ladir\"" + }, + { + "pos": 65682, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 65683, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 65688, + "type": [ + "Text" + ], + "value": "libdir=\"$abs_ladir\"" + }, + { + "pos": 65707, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 65708, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 65711, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 65715, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 65716, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 65721, + "type": [ + "Text" + ], + "value": "dir=\"$libdir\"" + }, + { + "pos": 65734, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 65735, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 65740, + "type": [ + "Text" + ], + "value": "absdir=\"$libdir\"" + }, + { + "pos": 65756, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 65757, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 65760, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 65762, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 65763, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 65766, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 65770, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65771, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$hardcode_automatic\"" + }, + { + "pos": 65793, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65794, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 65795, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65796, + "type": [ + "Text" + ], + "value": "Xyes" + }, + { + "pos": 65800, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65801, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 65803, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65804, + "type": [ + "Text" + ], + "value": "avoidtemprpath=yes" + }, + { + "pos": 65822, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 65823, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 65824, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 65828, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 65829, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 65832, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 65834, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65835, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 65839, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65840, + "type": [ + "Text" + ], + "value": "!" + }, + { + "pos": 65841, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65842, + "type": [ + "Text" + ], + "value": "-f" + }, + { + "pos": 65844, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65845, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$ladir/$objdir/$linklib\"" + }, + { + "pos": 65870, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65871, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 65873, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65874, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 65878, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65879, + "type": [ + "Text" + ], + "value": "-f" + }, + { + "pos": 65881, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65882, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$abs_ladir/$linklib\"" + }, + { + "pos": 65903, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 65904, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 65905, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 65909, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 65910, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 65915, + "type": [ + "Text" + ], + "value": "dir=\"$ladir\"" + }, + { + "pos": 65927, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 65928, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 65933, + "type": [ + "Text" + ], + "value": "absdir=\"$abs_ladir\"" + }, + { + "pos": 65952, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 65953, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 65958, + "type": [ + "Comment" + ], + "value": "# Remove this search path later" + }, + { + "pos": 65989, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 65990, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 65995, + "type": [ + "Text" + ], + "value": "notinst_path=\"$notinst_path" + }, + { + "pos": 66022, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66023, + "type": [ + "Text" + ], + "value": "$abs_ladir\"" + }, + { + "pos": 66034, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 66035, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 66038, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 66042, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 66043, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 66048, + "type": [ + "Text" + ], + "value": "dir=\"$ladir/$objdir\"" + }, + { + "pos": 66068, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 66069, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 66074, + "type": [ + "Text" + ], + "value": "absdir=\"$abs_ladir/$objdir\"" + }, + { + "pos": 66101, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 66102, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 66107, + "type": [ + "Comment" + ], + "value": "# Remove this search path later" + }, + { + "pos": 66138, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 66139, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 66144, + "type": [ + "Text" + ], + "value": "notinst_path=\"$notinst_path" + }, + { + "pos": 66171, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66172, + "type": [ + "Text" + ], + "value": "$abs_ladir\"" + }, + { + "pos": 66183, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 66184, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 66187, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 66189, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 66190, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 66191, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 66193, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66194, + "type": [ + "Comment" + ], + "value": "# $installed = yes" + }, + { + "pos": 66212, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 66213, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 66214, + "type": [ + "Text" + ], + "value": "name=`$echo" + }, + { + "pos": 66225, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66226, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$laname\"" + }, + { + "pos": 66236, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66237, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 66238, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66239, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 66244, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66245, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 66247, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66248, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s/\\.la$//'" + }, + { + "pos": 66259, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66260, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 66262, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66263, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s/^lib//'" + }, + { + "pos": 66273, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 66274, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 66276, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 66277, + "type": [ + "Comment" + ], + "value": "# This library was specified with -dlpreopen." + }, + { + "pos": 66322, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 66323, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 66324, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 66326, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66327, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 66331, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66332, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pass\"" + }, + { + "pos": 66339, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66340, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 66341, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66342, + "type": [ + "Text" + ], + "value": "dlpreopen;" + }, + { + "pos": 66352, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66353, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 66357, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 66358, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 66361, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 66363, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66364, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 66368, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66369, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 66371, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66372, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$libdir\"" + }, + { + "pos": 66381, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 66382, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66383, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 66387, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 66388, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 66393, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 66398, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66399, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: cannot -dlpreopen a convenience library: \\`$lib'\"" + }, + { + "pos": 66460, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66461, + "type": [ + "Text" + ], + "value": "1>&2" + }, + { + "pos": 66465, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 66466, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 66471, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 66475, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66476, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 66489, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 66490, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 66493, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 66495, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 66496, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 66499, + "type": [ + "Comment" + ], + "value": "# Prefer using a static library (so that no silly _DYNAMIC symbols" + }, + { + "pos": 66565, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 66566, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 66569, + "type": [ + "Comment" + ], + "value": "# are required to link)." + }, + { + "pos": 66593, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 66594, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 66597, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 66599, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66600, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 66604, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66605, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 66607, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66608, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$old_library\"" + }, + { + "pos": 66622, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 66623, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66624, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 66628, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 66629, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 66634, + "type": [ + "Text" + ], + "value": "newdlprefiles=\"$newdlprefiles" + }, + { + "pos": 66663, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66664, + "type": [ + "Text" + ], + "value": "$dir/$old_library\"" + }, + { + "pos": 66682, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 66683, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 66686, + "type": [ + "Comment" + ], + "value": "# Otherwise, use the dlname, so that lt_dlopen finds it." + }, + { + "pos": 66742, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 66743, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 66746, + "type": [ + "Text" + ], + "value": "elif" + }, + { + "pos": 66750, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66751, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 66755, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66756, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 66758, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66759, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$dlname\"" + }, + { + "pos": 66768, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 66769, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66770, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 66774, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 66775, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 66780, + "type": [ + "Text" + ], + "value": "newdlprefiles=\"$newdlprefiles" + }, + { + "pos": 66809, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66810, + "type": [ + "Text" + ], + "value": "$dir/$dlname\"" + }, + { + "pos": 66823, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 66824, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 66827, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 66831, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 66832, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 66837, + "type": [ + "Text" + ], + "value": "newdlprefiles=\"$newdlprefiles" + }, + { + "pos": 66866, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66867, + "type": [ + "Text" + ], + "value": "$dir/$linklib\"" + }, + { + "pos": 66881, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 66882, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 66885, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 66887, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 66888, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 66889, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 66891, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66892, + "type": [ + "Comment" + ], + "value": "# $pass = dlpreopen" + }, + { + "pos": 66911, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 66913, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 66914, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 66916, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66917, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 66921, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66922, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 66924, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66925, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$libdir\"" + }, + { + "pos": 66934, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 66935, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66936, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 66940, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 66941, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 66944, + "type": [ + "Comment" + ], + "value": "# Link the convenience library" + }, + { + "pos": 66974, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 66975, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 66978, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 66980, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66981, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 66985, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66986, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$linkmode\"" + }, + { + "pos": 66997, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 66998, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 66999, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67000, + "type": [ + "Text" + ], + "value": "lib;" + }, + { + "pos": 67004, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67005, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 67009, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 67010, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 67015, + "type": [ + "Text" + ], + "value": "deplibs=\"$dir/$old_library" + }, + { + "pos": 67041, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67042, + "type": [ + "Text" + ], + "value": "$deplibs\"" + }, + { + "pos": 67051, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 67052, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 67055, + "type": [ + "Text" + ], + "value": "elif" + }, + { + "pos": 67059, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67060, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 67064, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67065, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$linkmode,$pass\"" + }, + { + "pos": 67082, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67083, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 67084, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67085, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"prog,link\"" + }, + { + "pos": 67096, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 67097, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67098, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 67102, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 67103, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 67108, + "type": [ + "Text" + ], + "value": "compile_deplibs=\"$dir/$old_library" + }, + { + "pos": 67142, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67143, + "type": [ + "Text" + ], + "value": "$compile_deplibs\"" + }, + { + "pos": 67160, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 67161, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 67166, + "type": [ + "Text" + ], + "value": "finalize_deplibs=\"$dir/$old_library" + }, + { + "pos": 67201, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67202, + "type": [ + "Text" + ], + "value": "$finalize_deplibs\"" + }, + { + "pos": 67220, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 67221, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 67224, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 67228, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 67229, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 67234, + "type": [ + "Text" + ], + "value": "deplibs=\"$lib" + }, + { + "pos": 67247, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67248, + "type": [ + "Text" + ], + "value": "$deplibs\"" + }, + { + "pos": 67257, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67258, + "type": [ + "Comment" + ], + "value": "# used for prog,scan pass" + }, + { + "pos": 67283, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 67284, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 67287, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 67289, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 67290, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 67293, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 67301, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 67302, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 67303, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 67305, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n\n" + }, + { + "pos": 67308, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 67309, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 67311, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67312, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 67316, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67317, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$linkmode\"" + }, + { + "pos": 67328, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67329, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 67330, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67331, + "type": [ + "Text" + ], + "value": "prog" + }, + { + "pos": 67335, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67336, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 67338, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67339, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 67343, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67344, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pass\"" + }, + { + "pos": 67351, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67352, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 67354, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67355, + "type": [ + "Text" + ], + "value": "link;" + }, + { + "pos": 67360, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67361, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 67365, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 67366, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 67369, + "type": [ + "Text" + ], + "value": "newlib_search_path=\"$newlib_search_path" + }, + { + "pos": 67408, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67409, + "type": [ + "Text" + ], + "value": "$ladir\"" + }, + { + "pos": 67416, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 67417, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 67420, + "type": [ + "Text" + ], + "value": "deplibs=\"$lib" + }, + { + "pos": 67433, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67434, + "type": [ + "Text" + ], + "value": "$deplibs\"" + }, + { + "pos": 67443, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 67445, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 67448, + "type": [ + "Text" + ], + "value": "linkalldeplibs=no" + }, + { + "pos": 67465, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 67466, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 67469, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 67471, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67472, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 67476, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67477, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$link_all_deplibs\"" + }, + { + "pos": 67496, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67497, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 67499, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67500, + "type": [ + "Text" + ], + "value": "no" + }, + { + "pos": 67502, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67503, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 67505, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67506, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 67510, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67511, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 67513, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67514, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$library_names\"" + }, + { + "pos": 67530, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67531, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 67533, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 67534, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 67540, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 67544, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67545, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$build_libtool_libs\"" + }, + { + "pos": 67566, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67567, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 67568, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67569, + "type": [ + "Text" + ], + "value": "no;" + }, + { + "pos": 67572, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67573, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 67577, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 67578, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 67583, + "type": [ + "Text" + ], + "value": "linkalldeplibs=yes" + }, + { + "pos": 67601, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 67602, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 67605, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 67607, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 67609, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 67612, + "type": [ + "Text" + ], + "value": "tmp_libs=" + }, + { + "pos": 67621, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 67622, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 67625, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 67628, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67629, + "type": [ + "Text" + ], + "value": "deplib" + }, + { + "pos": 67635, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67636, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 67638, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67639, + "type": [ + "Text" + ], + "value": "$dependency_libs;" + }, + { + "pos": 67656, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67657, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 67659, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 67660, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 67665, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 67669, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67670, + "type": [ + "Text" + ], + "value": "$deplib" + }, + { + "pos": 67677, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67678, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 67680, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 67681, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 67686, + "type": [ + "Text" + ], + "value": "-L*)" + }, + { + "pos": 67690, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67691, + "type": [ + "Text" + ], + "value": "newlib_search_path=\"$newlib_search_path" + }, + { + "pos": 67730, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67731, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"`$echo \"" + }, + { + "pos": 67740, + "type": [ + "Text" + ], + "value": "X$deplib\"" + }, + { + "pos": 67749, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67750, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 67751, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67752, + "type": [ + "Text" + ], + "value": "$Xsed" + }, + { + "pos": 67757, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67758, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 67760, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67761, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s/^-L//'" + }, + { + "pos": 67770, + "type": [ + "Text" + ], + "value": "`;;" + }, + { + "pos": 67773, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67774, + "type": [ + "Comment" + ], + "value": "### testsuite: skip nested quoting test" + }, + { + "pos": 67813, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 67814, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 67819, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 67823, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 67824, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 67829, + "type": [ + "Comment" + ], + "value": "# Need to link against all dependency_libs?" + }, + { + "pos": 67872, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 67873, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 67878, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 67880, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67881, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 67885, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67886, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$linkalldeplibs\"" + }, + { + "pos": 67903, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67904, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 67905, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67906, + "type": [ + "Text" + ], + "value": "yes;" + }, + { + "pos": 67910, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67911, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 67915, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 67916, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 67923, + "type": [ + "Text" + ], + "value": "deplibs=\"$deplib" + }, + { + "pos": 67939, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 67940, + "type": [ + "Text" + ], + "value": "$deplibs\"" + }, + { + "pos": 67949, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 67950, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 67955, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 67959, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 67960, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 67967, + "type": [ + "Comment" + ], + "value": "# Need to hardcode shared library paths" + }, + { + "pos": 68006, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 68007, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 68014, + "type": [ + "Comment" + ], + "value": "# or/and link against static libraries" + }, + { + "pos": 68052, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 68053, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 68060, + "type": [ + "Text" + ], + "value": "newdependency_libs=\"$deplib" + }, + { + "pos": 68087, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68088, + "type": [ + "Text" + ], + "value": "$newdependency_libs\"" + }, + { + "pos": 68108, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 68109, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 68114, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 68116, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 68117, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 68122, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 68124, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68125, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 68129, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68130, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"X$duplicate_deps\"" + }, + { + "pos": 68148, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68149, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 68150, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68151, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"Xyes\"" + }, + { + "pos": 68157, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68158, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 68159, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68160, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 68164, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 68165, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 68172, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 68176, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68177, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$tmp_libs \"" + }, + { + "pos": 68189, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68190, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 68192, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 68193, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 68200, + "type": [ + "Text" + ], + "value": "*\"" + }, + { + "pos": 68202, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68203, + "type": [ + "Text" + ], + "value": "$deplib" + }, + { + "pos": 68210, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68211, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*) specialdeplibs=\"" + }, + { + "pos": 68231, + "type": [ + "Text" + ], + "value": "$specialdeplibs" + }, + { + "pos": 68246, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68247, + "type": [ + "Text" + ], + "value": "$deplib\"" + }, + { + "pos": 68255, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68256, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 68258, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 68259, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 68266, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 68270, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 68271, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 68276, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 68278, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 68279, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 68284, + "type": [ + "Text" + ], + "value": "tmp_libs=\"$tmp_libs" + }, + { + "pos": 68303, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68304, + "type": [ + "Text" + ], + "value": "$deplib\"" + }, + { + "pos": 68312, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 68313, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 68316, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 68320, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68321, + "type": [ + "Comment" + ], + "value": "# for deplib" + }, + { + "pos": 68333, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 68334, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 68337, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 68345, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 68346, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 68347, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 68349, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68350, + "type": [ + "Comment" + ], + "value": "# $linkmode = prog..." + }, + { + "pos": 68371, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 68373, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 68374, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 68376, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68377, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 68381, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68382, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$linkmode,$pass\"" + }, + { + "pos": 68399, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68400, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 68401, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68402, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"prog,link\"" + }, + { + "pos": 68413, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 68414, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68415, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 68419, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 68420, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 68423, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 68425, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68426, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 68430, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68431, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 68433, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68434, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$library_names\"" + }, + { + "pos": 68450, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68451, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 68453, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 68454, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 68460, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 68461, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68462, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 68466, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68467, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$prefer_static_libs\"" + }, + { + "pos": 68488, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68489, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 68490, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68491, + "type": [ + "Text" + ], + "value": "no" + }, + { + "pos": 68493, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68494, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 68496, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68497, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 68501, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68502, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 68504, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68505, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$old_library\"" + }, + { + "pos": 68519, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 68520, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68521, + "type": [ + "Text" + ], + "value": "};" + }, + { + "pos": 68523, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68524, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 68528, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 68529, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 68534, + "type": [ + "Comment" + ], + "value": "# We need to hardcode the library path" + }, + { + "pos": 68572, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 68573, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 68578, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 68580, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68581, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 68585, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68586, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 68588, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68589, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$shlibpath_var\"" + }, + { + "pos": 68605, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68606, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 68608, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68609, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 68613, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68614, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 68616, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68617, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$avoidtemprpath\"" + }, + { + "pos": 68634, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68635, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 68636, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68637, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 68641, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 68642, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 68649, + "type": [ + "Comment" + ], + "value": "# Make sure the rpath contains only unique directories." + }, + { + "pos": 68704, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 68705, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 68712, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 68716, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68717, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$temp_rpath \"" + }, + { + "pos": 68731, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68732, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 68734, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 68735, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 68742, + "type": [ + "Text" + ], + "value": "*\"" + }, + { + "pos": 68744, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68745, + "type": [ + "Text" + ], + "value": "$dir" + }, + { + "pos": 68749, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68750, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*) ;;\n\t *\"" + }, + { + "pos": 68766, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68767, + "type": [ + "Text" + ], + "value": "$absdir" + }, + { + "pos": 68774, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68775, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*) ;;\n\t *) temp_rpath=\"" + }, + { + "pos": 68804, + "type": [ + "Text" + ], + "value": "$temp_rpath" + }, + { + "pos": 68815, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68816, + "type": [ + "Text" + ], + "value": "$absdir\"" + }, + { + "pos": 68824, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68825, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 68827, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 68828, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 68835, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 68839, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 68840, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 68845, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 68847, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 68849, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 68854, + "type": [ + "Comment" + ], + "value": "# Hardcode the library path." + }, + { + "pos": 68882, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 68883, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 68888, + "type": [ + "Comment" + ], + "value": "# Skip directories that are in the system default run-time" + }, + { + "pos": 68946, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 68947, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 68952, + "type": [ + "Comment" + ], + "value": "# search path." + }, + { + "pos": 68966, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 68967, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 68972, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 68976, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 68977, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" $sys_lib_dlsearch_path \"" + }, + { + "pos": 69003, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69004, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 69006, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 69007, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 69012, + "type": [ + "Text" + ], + "value": "*\"" + }, + { + "pos": 69014, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69015, + "type": [ + "Text" + ], + "value": "$absdir" + }, + { + "pos": 69022, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69023, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*) ;;\n\t *)\n\t case \"" + }, + { + "pos": 69051, + "type": [ + "Text" + ], + "value": "$compile_rpath" + }, + { + "pos": 69065, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69066, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" in\n\t *\"" + }, + { + "pos": 69080, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69081, + "type": [ + "Text" + ], + "value": "$absdir" + }, + { + "pos": 69088, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69089, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*) ;;\n\t *) compile_rpath=\"" + }, + { + "pos": 69121, + "type": [ + "Text" + ], + "value": "$compile_rpath" + }, + { + "pos": 69135, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69136, + "type": [ + "Text" + ], + "value": "$absdir\"" + }, + { + "pos": 69144, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 69145, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 69152, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 69156, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 69157, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 69164, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 69166, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 69167, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 69172, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 69176, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 69177, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 69182, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 69186, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69187, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" $sys_lib_dlsearch_path \"" + }, + { + "pos": 69213, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69214, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 69216, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 69217, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 69222, + "type": [ + "Text" + ], + "value": "*\"" + }, + { + "pos": 69224, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69225, + "type": [ + "Text" + ], + "value": "$libdir" + }, + { + "pos": 69232, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69233, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*) ;;\n\t *)\n\t case \"" + }, + { + "pos": 69261, + "type": [ + "Text" + ], + "value": "$finalize_rpath" + }, + { + "pos": 69276, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69277, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" in\n\t *\"" + }, + { + "pos": 69291, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69292, + "type": [ + "Text" + ], + "value": "$libdir" + }, + { + "pos": 69299, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69300, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*) ;;\n\t *) finalize_rpath=\"" + }, + { + "pos": 69333, + "type": [ + "Text" + ], + "value": "$finalize_rpath" + }, + { + "pos": 69348, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69349, + "type": [ + "Text" + ], + "value": "$libdir\"" + }, + { + "pos": 69357, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 69358, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 69365, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 69369, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 69370, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 69377, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 69379, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 69380, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 69385, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 69389, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 69390, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 69393, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 69395, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69396, + "type": [ + "Comment" + ], + "value": "# $linkmode,$pass = prog,link..." + }, + { + "pos": 69428, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 69430, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 69433, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 69435, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69436, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 69440, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69441, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$alldeplibs\"" + }, + { + "pos": 69454, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69455, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 69456, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69457, + "type": [ + "Text" + ], + "value": "yes" + }, + { + "pos": 69460, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69461, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 69463, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 69464, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 69470, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 69471, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69472, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 69476, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69477, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$deplibs_check_method\"" + }, + { + "pos": 69500, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69501, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 69502, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69503, + "type": [ + "Text" + ], + "value": "pass_all" + }, + { + "pos": 69511, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69512, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 69514, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 69515, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 69523, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 69524, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69525, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 69529, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69530, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$build_libtool_libs\"" + }, + { + "pos": 69551, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69552, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 69553, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69554, + "type": [ + "Text" + ], + "value": "yes" + }, + { + "pos": 69557, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69558, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 69560, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 69561, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 69564, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 69568, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69569, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 69571, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69572, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$library_names\"" + }, + { + "pos": 69588, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 69589, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69590, + "type": [ + "Text" + ], + "value": "};" + }, + { + "pos": 69592, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69593, + "type": [ + "Text" + ], + "value": "};" + }, + { + "pos": 69595, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69596, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 69600, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 69601, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 69606, + "type": [ + "Comment" + ], + "value": "# We only need to search for static libraries" + }, + { + "pos": 69651, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 69652, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 69657, + "type": [ + "Text" + ], + "value": "continue" + }, + { + "pos": 69665, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 69666, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 69669, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 69671, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 69672, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 69673, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 69675, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 69677, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 69678, + "type": [ + "Text" + ], + "value": "link_static=no" + }, + { + "pos": 69692, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69693, + "type": [ + "Comment" + ], + "value": "# Whether the deplib will be linked statically" + }, + { + "pos": 69739, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 69740, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 69741, + "type": [ + "Text" + ], + "value": "use_static_libs=$prefer_static_libs" + }, + { + "pos": 69776, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 69777, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 69778, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 69780, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69781, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 69785, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69786, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$use_static_libs\"" + }, + { + "pos": 69804, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69805, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 69806, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69807, + "type": [ + "Text" + ], + "value": "built" + }, + { + "pos": 69812, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69813, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 69815, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69816, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 69820, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69821, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$installed\"" + }, + { + "pos": 69833, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69834, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 69835, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69836, + "type": [ + "Text" + ], + "value": "yes" + }, + { + "pos": 69839, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69840, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 69841, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69842, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 69846, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 69847, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 69850, + "type": [ + "Text" + ], + "value": "use_static_libs=no" + }, + { + "pos": 69868, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 69869, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 69870, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 69872, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 69873, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 69874, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 69876, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69877, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 69881, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69882, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 69884, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69885, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$library_names\"" + }, + { + "pos": 69901, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69902, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 69904, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 69905, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 69909, + "type": [ + "Text" + ], + "value": "{" + }, + { + "pos": 69910, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69911, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 69915, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69916, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$use_static_libs\"" + }, + { + "pos": 69934, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69935, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 69936, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69937, + "type": [ + "Text" + ], + "value": "no" + }, + { + "pos": 69939, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69940, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 69942, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69943, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 69947, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69948, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 69950, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69951, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$old_library\"" + }, + { + "pos": 69965, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 69966, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69967, + "type": [ + "Text" + ], + "value": "};" + }, + { + "pos": 69969, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69970, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 69974, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 69975, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 69978, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 69980, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69981, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 69985, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69986, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$installed\"" + }, + { + "pos": 69998, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 69999, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 70000, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70001, + "type": [ + "Text" + ], + "value": "no;" + }, + { + "pos": 70004, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70005, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 70009, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 70010, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 70015, + "type": [ + "Text" + ], + "value": "notinst_deplibs=\"$notinst_deplibs" + }, + { + "pos": 70048, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70049, + "type": [ + "Text" + ], + "value": "$lib\"" + }, + { + "pos": 70054, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 70055, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 70060, + "type": [ + "Text" + ], + "value": "need_relink=yes" + }, + { + "pos": 70075, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 70076, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 70079, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 70081, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 70082, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 70085, + "type": [ + "Comment" + ], + "value": "# This is a shared library" + }, + { + "pos": 70111, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 70113, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 70116, + "type": [ + "Comment" + ], + "value": "# Warn about portability, can't link against -module's on" + }, + { + "pos": 70173, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 70174, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 70177, + "type": [ + "Comment" + ], + "value": "# some systems (darwin)" + }, + { + "pos": 70200, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 70201, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 70204, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 70206, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70207, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 70211, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70212, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$shouldnotlink\"" + }, + { + "pos": 70228, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70229, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 70230, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70231, + "type": [ + "Text" + ], + "value": "yes" + }, + { + "pos": 70234, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70235, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 70237, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70238, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 70242, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70243, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$pass\"" + }, + { + "pos": 70250, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70251, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 70252, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70253, + "type": [ + "Text" + ], + "value": "link" + }, + { + "pos": 70257, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70258, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 70259, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70260, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 70264, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 70265, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 70270, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 70275, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 70276, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 70281, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 70283, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70284, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 70288, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70289, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$linkmode\"" + }, + { + "pos": 70300, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70301, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 70302, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70303, + "type": [ + "Text" + ], + "value": "prog;" + }, + { + "pos": 70308, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70309, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 70313, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 70314, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 70321, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 70326, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70327, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*** Warning: Linking the executable $output against the loadable module\"" + }, + { + "pos": 70400, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 70401, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 70406, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 70410, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 70411, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 70418, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 70423, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70424, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*** Warning: Linking the shared library $output against the loadable module\"" + }, + { + "pos": 70501, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 70502, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 70507, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 70509, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 70510, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 70515, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 70520, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70521, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*** $linklib is not portable!\"" + }, + { + "pos": 70552, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 70553, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 70556, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 70558, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 70559, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 70562, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 70564, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70565, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 70569, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70570, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$linkmode\"" + }, + { + "pos": 70581, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70582, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 70583, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70584, + "type": [ + "Text" + ], + "value": "lib" + }, + { + "pos": 70587, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70588, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 70590, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 70591, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 70597, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 70601, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70602, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$hardcode_into_libs\"" + }, + { + "pos": 70623, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70624, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 70625, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70626, + "type": [ + "Text" + ], + "value": "yes;" + }, + { + "pos": 70630, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70631, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 70635, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 70636, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 70641, + "type": [ + "Comment" + ], + "value": "# Hardcode the library path." + }, + { + "pos": 70669, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 70670, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 70675, + "type": [ + "Comment" + ], + "value": "# Skip directories that are in the system default run-time" + }, + { + "pos": 70733, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 70734, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 70739, + "type": [ + "Comment" + ], + "value": "# search path." + }, + { + "pos": 70753, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 70754, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 70759, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 70763, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70764, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" $sys_lib_dlsearch_path \"" + }, + { + "pos": 70790, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70791, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 70793, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 70794, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 70799, + "type": [ + "Text" + ], + "value": "*\"" + }, + { + "pos": 70801, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70802, + "type": [ + "Text" + ], + "value": "$absdir" + }, + { + "pos": 70809, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70810, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*) ;;\n\t *)\n\t case \"" + }, + { + "pos": 70838, + "type": [ + "Text" + ], + "value": "$compile_rpath" + }, + { + "pos": 70852, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70853, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" in\n\t *\"" + }, + { + "pos": 70867, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70868, + "type": [ + "Text" + ], + "value": "$absdir" + }, + { + "pos": 70875, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70876, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*) ;;\n\t *) compile_rpath=\"" + }, + { + "pos": 70908, + "type": [ + "Text" + ], + "value": "$compile_rpath" + }, + { + "pos": 70922, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70923, + "type": [ + "Text" + ], + "value": "$absdir\"" + }, + { + "pos": 70931, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 70932, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 70939, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 70943, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 70944, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 70951, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 70953, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 70954, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 70959, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 70963, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 70964, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 70969, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 70973, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 70974, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" $sys_lib_dlsearch_path \"" + }, + { + "pos": 71000, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71001, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 71003, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 71004, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 71009, + "type": [ + "Text" + ], + "value": "*\"" + }, + { + "pos": 71011, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71012, + "type": [ + "Text" + ], + "value": "$libdir" + }, + { + "pos": 71019, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71020, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*) ;;\n\t *)\n\t case \"" + }, + { + "pos": 71048, + "type": [ + "Text" + ], + "value": "$finalize_rpath" + }, + { + "pos": 71063, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71064, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\" in\n\t *\"" + }, + { + "pos": 71078, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71079, + "type": [ + "Text" + ], + "value": "$libdir" + }, + { + "pos": 71086, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71087, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"*) ;;\n\t *) finalize_rpath=\"" + }, + { + "pos": 71120, + "type": [ + "Text" + ], + "value": "$finalize_rpath" + }, + { + "pos": 71135, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71136, + "type": [ + "Text" + ], + "value": "$libdir\"" + }, + { + "pos": 71144, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 71145, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 71152, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 71156, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 71157, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 71164, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 71166, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 71167, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 71172, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 71176, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 71177, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 71180, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 71182, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 71184, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 71187, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 71189, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71190, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 71194, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71195, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 71197, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71198, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$old_archive_from_expsyms_cmds\"" + }, + { + "pos": 71230, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 71231, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71232, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 71236, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 71237, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 71242, + "type": [ + "Comment" + ], + "value": "# figure out the soname" + }, + { + "pos": 71265, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 71266, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 71271, + "type": [ + "Text" + ], + "value": "set" + }, + { + "pos": 71274, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71275, + "type": [ + "Text" + ], + "value": "dummy" + }, + { + "pos": 71280, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71281, + "type": [ + "Text" + ], + "value": "$library_names" + }, + { + "pos": 71295, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 71296, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 71301, + "type": [ + "Text" + ], + "value": "realname=\"$2\"" + }, + { + "pos": 71314, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 71315, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 71320, + "type": [ + "Text" + ], + "value": "shift;" + }, + { + "pos": 71326, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71327, + "type": [ + "Text" + ], + "value": "shift" + }, + { + "pos": 71332, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 71333, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 71338, + "type": [ + "Text" + ], + "value": "libname=`eval" + }, + { + "pos": 71351, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71352, + "type": [ + "Text" + ], + "value": "\\\\$echo" + }, + { + "pos": 71359, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71360, + "type": [ + "Text" + ], + "value": "\\\"$libname_spec\\\"`" + }, + { + "pos": 71378, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 71379, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 71384, + "type": [ + "Comment" + ], + "value": "# use dlname if we got it. it's perfectly good, no?" + }, + { + "pos": 71435, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 71436, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 71441, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 71443, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71444, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 71448, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71449, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 71451, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71452, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$dlname\"" + }, + { + "pos": 71461, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 71462, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71463, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 71467, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 71468, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 71475, + "type": [ + "Text" + ], + "value": "soname=\"$dlname\"" + }, + { + "pos": 71491, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 71492, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 71497, + "type": [ + "Text" + ], + "value": "elif" + }, + { + "pos": 71501, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71502, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 71506, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71507, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 71509, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71510, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$soname_spec\"" + }, + { + "pos": 71524, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 71525, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71526, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 71530, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 71531, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 71538, + "type": [ + "Comment" + ], + "value": "# bleh windows" + }, + { + "pos": 71552, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 71553, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 71560, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 71564, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71565, + "type": [ + "Text" + ], + "value": "$host" + }, + { + "pos": 71570, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71571, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 71573, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 71574, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 71581, + "type": [ + "Text" + ], + "value": "*cygwin*" + }, + { + "pos": 71589, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71590, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 71591, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71592, + "type": [ + "Text" + ], + "value": "mingw*)" + }, + { + "pos": 71599, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 71600, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 71602, + "type": [ + "Text" + ], + "value": "major=`expr" + }, + { + "pos": 71613, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71614, + "type": [ + "Text" + ], + "value": "$current" + }, + { + "pos": 71622, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71623, + "type": [ + "Text" + ], + "value": "-" + }, + { + "pos": 71624, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71625, + "type": [ + "Text" + ], + "value": "$age`" + }, + { + "pos": 71630, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 71631, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 71633, + "type": [ + "Text" + ], + "value": "versuffix=\"-$major\"" + }, + { + "pos": 71652, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 71653, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 71655, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 71657, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 71658, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 71665, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 71669, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 71670, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 71677, + "type": [ + "Text" + ], + "value": "eval" + }, + { + "pos": 71681, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71682, + "type": [ + "Text" + ], + "value": "soname=\\\"$soname_spec\\\"" + }, + { + "pos": 71705, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 71706, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 71711, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 71715, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 71716, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 71723, + "type": [ + "Text" + ], + "value": "soname=\"$realname\"" + }, + { + "pos": 71741, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 71742, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 71747, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 71749, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 71751, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 71756, + "type": [ + "Comment" + ], + "value": "# Make a new name for the extract_expsyms_cmds to use" + }, + { + "pos": 71809, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 71810, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 71815, + "type": [ + "Text" + ], + "value": "soroot=\"$soname\"" + }, + { + "pos": 71831, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 71832, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 71837, + "type": [ + "Text" + ], + "value": "soname=`$echo" + }, + { + "pos": 71850, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71851, + "type": [ + "Text" + ], + "value": "$soroot" + }, + { + "pos": 71858, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71859, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 71860, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71861, + "type": [ + "Text" + ], + "value": "${SED}" + }, + { + "pos": 71867, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71868, + "type": [ + "Text" + ], + "value": "-e" + }, + { + "pos": 71870, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71871, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s/^.*\\///'" + }, + { + "pos": 71882, + "type": [ + "Text" + ], + "value": "`" + }, + { + "pos": 71883, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 71884, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 71889, + "type": [ + "Text" + ], + "value": "newlib=\"libimp-`$echo" + }, + { + "pos": 71910, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71911, + "type": [ + "Text" + ], + "value": "$soname" + }, + { + "pos": 71918, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71919, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 71920, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71921, + "type": [ + "Text" + ], + "value": "${SED}" + }, + { + "pos": 71927, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 71928, + "type": [ + "Literal", + "String", + "Single" + ], + "value": "'s/^lib//;s/\\.dll$//'" + }, + { + "pos": 71949, + "type": [ + "Text" + ], + "value": "`.a\"" + }, + { + "pos": 71953, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 71955, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 71960, + "type": [ + "Comment" + ], + "value": "# If the library has no export list, then create one now" + }, + { + "pos": 72016, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72017, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 72022, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 72024, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72025, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 72029, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72030, + "type": [ + "Text" + ], + "value": "-f" + }, + { + "pos": 72032, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72033, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$output_objdir/$soname-def\"" + }, + { + "pos": 72061, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 72062, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72063, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 72067, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72068, + "type": [ + "Text" + ], + "value": ":" + }, + { + "pos": 72069, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72070, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 72075, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 72079, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72080, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 72087, + "type": [ + "Text" + ], + "value": "$show" + }, + { + "pos": 72092, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72093, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"extracting exported symbol list from \\`$soname'\"" + }, + { + "pos": 72142, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72143, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 72150, + "type": [ + "Text" + ], + "value": "save_ifs=\"$IFS\";" + }, + { + "pos": 72166, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72167, + "type": [ + "Text" + ], + "value": "IFS='~'" + }, + { + "pos": 72174, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72175, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 72182, + "type": [ + "Text" + ], + "value": "cmds=$extract_expsyms_cmds" + }, + { + "pos": 72208, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72209, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 72216, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 72219, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72220, + "type": [ + "Text" + ], + "value": "cmd" + }, + { + "pos": 72223, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72224, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 72226, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72227, + "type": [ + "Text" + ], + "value": "$cmds;" + }, + { + "pos": 72233, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72234, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 72236, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72237, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 72239, + "type": [ + "Text" + ], + "value": "IFS=\"$save_ifs\"" + }, + { + "pos": 72254, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72255, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 72257, + "type": [ + "Text" + ], + "value": "eval" + }, + { + "pos": 72261, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72262, + "type": [ + "Text" + ], + "value": "cmd=\\\"$cmd\\\"" + }, + { + "pos": 72274, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72275, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 72277, + "type": [ + "Text" + ], + "value": "$show" + }, + { + "pos": 72282, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72283, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$cmd\"" + }, + { + "pos": 72289, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72290, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 72292, + "type": [ + "Text" + ], + "value": "$run" + }, + { + "pos": 72296, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72297, + "type": [ + "Text" + ], + "value": "eval" + }, + { + "pos": 72301, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72302, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$cmd\"" + }, + { + "pos": 72308, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72309, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 72311, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72312, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 72316, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72317, + "type": [ + "Text" + ], + "value": "$?" + }, + { + "pos": 72319, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72320, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 72327, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 72331, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72332, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 72339, + "type": [ + "Text" + ], + "value": "IFS=\"$save_ifs\"" + }, + { + "pos": 72354, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72355, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 72360, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 72362, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 72364, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 72369, + "type": [ + "Comment" + ], + "value": "# Create $newlib" + }, + { + "pos": 72385, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72386, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 72391, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 72393, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72394, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 72398, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72399, + "type": [ + "Text" + ], + "value": "-f" + }, + { + "pos": 72401, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72402, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$output_objdir/$newlib\"" + }, + { + "pos": 72426, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 72427, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72428, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 72432, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72433, + "type": [ + "Text" + ], + "value": ":;" + }, + { + "pos": 72435, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72436, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 72440, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72441, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 72448, + "type": [ + "Text" + ], + "value": "$show" + }, + { + "pos": 72453, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72454, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"generating import library for \\`$soname'\"" + }, + { + "pos": 72496, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72497, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 72504, + "type": [ + "Text" + ], + "value": "save_ifs=\"$IFS\";" + }, + { + "pos": 72520, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72521, + "type": [ + "Text" + ], + "value": "IFS='~'" + }, + { + "pos": 72528, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72529, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 72536, + "type": [ + "Text" + ], + "value": "cmds=$old_archive_from_expsyms_cmds" + }, + { + "pos": 72571, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72572, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 72579, + "type": [ + "Text" + ], + "value": "for" + }, + { + "pos": 72582, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72583, + "type": [ + "Text" + ], + "value": "cmd" + }, + { + "pos": 72586, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72587, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 72589, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72590, + "type": [ + "Text" + ], + "value": "$cmds;" + }, + { + "pos": 72596, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72597, + "type": [ + "Text" + ], + "value": "do" + }, + { + "pos": 72599, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72600, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 72602, + "type": [ + "Text" + ], + "value": "IFS=\"$save_ifs\"" + }, + { + "pos": 72617, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72618, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 72620, + "type": [ + "Text" + ], + "value": "eval" + }, + { + "pos": 72624, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72625, + "type": [ + "Text" + ], + "value": "cmd=\\\"$cmd\\\"" + }, + { + "pos": 72637, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72638, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 72640, + "type": [ + "Text" + ], + "value": "$show" + }, + { + "pos": 72645, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72646, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$cmd\"" + }, + { + "pos": 72652, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72653, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 72655, + "type": [ + "Text" + ], + "value": "$run" + }, + { + "pos": 72659, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72660, + "type": [ + "Text" + ], + "value": "eval" + }, + { + "pos": 72664, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72665, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$cmd\"" + }, + { + "pos": 72671, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72672, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 72674, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72675, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 72679, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72680, + "type": [ + "Text" + ], + "value": "$?" + }, + { + "pos": 72682, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72683, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 72690, + "type": [ + "Text" + ], + "value": "done" + }, + { + "pos": 72694, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72695, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 72702, + "type": [ + "Text" + ], + "value": "IFS=\"$save_ifs\"" + }, + { + "pos": 72717, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72718, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 72723, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 72725, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72726, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 72731, + "type": [ + "Comment" + ], + "value": "# make sure the library variables are pointing to the new library" + }, + { + "pos": 72796, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72797, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 72802, + "type": [ + "Text" + ], + "value": "dir=$output_objdir" + }, + { + "pos": 72820, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72821, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 72826, + "type": [ + "Text" + ], + "value": "linklib=$newlib" + }, + { + "pos": 72841, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72842, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 72845, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 72847, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72848, + "type": [ + "Comment" + ], + "value": "# test -n \"$old_archive_from_expsyms_cmds\"" + }, + { + "pos": 72890, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 72892, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 72895, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 72897, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72898, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 72902, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72903, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$linkmode\"" + }, + { + "pos": 72914, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72915, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 72916, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72917, + "type": [ + "Text" + ], + "value": "prog" + }, + { + "pos": 72921, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72922, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 72924, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72925, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 72929, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72930, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$mode\"" + }, + { + "pos": 72937, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72938, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 72940, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72941, + "type": [ + "Text" + ], + "value": "relink;" + }, + { + "pos": 72948, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 72949, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 72953, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72954, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 72959, + "type": [ + "Text" + ], + "value": "add_shlibpath=" + }, + { + "pos": 72973, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72974, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 72979, + "type": [ + "Text" + ], + "value": "add_dir=" + }, + { + "pos": 72987, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72988, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 72993, + "type": [ + "Text" + ], + "value": "add=" + }, + { + "pos": 72997, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 72998, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 73003, + "type": [ + "Text" + ], + "value": "lib_linked=yes" + }, + { + "pos": 73017, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 73018, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 73023, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 73027, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73028, + "type": [ + "Text" + ], + "value": "$hardcode_action" + }, + { + "pos": 73044, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73045, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 73047, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 73048, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 73053, + "type": [ + "Text" + ], + "value": "immediate" + }, + { + "pos": 73062, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73063, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 73064, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73065, + "type": [ + "Text" + ], + "value": "unsupported)" + }, + { + "pos": 73077, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 73078, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 73085, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 73087, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73088, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 73092, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73093, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$hardcode_direct\"" + }, + { + "pos": 73111, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73112, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 73113, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73114, + "type": [ + "Text" + ], + "value": "no;" + }, + { + "pos": 73117, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73118, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 73122, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 73123, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 73125, + "type": [ + "Text" + ], + "value": "add=\"$dir/$linklib\"" + }, + { + "pos": 73144, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 73145, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 73147, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 73151, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73152, + "type": [ + "Text" + ], + "value": "$host" + }, + { + "pos": 73157, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73158, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 73160, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 73161, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 73165, + "type": [ + "Text" + ], + "value": "*-*-sco3.2v5.0.[024]*)" + }, + { + "pos": 73187, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73188, + "type": [ + "Text" + ], + "value": "add_dir=\"-L$dir\"" + }, + { + "pos": 73204, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73205, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 73207, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 73208, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 73212, + "type": [ + "Text" + ], + "value": "*-*-sysv4*uw2*)" + }, + { + "pos": 73227, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73228, + "type": [ + "Text" + ], + "value": "add_dir=\"-L$dir\"" + }, + { + "pos": 73244, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73245, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 73247, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 73248, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 73252, + "type": [ + "Text" + ], + "value": "*-*-sysv5OpenUNIX*" + }, + { + "pos": 73270, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73271, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 73272, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73273, + "type": [ + "Text" + ], + "value": "*-*-sysv5UnixWare7.[01].[10]*" + }, + { + "pos": 73302, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73303, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 73304, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73305, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 73306, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 73307, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 73313, + "type": [ + "Text" + ], + "value": "*-*-unixware7*)" + }, + { + "pos": 73328, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73329, + "type": [ + "Text" + ], + "value": "add_dir=\"-L$dir\"" + }, + { + "pos": 73345, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73346, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 73348, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 73349, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 73353, + "type": [ + "Text" + ], + "value": "*-*-darwin*" + }, + { + "pos": 73364, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73365, + "type": [ + "ArraySep", + "End" + ], + "value": ")" + }, + { + "pos": 73366, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 73367, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 73373, + "type": [ + "Comment" + ], + "value": "# if the lib is a module then we can not link against" + }, + { + "pos": 73426, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 73427, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 73433, + "type": [ + "Comment" + ], + "value": "# it, someone is ignoring the new warnings I added" + }, + { + "pos": 73483, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 73484, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 73490, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 73492, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73493, + "type": [ + "Text" + ], + "value": "/usr/bin/file" + }, + { + "pos": 73506, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73507, + "type": [ + "Text" + ], + "value": "-L" + }, + { + "pos": 73509, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73510, + "type": [ + "Text" + ], + "value": "$add" + }, + { + "pos": 73514, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73515, + "type": [ + "Text" + ], + "value": "2>" + }, + { + "pos": 73517, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73518, + "type": [ + "Text" + ], + "value": "/dev/null" + }, + { + "pos": 73527, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73528, + "type": [ + "Text" + ], + "value": "|" + }, + { + "pos": 73529, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 73530, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73552, + "type": [ + "Text" + ], + "value": "$EGREP" + }, + { + "pos": 73558, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73559, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\": [^:]* bundle\"" + }, + { + "pos": 73575, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73576, + "type": [ + "Text" + ], + "value": ">/dev/null" + }, + { + "pos": 73586, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73587, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 73588, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73589, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 73593, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 73594, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 73602, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 73607, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73608, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"** Warning, lib $linklib is a module, not a shared library\"" + }, + { + "pos": 73668, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 73669, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 73677, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 73679, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73680, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 73684, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73685, + "type": [ + "Text" + ], + "value": "-z" + }, + { + "pos": 73687, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73688, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$old_library\"" + }, + { + "pos": 73702, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73703, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 73704, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73705, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 73709, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 73710, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 73720, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 73725, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 73726, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 73736, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 73741, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73742, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"** And there doesn't seem to be a static archive available\"" + }, + { + "pos": 73802, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 73803, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 73813, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 73818, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73819, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"** The link will probably fail, sorry\"" + }, + { + "pos": 73858, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 73859, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 73867, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 73871, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 73872, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 73882, + "type": [ + "Text" + ], + "value": "add=\"$dir/$old_library\"" + }, + { + "pos": 73905, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 73906, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 73914, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 73916, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 73917, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 73923, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 73925, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 73926, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 73928, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 73932, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 73933, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 73940, + "type": [ + "Text" + ], + "value": "elif" + }, + { + "pos": 73944, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73945, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 73949, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73950, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$hardcode_minus_L\"" + }, + { + "pos": 73969, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73970, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 73971, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73972, + "type": [ + "Text" + ], + "value": "no;" + }, + { + "pos": 73975, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73976, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 73980, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 73981, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 73983, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 73987, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73988, + "type": [ + "Text" + ], + "value": "$host" + }, + { + "pos": 73993, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 73994, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 73996, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 73997, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 73999, + "type": [ + "Text" + ], + "value": "*-*-sunos*)" + }, + { + "pos": 74010, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74011, + "type": [ + "Text" + ], + "value": "add_shlibpath=\"$dir\"" + }, + { + "pos": 74031, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74032, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 74034, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74035, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 74037, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 74041, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74042, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 74044, + "type": [ + "Text" + ], + "value": "add_dir=\"-L$dir\"" + }, + { + "pos": 74060, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74061, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 74063, + "type": [ + "Text" + ], + "value": "add=\"-l$name\"" + }, + { + "pos": 74076, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74077, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 74084, + "type": [ + "Text" + ], + "value": "elif" + }, + { + "pos": 74088, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74089, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 74093, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74094, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$hardcode_shlibpath_var\"" + }, + { + "pos": 74119, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74120, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 74121, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74122, + "type": [ + "Text" + ], + "value": "no;" + }, + { + "pos": 74125, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74126, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 74130, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74131, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 74133, + "type": [ + "Text" + ], + "value": "add_shlibpath=\"$dir\"" + }, + { + "pos": 74153, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74154, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 74156, + "type": [ + "Text" + ], + "value": "add=\"-l$name\"" + }, + { + "pos": 74169, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74170, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 74177, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 74181, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74182, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 74184, + "type": [ + "Text" + ], + "value": "lib_linked=no" + }, + { + "pos": 74197, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74198, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 74205, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 74207, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74208, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 74215, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 74217, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74218, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 74223, + "type": [ + "Text" + ], + "value": "relink)" + }, + { + "pos": 74230, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74231, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 74238, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 74240, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74241, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 74245, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74246, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$hardcode_direct\"" + }, + { + "pos": 74264, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74265, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 74266, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74267, + "type": [ + "Text" + ], + "value": "yes;" + }, + { + "pos": 74271, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74272, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 74276, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74277, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 74279, + "type": [ + "Text" + ], + "value": "add=\"$dir/$linklib\"" + }, + { + "pos": 74298, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74299, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 74306, + "type": [ + "Text" + ], + "value": "elif" + }, + { + "pos": 74310, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74311, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 74315, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74316, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$hardcode_minus_L\"" + }, + { + "pos": 74335, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74336, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 74337, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74338, + "type": [ + "Text" + ], + "value": "yes;" + }, + { + "pos": 74342, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74343, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 74347, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74348, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 74350, + "type": [ + "Text" + ], + "value": "add_dir=\"-L$dir\"" + }, + { + "pos": 74366, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74367, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 74369, + "type": [ + "Comment" + ], + "value": "# Try looking first in the location we're being installed to." + }, + { + "pos": 74430, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74431, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 74433, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 74435, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74436, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 74440, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74441, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 74443, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74444, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$inst_prefix_dir\"" + }, + { + "pos": 74462, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 74463, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74464, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 74468, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74469, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 74473, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 74477, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74478, + "type": [ + "Text" + ], + "value": "$libdir" + }, + { + "pos": 74485, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74486, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 74488, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74489, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 74495, + "type": [ + "Text" + ], + "value": "[\\\\/]*)" + }, + { + "pos": 74502, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74503, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 74511, + "type": [ + "Text" + ], + "value": "add_dir=\"$add_dir" + }, + { + "pos": 74528, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74529, + "type": [ + "Text" + ], + "value": "-L$inst_prefix_dir$libdir\"" + }, + { + "pos": 74555, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74556, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 74564, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 74566, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74567, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 74571, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 74575, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74576, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 74578, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 74580, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74581, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 74583, + "type": [ + "Text" + ], + "value": "add=\"-l$name\"" + }, + { + "pos": 74596, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74597, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 74604, + "type": [ + "Text" + ], + "value": "elif" + }, + { + "pos": 74608, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74609, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 74613, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74614, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$hardcode_shlibpath_var\"" + }, + { + "pos": 74639, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74640, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 74641, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74642, + "type": [ + "Text" + ], + "value": "yes;" + }, + { + "pos": 74646, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74647, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 74651, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74652, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 74654, + "type": [ + "Text" + ], + "value": "add_shlibpath=\"$dir\"" + }, + { + "pos": 74674, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74675, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 74677, + "type": [ + "Text" + ], + "value": "add=\"-l$name\"" + }, + { + "pos": 74690, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74691, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 74698, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 74702, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74703, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 74705, + "type": [ + "Text" + ], + "value": "lib_linked=no" + }, + { + "pos": 74718, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74719, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 74726, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 74728, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74729, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 74736, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 74738, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74739, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 74744, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 74746, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74747, + "type": [ + "Text" + ], + "value": "lib_linked=no" + }, + { + "pos": 74760, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74761, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 74763, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74764, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 74769, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 74773, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 74775, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 74780, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 74782, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74783, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 74787, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74788, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$lib_linked\"" + }, + { + "pos": 74801, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74802, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 74804, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74805, + "type": [ + "Text" + ], + "value": "yes;" + }, + { + "pos": 74809, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74810, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 74814, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74815, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 74822, + "type": [ + "Text" + ], + "value": "$echo" + }, + { + "pos": 74827, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74828, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$modename: configuration error: unsupported hardcode properties\"" + }, + { + "pos": 74893, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74894, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 74901, + "type": [ + "Text" + ], + "value": "exit" + }, + { + "pos": 74905, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74906, + "type": [ + "Text" + ], + "value": "$EXIT_FAILURE" + }, + { + "pos": 74919, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74920, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 74925, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 74927, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 74929, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 74934, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 74936, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74937, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 74941, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74942, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 74944, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74945, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$add_shlibpath\"" + }, + { + "pos": 74961, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 74962, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74963, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 74967, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 74968, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 74975, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 74979, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 74980, + "type": [ + "Text" + ], + "value": ":$compile_shlibpath:" + }, + { + "pos": 75000, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75001, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 75003, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 75004, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 75011, + "type": [ + "Text" + ], + "value": "*\":$add_shlibpath:\"*)" + }, + { + "pos": 75032, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75033, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 75035, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 75036, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 75043, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 75045, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75046, + "type": [ + "Text" + ], + "value": "compile_shlibpath=\"$compile_shlibpath$add_shlibpath:\"" + }, + { + "pos": 75099, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75100, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 75102, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 75103, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 75110, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 75114, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 75115, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 75120, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 75122, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 75123, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 75128, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 75130, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75131, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 75135, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75136, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$linkmode\"" + }, + { + "pos": 75147, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75148, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 75149, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75150, + "type": [ + "Text" + ], + "value": "prog;" + }, + { + "pos": 75155, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75156, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 75160, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 75161, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 75168, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 75172, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75173, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 75175, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75176, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$add_dir\"" + }, + { + "pos": 75186, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75187, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 75189, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75190, + "type": [ + "Text" + ], + "value": "compile_deplibs=\"$add_dir" + }, + { + "pos": 75215, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75216, + "type": [ + "Text" + ], + "value": "$compile_deplibs\"" + }, + { + "pos": 75233, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 75234, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 75241, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 75245, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75246, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 75248, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75249, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$add\"" + }, + { + "pos": 75255, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75256, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 75258, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75259, + "type": [ + "Text" + ], + "value": "compile_deplibs=\"$add" + }, + { + "pos": 75280, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75281, + "type": [ + "Text" + ], + "value": "$compile_deplibs\"" + }, + { + "pos": 75298, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 75299, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 75304, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 75308, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 75309, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 75316, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 75320, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75321, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 75323, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75324, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$add_dir\"" + }, + { + "pos": 75334, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75335, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 75337, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75338, + "type": [ + "Text" + ], + "value": "deplibs=\"$add_dir" + }, + { + "pos": 75355, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75356, + "type": [ + "Text" + ], + "value": "$deplibs\"" + }, + { + "pos": 75365, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 75366, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 75373, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 75377, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75378, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 75380, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75381, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$add\"" + }, + { + "pos": 75387, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75388, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 75390, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75391, + "type": [ + "Text" + ], + "value": "deplibs=\"$add" + }, + { + "pos": 75404, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75405, + "type": [ + "Text" + ], + "value": "$deplibs\"" + }, + { + "pos": 75414, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 75415, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 75422, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 75424, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75425, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 75429, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75430, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$hardcode_direct\"" + }, + { + "pos": 75448, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75449, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 75451, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75452, + "type": [ + "Text" + ], + "value": "yes" + }, + { + "pos": 75455, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75456, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 75458, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75459, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 75460, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 75461, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 75464, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 75468, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75469, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$hardcode_minus_L\"" + }, + { + "pos": 75488, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75489, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 75491, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75492, + "type": [ + "Text" + ], + "value": "yes" + }, + { + "pos": 75495, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75496, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 75498, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75499, + "type": [ + "Text" + ], + "value": "\\" + }, + { + "pos": 75500, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 75501, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 75504, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 75508, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75509, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$hardcode_shlibpath_var\"" + }, + { + "pos": 75534, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75535, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 75536, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75537, + "type": [ + "Text" + ], + "value": "yes;" + }, + { + "pos": 75541, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75542, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 75546, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 75547, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 75549, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 75553, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75554, + "type": [ + "Text" + ], + "value": ":$finalize_shlibpath:" + }, + { + "pos": 75575, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75576, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 75578, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 75579, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 75581, + "type": [ + "Text" + ], + "value": "*\":$libdir:\"*)" + }, + { + "pos": 75595, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75596, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 75598, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 75599, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 75601, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 75603, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75604, + "type": [ + "Text" + ], + "value": "finalize_shlibpath=\"$finalize_shlibpath$libdir:\"" + }, + { + "pos": 75652, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75653, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 75655, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 75656, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 75658, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 75662, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 75663, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 75670, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 75672, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 75673, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 75678, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 75680, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 75681, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 75684, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 75686, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 75688, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 75691, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 75693, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75694, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 75698, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75699, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$linkmode\"" + }, + { + "pos": 75710, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75711, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 75712, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75713, + "type": [ + "Text" + ], + "value": "prog" + }, + { + "pos": 75717, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75718, + "type": [ + "Text" + ], + "value": "||" + }, + { + "pos": 75720, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75721, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 75725, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75726, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$mode\"" + }, + { + "pos": 75733, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75734, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 75735, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75736, + "type": [ + "Text" + ], + "value": "relink;" + }, + { + "pos": 75743, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75744, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 75748, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 75749, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 75754, + "type": [ + "Text" + ], + "value": "add_shlibpath=" + }, + { + "pos": 75768, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 75769, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 75774, + "type": [ + "Text" + ], + "value": "add_dir=" + }, + { + "pos": 75782, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 75783, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 75788, + "type": [ + "Text" + ], + "value": "add=" + }, + { + "pos": 75792, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 75793, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 75798, + "type": [ + "Comment" + ], + "value": "# Finalize command for both is simple: just hardcode it." + }, + { + "pos": 75854, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 75855, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 75860, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 75862, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75863, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 75867, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75868, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$hardcode_direct\"" + }, + { + "pos": 75886, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75887, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 75888, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75889, + "type": [ + "Text" + ], + "value": "yes;" + }, + { + "pos": 75893, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75894, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 75898, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 75899, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 75906, + "type": [ + "Text" + ], + "value": "add=\"$libdir/$linklib\"" + }, + { + "pos": 75928, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 75929, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 75934, + "type": [ + "Text" + ], + "value": "elif" + }, + { + "pos": 75938, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75939, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 75943, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75944, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$hardcode_minus_L\"" + }, + { + "pos": 75963, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75964, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 75965, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75966, + "type": [ + "Text" + ], + "value": "yes;" + }, + { + "pos": 75970, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 75971, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 75975, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 75976, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 75983, + "type": [ + "Text" + ], + "value": "add_dir=\"-L$libdir\"" + }, + { + "pos": 76002, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 76003, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 76010, + "type": [ + "Text" + ], + "value": "add=\"-l$name\"" + }, + { + "pos": 76023, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 76024, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 76029, + "type": [ + "Text" + ], + "value": "elif" + }, + { + "pos": 76033, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76034, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 76038, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76039, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$hardcode_shlibpath_var\"" + }, + { + "pos": 76064, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76065, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 76066, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76067, + "type": [ + "Text" + ], + "value": "yes;" + }, + { + "pos": 76071, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76072, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 76076, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 76077, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 76084, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 76088, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76089, + "type": [ + "Text" + ], + "value": ":$finalize_shlibpath:" + }, + { + "pos": 76110, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76111, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 76113, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 76114, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 76121, + "type": [ + "Text" + ], + "value": "*\":$libdir:\"*)" + }, + { + "pos": 76135, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76136, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 76138, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 76139, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 76146, + "type": [ + "Text" + ], + "value": "*)" + }, + { + "pos": 76148, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76149, + "type": [ + "Text" + ], + "value": "finalize_shlibpath=\"$finalize_shlibpath$libdir:\"" + }, + { + "pos": 76197, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76198, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 76200, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 76201, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 76208, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 76212, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 76213, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 76220, + "type": [ + "Text" + ], + "value": "add=\"-l$name\"" + }, + { + "pos": 76233, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 76234, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 76239, + "type": [ + "Text" + ], + "value": "elif" + }, + { + "pos": 76243, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76244, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 76248, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76249, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$hardcode_automatic\"" + }, + { + "pos": 76270, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76271, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 76272, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76273, + "type": [ + "Text" + ], + "value": "yes;" + }, + { + "pos": 76277, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76278, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 76282, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 76283, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 76290, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 76292, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76293, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 76297, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76298, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 76300, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76301, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$inst_prefix_dir\"" + }, + { + "pos": 76319, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76320, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 76322, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 76323, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 76326, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 76330, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76331, + "type": [ + "Text" + ], + "value": "-f" + }, + { + "pos": 76333, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76334, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$inst_prefix_dir$libdir/$linklib\"" + }, + { + "pos": 76368, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76369, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 76370, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76371, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 76375, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 76376, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 76385, + "type": [ + "Text" + ], + "value": "add=\"$inst_prefix_dir$libdir/$linklib\"" + }, + { + "pos": 76423, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 76424, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 76431, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 76435, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 76436, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 76445, + "type": [ + "Text" + ], + "value": "add=\"$libdir/$linklib\"" + }, + { + "pos": 76467, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 76468, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 76475, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 76477, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 76478, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 76483, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 76487, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 76488, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 76495, + "type": [ + "Comment" + ], + "value": "# We cannot seem to hardcode it, guess we'll fake it." + }, + { + "pos": 76548, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 76549, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 76556, + "type": [ + "Text" + ], + "value": "add_dir=\"-L$libdir\"" + }, + { + "pos": 76575, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 76576, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 76583, + "type": [ + "Comment" + ], + "value": "# Try looking first in the location we're being installed to." + }, + { + "pos": 76644, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 76645, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 76652, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 76654, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76655, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 76659, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76660, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 76662, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76663, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$inst_prefix_dir\"" + }, + { + "pos": 76681, + "type": [ + "Text" + ], + "value": ";" + }, + { + "pos": 76682, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76683, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 76687, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 76688, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 76690, + "type": [ + "Text" + ], + "value": "case" + }, + { + "pos": 76694, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76695, + "type": [ + "Text" + ], + "value": "$libdir" + }, + { + "pos": 76702, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76703, + "type": [ + "Text" + ], + "value": "in" + }, + { + "pos": 76705, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 76706, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 76710, + "type": [ + "Text" + ], + "value": "[\\\\/]*)" + }, + { + "pos": 76717, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 76718, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 76724, + "type": [ + "Text" + ], + "value": "add_dir=\"$add_dir" + }, + { + "pos": 76741, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76742, + "type": [ + "Text" + ], + "value": "-L$inst_prefix_dir$libdir\"" + }, + { + "pos": 76768, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 76769, + "type": [ + "Text", + "WS" + ], + "value": "\t\t " + }, + { + "pos": 76775, + "type": [ + "Text" + ], + "value": ";;" + }, + { + "pos": 76777, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 76778, + "type": [ + "Text", + "WS" + ], + "value": "\t\t" + }, + { + "pos": 76780, + "type": [ + "Text" + ], + "value": "esac" + }, + { + "pos": 76784, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 76785, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 76792, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 76794, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 76795, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 76802, + "type": [ + "Text" + ], + "value": "add=\"-l$name\"" + }, + { + "pos": 76815, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 76816, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 76821, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 76823, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + }, + { + "pos": 76825, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 76830, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 76832, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76833, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 76837, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76838, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$linkmode\"" + }, + { + "pos": 76849, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76850, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 76851, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76852, + "type": [ + "Text" + ], + "value": "prog;" + }, + { + "pos": 76857, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76858, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 76862, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 76863, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 76870, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 76874, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76875, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 76877, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76878, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$add_dir\"" + }, + { + "pos": 76888, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76889, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 76891, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76892, + "type": [ + "Text" + ], + "value": "finalize_deplibs=\"$add_dir" + }, + { + "pos": 76918, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76919, + "type": [ + "Text" + ], + "value": "$finalize_deplibs\"" + }, + { + "pos": 76937, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 76938, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 76945, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 76949, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76950, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 76952, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76953, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$add\"" + }, + { + "pos": 76959, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76960, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 76962, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76963, + "type": [ + "Text" + ], + "value": "finalize_deplibs=\"$add" + }, + { + "pos": 76985, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 76986, + "type": [ + "Text" + ], + "value": "$finalize_deplibs\"" + }, + { + "pos": 77004, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 77005, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 77010, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 77014, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 77015, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 77022, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 77026, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77027, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 77029, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77030, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$add_dir\"" + }, + { + "pos": 77040, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77041, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 77043, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77044, + "type": [ + "Text" + ], + "value": "deplibs=\"$add_dir" + }, + { + "pos": 77061, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77062, + "type": [ + "Text" + ], + "value": "$deplibs\"" + }, + { + "pos": 77071, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 77072, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 77079, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 77083, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77084, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 77086, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77087, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$add\"" + }, + { + "pos": 77093, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77094, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 77096, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77097, + "type": [ + "Text" + ], + "value": "deplibs=\"$add" + }, + { + "pos": 77110, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77111, + "type": [ + "Text" + ], + "value": "$deplibs\"" + }, + { + "pos": 77120, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 77121, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 77126, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 77128, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 77129, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 77132, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 77134, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 77135, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 77136, + "type": [ + "Text" + ], + "value": "elif" + }, + { + "pos": 77140, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77141, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 77145, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77146, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$linkmode\"" + }, + { + "pos": 77157, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77158, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 77159, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77160, + "type": [ + "Text" + ], + "value": "prog;" + }, + { + "pos": 77165, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77166, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 77170, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 77171, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 77174, + "type": [ + "Comment" + ], + "value": "# Here we assume that one of hardcode_direct or hardcode_minus_L" + }, + { + "pos": 77238, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 77239, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 77242, + "type": [ + "Comment" + ], + "value": "# is not unsupported. This is valid on all known static and" + }, + { + "pos": 77302, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 77303, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 77306, + "type": [ + "Comment" + ], + "value": "# shared platforms." + }, + { + "pos": 77325, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 77326, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 77329, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 77331, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77332, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 77336, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77337, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$hardcode_direct\"" + }, + { + "pos": 77355, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77356, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 77358, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77359, + "type": [ + "Text" + ], + "value": "unsupported;" + }, + { + "pos": 77371, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77372, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 77376, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 77377, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 77382, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 77386, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77387, + "type": [ + "Text" + ], + "value": "-n" + }, + { + "pos": 77389, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77390, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$old_library\"" + }, + { + "pos": 77404, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77405, + "type": [ + "Text" + ], + "value": "&&" + }, + { + "pos": 77407, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77408, + "type": [ + "Text" + ], + "value": "linklib=\"$old_library\"" + }, + { + "pos": 77430, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 77431, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 77436, + "type": [ + "Text" + ], + "value": "compile_deplibs=\"$dir/$linklib" + }, + { + "pos": 77466, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77467, + "type": [ + "Text" + ], + "value": "$compile_deplibs\"" + }, + { + "pos": 77484, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 77485, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 77490, + "type": [ + "Text" + ], + "value": "finalize_deplibs=\"$dir/$linklib" + }, + { + "pos": 77521, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77522, + "type": [ + "Text" + ], + "value": "$finalize_deplibs\"" + }, + { + "pos": 77540, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 77541, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 77544, + "type": [ + "Text" + ], + "value": "else" + }, + { + "pos": 77548, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 77549, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 77554, + "type": [ + "Text" + ], + "value": "compile_deplibs=\"-l$name" + }, + { + "pos": 77578, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77579, + "type": [ + "Text" + ], + "value": "-L$dir" + }, + { + "pos": 77585, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77586, + "type": [ + "Text" + ], + "value": "$compile_deplibs\"" + }, + { + "pos": 77603, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 77604, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 77609, + "type": [ + "Text" + ], + "value": "finalize_deplibs=\"-l$name" + }, + { + "pos": 77634, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77635, + "type": [ + "Text" + ], + "value": "-L$dir" + }, + { + "pos": 77641, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77642, + "type": [ + "Text" + ], + "value": "$finalize_deplibs\"" + }, + { + "pos": 77660, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 77661, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 77664, + "type": [ + "Text" + ], + "value": "fi" + }, + { + "pos": 77666, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 77667, + "type": [ + "Text", + "WS" + ], + "value": "\t" + }, + { + "pos": 77668, + "type": [ + "Text" + ], + "value": "elif" + }, + { + "pos": 77672, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77673, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 77677, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77678, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$build_libtool_libs\"" + }, + { + "pos": 77699, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77700, + "type": [ + "Text" + ], + "value": "=" + }, + { + "pos": 77701, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77702, + "type": [ + "Text" + ], + "value": "yes;" + }, + { + "pos": 77706, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77707, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 77711, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 77712, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 77715, + "type": [ + "Comment" + ], + "value": "# Not a shared library" + }, + { + "pos": 77737, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 77738, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 77741, + "type": [ + "Text" + ], + "value": "if" + }, + { + "pos": 77743, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77744, + "type": [ + "Text" + ], + "value": "test" + }, + { + "pos": 77748, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77749, + "type": [ + "Literal", + "String", + "Double" + ], + "value": "\"$deplibs_check_method\"" + }, + { + "pos": 77772, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77773, + "type": [ + "Text" + ], + "value": "!=" + }, + { + "pos": 77775, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77776, + "type": [ + "Text" + ], + "value": "pass_all;" + }, + { + "pos": 77785, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 77786, + "type": [ + "Text" + ], + "value": "then" + }, + { + "pos": 77790, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 77791, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 77796, + "type": [ + "Comment" + ], + "value": "# We're trying link a shared library against a static one" + }, + { + "pos": 77853, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 77854, + "type": [ + "Text", + "WS" + ], + "value": "\t " + }, + { + "pos": 77859, + "type": [ + "Comment" + ], + "value": "# but the system doesn't support it." + }, + { + "pos": 77895, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n\n" + } +] \ No newline at end of file diff --git a/tests/packagedcode/data/bashlex/stripheredoc.sh b/tests/packagedcode/data/bashlex/stripheredoc.sh new file mode 100644 index 00000000000..33e7ff33486 --- /dev/null +++ b/tests/packagedcode/data/bashlex/stripheredoc.sh @@ -0,0 +1,3 @@ +cat <<-EOF + Hello world $PATH + EOF diff --git a/tests/packagedcode/data/bashlex/stripheredoc.sh-expected.json b/tests/packagedcode/data/bashlex/stripheredoc.sh-expected.json new file mode 100644 index 00000000000..0d38b4de52a --- /dev/null +++ b/tests/packagedcode/data/bashlex/stripheredoc.sh-expected.json @@ -0,0 +1,111 @@ +[ + { + "pos": 0, + "type": [ + "Text" + ], + "value": "cat" + }, + { + "pos": 3, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 4, + "type": [ + "Text" + ], + "value": "<<-EOF" + }, + { + "pos": 10, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 11, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 13, + "type": [ + "Text" + ], + "value": "Hello" + }, + { + "pos": 18, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 19, + "type": [ + "Text" + ], + "value": "world" + }, + { + "pos": 24, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 25, + "type": [ + "Text" + ], + "value": "$PATH" + }, + { + "pos": 30, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + }, + { + "pos": 31, + "type": [ + "Text", + "WS" + ], + "value": " " + }, + { + "pos": 33, + "type": [ + "Text" + ], + "value": "EOF" + }, + { + "pos": 36, + "type": [ + "Text", + "WS", + "LF" + ], + "value": "\n" + } +] \ No newline at end of file diff --git a/tests/packagedcode/data/bashlex/test_bashlex.ABOUT b/tests/packagedcode/data/bashlex/test_bashlex.ABOUT new file mode 100644 index 00000000000..ac1e0ce35eb --- /dev/null +++ b/tests/packagedcode/data/bashlex/test_bashlex.ABOUT @@ -0,0 +1,12 @@ +about_resource: . +attribute: yes +copyright: Copyright (c) the Pygments team +description: This is an enhanced Bash lexer derived from Pygments lexers +download_url: https://files.pythonhosted.org/packages/ba/6e/7a7c13c21d8a4a7f82ccbfe257a045890d4dbf18c023f985f565f97393e3/Pygments-2.9.0.tar.gz +homepage_url: http://pygments.org/ +license_expression: bsd-simplified +name: bashlex.py +notice_file: bashlex.py.NOTICE +package_url: pkg:generic/bashlex.py +primary_language: Python +notes: this is a derived and heavily modified Pygments bash lexer test suite diff --git a/tests/packagedcode/data/bashlex/test_bashlex.AUTHORS b/tests/packagedcode/data/bashlex/test_bashlex.AUTHORS new file mode 100644 index 00000000000..e8df18588fb --- /dev/null +++ b/tests/packagedcode/data/bashlex/test_bashlex.AUTHORS @@ -0,0 +1,246 @@ +Pygments is written and maintained by Georg Brandl . + +Major developers are Tim Hatch and Armin Ronacher +. + +Other contributors, listed alphabetically, are: + +* Sam Aaron -- Ioke lexer +* Ali Afshar -- image formatter +* Thomas Aglassinger -- Easytrieve, JCL, Rexx, Transact-SQL and VBScript + lexers +* Muthiah Annamalai -- Ezhil lexer +* Kumar Appaiah -- Debian control lexer +* Andreas Amann -- AppleScript lexer +* Timothy Armstrong -- Dart lexer fixes +* Jeffrey Arnold -- R/S, Rd, BUGS, Jags, and Stan lexers +* Jeremy Ashkenas -- CoffeeScript lexer +* José Joaquín Atria -- Praat lexer +* Stefan Matthias Aust -- Smalltalk lexer +* Lucas Bajolet -- Nit lexer +* Ben Bangert -- Mako lexers +* Max Battcher -- Darcs patch lexer +* Thomas Baruchel -- APL lexer +* Tim Baumann -- (Literate) Agda lexer +* Paul Baumgart, 280 North, Inc. -- Objective-J lexer +* Michael Bayer -- Myghty lexers +* Thomas Beale -- Archetype lexers +* John Benediktsson -- Factor lexer +* Trevor Bergeron -- mIRC formatter +* Vincent Bernat -- LessCSS lexer +* Christopher Bertels -- Fancy lexer +* Sébastien Bigaret -- QVT Operational lexer +* Jarrett Billingsley -- MiniD lexer +* Adam Blinkinsop -- Haskell, Redcode lexers +* Stéphane Blondon -- SGF and Sieve lexers +* Frits van Bommel -- assembler lexers +* Pierre Bourdon -- bugfixes +* Martijn Braam -- Kernel log lexer, BARE lexer +* Matthias Bussonnier -- ANSI style handling for terminal-256 formatter +* chebee7i -- Python traceback lexer improvements +* Hiram Chirino -- Scaml and Jade lexers +* Mauricio Caceres -- SAS and Stata lexers. +* Ian Cooper -- VGL lexer +* David Corbett -- Inform, Jasmin, JSGF, Snowball, and TADS 3 lexers +* Leaf Corcoran -- MoonScript lexer +* Christopher Creutzig -- MuPAD lexer +* Daniël W. Crompton -- Pike lexer +* Pete Curry -- bugfixes +* Bryan Davis -- EBNF lexer +* Bruno Deferrari -- Shen lexer +* Giedrius Dubinskas -- HTML formatter improvements +* Owen Durni -- Haxe lexer +* Alexander Dutton, Oxford University Computing Services -- SPARQL lexer +* James Edwards -- Terraform lexer +* Nick Efford -- Python 3 lexer +* Sven Efftinge -- Xtend lexer +* Artem Egorkine -- terminal256 formatter +* Matthew Fernandez -- CAmkES lexer +* Paweł Fertyk -- GDScript lexer, HTML formatter improvements +* Michael Ficarra -- CPSA lexer +* James H. Fisher -- PostScript lexer +* William S. Fulton -- SWIG lexer +* Carlos Galdino -- Elixir and Elixir Console lexers +* Michael Galloy -- IDL lexer +* Naveen Garg -- Autohotkey lexer +* Simon Garnotel -- FreeFem++ lexer +* Laurent Gautier -- R/S lexer +* Alex Gaynor -- PyPy log lexer +* Richard Gerkin -- Igor Pro lexer +* Alain Gilbert -- TypeScript lexer +* Alex Gilding -- BlitzBasic lexer +* GitHub, Inc -- DASM16, Augeas, TOML, and Slash lexers +* Bertrand Goetzmann -- Groovy lexer +* Krzysiek Goj -- Scala lexer +* Rostyslav Golda -- FloScript lexer +* Andrey Golovizin -- BibTeX lexers +* Matt Good -- Genshi, Cheetah lexers +* Michał Górny -- vim modeline support +* Alex Gosse -- TrafficScript lexer +* Patrick Gotthardt -- PHP namespaces support +* Hubert Gruniaux -- C and C++ lexer improvements +* Olivier Guibe -- Asymptote lexer +* Phil Hagelberg -- Fennel lexer +* Florian Hahn -- Boogie lexer +* Martin Harriman -- SNOBOL lexer +* Matthew Harrison -- SVG formatter +* Steven Hazel -- Tcl lexer +* Dan Michael Heggø -- Turtle lexer +* Aslak Hellesøy -- Gherkin lexer +* Greg Hendershott -- Racket lexer +* Justin Hendrick -- ParaSail lexer +* Jordi Gutiérrez Hermoso -- Octave lexer +* David Hess, Fish Software, Inc. -- Objective-J lexer +* Ken Hilton -- Typographic Number Theory and Arrow lexers +* Varun Hiremath -- Debian control lexer +* Rob Hoelz -- Perl 6 lexer +* Doug Hogan -- Mscgen lexer +* Ben Hollis -- Mason lexer +* Max Horn -- GAP lexer +* Fred Hornsey -- OMG IDL Lexer +* Alastair Houghton -- Lexer inheritance facility +* Tim Howard -- BlitzMax lexer +* Dustin Howett -- Logos lexer +* Ivan Inozemtsev -- Fantom lexer +* Hiroaki Itoh -- Shell console rewrite, Lexers for PowerShell session, + MSDOS session, BC, WDiff +* Brian R. Jackson -- Tea lexer +* Christian Jann -- ShellSession lexer +* Dennis Kaarsemaker -- sources.list lexer +* Dmitri Kabak -- Inferno Limbo lexer +* Igor Kalnitsky -- vhdl lexer +* Colin Kennedy - USD lexer +* Alexander Kit -- MaskJS lexer +* Pekka Klärck -- Robot Framework lexer +* Gerwin Klein -- Isabelle lexer +* Eric Knibbe -- Lasso lexer +* Stepan Koltsov -- Clay lexer +* Adam Koprowski -- Opa lexer +* Benjamin Kowarsch -- Modula-2 lexer +* Domen Kožar -- Nix lexer +* Oleh Krekel -- Emacs Lisp lexer +* Alexander Kriegisch -- Kconfig and AspectJ lexers +* Marek Kubica -- Scheme lexer +* Jochen Kupperschmidt -- Markdown processor +* Gerd Kurzbach -- Modelica lexer +* Jon Larimer, Google Inc. -- Smali lexer +* Olov Lassus -- Dart lexer +* Matt Layman -- TAP lexer +* Kristian Lyngstøl -- Varnish lexers +* Sylvestre Ledru -- Scilab lexer +* Chee Sing Lee -- Flatline lexer +* Mark Lee -- Vala lexer +* Valentin Lorentz -- C++ lexer improvements +* Ben Mabey -- Gherkin lexer +* Angus MacArthur -- QML lexer +* Louis Mandel -- X10 lexer +* Louis Marchand -- Eiffel lexer +* Simone Margaritelli -- Hybris lexer +* Kirk McDonald -- D lexer +* Gordon McGregor -- SystemVerilog lexer +* Stephen McKamey -- Duel/JBST lexer +* Brian McKenna -- F# lexer +* Charles McLaughlin -- Puppet lexer +* Kurt McKee -- Tera Term macro lexer, PostgreSQL updates, MySQL overhaul +* Lukas Meuser -- BBCode formatter, Lua lexer +* Cat Miller -- Pig lexer +* Paul Miller -- LiveScript lexer +* Hong Minhee -- HTTP lexer +* Michael Mior -- Awk lexer +* Bruce Mitchener -- Dylan lexer rewrite +* Reuben Morais -- SourcePawn lexer +* Jon Morton -- Rust lexer +* Paulo Moura -- Logtalk lexer +* Mher Movsisyan -- DTD lexer +* Dejan Muhamedagic -- Crmsh lexer +* Ana Nelson -- Ragel, ANTLR, R console lexers +* Kurt Neufeld -- Markdown lexer +* Nam T. Nguyen -- Monokai style +* Jesper Noehr -- HTML formatter "anchorlinenos" +* Mike Nolta -- Julia lexer +* Avery Nortonsmith -- Pointless lexer +* Jonas Obrist -- BBCode lexer +* Edward O'Callaghan -- Cryptol lexer +* David Oliva -- Rebol lexer +* Pat Pannuto -- nesC lexer +* Jon Parise -- Protocol buffers and Thrift lexers +* Benjamin Peterson -- Test suite refactoring +* Ronny Pfannschmidt -- BBCode lexer +* Dominik Picheta -- Nimrod lexer +* Andrew Pinkham -- RTF Formatter Refactoring +* Clément Prévost -- UrbiScript lexer +* Tanner Prynn -- cmdline -x option and loading lexers from files +* Oleh Prypin -- Crystal lexer (based on Ruby lexer) +* Xidorn Quan -- Web IDL lexer +* Elias Rabel -- Fortran fixed form lexer +* raichoo -- Idris lexer +* Daniel Ramirez -- GDScript lexer +* Kashif Rasul -- CUDA lexer +* Nathan Reed -- HLSL lexer +* Justin Reidy -- MXML lexer +* Norman Richards -- JSON lexer +* Corey Richardson -- Rust lexer updates +* Lubomir Rintel -- GoodData MAQL and CL lexers +* Andre Roberge -- Tango style +* Georg Rollinger -- HSAIL lexer +* Michiel Roos -- TypoScript lexer +* Konrad Rudolph -- LaTeX formatter enhancements +* Mario Ruggier -- Evoque lexers +* Miikka Salminen -- Lovelace style, Hexdump lexer, lexer enhancements +* Stou Sandalski -- NumPy, FORTRAN, tcsh and XSLT lexers +* Matteo Sasso -- Common Lisp lexer +* Joe Schafer -- Ada lexer +* Max Schillinger -- TiddlyWiki5 lexer +* Ken Schutte -- Matlab lexers +* René Schwaiger -- Rainbow Dash style +* Sebastian Schweizer -- Whiley lexer +* Tassilo Schweyer -- Io, MOOCode lexers +* Pablo Seminario -- PromQL lexer +* Ted Shaw -- AutoIt lexer +* Joerg Sieker -- ABAP lexer +* Robert Simmons -- Standard ML lexer +* Kirill Simonov -- YAML lexer +* Corbin Simpson -- Monte lexer +* Alexander Smishlajev -- Visual FoxPro lexer +* Steve Spigarelli -- XQuery lexer +* Jerome St-Louis -- eC lexer +* Camil Staps -- Clean and NuSMV lexers; Solarized style +* James Strachan -- Kotlin lexer +* Tom Stuart -- Treetop lexer +* Colin Sullivan -- SuperCollider lexer +* Ben Swift -- Extempore lexer +* tatt61880 -- Kuin lexer +* Edoardo Tenani -- Arduino lexer +* Tiberius Teng -- default style overhaul +* Jeremy Thurgood -- Erlang, Squid config lexers +* Brian Tiffin -- OpenCOBOL lexer +* Bob Tolbert -- Hy lexer +* Matthias Trute -- Forth lexer +* Erick Tryzelaar -- Felix lexer +* Alexander Udalov -- Kotlin lexer improvements +* Thomas Van Doren -- Chapel lexer +* Daniele Varrazzo -- PostgreSQL lexers +* Abe Voelker -- OpenEdge ABL lexer +* Pepijn de Vos -- HTML formatter CTags support +* Matthias Vallentin -- Bro lexer +* Benoît Vinot -- AMPL lexer +* Linh Vu Hong -- RSL lexer +* Nathan Weizenbaum -- Haml and Sass lexers +* Nathan Whetsell -- Csound lexers +* Dietmar Winkler -- Modelica lexer +* Nils Winter -- Smalltalk lexer +* Davy Wybiral -- Clojure lexer +* Whitney Young -- ObjectiveC lexer +* Diego Zamboni -- CFengine3 lexer +* Enrique Zamudio -- Ceylon lexer +* Alex Zimin -- Nemerle lexer +* Rob Zimmerman -- Kal lexer +* Vincent Zurczak -- Roboconf lexer +* Hubert Gruniaux -- C and C++ lexer improvements +* Thomas Symalla -- AMDGPU Lexer +* 15b3 -- Image Formatter improvements +* Fabian Neumann -- CDDL lexer +* Thomas Duboucher -- CDDL lexer +* Philipp Imhof -- Pango Markup formatter + +Many thanks for all contributions! diff --git a/tests/packagedcode/data/bashlex/test_bashlex.NOTICE b/tests/packagedcode/data/bashlex/test_bashlex.NOTICE new file mode 100644 index 00000000000..c187c70f0b5 --- /dev/null +++ b/tests/packagedcode/data/bashlex/test_bashlex.NOTICE @@ -0,0 +1,25 @@ +Copyright (c) 2006-2021 by the respective authors (see bashlex.py.AUTHORS file). +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/tests/packagedcode/data/bashparse/APKBUILD-cairo.sh b/tests/packagedcode/data/bashparse/APKBUILD-cairo.sh new file mode 100644 index 00000000000..a7b31060b3d --- /dev/null +++ b/tests/packagedcode/data/bashparse/APKBUILD-cairo.sh @@ -0,0 +1,77 @@ +# Maintainer: Natanael Copa +pkgname=cairo +pkgver=1.16.0 +pkgrel=2 +pkgdesc="A vector graphics library" +url="https://cairographics.org/" +arch="all" +options="!check" # Recursive dependency on gtk+2.0 for check. +license="LGPL-2.0-or-later MPL-1.1" +depends= +depends_dev="fontconfig-dev freetype-dev libxrender-dev pixman-dev + xcb-util-dev libxext-dev $pkgname-tools" +makedepends="$depends_dev zlib-dev expat-dev glib-dev libpng-dev autoconf automake libtool" +subpackages="$pkgname-dev $pkgname-doc $pkgname-gobject $pkgname-tools $pkgname-dbg" +source="https://cairographics.org/releases/cairo-$pkgver.tar.xz + musl-stacksize.patch + CVE-2018-19876.patch + pdf-flush.patch + 85.patch + " +builddir="$srcdir/$pkgname-$pkgver" + +# secfixes: +# 1.16.0-r2: +# - CVE-2020-35492 +# 1.16.0-r1: +# - CVE-2018-19876 + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-ft \ + --enable-gobject \ + --enable-pdf \ + --enable-png \ + --enable-ps \ + --enable-svg \ + --enable-tee \ + --enable-x \ + --enable-xcb \ + --enable-xcb-shm \ + --enable-xlib \ + --enable-xlib-xrender \ + --disable-xlib-xcb \ + --disable-static + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +gobject() { + pkgdesc="$pkgdesc (gobject bindings)" + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libcairo-gobject.so.* "$subpkgdir"/usr/lib/ +} + +tools() { + pkgdesc="$pkgdesc (development tools)" + mkdir -p "$subpkgdir"/usr/lib/cairo + mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ + mv "$pkgdir"/usr/lib/cairo/libcairo-trace.* \ + "$subpkgdir"/usr/lib/cairo/ +} + +sha512sums="9eb27c4cf01c0b8b56f2e15e651f6d4e52c99d0005875546405b64f1132aed12fbf84727273f493d84056a13105e065009d89e94a8bfaf2be2649e232b82377f cairo-1.16.0.tar.xz +86f26fe41deb5e14f553c999090d1ec1d92a534fa7984112c9a7f1d6c6a8f1b7bb735947e8ec3f26e817f56410efe8cc46c5e682f6a278d49b40a683513740e0 musl-stacksize.patch +8f13cdcae0f134e04778cf5915f858fb8d5357a7e0a454791c93d1566935b985ec66dfe1683cd0b74a1cb44a130923d7a27cf006f3fc70b9bee93abd58a55aa3 CVE-2018-19876.patch +533ea878dc7f917af92e2694bd3f535a09cde77f0ecd0cc00881fbc9ec1ea86f60026eacc76129705f525f6672929ad8d15d8cfe1bfa61e9962e805a7fbded81 pdf-flush.patch +20699d2dd10531f99587cdcd187a23e23bca5a9f031255c95aade4dadb79bbb62118c7ddff677c2fd20e4ba7694eee4debcd79a4d0736d62951a4fcee56ccae0 85.patch" diff --git a/tests/packagedcode/data/bashparse/APKBUILD-cairo.sh-expected.json b/tests/packagedcode/data/bashparse/APKBUILD-cairo.sh-expected.json new file mode 100644 index 00000000000..d7cf5c9727a --- /dev/null +++ b/tests/packagedcode/data/bashparse/APKBUILD-cairo.sh-expected.json @@ -0,0 +1,22 @@ +[ + { + "pkgname": "cairo", + "pkgver": "1.16.0", + "pkgrel": "2", + "pkgdesc": "A vector graphics library", + "url": "https://cairographics.org/", + "arch": "all", + "options": "!check", + "license": "LGPL-2.0-or-later MPL-1.1", + "depends": "", + "depends_dev": "fontconfig-dev freetype-dev libxrender-dev pixman-dev\n\txcb-util-dev libxext-dev cairo-tools", + "makedepends": "fontconfig-dev freetype-dev libxrender-dev pixman-dev\n\txcb-util-dev libxext-dev cairo-tools zlib-dev expat-dev glib-dev libpng-dev autoconf automake libtool", + "subpackages": "cairo-dev cairo-doc cairo-gobject cairo-tools cairo-dbg", + "source": "https://cairographics.org/releases/cairo-1.16.0.tar.xz\n\tmusl-stacksize.patch\n\tCVE-2018-19876.patch\n\tpdf-flush.patch\n\t85.patch\n\t", + "builddir": "$srcdir/cairo-1.16.0", + "sha512sums": "9eb27c4cf01c0b8b56f2e15e651f6d4e52c99d0005875546405b64f1132aed12fbf84727273f493d84056a13105e065009d89e94a8bfaf2be2649e232b82377f cairo-1.16.0.tar.xz\n86f26fe41deb5e14f553c999090d1ec1d92a534fa7984112c9a7f1d6c6a8f1b7bb735947e8ec3f26e817f56410efe8cc46c5e682f6a278d49b40a683513740e0 musl-stacksize.patch\n8f13cdcae0f134e04778cf5915f858fb8d5357a7e0a454791c93d1566935b985ec66dfe1683cd0b74a1cb44a130923d7a27cf006f3fc70b9bee93abd58a55aa3 CVE-2018-19876.patch\n533ea878dc7f917af92e2694bd3f535a09cde77f0ecd0cc00881fbc9ec1ea86f60026eacc76129705f525f6672929ad8d15d8cfe1bfa61e9962e805a7fbded81 pdf-flush.patch\n20699d2dd10531f99587cdcd187a23e23bca5a9f031255c95aade4dadb79bbb62118c7ddff677c2fd20e4ba7694eee4debcd79a4d0736d62951a4fcee56ccae0 85.patch" + }, + [ + "Partially resolved variable: ShellVariable(name='builddir', value='$srcdir/cairo-1.16.0') envt: {'pkgname': 'cairo', 'pkgver': '1.16.0', 'pkgrel': '2', 'pkgdesc': 'A vector graphics library', 'url': 'https://cairographics.org/', 'arch': 'all', 'options': '!check', 'license': 'LGPL-2.0-or-later MPL-1.1', 'depends': '', 'depends_dev': 'fontconfig-dev freetype-dev libxrender-dev pixman-dev\\n\\txcb-util-dev libxext-dev cairo-tools', 'makedepends': 'fontconfig-dev freetype-dev libxrender-dev pixman-dev\\n\\txcb-util-dev libxext-dev cairo-tools zlib-dev expat-dev glib-dev libpng-dev autoconf automake libtool', 'subpackages': 'cairo-dev cairo-doc cairo-gobject cairo-tools cairo-dbg', 'source': 'https://cairographics.org/releases/cairo-1.16.0.tar.xz\\n\\tmusl-stacksize.patch\\n\\tCVE-2018-19876.patch\\n\\tpdf-flush.patch\\n\\t85.patch\\n\\t', 'builddir': '$srcdir/cairo-1.16.0'}" + ] +] \ No newline at end of file diff --git a/tests/packagedcode/data/bashparse/APKBUILD-gcc.sh b/tests/packagedcode/data/bashparse/APKBUILD-gcc.sh new file mode 100644 index 00000000000..413264cd6df --- /dev/null +++ b/tests/packagedcode/data/bashparse/APKBUILD-gcc.sh @@ -0,0 +1,704 @@ +# Contributor: Natanael Copa +# Maintainer: Ariadne Conill +pkgname=gcc +_pkgbase=10.3.1 +pkgver=10.3.1_git20210424 +[ "$BOOTSTRAP" = "nolibc" ] && pkgname="gcc-pass2" +[ "$CBUILD" != "$CHOST" ] && _cross="-$CARCH" || _cross="" +[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target="" + +pkgname="$pkgname$_target" +pkgrel=2 +pkgdesc="The GNU Compiler Collection" +url="https://gcc.gnu.org" +arch="all" +license="GPL-2.0-or-later LGPL-2.1-or-later" +_gccrel=$pkgver-r$pkgrel +depends="binutils$_target" +makedepends_build="gcc$_cross g++$_cross bison flex texinfo gawk zip gmp-dev mpfr-dev mpc1-dev zlib-dev" +makedepends_host="linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev !gettext-dev libucontext-dev" +subpackages=" " +[ "$CHOST" = "$CTARGET" ] && subpackages="gcc-doc$_target" +replaces="libstdc++ binutils" + +: "${LANG_CXX:=true}" +: "${LANG_D:=true}" +: "${LANG_OBJC:=true}" +: "${LANG_GO:=true}" +: "${LANG_FORTRAN:=true}" +: "${LANG_ADA:=true}" + +_libgomp=true +_libgcc=true +_libatomic=true +_libitm=true + +if [ "$CHOST" != "$CTARGET" ]; then + if [ "$BOOTSTRAP" = nolibc ]; then + LANG_CXX=false + LANG_ADA=false + _libgcc=false + _builddir="$srcdir/build-cross-pass2" + else + _builddir="$srcdir/build-cross-final" + fi + LANG_OBJC=false + LANG_GO=false + LANG_FORTRAN=false + LANG_D=false + _libgomp=false + _libatomic=false + _libitm=false + + # reset target flags (should be set in crosscreate abuild) + # fixup flags. seems gcc treats CPPFLAGS as global without + # _FOR_xxx variants. wrap it in CFLAGS and CXXFLAGS. + export CFLAGS="$CPPFLAGS $CFLAGS" + export CXXFLAGS="$CPPFLAGS $CXXFLAGS" + unset CPPFLAGS + export CFLAGS_FOR_TARGET=" " + export CXXFLAGS_FOR_TARGET=" " + export LDFLAGS_FOR_TARGET=" " + + STRIP_FOR_TARGET="$CTARGET-strip" +elif [ "$CBUILD" != "$CHOST" ]; then + # fixup flags. seems gcc treats CPPFLAGS as global without + # _FOR_xxx variants. wrap it in CFLAGS and CXXFLAGS. + export CFLAGS="$CPPFLAGS $CFLAGS" + export CXXFLAGS="$CPPFLAGS $CXXFLAGS" + unset CPPFLAGS + + # reset flags and cc for build + export CC_FOR_BUILD="gcc" + export CXX_FOR_BUILD="g++" + export CFLAGS_FOR_BUILD=" " + export CXXFLAGS_FOR_BUILD=" " + export LDFLAGS_FOR_BUILD=" " + export CFLAGS_FOR_TARGET=" " + export CXXFLAGS_FOR_TARGET=" " + export LDFLAGS_FOR_TARGET=" " + + # Languages that do not need bootstrapping + LANG_OBJC=false + LANG_GO=false + LANG_FORTRAN=false + LANG_D=false + + STRIP_FOR_TARGET=${CROSS_COMPILE}strip + _builddir="$srcdir/build-cross-native" +else + STRIP_FOR_TARGET=${CROSS_COMPILE}strip + _builddir="$srcdir/build" +fi + +# GDC hasn't been ported to PowerPC +# See libphobos/configure.tgt in GCC sources for supported targets +# riscv fails with: error: static assert "unimplemented" +case "$CARCH" in +ppc64le|riscv64) LANG_D=false ;; +esac + +# libitm has TEXTRELs in ARM build, so disable for now +case "$CTARGET_ARCH" in +arm*) _libitm=false ;; +mips*) _libitm=false ;; +riscv64) _libitm=false ;; +esac + +# Internal libffi fails to build on MIPS at the moment, need to +# investigate further. We disable LANG_GO on mips64 as it requires +# the internal libffi. +case "$CTARGET_ARCH" in +mips*) LANG_GO=false ;; +esac + +# Fortran uses libquadmath if toolchain has __float128 +# currently on x86, x86_64 and ia64 +_libquadmath=$LANG_FORTRAN +case "$CTARGET_ARCH" in +x86 | x86_64) _libquadmath=$LANG_FORTRAN ;; +*) _libquadmath=false ;; +esac + +# libatomic is a dependency for openvswitch +$_libatomic && subpackages="$subpackages libatomic::$CTARGET_ARCH" +$_libgcc && subpackages="$subpackages libgcc::$CTARGET_ARCH" +$_libquadmath && subpackages="$subpackages libquadmath::$CTARGET_ARCH" +if $_libgomp; then + depends="$depends libgomp=$_gccrel" + subpackages="$subpackages libgomp::$CTARGET_ARCH" +fi + +case "$CARCH" in +riscv64) +LANG_ADA=false;; +esac + +_languages=c +if $LANG_CXX; then + subpackages="$subpackages libstdc++:libcxx:$CTARGET_ARCH g++$_target:gpp" + _languages="$_languages,c++" +fi +if $LANG_D; then + subpackages="$subpackages libgphobos::$CTARGET_ARCH gcc-gdc$_target:gdc" + _languages="$_languages,d" + makedepends_build="$makedepends_build libucontext-dev" +fi +if $LANG_OBJC; then + subpackages="$subpackages libobjc::$CTARGET_ARCH gcc-objc$_target:objc" + _languages="$_languages,objc" +fi +if $LANG_GO; then + subpackages="$subpackages libgo::$CTARGET_ARCH gcc-go$_target:go" + _languages="$_languages,go" +fi +if $LANG_FORTRAN; then + subpackages="$subpackages libgfortran::$CTARGET_ARCH gfortran$_target:gfortran" + _languages="$_languages,fortran" +fi +if $LANG_ADA; then + subpackages="$subpackages libgnat-static:libgnatstatic:$CTARGET_ARCH libgnat::$CTARGET_ARCH gcc-gnat$_target:gnat" + _languages="$_languages,ada" + [ "$CBUILD" = "$CTARGET" ] && makedepends_build="$makedepends_build gcc-gnat-bootstrap" + [ "$CBUILD" != "$CTARGET" ] && makedepends_build="$makedepends_build gcc-gnat gcc-gnat$_cross" +fi +makedepends="$makedepends_build $makedepends_host" + +# when using upstream releases, use this URI template +# https://gcc.gnu.org/pub/gcc/releases/gcc-${_pkgbase:-$pkgver}/gcc-${_pkgbase:-$pkgver}.tar.xz +# +# right now, we are using a git snapshot. +# +# PLEASE submit all patches to gcc to https://gitlab.alpinelinux.org/kaniini/alpine-gcc-patches, +# so that they can be properly tracked and easily rebased if needed. +source="https://dev.alpinelinux.org/~nenolod/gcc-${pkgver}.tar.xz + 0001-posix_memalign.patch + 0002-gcc-poison-system-directories.patch + 0003-Turn-on-Wl-z-relro-z-now-by-default.patch + 0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch + 0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch + 0006-Enable-Wformat-and-Wformat-security-by-default.patch + 0007-Enable-Wtrampolines-by-default.patch + 0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch + 0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch + 0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch + 0011-libiberty-copy-PIC-objects-during-build-process.patch + 0012-libitm-disable-FORTIFY.patch + 0013-libgcc_s.patch + 0014-nopie.patch + 0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch + 0016-dlang-update-zlib-binding.patch + 0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch + 0018-ada-fix-shared-linking.patch + 0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch + 0020-add-fortify-headers-paths.patch + 0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch + 0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch + 0023-Pure-64-bit-MIPS.patch + 0024-use-pure-64-bit-configuration-where-appropriate.patch + 0025-always-build-libgcc_eh.a.patch + 0026-ada-libgnarl-compatibility-for-musl.patch + 0027-ada-musl-support-fixes.patch + 0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch + 0029-gcc-go-Don-t-include-sys-user.h.patch + 0030-gcc-go-Fix-ucontext_t-on-PPC64.patch + 0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch + 0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch + 0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch + 0034-gcc-go-signal-34-is-special-on-musl-libc.patch + 0035-gcc-go-Prefer-_off_t-over-_off64_t.patch + 0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch + 0037-gcc-go-link-to-libucontext.patch + 0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch + 0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch + 0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch + 0041-Use-generic-errstr.go-implementation-on-musl.patch + " + +# we build out-of-tree +_gccdir="$srcdir"/gcc-$pkgver +_gcclibdir="/usr/lib/gcc/$CTARGET/${_pkgbase:-$pkgver}" +_gcclibexec="/usr/libexec/gcc/$CTARGET/${_pkgbase:-$pkgver}" + +prepare() { + cd "$_gccdir" + + _err= + for i in $source; do + case "$i" in + *.patch) + msg "Applying $i" + patch -p1 -i "$srcdir"/$i || _err="$_err $i" + ;; + esac + done + + if [ -n "$_err" ]; then + error "The following patches failed:" + for i in $_err; do + echo " $i" + done + return 1 + fi + + echo ${_pkgbase:-$pkgver} > gcc/BASE-VER +} + +build() { + local _arch_configure= + local _libc_configure= + local _cross_configure= + local _bootstrap_configure= + local _symvers= + + cd "$_gccdir" + + case "$CTARGET" in + aarch64-*-*-*) _arch_configure="--with-arch=armv8-a --with-abi=lp64";; + armv5-*-*-*eabi) _arch_configure="--with-arch=armv5te --with-tune=arm926ej-s --with-float=soft --with-abi=aapcs-linux";; + armv6-*-*-*eabihf) _arch_configure="--with-arch=armv6zk --with-tune=arm1176jzf-s --with-fpu=vfp --with-float=hard --with-abi=aapcs-linux";; + armv7-*-*-*eabihf) _arch_configure="--with-arch=armv7-a --with-tune=generic-armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-abi=aapcs-linux --with-mode=thumb";; + mips-*-*-*) _arch_configure="--with-arch=mips32 --with-mips-plt --with-float=soft --with-abi=32";; + mips64-*-*-*) _arch_configure="--with-arch=mips3 --with-tune=mips64 --with-mips-plt --with-float=soft --with-abi=64";; + mips64el-*-*-*) _arch_configure="--with-arch=mips3 --with-tune=mips64 --with-mips-plt --with-float=soft --with-abi=64";; + mipsel-*-*-*) _arch_configure="--with-arch=mips32 --with-mips-plt --with-float=soft --with-abi=32";; + powerpc-*-*-*) _arch_configure="--enable-secureplt --enable-decimal-float=no";; + powerpc64*-*-*-*) _arch_configure="--with-abi=elfv2 --enable-secureplt --enable-decimal-float=no --enable-targets=powerpcle-linux";; + i486-*-*-*) _arch_configure="--with-arch=i486 --with-tune=generic --enable-cld";; + i586-*-*-*) _arch_configure="--with-arch=i586 --with-tune=generic --enable-cld";; + s390x-*-*-*) _arch_configure="--with-arch=z196 --with-tune=zEC12 --with-zarch --with-long-double-128 --enable-decimal-float";; + riscv64-*-*-*) _arch_configure="--with-arch=rv64gc --with-abi=lp64d --enable-autolink-libatomic";; + esac + + case "$CTARGET_ARCH" in + mips*) _hash_style_configure="--with-linker-hash-style=sysv" ;; + *) _hash_style_configure="--with-linker-hash-style=gnu" ;; + esac + + case "$CTARGET_LIBC" in + musl) + # musl does not support mudflap, or libsanitizer + # libmpx uses secure_getenv and struct _libc_fpstate not present in musl + # alpine musl provides libssp_nonshared.a, so we don't need libssp either + _libc_configure="--disable-libssp --disable-libmpx --disable-libmudflap --disable-libsanitizer" + _symvers="--disable-symvers" + export libat_cv_have_ifunc=no + ;; + esac + + [ "$CBUILD" != "$CHOST" ] && _cross_configure="--disable-bootstrap" + [ "$CHOST" != "$CTARGET" ] && _cross_configure="--disable-bootstrap --with-sysroot=$CBUILDROOT" + + case "$BOOTSTRAP" in + nolibc) _bootstrap_configure="--with-newlib --disable-shared --enable-threads=no" ;; + *) _bootstrap_configure="--enable-shared --enable-threads --enable-tls" ;; + esac + + $_libgomp || _bootstrap_configure="$_bootstrap_configure --disable-libgomp" + $_libatomic || _bootstrap_configure="$_bootstrap_configure --disable-libatomic" + $_libitm || _bootstrap_configure="$_bootstrap_configure --disable-libitm" + $_libquadmath || _arch_configure="$_arch_configure --disable-libquadmath" + + msg "Building the following:" + echo "" + echo " CBUILD=$CBUILD" + echo " CHOST=$CHOST" + echo " CTARGET=$CTARGET" + echo " CTARGET_ARCH=$CTARGET_ARCH" + echo " CTARGET_LIBC=$CTARGET_LIBC" + echo " languages=$_languages" + echo " arch_configure=$_arch_configure" + echo " libc_configure=$_libc_configure" + echo " cross_configure=$_cross_configure" + echo " bootstrap_configure=$_bootstrap_configure" + echo " hash_style_configure=$_hash_style_configure" + echo "" + + export CFLAGS="$CFLAGS -O2" + + mkdir -p "$_builddir" + cd "$_builddir" + "$_gccdir"/configure --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --build=${CBUILD} \ + --host=${CHOST} \ + --target=${CTARGET} \ + --with-pkgversion="Alpine $pkgver" \ + --enable-checking=release \ + --disable-fixed-point \ + --disable-libstdcxx-pch \ + --disable-multilib \ + --disable-nls \ + --disable-werror \ + $_symvers \ + --enable-__cxa_atexit \ + --enable-default-pie \ + --enable-default-ssp \ + --enable-cloog-backend \ + --enable-languages=$_languages \ + $_arch_configure \ + $_libc_configure \ + $_cross_configure \ + $_bootstrap_configure \ + --with-system-zlib \ + $_hash_style_configure + make +} + +package() { + cd "$_builddir" + make -j1 DESTDIR="$pkgdir" install + + ln -s gcc "$pkgdir"/usr/bin/cc + + # we dont support gcj -static + # and saving 35MB is not bad. + find "$pkgdir" \( -name libgtkpeer.a \ + -o -name libgjsmalsa.a \ + -o -name libgij.a \) \ + -delete + + # strip debug info from some static libs + find "$pkgdir" \( -name libgfortran.a -o -name libobjc.a -o -name libgomp.a \ + -o -name libgphobos.a -o -name libgdruntime.a \ + -o -name libmudflap.a -o -name libmudflapth.a \ + -o -name libgcc.a -o -name libgcov.a -o -name libquadmath.a \ + -o -name libitm.a -o -name libgo.a -o -name libcaf\*.a \ + -o -name libatomic.a -o -name libasan.a -o -name libtsan.a \) \ + -a -type f \ + -exec ${STRIP_FOR_TARGET} -g {} + + + if $_libgomp; then + mv "$pkgdir"/usr/lib/libgomp.spec "$pkgdir"/$_gcclibdir + fi + if $_libitm; then + mv "$pkgdir"/usr/lib/libitm.spec "$pkgdir"/$_gcclibdir + fi + + # remove ffi + rm -f "$pkgdir"/usr/lib/libffi* "$pkgdir"/usr/share/man/man3/ffi* + find "$pkgdir" -name 'ffi*.h' -delete + + local gdblib=${_target:+$CTARGET/}lib + if [ -d "$pkgdir"/usr/$gdblib/ ]; then + for i in $(find "$pkgdir"/usr/$gdblib/ -type f -maxdepth 1 -name "*-gdb.py"); do + mkdir -p "$pkgdir"/usr/share/gdb/python/auto-load/usr/$gdblib + mv "$i" "$pkgdir"/usr/share/gdb/python/auto-load/usr/$gdblib/ + done + fi + + # move ada runtime libs + if $LANG_ADA; then + for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 -name "libgna*.so"); do + mv "$i" "$pkgdir"/usr/lib/ + ln -s ../../../../${i##*/} $i + done + for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 -name "libgna*.a"); do + mv "$i" "$pkgdir"/usr/lib/ + ln -s ../../../../${i##*/} $i + done + fi + + if [ "$CHOST" != "$CTARGET" ]; then + # cross-gcc: remove any files that would conflict with the + # native gcc package + rm -rf "$pkgdir"/usr/bin/cc "$pkgdir"/usr/include "${pkgdir:?}"/usr/share + # libcc1 does not depend on target, don't ship it + rm -rf "$pkgdir"/usr/lib/libcc1.so* + + # fixup gcc library symlinks to be linker scripts so + # linker finds the libs from relocated sysroot + for so in "$pkgdir"/usr/"$CTARGET"/lib/*.so; do + if [ -h "$so" ]; then + local _real=$(basename "$(readlink "$so")") + rm -f "$so" + echo "GROUP ($_real)" > "$so" + fi + done + else + # add c89/c99 wrapper scripts + cat >"$pkgdir"/usr/bin/c89 <<'EOF' +#!/bin/sh +_flavor="-std=c89" +for opt; do + case "$opt" in + -ansi|-std=c89|-std=iso9899:1990) _flavor="";; + -std=*) echo "$(basename $0) called with non ANSI/ISO C option $opt" >&2 + exit 1;; + esac +done +exec gcc $_flavor ${1+"$@"} +EOF + cat >"$pkgdir"/usr/bin/c99 <<'EOF' +#!/bin/sh +_flavor="-std=c99" +for opt; do + case "$opt" in + -std=c99|-std=iso9899:1999) _flavor="";; + -std=*) echo "$(basename $0) called with non ISO C99 option $opt" >&2 + exit 1;; + esac +done +exec gcc $_flavor ${1+"$@"} +EOF + chmod 755 "$pkgdir"/usr/bin/c?9 + + # install lto plugin so regular binutils may use it + mkdir -p "$pkgdir"/usr/lib/bfd-plugins + ln -s /$_gcclibexec/liblto_plugin.so "$pkgdir/usr/lib/bfd-plugins/" + fi +} + +libatomic() { + pkgdesc="GCC Atomic library" + depends= + replaces="gcc" + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/libatomic.so.* "$subpkgdir"/usr/lib/ +} + +libcxx() { + pkgdesc="GNU C++ standard runtime library" + depends= + + if [ "$CHOST" = "$CTARGET" ]; then + # verify that we are using clock_gettime rather than doing direct syscalls + # so we dont break 32 bit arches due to time64. + nm -D "$pkgdir"/usr/lib/libstdc++.so.* | grep clock_gettime + fi + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/libstdc++.so.* "$subpkgdir"/usr/lib/ +} + +gpp() { + pkgdesc="GNU C++ standard library and compiler" + depends="libstdc++=$_gccrel gcc=$_gccrel libc-dev" + mkdir -p "$subpkgdir/$_gcclibexec" \ + "$subpkgdir"/usr/bin \ + "$subpkgdir"/usr/${_target:+$CTARGET/}include \ + "$subpkgdir"/usr/${_target:+$CTARGET/}lib \ + + mv "$pkgdir/$_gcclibexec/cc1plus" "$subpkgdir/$_gcclibexec/" + + mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/*++* "$subpkgdir"/usr/${_target:+$CTARGET/}lib/ + mv "$pkgdir"/usr/${_target:+$CTARGET/}include/c++ "$subpkgdir"/usr/${_target:+$CTARGET/}include/ + mv "$pkgdir"/usr/bin/*++ "$subpkgdir"/usr/bin/ +} + +libobjc() { + pkgdesc="GNU Objective-C runtime" + replaces="objc" + depends= + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/libobjc.so.* "$subpkgdir"/usr/lib/ +} + +objc() { + pkgdesc="GNU Objective-C" + replaces="gcc" + depends="libc-dev gcc=$_gccrel libobjc=$_gccrel" + + mkdir -p "$subpkgdir/$_gcclibexec" \ + "$subpkgdir"/$_gcclibdir/include \ + "$subpkgdir"/usr/lib + mv "$pkgdir/$_gcclibexec/cc1obj" "$subpkgdir/$_gcclibexec/" + mv "$pkgdir"/$_gcclibdir/include/objc "$subpkgdir"/$_gcclibdir/include/ + mv "$pkgdir"/usr/lib/libobjc.so "$pkgdir"/usr/lib/libobjc.a \ + "$subpkgdir"/usr/lib/ +} + +libgcc() { + pkgdesc="GNU C compiler runtime libraries" + depends= + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/libgcc_s.so.* "$subpkgdir"/usr/lib/ +} + +libgomp() { + pkgdesc="GCC shared-memory parallel programming API library" + depends= + replaces="gcc" + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/libgomp.so.* "$subpkgdir"/usr/lib/ +} + +libgphobos() { + pkgdesc="D programming language standard library for GCC" + depends= + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libgdruntime.so.* "$subpkgdir"/usr/lib/ + mv "$pkgdir"/usr/lib/libgphobos.so.* "$subpkgdir"/usr/lib/ +} + +gdc() { + pkgdesc="GCC-based D language compiler" + depends="gcc=$_gccrel libgphobos=$_gccrel musl-dev" + depends="$depends libucontext-dev" + + mkdir -p "$subpkgdir/$_gcclibexec" \ + "$subpkgdir"/$_gcclibdir/include/d/ \ + "$subpkgdir"/usr/lib \ + "$subpkgdir"/usr/bin + # Copy: The installed '.d' files, the static lib, the binary itself + # The shared libs are part of 'libgphobos' so one can run program + # without installing the compiler + mv "$pkgdir/$_gcclibexec/d21" "$subpkgdir/$_gcclibexec/" + mv "$pkgdir"/$_gcclibdir/include/d/* "$subpkgdir"/$_gcclibdir/include/d/ + mv "$pkgdir"/usr/lib/libgdruntime.a "$subpkgdir"/usr/lib/ + mv "$pkgdir"/usr/lib/libgphobos.a "$subpkgdir"/usr/lib/ + mv "$pkgdir"/usr/lib/libgphobos.spec "$subpkgdir"/usr/lib/ + mv "$pkgdir"/usr/bin/$CTARGET-gdc "$subpkgdir"/usr/bin/ + mv "$pkgdir"/usr/bin/gdc "$subpkgdir"/usr/bin/ +} + + +libgo() { + pkgdesc="Go runtime library for GCC" + depends= + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libgo.so.* "$subpkgdir"/usr/lib/ +} + +go() { + pkgdesc="Go support for GCC" + depends="gcc=$_gccrel libgo=$_gccrel !go" + + mkdir -p "$subpkgdir"/$_gcclibexec \ + "$subpkgdir"/usr/lib \ + "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/lib/go "$subpkgdir"/usr/lib/ + mv "$pkgdir"/usr/bin/*gccgo "$subpkgdir"/usr/bin/ + mv "$pkgdir"/usr/bin/*go "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/*gofmt "$subpkgdir"/usr/bin + mv "$pkgdir"/$_gcclibexec/go1 "$subpkgdir"/$_gcclibexec/ + mv "$pkgdir"/$_gcclibexec/cgo "$subpkgdir"/$_gcclibexec/ + mv "$pkgdir"/$_gcclibexec/buildid "$subpkgdir"/$_gcclibexec/ + mv "$pkgdir"/$_gcclibexec/test2json "$subpkgdir"/$_gcclibexec/ + mv "$pkgdir"/$_gcclibexec/vet "$subpkgdir"/$_gcclibexec/ + mv "$pkgdir"/usr/lib/libgo.a \ + "$pkgdir"/usr/lib/libgo.so \ + "$pkgdir"/usr/lib/libgobegin.a \ + "$pkgdir"/usr/lib/libgolibbegin.a \ + "$subpkgdir"/usr/lib/ +} + +libgfortran() { + pkgdesc="Fortran runtime library for GCC" + depends= + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libgfortran.so.* "$subpkgdir"/usr/lib/ +} + +libquadmath() { + replaces="gcc" + pkgdesc="128-bit math library for GCC" + depends= + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libquadmath.so.* "$subpkgdir"/usr/lib/ +} + +gfortran() { + pkgdesc="GNU Fortran Compiler" + depends="gcc=$_gccrel libgfortran=$_gccrel" + $_libquadmath && depends="$depends libquadmath=$_gccrel" + replaces="gcc" + + mkdir -p "$subpkgdir"/$_gcclibexec \ + "$subpkgdir"/$_gcclibdir \ + "$subpkgdir"/usr/lib \ + "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/*gfortran "$subpkgdir"/usr/bin/ + mv "$pkgdir"/usr/lib/libgfortran.a \ + "$pkgdir"/usr/lib/libgfortran.so \ + "$subpkgdir"/usr/lib/ + if $_libquadmath; then + mv "$pkgdir"/usr/lib/libquadmath.a \ + "$pkgdir"/usr/lib/libquadmath.so \ + "$subpkgdir"/usr/lib/ + fi + mv "$pkgdir"/$_gcclibdir/finclude "$subpkgdir"/$_gcclibdir/ + mv "$pkgdir"/$_gcclibexec/f951 "$subpkgdir"/$_gcclibexec + mv "$pkgdir"/usr/lib/libgfortran.spec "$subpkgdir"/$_gcclibdir +} + +libgnat() { + pkgdesc="GNU Ada runtime shared libraries" + depends= + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libgna*.so "$subpkgdir"/usr/lib/ +} + +libgnatstatic() { + pkgdesc="GNU Ada static libraries" + depends= + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libgna*.a "$subpkgdir"/usr/lib/ +} + +gnat() { + pkgdesc="Ada support for GCC" + depends="gcc=$_gccrel" + provides="$pkgname-gnat-bootstrap" + [ "$CHOST" = "$CTARGET" ] && depends="$depends libgnat=$_gccrel" + + mkdir -p "$subpkgdir"/$_gcclibexec \ + "$subpkgdir"/$_gcclibdir \ + "$subpkgdir"/usr/bin + mv "$pkgdir"/$_gcclibexec/*gnat* "$subpkgdir"/$_gcclibexec/ + mv "$pkgdir"/$_gcclibdir/*ada* "$subpkgdir"/$_gcclibdir/ + mv "$pkgdir"/usr/bin/*gnat* "$subpkgdir"/usr/bin/ +} + +sha512sums="0ef281e6633b8bef7ce24d1448ec7b96aef66e414f90821a9a021dcd98eca8895d217d9d95b70fd9c96113689cd026aec951edc356462e439a9350edb4009df6 gcc-10.3.1_git20210424.tar.xz +d1e10db83a04c02d99f9f6ce03f949b83ccd013674773dcb08992c604048df6a08bf9bd16f74e3c60ea85fd861fb08c1fa9fe17c304af9bfc9a032b81f1ac9eb 0001-posix_memalign.patch +a77c7ebd994b5780cc5209f33ace24fc4d04353638dcdb14af192b0be5b0e5be397218ddba40e577af889a267af1aa69c1def474207a6661a37c3f5c15002bcb 0002-gcc-poison-system-directories.patch +108ad63f61e61f627a75613605962021c08bbde584f3c0507d6a07c6112487847ce89699d1d80efb9201c4eab3440ba66f2eeb781bd259fdfc9c87b3baee1e27 0003-Turn-on-Wl-z-relro-z-now-by-default.patch +dc28895223fe7ce531648225da3cd15e20c26a9be0248fdd66f11efb153647776bdbe8109097d87a087c4443e809a0d425848bdeae1442135c52a13bdd06ef75 0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch +ce7a5f243072284e767510083c57250dd5f1dcdcae102cf1ecbb06f36ea286b00b1f84dc32e5fdb76bac77b52ef3e4e650cff7cc0d14d94487a40ca9d5605bbd 0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch +f5458adfd23f51fa54fb690ec322552d7cadc3afa5773e13e73832c56832854ff14a73ff480c9990731ce929c5a4df35bc20247239268221b9af40ba37331228 0006-Enable-Wformat-and-Wformat-security-by-default.patch +2601b0de5fe402cdd9a3d87c2a3e959154c2ee413989db21fbc232f169b20d94807a1f89ff5ebb650a143d59b4b48187b338832d8de577fa47bfdd1b76313114 0007-Enable-Wtrampolines-by-default.patch +3eedfe70c85d963845a658444d8692792a34af8b5e0fa800991bf1e0e2c9ff3196c50f11a284cfaca5d48b4c78b614febf38339918c7fa7a7f4723a1f6bdad16 0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch +6a4b6843cb27b560ac4327b17718806bac4b602903f696222617148a52e9918144648cc45642293beb7c8fd48eba325c115e1dcaa4adec85e1caff0ea33d2a8a 0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch +af174250b4fbcc3664bed51d919695511b538f2f3b65532383591f511bede3d13a1ade29aea66598d6df17f2e931a2d171f01c4e7008b4f468cfb13dc5f2b4cf 0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch +aabac76659e3fa96fa7b4ee2571672c840c3dd37314f16516038d3934333a42b20442a967afce5a35a326685c3c8ef384fc97dc8f4dae57479038f5431e33c19 0011-libiberty-copy-PIC-objects-during-build-process.patch +36702acf0c9b34adb0b23b74167e5358c706246cc88ce569d4462555bb48288d5d633298aa447ef023c6f75de86dfa7d4ebbf3c43593e1279837ebd47061be0f 0012-libitm-disable-FORTIFY.patch +79912633ee707c60c66abf6ee16159db3357e4e75d4254f7f38cbc0119c2adfcfa2b8c6b1df3885526d68e49f88e2a0c87969a784ed8a1025a680a4f18acd06c 0013-libgcc_s.patch +c8c6f4e967afb5d4a9eccd917f6338a61547cc2fabbf56b25e27220b4f3c85f5002477bf2f9d05a911185cee8dcba3a12d3ad24c0d7b1d3b67a3a53bfea702c6 0014-nopie.patch +d8d8556a6192d7695e1aeb1e64bf98a02b068c427442dd9c23d2b9a863c504e577f35e0890b5f0a184c687ce9315cecff3d2e0bb82f19531a493efb72b54cfe7 0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch +b3fb29187561fef84b6eb0b35a582c79833203f689e5bf884146cd9a71ec407e0e3b27b0bd4953143d00879ce32331e92741e1c7229ca291ebf13dfd8f5d409c 0016-dlang-update-zlib-binding.patch +2a03683d5e00cc65f8ebc83638953dff89981069943169874df03f4f3a22348b960780250d9240505acf5b1bfbe154d57d14f310f29a94b76404f50611da9000 0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch +3df60839e5337fccdd228ebf753fb0dbf672aefca5f3f16329b99c813b907f44e1ce4948ce7f692dca316eb307b83ae9f5028cf1875eb3c9fee85b2dee7bfe83 0018-ada-fix-shared-linking.patch +bd60be22341b508b4b5cb66eb48723d0f48770745352c60cfe146efa4d18ec58cccbb37f85b98dc0432e52bb5dc8dc1f28b3a3ca50d1ca6db68eb38df970e5aa 0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch +333f9c7a1935dc4f29783fa31c254bda6339c30ee770eb30d585ac422cd0f69701b5d988f9493471e4c83cf20937050f33320852a83ed6dfb2e739ee3539ca0e 0020-add-fortify-headers-paths.patch +053b0339936cc0469e8708ccc086fa1dabe8572199530e1e78a93551340dd35467a07273e19d2cbc7fe915b7a5bdf95c128718ba0518b67b9668ef0316b7aa06 0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch +7b3d849cdbdee5855918db4114de8f989ec5d612cddc7551eb63ca2878e69e3566353bbfafa9205a161ffd51c5aedd367de6ad82cd5ebf6cb28c716a8d447bb5 0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch +6b3c0fa81cebaf32948657bddaac99024f45c2fc19ac8bc504f3773b6458099b9907e310e162952973bdd41c9fc011e7a50bc8fa86cc0ebec9dd4c69830a012b 0023-Pure-64-bit-MIPS.patch +da634721fa9cba18e4f527b2cdbe6896c0251ce43865c6fbf29a7281d766c3a8f98e2ddd345b801c25b7ceb85880150ae9cc422aa8891b1fc28a3dc40bcd3114 0024-use-pure-64-bit-configuration-where-appropriate.patch +64b58a273993224f93c68cddfacc1b3da6b0900b2983f27f8db39b4375afa97cce564739c8fc320666821f6de526e54acbc4920c7e16612303b3d25aed34d5f1 0025-always-build-libgcc_eh.a.patch +6004be7d683993c175f819e1d62767b6ca2b80643917bb584ffffe2aee9fd5ad9745f91651ad5d1d00aed390e7346262b5c28bec356efd9ff1c85e4b54bcfe2e 0026-ada-libgnarl-compatibility-for-musl.patch +7a3ce107cc55356ac46f3a217eea1cf9cdddd43fd3fede048a26e5da2280f0af9f806392942d2896a0f841ca0b0b0eaceb4e20f09edee7a743b515d3553fc8b3 0027-ada-musl-support-fixes.patch +0cd8303456ec5479942970679352fe8bcd259b8b04bffba458545abdfac87163a8fb8e55c3aa505c516af8fd0a1bfb5f2ee4c6027ec9bcb0b0d3564469a18e23 0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch +6cc82829bb8bf8ffb473e4f2f9c2f657a4078290fc7c3208d199c0b07c2c3a7575a0c423e52fc02fd96c81158ab2e7ad33ccb651523ba80e00dee9e503d19c6d 0029-gcc-go-Don-t-include-sys-user.h.patch +868e0cf5d32412c557d7835e03eb23621745179e77c87d69b810f8ec968cf80606cb5cb8085e5e125f08e809d5e3ff50c4de869d94caca5f4257669237a29b92 0030-gcc-go-Fix-ucontext_t-on-PPC64.patch +257814e2dc39bf01dedc3efe9f50029bdc230e112a0e739d0547896212b87bcdb9d40d4632a237137c91e2d9605b2256ebd45ee005920a5c4e401e699ce69f46 0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch +0e33205e6ef0b58d12eb80d3fd6ce7361e9e3a86ba2ae781745133be1f0fea6a1e95fd58331765f6bb599f4ad355224c954db4fbaf804b9e4c0ea01dbaae1638 0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch +bb1e3bbea65644435134910e04b8d4de27642026371b19f4faf51b90e32af08e7181b3198e936b3626cba2126f8f9182ce39f6b8c8849b6b27f56a1c45e4f8c5 0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch +0758417ab682ee6d4b75f1ba2d0c1f568e115a16625eb664066c1862178a43ae717396c5d61a355a08fc01929041abebbf33bc58176a0b78ab384aba7d2ed8ba 0034-gcc-go-signal-34-is-special-on-musl-libc.patch +d0b132d1bb9a455af23829a9da4ff89c27eff3f642e2280712667753d552fc214424470cad4cecd0ae39052553b6a22d7dc7a20eebfd1cb976d98552b00b9dcd 0035-gcc-go-Prefer-_off_t-over-_off64_t.patch +a21844975ff13317ed7985b5f5b257a0bc1dd961360b6a6f36bf52151b8edf5ecf38fbdd47cb2c28c13ed3dfbf4ca112d91d81373fd3e2c5992aba35296645af 0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch +0217263fc1fcfbde92fcebfc626b2cf0ba30e704b4fbe5a11f55d9ca5b579cceac3ba9ec45e7f53cd8805678b69fb6e5ab1295e67938b9c83f82e44ddebd0a85 0037-gcc-go-link-to-libucontext.patch +8a90ce84d493bfcdcad4cb1a02a320dca18e8178e717451087501b059ca00ab8f6b73d628bcb3f49c5c6702b7222b063d3c0803d093e2c6f58820b6aa578969e 0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch +a3e7362fa95d5ffa56b0d8ea73f6f8e867409ae3b85d041aa0591dba093c5bb1d30f3294151c5142e8d1df91f4d138e9f4484009b8a675c8fc3b754a34c7648e 0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch +dc7a8f6dc885dc34229128a716531b375ec4e8247a8522adb623c5a6b39db60ff471436b360a25f0310ee16fe1a6ec85ff64398cbae2677534626972ac01db22 0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch +046bfe95d6de9df148e6c410b5d23a49c488ab41d95e599fc381a2b7d190e6d7d99de59fa8cd8c3a711ee2310426f3cdcd323cf887c8d11543e119d205659b6a 0041-Use-generic-errstr.go-implementation-on-musl.patch" diff --git a/tests/packagedcode/data/bashparse/APKBUILD-gcc.sh-expected.json b/tests/packagedcode/data/bashparse/APKBUILD-gcc.sh-expected.json new file mode 100644 index 00000000000..7c9cecd669b --- /dev/null +++ b/tests/packagedcode/data/bashparse/APKBUILD-gcc.sh-expected.json @@ -0,0 +1,44 @@ +[ + { + "pkgname": "gcc$_target", + "_pkgbase": "10.3.1", + "pkgver": "10.3.1_git20210424", + "pkgrel": "2", + "pkgdesc": "The GNU Compiler Collection", + "url": "https://gcc.gnu.org", + "arch": "all", + "license": "GPL-2.0-or-later LGPL-2.1-or-later", + "_gccrel": "10.3.1_git20210424-r2", + "depends": "binutils$_target", + "makedepends_build": "gcc$_cross g++$_cross bison flex texinfo gawk zip gmp-dev mpfr-dev mpc1-dev zlib-dev", + "makedepends_host": "linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev !gettext-dev libucontext-dev", + "subpackages": " ", + "replaces": "libstdc++ binutils", + "_libgomp": "true", + "_libgcc": "true", + "_libatomic": "true", + "_libitm": "true", + "_libquadmath": "$LANG_FORTRAN", + "LANG_ADA": "false;;", + "_languages": "c", + "makedepends": "gcc$_cross g++$_cross bison flex texinfo gawk zip gmp-dev mpfr-dev mpc1-dev zlib-dev linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev !gettext-dev libucontext-dev", + "source": "https://dev.alpinelinux.org/~nenolod/gcc-10.3.1_git20210424.tar.xz\n\t0001-posix_memalign.patch\n\t0002-gcc-poison-system-directories.patch\n\t0003-Turn-on-Wl-z-relro-z-now-by-default.patch\n\t0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch\n\t0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch\n\t0006-Enable-Wformat-and-Wformat-security-by-default.patch\n\t0007-Enable-Wtrampolines-by-default.patch\n\t0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch\n\t0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch\n\t0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch\n\t0011-libiberty-copy-PIC-objects-during-build-process.patch\n\t0012-libitm-disable-FORTIFY.patch\n\t0013-libgcc_s.patch\n\t0014-nopie.patch\n\t0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch\n\t0016-dlang-update-zlib-binding.patch\n\t0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch\n\t0018-ada-fix-shared-linking.patch\n\t0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch\n\t0020-add-fortify-headers-paths.patch\n\t0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch\n\t0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch\n\t0023-Pure-64-bit-MIPS.patch\n\t0024-use-pure-64-bit-configuration-where-appropriate.patch\n\t0025-always-build-libgcc_eh.a.patch\n\t0026-ada-libgnarl-compatibility-for-musl.patch\n\t0027-ada-musl-support-fixes.patch\n\t0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch\n\t0029-gcc-go-Don-t-include-sys-user.h.patch\n\t0030-gcc-go-Fix-ucontext_t-on-PPC64.patch\n\t0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch\n\t0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch\n\t0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch\n\t0034-gcc-go-signal-34-is-special-on-musl-libc.patch\n\t0035-gcc-go-Prefer-_off_t-over-_off64_t.patch\n\t0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch\n\t0037-gcc-go-link-to-libucontext.patch\n\t0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch\n\t0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch\n\t0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch\n\t0041-Use-generic-errstr.go-implementation-on-musl.patch\n\t", + "_gccdir": "$srcdir", + "_gcclibdir": "/usr/lib/gcc/$CTARGET/10.3.1", + "_gcclibexec": "/usr/libexec/gcc/$CTARGET/10.3.1", + "_flavor": "-std=c99", + "sha512sums": "0ef281e6633b8bef7ce24d1448ec7b96aef66e414f90821a9a021dcd98eca8895d217d9d95b70fd9c96113689cd026aec951edc356462e439a9350edb4009df6 gcc-10.3.1_git20210424.tar.xz\nd1e10db83a04c02d99f9f6ce03f949b83ccd013674773dcb08992c604048df6a08bf9bd16f74e3c60ea85fd861fb08c1fa9fe17c304af9bfc9a032b81f1ac9eb 0001-posix_memalign.patch\na77c7ebd994b5780cc5209f33ace24fc4d04353638dcdb14af192b0be5b0e5be397218ddba40e577af889a267af1aa69c1def474207a6661a37c3f5c15002bcb 0002-gcc-poison-system-directories.patch\n108ad63f61e61f627a75613605962021c08bbde584f3c0507d6a07c6112487847ce89699d1d80efb9201c4eab3440ba66f2eeb781bd259fdfc9c87b3baee1e27 0003-Turn-on-Wl-z-relro-z-now-by-default.patch\ndc28895223fe7ce531648225da3cd15e20c26a9be0248fdd66f11efb153647776bdbe8109097d87a087c4443e809a0d425848bdeae1442135c52a13bdd06ef75 0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch\nce7a5f243072284e767510083c57250dd5f1dcdcae102cf1ecbb06f36ea286b00b1f84dc32e5fdb76bac77b52ef3e4e650cff7cc0d14d94487a40ca9d5605bbd 0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch\nf5458adfd23f51fa54fb690ec322552d7cadc3afa5773e13e73832c56832854ff14a73ff480c9990731ce929c5a4df35bc20247239268221b9af40ba37331228 0006-Enable-Wformat-and-Wformat-security-by-default.patch\n2601b0de5fe402cdd9a3d87c2a3e959154c2ee413989db21fbc232f169b20d94807a1f89ff5ebb650a143d59b4b48187b338832d8de577fa47bfdd1b76313114 0007-Enable-Wtrampolines-by-default.patch\n3eedfe70c85d963845a658444d8692792a34af8b5e0fa800991bf1e0e2c9ff3196c50f11a284cfaca5d48b4c78b614febf38339918c7fa7a7f4723a1f6bdad16 0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch\n6a4b6843cb27b560ac4327b17718806bac4b602903f696222617148a52e9918144648cc45642293beb7c8fd48eba325c115e1dcaa4adec85e1caff0ea33d2a8a 0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch\naf174250b4fbcc3664bed51d919695511b538f2f3b65532383591f511bede3d13a1ade29aea66598d6df17f2e931a2d171f01c4e7008b4f468cfb13dc5f2b4cf 0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch\naabac76659e3fa96fa7b4ee2571672c840c3dd37314f16516038d3934333a42b20442a967afce5a35a326685c3c8ef384fc97dc8f4dae57479038f5431e33c19 0011-libiberty-copy-PIC-objects-during-build-process.patch\n36702acf0c9b34adb0b23b74167e5358c706246cc88ce569d4462555bb48288d5d633298aa447ef023c6f75de86dfa7d4ebbf3c43593e1279837ebd47061be0f 0012-libitm-disable-FORTIFY.patch\n79912633ee707c60c66abf6ee16159db3357e4e75d4254f7f38cbc0119c2adfcfa2b8c6b1df3885526d68e49f88e2a0c87969a784ed8a1025a680a4f18acd06c 0013-libgcc_s.patch\nc8c6f4e967afb5d4a9eccd917f6338a61547cc2fabbf56b25e27220b4f3c85f5002477bf2f9d05a911185cee8dcba3a12d3ad24c0d7b1d3b67a3a53bfea702c6 0014-nopie.patch\nd8d8556a6192d7695e1aeb1e64bf98a02b068c427442dd9c23d2b9a863c504e577f35e0890b5f0a184c687ce9315cecff3d2e0bb82f19531a493efb72b54cfe7 0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch\nb3fb29187561fef84b6eb0b35a582c79833203f689e5bf884146cd9a71ec407e0e3b27b0bd4953143d00879ce32331e92741e1c7229ca291ebf13dfd8f5d409c 0016-dlang-update-zlib-binding.patch\n2a03683d5e00cc65f8ebc83638953dff89981069943169874df03f4f3a22348b960780250d9240505acf5b1bfbe154d57d14f310f29a94b76404f50611da9000 0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch\n3df60839e5337fccdd228ebf753fb0dbf672aefca5f3f16329b99c813b907f44e1ce4948ce7f692dca316eb307b83ae9f5028cf1875eb3c9fee85b2dee7bfe83 0018-ada-fix-shared-linking.patch\nbd60be22341b508b4b5cb66eb48723d0f48770745352c60cfe146efa4d18ec58cccbb37f85b98dc0432e52bb5dc8dc1f28b3a3ca50d1ca6db68eb38df970e5aa 0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch\n333f9c7a1935dc4f29783fa31c254bda6339c30ee770eb30d585ac422cd0f69701b5d988f9493471e4c83cf20937050f33320852a83ed6dfb2e739ee3539ca0e 0020-add-fortify-headers-paths.patch\n053b0339936cc0469e8708ccc086fa1dabe8572199530e1e78a93551340dd35467a07273e19d2cbc7fe915b7a5bdf95c128718ba0518b67b9668ef0316b7aa06 0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch\n7b3d849cdbdee5855918db4114de8f989ec5d612cddc7551eb63ca2878e69e3566353bbfafa9205a161ffd51c5aedd367de6ad82cd5ebf6cb28c716a8d447bb5 0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch\n6b3c0fa81cebaf32948657bddaac99024f45c2fc19ac8bc504f3773b6458099b9907e310e162952973bdd41c9fc011e7a50bc8fa86cc0ebec9dd4c69830a012b 0023-Pure-64-bit-MIPS.patch\nda634721fa9cba18e4f527b2cdbe6896c0251ce43865c6fbf29a7281d766c3a8f98e2ddd345b801c25b7ceb85880150ae9cc422aa8891b1fc28a3dc40bcd3114 0024-use-pure-64-bit-configuration-where-appropriate.patch\n64b58a273993224f93c68cddfacc1b3da6b0900b2983f27f8db39b4375afa97cce564739c8fc320666821f6de526e54acbc4920c7e16612303b3d25aed34d5f1 0025-always-build-libgcc_eh.a.patch\n6004be7d683993c175f819e1d62767b6ca2b80643917bb584ffffe2aee9fd5ad9745f91651ad5d1d00aed390e7346262b5c28bec356efd9ff1c85e4b54bcfe2e 0026-ada-libgnarl-compatibility-for-musl.patch\n7a3ce107cc55356ac46f3a217eea1cf9cdddd43fd3fede048a26e5da2280f0af9f806392942d2896a0f841ca0b0b0eaceb4e20f09edee7a743b515d3553fc8b3 0027-ada-musl-support-fixes.patch\n0cd8303456ec5479942970679352fe8bcd259b8b04bffba458545abdfac87163a8fb8e55c3aa505c516af8fd0a1bfb5f2ee4c6027ec9bcb0b0d3564469a18e23 0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch\n6cc82829bb8bf8ffb473e4f2f9c2f657a4078290fc7c3208d199c0b07c2c3a7575a0c423e52fc02fd96c81158ab2e7ad33ccb651523ba80e00dee9e503d19c6d 0029-gcc-go-Don-t-include-sys-user.h.patch\n868e0cf5d32412c557d7835e03eb23621745179e77c87d69b810f8ec968cf80606cb5cb8085e5e125f08e809d5e3ff50c4de869d94caca5f4257669237a29b92 0030-gcc-go-Fix-ucontext_t-on-PPC64.patch\n257814e2dc39bf01dedc3efe9f50029bdc230e112a0e739d0547896212b87bcdb9d40d4632a237137c91e2d9605b2256ebd45ee005920a5c4e401e699ce69f46 0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch\n0e33205e6ef0b58d12eb80d3fd6ce7361e9e3a86ba2ae781745133be1f0fea6a1e95fd58331765f6bb599f4ad355224c954db4fbaf804b9e4c0ea01dbaae1638 0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch\nbb1e3bbea65644435134910e04b8d4de27642026371b19f4faf51b90e32af08e7181b3198e936b3626cba2126f8f9182ce39f6b8c8849b6b27f56a1c45e4f8c5 0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch\n0758417ab682ee6d4b75f1ba2d0c1f568e115a16625eb664066c1862178a43ae717396c5d61a355a08fc01929041abebbf33bc58176a0b78ab384aba7d2ed8ba 0034-gcc-go-signal-34-is-special-on-musl-libc.patch\nd0b132d1bb9a455af23829a9da4ff89c27eff3f642e2280712667753d552fc214424470cad4cecd0ae39052553b6a22d7dc7a20eebfd1cb976d98552b00b9dcd 0035-gcc-go-Prefer-_off_t-over-_off64_t.patch\na21844975ff13317ed7985b5f5b257a0bc1dd961360b6a6f36bf52151b8edf5ecf38fbdd47cb2c28c13ed3dfbf4ca112d91d81373fd3e2c5992aba35296645af 0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch\n0217263fc1fcfbde92fcebfc626b2cf0ba30e704b4fbe5a11f55d9ca5b579cceac3ba9ec45e7f53cd8805678b69fb6e5ab1295e67938b9c83f82e44ddebd0a85 0037-gcc-go-link-to-libucontext.patch\n8a90ce84d493bfcdcad4cb1a02a320dca18e8178e717451087501b059ca00ab8f6b73d628bcb3f49c5c6702b7222b063d3c0803d093e2c6f58820b6aa578969e 0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch\na3e7362fa95d5ffa56b0d8ea73f6f8e867409ae3b85d041aa0591dba093c5bb1d30f3294151c5142e8d1df91f4d138e9f4484009b8a675c8fc3b754a34c7648e 0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch\ndc7a8f6dc885dc34229128a716531b375ec4e8247a8522adb623c5a6b39db60ff471436b360a25f0310ee16fe1a6ec85ff64398cbae2677534626972ac01db22 0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch\n046bfe95d6de9df148e6c410b5d23a49c488ab41d95e599fc381a2b7d190e6d7d99de59fa8cd8c3a711ee2310426f3cdcd323cf887c8d11543e119d205659b6a 0041-Use-generic-errstr.go-implementation-on-musl.patch" + }, + [ + "Duplicate variable name: 'pkgname' value: '$pkgname$_target' existing value: 'gcc'", + "Duplicate variable name: '_flavor' value: '-std=c99' existing value: '-std=c89'", + "Partially resolved variable: ShellVariable(name='pkgname', value='gcc$_target') envt: {'pkgname': 'gcc$_target', '_pkgbase': '10.3.1', 'pkgver': '10.3.1_git20210424'}", + "Partially resolved variable: ShellVariable(name='depends', value='binutils$_target') envt: {'pkgname': 'gcc$_target', '_pkgbase': '10.3.1', 'pkgver': '10.3.1_git20210424', 'pkgrel': '2', 'pkgdesc': 'The GNU Compiler Collection', 'url': 'https://gcc.gnu.org', 'arch': 'all', 'license': 'GPL-2.0-or-later LGPL-2.1-or-later', '_gccrel': '10.3.1_git20210424-r2', 'depends': 'binutils$_target'}", + "Partially resolved variable: ShellVariable(name='makedepends_build', value='gcc$_cross g++$_cross bison flex texinfo gawk zip gmp-dev mpfr-dev mpc1-dev zlib-dev') envt: {'pkgname': 'gcc$_target', '_pkgbase': '10.3.1', 'pkgver': '10.3.1_git20210424', 'pkgrel': '2', 'pkgdesc': 'The GNU Compiler Collection', 'url': 'https://gcc.gnu.org', 'arch': 'all', 'license': 'GPL-2.0-or-later LGPL-2.1-or-later', '_gccrel': '10.3.1_git20210424-r2', 'depends': 'binutils$_target', 'makedepends_build': 'gcc$_cross g++$_cross bison flex texinfo gawk zip gmp-dev mpfr-dev mpc1-dev zlib-dev'}", + "Partially resolved variable: ShellVariable(name='_libquadmath', value='$LANG_FORTRAN') envt: {'pkgname': 'gcc$_target', '_pkgbase': '10.3.1', 'pkgver': '10.3.1_git20210424', 'pkgrel': '2', 'pkgdesc': 'The GNU Compiler Collection', 'url': 'https://gcc.gnu.org', 'arch': 'all', 'license': 'GPL-2.0-or-later LGPL-2.1-or-later', '_gccrel': '10.3.1_git20210424-r2', 'depends': 'binutils$_target', 'makedepends_build': 'gcc$_cross g++$_cross bison flex texinfo gawk zip gmp-dev mpfr-dev mpc1-dev zlib-dev', 'makedepends_host': 'linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev !gettext-dev libucontext-dev', 'subpackages': ' ', 'replaces': 'libstdc++ binutils', '_libgomp': 'true', '_libgcc': 'true', '_libatomic': 'true', '_libitm': 'true', '_libquadmath': '$LANG_FORTRAN'}", + "Partially resolved variable: ShellVariable(name='makedepends', value='gcc$_cross g++$_cross bison flex texinfo gawk zip gmp-dev mpfr-dev mpc1-dev zlib-dev linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev !gettext-dev libucontext-dev') envt: {'pkgname': 'gcc$_target', '_pkgbase': '10.3.1', 'pkgver': '10.3.1_git20210424', 'pkgrel': '2', 'pkgdesc': 'The GNU Compiler Collection', 'url': 'https://gcc.gnu.org', 'arch': 'all', 'license': 'GPL-2.0-or-later LGPL-2.1-or-later', '_gccrel': '10.3.1_git20210424-r2', 'depends': 'binutils$_target', 'makedepends_build': 'gcc$_cross g++$_cross bison flex texinfo gawk zip gmp-dev mpfr-dev mpc1-dev zlib-dev', 'makedepends_host': 'linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev !gettext-dev libucontext-dev', 'subpackages': ' ', 'replaces': 'libstdc++ binutils', '_libgomp': 'true', '_libgcc': 'true', '_libatomic': 'true', '_libitm': 'true', '_libquadmath': '$LANG_FORTRAN', 'LANG_ADA': 'false;;', '_languages': 'c', 'makedepends': 'gcc$_cross g++$_cross bison flex texinfo gawk zip gmp-dev mpfr-dev mpc1-dev zlib-dev linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev !gettext-dev libucontext-dev'}", + "Partially resolved variable: ShellVariable(name='_gccdir', value='$srcdir') envt: {'pkgname': 'gcc$_target', '_pkgbase': '10.3.1', 'pkgver': '10.3.1_git20210424', 'pkgrel': '2', 'pkgdesc': 'The GNU Compiler Collection', 'url': 'https://gcc.gnu.org', 'arch': 'all', 'license': 'GPL-2.0-or-later LGPL-2.1-or-later', '_gccrel': '10.3.1_git20210424-r2', 'depends': 'binutils$_target', 'makedepends_build': 'gcc$_cross g++$_cross bison flex texinfo gawk zip gmp-dev mpfr-dev mpc1-dev zlib-dev', 'makedepends_host': 'linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev !gettext-dev libucontext-dev', 'subpackages': ' ', 'replaces': 'libstdc++ binutils', '_libgomp': 'true', '_libgcc': 'true', '_libatomic': 'true', '_libitm': 'true', '_libquadmath': '$LANG_FORTRAN', 'LANG_ADA': 'false;;', '_languages': 'c', 'makedepends': 'gcc$_cross g++$_cross bison flex texinfo gawk zip gmp-dev mpfr-dev mpc1-dev zlib-dev linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev !gettext-dev libucontext-dev', 'source': 'https://dev.alpinelinux.org/~nenolod/gcc-10.3.1_git20210424.tar.xz\\n\\t0001-posix_memalign.patch\\n\\t0002-gcc-poison-system-directories.patch\\n\\t0003-Turn-on-Wl-z-relro-z-now-by-default.patch\\n\\t0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch\\n\\t0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch\\n\\t0006-Enable-Wformat-and-Wformat-security-by-default.patch\\n\\t0007-Enable-Wtrampolines-by-default.patch\\n\\t0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch\\n\\t0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch\\n\\t0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch\\n\\t0011-libiberty-copy-PIC-objects-during-build-process.patch\\n\\t0012-libitm-disable-FORTIFY.patch\\n\\t0013-libgcc_s.patch\\n\\t0014-nopie.patch\\n\\t0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch\\n\\t0016-dlang-update-zlib-binding.patch\\n\\t0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch\\n\\t0018-ada-fix-shared-linking.patch\\n\\t0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch\\n\\t0020-add-fortify-headers-paths.patch\\n\\t0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch\\n\\t0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch\\n\\t0023-Pure-64-bit-MIPS.patch\\n\\t0024-use-pure-64-bit-configuration-where-appropriate.patch\\n\\t0025-always-build-libgcc_eh.a.patch\\n\\t0026-ada-libgnarl-compatibility-for-musl.patch\\n\\t0027-ada-musl-support-fixes.patch\\n\\t0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch\\n\\t0029-gcc-go-Don-t-include-sys-user.h.patch\\n\\t0030-gcc-go-Fix-ucontext_t-on-PPC64.patch\\n\\t0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch\\n\\t0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch\\n\\t0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch\\n\\t0034-gcc-go-signal-34-is-special-on-musl-libc.patch\\n\\t0035-gcc-go-Prefer-_off_t-over-_off64_t.patch\\n\\t0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch\\n\\t0037-gcc-go-link-to-libucontext.patch\\n\\t0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch\\n\\t0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch\\n\\t0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch\\n\\t0041-Use-generic-errstr.go-implementation-on-musl.patch\\n\\t', '_gccdir': '$srcdir'}", + "Partially resolved variable: ShellVariable(name='_gcclibdir', value='/usr/lib/gcc/$CTARGET/10.3.1') envt: {'pkgname': 'gcc$_target', '_pkgbase': '10.3.1', 'pkgver': '10.3.1_git20210424', 'pkgrel': '2', 'pkgdesc': 'The GNU Compiler Collection', 'url': 'https://gcc.gnu.org', 'arch': 'all', 'license': 'GPL-2.0-or-later LGPL-2.1-or-later', '_gccrel': '10.3.1_git20210424-r2', 'depends': 'binutils$_target', 'makedepends_build': 'gcc$_cross g++$_cross bison flex texinfo gawk zip gmp-dev mpfr-dev mpc1-dev zlib-dev', 'makedepends_host': 'linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev !gettext-dev libucontext-dev', 'subpackages': ' ', 'replaces': 'libstdc++ binutils', '_libgomp': 'true', '_libgcc': 'true', '_libatomic': 'true', '_libitm': 'true', '_libquadmath': '$LANG_FORTRAN', 'LANG_ADA': 'false;;', '_languages': 'c', 'makedepends': 'gcc$_cross g++$_cross bison flex texinfo gawk zip gmp-dev mpfr-dev mpc1-dev zlib-dev linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev !gettext-dev libucontext-dev', 'source': 'https://dev.alpinelinux.org/~nenolod/gcc-10.3.1_git20210424.tar.xz\\n\\t0001-posix_memalign.patch\\n\\t0002-gcc-poison-system-directories.patch\\n\\t0003-Turn-on-Wl-z-relro-z-now-by-default.patch\\n\\t0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch\\n\\t0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch\\n\\t0006-Enable-Wformat-and-Wformat-security-by-default.patch\\n\\t0007-Enable-Wtrampolines-by-default.patch\\n\\t0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch\\n\\t0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch\\n\\t0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch\\n\\t0011-libiberty-copy-PIC-objects-during-build-process.patch\\n\\t0012-libitm-disable-FORTIFY.patch\\n\\t0013-libgcc_s.patch\\n\\t0014-nopie.patch\\n\\t0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch\\n\\t0016-dlang-update-zlib-binding.patch\\n\\t0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch\\n\\t0018-ada-fix-shared-linking.patch\\n\\t0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch\\n\\t0020-add-fortify-headers-paths.patch\\n\\t0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch\\n\\t0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch\\n\\t0023-Pure-64-bit-MIPS.patch\\n\\t0024-use-pure-64-bit-configuration-where-appropriate.patch\\n\\t0025-always-build-libgcc_eh.a.patch\\n\\t0026-ada-libgnarl-compatibility-for-musl.patch\\n\\t0027-ada-musl-support-fixes.patch\\n\\t0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch\\n\\t0029-gcc-go-Don-t-include-sys-user.h.patch\\n\\t0030-gcc-go-Fix-ucontext_t-on-PPC64.patch\\n\\t0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch\\n\\t0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch\\n\\t0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch\\n\\t0034-gcc-go-signal-34-is-special-on-musl-libc.patch\\n\\t0035-gcc-go-Prefer-_off_t-over-_off64_t.patch\\n\\t0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch\\n\\t0037-gcc-go-link-to-libucontext.patch\\n\\t0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch\\n\\t0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch\\n\\t0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch\\n\\t0041-Use-generic-errstr.go-implementation-on-musl.patch\\n\\t', '_gccdir': '$srcdir', '_gcclibdir': '/usr/lib/gcc/$CTARGET/10.3.1'}", + "Partially resolved variable: ShellVariable(name='_gcclibexec', value='/usr/libexec/gcc/$CTARGET/10.3.1') envt: {'pkgname': 'gcc$_target', '_pkgbase': '10.3.1', 'pkgver': '10.3.1_git20210424', 'pkgrel': '2', 'pkgdesc': 'The GNU Compiler Collection', 'url': 'https://gcc.gnu.org', 'arch': 'all', 'license': 'GPL-2.0-or-later LGPL-2.1-or-later', '_gccrel': '10.3.1_git20210424-r2', 'depends': 'binutils$_target', 'makedepends_build': 'gcc$_cross g++$_cross bison flex texinfo gawk zip gmp-dev mpfr-dev mpc1-dev zlib-dev', 'makedepends_host': 'linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev !gettext-dev libucontext-dev', 'subpackages': ' ', 'replaces': 'libstdc++ binutils', '_libgomp': 'true', '_libgcc': 'true', '_libatomic': 'true', '_libitm': 'true', '_libquadmath': '$LANG_FORTRAN', 'LANG_ADA': 'false;;', '_languages': 'c', 'makedepends': 'gcc$_cross g++$_cross bison flex texinfo gawk zip gmp-dev mpfr-dev mpc1-dev zlib-dev linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev !gettext-dev libucontext-dev', 'source': 'https://dev.alpinelinux.org/~nenolod/gcc-10.3.1_git20210424.tar.xz\\n\\t0001-posix_memalign.patch\\n\\t0002-gcc-poison-system-directories.patch\\n\\t0003-Turn-on-Wl-z-relro-z-now-by-default.patch\\n\\t0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch\\n\\t0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch\\n\\t0006-Enable-Wformat-and-Wformat-security-by-default.patch\\n\\t0007-Enable-Wtrampolines-by-default.patch\\n\\t0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch\\n\\t0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch\\n\\t0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch\\n\\t0011-libiberty-copy-PIC-objects-during-build-process.patch\\n\\t0012-libitm-disable-FORTIFY.patch\\n\\t0013-libgcc_s.patch\\n\\t0014-nopie.patch\\n\\t0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch\\n\\t0016-dlang-update-zlib-binding.patch\\n\\t0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch\\n\\t0018-ada-fix-shared-linking.patch\\n\\t0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch\\n\\t0020-add-fortify-headers-paths.patch\\n\\t0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch\\n\\t0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch\\n\\t0023-Pure-64-bit-MIPS.patch\\n\\t0024-use-pure-64-bit-configuration-where-appropriate.patch\\n\\t0025-always-build-libgcc_eh.a.patch\\n\\t0026-ada-libgnarl-compatibility-for-musl.patch\\n\\t0027-ada-musl-support-fixes.patch\\n\\t0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch\\n\\t0029-gcc-go-Don-t-include-sys-user.h.patch\\n\\t0030-gcc-go-Fix-ucontext_t-on-PPC64.patch\\n\\t0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch\\n\\t0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch\\n\\t0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch\\n\\t0034-gcc-go-signal-34-is-special-on-musl-libc.patch\\n\\t0035-gcc-go-Prefer-_off_t-over-_off64_t.patch\\n\\t0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch\\n\\t0037-gcc-go-link-to-libucontext.patch\\n\\t0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch\\n\\t0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch\\n\\t0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch\\n\\t0041-Use-generic-errstr.go-implementation-on-musl.patch\\n\\t', '_gccdir': '$srcdir', '_gcclibdir': '/usr/lib/gcc/$CTARGET/10.3.1', '_gcclibexec': '/usr/libexec/gcc/$CTARGET/10.3.1'}" + ] +] \ No newline at end of file diff --git a/tests/packagedcode/data/bashparse/APKBUILD-linux-firmware.sh b/tests/packagedcode/data/bashparse/APKBUILD-linux-firmware.sh new file mode 100644 index 00000000000..d95740f54d8 --- /dev/null +++ b/tests/packagedcode/data/bashparse/APKBUILD-linux-firmware.sh @@ -0,0 +1,136 @@ +# Contributor: Oliver Smith +# Maintainer: Natanael Copa +pkgname=linux-firmware +pkgver=20210511 +pkgrel=0 +pkgdesc="firmware files for linux" +url="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git;a=summary" +arch="all" +license="custom:multiple" +makedepends="libarchive-tools" +provides="linux-firmware-any" +provider_priority=1 +options="!strip !check !archcheck !tracedeps !spdx" + +_rpi_bt=e7fd166981ab4bb9a36c2d1500205a078a35714d + +source="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-$pkgver.tar.gz + BCM43430A1.hcd.${_rpi_bt::8}::https://github.com/RPi-Distro/bluez-firmware/raw/$_rpi_bt/broadcom/BCM43430A1.hcd + BCM4345C0.hcd.${_rpi_bt::8}::https://github.com/RPi-Distro/bluez-firmware/raw/$_rpi_bt/broadcom/BCM4345C0.hcd + BCM43430B0.hcd.${_rpi_bt::8}::https://github.com/RPi-Distro/bluez-firmware/raw/$_rpi_bt/broadcom/BCM43430B0.hcd + BCM4345C5.hcd.${_rpi_bt::8}::https://github.com/RPi-Distro/bluez-firmware/raw/$_rpi_bt/broadcom/BCM4345C5.hcd" + +_builddir="$srcdir"/$pkgname-$pkgver + +# Put /lib/firmware/* folders in subpackages +_folders="3com acenic adaptec advansys amd amd-ucode amdgpu ar3k ath10k ath11k + ath6k ath9k_htc atmel atusb av7110 bnx2 bnx2x brcm cadence cavium cis cpia2 + cxgb3 cxgb4 cypress dabusb dpaa2 dsp56k e100 edgeport emi26 emi62 ene-ub6250 + ess go7007 i915 imx inside-secure intel isci kaweth keyspan keyspan_pda korg + libertas liquidio matrox mediatek mellanox meson microchip moxa mrvl mwl8k + mwlwifi myricom netronome nvidia ositech qca qcom qed qlogic r128 radeon + rockchip rsi rtl8192e rtl_bt rtl_nic rtlwifi rtw88 rtw89 sb16 silabs slicoss + sun sxg tehuti ti ti-connectivity ti-keystone tigon ttusb-budget ueagle-atm + vicam vxge yam yamaha" + +subpackages="$pkgname-other::noarch $pkgname-none::noarch" +depends="linux-firmware-other=$pkgver-r$pkgrel" +for i in $_folders; do + subpackages="$pkgname-$i:_folder:noarch $subpackages" + depends="$pkgname-$i=$pkgver-r$pkgrel $depends" +done +subpackages="amd-ucode::noarch $subpackages" + +package() { + cd "${_builddir}" + make DESTDIR="${pkgdir}" FIRMWAREDIR="/lib/firmware" install + + # add compat links for pre-5.0 kernel + ln -s brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt "$pkgdir"/lib/firmware/brcm/brcmfmac43455-sdio.txt + ln -s brcmfmac43430-sdio.raspberrypi,3-model-b.txt "$pkgdir"/lib/firmware/brcm/brcmfmac43430-sdio.txt + + local fw; for fw in $source; do + local _f=${fw%::*} + case $_f in + *.hcd*) + install -Dm 644 $srcdir/$_f \ + "$pkgdir"/lib/firmware/brcm/"${_f%.*}" + ;; + esac + done + + rm -f "${pkgdir}/usr/lib/firmware/{Makefile,README,configure,GPL-3}" + + find "${pkgdir}" \( -name '*.S' -or -name '*.asm' -or \ + -name '*.c' -or -name '*.h' -or -name '*.pl' -or \ + -name 'Makefile' \) -exec rm -- {} \; +} + +_folder() { + local folder=${subpkgname##linux-firmware-} + pkgdesc="firmware files for linux ($folder folder)" + depends="" + provides="linux-firmware-any" + provider_priority= + + # Move /lib/firmware/$folder (case insensitive) + mkdir -p "$subpkgdir/lib/firmware" + mv "$(find "$pkgdir/lib/firmware" -iname "$folder" -type d)" \ + "$subpkgdir/lib/firmware" +} + +other() { + # Requires subfolders to be split in subpackages + local leftover="" + local i + for i in "$pkgdir"/lib/firmware/*; do + [ -d "$i" ] && leftover="$leftover $(basename $i)" + done + if [ "$leftover" != "" ]; then + local fixed + error "Not all subfolders have been moved to subpackages!" + error "Fix this by adjusting _folders as follows:" + fixed="$(echo $_folders$leftover | tr " " "\n" | tr '[A-Z]' '[a-z]' | sort)" + echo "_folders=\"$(printf "$fixed" | tr "\n" " ")\"" | fold -s + return 1 + fi + + # Move /lib/firmware (which doesn't have subfolders now) + pkgdesc="firmware files for linux (uncategorized)" + depends="" + provides="linux-firmware-any" + provider_priority= + mkdir -p "$subpkgdir"/ + mv "$pkgdir"/lib "$subpkgdir"/ +} + +none() { + # dummy package with no firmware + pkgdesc="Empty linux firwmare package for those who does not need any firmware" + provider_priority= + provides="linux-firmware-any" + depends= + mkdir -p "$subpkgdir" +} + +ucode() { + pkgdesc="Microcode update files for AMD CPUs" + provider_priority= + provides= + depends= + + # build ported from Arch Linux's PKGBUILD + mkdir -p "$subpkgdir"/boot + mkdir -p "$builddir"/kernel/x86/microcode + cat "$pkgdir"/lib/firmware/amd-ucode/microcode_amd*.bin > "$builddir"/kernel/x86/microcode/AuthenticAMD.bin + [ -n "$SOURCE_DATE_EPOCH" ] && touch -d @$SOURCE_DATE_EPOCH "$builddir"/kernel/x86/microcode/AuthenticAMD.bin + cd "$builddir" && echo kernel/x86/microcode/AuthenticAMD.bin | + bsdtar --uid 0 --gid 0 -cnf - -T - | + bsdtar --null -cf - --format=newc @- > "$subpkgdir"/boot/amd-ucode.img +} + +sha512sums="f282bdcd0e62f446a3c859876319ae2fb4b2e129022a4b2b1ced45f38c8b192ccb07a4480ff4d41ed8fc13c0a38bf0c0d5a5d98515a1750d655db5d919c6af8c linux-firmware-20210511.tar.gz +355c940b4fd597101c332207678fd28154d7e7a90cb374b1fdf230d2061bf979af0209c5a423fca8d23ddb3d95abec741e7dd651da7f0aaa97459ed4fe4d2355 BCM43430A1.hcd.e7fd1669 +1707c2955ceac3e6fc4b1edb8965c871dcfab21ce85cc617de67d7e6f3d6f9b93ee5a8a202de6b20f7b43d1462668287a8569786146cadf5e0268058d2524a9c BCM4345C0.hcd.e7fd1669 +c8b943bfeffa54ce1687ca69884e9d56efd28d5ea1dbef660915a80c3e036a8675e7d4299102c32006193e4895367654bb67e2d08e66d7803f396eee7e3dfbd6 BCM43430B0.hcd.e7fd1669 +eac7428befa36952542e19d3c4a5fa96e1cb3a56c3b00770534909fb0d8caf503a42368175e715e1de58e50cfbd2b4c8ea5a26af3bd546cbbaf8d2c12457a628 BCM4345C5.hcd.e7fd1669" diff --git a/tests/packagedcode/data/bashparse/APKBUILD-linux-firmware.sh-expected.json b/tests/packagedcode/data/bashparse/APKBUILD-linux-firmware.sh-expected.json new file mode 100644 index 00000000000..ce47de78755 --- /dev/null +++ b/tests/packagedcode/data/bashparse/APKBUILD-linux-firmware.sh-expected.json @@ -0,0 +1,26 @@ +[ + { + "pkgname": "linux-firmware", + "pkgver": "20210511", + "pkgrel": "0", + "pkgdesc": "firmware files for linux", + "url": "https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git;a=summary", + "arch": "all", + "license": "custom:multiple", + "makedepends": "libarchive-tools", + "provides": "linux-firmware-any", + "provider_priority": "1", + "options": "!strip !check !archcheck !tracedeps !spdx", + "_rpi_bt": "e7fd166981ab4bb9a36c2d1500205a078a35714d", + "source": "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-20210511.tar.gz\n\tBCM43430A1.hcd.e7fd1669::https://github.com/RPi-Distro/bluez-firmware/raw/e7fd166981ab4bb9a36c2d1500205a078a35714d/broadcom/BCM43430A1.hcd\n\tBCM4345C0.hcd.e7fd1669::https://github.com/RPi-Distro/bluez-firmware/raw/e7fd166981ab4bb9a36c2d1500205a078a35714d/broadcom/BCM4345C0.hcd\n\tBCM43430B0.hcd.e7fd1669::https://github.com/RPi-Distro/bluez-firmware/raw/e7fd166981ab4bb9a36c2d1500205a078a35714d/broadcom/BCM43430B0.hcd\n\tBCM4345C5.hcd.e7fd1669::https://github.com/RPi-Distro/bluez-firmware/raw/e7fd166981ab4bb9a36c2d1500205a078a35714d/broadcom/BCM4345C5.hcd", + "_builddir": "$srcdir", + "_folders": "3com acenic adaptec advansys amd amd-ucode amdgpu ar3k ath10k ath11k\n\tath6k ath9k_htc atmel atusb av7110 bnx2 bnx2x brcm cadence cavium cis cpia2\n\tcxgb3 cxgb4 cypress dabusb dpaa2 dsp56k e100 edgeport emi26 emi62 ene-ub6250\n\tess go7007 i915 imx inside-secure intel isci kaweth keyspan keyspan_pda korg\n\tlibertas liquidio matrox mediatek mellanox meson microchip moxa mrvl mwl8k\n\tmwlwifi myricom netronome nvidia ositech qca qcom qed qlogic r128 radeon\n\trockchip rsi rtl8192e rtl_bt rtl_nic rtlwifi rtw88 rtw89 sb16 silabs slicoss\n\tsun sxg tehuti ti ti-connectivity ti-keystone tigon ttusb-budget ueagle-atm\n\tvicam vxge yam yamaha", + "subpackages": "amd-ucode::noarch linux-firmware-other::noarch linux-firmware-none::noarch", + "depends": "linux-firmware-other=20210511-r0", + "sha512sums": "f282bdcd0e62f446a3c859876319ae2fb4b2e129022a4b2b1ced45f38c8b192ccb07a4480ff4d41ed8fc13c0a38bf0c0d5a5d98515a1750d655db5d919c6af8c linux-firmware-20210511.tar.gz\n355c940b4fd597101c332207678fd28154d7e7a90cb374b1fdf230d2061bf979af0209c5a423fca8d23ddb3d95abec741e7dd651da7f0aaa97459ed4fe4d2355 BCM43430A1.hcd.e7fd1669\n1707c2955ceac3e6fc4b1edb8965c871dcfab21ce85cc617de67d7e6f3d6f9b93ee5a8a202de6b20f7b43d1462668287a8569786146cadf5e0268058d2524a9c BCM4345C0.hcd.e7fd1669\nc8b943bfeffa54ce1687ca69884e9d56efd28d5ea1dbef660915a80c3e036a8675e7d4299102c32006193e4895367654bb67e2d08e66d7803f396eee7e3dfbd6 BCM43430B0.hcd.e7fd1669\neac7428befa36952542e19d3c4a5fa96e1cb3a56c3b00770534909fb0d8caf503a42368175e715e1de58e50cfbd2b4c8ea5a26af3bd546cbbaf8d2c12457a628 BCM4345C5.hcd.e7fd1669" + }, + [ + "Duplicate variable name: 'subpackages' value: 'amd-ucode::noarch $subpackages' existing value: '$pkgname-other::noarch $pkgname-none::noarch'", + "Partially resolved variable: ShellVariable(name='_builddir', value='$srcdir') envt: {'pkgname': 'linux-firmware', 'pkgver': '20210511', 'pkgrel': '0', 'pkgdesc': 'firmware files for linux', 'url': 'https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git;a=summary', 'arch': 'all', 'license': 'custom:multiple', 'makedepends': 'libarchive-tools', 'provides': 'linux-firmware-any', 'provider_priority': '1', 'options': '!strip !check !archcheck !tracedeps !spdx', '_rpi_bt': 'e7fd166981ab4bb9a36c2d1500205a078a35714d', 'source': 'https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-20210511.tar.gz\\n\\tBCM43430A1.hcd.e7fd1669::https://github.com/RPi-Distro/bluez-firmware/raw/e7fd166981ab4bb9a36c2d1500205a078a35714d/broadcom/BCM43430A1.hcd\\n\\tBCM4345C0.hcd.e7fd1669::https://github.com/RPi-Distro/bluez-firmware/raw/e7fd166981ab4bb9a36c2d1500205a078a35714d/broadcom/BCM4345C0.hcd\\n\\tBCM43430B0.hcd.e7fd1669::https://github.com/RPi-Distro/bluez-firmware/raw/e7fd166981ab4bb9a36c2d1500205a078a35714d/broadcom/BCM43430B0.hcd\\n\\tBCM4345C5.hcd.e7fd1669::https://github.com/RPi-Distro/bluez-firmware/raw/e7fd166981ab4bb9a36c2d1500205a078a35714d/broadcom/BCM4345C5.hcd', '_builddir': '$srcdir'}" + ] +] \ No newline at end of file diff --git a/tests/packagedcode/data/bashparse/APKBUILD-mongo.sh b/tests/packagedcode/data/bashparse/APKBUILD-mongo.sh new file mode 100644 index 00000000000..38a9823f4c2 --- /dev/null +++ b/tests/packagedcode/data/bashparse/APKBUILD-mongo.sh @@ -0,0 +1,100 @@ +# Maintainer: Marc Vertes +# Contributor: Filipp Andronov +pkgname=mongodb +pkgver=4.0.6 +pkgrel=1 +pkgdesc="A high-performance, open source, schema-free document-oriented database" +url="http://www.mongodb.org" +arch="x86_64 ppc64le aarch64" +options="!check" # out of disk space (>35GB) +license='AGPL3' +pkgusers="mongodb" +pkggroups="mongodb" +makedepends="scons py-setuptools py2-cheetah py2-typing py2-yaml paxmark + openssl-dev pcre-dev snappy-dev boost-dev asio-dev libpcap-dev + snowball-dev zlib-dev cyrus-sasl-dev yaml-cpp-dev curl-dev" +install="$pkgname.pre-install" +source="http://downloads.mongodb.org/src/mongodb-src-r${pkgver}.tar.gz + fix-backtrace.patch + fix-default-stacksize.patch + fix-elf-native-class.patch + fix-processinfo_linux.patch + fix-resolv.patch + fix-strerror_r.patch + wiredtiger.patch + + mongodb.confd + mongodb.initd + mongodb.logrotate + mongos.confd + mongos.initd + " + +builddir="$srcdir"/$pkgname-src-r$pkgver +_buildopts=" + --allocator=system \ + --disable-warnings-as-errors \ + --use-system-boost \ + --use-system-pcre \ + --use-system-stemmer \ + --use-system-snappy \ + --use-system-zlib \ + --use-system-yaml \ + --use-sasl-client \ + --ssl \ + " + +case $CARCH in + aarch64) _buildopts="$_buildopts CCFLAGS=-march=armv8-a+crc" ;; +esac + +build() { + cd "$builddir" + export SCONSFLAGS="$MAKEFLAGS" + scons $_buildopts --prefix=$pkgdir/usr core +} + +check() { + cd "$builddir" + + export SCONSFLAGS="$MAKEFLAGS" + scons $_buildopts unittests + python buildscripts/resmoke.py --suites=unittests --jobs=2 +} + +package() { + cd "$builddir" + + # install mongo targets + export SCONSFLAGS="$MAKEFLAGS" + scons $_buildopts --prefix=$pkgdir/usr install + + # java jit requires paxmark + paxmark -m "$pkgdir"/usr/bin/mongo* + + # install alpine specific files + install -dm700 "$pkgdir/var/lib/mongodb" + install -dm755 "$pkgdir/var/log/mongodb" + chown mongodb:mongodb "$pkgdir/var/lib/mongodb" "$pkgdir/var/log/mongodb" + + install -Dm755 "$srcdir/mongodb.initd" "$pkgdir/etc/init.d/mongodb" + install -Dm644 "$srcdir/mongodb.confd" "$pkgdir/etc/conf.d/mongodb" + install -Dm644 "$srcdir/mongodb.logrotate" "$pkgdir/etc/logrotate.d/mongodb" + + install -Dm755 "$srcdir/mongos.initd" "$pkgdir/etc/init.d/mongos" + install -Dm644 "$srcdir/mongos.confd" "$pkgdir/etc/conf.d/mongos" +} + +sha512sums="72e04154cf221833522bb0c2cc99acc2a86d20e2dcbf1f8c6ff0a870edf7b2529a55b6821c664805c00c12a311ae374a276ef1e3ccea1ed84fb125bb8726906a mongodb-src-r4.0.6.tar.gz +05c4331d028eb396e6cf52d96cdaa2af7199a03522e1a8211df2d36cb053ec093a51e9abf83c4dc00c09a0b1fa119a79bcc719fbc81a48f50ca1527c26613cf0 fix-backtrace.patch +1492137b0e3456d90a79617c1cd5ead5c71b1cfaae9ee41c75d56cd25f404ec73a690f95ce0d8c064c0a14206daca8070aa769b7cdfa904a338a425b52c293fa fix-default-stacksize.patch +56db8f43afc94713ac65b174189e2dd903b5e1eff0b65f1bdac159e52ad4de6606c449865d73bd47bffad6a8fc339777e2b11395596e9a476867d94a219c7925 fix-elf-native-class.patch +4b72d659eb6cf8c5b303bd91fe28d4cebeefda97be5b93df12a3e265283b4057ff299e14763a0b9f4b6eaae8da1725af35038b3aba578c66dd950f1703c28d42 fix-processinfo_linux.patch +aac12cffc452f1dc365c65944a015476c2011b0975144879d28938c690fe6e77b6bd672e040b4c04c02cb002224e24d6f13adb083324f424ef4cdb79a3a71f6b fix-resolv.patch +92cf2c55c68b975408ed2f7fde65da6b238b617dfaa0737a1c51ce19344dba11dd96c0a99f7671c1b7464f5114b3e820a32a25b1600d1c8217262b60fe0364ea fix-strerror_r.patch +ecbe6cb579b33dd4888096712f150772db06fd38219ca2a7679b1dc1ee73b0c3f5ee498af12ecd0265b5231a9fe6b7c12b2c1d606ed04caa6aa00c3ad3fe925a wiredtiger.patch +9bcd870742c31bf25f34188ddc3c414de1103e9860dea9f54eee276b89bc2cf1226abab1749c5cda6a6fb0880e541373754e5e83d63cc7189d4b9c274fd555c3 mongodb.confd +74009794d566dd9d70ec93ffd95c830ee4696165574ecf87398165637fb40799b38d182ef54c50fd0772d589be94ade7f7a49247f3d31c1f012cb4e44cc9f5df mongodb.initd +8c089b1a11f494e4148fb4646265964c925bf937633a65e395ee1361d42facf837871dd493a9a2e0f480ae0e0829dbd3ed60794c5334e2716332e131fc5c2c51 mongodb.logrotate +61d8734cef644187eeadc821c89e63a3fbf61860fe2db6e74557b1c6760fe83ba7549cb04f9e3aacea4d8e7e4d81a3b1bc0d5e29715eca33c4761adb17ea9ab7 mongos.confd +13aad7247b848ac58b2bc0b40a0d30d909e950380abd0c83fab0e2a394a42dc268a66dac53cf9feec6971739977470082cc4339cca827f41044cfe43803ef3f7 mongos.initd" diff --git a/tests/packagedcode/data/bashparse/APKBUILD-mongo.sh-expected.json b/tests/packagedcode/data/bashparse/APKBUILD-mongo.sh-expected.json new file mode 100644 index 00000000000..e10fd5e7ed2 --- /dev/null +++ b/tests/packagedcode/data/bashparse/APKBUILD-mongo.sh-expected.json @@ -0,0 +1,23 @@ +[ + { + "pkgname": "mongodb", + "pkgver": "4.0.6", + "pkgrel": "1", + "pkgdesc": "A high-performance, open source, schema-free document-oriented database", + "url": "http://www.mongodb.org", + "arch": "x86_64 ppc64le aarch64", + "options": "!check", + "license": "AGPL3", + "pkgusers": "mongodb", + "pkggroups": "mongodb", + "makedepends": "scons py-setuptools py2-cheetah py2-typing py2-yaml paxmark\n\topenssl-dev pcre-dev snappy-dev boost-dev asio-dev libpcap-dev\n\tsnowball-dev zlib-dev cyrus-sasl-dev yaml-cpp-dev curl-dev", + "install": "mongodb.pre-install", + "source": "http://downloads.mongodb.org/src/mongodb-src-r4.0.6.tar.gz\n\tfix-backtrace.patch\n\tfix-default-stacksize.patch\n\tfix-elf-native-class.patch\n\tfix-processinfo_linux.patch\n\tfix-resolv.patch\n\tfix-strerror_r.patch\n\twiredtiger.patch\n\n\tmongodb.confd\n\tmongodb.initd\n\tmongodb.logrotate\n\tmongos.confd\n\tmongos.initd\n\t", + "builddir": "$srcdir", + "_buildopts": "\n\t--allocator=system \\\n\t--disable-warnings-as-errors \\\n\t--use-system-boost \\\n\t--use-system-pcre \\\n\t--use-system-stemmer \\\n\t--use-system-snappy \\\n\t--use-system-zlib \\\n\t--use-system-yaml \\\n\t--use-sasl-client \\\n\t--ssl \\\n\t", + "sha512sums": "72e04154cf221833522bb0c2cc99acc2a86d20e2dcbf1f8c6ff0a870edf7b2529a55b6821c664805c00c12a311ae374a276ef1e3ccea1ed84fb125bb8726906a mongodb-src-r4.0.6.tar.gz\n05c4331d028eb396e6cf52d96cdaa2af7199a03522e1a8211df2d36cb053ec093a51e9abf83c4dc00c09a0b1fa119a79bcc719fbc81a48f50ca1527c26613cf0 fix-backtrace.patch\n1492137b0e3456d90a79617c1cd5ead5c71b1cfaae9ee41c75d56cd25f404ec73a690f95ce0d8c064c0a14206daca8070aa769b7cdfa904a338a425b52c293fa fix-default-stacksize.patch\n56db8f43afc94713ac65b174189e2dd903b5e1eff0b65f1bdac159e52ad4de6606c449865d73bd47bffad6a8fc339777e2b11395596e9a476867d94a219c7925 fix-elf-native-class.patch\n4b72d659eb6cf8c5b303bd91fe28d4cebeefda97be5b93df12a3e265283b4057ff299e14763a0b9f4b6eaae8da1725af35038b3aba578c66dd950f1703c28d42 fix-processinfo_linux.patch\naac12cffc452f1dc365c65944a015476c2011b0975144879d28938c690fe6e77b6bd672e040b4c04c02cb002224e24d6f13adb083324f424ef4cdb79a3a71f6b fix-resolv.patch\n92cf2c55c68b975408ed2f7fde65da6b238b617dfaa0737a1c51ce19344dba11dd96c0a99f7671c1b7464f5114b3e820a32a25b1600d1c8217262b60fe0364ea fix-strerror_r.patch\necbe6cb579b33dd4888096712f150772db06fd38219ca2a7679b1dc1ee73b0c3f5ee498af12ecd0265b5231a9fe6b7c12b2c1d606ed04caa6aa00c3ad3fe925a wiredtiger.patch\n9bcd870742c31bf25f34188ddc3c414de1103e9860dea9f54eee276b89bc2cf1226abab1749c5cda6a6fb0880e541373754e5e83d63cc7189d4b9c274fd555c3 mongodb.confd\n74009794d566dd9d70ec93ffd95c830ee4696165574ecf87398165637fb40799b38d182ef54c50fd0772d589be94ade7f7a49247f3d31c1f012cb4e44cc9f5df mongodb.initd\n8c089b1a11f494e4148fb4646265964c925bf937633a65e395ee1361d42facf837871dd493a9a2e0f480ae0e0829dbd3ed60794c5334e2716332e131fc5c2c51 mongodb.logrotate\n61d8734cef644187eeadc821c89e63a3fbf61860fe2db6e74557b1c6760fe83ba7549cb04f9e3aacea4d8e7e4d81a3b1bc0d5e29715eca33c4761adb17ea9ab7 mongos.confd\n13aad7247b848ac58b2bc0b40a0d30d909e950380abd0c83fab0e2a394a42dc268a66dac53cf9feec6971739977470082cc4339cca827f41044cfe43803ef3f7 mongos.initd" + }, + [ + "Partially resolved variable: ShellVariable(name='builddir', value='$srcdir') envt: {'pkgname': 'mongodb', 'pkgver': '4.0.6', 'pkgrel': '1', 'pkgdesc': 'A high-performance, open source, schema-free document-oriented database', 'url': 'http://www.mongodb.org', 'arch': 'x86_64 ppc64le aarch64', 'options': '!check', 'license': 'AGPL3', 'pkgusers': 'mongodb', 'pkggroups': 'mongodb', 'makedepends': 'scons py-setuptools py2-cheetah py2-typing py2-yaml paxmark\\n\\topenssl-dev pcre-dev snappy-dev boost-dev asio-dev libpcap-dev\\n\\tsnowball-dev zlib-dev cyrus-sasl-dev yaml-cpp-dev curl-dev', 'install': 'mongodb.pre-install', 'source': 'http://downloads.mongodb.org/src/mongodb-src-r4.0.6.tar.gz\\n\\tfix-backtrace.patch\\n\\tfix-default-stacksize.patch\\n\\tfix-elf-native-class.patch\\n\\tfix-processinfo_linux.patch\\n\\tfix-resolv.patch\\n\\tfix-strerror_r.patch\\n\\twiredtiger.patch\\n\\n\\tmongodb.confd\\n\\tmongodb.initd\\n\\tmongodb.logrotate\\n\\tmongos.confd\\n\\tmongos.initd\\n\\t', 'builddir': '$srcdir'}" + ] +] \ No newline at end of file diff --git a/tests/packagedcode/data/bashparse/PKGBUILD-linux-amd-raven.sh b/tests/packagedcode/data/bashparse/PKGBUILD-linux-amd-raven.sh new file mode 100644 index 00000000000..04c311dcba3 --- /dev/null +++ b/tests/packagedcode/data/bashparse/PKGBUILD-linux-amd-raven.sh @@ -0,0 +1,254 @@ +# Maintainer: Steven De Bondt + +pkgbase=linux-amd-raven +_srcname=linux +gitver=v5.4.133 +pkgver=5.4.v.133 +pkgrel=1 +arch=('x86_64') +url="https://www.kernel.org/" +license=('GPL2') +makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'git' 'libelf' 'lzop' 'gcc>=9.1') +options=('!strip') + +source=("git+https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git#tag=$gitver" + # the main kernel config files + 'config.x86_64' + # standard config files for mkinitcpio ramdisk + "${pkgbase}.preset" + # linux package install directives for pacman + 'linux.install' + # patch from our gentoo overlords + '5010_enable-cpu-optimizations-universal.patch' +) +sha256sums=('SKIP' + #config.x86_64 + '9d33f55ad6670d3337874022328966a1109bb8bd13c6efe89b377f58e94d00a2' + #.preset file + 'fd220b9f47a86162247b042f06311848678f9acb64b92f716572972f3aeb3d18' + #linux install file + 'd590e751ab4cf424b78fd0d57e53d187f07401a68c8b468d17a5f39a337dacf0' + #gentoopatch file + '63eb599f217729e42dbb0840247412b16b2bd5365725d2488a0256295f71ccda' +) + +_kernelname=${pkgbase#linux} + +pkgver() { + echo $pkgver +} + +prepare() { + cd "${_srcname}" + if [ "${CARCH}" = "x86_64" ]; then + cat "${srcdir}/config.x86_64" > ./.config + else + echo "Sorry, non x86_64 arch not supported." + exit 2 + fi + + # don't run depmod on 'make install'. We'll do this ourselves in packaging + sed -i '2iexit 0' scripts/depmod.sh + + # Implement all packaged patches. Ignore errors. + msg2 "Implementing custom kernel patches" + while read patch; do + echo "Applying $patch" + git apply $patch || echo "ERROR: something went wrong with $patch. Advancing anyway." + done <<< $(ls ../*.patch) + + # get kernel version + msg2 "Preparing kernel" + yes "" | make prepare + + # load configuration + msg2 "Preparing config" + + # Configure the kernel. Replace the line below with one of your choice. + #make menuconfig # CLI menu for configuration + #make nconfig # new CLI menu for configuration + #make xconfig # X-based configuration + #make oldconfig # using old config from previous kernel version + make olddefconfig # old config from previous kernel, defaults for new options + # ... or manually edit .config +} + +build() { + cd "${_srcname}" + + #Force zenv1 architecture optimisation. + export CFLAGS="-march=znver1 -mtune=znver1 -O2 -pipe -fstack-protector-strong" + export CXXFLAGS="${CFLAGS}" + make ${MAKEFLAGS} LOCALVERSION= bzImage modules +} + +_package() { + pkgdesc="Linux kernel with working amdgpu for Raven Ridge hardware" + depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio>=0.7' 'lzop') + optdepends=('crda: to set the correct wireless channels of your country') + backup=("etc/mkinitcpio.d/${pkgbase}.preset") + install=linux.install + + cd "${_srcname}" + + KARCH=x86 + + # get kernel version + _kernver="$(make LOCALVERSION= kernelrelease)" + _basekernel=${_kernver%%-*} + _basekernel=${_basekernel%.*} + + mkdir -p "${pkgdir}"/{lib/modules,lib/firmware,boot} + make LOCALVERSION= INSTALL_MOD_PATH="${pkgdir}" modules_install + cp arch/$KARCH/boot/bzImage "${pkgdir}/boot/vmlinuz-${pkgbase}" + + # set correct depmod command for install + cp -f "${startdir}/${install}" "${startdir}/${install}.pkg" + true && install=${install}.pkg + sed \ + -e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/" \ + -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/" \ + -i "${startdir}/${install}" + + # install mkinitcpio preset file for kernel + install -D -m644 "${srcdir}/${pkgbase}.preset" "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset" + sed \ + -e "1s|'linux.*'|'${pkgbase}'|" \ + -e "s|ALL_kver=.*|ALL_kver=\"/boot/vmlinuz-${pkgbase}\"|" \ + -e "s|default_image=.*|default_image=\"/boot/initramfs-${pkgbase}.img\"|" \ + -e "s|fallback_image=.*|fallback_image=\"/boot/initramfs-${pkgbase}-fallback.img\"|" \ + -i "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset" + + # remove build and source links + rm -f "${pkgdir}"/lib/modules/${_kernver}/{source,build} + # remove the firmware + rm -rf "${pkgdir}/lib/firmware" + # make room for external modules + ln -s "../extramodules-${_basekernel}${_kernelname:--ARCH}" "${pkgdir}/lib/modules/${_kernver}/extramodules" + # add real version for building modules and running depmod from post_install/upgrade + mkdir -p "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--ARCH}" + echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--ARCH}/version" + + # Now we call depmod... + depmod -b "${pkgdir}" -F System.map "${_kernver}" + + # move module tree /lib -> /usr/lib + mkdir -p "${pkgdir}/usr" + mv "${pkgdir}/lib" "${pkgdir}/usr/" + + # add vmlinux + install -D -m644 vmlinux "${pkgdir}/usr/lib/modules/${_kernver}/build/vmlinux" + + # add vmlinuz in /usr/lib/modules/ and info for correct hook triggers + cp arch/$KARCH/boot/bzImage "${pkgdir}/usr/lib/modules/${_kernver}/vmlinuz" + echo ${pkgbase} > "${pkgdir}/usr/lib/modules/${_kernver}/pkgbase" + + # add System.map + install -D -m644 System.map "${pkgdir}/boot/System.map-${_kernver}" +} + +_package-headers() { + pkgdesc="Header files and scripts for building modules for Linux kerel with working amdgpu for Raven Ridge hardware" + + install -dm755 "${pkgdir}/usr/lib/modules/${_kernver}" + + cd "${_srcname}" + install -D -m644 Makefile \ + "${pkgdir}/usr/lib/modules/${_kernver}/build/Makefile" + install -D -m644 kernel/Makefile \ + "${pkgdir}/usr/lib/modules/${_kernver}/build/kernel/Makefile" + install -D -m644 .config \ + "${pkgdir}/usr/lib/modules/${_kernver}/build/.config" + + mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/include" + + for i in $(ls include/); do + cp -a include/${i} "${pkgdir}/usr/lib/modules/${_kernver}/build/include/" + done + + # copy arch includes for external modules + mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/x86" + cp -a arch/x86/include "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/x86/" + + # copy files necessary for later builds, like nvidia and vmware + cp Module.symvers "${pkgdir}/usr/lib/modules/${_kernver}/build" + cp -a scripts "${pkgdir}/usr/lib/modules/${_kernver}/build" + + # fix permissions on scripts dir + chmod og-w -R "${pkgdir}/usr/lib/modules/${_kernver}/build/scripts" + mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/.tmp_versions" + + # add kernel files to headers + mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/kernel" + cp arch/${KARCH}/Makefile "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/" + cp arch/${KARCH}/kernel/asm-offsets.s "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/kernel/" + + # add dm headers + mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/md" + cp drivers/md/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/md" + + # add inotify.h + mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/include/linux" + cp include/linux/inotify.h "${pkgdir}/usr/lib/modules/${_kernver}/build/include/linux/" + + # add wireless headers + mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/net/mac80211/" + cp net/mac80211/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/net/mac80211/" + + # copy in Kconfig files + for i in $(find . -name "Kconfig*"); do + mkdir -p "${pkgdir}"/usr/lib/modules/${_kernver}/build/`echo ${i} | sed 's|/Kconfig.*||'` + cp ${i} "${pkgdir}/usr/lib/modules/${_kernver}/build/${i}" + done + + # Fix file conflict with -doc package + rm "${pkgdir}/usr/lib/modules/${_kernver}/build/Documentation/kbuild"/Kconfig.*-* + rm "${pkgdir}/usr/lib/modules/${_kernver}/build/Documentation/Kconfig" + + # Add objtool for CONFIG_STACK_VALIDATION + mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/tools" + cp -a tools/objtool "${pkgdir}/usr/lib/modules/${_kernver}/build/tools" + + chown -R root.root "${pkgdir}/usr/lib/modules/${_kernver}/build" + find "${pkgdir}/usr/lib/modules/${_kernver}/build" -type d -exec chmod 755 {} \; + + # strip scripts directory + find "${pkgdir}/usr/lib/modules/${_kernver}/build/scripts" -type f -perm -u+w 2>/dev/null | while read binary ; do + case "$(file -bi "${binary}")" in + *application/x-sharedlib*) # Libraries (.so) + /usr/bin/strip ${STRIP_SHARED} "${binary}";; + *application/x-archive*) # Libraries (.a) + /usr/bin/strip ${STRIP_STATIC} "${binary}";; + *application/x-executable*) # Binaries + /usr/bin/strip ${STRIP_BINARIES} "${binary}";; + esac + done + + # remove unneeded architectures + while read modarch; do + rm -rf $modarch + done <<< $(find "${pkgdir}"/usr/lib/modules/${_kernver}/build/arch/ -maxdepth 1 -mindepth 1 -type d | grep -v /x86$) +} + +_package-docs() { + pkgdesc="Kernel hackers manual - HTML documentation that comes with the Linux kernel" + + cd "${_srcname}" + + mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build" + cp -al Documentation "${pkgdir}/usr/lib/modules/${_kernver}/build" + find "${pkgdir}" -type f -exec chmod 444 {} \; + find "${pkgdir}" -type d -exec chmod 755 {} \; + + # remove a file already in linux package + rm -f "${pkgdir}/usr/lib/modules/${_kernver}/build/Documentation/DocBook/Makefile" + +} + +pkgname=("${pkgbase}" "${pkgbase}-headers" "${pkgbase}-docs") +for _p in ${pkgname[@]}; do + eval "package_${_p}() { + $(declare -f "_package${_p#${pkgbase}}") + _package${_p#${pkgbase}} + }" +done diff --git a/tests/packagedcode/data/bashparse/PKGBUILD-linux-amd-raven.sh-expected.json b/tests/packagedcode/data/bashparse/PKGBUILD-linux-amd-raven.sh-expected.json new file mode 100644 index 00000000000..2cdd2d6c915 --- /dev/null +++ b/tests/packagedcode/data/bashparse/PKGBUILD-linux-amd-raven.sh-expected.json @@ -0,0 +1,51 @@ +[ + { + "pkgbase": "linux-amd-raven", + "_srcname": "linux", + "gitver": "v5.4.133", + "pkgver": "5.4.v.133", + "pkgrel": "1", + "arch": [ + "x86_64" + ], + "url": "https://www.kernel.org/", + "license": [ + "GPL2" + ], + "makedepends": [ + "xmlto", + "docbook-xsl", + "kmod", + "inetutils", + "bc", + "git", + "libelf", + "lzop", + "gcc>=9.1" + ], + "options": [ + "!strip" + ], + "source": [ + "git+https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git#tag=v5.4.133", + "config.x86_64", + "linux-amd-raven.preset", + "linux.install", + "5010_enable-cpu-optimizations-universal.patch" + ], + "sha256sums": [ + "SKIP", + "9d33f55ad6670d3337874022328966a1109bb8bd13c6efe89b377f58e94d00a2", + "fd220b9f47a86162247b042f06311848678f9acb64b92f716572972f3aeb3d18", + "d590e751ab4cf424b78fd0d57e53d187f07401a68c8b468d17a5f39a337dacf0", + "63eb599f217729e42dbb0840247412b16b2bd5365725d2488a0256295f71ccda" + ], + "_kernelname": "-amd-raven", + "pkgname": [ + "linux-amd-raven", + "linux-amd-raven-headers", + "linux-amd-raven-docs" + ] + }, + [] +] \ No newline at end of file diff --git a/tests/packagedcode/data/bashparse/PKGBUILD-mini.sh b/tests/packagedcode/data/bashparse/PKGBUILD-mini.sh new file mode 100644 index 00000000000..130230a8360 --- /dev/null +++ b/tests/packagedcode/data/bashparse/PKGBUILD-mini.sh @@ -0,0 +1,5 @@ +sha512sums=('dbfbb8' + 'b561c5' + 'cde0ff' + '4aa9df') + diff --git a/tests/packagedcode/data/bashparse/PKGBUILD-mini.sh-expected.json b/tests/packagedcode/data/bashparse/PKGBUILD-mini.sh-expected.json new file mode 100644 index 00000000000..1cd0e84090f --- /dev/null +++ b/tests/packagedcode/data/bashparse/PKGBUILD-mini.sh-expected.json @@ -0,0 +1,11 @@ +[ + { + "sha512sums": [ + "dbfbb8", + "b561c5", + "cde0ff", + "4aa9df" + ] + }, + [] +] \ No newline at end of file diff --git a/tests/packagedcode/data/bashparse/PKGBUILD-papermc.sh b/tests/packagedcode/data/bashparse/PKGBUILD-papermc.sh new file mode 100644 index 00000000000..de4383c6af6 --- /dev/null +++ b/tests/packagedcode/data/bashparse/PKGBUILD-papermc.sh @@ -0,0 +1,62 @@ +# Maintainer: Gordian Edenhofer + +pkgname=papermc +_pkgver=1.17.1 +_build=100 +_license_commit=40b3461 +pkgver="${_pkgver}+b${_build}" +pkgrel=3 +pkgdesc="Next generation of Minecraft server, compatible with Spigot plugins and offering uncompromising performance" +arch=('any') +url="https://papermc.io/" +license=('custom') +depends=('java-runtime-headless>=8' 'tmux' 'sudo' 'bash' 'awk' 'sed') +optdepends=("tar: needed in order to create world backups" + "netcat: required in order to suspend an idle server") +conflicts=('papermc-git') +backup=('etc/conf.d/papermc') +install="${pkgname}.install" +source=("papermc.${pkgver}.jar"::"https://papermc.io/api/v1/paper/${_pkgver}/${_build}/download" + "papermc-backup.service" + "papermc-backup.timer" + "papermc.service" + "papermc.conf" + "papermc.sh" + "papermc.tmpfiles" + "papermc.sysusers" + "LICENSE_${pkgver}.md"::"https://raw.githubusercontent.com/PaperMC/Paper/${_license_commit}/LICENSE.md") +noextract=("papermc.${pkgver}.jar") +sha512sums=('34366f0d5e116c011e2ff2dba884b3c5dda6444e0fb28115bc5e12ee839551a77ade8bc174939ecb8f818fc0eca65aa478d87f0b9082b894efbd587909dbfbb8' + 'a4fcc9f28436c0163e9414f2793fcbd4f6ea74772230cdff4a628246eae2a8008688b3dfb94d433f8f0887cd7eea3fe43ce25f9d5812d46e62179ff315b62895' + '51c5345155e8640d4f1eaef0c8cfb890ae46063f2d4e7a0fe181ad4c8ff7b96fea88b0f9fc74031d589dfd61602f37b440f183ca1859835930fe69d37508cd42' + 'f29c4044d9e3cc5ab137c21f7e62399b36d7e1f777d5558a39f7b4a01de75bdf2de0b8678e424accc03934ca7db9ebb6a22c78c8c4497759287dd55e1c3eb456' + 'fe268d7380f881229100700b1d4f4897904a630aa65b0b06bba08be5d5918f208d497e01fc5306deecd5d93a78cfdb7e9c7f1c3b910b3a414ce9af186a05224d' + 'bb0633de2da12b0f9e8c9ba29ef61c91785e9e6fb65f7712d60cf99d2045a38321073b78d7a7e1b34078e5627acbe42e8f3ad7164bbf6eef27dbbb3c5d41d748' + 'c40cba5dfbf5af5d206cd42fa2b43f2321b481f83ab79c9ce4eaa76f204abab48ff2d8b8526a1a3d82636be97f18596d4343b0efc72a7082642e4af8d1b561c5' + '115fe7213d7edd0e3159607a31b28edb6e6b3bd1d454d516973e38c8cf0b803275c2c4e59b29e2260561270d931c71bad134046535e5add309e0a8d055cde0ff' + '8621db1c6355b4467081ae1860a78a910c1ab3e50c8b1d71a70d701cca46131933c5d8d1352d42e0d79f75bd40e73e4fc825b9fb5be80326ef65c115244aa9df') + +_game="papermc" +_server_root="/srv/papermc" + +package() { + install -Dm644 ${_game}.conf "${pkgdir}/etc/conf.d/${_game}" + install -Dm755 ${_game}.sh "${pkgdir}/usr/bin/${_game}" + install -Dm644 ${_game}.service "${pkgdir}/usr/lib/systemd/system/${_game}.service" + install -Dm644 ${_game}-backup.service "${pkgdir}/usr/lib/systemd/system/${_game}-backup.service" + install -Dm644 ${_game}-backup.timer "${pkgdir}/usr/lib/systemd/system/${_game}-backup.timer" + install -Dm644 ${_game}.sysusers "${pkgdir}/usr/lib/sysusers.d/${_game}.conf" + install -Dm644 ${_game}.tmpfiles "${pkgdir}/usr/lib/tmpfiles.d/${_game}.conf" + install -Dm644 ${_game}.${pkgver}.jar "${pkgdir}/${_server_root}/${_game}.${pkgver}.jar" + ln -s "${_game}.${pkgver}.jar" "${pkgdir}${_server_root}/${_game}_server.jar" + + # Link the log files + mkdir -p "${pkgdir}/var/log/" + install -dm2755 "${pkgdir}/${_server_root}/logs" + ln -s "${_server_root}/logs" "${pkgdir}/var/log/${_game}" + + # Give the group write permissions and set user or group ID on execution + chmod g+ws "${pkgdir}${_server_root}" + + install -D ./LICENSE_${pkgver}.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} diff --git a/tests/packagedcode/data/bashparse/PKGBUILD-papermc.sh-expected.json b/tests/packagedcode/data/bashparse/PKGBUILD-papermc.sh-expected.json new file mode 100644 index 00000000000..8fbd336d9f5 --- /dev/null +++ b/tests/packagedcode/data/bashparse/PKGBUILD-papermc.sh-expected.json @@ -0,0 +1,55 @@ +[ + { + "pkgname": "papermc", + "_pkgver": "1.17.1", + "_build": "100", + "_license_commit": "40b3461", + "pkgver": "1.17.1+b100", + "pkgrel": "3", + "pkgdesc": "Next generation of Minecraft server, compatible with Spigot plugins and offering uncompromising performance", + "arch": [ + "any" + ], + "url": "https://papermc.io/", + "license": [ + "custom" + ], + "depends": [ + "java-runtime-headless>=8", + "tmux", + "sudo", + "bash", + "awk", + "sed" + ], + "optdepends": [ + "tar: needed in order to create world backups", + "netcat: required in order to suspend an idle server" + ], + "conflicts": [ + "papermc-git" + ], + "backup": [ + "etc/conf.d/papermc" + ], + "install": "papermc.install", + "source": "", + "noextract": [ + "papermc.1.17.1+b100.jar" + ], + "sha512sums": [ + "34366f0d5e116c011e2ff2dba884b3c5dda6444e0fb28115bc5e12ee839551a77ade8bc174939ecb8f818fc0eca65aa478d87f0b9082b894efbd587909dbfbb8", + "a4fcc9f28436c0163e9414f2793fcbd4f6ea74772230cdff4a628246eae2a8008688b3dfb94d433f8f0887cd7eea3fe43ce25f9d5812d46e62179ff315b62895", + "51c5345155e8640d4f1eaef0c8cfb890ae46063f2d4e7a0fe181ad4c8ff7b96fea88b0f9fc74031d589dfd61602f37b440f183ca1859835930fe69d37508cd42", + "f29c4044d9e3cc5ab137c21f7e62399b36d7e1f777d5558a39f7b4a01de75bdf2de0b8678e424accc03934ca7db9ebb6a22c78c8c4497759287dd55e1c3eb456", + "fe268d7380f881229100700b1d4f4897904a630aa65b0b06bba08be5d5918f208d497e01fc5306deecd5d93a78cfdb7e9c7f1c3b910b3a414ce9af186a05224d", + "bb0633de2da12b0f9e8c9ba29ef61c91785e9e6fb65f7712d60cf99d2045a38321073b78d7a7e1b34078e5627acbe42e8f3ad7164bbf6eef27dbbb3c5d41d748", + "c40cba5dfbf5af5d206cd42fa2b43f2321b481f83ab79c9ce4eaa76f204abab48ff2d8b8526a1a3d82636be97f18596d4343b0efc72a7082642e4af8d1b561c5", + "115fe7213d7edd0e3159607a31b28edb6e6b3bd1d454d516973e38c8cf0b803275c2c4e59b29e2260561270d931c71bad134046535e5add309e0a8d055cde0ff", + "8621db1c6355b4467081ae1860a78a910c1ab3e50c8b1d71a70d701cca46131933c5d8d1352d42e0d79f75bd40e73e4fc825b9fb5be80326ef65c115244aa9df" + ], + "_game": "papermc", + "_server_root": "/srv/papermc" + }, + [] +] \ No newline at end of file diff --git a/tests/packagedcode/data/bashparse/bash.sh b/tests/packagedcode/data/bashparse/bash.sh new file mode 100644 index 00000000000..340856de49c --- /dev/null +++ b/tests/packagedcode/data/bashparse/bash.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash +export EDITOR=${EDITOR:=notepad} +WIN_BASE=`dirname $0` +UNIX_BASE=`cygpath "$WIN_BASE"` +export PATH="$PATH:$UNIX_BASE/${PYTHON_BIN_RELDIR_UNIX}:$UNIX_BASE/${PYTHON_BIN_RELDIR_UNIX}/Scripts" +export PYTHON_DIRECT=1 +export PYTHONUNBUFFERED=1 +if [[ $# > 0 ]]; then + $UNIX_BASE/${GIT_BIN_RELDIR_UNIX}/bin/bash.exe "$@" +else + $UNIX_BASE/${GIT_BIN_RELDIR_UNIX}/git-bash.exe & +fi diff --git a/tests/packagedcode/data/bashparse/bash.sh-expected.json b/tests/packagedcode/data/bashparse/bash.sh-expected.json new file mode 100644 index 00000000000..eca06903274 --- /dev/null +++ b/tests/packagedcode/data/bashparse/bash.sh-expected.json @@ -0,0 +1,7 @@ +[ + { + "WIN_BASE": "`dirname", + "UNIX_BASE": "`cygpath" + }, + [] +] \ No newline at end of file diff --git a/tests/packagedcode/data/bashparse/ebuild.sh b/tests/packagedcode/data/bashparse/ebuild.sh new file mode 100644 index 00000000000..37db90a914e --- /dev/null +++ b/tests/packagedcode/data/bashparse/ebuild.sh @@ -0,0 +1,422 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop libtool qmake-utils systemd + +MY_PV=${PV/_beta/-b} +MY_P=${PN}-${MY_PV} + +DESCRIPTION="Featureful client/server network backup suite" +HOMEPAGE="https://www.bacula.org/" +SRC_URI="mirror://sourceforge/bacula/${MY_P}.tar.gz" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="amd64 ppc ~sparc x86" +IUSE="acl bacula-clientonly bacula-nodir bacula-nosd +batch-insert examples ipv6 logwatch mysql postgres qt5 readline +sqlite ssl static tcpd vim-syntax X" + +DEPEND=" + !bacula-clientonly? ( + !bacula-nodir? ( virtual/mta ) + postgres? ( dev-db/postgresql:=[threads] ) + mysql? ( || ( dev-db/mysql-connector-c dev-db/mariadb-connector-c ) ) + sqlite? ( dev-db/sqlite:3 ) + ) + dev-libs/gmp:0 + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + dev-qt/qtsvg:5 + x11-libs/qwt:6 + ) + logwatch? ( sys-apps/logwatch ) + readline? ( sys-libs/readline:0 ) + static? ( + dev-libs/lzo[static-libs] + sys-libs/ncurses:=[static-libs] + sys-libs/zlib[static-libs] + acl? ( virtual/acl[static-libs(+)] ) + ssl? ( dev-libs/openssl:0=[static-libs] ) + ) + !static? ( + dev-libs/lzo + sys-libs/ncurses:= + sys-libs/zlib + acl? ( virtual/acl ) + ssl? ( dev-libs/openssl:0= ) + ) + tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) +" +RDEPEND="${DEPEND} + acct-user/bacula + acct-group/bacula + !bacula-clientonly? ( + !bacula-nosd? ( + app-arch/mt-st + sys-block/mtx + ) + ) + vim-syntax? ( || ( app-editors/vim app-editors/gvim ) ) +" + +REQUIRED_USE=" + !bacula-clientonly? ( ^^ ( mysql postgres sqlite ) ) + static? ( bacula-clientonly ) +" + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + #XOR and !bacula-clientonly controlled by REQUIRED_USE + use mysql && export mydbtype="mysql" + use postgres && export mydbtype="postgresql" + use sqlite && export mydbtype="sqlite3" + + if use bacula-clientonly && use static && use qt5; then + ewarn + ewarn "Building statically linked 'bat' is not supported. Ignorig 'qt5' useflag." + ewarn + fi +} + +src_prepare() { + # adjusts default configuration files for several binaries + # to /etc/bacula/ instead of ./ + pushd src >&/dev/null || die + for f in console/console.c dird/dird.c filed/filed.c \ + stored/bcopy.c stored/bextract.c stored/bls.c \ + stored/bscan.c stored/btape.c stored/stored.c \ + qt-console/main.cpp; do + sed -i -e 's|^\(#define CONFIG_FILE "\)|\1/etc/bacula/|g' "${f}" \ + || die "sed on ${f} failed" + done + popd >&/dev/null || die + + # bug 466688 drop deprecated categories from Desktop file + sed -i -e 's/Application;//' scripts/bat.desktop.in || die + + # bug 466690 Use CXXFLAGS instead of CFLAGS + sed -i -e 's/@CFLAGS@/@CXXFLAGS@/' autoconf/Make.common.in || die + + # drop automatic install of unneeded documentation (for bug 356499) + eapply -p0 "${FILESDIR}"/7.2.0/${PN}-7.2.0-doc.patch + + # bug #310087 + eapply "${FILESDIR}"/5.2.3/${PN}-5.2.3-as-needed.patch + + # bug #311161 + eapply -p0 "${FILESDIR}"/9.0.2/${PN}-9.0.2-lib-search-path.patch + + # bat needs to respect LDFLAGS and CFLAGS + eapply -p0 "${FILESDIR}"/9.0.6/${PN}-9.0.6-bat-pro.patch + + # bug #328701 + eapply -p0 "${FILESDIR}"/5.2.3/${PN}-5.2.3-openssl-1.patch + + eapply -p0 "${FILESDIR}"/9.6.3/${PN}-9.6.3-fix-static.patch + + # fix soname in libbaccat.so bug #602952 + eapply -p0 "${FILESDIR}/bacula-fix-sonames.patch" + + # do not strip binaries + sed -i -e "s/strip /# strip /" src/filed/Makefile.in || die + sed -i -e "s/strip /# strip /" src/console/Makefile.in || die + + # fix file not found error during make depend + eapply -p0 "${FILESDIR}"/7.0.2/${PN}-7.0.2-depend.patch + + eapply_user + + # Fix systemd unit files: + # bug 497748 + sed -i -e '/Requires/d' platforms/systemd/*.service.in || die + sed -i -e '/StandardOutput/d' platforms/systemd/*.service.in || die + # bug 504370 + sed -i -e '/Alias=bacula-dir/d' platforms/systemd/bacula-dir.service.in || die + # bug 584442 and 504368 + sed -i -e 's/@dir_user@/root/g' platforms/systemd/bacula-dir.service.in || die + + # build 'bat' for Qt5 + export QMAKE="$(qt5_get_bindir)"/qmake + + # adapt to >=Qt-5.9 (see bug #644566) + # qmake needs an existing target file to generate install instructions + sed -i -e 's#bins.files = bat#bins.files = .libs/bat#g' \ + src/qt-console/bat.pro.in || die + mkdir src/qt-console/.libs || die + touch src/qt-console/.libs/bat || die + chmod 755 src/qt-console/.libs/bat || die + + # fix handling of libressl version + # needs separate handling for =libressl2.7 + # (see bug #655520) + if has_version "&/dev/null || die + emake DESTDIR="${D}" install + popd >&/dev/null || die + fi + fi + + # Install all man pages + doman "${S}"/manpages/*.[18] + + if ! use qt5; then + rm -vf "${D}"/usr/share/man/man1/bat.1* + fi + rm -vf "${D}"/usr/share/man/man1/bacula-tray-monitor.1* + + if use bacula-clientonly || use bacula-nodir ; then + rm -vf "${D}"/usr/libexec/bacula/create_*_database + rm -vf "${D}"/usr/libexec/bacula/drop_*_database + rm -vf "${D}"/usr/libexec/bacula/make_*_tables + rm -vf "${D}"/usr/libexec/bacula/update_*_tables + rm -vf "${D}"/usr/libexec/bacula/drop_*_tables + rm -vf "${D}"/usr/libexec/bacula/grant_*_privileges + rm -vf "${D}"/usr/libexec/bacula/*_catalog_backup + fi + if use bacula-clientonly || use bacula-nosd; then + rm -vf "${D}"/usr/libexec/bacula/disk-changer + rm -vf "${D}"/usr/libexec/bacula/mtx-changer + rm -vf "${D}"/usr/libexec/bacula/dvd-handler + fi + + # documentation + dodoc ChangeLog ReleaseNotes SUPPORT + + # install examples (bug #457504) + if use examples; then + docinto examples/ + dodoc -r examples/* + fi + + # vim-files + if use vim-syntax; then + insinto /usr/share/vim/vimfiles/syntax + doins scripts/bacula.vim + insinto /usr/share/vim/vimfiles/ftdetect + newins scripts/filetype.vim bacula_ft.vim + fi + + # setup init scripts + myscripts="bacula-fd" + if ! use bacula-clientonly; then + if ! use bacula-nodir; then + myscripts="${myscripts} bacula-dir" + fi + if ! use bacula-nosd; then + myscripts="${myscripts} bacula-sd" + fi + fi + for script in ${myscripts}; do + # copy over init script and config to a temporary location + # so we can modify them as needed + cp "${FILESDIR}/${script}".confd "${T}/${script}".confd || die "failed to copy ${script}.confd" + cp "${FILESDIR}/newscripts/${script}".initd "${T}/${script}".initd || die "failed to copy ${script}.initd" + + # now set the database dependancy for the director init script + case "${script}" in + bacula-dir) + case "${mydbtype}" in + sqlite3) + # sqlite databases don't have a daemon + sed -i -e 's/need "%database%"/:/g' "${T}/${script}".initd || die + ;; + *) + # all other databases have daemons + sed -i -e "s:%database%:${mydbtype}:" "${T}/${script}".initd || die + ;; + esac + ;; + *) + ;; + esac + + # install init script and config + newinitd "${T}/${script}".initd "${script}" + newconfd "${T}/${script}".confd "${script}" + done + + systemd_dounit "${S}"/platforms/systemd/bacula-{dir,fd,sd}.service + + # make sure the working directory exists + diropts -m0750 + keepdir /var/lib/bacula + + # make sure bacula group can execute bacula libexec scripts + fowners -R root:bacula /usr/libexec/bacula +} + +pkg_postinst() { + if use bacula-clientonly; then + fowners root:bacula /var/lib/bacula + else + fowners bacula:bacula /var/lib/bacula + fi + + einfo + einfo "A group 'bacula' has been created. Any users you add to this" + einfo "group have access to files created by the daemons." + einfo + einfo "A user 'bacula' has been created. Please see the bacula manual" + einfo "for information about running bacula as a non-root user." + einfo + + if ! use bacula-clientonly && ! use bacula-nodir; then + einfo + einfo "If this is a new install, you must create the ${mydbtype} databases with:" + einfo " /usr/libexec/bacula/create_${mydbtype}_database" + einfo " /usr/libexec/bacula/make_${mydbtype}_tables" + einfo " /usr/libexec/bacula/grant_${mydbtype}_privileges" + einfo + + ewarn "ATTENTION!" + ewarn "The format of the database may have changed." + ewarn "If you just upgraded from a version below 9.0.0 you must run" + ewarn "'update_bacula_tables' now." + ewarn "Make sure to have a backup of your catalog before." + ewarn + fi + + if use sqlite; then + einfo + einfo "Be aware that Bacula does not officially support SQLite database anymore." + einfo "Best use it only for a client-only installation. See Bug #445540." + einfo + fi + + einfo "Please note that 'bconsole' will always be installed. To compile 'bat'" + einfo "you have to enable 'USE=qt5'." + einfo + einfo "/var/lib/bacula/tmp was configured for archivedir. This dir will be used during" + einfo "restores, so be sure to set it to an appropriate in dir in the bacula config." +} diff --git a/tests/packagedcode/data/bashparse/ebuild.sh-expected.json b/tests/packagedcode/data/bashparse/ebuild.sh-expected.json new file mode 100644 index 00000000000..4c3f1e36877 --- /dev/null +++ b/tests/packagedcode/data/bashparse/ebuild.sh-expected.json @@ -0,0 +1,19 @@ +[ + { + "EAPI": "7", + "MY_PV": "", + "MY_P": "-", + "DESCRIPTION": "Featureful client/server network backup suite", + "HOMEPAGE": "https://www.bacula.org/", + "SRC_URI": "mirror://sourceforge/bacula/-.tar.gz", + "LICENSE": "AGPL-3", + "SLOT": "0", + "KEYWORDS": "amd64 ppc ~sparc x86", + "IUSE": "acl bacula-clientonly bacula-nodir bacula-nosd +batch-insert examples ipv6 logwatch mysql postgres qt5 readline +sqlite ssl static tcpd vim-syntax X", + "DEPEND": "\n\t!bacula-clientonly? (\n\t\t!bacula-nodir? ( virtual/mta )\n\t\tpostgres? ( dev-db/postgresql:=[threads] )\n\t\tmysql? ( || ( dev-db/mysql-connector-c dev-db/mariadb-connector-c ) )\n\t\tsqlite? ( dev-db/sqlite:3 )\n\t)\n\tdev-libs/gmp:0\n\tqt5? (\n\t\tdev-qt/qtcore:5\n\t\tdev-qt/qtgui:5\n\t\tdev-qt/qtwidgets:5\n\t\tdev-qt/qtsvg:5\n\t\tx11-libs/qwt:6\n\t)\n\tlogwatch? ( sys-apps/logwatch )\n\treadline? ( sys-libs/readline:0 )\n\tstatic? (\n\t\tdev-libs/lzo[static-libs]\n\t\tsys-libs/ncurses:=[static-libs]\n\t\tsys-libs/zlib[static-libs]\n\t\tacl? ( virtual/acl[static-libs(+)] )\n\t\tssl? ( dev-libs/openssl:0=[static-libs] )\n\t)\n\t!static? (\n\t\tdev-libs/lzo\n\t\tsys-libs/ncurses:=\n\t\tsys-libs/zlib\n\t\tacl? ( virtual/acl )\n\t\tssl? ( dev-libs/openssl:0= )\n\t)\n\ttcpd? ( >=sys-apps/tcp-wrappers-7.6 )\n", + "RDEPEND": "\n\t!bacula-clientonly? (\n\t\t!bacula-nodir? ( virtual/mta )\n\t\tpostgres? ( dev-db/postgresql:=[threads] )\n\t\tmysql? ( || ( dev-db/mysql-connector-c dev-db/mariadb-connector-c ) )\n\t\tsqlite? ( dev-db/sqlite:3 )\n\t)\n\tdev-libs/gmp:0\n\tqt5? (\n\t\tdev-qt/qtcore:5\n\t\tdev-qt/qtgui:5\n\t\tdev-qt/qtwidgets:5\n\t\tdev-qt/qtsvg:5\n\t\tx11-libs/qwt:6\n\t)\n\tlogwatch? ( sys-apps/logwatch )\n\treadline? ( sys-libs/readline:0 )\n\tstatic? (\n\t\tdev-libs/lzo[static-libs]\n\t\tsys-libs/ncurses:=[static-libs]\n\t\tsys-libs/zlib[static-libs]\n\t\tacl? ( virtual/acl[static-libs(+)] )\n\t\tssl? ( dev-libs/openssl:0=[static-libs] )\n\t)\n\t!static? (\n\t\tdev-libs/lzo\n\t\tsys-libs/ncurses:=\n\t\tsys-libs/zlib\n\t\tacl? ( virtual/acl )\n\t\tssl? ( dev-libs/openssl:0= )\n\t)\n\ttcpd? ( >=sys-apps/tcp-wrappers-7.6 )\n\n\tacct-user/bacula\n\tacct-group/bacula\n\t!bacula-clientonly? (\n\t\t!bacula-nosd? (\n\t\t\tapp-arch/mt-st\n\t\t\tsys-block/mtx\n\t\t)\n\t)\n\tvim-syntax? ( || ( app-editors/vim app-editors/gvim ) )\n", + "REQUIRED_USE": "\n\t!bacula-clientonly? ( ^^ ( mysql postgres sqlite ) )\n\tstatic? ( bacula-clientonly )\n", + "S": "/-" + }, + [] +] \ No newline at end of file diff --git a/tests/packagedcode/data/bower/author-objects/expected.json b/tests/packagedcode/data/bower/author-objects/expected.json index 6443974711d..63a87393e61 100644 --- a/tests/packagedcode/data/bower/author-objects/expected.json +++ b/tests/packagedcode/data/bower/author-objects/expected.json @@ -76,6 +76,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:bower/John%20Doe", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/bower/basic/expected.json b/tests/packagedcode/data/bower/basic/expected.json index 412179601c6..c438c92442d 100644 --- a/tests/packagedcode/data/bower/basic/expected.json +++ b/tests/packagedcode/data/bower/basic/expected.json @@ -67,6 +67,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:bower/blue-leaf", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/bower/list-of-licenses/expected.json b/tests/packagedcode/data/bower/list-of-licenses/expected.json index f660b7f9a63..0f4993ec739 100644 --- a/tests/packagedcode/data/bower/list-of-licenses/expected.json +++ b/tests/packagedcode/data/bower/list-of-licenses/expected.json @@ -69,6 +69,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:bower/blue-leaf", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/build/bazel/end2end-expected.json b/tests/packagedcode/data/build/bazel/end2end-expected.json index 6da57ec0327..001d2d04d83 100644 --- a/tests/packagedcode/data/build/bazel/end2end-expected.json +++ b/tests/packagedcode/data/build/bazel/end2end-expected.json @@ -56,6 +56,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:bazel/end2end", "repository_homepage_url": null, "repository_download_url": null, @@ -128,6 +129,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:bazel/subdir2", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/build/bazel/parse/BUILD b/tests/packagedcode/data/build/bazel/parse/BUILD index e4108f08a9c..1a8b8105cc2 100644 --- a/tests/packagedcode/data/build/bazel/parse/BUILD +++ b/tests/packagedcode/data/build/bazel/parse/BUILD @@ -14,3 +14,10 @@ cc_binary( "//lib:hello-time", ], ) + +filegroup( + name = "package-srcs", + srcs = glob(["**"]), + tags = ["automanaged"], + visibility = ["//visibility:private"], +) diff --git a/tests/packagedcode/data/build/buck/end2end-expected.json b/tests/packagedcode/data/build/buck/end2end-expected.json index 8ca17da1c9c..1da52a35b83 100644 --- a/tests/packagedcode/data/build/buck/end2end-expected.json +++ b/tests/packagedcode/data/build/buck/end2end-expected.json @@ -56,6 +56,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:buck/end2end", "repository_homepage_url": null, "repository_download_url": null, @@ -130,6 +131,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:buck/bin", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/cargo/cargo_lock/sample1/output.expected.json b/tests/packagedcode/data/cargo/cargo_lock/sample1/output.expected.json index e5e22684ee3..7d2252251b8 100644 --- a/tests/packagedcode/data/cargo/cargo_lock/sample1/output.expected.json +++ b/tests/packagedcode/data/cargo/cargo_lock/sample1/output.expected.json @@ -53,6 +53,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/cargo/cargo_lock/sample2/output.expected.json b/tests/packagedcode/data/cargo/cargo_lock/sample2/output.expected.json index 35aff5636ca..b66339e7acd 100644 --- a/tests/packagedcode/data/cargo/cargo_lock/sample2/output.expected.json +++ b/tests/packagedcode/data/cargo/cargo_lock/sample2/output.expected.json @@ -45,6 +45,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/cargo/cargo_lock/sample3/output.expected.json b/tests/packagedcode/data/cargo/cargo_lock/sample3/output.expected.json index 45318627401..d00def405fc 100644 --- a/tests/packagedcode/data/cargo/cargo_lock/sample3/output.expected.json +++ b/tests/packagedcode/data/cargo/cargo_lock/sample3/output.expected.json @@ -45,6 +45,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/cargo/cargo_lock/sample4/output.expected.json b/tests/packagedcode/data/cargo/cargo_lock/sample4/output.expected.json index 4f747a42334..d7247c18d38 100644 --- a/tests/packagedcode/data/cargo/cargo_lock/sample4/output.expected.json +++ b/tests/packagedcode/data/cargo/cargo_lock/sample4/output.expected.json @@ -61,6 +61,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/cargo/cargo_lock/sample5/output.expected.json b/tests/packagedcode/data/cargo/cargo_lock/sample5/output.expected.json index 64f1f3af76f..da310d75218 100644 --- a/tests/packagedcode/data/cargo/cargo_lock/sample5/output.expected.json +++ b/tests/packagedcode/data/cargo/cargo_lock/sample5/output.expected.json @@ -61,6 +61,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/cargo/cargo_toml/clap/Cargo.toml.expected b/tests/packagedcode/data/cargo/cargo_toml/clap/Cargo.toml.expected index b88938e9ce9..13ff40424e0 100644 --- a/tests/packagedcode/data/cargo/cargo_toml/clap/Cargo.toml.expected +++ b/tests/packagedcode/data/cargo/cargo_toml/clap/Cargo.toml.expected @@ -36,6 +36,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:cargo/clap@2.32.0", "repository_homepage_url": "https://crates.io/crates/clap", "repository_download_url": "https://crates.io/api/v1/crates/clap/2.32.0/download", diff --git a/tests/packagedcode/data/cargo/cargo_toml/clippy/Cargo.toml.expected b/tests/packagedcode/data/cargo/cargo_toml/clippy/Cargo.toml.expected index c397788bfc3..b474fdc11f0 100644 --- a/tests/packagedcode/data/cargo/cargo_toml/clippy/Cargo.toml.expected +++ b/tests/packagedcode/data/cargo/cargo_toml/clippy/Cargo.toml.expected @@ -64,6 +64,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:cargo/clippy@0.0.212", "repository_homepage_url": "https://crates.io/crates/clippy", "repository_download_url": "https://crates.io/api/v1/crates/clippy/0.0.212/download", diff --git a/tests/packagedcode/data/cargo/cargo_toml/mdbook/Cargo.toml.expected b/tests/packagedcode/data/cargo/cargo_toml/mdbook/Cargo.toml.expected index 66bc4f38d88..4280d06b048 100644 --- a/tests/packagedcode/data/cargo/cargo_toml/mdbook/Cargo.toml.expected +++ b/tests/packagedcode/data/cargo/cargo_toml/mdbook/Cargo.toml.expected @@ -50,6 +50,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:cargo/mdbook@0.2.4-alpha.0", "repository_homepage_url": "https://crates.io/crates/mdbook", "repository_download_url": "https://crates.io/api/v1/crates/mdbook/0.2.4-alpha.0/download", diff --git a/tests/packagedcode/data/cargo/cargo_toml/rustfmt/Cargo.toml.expected b/tests/packagedcode/data/cargo/cargo_toml/rustfmt/Cargo.toml.expected index e942f737299..6ea061d82c9 100644 --- a/tests/packagedcode/data/cargo/cargo_toml/rustfmt/Cargo.toml.expected +++ b/tests/packagedcode/data/cargo/cargo_toml/rustfmt/Cargo.toml.expected @@ -43,6 +43,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:cargo/rustfmt-nightly@1.0.3", "repository_homepage_url": "https://crates.io/crates/rustfmt-nightly", "repository_download_url": "https://crates.io/api/v1/crates/rustfmt-nightly/1.0.3/download", diff --git a/tests/packagedcode/data/cargo/cargo_toml/rustup/Cargo.toml.expected b/tests/packagedcode/data/cargo/cargo_toml/rustup/Cargo.toml.expected index dc9e1679f72..5f52815b8b8 100644 --- a/tests/packagedcode/data/cargo/cargo_toml/rustup/Cargo.toml.expected +++ b/tests/packagedcode/data/cargo/cargo_toml/rustup/Cargo.toml.expected @@ -36,6 +36,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:cargo/rustup@1.17.0", "repository_homepage_url": "https://crates.io/crates/rustup", "repository_download_url": "https://crates.io/api/v1/crates/rustup/1.17.0/download", diff --git a/tests/packagedcode/data/chef/basic/metadata.json.expected b/tests/packagedcode/data/chef/basic/metadata.json.expected index 0ec92a11af2..e5c68e885c4 100644 --- a/tests/packagedcode/data/chef/basic/metadata.json.expected +++ b/tests/packagedcode/data/chef/basic/metadata.json.expected @@ -45,6 +45,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:chef/301@0.1.0", "repository_homepage_url": null, "repository_download_url": "https://supermarket.chef.io/cookbooks/301/versions/0.1.0/download", diff --git a/tests/packagedcode/data/chef/basic/metadata.rb.expected b/tests/packagedcode/data/chef/basic/metadata.rb.expected index 89a0922f9af..26fb6ce9f6d 100644 --- a/tests/packagedcode/data/chef/basic/metadata.rb.expected +++ b/tests/packagedcode/data/chef/basic/metadata.rb.expected @@ -45,6 +45,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:chef/301@0.1.0", "repository_homepage_url": null, "repository_download_url": "https://supermarket.chef.io/cookbooks/301/versions/0.1.0/download", diff --git a/tests/packagedcode/data/chef/basic/test_package.json.expected b/tests/packagedcode/data/chef/basic/test_package.json.expected index 2c79c7ff292..2605ed0a9bb 100644 --- a/tests/packagedcode/data/chef/basic/test_package.json.expected +++ b/tests/packagedcode/data/chef/basic/test_package.json.expected @@ -28,6 +28,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:chef/test@0.01", "repository_homepage_url": null, "repository_download_url": "https://supermarket.chef.io/cookbooks/test/versions/0.01/download", diff --git a/tests/packagedcode/data/chef/basic/test_package_code_view_url_and_bug_tracking_url.json.expected b/tests/packagedcode/data/chef/basic/test_package_code_view_url_and_bug_tracking_url.json.expected index 3f9eda64254..16ddfcf1f12 100644 --- a/tests/packagedcode/data/chef/basic/test_package_code_view_url_and_bug_tracking_url.json.expected +++ b/tests/packagedcode/data/chef/basic/test_package_code_view_url_and_bug_tracking_url.json.expected @@ -28,6 +28,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:chef/test@0.01", "repository_homepage_url": null, "repository_download_url": "https://supermarket.chef.io/cookbooks/test/versions/0.01/download", diff --git a/tests/packagedcode/data/chef/basic/test_package_dependencies.json.expected b/tests/packagedcode/data/chef/basic/test_package_dependencies.json.expected index 4d4b9d5d741..2fda7e50462 100644 --- a/tests/packagedcode/data/chef/basic/test_package_dependencies.json.expected +++ b/tests/packagedcode/data/chef/basic/test_package_dependencies.json.expected @@ -37,6 +37,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:chef/test@0.01", "repository_homepage_url": null, "repository_download_url": "https://supermarket.chef.io/cookbooks/test/versions/0.01/download", diff --git a/tests/packagedcode/data/chef/basic/test_package_parties.json.expected b/tests/packagedcode/data/chef/basic/test_package_parties.json.expected index 4857f422039..0a0ed8fe13d 100644 --- a/tests/packagedcode/data/chef/basic/test_package_parties.json.expected +++ b/tests/packagedcode/data/chef/basic/test_package_parties.json.expected @@ -36,6 +36,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:chef/test@0.01", "repository_homepage_url": null, "repository_download_url": "https://supermarket.chef.io/cookbooks/test/versions/0.01/download", diff --git a/tests/packagedcode/data/chef/dependencies/metadata.rb.expected b/tests/packagedcode/data/chef/dependencies/metadata.rb.expected index c0105e76c65..42399fd762d 100644 --- a/tests/packagedcode/data/chef/dependencies/metadata.rb.expected +++ b/tests/packagedcode/data/chef/dependencies/metadata.rb.expected @@ -53,6 +53,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:chef/build-essential@8.2.1", "repository_homepage_url": null, "repository_download_url": "https://supermarket.chef.io/cookbooks/build-essential/versions/8.2.1/download", diff --git a/tests/packagedcode/data/cocoapods/podspec/BadgeHub.podspec.expected.json b/tests/packagedcode/data/cocoapods/podspec/BadgeHub.podspec.expected.json index a547f0e92d7..645e96ef8ad 100644 --- a/tests/packagedcode/data/cocoapods/podspec/BadgeHub.podspec.expected.json +++ b/tests/packagedcode/data/cocoapods/podspec/BadgeHub.podspec.expected.json @@ -45,6 +45,7 @@ "source_packages": [ "https://github.com/jogendra/BadgeHub.git" ], + "extra_data": {}, "purl": "pkg:pods/BadgeHub@0.1.1", "repository_homepage_url": "https://cocoapods.org/pods/BadgeHub", "repository_download_url": "https://github.com/jogendra/BadgeHub/archive/0.1.1.zip", diff --git a/tests/packagedcode/data/cocoapods/podspec/LoadingShimmer.podspec.expected.json b/tests/packagedcode/data/cocoapods/podspec/LoadingShimmer.podspec.expected.json index 3d2e23d02ed..d3094a35419 100644 --- a/tests/packagedcode/data/cocoapods/podspec/LoadingShimmer.podspec.expected.json +++ b/tests/packagedcode/data/cocoapods/podspec/LoadingShimmer.podspec.expected.json @@ -45,6 +45,7 @@ "source_packages": [ "https://github.com/jogendra/LoadingShimmer.git" ], + "extra_data": {}, "purl": "pkg:pods/LoadingShimmer@1.0.3", "repository_homepage_url": "https://cocoapods.org/pods/LoadingShimmer", "repository_download_url": "https://github.com/jogendra/LoadingShimmer/archive/1.0.3.zip", diff --git a/tests/packagedcode/data/cocoapods/podspec/Starscream.podspec.expected.json b/tests/packagedcode/data/cocoapods/podspec/Starscream.podspec.expected.json index 07b086411d9..a1558b389ac 100644 --- a/tests/packagedcode/data/cocoapods/podspec/Starscream.podspec.expected.json +++ b/tests/packagedcode/data/cocoapods/podspec/Starscream.podspec.expected.json @@ -59,6 +59,7 @@ "source_packages": [ "https://github.com/daltoniam/Starscream.git" ], + "extra_data": {}, "purl": "pkg:pods/Starscream@4.0.3", "repository_homepage_url": "https://cocoapods.org/pods/Starscream", "repository_download_url": "https://github.com/daltoniam/Starscream/archive/4.0.3.zip", diff --git a/tests/packagedcode/data/cocoapods/podspec/SwiftLib.podspec.expected.json b/tests/packagedcode/data/cocoapods/podspec/SwiftLib.podspec.expected.json index f7dcc689782..24e25067f61 100644 --- a/tests/packagedcode/data/cocoapods/podspec/SwiftLib.podspec.expected.json +++ b/tests/packagedcode/data/cocoapods/podspec/SwiftLib.podspec.expected.json @@ -45,6 +45,7 @@ "source_packages": [ "https://github.com/alizainprasla/swiftlib.git" ], + "extra_data": {}, "purl": "pkg:pods/SwiftLib@0.0.1", "repository_homepage_url": "https://cocoapods.org/pods/SwiftLib", "repository_download_url": "https://github.com/alizainprasla/swiftlib/archive/0.0.1.zip", diff --git a/tests/packagedcode/data/cocoapods/podspec/nanopb.podspec.expected.json b/tests/packagedcode/data/cocoapods/podspec/nanopb.podspec.expected.json index e198a8886a2..ca4cfa3ecf2 100644 --- a/tests/packagedcode/data/cocoapods/podspec/nanopb.podspec.expected.json +++ b/tests/packagedcode/data/cocoapods/podspec/nanopb.podspec.expected.json @@ -45,6 +45,7 @@ "source_packages": [ "https://github.com/nanopb/nanopb.git" ], + "extra_data": {}, "purl": "pkg:pods/nanopb@1.30905.0", "repository_homepage_url": "https://cocoapods.org/pods/nanopb", "repository_download_url": "https://github.com/nanopb/nanopb/archive/1.30905.0.zip", diff --git a/tests/packagedcode/data/conda/meta.yaml.expected.json b/tests/packagedcode/data/conda/meta.yaml.expected.json index 838db7e6ff2..0685bc80647 100644 --- a/tests/packagedcode/data/conda/meta.yaml.expected.json +++ b/tests/packagedcode/data/conda/meta.yaml.expected.json @@ -93,6 +93,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:conda/abeona@0.45.0", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/cran/codetools/package.json.expected b/tests/packagedcode/data/cran/codetools/package.json.expected index 332195921f8..e72c7cdc50b 100644 --- a/tests/packagedcode/data/cran/codetools/package.json.expected +++ b/tests/packagedcode/data/cran/codetools/package.json.expected @@ -52,6 +52,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:cran/codetools@0.2-16", "repository_homepage_url": "https://cran.r-project.org/package=codetools", "repository_download_url": null, diff --git a/tests/packagedcode/data/cran/geometry/package.json.expected b/tests/packagedcode/data/cran/geometry/package.json.expected index 4407d35a160..e2cf3705f52 100644 --- a/tests/packagedcode/data/cran/geometry/package.json.expected +++ b/tests/packagedcode/data/cran/geometry/package.json.expected @@ -94,6 +94,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:cran/geometry@0.4.2", "repository_homepage_url": "https://cran.r-project.org/package=geometry", "repository_download_url": null, diff --git a/tests/packagedcode/data/debian/basic-rootfs-expected.json b/tests/packagedcode/data/debian/basic-rootfs-expected.json index fa4c6cc28f1..bce8804db81 100644 --- a/tests/packagedcode/data/debian/basic-rootfs-expected.json +++ b/tests/packagedcode/data/debian/basic-rootfs-expected.json @@ -77,7 +77,9 @@ "sha512": null } ], - "multi_arch": "same", + "extra_data": { + "multi_arch": "same" + }, "purl": "pkg:deb/debian/libncurses5@6.1-1ubuntu1.18.04?arch=amd64", "repository_homepage_url": null, "repository_download_url": null, @@ -153,7 +155,9 @@ "sha512": null } ], - "multi_arch": "same", + "extra_data": { + "multi_arch": "same" + }, "purl": "pkg:deb/debian/libndp0@1.4-2ubuntu0.16.04.1?arch=amd64", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/debian/basic-rootfs-with-licenses-expected.json b/tests/packagedcode/data/debian/basic-rootfs-with-licenses-expected.json index 96cb67fa1b8..1d166483811 100644 --- a/tests/packagedcode/data/debian/basic-rootfs-with-licenses-expected.json +++ b/tests/packagedcode/data/debian/basic-rootfs-with-licenses-expected.json @@ -77,7 +77,9 @@ "sha512": null } ], - "multi_arch": "same", + "extra_data": { + "multi_arch": "same" + }, "purl": "pkg:deb/debian/libncurses5@6.1-1ubuntu1.18.04?arch=amd64", "repository_homepage_url": null, "repository_download_url": null, @@ -118,8 +120,10 @@ "code_view_url": null, "vcs_url": null, "copyright": "Copyright 2013 Jiri Pirko ", - "license_expression": "lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1", - "declared_license": ["LGPL-2.1+"], + "license_expression": "lgpl-2.1-plus AND lgpl-2.1", + "declared_license": [ + "LGPL-2.1+" + ], "notice_text": null, "root_path": null, "dependencies": [], @@ -153,7 +157,9 @@ "sha512": null } ], - "multi_arch": "same", + "extra_data": { + "multi_arch": "same" + }, "purl": "pkg:deb/debian/libndp0@1.4-2ubuntu0.16.04.1?arch=amd64", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/debian/basic/status.expected b/tests/packagedcode/data/debian/basic/status.expected index 75c05c7267d..5f5f9d18faf 100644 --- a/tests/packagedcode/data/debian/basic/status.expected +++ b/tests/packagedcode/data/debian/basic/status.expected @@ -43,6 +43,9 @@ "source_packages": [ "pkg:deb/ubuntu/ncurses" ], + "extra_data": { + "multi_arch": "same" + }, "purl": "pkg:deb/ubuntu/libncurses5@6.1-1ubuntu1.18.04?arch=amd64", "repository_homepage_url": null, "repository_download_url": null, @@ -92,6 +95,9 @@ "source_packages": [ "pkg:deb/ubuntu/e2fsprogs" ], + "extra_data": { + "multi_arch": "same" + }, "purl": "pkg:deb/ubuntu/libcom-err2@1.44.1-1ubuntu1.1?arch=amd64", "repository_homepage_url": null, "repository_download_url": null, @@ -141,6 +147,9 @@ "source_packages": [ "pkg:deb/ubuntu/apt" ], + "extra_data": { + "multi_arch": "same" + }, "purl": "pkg:deb/ubuntu/libapt-pkg5.0@1.6.11?arch=amd64", "repository_homepage_url": null, "repository_download_url": null, @@ -190,6 +199,9 @@ "source_packages": [ "pkg:deb/ubuntu/audit" ], + "extra_data": { + "multi_arch": "same" + }, "purl": "pkg:deb/ubuntu/libaudit1@1:2.8.2-1ubuntu1?arch=amd64", "repository_homepage_url": null, "repository_download_url": null, @@ -239,6 +251,7 @@ "source_packages": [ "pkg:deb/ubuntu/perl" ], + "extra_data": {}, "purl": "pkg:deb/ubuntu/perl-base@5.26.1-6ubuntu0.3?arch=amd64", "repository_homepage_url": null, "repository_download_url": null, @@ -288,6 +301,9 @@ "source_packages": [ "pkg:deb/ubuntu/systemd" ], + "extra_data": { + "multi_arch": "same" + }, "purl": "pkg:deb/ubuntu/libudev1@237-3ubuntu10.22?arch=amd64", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/debian/copyright/crafted_for_tests/test_all_licenses_not_used b/tests/packagedcode/data/debian/copyright/crafted_for_tests/test_all_licenses_not_used new file mode 100644 index 00000000000..4a60029b256 --- /dev/null +++ b/tests/packagedcode/data/debian/copyright/crafted_for_tests/test_all_licenses_not_used @@ -0,0 +1,24 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: foo +Upstream-Contact: Someone +Source: http://www.lysator.liu.se/~nisse/nettle/ +Copyright: © 2001-2020 Someone + Some parts are Copyright © the Free Software Foundation and various + people. See below and source code comments for details. +License: GPL-2+ + +Files: * +Copyright: 2001-2020 Someone +License: GPL-2+ + +License: GPL-2+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + +License: LGPL-3+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. \ No newline at end of file diff --git a/tests/packagedcode/data/debian/copyright/crafted_for_tests/test_license_nameless b/tests/packagedcode/data/debian/copyright/crafted_for_tests/test_license_nameless new file mode 100644 index 00000000000..fa87c9c20a2 --- /dev/null +++ b/tests/packagedcode/data/debian/copyright/crafted_for_tests/test_license_nameless @@ -0,0 +1,24 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: foo +Upstream-Contact: Someone +Source: http://www.lysator.liu.se/~nisse/nettle/ +Copyright: © 2001-2020 Someone + Some parts are Copyright © the Free Software Foundation and various + people. See below and source code comments for details. +License: LGPL-3+ or GPL-2+ + +Files: * +Copyright: 2001-2020 Someone +License: + +License: GPL-2+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + +License: LGPL-3+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. \ No newline at end of file diff --git a/tests/packagedcode/data/debian/copyright/crafted_for_tests/test_license_with_names b/tests/packagedcode/data/debian/copyright/crafted_for_tests/test_license_with_names new file mode 100644 index 00000000000..c1e327dfb9f --- /dev/null +++ b/tests/packagedcode/data/debian/copyright/crafted_for_tests/test_license_with_names @@ -0,0 +1,24 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: foo +Upstream-Contact: Someone +Source: http://www.lysator.liu.se/~nisse/nettle/ +Copyright: © 2001-2020 Someone + Some parts are Copyright © the Free Software Foundation and various + people. See below and source code comments for details. +License: LGPL-3+ or GPL-2+ + +Files: * +Copyright: 2001-2020 Someone +License: LGPL-3+ or GPL-2+ + +License: GPL-2+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + +License: LGPL-3+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. \ No newline at end of file diff --git a/tests/packagedcode/data/debian/copyright/crafted_for_tests/test_licenses_unparsable b/tests/packagedcode/data/debian/copyright/crafted_for_tests/test_licenses_unparsable new file mode 100644 index 00000000000..9465008abb7 --- /dev/null +++ b/tests/packagedcode/data/debian/copyright/crafted_for_tests/test_licenses_unparsable @@ -0,0 +1,21 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: foo +Upstream-Contact: Someone +Source: http://www.lysator.liu.se/~nisse/nettle/ +Copyright: © 2001-2020 Someone + Some parts are Copyright © the Free Software Foundation and various + people. See below and source code comments for details. +License: GPL-2+ + +Files: * +Copyright: 2001-2020 Someone +License: warranty disclaimer + +License: GPL-2+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + +License: mit/x11 + mit/x11 license text \ No newline at end of file diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/acme-tiny/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/acme-tiny/stable_copyright-detailed.expected.yml index abfe08820cc..16fe30b9d9a 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/acme-tiny/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/acme-tiny/stable_copyright-detailed.expected.yml @@ -1,9 +1,46 @@ -- - MIT +primary_license: mit +declared_license: - MIT - MIT -- mit AND mit -- | + - MIT +license_expression: mit AND mit +copyright: | 2015 Daniel Roesler 2016-2017 Jeremías Casteglione 2017-2018 Sebastien Badia 2019 Samuel Henrique +matches: + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/acme-tiny/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/acme-tiny/stable_copyright.expected.yml index e7d757b2fce..9ceaec3675f 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/acme-tiny/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/acme-tiny/stable_copyright.expected.yml @@ -1,3 +1,40 @@ -- - MIT -- mit -- 2015 Daniel Roesler +primary_license: mit +declared_license: + - MIT +license_expression: mit +copyright: 2015 Daniel Roesler +matches: + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/apache2/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/apache2/stable_copyright-detailed.expected.yml index 1941c7ff483..e975bbfbc7f 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/apache2/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/apache2/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - Apache-2.0 +primary_license: apache-2.0 +declared_license: + - Apache-2.0 - Apache-2.0 and BSD-3-clause-Cambridge - PCRE - GPL-3+ or Custom @@ -25,15 +27,15 @@ - BSD-3-clause-Cambridge - Custom - Expat -- (apache-2.0 AND apache-2.0 AND apache-2.0) AND ((apache-2.0 AND apache-2.0 AND apache-2.0) - AND bsd-new) AND bsd-new AND ((gpl-3.0-plus AND gpl-3.0-plus AND gpl-2.0 AND gpl-3.0) OR bison-exception-2.2) - AND bsd-unchanged AND ((apache-2.0 AND apache-2.0 AND apache-2.0) AND (apache-2.0 AND hs-regexp)) - AND (apache-2.0 AND apache-2.0 AND apache-2.0) AND bsd-simplified-darwin AND ((apache-2.0 - AND apache-2.0 AND apache-2.0) AND unknown-license-reference) AND ((apache-2.0 AND apache-2.0 +license_expression: (apache-2.0 AND apache-2.0 AND apache-2.0) AND ((apache-2.0 AND apache-2.0 + AND apache-2.0) AND bsd-new) AND bsd-new AND ((gpl-3.0-plus AND gpl-3.0-plus AND gpl-2.0 AND + gpl-3.0) OR bison-exception-2.2) AND bsd-unchanged AND ((apache-2.0 AND apache-2.0 AND apache-2.0) + AND (apache-2.0 AND hs-regexp)) AND (apache-2.0 AND apache-2.0 AND apache-2.0) AND bsd-simplified-darwin + AND ((apache-2.0 AND apache-2.0 AND apache-2.0) AND public-domain) AND ((apache-2.0 AND apache-2.0 AND apache-2.0) AND (x11-keith-packard AND historical)) AND ((apache-2.0 AND apache-2.0 AND apache-2.0) AND zeusbench) AND ((apache-2.0 AND apache-2.0 AND apache-2.0) OR (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0)) AND mit AND (apache-2.0 AND apache-2.0 AND apache-2.0) -- | +copyright: | Copyright 2019 The Apache Software Foundation 2019 The Apache Software Foundation Copyright: 1997-2004 University of Cambridge @@ -58,3 +60,630 @@ 2012 Arno Töll 2012 Arno Töll 2008 Stefan Fritsch +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '100.0' + start_line: 1 + end_line: 14 + matcher: 2-aho + rule_length: 119 + matched_length: 119 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_663.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + - score: '100.0' + start_line: 16 + end_line: 17 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_664.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the full text of the Apache Software License version 2 can + be found in the file `/usr/share/common-licenses/Apache-2.0'. + - score: '100.0' + start_line: 4 + end_line: 13 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zeusbench_1.RULE + license_expression: zeusbench + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided "as is" and any express or implied warranties, + including but not limited to, the implied warranties of merchantability and + fitness for a particular purpose are disclaimed. In no event shall + Zeus Technology Ltd. be liable for any direct, indirect, incidental, special, + exemplary, or consequential damaged (including, but not limited to, + procurement of substitute good or services; loss of use, data, or profits; + or business interruption) however caused and on theory of liability. Whether + in contract, strict liability or tort (including negligence or otherwise) + arising in any way out of the use of this software, even if advised of the + possibility of such damage + - score: '100.0' + start_line: 13 + end_line: 37 + matcher: 2-aho + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_879.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + * Neither the name of the University of Cambridge nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 27 + end_line: 46 + matcher: 2-aho + rule_length: 168 + matched_length: 168 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-keith-packard3.RULE + license_expression: x11-keith-packard + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, distribute, and sell this software + and its documentation for any purpose is hereby granted without + fee, provided that the above copyright notice appear in all copies + and that both that copyright notice and this permission notice + appear in supporting documentation, and that the name of Carnegie + Mellon University not be used in advertising or publicity + pertaining to distribution of the software without specific, + written prior permission. Carnegie Mellon University makes no + representations about the suitability of this software for any + purpose. It is provided "as is" without express or implied + warranty. + + CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO + THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE + FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN + AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING + OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + SOFTWARE. + - score: '100.0' + start_line: 52 + end_line: 61 + matcher: 2-aho + rule_length: 87 + matched_length: 87 + match_coverage: '100.0' + rule_relevance: 100 + identifier: historical_9.RULE + license_expression: historical + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this material + for any purpose and without fee is hereby granted, provided + that the above copyright notice and this permission notice + appear in all copies, and that the name of Bellcore not be + used in advertising or publicity pertaining to this + material without the specific, prior written permission + of an authorized representative of Bellcore. BELLCORE + MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY + OF THIS MATERIAL FOR ANY PURPOSE. IT IS PROVIDED "AS IS", + WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 2-aho + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_96.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '33.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 2-aho + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_90.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 33 + matcher: 1-hash + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_361.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This imagemap module started as a port of the original imagemap.c + written by Rob McCool (11/13/93 robm@ncsa.uiuc.edu). + This version includes the mapping algorithms found in version 1.3 + of imagemap.c. + + Contributors to this code include: + + Kevin Hughes, kevinh@pulua.hcc.hawaii.edu + + Eric Haines, erich@eye.com + "macmartinized" polygon code copyright 1992 by Eric Haines, erich@eye.com + + Randy Terbush, randy@zyzzyva.com + port to Apache module format, "base_uri" and support for relative URLs + + James H. Cloos, Jr., cloos@jhcloos.com + Added point datatype, using code in NCSA's version 1.8 imagemap.c + program, as distributed with version 1.4.1 of their server. + The point code is originally added by Craig Milo Rogers, Rogers@ISI.Edu + + Nathan Kurz, nate@tripod.com + Rewrite/reorganization. New handling of default, base and relative URLs. + New Configuration directives: + ImapMenu {none, formatted, semiformatted, unformatted} + ImapDefault {error, nocontent, referer, menu, URL} + ImapBase {map, referer, URL} + Support for creating non-graphical menu added. (backwards compatible): + Old: directive URL [x,y ...] + New: directive URL "Menu text" [x,y ...] + or: directive URL x,y ... "Menu text" + Map format and menu concept courtesy Joshua Bell, jsbell@acs.ucalgary.ca. + + Mark Cox, mark@ukweb.com, Allow relative URLs even when no base specified + - score: '100.0' + start_line: 4 + end_line: 27 + matcher: 2-aho + rule_length: 217 + matched_length: 217 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified-darwin.LICENSE + license_expression: bsd-simplified-darwin + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is not subject to any export provision of the United States + Department of Commerce, and may be exported to any country or planet. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice immediately at the beginning of the file, without modification, + this list of conditions, and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR + ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '95.56' + start_line: 1 + end_line: 4 + matcher: 3-seq + rule_length: 45 + matched_length: 43 + match_coverage: '95.56' + rule_relevance: 100 + identifier: apache-2.0_44.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software was submitted by Cisco Systems to the Apache [Software] [Foundation] in July + 1997. Future revisions and derivatives of this source code must + acknowledge Cisco Systems as the original contributor of this module. + All other licensing and usage conditions are those of the Apache + - score: '100.0' + start_line: 12 + end_line: 30 + matcher: 2-aho + rule_length: 148 + matched_length: 148 + match_coverage: '100.0' + rule_relevance: 100 + identifier: hs-regexp_1.RULE + license_expression: hs-regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is not subject to any license of the American Telephone and + Telegraph Company or of the Regents of the University of California. + + Permission is granted to anyone to use this software for any purpose on any + computer system, and to alter it and redistribute it freely, subject to + the following restrictions: + + 1. The author is not responsible for the consequences of use of this + software, no matter how awful, even if they arise from flaws in it. + + 2. The origin of this software must not be misrepresented, either by + explicit claim or by omission. Since few users ever read sources, credits + must appear in the documentation. + + 3. Altered versions must be plainly marked as such, and must not be + misrepresented as being the original software. Since few users ever read + sources, credits must appear in the documentation. + + 4. This notice may not be removed or altered. + - score: '99.52' + start_line: 1 + end_line: 22 + matcher: 3-seq + rule_length: 208 + matched_length: 207 + match_coverage: '99.52' + rule_relevance: 100 + identifier: bsd-unchanged_1.RULE + license_expression: bsd-unchanged + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer + in this position and unchanged. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the author may not be used to endorse or promote products + derived from this software [withough] specific prior written permission + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 1-hash + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_879.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + * Neither the name of the University of Cambridge nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bison-exception-2.2.LICENSE + license_expression: bison-exception-2.2 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + . + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. */ + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of + the Software, and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/apache2/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/apache2/stable_copyright.expected.yml index 8ed017709ea..b813fbc09a9 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/apache2/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/apache2/stable_copyright.expected.yml @@ -1,4 +1,6 @@ -- - Apache-2.0 +primary_license: apache-2.0 +declared_license: + - Apache-2.0 - Apache-2.0 and BSD-3-clause-Cambridge - PCRE - GPL-3+ or Custom @@ -18,14 +20,12 @@ - Cisco - BSD-3-clause-Cambridge - Custom -- (apache-2.0 AND apache-2.0 AND apache-2.0) AND ((apache-2.0 AND apache-2.0 AND apache-2.0) - AND bsd-new) AND bsd-new AND ((gpl-3.0-plus AND gpl-3.0-plus AND gpl-2.0 AND gpl-3.0) OR bison-exception-2.2) - AND bsd-unchanged AND ((apache-2.0 AND apache-2.0 AND apache-2.0) AND (apache-2.0 AND hs-regexp)) - AND bsd-simplified-darwin AND ((apache-2.0 AND apache-2.0 AND apache-2.0) AND unknown-license-reference) - AND ((apache-2.0 AND apache-2.0 AND apache-2.0) AND (x11-keith-packard AND historical)) AND - ((apache-2.0 AND apache-2.0 AND apache-2.0) AND zeusbench) AND ((apache-2.0 AND apache-2.0 - AND apache-2.0) OR (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0)) AND mit -- | +license_expression: apache-2.0 AND (apache-2.0 AND bsd-new) AND bsd-new AND ((gpl-3.0-plus AND + gpl-2.0 AND gpl-3.0) OR bison-exception-2.2) AND bsd-unchanged AND (apache-2.0 AND (apache-2.0 + AND hs-regexp)) AND bsd-simplified-darwin AND (apache-2.0 AND public-domain) AND (apache-2.0 + AND (x11-keith-packard AND historical)) AND (apache-2.0 AND zeusbench) AND (apache-2.0 OR + (gpl-2.0-plus AND gpl-2.0)) AND mit +copyright: | Copyright 2019 The Apache Software Foundation 2019 The Apache Software Foundation Copyright: 1997-2004 University of Cambridge @@ -44,3 +44,630 @@ 1996 by Zeus Technology Ltd. http://www.zeustech.net/ 2012 Arno Töll 2008 Stefan Fritsch +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '100.0' + start_line: 1 + end_line: 14 + matcher: 2-aho + rule_length: 119 + matched_length: 119 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_663.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + - score: '100.0' + start_line: 16 + end_line: 17 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_664.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the full text of the Apache Software License version 2 can + be found in the file `/usr/share/common-licenses/Apache-2.0'. + - score: '100.0' + start_line: 4 + end_line: 13 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zeusbench_1.RULE + license_expression: zeusbench + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided "as is" and any express or implied warranties, + including but not limited to, the implied warranties of merchantability and + fitness for a particular purpose are disclaimed. In no event shall + Zeus Technology Ltd. be liable for any direct, indirect, incidental, special, + exemplary, or consequential damaged (including, but not limited to, + procurement of substitute good or services; loss of use, data, or profits; + or business interruption) however caused and on theory of liability. Whether + in contract, strict liability or tort (including negligence or otherwise) + arising in any way out of the use of this software, even if advised of the + possibility of such damage + - score: '100.0' + start_line: 13 + end_line: 37 + matcher: 2-aho + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_879.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + * Neither the name of the University of Cambridge nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 27 + end_line: 46 + matcher: 2-aho + rule_length: 168 + matched_length: 168 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-keith-packard3.RULE + license_expression: x11-keith-packard + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, distribute, and sell this software + and its documentation for any purpose is hereby granted without + fee, provided that the above copyright notice appear in all copies + and that both that copyright notice and this permission notice + appear in supporting documentation, and that the name of Carnegie + Mellon University not be used in advertising or publicity + pertaining to distribution of the software without specific, + written prior permission. Carnegie Mellon University makes no + representations about the suitability of this software for any + purpose. It is provided "as is" without express or implied + warranty. + + CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO + THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE + FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN + AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING + OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + SOFTWARE. + - score: '100.0' + start_line: 52 + end_line: 61 + matcher: 2-aho + rule_length: 87 + matched_length: 87 + match_coverage: '100.0' + rule_relevance: 100 + identifier: historical_9.RULE + license_expression: historical + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this material + for any purpose and without fee is hereby granted, provided + that the above copyright notice and this permission notice + appear in all copies, and that the name of Bellcore not be + used in advertising or publicity pertaining to this + material without the specific, prior written permission + of an authorized representative of Bellcore. BELLCORE + MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY + OF THIS MATERIAL FOR ANY PURPOSE. IT IS PROVIDED "AS IS", + WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 2-aho + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_96.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '33.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 2-aho + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_90.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 33 + matcher: 1-hash + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_361.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This imagemap module started as a port of the original imagemap.c + written by Rob McCool (11/13/93 robm@ncsa.uiuc.edu). + This version includes the mapping algorithms found in version 1.3 + of imagemap.c. + + Contributors to this code include: + + Kevin Hughes, kevinh@pulua.hcc.hawaii.edu + + Eric Haines, erich@eye.com + "macmartinized" polygon code copyright 1992 by Eric Haines, erich@eye.com + + Randy Terbush, randy@zyzzyva.com + port to Apache module format, "base_uri" and support for relative URLs + + James H. Cloos, Jr., cloos@jhcloos.com + Added point datatype, using code in NCSA's version 1.8 imagemap.c + program, as distributed with version 1.4.1 of their server. + The point code is originally added by Craig Milo Rogers, Rogers@ISI.Edu + + Nathan Kurz, nate@tripod.com + Rewrite/reorganization. New handling of default, base and relative URLs. + New Configuration directives: + ImapMenu {none, formatted, semiformatted, unformatted} + ImapDefault {error, nocontent, referer, menu, URL} + ImapBase {map, referer, URL} + Support for creating non-graphical menu added. (backwards compatible): + Old: directive URL [x,y ...] + New: directive URL "Menu text" [x,y ...] + or: directive URL x,y ... "Menu text" + Map format and menu concept courtesy Joshua Bell, jsbell@acs.ucalgary.ca. + + Mark Cox, mark@ukweb.com, Allow relative URLs even when no base specified + - score: '100.0' + start_line: 4 + end_line: 27 + matcher: 2-aho + rule_length: 217 + matched_length: 217 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified-darwin.LICENSE + license_expression: bsd-simplified-darwin + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is not subject to any export provision of the United States + Department of Commerce, and may be exported to any country or planet. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice immediately at the beginning of the file, without modification, + this list of conditions, and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR + ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '95.56' + start_line: 1 + end_line: 4 + matcher: 3-seq + rule_length: 45 + matched_length: 43 + match_coverage: '95.56' + rule_relevance: 100 + identifier: apache-2.0_44.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software was submitted by Cisco Systems to the Apache [Software] [Foundation] in July + 1997. Future revisions and derivatives of this source code must + acknowledge Cisco Systems as the original contributor of this module. + All other licensing and usage conditions are those of the Apache + - score: '100.0' + start_line: 12 + end_line: 30 + matcher: 2-aho + rule_length: 148 + matched_length: 148 + match_coverage: '100.0' + rule_relevance: 100 + identifier: hs-regexp_1.RULE + license_expression: hs-regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is not subject to any license of the American Telephone and + Telegraph Company or of the Regents of the University of California. + + Permission is granted to anyone to use this software for any purpose on any + computer system, and to alter it and redistribute it freely, subject to + the following restrictions: + + 1. The author is not responsible for the consequences of use of this + software, no matter how awful, even if they arise from flaws in it. + + 2. The origin of this software must not be misrepresented, either by + explicit claim or by omission. Since few users ever read sources, credits + must appear in the documentation. + + 3. Altered versions must be plainly marked as such, and must not be + misrepresented as being the original software. Since few users ever read + sources, credits must appear in the documentation. + + 4. This notice may not be removed or altered. + - score: '99.52' + start_line: 1 + end_line: 22 + matcher: 3-seq + rule_length: 208 + matched_length: 207 + match_coverage: '99.52' + rule_relevance: 100 + identifier: bsd-unchanged_1.RULE + license_expression: bsd-unchanged + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer + in this position and unchanged. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the author may not be used to endorse or promote products + derived from this software [withough] specific prior written permission + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 1-hash + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_879.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + * Neither the name of the University of Cambridge nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bison-exception-2.2.LICENSE + license_expression: bison-exception-2.2 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + . + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. */ + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of + the Software, and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/appstream/appstream_0.12.5-1_copyright b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/appstream/appstream_0.12.5-1_copyright index 02a5669962b..3596899774c 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/appstream/appstream_0.12.5-1_copyright +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/appstream/appstream_0.12.5-1_copyright @@ -1,4 +1,4 @@ -t: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: AppStream Upstream-Contact: Matthias Klumpp Source: https://www.freedesktop.org/wiki/Distributions/AppStream/ diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/appstream/appstream_0.12.5-1_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/appstream/appstream_0.12.5-1_copyright-detailed.expected.yml index 992ffadb27f..2210b92dfb4 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/appstream/appstream_0.12.5-1_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/appstream/appstream_0.12.5-1_copyright-detailed.expected.yml @@ -1,13 +1,149 @@ -- -- gpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.1-plus AND (gpl-2.0-plus AND gpl-3.0) AND lgpl-3.0-plus -- | - Copyright 2012-2018, Matthias Klumpp Richard Hughes - Copyright 2012-2018, Matthias Klumpp - Copyright 2016-2018, Aleix Pol Gonzalez 2014-2018, Matthias Klumpp 2014, Sune Vuorela - Copyright 2012-2018, Matthias Klumpp - Copyright 2014-2016, Matthias Klumpp - Copyright 2017, Jan Grulich 2016, Matthias Klumpp - Copyright 2014-2016, Richard Hughes 2012-2017, Matthias Klumpp - Copyright 2016, Richard Hughes - Copyright 2014-2016, Matthias Klumpp 2014, Richard Hughes - Copyright 2017, Matthias Klumpp 2016, Lucas Moura +primary_license: gpl-2.0-plus AND (lgpl-2.1-plus AND lgpl-2.1) +declared_license: + - GPL-2+ and LGPL-2.1+ + - LGPL-2.1+ + - LGPL-2.1+ + - GPL-2+ + - GPL-2+ and LGPL-2.1+ + - LGPL-2.1+ + - LGPL-2.1+ + - LGPL-2.1+ + - LGPL-2.1+ + - LGPL-2.1+ + - GPL-2+ + - LGPL-2.1+ +license_expression: ((gpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND + lgpl-2.1)) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND (gpl-2.0-plus AND gpl-2.0-plus) AND ((gpl-2.0-plus AND gpl-2.0-plus) AND + (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1)) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) + AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND + lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) +copyright: | + 2012-2018, Matthias Klumpp + Richard Hughes + 2012-2018, Matthias Klumpp + 2016-2018, Aleix Pol Gonzalez + 2014-2018, Matthias Klumpp + 2014, Sune Vuorela + 2012-2018, Matthias Klumpp + 2014-2016, Matthias Klumpp + 2017, Jan Grulich + 2016, Matthias Klumpp + 2014-2016, Richard Hughes + 2012-2017, Matthias Klumpp + 2016, Richard Hughes + 2014-2016, Matthias Klumpp + 2014, Richard Hughes + 2017, Matthias Klumpp + 2016, Lucas Moura +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '98.41' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 126 + matched_length: 124 + match_coverage: '98.41' + rule_relevance: 100 + identifier: gpl-2.0-plus_38.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_36.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2.1 of the License, or + (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this library. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General + Public License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1". diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/appstream/appstream_0.12.5-1_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/appstream/appstream_0.12.5-1_copyright.expected.yml index 992ffadb27f..4e33eb7801e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/appstream/appstream_0.12.5-1_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/appstream/appstream_0.12.5-1_copyright.expected.yml @@ -1,13 +1,133 @@ -- -- gpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.1-plus AND (gpl-2.0-plus AND gpl-3.0) AND lgpl-3.0-plus -- | - Copyright 2012-2018, Matthias Klumpp Richard Hughes - Copyright 2012-2018, Matthias Klumpp - Copyright 2016-2018, Aleix Pol Gonzalez 2014-2018, Matthias Klumpp 2014, Sune Vuorela - Copyright 2012-2018, Matthias Klumpp - Copyright 2014-2016, Matthias Klumpp - Copyright 2017, Jan Grulich 2016, Matthias Klumpp - Copyright 2014-2016, Richard Hughes 2012-2017, Matthias Klumpp - Copyright 2016, Richard Hughes - Copyright 2014-2016, Matthias Klumpp 2014, Richard Hughes - Copyright 2017, Matthias Klumpp 2016, Lucas Moura +primary_license: gpl-2.0-plus AND (lgpl-2.1-plus AND lgpl-2.1) +declared_license: + - GPL-2+ and LGPL-2.1+ + - LGPL-2.1+ + - GPL-2+ +license_expression: (gpl-2.0-plus AND (lgpl-2.1-plus AND lgpl-2.1)) AND (lgpl-2.1-plus AND lgpl-2.1) + AND gpl-2.0-plus +copyright: | + 2012-2018, Matthias Klumpp + Richard Hughes + 2016-2018, Aleix Pol Gonzalez + 2014-2018, Matthias Klumpp + 2014, Sune Vuorela + 2014-2016, Matthias Klumpp + 2017, Jan Grulich + 2016, Matthias Klumpp + 2014-2016, Richard Hughes + 2012-2017, Matthias Klumpp + 2016, Richard Hughes + 2014-2016, Matthias Klumpp + 2014, Richard Hughes + 2017, Matthias Klumpp + 2016, Lucas Moura +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '98.41' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 126 + matched_length: 124 + match_coverage: '98.41' + rule_relevance: 100 + identifier: gpl-2.0-plus_38.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_36.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2.1 of the License, or + (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this library. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General + Public License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1". diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/asterisk/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/asterisk/stable_copyright-detailed.expected.yml index 1441e5c0842..6ba2dd5a0fc 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/asterisk/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/asterisk/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2-Asterisk +primary_license: gpl-2.0 +declared_license: + - GPL-2-Asterisk - FSFUL - GPL-2+ with Autoconf exception - MIT @@ -50,29 +52,17 @@ - ISC - WOL - FSFUL -- (gpl-2.0 AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus - AND unknown-license-reference AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus - AND gpl-1.0-plus AND gpl-1.0-plus AND unknown-license-reference) AND fsf-free AND autoconf-simple-exception-2.0 - AND mit-old-style-no-advert AND gpl-2.0 AND gpl-2.0 AND none AND bsd-original-uc AND gpl-2.0 - AND tu-berlin AND bsd-new AND bsd-new AND bsd-original AND gpl-2.0-plus AND public-domain - AND none AND gpl-2.0 AND public-domain AND other-permissive AND (mit AND (gpl-2.0 AND gpl-1.0-plus - AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus AND unknown-license-reference - AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus - AND unknown-license-reference)) AND gpl-2.0-plus AND unknown-license-reference AND (bsd-original-uc - AND isc AND (gpl-2.0 AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-2.0 AND gpl-2.0 - AND gpl-1.0-plus AND unknown-license-reference AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus - AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND unknown-license-reference)) AND bsd-original-uc - AND bison-exception-2.2 AND bsd-new AND gpl-2.0 AND (wol AND (gpl-2.0 AND gpl-1.0-plus AND - gpl-1.0-plus AND gpl-1.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus AND unknown-license-reference - AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus - AND unknown-license-reference)) AND (lgpl-2.1 OR (gpl-2.0 AND gpl-1.0-plus AND gpl-1.0-plus - AND gpl-1.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus AND unknown-license-reference AND - gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus - AND unknown-license-reference)) AND public-domain AND isc AND brian-clapper AND lgpl-2.1 AND - mit-0 AND (gpl-2.0 AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-2.0 AND gpl-2.0 - AND gpl-1.0-plus AND unknown-license-reference AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus - AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND unknown-license-reference) AND gpl-2.0 -- | +license_expression: gpl-2.0 AND gpl-2.0 AND gpl-3.0 AND fsf-free AND autoconf-simple-exception-2.0 + AND gpl-2.0-plus AND mit-old-style-no-advert AND gpl-2.0 AND gpl-1.0-plus AND gpl-2.0 AND + gpl-1.0-plus AND unknown AND bsd-original-uc AND gpl-2.0 AND free-unknown AND tu-berlin AND + bsd-new AND bsd-new AND bsd-original AND gpl-2.0-plus AND public-domain AND unknown AND public-domain + AND gpl-2.0 AND (gpl-1.0-plus AND lgpl-2.0-plus AND gpl-1.0-plus) AND public-domain AND other-permissive + AND (mit AND gpl-2.0) AND gpl-2.0-plus AND gpl-2.0-plus AND public-domain AND (bsd-original-uc + AND isc AND gpl-2.0) AND gpl-3.0 AND bsd-original-uc AND bison-exception-2.2 AND gpl-3.0-plus + AND bsd-new AND gpl-2.0 AND gpl-1.0-plus AND (wol AND gpl-2.0) AND gpl-3.0 AND (lgpl-2.1 OR + gpl-2.0) AND lgpl-2.0-plus AND (gpl-3.0 AND lgpl-2.0-plus) AND public-domain AND isc AND brian-clapper + AND lgpl-2.1 AND lgpl-2.0-plus AND mit-0 AND mit AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus +copyright: | 1999-2006, Brett Bryant 1999-2006, Mark Spencer 1999-2006, Oleksiy Krivoshey @@ -195,3 +185,1031 @@ 2005-2008, Sam Stephenson 2007, Russell Bryant 2014, Lorenzo Miniero +matches: + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: autoconf-simple-exception-2.0.LICENSE + license_expression: autoconf-simple-exception-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception to the GNU General Public License, if you + distribute this file as part of a program that contains a configuration + script generated by Autoconf, you may include it under the same + distribution terms that you use for the rest of that program. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_41.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is in the public domain, so clarified as of + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_205.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: released into public domain + - score: '66.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 66 + identifier: other-permissive_2.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This code is released by the author with no restrictions on usage. + - score: '50.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 50 + identifier: public-domain_357.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is distributed with no restrictions on usage or + redistribution. + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 90 + matched_length: 90 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bison-exception-2.2_2.RULE + license_expression: bison-exception-2.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception, you may create a larger work that contains part + or all of the Bison parser skeleton and distribute that work under + terms of your choice, so long as that work isn't itself a parser + generator using the skeleton or a modified version thereof as a parser + skeleton. Alternatively, if you modify or redistribute the parser + skeleton itself, you may (at your option) remove this special + exception, which will cause the skeleton and the resulting Bison output + files to be licensed under the GNU General Public License without this + special exception. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_303.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This code was written by Colin Plumb in 1993, no copyright is claimed. + This code is in the public domain; do with it what you wish. + - score: '96.07' + start_line: 1 + end_line: 46 + matcher: 3-seq + rule_length: 356 + matched_length: 342 + match_coverage: '96.07' + rule_relevance: 100 + identifier: gpl-2.0_1121.RULE + license_expression: gpl-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is distributed under the GNU General Public License version 2 + and is also available under alternative licenses negotiated directly + with [Digium], [Inc]. If you obtained [Asterisk] under the GPL, then the GPL + applies to all loadable [Asterisk] modules used on your system as well, + except as defined below. The GPL (version 2) is included in this + source tree in the file COPYING. + + This package also includes various components that are not part of + [Asterisk] itself; these components are in the 'contrib' directory + and its subdirectories. These components are also distributed under the + GPL version 2 as well. + + [Digium], [Inc]. ([formerly] [Linux] [Support] [Services]) holds copyright + and/or sufficient licenses to all components of the [Asterisk] + package, and therefore can grant, at its sole discretion, the ability + for companies, individuals, or organizations to create proprietary or + Open Source (even if not GPL) modules which may be dynamically linked at + runtime with the portions of [Asterisk] which fall under our + copyright/license umbrella, or are distributed under more flexible + licenses than GPL. + + If you wish to use our code in other GPL programs, don't worry -- + there is no requirement that you provide the same exception in your + GPL'd products (although if you've written a module for [Asterisk] we + would strongly encourage you to make the same exception that we do). + + Specific permission is also granted to link [Asterisk] [with] [OpenSSL], [OpenH323] + [and]/[or] [the] [UW] [IMAP] [Toolkit] and distribute the resulting binary files. + + In addition, [Asterisk] [implements] [two] [management]/[control] [protocols]: [the] + [Asterisk] [Manager] [Interface] ([AMI]) [and] [the] [Asterisk] [Gateway] [Interface] + ([AGI]). [It] [is] [our] [belief] [that] [applications] [using] [these] [protocols] [to] + [manage] [or] [control] [an] [Asterisk] instance do not have to be licensed + under the GPL or a compatible license, as we believe these protocols + do not create a 'derivative work' as referred to in the GPL. However, + should any court or other judiciary body find that these protocols do + fall under the terms of the GPL, then we hereby grant you a license to + use these protocols in combination with [Asterisk] in external + applications licensed under any license you wish. + + The '[Asterisk]' name and logos are trademarks owned by [Digium], [Inc]., + and use of them is subject to our trademark licensing policies. If you + wish to use these trademarks for purposes other than simple + redistribution of [Asterisk] source code obtained from [Digium], you + should contact our licensing department to determine the necessary + steps you must take. + - score: '80.0' + start_line: 1 + end_line: 10 + matcher: 1-hash + rule_length: 86 + matched_length: 86 + match_coverage: '100.0' + rule_relevance: 80 + identifier: mit_17.RULE + license_expression: mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-0_7.RULE + license_expression: mit-0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 96 + matched_length: 96 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_3.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, distribute, and sell this software and + its documentation for any purpose is hereby granted without fee, + provided that the above copyright notice appear in all copies and that + both that copyright notice and this permission notice appear in + supporting documentation, and that the name of M.I.T. not be used in + advertising or publicity pertaining to distribution of the software + without specific, written prior permission. M.I.T. makes no + representations about the suitability of this software for any purpose. + It is provided "as is" without express or implied warranty. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_98.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING + IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_1015.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 1-hash + rule_length: 216 + matched_length: 216 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_49.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + - Neither the name of Internet Society, IETF or IETF Trust, nor the + names of specific contributors, may be used to endorse or promote + products derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '99.18' + start_line: 1 + end_line: 28 + matcher: 3-seq + rule_length: 243 + matched_length: 241 + match_coverage: '99.18' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this + software must display the following acknowledgement: This product + includes software developed by the University of California, + Berkeley and its contributors. + 4. Neither the name of the University nor the names of [itscontributors] + may be used to endorse or promote products derived from this + software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 29 + matcher: 1-hash + rule_length: 245 + matched_length: 245 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original_32.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this + software must display the following acknowledgement: This product + includes software developed by the NetBSD Foundation, Inc. and its + contributors. + 4. Neither the name of The NetBSD Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND + CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + - score: '68.89' + start_line: 1 + end_line: 21 + matcher: 3-seq + rule_length: 180 + matched_length: 124 + match_coverage: '68.89' + rule_relevance: 100 + identifier: brian-clapper.LICENSE + license_expression: brian-clapper + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted + provided that: + + (1) source distributions retain this entire copyright notice and + comment; + + (2) modifications made to the software are prominently mentioned, and a + copy of the original software (or a pointer to its location) are + included; and + + (3) distributions including binaries display the following + acknowledgement: "This product includes software developed by Brian + M. Clapper " in the documentation or other + materials provided with the distribution. + + The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 10 + matcher: 1-hash + rule_length: 90 + matched_length: 90 + match_coverage: '100.0' + rule_relevance: 100 + identifier: tu-berlin.LICENSE + license_expression: tu-berlin + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Any use of this software is permitted provided that this notice is not + removed and that neither the authors nor the Technische Universitaet + Berlin are deemed to have made any representations as to the + suitability of this software for any purpose nor are held responsible + for any defects of this software. THERE IS ABSOLUTELY NO WARRANTY FOR + THIS SOFTWARE. + + As a matter of courtesy, the authors request to be informed about uses + this software has found, about bugs in this software, and about any + improvements that may be of general interest. + - score: '99.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 33 + matched_length: 33 + match_coverage: '100.0' + rule_relevance: 99 + identifier: isc_truncated.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + - score: '90.77' + start_line: 1 + end_line: 7 + matcher: 3-seq + rule_length: 65 + matched_length: 59 + match_coverage: '90.77' + rule_relevance: 100 + identifier: wol.LICENSE + license_expression: wol + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The Wide Open License (WOL) + + Permission to use, copy, modify, distribute and sell this software and + its documentation for any purpose is hereby granted without fee, + provided that the above copyright notice and this license appear in all + source copies. THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR + IMPLIED WARRANTY OF ANY KIND. See http://www.dspguru.com/ + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-free.LICENSE + license_expression: fsf-free + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This configure script is free software; the Free Software Foundation + gives unlimited permission to copy, distribute and modify it. + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_620.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GPL-2 + - score: '63.64' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 33 + matched_length: 21 + match_coverage: '63.64' + rule_relevance: 100 + identifier: gpl-3.0_290.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + distributed under the terms of the GNU + [General] Public License Version [2]. See the LICENSE file at the top of + the source tree. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_165.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 2, or (at your option) any + later version. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_125.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + under the terms of the GNU + General Public License + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_125.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: under the terms of the GNU General Public License + - score: '11.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: unknown_9.RULE + license_expression: unknown + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: none' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 44 + matched_length: 44 + match_coverage: '100.0' + rule_relevance: 100 + identifier: free-unknown_109.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is furnished under an open source license and may be used + and copied only in accordance with the terms of this license. The text + of the license may generally be found in the root directory of this + installation in the COPYING file. + - score: '11.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: unknown_9.RULE + license_expression: unknown + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: none' + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 145 + matched_length: 145 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_362.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + File lacks copyright and licensing, but contains the comment + "Conversion routines derived from code by guido@sienanet.it" which + might be interpreted as a copyright holder not granting a license. + More likely, however, the header file is considered non-copyrightable + header with merely a remark about origin of inspiration: + + * File was introduced in Asterisk 0.1.1 (according to git sources), + together with file format_wav_gsm.c containing same comment but + also explicit copyright and licensing: + . + + * Asterisk 0.1.1 was released in 1999 (according to git sources), + at about which time Guido Giorgetti released + audio-related Delphi 3 code as "Freeware": + + + . + + See also . + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_72.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + license + > (GPL? + - score: '75.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 75 + identifier: lgpl_bare_single_word.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL? + - score: '50.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 50 + identifier: gpl_bare_word_only.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_64.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 2 of the License, or (at your + option) any later version. + - score: '63.64' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 33 + matched_length: 21 + match_coverage: '63.64' + rule_relevance: 100 + identifier: gpl-3.0_290.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + distributed under the terms of the GNU + [General] Public License Version [2]. See the LICENSE file at the top of + the source tree. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_7.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation, either version 3 of the License, or (at your + option) any later version. + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl_70.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under GPL + - score: '63.64' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 33 + matched_length: 21 + match_coverage: '63.64' + rule_relevance: 100 + identifier: gpl-3.0_290.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + distributed under the terms of the GNU + [General] Public License Version [2]. See the LICENSE file at the top of + the source tree. + - score: '99.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 99 + identifier: lgpl_33.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL license + - score: '63.64' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 33 + matched_length: 21 + match_coverage: '63.64' + rule_relevance: 100 + identifier: gpl-3.0_290.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + distributed under the terms of the GNU + [General] Public License Version [2]. See the LICENSE file at the top of + the source tree. + - score: '100.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl_48.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GNU LGPL + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_86.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software, distributed under the terms of + the GNU Lesser (Library) General Public License + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_723.RULE + license_expression: mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + freely distributable under the terms of an MIT-style + license. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_125.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: under the terms of the GNU General Public License diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/asterisk/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/asterisk/stable_copyright.expected.yml index e17f7e410e1..07cc736ffc2 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/asterisk/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/a/asterisk/stable_copyright.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2-Asterisk +primary_license: gpl-2.0 +declared_license: + - GPL-2-Asterisk - FSFUL - GPL-2+ with Autoconf exception - MIT @@ -25,25 +27,13 @@ - Expat~disclaimer - Expat - WOL -- (gpl-2.0 AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus - AND unknown-license-reference AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus - AND gpl-1.0-plus AND gpl-1.0-plus AND unknown-license-reference) AND fsf-free AND autoconf-simple-exception-2.0 - AND mit-old-style-no-advert AND gpl-2.0 AND none AND bsd-original-uc AND tu-berlin AND bsd-new - AND bsd-new AND bsd-original AND gpl-2.0-plus AND public-domain AND other-permissive AND (mit - AND (gpl-2.0 AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-2.0 AND gpl-2.0 AND - gpl-1.0-plus AND unknown-license-reference AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus - AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND unknown-license-reference)) AND unknown-license-reference - AND (bsd-original-uc AND isc AND (gpl-2.0 AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus - AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus AND unknown-license-reference AND gpl-1.0-plus AND - gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND unknown-license-reference)) - AND bison-exception-2.2 AND bsd-new AND (wol AND (gpl-2.0 AND gpl-1.0-plus AND gpl-1.0-plus - AND gpl-1.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus AND unknown-license-reference AND - gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus - AND unknown-license-reference)) AND (lgpl-2.1 OR (gpl-2.0 AND gpl-1.0-plus AND gpl-1.0-plus - AND gpl-1.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus AND unknown-license-reference AND - gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus - AND unknown-license-reference)) AND isc AND brian-clapper AND lgpl-2.1 AND mit-0 -- | +license_expression: gpl-2.0 AND gpl-3.0 AND fsf-free AND autoconf-simple-exception-2.0 AND gpl-2.0-plus + AND mit-old-style-no-advert AND gpl-1.0-plus AND unknown AND bsd-original-uc AND free-unknown + AND tu-berlin AND bsd-new AND bsd-original AND public-domain AND (gpl-1.0-plus AND lgpl-2.0-plus) + AND other-permissive AND (mit AND gpl-2.0) AND (bsd-original-uc AND isc AND gpl-2.0) AND bison-exception-2.2 + AND gpl-3.0-plus AND (wol AND gpl-2.0) AND (lgpl-2.1 OR gpl-2.0) AND lgpl-2.0-plus AND (gpl-3.0 + AND lgpl-2.0-plus) AND isc AND brian-clapper AND lgpl-2.1 AND mit-0 AND mit +copyright: | 1999-2006, Brett Bryant 1999-2006, Mark Spencer 1999-2006, Oleksiy Krivoshey @@ -161,3 +151,1031 @@ 2005-2008, Sam Stephenson 2007, Russell Bryant 2014, Lorenzo Miniero +matches: + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: autoconf-simple-exception-2.0.LICENSE + license_expression: autoconf-simple-exception-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception to the GNU General Public License, if you + distribute this file as part of a program that contains a configuration + script generated by Autoconf, you may include it under the same + distribution terms that you use for the rest of that program. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_41.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is in the public domain, so clarified as of + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_205.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: released into public domain + - score: '66.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 66 + identifier: other-permissive_2.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This code is released by the author with no restrictions on usage. + - score: '50.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 50 + identifier: public-domain_357.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is distributed with no restrictions on usage or + redistribution. + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 90 + matched_length: 90 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bison-exception-2.2_2.RULE + license_expression: bison-exception-2.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception, you may create a larger work that contains part + or all of the Bison parser skeleton and distribute that work under + terms of your choice, so long as that work isn't itself a parser + generator using the skeleton or a modified version thereof as a parser + skeleton. Alternatively, if you modify or redistribute the parser + skeleton itself, you may (at your option) remove this special + exception, which will cause the skeleton and the resulting Bison output + files to be licensed under the GNU General Public License without this + special exception. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_303.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This code was written by Colin Plumb in 1993, no copyright is claimed. + This code is in the public domain; do with it what you wish. + - score: '96.07' + start_line: 1 + end_line: 46 + matcher: 3-seq + rule_length: 356 + matched_length: 342 + match_coverage: '96.07' + rule_relevance: 100 + identifier: gpl-2.0_1121.RULE + license_expression: gpl-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is distributed under the GNU General Public License version 2 + and is also available under alternative licenses negotiated directly + with [Digium], [Inc]. If you obtained [Asterisk] under the GPL, then the GPL + applies to all loadable [Asterisk] modules used on your system as well, + except as defined below. The GPL (version 2) is included in this + source tree in the file COPYING. + + This package also includes various components that are not part of + [Asterisk] itself; these components are in the 'contrib' directory + and its subdirectories. These components are also distributed under the + GPL version 2 as well. + + [Digium], [Inc]. ([formerly] [Linux] [Support] [Services]) holds copyright + and/or sufficient licenses to all components of the [Asterisk] + package, and therefore can grant, at its sole discretion, the ability + for companies, individuals, or organizations to create proprietary or + Open Source (even if not GPL) modules which may be dynamically linked at + runtime with the portions of [Asterisk] which fall under our + copyright/license umbrella, or are distributed under more flexible + licenses than GPL. + + If you wish to use our code in other GPL programs, don't worry -- + there is no requirement that you provide the same exception in your + GPL'd products (although if you've written a module for [Asterisk] we + would strongly encourage you to make the same exception that we do). + + Specific permission is also granted to link [Asterisk] [with] [OpenSSL], [OpenH323] + [and]/[or] [the] [UW] [IMAP] [Toolkit] and distribute the resulting binary files. + + In addition, [Asterisk] [implements] [two] [management]/[control] [protocols]: [the] + [Asterisk] [Manager] [Interface] ([AMI]) [and] [the] [Asterisk] [Gateway] [Interface] + ([AGI]). [It] [is] [our] [belief] [that] [applications] [using] [these] [protocols] [to] + [manage] [or] [control] [an] [Asterisk] instance do not have to be licensed + under the GPL or a compatible license, as we believe these protocols + do not create a 'derivative work' as referred to in the GPL. However, + should any court or other judiciary body find that these protocols do + fall under the terms of the GPL, then we hereby grant you a license to + use these protocols in combination with [Asterisk] in external + applications licensed under any license you wish. + + The '[Asterisk]' name and logos are trademarks owned by [Digium], [Inc]., + and use of them is subject to our trademark licensing policies. If you + wish to use these trademarks for purposes other than simple + redistribution of [Asterisk] source code obtained from [Digium], you + should contact our licensing department to determine the necessary + steps you must take. + - score: '80.0' + start_line: 1 + end_line: 10 + matcher: 1-hash + rule_length: 86 + matched_length: 86 + match_coverage: '100.0' + rule_relevance: 80 + identifier: mit_17.RULE + license_expression: mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-0_7.RULE + license_expression: mit-0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 96 + matched_length: 96 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_3.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, distribute, and sell this software and + its documentation for any purpose is hereby granted without fee, + provided that the above copyright notice appear in all copies and that + both that copyright notice and this permission notice appear in + supporting documentation, and that the name of M.I.T. not be used in + advertising or publicity pertaining to distribution of the software + without specific, written prior permission. M.I.T. makes no + representations about the suitability of this software for any purpose. + It is provided "as is" without express or implied warranty. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_98.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING + IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_1015.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + - Neither the name of the Xiph.org Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 1-hash + rule_length: 216 + matched_length: 216 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_49.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + - Neither the name of Internet Society, IETF or IETF Trust, nor the + names of specific contributors, may be used to endorse or promote + products derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '99.18' + start_line: 1 + end_line: 28 + matcher: 3-seq + rule_length: 243 + matched_length: 241 + match_coverage: '99.18' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this + software must display the following acknowledgement: This product + includes software developed by the University of California, + Berkeley and its contributors. + 4. Neither the name of the University nor the names of [itscontributors] + may be used to endorse or promote products derived from this + software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 29 + matcher: 1-hash + rule_length: 245 + matched_length: 245 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original_32.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this + software must display the following acknowledgement: This product + includes software developed by the NetBSD Foundation, Inc. and its + contributors. + 4. Neither the name of The NetBSD Foundation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND + CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + - score: '68.89' + start_line: 1 + end_line: 21 + matcher: 3-seq + rule_length: 180 + matched_length: 124 + match_coverage: '68.89' + rule_relevance: 100 + identifier: brian-clapper.LICENSE + license_expression: brian-clapper + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted + provided that: + + (1) source distributions retain this entire copyright notice and + comment; + + (2) modifications made to the software are prominently mentioned, and a + copy of the original software (or a pointer to its location) are + included; and + + (3) distributions including binaries display the following + acknowledgement: "This product includes software developed by Brian + M. Clapper " in the documentation or other + materials provided with the distribution. + + The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 10 + matcher: 1-hash + rule_length: 90 + matched_length: 90 + match_coverage: '100.0' + rule_relevance: 100 + identifier: tu-berlin.LICENSE + license_expression: tu-berlin + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Any use of this software is permitted provided that this notice is not + removed and that neither the authors nor the Technische Universitaet + Berlin are deemed to have made any representations as to the + suitability of this software for any purpose nor are held responsible + for any defects of this software. THERE IS ABSOLUTELY NO WARRANTY FOR + THIS SOFTWARE. + + As a matter of courtesy, the authors request to be informed about uses + this software has found, about bugs in this software, and about any + improvements that may be of general interest. + - score: '99.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 33 + matched_length: 33 + match_coverage: '100.0' + rule_relevance: 99 + identifier: isc_truncated.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + - score: '90.77' + start_line: 1 + end_line: 7 + matcher: 3-seq + rule_length: 65 + matched_length: 59 + match_coverage: '90.77' + rule_relevance: 100 + identifier: wol.LICENSE + license_expression: wol + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The Wide Open License (WOL) + + Permission to use, copy, modify, distribute and sell this software and + its documentation for any purpose is hereby granted without fee, + provided that the above copyright notice and this license appear in all + source copies. THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR + IMPLIED WARRANTY OF ANY KIND. See http://www.dspguru.com/ + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-free.LICENSE + license_expression: fsf-free + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This configure script is free software; the Free Software Foundation + gives unlimited permission to copy, distribute and modify it. + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_620.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GPL-2 + - score: '63.64' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 33 + matched_length: 21 + match_coverage: '63.64' + rule_relevance: 100 + identifier: gpl-3.0_290.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + distributed under the terms of the GNU + [General] Public License Version [2]. See the LICENSE file at the top of + the source tree. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_165.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 2, or (at your option) any + later version. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_125.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + under the terms of the GNU + General Public License + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_125.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: under the terms of the GNU General Public License + - score: '11.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: unknown_9.RULE + license_expression: unknown + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: none' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 44 + matched_length: 44 + match_coverage: '100.0' + rule_relevance: 100 + identifier: free-unknown_109.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is furnished under an open source license and may be used + and copied only in accordance with the terms of this license. The text + of the license may generally be found in the root directory of this + installation in the COPYING file. + - score: '11.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: unknown_9.RULE + license_expression: unknown + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: none' + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 145 + matched_length: 145 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_362.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + File lacks copyright and licensing, but contains the comment + "Conversion routines derived from code by guido@sienanet.it" which + might be interpreted as a copyright holder not granting a license. + More likely, however, the header file is considered non-copyrightable + header with merely a remark about origin of inspiration: + + * File was introduced in Asterisk 0.1.1 (according to git sources), + together with file format_wav_gsm.c containing same comment but + also explicit copyright and licensing: + . + + * Asterisk 0.1.1 was released in 1999 (according to git sources), + at about which time Guido Giorgetti released + audio-related Delphi 3 code as "Freeware": + + + . + + See also . + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_72.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + license + > (GPL? + - score: '75.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 75 + identifier: lgpl_bare_single_word.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL? + - score: '50.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 50 + identifier: gpl_bare_word_only.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_64.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 2 of the License, or (at your + option) any later version. + - score: '63.64' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 33 + matched_length: 21 + match_coverage: '63.64' + rule_relevance: 100 + identifier: gpl-3.0_290.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + distributed under the terms of the GNU + [General] Public License Version [2]. See the LICENSE file at the top of + the source tree. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_7.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation, either version 3 of the License, or (at your + option) any later version. + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl_70.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under GPL + - score: '63.64' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 33 + matched_length: 21 + match_coverage: '63.64' + rule_relevance: 100 + identifier: gpl-3.0_290.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + distributed under the terms of the GNU + [General] Public License Version [2]. See the LICENSE file at the top of + the source tree. + - score: '99.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 99 + identifier: lgpl_33.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL license + - score: '63.64' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 33 + matched_length: 21 + match_coverage: '63.64' + rule_relevance: 100 + identifier: gpl-3.0_290.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + distributed under the terms of the GNU + [General] Public License Version [2]. See the LICENSE file at the top of + the source tree. + - score: '100.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl_48.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GNU LGPL + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_86.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software, distributed under the terms of + the GNU Lesser (Library) General Public License + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_723.RULE + license_expression: mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + freely distributable under the terms of an MIT-style + license. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_125.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: under the terms of the GNU General Public License diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/b/backup-manager/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/b/backup-manager/stable_copyright-detailed.expected.yml index 5cc4937fbc1..9a6d4814a40 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/b/backup-manager/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/b/backup-manager/stable_copyright-detailed.expected.yml @@ -1,8 +1,47 @@ -- -- gpl-2.0-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND gpl-2.0 +copyright: | Copyright 2003-2010 Alexis Sukrieh Copyright 2005 Alexis Sukrieh Debianization Copyright 2005-2009 Alexis Sukrieh Copyright 2009-2012 Sven Joachim Copyright 2011-2012 Georgios M. Zarkadas +matches: + - score: '100.0' + start_line: 18 + end_line: 23 + matcher: 2-aho + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_434.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n This program is free software; you can redistribute it and/or\n\ + \ modify it under the terms of the GNU General Public License\n as published by the Free\ + \ Software Foundation; either version 2\n of the License, or (at your option) any later\ + \ version." + - score: '100.0' + start_line: 25 + end_line: 26 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2`. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/b/backup-manager/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/b/backup-manager/stable_copyright.expected.yml index 5cc4937fbc1..9a6d4814a40 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/b/backup-manager/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/b/backup-manager/stable_copyright.expected.yml @@ -1,8 +1,47 @@ -- -- gpl-2.0-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND gpl-2.0 +copyright: | Copyright 2003-2010 Alexis Sukrieh Copyright 2005 Alexis Sukrieh Debianization Copyright 2005-2009 Alexis Sukrieh Copyright 2009-2012 Sven Joachim Copyright 2011-2012 Georgios M. Zarkadas +matches: + - score: '100.0' + start_line: 18 + end_line: 23 + matcher: 2-aho + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_434.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n This program is free software; you can redistribute it and/or\n\ + \ modify it under the terms of the GNU General Public License\n as published by the Free\ + \ Software Foundation; either version 2\n of the License, or (at your option) any later\ + \ version." + - score: '100.0' + start_line: 25 + end_line: 26 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2`. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/clamav/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/clamav/stable_copyright-detailed.expected.yml index 14d2a0ea599..42b5deab589 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/clamav/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/clamav/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2 +primary_license: gpl-2.0 AND gpl-1.0-plus AND other-copyleft +declared_license: + - GPL-2 - GPL-2 with OpenSSL exception - GPL-2+ - GPL-2+ @@ -37,23 +39,31 @@ - BSD-2-clause - BSD-3-clause - Zlib -- (gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus AND other-copyleft AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 - AND openssl-exception-gpl-3.0-plus AND gpl-1.0-plus AND other-copyleft AND gpl-2.0 AND gpl-2.0) - AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus - AND autoconf-simple-exception-2.0 AND gpl-1.0-plus AND other-copyleft AND gpl-2.0 AND gpl-2.0) - AND (gpl-3.0-plus AND gpl-1.0-plus AND autoconf-simple-exception AND gpl-1.0-plus AND other-copyleft - AND gpl-3.0 AND gpl-3.0) AND (gpl-3.0-plus WITH libtool-exception-2.0 AND gpl-1.0-plus AND - other-copyleft AND gpl-2.0 AND gpl-2.0) AND (lgpl-2.0-plus AND libtool-exception-2.0 AND gpl-2.0-plus - AND lgpl-2.1-plus AND gpl-2.0 AND other-copyleft AND gpl-2.0 AND lgpl-2.0) AND (lgpl-2.1 AND - lgpl-2.1-plus AND lgpl-2.1-plus AND other-copyleft AND lgpl-2.1 AND lgpl-2.1) AND ((lgpl-2.1 - AND lgpl-2.1-plus AND lgpl-2.1-plus AND other-copyleft AND lgpl-2.1 AND lgpl-2.1) AND bsd-new) - AND mit AND mit AND bsd-simplified AND bsd-simplified AND bsd-new AND bsd-new AND bsd-new - AND zlib AND zlib AND isc AND fsf-unlimited AND fsf-free AND fsf-unlimited-no-warranty AND - fsf-ap AND fsf-ap AND bzip2-libbzip-2010 AND (public-domain AND public-domain) AND public-domain - AND public-domain AND x11-tiff AND (public-domain AND public-domain) AND (apache-2.0 AND gpl-1.0-plus - AND apache-2.0 AND apache-2.0 AND gpl-1.0-plus AND apache-2.0 AND apache-2.0) AND (gpl-3.0-plus - AND bison-exception-2.2 AND gpl-1.0-plus AND other-copyleft AND gpl-3.0 AND gpl-3.0) -- | +license_expression: (gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus AND other-copyleft AND gpl-2.0 AND + gpl-2.0) AND (gpl-1.0-plus AND other-copyleft AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND openssl-exception-gpl-3.0-plus + AND gpl-1.0-plus AND other-copyleft AND gpl-2.0 AND gpl-2.0) AND (gpl-1.0-plus AND other-copyleft + AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-1.0-plus AND other-copyleft + AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-1.0-plus AND other-copyleft + AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND autoconf-simple-exception-2.0 AND gpl-1.0-plus + AND other-copyleft AND gpl-2.0 AND gpl-2.0) AND (gpl-1.0-plus AND other-copyleft AND gpl-2.0 + AND gpl-2.0) AND (gpl-3.0-plus AND gpl-1.0-plus AND autoconf-simple-exception AND gpl-1.0-plus + AND other-copyleft AND gpl-3.0 AND gpl-3.0) AND (gpl-1.0-plus AND other-copyleft AND gpl-3.0 + AND gpl-3.0) AND (gpl-3.0-plus WITH libtool-exception-2.0 AND gpl-1.0-plus AND other-copyleft + AND gpl-2.0 AND gpl-2.0) AND (gpl-1.0-plus AND other-copyleft AND gpl-2.0 AND gpl-2.0) AND + (lgpl-2.0-plus AND libtool-exception-2.0 AND gpl-2.0-plus AND lgpl-2.1-plus AND gpl-2.0 AND + other-copyleft AND gpl-2.0 AND lgpl-2.0) AND (gpl-2.0 AND other-copyleft AND gpl-2.0 AND lgpl-2.0) + AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1-plus AND other-copyleft AND lgpl-2.1) AND ((lgpl-2.1 + AND lgpl-2.1-plus AND lgpl-2.1-plus AND other-copyleft AND lgpl-2.1) AND bsd-new) AND mit + AND (x11-xconsortium AND public-domain) AND mit AND bsd-simplified AND bsd-simplified AND + bsd-new AND bsd-new AND bsd-new AND zlib AND zlib AND isc AND fsf-unlimited AND fsf-free AND + fsf-unlimited-no-warranty AND fsf-ap AND fsf-ap AND bzip2-libbzip-2010 AND (public-domain + AND public-domain) AND public-domain AND public-domain AND x11-tiff AND (public-domain AND + public-domain) AND (apache-2.0 AND gpl-1.0-plus AND apache-2.0 AND apache-2.0 AND gpl-1.0-plus + AND apache-2.0 AND apache-2.0) AND (gpl-1.0-plus AND apache-2.0 AND apache-2.0 AND gpl-1.0-plus + AND apache-2.0 AND apache-2.0) AND (gpl-3.0-plus AND bison-exception-2.2 AND gpl-1.0-plus + AND other-copyleft AND gpl-3.0 AND gpl-3.0) AND (gpl-1.0-plus AND other-copyleft AND gpl-3.0 + AND gpl-3.0) +copyright: | 1998-2015, Sourcefire, Inc. 2002-2007, Tomasz Kojm 2006, Sensory Networks, Inc @@ -107,3 +117,2340 @@ Copyright (C) 2014 Cisco Systems, Inc. and/or its affiliates. All rights reserved. Copyright (c) 2013. The YARA Authors. All Rights Reserved. 1984, 1989-1990, 2000-2011, Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 68 + matched_length: 68 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_121.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 2-aho + rule_length: 68 + matched_length: 68 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_121.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 10 + end_line: 22 + matcher: 2-aho + rule_length: 119 + matched_length: 119 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openssl-exception-gpl-3.0-plus.LICENSE + license_expression: openssl-exception-gpl-3.0-plus + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + In addition, as a special exception, the copyright holders give + permission to link the code of portions of this program with the + OpenSSL library under certain conditions as described in each + individual source file, and distribute linked combinations + including the two. + + You must obey the GNU General Public License in all respects + for all of the code used other than OpenSSL. If you modify + file(s) with this exception, you may extend this exception to your + version of the file(s), but you are not obligated to do so. If you + do not wish to do so, delete this exception statement from your + version. If you delete this exception statement from all source + files in the program, then also delete it here. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 2-aho + rule_length: 76 + matched_length: 76 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_3.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 14 + matcher: 2-aho + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: autoconf-simple-exception-2.0.LICENSE + license_expression: autoconf-simple-exception-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception to the GNU General Public License, if you + distribute this file as part of a program that contains a + configuration script generated by Autoconf, you may include it under + the same distribution terms that you use for the rest of that program. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_98.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + - score: '100.0' + start_line: 6 + end_line: 9 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_28.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 16 + matcher: 2-aho + rule_length: 60 + matched_length: 60 + match_coverage: '100.0' + rule_relevance: 100 + identifier: autoconf-simple-exception.LICENSE + license_expression: autoconf-simple-exception + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception to the GNU General Public License, if you + distribute this file as part of a program that contains a + configuration script generated by Autoconf, you may include it under + the same distribution terms that you use for the rest of that + program. This Exception is an additional permission under section 7 + of the GNU General Public License, version 3 ("GPLv3"). + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 3 + - score: '33.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3. + - score: '80.27' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 147 + matched_length: 118 + match_coverage: '80.27' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_libtool-exception-2.0_2.RULE + license_expression: gpl-3.0-plus WITH libtool-exception-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version [2] of the License, or + (at your option) any later version. + + As a special exception to the GNU General Public License, + if you distribute this file as part of a program or library that + is built using GNU Libtool, you may include this file under the + same distribution terms that you use for the rest of that program. + + [GNU] [Libtool] is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or [FITNESS] FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '58.02' + start_line: 1 + end_line: 6 + matcher: 3-seq + rule_length: 81 + matched_length: 47 + match_coverage: '58.02' + rule_relevance: 100 + identifier: lgpl-2.0-plus_50.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + [As] a [special] [exception] [to] the GNU Lesser General Public License, + - score: '99.0' + start_line: 6 + end_line: 9 + matcher: 2-aho + rule_length: 46 + matched_length: 46 + match_coverage: '100.0' + rule_relevance: 99 + identifier: libtool-exception-2.0_1.RULE + license_expression: libtool-exception-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception to the GNU Lesser General Public License, + if you distribute this file as part of a program or library that + is built using GNU Libtool, you may include this file under the + same distribution terms that you use for the rest of that program. + - score: '44.87' + start_line: 8 + end_line: 14 + matcher: 3-seq + rule_length: 78 + matched_length: 35 + match_coverage: '44.87' + rule_relevance: 100 + identifier: gpl-2.0-plus_283.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GNU [Libtool], [you] [may] [include] [this] [file] [under] [the] + [same] [distribution] [terms] [that] [you] [use] [for] [the] [rest] [of] [that] [program]. + + [GNU] [Libltdl] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + [GNU] [Lesser] General Public License for more details. + - score: '100.0' + start_line: 13 + end_line: 14 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the + GNU Lesser General Public License + - score: '50.0' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 44 + matched_length: 22 + match_coverage: '50.0' + rule_relevance: 100 + identifier: gpl-2.0_11.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU [Lesser] General Public License + [along] [with] [this] [program]; if not, write to the Free Software + Foundation, Inc., 51 Franklin + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '40.48' + start_line: 6 + end_line: 7 + matcher: 3-seq + rule_length: 42 + matched_length: 17 + match_coverage: '40.48' + rule_relevance: 100 + identifier: gpl-2.0_772.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + text of the GNU [Lesser] General Public License + [version] [2] can be found in the file `/usr/share/common-licenses/ + - score: '33.33' + start_line: 6 + end_line: 7 + matcher: 3-seq + rule_length: 42 + matched_length: 14 + match_coverage: '33.33' + rule_relevance: 100 + identifier: lgpl-2.0_24.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + text of the GNU Lesser General Public License + [version] [2] [can] [be] [found] [in] [the] [file] `/usr/share/common-licenses/LGPL-2'. + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited.LICENSE + license_expression: fsf-unlimited + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-free.LICENSE + license_expression: fsf-free + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This configure script is free software; the Free Software Foundation + gives unlimited permission to copy, distribute and modify it. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 63 + matched_length: 63 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.LICENSE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation + gives unlimited permission to copy and/or distribute it, + with or without modifications, as long as this notice is preserved. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY, to the extent permitted by law; without + even the implied warranty of MERCHANTABILITY or FITNESS FOR A + PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap_4.RULE + license_expression: fsf-ap + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. This file is offered as-is, + without warranty of any kind. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap.LICENSE + license_expression: fsf-ap + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, are + permitted in any medium without royalty provided the copyright notice + and this notice are preserved. This file is offered as-is, without any + warranty. + - score: '100.0' + start_line: 1 + end_line: 30 + matcher: 1-hash + rule_length: 233 + matched_length: 233 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bzip2-libbzip-2010.LICENSE + license_expression: bzip2-libbzip-2010 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. The origin of this software must not be misrepresented; you must + not claim that you wrote the original software. If you use this + software in a product, an acknowledgment in the product + documentation would be appreciated but is not required. + + 3. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + + 4. The name of the author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '70.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain + - score: '70.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public Domain + - score: '16.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: public-domain_38.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is public domain + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_45.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: placed in the public domain + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 168 + matched_length: 168 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-tiff.LICENSE + license_expression: x11-tiff + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, distribute, and sell this software and + its documentation for any purpose is hereby granted without fee, provided + that (i) the above copyright notices and this permission notice appear in + all copies of the software and related documentation, and (ii) the names of + Sam Leffler and Silicon Graphics may not be used in any advertising or + publicity relating to the software without the specific, prior written + permission of Sam Leffler and Silicon Graphics. + + THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, + EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY + WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. + + IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR + ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, + OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, + WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF + LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE + OF THIS SOFTWARE. + - score: '16.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: public-domain_38.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is public domain. + - score: '70.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain. + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 85 + matched_length: 85 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_7.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + - score: '85.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 85 + identifier: gpl-1.0-plus_351.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: The GPL + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_305.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache 2 license + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_95.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache v2 + - score: '50.0' + start_line: 8 + end_line: 8 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 50 + identifier: gpl_bare_word_only.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL + - score: '100.0' + start_line: 11 + end_line: 11 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_182.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the Apache License, Version 2.0 + - score: '100.0' + start_line: 12 + end_line: 12 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: spdx_license_id_apache-2.0_for_apache-2.0.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache-2.0'. + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 2-aho + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_96.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: '19' + matcher: 2-aho + rule_length: 90 + matched_length: 90 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bison-exception-2.2_2.RULE + license_expression: bison-exception-2.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 3 + - score: '33.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_90.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '95.77' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 68 + matched_length: 68 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_204.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License [version] [2].[1] as published by the Free Software Foundation. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Lesser General Public License + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_294.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the full text of the GNU Lesser General Public License + version 2.1 can be found in the file `/usr/share/common-licenses/LGPL-2.1'. + - score: '99.37' + start_line: 1 + end_line: 16 + matcher: 3-seq + rule_length: 159 + matched_length: 158 + match_coverage: '99.37' + rule_relevance: 100 + identifier: mit_1044.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN [CONNEC]- + [TION] WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_28.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 3 + - score: '33.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '50.0' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 44 + matched_length: 22 + match_coverage: '50.0' + rule_relevance: 100 + identifier: gpl-2.0_11.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU [Lesser] General Public License + [along] [with] [this] [program]; if not, write to the Free Software + Foundation, Inc., 51 Franklin + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '40.48' + start_line: 6 + end_line: 7 + matcher: 3-seq + rule_length: 42 + matched_length: 17 + match_coverage: '40.48' + rule_relevance: 100 + identifier: gpl-2.0_772.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + text of the GNU [Lesser] General Public License + [version] [2] can be found in the file `/usr/share/common-licenses/ + - score: '33.33' + start_line: 6 + end_line: 7 + matcher: 3-seq + rule_length: 42 + matched_length: 14 + match_coverage: '33.33' + rule_relevance: 100 + identifier: lgpl-2.0_24.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + text of the GNU Lesser General Public License + [version] [2] [can] [be] [found] [in] [the] [file] `/usr/share/common-licenses/LGPL-2'. + - score: '20.2' + start_line: 1 + end_line: 4 + matcher: 3-seq + rule_length: 203 + matched_length: 41 + match_coverage: '20.2' + rule_relevance: 100 + identifier: x11-xconsortium_21.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_58.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: FSF changes to this file are in the public domain. + - score: '85.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 85 + identifier: gpl-1.0-plus_351.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: The GPL + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_305.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache 2 license + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_95.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache v2 + - score: '50.0' + start_line: 8 + end_line: 8 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 50 + identifier: gpl_bare_word_only.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL + - score: '100.0' + start_line: 11 + end_line: 11 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_182.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the Apache License, Version 2.0 + - score: '100.0' + start_line: 12 + end_line: 12 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: spdx_license_id_apache-2.0_for_apache-2.0.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache-2.0'. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 3 + - score: '33.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/clamav/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/clamav/stable_copyright.expected.yml index edb883a7eb7..74700cfd85f 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/clamav/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/clamav/stable_copyright.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2 +primary_license: gpl-2.0 AND gpl-1.0-plus AND other-copyleft +declared_license: + - GPL-2 - GPL-2 with OpenSSL exception - GPL-2+ - GPL-2+ with Autoconf exception @@ -25,22 +27,20 @@ - public-domain - Apache-2.0 with GPL exception - GPL-3+ with Bison exception -- (gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus AND other-copyleft AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 - AND openssl-exception-gpl-3.0-plus AND gpl-1.0-plus AND other-copyleft AND gpl-2.0 AND gpl-2.0) - AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus AND autoconf-simple-exception-2.0 AND - gpl-1.0-plus AND other-copyleft AND gpl-2.0 AND gpl-2.0) AND (gpl-3.0-plus AND gpl-1.0-plus - AND autoconf-simple-exception AND gpl-1.0-plus AND other-copyleft AND gpl-3.0 AND gpl-3.0) - AND (gpl-3.0-plus WITH libtool-exception-2.0 AND gpl-1.0-plus AND other-copyleft AND gpl-2.0 - AND gpl-2.0) AND (lgpl-2.0-plus AND libtool-exception-2.0 AND gpl-2.0-plus AND lgpl-2.1-plus - AND gpl-2.0 AND other-copyleft AND gpl-2.0 AND lgpl-2.0) AND (lgpl-2.1 AND lgpl-2.1-plus AND - lgpl-2.1-plus AND other-copyleft AND lgpl-2.1 AND lgpl-2.1) AND ((lgpl-2.1 AND lgpl-2.1-plus - AND lgpl-2.1-plus AND other-copyleft AND lgpl-2.1 AND lgpl-2.1) AND bsd-new) AND mit AND bsd-simplified - AND bsd-new AND zlib AND isc AND fsf-unlimited AND fsf-free AND fsf-unlimited-no-warranty - AND fsf-ap AND fsf-ap AND bzip2-libbzip-2010 AND (public-domain AND public-domain) AND public-domain - AND public-domain AND x11-tiff AND (public-domain AND public-domain) AND (apache-2.0 AND gpl-1.0-plus - AND apache-2.0 AND apache-2.0 AND gpl-1.0-plus AND apache-2.0 AND apache-2.0) AND (gpl-3.0-plus - AND bison-exception-2.2 AND gpl-1.0-plus AND other-copyleft AND gpl-3.0 AND gpl-3.0) -- | +license_expression: (gpl-2.0 AND gpl-1.0-plus AND other-copyleft) AND (gpl-1.0-plus AND other-copyleft + AND gpl-2.0) AND (gpl-2.0 AND openssl-exception-gpl-3.0-plus AND gpl-1.0-plus AND other-copyleft) + AND gpl-2.0-plus AND (gpl-2.0-plus AND autoconf-simple-exception-2.0 AND gpl-1.0-plus AND + other-copyleft AND gpl-2.0) AND (gpl-3.0-plus AND gpl-1.0-plus AND autoconf-simple-exception + AND other-copyleft AND gpl-3.0) AND (gpl-1.0-plus AND other-copyleft AND gpl-3.0) AND (gpl-3.0-plus + WITH libtool-exception-2.0 AND gpl-1.0-plus AND other-copyleft AND gpl-2.0) AND (lgpl-2.0-plus + AND libtool-exception-2.0 AND gpl-2.0-plus AND lgpl-2.1-plus AND gpl-2.0 AND other-copyleft + AND lgpl-2.0) AND (gpl-2.0 AND other-copyleft AND lgpl-2.0) AND (lgpl-2.1 AND lgpl-2.1-plus + AND other-copyleft) AND ((lgpl-2.1 AND lgpl-2.1-plus AND other-copyleft) AND bsd-new) AND + mit AND (x11-xconsortium AND public-domain) AND bsd-simplified AND bsd-new AND zlib AND isc + AND fsf-unlimited AND fsf-free AND fsf-unlimited-no-warranty AND fsf-ap AND bzip2-libbzip-2010 + AND public-domain AND x11-tiff AND (apache-2.0 AND gpl-1.0-plus) AND (gpl-1.0-plus AND apache-2.0) + AND (gpl-3.0-plus AND bison-exception-2.2 AND gpl-1.0-plus AND other-copyleft AND gpl-3.0) +copyright: | 1998-2015, Sourcefire, Inc. 2002-2007, Tomasz Kojm 2006, Sensory Networks, Inc @@ -89,3 +89,2340 @@ Copyright (C) 2014 Cisco Systems, Inc. and/or its affiliates. All rights reserved. Copyright (c) 2013. The YARA Authors. All Rights Reserved. 1984, 1989-1990, 2000-2011, Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 68 + matched_length: 68 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_121.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 2-aho + rule_length: 68 + matched_length: 68 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_121.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 10 + end_line: 22 + matcher: 2-aho + rule_length: 119 + matched_length: 119 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openssl-exception-gpl-3.0-plus.LICENSE + license_expression: openssl-exception-gpl-3.0-plus + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + In addition, as a special exception, the copyright holders give + permission to link the code of portions of this program with the + OpenSSL library under certain conditions as described in each + individual source file, and distribute linked combinations + including the two. + + You must obey the GNU General Public License in all respects + for all of the code used other than OpenSSL. If you modify + file(s) with this exception, you may extend this exception to your + version of the file(s), but you are not obligated to do so. If you + do not wish to do so, delete this exception statement from your + version. If you delete this exception statement from all source + files in the program, then also delete it here. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 2-aho + rule_length: 76 + matched_length: 76 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_3.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 14 + matcher: 2-aho + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: autoconf-simple-exception-2.0.LICENSE + license_expression: autoconf-simple-exception-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception to the GNU General Public License, if you + distribute this file as part of a program that contains a + configuration script generated by Autoconf, you may include it under + the same distribution terms that you use for the rest of that program. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_98.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + - score: '100.0' + start_line: 6 + end_line: 9 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_28.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 16 + matcher: 2-aho + rule_length: 60 + matched_length: 60 + match_coverage: '100.0' + rule_relevance: 100 + identifier: autoconf-simple-exception.LICENSE + license_expression: autoconf-simple-exception + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception to the GNU General Public License, if you + distribute this file as part of a program that contains a + configuration script generated by Autoconf, you may include it under + the same distribution terms that you use for the rest of that + program. This Exception is an additional permission under section 7 + of the GNU General Public License, version 3 ("GPLv3"). + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 3 + - score: '33.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3. + - score: '80.27' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 147 + matched_length: 118 + match_coverage: '80.27' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_libtool-exception-2.0_2.RULE + license_expression: gpl-3.0-plus WITH libtool-exception-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version [2] of the License, or + (at your option) any later version. + + As a special exception to the GNU General Public License, + if you distribute this file as part of a program or library that + is built using GNU Libtool, you may include this file under the + same distribution terms that you use for the rest of that program. + + [GNU] [Libtool] is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or [FITNESS] FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '58.02' + start_line: 1 + end_line: 6 + matcher: 3-seq + rule_length: 81 + matched_length: 47 + match_coverage: '58.02' + rule_relevance: 100 + identifier: lgpl-2.0-plus_50.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + [As] a [special] [exception] [to] the GNU Lesser General Public License, + - score: '99.0' + start_line: 6 + end_line: 9 + matcher: 2-aho + rule_length: 46 + matched_length: 46 + match_coverage: '100.0' + rule_relevance: 99 + identifier: libtool-exception-2.0_1.RULE + license_expression: libtool-exception-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception to the GNU Lesser General Public License, + if you distribute this file as part of a program or library that + is built using GNU Libtool, you may include this file under the + same distribution terms that you use for the rest of that program. + - score: '44.87' + start_line: 8 + end_line: 14 + matcher: 3-seq + rule_length: 78 + matched_length: 35 + match_coverage: '44.87' + rule_relevance: 100 + identifier: gpl-2.0-plus_283.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GNU [Libtool], [you] [may] [include] [this] [file] [under] [the] + [same] [distribution] [terms] [that] [you] [use] [for] [the] [rest] [of] [that] [program]. + + [GNU] [Libltdl] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + [GNU] [Lesser] General Public License for more details. + - score: '100.0' + start_line: 13 + end_line: 14 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the + GNU Lesser General Public License + - score: '50.0' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 44 + matched_length: 22 + match_coverage: '50.0' + rule_relevance: 100 + identifier: gpl-2.0_11.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU [Lesser] General Public License + [along] [with] [this] [program]; if not, write to the Free Software + Foundation, Inc., 51 Franklin + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '40.48' + start_line: 6 + end_line: 7 + matcher: 3-seq + rule_length: 42 + matched_length: 17 + match_coverage: '40.48' + rule_relevance: 100 + identifier: gpl-2.0_772.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + text of the GNU [Lesser] General Public License + [version] [2] can be found in the file `/usr/share/common-licenses/ + - score: '33.33' + start_line: 6 + end_line: 7 + matcher: 3-seq + rule_length: 42 + matched_length: 14 + match_coverage: '33.33' + rule_relevance: 100 + identifier: lgpl-2.0_24.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + text of the GNU Lesser General Public License + [version] [2] [can] [be] [found] [in] [the] [file] `/usr/share/common-licenses/LGPL-2'. + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited.LICENSE + license_expression: fsf-unlimited + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-free.LICENSE + license_expression: fsf-free + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This configure script is free software; the Free Software Foundation + gives unlimited permission to copy, distribute and modify it. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 63 + matched_length: 63 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.LICENSE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation + gives unlimited permission to copy and/or distribute it, + with or without modifications, as long as this notice is preserved. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY, to the extent permitted by law; without + even the implied warranty of MERCHANTABILITY or FITNESS FOR A + PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap_4.RULE + license_expression: fsf-ap + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. This file is offered as-is, + without warranty of any kind. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap.LICENSE + license_expression: fsf-ap + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, are + permitted in any medium without royalty provided the copyright notice + and this notice are preserved. This file is offered as-is, without any + warranty. + - score: '100.0' + start_line: 1 + end_line: 30 + matcher: 1-hash + rule_length: 233 + matched_length: 233 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bzip2-libbzip-2010.LICENSE + license_expression: bzip2-libbzip-2010 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. The origin of this software must not be misrepresented; you must + not claim that you wrote the original software. If you use this + software in a product, an acknowledgment in the product + documentation would be appreciated but is not required. + + 3. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + + 4. The name of the author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '70.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain + - score: '70.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public Domain + - score: '16.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: public-domain_38.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is public domain + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_45.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: placed in the public domain + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 168 + matched_length: 168 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-tiff.LICENSE + license_expression: x11-tiff + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, distribute, and sell this software and + its documentation for any purpose is hereby granted without fee, provided + that (i) the above copyright notices and this permission notice appear in + all copies of the software and related documentation, and (ii) the names of + Sam Leffler and Silicon Graphics may not be used in any advertising or + publicity relating to the software without the specific, prior written + permission of Sam Leffler and Silicon Graphics. + + THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, + EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY + WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. + + IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR + ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, + OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, + WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF + LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE + OF THIS SOFTWARE. + - score: '16.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: public-domain_38.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is public domain. + - score: '70.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain. + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 85 + matched_length: 85 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_7.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + - score: '85.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 85 + identifier: gpl-1.0-plus_351.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: The GPL + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_305.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache 2 license + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_95.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache v2 + - score: '50.0' + start_line: 8 + end_line: 8 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 50 + identifier: gpl_bare_word_only.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL + - score: '100.0' + start_line: 11 + end_line: 11 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_182.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the Apache License, Version 2.0 + - score: '100.0' + start_line: 12 + end_line: 12 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: spdx_license_id_apache-2.0_for_apache-2.0.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache-2.0'. + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 2-aho + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_96.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: '19' + matcher: 2-aho + rule_length: 90 + matched_length: 90 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bison-exception-2.2_2.RULE + license_expression: bison-exception-2.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 3 + - score: '33.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_90.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '95.77' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 68 + matched_length: 68 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_204.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License [version] [2].[1] as published by the Free Software Foundation. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Lesser General Public License + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_294.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the full text of the GNU Lesser General Public License + version 2.1 can be found in the file `/usr/share/common-licenses/LGPL-2.1'. + - score: '99.37' + start_line: 1 + end_line: 16 + matcher: 3-seq + rule_length: 159 + matched_length: 158 + match_coverage: '99.37' + rule_relevance: 100 + identifier: mit_1044.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN [CONNEC]- + [TION] WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_28.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 3 + - score: '33.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '50.0' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 44 + matched_length: 22 + match_coverage: '50.0' + rule_relevance: 100 + identifier: gpl-2.0_11.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU [Lesser] General Public License + [along] [with] [this] [program]; if not, write to the Free Software + Foundation, Inc., 51 Franklin + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '40.48' + start_line: 6 + end_line: 7 + matcher: 3-seq + rule_length: 42 + matched_length: 17 + match_coverage: '40.48' + rule_relevance: 100 + identifier: gpl-2.0_772.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + text of the GNU [Lesser] General Public License + [version] [2] can be found in the file `/usr/share/common-licenses/ + - score: '33.33' + start_line: 6 + end_line: 7 + matcher: 3-seq + rule_length: 42 + matched_length: 14 + match_coverage: '33.33' + rule_relevance: 100 + identifier: lgpl-2.0_24.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + text of the GNU Lesser General Public License + [version] [2] [can] [be] [found] [in] [the] [file] `/usr/share/common-licenses/LGPL-2'. + - score: '20.2' + start_line: 1 + end_line: 4 + matcher: 3-seq + rule_length: 203 + matched_length: 41 + match_coverage: '20.2' + rule_relevance: 100 + identifier: x11-xconsortium_21.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_58.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: FSF changes to this file are in the public domain. + - score: '85.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 85 + identifier: gpl-1.0-plus_351.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: The GPL + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_305.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache 2 license + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_95.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache v2 + - score: '50.0' + start_line: 8 + end_line: 8 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 50 + identifier: gpl_bare_word_only.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL + - score: '100.0' + start_line: 11 + end_line: 11 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_182.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the Apache License, Version 2.0 + - score: '100.0' + start_line: 12 + end_line: 12 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: spdx_license_id_apache-2.0_for_apache-2.0.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache-2.0'. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 3 + - score: '33.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cryptsetup/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cryptsetup/stable_copyright-detailed.expected.yml index b21ec0007c2..164c82b8fe3 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cryptsetup/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cryptsetup/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2+ with OpenSSL exception +primary_license: gpl-2.0-plus WITH openssl-exception-gpl-3.0-plus +declared_license: + - GPL-2+ with OpenSSL exception - GPL-2+ - GPL-2+ - GPL-2+ @@ -19,14 +21,14 @@ - LGPL-2.1+ with OpenSSL exception - CC0 - Apache-2.0 -- gpl-2.0-plus WITH openssl-exception-gpl-3.0-plus AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus - AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) +license_expression: gpl-2.0-plus WITH openssl-exception-gpl-3.0-plus AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus - AND gpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) - AND (lgpl-2.1-plus AND lgpl-2.1-plus) AND lgpl-2.1-plus WITH openssl-exception-gpl-3.0-plus + AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) + AND (gpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus) AND (gpl-2.0-plus + AND gpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus) AND lgpl-2.1-plus WITH openssl-exception-gpl-3.0-plus AND (cc0-1.0 OR (apache-2.0 AND apache-2.0)) AND (cc0-1.0 OR (apache-2.0 AND apache-2.0)) AND gary-s-brown -- | +copyright: | © 2004 Christophe Saout © 2004-2008 Clemens Fruhwirth © 2008-2019 Red Hat, Inc. @@ -57,3 +59,275 @@ © 2015 Samuel Neves © 2015 Thomas Pornin © 1986 Gary S. Brown +matches: + - score: '88.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 88 + identifier: gary-s-brown.LICENSE + license_expression: gary-s-brown + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may use this program, or code or tables extracted from it, as + desired without restriction. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 136 + matched_length: 136 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_807.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General Public + License v2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 28 + matcher: 1-hash + rule_length: 255 + matched_length: 255 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_with_openssl-exception-gpl-3.0-plus_3.RULE + license_expression: gpl-2.0-plus WITH openssl-exception-gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General Public + License v2 can be found in `/usr/share/common-licenses/GPL-2'. + + In addition, as a special exception, the copyright holders give + permission to link the code of portions of this program with the + OpenSSL library under certain conditions as described in each + individual source file, and distribute linked combinations including + the two. You must obey the GNU General Public License in all respects + for all of the code used other than OpenSSL. If you modify file(s) + with this exception, you may extend this exception to your version of + the file(s), but you are not obligated to do so. If you do not wish to + do so, delete this exception statement from your version. If you + delete this exception statement from all source files in the program, + then also delete it here. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 143 + matched_length: 143 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_293.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301 USA. + + On Debian systems, the complete text of the GNU Lesser General Public + License v2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '95.0' + start_line: 1 + end_line: 29 + matcher: 1-hash + rule_length: 263 + matched_length: 263 + match_coverage: '100.0' + rule_relevance: 95 + identifier: lgpl-2.1-plus_with_openssl-exception-gpl-3.0-plus_3.RULE + license_expression: lgpl-2.1-plus WITH openssl-exception-gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301 USA. + + On Debian systems, the complete text of the GNU Lesser General Public + License v2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + + In addition, as a special exception, the copyright holders give + permission to link the code of portions of this program with the + OpenSSL library under certain conditions as described in each + individual source file, and distribute linked combinations including + the two. You must obey the GNU Lesser General Public License in all + respects for all of the code used other than OpenSSL. If you modify + file(s) with this exception, you may extend this exception to your + version of the file(s), but you are not obligated to do so. If you do + not wish to do so, delete this exception statement from your version. + If you delete this exception statement from all source files in the + program, then also delete it here. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_129.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may use this work under the terms of a Creative Commons CC0 1.0 + License/Waiver. + + On Debian systems, the complete text of the Creative Commons CC0 1.0 + Universal license can be found in `/usr/share/common-licenses/CC0-1.0'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '100.0' + start_line: 1 + end_line: 14 + matcher: 1-hash + rule_length: 109 + matched_length: 109 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_845.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + On Debian systems, the complete text of the Apache version 2.0 license + can be found in "/usr/share/common-licenses/Apache-2.0". diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cryptsetup/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cryptsetup/stable_copyright.expected.yml index 6b5ed748f27..51ed6a5fffc 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cryptsetup/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cryptsetup/stable_copyright.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2+ with OpenSSL exception +primary_license: gpl-2.0-plus WITH openssl-exception-gpl-3.0-plus +declared_license: + - GPL-2+ with OpenSSL exception - GPL-2+ - LGPL-2.1+ - LGPL-2.1+ with OpenSSL exception @@ -6,10 +8,9 @@ - public-domain - CC0 - Apache-2.0 -- gpl-2.0-plus WITH openssl-exception-gpl-3.0-plus AND (gpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.1-plus - AND lgpl-2.1-plus) AND lgpl-2.1-plus WITH openssl-exception-gpl-3.0-plus AND (cc0-1.0 OR (apache-2.0 - AND apache-2.0)) AND gary-s-brown -- | +license_expression: gpl-2.0-plus WITH openssl-exception-gpl-3.0-plus AND gpl-2.0-plus AND lgpl-2.1-plus + AND lgpl-2.1-plus WITH openssl-exception-gpl-3.0-plus AND (cc0-1.0 OR apache-2.0) AND gary-s-brown +copyright: | © 2004 Christophe Saout © 2004-2008 Clemens Fruhwirth © 2008-2019 Red Hat, Inc. @@ -33,3 +34,275 @@ © 2015 Samuel Neves © 2015 Thomas Pornin © 1986 Gary S. Brown +matches: + - score: '88.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 88 + identifier: gary-s-brown.LICENSE + license_expression: gary-s-brown + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may use this program, or code or tables extracted from it, as + desired without restriction. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 136 + matched_length: 136 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_807.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General Public + License v2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 28 + matcher: 1-hash + rule_length: 255 + matched_length: 255 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_with_openssl-exception-gpl-3.0-plus_3.RULE + license_expression: gpl-2.0-plus WITH openssl-exception-gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General Public + License v2 can be found in `/usr/share/common-licenses/GPL-2'. + + In addition, as a special exception, the copyright holders give + permission to link the code of portions of this program with the + OpenSSL library under certain conditions as described in each + individual source file, and distribute linked combinations including + the two. You must obey the GNU General Public License in all respects + for all of the code used other than OpenSSL. If you modify file(s) + with this exception, you may extend this exception to your version of + the file(s), but you are not obligated to do so. If you do not wish to + do so, delete this exception statement from your version. If you + delete this exception statement from all source files in the program, + then also delete it here. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 143 + matched_length: 143 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_293.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301 USA. + + On Debian systems, the complete text of the GNU Lesser General Public + License v2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '95.0' + start_line: 1 + end_line: 29 + matcher: 1-hash + rule_length: 263 + matched_length: 263 + match_coverage: '100.0' + rule_relevance: 95 + identifier: lgpl-2.1-plus_with_openssl-exception-gpl-3.0-plus_3.RULE + license_expression: lgpl-2.1-plus WITH openssl-exception-gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301 USA. + + On Debian systems, the complete text of the GNU Lesser General Public + License v2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + + In addition, as a special exception, the copyright holders give + permission to link the code of portions of this program with the + OpenSSL library under certain conditions as described in each + individual source file, and distribute linked combinations including + the two. You must obey the GNU Lesser General Public License in all + respects for all of the code used other than OpenSSL. If you modify + file(s) with this exception, you may extend this exception to your + version of the file(s), but you are not obligated to do so. If you do + not wish to do so, delete this exception statement from your version. + If you delete this exception statement from all source files in the + program, then also delete it here. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_129.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may use this work under the terms of a Creative Commons CC0 1.0 + License/Waiver. + + On Debian systems, the complete text of the Creative Commons CC0 1.0 + Universal license can be found in `/usr/share/common-licenses/CC0-1.0'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '100.0' + start_line: 1 + end_line: 14 + matcher: 1-hash + rule_length: 109 + matched_length: 109 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_845.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + On Debian systems, the complete text of the Apache version 2.0 license + can be found in "/usr/share/common-licenses/Apache-2.0". diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cups/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cups/stable_copyright-detailed.expected.yml index 11489b64c6b..1055a2c0fc8 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cups/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cups/stable_copyright-detailed.expected.yml @@ -1,14 +1,16 @@ -- - GPL-2.0 with AOSDL exception +primary_license: gpl-2.0 AND gpl-1.0-plus AND lgpl-2.1 WITH openssl-exception-lgpl-2.0-plus +declared_license: + - GPL-2.0 with AOSDL exception - LGPL-2.0 with AOSDL exception - Zlib - BSD-2-clause - GPL-2.0 with AOSDL exception - LGPL-2.0 with AOSDL exception - Zlib -- (gpl-2.0 AND gpl-1.0-plus AND gpl-2.0 AND gpl-1.0-plus AND lgpl-2.1 WITH openssl-exception-lgpl-2.0-plus) - AND (lgpl-2.0-plus AND lgpl-2.0-plus AND gpl-1.0-plus AND lgpl-2.1 WITH openssl-exception-lgpl-2.0-plus) - AND (zlib AND zlib) AND bsd-simplified -- | +license_expression: (gpl-2.0 AND gpl-1.0-plus AND gpl-2.0 AND gpl-1.0-plus AND lgpl-2.1 WITH + openssl-exception-lgpl-2.0-plus) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND gpl-1.0-plus AND + lgpl-2.1 WITH openssl-exception-lgpl-2.0-plus) AND (zlib AND zlib) AND bsd-simplified +copyright: | 2007-2015, Apple Inc. 2007-2013, Apple Inc. 2007-2014, Apple Inc @@ -17,3 +19,254 @@ 2011, Red Hat, Inc 2007-2014, Apple Inc 1997-2007, Easy Software Products +matches: + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_70.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 34 + matched_length: 34 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_51.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, version 2 of the License. + - score: '27.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 27 + identifier: gpl-1.0-plus_30.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: full text of the GPL + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2 + - score: '100.0' + start_line: 22 + end_line: 22 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_bare_gnu_gpl.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GNU GPL. + - score: '19.88' + start_line: 50 + end_line: 53 + matcher: 3-seq + rule_length: 43 + matched_length: 9 + match_coverage: '20.93' + rule_relevance: 95 + identifier: lgpl-2.1_with_openssl-exception-lgpl-2.0-plus_1.RULE + license_expression: lgpl-2.1 WITH openssl-exception-lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License Exception; + + a. [Apple] [Inc]. explicitly allows the compilation and + distribution of + - score: '59.7' + start_line: 1 + end_line: 6 + matcher: 3-seq + rule_length: 67 + matched_length: 40 + match_coverage: '59.7' + rule_relevance: 100 + identifier: lgpl-2.0-plus_16.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation, version 2 of the License. + + [The] [full] [text] [of] [the] [LGPL] [is] [distributed] [as] in + /usr/share/common-licenses/LGPL-2 + - score: '75.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 75 + identifier: lgpl_bare_single_word.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL + - score: '100.0' + start_line: 22 + end_line: 22 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_bare_gnu_gpl.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GNU GPL. + - score: '19.88' + start_line: 50 + end_line: 53 + matcher: 3-seq + rule_length: 43 + matched_length: 9 + match_coverage: '20.93' + rule_relevance: 95 + identifier: lgpl-2.1_with_openssl-exception-lgpl-2.0-plus_1.RULE + license_expression: lgpl-2.1 WITH openssl-exception-lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License Exception; + + a. [Apple] [Inc]. explicitly allows the compilation and + distribution of + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib_7.RULE + license_expression: zlib + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: zlib License + - score: '100.0' + start_line: 3 + end_line: 20 + matcher: 2-aho + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must + not claim that you wrote the original software. If you use this + software in a product, an acknowledgment in the product + documentation would be appreciated but is not required. + + 2. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + + 3. This notice may not be removed or altered from any source + distribution. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cups/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cups/stable_copyright.expected.yml index 4879b57826f..c413f227f5f 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cups/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/c/cups/stable_copyright.expected.yml @@ -1,11 +1,13 @@ -- - GPL-2.0 with AOSDL exception +primary_license: gpl-2.0 AND gpl-1.0-plus AND lgpl-2.1 WITH openssl-exception-lgpl-2.0-plus +declared_license: + - GPL-2.0 with AOSDL exception - LGPL-2.0 with AOSDL exception - Zlib - BSD-2-clause -- (gpl-2.0 AND gpl-1.0-plus AND gpl-2.0 AND gpl-1.0-plus AND lgpl-2.1 WITH openssl-exception-lgpl-2.0-plus) - AND (lgpl-2.0-plus AND lgpl-2.0-plus AND gpl-1.0-plus AND lgpl-2.1 WITH openssl-exception-lgpl-2.0-plus) - AND (zlib AND zlib) AND bsd-simplified -- | +license_expression: (gpl-2.0 AND gpl-1.0-plus AND lgpl-2.1 WITH openssl-exception-lgpl-2.0-plus) + AND (lgpl-2.0-plus AND gpl-1.0-plus AND lgpl-2.1 WITH openssl-exception-lgpl-2.0-plus) AND + zlib AND bsd-simplified +copyright: | 2007-2015, Apple Inc. 2007-2013, Apple Inc. 2007-2014, Apple Inc @@ -13,3 +15,254 @@ 1999, Aladdin Enterprises. 2011, Red Hat, Inc 1997-2007, Easy Software Products +matches: + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_70.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 34 + matched_length: 34 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_51.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, version 2 of the License. + - score: '27.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 27 + identifier: gpl-1.0-plus_30.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: full text of the GPL + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2 + - score: '100.0' + start_line: 22 + end_line: 22 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_bare_gnu_gpl.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GNU GPL. + - score: '19.88' + start_line: 50 + end_line: 53 + matcher: 3-seq + rule_length: 43 + matched_length: 9 + match_coverage: '20.93' + rule_relevance: 95 + identifier: lgpl-2.1_with_openssl-exception-lgpl-2.0-plus_1.RULE + license_expression: lgpl-2.1 WITH openssl-exception-lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License Exception; + + a. [Apple] [Inc]. explicitly allows the compilation and + distribution of + - score: '59.7' + start_line: 1 + end_line: 6 + matcher: 3-seq + rule_length: 67 + matched_length: 40 + match_coverage: '59.7' + rule_relevance: 100 + identifier: lgpl-2.0-plus_16.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation, version 2 of the License. + + [The] [full] [text] [of] [the] [LGPL] [is] [distributed] [as] in + /usr/share/common-licenses/LGPL-2 + - score: '75.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 75 + identifier: lgpl_bare_single_word.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL + - score: '100.0' + start_line: 22 + end_line: 22 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_bare_gnu_gpl.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GNU GPL. + - score: '19.88' + start_line: 50 + end_line: 53 + matcher: 3-seq + rule_length: 43 + matched_length: 9 + match_coverage: '20.93' + rule_relevance: 95 + identifier: lgpl-2.1_with_openssl-exception-lgpl-2.0-plus_1.RULE + license_expression: lgpl-2.1 WITH openssl-exception-lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License Exception; + + a. [Apple] [Inc]. explicitly allows the compilation and + distribution of + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib_7.RULE + license_expression: zlib + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: zlib License + - score: '100.0' + start_line: 3 + end_line: 20 + matcher: 2-aho + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must + not claim that you wrote the original software. If you use this + software in a product, an acknowledgment in the product + documentation would be appreciated but is not required. + + 2. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + + 3. This notice may not be removed or altered from any source + distribution. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dbconfig-common/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dbconfig-common/stable_copyright-detailed.expected.yml index fadd4f891d7..e8cd9a42884 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dbconfig-common/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dbconfig-common/stable_copyright-detailed.expected.yml @@ -1,8 +1,237 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus +declared_license: + - GPL-2+ - AFL-2.1 -- (gpl-2.0-plus AND gpl-2.0-plus) AND (afl-2.1 AND afl-2.1) -- | +license_expression: (gpl-2.0-plus AND gpl-2.0-plus) AND (afl-2.1 AND afl-2.1) +copyright: | 2000-2004 Ola Lundqvist 2004-2011 sean finney 2013-2015 Paul Gevers 2005 sean finney +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 1-hash + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_754.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + all software (original and derived) is covered under the GPL (version 2 or + later) + + On Debian GNU/Linux systems, the complete text of the GNU General + Public License Version 2 can be found in + /usr/share/common-licenses/GPL-2. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: afl-2.1_12.RULE + license_expression: afl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This document is licensed under the Academic Free License, Version 2.1 + - score: '100.0' + start_line: 6 + end_line: 161 + matcher: 2-aho + rule_length: 1406 + matched_length: 1406 + match_coverage: '100.0' + rule_relevance: 100 + identifier: afl-2.1_6.RULE + license_expression: afl-2.1 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The Academic Free License v. 2.1 + + This Academic Free License (the "License") applies to any original work of + authorship (the "Original Work") whose owner (the "Licensor") has placed the + following notice immediately following the copyright notice for the Original + Work: + + Licensed under the Academic Free License version 2.1 + + 1) Grant of Copyright License. Licensor hereby grants You a world-wide, + royalty-free, non-exclusive, perpetual, sublicenseable license to do the + following: + + a) to reproduce the Original Work in copies; + + b) to prepare derivative works ("Derivative Works") based upon the Original + Work; + + c) to distribute copies of the Original Work and Derivative Works to the + public; + + d) to perform the Original Work publicly; and + + e) to display the Original Work publicly. + + 2) Grant of Patent License. Licensor hereby grants You a world-wide, + royalty-free, non-exclusive, perpetual, sublicenseable license, under patent + claims owned or controlled by the Licensor that are embodied in the Original + Work as furnished by the Licensor, to make, use, sell and offer for sale the + Original Work and Derivative Works. + + 3) Grant of Source Code License. The term "Source Code" means the preferred + form of the Original Work for making modifications to it and all available + documentation describing how to modify the Original Work. Licensor hereby + agrees to provide a machine-readable copy of the Source Code of the Original + Work along with each copy of the Original Work that Licensor + distributes. Licensor reserves the right to satisfy this obligation by placing + a machine-readable copy of the Source Code in an information repository + reasonably calculated to permit inexpensive and convenient access by You for + as long as Licensor continues to distribute the Original Work, and by + publishing the address of that information repository in a notice immediately + following the copyright notice that applies to the Original Work. + + 4) Exclusions From License Grant. Neither the names of Licensor, nor the names + of any contributors to the Original Work, nor any of their trademarks or + service marks, may be used to endorse or promote products derived from this + Original Work without express prior written permission of the + Licensor. Nothing in this License shall be deemed to grant any rights to + trademarks, copyrights, patents, trade secrets or any other intellectual + property of Licensor except as expressly stated herein. No patent license is + granted to make, use, sell or offer to sell embodiments of any patent claims + other than the licensed claims defined in Section 2. No right is granted to + the trademarks of Licensor even if such marks are included in the Original + Work. Nothing in this License shall be interpreted to prohibit Licensor from + licensing under different terms from this License any Original Work that + Licensor otherwise would have a right to license. + + 5) This section intentionally omitted. + + 6) Attribution Rights. You must retain, in the Source Code of any Derivative + Works that You create, all copyright, patent or trademark notices from the + Source Code of the Original Work, as well as any notices of licensing and any + descriptive text identified therein as an "Attribution Notice." You must cause + the Source Code for any Derivative Works that You create to carry a prominent + Attribution Notice reasonably calculated to inform recipients that You have + modified the Original Work. + + 7) Warranty of Provenance and Disclaimer of Warranty. Licensor warrants that + the copyright in and to the Original Work and the patent rights granted herein + by Licensor are owned by the Licensor or are sublicensed to You under the + terms of this License with the permission of the contributor(s) of those + copyrights and patent rights. Except as expressly stated in the immediately + proceeding sentence, the Original Work is provided under this License on an + "AS IS" BASIS and WITHOUT WARRANTY, either express or implied, including, + without limitation, the warranties of NON-INFRINGEMENT, MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY OF THE + ORIGINAL WORK IS WITH YOU. This DISCLAIMER OF WARRANTY constitutes an + essential part of this License. No license to Original Work is granted + hereunder except under this disclaimer. + + 8) Limitation of Liability. Under no circumstances and under no legal theory, + whether in tort (including negligence), contract, or otherwise, shall the + Licensor be liable to any person for any direct, indirect, special, + incidental, or consequential damages of any character arising as a result of + this License or the use of the Original Work including, without limitation, + damages for loss of goodwill, work stoppage, computer failure or malfunction, + or any and all other commercial damages or losses. This limitation of + liability shall not apply to liability for death or personal injury resulting + from Licensor's negligence to the extent applicable law prohibits such + limitation. Some jurisdictions do not allow the exclusion or limitation of + incidental or consequential damages, so this exclusion and limitation may not + apply to You. + + 9) Acceptance and Termination. If You distribute copies of the Original Work + or a Derivative Work, You must make a reasonable effort under the + circumstances to obtain the express assent of recipients to the terms of this + License. Nothing else but this License (or another written agreement between + Licensor and You) grants You permission to create Derivative Works based upon + the Original Work or to exercise any of the rights granted in Section 1 + herein, and any attempt to do so except under the terms of this License (or + another written agreement between Licensor and You) is expressly prohibited by + U.S. copyright law, the equivalent laws of other countries, and by + international treaty. Therefore, by exercising any of the rights granted to + You in Section 1 herein, You indicate Your acceptance of this License and all + of its terms and conditions. + + 10) Termination for Patent Action. This License shall terminate automatically + and You may no longer exercise any of the rights granted to You by this + License as of the date You commence an action, including a cross-claim or + counterclaim, against Licensor or any licensee alleging that the Original Work + infringes a patent. This termination provision shall not apply for an action + alleging patent infringement by combinations of the Original Work with other + software or hardware. + + 11) Jurisdiction, Venue and Governing Law. Any action or suit relating to this + License may be brought only in the courts of a jurisdiction wherein the + Licensor resides or in which Licensor conducts its primary business, and under + the laws of that jurisdiction excluding its conflict-of-law provisions. The + application of the United Nations Convention on Contracts for the + International Sale of Goods is expressly excluded. Any use of the Original + Work outside the scope of this License or after its termination shall be + subject to the requirements and penalties of the U.S. Copyright Act, 17 + U.S.C. § 101 et seq., the equivalent laws of other countries, and + international treaty. This section shall survive the termination of this + License. + + 12) Attorneys Fees. In any action to enforce the terms of this License or + seeking damages relating thereto, the prevailing party shall be entitled to + recover its costs and expenses, including, without limitation, reasonable + attorneys' fees and costs incurred in connection with such action, including + any appeal of such action. This section shall survive the termination of this + License. + + 13) Miscellaneous. This License represents the complete agreement concerning + the subject matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent necessary + to make it enforceable. + + 14) Definition of "You" in This License. "You" throughout this License, + whether in upper or lower case, means an individual or a legal entity + exercising rights under, and complying with all of the terms of, this + License. For legal entities, "You" includes any entity that controls, is + controlled by, or is under common control with you. For purposes of this + definition, "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or otherwise, or + (ii) ownership of fifty percent (50%) or more of the outstanding shares, or + (iii) beneficial ownership of such entity. + + 15) Right to Use. You may use the Original Work in all ways not otherwise + restricted or conditioned by this License or by law, and Licensor promises not + to interfere with or be responsible for such uses by You. + + This license is Copyright (C) 2003-2004 Lawrence E. Rosen. All rights + reserved. Permission is hereby granted to copy and distribute this license + without modification. This license may not be modified without the express + written permission of its copyright owner. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dbconfig-common/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dbconfig-common/stable_copyright.expected.yml index fadd4f891d7..fd217443236 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dbconfig-common/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dbconfig-common/stable_copyright.expected.yml @@ -1,8 +1,237 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus +declared_license: + - GPL-2+ - AFL-2.1 -- (gpl-2.0-plus AND gpl-2.0-plus) AND (afl-2.1 AND afl-2.1) -- | +license_expression: gpl-2.0-plus AND afl-2.1 +copyright: | 2000-2004 Ola Lundqvist 2004-2011 sean finney 2013-2015 Paul Gevers 2005 sean finney +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 1-hash + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_754.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + all software (original and derived) is covered under the GPL (version 2 or + later) + + On Debian GNU/Linux systems, the complete text of the GNU General + Public License Version 2 can be found in + /usr/share/common-licenses/GPL-2. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: afl-2.1_12.RULE + license_expression: afl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This document is licensed under the Academic Free License, Version 2.1 + - score: '100.0' + start_line: 6 + end_line: 161 + matcher: 2-aho + rule_length: 1406 + matched_length: 1406 + match_coverage: '100.0' + rule_relevance: 100 + identifier: afl-2.1_6.RULE + license_expression: afl-2.1 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The Academic Free License v. 2.1 + + This Academic Free License (the "License") applies to any original work of + authorship (the "Original Work") whose owner (the "Licensor") has placed the + following notice immediately following the copyright notice for the Original + Work: + + Licensed under the Academic Free License version 2.1 + + 1) Grant of Copyright License. Licensor hereby grants You a world-wide, + royalty-free, non-exclusive, perpetual, sublicenseable license to do the + following: + + a) to reproduce the Original Work in copies; + + b) to prepare derivative works ("Derivative Works") based upon the Original + Work; + + c) to distribute copies of the Original Work and Derivative Works to the + public; + + d) to perform the Original Work publicly; and + + e) to display the Original Work publicly. + + 2) Grant of Patent License. Licensor hereby grants You a world-wide, + royalty-free, non-exclusive, perpetual, sublicenseable license, under patent + claims owned or controlled by the Licensor that are embodied in the Original + Work as furnished by the Licensor, to make, use, sell and offer for sale the + Original Work and Derivative Works. + + 3) Grant of Source Code License. The term "Source Code" means the preferred + form of the Original Work for making modifications to it and all available + documentation describing how to modify the Original Work. Licensor hereby + agrees to provide a machine-readable copy of the Source Code of the Original + Work along with each copy of the Original Work that Licensor + distributes. Licensor reserves the right to satisfy this obligation by placing + a machine-readable copy of the Source Code in an information repository + reasonably calculated to permit inexpensive and convenient access by You for + as long as Licensor continues to distribute the Original Work, and by + publishing the address of that information repository in a notice immediately + following the copyright notice that applies to the Original Work. + + 4) Exclusions From License Grant. Neither the names of Licensor, nor the names + of any contributors to the Original Work, nor any of their trademarks or + service marks, may be used to endorse or promote products derived from this + Original Work without express prior written permission of the + Licensor. Nothing in this License shall be deemed to grant any rights to + trademarks, copyrights, patents, trade secrets or any other intellectual + property of Licensor except as expressly stated herein. No patent license is + granted to make, use, sell or offer to sell embodiments of any patent claims + other than the licensed claims defined in Section 2. No right is granted to + the trademarks of Licensor even if such marks are included in the Original + Work. Nothing in this License shall be interpreted to prohibit Licensor from + licensing under different terms from this License any Original Work that + Licensor otherwise would have a right to license. + + 5) This section intentionally omitted. + + 6) Attribution Rights. You must retain, in the Source Code of any Derivative + Works that You create, all copyright, patent or trademark notices from the + Source Code of the Original Work, as well as any notices of licensing and any + descriptive text identified therein as an "Attribution Notice." You must cause + the Source Code for any Derivative Works that You create to carry a prominent + Attribution Notice reasonably calculated to inform recipients that You have + modified the Original Work. + + 7) Warranty of Provenance and Disclaimer of Warranty. Licensor warrants that + the copyright in and to the Original Work and the patent rights granted herein + by Licensor are owned by the Licensor or are sublicensed to You under the + terms of this License with the permission of the contributor(s) of those + copyrights and patent rights. Except as expressly stated in the immediately + proceeding sentence, the Original Work is provided under this License on an + "AS IS" BASIS and WITHOUT WARRANTY, either express or implied, including, + without limitation, the warranties of NON-INFRINGEMENT, MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY OF THE + ORIGINAL WORK IS WITH YOU. This DISCLAIMER OF WARRANTY constitutes an + essential part of this License. No license to Original Work is granted + hereunder except under this disclaimer. + + 8) Limitation of Liability. Under no circumstances and under no legal theory, + whether in tort (including negligence), contract, or otherwise, shall the + Licensor be liable to any person for any direct, indirect, special, + incidental, or consequential damages of any character arising as a result of + this License or the use of the Original Work including, without limitation, + damages for loss of goodwill, work stoppage, computer failure or malfunction, + or any and all other commercial damages or losses. This limitation of + liability shall not apply to liability for death or personal injury resulting + from Licensor's negligence to the extent applicable law prohibits such + limitation. Some jurisdictions do not allow the exclusion or limitation of + incidental or consequential damages, so this exclusion and limitation may not + apply to You. + + 9) Acceptance and Termination. If You distribute copies of the Original Work + or a Derivative Work, You must make a reasonable effort under the + circumstances to obtain the express assent of recipients to the terms of this + License. Nothing else but this License (or another written agreement between + Licensor and You) grants You permission to create Derivative Works based upon + the Original Work or to exercise any of the rights granted in Section 1 + herein, and any attempt to do so except under the terms of this License (or + another written agreement between Licensor and You) is expressly prohibited by + U.S. copyright law, the equivalent laws of other countries, and by + international treaty. Therefore, by exercising any of the rights granted to + You in Section 1 herein, You indicate Your acceptance of this License and all + of its terms and conditions. + + 10) Termination for Patent Action. This License shall terminate automatically + and You may no longer exercise any of the rights granted to You by this + License as of the date You commence an action, including a cross-claim or + counterclaim, against Licensor or any licensee alleging that the Original Work + infringes a patent. This termination provision shall not apply for an action + alleging patent infringement by combinations of the Original Work with other + software or hardware. + + 11) Jurisdiction, Venue and Governing Law. Any action or suit relating to this + License may be brought only in the courts of a jurisdiction wherein the + Licensor resides or in which Licensor conducts its primary business, and under + the laws of that jurisdiction excluding its conflict-of-law provisions. The + application of the United Nations Convention on Contracts for the + International Sale of Goods is expressly excluded. Any use of the Original + Work outside the scope of this License or after its termination shall be + subject to the requirements and penalties of the U.S. Copyright Act, 17 + U.S.C. § 101 et seq., the equivalent laws of other countries, and + international treaty. This section shall survive the termination of this + License. + + 12) Attorneys Fees. In any action to enforce the terms of this License or + seeking damages relating thereto, the prevailing party shall be entitled to + recover its costs and expenses, including, without limitation, reasonable + attorneys' fees and costs incurred in connection with such action, including + any appeal of such action. This section shall survive the termination of this + License. + + 13) Miscellaneous. This License represents the complete agreement concerning + the subject matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent necessary + to make it enforceable. + + 14) Definition of "You" in This License. "You" throughout this License, + whether in upper or lower case, means an individual or a legal entity + exercising rights under, and complying with all of the terms of, this + License. For legal entities, "You" includes any entity that controls, is + controlled by, or is under common control with you. For purposes of this + definition, "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or otherwise, or + (ii) ownership of fifty percent (50%) or more of the outstanding shares, or + (iii) beneficial ownership of such entity. + + 15) Right to Use. You may use the Original Work in all ways not otherwise + restricted or conditioned by this License or by law, and Licensor promises not + to interfere with or be responsible for such uses by You. + + This license is Copyright (C) 2003-2004 Lawrence E. Rosen. All rights + reserved. Permission is hereby granted to copy and distribute this license + without modification. This license may not be modified without the express + written permission of its copyright owner. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/devscripts/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/devscripts/stable_copyright-detailed.expected.yml index f9efc3a4b1c..3220a34e481 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/devscripts/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/devscripts/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-3 - GPL-3+ - ISC @@ -74,15 +76,15 @@ - GPL-3+ - ISC - Public-Domain -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-3.0 AND gpl-1.0-plus AND - gpl-3.0 AND gpl-3.0) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0 AND gpl-3.0) AND isc AND - (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND ((artistic-2.0 AND artistic-2.0) - OR (gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0)) AND (gpl-2.0-plus +license_expression: (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-3.0 AND + gpl-1.0-plus AND gpl-3.0 AND gpl-3.0) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0 AND gpl-3.0) + AND isc AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND ((artistic-2.0 AND + artistic-2.0) OR (gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0)) + AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus + AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND - gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND - gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) - AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 - AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus + gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 + AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) @@ -116,7 +118,7 @@ gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND public-domain-disclaimer AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) -- | +copyright: | 1997, Klee Dienes Christoph Lameter 1998-2006, Julian Gilbey @@ -228,3 +230,656 @@ 2012, Arno Töll 2006, Julian Gilbey 2015, Nicholas Bamber +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_26.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: artistic' + - score: '91.49' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 47 + matched_length: 43 + match_coverage: '91.49' + rule_relevance: 100 + identifier: artistic-2.0_4.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the Artistic License, which comes with Perl. + + On Debian systems, the complete text of the Artistic License can be + found in `/usr/share/common-licenses/Artistic'. + - score: '99.93' + start_line: 1 + end_line: 189 + matcher: 3-seq + rule_length: 1351 + matched_length: 1350 + match_coverage: '99.93' + rule_relevance: 100 + identifier: artistic-2.0_36.RULE + license_expression: artistic-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copyright (c) 2000-2006, The Perl Foundation. + + Everyone is permitted to copy and distribute verbatim copies of this + license document, but changing it is not allowed. + + Preamble + + This license establishes the terms under which a given free software + Package may be copied, modified, distributed, and/or redistributed. + The intent is that the Copyright Holder maintains some artistic + control over the development of that Package while still keeping the + Package available as open source and free software. + + You are always permitted to make arrangements wholly outside of this + license directly with the Copyright Holder of a given Package. If the + terms of this license do not permit the full use that you propose to + make of the Package, you should contact the Copyright Holder and seek + a different licensing arrangement. + + Definitions + + "Copyright Holder" means the individual(s) or organization(s) named in + the copyright notice for the entire Package. + + "Contributor" means any party that has contributed code or other + material to the Package, in accordance with the Copyright Holder's + procedures. + + "You" and "your" means any person who would like to copy, distribute, + or modify the Package. + + "Package" means the collection of files distributed by the Copyright + Holder, and derivatives of that collection and/or of those files. A + given Package may consist of either the Standard Version, or a + Modified Version. + + "Distribute" means providing a copy of the Package or making it + accessible to anyone else, or in the case of a company or + organization, to others outside of your company or organization. + + "Distributor Fee" means any fee that you charge for Distributing this + Package or providing support for this Package to another party. It + does not mean licensing fees. + + "Standard Version" refers to the Package if it has not been modified, + or has been modified only in ways explicitly requested by the + Copyright Holder. + + "Modified Version" means the Package, if it has been changed, and such + changes were not explicitly requested by the Copyright Holder. + + "Original License" means this Artistic License as Distributed with the + Standard Version of the Package, in its current version or as it may + be modified by The Perl Foundation in the future. + + "Source" form means the source code, documentation source, and + configuration files for the Package. + + "Compiled" form means the compiled bytecode, object code, binary, or + any other form resulting from mechanical transformation or translation + of the Source form. + + Permission for Use and Modification Without Distribution + + (1) You are permitted to use the Standard Version and create and use + Modified Versions for any purpose without restriction, provided + that you do not Distribute the Modified Version. + + Permissions for Redistribution of the Standard Version + + (2) You may Distribute verbatim copies of the Source form of the + Standard Version of this Package in any medium without + restriction, either gratis or for a Distributor Fee, provided + that you duplicate all of the original copyright notices and + associated disclaimers. At your discretion, such verbatim copies + may or may not include a Compiled form of the Package. + + (3) You may apply any bug fixes, portability changes, and other + modifications made available from the Copyright Holder. The + resulting Package will still be considered the Standard Version, + and as such will be subject to the Original License. + + Distribution of Modified Versions of the Package as Source + + (4) You may Distribute your Modified Version as Source (either gratis + or for a Distributor Fee, and with or without a Compiled form of + the Modified Version) provided that you clearly document how it + differs from the Standard Version, including, but not limited to, + documenting any non-standard features, executables, or modules, + and provided that you do at least ONE of the following: + + (a) make the Modified Version available to the Copyright Holder + of the Standard Version, under the Original License, so that + the Copyright Holder may include your modifications in the + Standard Version. + (b) ensure that installation of your Modified Version does not + prevent the user installing or running the Standard Version. + In addition, the Modified Version must bear a name that is + different from the name of the Standard Version. + (c) allow anyone who receives a copy of the Modified Version to + make the Source form of the Modified Version available to + others under + (i) the Original License or + (ii) a license that permits the licensee to freely copy, + modify and redistribute the Modified Version using the + same licensing terms that apply to the copy that the + licensee received, and requires that the Source form of + the Modified Version, and of any works derived from it, + be made freely available in that license fees are + prohibited but Distributor Fees are allowed. + + Distribution of Compiled Forms of the Standard Version or Modified + Versions without the Source + + (5) You may Distribute Compiled forms of the Standard Version without + the Source, provided that you include complete instructions on + how to get the Source of the Standard Version. Such instructions + must be valid at the time of your distribution. If these + instructions, at any time while you are carrying out such + distribution, become invalid, you must provide new instructions + on demand or cease further distribution. If you provide valid + instructions or cease distribution within thirty days after you + become aware that the instructions are invalid, then you do not + forfeit any of your rights under this license. + + (6) You may Distribute a Modified Version in Compiled form without + the Source, provided that you comply with Section 4 with respect + to the Source of the Modified Version. + + Aggregating or Linking the Package + + (7) You may aggregate the Package (either the Standard Version or + Modified Version) with other packages and Distribute the + resulting aggregation provided that you do not charge a licensing + fee for the Package. Distributor Fees are permitted, and licensing + fees for other components in the aggregation are permitted. The + terms of this license apply to the use and Distribution of the + Standard or Modified Versions as included in the aggregation. + + (8) You are permitted to link Modified and Standard Versions with + other works, to embed the Package in a larger work of your own, + or to build stand-alone binary or bytecode versions of + applications that include the Package, and Distribute the result + without restriction, provided the result does not expose a direct + interface to the Package. + + Items That are Not Considered Part of a Modified Version + + (9) Works (including, but not limited to, modules and scripts) that + merely extend or make use of the Package, do not, by themselves, + cause the Package to be a Modified Version. In addition, such + works are not considered parts of the Package itself, and are + not subject to the terms of this license. + + General Provisions + + (10) Any use, modification, and distribution of the Standard or + Modified Versions is governed by this Artistic License. By + using, modifying or distributing the Package, you accept this + license. Do not use, modify, or distribute the Package, if you + do not accept this license. + + (11) If your Modified Version has been derived from a Modified + Version made by someone other than you, you are nevertheless + required to ensure that your Modified Version complies with + the requirements of this license. + + (12) This license does not grant you the right to use any trademark, + service mark, tradename, or logo of the Copyright Holder. + + (13) This license includes the non-exclusive, worldwide, + free-of-charge patent license to make, have made, use, offer to + sell, import and otherwise transfer the Package with respect to + any patent claims licensable by the Copyright Holder that are + necessarily infringed by the Package. If you institute patent + litigation (including a cross-claim or counterclaim) against + any party alleging that the Package constitutes direct or + contributory patent infringement, then this Artistic License to + you shall terminate on the date that such litigation is filed. + + (14) Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT + HOLDER AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES. THE IMPLIED WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT ARE + DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL LAW. UNLESS + REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL + DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_395.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-1+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_2.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 1, or (at your option) + any later version. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General + Public License + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_424.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL- + - score: '60.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 60 + identifier: gpl-1.0_15.RULE + license_expression: gpl-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GPL-1' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_396.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2. + - score: '100.0' + start_line: 5 + end_line: 6 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_836.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 2 of the GNU General + Public License + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_165.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_836.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 2 of the GNU General + Public License + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_rdesc_1.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_91.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; + - score: '100.0' + start_line: 5 + end_line: 6 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_237.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 3 of the GNU General + Public License + - score: '33.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_284.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_237.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 3 of the GNU General + Public License + - score: '33.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc.LICENSE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain-disclaimer_16.RULE + license_expression: public-domain-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To the extent possible under law, the author(s) have dedicated all copyright + and related and neighboring rights to this software to the public domain + worldwide. This software is distributed without any warranty. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/devscripts/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/devscripts/stable_copyright.expected.yml index a635aaf6d57..fa798689924 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/devscripts/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/devscripts/stable_copyright.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-3 - GPL-3+ - ISC @@ -8,11 +10,10 @@ - Public-Domain - Artistic - GPL-1+ -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-3.0 AND gpl-1.0-plus AND - gpl-3.0 AND gpl-3.0) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0 AND gpl-3.0) AND isc AND - ((artistic-2.0 AND artistic-2.0) OR (gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus - AND gpl-1.0)) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND artistic-2.0 AND public-domain-disclaimer -- | +license_expression: (gpl-2.0-plus AND gpl-2.0) AND (gpl-3.0 AND gpl-1.0-plus) AND (gpl-3.0-plus + AND gpl-3.0) AND isc AND (artistic-2.0 OR (gpl-1.0-plus AND gpl-1.0)) AND gpl-2.0 AND artistic-2.0 + AND public-domain-disclaimer +copyright: | 1997, Klee Dienes Christoph Lameter 1998-2006, Julian Gilbey @@ -113,3 +114,656 @@ 2012, Arno Töll 2006, Julian Gilbey 2015, Nicholas Bamber +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_26.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: artistic' + - score: '91.49' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 47 + matched_length: 43 + match_coverage: '91.49' + rule_relevance: 100 + identifier: artistic-2.0_4.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the Artistic License, which comes with Perl. + + On Debian systems, the complete text of the Artistic License can be + found in `/usr/share/common-licenses/Artistic'. + - score: '99.93' + start_line: 1 + end_line: 189 + matcher: 3-seq + rule_length: 1351 + matched_length: 1350 + match_coverage: '99.93' + rule_relevance: 100 + identifier: artistic-2.0_36.RULE + license_expression: artistic-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copyright (c) 2000-2006, The Perl Foundation. + + Everyone is permitted to copy and distribute verbatim copies of this + license document, but changing it is not allowed. + + Preamble + + This license establishes the terms under which a given free software + Package may be copied, modified, distributed, and/or redistributed. + The intent is that the Copyright Holder maintains some artistic + control over the development of that Package while still keeping the + Package available as open source and free software. + + You are always permitted to make arrangements wholly outside of this + license directly with the Copyright Holder of a given Package. If the + terms of this license do not permit the full use that you propose to + make of the Package, you should contact the Copyright Holder and seek + a different licensing arrangement. + + Definitions + + "Copyright Holder" means the individual(s) or organization(s) named in + the copyright notice for the entire Package. + + "Contributor" means any party that has contributed code or other + material to the Package, in accordance with the Copyright Holder's + procedures. + + "You" and "your" means any person who would like to copy, distribute, + or modify the Package. + + "Package" means the collection of files distributed by the Copyright + Holder, and derivatives of that collection and/or of those files. A + given Package may consist of either the Standard Version, or a + Modified Version. + + "Distribute" means providing a copy of the Package or making it + accessible to anyone else, or in the case of a company or + organization, to others outside of your company or organization. + + "Distributor Fee" means any fee that you charge for Distributing this + Package or providing support for this Package to another party. It + does not mean licensing fees. + + "Standard Version" refers to the Package if it has not been modified, + or has been modified only in ways explicitly requested by the + Copyright Holder. + + "Modified Version" means the Package, if it has been changed, and such + changes were not explicitly requested by the Copyright Holder. + + "Original License" means this Artistic License as Distributed with the + Standard Version of the Package, in its current version or as it may + be modified by The Perl Foundation in the future. + + "Source" form means the source code, documentation source, and + configuration files for the Package. + + "Compiled" form means the compiled bytecode, object code, binary, or + any other form resulting from mechanical transformation or translation + of the Source form. + + Permission for Use and Modification Without Distribution + + (1) You are permitted to use the Standard Version and create and use + Modified Versions for any purpose without restriction, provided + that you do not Distribute the Modified Version. + + Permissions for Redistribution of the Standard Version + + (2) You may Distribute verbatim copies of the Source form of the + Standard Version of this Package in any medium without + restriction, either gratis or for a Distributor Fee, provided + that you duplicate all of the original copyright notices and + associated disclaimers. At your discretion, such verbatim copies + may or may not include a Compiled form of the Package. + + (3) You may apply any bug fixes, portability changes, and other + modifications made available from the Copyright Holder. The + resulting Package will still be considered the Standard Version, + and as such will be subject to the Original License. + + Distribution of Modified Versions of the Package as Source + + (4) You may Distribute your Modified Version as Source (either gratis + or for a Distributor Fee, and with or without a Compiled form of + the Modified Version) provided that you clearly document how it + differs from the Standard Version, including, but not limited to, + documenting any non-standard features, executables, or modules, + and provided that you do at least ONE of the following: + + (a) make the Modified Version available to the Copyright Holder + of the Standard Version, under the Original License, so that + the Copyright Holder may include your modifications in the + Standard Version. + (b) ensure that installation of your Modified Version does not + prevent the user installing or running the Standard Version. + In addition, the Modified Version must bear a name that is + different from the name of the Standard Version. + (c) allow anyone who receives a copy of the Modified Version to + make the Source form of the Modified Version available to + others under + (i) the Original License or + (ii) a license that permits the licensee to freely copy, + modify and redistribute the Modified Version using the + same licensing terms that apply to the copy that the + licensee received, and requires that the Source form of + the Modified Version, and of any works derived from it, + be made freely available in that license fees are + prohibited but Distributor Fees are allowed. + + Distribution of Compiled Forms of the Standard Version or Modified + Versions without the Source + + (5) You may Distribute Compiled forms of the Standard Version without + the Source, provided that you include complete instructions on + how to get the Source of the Standard Version. Such instructions + must be valid at the time of your distribution. If these + instructions, at any time while you are carrying out such + distribution, become invalid, you must provide new instructions + on demand or cease further distribution. If you provide valid + instructions or cease distribution within thirty days after you + become aware that the instructions are invalid, then you do not + forfeit any of your rights under this license. + + (6) You may Distribute a Modified Version in Compiled form without + the Source, provided that you comply with Section 4 with respect + to the Source of the Modified Version. + + Aggregating or Linking the Package + + (7) You may aggregate the Package (either the Standard Version or + Modified Version) with other packages and Distribute the + resulting aggregation provided that you do not charge a licensing + fee for the Package. Distributor Fees are permitted, and licensing + fees for other components in the aggregation are permitted. The + terms of this license apply to the use and Distribution of the + Standard or Modified Versions as included in the aggregation. + + (8) You are permitted to link Modified and Standard Versions with + other works, to embed the Package in a larger work of your own, + or to build stand-alone binary or bytecode versions of + applications that include the Package, and Distribute the result + without restriction, provided the result does not expose a direct + interface to the Package. + + Items That are Not Considered Part of a Modified Version + + (9) Works (including, but not limited to, modules and scripts) that + merely extend or make use of the Package, do not, by themselves, + cause the Package to be a Modified Version. In addition, such + works are not considered parts of the Package itself, and are + not subject to the terms of this license. + + General Provisions + + (10) Any use, modification, and distribution of the Standard or + Modified Versions is governed by this Artistic License. By + using, modifying or distributing the Package, you accept this + license. Do not use, modify, or distribute the Package, if you + do not accept this license. + + (11) If your Modified Version has been derived from a Modified + Version made by someone other than you, you are nevertheless + required to ensure that your Modified Version complies with + the requirements of this license. + + (12) This license does not grant you the right to use any trademark, + service mark, tradename, or logo of the Copyright Holder. + + (13) This license includes the non-exclusive, worldwide, + free-of-charge patent license to make, have made, use, offer to + sell, import and otherwise transfer the Package with respect to + any patent claims licensable by the Copyright Holder that are + necessarily infringed by the Package. If you institute patent + litigation (including a cross-claim or counterclaim) against + any party alleging that the Package constitutes direct or + contributory patent infringement, then this Artistic License to + you shall terminate on the date that such litigation is filed. + + (14) Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT + HOLDER AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES. THE IMPLIED WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT ARE + DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL LAW. UNLESS + REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL + DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_395.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-1+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_2.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 1, or (at your option) + any later version. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General + Public License + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_424.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL- + - score: '60.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 60 + identifier: gpl-1.0_15.RULE + license_expression: gpl-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GPL-1' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_396.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2. + - score: '100.0' + start_line: 5 + end_line: 6 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_836.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 2 of the GNU General + Public License + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_165.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_836.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 2 of the GNU General + Public License + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_rdesc_1.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_91.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; + - score: '100.0' + start_line: 5 + end_line: 6 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_237.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 3 of the GNU General + Public License + - score: '33.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_284.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_237.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 3 of the GNU General + Public License + - score: '33.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc.LICENSE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain-disclaimer_16.RULE + license_expression: public-domain-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To the extent possible under law, the author(s) have dedicated all copyright + and related and neighboring rights to this software to the public domain + worldwide. This software is distributed without any warranty. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dma/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dma/stable_copyright-detailed.expected.yml index a1f02d78655..adb808ea0d7 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dma/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dma/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - BSD-3 +primary_license: bsd-new +declared_license: + - BSD-3 - BSD-3 - BSD-3 - BSD-1 and BSD-2 @@ -9,9 +11,9 @@ - BSD-3 - BSD-1 - BSD-2 -- bsd-new AND bsd-new AND bsd-new AND (isc AND bsd-simplified) AND bsd-new AND bsd-new AND bsd-new - AND bsd-new -- | +license_expression: bsd-new AND bsd-new AND bsd-new AND (isc AND bsd-simplified) AND bsd-new + AND bsd-new AND bsd-new AND bsd-new +copyright: | Copyright (c) 1995-2001 Kungliga Tekniska Högskolan (Royal Institute of Technology, Stockholm, Sweden). All rights reserved. @@ -30,3 +32,96 @@ by Simon 'corecode' Schubert and Matthias Schmidt . Copyright (c) 2009 - 2012 Peter Pentchev. +matches: + - score: '90.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 90 + identifier: bsd-new_1036.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. Neither the name of The DragonFly Project nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific, prior written permission. + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + . + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dma/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dma/stable_copyright.expected.yml index b1f45ae6cab..ad35c0235cb 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dma/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dma/stable_copyright.expected.yml @@ -1,9 +1,11 @@ -- - BSD-3 +primary_license: bsd-new +declared_license: + - BSD-3 - BSD-1 and BSD-2 - BSD-1 - BSD-2 -- bsd-new AND (isc AND bsd-simplified) -- | +license_expression: bsd-new AND (isc AND bsd-simplified) +copyright: | Copyright (c) 1995-2001 Kungliga Tekniska Högskolan (Royal Institute of Technology, Stockholm, Sweden). All rights reserved. @@ -16,3 +18,96 @@ by Simon 'corecode' Schubert . by Simon 'corecode' Schubert and Matthias Schmidt . +matches: + - score: '90.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 90 + identifier: bsd-new_1036.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. Neither the name of The DragonFly Project nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific, prior written permission. + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + . + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dovecot/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dovecot/stable_copyright-detailed.expected.yml index c43ff610f4f..3274f44f65e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dovecot/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dovecot/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - LGPL-2.1 +primary_license: lgpl-2.1 AND lgpl-2.1-plus +declared_license: + - LGPL-2.1 - MIT - MIT - Beerware @@ -26,13 +28,13 @@ - BSD-2-Clause - GPL-2+ - Unicode-DFS-2015 -- (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND mit AND mit AND beerware AND - mit AND public-domain AND bsd-new AND bsd-new AND mit AND mit AND mit AND mit AND mit AND - unicode AND bsd-new AND (apache-2.0 AND apache-2.0) AND bsd-simplified AND mit AND ((apache-2.0 - AND apache-2.0) OR (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1)) AND (gpl-2.0-plus - AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1-plus - AND lgpl-2.1) -- | +license_expression: (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND mit AND + mit AND beerware AND mit AND public-domain AND bsd-new AND bsd-new AND mit AND mit AND mit + AND mit AND mit AND unicode AND bsd-new AND (apache-2.0 AND apache-2.0) AND bsd-simplified + AND mit AND ((apache-2.0 AND apache-2.0) OR (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1)) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (lgpl-2.1 AND + lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) +copyright: | (c) 2001-2018 Dovecot authors (c) 2001-2018 Dovecot authors (c) 2004-2006 Andrey Panin @@ -69,3 +71,399 @@ (c) 2016-2018 Apollon Oikonomopoulos (c) 2002-2018 Stephan Bosch (c) 2002-2018 Dovecot authors +matches: + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 52 + matched_length: 52 + match_coverage: '100.0' + rule_relevance: 100 + identifier: beerware_1.RULE + license_expression: beerware + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + THE BEER-WARE LICENSE" (Revision 42): + wrote this file. As long as you retain this notice you + can do whatever you want with this stuff. If we meet some day, and you think + this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_45.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + placed in the + public domain. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 117 + matched_length: 117 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_239.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + - score: '100.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Lesser General Public License + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_82.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '94.5' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 109 + matched_length: 103 + match_coverage: '94.5' + rule_relevance: 100 + identifier: apache-2.0_847.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + [http]://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + On Debian systems, the [full] [text] [of] [the] Apache License, Version 2.0 can be + found [at] /usr/share/common-licenses/Apache-2.0. + - score: '100.0' + start_line: 3 + end_line: 25 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 185 + matched_length: 185 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_16.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License version 2 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2. + - score: '100.0' + start_line: 1 + end_line: 33 + matcher: 2-aho + rule_length: 299 + matched_length: 299 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_35.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Distributed under the + Terms of Use in http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of the Unicode data files and any associated documentation (the "Data Files") + or Unicode software and any associated documentation (the "Software") to deal + in the Data Files or Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, and/or sell copies + of the Data Files or Software, and to permit persons to whom the Data Files or + Software are furnished to do so, provided that + + (a) this copyright and permission notice appear with all copies of the Data + Files or Software, + (b) this copyright and permission notice appear in associated documentation, + and + (c) there is clear notice in each modified Data File or in the Software as + well as in the documentation associated with the Data File(s) or Software + that the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD + PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN + THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL + DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, + WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING + OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR + SOFTWARE. + + Except as contained in this notice, the name of a copyright holder shall not + be used in advertising or otherwise to promote the sale, use or other dealings + in these Data Files or Software without prior written authorization of the + copyright holder. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dovecot/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dovecot/stable_copyright.expected.yml index 2b83824c4aa..50cb9432926 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dovecot/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dovecot/stable_copyright.expected.yml @@ -1,4 +1,6 @@ -- - LGPL-2.1 +primary_license: lgpl-2.1 AND lgpl-2.1-plus +declared_license: + - LGPL-2.1 - MIT - Beerware - public-domain-solardiz @@ -8,10 +10,9 @@ - BSD-2-Clause - Apache-2.0 or LGPL-2.1 - GPL-2+ -- (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND mit AND beerware AND public-domain - AND bsd-new AND unicode AND (apache-2.0 AND apache-2.0) AND bsd-simplified AND ((apache-2.0 - AND apache-2.0) OR (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1)) -- | +license_expression: (lgpl-2.1 AND lgpl-2.1-plus) AND mit AND beerware AND public-domain AND + bsd-new AND unicode AND apache-2.0 AND bsd-simplified AND (apache-2.0 OR (lgpl-2.1 AND lgpl-2.1-plus)) +copyright: | (c) 2001-2018 Dovecot authors (c) 2004-2006 Andrey Panin (c) 2005 Jelmer Vernooij @@ -37,3 +38,399 @@ (C) 2003-2006 Ben van Klinken and the CLucene Team (c) 2002-2018 Stephan Bosch (c) 2002-2018 Dovecot authors +matches: + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 52 + matched_length: 52 + match_coverage: '100.0' + rule_relevance: 100 + identifier: beerware_1.RULE + license_expression: beerware + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + THE BEER-WARE LICENSE" (Revision 42): + wrote this file. As long as you retain this notice you + can do whatever you want with this stuff. If we meet some day, and you think + this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_45.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + placed in the + public domain. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 117 + matched_length: 117 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_239.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + - score: '100.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Lesser General Public License + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_82.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '94.5' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 109 + matched_length: 103 + match_coverage: '94.5' + rule_relevance: 100 + identifier: apache-2.0_847.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + [http]://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + On Debian systems, the [full] [text] [of] [the] Apache License, Version 2.0 can be + found [at] /usr/share/common-licenses/Apache-2.0. + - score: '100.0' + start_line: 3 + end_line: 25 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 185 + matched_length: 185 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_16.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License version 2 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2. + - score: '100.0' + start_line: 1 + end_line: 33 + matcher: 2-aho + rule_length: 299 + matched_length: 299 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_35.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Distributed under the + Terms of Use in http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of the Unicode data files and any associated documentation (the "Data Files") + or Unicode software and any associated documentation (the "Software") to deal + in the Data Files or Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, and/or sell copies + of the Data Files or Software, and to permit persons to whom the Data Files or + Software are furnished to do so, provided that + + (a) this copyright and permission notice appear with all copies of the Data + Files or Software, + (b) this copyright and permission notice appear in associated documentation, + and + (c) there is clear notice in each modified Data File or in the Software as + well as in the documentation associated with the Data File(s) or Software + that the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD + PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN + THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL + DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, + WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING + OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR + SOFTWARE. + + Except as contained in this notice, the name of a copyright holder shall not + be used in advertising or otherwise to promote the sale, use or other dealings + in these Data Files or Software without prior written authorization of the + copyright holder. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dpdk/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dpdk/stable_copyright-detailed.expected.yml index 41c8d946a44..261cb3acde9 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dpdk/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dpdk/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - BSD-3-clause +primary_license: bsd-new +declared_license: + - BSD-3-clause - GPL-2 - BSD-2-clause - BSD-3-clause or GPL-2 @@ -13,10 +15,10 @@ - LGPL-2.1 - BSD-2-clause - BSD-3-clause -- bsd-new AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND bsd-simplified AND (bsd-new OR (gpl-2.0 - AND gpl-2.0 AND gpl-2.0)) AND (bsd-new OR (lgpl-2.1 AND lgpl-2.0-plus AND lgpl-2.1)) AND bsd-simplified - AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-3.0 AND gpl-3.0) AND gpl-2.0-plus -- | +license_expression: bsd-new AND (gpl-2.0 AND gpl-2.0) AND bsd-simplified AND (bsd-new OR (gpl-2.0 + AND gpl-2.0)) AND (bsd-new OR (lgpl-2.1 AND lgpl-2.0-plus AND lgpl-2.1)) AND bsd-simplified + AND (gpl-2.0 AND gpl-2.0) AND (gpl-3.0 AND gpl-3.0) AND gpl-2.0-plus +copyright: | 2008-2014 Cisco Systems, Inc. 2012-2014 6WIND S.A. 1999-2016 Intel Corporation. @@ -38,3 +40,226 @@ 2015, 2016 Canonical Ltd. 2009-2016 Andreas Beckmann 2010-2016 Russ Allbery +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + - score: '95.38' + start_line: 1 + end_line: 7 + matcher: 3-seq + rule_length: 65 + matched_length: 62 + match_coverage: '95.38' + rule_relevance: 100 + identifier: gpl-2.0-plus_61.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + On Debian systems, the complete text of the GNU General Public + License [version] [2] can be found in "/usr/share/common-licenses/GPL-2". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_rdesc_1.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_215.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU Library General Public + License + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_82.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 24 + matcher: 1-hash + rule_length: 185 + matched_length: 185 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_16.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN + ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 1-hash + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-intel_4.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + * Neither the name of Intel Corporation nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dpdk/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dpdk/stable_copyright.expected.yml index 46144e9dc9b..b3073dd5d3a 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dpdk/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/d/dpdk/stable_copyright.expected.yml @@ -1,4 +1,6 @@ -- - BSD-3-clause +primary_license: bsd-new +declared_license: + - BSD-3-clause - GPL-2 - BSD-2-clause - BSD-3-clause or GPL-2 @@ -6,9 +8,9 @@ - GPL-2.0+ - GPL-3 - LGPL-2.1 -- bsd-new AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND bsd-simplified AND (bsd-new OR (gpl-2.0 - AND gpl-2.0 AND gpl-2.0)) AND (bsd-new OR (lgpl-2.1 AND lgpl-2.0-plus AND lgpl-2.1)) AND gpl-2.0-plus -- | +license_expression: bsd-new AND gpl-2.0 AND bsd-simplified AND (bsd-new OR gpl-2.0) AND (bsd-new + OR (lgpl-2.1 AND lgpl-2.0-plus)) AND gpl-2.0-plus +copyright: | 2008-2014 Cisco Systems, Inc. 2012-2014 6WIND S.A. 1999-2016 Intel Corporation. @@ -29,3 +31,226 @@ 2016, Neil Horman 2009-2016 Andreas Beckmann 2010-2016 Russ Allbery +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + - score: '95.38' + start_line: 1 + end_line: 7 + matcher: 3-seq + rule_length: 65 + matched_length: 62 + match_coverage: '95.38' + rule_relevance: 100 + identifier: gpl-2.0-plus_61.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + On Debian systems, the complete text of the GNU General Public + License [version] [2] can be found in "/usr/share/common-licenses/GPL-2". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_rdesc_1.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_215.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU Library General Public + License + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_82.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 24 + matcher: 1-hash + rule_length: 185 + matched_length: 185 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_16.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN + ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 1-hash + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-intel_4.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + * Neither the name of Intel Corporation nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_copyright-detailed.expected.yml index 9cf037404ae..16a70b23cf0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_copyright-detailed.expected.yml @@ -1,7 +1,8 @@ -- -- (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 AND lgpl-2.1) - AND ntp-0 AND bsd-new -- | +primary_license: +declared_license: +license_expression: (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 + AND lgpl-2.0) AND ntp-0 AND bsd-new +copyright: | Copyright (c) 2003-2007 Theodore Ts'o Copyright (c) 1997-2003 Yann Dirson Copyright (c) 2001 Alcove @@ -9,3 +10,103 @@ Copyright (c) 1995-1996 Michael Nonweiler Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by Theodore Ts'o Copyright 1987 by the Student Information Processing Board of the Massachusetts Institute of Technology +matches: + - score: '98.28' + start_line: 17 + end_line: 22 + matcher: 3-seq + rule_length: 58 + matched_length: 57 + match_coverage: '98.28' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_and_bsd-new_and_mit_2.RULE + license_expression: gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package, the EXT2 [filesystem] utilities, are made available under + the GNU General Public License version 2, with the exception of the + [lib]/[ext2fs] [and] [lib]/[e2p] libraries, which are made available under the + GNU Library General Public License Version 2, the [lib]/[uuid] library + which is made available under a BSD-style license and the [lib]/[et] [and] + [lib]/[ss] libraries which are made available under an MIT-style license. + - score: '100.0' + start_line: 27 + end_line: 30 + matcher: 2-aho + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_4.RULE + license_expression: gpl-2.0 AND lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU systems, the complete text of the GNU General Public + License can be found in `/usr/share/common-licenses/GPL-2'. The + complete text of the GNU Library General Public License can be found + in '/usr/share/common-licenses/LGPL-2'. + - score: '100.0' + start_line: 38 + end_line: 45 + matcher: 2-aho + rule_length: 83 + matched_length: 83 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ntp-0.LICENSE + license_expression: ntp-0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose is hereby granted, provided that + the names of M.I.T. and the M.I.T. S.I.P.B. not be used in + advertising or publicity pertaining to distribution of the software + without specific, written prior permission. M.I.T. and the + M.I.T. S.I.P.B. make no representations about the suitability of + this software for any purpose. It is provided "as is" without + express or implied warranty. + - score: '100.0' + start_line: 49 + end_line: 73 + matcher: 2-aho + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_117.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, and the entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n 2. Redistributions\ + \ in binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. The name of the author may not be used to endorse or\ + \ promote\n products derived from this software without specific prior\n written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF\n WHICH ARE HEREBY DISCLAIMED. IN NO\ + \ EVENT SHALL THE AUTHOR BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\ + \ EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n\ + \ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS\ + \ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\ + \ OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH\n\ + \ DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_copyright.expected.yml index 9cf037404ae..16a70b23cf0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_copyright.expected.yml @@ -1,7 +1,8 @@ -- -- (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 AND lgpl-2.1) - AND ntp-0 AND bsd-new -- | +primary_license: +declared_license: +license_expression: (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 + AND lgpl-2.0) AND ntp-0 AND bsd-new +copyright: | Copyright (c) 2003-2007 Theodore Ts'o Copyright (c) 1997-2003 Yann Dirson Copyright (c) 2001 Alcove @@ -9,3 +10,103 @@ Copyright (c) 1995-1996 Michael Nonweiler Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by Theodore Ts'o Copyright 1987 by the Student Information Processing Board of the Massachusetts Institute of Technology +matches: + - score: '98.28' + start_line: 17 + end_line: 22 + matcher: 3-seq + rule_length: 58 + matched_length: 57 + match_coverage: '98.28' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_and_bsd-new_and_mit_2.RULE + license_expression: gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package, the EXT2 [filesystem] utilities, are made available under + the GNU General Public License version 2, with the exception of the + [lib]/[ext2fs] [and] [lib]/[e2p] libraries, which are made available under the + GNU Library General Public License Version 2, the [lib]/[uuid] library + which is made available under a BSD-style license and the [lib]/[et] [and] + [lib]/[ss] libraries which are made available under an MIT-style license. + - score: '100.0' + start_line: 27 + end_line: 30 + matcher: 2-aho + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_4.RULE + license_expression: gpl-2.0 AND lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU systems, the complete text of the GNU General Public + License can be found in `/usr/share/common-licenses/GPL-2'. The + complete text of the GNU Library General Public License can be found + in '/usr/share/common-licenses/LGPL-2'. + - score: '100.0' + start_line: 38 + end_line: 45 + matcher: 2-aho + rule_length: 83 + matched_length: 83 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ntp-0.LICENSE + license_expression: ntp-0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose is hereby granted, provided that + the names of M.I.T. and the M.I.T. S.I.P.B. not be used in + advertising or publicity pertaining to distribution of the software + without specific, written prior permission. M.I.T. and the + M.I.T. S.I.P.B. make no representations about the suitability of + this software for any purpose. It is provided "as is" without + express or implied warranty. + - score: '100.0' + start_line: 49 + end_line: 73 + matcher: 2-aho + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_117.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, and the entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n 2. Redistributions\ + \ in binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. The name of the author may not be used to endorse or\ + \ promote\n products derived from this software without specific prior\n written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF\n WHICH ARE HEREBY DISCLAIMED. IN NO\ + \ EVENT SHALL THE AUTHOR BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\ + \ EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n\ + \ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS\ + \ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\ + \ OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH\n\ + \ DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsck-static.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsck-static.copyright-detailed.expected.yml index 37de7a91c58..324a5fb3d29 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsck-static.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsck-static.copyright-detailed.expected.yml @@ -1,9 +1,47 @@ -- -- gpl-1.0-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0 AND gpl-2.0 +copyright: | Copyright (c) 2003-2006 Theodore Ts'o Copyright (c) 1997-2003 Yann Dirson Copyright (c) 2001 Alcove Copyright (c) 1997 Klee Dienes Copyright (c) 1995-1996 Michael Nonweiler Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by Theodore Ts'o +matches: + - score: '100.0' + start_line: 18 + end_line: '19' + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1137.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package, the EXT2 filesystem utilities, is protected by the GNU + General Public License. + - score: '100.0' + start_line: 24 + end_line: 25 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_563.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsck-static.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsck-static.copyright.expected.yml index 37de7a91c58..fbf487030d1 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsck-static.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsck-static.copyright.expected.yml @@ -1,9 +1,47 @@ -- -- gpl-1.0-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0 +copyright: | Copyright (c) 2003-2006 Theodore Ts'o Copyright (c) 1997-2003 Yann Dirson Copyright (c) 2001 Alcove Copyright (c) 1997 Klee Dienes Copyright (c) 1995-1996 Michael Nonweiler Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by Theodore Ts'o +matches: + - score: '100.0' + start_line: 18 + end_line: '19' + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1137.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package, the EXT2 filesystem utilities, is protected by the GNU + General Public License. + - score: '100.0' + start_line: 24 + end_line: 25 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_563.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsprogs-l10n.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsprogs-l10n.copyright-detailed.expected.yml index 37de7a91c58..324a5fb3d29 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsprogs-l10n.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsprogs-l10n.copyright-detailed.expected.yml @@ -1,9 +1,47 @@ -- -- gpl-1.0-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0 AND gpl-2.0 +copyright: | Copyright (c) 2003-2006 Theodore Ts'o Copyright (c) 1997-2003 Yann Dirson Copyright (c) 2001 Alcove Copyright (c) 1997 Klee Dienes Copyright (c) 1995-1996 Michael Nonweiler Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by Theodore Ts'o +matches: + - score: '100.0' + start_line: 18 + end_line: '19' + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1137.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package, the EXT2 filesystem utilities, is protected by the GNU + General Public License. + - score: '100.0' + start_line: 24 + end_line: 25 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_563.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsprogs-l10n.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsprogs-l10n.copyright.expected.yml index 37de7a91c58..fbf487030d1 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsprogs-l10n.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_e2fsprogs-l10n.copyright.expected.yml @@ -1,9 +1,47 @@ -- -- gpl-1.0-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0 +copyright: | Copyright (c) 2003-2006 Theodore Ts'o Copyright (c) 1997-2003 Yann Dirson Copyright (c) 2001 Alcove Copyright (c) 1997 Klee Dienes Copyright (c) 1995-1996 Michael Nonweiler Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by Theodore Ts'o +matches: + - score: '100.0' + start_line: 18 + end_line: '19' + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1137.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package, the EXT2 filesystem utilities, is protected by the GNU + General Public License. + - score: '100.0' + start_line: 24 + end_line: 25 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_563.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libblkid.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libblkid.copyright-detailed.expected.yml index 0087379bab2..91726767a59 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libblkid.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libblkid.copyright-detailed.expected.yml @@ -1,5 +1,25 @@ -- -- lgpl-2.0 -- | +primary_license: +declared_license: +license_expression: lgpl-2.0 +copyright: | Copyright (c) 1999, 2001 by Andries Brouwer Copyright (c) 1999, 2000, 2003 by Theodore Ts'o +matches: + - score: '100.0' + start_line: 15 + end_line: '19' + matcher: 2-aho + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_24.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "You are free to distribute this software under the terms of the GNU\n Lesser\ + \ (Library) General Public License.\n \n On Debian systems, the complete text of the GNU\ + \ Lesser (Library)\n General Public License can be found in /usr/share/common-licenses/LGPL-2." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libblkid.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libblkid.copyright.expected.yml index 0087379bab2..91726767a59 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libblkid.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libblkid.copyright.expected.yml @@ -1,5 +1,25 @@ -- -- lgpl-2.0 -- | +primary_license: +declared_license: +license_expression: lgpl-2.0 +copyright: | Copyright (c) 1999, 2001 by Andries Brouwer Copyright (c) 1999, 2000, 2003 by Theodore Ts'o +matches: + - score: '100.0' + start_line: 15 + end_line: '19' + matcher: 2-aho + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_24.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "You are free to distribute this software under the terms of the GNU\n Lesser\ + \ (Library) General Public License.\n \n On Debian systems, the complete text of the GNU\ + \ Lesser (Library)\n General Public License can be found in /usr/share/common-licenses/LGPL-2." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libcom-err2.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libcom-err2.copyright-detailed.expected.yml index 7f3c0f6b77f..5ecad633492 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libcom-err2.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libcom-err2.copyright-detailed.expected.yml @@ -1,4 +1,33 @@ -- -- mit-old-style-no-advert -- Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts Institute - of Technology +primary_license: +declared_license: +license_expression: mit-old-style-no-advert +copyright: Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts + Institute of Technology +matches: + - score: '100.0' + start_line: 14 + end_line: 24 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_5.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software + and its documentation for any purpose and without fee is + hereby granted, provided that the above copyright notice + appear in all copies and that both that copyright notice and + this permission notice appear in supporting documentation, + and that the names of M.I.T. and the M.I.T. S.I.P.B. not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + M.I.T. and the M.I.T. S.I.P.B. make no representations about + the suitability of this software for any purpose. It is + provided "as is" without express or implied warranty. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libcom-err2.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libcom-err2.copyright.expected.yml index 7f3c0f6b77f..5ecad633492 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libcom-err2.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libcom-err2.copyright.expected.yml @@ -1,4 +1,33 @@ -- -- mit-old-style-no-advert -- Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts Institute - of Technology +primary_license: +declared_license: +license_expression: mit-old-style-no-advert +copyright: Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts + Institute of Technology +matches: + - score: '100.0' + start_line: 14 + end_line: 24 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_5.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software + and its documentation for any purpose and without fee is + hereby granted, provided that the above copyright notice + appear in all copies and that both that copyright notice and + this permission notice appear in supporting documentation, + and that the names of M.I.T. and the M.I.T. S.I.P.B. not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + M.I.T. and the M.I.T. S.I.P.B. make no representations about + the suitability of this software for any purpose. It is + provided "as is" without express or implied warranty. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libss2.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libss2.copyright-detailed.expected.yml index 7f3c0f6b77f..fce1ae3319d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libss2.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libss2.copyright-detailed.expected.yml @@ -1,4 +1,33 @@ -- -- mit-old-style-no-advert -- Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts Institute - of Technology +primary_license: +declared_license: +license_expression: mit-old-style-no-advert +copyright: Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts + Institute of Technology +matches: + - score: '100.0' + start_line: 15 + end_line: 25 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_5.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software + and its documentation for any purpose and without fee is + hereby granted, provided that the above copyright notice + appear in all copies and that both that copyright notice and + this permission notice appear in supporting documentation, + and that the names of M.I.T. and the M.I.T. S.I.P.B. not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + M.I.T. and the M.I.T. S.I.P.B. make no representations about + the suitability of this software for any purpose. It is + provided "as is" without express or implied warranty. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libss2.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libss2.copyright.expected.yml index 7f3c0f6b77f..fce1ae3319d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libss2.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libss2.copyright.expected.yml @@ -1,4 +1,33 @@ -- -- mit-old-style-no-advert -- Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts Institute - of Technology +primary_license: +declared_license: +license_expression: mit-old-style-no-advert +copyright: Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts + Institute of Technology +matches: + - score: '100.0' + start_line: 15 + end_line: 25 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_5.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software + and its documentation for any purpose and without fee is + hereby granted, provided that the above copyright notice + appear in all copies and that both that copyright notice and + this permission notice appear in supporting documentation, + and that the names of M.I.T. and the M.I.T. S.I.P.B. not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + M.I.T. and the M.I.T. S.I.P.B. make no representations about + the suitability of this software for any purpose. It is + provided "as is" without express or implied warranty. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libuuid1.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libuuid1.copyright-detailed.expected.yml index 0ffb7c0d868..cdefda2e154 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libuuid1.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libuuid1.copyright-detailed.expected.yml @@ -1,3 +1,37 @@ -- -- bsd-new -- Copyright (c) 1999, 2000, 2003, 2004 by Theodore Ts'o +primary_license: +declared_license: +license_expression: bsd-new +copyright: Copyright (c) 1999, 2000, 2003, 2004 by Theodore Ts'o +matches: + - score: '100.0' + start_line: 14 + end_line: 38 + matcher: 2-aho + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_117.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, and the entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n 2. Redistributions\ + \ in binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. The name of the author may not be used to endorse or promote\n\ + \ products derived from this software without specific prior\n written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\ + \ PURPOSE, ALL OF\n WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE\n LIABLE\ + \ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES; LOSS\ + \ OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\ + \ OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF NOT ADVISED\ + \ OF THE POSSIBILITY OF SUCH\n DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libuuid1.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libuuid1.copyright.expected.yml index 0ffb7c0d868..cdefda2e154 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libuuid1.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_libuuid1.copyright.expected.yml @@ -1,3 +1,37 @@ -- -- bsd-new -- Copyright (c) 1999, 2000, 2003, 2004 by Theodore Ts'o +primary_license: +declared_license: +license_expression: bsd-new +copyright: Copyright (c) 1999, 2000, 2003, 2004 by Theodore Ts'o +matches: + - score: '100.0' + start_line: 14 + end_line: 38 + matcher: 2-aho + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_117.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, and the entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n 2. Redistributions\ + \ in binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. The name of the author may not be used to endorse or promote\n\ + \ products derived from this software without specific prior\n written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\ + \ PURPOSE, ALL OF\n WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE\n LIABLE\ + \ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES; LOSS\ + \ OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\ + \ OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF NOT ADVISED\ + \ OF THE POSSIBILITY OF SUCH\n DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-dev.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-dev.copyright-detailed.expected.yml index 0ffb7c0d868..cdefda2e154 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-dev.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-dev.copyright-detailed.expected.yml @@ -1,3 +1,37 @@ -- -- bsd-new -- Copyright (c) 1999, 2000, 2003, 2004 by Theodore Ts'o +primary_license: +declared_license: +license_expression: bsd-new +copyright: Copyright (c) 1999, 2000, 2003, 2004 by Theodore Ts'o +matches: + - score: '100.0' + start_line: 14 + end_line: 38 + matcher: 2-aho + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_117.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, and the entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n 2. Redistributions\ + \ in binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. The name of the author may not be used to endorse or promote\n\ + \ products derived from this software without specific prior\n written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\ + \ PURPOSE, ALL OF\n WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE\n LIABLE\ + \ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES; LOSS\ + \ OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\ + \ OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF NOT ADVISED\ + \ OF THE POSSIBILITY OF SUCH\n DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-dev.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-dev.copyright.expected.yml index 0ffb7c0d868..cdefda2e154 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-dev.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-dev.copyright.expected.yml @@ -1,3 +1,37 @@ -- -- bsd-new -- Copyright (c) 1999, 2000, 2003, 2004 by Theodore Ts'o +primary_license: +declared_license: +license_expression: bsd-new +copyright: Copyright (c) 1999, 2000, 2003, 2004 by Theodore Ts'o +matches: + - score: '100.0' + start_line: 14 + end_line: 38 + matcher: 2-aho + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_117.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, and the entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n 2. Redistributions\ + \ in binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. The name of the author may not be used to endorse or promote\n\ + \ products derived from this software without specific prior\n written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\ + \ PURPOSE, ALL OF\n WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE\n LIABLE\ + \ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES; LOSS\ + \ OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\ + \ OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF NOT ADVISED\ + \ OF THE POSSIBILITY OF SUCH\n DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-runtime.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-runtime.copyright-detailed.expected.yml index 5e8377af10f..049effc6915 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-runtime.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-runtime.copyright-detailed.expected.yml @@ -1,3 +1,37 @@ -- -- bsd-new -- Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 by Theodore Ts'o +primary_license: +declared_license: +license_expression: bsd-new +copyright: Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 by Theodore Ts'o +matches: + - score: '100.0' + start_line: 15 + end_line: 39 + matcher: 2-aho + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_117.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, and the entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n 2. Redistributions\ + \ in binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. The name of the author may not be used to endorse or promote\n\ + \ products derived from this software without specific prior\n written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\ + \ PURPOSE, ALL OF\n WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE\n LIABLE\ + \ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES; LOSS\ + \ OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\ + \ OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF NOT ADVISED\ + \ OF THE POSSIBILITY OF SUCH\n DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-runtime.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-runtime.copyright.expected.yml index 5e8377af10f..049effc6915 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-runtime.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/e2fsprogs/stable_uuid-runtime.copyright.expected.yml @@ -1,3 +1,37 @@ -- -- bsd-new -- Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 by Theodore Ts'o +primary_license: +declared_license: +license_expression: bsd-new +copyright: Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 by Theodore Ts'o +matches: + - score: '100.0' + start_line: 15 + end_line: 39 + matcher: 2-aho + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_117.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, and the entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n 2. Redistributions\ + \ in binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. The name of the author may not be used to endorse or promote\n\ + \ products derived from this software without specific prior\n written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\ + \ PURPOSE, ALL OF\n WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE\n LIABLE\ + \ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES; LOSS\ + \ OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\ + \ OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF NOT ADVISED\ + \ OF THE POSSIBILITY OF SUCH\n DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/enigmail/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/enigmail/stable_copyright-detailed.expected.yml index 70eba7ec4a9..14219941cb0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/enigmail/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/enigmail/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - MPL-2.0 +primary_license: mpl-2.0 +declared_license: + - MPL-2.0 - MPL-2.0 - BSD-2-clause - BSD-3-clause @@ -8,9 +10,9 @@ - BSD-2-clause - BSD-3-clause - CC0-1.0 -- (mpl-2.0 AND mpl-2.0) AND (mpl-2.0 AND mpl-2.0) AND bsd-2-clause-views AND bsd-new AND (cc0-1.0 - AND cc0-1.0) AND (mpl-2.0 AND mpl-2.0) -- | +license_expression: (mpl-2.0 AND mpl-2.0) AND (mpl-2.0 AND mpl-2.0) AND bsd-2-clause-views AND + bsd-new AND (cc0-1.0 AND cc0-1.0) AND (mpl-2.0 AND mpl-2.0) +copyright: | 2003-2017 Patrick Brunschwig , 2001-2002 Ramalingam Saravanan Mozilla Foundation @@ -18,3 +20,535 @@ 2001-2012 David M. Beazley (Dabeaz LLC) 2016 Patrick Brunschwig 2013-2017 Daniel Kahn Gillmor +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mpl-2.0_75.RULE + license_expression: mpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: mpl-2.0' + - score: '100.0' + start_line: 1 + end_line: 373 + matcher: 1-hash + rule_length: 2363 + matched_length: 2363 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mpl-2.0.LICENSE + license_expression: mpl-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Mozilla Public License Version 2.0 + ================================== + + 1. Definitions + -------------- + + 1.1. "Contributor" + means each individual or legal entity that creates, contributes to + the creation of, or owns Covered Software. + + 1.2. "Contributor Version" + means the combination of the Contributions of others (if any) used + by a Contributor and that particular Contributor's Contribution. + + 1.3. "Contribution" + means Covered Software of a particular Contributor. + + 1.4. "Covered Software" + means Source Code Form to which the initial Contributor has attached + the notice in Exhibit A, the Executable Form of such Source Code + Form, and Modifications of such Source Code Form, in each case + including portions thereof. + + 1.5. "Incompatible With Secondary Licenses" + means + + (a) that the initial Contributor has attached the notice described + in Exhibit B to the Covered Software; or + + (b) that the Covered Software was made available under the terms of + version 1.1 or earlier of the License, but not also under the + terms of a Secondary License. + + 1.6. "Executable Form" + means any form of the work other than Source Code Form. + + 1.7. "Larger Work" + means a work that combines Covered Software with other material, in + a separate file or files, that is not Covered Software. + + 1.8. "License" + means this document. + + 1.9. "Licensable" + means having the right to grant, to the maximum extent possible, + whether at the time of the initial grant or subsequently, any and + all of the rights conveyed by this License. + + 1.10. "Modifications" + means any of the following: + + (a) any file in Source Code Form that results from an addition to, + deletion from, or modification of the contents of Covered + Software; or + + (b) any new file in Source Code Form that contains any Covered + Software. + + 1.11. "Patent Claims" of a Contributor + means any patent claim(s), including without limitation, method, + process, and apparatus claims, in any patent Licensable by such + Contributor that would be infringed, but for the grant of the + License, by the making, using, selling, offering for sale, having + made, import, or transfer of either its Contributions or its + Contributor Version. + + 1.12. "Secondary License" + means either the GNU General Public License, Version 2.0, the GNU + Lesser General Public License, Version 2.1, the GNU Affero General + Public License, Version 3.0, or any later versions of those + licenses. + + 1.13. "Source Code Form" + means the form of the work preferred for making modifications. + + 1.14. "You" (or "Your") + means an individual or a legal entity exercising rights under this + License. For legal entities, "You" includes any entity that + controls, is controlled by, or is under common control with You. For + purposes of this definition, "control" means (a) the power, direct + or indirect, to cause the direction or management of such entity, + whether by contract or otherwise, or (b) ownership of more than + fifty percent (50%) of the outstanding shares or beneficial + ownership of such entity. + + 2. License Grants and Conditions + -------------------------------- + + 2.1. Grants + + Each Contributor hereby grants You a world-wide, royalty-free, + non-exclusive license: + + (a) under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or + as part of a Larger Work; and + + (b) under Patent Claims of such Contributor to make, use, sell, offer + for sale, have made, import, and otherwise transfer either its + Contributions or its Contributor Version. + + 2.2. Effective Date + + The licenses granted in Section 2.1 with respect to any Contribution + become effective for each Contribution on the date the Contributor first + distributes such Contribution. + + 2.3. Limitations on Grant Scope + + The licenses granted in this Section 2 are the only rights granted under + this License. No additional rights or licenses will be implied from the + distribution or licensing of Covered Software under this License. + Notwithstanding Section 2.1(b) above, no patent license is granted by a + Contributor: + + (a) for any code that a Contributor has removed from Covered Software; + or + + (b) for infringements caused by: (i) Your and any other third party's + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + + (c) under Patent Claims infringed by Covered Software in the absence of + its Contributions. + + This License does not grant any rights in the trademarks, service marks, + or logos of any Contributor (except as may be necessary to comply with + the notice requirements in Section 3.4). + + 2.4. Subsequent Licenses + + No Contributor makes additional grants as a result of Your choice to + distribute the Covered Software under a subsequent version of this + License (see Section 10.2) or under the terms of a Secondary License (if + permitted under the terms of Section 3.3). + + 2.5. Representation + + Each Contributor represents that the Contributor believes its + Contributions are its original creation(s) or it has sufficient rights + to grant the rights to its Contributions conveyed by this License. + + 2.6. Fair Use + + This License is not intended to limit any rights You have under + applicable copyright doctrines of fair use, fair dealing, or other + equivalents. + + 2.7. Conditions + + Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted + in Section 2.1. + + 3. Responsibilities + ------------------- + + 3.1. Distribution of Source Form + + All distribution of Covered Software in Source Code Form, including any + Modifications that You create or to which You contribute, must be under + the terms of this License. You must inform recipients that the Source + Code Form of the Covered Software is governed by the terms of this + License, and how they can obtain a copy of this License. You may not + attempt to alter or restrict the recipients' rights in the Source Code + Form. + + 3.2. Distribution of Executable Form + + If You distribute Covered Software in Executable Form then: + + (a) such Covered Software must also be made available in Source Code + Form, as described in Section 3.1, and You must inform recipients of + the Executable Form how they can obtain a copy of such Source Code + Form by reasonable means in a timely manner, at a charge no more + than the cost of distribution to the recipient; and + + (b) You may distribute such Executable Form under the terms of this + License, or sublicense it under different terms, provided that the + license for the Executable Form does not attempt to limit or alter + the recipients' rights in the Source Code Form under this License. + + 3.3. Distribution of a Larger Work + + You may create and distribute a Larger Work under terms of Your choice, + provided that You also comply with the requirements of this License for + the Covered Software. If the Larger Work is a combination of Covered + Software with a work governed by one or more Secondary Licenses, and the + Covered Software is not Incompatible With Secondary Licenses, this + License permits You to additionally distribute such Covered Software + under the terms of such Secondary License(s), so that the recipient of + the Larger Work may, at their option, further distribute the Covered + Software under the terms of either this License or such Secondary + License(s). + + 3.4. Notices + + You may not remove or alter the substance of any license notices + (including copyright notices, patent notices, disclaimers of warranty, + or limitations of liability) contained within the Source Code Form of + the Covered Software, except that You may alter any license notices to + the extent required to remedy known factual inaccuracies. + + 3.5. Application of Additional Terms + + You may choose to offer, and to charge a fee for, warranty, support, + indemnity or liability obligations to one or more recipients of Covered + Software. However, You may do so only on Your own behalf, and not on + behalf of any Contributor. You must make it absolutely clear that any + such warranty, support, indemnity, or liability obligation is offered by + You alone, and You hereby agree to indemnify every Contributor for any + liability incurred by such Contributor as a result of warranty, support, + indemnity or liability terms You offer. You may include additional + disclaimers of warranty and limitations of liability specific to any + jurisdiction. + + 4. Inability to Comply Due to Statute or Regulation + --------------------------------------------------- + + If it is impossible for You to comply with any of the terms of this + License with respect to some or all of the Covered Software due to + statute, judicial order, or regulation then You must: (a) comply with + the terms of this License to the maximum extent possible; and (b) + describe the limitations and the code they affect. Such description must + be placed in a text file included with all distributions of the Covered + Software under this License. Except to the extent prohibited by statute + or regulation, such description must be sufficiently detailed for a + recipient of ordinary skill to be able to understand it. + + 5. Termination + -------------- + + 5.1. The rights granted under this License will terminate automatically + if You fail to comply with any of its terms. However, if You become + compliant, then the rights granted under this License from a particular + Contributor are reinstated (a) provisionally, unless and until such + Contributor explicitly and finally terminates Your grants, and (b) on an + ongoing basis, if such Contributor fails to notify You of the + non-compliance by some reasonable means prior to 60 days after You have + come back into compliance. Moreover, Your grants from a particular + Contributor are reinstated on an ongoing basis if such Contributor + notifies You of the non-compliance by some reasonable means, this is the + first time You have received notice of non-compliance with this License + from such Contributor, and You become compliant prior to 30 days after + Your receipt of the notice. + + 5.2. If You initiate litigation against any entity by asserting a patent + infringement claim (excluding declaratory judgment actions, + counter-claims, and cross-claims) alleging that a Contributor Version + directly or indirectly infringes any patent, then the rights granted to + You by any and all Contributors for the Covered Software under Section + 2.1 of this License shall terminate. + + 5.3. In the event of termination under Sections 5.1 or 5.2 above, all + end user license agreements (excluding distributors and resellers) which + have been validly granted by You or Your distributors under this License + prior to termination shall survive termination. + + ************************************************************************ + * * + * 6. Disclaimer of Warranty * + * ------------------------- * + * * + * Covered Software is provided under this License on an "as is" * + * basis, without warranty of any kind, either expressed, implied, or * + * statutory, including, without limitation, warranties that the * + * Covered Software is free of defects, merchantable, fit for a * + * particular purpose or non-infringing. The entire risk as to the * + * quality and performance of the Covered Software is with You. * + * Should any Covered Software prove defective in any respect, You * + * (not any Contributor) assume the cost of any necessary servicing, * + * repair, or correction. This disclaimer of warranty constitutes an * + * essential part of this License. No use of any Covered Software is * + * authorized under this License except under this disclaimer. * + * * + ************************************************************************ + + ************************************************************************ + * * + * 7. Limitation of Liability * + * -------------------------- * + * * + * Under no circumstances and under no legal theory, whether tort * + * (including negligence), contract, or otherwise, shall any * + * Contributor, or anyone who distributes Covered Software as * + * permitted above, be liable to You for any direct, indirect, * + * special, incidental, or consequential damages of any character * + * including, without limitation, damages for lost profits, loss of * + * goodwill, work stoppage, computer failure or malfunction, or any * + * and all other commercial damages or losses, even if such party * + * shall have been informed of the possibility of such damages. This * + * limitation of liability shall not apply to liability for death or * + * personal injury resulting from such party's negligence to the * + * extent applicable law prohibits such limitation. Some * + * jurisdictions do not allow the exclusion or limitation of * + * incidental or consequential damages, so this exclusion and * + * limitation may not apply to You. * + * * + ************************************************************************ + + 8. Litigation + ------------- + + Any litigation relating to this License may be brought only in the + courts of a jurisdiction where the defendant maintains its principal + place of business and such litigation shall be governed by laws of that + jurisdiction, without reference to its conflict-of-law provisions. + Nothing in this Section shall prevent a party's ability to bring + cross-claims or counter-claims. + + 9. Miscellaneous + ---------------- + + This License represents the complete agreement concerning the subject + matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. Any law or regulation which provides + that the language of a contract shall be construed against the drafter + shall not be used to construe this License against a Contributor. + + 10. Versions of the License + --------------------------- + + 10.1. New Versions + + Mozilla Foundation is the license steward. Except as provided in Section + 10.3, no one other than the license steward has the right to modify or + publish new versions of this License. Each version will be given a + distinguishing version number. + + 10.2. Effect of New Versions + + You may distribute the Covered Software under the terms of the version + of the License under which You originally received the Covered Software, + or under the terms of any subsequent version published by the license + steward. + + 10.3. Modified Versions + + If you create software not governed by this License, and you want to + create a new license for such software, you may create and use a + modified version of this License if you rename the license and remove + any references to the name of the license steward (except to note that + such modified license differs from this License). + + 10.4. Distributing Source Code Form that is Incompatible With Secondary + Licenses + + If You choose to distribute Source Code Form that is Incompatible With + Secondary Licenses under the terms of this version of the License, the + notice described in Exhibit B of this License must be attached. + + Exhibit A - Source Code Form License Notice + ------------------------------------------- + + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at http://mozilla.org/MPL/2.0/. + + If it is not possible or desirable to put the notice in a particular + file, then You may include the notice in a location (such as a LICENSE + file in a relevant directory) where a recipient would be likely to look + for such a notice. + + You may add additional accurate notices of copyright ownership. + + Exhibit B - "Incompatible With Secondary Licenses" Notice + --------------------------------------------------------- + + This Source Code Form is "Incompatible With Secondary Licenses", as + defined by the Mozilla Public License, v. 2.0. + - score: '100.0' + start_line: 1 + end_line: 28 + matcher: 1-hash + rule_length: 215 + matched_length: 215 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-2-clause-views_1.RULE + license_expression: bsd-2-clause-views + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + THIS SOFTWARE IS PROVIDED BY THE MOZILLA FOUNDATION ``AS IS'' AND ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE MOZILLA FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY + OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + The views and conclusions contained in the software and documentation + are those of the authors and should not be interpreted as representing + official policies, either expressed or implied, of the Mozilla + Foundation. + - score: '99.04' + start_line: 3 + end_line: 27 + matcher: 3-seq + rule_length: 207 + matched_length: 207 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_784.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + * Neither the name of the [David] [Beazley] or [Dabeaz] LLC may be used to endorse + or promote products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 81 + matched_length: 81 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_99.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To the extent possible under law, the author(s) have dedicated all copyright + and related and neighboring rights to this software to the public domain + worldwide. This software is distributed without any warranty. + + You should have received a copy of the CC0 Public Domain Dedication along with + this software. If not, see . + + On Debian systems, the complete text of the CC0 1.0 Universal license can be + found in ‘/usr/share/common-licenses/CC0-1.0’. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/enigmail/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/enigmail/stable_copyright.expected.yml index d54053e617f..13d2799fd64 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/enigmail/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/enigmail/stable_copyright.expected.yml @@ -1,12 +1,546 @@ -- - MPL-2.0 +primary_license: mpl-2.0 +declared_license: + - MPL-2.0 - BSD-2-clause - BSD-3-clause - CC0-1.0 -- (mpl-2.0 AND mpl-2.0) AND bsd-2-clause-views AND bsd-new AND (cc0-1.0 AND cc0-1.0) -- | +license_expression: mpl-2.0 AND bsd-2-clause-views AND bsd-new AND cc0-1.0 +copyright: | 2003-2017 Patrick Brunschwig , 2001-2002 Ramalingam Saravanan Mozilla Foundation 2010,2011 Mozilla Foundation 2001-2012 David M. Beazley (Dabeaz LLC) 2016 Patrick Brunschwig +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mpl-2.0_75.RULE + license_expression: mpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: mpl-2.0' + - score: '100.0' + start_line: 1 + end_line: 373 + matcher: 1-hash + rule_length: 2363 + matched_length: 2363 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mpl-2.0.LICENSE + license_expression: mpl-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Mozilla Public License Version 2.0 + ================================== + + 1. Definitions + -------------- + + 1.1. "Contributor" + means each individual or legal entity that creates, contributes to + the creation of, or owns Covered Software. + + 1.2. "Contributor Version" + means the combination of the Contributions of others (if any) used + by a Contributor and that particular Contributor's Contribution. + + 1.3. "Contribution" + means Covered Software of a particular Contributor. + + 1.4. "Covered Software" + means Source Code Form to which the initial Contributor has attached + the notice in Exhibit A, the Executable Form of such Source Code + Form, and Modifications of such Source Code Form, in each case + including portions thereof. + + 1.5. "Incompatible With Secondary Licenses" + means + + (a) that the initial Contributor has attached the notice described + in Exhibit B to the Covered Software; or + + (b) that the Covered Software was made available under the terms of + version 1.1 or earlier of the License, but not also under the + terms of a Secondary License. + + 1.6. "Executable Form" + means any form of the work other than Source Code Form. + + 1.7. "Larger Work" + means a work that combines Covered Software with other material, in + a separate file or files, that is not Covered Software. + + 1.8. "License" + means this document. + + 1.9. "Licensable" + means having the right to grant, to the maximum extent possible, + whether at the time of the initial grant or subsequently, any and + all of the rights conveyed by this License. + + 1.10. "Modifications" + means any of the following: + + (a) any file in Source Code Form that results from an addition to, + deletion from, or modification of the contents of Covered + Software; or + + (b) any new file in Source Code Form that contains any Covered + Software. + + 1.11. "Patent Claims" of a Contributor + means any patent claim(s), including without limitation, method, + process, and apparatus claims, in any patent Licensable by such + Contributor that would be infringed, but for the grant of the + License, by the making, using, selling, offering for sale, having + made, import, or transfer of either its Contributions or its + Contributor Version. + + 1.12. "Secondary License" + means either the GNU General Public License, Version 2.0, the GNU + Lesser General Public License, Version 2.1, the GNU Affero General + Public License, Version 3.0, or any later versions of those + licenses. + + 1.13. "Source Code Form" + means the form of the work preferred for making modifications. + + 1.14. "You" (or "Your") + means an individual or a legal entity exercising rights under this + License. For legal entities, "You" includes any entity that + controls, is controlled by, or is under common control with You. For + purposes of this definition, "control" means (a) the power, direct + or indirect, to cause the direction or management of such entity, + whether by contract or otherwise, or (b) ownership of more than + fifty percent (50%) of the outstanding shares or beneficial + ownership of such entity. + + 2. License Grants and Conditions + -------------------------------- + + 2.1. Grants + + Each Contributor hereby grants You a world-wide, royalty-free, + non-exclusive license: + + (a) under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or + as part of a Larger Work; and + + (b) under Patent Claims of such Contributor to make, use, sell, offer + for sale, have made, import, and otherwise transfer either its + Contributions or its Contributor Version. + + 2.2. Effective Date + + The licenses granted in Section 2.1 with respect to any Contribution + become effective for each Contribution on the date the Contributor first + distributes such Contribution. + + 2.3. Limitations on Grant Scope + + The licenses granted in this Section 2 are the only rights granted under + this License. No additional rights or licenses will be implied from the + distribution or licensing of Covered Software under this License. + Notwithstanding Section 2.1(b) above, no patent license is granted by a + Contributor: + + (a) for any code that a Contributor has removed from Covered Software; + or + + (b) for infringements caused by: (i) Your and any other third party's + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + + (c) under Patent Claims infringed by Covered Software in the absence of + its Contributions. + + This License does not grant any rights in the trademarks, service marks, + or logos of any Contributor (except as may be necessary to comply with + the notice requirements in Section 3.4). + + 2.4. Subsequent Licenses + + No Contributor makes additional grants as a result of Your choice to + distribute the Covered Software under a subsequent version of this + License (see Section 10.2) or under the terms of a Secondary License (if + permitted under the terms of Section 3.3). + + 2.5. Representation + + Each Contributor represents that the Contributor believes its + Contributions are its original creation(s) or it has sufficient rights + to grant the rights to its Contributions conveyed by this License. + + 2.6. Fair Use + + This License is not intended to limit any rights You have under + applicable copyright doctrines of fair use, fair dealing, or other + equivalents. + + 2.7. Conditions + + Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted + in Section 2.1. + + 3. Responsibilities + ------------------- + + 3.1. Distribution of Source Form + + All distribution of Covered Software in Source Code Form, including any + Modifications that You create or to which You contribute, must be under + the terms of this License. You must inform recipients that the Source + Code Form of the Covered Software is governed by the terms of this + License, and how they can obtain a copy of this License. You may not + attempt to alter or restrict the recipients' rights in the Source Code + Form. + + 3.2. Distribution of Executable Form + + If You distribute Covered Software in Executable Form then: + + (a) such Covered Software must also be made available in Source Code + Form, as described in Section 3.1, and You must inform recipients of + the Executable Form how they can obtain a copy of such Source Code + Form by reasonable means in a timely manner, at a charge no more + than the cost of distribution to the recipient; and + + (b) You may distribute such Executable Form under the terms of this + License, or sublicense it under different terms, provided that the + license for the Executable Form does not attempt to limit or alter + the recipients' rights in the Source Code Form under this License. + + 3.3. Distribution of a Larger Work + + You may create and distribute a Larger Work under terms of Your choice, + provided that You also comply with the requirements of this License for + the Covered Software. If the Larger Work is a combination of Covered + Software with a work governed by one or more Secondary Licenses, and the + Covered Software is not Incompatible With Secondary Licenses, this + License permits You to additionally distribute such Covered Software + under the terms of such Secondary License(s), so that the recipient of + the Larger Work may, at their option, further distribute the Covered + Software under the terms of either this License or such Secondary + License(s). + + 3.4. Notices + + You may not remove or alter the substance of any license notices + (including copyright notices, patent notices, disclaimers of warranty, + or limitations of liability) contained within the Source Code Form of + the Covered Software, except that You may alter any license notices to + the extent required to remedy known factual inaccuracies. + + 3.5. Application of Additional Terms + + You may choose to offer, and to charge a fee for, warranty, support, + indemnity or liability obligations to one or more recipients of Covered + Software. However, You may do so only on Your own behalf, and not on + behalf of any Contributor. You must make it absolutely clear that any + such warranty, support, indemnity, or liability obligation is offered by + You alone, and You hereby agree to indemnify every Contributor for any + liability incurred by such Contributor as a result of warranty, support, + indemnity or liability terms You offer. You may include additional + disclaimers of warranty and limitations of liability specific to any + jurisdiction. + + 4. Inability to Comply Due to Statute or Regulation + --------------------------------------------------- + + If it is impossible for You to comply with any of the terms of this + License with respect to some or all of the Covered Software due to + statute, judicial order, or regulation then You must: (a) comply with + the terms of this License to the maximum extent possible; and (b) + describe the limitations and the code they affect. Such description must + be placed in a text file included with all distributions of the Covered + Software under this License. Except to the extent prohibited by statute + or regulation, such description must be sufficiently detailed for a + recipient of ordinary skill to be able to understand it. + + 5. Termination + -------------- + + 5.1. The rights granted under this License will terminate automatically + if You fail to comply with any of its terms. However, if You become + compliant, then the rights granted under this License from a particular + Contributor are reinstated (a) provisionally, unless and until such + Contributor explicitly and finally terminates Your grants, and (b) on an + ongoing basis, if such Contributor fails to notify You of the + non-compliance by some reasonable means prior to 60 days after You have + come back into compliance. Moreover, Your grants from a particular + Contributor are reinstated on an ongoing basis if such Contributor + notifies You of the non-compliance by some reasonable means, this is the + first time You have received notice of non-compliance with this License + from such Contributor, and You become compliant prior to 30 days after + Your receipt of the notice. + + 5.2. If You initiate litigation against any entity by asserting a patent + infringement claim (excluding declaratory judgment actions, + counter-claims, and cross-claims) alleging that a Contributor Version + directly or indirectly infringes any patent, then the rights granted to + You by any and all Contributors for the Covered Software under Section + 2.1 of this License shall terminate. + + 5.3. In the event of termination under Sections 5.1 or 5.2 above, all + end user license agreements (excluding distributors and resellers) which + have been validly granted by You or Your distributors under this License + prior to termination shall survive termination. + + ************************************************************************ + * * + * 6. Disclaimer of Warranty * + * ------------------------- * + * * + * Covered Software is provided under this License on an "as is" * + * basis, without warranty of any kind, either expressed, implied, or * + * statutory, including, without limitation, warranties that the * + * Covered Software is free of defects, merchantable, fit for a * + * particular purpose or non-infringing. The entire risk as to the * + * quality and performance of the Covered Software is with You. * + * Should any Covered Software prove defective in any respect, You * + * (not any Contributor) assume the cost of any necessary servicing, * + * repair, or correction. This disclaimer of warranty constitutes an * + * essential part of this License. No use of any Covered Software is * + * authorized under this License except under this disclaimer. * + * * + ************************************************************************ + + ************************************************************************ + * * + * 7. Limitation of Liability * + * -------------------------- * + * * + * Under no circumstances and under no legal theory, whether tort * + * (including negligence), contract, or otherwise, shall any * + * Contributor, or anyone who distributes Covered Software as * + * permitted above, be liable to You for any direct, indirect, * + * special, incidental, or consequential damages of any character * + * including, without limitation, damages for lost profits, loss of * + * goodwill, work stoppage, computer failure or malfunction, or any * + * and all other commercial damages or losses, even if such party * + * shall have been informed of the possibility of such damages. This * + * limitation of liability shall not apply to liability for death or * + * personal injury resulting from such party's negligence to the * + * extent applicable law prohibits such limitation. Some * + * jurisdictions do not allow the exclusion or limitation of * + * incidental or consequential damages, so this exclusion and * + * limitation may not apply to You. * + * * + ************************************************************************ + + 8. Litigation + ------------- + + Any litigation relating to this License may be brought only in the + courts of a jurisdiction where the defendant maintains its principal + place of business and such litigation shall be governed by laws of that + jurisdiction, without reference to its conflict-of-law provisions. + Nothing in this Section shall prevent a party's ability to bring + cross-claims or counter-claims. + + 9. Miscellaneous + ---------------- + + This License represents the complete agreement concerning the subject + matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. Any law or regulation which provides + that the language of a contract shall be construed against the drafter + shall not be used to construe this License against a Contributor. + + 10. Versions of the License + --------------------------- + + 10.1. New Versions + + Mozilla Foundation is the license steward. Except as provided in Section + 10.3, no one other than the license steward has the right to modify or + publish new versions of this License. Each version will be given a + distinguishing version number. + + 10.2. Effect of New Versions + + You may distribute the Covered Software under the terms of the version + of the License under which You originally received the Covered Software, + or under the terms of any subsequent version published by the license + steward. + + 10.3. Modified Versions + + If you create software not governed by this License, and you want to + create a new license for such software, you may create and use a + modified version of this License if you rename the license and remove + any references to the name of the license steward (except to note that + such modified license differs from this License). + + 10.4. Distributing Source Code Form that is Incompatible With Secondary + Licenses + + If You choose to distribute Source Code Form that is Incompatible With + Secondary Licenses under the terms of this version of the License, the + notice described in Exhibit B of this License must be attached. + + Exhibit A - Source Code Form License Notice + ------------------------------------------- + + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at http://mozilla.org/MPL/2.0/. + + If it is not possible or desirable to put the notice in a particular + file, then You may include the notice in a location (such as a LICENSE + file in a relevant directory) where a recipient would be likely to look + for such a notice. + + You may add additional accurate notices of copyright ownership. + + Exhibit B - "Incompatible With Secondary Licenses" Notice + --------------------------------------------------------- + + This Source Code Form is "Incompatible With Secondary Licenses", as + defined by the Mozilla Public License, v. 2.0. + - score: '100.0' + start_line: 1 + end_line: 28 + matcher: 1-hash + rule_length: 215 + matched_length: 215 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-2-clause-views_1.RULE + license_expression: bsd-2-clause-views + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + THIS SOFTWARE IS PROVIDED BY THE MOZILLA FOUNDATION ``AS IS'' AND ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE MOZILLA FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY + OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + The views and conclusions contained in the software and documentation + are those of the authors and should not be interpreted as representing + official policies, either expressed or implied, of the Mozilla + Foundation. + - score: '99.04' + start_line: 3 + end_line: 27 + matcher: 3-seq + rule_length: 207 + matched_length: 207 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_784.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + * Neither the name of the [David] [Beazley] or [Dabeaz] LLC may be used to endorse + or promote products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 81 + matched_length: 81 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_99.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To the extent possible under law, the author(s) have dedicated all copyright + and related and neighboring rights to this software to the public domain + worldwide. This software is distributed without any warranty. + + You should have received a copy of the CC0 Public Domain Dedication along with + this software. If not, see . + + On Debian systems, the complete text of the CC0 1.0 Universal license can be + found in ‘/usr/share/common-licenses/CC0-1.0’. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/epiphany-browser/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/epiphany-browser/stable_copyright-detailed.expected.yml index 46a24dde6ab..760c8de5c55 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/epiphany-browser/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/epiphany-browser/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - GPL-3+ +primary_license: gpl-3.0-plus AND gpl-3.0 +declared_license: + - GPL-3+ - CC0-1.0 - GPL-2+ - GPL-3+ @@ -17,13 +19,12 @@ - CC0-1.0 - CC-BY-SA-3.0 - CC-BY-SA-4.0 -- (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND (cc0-1.0 AND cc0-1.0) AND (gpl-2.0-plus AND - gpl-3.0-plus) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND cc-by-sa-3.0 AND (lgpl-2.0-plus - AND gpl-2.0-plus AND lgpl-2.0 AND lgpl-2.0) AND (lgpl-2.0-plus AND gpl-2.0-plus AND lgpl-2.0 - AND lgpl-2.0) AND (lgpl-2.0-plus AND gpl-2.0-plus AND lgpl-2.0 AND lgpl-2.0) AND (lgpl-2.0-plus - AND gpl-2.0-plus AND lgpl-2.0 AND lgpl-2.0) AND (apache-2.0 AND apache-2.0) AND (gpl-3.0-plus - AND gpl-3.0-plus AND gpl-3.0) AND (cc-by-sa-4.0 AND cc-by-sa-4.0) -- | +license_expression: (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND (cc0-1.0 AND cc0-1.0) AND + (gpl-2.0-plus AND gpl-3.0-plus) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND cc-by-sa-3.0 + AND (lgpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.0-plus + AND gpl-2.0-plus) AND (lgpl-2.0-plus AND gpl-2.0-plus) AND (apache-2.0 AND apache-2.0) AND + (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND (cc-by-sa-4.0 AND cc-by-sa-4.0) +copyright: | 2009-2018 Igalia S.L 2002 Jorn Baayen 2013 Yosef Or Boczko @@ -70,3 +71,1014 @@ 2008, Diego Escalante Urrelo GNOME Design Team Jakub Steiner +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '94.59' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 111 + matched_length: 105 + match_coverage: '94.59' + rule_relevance: 100 + identifier: apache-2.0_231.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + [https]://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS-IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + On Debian systems a [copy] of the Apache License, Version 2.0 can be + found in /usr/share/common-licenses/Apache-2.0 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '97.62' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 126 + matched_length: 123 + match_coverage: '97.62' + rule_relevance: 100 + identifier: gpl-3.0-plus_321.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version [2] of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version [2] can be found in "/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_60.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '95.05' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 101 + matched_length: 96 + match_coverage: '95.05' + rule_relevance: 100 + identifier: gpl-2.0-plus_808.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or + modify it under the terms of the GNU [Library] General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This [library] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + [Lesser] General Public License for more details. + + On Debian systems, the complete text of the GNU [Library] General Public + License [version] [2] can be found in "/usr/share/common-licenses/ + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '58.33' + start_line: 21 + end_line: 22 + matcher: 3-seq + rule_length: 24 + matched_length: 14 + match_coverage: '58.33' + rule_relevance: 100 + identifier: cc0-1.0_101.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 1.0 Universal + can be found in `/usr/share/common-licenses/CC0-1.0'. + - score: '97.8' + start_line: 1 + end_line: 307 + matcher: 3-seq + rule_length: 3137 + matched_length: 3068 + match_coverage: '97.8' + rule_relevance: 100 + identifier: cc-by-sa-3.0_35.RULE + license_expression: cc-by-sa-3.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS + CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS + PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK + OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS + PROHIBITED. + + BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND + AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS + LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE + RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS + AND CONDITIONS. + + 1. Definitions + + "Adaptation" means a work based upon the Work, or upon the Work and + other pre-existing works, such as a translation, adaptation, derivative + work, arrangement of music or other alterations of a literary or + artistic work, or phonogram or performance and includes cinematographic + adaptations or any other form in which the Work may be recast, + transformed, or adapted including in any form recognizably derived from + the original, except that a work that constitutes a Collection will not + be considered an Adaptation for the purpose of this License. For the + avoidance of doubt, where the Work is a musical work, performance or + phonogram, the synchronization of the Work in timed-relation with a + moving image ("synching") will be considered an Adaptation for the + purpose of this License. "Collection" means a collection of literary or + artistic works, such as encyclopedias and anthologies, or performances, + phonograms or broadcasts, or other works or subject matter other than + works listed in Section 1(f) below, which, by reason of the selection + and arrangement of their contents, constitute intellectual creations, in + which the Work is included in its entirety in unmodified form along with + one or more other contributions, each constituting separate and + independent works in themselves, which together are assembled into a + collective whole. A work that constitutes a Collection will not be + considered an Adaptation (as defined below) for the purposes of this + License. + "Creative Commons Compatible License" means a license that is listed at + https://creativecommons.org/compatiblelicenses that has been approved by + Creative Commons as being essentially equivalent to this License, + including, at a minimum, because that license: (i) contains terms that + have the same purpose, meaning and effect as the License Elements of + this License; and, (ii) explicitly permits the relicensing of + adaptations of works made available under that license under this + License or a Creative Commons jurisdiction license with the same License + Elements as this License. "Distribute" means to make available to the + public the original and copies of the Work or Adaptation, as + appropriate, through sale or other transfer of ownership. + "License Elements" means the following high-level license attributes as + selected by Licensor and indicated in the title of this License: + Attribution, ShareAlike. "Licensor" means the individual, individuals, + entity or entities that offer(s) the Work under the terms of this + License. + "Original Author" means, in the case of a literary or artistic work, + the individual, individuals, entity or entities who created the Work or + if no individual or entity can be identified, the publisher; and in + addition (i) in the case of a performance the actors, singers, + musicians, dancers, and other persons who act, sing, deliver, declaim, + play in, interpret or otherwise perform literary or artistic works or + expressions of folklore; (ii) in the case of a phonogram the producer + being the person or legal entity who first fixes the sounds of a + performance or other sounds; and, (iii) in the case of broadcasts, the + organization that transmits the broadcast. "Work" means the literary + and/or artistic work offered under the terms of this License including + without limitation any production in the literary, scientific and + artistic domain, whatever may be the mode or form of its expression + including digital form, such as a book, pamphlet and other writing; a + lecture, address, sermon or other work of the same nature; a dramatic or + dramatico-musical work; a choreographic work or entertainment in dumb + show; a musical composition with or without words; a cinematographic + work to which are assimilated works expressed by a process analogous to + cinematography; a work of drawing, painting, architecture, sculpture, + engraving or lithography; a photographic work to which are assimilated + works expressed by a process analogous to photography; a work of applied + art; an illustration, map, plan, sketch or three-dimensional work + relative to geography, topography, architecture or science; a + performance; a broadcast; a phonogram; a compilation of data to the + extent it is protected as a copyrightable work; or a work performed by a + variety or circus performer to the extent it is not otherwise considered + a literary or artistic work. + "You" means an individual or entity exercising rights under this + License who has not previously violated the terms of this License with + respect to the Work, or who has received express permission from the + Licensor to exercise rights under this License despite a previous + violation. "Publicly Perform" means to perform public recitations of + the Work and to communicate to the public those public recitations, by + any means or process, including by wire or wireless means or public + digital performances; to make available to the public Works in such a + way that members of the public may access these Works from a place and + at a place individually chosen by them; to perform the Work to the + public by any means or process and the communication to the public of + the performances of the Work, including by public digital performance; + to broadcast and rebroadcast the Work by any means including signs, + sounds or images. + "Reproduce" means to make copies of the Work by any means including + without limitation by sound or visual recordings and the right of + fixation and reproducing fixations of the Work, including storage of a + protected performance or phonogram in digital form or other electronic + medium. 2. Fair Dealing Rights. Nothing in this License is intended to + reduce, limit, or restrict any uses free from copyright or rights + arising from limitations or exceptions that are provided for in + connection with the copyright protection under copyright law or other + applicable laws. + + 3. License Grant. Subject to the terms and conditions of this License, + Licensor hereby grants You a worldwide, royalty-free, non-exclusive, + perpetual (for the duration of the applicable copyright) license to + exercise the rights in the Work as stated below: + + to Reproduce the Work, to incorporate the Work into one or more + Collections, and to Reproduce the Work as incorporated in the + Collections; to create and Reproduce Adaptations provided that any such + Adaptation, including any translation in any medium, takes reasonable + steps to clearly label, demarcate or otherwise identify that changes + were made to the original Work. For example, a translation could be + marked "The original work was translated from English to Spanish," or a + modification could indicate "The original work has been modified."; + to Distribute and Publicly Perform the Work including as incorporated + in Collections; and, to Distribute and Publicly Perform Adaptations. + For the avoidance of doubt: + + Non-waivable Compulsory License Schemes. In those jurisdictions in + which the right to collect royalties through any statutory or compulsory + licensing scheme cannot be waived, the Licensor reserves the exclusive + right to collect such royalties for any exercise by You of the rights + granted under this License; Waivable Compulsory License Schemes. In + those jurisdictions in which the right to collect royalties through any + statutory or compulsory licensing scheme can be waived, the Licensor + waives the exclusive right to collect such royalties for any exercise by + You of the rights granted under this License; and, Voluntary License + Schemes. The Licensor waives the right to collect royalties, whether + individually or, in the event that the Licensor is a member of a + collecting society that administers voluntary licensing schemes, via + that society, from any exercise by You of the rights granted under this + License. + The above rights may be exercised in all media and formats whether now + known or hereafter devised. The above rights include the right to make + such modifications as are technically necessary to exercise the rights + in other media and formats. Subject to Section 8(f), all rights not + expressly granted by Licensor are hereby reserved. + + 4. Restrictions. The license granted in Section 3 above is expressly + made subject to and limited by the following restrictions: + + You may Distribute or Publicly Perform the Work only under the terms of + this License. You must include a copy of, or the Uniform Resource + Identifier (URI) for, this License with every copy of the Work You + Distribute or Publicly Perform. You may not offer or impose any terms on + the Work that restrict the terms of this License or the ability of the + recipient of the Work to exercise the rights granted to that recipient + under the terms of the License. You may not sublicense the Work. You + must keep intact all notices that refer to this License and to the + disclaimer of warranties with every copy of the Work You Distribute or + Publicly Perform. When You Distribute or Publicly Perform the Work, You + may not impose any effective technological measures on the Work that + restrict the ability of a recipient of the Work from You to exercise the + rights granted to that recipient under the terms of the License. This + Section 4(a) applies to the Work as incorporated in a Collection, but + this does not require the Collection apart from the Work itself to be + made subject to the terms of this License. If You create a Collection, + upon notice from any Licensor You must, to the extent practicable, + remove from the Collection any credit as required by Section 4(c), as + requested. If You create an Adaptation, upon notice from any Licensor + You must, to the extent practicable, remove from the Adaptation any + credit as required by Section 4(c), as requested. You may Distribute or + Publicly Perform an Adaptation only under the terms of: (i) this + License; (ii) a later version of this License with the same License + Elements as this License; (iii) a Creative Commons jurisdiction license + (either this or a later license version) that contains the same License + Elements as this License (e.g., Attribution-ShareAlike 3.0 US)); (iv) a + Creative Commons Compatible License. If you license the Adaptation under + one of the licenses mentioned in (iv), you must comply with the terms of + that license. If you license the Adaptation under the terms of any of + the licenses mentioned in (i), (ii) or (iii) (the "Applicable License"), + you must comply with the terms of the Applicable License generally and + the following provisions: (I) You must include a copy of, or the URI + for, the Applicable License with every copy of each Adaptation You + Distribute or Publicly Perform; (II) You may not offer or impose any + terms on the Adaptation that restrict the terms of the Applicable + License or the ability of the recipient of the Adaptation to exercise + the rights granted to that recipient under the terms of the Applicable + License; (III) You must keep intact all notices that refer to the + Applicable License and to the disclaimer of warranties with every copy + of the Work as included in the Adaptation You Distribute or Publicly + Perform; (IV) when You Distribute or Publicly Perform the Adaptation, + You may not impose any effective technological measures on the + Adaptation that restrict the ability of a recipient of the Adaptation + from You to exercise the rights granted to that recipient under the + terms of the Applicable License. This Section 4(b) applies to the + Adaptation as incorporated in a Collection, but this does not require + the Collection apart from the Adaptation itself to be made subject to + the terms of the Applicable License. + If You Distribute, or Publicly Perform the Work or any Adaptations or + Collections, You must, unless a request has been made pursuant to + Section 4(a), keep intact all copyright notices for the Work and + provide, reasonable to the medium or means You are utilizing: (i) the + name of the Original Author (or pseudonym, if applicable) if supplied, + and/or if the Original Author and/or Licensor designate another party or + parties (e.g., a sponsor institute, publishing entity, journal) for + attribution ("Attribution Parties") in Licensor's copyright notice, + terms of service or by other reasonable means, the name of such party or + parties; (ii) the title of the Work if supplied; (iii) to the extent + reasonably practicable, the URI, if any, that Licensor specifies to be + associated with the Work, unless such URI does not refer to the + copyright notice or licensing information for the Work; and (iv) , + consistent with Ssection 3(b), in the case of an Adaptation, a credit + identifying the use of the Work in the Adaptation (e.g., "French + translation of the Work by Original Author," or "Screenplay based on + original Work by Original Author"). The credit required by this Section + 4(c) may be implemented in any reasonable manner; provided, however, + that in the case of a Adaptation or Collection, at a minimum such credit + will appear, if a credit for all contributing authors of the Adaptation + or Collection appears, then as part of these credits and in a manner at + least as prominent as the credits for the other contributing authors. + For the avoidance of doubt, You may only use the credit required by this + Section for the purpose of attribution in the manner set out above and, + by exercising Your rights under this License, You may not implicitly or + explicitly assert or imply any connection with, sponsorship or + endorsement by the Original Author, Licensor and/or Attribution Parties, + as appropriate, of You or Your use of the Work, without the separate, + express prior written permission of the Original Author, Licensor and/or + Attribution Parties. Except as otherwise agreed in writing by the + Licensor or as may be otherwise permitted by applicable law, if You + Reproduce, Distribute or Publicly Perform the Work either by itself or + as part of any Adaptations or Collections, You must not distort, + mutilate, modify or take other derogatory action in relation to the Work + which would be prejudicial to the Original Author's honor or reputation. + Licensor agrees that in those jurisdictions (e.g. Japan), in which any + exercise of the right granted in Section 3(b) of this License (the right + to make Adaptations) would be deemed to be a distortion, mutilation, + modification or other derogatory action prejudicial to the Original + Author's honor and reputation, the Licensor will waive or not assert, as + appropriate, this Section, to the fullest extent permitted by the + applicable national law, to enable You to reasonably exercise Your right + under Section 3(b) of this License (right to make Adaptations) but not + otherwise. + 5. Representations, Warranties and Disclaimer + + UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR + OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY + KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, + INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, + FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF + LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, + WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE + EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. + + 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE + LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR + ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES + ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS + BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + + 7. Termination + + This License and the rights granted hereunder will terminate + automatically upon any breach by You of the terms of this License. + Individuals or entities who have received Adaptations or Collections + from You under this License, however, will not have their licenses + terminated provided such individuals or entities remain in full + compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will + survive any termination of this License. Subject to the above terms and + conditions, the license granted here is perpetual (for the duration of + the applicable copyright in the Work). Notwithstanding the above, + Licensor reserves the right to release the Work under different license + terms or to stop distributing the Work at any time; provided, however + that any such election will not serve to withdraw this License (or any + other license that has been, or is required to be, granted under the + terms of this License), and this License will continue in full force and + effect unless terminated as stated above. + + 8. Miscellaneous + + Each time You Distribute or Publicly Perform the Work or a Collection, + the Licensor offers to the recipient a license to the Work on the same + terms and conditions as the license granted to You under this License. + Each time You Distribute or Publicly Perform an Adaptation, Licensor + offers to the recipient a license to the original Work on the same terms + and conditions as the license granted to You under this License. + If any provision of this License is invalid or unenforceable under + applicable law, it shall not affect the validity or enforceability of + the remainder of the terms of this License, and without further action + by the parties to this agreement, such provision shall be reformed to + the minimum extent necessary to make such provision valid and + enforceable. No term or provision of this License shall be deemed + waived and no breach consented to unless such waiver or consent shall be + in writing and signed by the party to be charged with such waiver or + consent. + This License constitutes the entire agreement between the parties with + respect to the Work licensed here. There are no understandings, + agreements or representations with respect to the Work not specified + here. Licensor shall not be bound by any additional provisions that may + appear in any communication from You. This License may not be modified + without the mutual written agreement of the Licensor and You. The + rights granted under, and the subject matter referenced, in this License + were drafted utilizing the terminology of the Berne Convention for the + Protection of Literary and Artistic Works (as amended on September 28, + 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, + the WIPO Performances and Phonograms Treaty of 1996 and the Universal + Copyright Convention (as revised on July 24, 1971). These rights and + subject matter take effect in the relevant jurisdiction in which the + License terms are sought to be enforced according to the corresponding + provisions of the implementation of those treaty provisions in the + applicable national law. If the standard suite of rights granted under + applicable copyright law includes additional rights not granted under + this License, such additional rights are deemed to be included in the + License; this License is not intended to restrict the license of any + rights under applicable law. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc-by-sa-4.0_36.RULE + license_expression: cc-by-sa-4.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: http://creativecommons.org/licenses/by-sa/4.0/ + - score: '99.82' + start_line: 3 + end_line: 424 + matcher: 3-seq + rule_length: 2762 + matched_length: 2757 + match_coverage: '99.82' + rule_relevance: 100 + identifier: cc-by-sa-4.0.LICENSE + license_expression: cc-by-sa-4.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Creative Commons Corporation ("Creative Commons") is not a law firm and + does not provide legal services or legal advice. Distribution of + Creative Commons public licenses does not create a lawyer-client or + other relationship. Creative Commons makes its licenses and related + information available on an "as-is" basis. Creative Commons gives no + warranties regarding its licenses, any material licensed under their + terms and conditions, or any related information. Creative Commons + disclaims all liability for damages resulting from their use to the + fullest extent possible. + + Using Creative Commons Public Licenses + + Creative Commons public licenses provide a standard set of terms and + conditions that creators and other rights holders may use to share + original works of authorship and other material subject to copyright + and certain other rights specified in the public license below. The + following considerations are for informational purposes only, are not + exhaustive, and do not form part of our licenses. + + Considerations for licensors: Our public licenses are + intended for use by those authorized to give the public + permission to use material in ways otherwise restricted by + copyright and certain other rights. Our licenses are + irrevocable. Licensors should read and understand the terms + and conditions of the license they choose before applying it. + Licensors should also secure all rights necessary before + applying our licenses so that the public can reuse the + material as expected. Licensors should clearly mark any + material not subject to the license. This includes other CC- + licensed material, or material used under an exception or + limitation to copyright. More considerations for licensors: + wiki.creativecommons.org/Considerations_for_licensors + + Considerations for the public: By using one of our public + licenses, a licensor grants the public permission to use the + licensed material under specified terms and conditions. If + the licensor's permission is not necessary for any reason--for + example, because of any applicable exception or limitation to + copyright--then that use is not regulated by the license. Our + licenses grant only permissions under copyright and certain + other rights that a licensor has authority to grant. Use of + the licensed material may still be restricted for other + reasons, including because others have copyright or other + rights in the material. A licensor may make special requests, + such as asking that all changes be marked or described. + Although not required by our licenses, you are encouraged to + respect those requests where reasonable. More considerations + for the public: + wiki.creativecommons.org/Considerations_for_licensees + + ======================================================================= + + Creative Commons Attribution-ShareAlike 4.0 International Public + License + + By exercising the Licensed Rights (defined below), You accept and agree + to be bound by the terms and conditions of this Creative Commons + Attribution-ShareAlike 4.0 International Public License ("Public + License"). To the extent this Public License may be interpreted as a + contract, You are granted the Licensed Rights in consideration of Your + acceptance of these terms and conditions, and the Licensor grants You + such rights in consideration of benefits the Licensor receives from + making the Licensed Material available under these terms and + conditions. + + + Section 1 -- Definitions. + + a. Adapted Material means material subject to Copyright and Similar + Rights that is derived from or based upon the Licensed Material + and in which the Licensed Material is translated, altered, + arranged, transformed, or otherwise modified in a manner requiring + permission under the Copyright and Similar Rights held by the + Licensor. For purposes of this Public License, where the Licensed + Material is a musical work, performance, or sound recording, + Adapted Material is always produced where the Licensed Material is + synched in timed relation with a moving image. + + b. Adapter's License means the license You apply to Your Copyright + and Similar Rights in Your contributions to Adapted Material in + accordance with the terms and conditions of this Public License. + + c. BY-SA Compatible License means a license listed at + creativecommons.org/compatiblelicenses, approved by Creative + Commons as essentially the equivalent of this Public License. + + d. Copyright and Similar Rights means copyright and/or similar rights + closely related to copyright including, without limitation, + performance, broadcast, sound recording, and Sui Generis Database + Rights, without regard to how the rights are labeled or + categorized. For purposes of this Public License, the rights + specified in Section 2(b)(1)-(2) are not Copyright and Similar + Rights. + + e. Effective Technological Measures means those measures that, in the + absence of proper authority, may not be circumvented under laws + fulfilling obligations under Article 11 of the WIPO Copyright + Treaty adopted on December 20, 1996, and/or similar international + agreements. + + f. Exceptions and Limitations means fair use, fair dealing, and/or + any other exception or limitation to Copyright and Similar Rights + that applies to Your use of the Licensed Material. + + g. License Elements means the license attributes listed in the name + of a Creative Commons Public License. The License Elements of this + Public License are Attribution and ShareAlike. + + h. Licensed Material means the artistic or literary work, database, + or other material to which the Licensor applied this Public + License. + + i. Licensed Rights means the rights granted to You subject to the + terms and conditions of this Public License, which are limited to + all Copyright and Similar Rights that apply to Your use of the + Licensed Material and that the Licensor has authority to license. + + j. Licensor means the individual(s) or entity(ies) granting rights + under this Public License. + + k. Share means to provide material to the public by any means or + process that requires permission under the Licensed Rights, such + as reproduction, public display, public performance, distribution, + dissemination, communication, or importation, and to make material + available to the public including in ways that members of the + public may access the material from a place and at a time + individually chosen by them. + + l. Sui Generis Database Rights means rights other than copyright + resulting from Directive 96/9/EC of the European Parliament and of + the Council of 11 March 1996 on the legal protection of databases, + as amended and/or succeeded, as well as other essentially + equivalent rights anywhere in the world. + + m. You means the individual or entity exercising the Licensed Rights + under this Public License. Your has a corresponding meaning. + + + Section 2 -- Scope. + + a. License grant. + + 1. Subject to the terms and conditions of this Public License, + the Licensor hereby grants You a worldwide, royalty-free, + non-sublicensable, non-exclusive, irrevocable license to + exercise the Licensed Rights in the Licensed Material to: + + a. reproduce and Share the Licensed Material, in whole or + in part; and + + b. produce, reproduce, and Share Adapted Material. + + 2. Exceptions and Limitations. For the avoidance of doubt, where + Exceptions and Limitations apply to Your use, this Public + License does not apply, and You do not need to comply with + its terms and conditions. + + 3. Term. The term of this Public License is specified in Section + 6(a). + + 4. Media and formats; technical modifications allowed. The + Licensor authorizes You to exercise the Licensed Rights in + all media and formats whether now known or hereafter created, + and to make technical modifications necessary to do so. The + Licensor waives and/or agrees not to assert any right or + authority to forbid You from making technical modifications + necessary to exercise the Licensed Rights, including + technical modifications necessary to circumvent Effective + Technological Measures. For purposes of this Public License, + simply making modifications authorized by this Section 2(a) + (4) never produces Adapted Material. + + 5. Downstream recipients. + + a. Offer from the Licensor -- Licensed Material. Every + recipient of the Licensed Material automatically + receives an offer from the Licensor to exercise the + Licensed Rights under the terms and conditions of this + Public License. + + b. Additional offer from the Licensor -- Adapted Material. + Every recipient of Adapted Material from You + automatically receives an offer from the Licensor to + exercise the Licensed Rights in the Adapted Material + under the conditions of the Adapter's License You apply. + + c. No downstream restrictions. You may not offer or impose + any additional or different terms or conditions on, or + apply any Effective Technological Measures to, the + Licensed Material if doing so restricts exercise of the + Licensed Rights by any recipient of the Licensed + Material. + + 6. No endorsement. Nothing in this Public License constitutes or + may be construed as permission to assert or imply that You + are, or that Your use of the Licensed Material is, connected + with, or sponsored, endorsed, or granted official status by, + the Licensor or others designated to receive attribution as + provided in Section 3(a)(1)(A)(i). + + b. Other rights. + + 1. Moral rights, such as the right of integrity, are not + licensed under this Public License, nor are publicity, + privacy, and/or other similar personality rights; however, to + the extent possible, the Licensor waives and/or agrees not to + assert any such rights held by the Licensor to the limited + extent necessary to allow You to exercise the Licensed + Rights, but not otherwise. + + 2. Patent and trademark rights are not licensed under this + Public License. + + 3. To the extent possible, the Licensor waives any right to + collect royalties from You for the exercise of the Licensed + Rights, whether directly or through a collecting society + under any voluntary or waivable statutory or compulsory + licensing scheme. In all other cases the Licensor expressly + reserves any right to collect such royalties. + + + Section 3 -- License Conditions. + + Your exercise of the Licensed Rights is expressly made subject to the + following conditions. + + a. Attribution. + + 1. If You Share the Licensed Material (including in modified + form), You must: + + a. retain the following if it is supplied by the Licensor + with the Licensed Material: + + i. identification of the creator(s) of the Licensed + Material and any others designated to receive + attribution, in any reasonable manner requested by + the Licensor (including by pseudonym if + designated); + + ii. a copyright notice; + + iii. a notice that refers to this Public License; + + iv. a notice that refers to the disclaimer of + warranties; + + v. a URI or hyperlink to the Licensed Material to the + extent reasonably practicable; + + b. indicate if You modified the Licensed Material and + retain an indication of any previous modifications; and + + c. indicate the Licensed Material is licensed under this + Public License, and include the text of, or the URI or + hyperlink to, this Public License. + + 2. You may satisfy the conditions in Section 3(a)(1) in any + reasonable manner based on the medium, means, and context in + which You Share the Licensed Material. For example, it may be + reasonable to satisfy the conditions by providing a URI or + hyperlink to a resource that includes the required + information. + + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent + reasonably practicable. + + b. ShareAlike. + + In addition to the conditions in Section 3(a), if You Share + Adapted Material You produce, the following conditions also apply. + + 1. The Adapter's License You apply must be a Creative Commons + license with the same License Elements, this version or + later, or a BY-SA Compatible License. + + 2. You must include the text of, or the URI or hyperlink to, the + Adapter's License You apply. You may satisfy this condition + in any reasonable manner based on the medium, means, and + context in which You Share Adapted Material. + + 3. You may not offer or impose any additional or different terms + or conditions on, or apply any Effective Technological + Measures to, Adapted Material that restrict exercise of the + rights granted under the Adapter's License You apply. + + + Section 4 -- Sui Generis Database Rights. + + Where the Licensed Rights include Sui Generis Database Rights that + apply to Your use of the Licensed Material: + + a. for the avoidance of doubt, Section 2(a)(1) grants You the right + to extract, reuse, reproduce, and Share all or a substantial + portion of the contents of the database; + + b. if You include all or a substantial portion of the database + contents in a database in which You have Sui Generis Database + Rights, then the database in which You have Sui Generis Database + Rights (but not its individual contents) is Adapted Material, + + including for purposes of Section 3(b); and + c. You must comply with the conditions in Section 3(a) if You Share + all or a substantial portion of the contents of the database. + + For the avoidance of doubt, this Section 4 supplements and does not + replace Your obligations under this Public License where the Licensed + Rights include other Copyright and Similar Rights. + + + Section 5 -- Disclaimer of Warranties and Limitation of Liability. + + a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE + EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS + AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF + ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, + IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, + WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, + ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT + KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT + ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. + + b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE + TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, + NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, + INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, + COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR + USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR + DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR + IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. + + c. The disclaimer of warranties and limitation of liability provided + above shall be interpreted in a manner that, to the extent + possible, most closely approximates an absolute disclaimer and + waiver of all liability. + + + Section 6 -- Term and Termination. + + a. This Public License applies for the term of the Copyright and + Similar Rights licensed here. However, if You fail to comply with + this Public License, then Your rights under this Public License + terminate automatically. + + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + + 1. automatically as of the date the violation is cured, provided + it is cured within 30 days of Your discovery of the + violation; or + + 2. upon express reinstatement by the Licensor. + + For the avoidance of doubt, this Section 6(b) does not affect any + right the Licensor may have to seek remedies for Your violations + of this Public License. + + c. For the avoidance of doubt, the Licensor may also offer the + Licensed Material under separate terms or conditions or stop + distributing the Licensed Material at any time; however, doing so + will not terminate this Public License. + + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public + License. + + + Section 7 -- Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different + terms or conditions communicated by You unless expressly agreed. + + b. Any arrangements, understandings, or agreements regarding the + Licensed Material not stated herein are separate from and + independent of the terms and conditions of this Public License. + + + Section 8 -- Interpretation. + + a. For the avoidance of doubt, this Public License does not, and + shall not be interpreted to, reduce, limit, restrict, or impose + conditions on any use of the Licensed Material that could lawfully + be made without permission under this Public License. + + b. To the extent possible, if any provision of this Public License is + deemed unenforceable, it shall be automatically reformed to the + minimum extent necessary to make it enforceable. If the provision + cannot be reformed, it shall be severed from this Public License + without affecting the enforceability of the remaining terms and + conditions. + + c. No term or condition of this Public License will be waived and no + failure to comply consented to unless expressly agreed to by the + Licensor. + + d. Nothing in this Public License constitutes or may be interpreted + as a limitation upon, or waiver of, any privileges and immunities + that apply to the Licensor or You, including from the legal + processes of any jurisdiction or authority. + + ======================================================================= + + Creative Commons is not a party to its public + licenses. Notwithstanding, Creative Commons may elect to apply one of + its public licenses to material it publishes and in those instances + will be considered the “Licensor.” The text of the Creative Commons + public licenses is dedicated to the public domain under the CC0 Public + Domain Dedication. Except for the limited purpose of indicating that + material is shared under a Creative Commons public license or as + otherwise permitted by the Creative Commons policies published at + creativecommons.org/policies, Creative Commons does not authorize the + use of the trademark "Creative Commons" or any other trademark or logo + of Creative Commons without its prior written consent including, + without limitation, in connection with any unauthorized modifications + to any of its public licenses or any other arrangements, + understandings, or agreements concerning use of licensed material. For + the avoidance of doubt, this paragraph does not form part of the + public licenses. + + Creative Commons may be contacted at creativecommons.org. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/epiphany-browser/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/epiphany-browser/stable_copyright.expected.yml index 900308a4ffa..e0db47f25b1 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/epiphany-browser/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/epiphany-browser/stable_copyright.expected.yml @@ -1,14 +1,15 @@ -- - GPL-3+ +primary_license: gpl-3.0-plus AND gpl-3.0 +declared_license: + - GPL-3+ - CC0-1.0 - CC-BY-SA-3.0 - LGPL-2+ - Apache-2.0 - CC-BY-SA-4.0 - GPL-2+ -- (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND (cc0-1.0 AND cc0-1.0) AND cc-by-sa-3.0 AND - (lgpl-2.0-plus AND gpl-2.0-plus AND lgpl-2.0 AND lgpl-2.0) AND (apache-2.0 AND apache-2.0) - AND (cc-by-sa-4.0 AND cc-by-sa-4.0) -- | +license_expression: (gpl-3.0-plus AND gpl-3.0) AND cc0-1.0 AND cc-by-sa-3.0 AND (lgpl-2.0-plus + AND gpl-2.0-plus) AND apache-2.0 AND cc-by-sa-4.0 +copyright: | 2009-2018 Igalia S.L 2002 Jorn Baayen 2013 Yosef Or Boczko @@ -53,3 +54,1014 @@ 2008, Diego Escalante Urrelo GNOME Design Team Jakub Steiner +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '94.59' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 111 + matched_length: 105 + match_coverage: '94.59' + rule_relevance: 100 + identifier: apache-2.0_231.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + [https]://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS-IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + On Debian systems a [copy] of the Apache License, Version 2.0 can be + found in /usr/share/common-licenses/Apache-2.0 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '97.62' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 126 + matched_length: 123 + match_coverage: '97.62' + rule_relevance: 100 + identifier: gpl-3.0-plus_321.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version [2] of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version [2] can be found in "/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_60.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '95.05' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 101 + matched_length: 96 + match_coverage: '95.05' + rule_relevance: 100 + identifier: gpl-2.0-plus_808.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or + modify it under the terms of the GNU [Library] General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This [library] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + [Lesser] General Public License for more details. + + On Debian systems, the complete text of the GNU [Library] General Public + License [version] [2] can be found in "/usr/share/common-licenses/ + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '58.33' + start_line: 21 + end_line: 22 + matcher: 3-seq + rule_length: 24 + matched_length: 14 + match_coverage: '58.33' + rule_relevance: 100 + identifier: cc0-1.0_101.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 1.0 Universal + can be found in `/usr/share/common-licenses/CC0-1.0'. + - score: '97.8' + start_line: 1 + end_line: 307 + matcher: 3-seq + rule_length: 3137 + matched_length: 3068 + match_coverage: '97.8' + rule_relevance: 100 + identifier: cc-by-sa-3.0_35.RULE + license_expression: cc-by-sa-3.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS + CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS + PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK + OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS + PROHIBITED. + + BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND + AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS + LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE + RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS + AND CONDITIONS. + + 1. Definitions + + "Adaptation" means a work based upon the Work, or upon the Work and + other pre-existing works, such as a translation, adaptation, derivative + work, arrangement of music or other alterations of a literary or + artistic work, or phonogram or performance and includes cinematographic + adaptations or any other form in which the Work may be recast, + transformed, or adapted including in any form recognizably derived from + the original, except that a work that constitutes a Collection will not + be considered an Adaptation for the purpose of this License. For the + avoidance of doubt, where the Work is a musical work, performance or + phonogram, the synchronization of the Work in timed-relation with a + moving image ("synching") will be considered an Adaptation for the + purpose of this License. "Collection" means a collection of literary or + artistic works, such as encyclopedias and anthologies, or performances, + phonograms or broadcasts, or other works or subject matter other than + works listed in Section 1(f) below, which, by reason of the selection + and arrangement of their contents, constitute intellectual creations, in + which the Work is included in its entirety in unmodified form along with + one or more other contributions, each constituting separate and + independent works in themselves, which together are assembled into a + collective whole. A work that constitutes a Collection will not be + considered an Adaptation (as defined below) for the purposes of this + License. + "Creative Commons Compatible License" means a license that is listed at + https://creativecommons.org/compatiblelicenses that has been approved by + Creative Commons as being essentially equivalent to this License, + including, at a minimum, because that license: (i) contains terms that + have the same purpose, meaning and effect as the License Elements of + this License; and, (ii) explicitly permits the relicensing of + adaptations of works made available under that license under this + License or a Creative Commons jurisdiction license with the same License + Elements as this License. "Distribute" means to make available to the + public the original and copies of the Work or Adaptation, as + appropriate, through sale or other transfer of ownership. + "License Elements" means the following high-level license attributes as + selected by Licensor and indicated in the title of this License: + Attribution, ShareAlike. "Licensor" means the individual, individuals, + entity or entities that offer(s) the Work under the terms of this + License. + "Original Author" means, in the case of a literary or artistic work, + the individual, individuals, entity or entities who created the Work or + if no individual or entity can be identified, the publisher; and in + addition (i) in the case of a performance the actors, singers, + musicians, dancers, and other persons who act, sing, deliver, declaim, + play in, interpret or otherwise perform literary or artistic works or + expressions of folklore; (ii) in the case of a phonogram the producer + being the person or legal entity who first fixes the sounds of a + performance or other sounds; and, (iii) in the case of broadcasts, the + organization that transmits the broadcast. "Work" means the literary + and/or artistic work offered under the terms of this License including + without limitation any production in the literary, scientific and + artistic domain, whatever may be the mode or form of its expression + including digital form, such as a book, pamphlet and other writing; a + lecture, address, sermon or other work of the same nature; a dramatic or + dramatico-musical work; a choreographic work or entertainment in dumb + show; a musical composition with or without words; a cinematographic + work to which are assimilated works expressed by a process analogous to + cinematography; a work of drawing, painting, architecture, sculpture, + engraving or lithography; a photographic work to which are assimilated + works expressed by a process analogous to photography; a work of applied + art; an illustration, map, plan, sketch or three-dimensional work + relative to geography, topography, architecture or science; a + performance; a broadcast; a phonogram; a compilation of data to the + extent it is protected as a copyrightable work; or a work performed by a + variety or circus performer to the extent it is not otherwise considered + a literary or artistic work. + "You" means an individual or entity exercising rights under this + License who has not previously violated the terms of this License with + respect to the Work, or who has received express permission from the + Licensor to exercise rights under this License despite a previous + violation. "Publicly Perform" means to perform public recitations of + the Work and to communicate to the public those public recitations, by + any means or process, including by wire or wireless means or public + digital performances; to make available to the public Works in such a + way that members of the public may access these Works from a place and + at a place individually chosen by them; to perform the Work to the + public by any means or process and the communication to the public of + the performances of the Work, including by public digital performance; + to broadcast and rebroadcast the Work by any means including signs, + sounds or images. + "Reproduce" means to make copies of the Work by any means including + without limitation by sound or visual recordings and the right of + fixation and reproducing fixations of the Work, including storage of a + protected performance or phonogram in digital form or other electronic + medium. 2. Fair Dealing Rights. Nothing in this License is intended to + reduce, limit, or restrict any uses free from copyright or rights + arising from limitations or exceptions that are provided for in + connection with the copyright protection under copyright law or other + applicable laws. + + 3. License Grant. Subject to the terms and conditions of this License, + Licensor hereby grants You a worldwide, royalty-free, non-exclusive, + perpetual (for the duration of the applicable copyright) license to + exercise the rights in the Work as stated below: + + to Reproduce the Work, to incorporate the Work into one or more + Collections, and to Reproduce the Work as incorporated in the + Collections; to create and Reproduce Adaptations provided that any such + Adaptation, including any translation in any medium, takes reasonable + steps to clearly label, demarcate or otherwise identify that changes + were made to the original Work. For example, a translation could be + marked "The original work was translated from English to Spanish," or a + modification could indicate "The original work has been modified."; + to Distribute and Publicly Perform the Work including as incorporated + in Collections; and, to Distribute and Publicly Perform Adaptations. + For the avoidance of doubt: + + Non-waivable Compulsory License Schemes. In those jurisdictions in + which the right to collect royalties through any statutory or compulsory + licensing scheme cannot be waived, the Licensor reserves the exclusive + right to collect such royalties for any exercise by You of the rights + granted under this License; Waivable Compulsory License Schemes. In + those jurisdictions in which the right to collect royalties through any + statutory or compulsory licensing scheme can be waived, the Licensor + waives the exclusive right to collect such royalties for any exercise by + You of the rights granted under this License; and, Voluntary License + Schemes. The Licensor waives the right to collect royalties, whether + individually or, in the event that the Licensor is a member of a + collecting society that administers voluntary licensing schemes, via + that society, from any exercise by You of the rights granted under this + License. + The above rights may be exercised in all media and formats whether now + known or hereafter devised. The above rights include the right to make + such modifications as are technically necessary to exercise the rights + in other media and formats. Subject to Section 8(f), all rights not + expressly granted by Licensor are hereby reserved. + + 4. Restrictions. The license granted in Section 3 above is expressly + made subject to and limited by the following restrictions: + + You may Distribute or Publicly Perform the Work only under the terms of + this License. You must include a copy of, or the Uniform Resource + Identifier (URI) for, this License with every copy of the Work You + Distribute or Publicly Perform. You may not offer or impose any terms on + the Work that restrict the terms of this License or the ability of the + recipient of the Work to exercise the rights granted to that recipient + under the terms of the License. You may not sublicense the Work. You + must keep intact all notices that refer to this License and to the + disclaimer of warranties with every copy of the Work You Distribute or + Publicly Perform. When You Distribute or Publicly Perform the Work, You + may not impose any effective technological measures on the Work that + restrict the ability of a recipient of the Work from You to exercise the + rights granted to that recipient under the terms of the License. This + Section 4(a) applies to the Work as incorporated in a Collection, but + this does not require the Collection apart from the Work itself to be + made subject to the terms of this License. If You create a Collection, + upon notice from any Licensor You must, to the extent practicable, + remove from the Collection any credit as required by Section 4(c), as + requested. If You create an Adaptation, upon notice from any Licensor + You must, to the extent practicable, remove from the Adaptation any + credit as required by Section 4(c), as requested. You may Distribute or + Publicly Perform an Adaptation only under the terms of: (i) this + License; (ii) a later version of this License with the same License + Elements as this License; (iii) a Creative Commons jurisdiction license + (either this or a later license version) that contains the same License + Elements as this License (e.g., Attribution-ShareAlike 3.0 US)); (iv) a + Creative Commons Compatible License. If you license the Adaptation under + one of the licenses mentioned in (iv), you must comply with the terms of + that license. If you license the Adaptation under the terms of any of + the licenses mentioned in (i), (ii) or (iii) (the "Applicable License"), + you must comply with the terms of the Applicable License generally and + the following provisions: (I) You must include a copy of, or the URI + for, the Applicable License with every copy of each Adaptation You + Distribute or Publicly Perform; (II) You may not offer or impose any + terms on the Adaptation that restrict the terms of the Applicable + License or the ability of the recipient of the Adaptation to exercise + the rights granted to that recipient under the terms of the Applicable + License; (III) You must keep intact all notices that refer to the + Applicable License and to the disclaimer of warranties with every copy + of the Work as included in the Adaptation You Distribute or Publicly + Perform; (IV) when You Distribute or Publicly Perform the Adaptation, + You may not impose any effective technological measures on the + Adaptation that restrict the ability of a recipient of the Adaptation + from You to exercise the rights granted to that recipient under the + terms of the Applicable License. This Section 4(b) applies to the + Adaptation as incorporated in a Collection, but this does not require + the Collection apart from the Adaptation itself to be made subject to + the terms of the Applicable License. + If You Distribute, or Publicly Perform the Work or any Adaptations or + Collections, You must, unless a request has been made pursuant to + Section 4(a), keep intact all copyright notices for the Work and + provide, reasonable to the medium or means You are utilizing: (i) the + name of the Original Author (or pseudonym, if applicable) if supplied, + and/or if the Original Author and/or Licensor designate another party or + parties (e.g., a sponsor institute, publishing entity, journal) for + attribution ("Attribution Parties") in Licensor's copyright notice, + terms of service or by other reasonable means, the name of such party or + parties; (ii) the title of the Work if supplied; (iii) to the extent + reasonably practicable, the URI, if any, that Licensor specifies to be + associated with the Work, unless such URI does not refer to the + copyright notice or licensing information for the Work; and (iv) , + consistent with Ssection 3(b), in the case of an Adaptation, a credit + identifying the use of the Work in the Adaptation (e.g., "French + translation of the Work by Original Author," or "Screenplay based on + original Work by Original Author"). The credit required by this Section + 4(c) may be implemented in any reasonable manner; provided, however, + that in the case of a Adaptation or Collection, at a minimum such credit + will appear, if a credit for all contributing authors of the Adaptation + or Collection appears, then as part of these credits and in a manner at + least as prominent as the credits for the other contributing authors. + For the avoidance of doubt, You may only use the credit required by this + Section for the purpose of attribution in the manner set out above and, + by exercising Your rights under this License, You may not implicitly or + explicitly assert or imply any connection with, sponsorship or + endorsement by the Original Author, Licensor and/or Attribution Parties, + as appropriate, of You or Your use of the Work, without the separate, + express prior written permission of the Original Author, Licensor and/or + Attribution Parties. Except as otherwise agreed in writing by the + Licensor or as may be otherwise permitted by applicable law, if You + Reproduce, Distribute or Publicly Perform the Work either by itself or + as part of any Adaptations or Collections, You must not distort, + mutilate, modify or take other derogatory action in relation to the Work + which would be prejudicial to the Original Author's honor or reputation. + Licensor agrees that in those jurisdictions (e.g. Japan), in which any + exercise of the right granted in Section 3(b) of this License (the right + to make Adaptations) would be deemed to be a distortion, mutilation, + modification or other derogatory action prejudicial to the Original + Author's honor and reputation, the Licensor will waive or not assert, as + appropriate, this Section, to the fullest extent permitted by the + applicable national law, to enable You to reasonably exercise Your right + under Section 3(b) of this License (right to make Adaptations) but not + otherwise. + 5. Representations, Warranties and Disclaimer + + UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR + OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY + KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, + INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, + FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF + LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, + WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE + EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. + + 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE + LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR + ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES + ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS + BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + + 7. Termination + + This License and the rights granted hereunder will terminate + automatically upon any breach by You of the terms of this License. + Individuals or entities who have received Adaptations or Collections + from You under this License, however, will not have their licenses + terminated provided such individuals or entities remain in full + compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will + survive any termination of this License. Subject to the above terms and + conditions, the license granted here is perpetual (for the duration of + the applicable copyright in the Work). Notwithstanding the above, + Licensor reserves the right to release the Work under different license + terms or to stop distributing the Work at any time; provided, however + that any such election will not serve to withdraw this License (or any + other license that has been, or is required to be, granted under the + terms of this License), and this License will continue in full force and + effect unless terminated as stated above. + + 8. Miscellaneous + + Each time You Distribute or Publicly Perform the Work or a Collection, + the Licensor offers to the recipient a license to the Work on the same + terms and conditions as the license granted to You under this License. + Each time You Distribute or Publicly Perform an Adaptation, Licensor + offers to the recipient a license to the original Work on the same terms + and conditions as the license granted to You under this License. + If any provision of this License is invalid or unenforceable under + applicable law, it shall not affect the validity or enforceability of + the remainder of the terms of this License, and without further action + by the parties to this agreement, such provision shall be reformed to + the minimum extent necessary to make such provision valid and + enforceable. No term or provision of this License shall be deemed + waived and no breach consented to unless such waiver or consent shall be + in writing and signed by the party to be charged with such waiver or + consent. + This License constitutes the entire agreement between the parties with + respect to the Work licensed here. There are no understandings, + agreements or representations with respect to the Work not specified + here. Licensor shall not be bound by any additional provisions that may + appear in any communication from You. This License may not be modified + without the mutual written agreement of the Licensor and You. The + rights granted under, and the subject matter referenced, in this License + were drafted utilizing the terminology of the Berne Convention for the + Protection of Literary and Artistic Works (as amended on September 28, + 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, + the WIPO Performances and Phonograms Treaty of 1996 and the Universal + Copyright Convention (as revised on July 24, 1971). These rights and + subject matter take effect in the relevant jurisdiction in which the + License terms are sought to be enforced according to the corresponding + provisions of the implementation of those treaty provisions in the + applicable national law. If the standard suite of rights granted under + applicable copyright law includes additional rights not granted under + this License, such additional rights are deemed to be included in the + License; this License is not intended to restrict the license of any + rights under applicable law. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc-by-sa-4.0_36.RULE + license_expression: cc-by-sa-4.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: http://creativecommons.org/licenses/by-sa/4.0/ + - score: '99.82' + start_line: 3 + end_line: 424 + matcher: 3-seq + rule_length: 2762 + matched_length: 2757 + match_coverage: '99.82' + rule_relevance: 100 + identifier: cc-by-sa-4.0.LICENSE + license_expression: cc-by-sa-4.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Creative Commons Corporation ("Creative Commons") is not a law firm and + does not provide legal services or legal advice. Distribution of + Creative Commons public licenses does not create a lawyer-client or + other relationship. Creative Commons makes its licenses and related + information available on an "as-is" basis. Creative Commons gives no + warranties regarding its licenses, any material licensed under their + terms and conditions, or any related information. Creative Commons + disclaims all liability for damages resulting from their use to the + fullest extent possible. + + Using Creative Commons Public Licenses + + Creative Commons public licenses provide a standard set of terms and + conditions that creators and other rights holders may use to share + original works of authorship and other material subject to copyright + and certain other rights specified in the public license below. The + following considerations are for informational purposes only, are not + exhaustive, and do not form part of our licenses. + + Considerations for licensors: Our public licenses are + intended for use by those authorized to give the public + permission to use material in ways otherwise restricted by + copyright and certain other rights. Our licenses are + irrevocable. Licensors should read and understand the terms + and conditions of the license they choose before applying it. + Licensors should also secure all rights necessary before + applying our licenses so that the public can reuse the + material as expected. Licensors should clearly mark any + material not subject to the license. This includes other CC- + licensed material, or material used under an exception or + limitation to copyright. More considerations for licensors: + wiki.creativecommons.org/Considerations_for_licensors + + Considerations for the public: By using one of our public + licenses, a licensor grants the public permission to use the + licensed material under specified terms and conditions. If + the licensor's permission is not necessary for any reason--for + example, because of any applicable exception or limitation to + copyright--then that use is not regulated by the license. Our + licenses grant only permissions under copyright and certain + other rights that a licensor has authority to grant. Use of + the licensed material may still be restricted for other + reasons, including because others have copyright or other + rights in the material. A licensor may make special requests, + such as asking that all changes be marked or described. + Although not required by our licenses, you are encouraged to + respect those requests where reasonable. More considerations + for the public: + wiki.creativecommons.org/Considerations_for_licensees + + ======================================================================= + + Creative Commons Attribution-ShareAlike 4.0 International Public + License + + By exercising the Licensed Rights (defined below), You accept and agree + to be bound by the terms and conditions of this Creative Commons + Attribution-ShareAlike 4.0 International Public License ("Public + License"). To the extent this Public License may be interpreted as a + contract, You are granted the Licensed Rights in consideration of Your + acceptance of these terms and conditions, and the Licensor grants You + such rights in consideration of benefits the Licensor receives from + making the Licensed Material available under these terms and + conditions. + + + Section 1 -- Definitions. + + a. Adapted Material means material subject to Copyright and Similar + Rights that is derived from or based upon the Licensed Material + and in which the Licensed Material is translated, altered, + arranged, transformed, or otherwise modified in a manner requiring + permission under the Copyright and Similar Rights held by the + Licensor. For purposes of this Public License, where the Licensed + Material is a musical work, performance, or sound recording, + Adapted Material is always produced where the Licensed Material is + synched in timed relation with a moving image. + + b. Adapter's License means the license You apply to Your Copyright + and Similar Rights in Your contributions to Adapted Material in + accordance with the terms and conditions of this Public License. + + c. BY-SA Compatible License means a license listed at + creativecommons.org/compatiblelicenses, approved by Creative + Commons as essentially the equivalent of this Public License. + + d. Copyright and Similar Rights means copyright and/or similar rights + closely related to copyright including, without limitation, + performance, broadcast, sound recording, and Sui Generis Database + Rights, without regard to how the rights are labeled or + categorized. For purposes of this Public License, the rights + specified in Section 2(b)(1)-(2) are not Copyright and Similar + Rights. + + e. Effective Technological Measures means those measures that, in the + absence of proper authority, may not be circumvented under laws + fulfilling obligations under Article 11 of the WIPO Copyright + Treaty adopted on December 20, 1996, and/or similar international + agreements. + + f. Exceptions and Limitations means fair use, fair dealing, and/or + any other exception or limitation to Copyright and Similar Rights + that applies to Your use of the Licensed Material. + + g. License Elements means the license attributes listed in the name + of a Creative Commons Public License. The License Elements of this + Public License are Attribution and ShareAlike. + + h. Licensed Material means the artistic or literary work, database, + or other material to which the Licensor applied this Public + License. + + i. Licensed Rights means the rights granted to You subject to the + terms and conditions of this Public License, which are limited to + all Copyright and Similar Rights that apply to Your use of the + Licensed Material and that the Licensor has authority to license. + + j. Licensor means the individual(s) or entity(ies) granting rights + under this Public License. + + k. Share means to provide material to the public by any means or + process that requires permission under the Licensed Rights, such + as reproduction, public display, public performance, distribution, + dissemination, communication, or importation, and to make material + available to the public including in ways that members of the + public may access the material from a place and at a time + individually chosen by them. + + l. Sui Generis Database Rights means rights other than copyright + resulting from Directive 96/9/EC of the European Parliament and of + the Council of 11 March 1996 on the legal protection of databases, + as amended and/or succeeded, as well as other essentially + equivalent rights anywhere in the world. + + m. You means the individual or entity exercising the Licensed Rights + under this Public License. Your has a corresponding meaning. + + + Section 2 -- Scope. + + a. License grant. + + 1. Subject to the terms and conditions of this Public License, + the Licensor hereby grants You a worldwide, royalty-free, + non-sublicensable, non-exclusive, irrevocable license to + exercise the Licensed Rights in the Licensed Material to: + + a. reproduce and Share the Licensed Material, in whole or + in part; and + + b. produce, reproduce, and Share Adapted Material. + + 2. Exceptions and Limitations. For the avoidance of doubt, where + Exceptions and Limitations apply to Your use, this Public + License does not apply, and You do not need to comply with + its terms and conditions. + + 3. Term. The term of this Public License is specified in Section + 6(a). + + 4. Media and formats; technical modifications allowed. The + Licensor authorizes You to exercise the Licensed Rights in + all media and formats whether now known or hereafter created, + and to make technical modifications necessary to do so. The + Licensor waives and/or agrees not to assert any right or + authority to forbid You from making technical modifications + necessary to exercise the Licensed Rights, including + technical modifications necessary to circumvent Effective + Technological Measures. For purposes of this Public License, + simply making modifications authorized by this Section 2(a) + (4) never produces Adapted Material. + + 5. Downstream recipients. + + a. Offer from the Licensor -- Licensed Material. Every + recipient of the Licensed Material automatically + receives an offer from the Licensor to exercise the + Licensed Rights under the terms and conditions of this + Public License. + + b. Additional offer from the Licensor -- Adapted Material. + Every recipient of Adapted Material from You + automatically receives an offer from the Licensor to + exercise the Licensed Rights in the Adapted Material + under the conditions of the Adapter's License You apply. + + c. No downstream restrictions. You may not offer or impose + any additional or different terms or conditions on, or + apply any Effective Technological Measures to, the + Licensed Material if doing so restricts exercise of the + Licensed Rights by any recipient of the Licensed + Material. + + 6. No endorsement. Nothing in this Public License constitutes or + may be construed as permission to assert or imply that You + are, or that Your use of the Licensed Material is, connected + with, or sponsored, endorsed, or granted official status by, + the Licensor or others designated to receive attribution as + provided in Section 3(a)(1)(A)(i). + + b. Other rights. + + 1. Moral rights, such as the right of integrity, are not + licensed under this Public License, nor are publicity, + privacy, and/or other similar personality rights; however, to + the extent possible, the Licensor waives and/or agrees not to + assert any such rights held by the Licensor to the limited + extent necessary to allow You to exercise the Licensed + Rights, but not otherwise. + + 2. Patent and trademark rights are not licensed under this + Public License. + + 3. To the extent possible, the Licensor waives any right to + collect royalties from You for the exercise of the Licensed + Rights, whether directly or through a collecting society + under any voluntary or waivable statutory or compulsory + licensing scheme. In all other cases the Licensor expressly + reserves any right to collect such royalties. + + + Section 3 -- License Conditions. + + Your exercise of the Licensed Rights is expressly made subject to the + following conditions. + + a. Attribution. + + 1. If You Share the Licensed Material (including in modified + form), You must: + + a. retain the following if it is supplied by the Licensor + with the Licensed Material: + + i. identification of the creator(s) of the Licensed + Material and any others designated to receive + attribution, in any reasonable manner requested by + the Licensor (including by pseudonym if + designated); + + ii. a copyright notice; + + iii. a notice that refers to this Public License; + + iv. a notice that refers to the disclaimer of + warranties; + + v. a URI or hyperlink to the Licensed Material to the + extent reasonably practicable; + + b. indicate if You modified the Licensed Material and + retain an indication of any previous modifications; and + + c. indicate the Licensed Material is licensed under this + Public License, and include the text of, or the URI or + hyperlink to, this Public License. + + 2. You may satisfy the conditions in Section 3(a)(1) in any + reasonable manner based on the medium, means, and context in + which You Share the Licensed Material. For example, it may be + reasonable to satisfy the conditions by providing a URI or + hyperlink to a resource that includes the required + information. + + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent + reasonably practicable. + + b. ShareAlike. + + In addition to the conditions in Section 3(a), if You Share + Adapted Material You produce, the following conditions also apply. + + 1. The Adapter's License You apply must be a Creative Commons + license with the same License Elements, this version or + later, or a BY-SA Compatible License. + + 2. You must include the text of, or the URI or hyperlink to, the + Adapter's License You apply. You may satisfy this condition + in any reasonable manner based on the medium, means, and + context in which You Share Adapted Material. + + 3. You may not offer or impose any additional or different terms + or conditions on, or apply any Effective Technological + Measures to, Adapted Material that restrict exercise of the + rights granted under the Adapter's License You apply. + + + Section 4 -- Sui Generis Database Rights. + + Where the Licensed Rights include Sui Generis Database Rights that + apply to Your use of the Licensed Material: + + a. for the avoidance of doubt, Section 2(a)(1) grants You the right + to extract, reuse, reproduce, and Share all or a substantial + portion of the contents of the database; + + b. if You include all or a substantial portion of the database + contents in a database in which You have Sui Generis Database + Rights, then the database in which You have Sui Generis Database + Rights (but not its individual contents) is Adapted Material, + + including for purposes of Section 3(b); and + c. You must comply with the conditions in Section 3(a) if You Share + all or a substantial portion of the contents of the database. + + For the avoidance of doubt, this Section 4 supplements and does not + replace Your obligations under this Public License where the Licensed + Rights include other Copyright and Similar Rights. + + + Section 5 -- Disclaimer of Warranties and Limitation of Liability. + + a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE + EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS + AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF + ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, + IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, + WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, + ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT + KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT + ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. + + b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE + TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, + NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, + INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, + COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR + USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR + DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR + IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. + + c. The disclaimer of warranties and limitation of liability provided + above shall be interpreted in a manner that, to the extent + possible, most closely approximates an absolute disclaimer and + waiver of all liability. + + + Section 6 -- Term and Termination. + + a. This Public License applies for the term of the Copyright and + Similar Rights licensed here. However, if You fail to comply with + this Public License, then Your rights under this Public License + terminate automatically. + + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + + 1. automatically as of the date the violation is cured, provided + it is cured within 30 days of Your discovery of the + violation; or + + 2. upon express reinstatement by the Licensor. + + For the avoidance of doubt, this Section 6(b) does not affect any + right the Licensor may have to seek remedies for Your violations + of this Public License. + + c. For the avoidance of doubt, the Licensor may also offer the + Licensed Material under separate terms or conditions or stop + distributing the Licensed Material at any time; however, doing so + will not terminate this Public License. + + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public + License. + + + Section 7 -- Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different + terms or conditions communicated by You unless expressly agreed. + + b. Any arrangements, understandings, or agreements regarding the + Licensed Material not stated herein are separate from and + independent of the terms and conditions of this Public License. + + + Section 8 -- Interpretation. + + a. For the avoidance of doubt, this Public License does not, and + shall not be interpreted to, reduce, limit, restrict, or impose + conditions on any use of the Licensed Material that could lawfully + be made without permission under this Public License. + + b. To the extent possible, if any provision of this Public License is + deemed unenforceable, it shall be automatically reformed to the + minimum extent necessary to make it enforceable. If the provision + cannot be reformed, it shall be severed from this Public License + without affecting the enforceability of the remaining terms and + conditions. + + c. No term or condition of this Public License will be waived and no + failure to comply consented to unless expressly agreed to by the + Licensor. + + d. Nothing in this Public License constitutes or may be interpreted + as a limitation upon, or waiver of, any privileges and immunities + that apply to the Licensor or You, including from the legal + processes of any jurisdiction or authority. + + ======================================================================= + + Creative Commons is not a party to its public + licenses. Notwithstanding, Creative Commons may elect to apply one of + its public licenses to material it publishes and in those instances + will be considered the “Licensor.” The text of the Creative Commons + public licenses is dedicated to the public domain under the CC0 Public + Domain Dedication. Except for the limited purpose of indicating that + material is shared under a Creative Commons public license or as + otherwise permitted by the Creative Commons policies published at + creativecommons.org/policies, Creative Commons does not authorize the + use of the trademark "Creative Commons" or any other trademark or logo + of Creative Commons without its prior written consent including, + without limitation, in connection with any unauthorized modifications + to any of its public licenses or any other arrangements, + understandings, or agreements concerning use of licensed material. For + the avoidance of doubt, this paragraph does not form part of the + public licenses. + + Creative Commons may be contacted at creativecommons.org. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/erlang-p1-pkix/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/erlang-p1-pkix/stable_copyright-detailed.expected.yml index bd73b3316cd..96fed6e87f5 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/erlang-p1-pkix/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/erlang-p1-pkix/stable_copyright-detailed.expected.yml @@ -1,8 +1,57 @@ -- - Apache-2.0 +primary_license: apache-2.0 +declared_license: - Apache-2.0 - Apache-2.0 -- (apache-2.0 AND apache-2.0) AND (apache-2.0 AND apache-2.0) -- | + - Apache-2.0 +license_expression: (apache-2.0 AND apache-2.0) AND (apache-2.0 AND apache-2.0) +copyright: | 2002-2019 ProcessOne 2018-2019 Evgeny Khramtsov 2018-2019 Philipp Huebner +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '100.0' + start_line: 1 + end_line: 14 + matcher: 1-hash + rule_length: 109 + matched_length: 109 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_845.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + On Debian systems, the complete text of the Apache version 2.0 license + can be found in "/usr/share/common-licenses/Apache-2.0". diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/erlang-p1-pkix/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/erlang-p1-pkix/stable_copyright.expected.yml index 756e3b6b0f7..1a80e710c8f 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/erlang-p1-pkix/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/e/erlang-p1-pkix/stable_copyright.expected.yml @@ -1,5 +1,54 @@ -- - Apache-2.0 -- apache-2.0 AND apache-2.0 -- | +primary_license: apache-2.0 +declared_license: + - Apache-2.0 +license_expression: apache-2.0 +copyright: | 2002-2019 ProcessOne 2018-2019 Evgeny Khramtsov +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '100.0' + start_line: 1 + end_line: 14 + matcher: 1-hash + rule_length: 109 + matched_length: 109 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_845.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + On Debian systems, the complete text of the Apache version 2.0 license + can be found in "/usr/share/common-licenses/Apache-2.0". diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fig2dev/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fig2dev/stable_copyright-detailed.expected.yml index eb92915f993..87e6b47664c 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fig2dev/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fig2dev/stable_copyright-detailed.expected.yml @@ -1,12 +1,14 @@ -- - xfig +primary_license: mit-xfig +declared_license: + - xfig - GPL-2+ - GPL-2+ - GPL-2+ - MIT - GPL-3 -- mit-xfig AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) AND mit-old-style-no-advert - AND (gpl-3.0 AND gpl-3.0-plus AND gpl-3.0 AND gpl-3.0) -- | +license_expression: mit-xfig AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) + AND mit-old-style-no-advert AND (gpl-3.0 AND gpl-3.0-plus AND gpl-3.0 AND gpl-3.0) +copyright: | Copyright (c) 1991-1999 by Micah Beck Parts Copyright (c) 1985-1988 by Supoj Sutanthavibul Parts Copyright (c) 1988 by Conrad Kwok @@ -36,3 +38,176 @@ Copyright (C) 2006 Michael Pfeiffer -- p3fff@web.de Copyright, 1987, Massachusetts Institute of Technology Copyright (C) 1997, 2003-2004, 2006-2007, 2009-2015 Free Software Foundation, Inc. +matches: + - score: '87.78' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 81 + matched_length: 79 + match_coverage: '97.53' + rule_relevance: 90 + identifier: mit-xfig_1.RULE + license_expression: mit-xfig + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Any party obtaining a copy of these files is granted, free of charge, a + full and unrestricted irrevocable, world-wide, paid up, royalty-free, + nonexclusive right and license to deal in this software and documentation + files (the "Software"), including without limitation the rights to use, + copy, modify, merge, publish distribute, sublicense and/or sell copies of + the Software, and to permit persons who receive copies from any such + party to do so, with the only requirement being that [the] [above] [copyright] + [and] [this] [permission] notice remain intact. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '89.93' + start_line: 1 + end_line: 16 + matcher: 3-seq + rule_length: 139 + matched_length: 125 + match_coverage: '89.93' + rule_relevance: 100 + identifier: gpl-2.0-plus_612.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License [version] [2] [or] [3] as + published by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin [St], Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 96 + matched_length: 96 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_3.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, distribute, and sell this software and its + documentation for any purpose is hereby granted without fee, provided that + the above copyright notice appear in all copies and that both that + copyright notice and this permission notice appear in supporting + documentation, and that the name of M.I.T. not be used in advertising or + publicity pertaining to distribution of the software without specific, + written prior permission. M.I.T. makes no representations about the + suitability of this software for any purpose. It is provided "as is" + without express or implied warranty. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_rdesc_1.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 2-aho + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_96.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 3 + - score: '33.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fig2dev/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fig2dev/stable_copyright.expected.yml index fa4f982b829..3812fa0d3fc 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fig2dev/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fig2dev/stable_copyright.expected.yml @@ -1,10 +1,11 @@ -- - xfig +primary_license: mit-xfig +declared_license: + - xfig - GPL-2+ - MIT - GPL-3 -- mit-xfig AND (gpl-2.0-plus AND gpl-2.0-plus) AND mit-old-style-no-advert AND (gpl-3.0 AND - gpl-3.0-plus AND gpl-3.0 AND gpl-3.0) -- | +license_expression: mit-xfig AND gpl-2.0-plus AND mit-old-style-no-advert AND (gpl-3.0 AND gpl-3.0-plus) +copyright: | Copyright (c) 1991-1999 by Micah Beck Parts Copyright (c) 1985-1988 by Supoj Sutanthavibul Parts Copyright (c) 1988 by Conrad Kwok @@ -26,3 +27,176 @@ Copyright (C) 2006 Michael Pfeiffer -- p3fff@web.de Copyright, 1987, Massachusetts Institute of Technology Copyright (C) 1997, 2003-2004, 2006-2007, 2009-2015 Free Software Foundation, Inc. +matches: + - score: '87.78' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 81 + matched_length: 79 + match_coverage: '97.53' + rule_relevance: 90 + identifier: mit-xfig_1.RULE + license_expression: mit-xfig + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Any party obtaining a copy of these files is granted, free of charge, a + full and unrestricted irrevocable, world-wide, paid up, royalty-free, + nonexclusive right and license to deal in this software and documentation + files (the "Software"), including without limitation the rights to use, + copy, modify, merge, publish distribute, sublicense and/or sell copies of + the Software, and to permit persons who receive copies from any such + party to do so, with the only requirement being that [the] [above] [copyright] + [and] [this] [permission] notice remain intact. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '89.93' + start_line: 1 + end_line: 16 + matcher: 3-seq + rule_length: 139 + matched_length: 125 + match_coverage: '89.93' + rule_relevance: 100 + identifier: gpl-2.0-plus_612.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License [version] [2] [or] [3] as + published by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin [St], Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 96 + matched_length: 96 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_3.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, distribute, and sell this software and its + documentation for any purpose is hereby granted without fee, provided that + the above copyright notice appear in all copies and that both that + copyright notice and this permission notice appear in supporting + documentation, and that the name of M.I.T. not be used in advertising or + publicity pertaining to distribution of the software without specific, + written prior permission. M.I.T. makes no representations about the + suitability of this software for any purpose. It is provided "as is" + without express or implied warranty. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_rdesc_1.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 2-aho + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_96.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 3 + - score: '33.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/freeorion/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/freeorion/stable_copyright-detailed.expected.yml index b66a618ce88..db63f52ab06 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/freeorion/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/freeorion/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2 +primary_license: gpl-2.0 AND gpl-2.0-plus +declared_license: + - GPL-2 - CC-BY-SA-3.0 - LGPL-2.1+ - BSL-1.0 @@ -14,11 +16,12 @@ - Apache-2.0 - CC-BY-SA-3.0 - DejaVu-License -- (gpl-2.0 AND gpl-2.0-plus) AND cc-by-sa-3.0 AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.0-plus - AND lgpl-2.1) AND boost-1.0 AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.0-plus AND lgpl-2.1) - AND bsd-new AND (bitstream AND bitstream) AND (apache-2.0 AND apache-2.0 AND apache-2.0) AND - (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.0-plus AND lgpl-2.1) -- | +license_expression: (gpl-2.0 AND gpl-2.0-plus) AND cc-by-sa-3.0 AND (cc-by-sa-3.0 AND gpl-2.0) + AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.0-plus AND lgpl-2.1) AND boost-1.0 AND (lgpl-2.1-plus + AND lgpl-2.1-plus AND lgpl-2.0-plus AND lgpl-2.1) AND bsd-new AND (bitstream AND bitstream) + AND (apache-2.0 AND apache-2.0 AND apache-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.0-plus + AND lgpl-2.1) +copyright: | The FreeOrion project The FreeOrion project 2003-2008, T. Zachary Laine @@ -31,3 +34,784 @@ 2015, Google Inc. 2013-2014, Dmitry Smirnov 2013-2018, Markus Koschany +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '88.1' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 126 + matched_length: 111 + match_coverage: '88.1' + rule_relevance: 100 + identifier: gpl-2.0-plus_38.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License [2] as published by + the Free Software Foundation. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 11 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_215.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Library General Public License + - score: '100.0' + start_line: 12 + end_line: 12 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_82.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 211 + matched_length: 211 + match_coverage: '100.0' + rule_relevance: 100 + identifier: boost-1.0.LICENSE + license_expression: boost-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Boost Software License - Version 1.0 - August 17th, 2003 + + Permission is hereby granted, free of charge, to any person or organization + obtaining a copy of the software and accompanying documentation covered by + this license (the "Software") to use, reproduce, display, distribute, + execute, and transmit the Software, and to prepare derivative works of the + Software, and to permit third-parties to whom the Software is furnished to + do so, all subject to the following: + + The copyright notices in the Software and this entire statement, including + the above license grant, this restriction and the following disclaimer, + must be included in all copies of the Software, in whole or in part, and + all derivative works of the Software, unless such copies or derivative + works are solely in the form of machine-executable object code generated by + a source language processor. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT + SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE + FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '78.42' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 101 + matched_length: 88 + match_coverage: '87.13' + rule_relevance: 90 + identifier: bsd-new_1036.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + * Neither the [names] [of] [Kitware], [Inc]., [the] [Insight] [Software] [Consortium], + [nor] [the] [names] [of] [their] contributors may be used to endorse or promote + products derived from this software without specific prior written + permission. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_182.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the Apache license version 2.0 + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: spdx_license_id_apache-2.0_for_apache-2.0.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache-2.0. + - score: '99.82' + start_line: 1 + end_line: 376 + matcher: 3-seq + rule_length: 3346 + matched_length: 3340 + match_coverage: '99.82' + rule_relevance: 100 + identifier: cc-by-sa-3.0_41.RULE + license_expression: cc-by-sa-3.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Creative Commons Attribution-ShareAlike 3.0 Unported + ․ + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION + ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE + INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM + ITS USE. + ․ + License + ․ + THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE + COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY + COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS + AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. + ․ + BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE + TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY + BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS + CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND + CONDITIONS. + ․ + 1. Definitions + ․ + a. "Adaptation" means a work based upon the Work, or upon the Work and + other pre-existing works, such as a translation, adaptation, derivative + work, arrangement of music or other alterations of a literary or + artistic work, or phonogram or performance and includes cinematographic + adaptations or any other form in which the Work may be recast, + transformed, or adapted including in any form recognizably derived from + the original, except that a work that constitutes a Collection will not + be considered an Adaptation for the purpose of this License. For the + avoidance of doubt, where the Work is a musical work, performance or + phonogram, the synchronization of the Work in timed-relation with a + moving image ("synching") will be considered an Adaptation for the + purpose of this License. + ․ + b. "Collection" means a collection of literary or artistic works, such + as encyclopedias and anthologies, or performances, phonograms or + broadcasts, or other works or subject matter other than works listed in + Section 1(f) below, which, by reason of the selection and arrangement of + their contents, constitute intellectual creations, in which the Work is + included in its entirety in unmodified form along with one or more other + contributions, each constituting separate and independent works in + themselves, which together are assembled into a collective whole. A work + that constitutes a Collection will not be considered an Adaptation (as + defined below) for the purposes of this License. + ․ + c. "Creative Commons Compatible License" means a license that is listed + at http://creativecommons.org/compatiblelicenses that has been approved + by Creative Commons as being essentially equivalent to this License, + including, at a minimum, because that license: (i) contains terms that + have the same purpose, meaning and effect as the License Elements of + this License; and, (ii) explicitly permits the relicensing of + adaptations of works made available under that license under this + License or a Creative Commons jurisdiction license with the same License + Elements as this License. + ․ + d. "Distribute" means to make available to the public the original and + copies of the Work or Adaptation, as appropriate, through sale or other + transfer of ownership. + ․ + e. "License Elements" means the following high-level license attributes + as selected by Licensor and indicated in the title of this License: + Attribution, ShareAlike. + ․ + f. "Licensor" means the individual, individuals, entity or entities that + offer(s) the Work under the terms of this License. + ․ + g. "Original Author" means, in the case of a literary or artistic work, + the individual, individuals, entity or entities who created the Work or + if no individual or entity can be identified, the publisher; and in + addition (i) in the case of a performance the actors, singers, + musicians, dancers, and other persons who act, sing, deliver, declaim, + play in, interpret or otherwise perform literary or artistic works or + expressions of folklore; (ii) in the case of a phonogram the producer + being the person or legal entity who first fixes the sounds of a + performance or other sounds; and, (iii) in the case of broadcasts, the + organization that transmits the broadcast. + ․ + h. "Work" means the literary and/or artistic work offered under the + terms of this License including without limitation any production in the + literary, scientific and artistic domain, whatever may be the mode or + form of its expression including digital form, such as a book, pamphlet + and other writing; a lecture, address, sermon or other work of the same + nature; a dramatic or dramatico-musical work; a choreographic work or + entertainment in dumb show; a musical composition with or without words; + a cinematographic work to which are assimilated works expressed by a + process analogous to cinematography; a work of drawing, painting, + architecture, sculpture, engraving or lithography; a photographic work + to which are assimilated works expressed by a process analogous to + photography; a work of applied art; an illustration, map, plan, sketch + or three-dimensional work relative to geography, topography, + architecture or science; a performance; a broadcast; a phonogram; a + compilation of data to the extent it is protected as a copyrightable + work; or a work performed by a variety or circus performer to the extent + it is not otherwise considered a literary or artistic work. + ․ + i. "You" means an individual or entity exercising rights under this + License who has not previously violated the terms of this License with + respect to the Work, or who has received express permission from the + Licensor to exercise rights under this License despite a previous + violation. + ․ + j. "Publicly Perform" means to perform public recitations of the Work + and to communicate to the public those public recitations, by any means + or process, including by wire or wireless means or public digital + performances; to make available to the public Works in such a way that + members of the public may access these Works from a place and at a place + individually chosen by them; to perform the Work to the public by any + means or process and the communication to the public of the performances + of the Work, including by public digital performance; to broadcast and + rebroadcast the Work by any means including signs, sounds or images. + ․ + k. "Reproduce" means to make copies of the Work by any means including + without limitation by sound or visual recordings and the right of + fixation and reproducing fixations of the Work, including storage of a + protected performance or phonogram in digital form or other electronic + medium. + ․ + 2. Fair Dealing Rights. Nothing in this License is intended to reduce, + limit, or restrict any uses free from copyright or rights arising from + limitations or exceptions that are provided for in connection with the + copyright protection under copyright law or other applicable laws. + ․ + 3. License Grant. Subject to the terms and conditions of this License, + Licensor hereby grants You a worldwide, royalty-free, non-exclusive, + perpetual (for the duration of the applicable copyright) license to + exercise the rights in the Work as stated below: + ․ + a. to Reproduce the Work, to incorporate the Work into one or more + Collections, and to Reproduce the Work as incorporated in the + Collections; + ․ + b. to create and Reproduce Adaptations provided that any such + Adaptation, including any translation in any medium, takes reasonable + steps to clearly label, demarcate or otherwise identify that changes + were made to the original Work. For example, a translation could be + marked "The original work was translated from English to Spanish," or a + modification could indicate "The original work has been modified."; + ․ + c. to Distribute and Publicly Perform the Work including as incorporated + in Collections; and, + ․ + d. to Distribute and Publicly Perform Adaptations. + ․ + e. For the avoidance of doubt: + ․ + i. Non-waivable Compulsory License Schemes. In those jurisdictions in + which the right to collect royalties through any statutory or compulsory + licensing scheme cannot be waived, the Licensor reserves the exclusive + right to collect such royalties for any exercise by You of the rights + granted under this License; + ․ + ii. Waivable Compulsory License Schemes. In those jurisdictions in which + the right to collect royalties through any statutory or compulsory + licensing scheme can be waived, the Licensor waives the exclusive right + to collect such royalties for any exercise by You of the rights granted + under this License; and, + ․ + iii. Voluntary License Schemes. The Licensor waives the right to collect + royalties, whether individually or, in the event that the Licensor is a + member of a collecting society that administers voluntary licensing + schemes, via that society, from any exercise by You of the rights + granted under this License. + ․ + The above rights may be exercised in all media and formats whether now + known or hereafter devised. The above rights include the right to make + such modifications as are technically necessary to exercise the rights + in other media and formats. Subject to Section 8(f), all rights not + expressly granted by Licensor are hereby reserved. + ․ + 4. Restrictions. The license granted in Section 3 above is expressly + made subject to and limited by the following restrictions: + ․ + a. You may Distribute or Publicly Perform the Work only under the terms + of this License. You must include a copy of, or the Uniform Resource + Identifier (URI) for, this License with every copy of the Work You + Distribute or Publicly Perform. You may not offer or impose any terms on + the Work that restrict the terms of this License or the ability of the + recipient of the Work to exercise the rights granted to that recipient + under the terms of the License. You may not sublicense the Work. You + must keep intact all notices that refer to this License and to the + disclaimer of warranties with every copy of the Work You Distribute or + Publicly Perform. When You Distribute or Publicly Perform the Work, You + may not impose any effective technological measures on the Work that + restrict the ability of a recipient of the Work from You to exercise the + rights granted to that recipient under the terms of the License. This + Section 4(a) applies to the Work as incorporated in a Collection, but + this does not require the Collection apart from the Work itself to be + made subject to the terms of this License. If You create a Collection, + upon notice from any Licensor You must, to the extent practicable, + remove from the Collection any credit as required by Section 4(c), as + requested. If You create an Adaptation, upon notice from any Licensor + You must, to the extent practicable, remove from the Adaptation any + credit as required by Section 4(c), as requested. + ․ + b. You may Distribute or Publicly Perform an Adaptation only under the + terms of: (i) this License; (ii) a later version of this License with + the same License Elements as this License; (iii) a Creative Commons + jurisdiction license (either this or a later license version) that + contains the same License Elements as this License (e.g., + Attribution-ShareAlike 3.0 US)); (iv) a Creative Commons Compatible + License. If you license the Adaptation under one of the licenses + mentioned in (iv), you must comply with the terms of that license. If + you license the Adaptation under the terms of any of the licenses + mentioned in (i), (ii) or (iii) (the "Applicable License"), you must + comply with the terms of the Applicable License generally and the + following provisions: (I) You must include a copy of, or the URI for, + the Applicable License with every copy of each Adaptation You Distribute + or Publicly Perform; (II) You may not offer or impose any terms on the + Adaptation that restrict the terms of the Applicable License or the + ability of the recipient of the Adaptation to exercise the rights + granted to that recipient under the terms of the Applicable License; + (III) You must keep intact all notices that refer to the Applicable + License and to the disclaimer of warranties with every copy of the Work + as included in the Adaptation You Distribute or Publicly Perform; (IV) + when You Distribute or Publicly Perform the Adaptation, You may not + impose any effective technological measures on the Adaptation that + restrict the ability of a recipient of the Adaptation from You to + exercise the rights granted to that recipient under the terms of the + Applicable License. This Section 4(b) applies to the Adaptation as + incorporated in a Collection, but this does not require the Collection + apart from the Adaptation itself to be made subject to the terms of the + Applicable License. + ․ + c. If You Distribute, or Publicly Perform the Work or any Adaptations or + Collections, You must, unless a request has been made pursuant to + Section 4(a), keep intact all copyright notices for the Work and + provide, reasonable to the medium or means You are utilizing: (i) the + name of the Original Author (or pseudonym, if applicable) if supplied, + and/or if the Original Author and/or Licensor designate another party or + parties (e.g., a sponsor institute, publishing entity, journal) for + attribution ("Attribution Parties") in Licensor's copyright notice, + terms of service or by other reasonable means, the name of such party or + parties; (ii) the title of the Work if supplied; (iii) to the extent + reasonably practicable, the URI, if any, that Licensor specifies to be + associated with the Work, unless such URI does not refer to the + copyright notice or licensing information for the Work; and (iv) , + consistent with Ssection 3(b), in the case of an Adaptation, a credit + identifying the use of the Work in the Adaptation (e.g., "French + translation of the Work by Original Author," or "Screenplay based on + original Work by Original Author"). The credit required by this Section + 4(c) may be implemented in any reasonable manner; provided, however, + that in the case of a Adaptation or Collection, at a minimum such credit + will appear, if a credit for all contributing authors of the Adaptation + or Collection appears, then as part of these credits and in a manner at + least as prominent as the credits for the other contributing authors. + For the avoidance of doubt, You may only use the credit required by this + Section for the purpose of attribution in the manner set out above and, + by exercising Your rights under this License, You may not implicitly or + explicitly assert or imply any connection with, sponsorship or + endorsement by the Original Author, Licensor and/or Attribution Parties, + as appropriate, of You or Your use of the Work, without the separate, + express prior written permission of the Original Author, Licensor and/or + Attribution Parties. + ․ + d. Except as otherwise agreed in writing by the Licensor or as may be + otherwise permitted by applicable law, if You Reproduce, Distribute or + Publicly Perform the Work either by itself or as part of any Adaptations + or Collections, You must not distort, mutilate, modify or take other + derogatory action in relation to the Work which would be prejudicial to + the Original Author's honor or reputation. Licensor agrees that in those + jurisdictions (e.g. Japan), in which any exercise of the right granted + in Section 3(b) of this License (the right to make Adaptations) would be + deemed to be a distortion, mutilation, modification or other derogatory + action prejudicial to the Original Author's honor and reputation, the + Licensor will waive or not assert, as appropriate, this Section, to the + fullest extent permitted by the applicable national law, to enable You + to reasonably exercise Your right under Section 3(b) of this License + (right to make Adaptations) but not otherwise. + ․ + 5. Representations, Warranties and Disclaimer + ․ + UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR + OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY + KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, + INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, + FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF + LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, + WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE + EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. + ․ + 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE + LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR + ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES + ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS + BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + ․ + 7. Termination + ․ + a. This License and the rights granted hereunder will terminate + automatically upon any breach by You of the terms of this License. + Individuals or entities who have received Adaptations or Collections + from You under this License, however, will not have their licenses + terminated provided such individuals or entities remain in full + compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will + survive any termination of this License. + ․ + b. Subject to the above terms and conditions, the license granted here + is perpetual (for the duration of the applicable copyright in the Work). + Notwithstanding the above, Licensor reserves the right to release the + Work under different license terms or to stop distributing the Work at + any time; provided, however that any such election will not serve to + withdraw this License (or any other license that has been, or is + required to be, granted under the terms of this License), and this + License will continue in full force and effect unless terminated as + stated above. + ․ + 8. Miscellaneous + ․ + a. Each time You Distribute or Publicly Perform the Work or a + Collection, the Licensor offers to the recipient a license to the Work + on the same terms and conditions as the license granted to You under + this License. + ․ + b. Each time You Distribute or Publicly Perform an Adaptation, Licensor + offers to the recipient a license to the original Work on the same terms + and conditions as the license granted to You under this License. + ․ + c. If any provision of this License is invalid or unenforceable under + applicable law, it shall not affect the validity or enforceability of + the remainder of the terms of this License, and without further action + by the parties to this agreement, such provision shall be reformed to + the minimum extent necessary to make such provision valid and + enforceable. + ․ + d. No term or provision of this License shall be deemed waived and no + breach consented to unless such waiver or consent shall be in writing + and signed by the party to be charged with such waiver or consent. + ․ + e. This License constitutes the entire agreement between the parties + with respect to the Work licensed here. There are no understandings, + agreements or representations with respect to the Work not specified + here. Licensor shall not be bound by any additional provisions that may + appear in any communication from You. This License may not be modified + without the mutual written agreement of the Licensor and You. + ․ + f. The rights granted under, and the subject matter referenced, in this + License were drafted utilizing the terminology of the Berne Convention + for the Protection of Literary and Artistic Works (as amended on + September 28, 1979), the Rome Convention of 1961, the WIPO Copyright + Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and + the Universal Copyright Convention (as revised on July 24, 1971). These + rights and subject matter take effect in the relevant jurisdiction in + which the License terms are sought to be enforced according to the + corresponding provisions of the implementation of those treaty + provisions in the applicable national law. If the standard suite of + rights granted under applicable copyright law includes additional rights + not granted under this License, such additional rights are deemed to be + included in the License; this License is not intended to restrict the + license of any rights under applicable law. + ․ + ․ + Creative Commons Notice + ․ + Creative Commons is not a party to this License, and makes no warranty + whatsoever in connection with the Work. Creative Commons will not be + liable to You or any party on any legal theory for any damages + whatsoever, including without limitation any general, special, + incidental or consequential damages arising in connection to this + license. Notwithstanding the foregoing two (2) sentences, if Creative + Commons has expressly identified itself as the Licensor hereunder, it + shall have all rights and obligations of Licensor. + ․ + Except for the limited purpose of indicating to the public that the Work + is licensed under the CCPL, Creative Commons does not authorize the use + by either party of the trademark "Creative Commons" or any related + trademark or logo of Creative Commons without the prior written consent + of Creative Commons. Any permitted use will be in compliance with + Creative Commons' then-current trademark usage guidelines, as may be + published on its website or otherwise made available upon request from + time to time. For the avoidance of doubt, this trademark restriction + does not form part of the License. + ․ + Creative Commons may be contacted at http://creativecommons.org/. + - score: '100.0' + start_line: 4 + end_line: 43 + matcher: 2-aho + rule_length: 357 + matched_length: 357 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bitstream.LICENSE + license_expression: bitstream + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of the fonts accompanying this license ("Fonts") and associated + documentation files (the "Font Software"), to reproduce and distribute the + Font Software, including without limitation the rights to use, copy, merge, + publish, distribute, and/or sell copies of the Font Software, and to permit + persons to whom the Font Software is furnished to do so, subject to the + following conditions: + + The above copyright and trademark notices and this permission notice shall + be included in all copies of one or more of the Font Software typefaces. + + The Font Software may be modified, altered, or added to, and in particular + the designs of glyphs or characters in the Fonts may be modified and + additional glyphs or characters may be added to the Fonts, only if the fonts + are renamed to names not containing either the words "Bitstream" or the word + "Vera". + + This License becomes null and void to the extent applicable to Fonts or Font + Software that has been modified and is distributed under the "Bitstream + Vera" names. + + The Font Software may be sold as part of a larger software package but no + copy of one or more of the Font Software typefaces may be sold by itself. + + THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, + TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME + FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING + ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF + THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE + FONT SOFTWARE. + + Except as contained in this notice, the names of Gnome, the Gnome + Foundation, and Bitstream Inc., shall not be used in advertising or + otherwise to promote the sale, use or other dealings in this Font Software + without prior written authorization from the Gnome Foundation or Bitstream + Inc., respectively. For further information, contact: fonts at gnome dot + org. + - score: '99.0' + start_line: 50 + end_line: 91 + matcher: 2-aho + rule_length: 349 + matched_length: 349 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bitstream_9.RULE + license_expression: bitstream + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of the fonts accompanying this license ("Fonts") and + associated documentation files (the "Font Software"), to reproduce + and distribute the modifications to the Bitstream Vera Font Software, + including without limitation the rights to use, copy, merge, publish, + distribute, and/or sell copies of the Font Software, and to permit + persons to whom the Font Software is furnished to do so, subject to + the following conditions: + + The above copyright and trademark notices and this permission notice + shall be included in all copies of one or more of the Font Software + typefaces. + + The Font Software may be modified, altered, or added to, and in + particular the designs of glyphs or characters in the Fonts may be + modified and additional glyphs or characters may be added to the + Fonts, only if the fonts are renamed to names not containing either + the words "Tavmjong Bah" or the word "Arev". + + This License becomes null and void to the extent applicable to Fonts + or Font Software that has been modified and is distributed under the + "Tavmjong Bah Arev" names. + + The Font Software may be sold as part of a larger software package but + no copy of one or more of the Font Software typefaces may be sold by + itself. + + THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT + OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL + TAVMJONG BAH BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL + DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM + OTHER DEALINGS IN THE FONT SOFTWARE. + + Except as contained in this notice, the name of Tavmjong Bah shall not + be used in advertising or otherwise to promote the sale, use or other + dealings in this Font Software without prior written authorization + from Tavmjong Bah. For further information, contact: tavmjong @ free + fr. + - score: '65.52' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 29 + matched_length: '19' + match_coverage: '65.52' + rule_relevance: 100 + identifier: cc-by-sa-3.0_32.RULE + license_expression: cc-by-sa-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is licensed under the Creative Commons + Attribution-[Share] [Alike] 3.0 Unported license. + (http://creativecommons.org/licenses/by-sa/3.0/) + - score: '100.0' + start_line: 8 + end_line: 9 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_822.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + licensed + under the GNU General Public License, Version 2. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/freeorion/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/freeorion/stable_copyright.expected.yml index 7740665eebb..bf15dc7fca4 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/freeorion/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/freeorion/stable_copyright.expected.yml @@ -1,14 +1,16 @@ -- - GPL-2 +primary_license: gpl-2.0 AND gpl-2.0-plus +declared_license: + - GPL-2 - CC-BY-SA-3.0 - LGPL-2.1+ - BSL-1.0 - BSD-3-clause - DejaVu-License - Apache-2.0 -- (gpl-2.0 AND gpl-2.0-plus) AND cc-by-sa-3.0 AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.0-plus - AND lgpl-2.1) AND boost-1.0 AND bsd-new AND (bitstream AND bitstream) AND (apache-2.0 AND - apache-2.0 AND apache-2.0) -- | +license_expression: (gpl-2.0 AND gpl-2.0-plus) AND cc-by-sa-3.0 AND (cc-by-sa-3.0 AND gpl-2.0) + AND (lgpl-2.1-plus AND lgpl-2.0-plus AND lgpl-2.1) AND boost-1.0 AND bsd-new AND bitstream + AND apache-2.0 +copyright: | The FreeOrion project 2003-2008, T. Zachary Laine 2006, Nemanja Trifunovic @@ -18,3 +20,784 @@ 2003, Bitstream Inc 2006, Tavmjong Bah 2015, Google Inc. +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '88.1' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 126 + matched_length: 111 + match_coverage: '88.1' + rule_relevance: 100 + identifier: gpl-2.0-plus_38.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License [2] as published by + the Free Software Foundation. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 11 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_215.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Library General Public License + - score: '100.0' + start_line: 12 + end_line: 12 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_82.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 211 + matched_length: 211 + match_coverage: '100.0' + rule_relevance: 100 + identifier: boost-1.0.LICENSE + license_expression: boost-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Boost Software License - Version 1.0 - August 17th, 2003 + + Permission is hereby granted, free of charge, to any person or organization + obtaining a copy of the software and accompanying documentation covered by + this license (the "Software") to use, reproduce, display, distribute, + execute, and transmit the Software, and to prepare derivative works of the + Software, and to permit third-parties to whom the Software is furnished to + do so, all subject to the following: + + The copyright notices in the Software and this entire statement, including + the above license grant, this restriction and the following disclaimer, + must be included in all copies of the Software, in whole or in part, and + all derivative works of the Software, unless such copies or derivative + works are solely in the form of machine-executable object code generated by + a source language processor. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT + SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE + FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '78.42' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 101 + matched_length: 88 + match_coverage: '87.13' + rule_relevance: 90 + identifier: bsd-new_1036.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + * Neither the [names] [of] [Kitware], [Inc]., [the] [Insight] [Software] [Consortium], + [nor] [the] [names] [of] [their] contributors may be used to endorse or promote + products derived from this software without specific prior written + permission. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_182.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the Apache license version 2.0 + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: spdx_license_id_apache-2.0_for_apache-2.0.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache-2.0. + - score: '99.82' + start_line: 1 + end_line: 376 + matcher: 3-seq + rule_length: 3346 + matched_length: 3340 + match_coverage: '99.82' + rule_relevance: 100 + identifier: cc-by-sa-3.0_41.RULE + license_expression: cc-by-sa-3.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Creative Commons Attribution-ShareAlike 3.0 Unported + ․ + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION + ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE + INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM + ITS USE. + ․ + License + ․ + THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE + COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY + COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS + AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. + ․ + BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE + TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY + BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS + CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND + CONDITIONS. + ․ + 1. Definitions + ․ + a. "Adaptation" means a work based upon the Work, or upon the Work and + other pre-existing works, such as a translation, adaptation, derivative + work, arrangement of music or other alterations of a literary or + artistic work, or phonogram or performance and includes cinematographic + adaptations or any other form in which the Work may be recast, + transformed, or adapted including in any form recognizably derived from + the original, except that a work that constitutes a Collection will not + be considered an Adaptation for the purpose of this License. For the + avoidance of doubt, where the Work is a musical work, performance or + phonogram, the synchronization of the Work in timed-relation with a + moving image ("synching") will be considered an Adaptation for the + purpose of this License. + ․ + b. "Collection" means a collection of literary or artistic works, such + as encyclopedias and anthologies, or performances, phonograms or + broadcasts, or other works or subject matter other than works listed in + Section 1(f) below, which, by reason of the selection and arrangement of + their contents, constitute intellectual creations, in which the Work is + included in its entirety in unmodified form along with one or more other + contributions, each constituting separate and independent works in + themselves, which together are assembled into a collective whole. A work + that constitutes a Collection will not be considered an Adaptation (as + defined below) for the purposes of this License. + ․ + c. "Creative Commons Compatible License" means a license that is listed + at http://creativecommons.org/compatiblelicenses that has been approved + by Creative Commons as being essentially equivalent to this License, + including, at a minimum, because that license: (i) contains terms that + have the same purpose, meaning and effect as the License Elements of + this License; and, (ii) explicitly permits the relicensing of + adaptations of works made available under that license under this + License or a Creative Commons jurisdiction license with the same License + Elements as this License. + ․ + d. "Distribute" means to make available to the public the original and + copies of the Work or Adaptation, as appropriate, through sale or other + transfer of ownership. + ․ + e. "License Elements" means the following high-level license attributes + as selected by Licensor and indicated in the title of this License: + Attribution, ShareAlike. + ․ + f. "Licensor" means the individual, individuals, entity or entities that + offer(s) the Work under the terms of this License. + ․ + g. "Original Author" means, in the case of a literary or artistic work, + the individual, individuals, entity or entities who created the Work or + if no individual or entity can be identified, the publisher; and in + addition (i) in the case of a performance the actors, singers, + musicians, dancers, and other persons who act, sing, deliver, declaim, + play in, interpret or otherwise perform literary or artistic works or + expressions of folklore; (ii) in the case of a phonogram the producer + being the person or legal entity who first fixes the sounds of a + performance or other sounds; and, (iii) in the case of broadcasts, the + organization that transmits the broadcast. + ․ + h. "Work" means the literary and/or artistic work offered under the + terms of this License including without limitation any production in the + literary, scientific and artistic domain, whatever may be the mode or + form of its expression including digital form, such as a book, pamphlet + and other writing; a lecture, address, sermon or other work of the same + nature; a dramatic or dramatico-musical work; a choreographic work or + entertainment in dumb show; a musical composition with or without words; + a cinematographic work to which are assimilated works expressed by a + process analogous to cinematography; a work of drawing, painting, + architecture, sculpture, engraving or lithography; a photographic work + to which are assimilated works expressed by a process analogous to + photography; a work of applied art; an illustration, map, plan, sketch + or three-dimensional work relative to geography, topography, + architecture or science; a performance; a broadcast; a phonogram; a + compilation of data to the extent it is protected as a copyrightable + work; or a work performed by a variety or circus performer to the extent + it is not otherwise considered a literary or artistic work. + ․ + i. "You" means an individual or entity exercising rights under this + License who has not previously violated the terms of this License with + respect to the Work, or who has received express permission from the + Licensor to exercise rights under this License despite a previous + violation. + ․ + j. "Publicly Perform" means to perform public recitations of the Work + and to communicate to the public those public recitations, by any means + or process, including by wire or wireless means or public digital + performances; to make available to the public Works in such a way that + members of the public may access these Works from a place and at a place + individually chosen by them; to perform the Work to the public by any + means or process and the communication to the public of the performances + of the Work, including by public digital performance; to broadcast and + rebroadcast the Work by any means including signs, sounds or images. + ․ + k. "Reproduce" means to make copies of the Work by any means including + without limitation by sound or visual recordings and the right of + fixation and reproducing fixations of the Work, including storage of a + protected performance or phonogram in digital form or other electronic + medium. + ․ + 2. Fair Dealing Rights. Nothing in this License is intended to reduce, + limit, or restrict any uses free from copyright or rights arising from + limitations or exceptions that are provided for in connection with the + copyright protection under copyright law or other applicable laws. + ․ + 3. License Grant. Subject to the terms and conditions of this License, + Licensor hereby grants You a worldwide, royalty-free, non-exclusive, + perpetual (for the duration of the applicable copyright) license to + exercise the rights in the Work as stated below: + ․ + a. to Reproduce the Work, to incorporate the Work into one or more + Collections, and to Reproduce the Work as incorporated in the + Collections; + ․ + b. to create and Reproduce Adaptations provided that any such + Adaptation, including any translation in any medium, takes reasonable + steps to clearly label, demarcate or otherwise identify that changes + were made to the original Work. For example, a translation could be + marked "The original work was translated from English to Spanish," or a + modification could indicate "The original work has been modified."; + ․ + c. to Distribute and Publicly Perform the Work including as incorporated + in Collections; and, + ․ + d. to Distribute and Publicly Perform Adaptations. + ․ + e. For the avoidance of doubt: + ․ + i. Non-waivable Compulsory License Schemes. In those jurisdictions in + which the right to collect royalties through any statutory or compulsory + licensing scheme cannot be waived, the Licensor reserves the exclusive + right to collect such royalties for any exercise by You of the rights + granted under this License; + ․ + ii. Waivable Compulsory License Schemes. In those jurisdictions in which + the right to collect royalties through any statutory or compulsory + licensing scheme can be waived, the Licensor waives the exclusive right + to collect such royalties for any exercise by You of the rights granted + under this License; and, + ․ + iii. Voluntary License Schemes. The Licensor waives the right to collect + royalties, whether individually or, in the event that the Licensor is a + member of a collecting society that administers voluntary licensing + schemes, via that society, from any exercise by You of the rights + granted under this License. + ․ + The above rights may be exercised in all media and formats whether now + known or hereafter devised. The above rights include the right to make + such modifications as are technically necessary to exercise the rights + in other media and formats. Subject to Section 8(f), all rights not + expressly granted by Licensor are hereby reserved. + ․ + 4. Restrictions. The license granted in Section 3 above is expressly + made subject to and limited by the following restrictions: + ․ + a. You may Distribute or Publicly Perform the Work only under the terms + of this License. You must include a copy of, or the Uniform Resource + Identifier (URI) for, this License with every copy of the Work You + Distribute or Publicly Perform. You may not offer or impose any terms on + the Work that restrict the terms of this License or the ability of the + recipient of the Work to exercise the rights granted to that recipient + under the terms of the License. You may not sublicense the Work. You + must keep intact all notices that refer to this License and to the + disclaimer of warranties with every copy of the Work You Distribute or + Publicly Perform. When You Distribute or Publicly Perform the Work, You + may not impose any effective technological measures on the Work that + restrict the ability of a recipient of the Work from You to exercise the + rights granted to that recipient under the terms of the License. This + Section 4(a) applies to the Work as incorporated in a Collection, but + this does not require the Collection apart from the Work itself to be + made subject to the terms of this License. If You create a Collection, + upon notice from any Licensor You must, to the extent practicable, + remove from the Collection any credit as required by Section 4(c), as + requested. If You create an Adaptation, upon notice from any Licensor + You must, to the extent practicable, remove from the Adaptation any + credit as required by Section 4(c), as requested. + ․ + b. You may Distribute or Publicly Perform an Adaptation only under the + terms of: (i) this License; (ii) a later version of this License with + the same License Elements as this License; (iii) a Creative Commons + jurisdiction license (either this or a later license version) that + contains the same License Elements as this License (e.g., + Attribution-ShareAlike 3.0 US)); (iv) a Creative Commons Compatible + License. If you license the Adaptation under one of the licenses + mentioned in (iv), you must comply with the terms of that license. If + you license the Adaptation under the terms of any of the licenses + mentioned in (i), (ii) or (iii) (the "Applicable License"), you must + comply with the terms of the Applicable License generally and the + following provisions: (I) You must include a copy of, or the URI for, + the Applicable License with every copy of each Adaptation You Distribute + or Publicly Perform; (II) You may not offer or impose any terms on the + Adaptation that restrict the terms of the Applicable License or the + ability of the recipient of the Adaptation to exercise the rights + granted to that recipient under the terms of the Applicable License; + (III) You must keep intact all notices that refer to the Applicable + License and to the disclaimer of warranties with every copy of the Work + as included in the Adaptation You Distribute or Publicly Perform; (IV) + when You Distribute or Publicly Perform the Adaptation, You may not + impose any effective technological measures on the Adaptation that + restrict the ability of a recipient of the Adaptation from You to + exercise the rights granted to that recipient under the terms of the + Applicable License. This Section 4(b) applies to the Adaptation as + incorporated in a Collection, but this does not require the Collection + apart from the Adaptation itself to be made subject to the terms of the + Applicable License. + ․ + c. If You Distribute, or Publicly Perform the Work or any Adaptations or + Collections, You must, unless a request has been made pursuant to + Section 4(a), keep intact all copyright notices for the Work and + provide, reasonable to the medium or means You are utilizing: (i) the + name of the Original Author (or pseudonym, if applicable) if supplied, + and/or if the Original Author and/or Licensor designate another party or + parties (e.g., a sponsor institute, publishing entity, journal) for + attribution ("Attribution Parties") in Licensor's copyright notice, + terms of service or by other reasonable means, the name of such party or + parties; (ii) the title of the Work if supplied; (iii) to the extent + reasonably practicable, the URI, if any, that Licensor specifies to be + associated with the Work, unless such URI does not refer to the + copyright notice or licensing information for the Work; and (iv) , + consistent with Ssection 3(b), in the case of an Adaptation, a credit + identifying the use of the Work in the Adaptation (e.g., "French + translation of the Work by Original Author," or "Screenplay based on + original Work by Original Author"). The credit required by this Section + 4(c) may be implemented in any reasonable manner; provided, however, + that in the case of a Adaptation or Collection, at a minimum such credit + will appear, if a credit for all contributing authors of the Adaptation + or Collection appears, then as part of these credits and in a manner at + least as prominent as the credits for the other contributing authors. + For the avoidance of doubt, You may only use the credit required by this + Section for the purpose of attribution in the manner set out above and, + by exercising Your rights under this License, You may not implicitly or + explicitly assert or imply any connection with, sponsorship or + endorsement by the Original Author, Licensor and/or Attribution Parties, + as appropriate, of You or Your use of the Work, without the separate, + express prior written permission of the Original Author, Licensor and/or + Attribution Parties. + ․ + d. Except as otherwise agreed in writing by the Licensor or as may be + otherwise permitted by applicable law, if You Reproduce, Distribute or + Publicly Perform the Work either by itself or as part of any Adaptations + or Collections, You must not distort, mutilate, modify or take other + derogatory action in relation to the Work which would be prejudicial to + the Original Author's honor or reputation. Licensor agrees that in those + jurisdictions (e.g. Japan), in which any exercise of the right granted + in Section 3(b) of this License (the right to make Adaptations) would be + deemed to be a distortion, mutilation, modification or other derogatory + action prejudicial to the Original Author's honor and reputation, the + Licensor will waive or not assert, as appropriate, this Section, to the + fullest extent permitted by the applicable national law, to enable You + to reasonably exercise Your right under Section 3(b) of this License + (right to make Adaptations) but not otherwise. + ․ + 5. Representations, Warranties and Disclaimer + ․ + UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR + OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY + KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, + INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, + FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF + LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, + WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE + EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. + ․ + 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE + LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR + ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES + ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS + BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + ․ + 7. Termination + ․ + a. This License and the rights granted hereunder will terminate + automatically upon any breach by You of the terms of this License. + Individuals or entities who have received Adaptations or Collections + from You under this License, however, will not have their licenses + terminated provided such individuals or entities remain in full + compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will + survive any termination of this License. + ․ + b. Subject to the above terms and conditions, the license granted here + is perpetual (for the duration of the applicable copyright in the Work). + Notwithstanding the above, Licensor reserves the right to release the + Work under different license terms or to stop distributing the Work at + any time; provided, however that any such election will not serve to + withdraw this License (or any other license that has been, or is + required to be, granted under the terms of this License), and this + License will continue in full force and effect unless terminated as + stated above. + ․ + 8. Miscellaneous + ․ + a. Each time You Distribute or Publicly Perform the Work or a + Collection, the Licensor offers to the recipient a license to the Work + on the same terms and conditions as the license granted to You under + this License. + ․ + b. Each time You Distribute or Publicly Perform an Adaptation, Licensor + offers to the recipient a license to the original Work on the same terms + and conditions as the license granted to You under this License. + ․ + c. If any provision of this License is invalid or unenforceable under + applicable law, it shall not affect the validity or enforceability of + the remainder of the terms of this License, and without further action + by the parties to this agreement, such provision shall be reformed to + the minimum extent necessary to make such provision valid and + enforceable. + ․ + d. No term or provision of this License shall be deemed waived and no + breach consented to unless such waiver or consent shall be in writing + and signed by the party to be charged with such waiver or consent. + ․ + e. This License constitutes the entire agreement between the parties + with respect to the Work licensed here. There are no understandings, + agreements or representations with respect to the Work not specified + here. Licensor shall not be bound by any additional provisions that may + appear in any communication from You. This License may not be modified + without the mutual written agreement of the Licensor and You. + ․ + f. The rights granted under, and the subject matter referenced, in this + License were drafted utilizing the terminology of the Berne Convention + for the Protection of Literary and Artistic Works (as amended on + September 28, 1979), the Rome Convention of 1961, the WIPO Copyright + Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and + the Universal Copyright Convention (as revised on July 24, 1971). These + rights and subject matter take effect in the relevant jurisdiction in + which the License terms are sought to be enforced according to the + corresponding provisions of the implementation of those treaty + provisions in the applicable national law. If the standard suite of + rights granted under applicable copyright law includes additional rights + not granted under this License, such additional rights are deemed to be + included in the License; this License is not intended to restrict the + license of any rights under applicable law. + ․ + ․ + Creative Commons Notice + ․ + Creative Commons is not a party to this License, and makes no warranty + whatsoever in connection with the Work. Creative Commons will not be + liable to You or any party on any legal theory for any damages + whatsoever, including without limitation any general, special, + incidental or consequential damages arising in connection to this + license. Notwithstanding the foregoing two (2) sentences, if Creative + Commons has expressly identified itself as the Licensor hereunder, it + shall have all rights and obligations of Licensor. + ․ + Except for the limited purpose of indicating to the public that the Work + is licensed under the CCPL, Creative Commons does not authorize the use + by either party of the trademark "Creative Commons" or any related + trademark or logo of Creative Commons without the prior written consent + of Creative Commons. Any permitted use will be in compliance with + Creative Commons' then-current trademark usage guidelines, as may be + published on its website or otherwise made available upon request from + time to time. For the avoidance of doubt, this trademark restriction + does not form part of the License. + ․ + Creative Commons may be contacted at http://creativecommons.org/. + - score: '100.0' + start_line: 4 + end_line: 43 + matcher: 2-aho + rule_length: 357 + matched_length: 357 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bitstream.LICENSE + license_expression: bitstream + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of the fonts accompanying this license ("Fonts") and associated + documentation files (the "Font Software"), to reproduce and distribute the + Font Software, including without limitation the rights to use, copy, merge, + publish, distribute, and/or sell copies of the Font Software, and to permit + persons to whom the Font Software is furnished to do so, subject to the + following conditions: + + The above copyright and trademark notices and this permission notice shall + be included in all copies of one or more of the Font Software typefaces. + + The Font Software may be modified, altered, or added to, and in particular + the designs of glyphs or characters in the Fonts may be modified and + additional glyphs or characters may be added to the Fonts, only if the fonts + are renamed to names not containing either the words "Bitstream" or the word + "Vera". + + This License becomes null and void to the extent applicable to Fonts or Font + Software that has been modified and is distributed under the "Bitstream + Vera" names. + + The Font Software may be sold as part of a larger software package but no + copy of one or more of the Font Software typefaces may be sold by itself. + + THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, + TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME + FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING + ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF + THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE + FONT SOFTWARE. + + Except as contained in this notice, the names of Gnome, the Gnome + Foundation, and Bitstream Inc., shall not be used in advertising or + otherwise to promote the sale, use or other dealings in this Font Software + without prior written authorization from the Gnome Foundation or Bitstream + Inc., respectively. For further information, contact: fonts at gnome dot + org. + - score: '99.0' + start_line: 50 + end_line: 91 + matcher: 2-aho + rule_length: 349 + matched_length: 349 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bitstream_9.RULE + license_expression: bitstream + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of the fonts accompanying this license ("Fonts") and + associated documentation files (the "Font Software"), to reproduce + and distribute the modifications to the Bitstream Vera Font Software, + including without limitation the rights to use, copy, merge, publish, + distribute, and/or sell copies of the Font Software, and to permit + persons to whom the Font Software is furnished to do so, subject to + the following conditions: + + The above copyright and trademark notices and this permission notice + shall be included in all copies of one or more of the Font Software + typefaces. + + The Font Software may be modified, altered, or added to, and in + particular the designs of glyphs or characters in the Fonts may be + modified and additional glyphs or characters may be added to the + Fonts, only if the fonts are renamed to names not containing either + the words "Tavmjong Bah" or the word "Arev". + + This License becomes null and void to the extent applicable to Fonts + or Font Software that has been modified and is distributed under the + "Tavmjong Bah Arev" names. + + The Font Software may be sold as part of a larger software package but + no copy of one or more of the Font Software typefaces may be sold by + itself. + + THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT + OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL + TAVMJONG BAH BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL + DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM + OTHER DEALINGS IN THE FONT SOFTWARE. + + Except as contained in this notice, the name of Tavmjong Bah shall not + be used in advertising or otherwise to promote the sale, use or other + dealings in this Font Software without prior written authorization + from Tavmjong Bah. For further information, contact: tavmjong @ free + fr. + - score: '65.52' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 29 + matched_length: '19' + match_coverage: '65.52' + rule_relevance: 100 + identifier: cc-by-sa-3.0_32.RULE + license_expression: cc-by-sa-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is licensed under the Creative Commons + Attribution-[Share] [Alike] 3.0 Unported license. + (http://creativecommons.org/licenses/by-sa/3.0/) + - score: '100.0' + start_line: 8 + end_line: 9 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_822.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + licensed + under the GNU General Public License, Version 2. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fuse-emulator/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fuse-emulator/stable_copyright-detailed.expected.yml index 811728c2b45..45adc8808a7 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fuse-emulator/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fuse-emulator/stable_copyright-detailed.expected.yml @@ -1,16 +1,106 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus +declared_license: + - GPL-2+ - LGPL-2.1+ - LGPL-2.1+ - LGPL-2.1+ - GPL-2+ - GPL-2+ - LGPL-2.1+ -- (gpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus) AND (lgpl-2.1-plus AND - lgpl-2.1-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) -- | +license_expression: (gpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus) AND + (lgpl-2.1-plus AND lgpl-2.1-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus) AND (gpl-2.0-plus + AND gpl-2.0-plus) +copyright: | 1999-2018 Philip Kendall and others 1987-2001 Free Software Foundation, Inc. 2003 Philip Kendall 2003-2006 Shay Green 2000-2002 David Olofson 2010-2013,2015-2019 Alberto Garcia +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 91 + matched_length: 91 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_655.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or (at + your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + On Debian systems, the complete text of the license can be found in + the file /usr/share/common-licenses/GPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 94 + matched_length: 94 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_202.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 2.1 of the + License, or (at your option) any later version. + + This module is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + On Debian systems, the complete text of the license can be found in + the file /usr/share/common-licenses/LGPL-2.1 diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fuse-emulator/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fuse-emulator/stable_copyright.expected.yml index 2af9454b762..bae6371c605 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fuse-emulator/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fuse-emulator/stable_copyright.expected.yml @@ -1,9 +1,98 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus +declared_license: + - GPL-2+ - LGPL-2.1+ -- (gpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus) -- | +license_expression: gpl-2.0-plus AND lgpl-2.1-plus +copyright: | 1999-2018 Philip Kendall and others 1987-2001 Free Software Foundation, Inc. 2003 Philip Kendall 2003-2006 Shay Green 2000-2002 David Olofson +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 91 + matched_length: 91 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_655.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or (at + your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + On Debian systems, the complete text of the license can be found in + the file /usr/share/common-licenses/GPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 94 + matched_length: 94 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_202.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 2.1 of the + License, or (at your option) any later version. + + This module is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + On Debian systems, the complete text of the license can be found in + the file /usr/share/common-licenses/LGPL-2.1 diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fusiondirectory/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fusiondirectory/stable_copyright-detailed.expected.yml index 5d214baf382..c128477bdc8 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fusiondirectory/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fusiondirectory/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2+ +primary_license: None +declared_license: + - GPL-2+ - GPL-2+ - GPL-2+ - GPL-2+ @@ -35,26 +37,26 @@ - BSD-4-clause - LGPL-3+ - public-domain -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus +license_expression: (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus + AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND free-unknown AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) - AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND bsd-new AND (gpl-2.0-plus + AND bsd-new AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus - AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (lgpl-3.0-plus - AND gpl-2.0-plus AND lgpl-3.0) AND public-domain AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus - AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND mit AND - (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus - AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) - AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus - AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) + AND gpl-2.0) AND free-unknown AND (lgpl-3.0-plus AND gpl-2.0-plus) AND public-domain AND gpl-2.0-plus AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus - AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) - AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND bsd-original AND mit - AND ((gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) OR (gpl-3.0-plus AND gpl-2.0-plus) - OR (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) OR (lgpl-3.0-plus AND gpl-2.0-plus - AND lgpl-3.0) OR mit OR bsd-new OR bsd-original) -- | + AND gpl-1.0-plus AND gpl-2.0) AND mit AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus + AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus + AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus + AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus + AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus + AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus + AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus + AND gpl-2.0) AND bsd-original AND mit AND ((gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus + AND gpl-2.0) OR (gpl-3.0-plus AND gpl-2.0-plus) OR (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) + OR (lgpl-3.0-plus AND gpl-2.0-plus) OR mit OR bsd-new OR bsd-original) +copyright: | 2011-2016, FusionDirectory 2011-2017, FusionDirectory 2011-2018, FusionDirectory @@ -144,3 +146,418 @@ 2007, Mathieu Jondet 2010, Benoit Mortier 2014, Mike Gabriel +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_8.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General + Public License + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '99.25' + start_line: 1 + end_line: 16 + matcher: 3-seq + rule_length: 134 + matched_length: 133 + match_coverage: '99.25' + rule_relevance: 100 + identifier: gpl-2.0-plus_27.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version [3] of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General + Public License [3] can be found in `/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 14 + matcher: 2-aho + rule_length: 117 + matched_length: 117 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_239.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301 USA + - score: '100.0' + start_line: 16 + end_line: 18 + matcher: 2-aho + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_294.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the full text of the GNU Lesser General Public + License version 2,1 can be found in the file + `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is furnished to do + so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_577.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + - Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + - Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '96.49' + start_line: 1 + end_line: 26 + matcher: 3-seq + rule_length: 228 + matched_length: 220 + match_coverage: '96.49' + rule_relevance: 100 + identifier: bsd-original_27.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + - Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + - All advertising materials mentioning features or use of this software must + display the following acknowledgement: “This product includes software + developed by [the] <[author](s)>.” + - Neither the name of [the] [author](s) [nor] [the] [names] [of] [this] [program]'s + [contributors] may be used to endorse or promote products derived from this + software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE [AUTHOR](S) “AS IS” AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO + EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, + OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '94.06' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 101 + matched_length: 95 + match_coverage: '94.06' + rule_relevance: 100 + identifier: gpl-2.0-plus_808.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or + modify it under the terms of the GNU [Lesser] General Public + License as published by the Free Software Foundation; either + version [3] of the License, or (at your option) any later version. + + This [library] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + [Lesser] General Public License for more details. + + On Debian systems, the complete text of the GNU [Lesser] General + Public License [3] can be found in `/usr/share/common-licenses/ + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_50.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is in the public domain. + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 90 + identifier: free-unknown_80.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is distributed under the same license as the PACKAGE package. + - score: '82.5' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 90 + identifier: free-unknown_79.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is distributed under the same license as the [fusiondirectory] package. + - score: '11.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: gpl-2.0-plus_67.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL-2+). diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fusiondirectory/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fusiondirectory/stable_copyright.expected.yml index 35c307b177e..902d81ee0b1 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fusiondirectory/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/f/fusiondirectory/stable_copyright.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2+ +primary_license: None +declared_license: + - GPL-2+ - BSD-3-clause - LGPL-3+ - public-domain @@ -7,12 +9,11 @@ - GPL-2+ or GPL-3+ or LGPL-2.1+ or LGPL-3+ or Expat or BSD-3-clause or BSD-4-clause - GPL-3+ - LGPL-2.1+ -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND bsd-new AND (lgpl-3.0-plus - AND gpl-2.0-plus AND lgpl-3.0) AND public-domain AND mit AND bsd-original AND ((gpl-2.0-plus - AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) OR (gpl-3.0-plus AND gpl-2.0-plus) OR (lgpl-2.1-plus - AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) OR (lgpl-3.0-plus AND gpl-2.0-plus AND lgpl-3.0) - OR mit OR bsd-new OR bsd-original) -- | +license_expression: (gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND free-unknown AND bsd-new + AND (lgpl-3.0-plus AND gpl-2.0-plus) AND public-domain AND gpl-2.0-plus AND mit AND bsd-original + AND ((gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) OR (gpl-3.0-plus AND gpl-2.0-plus) OR (lgpl-2.1-plus + AND lgpl-2.1) OR (lgpl-3.0-plus AND gpl-2.0-plus) OR mit OR bsd-new OR bsd-original) +copyright: | 2011-2016, FusionDirectory 2011-2017, FusionDirectory 2011-2018, FusionDirectory @@ -76,3 +77,418 @@ 2007, Mathieu Jondet 2010, Benoit Mortier 2014, Mike Gabriel +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_8.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General + Public License + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '99.25' + start_line: 1 + end_line: 16 + matcher: 3-seq + rule_length: 134 + matched_length: 133 + match_coverage: '99.25' + rule_relevance: 100 + identifier: gpl-2.0-plus_27.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version [3] of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General + Public License [3] can be found in `/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 14 + matcher: 2-aho + rule_length: 117 + matched_length: 117 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_239.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301 USA + - score: '100.0' + start_line: 16 + end_line: 18 + matcher: 2-aho + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_294.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the full text of the GNU Lesser General Public + License version 2,1 can be found in the file + `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is furnished to do + so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_577.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + - Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + - Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '96.49' + start_line: 1 + end_line: 26 + matcher: 3-seq + rule_length: 228 + matched_length: 220 + match_coverage: '96.49' + rule_relevance: 100 + identifier: bsd-original_27.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + - Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + - All advertising materials mentioning features or use of this software must + display the following acknowledgement: “This product includes software + developed by [the] <[author](s)>.” + - Neither the name of [the] [author](s) [nor] [the] [names] [of] [this] [program]'s + [contributors] may be used to endorse or promote products derived from this + software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE [AUTHOR](S) “AS IS” AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO + EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, + OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '94.06' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 101 + matched_length: 95 + match_coverage: '94.06' + rule_relevance: 100 + identifier: gpl-2.0-plus_808.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or + modify it under the terms of the GNU [Lesser] General Public + License as published by the Free Software Foundation; either + version [3] of the License, or (at your option) any later version. + + This [library] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + [Lesser] General Public License for more details. + + On Debian systems, the complete text of the GNU [Lesser] General + Public License [3] can be found in `/usr/share/common-licenses/ + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_50.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is in the public domain. + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 90 + identifier: free-unknown_80.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is distributed under the same license as the PACKAGE package. + - score: '82.5' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 90 + identifier: free-unknown_79.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is distributed under the same license as the [fusiondirectory] package. + - score: '11.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: gpl-2.0-plus_67.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL-2+). diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/ghostscript/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/ghostscript/stable_copyright-detailed.expected.yml index ce296f9766b..4cb9144d7d5 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/ghostscript/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/ghostscript/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - AGPL-3+ +primary_license: None +declared_license: + - AGPL-3+ - BSD-3-Clause~Adobe - AGPL-3+ - LGPL-2.1 @@ -56,14 +58,21 @@ - FTL - ZLIB - ISC -- agpl-3+ AND bsd-new AND agpl-3+ AND lgpl-2.1 AND freetype AND gpl-1.0-plus AND gpl-1.0-plus - AND agpl-3.0 WITH ps-or-pdf-font-exception-20170817 AND gpl-1.0-plus AND gpl-1.0-plus AND - fsf-free AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0-plus AND zlib AND bsd-new AND bsd-new +license_expression: (agpl-3.0 AND agpl-3.0-plus) AND (agpl-3.0-plus AND agpl-3.0-plus) AND agpl-3.0-plus + AND bsd-new AND (agpl-3.0 AND agpl-3.0-plus) AND (agpl-3.0-plus AND gpl-3.0-plus) AND lgpl-2.1 + AND lgpl-2.1-plus AND freetype AND freetype AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus + AND gpl-1.0-plus AND agpl-3.0 WITH ps-or-pdf-font-exception-20170817 AND (agpl-3.0-plus AND + gpl-3.0-plus) AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND fsf-free + AND gpl-2.0-plus AND (gpl-1.0-plus AND gpl-1.0-plus) AND gpl-1.0-plus AND gpl-1.0-plus AND + gpl-2.0-plus AND (gpl-2.0 AND gpl-1.0-plus AND gpl-1.0-plus) AND zlib AND bsd-new AND bsd-new AND sunsoft AND mit AND ((lgpl-2.1 AND public-domain) AND public-domain) AND apache-2.0 AND - apache-2.0 AND agpl-3+ AND isc AND gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0-plus - AND gpl-2.0-plus AND gpl-2.0-plus AND other-permissive AND x11-opengroup AND unknown-license-reference - AND gpl-1.0-plus AND x11-lucent AND libpbm AND zlib AND gpl-3.0-plus AND gpl-1.0-plus -- | + apache-2.0 AND apache-2.0 AND apache-2.0 AND (agpl-3.0 AND agpl-3.0-plus) AND afpl-9.0 AND + isc AND gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0-plus AND + gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0-plus + AND gpl-2.0-plus AND other-permissive AND x11-opengroup AND public-domain AND gpl-1.0-plus + AND gpl-1.0-plus AND x11-lucent AND libpbm AND zlib AND gpl-3.0-plus AND gpl-3.0-plus AND + gpl-1.0-plus +copyright: | 1986, Eric Gisin 1989, Berthold K.P. Horn 1990-2019, Artifex Software, Inc. @@ -128,3 +137,2263 @@ 2004-2009, Masayuki Hatta (mhatta) 2009-2019, Jonas Smedegaard 2010, Kenshi Muto +matches: + - score: '88.21' + start_line: 1 + end_line: 6 + matcher: 3-seq + rule_length: 42 + matched_length: 39 + match_coverage: '92.86' + rule_relevance: 95 + identifier: agpl-3.0_with_ps-or-pdf-font-exception-20170817_3.RULE + license_expression: agpl-3.0 WITH ps-or-pdf-font-exception-20170817 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception, + permission is granted to include [this] [font] [program] + in a Postscript or PDF file that consists of a document + that contains text to be displayed or printed using this font, + regardless of the conditions or license + applying to the document itself. + - score: '18.18' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: '198' + matched_length: 36 + match_coverage: '18.18' + rule_relevance: 100 + identifier: sunsoft_1.RULE + license_expression: sunsoft + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Except as contained in this notice, + the name of SunSoft, Inc. shall not be used + in advertising or otherwise to promote + the sale, use or other dealings in this Software + without written authorization from SunSoft Inc. + - score: '16.67' + start_line: 3 + end_line: 4 + matcher: 3-seq + rule_length: 30 + matched_length: 5 + match_coverage: '16.67' + rule_relevance: 100 + identifier: lgpl-2.1_and_public-domain2.RULE + license_expression: lgpl-2.1 AND public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + therefore [is] [not] covered + by the [Ghostscript] [copyright] [or] license: + - score: '90.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 90 + identifier: public-domain_108.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: it is in the public domain. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_358.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be freely distributed + with or without modifications, + so long as modified versions are marked as such + and copyright notices are not removed. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_72.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl' + - score: '100.0' + start_line: 1 + end_line: 850 + matcher: 1-hash + rule_length: 5374 + matched_length: 5374 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agpl-3.0.SPDX.RULE + license_expression: agpl-3.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute + verbatim copies of this license document, + but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license + for software and other kinds of works, + specifically designed to ensure cooperation with the community + in the case of network server software. + + The licenses for most software and other practical works + are designed to take away your freedom to share and change the works. + By contrast, our General Public Licenses are intended + to guarantee your freedom to share + and change all versions of a program-- + to make sure it remains free software for all its users. + + When we speak of free software, + we are referring to freedom, not price. + Our General Public Licenses are designed + to make sure that you have the freedom + to distribute copies of free software + (and charge for them if you wish), + that you receive source code or can get it if you want it, + that you can change the software + or use pieces of it in new free programs, + and that you know you can do these things. + + Developers that use our General Public Licenses + protect your rights with two steps: + (1) assert copyright on the software, + and (2) offer you this License + which gives you legal permission + to copy, distribute and/or modify the software. + + A secondary benefit of defending all users' freedom is + that improvements made in alternate versions of the program, + if they receive widespread use, + become available for other developers to incorporate. + Many developers of free software are heartened and encouraged + by the resulting cooperation. + However, in the case of software used on network servers, + this result may fail to come about. + The GNU General Public License permits + making a modified version and letting the public access it on a server + without ever releasing its source code to the public. + + The GNU Affero General Public License is designed + specifically to ensure that, in such cases, + the modified source code becomes available to the community. + It requires the operator of a network server to provide + the source code of the modified version running there + to the users of that server. + Therefore, public use of a modified version, + on a publicly accessible server, + gives the public access to the source code of the modified version. + + An older license, + called the Affero General Public License and published by Affero, + was designed to accomplish similar goals. + This is a different license, not a version of the Affero GPL, + but Affero has released a new version of the Affero GPL + which permits relicensing under this license. + + The precise terms and conditions + for copying, distribution and modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 + of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply + to other kinds of works, such as semiconductor masks. + + "The Program" refers to any copyrightable work + licensed under this License. + Each licensee is addressed as "you". + "Licensees" and "recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work + in a fashion requiring copyright permission, + other than the making of an exact copy. + The resulting work is called a "modified version" of the earlier work + or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program + or a work based on the Program. + + To "propagate" a work means to do anything with it + that, without permission, would make you directly or secondarily liable + for infringement under applicable copyright law, + except executing it on a computer or modifying a private copy. + Propagation includes copying, + distribution (with or without modification), + making available to the public, + and in some countries other activities as well. + + To "convey" a work means any kind of propagation + that enables other parties to make or receive copies. + Mere interaction with a user through a computer network, + with no transfer of a copy, + is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" + to the extent that it includes + a convenient and prominently visible feature + that (1) displays an appropriate copyright notice, + and (2) tells the user that there is no warranty for the work + (except to the extent that warranties are provided), + that licensees may convey the work under this License, + and how to view a copy of this License. + If the interface presents + a list of user commands or options, such as a menu, + a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means + the preferred form of the work for making modifications to it. + "Object code" means any non-source form of a work. + + A "Standard Interface" means + an interface that either is an official standard + defined by a recognized standards body, + or, in the case of interfaces + specified for a particular programming language, + one that is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, + other than the work as a whole, + that (a) is included in the normal form of packaging a Major Component, + but which is not part of that Major Component, + and (b) serves only + to enable use of the work with that Major Component, + or to implement a Standard Interface + for which an implementation is available to the public + in source code form. + A "Major Component", in this context, means + a major essential component (kernel, window system, and so on) + of the specific operating system (if any) + on which the executable work runs, + or a compiler used to produce the work, + or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means + all the source code needed to generate, install, + and (for an executable work) run the object code + and to modify the work, + including scripts to control those activities. + However, it does not include the work's System Libraries, + or general-purpose tools or generally available free programs + which are used unmodified in performing those activities + but which are not part of the work. + For example, Corresponding Source includes + interface definition files associated with source files for the work, + and the source code for shared libraries + and dynamically linked subprograms + that the work is specifically designed to require, + such as by intimate data communication or control flow + between those subprograms and other parts of the work. + + The Corresponding Source need not include + anything that users can regenerate automatically + from other parts of the Corresponding Source. + + The Corresponding Source for a work in source code form + is that same work. + + 2. Basic Permissions. + + All rights granted under this License are granted + for the term of copyright on the Program, + and are irrevocable provided the stated conditions are met. + This License explicitly affirms your unlimited permission + to run the unmodified Program. + The output from running a covered work is covered by this License + only if the output, given its content, constitutes a covered work. + This License acknowledges your rights of fair use + or other equivalent, as provided by copyright law. + + You may make, run and propagate + covered works that you do not convey, + without conditions + so long as your license otherwise remains in force. + You may convey covered works to others + for the sole purpose of having them + make modifications exclusively for you, + or provide you with facilities for running those works, + provided that you comply with the terms of this License + in conveying all material + for which you do not control copyright. + Those thus making or running the covered works for you + must do so exclusively on your behalf, + under your direction and control, + on terms that prohibit them from making any copies + of your copyrighted material + outside their relationship with you. + + Conveying under any other circumstances is permitted + solely under the conditions stated below. + Sublicensing is not allowed; + section 10 makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed + part of an effective technological measure + under any applicable law fulfilling obligations + under article 11 of the WIPO copyright treaty + adopted on 20 December 1996, + or similar laws prohibiting or restricting + circumvention of such measures. + + When you convey a covered work, + you waive any legal power + to forbid circumvention of technological measures + to the extent such circumvention is effected + by exercising rights under this License + with respect to the covered work, + and you disclaim any intention + to limit operation or modification of the work + as a means of enforcing, against the work's users, + your or third parties' legal rights + to forbid circumvention of technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code + as you receive it, in any medium, + provided that you conspicuously and appropriately publish + on each copy an appropriate copyright notice; + keep intact all notices + stating that this License and any non-permissive terms + added in accord with section 7 apply to the code; + keep intact all notices + of the absence of any warranty; + and give all recipients a copy of this License + along with the Program. + + You may charge any price or no price + for each copy that you convey, + and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, + or the modifications to produce it from the Program, + in the form of source code + under the terms of section 4, + provided that you also meet all of these conditions: + + a) The work must carry prominent notices + stating that you modified it, and giving a relevant date. + + b) The work must carry prominent notices + stating that it is released under this License + and any conditions added under section 7. + This requirement modifies + the requirement in section 4 to "keep intact all notices". + + c) You must license the entire work, as a whole, under this License + to anyone who comes into possession of a copy. + This License will therefore apply, + along with any applicable section 7 additional terms, + to the whole of the work, and all its parts, + regardless of how they are packaged. + This License gives no permission + to license the work in any other way, + but it does not invalidate such permission + if you have separately received it. + + d) If the work has interactive user interfaces, + each must display Appropriate Legal Notices; + however, if the Program has interactive interfaces + that do not display Appropriate Legal Notices, + your work need not make them do so. + + A compilation of a covered work + with other separate and independent works, + which are not by their nature extensions of the covered work, + and which are not combined with it such as to form a larger program, + in or on a volume of a storage or distribution medium, + is called an "aggregate" + if the compilation and its resulting copyright are not used + to limit the access or legal rights of the compilation's users + beyond what the individual works permit. + Inclusion of a covered work in an aggregate + does not cause this License to apply + to the other parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form + under the terms of sections 4 and 5, + provided that you also convey the machine-readable Corresponding Source + under the terms of this License, + in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), + accompanied by the Corresponding Source + fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), + accompanied by a written offer, + valid for at least three years + and valid for as long as you offer spare parts or customer support + for that product model, + to give anyone who possesses the object code + either (1) a copy of the Corresponding Source + for all the software in the product that is covered by this License, + on a durable physical medium + customarily used for software interchange, + for a price no more than your reasonable cost + of physically performing this conveying of source, + or (2) access to copy the Corresponding Source + from a network server at no charge. + + c) Convey individual copies of the object code + with a copy of the written offer to provide the Corresponding Source. + This alternative is allowed only occasionally and noncommercially, + and only if you received the object code with such an offer, + in accord with subsection 6b. + + d) Convey the object code by offering access from a designated place + (gratis or for a charge), + and offer equivalent access to the Corresponding Source + in the same way through the same place at no further charge. + You need not require recipients to copy the Corresponding Source + along with the object code. + If the place to copy the object code is a network server, + the Corresponding Source may be on a different server + (operated by you or a third party) + that supports equivalent copying facilities, + provided you maintain clear directions next to the object code + saying where to find the Corresponding Source. + Regardless of what server hosts the Corresponding Source, + you remain obligated to ensure that it is available + for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, + provided you inform other peers + where the object code and Corresponding Source of the work + are being offered to the general public + at no charge under subsection 6d. + + A separable portion of the object code, + whose source code is excluded + from the Corresponding Source as a System Library, + need not be included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", + which means any tangible personal property + which is normally used for personal, family, or household purposes, + or (2) anything designed or sold for incorporation into a dwelling. + In determining whether a product is a consumer product, + doubtful cases shall be resolved in favor of coverage. + For a particular product received by a particular user, + "normally used" refers to a typical or common use + of that class of product, + regardless of the status of the particular user + or of the way in which the particular user actually uses, + or expects or is expected to use, + the product. + A product is a consumer product + regardless of whether the product has substantial commercial, + industrial or non-consumer uses, + unless such uses represent the only significant mode + of use of the product. + + "Installation Information" for a User Product means + any methods, procedures, authorization keys, or other information + required to install and execute modified versions of a covered work + in that User Product + from a modified version of its Corresponding Source. + The information must suffice to ensure + that the continued functioning of the modified object code + is in no case prevented or interfered with + solely because modification has been made. + + If you convey an object code work under this section + in, or with, or specifically for use in, a User Product, + and the conveying occurs as part of a transaction + in which the right of possession and use of the User Product + is transferred to the recipient + in perpetuity or for a fixed term + (regardless of how the transaction is characterized), + the Corresponding Source conveyed under this section must + be accompanied by the Installation Information. + But this requirement does not apply + if neither you nor any third party retains + the ability to install modified object code on the User Product + (for example, the work has been installed in ROM). + + The requirement to provide Installation Information does not include + a requirement to continue to provide support service, warranty, + or updates for a work + that has been modified or installed by the recipient, + or for the User Product in which it has been modified or installed. + Access to a network may be denied + when the modification itself materially and adversely affects + the operation of the network + or violates the rules and protocols + for communication across the network. + + Corresponding Source conveyed, + and Installation Information provided, + in accord with this section must be in a format + that is publicly documented + (and with an implementation available to the public + in source code form), + and must require no special password or key + for unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms + that supplement the terms of this License + by making exceptions from one or more of its conditions. + Additional permissions that are applicable to the entire Program + shall be treated as though they were included in this License, + to the extent that they are valid under applicable law. + If additional permissions apply only to part of the Program, + that part may be used separately under those permissions, + but the entire Program remains governed by this License + without regard to the additional permissions. + + When you convey a copy of a covered work, + you may at your option remove any additional permissions + from that copy, or from any part of it. + (Additional permissions may be written to require their own removal + in certain cases when you modify the work.) + You may place additional permissions on material, + added by you to a covered work, + for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, + for material you add to a covered work, you may + (if authorized by the copyright holders of that material) + supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability + differently from the terms of sections 15 and 16 of this License; or + + b) Requiring preservation + of specified reasonable legal notices + or author attributions in that material + or in the Appropriate Legal Notices + displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, + or requiring that modified versions of such material be marked + in reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes + of names of licensors or authors of the material; or + + e) Declining to grant rights under trademark law + for use of some trade names, trademarks, or service marks; or + + f) Requiring indemnification + of licensors and authors of that material + by anyone who conveys the material (or modified versions of it) + with contractual assumptions of liability to the recipient, + for any liability that these contractual assumptions directly impose + on those licensors and authors. + + All other non-permissive additional terms + are considered "further restrictions" + within the meaning of section 10. + If the Program as you received it, or any part of it, + contains a notice stating that it is governed by this License + along with a term that is a further restriction, + you may remove that term. + If a license document contains a further restriction + but permits relicensing or conveying under this License, + you may add to a covered work material governed + by the terms of that license document, + provided that the further restriction does not survive + such relicensing or conveying. + + If you add terms to a covered work in accord with this section, + you must place, in the relevant source files, a statement + of the additional terms that apply to those files, + or a notice indicating where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated + in the form of a separately written license, + or stated as exceptions; + the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work + except as expressly provided under this License. + Any attempt otherwise to propagate or modify it is void, + and will automatically terminate your rights under this License + (including any patent licenses granted + under the third paragraph of section 11). + + However, if you cease all violation of this License, + then your license from a particular copyright holder is reinstated + (a) provisionally, + unless and until the copyright holder explicitly and finally + terminates your license, + and (b) permanently, + if the copyright holder fails to notify you of the violation + by some reasonable means prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder + is reinstated permanently + if the copyright holder notifies you + of the violation by some reasonable means, + this is the first time you have received notice + of violation of this License (for any work) + from that copyright holder, + and you cure the violation + prior to 30 days after your receipt of the notice. + + Termination of your rights under this section does not terminate + the licenses of parties who have received copies or rights + from you under this License. + If your rights have been terminated and not permanently reinstated, + you do not qualify to receive new licenses for the same material + under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License + in order to receive or run a copy of the Program. + Ancillary propagation + of a covered work occurring solely as a consequence + of using peer-to-peer transmission to receive a copy + likewise does not require acceptance. + However, nothing other than this License grants you + permission to propagate or modify any covered work. + These actions infringe copyright + if you do not accept this License. + Therefore, by modifying or propagating a covered work, + you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, + the recipient automatically receives + a license from the original licensors, + to run, modify and propagate that work, + subject to this License. + You are not responsible for enforcing compliance by third parties + with this License. + + An "entity transaction" is a transaction transferring control + of an organization, or substantially all assets of one, + or subdividing an organization, + or merging organizations. + If propagation of a covered work results from an entity transaction, + each party to that transaction who receives a copy of the work + also receives whatever licenses to the work + the party's predecessor in interest had or could give + under the previous paragraph, + plus a right to possession of the Corresponding Source of the work + from the predecessor in interest, + if the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions + on the exercise of the rights granted or affirmed under this License. + For example, you may not impose + a license fee, royalty, or other charge + for exercise of rights granted under this License, + and you may not initiate litigation + (including a cross-claim or counterclaim in a lawsuit) + alleging that any patent claim is infringed + by making, using, selling, offering for sale, or importing + the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder + who authorizes use under this License of the Program + or a work on which the Program is based. + The work thus licensed is called + the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims + owned or controlled by the contributor, + whether already acquired or hereafter acquired, + that would be infringed by some manner, + permitted by this License, + of making, using, or selling its contributor version, + but do not include claims + that would be infringed only as a consequence + of further modification of the contributor version. + For purposes of this definition, "control" includes the right + to grant patent sublicenses in a manner + consistent with the requirements of this License. + + Each contributor grants you + a non-exclusive, worldwide, royalty-free patent license + under the contributor's essential patent claims, + to make, use, sell, offer for sale, import and otherwise run, modify + and propagate the contents of its contributor version. + + In the following three paragraphs, + a "patent license" is any express agreement or commitment, + however denominated, not to enforce a patent + (such as an express permission to practice a patent + or covenant not to sue for patent infringement). + To "grant" such a patent license to a party means + to make such an agreement or commitment + not to enforce a patent against the party. + + If you convey a covered work, + knowingly relying on a patent license, + and the Corresponding Source of the work is not available + for anyone to copy, + free of charge and under the terms of this License, + through a publicly available network server + or other readily accessible means, + then you must either + (1) cause the Corresponding Source to be so available, + or (2) arrange to deprive yourself of the benefit + of the patent license for this particular work, + or (3) arrange, + in a manner consistent with the requirements of this License, + to extend the patent license to downstream recipients. + "Knowingly relying" means + you have actual knowledge that, but for the patent license, + your conveying the covered work in a country, + or your recipient's use of the covered work in a country, + would infringe one or more identifiable patents in that country + that you have reason to believe are valid. + + If, pursuant to or in connection + with a single transaction or arrangement, + you convey, or propagate by procuring conveyance of, a covered work, + and grant a patent license to some of the parties + receiving the covered work authorizing them + to use, propagate, modify or convey a specific copy of the covered work, + then the patent license you grant is automatically extended + to all recipients of the covered work and works based on it. + + A patent license is "discriminatory" + if it does not include within the scope of its coverage, + prohibits the exercise of, or is conditioned on + the non-exercise of one or more of the rights + that are specifically granted under this License. + You may not convey a covered work + if you are a party to an arrangement with a third party + that is in the business of distributing software, + under which you make payment to the third party + based on the extent of your activity of conveying the work, + and under which the third party grants, + to any of the parties who would receive the covered work from you, + a discriminatory patent license + (a) in connection with copies of the covered work conveyed by you + (or copies made from those copies), + or (b) primarily for and in connection with specific products + or compilations that contain the covered work, + unless you entered into that arrangement, + or that patent license was granted, + prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting + any implied license or other defenses to infringement + that may otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you + (whether by court order, agreement or otherwise) + that contradict the conditions of this License, + they do not excuse you from the conditions of this License. + If you cannot convey a covered work + so as to satisfy simultaneously your obligations + under this License and any other pertinent obligations, + then as a consequence you may not convey it at all. + For example, if you agree to terms that obligate you + to collect a royalty for further conveying from those + to whom you convey the Program, + the only way you could satisfy both those terms and this License + would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; + Use with the GNU General Public License. + + Notwithstanding any other provision of this License, + if you modify the Program, + your modified version must prominently offer + all users interacting with it remotely through a computer network + (if your version supports such interaction) + an opportunity to receive the Corresponding Source of your version + by providing access to the Corresponding Source + from a network server at no charge, + through some standard or customary means + of facilitating copying of software. + This Corresponding Source shall include + the Corresponding Source for any work covered + by version 3 of the GNU General Public License + that is incorporated pursuant to the following paragraph. + + Notwithstanding any other provision of this License, + you have permission to link or combine any covered work + with a work licensed + under version 3 of the GNU General Public License + into a single combined work, and to convey the resulting work. + The terms of this License will continue to apply + to the part which is the covered work, + but the work with which it is combined will remain governed + by version 3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions + of the GNU Affero General Public License from time to time. + Such new versions will be similar in spirit to the present version, + but may differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. + If the Program specifies that a certain numbered version + of the GNU Affero General Public License + "or any later version" applies to it, + you have the option of following the terms and conditions + either of that numbered version + or of any later version + published by the Free Software Foundation. + If the Program does not specify a version number + of the GNU Affero General Public License, + you may choose any version ever + published by the Free Software Foundation. + + If the Program specifies that a proxy can decide + which future versions + of the GNU Affero General Public License can be used, + that proxy's public statement of acceptance of a version + permanently authorizes you to choose that version for the Program. + + Later license versions may give you + additional or different permissions. + However, no additional obligations are imposed + on any author or copyright holder + as a result of your choosing to follow a later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, + TO THE EXTENT PERMITTED BY APPLICABLE LAW. + EXCEPT WHEN OTHERWISE STATED IN WRITING + THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" + WITHOUT WARRANTY OF ANY KIND, + EITHER EXPRESSED OR IMPLIED, + INCLUDING, BUT NOT LIMITED TO, + THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE. + THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM + IS WITH YOU. + SHOULD THE PROGRAM PROVE DEFECTIVE, + YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT + UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING + WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY + WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, + BE LIABLE TO YOU FOR DAMAGES, + INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES + ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM + (INCLUDING BUT NOT LIMITED TO + LOSS OF DATA OR DATA BEING RENDERED INACCURATE + OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES + OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), + EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED + OF THE POSSIBILITY OF SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer + of warranty and limitation of liability provided above + cannot be given local legal effect according to their terms, + reviewing courts shall apply local law + that most closely approximates an absolute waiver + of all civil liability in connection with the Program, + unless a warranty or assumption of liability accompanies + a copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, + and you want it to be of the greatest possible use to the public, + the best way to achieve this is to make it free software + which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. + It is safest to attach them to the start of each source file + to most effectively state the exclusion of warranty; + and each file should have at least the "copyright" line + and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: + you can redistribute it and/or modify it + under the terms of the GNU Affero General Public License + as published by the Free Software Foundation, + either version 3 of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; + without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + See the GNU Affero General Public License for more details. + + You should have received + a copy of the GNU Affero General Public License + along with this program. + If not, see . + + Also add information on how to contact you + by electronic and paper mail. + + If your software can interact with users + remotely through a computer network, + you should also make sure that it provides + a way for users to get its source. + For example, if your program is a web application, + its interface could display a "Source" link + that leads users to an archive of the code. + There are many ways you could offer source, + and different solutions will be better for different programs; + see section 13 for the specific requirements. + + You should also get your employer (if you work as a programmer) + or school, if any, to sign + a "copyright disclaimer" for the program, if necessary. + For more information on this, + and how to apply and follow the GNU AGPL, + see . + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-free.LICENSE + license_expression: fsf-free + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This configure script is free software; + the Free Software Foundation gives unlimited permission + to copy, distribute and modify it. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, + to any person obtaining a copy + of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, + including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", + WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + INCLUDING BUT NOT LIMITED TO + THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE + AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE + FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE + OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '96.3' + start_line: 1 + end_line: 23 + matcher: 3-seq + rule_length: 156 + matched_length: 156 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_71.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, + to any person obtaining a copy + of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, + including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", + WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO + THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE + AND NONINFRINGEMENT. + IN NO EVENT SHALL [SUNSOFT], [INC]. [OR] [ITS] [PARENT] [COMPANY] BE LIABLE + FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE + OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 124 + matched_length: 124 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_ghostgum.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, + to any person obtaining a copy of this file ("Software"), + to deal in the Software without restriction, + including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of this Software, + and to permit persons to whom this file is furnished to do so, + subject to the following conditions: + + This Software is distributed with NO WARRANTY OF ANY KIND. + No author or distributor accepts any responsibility + for the consequences of using it, + or for whether it serves any particular purpose or works at all, + unless he or she says so in writing. + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + - score: '99.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 138 + matched_length: 138 + match_coverage: '100.0' + rule_relevance: 99 + identifier: x11-opengroup_7.RULE + license_expression: x11-opengroup + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, distribute, and sell + this software and its documentation + for any purpose is hereby granted without fee, + provided that the above copyright notice appear in all copies + and that both that copyright notice and this permission notice appear + in supporting documentation. + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", + WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE + AND NONINFRINGEMENT. + IN NO EVENT SHALL THE OPEN GROUP BE LIABLE + FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE + OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '57.14' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 56 + matched_length: 32 + match_coverage: '57.14' + rule_relevance: 100 + identifier: libpbm.LICENSE + license_expression: libpbm + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute + this software and its documentation + for any purpose and without fee is hereby granted. + This software is provided "as is" + without express or implied warranty. + - score: '88.17' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 93 + matched_length: 82 + match_coverage: '88.17' + rule_relevance: 100 + identifier: x11-lucent_1.RULE + license_expression: x11-lucent + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software + for any purpose without fee is hereby granted, + provided that this entire notice is included in all copies + of any software which is or includes + a copy or modification of this software. + + THIS SOFTWARE IS BEING PROVIDED "AS IS", + WITHOUT ANY EXPRESS OR IMPLIED WARRANTY. + IN PARTICULAR, NEITHER THE AUTHORS NOR LUCENT TECHNOLOGIES MAKE + ANY REPRESENTATION OR WARRANTY OF ANY KIND + CONCERNING THE MERCHANTABILITY OF THIS SOFTWARE OR ITS FITNESS + FOR ANY PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 32 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, + with or without modification, + are permitted provided that the following conditions are met: + 1. Redistributions of source code must retain + the above copyright notice, this list of conditions + and the following disclaimer. + 2. Redistributions in binary form must reproduce + the above copyright notice, this list of conditions + and the following disclaimer in the documentation + and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products + derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. + IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, + OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; + OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 37 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_686.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, + with or without modification, + are permitted provided that the following conditions are met: + + Redistributions of source code must retain + the above copyright notice, this list of conditions + and the following disclaimer. + + Redistributions in binary form must reproduce + the above copyright notice, this list of conditions + and the following disclaimer + in the documentation and/or other materials + provided with the distribution. + + Neither the name of Adobe Systems Incorporated + nor the names of its contributors may be used + to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED + BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, + OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; + OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '98.4' + start_line: 1 + end_line: 180 + matcher: 3-seq + rule_length: 939 + matched_length: 924 + match_coverage: '98.4' + rule_relevance: 100 + identifier: freetype.LICENSE + license_expression: freetype + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The FreeType Project LICENSE + ---------------------------- + + 2006-Jan-27 + + Copyright 1996-2002, 2006 + by David Turner, Robert Wilhelm, and Werner Lemberg + + Introduction + ============ + + The FreeType Project is distributed in several archive packages; + some of them may contain, + in addition to the FreeType font engine, + various tools and contributions which rely on, or relate to, + the FreeType Project. + + This license applies to all files found in such packages, and + which do not fall under their own explicit license. The license + affects thus the FreeType font engine, the test programs, + documentation and makefiles, at the very least. + + This license was inspired by the BSD, Artistic, and IJG + (Independent JPEG Group) licenses, which all encourage inclusion + and use of free software in commercial and freeware products + alike. As a consequence, its main points are that: + * We don't promise that this software works. + However, we will be interested in any kind of bug reports. + ("as is" distribution) + * You can use this software for whatever you want, + in parts or full form, + without having to pay us. + ("royalty-free" usage) + * You may not pretend that you wrote this software. + If you use it, or only parts of it, in a program, + you must acknowledge somewhere in your documentation + that you have used the FreeType code. + ("credits") + + We specifically permit and encourage + the inclusion of this software, + with or without modifications, + in commercial products. + We disclaim all warranties covering The FreeType Project + and assume no liability related to The FreeType Project. + + Finally, many people asked us for a preferred form + for a credit/disclaimer to use + in compliance with this license. + We thus encourage you to use the following text: + + """ + Portions of this software are + copyright © The FreeType Project (www.freetype.org). + All rights reserved. + """ + + Please replace with the value + from the FreeType version you actually use. + + Legal Terms + =========== + + 0. Definitions + -------------- + + Throughout this license, + the terms "package", "FreeType Project", and "FreeType archive" + refer to the set of files originally distributed by the authors + (David Turner, Robert Wilhelm, and Werner Lemberg) + as the "FreeType Project", + be they named as alpha, beta or final release. + + "You" refers to the licensee, or person using the project, + where "using" is a generic term + including compiling the project's source code + as well as linking it to form a "program" or "executable". + This program is referred to as "a program using the FreeType engine". + + This license applies to all files + distributed in the original FreeType Project, + including all source code, binaries and documentation, + unless otherwise stated in the file + in its original, unmodified form + as distributed in the original archive. + If you are unsure whether or not a particular file is covered + by this license, + you must contact us to verify this. + + The FreeType Project is copyright (C) 1996-2000 + by David Turner, Robert Wilhelm, and Werner Lemberg. + All rights reserved except as specified below. + + 1. No Warranty + -------------- + + THE FREETYPE PROJECT IS PROVIDED "AS IS" + WITHOUT WARRANTY OF ANY KIND, + EITHER EXPRESS OR IMPLIED, + INCLUDING, BUT NOT LIMITED TO, + WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE. + IN NO EVENT WILL ANY OF THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY DAMAGES + CAUSED BY THE USE OR THE INABILITY TO USE, + OF THE FREETYPE PROJECT. + + 2. Redistribution + ----------------- + + This license grants a worldwide, royalty-free, + perpetual and irrevocable right and license + to use, execute, perform, compile, display, copy, + create derivative works of, distribute and sublicense + the FreeType Project (in both source and object code forms) + and derivative works thereof for any purpose; + and to authorize others to exercise + some or all of the rights granted herein, + subject to the following conditions: + * Redistribution of source code must retain + this license file ("FTL.TXT") unaltered; + any additions, deletions or changes to the original files + must be clearly indicated in accompanying documentation. + The copyright notices of the unaltered, original files + must be preserved in all copies of source files. + * Redistribution in binary form must provide a disclaimer + that states that the software is based in part + of the work of the FreeType Team, + in the distribution documentation. + We also encourage you to put an URL to the FreeType web page + in your documentation, + though this isn't mandatory. + + These conditions apply to any software + derived from or based on the FreeType Project, + not just the unmodified files. + If you use our work, you must acknowledge us. + However, no fee need be paid to us. + + 3. Advertising + -------------- + + Neither the FreeType authors and contributors nor you + shall use the name of the other + for commercial, advertising, or promotional purposes + without specific prior written permission. + + We suggest, but do not require, + that you use one or more of the following phrases + to refer to this software + in your documentation or advertising materials: + "FreeType Project", "FreeType Engine", "FreeType library", + or "FreeType Distribution". + + As you have not signed this license, + you are not required to accept it. + However, as the FreeType Project is copyrighted material, + only this license, or another one contracted with the authors, + grants you the right to use, distribute, and modify it. + Therefore, by using, distributing, or modifying + the FreeType Project, + you indicate that you understand + and accept all the terms of this license. + + 4. Contacts + ----------- + + There are two mailing lists related to FreeType: + * freetype@nongnu.org + Discusses general use and applications of FreeType, + as well as future and wanted additions + to the library and distribution. + If you are looking for support, + start in this list + if you haven't found anything to help you in the documentation. + * freetype-devel@nongnu.org + Discusses bugs, as well as engine internals, design issues, + specific licenses, porting, etc. + + Our home page can be found at + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', + without any express or implied warranty. + In no event will the authors be held liable + for any damages arising from the use of this software. + + Permission is granted to anyone + to use this software for any purpose, + including commercial applications, + and to alter it and redistribute it freely, + subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; + you must not claim that you wrote the original software. + If you use this software in a product, + an acknowledgment in the product documentation + would be appreciated but is not required. + 2. Altered source versions must be plainly marked as such, + and must not be misrepresented as being the original software. + 3. This notice may not be removed or altered + from any source distribution. + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software + for any purpose with or without fee is hereby granted, + provided that the above copyright notice and this permission notice + appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" + AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. + IN NO EVENT SHALL THE AUTHOR BE LIABLE + FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES + OR ANY DAMAGES WHATSOEVER + RESULTING FROM LOSS OF USE, DATA OR PROFITS, + WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, + ARISING OUT OF OR IN CONNECTION WITH + THE USE OR PERFORMANCE OF THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agpl-3.0_191.RULE + license_expression: agpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: 'License: agpl-' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agpl-3.0-plus_28.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: agpl-3+ + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 90 + identifier: agpl-3.0-plus_143.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL Ghostscript + - score: '92.68' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 41 + matched_length: 38 + match_coverage: '92.68' + rule_relevance: 100 + identifier: agpl-3.0-plus_113.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + free software; + you can redistribute and/or modify [them] + under the terms of the GNU Affero General Public License + as published by the Free Software Foundation, + either version 3 of the License, or (at your option) any later version. + - score: '90.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 90 + identifier: agpl-3.0-plus_143.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL Ghostscript, + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agpl-3.0_191.RULE + license_expression: agpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: 'License: agpl-' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agpl-3.0-plus_28.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: agpl-3+ + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 90 + identifier: agpl-3.0-plus_143.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL Ghostscript + - score: '88.89' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 45 + matched_length: 40 + match_coverage: '88.89' + rule_relevance: 100 + identifier: gpl-3.0-plus_9.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GPL [Ghostscript] is free software; + you can redistribute it and/or modify + it under the terms the GNU [Affero] General Public License + as published by the Free Software Foundation, + either version 3 of the License, or (at your option) any later version. + - score: '33.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: lgpl_35.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GNU Lesser General Public License (LGPL), + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 1-hash + rule_length: 49 + matched_length: 49 + match_coverage: '100.0' + rule_relevance: 100 + identifier: freetype_4.RULE + license_expression: freetype + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is part of the FreeType project, + and may only be used modified and distributed + under the terms of the FreeType project license, LICENSE.TXT. + By continuing to use, modify, or distribute this file + you indicate that you have read the license + and understand and accept it fully. + - score: '64.06' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 64 + matched_length: 41 + match_coverage: '64.06' + rule_relevance: 100 + identifier: gpl-1.0-plus_448.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission + to copy, modify and redistribute [GNU] [Ghostscript], + [but] [only] [under] [the] [conditions] + [described] [in] [the] [GNU] General Public License. + A copy of this license is supposed to have been given to you + along with [this] [software] + so you can know your rights and responsibilities. + It should be in a file named COPYING. + - score: '64.06' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 64 + matched_length: 41 + match_coverage: '64.06' + rule_relevance: 100 + identifier: gpl-1.0-plus_448.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission + to copy, modify and redistribute [Ghostscript], + [but] [only] [under] [the] [conditions] + [described] [in] [the] [Ghostscript] General Public License. + A copy of this license is supposed to have been given to you + along with [this] [software] + so you can know your rights and responsibilities. + It should be in a file named COPYING. + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 90 + identifier: agpl-3.0-plus_143.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL Ghostscript + - score: '88.89' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 45 + matched_length: 40 + match_coverage: '88.89' + rule_relevance: 100 + identifier: gpl-3.0-plus_9.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GPL [Ghostscript] is free software; + you can redistribute it and/or modify it + under the terms the GNU [Affero] General Public License + as published by the Free Software Foundation, + either version 3 of the License, or (at your option) any later version. + - score: '64.06' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 64 + matched_length: 41 + match_coverage: '64.06' + rule_relevance: 100 + identifier: gpl-1.0-plus_448.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission + to copy, modify and redistribute [this] [software], + [but] [only] [under] [the] [conditions] + [described] [in] [the] [GNU] General Public License. + A copy of this license is supposed to have been given to you + along with [this] [software] + so you can know your rights and responsibilities. + It should be in a file named COPYING. + - score: '64.06' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 64 + matched_length: 41 + match_coverage: '64.06' + rule_relevance: 100 + identifier: gpl-1.0-plus_448.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission + to copy, modify and redistribute [this] [software], + [but] [only] [under] [the] [conditions] + [described] [in] [the] [GNU] General Public License. + A copy of this license is supposed to have been given to you + along with [this] [software] + so you can know your rights and responsibilities. + It should be in a file named COPYING. + - score: '87.5' + start_line: 3 + end_line: 12 + matcher: 3-seq + rule_length: 64 + matched_length: 56 + match_coverage: '87.5' + rule_relevance: 100 + identifier: gpl-1.0-plus_448.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission + to copy, modify and redistribute [Ghostscript], + [but] [only] [under] [the] [conditions] + [described] [in] [the] [GNU] General Public License. + A copy of this license is supposed to have been given to you + along with [Ghostscript] + so you can know your rights and responsibilities. + It should be in a file named COPYING [or] [COPYLEFT]. + Among other things, + the copyright notice and this notice must be preserved on all copies. + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_292.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This code is subject to the GNU General Public License + - score: '50.0' + start_line: 4 + end_line: 5 + matcher: 3-seq + rule_length: 22 + matched_length: 11 + match_coverage: '50.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_358.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + and distributed [freely] + under the terms of the GNU General Public License + - score: '79.17' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 24 + matched_length: '19' + match_coverage: '79.17' + rule_relevance: 100 + identifier: gpl-2.0_404.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + may be distributed [and]/[or] [modified] + under the terms of the GNU General Public License + as published by the Free Software Foundation ( + - score: '85.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 85 + identifier: gpl-1.0-plus_351.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the "GPL"); + - score: '90.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-1.0-plus_350.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: of the GPL, + - score: '100.0' + start_line: 1 + end_line: 10 + matcher: 1-hash + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_924.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed to the Apache Software Foundation (ASF) + under one or more contributor license agreements. + See the NOTICE file distributed with this work + for additional information regarding copyright ownership. + The ASF licenses this file to You + under the Apache License, Version 2.0 (the "License"); + you may not use this file + except in compliance with the License. + You may obtain a copy of the License + at + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_712.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, + Version 2.0 (the "License"); + you may not use this file + except in compliance with the License. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agpl-3.0_191.RULE + license_expression: agpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: 'License: agpl-' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agpl-3.0-plus_28.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: agpl-3+ + - score: '90.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 90 + identifier: afpl-9.0_9.RULE + license_expression: afpl-9.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: AFPL Ghostscript, + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_165.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; + you can redistribute it and/or modify it + under the terms of the GNU General Public License + as published by the Free Software Foundation; + either version 2, or (at your option) any later version. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_64.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; + you can redistribute it and/or modify it + under the terms of the GNU General Public License + as published by the Free Software Foundation; + either version 2 of the License, or (at your option) any later version. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_64.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; + you can redistribute it and/or modify it + under the terms of the GNU General Public License + as published by the Free Software Foundation; + either version 2 of the License, or (at your option) any later version. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_64.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; + you can redistribute it and/or modify it + under the terms of the GNU General Public License + as published by the Free Software Foundation; + either version 2 of the License, or (at your option) any later version. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_64.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; + you can redistribute it and/or modify it + under the terms of the GNU General Public License + as published by the Free Software Foundation; + either version 2 of the License, or (at your option) any later version. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_64.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; + you can redistribute it and/or modify it + under the terms of the GNU General Public License + as published by the Free Software Foundation; + either version 2 of the License, or (at your option) any later version. + - score: '64.06' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 64 + matched_length: 41 + match_coverage: '64.06' + rule_relevance: 100 + identifier: gpl-1.0-plus_448.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission + to copy, modify and redistribute [this] [software], + [but] [only] [under] [the] [conditions] + [described] [in] [the] [GNU] General Public License. + A copy of this license is supposed to have been given to you + along with [this] [software] + so you can know your rights and responsibilities. + It should be in a file named COPYING. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_284.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; + you can redistribute it and/or modify it + under the terms of the GNU General Public License + as published by the Free Software Foundation; + either version 3, or (at your option) any later version. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/ghostscript/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/ghostscript/stable_copyright.expected.yml index 9884f96f07f..6f867249ed5 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/ghostscript/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/ghostscript/stable_copyright.expected.yml @@ -1,4 +1,6 @@ -- - AGPL-3+ +primary_license: None +declared_license: + - AGPL-3+ - BSD-3-Clause~Adobe - LGPL-2.1 - FTL @@ -22,11 +24,13 @@ - GPL-3+ - GPL-2 - Expat~SunSoft -- agpl-3+ AND bsd-new AND lgpl-2.1 AND freetype AND gpl-1.0-plus AND agpl-3.0 WITH ps-or-pdf-font-exception-20170817 - AND fsf-free AND gpl-2.0-plus AND zlib AND bsd-new AND sunsoft AND mit AND ((lgpl-2.1 AND - public-domain) AND public-domain) AND apache-2.0 AND isc AND other-permissive AND x11-opengroup - AND unknown-license-reference AND x11-lucent AND libpbm -- | +license_expression: (agpl-3.0 AND agpl-3.0-plus) AND agpl-3.0-plus AND bsd-new AND (agpl-3.0-plus + AND gpl-3.0-plus) AND lgpl-2.1 AND lgpl-2.1-plus AND freetype AND gpl-1.0-plus AND agpl-3.0 + WITH ps-or-pdf-font-exception-20170817 AND fsf-free AND gpl-2.0-plus AND (gpl-2.0 AND gpl-1.0-plus) + AND zlib AND sunsoft AND mit AND ((lgpl-2.1 AND public-domain) AND public-domain) AND apache-2.0 + AND afpl-9.0 AND isc AND other-permissive AND x11-opengroup AND public-domain AND x11-lucent + AND libpbm +copyright: | 1986, Eric Gisin 1989, Berthold K.P. Horn 1990-2019, Artifex Software, Inc. @@ -84,3 +88,2263 @@ 1992, Washington State University. 1997, Anthony Shipman 2010, Kenshi Muto +matches: + - score: '88.21' + start_line: 1 + end_line: 6 + matcher: 3-seq + rule_length: 42 + matched_length: 39 + match_coverage: '92.86' + rule_relevance: 95 + identifier: agpl-3.0_with_ps-or-pdf-font-exception-20170817_3.RULE + license_expression: agpl-3.0 WITH ps-or-pdf-font-exception-20170817 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception, + permission is granted to include [this] [font] [program] + in a Postscript or PDF file that consists of a document + that contains text to be displayed or printed using this font, + regardless of the conditions or license + applying to the document itself. + - score: '18.18' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: '198' + matched_length: 36 + match_coverage: '18.18' + rule_relevance: 100 + identifier: sunsoft_1.RULE + license_expression: sunsoft + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Except as contained in this notice, + the name of SunSoft, Inc. shall not be used + in advertising or otherwise to promote + the sale, use or other dealings in this Software + without written authorization from SunSoft Inc. + - score: '16.67' + start_line: 3 + end_line: 4 + matcher: 3-seq + rule_length: 30 + matched_length: 5 + match_coverage: '16.67' + rule_relevance: 100 + identifier: lgpl-2.1_and_public-domain2.RULE + license_expression: lgpl-2.1 AND public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + therefore [is] [not] covered + by the [Ghostscript] [copyright] [or] license: + - score: '90.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 90 + identifier: public-domain_108.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: it is in the public domain. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_358.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be freely distributed + with or without modifications, + so long as modified versions are marked as such + and copyright notices are not removed. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_72.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl' + - score: '100.0' + start_line: 1 + end_line: 850 + matcher: 1-hash + rule_length: 5374 + matched_length: 5374 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agpl-3.0.SPDX.RULE + license_expression: agpl-3.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute + verbatim copies of this license document, + but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license + for software and other kinds of works, + specifically designed to ensure cooperation with the community + in the case of network server software. + + The licenses for most software and other practical works + are designed to take away your freedom to share and change the works. + By contrast, our General Public Licenses are intended + to guarantee your freedom to share + and change all versions of a program-- + to make sure it remains free software for all its users. + + When we speak of free software, + we are referring to freedom, not price. + Our General Public Licenses are designed + to make sure that you have the freedom + to distribute copies of free software + (and charge for them if you wish), + that you receive source code or can get it if you want it, + that you can change the software + or use pieces of it in new free programs, + and that you know you can do these things. + + Developers that use our General Public Licenses + protect your rights with two steps: + (1) assert copyright on the software, + and (2) offer you this License + which gives you legal permission + to copy, distribute and/or modify the software. + + A secondary benefit of defending all users' freedom is + that improvements made in alternate versions of the program, + if they receive widespread use, + become available for other developers to incorporate. + Many developers of free software are heartened and encouraged + by the resulting cooperation. + However, in the case of software used on network servers, + this result may fail to come about. + The GNU General Public License permits + making a modified version and letting the public access it on a server + without ever releasing its source code to the public. + + The GNU Affero General Public License is designed + specifically to ensure that, in such cases, + the modified source code becomes available to the community. + It requires the operator of a network server to provide + the source code of the modified version running there + to the users of that server. + Therefore, public use of a modified version, + on a publicly accessible server, + gives the public access to the source code of the modified version. + + An older license, + called the Affero General Public License and published by Affero, + was designed to accomplish similar goals. + This is a different license, not a version of the Affero GPL, + but Affero has released a new version of the Affero GPL + which permits relicensing under this license. + + The precise terms and conditions + for copying, distribution and modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 + of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply + to other kinds of works, such as semiconductor masks. + + "The Program" refers to any copyrightable work + licensed under this License. + Each licensee is addressed as "you". + "Licensees" and "recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work + in a fashion requiring copyright permission, + other than the making of an exact copy. + The resulting work is called a "modified version" of the earlier work + or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program + or a work based on the Program. + + To "propagate" a work means to do anything with it + that, without permission, would make you directly or secondarily liable + for infringement under applicable copyright law, + except executing it on a computer or modifying a private copy. + Propagation includes copying, + distribution (with or without modification), + making available to the public, + and in some countries other activities as well. + + To "convey" a work means any kind of propagation + that enables other parties to make or receive copies. + Mere interaction with a user through a computer network, + with no transfer of a copy, + is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" + to the extent that it includes + a convenient and prominently visible feature + that (1) displays an appropriate copyright notice, + and (2) tells the user that there is no warranty for the work + (except to the extent that warranties are provided), + that licensees may convey the work under this License, + and how to view a copy of this License. + If the interface presents + a list of user commands or options, such as a menu, + a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means + the preferred form of the work for making modifications to it. + "Object code" means any non-source form of a work. + + A "Standard Interface" means + an interface that either is an official standard + defined by a recognized standards body, + or, in the case of interfaces + specified for a particular programming language, + one that is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, + other than the work as a whole, + that (a) is included in the normal form of packaging a Major Component, + but which is not part of that Major Component, + and (b) serves only + to enable use of the work with that Major Component, + or to implement a Standard Interface + for which an implementation is available to the public + in source code form. + A "Major Component", in this context, means + a major essential component (kernel, window system, and so on) + of the specific operating system (if any) + on which the executable work runs, + or a compiler used to produce the work, + or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means + all the source code needed to generate, install, + and (for an executable work) run the object code + and to modify the work, + including scripts to control those activities. + However, it does not include the work's System Libraries, + or general-purpose tools or generally available free programs + which are used unmodified in performing those activities + but which are not part of the work. + For example, Corresponding Source includes + interface definition files associated with source files for the work, + and the source code for shared libraries + and dynamically linked subprograms + that the work is specifically designed to require, + such as by intimate data communication or control flow + between those subprograms and other parts of the work. + + The Corresponding Source need not include + anything that users can regenerate automatically + from other parts of the Corresponding Source. + + The Corresponding Source for a work in source code form + is that same work. + + 2. Basic Permissions. + + All rights granted under this License are granted + for the term of copyright on the Program, + and are irrevocable provided the stated conditions are met. + This License explicitly affirms your unlimited permission + to run the unmodified Program. + The output from running a covered work is covered by this License + only if the output, given its content, constitutes a covered work. + This License acknowledges your rights of fair use + or other equivalent, as provided by copyright law. + + You may make, run and propagate + covered works that you do not convey, + without conditions + so long as your license otherwise remains in force. + You may convey covered works to others + for the sole purpose of having them + make modifications exclusively for you, + or provide you with facilities for running those works, + provided that you comply with the terms of this License + in conveying all material + for which you do not control copyright. + Those thus making or running the covered works for you + must do so exclusively on your behalf, + under your direction and control, + on terms that prohibit them from making any copies + of your copyrighted material + outside their relationship with you. + + Conveying under any other circumstances is permitted + solely under the conditions stated below. + Sublicensing is not allowed; + section 10 makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed + part of an effective technological measure + under any applicable law fulfilling obligations + under article 11 of the WIPO copyright treaty + adopted on 20 December 1996, + or similar laws prohibiting or restricting + circumvention of such measures. + + When you convey a covered work, + you waive any legal power + to forbid circumvention of technological measures + to the extent such circumvention is effected + by exercising rights under this License + with respect to the covered work, + and you disclaim any intention + to limit operation or modification of the work + as a means of enforcing, against the work's users, + your or third parties' legal rights + to forbid circumvention of technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code + as you receive it, in any medium, + provided that you conspicuously and appropriately publish + on each copy an appropriate copyright notice; + keep intact all notices + stating that this License and any non-permissive terms + added in accord with section 7 apply to the code; + keep intact all notices + of the absence of any warranty; + and give all recipients a copy of this License + along with the Program. + + You may charge any price or no price + for each copy that you convey, + and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, + or the modifications to produce it from the Program, + in the form of source code + under the terms of section 4, + provided that you also meet all of these conditions: + + a) The work must carry prominent notices + stating that you modified it, and giving a relevant date. + + b) The work must carry prominent notices + stating that it is released under this License + and any conditions added under section 7. + This requirement modifies + the requirement in section 4 to "keep intact all notices". + + c) You must license the entire work, as a whole, under this License + to anyone who comes into possession of a copy. + This License will therefore apply, + along with any applicable section 7 additional terms, + to the whole of the work, and all its parts, + regardless of how they are packaged. + This License gives no permission + to license the work in any other way, + but it does not invalidate such permission + if you have separately received it. + + d) If the work has interactive user interfaces, + each must display Appropriate Legal Notices; + however, if the Program has interactive interfaces + that do not display Appropriate Legal Notices, + your work need not make them do so. + + A compilation of a covered work + with other separate and independent works, + which are not by their nature extensions of the covered work, + and which are not combined with it such as to form a larger program, + in or on a volume of a storage or distribution medium, + is called an "aggregate" + if the compilation and its resulting copyright are not used + to limit the access or legal rights of the compilation's users + beyond what the individual works permit. + Inclusion of a covered work in an aggregate + does not cause this License to apply + to the other parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form + under the terms of sections 4 and 5, + provided that you also convey the machine-readable Corresponding Source + under the terms of this License, + in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), + accompanied by the Corresponding Source + fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), + accompanied by a written offer, + valid for at least three years + and valid for as long as you offer spare parts or customer support + for that product model, + to give anyone who possesses the object code + either (1) a copy of the Corresponding Source + for all the software in the product that is covered by this License, + on a durable physical medium + customarily used for software interchange, + for a price no more than your reasonable cost + of physically performing this conveying of source, + or (2) access to copy the Corresponding Source + from a network server at no charge. + + c) Convey individual copies of the object code + with a copy of the written offer to provide the Corresponding Source. + This alternative is allowed only occasionally and noncommercially, + and only if you received the object code with such an offer, + in accord with subsection 6b. + + d) Convey the object code by offering access from a designated place + (gratis or for a charge), + and offer equivalent access to the Corresponding Source + in the same way through the same place at no further charge. + You need not require recipients to copy the Corresponding Source + along with the object code. + If the place to copy the object code is a network server, + the Corresponding Source may be on a different server + (operated by you or a third party) + that supports equivalent copying facilities, + provided you maintain clear directions next to the object code + saying where to find the Corresponding Source. + Regardless of what server hosts the Corresponding Source, + you remain obligated to ensure that it is available + for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, + provided you inform other peers + where the object code and Corresponding Source of the work + are being offered to the general public + at no charge under subsection 6d. + + A separable portion of the object code, + whose source code is excluded + from the Corresponding Source as a System Library, + need not be included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", + which means any tangible personal property + which is normally used for personal, family, or household purposes, + or (2) anything designed or sold for incorporation into a dwelling. + In determining whether a product is a consumer product, + doubtful cases shall be resolved in favor of coverage. + For a particular product received by a particular user, + "normally used" refers to a typical or common use + of that class of product, + regardless of the status of the particular user + or of the way in which the particular user actually uses, + or expects or is expected to use, + the product. + A product is a consumer product + regardless of whether the product has substantial commercial, + industrial or non-consumer uses, + unless such uses represent the only significant mode + of use of the product. + + "Installation Information" for a User Product means + any methods, procedures, authorization keys, or other information + required to install and execute modified versions of a covered work + in that User Product + from a modified version of its Corresponding Source. + The information must suffice to ensure + that the continued functioning of the modified object code + is in no case prevented or interfered with + solely because modification has been made. + + If you convey an object code work under this section + in, or with, or specifically for use in, a User Product, + and the conveying occurs as part of a transaction + in which the right of possession and use of the User Product + is transferred to the recipient + in perpetuity or for a fixed term + (regardless of how the transaction is characterized), + the Corresponding Source conveyed under this section must + be accompanied by the Installation Information. + But this requirement does not apply + if neither you nor any third party retains + the ability to install modified object code on the User Product + (for example, the work has been installed in ROM). + + The requirement to provide Installation Information does not include + a requirement to continue to provide support service, warranty, + or updates for a work + that has been modified or installed by the recipient, + or for the User Product in which it has been modified or installed. + Access to a network may be denied + when the modification itself materially and adversely affects + the operation of the network + or violates the rules and protocols + for communication across the network. + + Corresponding Source conveyed, + and Installation Information provided, + in accord with this section must be in a format + that is publicly documented + (and with an implementation available to the public + in source code form), + and must require no special password or key + for unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms + that supplement the terms of this License + by making exceptions from one or more of its conditions. + Additional permissions that are applicable to the entire Program + shall be treated as though they were included in this License, + to the extent that they are valid under applicable law. + If additional permissions apply only to part of the Program, + that part may be used separately under those permissions, + but the entire Program remains governed by this License + without regard to the additional permissions. + + When you convey a copy of a covered work, + you may at your option remove any additional permissions + from that copy, or from any part of it. + (Additional permissions may be written to require their own removal + in certain cases when you modify the work.) + You may place additional permissions on material, + added by you to a covered work, + for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, + for material you add to a covered work, you may + (if authorized by the copyright holders of that material) + supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability + differently from the terms of sections 15 and 16 of this License; or + + b) Requiring preservation + of specified reasonable legal notices + or author attributions in that material + or in the Appropriate Legal Notices + displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, + or requiring that modified versions of such material be marked + in reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes + of names of licensors or authors of the material; or + + e) Declining to grant rights under trademark law + for use of some trade names, trademarks, or service marks; or + + f) Requiring indemnification + of licensors and authors of that material + by anyone who conveys the material (or modified versions of it) + with contractual assumptions of liability to the recipient, + for any liability that these contractual assumptions directly impose + on those licensors and authors. + + All other non-permissive additional terms + are considered "further restrictions" + within the meaning of section 10. + If the Program as you received it, or any part of it, + contains a notice stating that it is governed by this License + along with a term that is a further restriction, + you may remove that term. + If a license document contains a further restriction + but permits relicensing or conveying under this License, + you may add to a covered work material governed + by the terms of that license document, + provided that the further restriction does not survive + such relicensing or conveying. + + If you add terms to a covered work in accord with this section, + you must place, in the relevant source files, a statement + of the additional terms that apply to those files, + or a notice indicating where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated + in the form of a separately written license, + or stated as exceptions; + the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work + except as expressly provided under this License. + Any attempt otherwise to propagate or modify it is void, + and will automatically terminate your rights under this License + (including any patent licenses granted + under the third paragraph of section 11). + + However, if you cease all violation of this License, + then your license from a particular copyright holder is reinstated + (a) provisionally, + unless and until the copyright holder explicitly and finally + terminates your license, + and (b) permanently, + if the copyright holder fails to notify you of the violation + by some reasonable means prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder + is reinstated permanently + if the copyright holder notifies you + of the violation by some reasonable means, + this is the first time you have received notice + of violation of this License (for any work) + from that copyright holder, + and you cure the violation + prior to 30 days after your receipt of the notice. + + Termination of your rights under this section does not terminate + the licenses of parties who have received copies or rights + from you under this License. + If your rights have been terminated and not permanently reinstated, + you do not qualify to receive new licenses for the same material + under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License + in order to receive or run a copy of the Program. + Ancillary propagation + of a covered work occurring solely as a consequence + of using peer-to-peer transmission to receive a copy + likewise does not require acceptance. + However, nothing other than this License grants you + permission to propagate or modify any covered work. + These actions infringe copyright + if you do not accept this License. + Therefore, by modifying or propagating a covered work, + you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, + the recipient automatically receives + a license from the original licensors, + to run, modify and propagate that work, + subject to this License. + You are not responsible for enforcing compliance by third parties + with this License. + + An "entity transaction" is a transaction transferring control + of an organization, or substantially all assets of one, + or subdividing an organization, + or merging organizations. + If propagation of a covered work results from an entity transaction, + each party to that transaction who receives a copy of the work + also receives whatever licenses to the work + the party's predecessor in interest had or could give + under the previous paragraph, + plus a right to possession of the Corresponding Source of the work + from the predecessor in interest, + if the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions + on the exercise of the rights granted or affirmed under this License. + For example, you may not impose + a license fee, royalty, or other charge + for exercise of rights granted under this License, + and you may not initiate litigation + (including a cross-claim or counterclaim in a lawsuit) + alleging that any patent claim is infringed + by making, using, selling, offering for sale, or importing + the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder + who authorizes use under this License of the Program + or a work on which the Program is based. + The work thus licensed is called + the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims + owned or controlled by the contributor, + whether already acquired or hereafter acquired, + that would be infringed by some manner, + permitted by this License, + of making, using, or selling its contributor version, + but do not include claims + that would be infringed only as a consequence + of further modification of the contributor version. + For purposes of this definition, "control" includes the right + to grant patent sublicenses in a manner + consistent with the requirements of this License. + + Each contributor grants you + a non-exclusive, worldwide, royalty-free patent license + under the contributor's essential patent claims, + to make, use, sell, offer for sale, import and otherwise run, modify + and propagate the contents of its contributor version. + + In the following three paragraphs, + a "patent license" is any express agreement or commitment, + however denominated, not to enforce a patent + (such as an express permission to practice a patent + or covenant not to sue for patent infringement). + To "grant" such a patent license to a party means + to make such an agreement or commitment + not to enforce a patent against the party. + + If you convey a covered work, + knowingly relying on a patent license, + and the Corresponding Source of the work is not available + for anyone to copy, + free of charge and under the terms of this License, + through a publicly available network server + or other readily accessible means, + then you must either + (1) cause the Corresponding Source to be so available, + or (2) arrange to deprive yourself of the benefit + of the patent license for this particular work, + or (3) arrange, + in a manner consistent with the requirements of this License, + to extend the patent license to downstream recipients. + "Knowingly relying" means + you have actual knowledge that, but for the patent license, + your conveying the covered work in a country, + or your recipient's use of the covered work in a country, + would infringe one or more identifiable patents in that country + that you have reason to believe are valid. + + If, pursuant to or in connection + with a single transaction or arrangement, + you convey, or propagate by procuring conveyance of, a covered work, + and grant a patent license to some of the parties + receiving the covered work authorizing them + to use, propagate, modify or convey a specific copy of the covered work, + then the patent license you grant is automatically extended + to all recipients of the covered work and works based on it. + + A patent license is "discriminatory" + if it does not include within the scope of its coverage, + prohibits the exercise of, or is conditioned on + the non-exercise of one or more of the rights + that are specifically granted under this License. + You may not convey a covered work + if you are a party to an arrangement with a third party + that is in the business of distributing software, + under which you make payment to the third party + based on the extent of your activity of conveying the work, + and under which the third party grants, + to any of the parties who would receive the covered work from you, + a discriminatory patent license + (a) in connection with copies of the covered work conveyed by you + (or copies made from those copies), + or (b) primarily for and in connection with specific products + or compilations that contain the covered work, + unless you entered into that arrangement, + or that patent license was granted, + prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting + any implied license or other defenses to infringement + that may otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you + (whether by court order, agreement or otherwise) + that contradict the conditions of this License, + they do not excuse you from the conditions of this License. + If you cannot convey a covered work + so as to satisfy simultaneously your obligations + under this License and any other pertinent obligations, + then as a consequence you may not convey it at all. + For example, if you agree to terms that obligate you + to collect a royalty for further conveying from those + to whom you convey the Program, + the only way you could satisfy both those terms and this License + would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; + Use with the GNU General Public License. + + Notwithstanding any other provision of this License, + if you modify the Program, + your modified version must prominently offer + all users interacting with it remotely through a computer network + (if your version supports such interaction) + an opportunity to receive the Corresponding Source of your version + by providing access to the Corresponding Source + from a network server at no charge, + through some standard or customary means + of facilitating copying of software. + This Corresponding Source shall include + the Corresponding Source for any work covered + by version 3 of the GNU General Public License + that is incorporated pursuant to the following paragraph. + + Notwithstanding any other provision of this License, + you have permission to link or combine any covered work + with a work licensed + under version 3 of the GNU General Public License + into a single combined work, and to convey the resulting work. + The terms of this License will continue to apply + to the part which is the covered work, + but the work with which it is combined will remain governed + by version 3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions + of the GNU Affero General Public License from time to time. + Such new versions will be similar in spirit to the present version, + but may differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. + If the Program specifies that a certain numbered version + of the GNU Affero General Public License + "or any later version" applies to it, + you have the option of following the terms and conditions + either of that numbered version + or of any later version + published by the Free Software Foundation. + If the Program does not specify a version number + of the GNU Affero General Public License, + you may choose any version ever + published by the Free Software Foundation. + + If the Program specifies that a proxy can decide + which future versions + of the GNU Affero General Public License can be used, + that proxy's public statement of acceptance of a version + permanently authorizes you to choose that version for the Program. + + Later license versions may give you + additional or different permissions. + However, no additional obligations are imposed + on any author or copyright holder + as a result of your choosing to follow a later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, + TO THE EXTENT PERMITTED BY APPLICABLE LAW. + EXCEPT WHEN OTHERWISE STATED IN WRITING + THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" + WITHOUT WARRANTY OF ANY KIND, + EITHER EXPRESSED OR IMPLIED, + INCLUDING, BUT NOT LIMITED TO, + THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE. + THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM + IS WITH YOU. + SHOULD THE PROGRAM PROVE DEFECTIVE, + YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT + UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING + WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY + WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, + BE LIABLE TO YOU FOR DAMAGES, + INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES + ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM + (INCLUDING BUT NOT LIMITED TO + LOSS OF DATA OR DATA BEING RENDERED INACCURATE + OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES + OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), + EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED + OF THE POSSIBILITY OF SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer + of warranty and limitation of liability provided above + cannot be given local legal effect according to their terms, + reviewing courts shall apply local law + that most closely approximates an absolute waiver + of all civil liability in connection with the Program, + unless a warranty or assumption of liability accompanies + a copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, + and you want it to be of the greatest possible use to the public, + the best way to achieve this is to make it free software + which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. + It is safest to attach them to the start of each source file + to most effectively state the exclusion of warranty; + and each file should have at least the "copyright" line + and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: + you can redistribute it and/or modify it + under the terms of the GNU Affero General Public License + as published by the Free Software Foundation, + either version 3 of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; + without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + See the GNU Affero General Public License for more details. + + You should have received + a copy of the GNU Affero General Public License + along with this program. + If not, see . + + Also add information on how to contact you + by electronic and paper mail. + + If your software can interact with users + remotely through a computer network, + you should also make sure that it provides + a way for users to get its source. + For example, if your program is a web application, + its interface could display a "Source" link + that leads users to an archive of the code. + There are many ways you could offer source, + and different solutions will be better for different programs; + see section 13 for the specific requirements. + + You should also get your employer (if you work as a programmer) + or school, if any, to sign + a "copyright disclaimer" for the program, if necessary. + For more information on this, + and how to apply and follow the GNU AGPL, + see . + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-free.LICENSE + license_expression: fsf-free + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This configure script is free software; + the Free Software Foundation gives unlimited permission + to copy, distribute and modify it. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, + to any person obtaining a copy + of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, + including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", + WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + INCLUDING BUT NOT LIMITED TO + THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE + AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE + FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE + OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '96.3' + start_line: 1 + end_line: 23 + matcher: 3-seq + rule_length: 156 + matched_length: 156 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_71.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, + to any person obtaining a copy + of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, + including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", + WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO + THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE + AND NONINFRINGEMENT. + IN NO EVENT SHALL [SUNSOFT], [INC]. [OR] [ITS] [PARENT] [COMPANY] BE LIABLE + FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE + OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 124 + matched_length: 124 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_ghostgum.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, + to any person obtaining a copy of this file ("Software"), + to deal in the Software without restriction, + including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of this Software, + and to permit persons to whom this file is furnished to do so, + subject to the following conditions: + + This Software is distributed with NO WARRANTY OF ANY KIND. + No author or distributor accepts any responsibility + for the consequences of using it, + or for whether it serves any particular purpose or works at all, + unless he or she says so in writing. + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + - score: '99.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 138 + matched_length: 138 + match_coverage: '100.0' + rule_relevance: 99 + identifier: x11-opengroup_7.RULE + license_expression: x11-opengroup + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, distribute, and sell + this software and its documentation + for any purpose is hereby granted without fee, + provided that the above copyright notice appear in all copies + and that both that copyright notice and this permission notice appear + in supporting documentation. + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", + WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE + AND NONINFRINGEMENT. + IN NO EVENT SHALL THE OPEN GROUP BE LIABLE + FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE + OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '57.14' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 56 + matched_length: 32 + match_coverage: '57.14' + rule_relevance: 100 + identifier: libpbm.LICENSE + license_expression: libpbm + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute + this software and its documentation + for any purpose and without fee is hereby granted. + This software is provided "as is" + without express or implied warranty. + - score: '88.17' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 93 + matched_length: 82 + match_coverage: '88.17' + rule_relevance: 100 + identifier: x11-lucent_1.RULE + license_expression: x11-lucent + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software + for any purpose without fee is hereby granted, + provided that this entire notice is included in all copies + of any software which is or includes + a copy or modification of this software. + + THIS SOFTWARE IS BEING PROVIDED "AS IS", + WITHOUT ANY EXPRESS OR IMPLIED WARRANTY. + IN PARTICULAR, NEITHER THE AUTHORS NOR LUCENT TECHNOLOGIES MAKE + ANY REPRESENTATION OR WARRANTY OF ANY KIND + CONCERNING THE MERCHANTABILITY OF THIS SOFTWARE OR ITS FITNESS + FOR ANY PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 32 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, + with or without modification, + are permitted provided that the following conditions are met: + 1. Redistributions of source code must retain + the above copyright notice, this list of conditions + and the following disclaimer. + 2. Redistributions in binary form must reproduce + the above copyright notice, this list of conditions + and the following disclaimer in the documentation + and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products + derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. + IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, + OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; + OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 37 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_686.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, + with or without modification, + are permitted provided that the following conditions are met: + + Redistributions of source code must retain + the above copyright notice, this list of conditions + and the following disclaimer. + + Redistributions in binary form must reproduce + the above copyright notice, this list of conditions + and the following disclaimer + in the documentation and/or other materials + provided with the distribution. + + Neither the name of Adobe Systems Incorporated + nor the names of its contributors may be used + to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED + BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, + OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; + OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '98.4' + start_line: 1 + end_line: 180 + matcher: 3-seq + rule_length: 939 + matched_length: 924 + match_coverage: '98.4' + rule_relevance: 100 + identifier: freetype.LICENSE + license_expression: freetype + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The FreeType Project LICENSE + ---------------------------- + + 2006-Jan-27 + + Copyright 1996-2002, 2006 + by David Turner, Robert Wilhelm, and Werner Lemberg + + Introduction + ============ + + The FreeType Project is distributed in several archive packages; + some of them may contain, + in addition to the FreeType font engine, + various tools and contributions which rely on, or relate to, + the FreeType Project. + + This license applies to all files found in such packages, and + which do not fall under their own explicit license. The license + affects thus the FreeType font engine, the test programs, + documentation and makefiles, at the very least. + + This license was inspired by the BSD, Artistic, and IJG + (Independent JPEG Group) licenses, which all encourage inclusion + and use of free software in commercial and freeware products + alike. As a consequence, its main points are that: + * We don't promise that this software works. + However, we will be interested in any kind of bug reports. + ("as is" distribution) + * You can use this software for whatever you want, + in parts or full form, + without having to pay us. + ("royalty-free" usage) + * You may not pretend that you wrote this software. + If you use it, or only parts of it, in a program, + you must acknowledge somewhere in your documentation + that you have used the FreeType code. + ("credits") + + We specifically permit and encourage + the inclusion of this software, + with or without modifications, + in commercial products. + We disclaim all warranties covering The FreeType Project + and assume no liability related to The FreeType Project. + + Finally, many people asked us for a preferred form + for a credit/disclaimer to use + in compliance with this license. + We thus encourage you to use the following text: + + """ + Portions of this software are + copyright © The FreeType Project (www.freetype.org). + All rights reserved. + """ + + Please replace with the value + from the FreeType version you actually use. + + Legal Terms + =========== + + 0. Definitions + -------------- + + Throughout this license, + the terms "package", "FreeType Project", and "FreeType archive" + refer to the set of files originally distributed by the authors + (David Turner, Robert Wilhelm, and Werner Lemberg) + as the "FreeType Project", + be they named as alpha, beta or final release. + + "You" refers to the licensee, or person using the project, + where "using" is a generic term + including compiling the project's source code + as well as linking it to form a "program" or "executable". + This program is referred to as "a program using the FreeType engine". + + This license applies to all files + distributed in the original FreeType Project, + including all source code, binaries and documentation, + unless otherwise stated in the file + in its original, unmodified form + as distributed in the original archive. + If you are unsure whether or not a particular file is covered + by this license, + you must contact us to verify this. + + The FreeType Project is copyright (C) 1996-2000 + by David Turner, Robert Wilhelm, and Werner Lemberg. + All rights reserved except as specified below. + + 1. No Warranty + -------------- + + THE FREETYPE PROJECT IS PROVIDED "AS IS" + WITHOUT WARRANTY OF ANY KIND, + EITHER EXPRESS OR IMPLIED, + INCLUDING, BUT NOT LIMITED TO, + WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE. + IN NO EVENT WILL ANY OF THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY DAMAGES + CAUSED BY THE USE OR THE INABILITY TO USE, + OF THE FREETYPE PROJECT. + + 2. Redistribution + ----------------- + + This license grants a worldwide, royalty-free, + perpetual and irrevocable right and license + to use, execute, perform, compile, display, copy, + create derivative works of, distribute and sublicense + the FreeType Project (in both source and object code forms) + and derivative works thereof for any purpose; + and to authorize others to exercise + some or all of the rights granted herein, + subject to the following conditions: + * Redistribution of source code must retain + this license file ("FTL.TXT") unaltered; + any additions, deletions or changes to the original files + must be clearly indicated in accompanying documentation. + The copyright notices of the unaltered, original files + must be preserved in all copies of source files. + * Redistribution in binary form must provide a disclaimer + that states that the software is based in part + of the work of the FreeType Team, + in the distribution documentation. + We also encourage you to put an URL to the FreeType web page + in your documentation, + though this isn't mandatory. + + These conditions apply to any software + derived from or based on the FreeType Project, + not just the unmodified files. + If you use our work, you must acknowledge us. + However, no fee need be paid to us. + + 3. Advertising + -------------- + + Neither the FreeType authors and contributors nor you + shall use the name of the other + for commercial, advertising, or promotional purposes + without specific prior written permission. + + We suggest, but do not require, + that you use one or more of the following phrases + to refer to this software + in your documentation or advertising materials: + "FreeType Project", "FreeType Engine", "FreeType library", + or "FreeType Distribution". + + As you have not signed this license, + you are not required to accept it. + However, as the FreeType Project is copyrighted material, + only this license, or another one contracted with the authors, + grants you the right to use, distribute, and modify it. + Therefore, by using, distributing, or modifying + the FreeType Project, + you indicate that you understand + and accept all the terms of this license. + + 4. Contacts + ----------- + + There are two mailing lists related to FreeType: + * freetype@nongnu.org + Discusses general use and applications of FreeType, + as well as future and wanted additions + to the library and distribution. + If you are looking for support, + start in this list + if you haven't found anything to help you in the documentation. + * freetype-devel@nongnu.org + Discusses bugs, as well as engine internals, design issues, + specific licenses, porting, etc. + + Our home page can be found at + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', + without any express or implied warranty. + In no event will the authors be held liable + for any damages arising from the use of this software. + + Permission is granted to anyone + to use this software for any purpose, + including commercial applications, + and to alter it and redistribute it freely, + subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; + you must not claim that you wrote the original software. + If you use this software in a product, + an acknowledgment in the product documentation + would be appreciated but is not required. + 2. Altered source versions must be plainly marked as such, + and must not be misrepresented as being the original software. + 3. This notice may not be removed or altered + from any source distribution. + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software + for any purpose with or without fee is hereby granted, + provided that the above copyright notice and this permission notice + appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" + AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. + IN NO EVENT SHALL THE AUTHOR BE LIABLE + FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES + OR ANY DAMAGES WHATSOEVER + RESULTING FROM LOSS OF USE, DATA OR PROFITS, + WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, + ARISING OUT OF OR IN CONNECTION WITH + THE USE OR PERFORMANCE OF THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agpl-3.0_191.RULE + license_expression: agpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: 'License: agpl-' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agpl-3.0-plus_28.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: agpl-3+ + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 90 + identifier: agpl-3.0-plus_143.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL Ghostscript + - score: '92.68' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 41 + matched_length: 38 + match_coverage: '92.68' + rule_relevance: 100 + identifier: agpl-3.0-plus_113.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + free software; + you can redistribute and/or modify [them] + under the terms of the GNU Affero General Public License + as published by the Free Software Foundation, + either version 3 of the License, or (at your option) any later version. + - score: '90.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 90 + identifier: agpl-3.0-plus_143.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL Ghostscript, + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agpl-3.0_191.RULE + license_expression: agpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: 'License: agpl-' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agpl-3.0-plus_28.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: agpl-3+ + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 90 + identifier: agpl-3.0-plus_143.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL Ghostscript + - score: '88.89' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 45 + matched_length: 40 + match_coverage: '88.89' + rule_relevance: 100 + identifier: gpl-3.0-plus_9.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GPL [Ghostscript] is free software; + you can redistribute it and/or modify + it under the terms the GNU [Affero] General Public License + as published by the Free Software Foundation, + either version 3 of the License, or (at your option) any later version. + - score: '33.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: lgpl_35.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GNU Lesser General Public License (LGPL), + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 1-hash + rule_length: 49 + matched_length: 49 + match_coverage: '100.0' + rule_relevance: 100 + identifier: freetype_4.RULE + license_expression: freetype + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is part of the FreeType project, + and may only be used modified and distributed + under the terms of the FreeType project license, LICENSE.TXT. + By continuing to use, modify, or distribute this file + you indicate that you have read the license + and understand and accept it fully. + - score: '64.06' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 64 + matched_length: 41 + match_coverage: '64.06' + rule_relevance: 100 + identifier: gpl-1.0-plus_448.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission + to copy, modify and redistribute [GNU] [Ghostscript], + [but] [only] [under] [the] [conditions] + [described] [in] [the] [GNU] General Public License. + A copy of this license is supposed to have been given to you + along with [this] [software] + so you can know your rights and responsibilities. + It should be in a file named COPYING. + - score: '64.06' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 64 + matched_length: 41 + match_coverage: '64.06' + rule_relevance: 100 + identifier: gpl-1.0-plus_448.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission + to copy, modify and redistribute [Ghostscript], + [but] [only] [under] [the] [conditions] + [described] [in] [the] [Ghostscript] General Public License. + A copy of this license is supposed to have been given to you + along with [this] [software] + so you can know your rights and responsibilities. + It should be in a file named COPYING. + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 90 + identifier: agpl-3.0-plus_143.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL Ghostscript + - score: '88.89' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 45 + matched_length: 40 + match_coverage: '88.89' + rule_relevance: 100 + identifier: gpl-3.0-plus_9.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GPL [Ghostscript] is free software; + you can redistribute it and/or modify it + under the terms the GNU [Affero] General Public License + as published by the Free Software Foundation, + either version 3 of the License, or (at your option) any later version. + - score: '64.06' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 64 + matched_length: 41 + match_coverage: '64.06' + rule_relevance: 100 + identifier: gpl-1.0-plus_448.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission + to copy, modify and redistribute [this] [software], + [but] [only] [under] [the] [conditions] + [described] [in] [the] [GNU] General Public License. + A copy of this license is supposed to have been given to you + along with [this] [software] + so you can know your rights and responsibilities. + It should be in a file named COPYING. + - score: '64.06' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 64 + matched_length: 41 + match_coverage: '64.06' + rule_relevance: 100 + identifier: gpl-1.0-plus_448.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission + to copy, modify and redistribute [this] [software], + [but] [only] [under] [the] [conditions] + [described] [in] [the] [GNU] General Public License. + A copy of this license is supposed to have been given to you + along with [this] [software] + so you can know your rights and responsibilities. + It should be in a file named COPYING. + - score: '87.5' + start_line: 3 + end_line: 12 + matcher: 3-seq + rule_length: 64 + matched_length: 56 + match_coverage: '87.5' + rule_relevance: 100 + identifier: gpl-1.0-plus_448.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission + to copy, modify and redistribute [Ghostscript], + [but] [only] [under] [the] [conditions] + [described] [in] [the] [GNU] General Public License. + A copy of this license is supposed to have been given to you + along with [Ghostscript] + so you can know your rights and responsibilities. + It should be in a file named COPYING [or] [COPYLEFT]. + Among other things, + the copyright notice and this notice must be preserved on all copies. + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_292.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This code is subject to the GNU General Public License + - score: '50.0' + start_line: 4 + end_line: 5 + matcher: 3-seq + rule_length: 22 + matched_length: 11 + match_coverage: '50.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_358.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + and distributed [freely] + under the terms of the GNU General Public License + - score: '79.17' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 24 + matched_length: '19' + match_coverage: '79.17' + rule_relevance: 100 + identifier: gpl-2.0_404.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + may be distributed [and]/[or] [modified] + under the terms of the GNU General Public License + as published by the Free Software Foundation ( + - score: '85.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 85 + identifier: gpl-1.0-plus_351.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the "GPL"); + - score: '90.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-1.0-plus_350.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: of the GPL, + - score: '100.0' + start_line: 1 + end_line: 10 + matcher: 1-hash + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_924.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed to the Apache Software Foundation (ASF) + under one or more contributor license agreements. + See the NOTICE file distributed with this work + for additional information regarding copyright ownership. + The ASF licenses this file to You + under the Apache License, Version 2.0 (the "License"); + you may not use this file + except in compliance with the License. + You may obtain a copy of the License + at + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_712.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, + Version 2.0 (the "License"); + you may not use this file + except in compliance with the License. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agpl-3.0_191.RULE + license_expression: agpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: 'License: agpl-' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agpl-3.0-plus_28.RULE + license_expression: agpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: agpl-3+ + - score: '90.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 90 + identifier: afpl-9.0_9.RULE + license_expression: afpl-9.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: AFPL Ghostscript, + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_165.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; + you can redistribute it and/or modify it + under the terms of the GNU General Public License + as published by the Free Software Foundation; + either version 2, or (at your option) any later version. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_64.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; + you can redistribute it and/or modify it + under the terms of the GNU General Public License + as published by the Free Software Foundation; + either version 2 of the License, or (at your option) any later version. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_64.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; + you can redistribute it and/or modify it + under the terms of the GNU General Public License + as published by the Free Software Foundation; + either version 2 of the License, or (at your option) any later version. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_64.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; + you can redistribute it and/or modify it + under the terms of the GNU General Public License + as published by the Free Software Foundation; + either version 2 of the License, or (at your option) any later version. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_64.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; + you can redistribute it and/or modify it + under the terms of the GNU General Public License + as published by the Free Software Foundation; + either version 2 of the License, or (at your option) any later version. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_64.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; + you can redistribute it and/or modify it + under the terms of the GNU General Public License + as published by the Free Software Foundation; + either version 2 of the License, or (at your option) any later version. + - score: '64.06' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 64 + matched_length: 41 + match_coverage: '64.06' + rule_relevance: 100 + identifier: gpl-1.0-plus_448.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission + to copy, modify and redistribute [this] [software], + [but] [only] [under] [the] [conditions] + [described] [in] [the] [GNU] General Public License. + A copy of this license is supposed to have been given to you + along with [this] [software] + so you can know your rights and responsibilities. + It should be in a file named COPYING. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_284.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; + you can redistribute it and/or modify it + under the terms of the GNU General Public License + as published by the Free Software Foundation; + either version 3, or (at your option) any later version. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/glib2.0/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/glib2.0/stable_copyright-detailed.expected.yml index fc11a5c14ce..0b7d1324885 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/glib2.0/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/glib2.0/stable_copyright-detailed.expected.yml @@ -1,6 +1,8 @@ -- -- lgpl-2.0-plus AND mit AND gpl-2.0-plus AND apache-2.0 AND gpl-3.0-plus -- | +primary_license: +declared_license: +license_expression: lgpl-2.0-plus AND mit AND gpl-2.0-plus AND apache-2.0 AND apache-2.0 AND + mit AND mit AND gpl-2.0-plus AND gpl-3.0-plus +copyright: | Copyright (c) 1995-2018 Red Hat, Inc. Copyright (c) 2008-2010 Novell, Inc. Copyright (c) 2008-2010 Codethink Limited @@ -10,3 +12,203 @@ Copyright 2015 Remko Troncon Copyright 1998-1999 Tom Tromey 2001 Red Hat Software Copyright 2017 Jussi Pakkanen +matches: + - score: '100.0' + start_line: 45 + end_line: 60 + matcher: 2-aho + rule_length: 138 + matched_length: 138 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_18.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This package is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2 of the License, or (at your option)\ + \ any later version.\n \n This package is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details.\n \n You should have received a copy of the GNU Lesser General\ + \ Public\n License along with this package; if not, write to the Free Software\n \ + \ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n \n On\ + \ Debian systems, the complete text of the GNU Lesser General\n Public License can be\ + \ found in `/usr/share/common-licenses/LGPL'." + - score: '100.0' + start_line: 66 + end_line: 66 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_437.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Expat' + - score: '100.0' + start_line: 74 + end_line: 74 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPL-2+' + - score: '100.0' + start_line: 80 + end_line: 80 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Apache-2.0' + - score: '90.43' + start_line: 82 + end_line: 96 + matcher: 3-seq + rule_length: 115 + matched_length: 104 + match_coverage: '90.43' + rule_relevance: 100 + identifier: apache-2.0_410.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian systems, a [copy] of the Apache license [is] [available] [in] + . + - score: '100.0' + start_line: 98 + end_line: 98 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_437.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Expat' + - score: '100.0' + start_line: 99 + end_line: 115 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 117 + end_line: 117 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPL-2+' + - score: '92.52' + start_line: 117 + end_line: 129 + matcher: 3-seq + rule_length: 107 + matched_length: 99 + match_coverage: '92.52' + rule_relevance: 100 + identifier: gpl-3.0-plus_118.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GPL-[2+] + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version [2], or (at your option) + any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program; if not, see . diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/glib2.0/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/glib2.0/stable_copyright.expected.yml index fc11a5c14ce..dbb0e5ae8bf 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/glib2.0/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/glib2.0/stable_copyright.expected.yml @@ -1,6 +1,7 @@ -- -- lgpl-2.0-plus AND mit AND gpl-2.0-plus AND apache-2.0 AND gpl-3.0-plus -- | +primary_license: +declared_license: +license_expression: lgpl-2.0-plus AND mit AND gpl-2.0-plus AND apache-2.0 AND gpl-3.0-plus +copyright: | Copyright (c) 1995-2018 Red Hat, Inc. Copyright (c) 2008-2010 Novell, Inc. Copyright (c) 2008-2010 Codethink Limited @@ -10,3 +11,203 @@ Copyright 2015 Remko Troncon Copyright 1998-1999 Tom Tromey 2001 Red Hat Software Copyright 2017 Jussi Pakkanen +matches: + - score: '100.0' + start_line: 45 + end_line: 60 + matcher: 2-aho + rule_length: 138 + matched_length: 138 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_18.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This package is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2 of the License, or (at your option)\ + \ any later version.\n \n This package is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details.\n \n You should have received a copy of the GNU Lesser General\ + \ Public\n License along with this package; if not, write to the Free Software\n \ + \ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n \n On\ + \ Debian systems, the complete text of the GNU Lesser General\n Public License can be\ + \ found in `/usr/share/common-licenses/LGPL'." + - score: '100.0' + start_line: 66 + end_line: 66 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_437.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Expat' + - score: '100.0' + start_line: 74 + end_line: 74 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPL-2+' + - score: '100.0' + start_line: 80 + end_line: 80 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Apache-2.0' + - score: '90.43' + start_line: 82 + end_line: 96 + matcher: 3-seq + rule_length: 115 + matched_length: 104 + match_coverage: '90.43' + rule_relevance: 100 + identifier: apache-2.0_410.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian systems, a [copy] of the Apache license [is] [available] [in] + . + - score: '100.0' + start_line: 98 + end_line: 98 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_437.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Expat' + - score: '100.0' + start_line: 99 + end_line: 115 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 117 + end_line: 117 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPL-2+' + - score: '92.52' + start_line: 117 + end_line: 129 + matcher: 3-seq + rule_length: 107 + matched_length: 99 + match_coverage: '92.52' + rule_relevance: 100 + identifier: gpl-3.0-plus_118.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GPL-[2+] + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version [2], or (at your option) + any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program; if not, see . diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-bluetooth/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-bluetooth/stable_copyright-detailed.expected.yml index f4469527174..cabc2bb3d1b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-bluetooth/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-bluetooth/stable_copyright-detailed.expected.yml @@ -1,12 +1,14 @@ -- - LGPL-2.1+ +primary_license: lgpl-2.1-plus AND lgpl-3.0-plus +declared_license: + - LGPL-2.1+ - GPL-2+ - GPL-2+ - GPL-2+ - GPL-2+ - LGPL-2.1+ -- (lgpl-2.1-plus AND lgpl-3.0-plus) AND (gpl-2.0-plus AND gpl-3.0-plus) AND (gpl-2.0-plus AND - gpl-3.0-plus) AND (gpl-2.0-plus AND gpl-3.0-plus) -- | +license_expression: (lgpl-2.1-plus AND lgpl-3.0-plus) AND (gpl-2.0-plus AND gpl-3.0-plus) AND + (gpl-2.0-plus AND gpl-3.0-plus) AND (gpl-2.0-plus AND gpl-3.0-plus) +copyright: | 2006-2013 Bastien Nocera 2010 Giovanni Campagna 2005-2008 Marcel Holtmann @@ -16,3 +18,98 @@ 2005-2008 Marcel Holtmann 2009 Bastien Nocera 2009 Bastien Nocera +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '97.62' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 126 + matched_length: 123 + match_coverage: '97.62' + rule_relevance: 100 + identifier: gpl-3.0-plus_321.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version [2] of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version [2] can be found in "/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '96.15' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 125 + match_coverage: '96.15' + rule_relevance: 100 + identifier: lgpl-3.0-plus_171.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version [2].[1] of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL- diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-bluetooth/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-bluetooth/stable_copyright.expected.yml index ec518e9057f..3e19ed07dd9 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-bluetooth/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-bluetooth/stable_copyright.expected.yml @@ -1,9 +1,106 @@ -- - LGPL-2.1+ +primary_license: lgpl-2.1-plus AND lgpl-3.0-plus +declared_license: + - LGPL-2.1+ - GPL-2+ -- (lgpl-2.1-plus AND lgpl-3.0-plus) AND (gpl-2.0-plus AND gpl-3.0-plus) -- | +license_expression: (lgpl-2.1-plus AND lgpl-3.0-plus) AND (gpl-2.0-plus AND gpl-3.0-plus) +copyright: | 2006-2013 Bastien Nocera 2010 Giovanni Campagna 2005-2008 Marcel Holtmann 2013 Intel Corporation 2009 Bastien Nocera +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '97.62' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 126 + matched_length: 123 + match_coverage: '97.62' + rule_relevance: 100 + identifier: gpl-3.0-plus_321.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version [2] of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version [2] can be found in "/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '96.15' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 125 + match_coverage: '96.15' + rule_relevance: 100 + identifier: lgpl-3.0-plus_171.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version [2].[1] of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL- diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-control-center/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-control-center/stable_copyright-detailed.expected.yml index 16f31d233d6..f88f7fffec7 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-control-center/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-control-center/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - Expat - LGPL-2+ - LGPL-2.1+ @@ -6,9 +8,9 @@ - Expat - LGPL-2+ - LGPL-2.1+ -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND mit AND (lgpl-2.0-plus AND lgpl-2.1-plus AND - lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) -- | +license_expression: (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND mit AND (lgpl-2.0-plus AND + lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) +copyright: | 1996-2018 Free Software Foundation, Inc. 1999-2015 The Gnome Project 2000-2001 Ximian, Inc. @@ -73,3 +75,214 @@ 2012 Colin Walters 2012 Giovanni Campagna 2017-2018 Red Hat, Inc. +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_90.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1092.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '98.78' + start_line: 1 + end_line: 9 + matcher: 3-seq + rule_length: 82 + matched_length: 81 + match_coverage: '98.78' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in `/usr/share/common-licenses/LGPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in `/usr/share/common-licenses/LGPL- diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-control-center/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-control-center/stable_copyright.expected.yml index 4a44cda8544..dc19bb81d09 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-control-center/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnome-control-center/stable_copyright.expected.yml @@ -1,10 +1,12 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - Expat - LGPL-2+ - LGPL-2.1+ -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND mit AND (lgpl-2.0-plus AND lgpl-2.1-plus AND - lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) -- | +license_expression: (gpl-2.0-plus AND gpl-2.0) AND mit AND (lgpl-2.0-plus AND lgpl-2.1-plus) + AND (lgpl-2.1-plus AND lgpl-2.0-plus) +copyright: | 1996-2018 Free Software Foundation, Inc. 1999-2015 The Gnome Project 2000-2001 Ximian, Inc. @@ -69,3 +71,214 @@ 2012 Colin Walters 2012 Giovanni Campagna 2017-2018 Red Hat, Inc. +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_90.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1092.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '98.78' + start_line: 1 + end_line: 9 + matcher: 3-seq + rule_length: 82 + matched_length: 81 + match_coverage: '98.78' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in `/usr/share/common-licenses/LGPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in `/usr/share/common-licenses/LGPL- diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnupg2/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnupg2/stable_copyright-detailed.expected.yml index d8944155534..f0d1c72cbd7 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnupg2/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnupg2/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - GPL-3+ +primary_license: gpl-3.0-plus AND gpl-1.0-plus AND gpl-3.0 +declared_license: + - GPL-3+ - GPL-3+ - permissive - permissive @@ -21,16 +23,16 @@ - BSD-3-clause - Expat - CC0-1.0 -- (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 AND gpl-3.0) - AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 AND gpl-3.0) - AND fsf-unlimited-no-warranty AND fsf-unlimited-no-warranty AND (lgpl-2.1-plus AND lgpl-3.0-plus) - AND mit AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 AND - gpl-3.0) AND ((gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 - AND gpl-3.0) OR bsd-new) AND (lgpl-3.0-plus AND lgpl-3.0-plus AND lgpl-3.0 AND lgpl-3.0) AND - (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 AND gpl-3.0) - AND ietf AND bsd-new AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus - AND gpl-3.0 AND gpl-3.0) AND (cc0-1.0 AND cc0-1.0 AND artistic-2.0) -- | +license_expression: (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 + AND gpl-3.0) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 + AND gpl-3.0) AND fsf-unlimited-no-warranty AND fsf-unlimited-no-warranty AND (lgpl-2.1-plus + AND lgpl-3.0-plus) AND mit AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus + AND gpl-3.0 AND gpl-3.0) AND ((gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus + AND gpl-3.0 AND gpl-3.0) OR bsd-new) AND (lgpl-3.0-plus AND lgpl-3.0-plus AND lgpl-3.0 AND + lgpl-3.0) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 + AND gpl-3.0) AND ietf AND bsd-new AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND + gpl-1.0-plus AND gpl-3.0 AND gpl-3.0) AND (cc0-1.0 AND cc0-1.0) +copyright: | 1992, 1995-2016, Free Software Foundation, Inc 1998-2007, 2009, 2012, Free Software Foundation, Inc 2013, Werner Koch @@ -54,3 +56,448 @@ Daniel Kahn Gillmor NIIBE Yutaka 2017 Daniel Kahn Gillmor +matches: + - score: '99.05' + start_line: 1 + end_line: 26 + matcher: 1-hash + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_594.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + Neither the name of [Dimitrios] [Souflis] nor the names of the + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; as a special exception the author gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + + This file is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY, to the extent permitted by law; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. + - score: '90.0' + start_line: 6 + end_line: 21 + matcher: 2-aho + rule_length: 149 + matched_length: 149 + match_coverage: '100.0' + rule_relevance: 90 + identifier: ietf_7.RULE + license_expression: ietf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This document and translations of it may be copied and furnished to + others, and derivative works that comment on or otherwise explain it + or assist in its implementation may be prepared, copied, published + and distributed, in whole or in part, without restriction of any + kind, provided that the above copyright notice and this paragraph + are included on all such copies and derivative works. However, this + document itself may not be modified in any way, such as by removing + the copyright notice or references to the Internet Society or other + Internet organizations, except as needed for the purpose of + developing Internet standards in which case the procedures for + copyrights defined in the Internet Standards process must be + followed, or as required to translate it into languages other than + English. + + The limited permissions granted above are perpetual and will not be + revoked by the Internet Society or its successors or assigns. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_98.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + - score: '100.0' + start_line: 6 + end_line: 9 + matcher: 2-aho + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_421.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_36.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; if not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 3 + - score: '33.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_162.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 3 of + the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this program; if not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0_51.RULE + license_expression: lgpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Lesser General Public + License version 3 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0_41.RULE + license_expression: lgpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '88.97' + start_line: 1 + end_line: 16 + matcher: 3-seq + rule_length: 136 + matched_length: 121 + match_coverage: '88.97' + rule_relevance: 100 + identifier: lgpl-3.0-plus_96.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version [2].[1] of + the License, or (at your option) any later version. + + This [program] is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this [program]; [if] [not], [see] <[https]://www.gnu.org/licenses/>. + + On Debian systems, the full text of the GNU Lesser General Public + License version [2].[1] can be found in the file + `/usr/share/common-licenses/LGPL- + - score: '100.0' + start_line: 1 + end_line: 24 + matcher: 1-hash + rule_length: 205 + matched_length: 205 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_910.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, and the entire permission notice in its entirety, + including the disclaimer of warranties. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the author may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to permit + persons to whom the Software is furnished to do so, subject to the + following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN + NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE + USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 1-hash + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_131.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To the extent possible under law, the author(s) have dedicated all + copyright and related and neighboring rights to this software to the public + domain worldwide. This software is distributed without any warranty. + + On Debian systems, the complete text of the CC0 license, version 1.0, + can be found in /usr/share/common-licenses/CC0-1.0. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnupg2/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnupg2/stable_copyright.expected.yml index 2f90a855827..90617b75b98 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnupg2/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/gnupg2/stable_copyright.expected.yml @@ -1,4 +1,6 @@ -- - GPL-3+ +primary_license: gpl-3.0-plus AND gpl-1.0-plus AND gpl-3.0 +declared_license: + - GPL-3+ - permissive - LGPL-2.1+ - Expat @@ -8,12 +10,10 @@ - TinySCHEME - CC0-1.0 - BSD-3-clause -- (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 AND gpl-3.0) - AND fsf-unlimited-no-warranty AND (lgpl-2.1-plus AND lgpl-3.0-plus) AND mit AND ((gpl-3.0-plus - AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 AND gpl-3.0) OR bsd-new) AND - (lgpl-3.0-plus AND lgpl-3.0-plus AND lgpl-3.0 AND lgpl-3.0) AND ietf AND bsd-new AND (cc0-1.0 - AND cc0-1.0 AND artistic-2.0) -- | +license_expression: (gpl-3.0-plus AND gpl-1.0-plus AND gpl-3.0) AND fsf-unlimited-no-warranty + AND (lgpl-2.1-plus AND lgpl-3.0-plus) AND mit AND ((gpl-3.0-plus AND gpl-1.0-plus AND gpl-3.0) + OR bsd-new) AND (lgpl-3.0-plus AND lgpl-3.0) AND ietf AND bsd-new AND cc0-1.0 +copyright: | 1992, 1995-2016, Free Software Foundation, Inc 1998-2007, 2009, 2012, Free Software Foundation, Inc 2013, Werner Koch @@ -33,3 +33,448 @@ 2000, Dimitrios Souflis 2016, Justus Winter, Werner Koch 2017 Daniel Kahn Gillmor +matches: + - score: '99.05' + start_line: 1 + end_line: 26 + matcher: 1-hash + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_594.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + Neither the name of [Dimitrios] [Souflis] nor the names of the + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; as a special exception the author gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + + This file is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY, to the extent permitted by law; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. + - score: '90.0' + start_line: 6 + end_line: 21 + matcher: 2-aho + rule_length: 149 + matched_length: 149 + match_coverage: '100.0' + rule_relevance: 90 + identifier: ietf_7.RULE + license_expression: ietf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This document and translations of it may be copied and furnished to + others, and derivative works that comment on or otherwise explain it + or assist in its implementation may be prepared, copied, published + and distributed, in whole or in part, without restriction of any + kind, provided that the above copyright notice and this paragraph + are included on all such copies and derivative works. However, this + document itself may not be modified in any way, such as by removing + the copyright notice or references to the Internet Society or other + Internet organizations, except as needed for the purpose of + developing Internet standards in which case the procedures for + copyrights defined in the Internet Standards process must be + followed, or as required to translate it into languages other than + English. + + The limited permissions granted above are perpetual and will not be + revoked by the Internet Society or its successors or assigns. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_98.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + - score: '100.0' + start_line: 6 + end_line: 9 + matcher: 2-aho + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_421.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_36.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; if not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 3 + - score: '33.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_162.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 3 of + the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this program; if not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0_51.RULE + license_expression: lgpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Lesser General Public + License version 3 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0_41.RULE + license_expression: lgpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '88.97' + start_line: 1 + end_line: 16 + matcher: 3-seq + rule_length: 136 + matched_length: 121 + match_coverage: '88.97' + rule_relevance: 100 + identifier: lgpl-3.0-plus_96.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version [2].[1] of + the License, or (at your option) any later version. + + This [program] is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this [program]; [if] [not], [see] <[https]://www.gnu.org/licenses/>. + + On Debian systems, the full text of the GNU Lesser General Public + License version [2].[1] can be found in the file + `/usr/share/common-licenses/LGPL- + - score: '100.0' + start_line: 1 + end_line: 24 + matcher: 1-hash + rule_length: 205 + matched_length: 205 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_910.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, and the entire permission notice in its entirety, + including the disclaimer of warranties. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the author may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to permit + persons to whom the Software is furnished to do so, subject to the + following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN + NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE + USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 1-hash + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_131.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To the extent possible under law, the author(s) have dedicated all + copyright and related and neighboring rights to this software to the public + domain worldwide. This software is distributed without any warranty. + + On Debian systems, the complete text of the CC0 license, version 1.0, + can be found in /usr/share/common-licenses/CC0-1.0. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/golang-1.11/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/golang-1.11/stable_copyright-detailed.expected.yml index 4143369f8b7..21df6682807 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/golang-1.11/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/golang-1.11/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - Go +primary_license: bsd-new AND google-patent-license-golang +declared_license: + - Go - X11 - Go - Go @@ -21,12 +23,12 @@ - MPEG - CC-BY-3.0 - BSD-2-clause-svgpan -- (bsd-new AND google-patent-license-golang) AND mit AND (bsd-new AND google-patent-license-golang) +license_expression: (bsd-new AND google-patent-license-golang) AND mit AND (bsd-new AND google-patent-license-golang) AND (bsd-new AND google-patent-license-golang) AND (bsd-new AND google-patent-license-golang) AND bsd-simplified AND (bsd-new AND google-patent-license-golang) AND (bsd-new AND google-patent-license-golang) - AND mpeg-ssg AND multics AND (apache-2.0 AND apache-2.0) AND bsd-2-clause-views AND cc-by-3.0 - AND bsd-new AND (bsd-new AND google-patent-license-golang) -- | + AND sunpro AND mpeg-ssg AND multics AND (apache-2.0 AND apache-2.0) AND bsd-2-clause-views + AND cc-by-3.0 AND cc-by-3.0 AND bsd-new AND (bsd-new AND google-patent-license-golang) +copyright: | © 2009, 2010, The Go Authors. All rights reserved. © 1994-1999 Lucent Technologies Inc. All rights reserved. Portions © 1997-1999 Vita Nuova Limited @@ -57,3 +59,705 @@ 2012 Michael Stapelberg 2014 Canonical Ltd 2014 Tianon Gravi +matches: + - score: '15.38' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 104 + matched_length: 16 + match_coverage: '15.38' + rule_relevance: 100 + identifier: multics.LICENSE + license_expression: multics + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, and distribute these [images] for any purpose and + without fee is hereby granted. + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 1-hash + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_166.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following disclaimer + in the documentation and/or other materials provided with the + distribution. + * Neither the name of Google Inc. nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 3 + end_line: 27 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_166.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following disclaimer + in the documentation and/or other materials provided with the + distribution. + * Neither the name of Google Inc. nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '95.0' + start_line: 29 + end_line: 42 + matcher: 2-aho + rule_length: 131 + matched_length: 131 + match_coverage: '100.0' + rule_relevance: 95 + identifier: google-patent-license-golang_1.RULE + license_expression: google-patent-license-golang + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Subject to the terms and conditions of this License, Google hereby + grants to You a perpetual, worldwide, non-exclusive, no-charge, + royalty-free, irrevocable (except as stated in this section) patent + license to make, have made, use, offer to sell, sell, import, and + otherwise transfer this implementation of Go, where such license + applies only to those patent claims licensable by Google that are + necessarily infringed by use of this implementation of Go. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that this + implementation of Go or a Contribution incorporated within this + implementation of Go constitutes direct or contributory patent + infringement, then any patent licenses granted to You under this + License for this implementation of Go shall terminate as of the date + such litigation is filed. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '95.41' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 109 + matched_length: 104 + match_coverage: '95.41' + rule_relevance: 100 + identifier: apache-2.0_43.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + On Debian systems, the Apache License, Version 2.0 can be found [at] + /usr/share/common-licenses/Apache-2.0. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + - score: '100.0' + start_line: 5 + end_line: 24 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '98.06' + start_line: 1 + end_line: '19' + matcher: 3-seq + rule_length: 155 + matched_length: 152 + match_coverage: '98.06' + rule_relevance: 100 + identifier: mpeg-ssg.LICENSE + license_expression: mpeg-ssg + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + These software programs are available to the user without any license fee or + royalty on an "as is" basis. The MPEG Software Simulation Group disclaims + any and all warranties, whether express, implied, or statuary, including any + implied warranties or merchantability or of fitness for a particular + purpose. In no event shall the copyright-holder be liable for any + incidental, punitive, or consequential damages of any kind whatsoever + arising from the use of these programs. + + This disclaimer of warranty extends to the user of these programs and user's + customers, employees, agents, transferees, successors, and assigns. + + The MPEG Software Simulation Group does not represent or warrant that the + programs furnished hereunder are free of infringement of any third-party + patents. + + Commercial implementations of MPEG-1 and MPEG-2 video, including shareware, + are subject to royalty fees to patent holders. Many of these patents are + general enough such that they are unavoidable regardless of implementation + design. + - score: '97.84' + start_line: 1 + end_line: 327 + matcher: 3-seq + rule_length: 2737 + matched_length: 2678 + match_coverage: '97.84' + rule_relevance: 100 + identifier: cc-by-3.0_102.RULE + license_expression: cc-by-3.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS + CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS + PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE + WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS + PROHIBITED. + + BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND + AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS + LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU + THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH + TERMS AND CONDITIONS. + + 1. Definitions + + a. "Adaptation" means a work based upon the Work, or upon the Work + and other pre-existing works, such as a translation, adaptation, + derivative work, arrangement of music or other alterations of a + literary or artistic work, or phonogram or performance and + includes cinematographic adaptations or any other form in which + the Work may be recast, transformed, or adapted including in any + form recognizably derived from the original, except that a work + that constitutes a Collection will not be considered an + Adaptation for the purpose of this License. For the avoidance of + doubt, where the Work is a musical work, performance or + phonogram, the synchronization of the Work in timed-relation + with a moving image ("synching") will be considered an + Adaptation for the purpose of this License. + + b. "Collection" means a collection of literary or artistic works, + such as encyclopedias and anthologies, or performances, + phonograms or broadcasts, or other works or subject matter other + than works listed in Section 1(f) below, which, by reason of the + selection and arrangement of their contents, constitute + intellectual creations, in which the Work is included in its + entirety in unmodified form along with one or more other + contributions, each constituting separate and independent works + in themselves, which together are assembled into a collective + whole. A work that constitutes a Collection will not be + considered an Adaptation (as defined above) for the purposes of + this License. + + c. "Distribute" means to make available to the public the original + and copies of the Work or Adaptation, as appropriate, through + sale or other transfer of ownership. + + d. "Licensor" means the individual, individuals, entity or entities + that offer(s) the Work under the terms of this License. + + e. "Original Author" means, in the case of a literary or artistic + work, the individual, individuals, entity or entities who + created the Work or if no individual or entity can be + identified, the publisher; and in addition (i) in the case of a + performance the actors, singers, musicians, dancers, and other + persons who act, sing, deliver, declaim, play in, interpret or + otherwise perform literary or artistic works or expressions of + folklore; (ii) in the case of a phonogram the producer being the + person or legal entity who first fixes the sounds of a + performance or other sounds; and, (iii) in the case of + broadcasts, the organization that transmits the broadcast. + + f. "Work" means the literary and/or artistic work offered under the + terms of this License including without limitation any + production in the literary, scientific and artistic domain, + whatever may be the mode or form of its expression including + digital form, such as a book, pamphlet and other writing; a + lecture, address, sermon or other work of the same nature; a + dramatic or dramatico-musical work; a choreographic work or + entertainment in dumb show; a musical composition with or + without words; a cinematographic work to which are assimilated + works expressed by a process analogous to cinematography; a work + of drawing, painting, architecture, sculpture, engraving or + lithography; a photographic work to which are assimilated works + expressed by a process analogous to photography; a work of + applied art; an illustration, map, plan, sketch or + three-dimensional work relative to geography, topography, + architecture or science; a performance; a broadcast; a + phonogram; a compilation of data to the extent it is protected + as a copyrightable work; or a work performed by a variety or + circus performer to the extent it is not otherwise considered a + literary or artistic work. + + g. "You" means an individual or entity exercising rights under this + License who has not previously violated the terms of this + License with respect to the Work, or who has received express + permission from the Licensor to exercise rights under this + License despite a previous violation. + + h. "Publicly Perform" means to perform public recitations of the + Work and to communicate to the public those public recitations, + by any means or process, including by wire or wireless means or + public digital performances; to make available to the public + Works in such a way that members of the public may access these + Works from a place and at a place individually chosen by them; + to perform the Work to the public by any means or process and + the communication to the public of the performances of the Work, + including by public digital performance; to broadcast and + rebroadcast the Work by any means including signs, sounds or + images. + + i. "Reproduce" means to make copies of the Work by any means + including without limitation by sound or visual recordings and + the right of fixation and reproducing fixations of the Work, + including storage of a protected performance or phonogram in + digital form or other electronic medium. + + 2. Fair Dealing Rights. Nothing in this License is intended to + reduce, limit, or restrict any uses free from copyright or rights + arising from limitations or exceptions that are provided for in + connection with the copyright protection under copyright law or other + applicable laws. + + 3. License Grant. Subject to the terms and conditions of this License, + Licensor hereby grants You a worldwide, royalty-free, non-exclusive, + perpetual (for the duration of the applicable copyright) license to + exercise the rights in the Work as stated below: + + a. to Reproduce the Work, to incorporate the Work into one or more + Collections, and to Reproduce the Work as incorporated in the + Collections; + + b. to create and Reproduce Adaptations provided that any such + Adaptation, including any translation in any medium, takes + reasonable steps to clearly label, demarcate or otherwise + identify that changes were made to the original Work. For + example, a translation could be marked "The original work was + translated from English to Spanish," or a modification could + indicate "The original work has been modified."; + + c. to Distribute and Publicly Perform the Work including as + incorporated in Collections; and, + + d. to Distribute and Publicly Perform Adaptations. + + e. For the avoidance of doubt: + + i. Non-waivable Compulsory License Schemes. In those + jurisdictions in which the right to collect royalties + through any statutory or compulsory licensing scheme cannot + be waived, the Licensor reserves the exclusive right to + collect such royalties for any exercise by You of the + rights granted under this License; + + ii. Waivable Compulsory License Schemes. In those jurisdictions + in which the right to collect royalties through any + statutory or compulsory licensing scheme can be waived, the + Licensor waives the exclusive right to collect such + royalties for any exercise by You of the rights granted + under this License; and, + + iii. Voluntary License Schemes. The Licensor waives the right to + collect royalties, whether individually or, in the event + that the Licensor is a member of a collecting society that + administers voluntary licensing schemes, via that society, + from any exercise by You of the rights granted under this + License. + + The above rights may be exercised in all media and formats whether + now known or hereafter devised. The above rights include the right to + make such modifications as are technically necessary to exercise the + rights in other media and formats. Subject to Section 8(f), all + rights not expressly granted by Licensor are hereby reserved. + + 4. Restrictions. The license granted in Section 3 above is expressly + made subject to and limited by the following restrictions: + + a. You may Distribute or Publicly Perform the Work only under the + terms of this License. You must include a copy of, or the + Uniform Resource Identifier (URI) for, this License with every + copy of the Work You Distribute or Publicly Perform. You may not + offer or impose any terms on the Work that restrict the terms of + this License or the ability of the recipient of the Work to + exercise the rights granted to that recipient under the terms of + the License. You may not sublicense the Work. You must keep + intact all notices that refer to this License and to the + disclaimer of warranties with every copy of the Work You + Distribute or Publicly Perform. When You Distribute or Publicly + Perform the Work, You may not impose any effective technological + measures on the Work that restrict the ability of a recipient of + the Work from You to exercise the rights granted to that + recipient under the terms of the License. This Section 4(a) + applies to the Work as incorporated in a Collection, but this + does not require the Collection apart from the Work itself to be + made subject to the terms of this License. If You create a + Collection, upon notice from any Licensor You must, to the + extent practicable, remove from the Collection any credit as + required by Section 4(b), as requested. If You create an + Adaptation, upon notice from any Licensor You must, to the + extent practicable, remove from the Adaptation any credit as + required by Section 4(b), as requested. + + b. If You Distribute, or Publicly Perform the Work or any + Adaptations or Collections, You must, unless a request has been + made pursuant to Section 4(a), keep intact all copyright notices + for the Work and provide, reasonable to the medium or means You + are utilizing: (i) the name of the Original Author (or + pseudonym, if applicable) if supplied, and/or if the Original + Author and/or Licensor designate another party or parties (e.g., + a sponsor institute, publishing entity, journal) for attribution + ("Attribution Parties") in Licensor's copyright notice, terms of + service or by other reasonable means, the name of such party or + parties; (ii) the title of the Work if supplied; (iii) to the + extent reasonably practicable, the URI, if any, that Licensor + specifies to be associated with the Work, unless such URI does + not refer to the copyright notice or licensing information for + the Work; and (iv) , consistent with Section 3(b), in the case + of an Adaptation, a credit identifying the use of the Work in + the Adaptation (e.g., "French translation of the Work by + Original Author," or "Screenplay based on original Work by + Original Author"). The credit required by this Section 4 (b) may + be implemented in any reasonable manner; provided, however, that + in the case of a Adaptation or Collection, at a minimum such + credit will appear, if a credit for all contributing authors of + the Adaptation or Collection appears, then as part of these + credits and in a manner at least as prominent as the credits for + the other contributing authors. For the avoidance of doubt, You + may only use the credit required by this Section for the purpose + of attribution in the manner set out above and, by exercising + Your rights under this License, You may not implicitly or + explicitly assert or imply any connection with, sponsorship or + endorsement by the Original Author, Licensor and/or Attribution + Parties, as appropriate, of You or Your use of the Work, without + the separate, express prior written permission of the Original + Author, Licensor and/or Attribution Parties. + + c. Except as otherwise agreed in writing by the Licensor or as may + be otherwise permitted by applicable law, if You Reproduce, + Distribute or Publicly Perform the Work either by itself or as + part of any Adaptations or Collections, You must not distort, + mutilate, modify or take other derogatory action in relation to + the Work which would be prejudicial to the Original Author's + honor or reputation. Licensor agrees that in those jurisdictions + (e.g. Japan), in which any exercise of the right granted in + Section 3(b) of this License (the right to make Adaptations) + would be deemed to be a distortion, mutilation, modification or + other derogatory action prejudicial to the Original Author's + honor and reputation, the Licensor will waive or not assert, as + appropriate, this Section, to the fullest extent permitted by + the applicable national law, to enable You to reasonably + exercise Your right under Section 3(b) of this License (right to + make Adaptations) but not otherwise. + + 5. Representations, Warranties and Disclaimer + + UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, + LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR + WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, + STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF + TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, + NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, + OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. + SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, + SO SUCH EXCLUSION MAY NOT APPLY TO YOU. + + 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY + APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY + LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR + EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, + EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + + 7. Termination + + a. This License and the rights granted hereunder will terminate + automatically upon any breach by You of the terms of this + License. Individuals or entities who have received Adaptations + or Collections from You under this License, however, will not + have their licenses terminated provided such individuals or + entities remain in full compliance with those licenses. + Sections 1, 2, 5, 6, 7, and 8 will survive any termination of + this License. + + b. Subject to the above terms and conditions, the license granted + here is perpetual (for the duration of the applicable copyright + in the Work). Notwithstanding the above, Licensor reserves the + right to release the Work under different license terms or to + stop distributing the Work at any time; provided, however that + any such election will not serve to withdraw this License (or + any other license that has been, or is required to be, granted + under the terms of this License), and this License will continue + in full force and effect unless terminated as stated above. + + 8. Miscellaneous + + a. Each time You Distribute or Publicly Perform the Work or a + Collection, the Licensor offers to the recipient a license to + the Work on the same terms and conditions as the license granted + to You under this License. + + b. Each time You Distribute or Publicly Perform an Adaptation, + Licensor offers to the recipient a license to the original Work + on the same terms and conditions as the license granted to You + under this License. + + c. If any provision of this License is invalid or unenforceable + under applicable law, it shall not affect the validity or + enforceability of the remainder of the terms of this License, + and without further action by the parties to this agreement, + such provision shall be reformed to the minimum extent necessary + to make such provision valid and enforceable. + + d. No term or provision of this License shall be deemed waived and + no breach consented to unless such waiver or consent shall be in + writing and signed by the party to be charged with such waiver + or consent. + + e. This License constitutes the entire agreement between the + parties with respect to the Work licensed here. There are no + understandings, agreements or representations with respect to + the Work not specified here. Licensor shall not be bound by any + additional provisions that may appear in any communication from + You. This License may not be modified without the mutual written + agreement of the Licensor and You. + + f. The rights granted under, and the subject matter referenced, in + this License were drafted utilizing the terminology of the Berne + Convention for the Protection of Literary and Artistic Works (as + amended on September 28, 1979), the Rome Convention of 1961, the + WIPO Copyright Treaty of 1996, the WIPO Performances and + Phonograms Treaty of 1996 and the Universal Copyright Convention + (as revised on July 24, 1971). These rights and subject matter + take effect in the relevant jurisdiction in which the License + terms are sought to be enforced according to the corresponding + provisions of the implementation of those treaty provisions in + the applicable national law. If the standard suite of rights + granted under applicable copyright law includes additional + rights not granted under this License, such additional rights + are deemed to be included in the License; this License is not + intended to restrict the license of any rights under applicable law. + - score: '98.1' + start_line: 1 + end_line: 24 + matcher: 1-hash + rule_length: 206 + matched_length: 206 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-2-clause-views_11.RULE + license_expression: bsd-2-clause-views + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY [Andrea] [Leofreddi] ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO + EVENT SHALL [Andrea] [Leofreddi] OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + The views and conclusions contained in the software and documentation are those + of the authors and should not be interpreted as representing official policies, + either expressed or implied, of + - score: '100.0' + start_line: 3 + end_line: 6 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Developed at SunPro, a Sun Microsystems, Inc. business. + Permission to use, copy, modify, and distribute this + software is freely granted, provided that this notice + is preserved. + - score: '65.0' + start_line: 7 + end_line: 8 + matcher: 3-seq + rule_length: 20 + matched_length: 13 + match_coverage: '65.0' + rule_relevance: 100 + identifier: cc-by-3.0_19.RULE + license_expression: cc-by-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the + Creative Commons Attribution 3.0 diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/golang-1.11/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/golang-1.11/stable_copyright.expected.yml index 559d4eb61f9..f2910cec0be 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/golang-1.11/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/g/golang-1.11/stable_copyright.expected.yml @@ -1,4 +1,6 @@ -- - Go +primary_license: bsd-new AND google-patent-license-golang +declared_license: + - Go - X11 - FreeBSD - MPEG @@ -7,9 +9,9 @@ - BSD-2-clause-svgpan - CC-BY-3.0 - BSD-3-clause -- (bsd-new AND google-patent-license-golang) AND mit AND bsd-simplified AND mpeg-ssg AND multics - AND (apache-2.0 AND apache-2.0) AND bsd-2-clause-views AND cc-by-3.0 AND bsd-new -- | +license_expression: (bsd-new AND google-patent-license-golang) AND mit AND bsd-simplified AND + sunpro AND mpeg-ssg AND multics AND apache-2.0 AND bsd-2-clause-views AND cc-by-3.0 AND bsd-new +copyright: | © 2009, 2010, The Go Authors. All rights reserved. © 1994-1999 Lucent Technologies Inc. All rights reserved. Portions © 1997-1999 Vita Nuova Limited @@ -32,3 +34,705 @@ 2009-2017 Andrea Leofreddi Renée French 2012 The Chromium Authors +matches: + - score: '15.38' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 104 + matched_length: 16 + match_coverage: '15.38' + rule_relevance: 100 + identifier: multics.LICENSE + license_expression: multics + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, and distribute these [images] for any purpose and + without fee is hereby granted. + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 1-hash + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_166.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following disclaimer + in the documentation and/or other materials provided with the + distribution. + * Neither the name of Google Inc. nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 3 + end_line: 27 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_166.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following disclaimer + in the documentation and/or other materials provided with the + distribution. + * Neither the name of Google Inc. nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '95.0' + start_line: 29 + end_line: 42 + matcher: 2-aho + rule_length: 131 + matched_length: 131 + match_coverage: '100.0' + rule_relevance: 95 + identifier: google-patent-license-golang_1.RULE + license_expression: google-patent-license-golang + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Subject to the terms and conditions of this License, Google hereby + grants to You a perpetual, worldwide, non-exclusive, no-charge, + royalty-free, irrevocable (except as stated in this section) patent + license to make, have made, use, offer to sell, sell, import, and + otherwise transfer this implementation of Go, where such license + applies only to those patent claims licensable by Google that are + necessarily infringed by use of this implementation of Go. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that this + implementation of Go or a Contribution incorporated within this + implementation of Go constitutes direct or contributory patent + infringement, then any patent licenses granted to You under this + License for this implementation of Go shall terminate as of the date + such litigation is filed. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '95.41' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 109 + matched_length: 104 + match_coverage: '95.41' + rule_relevance: 100 + identifier: apache-2.0_43.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + On Debian systems, the Apache License, Version 2.0 can be found [at] + /usr/share/common-licenses/Apache-2.0. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + - score: '100.0' + start_line: 5 + end_line: 24 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '98.06' + start_line: 1 + end_line: '19' + matcher: 3-seq + rule_length: 155 + matched_length: 152 + match_coverage: '98.06' + rule_relevance: 100 + identifier: mpeg-ssg.LICENSE + license_expression: mpeg-ssg + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + These software programs are available to the user without any license fee or + royalty on an "as is" basis. The MPEG Software Simulation Group disclaims + any and all warranties, whether express, implied, or statuary, including any + implied warranties or merchantability or of fitness for a particular + purpose. In no event shall the copyright-holder be liable for any + incidental, punitive, or consequential damages of any kind whatsoever + arising from the use of these programs. + + This disclaimer of warranty extends to the user of these programs and user's + customers, employees, agents, transferees, successors, and assigns. + + The MPEG Software Simulation Group does not represent or warrant that the + programs furnished hereunder are free of infringement of any third-party + patents. + + Commercial implementations of MPEG-1 and MPEG-2 video, including shareware, + are subject to royalty fees to patent holders. Many of these patents are + general enough such that they are unavoidable regardless of implementation + design. + - score: '97.84' + start_line: 1 + end_line: 327 + matcher: 3-seq + rule_length: 2737 + matched_length: 2678 + match_coverage: '97.84' + rule_relevance: 100 + identifier: cc-by-3.0_102.RULE + license_expression: cc-by-3.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS + CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS + PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE + WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS + PROHIBITED. + + BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND + AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS + LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU + THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH + TERMS AND CONDITIONS. + + 1. Definitions + + a. "Adaptation" means a work based upon the Work, or upon the Work + and other pre-existing works, such as a translation, adaptation, + derivative work, arrangement of music or other alterations of a + literary or artistic work, or phonogram or performance and + includes cinematographic adaptations or any other form in which + the Work may be recast, transformed, or adapted including in any + form recognizably derived from the original, except that a work + that constitutes a Collection will not be considered an + Adaptation for the purpose of this License. For the avoidance of + doubt, where the Work is a musical work, performance or + phonogram, the synchronization of the Work in timed-relation + with a moving image ("synching") will be considered an + Adaptation for the purpose of this License. + + b. "Collection" means a collection of literary or artistic works, + such as encyclopedias and anthologies, or performances, + phonograms or broadcasts, or other works or subject matter other + than works listed in Section 1(f) below, which, by reason of the + selection and arrangement of their contents, constitute + intellectual creations, in which the Work is included in its + entirety in unmodified form along with one or more other + contributions, each constituting separate and independent works + in themselves, which together are assembled into a collective + whole. A work that constitutes a Collection will not be + considered an Adaptation (as defined above) for the purposes of + this License. + + c. "Distribute" means to make available to the public the original + and copies of the Work or Adaptation, as appropriate, through + sale or other transfer of ownership. + + d. "Licensor" means the individual, individuals, entity or entities + that offer(s) the Work under the terms of this License. + + e. "Original Author" means, in the case of a literary or artistic + work, the individual, individuals, entity or entities who + created the Work or if no individual or entity can be + identified, the publisher; and in addition (i) in the case of a + performance the actors, singers, musicians, dancers, and other + persons who act, sing, deliver, declaim, play in, interpret or + otherwise perform literary or artistic works or expressions of + folklore; (ii) in the case of a phonogram the producer being the + person or legal entity who first fixes the sounds of a + performance or other sounds; and, (iii) in the case of + broadcasts, the organization that transmits the broadcast. + + f. "Work" means the literary and/or artistic work offered under the + terms of this License including without limitation any + production in the literary, scientific and artistic domain, + whatever may be the mode or form of its expression including + digital form, such as a book, pamphlet and other writing; a + lecture, address, sermon or other work of the same nature; a + dramatic or dramatico-musical work; a choreographic work or + entertainment in dumb show; a musical composition with or + without words; a cinematographic work to which are assimilated + works expressed by a process analogous to cinematography; a work + of drawing, painting, architecture, sculpture, engraving or + lithography; a photographic work to which are assimilated works + expressed by a process analogous to photography; a work of + applied art; an illustration, map, plan, sketch or + three-dimensional work relative to geography, topography, + architecture or science; a performance; a broadcast; a + phonogram; a compilation of data to the extent it is protected + as a copyrightable work; or a work performed by a variety or + circus performer to the extent it is not otherwise considered a + literary or artistic work. + + g. "You" means an individual or entity exercising rights under this + License who has not previously violated the terms of this + License with respect to the Work, or who has received express + permission from the Licensor to exercise rights under this + License despite a previous violation. + + h. "Publicly Perform" means to perform public recitations of the + Work and to communicate to the public those public recitations, + by any means or process, including by wire or wireless means or + public digital performances; to make available to the public + Works in such a way that members of the public may access these + Works from a place and at a place individually chosen by them; + to perform the Work to the public by any means or process and + the communication to the public of the performances of the Work, + including by public digital performance; to broadcast and + rebroadcast the Work by any means including signs, sounds or + images. + + i. "Reproduce" means to make copies of the Work by any means + including without limitation by sound or visual recordings and + the right of fixation and reproducing fixations of the Work, + including storage of a protected performance or phonogram in + digital form or other electronic medium. + + 2. Fair Dealing Rights. Nothing in this License is intended to + reduce, limit, or restrict any uses free from copyright or rights + arising from limitations or exceptions that are provided for in + connection with the copyright protection under copyright law or other + applicable laws. + + 3. License Grant. Subject to the terms and conditions of this License, + Licensor hereby grants You a worldwide, royalty-free, non-exclusive, + perpetual (for the duration of the applicable copyright) license to + exercise the rights in the Work as stated below: + + a. to Reproduce the Work, to incorporate the Work into one or more + Collections, and to Reproduce the Work as incorporated in the + Collections; + + b. to create and Reproduce Adaptations provided that any such + Adaptation, including any translation in any medium, takes + reasonable steps to clearly label, demarcate or otherwise + identify that changes were made to the original Work. For + example, a translation could be marked "The original work was + translated from English to Spanish," or a modification could + indicate "The original work has been modified."; + + c. to Distribute and Publicly Perform the Work including as + incorporated in Collections; and, + + d. to Distribute and Publicly Perform Adaptations. + + e. For the avoidance of doubt: + + i. Non-waivable Compulsory License Schemes. In those + jurisdictions in which the right to collect royalties + through any statutory or compulsory licensing scheme cannot + be waived, the Licensor reserves the exclusive right to + collect such royalties for any exercise by You of the + rights granted under this License; + + ii. Waivable Compulsory License Schemes. In those jurisdictions + in which the right to collect royalties through any + statutory or compulsory licensing scheme can be waived, the + Licensor waives the exclusive right to collect such + royalties for any exercise by You of the rights granted + under this License; and, + + iii. Voluntary License Schemes. The Licensor waives the right to + collect royalties, whether individually or, in the event + that the Licensor is a member of a collecting society that + administers voluntary licensing schemes, via that society, + from any exercise by You of the rights granted under this + License. + + The above rights may be exercised in all media and formats whether + now known or hereafter devised. The above rights include the right to + make such modifications as are technically necessary to exercise the + rights in other media and formats. Subject to Section 8(f), all + rights not expressly granted by Licensor are hereby reserved. + + 4. Restrictions. The license granted in Section 3 above is expressly + made subject to and limited by the following restrictions: + + a. You may Distribute or Publicly Perform the Work only under the + terms of this License. You must include a copy of, or the + Uniform Resource Identifier (URI) for, this License with every + copy of the Work You Distribute or Publicly Perform. You may not + offer or impose any terms on the Work that restrict the terms of + this License or the ability of the recipient of the Work to + exercise the rights granted to that recipient under the terms of + the License. You may not sublicense the Work. You must keep + intact all notices that refer to this License and to the + disclaimer of warranties with every copy of the Work You + Distribute or Publicly Perform. When You Distribute or Publicly + Perform the Work, You may not impose any effective technological + measures on the Work that restrict the ability of a recipient of + the Work from You to exercise the rights granted to that + recipient under the terms of the License. This Section 4(a) + applies to the Work as incorporated in a Collection, but this + does not require the Collection apart from the Work itself to be + made subject to the terms of this License. If You create a + Collection, upon notice from any Licensor You must, to the + extent practicable, remove from the Collection any credit as + required by Section 4(b), as requested. If You create an + Adaptation, upon notice from any Licensor You must, to the + extent practicable, remove from the Adaptation any credit as + required by Section 4(b), as requested. + + b. If You Distribute, or Publicly Perform the Work or any + Adaptations or Collections, You must, unless a request has been + made pursuant to Section 4(a), keep intact all copyright notices + for the Work and provide, reasonable to the medium or means You + are utilizing: (i) the name of the Original Author (or + pseudonym, if applicable) if supplied, and/or if the Original + Author and/or Licensor designate another party or parties (e.g., + a sponsor institute, publishing entity, journal) for attribution + ("Attribution Parties") in Licensor's copyright notice, terms of + service or by other reasonable means, the name of such party or + parties; (ii) the title of the Work if supplied; (iii) to the + extent reasonably practicable, the URI, if any, that Licensor + specifies to be associated with the Work, unless such URI does + not refer to the copyright notice or licensing information for + the Work; and (iv) , consistent with Section 3(b), in the case + of an Adaptation, a credit identifying the use of the Work in + the Adaptation (e.g., "French translation of the Work by + Original Author," or "Screenplay based on original Work by + Original Author"). The credit required by this Section 4 (b) may + be implemented in any reasonable manner; provided, however, that + in the case of a Adaptation or Collection, at a minimum such + credit will appear, if a credit for all contributing authors of + the Adaptation or Collection appears, then as part of these + credits and in a manner at least as prominent as the credits for + the other contributing authors. For the avoidance of doubt, You + may only use the credit required by this Section for the purpose + of attribution in the manner set out above and, by exercising + Your rights under this License, You may not implicitly or + explicitly assert or imply any connection with, sponsorship or + endorsement by the Original Author, Licensor and/or Attribution + Parties, as appropriate, of You or Your use of the Work, without + the separate, express prior written permission of the Original + Author, Licensor and/or Attribution Parties. + + c. Except as otherwise agreed in writing by the Licensor or as may + be otherwise permitted by applicable law, if You Reproduce, + Distribute or Publicly Perform the Work either by itself or as + part of any Adaptations or Collections, You must not distort, + mutilate, modify or take other derogatory action in relation to + the Work which would be prejudicial to the Original Author's + honor or reputation. Licensor agrees that in those jurisdictions + (e.g. Japan), in which any exercise of the right granted in + Section 3(b) of this License (the right to make Adaptations) + would be deemed to be a distortion, mutilation, modification or + other derogatory action prejudicial to the Original Author's + honor and reputation, the Licensor will waive or not assert, as + appropriate, this Section, to the fullest extent permitted by + the applicable national law, to enable You to reasonably + exercise Your right under Section 3(b) of this License (right to + make Adaptations) but not otherwise. + + 5. Representations, Warranties and Disclaimer + + UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, + LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR + WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, + STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF + TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, + NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, + OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. + SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, + SO SUCH EXCLUSION MAY NOT APPLY TO YOU. + + 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY + APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY + LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR + EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, + EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + + 7. Termination + + a. This License and the rights granted hereunder will terminate + automatically upon any breach by You of the terms of this + License. Individuals or entities who have received Adaptations + or Collections from You under this License, however, will not + have their licenses terminated provided such individuals or + entities remain in full compliance with those licenses. + Sections 1, 2, 5, 6, 7, and 8 will survive any termination of + this License. + + b. Subject to the above terms and conditions, the license granted + here is perpetual (for the duration of the applicable copyright + in the Work). Notwithstanding the above, Licensor reserves the + right to release the Work under different license terms or to + stop distributing the Work at any time; provided, however that + any such election will not serve to withdraw this License (or + any other license that has been, or is required to be, granted + under the terms of this License), and this License will continue + in full force and effect unless terminated as stated above. + + 8. Miscellaneous + + a. Each time You Distribute or Publicly Perform the Work or a + Collection, the Licensor offers to the recipient a license to + the Work on the same terms and conditions as the license granted + to You under this License. + + b. Each time You Distribute or Publicly Perform an Adaptation, + Licensor offers to the recipient a license to the original Work + on the same terms and conditions as the license granted to You + under this License. + + c. If any provision of this License is invalid or unenforceable + under applicable law, it shall not affect the validity or + enforceability of the remainder of the terms of this License, + and without further action by the parties to this agreement, + such provision shall be reformed to the minimum extent necessary + to make such provision valid and enforceable. + + d. No term or provision of this License shall be deemed waived and + no breach consented to unless such waiver or consent shall be in + writing and signed by the party to be charged with such waiver + or consent. + + e. This License constitutes the entire agreement between the + parties with respect to the Work licensed here. There are no + understandings, agreements or representations with respect to + the Work not specified here. Licensor shall not be bound by any + additional provisions that may appear in any communication from + You. This License may not be modified without the mutual written + agreement of the Licensor and You. + + f. The rights granted under, and the subject matter referenced, in + this License were drafted utilizing the terminology of the Berne + Convention for the Protection of Literary and Artistic Works (as + amended on September 28, 1979), the Rome Convention of 1961, the + WIPO Copyright Treaty of 1996, the WIPO Performances and + Phonograms Treaty of 1996 and the Universal Copyright Convention + (as revised on July 24, 1971). These rights and subject matter + take effect in the relevant jurisdiction in which the License + terms are sought to be enforced according to the corresponding + provisions of the implementation of those treaty provisions in + the applicable national law. If the standard suite of rights + granted under applicable copyright law includes additional + rights not granted under this License, such additional rights + are deemed to be included in the License; this License is not + intended to restrict the license of any rights under applicable law. + - score: '98.1' + start_line: 1 + end_line: 24 + matcher: 1-hash + rule_length: 206 + matched_length: 206 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-2-clause-views_11.RULE + license_expression: bsd-2-clause-views + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY [Andrea] [Leofreddi] ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO + EVENT SHALL [Andrea] [Leofreddi] OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + The views and conclusions contained in the software and documentation are those + of the authors and should not be interpreted as representing official policies, + either expressed or implied, of + - score: '100.0' + start_line: 3 + end_line: 6 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Developed at SunPro, a Sun Microsystems, Inc. business. + Permission to use, copy, modify, and distribute this + software is freely granted, provided that this notice + is preserved. + - score: '65.0' + start_line: 7 + end_line: 8 + matcher: 3-seq + rule_length: 20 + matched_length: 13 + match_coverage: '65.0' + rule_relevance: 100 + identifier: cc-by-3.0_19.RULE + license_expression: cc-by-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the + Creative Commons Attribution 3.0 diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/lacme/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/lacme/stable_copyright-detailed.expected.yml index cf37814568b..16b024167e3 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/lacme/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/lacme/stable_copyright-detailed.expected.yml @@ -1,4 +1,46 @@ -- - GPL-3+ +primary_license: gpl-3.0-plus AND lgpl-2.0-plus +declared_license: - GPL-3+ -- gpl-3.0-plus AND lgpl-2.0-plus -- © 2015-2017 Guilhem Moulin + - GPL-3+ +license_expression: gpl-3.0-plus AND lgpl-2.0-plus +copyright: © 2015-2017 Guilhem Moulin +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '82.09' + start_line: 1 + end_line: 7 + matcher: 3-seq + rule_length: 67 + matched_length: 55 + match_coverage: '82.09' + rule_relevance: 100 + identifier: lgpl-2.0-plus_16.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version [3] of the License, or (at your + option) any later version. + + On Debian systems, the complete text of the GNU General Public License + [version] [3] [can] [be] [found] [in] [file] "/usr/share/common-licenses/ diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/lacme/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/lacme/stable_copyright.expected.yml index 3580de56d6b..c41939bb90d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/lacme/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/lacme/stable_copyright.expected.yml @@ -1,3 +1,45 @@ -- - GPL-3+ -- gpl-3.0-plus AND lgpl-2.0-plus -- © 2015-2017 Guilhem Moulin +primary_license: gpl-3.0-plus AND lgpl-2.0-plus +declared_license: + - GPL-3+ +license_expression: gpl-3.0-plus AND lgpl-2.0-plus +copyright: © 2015-2017 Guilhem Moulin +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '82.09' + start_line: 1 + end_line: 7 + matcher: 3-seq + rule_length: 67 + matched_length: 55 + match_coverage: '82.09' + rule_relevance: 100 + identifier: lgpl-2.0-plus_16.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version [3] of the License, or (at your + option) any later version. + + On Debian systems, the complete text of the GNU General Public License + [version] [3] [can] [be] [found] [in] [file] "/usr/share/common-licenses/ diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-amd64/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-amd64/stable_copyright-detailed.expected.yml index 760b0120174..0c322f909ee 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-amd64/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-amd64/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2 +primary_license: gpl-2.0 +declared_license: + - GPL-2 - GPL-2 - LGPL-2.1 - GPL-2+ or X11 @@ -9,10 +11,10 @@ - GPL-2 - LGPL-2.1 - GPL-2+ or X11 -- (gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0) AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1 +license_expression: (gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0) AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1) AND (gpl-2.0-plus OR mit) AND (bsd-new OR gpl-1.0-plus) AND unicode AND mit - AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) -- | + AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1) +copyright: | 1991-2012 Linus Torvalds and many others 1996-2006 Manoj Srivastava 2005-2012 Debian kernel team @@ -33,3 +35,293 @@ 2010 Ryan Wilson 2014-2015 Red Hat, Inc. 2015 Intel Corporation +matches: + - score: '99.6' + start_line: 3 + end_line: 33 + matcher: 3-seq + rule_length: 250 + matched_length: 250 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_or_gpl.RULE + license_expression: bsd-new OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + * Redistributions of source code must retain copyright notices, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the + distribution. + * Neither the name of the [CRYPTOGAMS] nor the names of its copyright + holder and contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + + ALTERNATIVELY, provided that this notice is retained in full, this + product may be distributed under the terms of the GNU General Public + License (GPL), in which case the provisions of the GPL apply INSTEAD + OF those given above. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 31 + matcher: 2-aho + rule_length: 306 + matched_length: 306 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_17.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Distributed under the Terms of Use in + http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person obtaining a + copy of the Unicode data files and any associated documentation (the "Data + Files") or Unicode software and any associated documentation (the + "Software") to deal in the Data Files or Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, and/or sell copies of the Data Files or Software, and + to permit persons to whom the Data Files or Software are furnished to do + so, provided that (a) the above copyright notice(s) and this permission + notice appear with all copies of the Data Files or Software, (b) both the + above copyright notice(s) and this permission notice appear in associated + documentation, and (c) there is clear notice in each modified Data File or + in the Software as well as in the documentation associated with the Data + File(s) or Software that the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF + THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS + INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT + OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF + USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THE DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder shall + not be used in advertising or otherwise to promote the sale, use or other + dealings in these Data Files or Software without prior written + authorization of the copyright holder. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '98.4' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1032.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General Public License [version] + [2] can be found in `/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_62.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program; If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 37 + matcher: 1-hash + rule_length: 282 + matched_length: 282 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_or_mit2.RULE + license_expression: gpl-2.0-plus OR mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is dual-licensed: you can use it either under the terms + of the GPL or the X11 license, at your option. Note that this dual + licensing only applies to this file, and not this project as a + whole. + + a) This file is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + Or, alternatively, + + b) Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-amd64/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-amd64/stable_copyright.expected.yml index b05ddb4f4fa..7cd9f5fad8e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-amd64/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-amd64/stable_copyright.expected.yml @@ -1,12 +1,14 @@ -- - GPL-2 +primary_license: gpl-2.0 +declared_license: + - GPL-2 - LGPL-2.1 - GPL-2+ or X11 - CRYPTOGAMS - Unicode-data - Xen-interface -- (gpl-2.0 AND gpl-2.0) AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (gpl-2.0-plus - OR mit) AND (bsd-new OR gpl-1.0-plus) AND unicode AND mit -- | +license_expression: gpl-2.0 AND (lgpl-2.1 AND lgpl-2.1-plus) AND (gpl-2.0-plus OR mit) AND (bsd-new + OR gpl-1.0-plus) AND unicode AND mit +copyright: | 1991-2012 Linus Torvalds and many others 2011 Lennart Poettering 2012-2018 Linus Torvalds and many others @@ -25,3 +27,293 @@ 2010 Ryan Wilson 2014-2015 Red Hat, Inc. 2015 Intel Corporation +matches: + - score: '99.6' + start_line: 3 + end_line: 33 + matcher: 3-seq + rule_length: 250 + matched_length: 250 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_or_gpl.RULE + license_expression: bsd-new OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + * Redistributions of source code must retain copyright notices, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the + distribution. + * Neither the name of the [CRYPTOGAMS] nor the names of its copyright + holder and contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + + ALTERNATIVELY, provided that this notice is retained in full, this + product may be distributed under the terms of the GNU General Public + License (GPL), in which case the provisions of the GPL apply INSTEAD + OF those given above. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 31 + matcher: 2-aho + rule_length: 306 + matched_length: 306 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_17.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Distributed under the Terms of Use in + http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person obtaining a + copy of the Unicode data files and any associated documentation (the "Data + Files") or Unicode software and any associated documentation (the + "Software") to deal in the Data Files or Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, and/or sell copies of the Data Files or Software, and + to permit persons to whom the Data Files or Software are furnished to do + so, provided that (a) the above copyright notice(s) and this permission + notice appear with all copies of the Data Files or Software, (b) both the + above copyright notice(s) and this permission notice appear in associated + documentation, and (c) there is clear notice in each modified Data File or + in the Software as well as in the documentation associated with the Data + File(s) or Software that the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF + THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS + INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT + OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF + USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THE DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder shall + not be used in advertising or otherwise to promote the sale, use or other + dealings in these Data Files or Software without prior written + authorization of the copyright holder. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '98.4' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1032.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General Public License [version] + [2] can be found in `/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_62.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program; If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 37 + matcher: 1-hash + rule_length: 282 + matched_length: 282 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_or_mit2.RULE + license_expression: gpl-2.0-plus OR mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is dual-licensed: you can use it either under the terms + of the GPL or the X11 license, at your option. Note that this dual + licensing only applies to this file, and not this project as a + whole. + + a) This file is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + Or, alternatively, + + b) Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-arm64/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-arm64/stable_copyright-detailed.expected.yml index 760b0120174..0c322f909ee 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-arm64/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-arm64/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2 +primary_license: gpl-2.0 +declared_license: + - GPL-2 - GPL-2 - LGPL-2.1 - GPL-2+ or X11 @@ -9,10 +11,10 @@ - GPL-2 - LGPL-2.1 - GPL-2+ or X11 -- (gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0) AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1 +license_expression: (gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0) AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1) AND (gpl-2.0-plus OR mit) AND (bsd-new OR gpl-1.0-plus) AND unicode AND mit - AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) -- | + AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1) +copyright: | 1991-2012 Linus Torvalds and many others 1996-2006 Manoj Srivastava 2005-2012 Debian kernel team @@ -33,3 +35,293 @@ 2010 Ryan Wilson 2014-2015 Red Hat, Inc. 2015 Intel Corporation +matches: + - score: '99.6' + start_line: 3 + end_line: 33 + matcher: 3-seq + rule_length: 250 + matched_length: 250 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_or_gpl.RULE + license_expression: bsd-new OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + * Redistributions of source code must retain copyright notices, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the + distribution. + * Neither the name of the [CRYPTOGAMS] nor the names of its copyright + holder and contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + + ALTERNATIVELY, provided that this notice is retained in full, this + product may be distributed under the terms of the GNU General Public + License (GPL), in which case the provisions of the GPL apply INSTEAD + OF those given above. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 31 + matcher: 2-aho + rule_length: 306 + matched_length: 306 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_17.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Distributed under the Terms of Use in + http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person obtaining a + copy of the Unicode data files and any associated documentation (the "Data + Files") or Unicode software and any associated documentation (the + "Software") to deal in the Data Files or Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, and/or sell copies of the Data Files or Software, and + to permit persons to whom the Data Files or Software are furnished to do + so, provided that (a) the above copyright notice(s) and this permission + notice appear with all copies of the Data Files or Software, (b) both the + above copyright notice(s) and this permission notice appear in associated + documentation, and (c) there is clear notice in each modified Data File or + in the Software as well as in the documentation associated with the Data + File(s) or Software that the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF + THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS + INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT + OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF + USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THE DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder shall + not be used in advertising or otherwise to promote the sale, use or other + dealings in these Data Files or Software without prior written + authorization of the copyright holder. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '98.4' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1032.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General Public License [version] + [2] can be found in `/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_62.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program; If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 37 + matcher: 1-hash + rule_length: 282 + matched_length: 282 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_or_mit2.RULE + license_expression: gpl-2.0-plus OR mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is dual-licensed: you can use it either under the terms + of the GPL or the X11 license, at your option. Note that this dual + licensing only applies to this file, and not this project as a + whole. + + a) This file is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + Or, alternatively, + + b) Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-arm64/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-arm64/stable_copyright.expected.yml index b05ddb4f4fa..7cd9f5fad8e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-arm64/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-arm64/stable_copyright.expected.yml @@ -1,12 +1,14 @@ -- - GPL-2 +primary_license: gpl-2.0 +declared_license: + - GPL-2 - LGPL-2.1 - GPL-2+ or X11 - CRYPTOGAMS - Unicode-data - Xen-interface -- (gpl-2.0 AND gpl-2.0) AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (gpl-2.0-plus - OR mit) AND (bsd-new OR gpl-1.0-plus) AND unicode AND mit -- | +license_expression: gpl-2.0 AND (lgpl-2.1 AND lgpl-2.1-plus) AND (gpl-2.0-plus OR mit) AND (bsd-new + OR gpl-1.0-plus) AND unicode AND mit +copyright: | 1991-2012 Linus Torvalds and many others 2011 Lennart Poettering 2012-2018 Linus Torvalds and many others @@ -25,3 +27,293 @@ 2010 Ryan Wilson 2014-2015 Red Hat, Inc. 2015 Intel Corporation +matches: + - score: '99.6' + start_line: 3 + end_line: 33 + matcher: 3-seq + rule_length: 250 + matched_length: 250 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_or_gpl.RULE + license_expression: bsd-new OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + * Redistributions of source code must retain copyright notices, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the + distribution. + * Neither the name of the [CRYPTOGAMS] nor the names of its copyright + holder and contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + + ALTERNATIVELY, provided that this notice is retained in full, this + product may be distributed under the terms of the GNU General Public + License (GPL), in which case the provisions of the GPL apply INSTEAD + OF those given above. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 31 + matcher: 2-aho + rule_length: 306 + matched_length: 306 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_17.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Distributed under the Terms of Use in + http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person obtaining a + copy of the Unicode data files and any associated documentation (the "Data + Files") or Unicode software and any associated documentation (the + "Software") to deal in the Data Files or Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, and/or sell copies of the Data Files or Software, and + to permit persons to whom the Data Files or Software are furnished to do + so, provided that (a) the above copyright notice(s) and this permission + notice appear with all copies of the Data Files or Software, (b) both the + above copyright notice(s) and this permission notice appear in associated + documentation, and (c) there is clear notice in each modified Data File or + in the Software as well as in the documentation associated with the Data + File(s) or Software that the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF + THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS + INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT + OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF + USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THE DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder shall + not be used in advertising or otherwise to promote the sale, use or other + dealings in these Data Files or Software without prior written + authorization of the copyright holder. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '98.4' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1032.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General Public License [version] + [2] can be found in `/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_62.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program; If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 37 + matcher: 1-hash + rule_length: 282 + matched_length: 282 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_or_mit2.RULE + license_expression: gpl-2.0-plus OR mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is dual-licensed: you can use it either under the terms + of the GPL or the X11 license, at your option. Note that this dual + licensing only applies to this file, and not this project as a + whole. + + a) This file is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + Or, alternatively, + + b) Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-i386/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-i386/stable_copyright-detailed.expected.yml index 760b0120174..0c322f909ee 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-i386/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-i386/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2 +primary_license: gpl-2.0 +declared_license: + - GPL-2 - GPL-2 - LGPL-2.1 - GPL-2+ or X11 @@ -9,10 +11,10 @@ - GPL-2 - LGPL-2.1 - GPL-2+ or X11 -- (gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0) AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1 +license_expression: (gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0) AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1) AND (gpl-2.0-plus OR mit) AND (bsd-new OR gpl-1.0-plus) AND unicode AND mit - AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) -- | + AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1) +copyright: | 1991-2012 Linus Torvalds and many others 1996-2006 Manoj Srivastava 2005-2012 Debian kernel team @@ -33,3 +35,293 @@ 2010 Ryan Wilson 2014-2015 Red Hat, Inc. 2015 Intel Corporation +matches: + - score: '99.6' + start_line: 3 + end_line: 33 + matcher: 3-seq + rule_length: 250 + matched_length: 250 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_or_gpl.RULE + license_expression: bsd-new OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + * Redistributions of source code must retain copyright notices, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the + distribution. + * Neither the name of the [CRYPTOGAMS] nor the names of its copyright + holder and contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + + ALTERNATIVELY, provided that this notice is retained in full, this + product may be distributed under the terms of the GNU General Public + License (GPL), in which case the provisions of the GPL apply INSTEAD + OF those given above. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 31 + matcher: 2-aho + rule_length: 306 + matched_length: 306 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_17.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Distributed under the Terms of Use in + http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person obtaining a + copy of the Unicode data files and any associated documentation (the "Data + Files") or Unicode software and any associated documentation (the + "Software") to deal in the Data Files or Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, and/or sell copies of the Data Files or Software, and + to permit persons to whom the Data Files or Software are furnished to do + so, provided that (a) the above copyright notice(s) and this permission + notice appear with all copies of the Data Files or Software, (b) both the + above copyright notice(s) and this permission notice appear in associated + documentation, and (c) there is clear notice in each modified Data File or + in the Software as well as in the documentation associated with the Data + File(s) or Software that the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF + THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS + INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT + OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF + USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THE DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder shall + not be used in advertising or otherwise to promote the sale, use or other + dealings in these Data Files or Software without prior written + authorization of the copyright holder. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '98.4' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1032.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General Public License [version] + [2] can be found in `/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_62.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program; If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 37 + matcher: 1-hash + rule_length: 282 + matched_length: 282 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_or_mit2.RULE + license_expression: gpl-2.0-plus OR mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is dual-licensed: you can use it either under the terms + of the GPL or the X11 license, at your option. Note that this dual + licensing only applies to this file, and not this project as a + whole. + + a) This file is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + Or, alternatively, + + b) Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-i386/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-i386/stable_copyright.expected.yml index b05ddb4f4fa..7cd9f5fad8e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-i386/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux-signed-i386/stable_copyright.expected.yml @@ -1,12 +1,14 @@ -- - GPL-2 +primary_license: gpl-2.0 +declared_license: + - GPL-2 - LGPL-2.1 - GPL-2+ or X11 - CRYPTOGAMS - Unicode-data - Xen-interface -- (gpl-2.0 AND gpl-2.0) AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (gpl-2.0-plus - OR mit) AND (bsd-new OR gpl-1.0-plus) AND unicode AND mit -- | +license_expression: gpl-2.0 AND (lgpl-2.1 AND lgpl-2.1-plus) AND (gpl-2.0-plus OR mit) AND (bsd-new + OR gpl-1.0-plus) AND unicode AND mit +copyright: | 1991-2012 Linus Torvalds and many others 2011 Lennart Poettering 2012-2018 Linus Torvalds and many others @@ -25,3 +27,293 @@ 2010 Ryan Wilson 2014-2015 Red Hat, Inc. 2015 Intel Corporation +matches: + - score: '99.6' + start_line: 3 + end_line: 33 + matcher: 3-seq + rule_length: 250 + matched_length: 250 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_or_gpl.RULE + license_expression: bsd-new OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + * Redistributions of source code must retain copyright notices, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the + distribution. + * Neither the name of the [CRYPTOGAMS] nor the names of its copyright + holder and contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + + ALTERNATIVELY, provided that this notice is retained in full, this + product may be distributed under the terms of the GNU General Public + License (GPL), in which case the provisions of the GPL apply INSTEAD + OF those given above. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 31 + matcher: 2-aho + rule_length: 306 + matched_length: 306 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_17.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Distributed under the Terms of Use in + http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person obtaining a + copy of the Unicode data files and any associated documentation (the "Data + Files") or Unicode software and any associated documentation (the + "Software") to deal in the Data Files or Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, and/or sell copies of the Data Files or Software, and + to permit persons to whom the Data Files or Software are furnished to do + so, provided that (a) the above copyright notice(s) and this permission + notice appear with all copies of the Data Files or Software, (b) both the + above copyright notice(s) and this permission notice appear in associated + documentation, and (c) there is clear notice in each modified Data File or + in the Software as well as in the documentation associated with the Data + File(s) or Software that the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF + THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS + INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT + OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF + USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THE DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder shall + not be used in advertising or otherwise to promote the sale, use or other + dealings in these Data Files or Software without prior written + authorization of the copyright holder. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '98.4' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1032.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General Public License [version] + [2] can be found in `/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_62.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program; If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 37 + matcher: 1-hash + rule_length: 282 + matched_length: 282 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_or_mit2.RULE + license_expression: gpl-2.0-plus OR mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is dual-licensed: you can use it either under the terms + of the GPL or the X11 license, at your option. Note that this dual + licensing only applies to this file, and not this project as a + whole. + + a) This file is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + Or, alternatively, + + b) Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux/stable_copyright-detailed.expected.yml index 760b0120174..0c322f909ee 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2 +primary_license: gpl-2.0 +declared_license: + - GPL-2 - GPL-2 - LGPL-2.1 - GPL-2+ or X11 @@ -9,10 +11,10 @@ - GPL-2 - LGPL-2.1 - GPL-2+ or X11 -- (gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0) AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1 +license_expression: (gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0) AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1) AND (gpl-2.0-plus OR mit) AND (bsd-new OR gpl-1.0-plus) AND unicode AND mit - AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) -- | + AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1) +copyright: | 1991-2012 Linus Torvalds and many others 1996-2006 Manoj Srivastava 2005-2012 Debian kernel team @@ -33,3 +35,293 @@ 2010 Ryan Wilson 2014-2015 Red Hat, Inc. 2015 Intel Corporation +matches: + - score: '99.6' + start_line: 3 + end_line: 33 + matcher: 3-seq + rule_length: 250 + matched_length: 250 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_or_gpl.RULE + license_expression: bsd-new OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + * Redistributions of source code must retain copyright notices, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the + distribution. + * Neither the name of the [CRYPTOGAMS] nor the names of its copyright + holder and contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + + ALTERNATIVELY, provided that this notice is retained in full, this + product may be distributed under the terms of the GNU General Public + License (GPL), in which case the provisions of the GPL apply INSTEAD + OF those given above. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 31 + matcher: 2-aho + rule_length: 306 + matched_length: 306 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_17.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Distributed under the Terms of Use in + http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person obtaining a + copy of the Unicode data files and any associated documentation (the "Data + Files") or Unicode software and any associated documentation (the + "Software") to deal in the Data Files or Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, and/or sell copies of the Data Files or Software, and + to permit persons to whom the Data Files or Software are furnished to do + so, provided that (a) the above copyright notice(s) and this permission + notice appear with all copies of the Data Files or Software, (b) both the + above copyright notice(s) and this permission notice appear in associated + documentation, and (c) there is clear notice in each modified Data File or + in the Software as well as in the documentation associated with the Data + File(s) or Software that the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF + THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS + INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT + OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF + USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THE DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder shall + not be used in advertising or otherwise to promote the sale, use or other + dealings in these Data Files or Software without prior written + authorization of the copyright holder. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '98.4' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1032.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General Public License [version] + [2] can be found in `/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_62.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program; If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 37 + matcher: 1-hash + rule_length: 282 + matched_length: 282 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_or_mit2.RULE + license_expression: gpl-2.0-plus OR mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is dual-licensed: you can use it either under the terms + of the GPL or the X11 license, at your option. Note that this dual + licensing only applies to this file, and not this project as a + whole. + + a) This file is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + Or, alternatively, + + b) Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux/stable_copyright.expected.yml index b05ddb4f4fa..7cd9f5fad8e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/l/linux/stable_copyright.expected.yml @@ -1,12 +1,14 @@ -- - GPL-2 +primary_license: gpl-2.0 +declared_license: + - GPL-2 - LGPL-2.1 - GPL-2+ or X11 - CRYPTOGAMS - Unicode-data - Xen-interface -- (gpl-2.0 AND gpl-2.0) AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (gpl-2.0-plus - OR mit) AND (bsd-new OR gpl-1.0-plus) AND unicode AND mit -- | +license_expression: gpl-2.0 AND (lgpl-2.1 AND lgpl-2.1-plus) AND (gpl-2.0-plus OR mit) AND (bsd-new + OR gpl-1.0-plus) AND unicode AND mit +copyright: | 1991-2012 Linus Torvalds and many others 2011 Lennart Poettering 2012-2018 Linus Torvalds and many others @@ -25,3 +27,293 @@ 2010 Ryan Wilson 2014-2015 Red Hat, Inc. 2015 Intel Corporation +matches: + - score: '99.6' + start_line: 3 + end_line: 33 + matcher: 3-seq + rule_length: 250 + matched_length: 250 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_or_gpl.RULE + license_expression: bsd-new OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + * Redistributions of source code must retain copyright notices, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the + distribution. + * Neither the name of the [CRYPTOGAMS] nor the names of its copyright + holder and contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + + ALTERNATIVELY, provided that this notice is retained in full, this + product may be distributed under the terms of the GNU General Public + License (GPL), in which case the provisions of the GPL apply INSTEAD + OF those given above. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 31 + matcher: 2-aho + rule_length: 306 + matched_length: 306 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_17.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Distributed under the Terms of Use in + http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person obtaining a + copy of the Unicode data files and any associated documentation (the "Data + Files") or Unicode software and any associated documentation (the + "Software") to deal in the Data Files or Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, and/or sell copies of the Data Files or Software, and + to permit persons to whom the Data Files or Software are furnished to do + so, provided that (a) the above copyright notice(s) and this permission + notice appear with all copies of the Data Files or Software, (b) both the + above copyright notice(s) and this permission notice appear in associated + documentation, and (c) there is clear notice in each modified Data File or + in the Software as well as in the documentation associated with the Data + File(s) or Software that the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF + THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS + INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT + OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF + USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THE DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder shall + not be used in advertising or otherwise to promote the sale, use or other + dealings in these Data Files or Software without prior written + authorization of the copyright holder. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '98.4' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1032.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General Public License [version] + [2] can be found in `/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_62.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program; If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 37 + matcher: 1-hash + rule_length: 282 + matched_length: 282 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_or_mit2.RULE + license_expression: gpl-2.0-plus OR mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is dual-licensed: you can use it either under the terms + of the GPL or the X11 license, at your option. Note that this dual + licensing only applies to this file, and not this project as a + whole. + + a) This file is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + Or, alternatively, + + b) Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libs/libsdl2-image/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libs/libsdl2-image/stable_copyright-detailed.expected.yml index 4f994f1ce4f..681ad3030d1 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libs/libsdl2-image/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libs/libsdl2-image/stable_copyright-detailed.expected.yml @@ -1,13 +1,15 @@ -- - zlib/libpng +primary_license: zlib +declared_license: + - zlib/libpng - zlib/libpng - LGPL-2+ - public-domain - LGPL-2+ - zlib/libpng - LGPL-2+ -- zlib AND zlib AND (lgpl-2.0-plus AND gpl-2.0-plus AND lgpl-2.0) AND unlicense AND (lgpl-2.0-plus - AND gpl-2.0-plus AND lgpl-2.0) -- | +license_expression: zlib AND zlib AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND + lgpl-2.0) AND unlicense AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.0) +copyright: | 1997-2016 Sam Lantinga 1997-2016 Sam Lantinga 1990, 1991, 1993 David Koblas @@ -18,3 +20,143 @@ 2013, Manuel A. Fernandez Montecelo 2013, Felix Geyer 2016, Gianfranco Costamagna +matches: + - score: '100.0' + start_line: 1 + end_line: 22 + matcher: 1-hash + rule_length: 189 + matched_length: 189 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unlicense_6.RULE + license_expression: unlicense + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free and unencumbered software released into the public domain. + + Anyone is free to copy, modify, publish, use, compile, sell, or + distribute this software, either in source code form or as a compiled + binary, for any purpose, commercial or non-commercial, and by any + means. + + In jurisdictions that recognize copyright laws, the author or authors + of this software dedicate any and all copyright interest in the + software to the public domain. We make this dedication for the benefit + of the public at large and to the detriment of our heirs and + successors. We intend this dedication to be an overt act of + relinquishment in perpetuity of all present and future rights to this + software under copyright law. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR + OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 44 + matched_length: 44 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_17.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or (at + your option) any later version. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU Lesser + General Public License + - score: '55.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: lgpl-2.0_157.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: can be found in '/usr/share/common-licenses/LGPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libs/libsdl2-image/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libs/libsdl2-image/stable_copyright.expected.yml index 40d3b459334..a4d790d7d8b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libs/libsdl2-image/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libs/libsdl2-image/stable_copyright.expected.yml @@ -1,10 +1,152 @@ -- - zlib/libpng +primary_license: zlib +declared_license: + - zlib/libpng - LGPL-2+ - public-domain -- zlib AND (lgpl-2.0-plus AND gpl-2.0-plus AND lgpl-2.0) AND unlicense -- | +license_expression: zlib AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0) AND unlicense +copyright: | 1997-2016 Sam Lantinga 1990, 1991, 1993 David Koblas 1996 Torsten Martinsen 1998 Philippe Lavoie in public domain +matches: + - score: '100.0' + start_line: 1 + end_line: 22 + matcher: 1-hash + rule_length: 189 + matched_length: 189 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unlicense_6.RULE + license_expression: unlicense + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free and unencumbered software released into the public domain. + + Anyone is free to copy, modify, publish, use, compile, sell, or + distribute this software, either in source code form or as a compiled + binary, for any purpose, commercial or non-commercial, and by any + means. + + In jurisdictions that recognize copyright laws, the author or authors + of this software dedicate any and all copyright interest in the + software to the public domain. We make this dedication for the benefit + of the public at large and to the detriment of our heirs and + successors. We intend this dedication to be an overt act of + relinquishment in perpetuity of all present and future rights to this + software under copyright law. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR + OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 44 + matched_length: 44 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_17.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or (at + your option) any later version. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU Lesser + General Public License + - score: '55.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: lgpl-2.0_157.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: can be found in '/usr/share/common-licenses/LGPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libt/libtk-img/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libt/libtk-img/stable_copyright-detailed.expected.yml index e697af34ccb..166397c1765 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libt/libtk-img/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libt/libtk-img/stable_copyright-detailed.expected.yml @@ -1,8 +1,86 @@ -- - Tcl +primary_license: tcl +declared_license: + - Tcl - Public-domain - Tcl - Public-domain -- tcl AND pngsuite -- | +license_expression: tcl AND pngsuite +copyright: | 1997-2004 Jan Nijtmans 1999, 2011 Willem van Schaik +matches: + - score: '98.79' + start_line: 1 + end_line: 41 + matcher: 3-seq + rule_length: 330 + matched_length: 326 + match_coverage: '98.79' + rule_relevance: 100 + identifier: tcl_3.RULE + license_expression: tcl + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is copyrighted by [Jan] [Nijtmans] ([the] [maintainer]) + [and] a [lot] [of] [other] [people] [who] [contributed] [code] ([most] [notably] + [Andreas] [Kupries], [Thomas] [G]. [Lane], [Ioi] [K]. [Lam], [Mario] [Weilguni] + [and] [Roger] [E] [Critchlow] [Jr]). + The following terms apply to all files associated with the + software unless explicitly disclaimed in individual files. + + The authors hereby grant permission to use, copy, modify, distribute, + and license this software and its documentation for any purpose, provided + that existing copyright notices are retained in all copies and that this + notice is included verbatim in any distributions. No written agreement, + license, or royalty fee is required for any of the authorized uses. + Modifications to this software may be copyrighted by their authors + and need not follow the licensing terms described here, provided that + the new terms are clearly indicated on the first page of each file where + they apply. + + IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY + FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES + ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY + DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE + IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE + NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR + MODIFICATIONS. + + GOVERNMENT USE: If you are acquiring this software on behalf of the + U.S. government, the Government shall have only "Restricted Rights" + in the software and related documentation as defined in the Federal + Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you + are acquiring the software on behalf of the Department of Defense, the + software shall be classified as "Commercial Computer Software" and the + Government shall have only "Restricted Rights" as defined in Clause + 252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the + authors grant the U.S. Government and others acting in its behalf + permission to use and distribute the software in accordance with the + terms specified in this license. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: pngsuite.LICENSE + license_expression: pngsuite + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute these images for any + purpose and without fee is hereby granted. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libt/libtk-img/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libt/libtk-img/stable_copyright.expected.yml index 84fd3229d08..5de54ed2413 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libt/libtk-img/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libt/libtk-img/stable_copyright.expected.yml @@ -1,6 +1,84 @@ -- - Tcl +primary_license: tcl +declared_license: + - Tcl - Public-domain -- tcl AND pngsuite -- | +license_expression: tcl AND pngsuite +copyright: | 1997-2004 Jan Nijtmans 1999, 2011 Willem van Schaik +matches: + - score: '98.79' + start_line: 1 + end_line: 41 + matcher: 3-seq + rule_length: 330 + matched_length: 326 + match_coverage: '98.79' + rule_relevance: 100 + identifier: tcl_3.RULE + license_expression: tcl + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is copyrighted by [Jan] [Nijtmans] ([the] [maintainer]) + [and] a [lot] [of] [other] [people] [who] [contributed] [code] ([most] [notably] + [Andreas] [Kupries], [Thomas] [G]. [Lane], [Ioi] [K]. [Lam], [Mario] [Weilguni] + [and] [Roger] [E] [Critchlow] [Jr]). + The following terms apply to all files associated with the + software unless explicitly disclaimed in individual files. + + The authors hereby grant permission to use, copy, modify, distribute, + and license this software and its documentation for any purpose, provided + that existing copyright notices are retained in all copies and that this + notice is included verbatim in any distributions. No written agreement, + license, or royalty fee is required for any of the authorized uses. + Modifications to this software may be copyrighted by their authors + and need not follow the licensing terms described here, provided that + the new terms are clearly indicated on the first page of each file where + they apply. + + IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY + FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES + ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY + DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE + IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE + NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR + MODIFICATIONS. + + GOVERNMENT USE: If you are acquiring this software on behalf of the + U.S. government, the Government shall have only "Restricted Rights" + in the software and related documentation as defined in the Federal + Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you + are acquiring the software on behalf of the Department of Defense, the + software shall be classified as "Commercial Computer Software" and the + Government shall have only "Restricted Rights" as defined in Clause + 252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the + authors grant the U.S. Government and others acting in its behalf + permission to use and distribute the software in accordance with the + terms specified in this license. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: pngsuite.LICENSE + license_expression: pngsuite + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute these images for any + purpose and without fee is hereby granted. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libx/libxslt/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libx/libxslt/stable_copyright-detailed.expected.yml index 2376fa8a8d8..cf361d35825 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libx/libxslt/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libx/libxslt/stable_copyright-detailed.expected.yml @@ -1,5 +1,67 @@ -- -- x11-xconsortium_veillard AND x11-xconsortium -- | +primary_license: +declared_license: +license_expression: x11-xconsortium_veillard AND x11-xconsortium +copyright: | Copyright (c) 2001-2002 Daniel Veillard Copyright (c) 2001-2002 Thomas Broyer, Charlie Bozeman and Daniel Veillard +matches: + - score: '100.0' + start_line: 15 + end_line: 34 + matcher: 2-aho + rule_length: '199' + matched_length: '199' + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_veillard.LICENSE + license_expression: x11-xconsortium_veillard + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\n\ + \ of this software and associated documentation files (the \"Software\"), to deal\n in\ + \ the Software without restriction, including without limitation the rights\n to use,\ + \ copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software,\ + \ and to permit persons to whom the Software is fur-\n nished to do so, subject to the\ + \ following conditions:\n \n The above copyright notice and this permission notice shall\ + \ be included in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE\ + \ IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING\ + \ BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-\n NESS FOR A PARTICULAR PURPOSE\ + \ AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n DANIEL VEILLARD BE LIABLE FOR ANY CLAIM,\ + \ DAMAGES OR OTHER LIABILITY, WHETHER\n IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\ + \ FROM, OUT OF OR IN CON-\n NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\ + \ THE SOFTWARE.\n \n Except as contained in this notice, the name of Daniel Veillard shall\ + \ not\n be used in advertising or otherwise to promote the sale, use or other deal-\n\ + \ ings in this Software without prior written authorization from him." + - score: '100.0' + start_line: 43 + end_line: 62 + matcher: 2-aho + rule_length: '198' + matched_length: '198' + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_4.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\n\ + \ of this software and associated documentation files (the \"Software\"), to deal\n in\ + \ the Software without restriction, including without limitation the rights\n to use,\ + \ copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software,\ + \ and to permit persons to whom the Software is fur-\n nished to do so, subject to the\ + \ following conditions:\n \n The above copyright notice and this permission notice shall\ + \ be included in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE\ + \ IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING\ + \ BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-\n NESS FOR A PARTICULAR PURPOSE\ + \ AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES\ + \ OR OTHER LIABILITY, WHETHER\n IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\ + \ OUT OF OR IN CON-\n NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\ + \ \n Except as contained in this notice, the name of the authors shall not\n be used in\ + \ advertising or otherwise to promote the sale, use or other deal-\n ings in this Software\ + \ without prior written authorization from him." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libx/libxslt/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libx/libxslt/stable_copyright.expected.yml index 2376fa8a8d8..cf361d35825 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libx/libxslt/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/libx/libxslt/stable_copyright.expected.yml @@ -1,5 +1,67 @@ -- -- x11-xconsortium_veillard AND x11-xconsortium -- | +primary_license: +declared_license: +license_expression: x11-xconsortium_veillard AND x11-xconsortium +copyright: | Copyright (c) 2001-2002 Daniel Veillard Copyright (c) 2001-2002 Thomas Broyer, Charlie Bozeman and Daniel Veillard +matches: + - score: '100.0' + start_line: 15 + end_line: 34 + matcher: 2-aho + rule_length: '199' + matched_length: '199' + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_veillard.LICENSE + license_expression: x11-xconsortium_veillard + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\n\ + \ of this software and associated documentation files (the \"Software\"), to deal\n in\ + \ the Software without restriction, including without limitation the rights\n to use,\ + \ copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software,\ + \ and to permit persons to whom the Software is fur-\n nished to do so, subject to the\ + \ following conditions:\n \n The above copyright notice and this permission notice shall\ + \ be included in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE\ + \ IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING\ + \ BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-\n NESS FOR A PARTICULAR PURPOSE\ + \ AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n DANIEL VEILLARD BE LIABLE FOR ANY CLAIM,\ + \ DAMAGES OR OTHER LIABILITY, WHETHER\n IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\ + \ FROM, OUT OF OR IN CON-\n NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\ + \ THE SOFTWARE.\n \n Except as contained in this notice, the name of Daniel Veillard shall\ + \ not\n be used in advertising or otherwise to promote the sale, use or other deal-\n\ + \ ings in this Software without prior written authorization from him." + - score: '100.0' + start_line: 43 + end_line: 62 + matcher: 2-aho + rule_length: '198' + matched_length: '198' + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_4.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\n\ + \ of this software and associated documentation files (the \"Software\"), to deal\n in\ + \ the Software without restriction, including without limitation the rights\n to use,\ + \ copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software,\ + \ and to permit persons to whom the Software is fur-\n nished to do so, subject to the\ + \ following conditions:\n \n The above copyright notice and this permission notice shall\ + \ be included in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE\ + \ IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING\ + \ BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-\n NESS FOR A PARTICULAR PURPOSE\ + \ AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES\ + \ OR OTHER LIABILITY, WHETHER\n IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\ + \ OUT OF OR IN CON-\n NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\ + \ \n Except as contained in this notice, the name of the authors shall not\n be used in\ + \ advertising or otherwise to promote the sale, use or other deal-\n ings in this Software\ + \ without prior written authorization from him." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/m/mariadb-10.3/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/m/mariadb-10.3/stable_copyright-detailed.expected.yml index 9ea8d9df68a..cae771d1f48 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/m/mariadb-10.3/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/m/mariadb-10.3/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2 +primary_license: gpl-2.0 AND gpl-1.0-plus +declared_license: + - GPL-2 - GPL-2+ - GPL-2 - GPL-2+ @@ -89,36 +91,36 @@ - public-domain - GPL-3+ - LGPL-2 -- (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus - AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 - AND gpl-1.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) - AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 - AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND other-copyleft AND (gpl-2.0-plus AND gpl-2.0-plus - AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND public-domain AND bsd-new AND bsd-new AND (lgpl-2.1-plus - AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND bsd-simplified AND (lgpl-2.1-plus AND lgpl-2.1-plus - AND lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.0 AND lgpl-3.0-plus AND lgpl-2.0) AND (gpl-2.0-plus - AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND bsd-simplified AND bsd-simplified - AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (gpl-2.0-plus AND gpl-2.0-plus - AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND - gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) - AND fsf-free AND (lgpl-2.0-plus AND lgpl-2.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND - gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) - AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 - AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND ((gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 - AND gpl-1.0-plus) AND bsd-simplified) AND bsd-new AND bsd-new AND (gpl-2.0 AND gpl-2.0 AND - gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 - AND gpl-1.0-plus) AND (lgpl-2.0-plus AND lgpl-2.0-plus) AND (lgpl-2.0-plus AND lgpl-2.0-plus) - AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND zlib AND (gpl-2.0 AND - gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND - gpl-2.0 AND gpl-1.0-plus) AND (lgpl-2.0-plus AND lgpl-2.0-plus) AND public-domain AND gpl-3.0-plus - WITH bison-exception-2.2 AND gpl-2.0-plus WITH bison-exception-2.2 AND gpl-3.0-plus WITH bison-exception-2.2 - AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND bsd-simplified AND - public-domain AND public-domain AND bsd-new AND bsd-new AND bsd-simplified AND (gpl-2.0 AND - gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND - lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND - (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND bsd-new AND (gpl-2.0 AND - gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND - gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) +license_expression: (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0-plus + AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 + AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND + gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 + AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND other-copyleft + AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND public-domain + AND bsd-new AND bsd-new AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND + bsd-new AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.0 AND + lgpl-3.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) + AND bsd-new AND bsd-new AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND + (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0-plus + AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 + AND gpl-2.0 AND gpl-1.0-plus) AND fsf-free AND (lgpl-2.0-plus AND lgpl-2.0-plus) AND (gpl-2.0 + AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus AND + gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND + gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND ((gpl-2.0 + AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND bsd-new) AND bsd-new AND bsd-new + AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus + AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (lgpl-2.0-plus AND lgpl-2.0-plus) AND (lgpl-2.0-plus + AND lgpl-2.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND + zlib AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 + AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (lgpl-2.0-plus AND lgpl-2.0-plus) AND public-domain + AND gpl-3.0-plus WITH bison-exception-2.2 AND gpl-2.0-plus WITH bison-exception-2.2 AND gpl-3.0-plus + WITH bison-exception-2.2 AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) + AND bsd-new AND public-domain AND public-domain AND bsd-new AND bsd-new AND bsd-new AND (gpl-2.0 + AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) + AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND bsd-new AND (gpl-2.0 + AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 + AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (lgpl-2.0-plus AND lgpl-2.0-plus) AND (lgpl-2.0-plus AND lgpl-2.0-plus) @@ -131,7 +133,7 @@ AND bsd-new AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) -- | +copyright: | 2000-2016, Oracle and/or its affiliates. All rights reserved. 2008-2013 Monty Program AB 2008-2014 SkySQL Ab @@ -331,3 +333,921 @@ 2006, 2014, Oracle and/or its affiliates 2015 Daniel Black 2008-2015 Codership Oy +matches: + - score: '90.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_4.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-free2.RULE + license_expression: fsf-free + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free documentation; the Free Software Foundation gives + unlimited permission to copy, distribute and modify it. + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + . + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + . + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 216 + matched_length: 216 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_with_bison-exception-2.2_1.RULE + license_expression: gpl-2.0-plus WITH bison-exception-2.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. + + As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 1-hash + rule_length: 208 + matched_length: 208 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_bison-exception-3.0_1.RULE + license_expression: gpl-3.0-plus WITH bison-exception-2.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 76 + matched_length: 76 + match_coverage: '100.0' + rule_relevance: 100 + identifier: stlport-4.5.LICENSE + license_expression: stlport-4.5 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This material is provided "as is", with absolutely no warranty expressed + or implied. Any use is at your own risk. + + Permission to use or copy this software for any purpose is hereby granted + without fee, provided the above notices are retained on all copies. + Permission to modify the code and to distribute modified code is granted, + provided the above notices are retained, and a notice that the code was + modified is included with the above copyright notice. + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 2-aho + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- + TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. + - score: '100.0' + start_line: 23 + end_line: 23 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_58.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: FSF changes to this file are in the public domain. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 2-aho + rule_length: 71 + matched_length: 71 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_278.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 10 + end_line: 11 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 12 + end_line: 12 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2` + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_35.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 2-aho + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_90.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2` + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_35.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_281.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU Library General Public + License version 2.1 + - score: '100.0' + start_line: 17 + end_line: 17 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_82.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-2.1` + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '89.21' + start_line: 1 + end_line: 18 + matcher: 3-seq + rule_length: 139 + matched_length: 124 + match_coverage: '89.21' + rule_relevance: 100 + identifier: lgpl-2.0-plus_29.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; version 2 + of the License. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA + + On Debian [and] [systems] [the] [full] text of the GNU Library General Public + License [version] [2] [can] [be] [found] [in] [the] [file] + `/usr/share/common-licenses/LGPL-2` + - score: '53.47' + start_line: 1 + end_line: 10 + matcher: 3-seq + rule_length: 101 + matched_length: 60 + match_coverage: '59.41' + rule_relevance: 90 + identifier: bsd-new_1036.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must the following disclaimer in + the documentation and/or other materials provided with the + distribution. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_26.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: artistic' + - score: '100.0' + start_line: 1 + end_line: 127 + matcher: 1-hash + rule_length: 958 + matched_length: 958 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0.LICENSE + license_expression: artistic-perl-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The "Artistic License" + + Preamble + + The intent of this document is to state the conditions under which a + Package may be copied, such that the Copyright Holder maintains some + semblance of artistic control over the development of the package, + while giving the users of the package the right to use and distribute + the Package in a more-or-less customary fashion, plus the right to make + reasonable modifications. + + Definitions: + + "Package" refers to the collection of files distributed by the + Copyright Holder, and derivatives of that collection of files + created through textual modification. + + "Standard Version" refers to such a Package if it has not been + modified, or has been modified in accordance with the wishes + of the Copyright Holder as specified below. + + "Copyright Holder" is whoever is named in the copyright or + copyrights for the package. + + "You" is you, if you're thinking about copying or distributing + this Package. + + "Reasonable copying fee" is whatever you can justify on the + basis of media cost, duplication charges, time of people involved, + and so on. (You will not be required to justify it to the + Copyright Holder, but only to the computing community at large + as a market that must bear the fee.) + + "Freely Available" means that no fee is charged for the item + itself, though there may be fees involved in handling the item. + It also means that recipients of the item may redistribute it + under the same conditions they received it. + + 1. You may make and give away verbatim copies of the source form of the + Standard Version of this Package without restriction, provided that you + duplicate all of the original copyright notices and associated disclaimers. + + 2. You may apply bug fixes, portability fixes and other modifications + derived from the Public Domain or from the Copyright Holder. A Package + modified in such a way shall still be considered the Standard Version. + + 3. You may otherwise modify your copy of this Package in any way, provided + that you insert a prominent notice in each changed file stating how and + when you changed that file, and provided that you do at least ONE of the + following: + + a) place your modifications in the Public Domain or otherwise make them + Freely Available, such as by posting said modifications to Usenet or + an equivalent medium, or placing the modifications on a major archive + site such as uunet.uu.net, or by allowing the Copyright Holder to include + your modifications in the Standard Version of the Package. + + b) use the modified Package only within your corporation or organization. + + c) rename any non-standard executables so the names do not conflict + with standard executables, which must also be provided, and provide + a separate manual page for each non-standard executable that clearly + documents how it differs from the Standard Version. + + d) make other distribution arrangements with the Copyright Holder. + + 4. You may distribute the programs of this Package in object code or + executable form, provided that you do at least ONE of the following: + + a) distribute a Standard Version of the executables and library files, + together with instructions (in the manual page or equivalent) on where + to get the Standard Version. + + b) accompany the distribution with the machine-readable source of + the Package with your modifications. + + c) give non-standard executables non-standard names, and clearly + document the differences in manual pages (or equivalent), together + with instructions on where to get the Standard Version. + + d) make other distribution arrangements with the Copyright Holder. + + 5. You may charge a reasonable copying fee for any distribution of this + Package. You may charge any fee you choose for support of this + Package. You may not charge a fee for this Package itself. However, + you may distribute this Package in aggregate with other (possibly + commercial) programs as part of a larger (possibly commercial) software + distribution provided that you do not advertise this Package as a + product of your own. You may embed this Package's interpreter within + an executable of yours (by linking); this shall be construed as a mere + form of aggregation, provided that the complete Standard Version of the + interpreter is so embedded. + + 6. The scripts and library files supplied as input to or produced as + output from the programs of this Package do not automatically fall + under the copyright of this Package, but belong to whoever generated + them, and may be sold commercially, and may be aggregated with this + Package. If such scripts or library files are aggregated with this + Package via the so-called "undump" or "unexec" methods of producing a + binary executable image, then distribution of such an image shall + neither be construed as a distribution of this Package nor shall it + fall under the restrictions of Paragraphs 3 and 4, provided that you do + not represent such an executable image as a Standard Version of this + Package. + + 7. C subroutines (or comparably compiled subroutines in other + languages) supplied by you and linked into this Package in order to + emulate subroutines and variables of the language defined by this + Package shall not be considered part of this Package, but are the + equivalent of input as in Paragraph 6, provided these subroutines do + not change the language in any way that would cause it to fail the + regression tests for the language. + + 8. Aggregation of this Package with a commercial distribution is always + permitted provided that the use of this Package is embedded; that is, + when no overt attempt is made to make this Package's interfaces visible + to the end user of the commercial distribution. Such use shall not be + construed as a distribution of this Package. + + 9. The name of the Copyright Holder may not be used to endorse or promote + products derived from this software without specific prior written permission. + + 10. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + The End + - score: '16.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: public-domain_38.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is public domain ( + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_83.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_12.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2' + - score: '86.92' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 130 + matched_length: 113 + match_coverage: '86.92' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License [Version] [2] as published by the Free Software Foundation. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL- + - score: '86.84' + start_line: 1 + end_line: 10 + matcher: 3-seq + rule_length: 76 + matched_length: 66 + match_coverage: '86.84' + rule_relevance: 100 + identifier: gpl-2.0_90.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + license [specified] [in] [the] [file] + [COPYING] [and] [README] + [GPLv2] [Disclaimer]: + [For] [the] [avoidance] [of] [doubt], [except] [that] [if] [any] [license] choice + other than GPL or LGPL is available it will apply instead, + [Oracle] elects to use only the General Public License version 2 + (GPLv2) at this time for any software where a choice of GPL + license versions is made available with the language indicating + that GPLv2 or any later version may be used, or where a choice + of which version of the GPL is applied is otherwise unspecified. + - score: '100.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_bare_single_word.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPLv2 diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/m/mariadb-10.3/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/m/mariadb-10.3/stable_copyright.expected.yml index 634f57c8989..2a679e1db20 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/m/mariadb-10.3/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/m/mariadb-10.3/stable_copyright.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2 +primary_license: gpl-2.0 AND gpl-1.0-plus +declared_license: + - GPL-2 - GPL-2+ - GPL-verbatim - public-domain @@ -17,15 +19,13 @@ - GPL-3+ - MIT/X11 - Artistic -- (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus - AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND other-copyleft AND public-domain AND bsd-new - AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND bsd-simplified AND (lgpl-2.0 - AND lgpl-3.0-plus AND lgpl-2.0) AND fsf-free AND (lgpl-2.0-plus AND lgpl-2.0-plus) AND ((gpl-2.0 - AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) AND bsd-simplified) AND zlib AND gpl-3.0-plus - WITH bison-exception-2.2 AND gpl-2.0-plus WITH bison-exception-2.2 AND stlport-4.5 AND ((gpl-2.0 - AND gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus) OR (artistic-2.0 AND artistic-perl-1.0)) - AND (gpl-3.0-plus AND gpl-3.0-plus) AND (x11-xconsortium AND public-domain) -- | +license_expression: (gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0-plus AND gpl-2.0 AND gpl-1.0-plus) + AND gpl-2.0 AND other-copyleft AND public-domain AND bsd-new AND (lgpl-2.1-plus AND lgpl-2.1) + AND (lgpl-2.0 AND lgpl-3.0-plus) AND fsf-free AND lgpl-2.0-plus AND ((gpl-2.0 AND gpl-1.0-plus) + AND bsd-new) AND zlib AND gpl-3.0-plus WITH bison-exception-2.2 AND gpl-2.0-plus WITH bison-exception-2.2 + AND stlport-4.5 AND ((gpl-2.0 AND gpl-1.0-plus) OR (artistic-2.0 AND artistic-perl-1.0)) AND + gpl-3.0-plus AND (x11-xconsortium AND public-domain) +copyright: | 2000-2016, Oracle and/or its affiliates. All rights reserved. 2008-2013 Monty Program AB 2008-2014 SkySQL Ab @@ -55,7 +55,6 @@ 2006-2008 MySQL AB 2008-2009 Sun Microsystems, Inc 2009, 2013, Monty Program Ab - none 2013, Spaempresarial - Brazil, Roberto Spadim 2008, Roland Bouman 2011 Kristian Nielsen and Monty Program Ab @@ -179,3 +178,921 @@ 2005-2011 Google Inc. 2015 Daniel Black 2008-2015 Codership Oy +matches: + - score: '90.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_4.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-free2.RULE + license_expression: fsf-free + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free documentation; the Free Software Foundation gives + unlimited permission to copy, distribute and modify it. + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + . + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + . + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 216 + matched_length: 216 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_with_bison-exception-2.2_1.RULE + license_expression: gpl-2.0-plus WITH bison-exception-2.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. + + As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 1-hash + rule_length: 208 + matched_length: 208 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_bison-exception-3.0_1.RULE + license_expression: gpl-3.0-plus WITH bison-exception-2.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 76 + matched_length: 76 + match_coverage: '100.0' + rule_relevance: 100 + identifier: stlport-4.5.LICENSE + license_expression: stlport-4.5 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This material is provided "as is", with absolutely no warranty expressed + or implied. Any use is at your own risk. + + Permission to use or copy this software for any purpose is hereby granted + without fee, provided the above notices are retained on all copies. + Permission to modify the code and to distribute modified code is granted, + provided the above notices are retained, and a notice that the code was + modified is included with the above copyright notice. + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 2-aho + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- + TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. + - score: '100.0' + start_line: 23 + end_line: 23 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_58.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: FSF changes to this file are in the public domain. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 2-aho + rule_length: 71 + matched_length: 71 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_278.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 10 + end_line: 11 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 12 + end_line: 12 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2` + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_35.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 2-aho + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_90.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2` + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_35.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_281.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU Library General Public + License version 2.1 + - score: '100.0' + start_line: 17 + end_line: 17 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_82.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-2.1` + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '89.21' + start_line: 1 + end_line: 18 + matcher: 3-seq + rule_length: 139 + matched_length: 124 + match_coverage: '89.21' + rule_relevance: 100 + identifier: lgpl-2.0-plus_29.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; version 2 + of the License. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA + + On Debian [and] [systems] [the] [full] text of the GNU Library General Public + License [version] [2] [can] [be] [found] [in] [the] [file] + `/usr/share/common-licenses/LGPL-2` + - score: '53.47' + start_line: 1 + end_line: 10 + matcher: 3-seq + rule_length: 101 + matched_length: 60 + match_coverage: '59.41' + rule_relevance: 90 + identifier: bsd-new_1036.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must the following disclaimer in + the documentation and/or other materials provided with the + distribution. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_26.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: artistic' + - score: '100.0' + start_line: 1 + end_line: 127 + matcher: 1-hash + rule_length: 958 + matched_length: 958 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0.LICENSE + license_expression: artistic-perl-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The "Artistic License" + + Preamble + + The intent of this document is to state the conditions under which a + Package may be copied, such that the Copyright Holder maintains some + semblance of artistic control over the development of the package, + while giving the users of the package the right to use and distribute + the Package in a more-or-less customary fashion, plus the right to make + reasonable modifications. + + Definitions: + + "Package" refers to the collection of files distributed by the + Copyright Holder, and derivatives of that collection of files + created through textual modification. + + "Standard Version" refers to such a Package if it has not been + modified, or has been modified in accordance with the wishes + of the Copyright Holder as specified below. + + "Copyright Holder" is whoever is named in the copyright or + copyrights for the package. + + "You" is you, if you're thinking about copying or distributing + this Package. + + "Reasonable copying fee" is whatever you can justify on the + basis of media cost, duplication charges, time of people involved, + and so on. (You will not be required to justify it to the + Copyright Holder, but only to the computing community at large + as a market that must bear the fee.) + + "Freely Available" means that no fee is charged for the item + itself, though there may be fees involved in handling the item. + It also means that recipients of the item may redistribute it + under the same conditions they received it. + + 1. You may make and give away verbatim copies of the source form of the + Standard Version of this Package without restriction, provided that you + duplicate all of the original copyright notices and associated disclaimers. + + 2. You may apply bug fixes, portability fixes and other modifications + derived from the Public Domain or from the Copyright Holder. A Package + modified in such a way shall still be considered the Standard Version. + + 3. You may otherwise modify your copy of this Package in any way, provided + that you insert a prominent notice in each changed file stating how and + when you changed that file, and provided that you do at least ONE of the + following: + + a) place your modifications in the Public Domain or otherwise make them + Freely Available, such as by posting said modifications to Usenet or + an equivalent medium, or placing the modifications on a major archive + site such as uunet.uu.net, or by allowing the Copyright Holder to include + your modifications in the Standard Version of the Package. + + b) use the modified Package only within your corporation or organization. + + c) rename any non-standard executables so the names do not conflict + with standard executables, which must also be provided, and provide + a separate manual page for each non-standard executable that clearly + documents how it differs from the Standard Version. + + d) make other distribution arrangements with the Copyright Holder. + + 4. You may distribute the programs of this Package in object code or + executable form, provided that you do at least ONE of the following: + + a) distribute a Standard Version of the executables and library files, + together with instructions (in the manual page or equivalent) on where + to get the Standard Version. + + b) accompany the distribution with the machine-readable source of + the Package with your modifications. + + c) give non-standard executables non-standard names, and clearly + document the differences in manual pages (or equivalent), together + with instructions on where to get the Standard Version. + + d) make other distribution arrangements with the Copyright Holder. + + 5. You may charge a reasonable copying fee for any distribution of this + Package. You may charge any fee you choose for support of this + Package. You may not charge a fee for this Package itself. However, + you may distribute this Package in aggregate with other (possibly + commercial) programs as part of a larger (possibly commercial) software + distribution provided that you do not advertise this Package as a + product of your own. You may embed this Package's interpreter within + an executable of yours (by linking); this shall be construed as a mere + form of aggregation, provided that the complete Standard Version of the + interpreter is so embedded. + + 6. The scripts and library files supplied as input to or produced as + output from the programs of this Package do not automatically fall + under the copyright of this Package, but belong to whoever generated + them, and may be sold commercially, and may be aggregated with this + Package. If such scripts or library files are aggregated with this + Package via the so-called "undump" or "unexec" methods of producing a + binary executable image, then distribution of such an image shall + neither be construed as a distribution of this Package nor shall it + fall under the restrictions of Paragraphs 3 and 4, provided that you do + not represent such an executable image as a Standard Version of this + Package. + + 7. C subroutines (or comparably compiled subroutines in other + languages) supplied by you and linked into this Package in order to + emulate subroutines and variables of the language defined by this + Package shall not be considered part of this Package, but are the + equivalent of input as in Paragraph 6, provided these subroutines do + not change the language in any way that would cause it to fail the + regression tests for the language. + + 8. Aggregation of this Package with a commercial distribution is always + permitted provided that the use of this Package is embedded; that is, + when no overt attempt is made to make this Package's interfaces visible + to the end user of the commercial distribution. Such use shall not be + construed as a distribution of this Package. + + 9. The name of the Copyright Holder may not be used to endorse or promote + products derived from this software without specific prior written permission. + + 10. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + The End + - score: '16.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: public-domain_38.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is public domain ( + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_83.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_12.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2' + - score: '86.92' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 130 + matched_length: 113 + match_coverage: '86.92' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License [Version] [2] as published by the Free Software Foundation. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL- + - score: '86.84' + start_line: 1 + end_line: 10 + matcher: 3-seq + rule_length: 76 + matched_length: 66 + match_coverage: '86.84' + rule_relevance: 100 + identifier: gpl-2.0_90.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + license [specified] [in] [the] [file] + [COPYING] [and] [README] + [GPLv2] [Disclaimer]: + [For] [the] [avoidance] [of] [doubt], [except] [that] [if] [any] [license] choice + other than GPL or LGPL is available it will apply instead, + [Oracle] elects to use only the General Public License version 2 + (GPLv2) at this time for any software where a choice of GPL + license versions is made available with the language indicating + that GPLv2 or any later version may be used, or where a choice + of which version of the GPL is applied is otherwise unspecified. + - score: '100.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_bare_single_word.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPLv2 diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncbi-tools6/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncbi-tools6/stable_copyright-detailed.expected.yml index 5b3115d80c2..f735777c7d4 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncbi-tools6/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncbi-tools6/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - public_domain +primary_license: public-domain AND us-govt-public-domain +declared_license: + - public_domain - BSL-1.0 - MIT - NCSA @@ -20,14 +22,12 @@ - NCSA - BSD-3-Clause - GPL-2+ -- (public-domain AND public-domain AND us-govt-public-domain AND public-domain-disclaimer) AND - boost-1.0 AND (mit-old-style-no-advert AND mit-veillard-variant AND proprietary-license) AND - unknown-license-reference AND flex-2.5 AND flex-2.5 AND flex-2.5 AND flex-2.5 AND flex-2.5 - AND mit AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) AND (public-domain - AND public-domain AND us-govt-public-domain AND public-domain-disclaimer) AND (public-domain - AND public-domain AND us-govt-public-domain AND public-domain-disclaimer) AND (public-domain - AND public-domain AND us-govt-public-domain AND public-domain-disclaimer) -- | +license_expression: (public-domain AND us-govt-public-domain) AND boost-1.0 AND (mit-old-style-no-advert + AND mit-veillard-variant AND proprietary-license) AND public-domain AND flex-2.5 AND flex-2.5 + AND flex-2.5 AND flex-2.5 AND flex-2.5 AND mit AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus + AND gpl-2.0-plus) AND (public-domain AND us-govt-public-domain) AND (public-domain AND us-govt-public-domain) + AND (public-domain AND us-govt-public-domain) +copyright: | 1996-2017 NCBI 2006 John Maddock 1998-1999 The Massachusetts Institute of Technology @@ -47,3 +47,301 @@ 2019 Steffen Möller 1996-2018 NCBI 2018 Liubov Chuprikova +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_128.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: put into the public domain, + - score: '100.0' + start_line: 3 + end_line: 21 + matcher: 2-aho + rule_length: 154 + matched_length: 154 + match_coverage: '100.0' + rule_relevance: 100 + identifier: us-govt-public-domain_24.RULE + license_expression: us-govt-public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + PUBLIC DOMAIN NOTICE + National Center for Biotechnology Information + + This software/database is a "United States Government Work" under the + terms of the United States Copyright Act. It was written as part of + the author's official duties as a United States Government employee and + thus cannot be copyrighted. This software/database is freely available + to the public for use. The National Library of Medicine and the U.S. + Government have not placed any restriction on its use or reproduction. + + Although all reasonable efforts have been taken to ensure the accuracy + and reliability of the software and data, the NLM and the U.S. + Government do not and cannot warrant the performance or results that + may be obtained by using this software or data. The NLM and the U.S. + Government disclaim all warranties, express or implied, including + warranties of performance, merchantability or fitness for any particular + purpose. + + Please cite the author in any work or product based on this material. + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 1-hash + rule_length: 202 + matched_length: 202 + match_coverage: '100.0' + rule_relevance: 100 + identifier: boost-1.0_9.RULE + license_expression: boost-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person or organization + obtaining a copy of the software and accompanying documentation covered by + this license (the "Software") to use, reproduce, display, distribute, + execute, and transmit the Software, and to prepare derivative works of the + Software, and to permit third-parties to whom the Software is furnished to + do so, all subject to the following: + + The copyright notices in the Software and this entire statement, including + the above license grant, this restriction and the following disclaimer, + must be included in all copies of the Software, in whole or in part, and + all derivative works of the Software, unless such copies or derivative + works are solely in the form of machine-executable object code generated by + a source language processor. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT + SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE + FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. + - score: '75.59' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 96 + matched_length: 96 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_1.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and its + documentation for any purpose and without fee is hereby granted, + provided that the above copyright notice appear in all copies and that + both that copyright notice and this permission notice appear in + supporting documentation, and that the name of M.I.T. not be used in + advertising or publicity pertaining to distribution of the software + without specific, written prior permission. [Furthermore] [if] [you] [modify] + [this] [software] [you] [must] [label] [your] [software] [as] [modified] [software] [and] [not] + [distribute] [it] [in] [such] a [fashion] [that] [it] [might] [be] [confused] [with] [the] + [original] [MIT] [software]. M.I.T. makes no representations about the + suitability of this software for any purpose. It is provided "as is" + without express or implied warranty. + - score: '24.29' + start_line: 12 + end_line: 16 + matcher: 3-seq + rule_length: 70 + matched_length: 17 + match_coverage: '24.29' + rule_relevance: 100 + identifier: mit-veillard-variant.LICENSE + license_expression: mit-veillard-variant + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + express or implied [warranty]. + + [THIS] [SOFTWARE] [IS] [PROVIDED] ``[AS] [IS]'' [AND] [WITHOUT] [ANY] [EXPRESS] [OR] [IMPLIED] + WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF + MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 23 + end_line: 29 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_136.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No commercial use of these trademarks may be made without prior + written permission of MIT. + + "Commercial use" means use of a name in a product or other for-profit + manner. It does NOT prevent a commercial firm from referring to the MIT + trademarks in order to convey information (although in doing so, + recognition of their trademark status should be given). + - score: '100.0' + start_line: 1 + end_line: 7 + matcher: 1-hash + rule_length: 36 + matched_length: 36 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_359.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This source file is placed in the public domian. + Any resemblance to NCSA Telnet, living or dead, is purely coincidental. + + National Center for Supercomputing Applications + 152 Computing Applications Building + 605 E. Springfield Ave. + Champaign, IL 61820 + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 122 + matched_length: 122 + match_coverage: '100.0' + rule_relevance: 100 + identifier: flex-2.5_6.RULE + license_expression: flex-2.5 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted + provided that: (1) source distributions retain this entire copyright + notice and comment, and (2) distributions including binaries display + the following acknowledgement: ``This product includes software + developed by the University of California, Berkeley and its contributors'' + in the documentation or other materials provided with the distribution + and in all advertising materials mentioning features or use of this + software. Neither the name of the University nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '95.86' + start_line: 1 + end_line: 20 + matcher: 3-seq + rule_length: 145 + matched_length: 139 + match_coverage: '95.86' + rule_relevance: 100 + identifier: gpl-2.0-plus_537.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the terms of the GNU General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later + version. + + This program is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the GNU General Public License for more + details. + + You should have received a copy of the GNU General Public + License along with this package; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301 USA + + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncbi-tools6/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncbi-tools6/stable_copyright.expected.yml index 23b45b1c058..7ff1b8cecaf 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncbi-tools6/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncbi-tools6/stable_copyright.expected.yml @@ -1,14 +1,16 @@ -- - public_domain +primary_license: public-domain AND us-govt-public-domain +declared_license: + - public_domain - BSL-1.0 - MIT - NCSA - BSD-3-Clause - Expat - GPL-2+ -- (public-domain AND public-domain AND us-govt-public-domain AND public-domain-disclaimer) AND - boost-1.0 AND (mit-old-style-no-advert AND mit-veillard-variant AND proprietary-license) AND - unknown-license-reference AND flex-2.5 AND mit AND (gpl-2.0-plus AND gpl-2.0-plus) -- | +license_expression: (public-domain AND us-govt-public-domain) AND boost-1.0 AND (mit-old-style-no-advert + AND mit-veillard-variant AND proprietary-license) AND public-domain AND flex-2.5 AND mit AND + gpl-2.0-plus +copyright: | 1996-2017 NCBI 2006 John Maddock 1998-1999 The Massachusetts Institute of Technology @@ -23,3 +25,301 @@ 1985, 1989, 1990, 1991, 1992, 1993 Free Software Foundation, Inc. 1996-2018 NCBI 2018 Liubov Chuprikova +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_128.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: put into the public domain, + - score: '100.0' + start_line: 3 + end_line: 21 + matcher: 2-aho + rule_length: 154 + matched_length: 154 + match_coverage: '100.0' + rule_relevance: 100 + identifier: us-govt-public-domain_24.RULE + license_expression: us-govt-public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + PUBLIC DOMAIN NOTICE + National Center for Biotechnology Information + + This software/database is a "United States Government Work" under the + terms of the United States Copyright Act. It was written as part of + the author's official duties as a United States Government employee and + thus cannot be copyrighted. This software/database is freely available + to the public for use. The National Library of Medicine and the U.S. + Government have not placed any restriction on its use or reproduction. + + Although all reasonable efforts have been taken to ensure the accuracy + and reliability of the software and data, the NLM and the U.S. + Government do not and cannot warrant the performance or results that + may be obtained by using this software or data. The NLM and the U.S. + Government disclaim all warranties, express or implied, including + warranties of performance, merchantability or fitness for any particular + purpose. + + Please cite the author in any work or product based on this material. + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 1-hash + rule_length: 202 + matched_length: 202 + match_coverage: '100.0' + rule_relevance: 100 + identifier: boost-1.0_9.RULE + license_expression: boost-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person or organization + obtaining a copy of the software and accompanying documentation covered by + this license (the "Software") to use, reproduce, display, distribute, + execute, and transmit the Software, and to prepare derivative works of the + Software, and to permit third-parties to whom the Software is furnished to + do so, all subject to the following: + + The copyright notices in the Software and this entire statement, including + the above license grant, this restriction and the following disclaimer, + must be included in all copies of the Software, in whole or in part, and + all derivative works of the Software, unless such copies or derivative + works are solely in the form of machine-executable object code generated by + a source language processor. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT + SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE + FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. + - score: '75.59' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 96 + matched_length: 96 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_1.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and its + documentation for any purpose and without fee is hereby granted, + provided that the above copyright notice appear in all copies and that + both that copyright notice and this permission notice appear in + supporting documentation, and that the name of M.I.T. not be used in + advertising or publicity pertaining to distribution of the software + without specific, written prior permission. [Furthermore] [if] [you] [modify] + [this] [software] [you] [must] [label] [your] [software] [as] [modified] [software] [and] [not] + [distribute] [it] [in] [such] a [fashion] [that] [it] [might] [be] [confused] [with] [the] + [original] [MIT] [software]. M.I.T. makes no representations about the + suitability of this software for any purpose. It is provided "as is" + without express or implied warranty. + - score: '24.29' + start_line: 12 + end_line: 16 + matcher: 3-seq + rule_length: 70 + matched_length: 17 + match_coverage: '24.29' + rule_relevance: 100 + identifier: mit-veillard-variant.LICENSE + license_expression: mit-veillard-variant + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + express or implied [warranty]. + + [THIS] [SOFTWARE] [IS] [PROVIDED] ``[AS] [IS]'' [AND] [WITHOUT] [ANY] [EXPRESS] [OR] [IMPLIED] + WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF + MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 23 + end_line: 29 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_136.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No commercial use of these trademarks may be made without prior + written permission of MIT. + + "Commercial use" means use of a name in a product or other for-profit + manner. It does NOT prevent a commercial firm from referring to the MIT + trademarks in order to convey information (although in doing so, + recognition of their trademark status should be given). + - score: '100.0' + start_line: 1 + end_line: 7 + matcher: 1-hash + rule_length: 36 + matched_length: 36 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_359.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This source file is placed in the public domian. + Any resemblance to NCSA Telnet, living or dead, is purely coincidental. + + National Center for Supercomputing Applications + 152 Computing Applications Building + 605 E. Springfield Ave. + Champaign, IL 61820 + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 122 + matched_length: 122 + match_coverage: '100.0' + rule_relevance: 100 + identifier: flex-2.5_6.RULE + license_expression: flex-2.5 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted + provided that: (1) source distributions retain this entire copyright + notice and comment, and (2) distributions including binaries display + the following acknowledgement: ``This product includes software + developed by the University of California, Berkeley and its contributors'' + in the documentation or other materials provided with the distribution + and in all advertising materials mentioning features or use of this + software. Neither the name of the University nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '95.86' + start_line: 1 + end_line: 20 + matcher: 3-seq + rule_length: 145 + matched_length: 139 + match_coverage: '95.86' + rule_relevance: 100 + identifier: gpl-2.0-plus_537.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the terms of the GNU General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later + version. + + This program is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the GNU General Public License for more + details. + + You should have received a copy of the GNU General Public + License along with this package; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301 USA + + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncurses/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncurses/stable_copyright-detailed.expected.yml index 8aeb482d0b3..b98464dac87 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncurses/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncurses/stable_copyright-detailed.expected.yml @@ -1,8 +1,134 @@ -- -- x11-fsf AND x11-xconsortium AND bsd-new -- | +primary_license: +declared_license: +license_expression: x11-fsf AND x11-xconsortium AND bsd-new AND x11-fsf +copyright: | Copyright (c) 1998-2018 Free Software Foundation, Inc. Copyright (c) 2001 by Pradeep Padala Copyright (c) 1994 X Consortium Copyright (c) 1980, 1991, 1992, 1993 The Regents of the University of California Copyright 1996-2018 by Thomas E. Dickey +matches: + - score: '100.0' + start_line: 23 + end_line: 45 + matcher: 2-aho + rule_length: '199' + matched_length: '199' + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-fsf.LICENSE + license_expression: x11-fsf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a\n\ + \ copy of this software and associated documentation files (the\n \"Software\"), to deal\ + \ in the Software without restriction, including\n without limitation the rights to use,\ + \ copy, modify, merge, publish,\n distribute, distribute with modifications, sublicense,\ + \ and/or sell\n copies of the Software, and to permit persons to whom the Software is\n\ + \ furnished to do so, subject to the following conditions:\n \n The above copyright notice\ + \ and this permission notice shall be included\n in all copies or substantial portions\ + \ of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\ + \ EXPRESS\n OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n IN NO EVENT SHALL THE ABOVE\ + \ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n DAMAGES OR OTHER LIABILITY, WHETHER IN\ + \ AN ACTION OF CONTRACT, TORT OR\n OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH\ + \ THE SOFTWARE OR\n THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n Except as contained\ + \ in this notice, the name(s) of the above copyright\n holders shall not be used in advertising\ + \ or otherwise to promote the\n sale, use or other dealings in this Software without prior\ + \ written\n authorization." + - score: '100.0' + start_line: 50 + end_line: 70 + matcher: 2-aho + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\n\ + \ of this software and associated documentation files (the \"Software\"), to\n deal in\ + \ the Software without restriction, including without limitation the\n rights to use,\ + \ copy, modify, merge, publish, distribute, sublicense, and/or\n sell copies of the Software,\ + \ and to permit persons to whom the Software is\n furnished to do so, subject to the following\ + \ conditions:\n \n The above copyright notice and this permission notice shall be included\ + \ in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED\ + \ \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED\ + \ TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\ + \ IN NO EVENT SHALL THE\n X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\ + \ WHETHER IN\n AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-\n\ + \ TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n Except as\ + \ contained in this notice, the name of the X Consortium shall not\n be used in advertising\ + \ or otherwise to promote the sale, use or other deal-\n ings in this Software without\ + \ prior written authorization from the X Consor-\n tium." + - score: '100.0' + start_line: 76 + end_line: 98 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. Neither\ + \ the name of the University nor the names of its contributors\n may be used to endorse\ + \ or promote products derived from this software\n without specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '97.49' + start_line: 105 + end_line: 127 + matcher: 3-seq + rule_length: '199' + matched_length: '194' + match_coverage: '97.49' + rule_relevance: 100 + identifier: x11-fsf.LICENSE + license_expression: x11-fsf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a\n\ + \ copy of this software and associated documentation files (the\n \"Software\"), to deal\ + \ in the Software without restriction, including\n without limitation the rights to use,\ + \ copy, modify, merge, publish,\n distribute, sublicense, and/or sell copies of the Software,\ + \ and to\n permit persons to whom the Software is furnished to do so, subject to\n the\ + \ following conditions:\n \n The above copyright notice and this permission notice shall\ + \ be included\n in all copies or substantial portions of the Software.\n \n THE SOFTWARE\ + \ IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n OR IMPLIED, INCLUDING\ + \ BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE\ + \ AND NONINFRINGEMENT.\n IN NO EVENT SHALL THE ABOVE [LISTED] [COPYRIGHT] [HOLDER](S)\ + \ BE LIABLE FOR ANY\n CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\n\ + \ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\n SOFTWARE OR THE\ + \ USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n Except as contained in this notice, the\ + \ name(s) of the above copyright\n holders shall not be used in advertising or otherwise\ + \ to promote the\n sale, use or other dealings in this Software without prior written\n\ + \ authorization." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncurses/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncurses/stable_copyright.expected.yml index 8aeb482d0b3..5cd79dd9953 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncurses/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/ncurses/stable_copyright.expected.yml @@ -1,8 +1,134 @@ -- -- x11-fsf AND x11-xconsortium AND bsd-new -- | +primary_license: +declared_license: +license_expression: x11-fsf AND x11-xconsortium AND bsd-new +copyright: | Copyright (c) 1998-2018 Free Software Foundation, Inc. Copyright (c) 2001 by Pradeep Padala Copyright (c) 1994 X Consortium Copyright (c) 1980, 1991, 1992, 1993 The Regents of the University of California Copyright 1996-2018 by Thomas E. Dickey +matches: + - score: '100.0' + start_line: 23 + end_line: 45 + matcher: 2-aho + rule_length: '199' + matched_length: '199' + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-fsf.LICENSE + license_expression: x11-fsf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a\n\ + \ copy of this software and associated documentation files (the\n \"Software\"), to deal\ + \ in the Software without restriction, including\n without limitation the rights to use,\ + \ copy, modify, merge, publish,\n distribute, distribute with modifications, sublicense,\ + \ and/or sell\n copies of the Software, and to permit persons to whom the Software is\n\ + \ furnished to do so, subject to the following conditions:\n \n The above copyright notice\ + \ and this permission notice shall be included\n in all copies or substantial portions\ + \ of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\ + \ EXPRESS\n OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n IN NO EVENT SHALL THE ABOVE\ + \ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n DAMAGES OR OTHER LIABILITY, WHETHER IN\ + \ AN ACTION OF CONTRACT, TORT OR\n OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH\ + \ THE SOFTWARE OR\n THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n Except as contained\ + \ in this notice, the name(s) of the above copyright\n holders shall not be used in advertising\ + \ or otherwise to promote the\n sale, use or other dealings in this Software without prior\ + \ written\n authorization." + - score: '100.0' + start_line: 50 + end_line: 70 + matcher: 2-aho + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\n\ + \ of this software and associated documentation files (the \"Software\"), to\n deal in\ + \ the Software without restriction, including without limitation the\n rights to use,\ + \ copy, modify, merge, publish, distribute, sublicense, and/or\n sell copies of the Software,\ + \ and to permit persons to whom the Software is\n furnished to do so, subject to the following\ + \ conditions:\n \n The above copyright notice and this permission notice shall be included\ + \ in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED\ + \ \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED\ + \ TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\ + \ IN NO EVENT SHALL THE\n X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\ + \ WHETHER IN\n AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-\n\ + \ TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n Except as\ + \ contained in this notice, the name of the X Consortium shall not\n be used in advertising\ + \ or otherwise to promote the sale, use or other deal-\n ings in this Software without\ + \ prior written authorization from the X Consor-\n tium." + - score: '100.0' + start_line: 76 + end_line: 98 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. Neither\ + \ the name of the University nor the names of its contributors\n may be used to endorse\ + \ or promote products derived from this software\n without specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '97.49' + start_line: 105 + end_line: 127 + matcher: 3-seq + rule_length: '199' + matched_length: '194' + match_coverage: '97.49' + rule_relevance: 100 + identifier: x11-fsf.LICENSE + license_expression: x11-fsf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a\n\ + \ copy of this software and associated documentation files (the\n \"Software\"), to deal\ + \ in the Software without restriction, including\n without limitation the rights to use,\ + \ copy, modify, merge, publish,\n distribute, sublicense, and/or sell copies of the Software,\ + \ and to\n permit persons to whom the Software is furnished to do so, subject to\n the\ + \ following conditions:\n \n The above copyright notice and this permission notice shall\ + \ be included\n in all copies or substantial portions of the Software.\n \n THE SOFTWARE\ + \ IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n OR IMPLIED, INCLUDING\ + \ BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE\ + \ AND NONINFRINGEMENT.\n IN NO EVENT SHALL THE ABOVE [LISTED] [COPYRIGHT] [HOLDER](S)\ + \ BE LIABLE FOR ANY\n CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\n\ + \ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\n SOFTWARE OR THE\ + \ USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n Except as contained in this notice, the\ + \ name(s) of the above copyright\n holders shall not be used in advertising or otherwise\ + \ to promote the\n sale, use or other dealings in this Software without prior written\n\ + \ authorization." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/newsboat/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/newsboat/stable_copyright-detailed.expected.yml index fe74000378b..30e90db3d71 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/newsboat/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/newsboat/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - MIT/Expat +primary_license: mit +declared_license: + - MIT/Expat - MIT/Expat - Boost-1.0 - GPL-2+ @@ -7,9 +9,9 @@ - Boost-1.0 - GPL-2 - GPL-2+ -- mit AND mit AND boost-1.0 AND (gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 - AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) -- | +license_expression: mit AND mit AND boost-1.0 AND (gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND + gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) +copyright: | 2015-2018, Alexander Batischev 2006-2010, Andreas Krennmair 2013-2018, Niels Lohmann @@ -17,3 +19,213 @@ 1990-2004, Hanspeter Moessenboeck, University of Linz 2016-2018, Nikos Tsipinakis , 2007-2014, Nico Golde +matches: + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 22 + matcher: 1-hash + rule_length: 208 + matched_length: 208 + match_coverage: '100.0' + rule_relevance: 100 + identifier: boost-1.0_24.RULE + license_expression: boost-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Boost Software License Version 1.0 + Permission is hereby granted, free of charge, to any person or organization + obtaining a copy of the software and accompanying documentation covered by + this license (the "Software") to use, reproduce, display, distribute, + execute, and transmit the Software, and to prepare derivative works of the + Software, and to permit third-parties to whom the Software is furnished to + do so, all subject to the following: + + The copyright notices in the Software and this entire statement, including + the above license grant, this restriction and the following disclaimer, + must be included in all copies of the Software, in whole or in part, and + all derivative works of the Software, unless such copies or derivative + works are solely in the form of machine-executable object code generated by + a source language processor. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT + SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE + FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_396.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; version 2 + - score: '100.0' + start_line: 5 + end_line: 6 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_836.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 2 of the GNU General + Public License + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_396.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; version 2 + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_836.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 2 of the GNU General + Public License + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/newsboat/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/newsboat/stable_copyright.expected.yml index 71ad2b3f67f..357cc39d1c8 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/newsboat/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/newsboat/stable_copyright.expected.yml @@ -1,11 +1,223 @@ -- - MIT/Expat +primary_license: mit +declared_license: + - MIT/Expat - Boost-1.0 - GPL-2+ - GPL-2 -- mit AND boost-1.0 AND (gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) -- | +license_expression: mit AND boost-1.0 AND (gpl-2.0-plus AND gpl-2.0) +copyright: | 2015-2018, Alexander Batischev 2006-2010, Andreas Krennmair 2013-2018, Niels Lohmann 2018, Two Blue Cubes Ltd 1990-2004, Hanspeter Moessenboeck, University of Linz +matches: + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 22 + matcher: 1-hash + rule_length: 208 + matched_length: 208 + match_coverage: '100.0' + rule_relevance: 100 + identifier: boost-1.0_24.RULE + license_expression: boost-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Boost Software License Version 1.0 + Permission is hereby granted, free of charge, to any person or organization + obtaining a copy of the software and accompanying documentation covered by + this license (the "Software") to use, reproduce, display, distribute, + execute, and transmit the Software, and to prepare derivative works of the + Software, and to permit third-parties to whom the Software is furnished to + do so, all subject to the following: + + The copyright notices in the Software and this entire statement, including + the above license grant, this restriction and the following disclaimer, + must be included in all copies of the Software, in whole or in part, and + all derivative works of the Software, unless such copies or derivative + works are solely in the form of machine-executable object code generated by + a source language processor. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT + SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE + FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_396.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; version 2 + - score: '100.0' + start_line: 5 + end_line: 6 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_836.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 2 of the GNU General + Public License + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_396.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; version 2 + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_836.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 2 of the GNU General + Public License + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nextcloud-desktop/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nextcloud-desktop/stable_copyright-detailed.expected.yml index 68c07707a13..b528794ee47 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nextcloud-desktop/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nextcloud-desktop/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2+ - LGPL-2.1+ - LGPL-2.1+ @@ -23,16 +25,16 @@ - LGPL-2.1 - LGPL-2.1+ - public-domain -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus - AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 AND gpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus - AND lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) - AND public-domain-disclaimer AND bsd-new AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 - AND lgpl-2.1) AND (lgpl-2.1 AND lgpl-2.1 AND lgpl-2.1 AND lgpl-2.1) AND (mit AND mit) AND - ijg AND (apache-2.0 AND lgpl-2.1 AND apache-2.0) AND (mit AND mit) AND boost-1.0 AND ((gpl-3.0 +license_expression: (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 AND gpl-2.0) + AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 AND gpl-2.0) AND (lgpl-2.1-plus + AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 + AND lgpl-2.1) AND public-domain-disclaimer AND bsd-new AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.1 AND lgpl-2.1 AND lgpl-2.1 AND lgpl-2.1) AND (mit + AND mit) AND ijg AND (apache-2.0 AND lgpl-2.1) AND (mit AND mit) AND boost-1.0 AND ((gpl-3.0 AND gpl-3.0 AND gpl-1.0-plus AND gpl-1.0-plus AND other-copyleft AND gpl-1.0-plus AND gpl-3.0 AND gpl-3.0) OR (lgpl-2.1 AND lgpl-2.1 AND lgpl-2.1 AND lgpl-2.1)) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 AND gpl-2.0) -- | +copyright: | 2006, Alexander Neundorf 2006, Andreas Schneider 1997, Bob Jenkins @@ -103,3 +105,590 @@ 2009-2010, Iowa State University 2014, Daniel Molkentin 2006-2012, Andreas Schneider +matches: + - score: '84.4' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 109 + matched_length: 92 + match_coverage: '84.4' + rule_relevance: 100 + identifier: apache-2.0_922.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + [On] [Debian] [systems] a [full] [copy] [of] [the] [LGPL] [2].[1] [can] [be] [found] [at] + /usr/share/common-licenses/Apache-2.0 + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_85.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL 2.1 + - score: '100.0' + start_line: 1 + end_line: 22 + matcher: 1-hash + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_942.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 1-hash + rule_length: 202 + matched_length: 202 + match_coverage: '100.0' + rule_relevance: 100 + identifier: boost-1.0_9.RULE + license_expression: boost-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person or organization + obtaining a copy of the software and accompanying documentation covered by + this license (the "Software") to use, reproduce, display, distribute, + execute, and transmit the Software, and to prepare derivative works of the + Software, and to permit third-parties to whom the Software is furnished to + do so, all subject to the following: + + The copyright notices in the Software and this entire statement, including + the above license grant, this restriction and the following disclaimer, + must be included in all copies of the Software, in whole or in part, and + all derivative works of the Software, unless such copies or derivative + works are solely in the form of machine-executable object code generated by + a source language processor. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT + SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE + FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '23.68' + start_line: '19' + end_line: 20 + matcher: 3-seq + rule_length: 38 + matched_length: 9 + match_coverage: '23.68' + rule_relevance: 100 + identifier: ijg_10.RULE + license_expression: ijg + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + AGREE + TO BE BOUND BY THE TERMS OF [THIS] LICENSE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_26.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: The MIT License (MIT) + - score: '100.0' + start_line: 3 + end_line: '19' + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '90.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-1.0-plus_350.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: of the GPL + - score: '100.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_620.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GPL 2 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_rdesc_1.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_334.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or + modify it under the terms of the GNU General Public License version 3 + as published by the Free Software Foundation. + - score: '100.0' + start_line: 5 + end_line: 8 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_28.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 10 + end_line: 11 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '90.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-1.0-plus_350.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: of the GPL + - score: '100.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_25.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GPL 3 + - score: '33.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 2-aho + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_only_qt_3.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be used under the terms of the GNU Lesser General Public + License version 2.1 as published by the Free Software Foundation and + appearing in the file LICENSE.LGPL included in the packaging of this file. + Please review the following information to ensure the GNU Lesser General + Public License version 2.1 requirements will be met: + http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. + - score: '100.0' + start_line: 8 + end_line: 8 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_85.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL 2.1 + - score: '100.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_82.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-2.1 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 117 + matched_length: 117 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_239.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + - score: '100.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_85.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL 2.1 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_82.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-2.1 + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain-disclaimer_47.RULE + license_expression: public-domain-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is in the public domain, furnished "as is", without technical + support, and with no warranty, express or implied, as to its usefulness for + any purpose. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nextcloud-desktop/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nextcloud-desktop/stable_copyright.expected.yml index 15ef7404545..dbf702d70cb 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nextcloud-desktop/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nextcloud-desktop/stable_copyright.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - LGPL-2.1+ - public-domain - BSD-3-clause @@ -9,13 +11,10 @@ - BSL-1 - GPL-3 or LGPL-2.1 - GPL-3 -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 AND gpl-2.0) AND (lgpl-2.1-plus - AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND public-domain-disclaimer AND bsd-new AND - (lgpl-2.1 AND lgpl-2.1 AND lgpl-2.1 AND lgpl-2.1) AND (mit AND mit) AND ijg AND (apache-2.0 - AND lgpl-2.1 AND apache-2.0) AND boost-1.0 AND ((gpl-3.0 AND gpl-3.0 AND gpl-1.0-plus AND - gpl-1.0-plus AND other-copyleft AND gpl-1.0-plus AND gpl-3.0 AND gpl-3.0) OR (lgpl-2.1 AND - lgpl-2.1 AND lgpl-2.1 AND lgpl-2.1)) -- | +license_expression: (gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1) + AND public-domain-disclaimer AND bsd-new AND lgpl-2.1 AND mit AND ijg AND (apache-2.0 AND + lgpl-2.1) AND boost-1.0 AND ((gpl-3.0 AND gpl-1.0-plus AND other-copyleft) OR lgpl-2.1) +copyright: | 2006, Alexander Neundorf 2006, Andreas Schneider 1997, Bob Jenkins @@ -83,3 +82,590 @@ 2009-2010, Iowa State University 2014, Daniel Molkentin 2006-2012, Andreas Schneider +matches: + - score: '84.4' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 109 + matched_length: 92 + match_coverage: '84.4' + rule_relevance: 100 + identifier: apache-2.0_922.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + [On] [Debian] [systems] a [full] [copy] [of] [the] [LGPL] [2].[1] [can] [be] [found] [at] + /usr/share/common-licenses/Apache-2.0 + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_85.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL 2.1 + - score: '100.0' + start_line: 1 + end_line: 22 + matcher: 1-hash + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_942.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 1-hash + rule_length: 202 + matched_length: 202 + match_coverage: '100.0' + rule_relevance: 100 + identifier: boost-1.0_9.RULE + license_expression: boost-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person or organization + obtaining a copy of the software and accompanying documentation covered by + this license (the "Software") to use, reproduce, display, distribute, + execute, and transmit the Software, and to prepare derivative works of the + Software, and to permit third-parties to whom the Software is furnished to + do so, all subject to the following: + + The copyright notices in the Software and this entire statement, including + the above license grant, this restriction and the following disclaimer, + must be included in all copies of the Software, in whole or in part, and + all derivative works of the Software, unless such copies or derivative + works are solely in the form of machine-executable object code generated by + a source language processor. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT + SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE + FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '23.68' + start_line: '19' + end_line: 20 + matcher: 3-seq + rule_length: 38 + matched_length: 9 + match_coverage: '23.68' + rule_relevance: 100 + identifier: ijg_10.RULE + license_expression: ijg + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + AGREE + TO BE BOUND BY THE TERMS OF [THIS] LICENSE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_26.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: The MIT License (MIT) + - score: '100.0' + start_line: 3 + end_line: '19' + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '90.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-1.0-plus_350.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: of the GPL + - score: '100.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_620.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GPL 2 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_rdesc_1.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_334.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or + modify it under the terms of the GNU General Public License version 3 + as published by the Free Software Foundation. + - score: '100.0' + start_line: 5 + end_line: 8 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_28.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 10 + end_line: 11 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_34.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; + - score: '90.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_fsf_address_1.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '90.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-1.0-plus_350.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: of the GPL + - score: '100.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_25.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GPL 3 + - score: '33.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 2-aho + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_only_qt_3.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be used under the terms of the GNU Lesser General Public + License version 2.1 as published by the Free Software Foundation and + appearing in the file LICENSE.LGPL included in the packaging of this file. + Please review the following information to ensure the GNU Lesser General + Public License version 2.1 requirements will be met: + http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. + - score: '100.0' + start_line: 8 + end_line: 8 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_85.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL 2.1 + - score: '100.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_82.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-2.1 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 117 + matched_length: 117 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_239.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + - score: '100.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_85.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL 2.1 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_82.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-2.1 + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain-disclaimer_47.RULE + license_expression: public-domain-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is in the public domain, furnished "as is", without technical + support, and with no warranty, express or implied, as to its usefulness for + any purpose. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nginx/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nginx/stable_copyright-detailed.expected.yml index 0064095ad0a..e6326d5c673 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nginx/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nginx/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - BSD-2-clause +primary_license: bsd-simplified +declared_license: + - BSD-2-clause - BSD-2-clause - BSD-2-clause - BSD-2-clause @@ -22,11 +24,11 @@ - BSD-3-clause - BSD-4-clause - MIT -- bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified - AND bsd-simplified AND bsd-new AND bsd-new AND bsd-simplified AND bsd-simplified AND bsd-simplified - AND bsd-simplified AND mit AND mit AND bsd-simplified AND bsd-simplified AND bsd-simplified - AND bsd-simplified AND bsd-simplified AND bsd-simplified -- | +license_expression: bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified + AND bsd-simplified AND bsd-simplified AND bsd-new AND bsd-new AND bsd-simplified AND bsd-simplified + AND bsd-simplified AND bsd-simplified AND mit AND mit AND bsd-simplified AND bsd-simplified + AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified +copyright: | 2002-2014 Igor Sysoev 2011-2014 Nginx, Inc. Maxim Dounin @@ -67,3 +69,152 @@ Copyright (c) Adrian Perez Copyright (C) 2014 by Weibin Yao Copyright (C) 2012-2014, Roman Arutyunyan +matches: + - score: '100.0' + start_line: 3 + end_line: 23 + matcher: 2-aho + rule_length: 185 + matched_length: 185 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_20.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 3 + end_line: 25 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this + software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_42.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 4. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nginx/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nginx/stable_copyright.expected.yml index 57289d17566..8b502c8d1b0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nginx/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/nginx/stable_copyright.expected.yml @@ -1,9 +1,11 @@ -- - BSD-2-clause +primary_license: bsd-simplified +declared_license: + - BSD-2-clause - BSD-3-clause - BSD-4-clause - MIT -- bsd-simplified AND bsd-new AND bsd-new AND mit -- | +license_expression: bsd-simplified AND bsd-new AND mit +copyright: | 2002-2014 Igor Sysoev 2011-2014 Nginx, Inc. Maxim Dounin @@ -37,3 +39,152 @@ Copyright (c) Adrian Perez Copyright (C) 2014 by Weibin Yao Copyright (C) 2012-2014, Roman Arutyunyan +matches: + - score: '100.0' + start_line: 3 + end_line: 23 + matcher: 2-aho + rule_length: 185 + matched_length: 185 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_20.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 3 + end_line: 25 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this + software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_42.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 4. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/node-lodash/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/node-lodash/stable_copyright-detailed.expected.yml index e5c1e1a805f..5709407f12b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/node-lodash/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/node-lodash/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - Expat +primary_license: mit +declared_license: + - Expat - Expat - BSD-3-clause-Parakey - public-domain @@ -6,11 +8,147 @@ - Expat - GPL-2+ - public-domain -- mit AND mit AND bsd-new AND warranty-disclaimer AND (gpl-2.0-plus AND gpl-2.0-plus) -- | +license_expression: mit AND mit AND bsd-new AND warranty-disclaimer AND (gpl-2.0-plus AND gpl-2.0-plus) +copyright: | JS Foundation and other contributors Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors 2009-2016, Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors 2007, Parakey Inc. NONE 2014 Valentin OVD +matches: + - score: '99.53' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 211 + matched_length: 211 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_314.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of [Parakey] Inc. nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '98.41' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 126 + matched_length: 124 + match_coverage: '98.41' + rule_relevance: 100 + identifier: gpl-2.0-plus_38.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + - score: '90.91' + start_line: 1 + end_line: 1 + matcher: 3-seq + rule_length: 11 + matched_length: 10 + match_coverage: '90.91' + rule_relevance: 100 + identifier: warranty-disclaimer_40.RULE + license_expression: warranty-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/node-lodash/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/node-lodash/stable_copyright.expected.yml index 85650dc3507..9b9191c681d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/node-lodash/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/n/node-lodash/stable_copyright.expected.yml @@ -1,10 +1,148 @@ -- - Expat +primary_license: mit +declared_license: + - Expat - BSD-3-clause-Parakey - public-domain -- mit AND bsd-new AND warranty-disclaimer -- | +license_expression: mit AND bsd-new AND warranty-disclaimer +copyright: | JS Foundation and other contributors Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors 2009-2016, Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors 2007, Parakey Inc. NONE +matches: + - score: '99.53' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 211 + matched_length: 211 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_314.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of [Parakey] Inc. nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '98.41' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 126 + matched_length: 124 + match_coverage: '98.41' + rule_relevance: 100 + identifier: gpl-2.0-plus_38.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + - score: '90.91' + start_line: 1 + end_line: 1 + matcher: 3-seq + rule_length: 11 + matched_length: 10 + match_coverage: '90.91' + rule_relevance: 100 + identifier: warranty-disclaimer_40.RULE + license_expression: warranty-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-infrastructure-compute-tools/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-infrastructure-compute-tools/stable_copyright-detailed.expected.yml index 8257b8d96d1..d9c0ed3dee8 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-infrastructure-compute-tools/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-infrastructure-compute-tools/stable_copyright-detailed.expected.yml @@ -1,7 +1,86 @@ -- - GPL-3+ +primary_license: gpl-3.0-plus AND gpl-3.0 +declared_license: - GPL-3+ -- gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0 AND gpl-3.0 -- | + - GPL-3+ +license_expression: gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0 AND gpl-3.0 +copyright: | 2014-2019 Daniel Baumann 2016 Andreas Kreuzer 2016 Simon Spoehel +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License version 3 + - score: '33.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-infrastructure-compute-tools/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-infrastructure-compute-tools/stable_copyright.expected.yml index 2be76e9c88d..9c14dfb6a0f 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-infrastructure-compute-tools/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-infrastructure-compute-tools/stable_copyright.expected.yml @@ -1,6 +1,85 @@ -- - GPL-3+ -- gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0 AND gpl-3.0 -- | +primary_license: gpl-3.0-plus AND gpl-3.0 +declared_license: + - GPL-3+ +license_expression: gpl-3.0-plus AND gpl-3.0 +copyright: | 2014-2019 Daniel Baumann 2016 Andreas Kreuzer 2016 Simon Spoehel +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License version 3 + - score: '33.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-vm-tools/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-vm-tools/stable_copyright-detailed.expected.yml index a60c06c91a7..9d8b238c253 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-vm-tools/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-vm-tools/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - LGPL-2.1 +primary_license: lgpl-2.1 AND gpl-3.0-plus +declared_license: + - LGPL-2.1 - GPL-2 - BSD-3 - MIT(*) @@ -10,10 +12,10 @@ - LGPL-2.1 - MIT(*) - MIT(**) -- (lgpl-2.1 AND gpl-3.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus AND gpl-2.0) AND bsd-new - AND (isc AND ibm-dhcp) AND xfree86-1.0 AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus - AND gpl-2.0) -- | +license_expression: (lgpl-2.1 AND gpl-3.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus AND + gpl-2.0) AND bsd-new AND (isc AND ibm-dhcp) AND xfree86-1.0 AND (gpl-2.0-plus AND gpl-2.0-plus + AND gpl-1.0-plus AND gpl-2.0) +copyright: | VMware, Inc. VMware, Inc. 1990, 1993 The Regents of the University of California. @@ -21,3 +23,333 @@ 2006 VMware, Inc. 2007-2013 Daniel Baumann 2014 Bernd Zeimetz +matches: + - score: '100.0' + start_line: 3 + end_line: 26 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_42.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\nmodification,\ + \ are permitted provided that the following conditions are\tmet:\n\n1. Redistributions\ + \ of source code must retain the above copyright notice, this\nlist of conditions and\ + \ the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above\ + \ copyright notice,\nthis list of conditions and the following disclaimer in the documentation\n\ + and/or other materials provided with the distribution.\n\n4. Neither the name of the University\ + \ nor the names of its contributors may be\nused to endorse or promote products derived\ + \ from this software without\nspecific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED\ + \ BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY\nEXPRESS OR IMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\ + \ PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR\ + \ ANY\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING,\ + \ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA,\ + \ OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE)\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 2-aho + rule_length: 94 + matched_length: 94 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_353.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License + - score: '100.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_119.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License + - score: '100.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '89.43' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 123 + matched_length: 110 + match_coverage: '89.43' + rule_relevance: 100 + identifier: gpl-3.0-plus_23.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU [Lesser] General Public License as published by + the Free Software Foundation, [version] [2].[1] of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU [Lesser] General Public License for more details. + + You should have received a copy of the GNU [Lesser] General Public License + along with this program. If not, see . + + The complete text of the GNU [Lesser] General Public License + can be found in /usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_9.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any purpose + with or without fee is hereby granted, provided that the above copyright notice + and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS ALL + WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE CONSORTIUM BE + LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY + DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN + CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + - score: '100.0' + start_line: 15 + end_line: 33 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ibm-dhcp.LICENSE + license_expression: ibm-dhcp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + International Business Machines, Inc. (hereinafter called IBM) grants + permission under its copyrights to use, copy, modify, and distribute this + Software with or without fee, provided that the above copyright notice and all + paragraphs of this notice appear in all copies, and that the name of IBM not be + used in connection with the marketing of any product incorporating the Software + or modifications thereof, without specific, written prior permission. + + To the extent it has a right to do so, IBM grants an immunity from suit under + its patents, if any, for the use, sale or manufacture of products to the extent + that such products are used for performing Domain Name System dynamic updates + in TCP/IP networks by means of the Software. No immunity is granted for any + product per se or for any other function of any product. + + THE SOFTWARE IS PROVIDED "AS IS", AND IBM DISCLAIMS ALL WARRANTIES, INCLUDING + ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR + CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER ARISING OUT OF OR IN CONNECTION + WITH THE USE OR PERFORMANCE OF THIS SOFTWARE, EVEN IF IBM IS APPRISED OF THE + POSSIBILITY OF SUCH DAMAGES. + - score: '100.0' + start_line: 1 + end_line: 22 + matcher: 1-hash + rule_length: 204 + matched_length: 204 + match_coverage: '100.0' + rule_relevance: 100 + identifier: xfree86-1.0_2.RULE + license_expression: xfree86-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is furnished to do + so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + + Except as contained in this notice, the name of the copyright holder(s) and + author(s) shall not be used in advertising or otherwise to promote the sale, + use or other dealings in this Software without prior written authorization from + the copyright holder(s) and author( diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-vm-tools/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-vm-tools/stable_copyright.expected.yml index 63f90233216..c1999056904 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-vm-tools/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/open-vm-tools/stable_copyright.expected.yml @@ -1,13 +1,345 @@ -- - LGPL-2.1 +primary_license: lgpl-2.1 AND gpl-3.0-plus +declared_license: + - LGPL-2.1 - GPL-2 - BSD-3 - MIT(*) - MIT(**) - GPL-2+ -- (lgpl-2.1 AND gpl-3.0-plus) AND (gpl-2.0 AND gpl-2.0 AND gpl-1.0-plus AND gpl-2.0) AND bsd-new - AND (isc AND ibm-dhcp) AND xfree86-1.0 -- | +license_expression: (lgpl-2.1 AND gpl-3.0-plus) AND (gpl-2.0 AND gpl-1.0-plus) AND bsd-new AND + (isc AND ibm-dhcp) AND xfree86-1.0 +copyright: | VMware, Inc. 1990, 1993 The Regents of the University of California. 1996, 1998 Internet Software Consortium 2006 VMware, Inc. +matches: + - score: '100.0' + start_line: 3 + end_line: 26 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_42.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\nmodification,\ + \ are permitted provided that the following conditions are\tmet:\n\n1. Redistributions\ + \ of source code must retain the above copyright notice, this\nlist of conditions and\ + \ the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above\ + \ copyright notice,\nthis list of conditions and the following disclaimer in the documentation\n\ + and/or other materials provided with the distribution.\n\n4. Neither the name of the University\ + \ nor the names of its contributors may be\nused to endorse or promote products derived\ + \ from this software without\nspecific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED\ + \ BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY\nEXPRESS OR IMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\ + \ PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR\ + \ ANY\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING,\ + \ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA,\ + \ OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE)\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 2-aho + rule_length: 94 + matched_length: 94 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_353.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License + - score: '100.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_119.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License + - score: '100.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '89.43' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 123 + matched_length: 110 + match_coverage: '89.43' + rule_relevance: 100 + identifier: gpl-3.0-plus_23.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU [Lesser] General Public License as published by + the Free Software Foundation, [version] [2].[1] of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU [Lesser] General Public License for more details. + + You should have received a copy of the GNU [Lesser] General Public License + along with this program. If not, see . + + The complete text of the GNU [Lesser] General Public License + can be found in /usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_9.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any purpose + with or without fee is hereby granted, provided that the above copyright notice + and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS ALL + WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE CONSORTIUM BE + LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY + DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN + CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + - score: '100.0' + start_line: 15 + end_line: 33 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ibm-dhcp.LICENSE + license_expression: ibm-dhcp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + International Business Machines, Inc. (hereinafter called IBM) grants + permission under its copyrights to use, copy, modify, and distribute this + Software with or without fee, provided that the above copyright notice and all + paragraphs of this notice appear in all copies, and that the name of IBM not be + used in connection with the marketing of any product incorporating the Software + or modifications thereof, without specific, written prior permission. + + To the extent it has a right to do so, IBM grants an immunity from suit under + its patents, if any, for the use, sale or manufacture of products to the extent + that such products are used for performing Domain Name System dynamic updates + in TCP/IP networks by means of the Software. No immunity is granted for any + product per se or for any other function of any product. + + THE SOFTWARE IS PROVIDED "AS IS", AND IBM DISCLAIMS ALL WARRANTIES, INCLUDING + ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR + CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER ARISING OUT OF OR IN CONNECTION + WITH THE USE OR PERFORMANCE OF THIS SOFTWARE, EVEN IF IBM IS APPRISED OF THE + POSSIBILITY OF SUCH DAMAGES. + - score: '100.0' + start_line: 1 + end_line: 22 + matcher: 1-hash + rule_length: 204 + matched_length: 204 + match_coverage: '100.0' + rule_relevance: 100 + identifier: xfree86-1.0_2.RULE + license_expression: xfree86-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is furnished to do + so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + + Except as contained in this notice, the name of the copyright holder(s) and + author(s) shall not be used in advertising or otherwise to promote the sale, + use or other dealings in this Software without prior written authorization from + the copyright holder(s) and author( diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/openldap/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/openldap/stable_copyright-detailed.expected.yml index cf26c0b2c15..16d03b6a5b5 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/openldap/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/openldap/stable_copyright-detailed.expected.yml @@ -1,8 +1,10 @@ -- -- openldap-2.8 AND mit AND fsf-unlimited-no-warranty AND hs-regexp AND ibm-dhcp AND ietf AND - isc AND other-permissive AND mit-old-style-no-advert AND baekmuk-fonts AND bsla AND bsd-original-uc - AND bsd-original-uc-1986 -- | +primary_license: +declared_license: +license_expression: openldap-2.8 AND openldap-2.8 AND openldap-2.8 AND mit AND fsf-unlimited-no-warranty + AND hs-regexp AND ibm-dhcp AND ietf AND isc AND other-permissive AND other-permissive AND + mit-old-style-no-advert AND baekmuk-fonts AND other-permissive AND hs-regexp AND openldap-2.8 + AND bsla AND bsd-original-uc AND bsd-original-uc AND bsd-original-uc AND bsd-original-uc-1986 +copyright: | Copyright 1998-2016 The OpenLDAP Foundation Copyright 1999 Computing Research Labs, New Mexico State University Copyright (c) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. @@ -13,3 +15,551 @@ Copyright 1991 by the Massachusetts Institute of Technology Copyright 1999-2001 The OpenLDAP Foundation, Redwood City, California, USA. Copyright (c) 2000 Pierangelo Masarati, +matches: + - score: '92.73' + start_line: 14 + end_line: 23 + matcher: 3-seq + rule_length: 51 + matched_length: 51 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openldap-2.8_7.RULE + license_expression: openldap-2.8 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The OpenLDAP Foundation\n [All] [rights] [reserved].\n \n Redistribution\ + \ and use in source and binary forms, with or without\n modification, are permitted only\ + \ as authorized by the OpenLDAP\n Public License.\n \n A copy of this license is available\ + \ in [the] file LICENSE in the\n top-level directory of the distribution or, alternatively,\ + \ at\n ." + - score: '59.9' + start_line: 25 + end_line: 37 + matcher: 3-seq + rule_length: 119 + matched_length: 72 + match_coverage: '60.5' + rule_relevance: 99 + identifier: openldap-2.8_19.RULE + license_expression: openldap-2.8 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "OpenLDAP is a registered trademark of the OpenLDAP Foundation.\n \n Individual\ + \ files and/or contributed packages may be copyright by\n other parties and/[or] subject\ + \ to additional restrictions.\n \n This work is derived from the University of Michigan\ + \ LDAP v3.3\n distribution. Information concerning this software is available\n at .\n\ + \ \n This work also contains materials derived from public sources.\n \n Additional information\ + \ about OpenLDAP can be obtained at\n ." + - score: '100.0' + start_line: 41 + end_line: 81 + matcher: 2-aho + rule_length: 295 + matched_length: 295 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openldap-2.8_16.RULE + license_expression: openldap-2.8 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The OpenLDAP Public License\n Version 2.8, 17 August 2003\n \n Redistribution\ + \ and use of this software and associated documentation\n (\"Software\"), with or without\ + \ modification, are permitted provided\n that the following conditions are met:\n \n 1.\ + \ Redistributions in source form must retain copyright statements\n and notices,\n\ + \ \n 2. Redistributions in binary form must reproduce applicable copyright\n statements\ + \ and notices, this list of conditions, and the following\n disclaimer in the documentation\ + \ and/or other materials provided\n with the distribution, and\n \n 3. Redistributions\ + \ must contain a verbatim copy of this document.\n \n The OpenLDAP Foundation may revise\ + \ this license from time to time.\n Each revision is distinguished by a version number.\ + \ You may use\n this Software under terms of this license revision or under the\n terms\ + \ of any subsequent revision of the license.\n \n THIS SOFTWARE IS PROVIDED BY THE OPENLDAP\ + \ FOUNDATION AND ITS\n CONTRIBUTORS ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,\n\ + \ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS\ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT\n SHALL THE OPENLDAP FOUNDATION,\ + \ ITS CONTRIBUTORS, OR THE AUTHOR(S)\n OR OWNER(S) OF THE SOFTWARE BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\n BUT\ + \ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR\ + \ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\ + \ ARISING IN\n ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n POSSIBILITY\ + \ OF SUCH DAMAGE.\n \n The names of the authors and copyright holders must not be used\ + \ in\n advertising or otherwise to promote the sale, use or other dealing\n in this Software\ + \ without specific, written prior permission. Title\n to copyright in this Software shall\ + \ at all times remain with copyright\n holders." + - score: '100.0' + start_line: 91 + end_line: 107 + matcher: 2-aho + rule_length: 165 + matched_length: 165 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_483.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + # copy of this software and associated documentation files (the "Software"), + # to deal in the Software without restriction, including without limitation + # the rights to use, copy, modify, merge, publish, distribute, sublicense, + # and/or sell copies of the Software, and to permit persons to whom the + # Software is furnished to do so, subject to the following conditions: + # + # The above copyright notice and this permission notice shall be included in + # all copies or substantial portions of the Software. + # + # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + # THE COMPUTING RESEARCH LAB OR NEW MEXICO STATE UNIVERSITY BE LIABLE FOR ANY + # CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT + # OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR + # THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 115 + end_line: 122 + matcher: 2-aho + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty_2.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This Makefile.in is free software; the Free Software Foundation\n # gives\ + \ unlimited permission to copy and/or distribute it,\n # with or without modifications,\ + \ as long as this notice is preserved.\n \n # This program is distributed in the hope\ + \ that it will be useful,\n # but WITHOUT ANY WARRANTY, to the extent permitted by law;\ + \ without\n # even the implied warranty of MERCHANTABILITY or FITNESS FOR A\n # PARTICULAR\ + \ PURPOSE." + - score: '95.0' + start_line: 129 + end_line: 145 + matcher: 2-aho + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 95 + identifier: hs-regexp_5.RULE + license_expression: hs-regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to anyone to use this software for any purpose + * on any computer system, and to alter it and redistribute it, subject + * to the following restrictions: + * + * 1. The author is not responsible for the consequences of use of this + * software, no matter how awful, even if they arise from flaws in it. + * + * 2. The origin of this software must not be misrepresented, either by + * explicit claim or by omission. Since few users ever read sources, + * credits should appear in the documentation. + * + * 3. Altered versions must be plainly marked as such, and must not be + * misrepresented as being the original software. Since few users + * ever read sources, credits should appear in the + * documentation. + * + * 4. This notice may not be removed or altered. + - score: '100.0' + start_line: 154 + end_line: 173 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ibm-dhcp.LICENSE + license_expression: ibm-dhcp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + International Business Machines, Inc. (hereinafter called IBM) grants + * permission under its copyrights to use, copy, modify, and distribute this + * Software with or without fee, provided that the above copyright notice and + * all paragraphs of this notice appear in all copies, and that the name of IBM + * not be used in connection with the marketing of any product incorporating + * the Software or modifications thereof, without specific, written prior + * permission. + * + * To the extent it has a right to do so, IBM grants an immunity from suit + * under its patents, if any, for the use, sale or manufacture of products to + * the extent that such products are used for performing Domain Name System + * dynamic updates in TCP/IP networks by means of the Software. No immunity is + * granted for any product per se or for any other function of any product. + * + * THE SOFTWARE IS PROVIDED "AS IS", AND IBM DISCLAIMS ALL WARRANTIES, + * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + * PARTICULAR PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, + * DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER ARISING + * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE, EVEN + * IF IBM IS APPRISED OF THE POSSIBILITY OF SUCH DAMAGES. + - score: '100.0' + start_line: 180 + end_line: 206 + matcher: 2-aho + rule_length: 221 + matched_length: 221 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ietf_5.RULE + license_expression: ietf + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Full Copyright Statement\n # \n # Copyright (C) The Internet Society (1999).\ + \ All Rights Reserved.\n # \n # This document and translations of it may be copied\ + \ and furnished to\n # others, and derivative works that comment on or otherwise explain\ + \ it\n # or assist in its implementation may be prepared, copied, published\n # \ + \ and distributed, in whole or in part, without restriction of any\n # kind, provided\ + \ that the above copyright notice and this paragraph are\n # included on all such copies\ + \ and derivative works. However, this\n # document itself may not be modified in any\ + \ way, such as by removing\n # the copyright notice or references to the Internet Society\ + \ or other\n # Internet organizations, except as needed for the purpose of\n # developing\ + \ Internet standards in which case the procedures for\n # copyrights defined in the\ + \ Internet Standards process must be\n # followed, or as required to translate it into\ + \ languages other than\n # English.\n # \n # The limited permissions granted above\ + \ are perpetual and will not be\n # revoked by the Internet Society or its successors\ + \ or assigns.\n # \n # This document and the information contained herein is provided\ + \ on an\n # \"AS IS\" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING\n\ + \ # TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING\n # BUT NOT\ + \ LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION\n # HEREIN WILL NOT INFRINGE\ + \ ANY RIGHTS OR ANY IMPLIED WARRANTIES OF\n # MERCHANTABILITY OR FITNESS FOR A PARTICULAR\ + \ PURPOSE." + - score: '100.0' + start_line: 227 + end_line: 238 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_9.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS + * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE + * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL + * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR + * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS + * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + * SOFTWARE. + - score: '100.0' + start_line: 245 + end_line: 250 + matcher: 2-aho + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_203.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is not subject to any license of Silicon Graphics \n * Inc.\ + \ or Purdue University.\n *\n * Redistribution and use in source and binary forms are\ + \ permitted\n * without restriction or fee of any kind as long as this notice\n * is\ + \ preserved." + - score: '100.0' + start_line: 277 + end_line: 283 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_200.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is not subject to any license of Carnegie Mellon University.\n\ + \ *\n * Redistribution and use in source and binary forms are permitted without \n \ + \ * restriction or fee of any kind as long as this notice is preserved.\n *\n * The\ + \ name \"Carnegie Mellon\" must not be used to endorse or promote\n * products derived\ + \ from this software without prior written permission." + - score: '100.0' + start_line: 311 + end_line: 319 + matcher: 2-aho + rule_length: 96 + matched_length: 96 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_3.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, distribute, and sell this software and its + # documentation for any purpose is hereby granted without fee, provided that + # the above copyright notice appear in all copies and that both that + # copyright notice and this permission notice appear in supporting + # documentation, and that the name of M.I.T. not be used in advertising or + # publicity pertaining to distribution of the software without specific, + # written prior permission. M.I.T. makes no representations about the + # suitability of this software for any purpose. It is provided "as is" + # without express or implied warranty. + - score: '11.27' + start_line: 327 + end_line: 328 + matcher: 3-seq + rule_length: 71 + matched_length: 8 + match_coverage: '11.27' + rule_relevance: 100 + identifier: baekmuk-fonts.LICENSE + license_expression: baekmuk-fonts + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + All Rights Reserved. Permission to [copy] and + distribute [verbatim] [copies] [of] [this] [document] [is] granted. + - score: '100.0' + start_line: 327 + end_line: 328 + matcher: 2-aho + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_199.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to copy and + distribute verbatim copies of this document is granted. + - score: '95.0' + start_line: 337 + end_line: 352 + matcher: 2-aho + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 95 + identifier: hs-regexp_5.RULE + license_expression: hs-regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to anyone to use this software for any purpose + * on any computer system, and to alter it and redistribute it, subject + * to the following restrictions: + * + * 1. The author is not responsible for the consequences of use of this + * software, no matter how awful, even if they arise from flaws in it. + * + * 2. The origin of this software must not be misrepresented, either by + * explicit claim or by omission. Since few users ever read sources, + * credits should appear in the documentation. + * + * 3. Altered versions must be plainly marked as such, and must not be + * misrepresented as being the original software. Since few users + * ever read sources, credits should appear in the documentation. + * + * 4. This notice may not be removed or altered. + - score: '100.0' + start_line: 359 + end_line: 362 + matcher: 2-aho + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openldap-2.8_15.RULE + license_expression: openldap-2.8 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted only + * as authorized by the OpenLDAP Public License. A copy of this + * license is available at http://www.OpenLDAP.org/license.html or + * in file LICENSE in the top-level directory of the distribution. + - score: '100.0' + start_line: 368 + end_line: 378 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsla_3.RULE + license_expression: bsla + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 380 + end_line: 381 + matcher: 2-aho + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_25.RULE + license_expression: bsd-original-uc + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + NOTE: The Regents have since retroactively removed the advertising + clause from above. + - score: '100.0' + start_line: 388 + end_line: 414 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by the University of + * California, Berkeley and its contributors. + * 4. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + - score: '100.0' + start_line: 416 + end_line: 419 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_24.RULE + license_expression: bsd-original-uc + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + NOTE: The Regents have since retroactively removed the advertising + clause from above. + See: + ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change + - score: '99.0' + start_line: 426 + end_line: 431 + matcher: 2-aho + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-original-uc-1986_3.RULE + license_expression: bsd-original-uc-1986 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted + * provided that this notice is preserved and that due credit is given + * to the University of Michigan at Ann Arbor. The name of the University + * may not be used to endorse or promote products derived from this + * software without specific prior written permission. This software + * is provided ``as is'' without express or implied warranty. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/openldap/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/openldap/stable_copyright.expected.yml index cf26c0b2c15..dc86d29987d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/openldap/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/openldap/stable_copyright.expected.yml @@ -1,8 +1,9 @@ -- -- openldap-2.8 AND mit AND fsf-unlimited-no-warranty AND hs-regexp AND ibm-dhcp AND ietf AND - isc AND other-permissive AND mit-old-style-no-advert AND baekmuk-fonts AND bsla AND bsd-original-uc - AND bsd-original-uc-1986 -- | +primary_license: +declared_license: +license_expression: openldap-2.8 AND mit AND fsf-unlimited-no-warranty AND hs-regexp AND ibm-dhcp + AND ietf AND isc AND other-permissive AND mit-old-style-no-advert AND baekmuk-fonts AND bsla + AND bsd-original-uc AND bsd-original-uc-1986 +copyright: | Copyright 1998-2016 The OpenLDAP Foundation Copyright 1999 Computing Research Labs, New Mexico State University Copyright (c) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. @@ -13,3 +14,551 @@ Copyright 1991 by the Massachusetts Institute of Technology Copyright 1999-2001 The OpenLDAP Foundation, Redwood City, California, USA. Copyright (c) 2000 Pierangelo Masarati, +matches: + - score: '92.73' + start_line: 14 + end_line: 23 + matcher: 3-seq + rule_length: 51 + matched_length: 51 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openldap-2.8_7.RULE + license_expression: openldap-2.8 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The OpenLDAP Foundation\n [All] [rights] [reserved].\n \n Redistribution\ + \ and use in source and binary forms, with or without\n modification, are permitted only\ + \ as authorized by the OpenLDAP\n Public License.\n \n A copy of this license is available\ + \ in [the] file LICENSE in the\n top-level directory of the distribution or, alternatively,\ + \ at\n ." + - score: '59.9' + start_line: 25 + end_line: 37 + matcher: 3-seq + rule_length: 119 + matched_length: 72 + match_coverage: '60.5' + rule_relevance: 99 + identifier: openldap-2.8_19.RULE + license_expression: openldap-2.8 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "OpenLDAP is a registered trademark of the OpenLDAP Foundation.\n \n Individual\ + \ files and/or contributed packages may be copyright by\n other parties and/[or] subject\ + \ to additional restrictions.\n \n This work is derived from the University of Michigan\ + \ LDAP v3.3\n distribution. Information concerning this software is available\n at .\n\ + \ \n This work also contains materials derived from public sources.\n \n Additional information\ + \ about OpenLDAP can be obtained at\n ." + - score: '100.0' + start_line: 41 + end_line: 81 + matcher: 2-aho + rule_length: 295 + matched_length: 295 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openldap-2.8_16.RULE + license_expression: openldap-2.8 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The OpenLDAP Public License\n Version 2.8, 17 August 2003\n \n Redistribution\ + \ and use of this software and associated documentation\n (\"Software\"), with or without\ + \ modification, are permitted provided\n that the following conditions are met:\n \n 1.\ + \ Redistributions in source form must retain copyright statements\n and notices,\n\ + \ \n 2. Redistributions in binary form must reproduce applicable copyright\n statements\ + \ and notices, this list of conditions, and the following\n disclaimer in the documentation\ + \ and/or other materials provided\n with the distribution, and\n \n 3. Redistributions\ + \ must contain a verbatim copy of this document.\n \n The OpenLDAP Foundation may revise\ + \ this license from time to time.\n Each revision is distinguished by a version number.\ + \ You may use\n this Software under terms of this license revision or under the\n terms\ + \ of any subsequent revision of the license.\n \n THIS SOFTWARE IS PROVIDED BY THE OPENLDAP\ + \ FOUNDATION AND ITS\n CONTRIBUTORS ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,\n\ + \ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS\ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT\n SHALL THE OPENLDAP FOUNDATION,\ + \ ITS CONTRIBUTORS, OR THE AUTHOR(S)\n OR OWNER(S) OF THE SOFTWARE BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\n BUT\ + \ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR\ + \ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\ + \ ARISING IN\n ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n POSSIBILITY\ + \ OF SUCH DAMAGE.\n \n The names of the authors and copyright holders must not be used\ + \ in\n advertising or otherwise to promote the sale, use or other dealing\n in this Software\ + \ without specific, written prior permission. Title\n to copyright in this Software shall\ + \ at all times remain with copyright\n holders." + - score: '100.0' + start_line: 91 + end_line: 107 + matcher: 2-aho + rule_length: 165 + matched_length: 165 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_483.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + # copy of this software and associated documentation files (the "Software"), + # to deal in the Software without restriction, including without limitation + # the rights to use, copy, modify, merge, publish, distribute, sublicense, + # and/or sell copies of the Software, and to permit persons to whom the + # Software is furnished to do so, subject to the following conditions: + # + # The above copyright notice and this permission notice shall be included in + # all copies or substantial portions of the Software. + # + # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + # THE COMPUTING RESEARCH LAB OR NEW MEXICO STATE UNIVERSITY BE LIABLE FOR ANY + # CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT + # OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR + # THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 115 + end_line: 122 + matcher: 2-aho + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty_2.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This Makefile.in is free software; the Free Software Foundation\n # gives\ + \ unlimited permission to copy and/or distribute it,\n # with or without modifications,\ + \ as long as this notice is preserved.\n \n # This program is distributed in the hope\ + \ that it will be useful,\n # but WITHOUT ANY WARRANTY, to the extent permitted by law;\ + \ without\n # even the implied warranty of MERCHANTABILITY or FITNESS FOR A\n # PARTICULAR\ + \ PURPOSE." + - score: '95.0' + start_line: 129 + end_line: 145 + matcher: 2-aho + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 95 + identifier: hs-regexp_5.RULE + license_expression: hs-regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to anyone to use this software for any purpose + * on any computer system, and to alter it and redistribute it, subject + * to the following restrictions: + * + * 1. The author is not responsible for the consequences of use of this + * software, no matter how awful, even if they arise from flaws in it. + * + * 2. The origin of this software must not be misrepresented, either by + * explicit claim or by omission. Since few users ever read sources, + * credits should appear in the documentation. + * + * 3. Altered versions must be plainly marked as such, and must not be + * misrepresented as being the original software. Since few users + * ever read sources, credits should appear in the + * documentation. + * + * 4. This notice may not be removed or altered. + - score: '100.0' + start_line: 154 + end_line: 173 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ibm-dhcp.LICENSE + license_expression: ibm-dhcp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + International Business Machines, Inc. (hereinafter called IBM) grants + * permission under its copyrights to use, copy, modify, and distribute this + * Software with or without fee, provided that the above copyright notice and + * all paragraphs of this notice appear in all copies, and that the name of IBM + * not be used in connection with the marketing of any product incorporating + * the Software or modifications thereof, without specific, written prior + * permission. + * + * To the extent it has a right to do so, IBM grants an immunity from suit + * under its patents, if any, for the use, sale or manufacture of products to + * the extent that such products are used for performing Domain Name System + * dynamic updates in TCP/IP networks by means of the Software. No immunity is + * granted for any product per se or for any other function of any product. + * + * THE SOFTWARE IS PROVIDED "AS IS", AND IBM DISCLAIMS ALL WARRANTIES, + * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + * PARTICULAR PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, + * DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER ARISING + * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE, EVEN + * IF IBM IS APPRISED OF THE POSSIBILITY OF SUCH DAMAGES. + - score: '100.0' + start_line: 180 + end_line: 206 + matcher: 2-aho + rule_length: 221 + matched_length: 221 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ietf_5.RULE + license_expression: ietf + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Full Copyright Statement\n # \n # Copyright (C) The Internet Society (1999).\ + \ All Rights Reserved.\n # \n # This document and translations of it may be copied\ + \ and furnished to\n # others, and derivative works that comment on or otherwise explain\ + \ it\n # or assist in its implementation may be prepared, copied, published\n # \ + \ and distributed, in whole or in part, without restriction of any\n # kind, provided\ + \ that the above copyright notice and this paragraph are\n # included on all such copies\ + \ and derivative works. However, this\n # document itself may not be modified in any\ + \ way, such as by removing\n # the copyright notice or references to the Internet Society\ + \ or other\n # Internet organizations, except as needed for the purpose of\n # developing\ + \ Internet standards in which case the procedures for\n # copyrights defined in the\ + \ Internet Standards process must be\n # followed, or as required to translate it into\ + \ languages other than\n # English.\n # \n # The limited permissions granted above\ + \ are perpetual and will not be\n # revoked by the Internet Society or its successors\ + \ or assigns.\n # \n # This document and the information contained herein is provided\ + \ on an\n # \"AS IS\" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING\n\ + \ # TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING\n # BUT NOT\ + \ LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION\n # HEREIN WILL NOT INFRINGE\ + \ ANY RIGHTS OR ANY IMPLIED WARRANTIES OF\n # MERCHANTABILITY OR FITNESS FOR A PARTICULAR\ + \ PURPOSE." + - score: '100.0' + start_line: 227 + end_line: 238 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_9.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS + * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE + * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL + * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR + * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS + * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + * SOFTWARE. + - score: '100.0' + start_line: 245 + end_line: 250 + matcher: 2-aho + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_203.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is not subject to any license of Silicon Graphics \n * Inc.\ + \ or Purdue University.\n *\n * Redistribution and use in source and binary forms are\ + \ permitted\n * without restriction or fee of any kind as long as this notice\n * is\ + \ preserved." + - score: '100.0' + start_line: 277 + end_line: 283 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_200.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is not subject to any license of Carnegie Mellon University.\n\ + \ *\n * Redistribution and use in source and binary forms are permitted without \n \ + \ * restriction or fee of any kind as long as this notice is preserved.\n *\n * The\ + \ name \"Carnegie Mellon\" must not be used to endorse or promote\n * products derived\ + \ from this software without prior written permission." + - score: '100.0' + start_line: 311 + end_line: 319 + matcher: 2-aho + rule_length: 96 + matched_length: 96 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_3.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, distribute, and sell this software and its + # documentation for any purpose is hereby granted without fee, provided that + # the above copyright notice appear in all copies and that both that + # copyright notice and this permission notice appear in supporting + # documentation, and that the name of M.I.T. not be used in advertising or + # publicity pertaining to distribution of the software without specific, + # written prior permission. M.I.T. makes no representations about the + # suitability of this software for any purpose. It is provided "as is" + # without express or implied warranty. + - score: '11.27' + start_line: 327 + end_line: 328 + matcher: 3-seq + rule_length: 71 + matched_length: 8 + match_coverage: '11.27' + rule_relevance: 100 + identifier: baekmuk-fonts.LICENSE + license_expression: baekmuk-fonts + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + All Rights Reserved. Permission to [copy] and + distribute [verbatim] [copies] [of] [this] [document] [is] granted. + - score: '100.0' + start_line: 327 + end_line: 328 + matcher: 2-aho + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_199.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to copy and + distribute verbatim copies of this document is granted. + - score: '95.0' + start_line: 337 + end_line: 352 + matcher: 2-aho + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 95 + identifier: hs-regexp_5.RULE + license_expression: hs-regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to anyone to use this software for any purpose + * on any computer system, and to alter it and redistribute it, subject + * to the following restrictions: + * + * 1. The author is not responsible for the consequences of use of this + * software, no matter how awful, even if they arise from flaws in it. + * + * 2. The origin of this software must not be misrepresented, either by + * explicit claim or by omission. Since few users ever read sources, + * credits should appear in the documentation. + * + * 3. Altered versions must be plainly marked as such, and must not be + * misrepresented as being the original software. Since few users + * ever read sources, credits should appear in the documentation. + * + * 4. This notice may not be removed or altered. + - score: '100.0' + start_line: 359 + end_line: 362 + matcher: 2-aho + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openldap-2.8_15.RULE + license_expression: openldap-2.8 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted only + * as authorized by the OpenLDAP Public License. A copy of this + * license is available at http://www.OpenLDAP.org/license.html or + * in file LICENSE in the top-level directory of the distribution. + - score: '100.0' + start_line: 368 + end_line: 378 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsla_3.RULE + license_expression: bsla + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 380 + end_line: 381 + matcher: 2-aho + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_25.RULE + license_expression: bsd-original-uc + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + NOTE: The Regents have since retroactively removed the advertising + clause from above. + - score: '100.0' + start_line: 388 + end_line: 414 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by the University of + * California, Berkeley and its contributors. + * 4. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + - score: '100.0' + start_line: 416 + end_line: 419 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_24.RULE + license_expression: bsd-original-uc + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + NOTE: The Regents have since retroactively removed the advertising + clause from above. + See: + ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change + - score: '99.0' + start_line: 426 + end_line: 431 + matcher: 2-aho + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-original-uc-1986_3.RULE + license_expression: bsd-original-uc-1986 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted + * provided that this notice is preserved and that due credit is given + * to the University of Michigan at Ann Arbor. The name of the University + * may not be used to endorse or promote products derived from this + * software without specific prior written permission. This software + * is provided ``as is'' without express or implied warranty. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/osmpbf/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/osmpbf/stable_copyright-detailed.expected.yml index a4ef776a281..b994b9815df 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/osmpbf/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/osmpbf/stable_copyright-detailed.expected.yml @@ -1,9 +1,106 @@ -- - LGPL-3+ +primary_license: lgpl-3.0-plus +declared_license: + - LGPL-3+ - GPL-3+ - LGPL-3+ - GPL-3+ -- (lgpl-3.0-plus AND lgpl-3.0-plus) AND (gpl-3.0-plus AND gpl-3.0-plus) -- | +license_expression: (lgpl-3.0-plus AND lgpl-3.0-plus) AND (gpl-3.0-plus AND gpl-3.0-plus) +copyright: | 2010, Scott A. Crosby 2010-2012, Giovanni Mascellani 2011-2013, David Paleino +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 130 + matched_length: 130 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU Lesser General Public License + version 3 can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_323.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General Public License + version 3 can be found in "/usr/share/common-licenses/GPL-3". diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/osmpbf/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/osmpbf/stable_copyright.expected.yml index d2e2d1f6e7e..8494ffc8a9a 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/osmpbf/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/o/osmpbf/stable_copyright.expected.yml @@ -1,4 +1,101 @@ -- - LGPL-3+ +primary_license: lgpl-3.0-plus +declared_license: + - LGPL-3+ - GPL-3+ -- lgpl-3.0-plus AND lgpl-3.0-plus -- 2010, Scott A. Crosby +license_expression: lgpl-3.0-plus +copyright: 2010, Scott A. Crosby +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 130 + matched_length: 130 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU Lesser General Public License + version 3 can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_323.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General Public License + version 3 can be found in "/usr/share/common-licenses/GPL-3". diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pam-u2f/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pam-u2f/stable_copyright-detailed.expected.yml index 09b246aff0d..c4962393684 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pam-u2f/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pam-u2f/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - BSD-2-clause +primary_license: bsd-simplified +declared_license: + - BSD-2-clause - BSD-2-clause - GPL-2+ - GPL-2+ @@ -8,11 +10,11 @@ - GPL-2+ - GPL-3+ - BSD-2-clause -- bsd-simplified AND bsd-simplified AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) - AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND fsf-unlimited AND (gpl-3.0-plus +license_expression: bsd-simplified AND bsd-simplified AND (gpl-2.0-plus AND gpl-2.0-plus AND + gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND fsf-unlimited AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0 AND gpl-3.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND libtool-exception-2.0 AND gpl-2.0-plus AND gpl-2.0) -- | +copyright: | Copyright (c) 2006-2018 Yubico AB 2014-2016 Yubico AB 2016-2018 Nicolas Braud-Santoni @@ -24,3 +26,280 @@ 2011, Maarten Bosmans 2008, Guido U. Draheim 1996-2017, Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited.LICENSE + license_expression: fsf-unlimited + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + - score: '93.02' + start_line: 1 + end_line: 4 + matcher: 3-seq + rule_length: 43 + matched_length: 40 + match_coverage: '93.02' + rule_relevance: 100 + identifier: gpl-2.0-plus_434.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + - score: '53.85' + start_line: 1 + end_line: 6 + matcher: 3-seq + rule_length: 65 + matched_length: 35 + match_coverage: '53.85' + rule_relevance: 100 + identifier: gpl-2.0-plus_734.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 [of] [the] [License], [or] + ([at] [your] [option]) [any] [later] [version]. + + [As] a [special] [exception] [to] the GNU General Public License, + - score: '100.0' + start_line: 6 + end_line: 9 + matcher: 2-aho + rule_length: 45 + matched_length: 45 + match_coverage: '100.0' + rule_relevance: 100 + identifier: libtool-exception-2.0.LICENSE + license_expression: libtool-exception-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception to the GNU General Public License, + if you distribute this file as part of a program or library that + is built using GNU Libtool, you may include this file under the + same distribution terms that you use for the rest of that program. + - score: '24.24' + start_line: 11 + end_line: 12 + matcher: 3-seq + rule_length: 33 + matched_length: 8 + match_coverage: '24.24' + rule_relevance: 100 + identifier: gpl-2.0-plus_101.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + of the GNU General Public + License version 2 + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_64.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free Software + Foundation; either version 2 of the License, or (at your option) any later + version. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public License version 2 + can be found in /usr/share/common-licenses/GPL-2. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_98.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License version 3 + - score: '33.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_5.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pam-u2f/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pam-u2f/stable_copyright.expected.yml index 4ce4bfc69c8..6e2eb5eca16 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pam-u2f/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pam-u2f/stable_copyright.expected.yml @@ -1,12 +1,13 @@ -- - BSD-2-clause +primary_license: bsd-simplified +declared_license: + - BSD-2-clause - GPL-2+ - FSFUL - GPL-3+ - GPL-2+ with libtool exception -- bsd-simplified AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND fsf-unlimited - AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0 AND gpl-3.0) AND (gpl-2.0-plus AND gpl-2.0-plus - AND libtool-exception-2.0 AND gpl-2.0-plus AND gpl-2.0) -- | +license_expression: bsd-simplified AND (gpl-2.0-plus AND gpl-2.0) AND fsf-unlimited AND (gpl-3.0-plus + AND gpl-3.0) AND (gpl-2.0-plus AND libtool-exception-2.0 AND gpl-2.0) +copyright: | Copyright (c) 2006-2018 Yubico AB 1996-2017, Free Software Foundation, Inc. 2004 Scott James Remnant . @@ -14,3 +15,280 @@ 2004, 2005, 2007-2009, 2011-2015, Free Software 2011, Maarten Bosmans 2008, Guido U. Draheim +matches: + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited.LICENSE + license_expression: fsf-unlimited + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + - score: '93.02' + start_line: 1 + end_line: 4 + matcher: 3-seq + rule_length: 43 + matched_length: 40 + match_coverage: '93.02' + rule_relevance: 100 + identifier: gpl-2.0-plus_434.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + - score: '53.85' + start_line: 1 + end_line: 6 + matcher: 3-seq + rule_length: 65 + matched_length: 35 + match_coverage: '53.85' + rule_relevance: 100 + identifier: gpl-2.0-plus_734.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 [of] [the] [License], [or] + ([at] [your] [option]) [any] [later] [version]. + + [As] a [special] [exception] [to] the GNU General Public License, + - score: '100.0' + start_line: 6 + end_line: 9 + matcher: 2-aho + rule_length: 45 + matched_length: 45 + match_coverage: '100.0' + rule_relevance: 100 + identifier: libtool-exception-2.0.LICENSE + license_expression: libtool-exception-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception to the GNU General Public License, + if you distribute this file as part of a program or library that + is built using GNU Libtool, you may include this file under the + same distribution terms that you use for the rest of that program. + - score: '24.24' + start_line: 11 + end_line: 12 + matcher: 3-seq + rule_length: 33 + matched_length: 8 + match_coverage: '24.24' + rule_relevance: 100 + identifier: gpl-2.0-plus_101.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + of the GNU General Public + License version 2 + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_64.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free Software + Foundation; either version 2 of the License, or (at your option) any later + version. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public License version 2 + can be found in /usr/share/common-licenses/GPL-2. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_98.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License version 3 + - score: '33.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_5.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pango1.0/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pango1.0/stable_copyright-detailed.expected.yml index 65445f06c89..c0706b0f9ed 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pango1.0/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pango1.0/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - LGPL-2+ +primary_license: lgpl-2.0-plus AND gpl-2.0-plus +declared_license: + - LGPL-2+ - Example - LGPL-2+ - LGPL-2+ @@ -14,13 +16,12 @@ - LGPL-2+ - TCL - Unicode -- (lgpl-2.0-plus AND gpl-2.0-plus AND lgpl-2.0) AND mit-old-style AND (lgpl-2.0-plus AND gpl-2.0-plus - AND lgpl-2.0) AND (lgpl-2.0-plus AND gpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND gpl-2.0-plus - AND lgpl-2.0) AND ((lgpl-2.0-plus AND gpl-2.0-plus AND lgpl-2.0) AND tcl) AND (lgpl-2.0-plus - AND gpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND gpl-2.0-plus AND lgpl-2.0) AND unicode - AND ((lgpl-2.0-plus AND gpl-2.0-plus AND lgpl-2.0) AND x11) AND (lgpl-2.0-plus AND gpl-2.0-plus - AND lgpl-2.0) -- | +license_expression: (lgpl-2.0-plus AND gpl-2.0-plus) AND mit-old-style AND (lgpl-2.0-plus AND + gpl-2.0-plus) AND (lgpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.0-plus AND gpl-2.0-plus) AND + ((lgpl-2.0-plus AND gpl-2.0-plus) AND tcl) AND (lgpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.0-plus + AND gpl-2.0-plus) AND unicode AND ((lgpl-2.0-plus AND gpl-2.0-plus) AND x11) AND (lgpl-2.0-plus + AND gpl-2.0-plus) +copyright: | 1999-2015 Red Hat 2005-2007 Imendio AB 2007 Novell, Inc @@ -62,3 +63,232 @@ 2002 Red Hat 1997-2002 International Business Machines Corporation and others 2018 Google +matches: + - score: '49.5' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 54 + matched_length: 27 + match_coverage: '50.0' + rule_relevance: 99 + identifier: mit-old-style_23.RULE + license_expression: mit-old-style + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, distribute, and sell this [example] + for any purpose is hereby granted without fee. + It is provided "as is" without express or implied warranty. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 239 + matched_length: 239 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11_2.RULE + license_expression: x11 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software") + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, provided that the above copyright notice(s) and this + permission notice appear in all copies of the Software and that both the + above copyright notice(s) and this permission notice appear in supporting + documentation. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE + BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES + OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS + WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION + ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + SOFTWARE. + + Except as contained in this notice, the name of a copyright holder shall + not be used in advertising or otherwise to promote the sale, use or other + dealings in this Software without prior written authorization of the + copyright holder. + + All trademarks and registered trademarks mentioned herein are the property + of their respective owners. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '95.05' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 101 + matched_length: 96 + match_coverage: '95.05' + rule_relevance: 100 + identifier: gpl-2.0-plus_808.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or + modify it under the terms of the GNU [Lesser] General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This [library] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + [Lesser] General Public License for more details. + + On Debian systems, the complete text of the GNU [Lesser] General Public + License [version] [2] can be found in "/usr/share/common-licenses/ + - score: '99.41' + start_line: 1 + end_line: 39 + matcher: 3-seq + rule_length: 341 + matched_length: 339 + match_coverage: '99.41' + rule_relevance: 100 + identifier: tcl_1.RULE + license_expression: tcl + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is copyrighted by the Regents of the University of + California, Sun Microsystems, Inc., and other parties. The following terms + apply to all files associated with the software unless explicitly + disclaimed in individual files. + + The authors hereby grant permission to use, copy, modify, distribute, + and license this software and its documentation for any purpose, + provided that existing copyright notices are retained in all copies + and that this notice is included verbatim in any distributions. No + written agreement, license, or royalty fee is required for any of the + authorized uses. Modifications to this software may be copyrighted by + their authors and need not follow the licensing terms described here, + provided that the new terms are clearly indicated on the first page + of each file where they apply. + + IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY + FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES + ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY + DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND + NON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, AND + THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE + MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + + GOVERNMENT USE: If you are acquiring this software on behalf of the + U.S. government, the Government shall have only "Restricted Rights" + in the software and related documentation as defined in the Federal + Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you + are acquiring the software on behalf of the Department of Defense, + the software shall be classified as "Commercial Computer Software" + and the Government shall have only "Restricted Rights" as defined in + Clause 252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, + the authors grant the U.S. Government and others acting in its behalf + permission to use and distribute the software in accordance with the + terms specified in this license. + - score: '95.26' + start_line: 1 + end_line: 51 + matcher: 3-seq + rule_length: 443 + matched_length: 422 + match_coverage: '95.26' + rule_relevance: 100 + identifier: unicode_10.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Unicode Data Files include all data files under the directories + http://www.unicode.org/Public/, http://www.unicode.org/reports/, + http://www.unicode.org/cldr/data/, http://source.icu-project.org/repos/icu/, and + http://www.unicode.org/utility/trac/browser/. + + Unicode Data Files do not include PDF online code charts under the + directory http://www.unicode.org/Public/. + + Software includes any source code published in the Unicode Standard + or under the directories + http://www.unicode.org/Public/, http://www.unicode.org/reports/, + http://www.unicode.org/cldr/data/, http://source.icu-project.org/repos/icu/, and + http://www.unicode.org/utility/trac/browser/. + + NOTICE TO USER: Carefully read the following legal agreement. + BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S + DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"), + YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE + TERMS AND CONDITIONS OF THIS AGREEMENT. + IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE + THE DATA FILES OR SOFTWARE. + + COPYRIGHT AND PERMISSION NOTICE + Permission is hereby granted, free of charge, to any person obtaining + a copy of the Unicode data files and any associated documentation + (the "Data Files") or Unicode software and any associated documentation + (the "Software") to deal in the Data Files or Software + without restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, and/or sell copies of + the Data Files or Software, and to permit persons to whom the Data Files + or Software are furnished to do so, provided that either + (a) this copyright and permission notice appear with all copies + of the Data Files or Software, or + (b) this copyright and permission notice appear in associated + Documentation. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF + ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE + WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT OF THIRD PARTY RIGHTS. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS + NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL + DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, + DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THE DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in these Data Files or Software without prior + written authorization of the copyright holder. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pango1.0/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pango1.0/stable_copyright.expected.yml index eb4f99fc4be..fada94cd38b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pango1.0/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pango1.0/stable_copyright.expected.yml @@ -1,14 +1,15 @@ -- - LGPL-2+ +primary_license: lgpl-2.0-plus AND gpl-2.0-plus +declared_license: + - LGPL-2+ - Example - LGPL-2+ and TCL - Unicode - LGPL-2+ and ICU - ICU - TCL -- (lgpl-2.0-plus AND gpl-2.0-plus AND lgpl-2.0) AND mit-old-style AND ((lgpl-2.0-plus AND gpl-2.0-plus - AND lgpl-2.0) AND tcl) AND unicode AND ((lgpl-2.0-plus AND gpl-2.0-plus AND lgpl-2.0) AND - x11) -- | +license_expression: (lgpl-2.0-plus AND gpl-2.0-plus) AND mit-old-style AND ((lgpl-2.0-plus AND + gpl-2.0-plus) AND tcl) AND unicode AND ((lgpl-2.0-plus AND gpl-2.0-plus) AND x11) +copyright: | 1999-2015 Red Hat 2005-2007 Imendio AB 2007 Novell, Inc @@ -49,3 +50,232 @@ 2002 Red Hat 1997-2002 International Business Machines Corporation and others 2018 Google +matches: + - score: '49.5' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 54 + matched_length: 27 + match_coverage: '50.0' + rule_relevance: 99 + identifier: mit-old-style_23.RULE + license_expression: mit-old-style + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, distribute, and sell this [example] + for any purpose is hereby granted without fee. + It is provided "as is" without express or implied warranty. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 239 + matched_length: 239 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11_2.RULE + license_expression: x11 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software") + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, provided that the above copyright notice(s) and this + permission notice appear in all copies of the Software and that both the + above copyright notice(s) and this permission notice appear in supporting + documentation. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE + BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES + OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS + WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION + ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + SOFTWARE. + + Except as contained in this notice, the name of a copyright holder shall + not be used in advertising or otherwise to promote the sale, use or other + dealings in this Software without prior written authorization of the + copyright holder. + + All trademarks and registered trademarks mentioned herein are the property + of their respective owners. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '95.05' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 101 + matched_length: 96 + match_coverage: '95.05' + rule_relevance: 100 + identifier: gpl-2.0-plus_808.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or + modify it under the terms of the GNU [Lesser] General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This [library] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + [Lesser] General Public License for more details. + + On Debian systems, the complete text of the GNU [Lesser] General Public + License [version] [2] can be found in "/usr/share/common-licenses/ + - score: '99.41' + start_line: 1 + end_line: 39 + matcher: 3-seq + rule_length: 341 + matched_length: 339 + match_coverage: '99.41' + rule_relevance: 100 + identifier: tcl_1.RULE + license_expression: tcl + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is copyrighted by the Regents of the University of + California, Sun Microsystems, Inc., and other parties. The following terms + apply to all files associated with the software unless explicitly + disclaimed in individual files. + + The authors hereby grant permission to use, copy, modify, distribute, + and license this software and its documentation for any purpose, + provided that existing copyright notices are retained in all copies + and that this notice is included verbatim in any distributions. No + written agreement, license, or royalty fee is required for any of the + authorized uses. Modifications to this software may be copyrighted by + their authors and need not follow the licensing terms described here, + provided that the new terms are clearly indicated on the first page + of each file where they apply. + + IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY + FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES + ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY + DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND + NON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, AND + THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE + MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + + GOVERNMENT USE: If you are acquiring this software on behalf of the + U.S. government, the Government shall have only "Restricted Rights" + in the software and related documentation as defined in the Federal + Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you + are acquiring the software on behalf of the Department of Defense, + the software shall be classified as "Commercial Computer Software" + and the Government shall have only "Restricted Rights" as defined in + Clause 252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, + the authors grant the U.S. Government and others acting in its behalf + permission to use and distribute the software in accordance with the + terms specified in this license. + - score: '95.26' + start_line: 1 + end_line: 51 + matcher: 3-seq + rule_length: 443 + matched_length: 422 + match_coverage: '95.26' + rule_relevance: 100 + identifier: unicode_10.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Unicode Data Files include all data files under the directories + http://www.unicode.org/Public/, http://www.unicode.org/reports/, + http://www.unicode.org/cldr/data/, http://source.icu-project.org/repos/icu/, and + http://www.unicode.org/utility/trac/browser/. + + Unicode Data Files do not include PDF online code charts under the + directory http://www.unicode.org/Public/. + + Software includes any source code published in the Unicode Standard + or under the directories + http://www.unicode.org/Public/, http://www.unicode.org/reports/, + http://www.unicode.org/cldr/data/, http://source.icu-project.org/repos/icu/, and + http://www.unicode.org/utility/trac/browser/. + + NOTICE TO USER: Carefully read the following legal agreement. + BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S + DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"), + YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE + TERMS AND CONDITIONS OF THIS AGREEMENT. + IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE + THE DATA FILES OR SOFTWARE. + + COPYRIGHT AND PERMISSION NOTICE + Permission is hereby granted, free of charge, to any person obtaining + a copy of the Unicode data files and any associated documentation + (the "Data Files") or Unicode software and any associated documentation + (the "Software") to deal in the Data Files or Software + without restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, and/or sell copies of + the Data Files or Software, and to permit persons to whom the Data Files + or Software are furnished to do so, provided that either + (a) this copyright and permission notice appear with all copies + of the Data Files or Software, or + (b) this copyright and permission notice appear in associated + Documentation. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF + ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE + WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT OF THIRD PARTY RIGHTS. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS + NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL + DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, + DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THE DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in these Data Files or Software without prior + written authorization of the copyright holder. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/perl/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/perl/copyright-detailed.expected.yml index 72c277db5d2..91fe7373104 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/perl/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/perl/copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - GPL-1+ or Artistic +primary_license: (gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0) +declared_license: + - GPL-1+ or Artistic - GPL-1+ or Artistic - GPL-1+ or Artistic - GPL-1+ or Artistic @@ -231,154 +233,239 @@ - CC0-1.0 - RRA-KEEP-THIS-NOTICE - Artistic-dist -- ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND - gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND mit AND (regexp AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0))) AND gpl-3.0-plus WITH bison-exception-2.2 - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND unicode-dfs-2015 - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (((gpl-1.0-plus AND gpl-1.0) OR - (artistic-2.0 AND artistic-perl-1.0)) AND unicode-dfs-2015) AND ((gpl-1.0-plus AND gpl-1.0) - OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND other-copyleft AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND bzip2-libbzip-2010 AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND zlib AND ((gpl-1.0-plus AND gpl-1.0) - OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND (artistic-2.0 AND artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) - OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-2.0-plus AND gpl-2.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (mit OR (gpl-1.0-plus AND gpl-1.0) - OR (artistic-2.0 AND artistic-perl-1.0)) AND (mit OR (gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND fsf-ap AND mit - AND mit AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND mit AND - ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND - gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) +license_expression: ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND + (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus + OR artistic-perl-1.0) AND mit AND (regexp AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 + AND artistic-perl-1.0))) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND gpl-3.0-plus WITH bison-exception-2.2 + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus + OR artistic-perl-1.0) AND unicode-dfs-2015 AND unicode AND ((gpl-1.0-plus AND gpl-1.0) OR + (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND (((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND unicode-dfs-2015) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-1.0) AND + ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND other-copyleft AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus + OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND bzip2-libbzip-2010 AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND zlib AND ((gpl-1.0-plus AND + gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR + (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-1.0) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-1.0) AND + ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR + artistic-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND + (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND (artistic-2.0 AND artistic-perl-1.0) AND artistic-2.0 + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (gpl-1.0-plus OR artistic-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (gpl-1.0-plus OR artistic-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-2.0-plus AND gpl-2.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-2.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-1.0) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND (mit + OR (gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (mit OR gpl-1.0-plus + OR artistic-perl-1.0) AND (mit OR (gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((artistic-perl-1.0 + OR gpl-1.0-plus) AND historical) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-1.0) AND + ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (gpl-1.0-plus OR artistic-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) + AND fsf-ap AND mit AND mit AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (gpl-1.0-plus OR artistic-perl-1.0) AND mit AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 + AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-2.0 AND public-domain AND (artistic-2.0 + AND public-domain-disclaimer)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND bsd-new + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus + OR artistic-perl-1.0) AND mit AND mit AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND bsd-new AND ((gpl-1.0-plus AND gpl-1.0) - OR (artistic-2.0 AND artistic-perl-1.0)) AND mit AND mit AND ((gpl-1.0-plus AND gpl-1.0) OR - (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + OR artistic-perl-1.0) AND public-domain) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 + AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND (cc0-1.0 + AND cc0-1.0) AND (cc0-1.0 OR openssl-ssleay OR apache-2.0) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (agpl-3.0 AND (artistic-perl-1.0 + OR gpl-1.0-plus)) AND other-permissive AND ((gpl-2.0-plus AND gpl-2.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-2.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-1.0) AND + ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR + artistic-perl-1.0) AND (((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND bsd-original) AND (bsd-new AND other-permissive AND (artistic-perl-1.0 OR gpl-1.0-plus)) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND unicode-dfs-2015 AND unicode AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 + AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND ((artistic-perl-1.0 OR gpl-1.0-plus) AND (artistic-perl-1.0 + OR gpl-1.0-plus)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-1.0) AND + ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 AND (gpl-1.0-plus OR artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((artistic-perl-1.0 OR gpl-1.0-plus) + AND (gpl-1.0-plus OR artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 + AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus + OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND (((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND bsd-new) AND + ((artistic-perl-1.0 OR gpl-1.0-plus) AND bsd-new) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 + AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus + OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND (cc0-1.0 AND cc0-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND other-permissive - AND ((gpl-2.0-plus AND gpl-2.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND (((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND bsd-original) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND unicode-dfs-2015 - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND (((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND bsd-new) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND - ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND - gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND (artistic-2.0 AND artistic-perl-1.0) AND bsd-new AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND (artistic-2.0 AND artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) - OR (artistic-2.0 AND artistic-perl-1.0)) AND (public-domain AND public-domain AND public-domain - AND public-domain) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND fsf-ap AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND other-copyleft AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0) OR artistic-dist-1.0) - AND artistic-dist-1.0 AND ((artistic-2.0 AND artistic-perl-1.0) OR (gpl-1.0-plus AND gpl-1.0) - OR artistic-dist-1.0) AND (((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND mit) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) -- | + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (warranty-disclaimer AND (gpl-1.0-plus OR artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-2.0 AND gpl-1.0-plus) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND (artistic-2.0 AND artistic-perl-1.0) AND artistic-1.0 AND bsd-new AND ((gpl-1.0-plus AND + gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((artistic-perl-1.0 + OR gpl-1.0-plus) AND (artistic-perl-1.0 OR gpl-1.0-plus)) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND (artistic-2.0 AND artistic-perl-1.0) AND artistic-1.0 AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND (public-domain AND public-domain AND public-domain AND public-domain) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus OR artistic-perl-1.0) AND public-domain) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-2.0 + AND public-domain-disclaimer) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus OR artistic-perl-1.0) + AND public-domain) AND fsf-ap AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND ((gpl-1.0-plus OR artistic-perl-1.0) AND public-domain) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus + OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (gpl-1.0-plus OR artistic-perl-1.0) AND other-copyleft AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0) OR artistic-dist-1.0) AND (artistic-2.0 + AND (gpl-1.0-plus OR artistic-perl-1.0)) AND artistic-dist-1.0 AND artistic-2.0 AND ((artistic-2.0 + AND artistic-perl-1.0) OR (gpl-1.0-plus AND gpl-1.0) OR artistic-dist-1.0) AND (artistic-2.0 + AND public-domain AND artistic-2.0) AND (((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND mit) AND ((gpl-1.0-plus OR artistic-perl-1.0) AND mit) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) +copyright: | Perl is Copyright (C) 1987-2018 by Larry Wall and others. All rights reserved. Copyright (c) 1996-2006, Nick Ing-Simmons Copyright (c) 2006, 2007, 2008 Larry Wall and others @@ -736,3 +823,5016 @@ The other people listed in debian/changelog are most probably copyright holders too, but they have not included explicit copyright or licensing information. +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_249.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the LGPL 2.1 + license can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_395.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-1+' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0_38.RULE + license_expression: gpl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-1'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1040.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of version 2 of + the GNU General Public License can be found in + `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_26.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: artistic' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 21 + matched_length: 21 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_2.RULE + license_expression: artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the + Artistic Licence can be found in `/usr/share/common-licenses/Artistic'. + - score: '100.0' + start_line: 1 + end_line: 182 + matcher: 1-hash + rule_length: 1351 + matched_length: 1351 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_36.RULE + license_expression: artistic-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copyright (c) 2000-2006, The Perl Foundation. + + Everyone is permitted to copy and distribute verbatim copies of this + license document, but changing it is not allowed. + + Preamble + + This license establishes the terms under which a given free software + Package may be copied, modified, distributed, and/or redistributed. + The intent is that the Copyright Holder maintains some artistic + control over the development of that Package while still keeping the + Package available as open source and free software. + + You are always permitted to make arrangements wholly outside of this + license directly with the Copyright Holder of a given Package. If the + terms of this license do not permit the full use that you propose to + make of the Package, you should contact the Copyright Holder and seek + a different licensing arrangement. + + Definitions + + "Copyright Holder" means the individual(s) or organization(s) named in + the copyright notice for the entire Package. + + "Contributor" means any party that has contributed code or other + material to the Package, in accordance with the Copyright Holder's + procedures. + + "You" and "your" means any person who would like to copy, distribute, + or modify the Package. + + "Package" means the collection of files distributed by the Copyright + Holder, and derivatives of that collection and/or of those files. A + given Package may consist of either the Standard Version, or a + Modified Version. + + "Distribute" means providing a copy of the Package or making it + accessible to anyone else, or in the case of a company or + organization, to others outside of your company or organization. + + "Distributor Fee" means any fee that you charge for Distributing this + Package or providing support for this Package to another party. It + does not mean licensing fees. + + "Standard Version" refers to the Package if it has not been modified, + or has been modified only in ways explicitly requested by the + Copyright Holder. + + "Modified Version" means the Package, if it has been changed, and such + changes were not explicitly requested by the Copyright Holder. + + "Original License" means this Artistic License as Distributed with the + Standard Version of the Package, in its current version or as it may + be modified by The Perl Foundation in the future. + + "Source" form means the source code, documentation source, and + configuration files for the Package. + + "Compiled" form means the compiled bytecode, object code, binary, or + any other form resulting from mechanical transformation or translation + of the Source form. + + Permission for Use and Modification Without Distribution + + (1) You are permitted to use the Standard Version and create and use + Modified Versions for any purpose without restriction, provided that + you do not Distribute the Modified Version. + + Permissions for Redistribution of the Standard Version + + (2) You may Distribute verbatim copies of the Source form of the + Standard Version of this Package in any medium without restriction, + either gratis or for a Distributor Fee, provided that you duplicate + all of the original copyright notices and associated disclaimers. At + your discretion, such verbatim copies may or may not include a + Compiled form of the Package. + + (3) You may apply any bug fixes, portability changes, and other + modifications made available from the Copyright Holder. The resulting + Package will still be considered the Standard Version, and as such + will be subject to the Original License. + + Distribution of Modified Versions of the Package as Source + + (4) You may Distribute your Modified Version as Source (either gratis + or for a Distributor Fee, and with or without a Compiled form of the + Modified Version) provided that you clearly document how it differs + from the Standard Version, including, but not limited to, documenting + any non-standard features, executables, or modules, and provided that + you do at least ONE of the following: + + (a) make the Modified Version available to the Copyright Holder of the + Standard Version, under the Original License, so that the Copyright + Holder may include your modifications in the Standard Version. (b) + ensure that installation of your Modified Version does not prevent the + user installing or running the Standard Version. In addition, the + Modified Version must bear a name that is different from the name of + the Standard Version. (c) allow anyone who receives a copy of the + Modified Version to make the Source form of the Modified Version + available to others under (i) the Original License or (ii) a license + that permits the licensee to freely copy, modify and redistribute the + Modified Version using the same licensing terms that apply to the copy + that the licensee received, and requires that the Source form of the + Modified Version, and of any works derived from it, be made freely + available in that license fees are prohibited but Distributor Fees are + allowed. + + Distribution of Compiled Forms of the Standard Version or Modified + Versions without the Source + + (5) You may Distribute Compiled forms of the Standard Version without + the Source, provided that you include complete instructions on how to + get the Source of the Standard Version. Such instructions must be + valid at the time of your distribution. If these instructions, at any + time while you are carrying out such distribution, become invalid, you + must provide new instructions on demand or cease further distribution. + If you provide valid instructions or cease distribution within thirty + days after you become aware that the instructions are invalid, then + you do not forfeit any of your rights under this license. + + (6) You may Distribute a Modified Version in Compiled form without the + Source, provided that you comply with Section 4 with respect to the + Source of the Modified Version. + + Aggregating or Linking the Package + + (7) You may aggregate the Package (either the Standard Version or + Modified Version) with other packages and Distribute the resulting + aggregation provided that you do not charge a licensing fee for the + Package. Distributor Fees are permitted, and licensing fees for other + components in the aggregation are permitted. The terms of this license + apply to the use and Distribution of the Standard or Modified Versions + as included in the aggregation. + + (8) You are permitted to link Modified and Standard Versions with + other works, to embed the Package in a larger work of your own, or to + build stand-alone binary or bytecode versions of applications that + include the Package, and Distribute the result without restriction, + provided the result does not expose a direct interface to the Package. + + Items That are Not Considered Part of a Modified Version + + (9) Works (including, but not limited to, modules and scripts) that + merely extend or make use of the Package, do not, by themselves, cause + the Package to be a Modified Version. In addition, such works are not + considered parts of the Package itself, and are not subject to the + terms of this license. + + General Provisions + + (10) Any use, modification, and distribution of the Standard or + Modified Versions is governed by this Artistic License. By using, + modifying or distributing the Package, you accept this license. Do not + use, modify, or distribute the Package, if you do not accept this + license. + + (11) If your Modified Version has been derived from a Modified Version + made by someone other than you, you are nevertheless required to + ensure that your Modified Version complies with the requirements of + this license. + + (12) This license does not grant you the right to use any trademark, + service mark, tradename, or logo of the Copyright Holder. + + (13) This license includes the non-exclusive, worldwide, + free-of-charge patent license to make, have made, use, offer to sell, + sell, import and otherwise transfer the Package with respect to any + patent claims licensable by the Copyright Holder that are necessarily + infringed by the Package. If you institute patent litigation + (including a cross-claim or counterclaim) against any party alleging + that the Package constitutes direct or contributory patent + infringement, then this Artistic License to you shall terminate on the + date that such litigation is filed. + + (14) Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT + HOLDER AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED + WARRANTIES. THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A + PARTICULAR PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT + PERMITTED BY YOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT + HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE + OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 30 + matcher: 2-aho + rule_length: 233 + matched_length: 233 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bzip2-libbzip-2010.LICENSE + license_expression: bzip2-libbzip-2010 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + . + 2. The origin of this software must not be misrepresented; you must + not claim that you wrote the original software. If you use this + software in a product, an acknowledgment in the product + documentation would be appreciated but is not required. + . + 3. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + . + 4. The name of the author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + . + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + . + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_42.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 4. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '96.49' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 220 + matched_length: 220 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original_48.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer + in the documentation and/or other materials provided with the + distribution. + 3. All advertising materials mentioning features or use of this + software must display the following acknowledgement: + This product includes software developed by [Powerdog] [Industries]. + 4. The name of [Powerdog] [Industries] may not be used to endorse or + promote products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY [POWERDOG] [INDUSTRIES] ``AS IS'' AND ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE [POWERDOG] [INDUSTRIES] BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '99.78' + start_line: 2 + end_line: 56 + matcher: 3-seq + rule_length: 464 + matched_length: 463 + match_coverage: '99.78' + rule_relevance: 100 + identifier: unicode-dfs-2015_1.RULE + license_expression: unicode-dfs-2015 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE + + Unicode Data Files include all data files under the directories + http://www.unicode.org/Public/, http://www.unicode.org/reports/, + and http://www.unicode.org/cldr/data/ . Unicode Data Files + do not include PDF online code charts under the directory + http://www.unicode.org/Public/. Software includes any + source code published in the Unicode Standard or under the directories + http://www.unicode.org/Public/, http://www.unicode.org/reports/, + and http://www.unicode.org/cldr/data/. + + NOTICE TO USER: Carefully read the following legal agreement. BY + DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE + INC.'S DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"), YOU + UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE TERMS AND + CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT DOWNLOAD, + INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE. + + COPYRIGHT AND PERMISSION NOTICE + + Copyright © 1991-[2011] Unicode, Inc. All rights + reserved. Distributed under the Terms of Use in + http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person + obtaining a copy of the Unicode data files and any associated + documentation (the "Data Files") or Unicode software and any + associated documentation (the "Software") to deal in the Data Files + or Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, + and/or sell copies of the Data Files or Software, and to permit + persons to whom the Data Files or Software are furnished to do so, + provided that (a) the above copyright notice(s) and this permission + notice appear with all copies of the Data Files or Software, + (b) both the above copyright notice(s) and this permission notice + appear in associated documentation, and (c) there is clear notice + in each modified Data File or in the Software as well as in the + documentation associated with the Data File(s) or Software that + the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY + OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE + WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE + AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE + COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE + FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, + OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR + PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THE DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in these Data Files or Software without + prior written authorization of the copyright holder. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 207 + matched_length: 207 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_313.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: regexp.LICENSE + license_expression: regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to anyone to use this software for any + purpose on any computer system, and to redistribute it freely, + subject to the following restrictions: + + 1. The author is not responsible for the consequences of use of + this software, no matter how awful, even if they arise + from defects in it. + + 2. The origin of this software must not be misrepresented, either + by explicit claim or by omission. + + 3. Altered versions must be plainly marked as such, and must not + be misrepresented as being the original software. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_212.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module may be modified, used, copied, and redistributed at your own risk. + + Although allowed by the preceding license, please do not publicly + redistribute modified versions of this code with the name "Text::Tabs" + unless it passes the unmodified Text::Tabs test suite. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-copyleft_20.RULE + license_expression: other-copyleft + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free and open software. You may use, modify, + distribute, and sell this program (and any modified variants) in any + way you wish, provided you do not restrict others from doing the same. + - score: '90.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_4.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_45.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: placed in the public domain. + - score: '100.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_285.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is in the public domain, + - score: '70.0' + start_line: 10 + end_line: 10 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public-domain + - score: '70.0' + start_line: '19' + end_line: '19' + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 1-hash + rule_length: 208 + matched_length: 208 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_bison-exception-3.0_1.RULE + license_expression: gpl-3.0-plus WITH bison-exception-2.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 121 + matched_length: 121 + match_coverage: '100.0' + rule_relevance: 100 + identifier: paul-hsieh-derivative_1.RULE + license_expression: paul-hsieh-derivative + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The derivative content includes raw computer source code, ideas, + opinions, and excerpts whose original source is covered under another + license and transformations of such derivatives. Note that mere excerpts + by themselves (with the exception of raw source code) are not considered + derivative works under this license. Use and redistribution is limited + to the following conditions: + + One may not create a derivative work which, in any way, violates the + Paul Hsieh exposition license described above on the original content. + + One may not apply a license to a derivative work that precludes + anyone else from using and redistributing derivative content. + + One may not attribute any derivative content to authors not involved + in the creation of the content, though an attribution to the author + is not necessary. + - score: '99.0' + start_line: 4 + end_line: 29 + matcher: 2-aho + rule_length: 217 + matched_length: 217 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-x11_10.RULE + license_expression: bsd-x11 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + Neither my name, Paul Hsieh, nor the names of any other contributors + to the code use may not be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '99.38' + start_line: 1 + end_line: 120 + matcher: 3-seq + rule_length: 975 + matched_length: 969 + match_coverage: '99.38' + rule_relevance: 100 + identifier: cc0-1.0_116.RULE + license_expression: cc0-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + of Purpose + + The laws of most jurisdictions throughout the world automatically confer + exclusive Copyright and Related Rights (defined below) upon the creator + and subsequent owner(s) (each and all, an "owner") of an original work + of authorship and/or a database (each, a "Work"). + + Certain owners wish to permanently relinquish those rights to a Work + for the purpose of contributing to a commons of creative, cultural and + scientific works ("Commons") that the public can reliably and without + fear of later claims of infringement build upon, modify, incorporate in + other works, reuse and redistribute as freely as possible in any form + whatsoever and for any purposes, including without limitation commercial + purposes. These owners may contribute to the Commons to promote the ideal + of a free culture and the further production of creative, cultural and + scientific works, or to gain reputation or greater distribution for + their Work in part through the use and efforts of others. + + For these and/or other purposes and motivations, and without any + expectation of additional consideration or compensation, the person + associating CC0 with a Work (the "Affirmer"), to the extent that + he or she is an owner of Copyright and Related Rights in the Work, + voluntarily elects to apply CC0 to the Work and publicly distribute + the Work under its terms, with knowledge of his or her Copyright and + Related Rights in the Work and the meaning and intended legal effect + of CC0 on those rights. + + 1. Copyright and Related Rights. A Work made available under CC0 may be + protected by copyright and related or neighboring rights ("Copyright + and Related Rights"). Copyright and Related Rights include, but are + not limited to, the following: + + the right to reproduce, adapt, distribute, perform, display, + communicate, and translate a Work; + + moral rights retained by the original author(s) and/or performer(s); + + publicity and privacy rights pertaining to a person's image or + likeness depicted in a Work; + + rights protecting against unfair competition in regards to a Work, + subject to the limitations in paragraph 4(a), below; + + rights protecting the extraction, dissemination, use and reuse of data in a Work; + + database rights (such as those arising under Directive 96/9/EC + of the European Parliament and of the Council of 11 March 1996 + on the legal protection of databases, and under any national + implementation thereof, including any amended or successor version + of such directive); and + + other similar, equivalent or corresponding rights throughout the world + based on applicable law or treaty, and any national implementations + thereof. + + 2. Waiver. To the greatest extent permitted by, but not in contravention + of, applicable law, Affirmer hereby overtly, fully, permanently, + irrevocably and unconditionally waives, abandons, and surrenders all + of Affirmer's Copyright and Related Rights and associated claims and + causes of action, whether now known or unknown (including existing + as well as future claims and causes of action), in the Work (i) in + all territories worldwide, (ii) for the maximum duration provided by + applicable law or treaty (including future time extensions), (iii) + in any current or future medium and for any number of copies, and (iv) + for any purpose whatsoever, including without limitation commercial, + advertising or promotional purposes (the "Waiver"). Affirmer makes the + Waiver for the benefit of each member of the public at large and to the + detriment of Affirmer's heirs and successors, fully intending that such + Waiver shall not be subject to revocation, rescission, cancellation, + termination, or any other legal or equitable action to disrupt the + quiet enjoyment of the Work by the public as contemplated by Affirmer's + express Statement of Purpose. + + 3. Public License Fallback. Should any part of the Waiver for any + reason be judged legally invalid or ineffective under applicable law, + then the Waiver shall be preserved to the maximum extent permitted + taking into account Affirmer's express Statement of Purpose. In + addition, to the extent the Waiver is so judged Affirmer hereby + grants to each affected person a royalty-free, non transferable, non + sublicensable, non exclusive, irrevocable and unconditional license + to exercise Affirmer's Copyright and Related Rights in the Work (i) + in all territories worldwide, (ii) for the maximum duration provided + by applicable law or treaty (including future time extensions), (iii) + in any current or future medium and for any number of copies, and (iv) + for any purpose whatsoever, including without limitation commercial, + advertising or promotional purposes (the "License"). The License shall + be deemed effective as of the date CC0 was applied by Affirmer to the + Work. Should any part of the License for any reason be judged legally + invalid or ineffective under applicable law, such partial invalidity + or ineffectiveness shall not invalidate the remainder of the License, + and in such case Affirmer hereby affirms that he or she will not (i) + exercise any of his or her remaining Copyright and Related Rights in + the Work or (ii) assert any associated claims and causes of action + with respect to the Work, in either case contrary to Affirmer's express + Statement of Purpose. + + 4. Limitations and Disclaimers. + + No trademark or patent rights held by Affirmer are waived, + abandoned, surrendered, licensed or otherwise affected by this + document. + + Affirmer offers the Work as-is and makes no representations or + warranties of any kind concerning the Work, express, implied, + statutory or otherwise, including without limitation warranties + of title, merchantability, fitness for a particular purpose, non + infringement, or the absence of latent or other defects, accuracy, + or the present or absence of errors, whether or not discoverable, + all to the greatest extent permissible under applicable law. + + Affirmer disclaims responsibility for clearing rights of other + persons that may apply to the Work or any use thereof, including + without limitation any person's Copyright and Related Rights in the + Work. Further, Affirmer disclaims responsibility for obtaining any + necessary consents, permissions or other rights required for any + use of the Work. + + Affirmer understands and acknowledges that Creative Commons is not + a party to this document and has no duty or obligation with respect + to this CC0 or use of the Work. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap.LICENSE + license_expression: fsf-ap + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, are + permitted in any medium without royalty provided the copyright notice and + this notice are preserved. This file is offered as-is, without any + warranty. + - score: '100.0' + start_line: 1 + end_line: 125 + matcher: 1-hash + rule_length: 946 + matched_length: 946 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-dist-1.0.LICENSE + license_expression: artistic-dist-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The "Artistic License" + + Preamble + + The intent of this document is to state the conditions under which a + Package may be copied, such that the Copyright Holder maintains some + semblance of artistic control over the development of the Package, + while giving the users of the package the right to use and distribute + the Package in a more-or-less customary fashion, plus the right to make + reasonable modifications. + + It also grants you the rights to reuse parts of a Package in your own + programs without transferring this License to those programs, provided + that you meet some reasonable requirements. + + Definitions: + + "Package" refers to the collection of files distributed by the + Copyright Holder, and derivatives of that collection of files + created through textual modification. + + "Standard Version" refers to such a Package if it has not been + modified, or has been modified in accordance with the wishes + of the Copyright Holder as specified below. + + "Copyright Holder" is whoever is named in the copyright or + copyrights for the package. + + "You" is you, if you're thinking about copying or distributing + this Package. + + "Reasonable copying fee" is whatever you can justify on the + basis of media cost, duplication charges, time of people involved, + and so on. (You will not be required to justify it to the + Copyright Holder, but only to the computing community at large + as a market that must bear the fee.) + + "Freely Available" means that no fee is charged for the item + itself, though there may be fees involved in handling the item. + It also means that recipients of the item may redistribute it + under the same conditions they received it. + + 1. You may make and give away verbatim copies of the source form of the + Standard Version of this Package without restriction, provided that you + duplicate all of the original copyright notices and associated disclaimers. + + 2. You may apply bug fixes, portability fixes and other modifications + derived from the Public Domain or from the Copyright Holder. A Package + modified in such a way shall still be considered the Standard Version. + + 3. You may otherwise modify your copy of this Package in any way, provided + that you insert a prominent notice in each changed file stating how and + when you changed that file, and provided that you do at least ONE of the + following: + + a) place your modifications in the Public Domain or otherwise make them + Freely Available, such as by posting said modifications to Usenet or + an equivalent medium, or placing the modifications on a major archive + site such as uunet.uu.net, or by allowing the Copyright Holder to include + your modifications in the Standard Version of the Package. + + b) use the modified Package only within your corporation or organization. + + c) rename any non-standard executables so the names do not conflict + with standard executables, which must also be provided, and provide + a separate manual page for each non-standard executable that clearly + documents how it differs from the Standard Version. + + d) make other distribution arrangements with the Copyright Holder. + + 4. You may distribute the programs of this Package in object code or + executable form, provided that you do at least ONE of the following: + + a) distribute a Standard Version of the executables and library files, + together with instructions (in the manual page or equivalent) on where + to get the Standard Version. + + b) accompany the distribution with the machine-readable source of + the Package with your modifications. + + c) give non-standard executables non-standard names, and clearly + document the differences in manual pages (or equivalent), together + with instructions on where to get the Standard Version. + + d) make other distribution arrangements with the Copyright Holder. + + 5. You may charge a reasonable copying fee for any distribution of this + Package. You may charge any fee you choose for support of this + Package. You may not charge a fee for this Package itself. However, + you may distribute this Package in aggregate with other (possibly + commercial) programs as part of a larger (possibly commercial) software + distribution provided that you do not advertise this Package as a + product of your own. + + 6. The scripts and library files supplied as input to or produced as + output from the programs of this Package do not automatically fall + under the copyright of this Package, but belong to whoever generated + them, and may be sold commercially, and may be aggregated with this + Package. If such scripts or library files are aggregated with this + Package via the so-called "undump" or "unexec" methods of producing a + binary executable image, then distribution of such an image shall + neither be construed as a distribution of this Package nor shall it + fall under the restrictions of Paragraphs 3 and 4, provided that you do + not represent such an executable image as a Standard Version of this + Package. + + 7. You may reuse parts of this Package in your own programs, provided that + you explicitly state where you got them from, in the source code (and, left + to your courtesy, in the documentation), duplicating all the associated + copyright notices and disclaimers. Besides your changes, if any, must be + clearly marked as such. Parts reused that way will no longer fall under this + license if, and only if, the name of your program(s) have no immediate + connection with the name of the Package itself or its associated programs. + You may then apply whatever restrictions you wish on the reused parts or + choose to place them in the Public Domain--this will apply only within the + context of your package. + + 8. The name of the Copyright Holder may not be used to endorse or promote + products derived from this software without specific prior written permission. + + 9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + The End + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 2-aho + rule_length: 49 + matched_length: 49 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_17.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of either: + + a) the GNU General Public License as published by the Free Software + Foundation; either version 1, or (at your option) any later + version, or + + b) the "Artistic License" which comes with Perl. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_14.RULE + license_expression: unicode + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: For terms of use, see http://www.unicode.org/terms_of_use.html + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_26.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself, either Perl version 5.10.0 or, + at your option, any later version of Perl 5 you may have available. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software. You can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_34.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: All files are licensed under the same terms as Perl itself. + - score: '90.91' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_32.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: The [PerlUi] class is licensed under the same terms as Perl itself. + - score: '91.67' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_31.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: The [Symbian] port is licensed under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that the test code is licensed under the same terms + as Perl. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under the same + terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_25.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_11.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This package has the same copyright and license as the perl core. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the + same terms as Perl itself. + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the + same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 50 + matched_length: 50 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_13.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of either: + + a) the GNU General Public License as published by the Free + Software Foundation; either version 1, or (at your option) any + later version, or + + b) the "Artistic License" which comes with this kit. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_38.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the the Artistic License (2.0). + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 9 + end_line: 11 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_14.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute this work under the terms of either the GNU General + Public License or the Artistic License, as specified in perl's README + file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_15.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_25.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 47 + matched_length: 47 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-2.0-plus_3.RULE + license_expression: artistic-perl-1.0 OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the terms of the Perl Artistic License or the + GNU General Public License as published by the Free Software + Foundation; either version 2 of the License, or (at your option) any + later version. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute + it and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_15.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public License + or the Artistic License, as specified in the LICENCE file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_or_gpl-1.0-plus_or_artistic-perl-1.0_1.RULE + license_expression: mit OR gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is released under the MIT license cited below. Additionally, + when this software is distributed with Perl Kit, Version 5, you may also + redistribute it and/or modify it under the same terms as Perl itself. + - score: '66.67' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 15 + matched_length: 10 + match_coverage: '66.67' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [these] [translations] [are] licensed under the same terms + as + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 2-aho + rule_length: 34 + matched_length: 34 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_8.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + + You may copy and distribute this program under the same terms as + Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 9 + end_line: 18 + matcher: 2-aho + rule_length: 87 + matched_length: 87 + match_coverage: '100.0' + rule_relevance: 100 + identifier: historical_9.RULE + license_expression: historical + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this material + for any purpose and without fee is hereby granted, provided + that the above copyright notice and this permission notice + appear in all copies, and that the name of Bellcore not be + used in advertising or publicity pertaining to this + material without the specific, prior written permission + of an authorized representative of Bellcore. BELLCORE + MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY + OF THIS MATERIAL FOR ANY PURPOSE. IT IS PROVIDED "AS IS", + WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_10.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This module is released under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_5.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; + you can redistribute it and/or modify it under the same terms + as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_5.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_5.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; + you can redistribute it and/or modify it under the same terms + as Perl itself. + - score: '73.33' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 15 + matched_length: 11 + match_coverage: '73.33' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + it is assumed that [it] + is licensed under the same terms as + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '11.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: artistic-2.0_18.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Artistic License. + - score: '100.0' + start_line: 12 + end_line: 16 + matcher: 2-aho + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_286.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples here are in the public + domain. You are permitted and encouraged to use this code and any + derivatives thereof in your own programs for fun or for profit as you + see fit. A simple comment in the code giving credit to the FAQ would + be courteous but is not required. + - score: '100.0' + start_line: 20 + end_line: 22 + matcher: 2-aho + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_and_public-domain-disclaimer_1.RULE + license_expression: artistic-2.0 AND public-domain-disclaimer + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This document is available under the same terms as Perl itself. Code + examples in all the perlfaq documents are in the public domain. Use + them as you see fit (and at your own risk with no warranty from anyone). + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_5.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; + you can redistribute it and/or modify it under the same terms + as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under + the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_6.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 8 + matcher: 2-aho + rule_length: 53 + matched_length: 53 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_287.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples in these files + are hereby placed into the public domain. You are permitted and + encouraged to use this code in your own programs for fun + or for profit as you see fit. A simple comment in the code giving + credit would be courteous but is not required. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '12.7' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 63 + matched_length: 8 + match_coverage: '12.7' + rule_relevance: 100 + identifier: cc0-1.0_or_openssl-ssleay_or_apache-2.0_6.RULE + license_expression: cc0-1.0 OR openssl-ssleay OR apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + http://creativecommons.org/publicdomain/zero/1.0/ + [and] [the] [full] license + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed and/or + modified under the same terms as Perl itself. + - score: '11.84' + start_line: 2 + end_line: 5 + matcher: 3-seq + rule_length: 76 + matched_length: 9 + match_coverage: '11.84' + rule_relevance: 100 + identifier: agpl-3.0_209.RULE + license_expression: agpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + notices this [distribution]. + + [This] [library] [is] [free] [software]; [you] [may] redistribute and/or modify it + under the + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_25.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 7 + matcher: 1-hash + rule_length: 61 + matched_length: 61 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-2.0-plus_2.RULE + license_expression: artistic-perl-1.0 OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + + These terms are your choice of any of (1) the Perl Artistic Licence, + or (2) version 2 of the GNU General Public License as published by the + Free Software Foundation, or (3) any later version of the GNU General + Public License. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the same + terms as Perl. + - score: '84.86' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-new_242.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is licensed under the BSD-[like] license + - score: '11.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: other-permissive_16.RULE + license_expression: other-permissive + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: BSD-like + - score: '73.33' + start_line: 3 + end_line: 4 + matcher: 3-seq + rule_length: 15 + matched_length: 11 + match_coverage: '73.33' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that the [other] [parts] [are] licensed under the same + terms as + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_14.RULE + license_expression: unicode + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: For terms of use, see http://www.unicode.org/terms_of_use.html + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_17.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '80.0' + start_line: 9 + end_line: 10 + matcher: 3-seq + rule_length: 10 + matched_length: 8 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_32.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + licensed under the same terms + as Perl itself + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '73.33' + start_line: 3 + end_line: 3 + matcher: 3-seq + rule_length: 15 + matched_length: 11 + match_coverage: '73.33' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [they] [are] licensed under the same terms as Perl + - score: '95.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 20 + matched_length: '19' + match_coverage: '95.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '15.0' + start_line: 1 + end_line: 1 + matcher: 3-seq + rule_length: 40 + matched_length: 6 + match_coverage: '15.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_perl5_2.RULE + license_expression: artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: You can redistribute and/or modify + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the same terms + as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '34.85' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 66 + matched_length: 23 + match_coverage: '34.85' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_2.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + + [The] [atmark]() [implementation]: [Copyright] [2001], [Lincoln] [Stein] <[lstein]@[cshl].[org]>. + [This] [module] is distributed under + - score: '100.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_11.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This package has the same copyright and license as the perl core. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '90.91' + start_line: 7 + end_line: 8 + matcher: 3-seq + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_763.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + licensed + under the terms of the "BSD-3-clause-[GENERIC]" license + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '95.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 20 + matched_length: '19' + match_coverage: '95.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: warranty-disclaimer_50.RULE + license_expression: warranty-disclaimer + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + provided "as is" without express + or implied warranty. + - score: '75.0' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 20 + matched_length: 15 + match_coverage: '75.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It may be used, redistributed and/or modified + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '80.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that [this] + [distribution] is licensed under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '95.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 20 + matched_length: '19' + match_coverage: '95.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '80.0' + start_line: 3 + end_line: 4 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that [it] is licensed under + the same terms as Perl + - score: '80.0' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [this] [file] is licensed under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_26.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Artistic/' + - score: '50.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 50 + identifier: gpl_bare_word_only.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '90.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: artistic-1.0_11.RULE + license_expression: artistic-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the artistic license. + - score: '80.0' + start_line: 3 + end_line: 3 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [it] is licensed under the same terms as Perl + - score: '80.0' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + it is assumed that [this] [file] is licensed under the same terms + as Perl + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself, + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: artistic-1.0_11.RULE + license_expression: artistic-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the Artistic License. + - score: '80.0' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [it] is licensed under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the same terms as Perl + itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_6.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 8 + matcher: 2-aho + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_286.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples here are in the public + domain. You are permitted and encouraged to use this code and any + derivatives thereof in your own programs for fun or for profit as you + see fit. A simple comment in the code giving credit to the FAQ would + be courteous but is not required. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_and_public-domain-disclaimer_1.RULE + license_expression: artistic-2.0 AND public-domain-disclaimer + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This document is available under the same terms as Perl itself. Code + examples in all the perlfaq documents are in the public domain. Use + them as you see fit (and at your own risk with no warranty from anyone). + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_6.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 8 + matcher: 2-aho + rule_length: 53 + matched_length: 53 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_287.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples in these files are + hereby placed into the public domain. You are permitted and + encouraged to use this code in your own programs for fun or for profit + as you see fit. A simple comment in the code giving credit would be + courteous but is not required. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it under + the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_6.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 8 + matcher: 2-aho + rule_length: 53 + matched_length: 53 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_287.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples in these files are + hereby placed into the public domain. You are permitted and + encouraged to use this code in your own programs for fun or for profit + as you see fit. A simple comment in the code giving credit would be + courteous but is not required. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '21.28' + start_line: 17 + end_line: '19' + matcher: 3-seq + rule_length: 47 + matched_length: 10 + match_coverage: '21.28' + rule_relevance: 100 + identifier: artistic-2.0_4.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the "Artistic License" which comes with Perl, [or] + + [b]) the "Artistic License" + - score: '57.14' + start_line: 21 + end_line: 26 + matcher: 3-seq + rule_length: 49 + matched_length: 28 + match_coverage: '57.14' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_17.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License as published by the Free + Software Foundation; either version 1, or (at your option) any + later version ([see] [the] [file] "[Copying]" [that] [comes] [with] [the] + [Perl] [distribution]). + + [The] [full] [text] [of] the "Artistic License" which comes with + - score: '83.33' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_31.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: licensed under the [modified] Artistic license + - score: '11.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: artistic-2.0_18.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Artistic License. + - score: '100.0' + start_line: 18 + end_line: 18 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_298.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: in the Public Domain-- + - score: '11.0' + start_line: 27 + end_line: 27 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: artistic-2.0_18.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Artistic license. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 2-aho + rule_length: 49 + matched_length: 49 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_17.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of either: + + a) the GNU General Public License as published by the Free Software + Foundation; either version 1, or (at your option) any later + version, or + + b) the "Artistic License" which comes with Perl. + - score: '100.0' + start_line: 11 + end_line: 11 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_577.RULE + license_expression: mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the Expat license. + - score: '55.0' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 20 + matched_length: 11 + match_coverage: '55.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + redistributed + and/or modified under the same terms as Perl itself. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/perl/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/perl/copyright.expected.yml index 41dcd454bd5..fc562ced823 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/perl/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/perl/copyright.expected.yml @@ -1,4 +1,6 @@ -- - GPL-1+ or Artistic +primary_license: (gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0) +declared_license: + - GPL-1+ or Artistic - Expat - REGCOMP, and GPL-1+ or Artistic - GPL-3+-WITH-BISON-EXCEPTION @@ -32,20 +34,31 @@ - REGCOMP - HSIEH-DERIVATIVE - HSIEH-BSD -- ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND mit AND (regexp AND - ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0))) AND gpl-3.0-plus WITH - bison-exception-2.2 AND unicode-dfs-2015 AND (((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND unicode-dfs-2015) AND other-copyleft AND bzip2-libbzip-2010 AND - zlib AND (artistic-2.0 AND artistic-perl-1.0) AND ((gpl-2.0-plus AND gpl-2.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND (mit OR (gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND fsf-ap AND bsd-new AND (cc0-1.0 AND cc0-1.0) AND other-permissive AND (((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND bsd-original) AND (((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND bsd-new) AND bsd-new AND (public-domain - AND public-domain AND public-domain AND public-domain) AND other-copyleft AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0) OR artistic-dist-1.0) AND artistic-dist-1.0 - AND ((artistic-2.0 AND artistic-perl-1.0) OR (gpl-1.0-plus AND gpl-1.0) OR artistic-dist-1.0) - AND (((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND mit) -- | +license_expression: ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND + (gpl-1.0-plus OR artistic-perl-1.0) AND mit AND (regexp AND ((gpl-1.0-plus AND gpl-1.0) OR + (artistic-2.0 AND artistic-perl-1.0))) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND gpl-3.0-plus + WITH bison-exception-2.2 AND unicode-dfs-2015 AND unicode AND (((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND unicode-dfs-2015) AND (gpl-1.0-plus OR artistic-1.0) + AND other-copyleft AND bzip2-libbzip-2010 AND zlib AND (artistic-2.0 AND artistic-perl-1.0) + AND artistic-2.0 AND ((gpl-2.0-plus AND gpl-2.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-2.0-plus) AND (mit OR (gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 + AND artistic-perl-1.0)) AND (mit OR gpl-1.0-plus OR artistic-perl-1.0) AND ((artistic-perl-1.0 + OR gpl-1.0-plus) AND historical) AND fsf-ap AND (artistic-2.0 AND public-domain AND (artistic-2.0 + AND public-domain-disclaimer)) AND bsd-new AND ((gpl-1.0-plus OR artistic-perl-1.0) AND public-domain) + AND cc0-1.0 AND (cc0-1.0 OR openssl-ssleay OR apache-2.0) AND (agpl-3.0 AND (artistic-perl-1.0 + OR gpl-1.0-plus)) AND other-permissive AND (((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND bsd-original) AND (bsd-new AND other-permissive AND (artistic-perl-1.0 + OR gpl-1.0-plus)) AND (artistic-perl-1.0 AND (gpl-1.0-plus OR artistic-perl-1.0)) AND ((artistic-perl-1.0 + OR gpl-1.0-plus) AND (gpl-1.0-plus OR artistic-perl-1.0)) AND (((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND bsd-new) AND ((artistic-perl-1.0 OR gpl-1.0-plus) + AND bsd-new) AND (warranty-disclaimer AND (gpl-1.0-plus OR artistic-perl-1.0)) AND (artistic-2.0 + AND gpl-1.0-plus) AND artistic-1.0 AND public-domain AND (artistic-2.0 AND public-domain-disclaimer) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0) OR artistic-dist-1.0) + AND (artistic-2.0 AND (gpl-1.0-plus OR artistic-perl-1.0)) AND artistic-dist-1.0 AND ((artistic-2.0 + AND artistic-perl-1.0) OR (gpl-1.0-plus AND gpl-1.0) OR artistic-dist-1.0) AND (artistic-2.0 + AND public-domain) AND (((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND mit) AND ((gpl-1.0-plus OR artistic-perl-1.0) AND mit) +copyright: | Perl is Copyright (C) 1987-2018 by Larry Wall and others. All rights reserved. Copyright (c) 1996-2006, Nick Ing-Simmons Copyright (c) 2006, 2007, 2008 Larry Wall and others @@ -74,7 +87,6 @@ Copyright 2006 by Marcus Holland-Moritz . © 1991-2016 Unicode®, Inc. Copyright (C) 2009, 2011 - unknown Copyright (c) 1995 Graham Barr & Nick Ing-Simmons. All rights reserved. Copyright (c) Nokia 2004-2005. All rights reserved. Copyright (c) 2006 Alexander Smishlajev. All rights reserved. @@ -222,7 +234,6 @@ Copyright (c) 1996 by Eryq. All rights reserved. Copyright (c) 1999,2001 by ZeeGee Software Inc. All rights reserved. Copyright 2003 by Fergal Daly . - none To the extent possible under law, 唐鳳 has waived all copyright and related or neighboring rights to L Copyright 1997 - 2001 Damian Conway. All Rights Reserved. @@ -357,3 +368,5016 @@ Copyright (c) 2017 Dagfinn Ilmari Mannsåker Copyright (c) 2017, Karl Williamson Portions Copyright (c) 2008-2009 Bjoern Hoehrmann +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_249.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the LGPL 2.1 + license can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_395.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-1+' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0_38.RULE + license_expression: gpl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-1'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1040.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of version 2 of + the GNU General Public License can be found in + `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_26.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: artistic' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 21 + matched_length: 21 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_2.RULE + license_expression: artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the + Artistic Licence can be found in `/usr/share/common-licenses/Artistic'. + - score: '100.0' + start_line: 1 + end_line: 182 + matcher: 1-hash + rule_length: 1351 + matched_length: 1351 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_36.RULE + license_expression: artistic-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copyright (c) 2000-2006, The Perl Foundation. + + Everyone is permitted to copy and distribute verbatim copies of this + license document, but changing it is not allowed. + + Preamble + + This license establishes the terms under which a given free software + Package may be copied, modified, distributed, and/or redistributed. + The intent is that the Copyright Holder maintains some artistic + control over the development of that Package while still keeping the + Package available as open source and free software. + + You are always permitted to make arrangements wholly outside of this + license directly with the Copyright Holder of a given Package. If the + terms of this license do not permit the full use that you propose to + make of the Package, you should contact the Copyright Holder and seek + a different licensing arrangement. + + Definitions + + "Copyright Holder" means the individual(s) or organization(s) named in + the copyright notice for the entire Package. + + "Contributor" means any party that has contributed code or other + material to the Package, in accordance with the Copyright Holder's + procedures. + + "You" and "your" means any person who would like to copy, distribute, + or modify the Package. + + "Package" means the collection of files distributed by the Copyright + Holder, and derivatives of that collection and/or of those files. A + given Package may consist of either the Standard Version, or a + Modified Version. + + "Distribute" means providing a copy of the Package or making it + accessible to anyone else, or in the case of a company or + organization, to others outside of your company or organization. + + "Distributor Fee" means any fee that you charge for Distributing this + Package or providing support for this Package to another party. It + does not mean licensing fees. + + "Standard Version" refers to the Package if it has not been modified, + or has been modified only in ways explicitly requested by the + Copyright Holder. + + "Modified Version" means the Package, if it has been changed, and such + changes were not explicitly requested by the Copyright Holder. + + "Original License" means this Artistic License as Distributed with the + Standard Version of the Package, in its current version or as it may + be modified by The Perl Foundation in the future. + + "Source" form means the source code, documentation source, and + configuration files for the Package. + + "Compiled" form means the compiled bytecode, object code, binary, or + any other form resulting from mechanical transformation or translation + of the Source form. + + Permission for Use and Modification Without Distribution + + (1) You are permitted to use the Standard Version and create and use + Modified Versions for any purpose without restriction, provided that + you do not Distribute the Modified Version. + + Permissions for Redistribution of the Standard Version + + (2) You may Distribute verbatim copies of the Source form of the + Standard Version of this Package in any medium without restriction, + either gratis or for a Distributor Fee, provided that you duplicate + all of the original copyright notices and associated disclaimers. At + your discretion, such verbatim copies may or may not include a + Compiled form of the Package. + + (3) You may apply any bug fixes, portability changes, and other + modifications made available from the Copyright Holder. The resulting + Package will still be considered the Standard Version, and as such + will be subject to the Original License. + + Distribution of Modified Versions of the Package as Source + + (4) You may Distribute your Modified Version as Source (either gratis + or for a Distributor Fee, and with or without a Compiled form of the + Modified Version) provided that you clearly document how it differs + from the Standard Version, including, but not limited to, documenting + any non-standard features, executables, or modules, and provided that + you do at least ONE of the following: + + (a) make the Modified Version available to the Copyright Holder of the + Standard Version, under the Original License, so that the Copyright + Holder may include your modifications in the Standard Version. (b) + ensure that installation of your Modified Version does not prevent the + user installing or running the Standard Version. In addition, the + Modified Version must bear a name that is different from the name of + the Standard Version. (c) allow anyone who receives a copy of the + Modified Version to make the Source form of the Modified Version + available to others under (i) the Original License or (ii) a license + that permits the licensee to freely copy, modify and redistribute the + Modified Version using the same licensing terms that apply to the copy + that the licensee received, and requires that the Source form of the + Modified Version, and of any works derived from it, be made freely + available in that license fees are prohibited but Distributor Fees are + allowed. + + Distribution of Compiled Forms of the Standard Version or Modified + Versions without the Source + + (5) You may Distribute Compiled forms of the Standard Version without + the Source, provided that you include complete instructions on how to + get the Source of the Standard Version. Such instructions must be + valid at the time of your distribution. If these instructions, at any + time while you are carrying out such distribution, become invalid, you + must provide new instructions on demand or cease further distribution. + If you provide valid instructions or cease distribution within thirty + days after you become aware that the instructions are invalid, then + you do not forfeit any of your rights under this license. + + (6) You may Distribute a Modified Version in Compiled form without the + Source, provided that you comply with Section 4 with respect to the + Source of the Modified Version. + + Aggregating or Linking the Package + + (7) You may aggregate the Package (either the Standard Version or + Modified Version) with other packages and Distribute the resulting + aggregation provided that you do not charge a licensing fee for the + Package. Distributor Fees are permitted, and licensing fees for other + components in the aggregation are permitted. The terms of this license + apply to the use and Distribution of the Standard or Modified Versions + as included in the aggregation. + + (8) You are permitted to link Modified and Standard Versions with + other works, to embed the Package in a larger work of your own, or to + build stand-alone binary or bytecode versions of applications that + include the Package, and Distribute the result without restriction, + provided the result does not expose a direct interface to the Package. + + Items That are Not Considered Part of a Modified Version + + (9) Works (including, but not limited to, modules and scripts) that + merely extend or make use of the Package, do not, by themselves, cause + the Package to be a Modified Version. In addition, such works are not + considered parts of the Package itself, and are not subject to the + terms of this license. + + General Provisions + + (10) Any use, modification, and distribution of the Standard or + Modified Versions is governed by this Artistic License. By using, + modifying or distributing the Package, you accept this license. Do not + use, modify, or distribute the Package, if you do not accept this + license. + + (11) If your Modified Version has been derived from a Modified Version + made by someone other than you, you are nevertheless required to + ensure that your Modified Version complies with the requirements of + this license. + + (12) This license does not grant you the right to use any trademark, + service mark, tradename, or logo of the Copyright Holder. + + (13) This license includes the non-exclusive, worldwide, + free-of-charge patent license to make, have made, use, offer to sell, + sell, import and otherwise transfer the Package with respect to any + patent claims licensable by the Copyright Holder that are necessarily + infringed by the Package. If you institute patent litigation + (including a cross-claim or counterclaim) against any party alleging + that the Package constitutes direct or contributory patent + infringement, then this Artistic License to you shall terminate on the + date that such litigation is filed. + + (14) Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT + HOLDER AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED + WARRANTIES. THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A + PARTICULAR PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT + PERMITTED BY YOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT + HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE + OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 30 + matcher: 2-aho + rule_length: 233 + matched_length: 233 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bzip2-libbzip-2010.LICENSE + license_expression: bzip2-libbzip-2010 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + . + 2. The origin of this software must not be misrepresented; you must + not claim that you wrote the original software. If you use this + software in a product, an acknowledgment in the product + documentation would be appreciated but is not required. + . + 3. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + . + 4. The name of the author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + . + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + . + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_42.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 4. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '96.49' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 220 + matched_length: 220 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original_48.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer + in the documentation and/or other materials provided with the + distribution. + 3. All advertising materials mentioning features or use of this + software must display the following acknowledgement: + This product includes software developed by [Powerdog] [Industries]. + 4. The name of [Powerdog] [Industries] may not be used to endorse or + promote products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY [POWERDOG] [INDUSTRIES] ``AS IS'' AND ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE [POWERDOG] [INDUSTRIES] BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '99.78' + start_line: 2 + end_line: 56 + matcher: 3-seq + rule_length: 464 + matched_length: 463 + match_coverage: '99.78' + rule_relevance: 100 + identifier: unicode-dfs-2015_1.RULE + license_expression: unicode-dfs-2015 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE + + Unicode Data Files include all data files under the directories + http://www.unicode.org/Public/, http://www.unicode.org/reports/, + and http://www.unicode.org/cldr/data/ . Unicode Data Files + do not include PDF online code charts under the directory + http://www.unicode.org/Public/. Software includes any + source code published in the Unicode Standard or under the directories + http://www.unicode.org/Public/, http://www.unicode.org/reports/, + and http://www.unicode.org/cldr/data/. + + NOTICE TO USER: Carefully read the following legal agreement. BY + DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE + INC.'S DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"), YOU + UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE TERMS AND + CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT DOWNLOAD, + INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE. + + COPYRIGHT AND PERMISSION NOTICE + + Copyright © 1991-[2011] Unicode, Inc. All rights + reserved. Distributed under the Terms of Use in + http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person + obtaining a copy of the Unicode data files and any associated + documentation (the "Data Files") or Unicode software and any + associated documentation (the "Software") to deal in the Data Files + or Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, + and/or sell copies of the Data Files or Software, and to permit + persons to whom the Data Files or Software are furnished to do so, + provided that (a) the above copyright notice(s) and this permission + notice appear with all copies of the Data Files or Software, + (b) both the above copyright notice(s) and this permission notice + appear in associated documentation, and (c) there is clear notice + in each modified Data File or in the Software as well as in the + documentation associated with the Data File(s) or Software that + the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY + OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE + WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE + AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE + COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE + FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, + OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR + PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THE DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in these Data Files or Software without + prior written authorization of the copyright holder. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 207 + matched_length: 207 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_313.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: regexp.LICENSE + license_expression: regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to anyone to use this software for any + purpose on any computer system, and to redistribute it freely, + subject to the following restrictions: + + 1. The author is not responsible for the consequences of use of + this software, no matter how awful, even if they arise + from defects in it. + + 2. The origin of this software must not be misrepresented, either + by explicit claim or by omission. + + 3. Altered versions must be plainly marked as such, and must not + be misrepresented as being the original software. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_212.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module may be modified, used, copied, and redistributed at your own risk. + + Although allowed by the preceding license, please do not publicly + redistribute modified versions of this code with the name "Text::Tabs" + unless it passes the unmodified Text::Tabs test suite. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-copyleft_20.RULE + license_expression: other-copyleft + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free and open software. You may use, modify, + distribute, and sell this program (and any modified variants) in any + way you wish, provided you do not restrict others from doing the same. + - score: '90.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_4.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_45.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: placed in the public domain. + - score: '100.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_285.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is in the public domain, + - score: '70.0' + start_line: 10 + end_line: 10 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public-domain + - score: '70.0' + start_line: '19' + end_line: '19' + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 1-hash + rule_length: 208 + matched_length: 208 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_bison-exception-3.0_1.RULE + license_expression: gpl-3.0-plus WITH bison-exception-2.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 121 + matched_length: 121 + match_coverage: '100.0' + rule_relevance: 100 + identifier: paul-hsieh-derivative_1.RULE + license_expression: paul-hsieh-derivative + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The derivative content includes raw computer source code, ideas, + opinions, and excerpts whose original source is covered under another + license and transformations of such derivatives. Note that mere excerpts + by themselves (with the exception of raw source code) are not considered + derivative works under this license. Use and redistribution is limited + to the following conditions: + + One may not create a derivative work which, in any way, violates the + Paul Hsieh exposition license described above on the original content. + + One may not apply a license to a derivative work that precludes + anyone else from using and redistributing derivative content. + + One may not attribute any derivative content to authors not involved + in the creation of the content, though an attribution to the author + is not necessary. + - score: '99.0' + start_line: 4 + end_line: 29 + matcher: 2-aho + rule_length: 217 + matched_length: 217 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-x11_10.RULE + license_expression: bsd-x11 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + Neither my name, Paul Hsieh, nor the names of any other contributors + to the code use may not be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '99.38' + start_line: 1 + end_line: 120 + matcher: 3-seq + rule_length: 975 + matched_length: 969 + match_coverage: '99.38' + rule_relevance: 100 + identifier: cc0-1.0_116.RULE + license_expression: cc0-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + of Purpose + + The laws of most jurisdictions throughout the world automatically confer + exclusive Copyright and Related Rights (defined below) upon the creator + and subsequent owner(s) (each and all, an "owner") of an original work + of authorship and/or a database (each, a "Work"). + + Certain owners wish to permanently relinquish those rights to a Work + for the purpose of contributing to a commons of creative, cultural and + scientific works ("Commons") that the public can reliably and without + fear of later claims of infringement build upon, modify, incorporate in + other works, reuse and redistribute as freely as possible in any form + whatsoever and for any purposes, including without limitation commercial + purposes. These owners may contribute to the Commons to promote the ideal + of a free culture and the further production of creative, cultural and + scientific works, or to gain reputation or greater distribution for + their Work in part through the use and efforts of others. + + For these and/or other purposes and motivations, and without any + expectation of additional consideration or compensation, the person + associating CC0 with a Work (the "Affirmer"), to the extent that + he or she is an owner of Copyright and Related Rights in the Work, + voluntarily elects to apply CC0 to the Work and publicly distribute + the Work under its terms, with knowledge of his or her Copyright and + Related Rights in the Work and the meaning and intended legal effect + of CC0 on those rights. + + 1. Copyright and Related Rights. A Work made available under CC0 may be + protected by copyright and related or neighboring rights ("Copyright + and Related Rights"). Copyright and Related Rights include, but are + not limited to, the following: + + the right to reproduce, adapt, distribute, perform, display, + communicate, and translate a Work; + + moral rights retained by the original author(s) and/or performer(s); + + publicity and privacy rights pertaining to a person's image or + likeness depicted in a Work; + + rights protecting against unfair competition in regards to a Work, + subject to the limitations in paragraph 4(a), below; + + rights protecting the extraction, dissemination, use and reuse of data in a Work; + + database rights (such as those arising under Directive 96/9/EC + of the European Parliament and of the Council of 11 March 1996 + on the legal protection of databases, and under any national + implementation thereof, including any amended or successor version + of such directive); and + + other similar, equivalent or corresponding rights throughout the world + based on applicable law or treaty, and any national implementations + thereof. + + 2. Waiver. To the greatest extent permitted by, but not in contravention + of, applicable law, Affirmer hereby overtly, fully, permanently, + irrevocably and unconditionally waives, abandons, and surrenders all + of Affirmer's Copyright and Related Rights and associated claims and + causes of action, whether now known or unknown (including existing + as well as future claims and causes of action), in the Work (i) in + all territories worldwide, (ii) for the maximum duration provided by + applicable law or treaty (including future time extensions), (iii) + in any current or future medium and for any number of copies, and (iv) + for any purpose whatsoever, including without limitation commercial, + advertising or promotional purposes (the "Waiver"). Affirmer makes the + Waiver for the benefit of each member of the public at large and to the + detriment of Affirmer's heirs and successors, fully intending that such + Waiver shall not be subject to revocation, rescission, cancellation, + termination, or any other legal or equitable action to disrupt the + quiet enjoyment of the Work by the public as contemplated by Affirmer's + express Statement of Purpose. + + 3. Public License Fallback. Should any part of the Waiver for any + reason be judged legally invalid or ineffective under applicable law, + then the Waiver shall be preserved to the maximum extent permitted + taking into account Affirmer's express Statement of Purpose. In + addition, to the extent the Waiver is so judged Affirmer hereby + grants to each affected person a royalty-free, non transferable, non + sublicensable, non exclusive, irrevocable and unconditional license + to exercise Affirmer's Copyright and Related Rights in the Work (i) + in all territories worldwide, (ii) for the maximum duration provided + by applicable law or treaty (including future time extensions), (iii) + in any current or future medium and for any number of copies, and (iv) + for any purpose whatsoever, including without limitation commercial, + advertising or promotional purposes (the "License"). The License shall + be deemed effective as of the date CC0 was applied by Affirmer to the + Work. Should any part of the License for any reason be judged legally + invalid or ineffective under applicable law, such partial invalidity + or ineffectiveness shall not invalidate the remainder of the License, + and in such case Affirmer hereby affirms that he or she will not (i) + exercise any of his or her remaining Copyright and Related Rights in + the Work or (ii) assert any associated claims and causes of action + with respect to the Work, in either case contrary to Affirmer's express + Statement of Purpose. + + 4. Limitations and Disclaimers. + + No trademark or patent rights held by Affirmer are waived, + abandoned, surrendered, licensed or otherwise affected by this + document. + + Affirmer offers the Work as-is and makes no representations or + warranties of any kind concerning the Work, express, implied, + statutory or otherwise, including without limitation warranties + of title, merchantability, fitness for a particular purpose, non + infringement, or the absence of latent or other defects, accuracy, + or the present or absence of errors, whether or not discoverable, + all to the greatest extent permissible under applicable law. + + Affirmer disclaims responsibility for clearing rights of other + persons that may apply to the Work or any use thereof, including + without limitation any person's Copyright and Related Rights in the + Work. Further, Affirmer disclaims responsibility for obtaining any + necessary consents, permissions or other rights required for any + use of the Work. + + Affirmer understands and acknowledges that Creative Commons is not + a party to this document and has no duty or obligation with respect + to this CC0 or use of the Work. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap.LICENSE + license_expression: fsf-ap + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, are + permitted in any medium without royalty provided the copyright notice and + this notice are preserved. This file is offered as-is, without any + warranty. + - score: '100.0' + start_line: 1 + end_line: 125 + matcher: 1-hash + rule_length: 946 + matched_length: 946 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-dist-1.0.LICENSE + license_expression: artistic-dist-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The "Artistic License" + + Preamble + + The intent of this document is to state the conditions under which a + Package may be copied, such that the Copyright Holder maintains some + semblance of artistic control over the development of the Package, + while giving the users of the package the right to use and distribute + the Package in a more-or-less customary fashion, plus the right to make + reasonable modifications. + + It also grants you the rights to reuse parts of a Package in your own + programs without transferring this License to those programs, provided + that you meet some reasonable requirements. + + Definitions: + + "Package" refers to the collection of files distributed by the + Copyright Holder, and derivatives of that collection of files + created through textual modification. + + "Standard Version" refers to such a Package if it has not been + modified, or has been modified in accordance with the wishes + of the Copyright Holder as specified below. + + "Copyright Holder" is whoever is named in the copyright or + copyrights for the package. + + "You" is you, if you're thinking about copying or distributing + this Package. + + "Reasonable copying fee" is whatever you can justify on the + basis of media cost, duplication charges, time of people involved, + and so on. (You will not be required to justify it to the + Copyright Holder, but only to the computing community at large + as a market that must bear the fee.) + + "Freely Available" means that no fee is charged for the item + itself, though there may be fees involved in handling the item. + It also means that recipients of the item may redistribute it + under the same conditions they received it. + + 1. You may make and give away verbatim copies of the source form of the + Standard Version of this Package without restriction, provided that you + duplicate all of the original copyright notices and associated disclaimers. + + 2. You may apply bug fixes, portability fixes and other modifications + derived from the Public Domain or from the Copyright Holder. A Package + modified in such a way shall still be considered the Standard Version. + + 3. You may otherwise modify your copy of this Package in any way, provided + that you insert a prominent notice in each changed file stating how and + when you changed that file, and provided that you do at least ONE of the + following: + + a) place your modifications in the Public Domain or otherwise make them + Freely Available, such as by posting said modifications to Usenet or + an equivalent medium, or placing the modifications on a major archive + site such as uunet.uu.net, or by allowing the Copyright Holder to include + your modifications in the Standard Version of the Package. + + b) use the modified Package only within your corporation or organization. + + c) rename any non-standard executables so the names do not conflict + with standard executables, which must also be provided, and provide + a separate manual page for each non-standard executable that clearly + documents how it differs from the Standard Version. + + d) make other distribution arrangements with the Copyright Holder. + + 4. You may distribute the programs of this Package in object code or + executable form, provided that you do at least ONE of the following: + + a) distribute a Standard Version of the executables and library files, + together with instructions (in the manual page or equivalent) on where + to get the Standard Version. + + b) accompany the distribution with the machine-readable source of + the Package with your modifications. + + c) give non-standard executables non-standard names, and clearly + document the differences in manual pages (or equivalent), together + with instructions on where to get the Standard Version. + + d) make other distribution arrangements with the Copyright Holder. + + 5. You may charge a reasonable copying fee for any distribution of this + Package. You may charge any fee you choose for support of this + Package. You may not charge a fee for this Package itself. However, + you may distribute this Package in aggregate with other (possibly + commercial) programs as part of a larger (possibly commercial) software + distribution provided that you do not advertise this Package as a + product of your own. + + 6. The scripts and library files supplied as input to or produced as + output from the programs of this Package do not automatically fall + under the copyright of this Package, but belong to whoever generated + them, and may be sold commercially, and may be aggregated with this + Package. If such scripts or library files are aggregated with this + Package via the so-called "undump" or "unexec" methods of producing a + binary executable image, then distribution of such an image shall + neither be construed as a distribution of this Package nor shall it + fall under the restrictions of Paragraphs 3 and 4, provided that you do + not represent such an executable image as a Standard Version of this + Package. + + 7. You may reuse parts of this Package in your own programs, provided that + you explicitly state where you got them from, in the source code (and, left + to your courtesy, in the documentation), duplicating all the associated + copyright notices and disclaimers. Besides your changes, if any, must be + clearly marked as such. Parts reused that way will no longer fall under this + license if, and only if, the name of your program(s) have no immediate + connection with the name of the Package itself or its associated programs. + You may then apply whatever restrictions you wish on the reused parts or + choose to place them in the Public Domain--this will apply only within the + context of your package. + + 8. The name of the Copyright Holder may not be used to endorse or promote + products derived from this software without specific prior written permission. + + 9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + The End + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 2-aho + rule_length: 49 + matched_length: 49 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_17.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of either: + + a) the GNU General Public License as published by the Free Software + Foundation; either version 1, or (at your option) any later + version, or + + b) the "Artistic License" which comes with Perl. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_14.RULE + license_expression: unicode + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: For terms of use, see http://www.unicode.org/terms_of_use.html + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_26.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself, either Perl version 5.10.0 or, + at your option, any later version of Perl 5 you may have available. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software. You can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_34.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: All files are licensed under the same terms as Perl itself. + - score: '90.91' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_32.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: The [PerlUi] class is licensed under the same terms as Perl itself. + - score: '91.67' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_31.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: The [Symbian] port is licensed under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that the test code is licensed under the same terms + as Perl. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under the same + terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_25.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_11.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This package has the same copyright and license as the perl core. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the + same terms as Perl itself. + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the + same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 50 + matched_length: 50 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_13.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of either: + + a) the GNU General Public License as published by the Free + Software Foundation; either version 1, or (at your option) any + later version, or + + b) the "Artistic License" which comes with this kit. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_38.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the the Artistic License (2.0). + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 9 + end_line: 11 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_14.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute this work under the terms of either the GNU General + Public License or the Artistic License, as specified in perl's README + file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_15.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_25.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 47 + matched_length: 47 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-2.0-plus_3.RULE + license_expression: artistic-perl-1.0 OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the terms of the Perl Artistic License or the + GNU General Public License as published by the Free Software + Foundation; either version 2 of the License, or (at your option) any + later version. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute + it and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_15.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public License + or the Artistic License, as specified in the LICENCE file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_or_gpl-1.0-plus_or_artistic-perl-1.0_1.RULE + license_expression: mit OR gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is released under the MIT license cited below. Additionally, + when this software is distributed with Perl Kit, Version 5, you may also + redistribute it and/or modify it under the same terms as Perl itself. + - score: '66.67' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 15 + matched_length: 10 + match_coverage: '66.67' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [these] [translations] [are] licensed under the same terms + as + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 2-aho + rule_length: 34 + matched_length: 34 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_8.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + + You may copy and distribute this program under the same terms as + Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 9 + end_line: 18 + matcher: 2-aho + rule_length: 87 + matched_length: 87 + match_coverage: '100.0' + rule_relevance: 100 + identifier: historical_9.RULE + license_expression: historical + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this material + for any purpose and without fee is hereby granted, provided + that the above copyright notice and this permission notice + appear in all copies, and that the name of Bellcore not be + used in advertising or publicity pertaining to this + material without the specific, prior written permission + of an authorized representative of Bellcore. BELLCORE + MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY + OF THIS MATERIAL FOR ANY PURPOSE. IT IS PROVIDED "AS IS", + WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_10.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This module is released under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_5.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; + you can redistribute it and/or modify it under the same terms + as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_5.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_5.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; + you can redistribute it and/or modify it under the same terms + as Perl itself. + - score: '73.33' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 15 + matched_length: 11 + match_coverage: '73.33' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + it is assumed that [it] + is licensed under the same terms as + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '11.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: artistic-2.0_18.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Artistic License. + - score: '100.0' + start_line: 12 + end_line: 16 + matcher: 2-aho + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_286.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples here are in the public + domain. You are permitted and encouraged to use this code and any + derivatives thereof in your own programs for fun or for profit as you + see fit. A simple comment in the code giving credit to the FAQ would + be courteous but is not required. + - score: '100.0' + start_line: 20 + end_line: 22 + matcher: 2-aho + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_and_public-domain-disclaimer_1.RULE + license_expression: artistic-2.0 AND public-domain-disclaimer + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This document is available under the same terms as Perl itself. Code + examples in all the perlfaq documents are in the public domain. Use + them as you see fit (and at your own risk with no warranty from anyone). + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_5.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; + you can redistribute it and/or modify it under the same terms + as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under + the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_6.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 8 + matcher: 2-aho + rule_length: 53 + matched_length: 53 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_287.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples in these files + are hereby placed into the public domain. You are permitted and + encouraged to use this code in your own programs for fun + or for profit as you see fit. A simple comment in the code giving + credit would be courteous but is not required. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '12.7' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 63 + matched_length: 8 + match_coverage: '12.7' + rule_relevance: 100 + identifier: cc0-1.0_or_openssl-ssleay_or_apache-2.0_6.RULE + license_expression: cc0-1.0 OR openssl-ssleay OR apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + http://creativecommons.org/publicdomain/zero/1.0/ + [and] [the] [full] license + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed and/or + modified under the same terms as Perl itself. + - score: '11.84' + start_line: 2 + end_line: 5 + matcher: 3-seq + rule_length: 76 + matched_length: 9 + match_coverage: '11.84' + rule_relevance: 100 + identifier: agpl-3.0_209.RULE + license_expression: agpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + notices this [distribution]. + + [This] [library] [is] [free] [software]; [you] [may] redistribute and/or modify it + under the + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_25.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 7 + matcher: 1-hash + rule_length: 61 + matched_length: 61 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-2.0-plus_2.RULE + license_expression: artistic-perl-1.0 OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + + These terms are your choice of any of (1) the Perl Artistic Licence, + or (2) version 2 of the GNU General Public License as published by the + Free Software Foundation, or (3) any later version of the GNU General + Public License. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the same + terms as Perl. + - score: '84.86' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-new_242.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is licensed under the BSD-[like] license + - score: '11.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: other-permissive_16.RULE + license_expression: other-permissive + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: BSD-like + - score: '73.33' + start_line: 3 + end_line: 4 + matcher: 3-seq + rule_length: 15 + matched_length: 11 + match_coverage: '73.33' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that the [other] [parts] [are] licensed under the same + terms as + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_14.RULE + license_expression: unicode + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: For terms of use, see http://www.unicode.org/terms_of_use.html + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_17.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '80.0' + start_line: 9 + end_line: 10 + matcher: 3-seq + rule_length: 10 + matched_length: 8 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_32.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + licensed under the same terms + as Perl itself + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '73.33' + start_line: 3 + end_line: 3 + matcher: 3-seq + rule_length: 15 + matched_length: 11 + match_coverage: '73.33' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [they] [are] licensed under the same terms as Perl + - score: '95.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 20 + matched_length: '19' + match_coverage: '95.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '15.0' + start_line: 1 + end_line: 1 + matcher: 3-seq + rule_length: 40 + matched_length: 6 + match_coverage: '15.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_perl5_2.RULE + license_expression: artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: You can redistribute and/or modify + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the same terms + as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '34.85' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 66 + matched_length: 23 + match_coverage: '34.85' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_2.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + + [The] [atmark]() [implementation]: [Copyright] [2001], [Lincoln] [Stein] <[lstein]@[cshl].[org]>. + [This] [module] is distributed under + - score: '100.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_11.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This package has the same copyright and license as the perl core. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '90.91' + start_line: 7 + end_line: 8 + matcher: 3-seq + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_763.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + licensed + under the terms of the "BSD-3-clause-[GENERIC]" license + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '95.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 20 + matched_length: '19' + match_coverage: '95.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: warranty-disclaimer_50.RULE + license_expression: warranty-disclaimer + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + provided "as is" without express + or implied warranty. + - score: '75.0' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 20 + matched_length: 15 + match_coverage: '75.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It may be used, redistributed and/or modified + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '80.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that [this] + [distribution] is licensed under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '95.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 20 + matched_length: '19' + match_coverage: '95.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '80.0' + start_line: 3 + end_line: 4 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that [it] is licensed under + the same terms as Perl + - score: '80.0' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [this] [file] is licensed under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_26.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Artistic/' + - score: '50.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 50 + identifier: gpl_bare_word_only.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '90.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: artistic-1.0_11.RULE + license_expression: artistic-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the artistic license. + - score: '80.0' + start_line: 3 + end_line: 3 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [it] is licensed under the same terms as Perl + - score: '80.0' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + it is assumed that [this] [file] is licensed under the same terms + as Perl + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself, + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: artistic-1.0_11.RULE + license_expression: artistic-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the Artistic License. + - score: '80.0' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [it] is licensed under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the same terms as Perl + itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_6.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 8 + matcher: 2-aho + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_286.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples here are in the public + domain. You are permitted and encouraged to use this code and any + derivatives thereof in your own programs for fun or for profit as you + see fit. A simple comment in the code giving credit to the FAQ would + be courteous but is not required. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_and_public-domain-disclaimer_1.RULE + license_expression: artistic-2.0 AND public-domain-disclaimer + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This document is available under the same terms as Perl itself. Code + examples in all the perlfaq documents are in the public domain. Use + them as you see fit (and at your own risk with no warranty from anyone). + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_6.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 8 + matcher: 2-aho + rule_length: 53 + matched_length: 53 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_287.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples in these files are + hereby placed into the public domain. You are permitted and + encouraged to use this code in your own programs for fun or for profit + as you see fit. A simple comment in the code giving credit would be + courteous but is not required. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it under + the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_6.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 8 + matcher: 2-aho + rule_length: 53 + matched_length: 53 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_287.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples in these files are + hereby placed into the public domain. You are permitted and + encouraged to use this code in your own programs for fun or for profit + as you see fit. A simple comment in the code giving credit would be + courteous but is not required. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '21.28' + start_line: 17 + end_line: '19' + matcher: 3-seq + rule_length: 47 + matched_length: 10 + match_coverage: '21.28' + rule_relevance: 100 + identifier: artistic-2.0_4.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the "Artistic License" which comes with Perl, [or] + + [b]) the "Artistic License" + - score: '57.14' + start_line: 21 + end_line: 26 + matcher: 3-seq + rule_length: 49 + matched_length: 28 + match_coverage: '57.14' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_17.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License as published by the Free + Software Foundation; either version 1, or (at your option) any + later version ([see] [the] [file] "[Copying]" [that] [comes] [with] [the] + [Perl] [distribution]). + + [The] [full] [text] [of] the "Artistic License" which comes with + - score: '83.33' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_31.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: licensed under the [modified] Artistic license + - score: '11.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: artistic-2.0_18.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Artistic License. + - score: '100.0' + start_line: 18 + end_line: 18 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_298.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: in the Public Domain-- + - score: '11.0' + start_line: 27 + end_line: 27 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: artistic-2.0_18.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Artistic license. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 2-aho + rule_length: 49 + matched_length: 49 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_17.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of either: + + a) the GNU General Public License as published by the Free Software + Foundation; either version 1, or (at your option) any later + version, or + + b) the "Artistic License" which comes with Perl. + - score: '100.0' + start_line: 11 + end_line: 11 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_577.RULE + license_expression: mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the Expat license. + - score: '55.0' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 20 + matched_length: 11 + match_coverage: '55.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + redistributed + and/or modified under the same terms as Perl itself. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pulseaudio/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pulseaudio/stable_copyright-detailed.expected.yml index dff46b054d8..30eeb72d9fe 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pulseaudio/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pulseaudio/stable_copyright-detailed.expected.yml @@ -1,6 +1,20 @@ -- -- lgpl-2.1-plus AND sun-source AND libpbm AND gpl-2.0-plus AND adrian AND mit -- | +primary_license: +declared_license: +license_expression: lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND sun-source AND libpbm + AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND gpl-2.0-plus AND + lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND adrian AND lgpl-2.1-plus + AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1-plus AND mit AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.0-plus AND lgpl-2.0 AND lgpl-2.0 AND lgpl-2.1-plus + AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND gpl-2.0-plus AND + lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus +copyright: | Copyright (c) 2004-2009 Lennart Poettering Copyright (c) 2006-2007 Pierre Ossman for Cendio AB Copyright (c) Sun Microsystems, Inc @@ -120,3 +134,1393 @@ Copyright 2006 Pierre Ossman for Cendio AB Copyright 2009 Ted Percival Copyright 2009 Jason Newton +matches: + - score: '100.0' + start_line: 17 + end_line: 17 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPL-2.1+' + - score: '100.0' + start_line: 18 + end_line: 33 + matcher: 2-aho + rule_length: 127 + matched_length: 127 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_267.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The upstream license clarifies pretty well that the sources of pulseaudio\ + \ are\n LGPL (please see LGPL license grant below), but that some parts will be\n effectively\ + \ GPL since they rely on GPL libraries, quoting the upstream\n LICENSE:\n \n \"\"\ + \"All PulseAudio source files are licensed under the GNU Lesser General\n Public License.\ + \ (see file LGPL for details)\n \n However, the server side links to the GPL-only\ + \ library 'libsamplerate'\n which practically downgrades the license of the server\ + \ part to GPL (see\n file GPL for details), exercising section 3 of the LGPL.\n \n\ + \ Hence you should treat the client library ('libpulse') of PulseAudio as\n being\ + \ LGPL licensed and the server part ('libpulsecore') as being GPL\n licensed. Since\ + \ the PulseAudio daemon and the modules link to\n 'libpulsecore' they are of course\ + \ also GPL licensed." + - score: '100.0' + start_line: 37 + end_line: 38 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_232.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '93.63' + start_line: 44 + end_line: 62 + matcher: 3-seq + rule_length: 157 + matched_length: 147 + match_coverage: '93.63' + rule_relevance: 100 + identifier: sun-source.LICENSE + license_expression: sun-source + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This source code is a product of Sun Microsystems, Inc. and is provided\n\ + \ for unrestricted use. Users may copy or modify this source code without\n charge.\n\ + \ \n SUN SOURCE CODE IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING\n THE\ + \ WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR\n PURPOSE, OR ARISING\ + \ FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.\n \n Sun source code is provided\ + \ with no support and without any obligation on\n the part of Sun Microsystems, Inc.\ + \ to assist in its use, correction,\n modification or enhancement.\n \n SUN MICROSYSTEMS,\ + \ INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE\n INFRINGEMENT OF COPYRIGHTS, TRADE\ + \ SECRETS OR ANY PATENTS BY THIS SOFTWARE\n OR ANY PART THEREOF.\n \n In no event will\ + \ Sun Microsystems, Inc. be liable for any lost revenue\n or profits or other special,\ + \ indirect and consequential damages, even if\n Sun has been advised of the possibility\ + \ of such damages." + - score: '100.0' + start_line: 68 + end_line: 73 + matcher: 2-aho + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: libpbm.LICENSE + license_expression: libpbm + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and its + documentation for any purpose and without fee is hereby granted, provided + that the above copyright notice appear in all copies and that both that + copyright notice and this permission notice appear in supporting + documentation. This software is provided "as is" without express or + implied warranty. + - score: '100.0' + start_line: 79 + end_line: 81 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 87 + end_line: 89 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 94 + end_line: 96 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 102 + end_line: 104 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_266.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2. + - score: '100.0' + start_line: 111 + end_line: 113 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_711.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: GPL-2+ + On Debian systems, the complete text of the GPL-2 can be found in + /usr/share/common-licenses/GPL-2. + - score: '100.0' + start_line: 120 + end_line: 122 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 128 + end_line: 130 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 137 + end_line: 139 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 144 + end_line: 146 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 152 + end_line: 159 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: adrian.LICENSE + license_expression: adrian + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You are allowed to use this source code in any open source or closed + source software you want. You are allowed to use the algorithms for a + hardware solution. You are allowed to modify the source code. + You are not allowed to remove the name of the author from this memo or + from the source code files. You are not allowed to monopolize the + source code or the algorithms behind the source code as your + intellectual property. This source code is free of royalty and comes + with no warranty. + - score: '100.0' + start_line: 164 + end_line: 166 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 171 + end_line: 173 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 179 + end_line: 181 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 187 + end_line: 189 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: '195' + end_line: '197' + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 203 + end_line: 205 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 211 + end_line: 213 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 219 + end_line: 221 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 226 + end_line: 228 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 235 + end_line: 237 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 243 + end_line: 245 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 251 + end_line: 253 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 259 + end_line: 261 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 266 + end_line: 268 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 275 + end_line: 277 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 283 + end_line: 285 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 291 + end_line: 293 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 299 + end_line: 317 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation files\n (the \"Software\"), to\ + \ deal in the Software without restriction,\n including without limitation the rights\ + \ to use, copy, modify, merge,\n publish, distribute, sublicense, and/or sell copies\ + \ of the Software,\n and to permit persons to whom the Software is furnished to do so,\n\ + \ subject to the following conditions:\n \n The above copyright notice and this permission\ + \ notice shall be\n included in all copies or substantial portions of the Software.\n\ + \ \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR\ + \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS\ + \ FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\ + \ HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n ACTION\ + \ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE\ + \ OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE." + - score: '100.0' + start_line: 323 + end_line: 325 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 332 + end_line: 334 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 340 + end_line: 342 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 347 + end_line: 349 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 354 + end_line: 356 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 363 + end_line: 365 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 371 + end_line: 371 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPL-2+' + - score: '100.0' + start_line: 372 + end_line: 372 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_37.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: LGPL-2 + - score: '55.0' + start_line: 372 + end_line: 373 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: lgpl-2.0_157.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + can be found in + /usr/share/common-licenses/LGPL-2. + - score: '100.0' + start_line: 382 + end_line: 384 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 389 + end_line: 391 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 397 + end_line: 399 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 405 + end_line: 407 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 413 + end_line: 415 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 422 + end_line: 424 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 430 + end_line: 432 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 440 + end_line: 442 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 447 + end_line: 449 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 454 + end_line: 456 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 465 + end_line: 467 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 472 + end_line: 474 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 479 + end_line: 481 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 487 + end_line: 489 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 495 + end_line: 497 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 502 + end_line: 504 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 511 + end_line: 513 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 518 + end_line: 520 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 525 + end_line: 527 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 533 + end_line: 535 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 540 + end_line: 542 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 547 + end_line: 549 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 554 + end_line: 556 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 561 + end_line: 563 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 568 + end_line: 570 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 576 + end_line: 578 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_711.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: GPL-2+ + On Debian systems, the complete text of the GPL-2 can be found in + /usr/share/common-licenses/GPL-2. + - score: '100.0' + start_line: 585 + end_line: 587 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 594 + end_line: 596 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 602 + end_line: 604 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 608 + end_line: 610 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pulseaudio/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pulseaudio/stable_copyright.expected.yml index dff46b054d8..435d8afbe8f 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pulseaudio/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/pulseaudio/stable_copyright.expected.yml @@ -1,6 +1,8 @@ -- -- lgpl-2.1-plus AND sun-source AND libpbm AND gpl-2.0-plus AND adrian AND mit -- | +primary_license: +declared_license: +license_expression: lgpl-2.1-plus AND sun-source AND libpbm AND gpl-2.0-plus AND adrian AND + mit AND lgpl-2.0-plus AND lgpl-2.0 +copyright: | Copyright (c) 2004-2009 Lennart Poettering Copyright (c) 2006-2007 Pierre Ossman for Cendio AB Copyright (c) Sun Microsystems, Inc @@ -120,3 +122,1393 @@ Copyright 2006 Pierre Ossman for Cendio AB Copyright 2009 Ted Percival Copyright 2009 Jason Newton +matches: + - score: '100.0' + start_line: 17 + end_line: 17 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPL-2.1+' + - score: '100.0' + start_line: 18 + end_line: 33 + matcher: 2-aho + rule_length: 127 + matched_length: 127 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_267.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The upstream license clarifies pretty well that the sources of pulseaudio\ + \ are\n LGPL (please see LGPL license grant below), but that some parts will be\n effectively\ + \ GPL since they rely on GPL libraries, quoting the upstream\n LICENSE:\n \n \"\"\ + \"All PulseAudio source files are licensed under the GNU Lesser General\n Public License.\ + \ (see file LGPL for details)\n \n However, the server side links to the GPL-only\ + \ library 'libsamplerate'\n which practically downgrades the license of the server\ + \ part to GPL (see\n file GPL for details), exercising section 3 of the LGPL.\n \n\ + \ Hence you should treat the client library ('libpulse') of PulseAudio as\n being\ + \ LGPL licensed and the server part ('libpulsecore') as being GPL\n licensed. Since\ + \ the PulseAudio daemon and the modules link to\n 'libpulsecore' they are of course\ + \ also GPL licensed." + - score: '100.0' + start_line: 37 + end_line: 38 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_232.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '93.63' + start_line: 44 + end_line: 62 + matcher: 3-seq + rule_length: 157 + matched_length: 147 + match_coverage: '93.63' + rule_relevance: 100 + identifier: sun-source.LICENSE + license_expression: sun-source + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This source code is a product of Sun Microsystems, Inc. and is provided\n\ + \ for unrestricted use. Users may copy or modify this source code without\n charge.\n\ + \ \n SUN SOURCE CODE IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING\n THE\ + \ WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR\n PURPOSE, OR ARISING\ + \ FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.\n \n Sun source code is provided\ + \ with no support and without any obligation on\n the part of Sun Microsystems, Inc.\ + \ to assist in its use, correction,\n modification or enhancement.\n \n SUN MICROSYSTEMS,\ + \ INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE\n INFRINGEMENT OF COPYRIGHTS, TRADE\ + \ SECRETS OR ANY PATENTS BY THIS SOFTWARE\n OR ANY PART THEREOF.\n \n In no event will\ + \ Sun Microsystems, Inc. be liable for any lost revenue\n or profits or other special,\ + \ indirect and consequential damages, even if\n Sun has been advised of the possibility\ + \ of such damages." + - score: '100.0' + start_line: 68 + end_line: 73 + matcher: 2-aho + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: libpbm.LICENSE + license_expression: libpbm + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and its + documentation for any purpose and without fee is hereby granted, provided + that the above copyright notice appear in all copies and that both that + copyright notice and this permission notice appear in supporting + documentation. This software is provided "as is" without express or + implied warranty. + - score: '100.0' + start_line: 79 + end_line: 81 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 87 + end_line: 89 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 94 + end_line: 96 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 102 + end_line: 104 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_266.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2. + - score: '100.0' + start_line: 111 + end_line: 113 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_711.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: GPL-2+ + On Debian systems, the complete text of the GPL-2 can be found in + /usr/share/common-licenses/GPL-2. + - score: '100.0' + start_line: 120 + end_line: 122 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 128 + end_line: 130 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 137 + end_line: 139 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 144 + end_line: 146 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 152 + end_line: 159 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: adrian.LICENSE + license_expression: adrian + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You are allowed to use this source code in any open source or closed + source software you want. You are allowed to use the algorithms for a + hardware solution. You are allowed to modify the source code. + You are not allowed to remove the name of the author from this memo or + from the source code files. You are not allowed to monopolize the + source code or the algorithms behind the source code as your + intellectual property. This source code is free of royalty and comes + with no warranty. + - score: '100.0' + start_line: 164 + end_line: 166 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 171 + end_line: 173 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 179 + end_line: 181 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 187 + end_line: 189 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: '195' + end_line: '197' + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 203 + end_line: 205 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 211 + end_line: 213 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 219 + end_line: 221 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 226 + end_line: 228 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 235 + end_line: 237 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 243 + end_line: 245 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 251 + end_line: 253 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 259 + end_line: 261 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 266 + end_line: 268 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 275 + end_line: 277 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 283 + end_line: 285 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 291 + end_line: 293 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 299 + end_line: 317 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation files\n (the \"Software\"), to\ + \ deal in the Software without restriction,\n including without limitation the rights\ + \ to use, copy, modify, merge,\n publish, distribute, sublicense, and/or sell copies\ + \ of the Software,\n and to permit persons to whom the Software is furnished to do so,\n\ + \ subject to the following conditions:\n \n The above copyright notice and this permission\ + \ notice shall be\n included in all copies or substantial portions of the Software.\n\ + \ \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR\ + \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS\ + \ FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\ + \ HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n ACTION\ + \ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE\ + \ OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE." + - score: '100.0' + start_line: 323 + end_line: 325 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 332 + end_line: 334 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 340 + end_line: 342 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 347 + end_line: 349 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 354 + end_line: 356 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 363 + end_line: 365 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 371 + end_line: 371 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPL-2+' + - score: '100.0' + start_line: 372 + end_line: 372 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_37.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: LGPL-2 + - score: '55.0' + start_line: 372 + end_line: 373 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: lgpl-2.0_157.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + can be found in + /usr/share/common-licenses/LGPL-2. + - score: '100.0' + start_line: 382 + end_line: 384 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 389 + end_line: 391 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 397 + end_line: 399 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 405 + end_line: 407 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 413 + end_line: 415 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 422 + end_line: 424 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 430 + end_line: 432 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 440 + end_line: 442 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 447 + end_line: 449 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 454 + end_line: 456 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 465 + end_line: 467 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 472 + end_line: 474 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 479 + end_line: 481 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 487 + end_line: 489 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 495 + end_line: 497 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 502 + end_line: 504 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 511 + end_line: 513 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 518 + end_line: 520 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 525 + end_line: 527 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 533 + end_line: 535 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 540 + end_line: 542 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 547 + end_line: 549 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 554 + end_line: 556 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 561 + end_line: 563 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 568 + end_line: 570 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 576 + end_line: 578 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_711.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: GPL-2+ + On Debian systems, the complete text of the GPL-2 can be found in + /usr/share/common-licenses/GPL-2. + - score: '100.0' + start_line: 585 + end_line: 587 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 594 + end_line: 596 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 602 + end_line: 604 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 608 + end_line: 610 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_231.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: LGPL-2.1+ + On Debian systems, the complete text of the LGPL-2.1 can be found in + /usr/share/common-licenses/LGPL-2.1. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/python-django/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/python-django/stable_copyright-detailed.expected.yml index cb6c7c5688a..5c3a9bb5dc0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/python-django/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/python-django/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - BSD-3-Clause +primary_license: bsd-new +declared_license: + - BSD-3-Clause - BSD-3-Clause - Apache-2.0 - Expat @@ -18,10 +20,11 @@ - PSF-baseconv - BSD-2-Clause - BSD-3-Clause -- bsd-new AND bsd-new AND (apache-2.0 AND apache-2.0 AND apache-2.0) AND mit AND bsd-simplified - AND bsd-new AND bsd-new AND psf-2.0 AND (apache-2.0 AND apache-2.0 AND apache-2.0) AND mit - AND mit AND (bsd-new AND mit) AND bsd-new AND bsd-new AND mit -- | +license_expression: bsd-new AND bsd-new AND (apache-2.0 AND apache-2.0 AND apache-2.0) AND mit + AND bsd-simplified AND bsd-new AND bsd-new AND psf-2.0 AND (apache-2.0 AND apache-2.0 AND + apache-2.0) AND mit AND mit AND (bsd-new AND mit) AND bsd-new AND bsd-new AND bsd-new AND + mit +copyright: | Django Software Foundation and individual contributors 2006-2008 Brett Parker , 2006-2008, 2010-2015 Raphael Hertzog , @@ -43,3 +46,256 @@ 2007 Robert Coup 2008 Yahoo! Inc. All rights reserved. 2010 Gary Wilson Jr. and contributors +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 2-aho + rule_length: 85 + matched_length: 85 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_7.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + - score: '100.0' + start_line: 13 + end_line: 14 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_865.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the Apache version 2.0 license + can be found in `/usr/share/common-licenses/Apache-2.0'. + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '89.32' + start_line: 1 + end_line: 49 + matcher: 3-seq + rule_length: 365 + matched_length: 326 + match_coverage: '89.32' + rule_relevance: 100 + identifier: psf-2.0.LICENSE + license_expression: psf-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 + -------------------------------------------- + + 1. This LICENSE AGREEMENT is between the [Guilherme] [Gondim], [Simon] + [Willison] [and] [Drew] [Perttula] ("[Baseconv] [Authors]"), and the Individual or + Organization ("Licensee") accessing and otherwise using this software + ("[Baseconv]") in source or binary form and its associated documentation. + + 2. Subject to the terms and conditions of this License Agreement, + [Baseconv] [Authors] hereby grants Licensee a nonexclusive, royalty-free, + world-wide license to reproduce, analyze, test, perform and/or display + publicly, prepare derivative works, distribute, and otherwise use + [Baseconv] alone or in any derivative version, provided, however, that + [Baseconv] [Authors]'s License Agreement and [Baseconv] [Author]'s [notice] [of] + [copyright], [i].[e]., "[Copyright] ([c]) [2010] [Guilherme] [Gondim].; [Copyright] + ([c]) [2009] [Simon] [Willison].; [Copyright] ([c]) [2002] [Drew] [Perttula].; All Rights + Reserved" are retained in [Baseconv] alone or in any derivative version + prepared by Licensee. + + 3. In the event Licensee prepares a derivative work that is based on or + incorporates [Baseconv] or any part thereof, and wants to make the + derivative work available to others as provided herein, then Licensee + hereby agrees to include in any such work a brief summary of the changes + made to [Baseconv]. + + [4]. [Baseconv] [Authors] [is] [making] [Baseconv] available to Licensee on + an "AS IS" basis. [BASECONV] [AUTHORS] MAKES NO REPRESENTATIONS OR + WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, + [BASECONV] [AUTHORS] MAKES NO AND DISCLAIMS ANY REPRESENTATION OR + WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR + THAT THE USE OF PYTHON WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. + + 5. [BASECONV] [AUTHORS] SHALL NOT BE LIABLE TO LICENSEE OR ANY + OTHER USERS OF PYTHON FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL + DAMAGES OR LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE + USING PYTHON, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE + POSSIBILITY THEREOF. + + 6. This License Agreement will automatically terminate upon a material + breach of its terms and conditions. + + 7. Nothing in this License Agreement shall be deemed to create any + relationship of agency, partnership, or joint venture between [Baseconv] + [Authors] and Licensee. This License Agreement does not grant permission + to use [Baseconv] [Authors] trademarks or trade name in a trademark sense to + endorse or promote products or services of Licensee, or any third party. + + 8. By copying, installing or otherwise using [Baseconv], Licensee agrees + to be bound by the terms and conditions of this License Agreement. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 185 + matched_length: 185 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_16.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '95.77' + start_line: 1 + end_line: 24 + matcher: 3-seq + rule_length: 213 + matched_length: 204 + match_coverage: '95.77' + rule_relevance: 100 + identifier: bsd-new_156.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. Neither the name of <[NAME]> [nor] [the] [names] [of] [its] [contributors] [may] [be] [use] + to endorse or promote products derived from this software without + specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '99.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-new_509.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Software License Agreement (BSD License), diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/python-django/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/python-django/stable_copyright.expected.yml index 319ae10ab24..769d228ed9b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/python-django/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/p/python-django/stable_copyright.expected.yml @@ -1,12 +1,14 @@ -- - BSD-3-Clause +primary_license: bsd-new +declared_license: + - BSD-3-Clause - Apache-2.0 - Expat - BSD-2-Clause - PSF-baseconv - BSD-3-Clause and Expat -- bsd-new AND (apache-2.0 AND apache-2.0 AND apache-2.0) AND mit AND bsd-simplified AND psf-2.0 - AND (bsd-new AND mit) -- | +license_expression: bsd-new AND apache-2.0 AND mit AND bsd-simplified AND psf-2.0 AND (bsd-new + AND mit) +copyright: | Django Software Foundation and individual contributors Copyright 2011 Google Inc. 2005, 2014 jQuery Foundation, Inc. and other contributors @@ -21,3 +23,256 @@ 2007 Robert Coup 2008 Yahoo! Inc. All rights reserved. 2010 Gary Wilson Jr. and contributors +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 2-aho + rule_length: 85 + matched_length: 85 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_7.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + - score: '100.0' + start_line: 13 + end_line: 14 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_865.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the Apache version 2.0 license + can be found in `/usr/share/common-licenses/Apache-2.0'. + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '89.32' + start_line: 1 + end_line: 49 + matcher: 3-seq + rule_length: 365 + matched_length: 326 + match_coverage: '89.32' + rule_relevance: 100 + identifier: psf-2.0.LICENSE + license_expression: psf-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 + -------------------------------------------- + + 1. This LICENSE AGREEMENT is between the [Guilherme] [Gondim], [Simon] + [Willison] [and] [Drew] [Perttula] ("[Baseconv] [Authors]"), and the Individual or + Organization ("Licensee") accessing and otherwise using this software + ("[Baseconv]") in source or binary form and its associated documentation. + + 2. Subject to the terms and conditions of this License Agreement, + [Baseconv] [Authors] hereby grants Licensee a nonexclusive, royalty-free, + world-wide license to reproduce, analyze, test, perform and/or display + publicly, prepare derivative works, distribute, and otherwise use + [Baseconv] alone or in any derivative version, provided, however, that + [Baseconv] [Authors]'s License Agreement and [Baseconv] [Author]'s [notice] [of] + [copyright], [i].[e]., "[Copyright] ([c]) [2010] [Guilherme] [Gondim].; [Copyright] + ([c]) [2009] [Simon] [Willison].; [Copyright] ([c]) [2002] [Drew] [Perttula].; All Rights + Reserved" are retained in [Baseconv] alone or in any derivative version + prepared by Licensee. + + 3. In the event Licensee prepares a derivative work that is based on or + incorporates [Baseconv] or any part thereof, and wants to make the + derivative work available to others as provided herein, then Licensee + hereby agrees to include in any such work a brief summary of the changes + made to [Baseconv]. + + [4]. [Baseconv] [Authors] [is] [making] [Baseconv] available to Licensee on + an "AS IS" basis. [BASECONV] [AUTHORS] MAKES NO REPRESENTATIONS OR + WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, + [BASECONV] [AUTHORS] MAKES NO AND DISCLAIMS ANY REPRESENTATION OR + WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR + THAT THE USE OF PYTHON WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. + + 5. [BASECONV] [AUTHORS] SHALL NOT BE LIABLE TO LICENSEE OR ANY + OTHER USERS OF PYTHON FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL + DAMAGES OR LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE + USING PYTHON, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE + POSSIBILITY THEREOF. + + 6. This License Agreement will automatically terminate upon a material + breach of its terms and conditions. + + 7. Nothing in this License Agreement shall be deemed to create any + relationship of agency, partnership, or joint venture between [Baseconv] + [Authors] and Licensee. This License Agreement does not grant permission + to use [Baseconv] [Authors] trademarks or trade name in a trademark sense to + endorse or promote products or services of Licensee, or any third party. + + 8. By copying, installing or otherwise using [Baseconv], Licensee agrees + to be bound by the terms and conditions of this License Agreement. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 185 + matched_length: 185 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_16.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '95.77' + start_line: 1 + end_line: 24 + matcher: 3-seq + rule_length: 213 + matched_length: 204 + match_coverage: '95.77' + rule_relevance: 100 + identifier: bsd-new_156.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. Neither the name of <[NAME]> [nor] [the] [names] [of] [its] [contributors] [may] [be] [use] + to endorse or promote products derived from this software without + specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '99.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-new_509.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Software License Agreement (BSD License), diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/reportbug/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/reportbug/stable_copyright-detailed.expected.yml index cffeff49865..74e472b485a 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/reportbug/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/reportbug/stable_copyright-detailed.expected.yml @@ -1,6 +1,7 @@ -- -- reportbug AND gpl-1.0-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: reportbug AND gpl-1.0-plus AND reportbug AND gpl-2.0 +copyright: | Copyright (c) 1999-2006 Chris Lawrence Copyright (c) 2008-2019 Sandro Tosi Copyright (c) 1996-2000 Christoph Lameter @@ -8,3 +9,106 @@ (c) 2000 Chris Lawrence Copyright (c) 2006 Philipp Kern Copyright (c) 2008-2009 Luca Bruno +matches: + - score: '100.0' + start_line: 10 + end_line: 25 + matcher: 2-aho + rule_length: 124 + matched_length: 124 + match_coverage: '100.0' + rule_relevance: 100 + identifier: reportbug_1.RULE + license_expression: reportbug + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: other + # This program is freely distributable per the following license: + # + # Permission to use, copy, modify, and distribute this software and its + # documentation for any purpose and without fee is hereby granted, + # provided that the above copyright notice appears in all copies and that + # both that copyright notice and this permission notice appear in + # supporting documentation. + # + # I DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL + # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL I + # BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY + # DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, + # WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, + # ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + # SOFTWARE. + - score: '100.0' + start_line: 32 + end_line: 37 + matcher: 2-aho + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_77.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: GPL-any + # You may freely redistribute, use and modify this software under the terms + # of the GNU General Public License. + . + On Debian systems, the complete text of the GNU General Public License + can be found in file "/usr/share/common-licenses/GPL". + - score: '100.0' + start_line: 43 + end_line: 58 + matcher: 2-aho + rule_length: 124 + matched_length: 124 + match_coverage: '100.0' + rule_relevance: 100 + identifier: reportbug_1.RULE + license_expression: reportbug + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: other + # This program is freely distributable per the following license: + # + ## Permission to use, copy, modify, and distribute this software and its + ## documentation for any purpose and without fee is hereby granted, + ## provided that the above copyright notice appears in all copies and that + ## both that copyright notice and this permission notice appear in + ## supporting documentation. + ## + ## I DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL + ## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL I + ## BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY + ## DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, + ## WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, + ## ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + ## SOFTWARE. + - score: '100.0' + start_line: 61 + end_line: 61 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPL-2' diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/reportbug/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/reportbug/stable_copyright.expected.yml index cffeff49865..f051218a0f4 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/reportbug/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/reportbug/stable_copyright.expected.yml @@ -1,6 +1,7 @@ -- -- reportbug AND gpl-1.0-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: reportbug AND gpl-1.0-plus AND gpl-2.0 +copyright: | Copyright (c) 1999-2006 Chris Lawrence Copyright (c) 2008-2019 Sandro Tosi Copyright (c) 1996-2000 Christoph Lameter @@ -8,3 +9,106 @@ (c) 2000 Chris Lawrence Copyright (c) 2006 Philipp Kern Copyright (c) 2008-2009 Luca Bruno +matches: + - score: '100.0' + start_line: 10 + end_line: 25 + matcher: 2-aho + rule_length: 124 + matched_length: 124 + match_coverage: '100.0' + rule_relevance: 100 + identifier: reportbug_1.RULE + license_expression: reportbug + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: other + # This program is freely distributable per the following license: + # + # Permission to use, copy, modify, and distribute this software and its + # documentation for any purpose and without fee is hereby granted, + # provided that the above copyright notice appears in all copies and that + # both that copyright notice and this permission notice appear in + # supporting documentation. + # + # I DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL + # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL I + # BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY + # DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, + # WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, + # ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + # SOFTWARE. + - score: '100.0' + start_line: 32 + end_line: 37 + matcher: 2-aho + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_77.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: GPL-any + # You may freely redistribute, use and modify this software under the terms + # of the GNU General Public License. + . + On Debian systems, the complete text of the GNU General Public License + can be found in file "/usr/share/common-licenses/GPL". + - score: '100.0' + start_line: 43 + end_line: 58 + matcher: 2-aho + rule_length: 124 + matched_length: 124 + match_coverage: '100.0' + rule_relevance: 100 + identifier: reportbug_1.RULE + license_expression: reportbug + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: other + # This program is freely distributable per the following license: + # + ## Permission to use, copy, modify, and distribute this software and its + ## documentation for any purpose and without fee is hereby granted, + ## provided that the above copyright notice appears in all copies and that + ## both that copyright notice and this permission notice appear in + ## supporting documentation. + ## + ## I DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL + ## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL I + ## BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY + ## DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, + ## WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, + ## ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + ## SOFTWARE. + - score: '100.0' + start_line: 61 + end_line: 61 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPL-2' diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/ruby-airbrussh/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/ruby-airbrussh/stable_copyright-detailed.expected.yml index 03501ef1a1f..801cf8011e8 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/ruby-airbrussh/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/ruby-airbrussh/stable_copyright-detailed.expected.yml @@ -1,7 +1,44 @@ -- - Expat +primary_license: mit +declared_license: - Expat - Expat -- mit AND mit -- | + - Expat +license_expression: mit AND mit +copyright: | 2015-2016 Matt Brictson 2017 Samuel Henrique +matches: + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/ruby-airbrussh/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/ruby-airbrussh/stable_copyright.expected.yml index 565093d58a1..9e0dc9df0da 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/ruby-airbrussh/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/r/ruby-airbrussh/stable_copyright.expected.yml @@ -1,3 +1,40 @@ -- - Expat -- mit -- 2015-2016 Matt Brictson +primary_license: mit +declared_license: + - Expat +license_expression: mit +copyright: 2015-2016 Matt Brictson +matches: + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/sendmail/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/sendmail/stable_copyright-detailed.expected.yml index 2cede955911..1587a0b75fe 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/sendmail/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/sendmail/stable_copyright-detailed.expected.yml @@ -1,8 +1,10 @@ -- - other-Sendmail +primary_license: sendmail +declared_license: - other-Sendmail - other-Sendmail -- sendmail AND sendmail -- | + - other-Sendmail +license_expression: sendmail AND sendmail +copyright: | Copyright (c) 1998-2015 Proofpoint, Inc. and its suppliers. All rights reserved. Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. Copyright (c) 1988, 1993 The Regents of the University of California. All rights reserved. @@ -10,3 +12,101 @@ 1997-1998 Johnie Ingram 1998-2010 Richard A Nelson © 2012-2018 Andreas Beckmann +matches: + - score: '97.65' + start_line: 1 + end_line: 81 + matcher: 3-seq + rule_length: 596 + matched_length: 582 + match_coverage: '97.65' + rule_relevance: 100 + identifier: sendmail-2014.RULE + license_expression: sendmail + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + SENDMAIL LICENSE + + The following license terms and conditions apply, unless a redistribution + agreement or other license is obtained from Proofpoint, Inc., 892 + Ross Street, Sunnyvale, CA, 94089, USA, or by electronic mail at + sendmail-license@proofpoint.com. + + License Terms: + + Use, Modification and Redistribution (including distribution of any + modified or derived work) in source and binary forms is permitted only if + each of the following conditions is met: + + 1. Redistributions qualify as "freeware" or "Open Source Software" under + one of the following terms: + + (a) Redistributions are made at no charge beyond the reasonable cost of + materials and delivery. + + (b) Redistributions are accompanied by a copy of the Source Code or by an + irrevocable offer to provide a copy of the Source Code for up to three + years at the cost of materials and delivery. Such redistributions + must allow further use, modification, and redistribution of the Source + Code under substantially the same terms as this license. For the + purposes of redistribution "Source Code" means the complete compilable + and linkable source code of sendmail and associated libraries and + utilities in the sendmail distribution including all modifications. + + 2. Redistributions of Source Code must retain the copyright notices as they + appear in each Source Code file, these license terms, and the + disclaimer/limitation of liability set forth as paragraph 6 below. + + 3. Redistributions in binary form must reproduce the Copyright Notice, + these license terms, and the disclaimer/limitation of liability set + forth as paragraph 6 below, in the documentation and/or other materials + provided with the distribution. For the purposes of binary distribution + the "Copyright Notice" refers to the following language: + "Copyright (c) 1998-[2013] Proofpoint, Inc. All rights reserved." + + 4. Neither the name of Proofpoint, Inc. nor the University of California nor + names of their contributors may be used to endorse or promote + products derived from this software without specific prior written + permission. The name "sendmail" is a trademark of Proofpoint, Inc. + + 5. All redistributions must comply with the conditions imposed by the + University of California on certain embedded code, which copyright + Notice and conditions for redistribution are as follows: + + (a) Copyright (c) 1988, 1993 The Regents of the University of + California. All rights reserved. + + (b) Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + (i) Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + (ii) Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + (iii) Neither the name of the University nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + 6. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY + SENDMAIL, INC. AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN + NO EVENT SHALL SENDMAIL, INC., THE REGENTS OF THE UNIVERSITY OF + CALIFORNIA OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF + USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + + $Revision: 8. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/sendmail/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/sendmail/stable_copyright.expected.yml index 4cbcf94e55f..634e7a00758 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/sendmail/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/sendmail/stable_copyright.expected.yml @@ -1,6 +1,106 @@ -- - other-Sendmail -- sendmail -- | +primary_license: sendmail +declared_license: + - other-Sendmail +license_expression: sendmail +copyright: | Copyright (c) 1998-2015 Proofpoint, Inc. and its suppliers. All rights reserved. Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. Copyright (c) 1988, 1993 The Regents of the University of California. All rights reserved. +matches: + - score: '97.65' + start_line: 1 + end_line: 81 + matcher: 3-seq + rule_length: 596 + matched_length: 582 + match_coverage: '97.65' + rule_relevance: 100 + identifier: sendmail-2014.RULE + license_expression: sendmail + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + SENDMAIL LICENSE + + The following license terms and conditions apply, unless a redistribution + agreement or other license is obtained from Proofpoint, Inc., 892 + Ross Street, Sunnyvale, CA, 94089, USA, or by electronic mail at + sendmail-license@proofpoint.com. + + License Terms: + + Use, Modification and Redistribution (including distribution of any + modified or derived work) in source and binary forms is permitted only if + each of the following conditions is met: + + 1. Redistributions qualify as "freeware" or "Open Source Software" under + one of the following terms: + + (a) Redistributions are made at no charge beyond the reasonable cost of + materials and delivery. + + (b) Redistributions are accompanied by a copy of the Source Code or by an + irrevocable offer to provide a copy of the Source Code for up to three + years at the cost of materials and delivery. Such redistributions + must allow further use, modification, and redistribution of the Source + Code under substantially the same terms as this license. For the + purposes of redistribution "Source Code" means the complete compilable + and linkable source code of sendmail and associated libraries and + utilities in the sendmail distribution including all modifications. + + 2. Redistributions of Source Code must retain the copyright notices as they + appear in each Source Code file, these license terms, and the + disclaimer/limitation of liability set forth as paragraph 6 below. + + 3. Redistributions in binary form must reproduce the Copyright Notice, + these license terms, and the disclaimer/limitation of liability set + forth as paragraph 6 below, in the documentation and/or other materials + provided with the distribution. For the purposes of binary distribution + the "Copyright Notice" refers to the following language: + "Copyright (c) 1998-[2013] Proofpoint, Inc. All rights reserved." + + 4. Neither the name of Proofpoint, Inc. nor the University of California nor + names of their contributors may be used to endorse or promote + products derived from this software without specific prior written + permission. The name "sendmail" is a trademark of Proofpoint, Inc. + + 5. All redistributions must comply with the conditions imposed by the + University of California on certain embedded code, which copyright + Notice and conditions for redistribution are as follows: + + (a) Copyright (c) 1988, 1993 The Regents of the University of + California. All rights reserved. + + (b) Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + (i) Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + (ii) Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + (iii) Neither the name of the University nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + 6. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY + SENDMAIL, INC. AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN + NO EVENT SHALL SENDMAIL, INC., THE REGENTS OF THE UNIVERSITY OF + CALIFORNIA OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF + USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + + $Revision: 8. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/slirp4netns/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/slirp4netns/stable_copyright-detailed.expected.yml index 9fa05ef8112..0af29f2677c 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/slirp4netns/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/slirp4netns/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-3.0-plus +declared_license: + - GPL-2+ - GPL-2+ - BSD-3-clause - BSD-2-clause @@ -18,11 +20,11 @@ - GPL-2 - GPL-2+ - LGPL-2.1+ -- (gpl-2.0-plus AND gpl-3.0-plus) AND (gpl-2.0-plus AND gpl-3.0-plus) AND bsd-new AND bsd-simplified - AND mit AND mit AND bsd-simplified AND (gpl-2.0-plus AND gpl-3.0-plus) AND (gpl-2.0-plus AND - gpl-3.0-plus) AND mit AND bsd-simplified AND bsd-simplified AND bsd-simplified AND (lgpl-2.1-plus - AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) -- | +license_expression: (gpl-2.0-plus AND gpl-3.0-plus) AND (gpl-2.0-plus AND gpl-3.0-plus) AND + bsd-new AND bsd-simplified AND mit AND mit AND bsd-simplified AND (gpl-2.0-plus AND gpl-3.0-plus) + AND (gpl-2.0-plus AND gpl-3.0-plus) AND mit AND bsd-simplified AND bsd-simplified AND bsd-simplified + AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) +copyright: | 2018 Giuseppe Scrivano Akihiro Suda 2018, Reinhard Tartler @@ -38,3 +40,324 @@ 1995, Danny Gasparovski 2013, Guillaume Subiron 2016, Renzo Davoli VirtualSquare +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_136.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: license BSD-2-clause + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '99.44' + start_line: 3 + end_line: 21 + matcher: 3-seq + rule_length: 177 + matched_length: 176 + match_coverage: '99.44' + rule_relevance: 100 + identifier: bsd-simplified_29.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + [DANNY] [GASPAROVSKI] OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 3 + end_line: 5 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_822.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + licensed under: + + The GNU General Public License, Version 2, + - score: '100.0' + start_line: 7 + end_line: 9 + matcher: 2-aho + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_396.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 + - score: '100.0' + start_line: 10 + end_line: 11 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_836.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 2 of the GNU General + Public License + - score: '100.0' + start_line: 11 + end_line: 11 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '97.62' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 126 + matched_length: 123 + match_coverage: '97.62' + rule_relevance: 100 + identifier: gpl-3.0-plus_321.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version [2] of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version [2] can be found in "/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_36.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2.1 of the License, or + (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this library. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General + Public License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1". diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/slirp4netns/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/slirp4netns/stable_copyright.expected.yml index 5b403a1aac1..e148ad0b22d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/slirp4netns/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/slirp4netns/stable_copyright.expected.yml @@ -1,13 +1,15 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-3.0-plus +declared_license: + - GPL-2+ - BSD-3-clause - BSD-2-clause - Expat - Danny-SLIRP - LGPL-2.1+ - GPL-2 -- (gpl-2.0-plus AND gpl-3.0-plus) AND bsd-new AND bsd-simplified AND mit AND bsd-simplified - AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) -- | +license_expression: (gpl-2.0-plus AND gpl-3.0-plus) AND bsd-new AND bsd-simplified AND mit AND + (lgpl-2.1-plus AND lgpl-2.1) +copyright: | 2018 Giuseppe Scrivano Akihiro Suda 1982, 1986, 1988, 1990-1994, The Regents of the University of California. @@ -21,3 +23,324 @@ 1995, Danny Gasparovski 2013, Guillaume Subiron 2016, Renzo Davoli VirtualSquare +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_136.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: license BSD-2-clause + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '99.44' + start_line: 3 + end_line: 21 + matcher: 3-seq + rule_length: 177 + matched_length: 176 + match_coverage: '99.44' + rule_relevance: 100 + identifier: bsd-simplified_29.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + [DANNY] [GASPAROVSKI] OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 3 + end_line: 5 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_822.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + licensed under: + + The GNU General Public License, Version 2, + - score: '100.0' + start_line: 7 + end_line: 9 + matcher: 2-aho + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_396.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 + - score: '100.0' + start_line: 10 + end_line: 11 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_836.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 2 of the GNU General + Public License + - score: '100.0' + start_line: 11 + end_line: 11 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '97.62' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 126 + matched_length: 123 + match_coverage: '97.62' + rule_relevance: 100 + identifier: gpl-3.0-plus_321.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version [2] of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version [2] can be found in "/usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_36.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2.1 of the License, or + (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this library. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General + Public License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1". diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/subversion/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/subversion/stable_copyright-detailed.expected.yml index c0f08588f5a..f85c95645d6 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/subversion/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/subversion/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - Apache-2.0 +primary_license: apache-2.0 +declared_license: + - Apache-2.0 - BSD-3-clause or Apache-2.0 - Utfwidth - BSD-3-clause @@ -18,11 +20,11 @@ - Expat - Unicode - AFL-3 -- (apache-2.0 AND apache-2.0) AND (bsd-new OR (apache-2.0 AND apache-2.0)) AND other-permissive - AND bsd-new AND other-copyleft AND (gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 AND gpl-2.0) - AND (gpl-3.0-plus AND gpl-3.0) AND afl-3.0 AND (mit AND unicode) AND bsd-simplified AND bsd-new - AND bsd-simplified -- | +license_expression: (apache-2.0 AND apache-2.0) AND (bsd-new OR (apache-2.0 AND apache-2.0)) + AND other-permissive AND bsd-new AND other-copyleft AND (gpl-2.0-plus AND gpl-1.0-plus AND + gpl-2.0 AND gpl-2.0) AND (gpl-3.0-plus AND gpl-3.0) AND afl-3.0 AND (mit AND unicode) AND + bsd-simplified AND bsd-new AND bsd-simplified +copyright: | Apache Software Foundation 2007 Max Bowsher 2005 Greg Stein @@ -49,3 +51,547 @@ 2009 Paul Bakker 2010-2013, Peter Noordhuis 2010-2014, Salvatore Sanfilippo +matches: + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 28 + matched_length: 28 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_wcwidth_1.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software + for any purpose and without fee is hereby granted. The author + disclaims all warranties with regard to this software. + - score: '20.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 45 + matched_length: 9 + match_coverage: '20.0' + rule_relevance: 100 + identifier: other-copyleft_12.RULE + license_expression: other-copyleft + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to [everyone] [to] [use] and distribute [this] [work], + [without] [limitation], modified or unmodified, + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-1.0-plus_350.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: of the GPL + - score: '95.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 95 + identifier: gpl-2.0_183.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL version 2 + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '60.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 20 + matched_length: 12 + match_coverage: '60.0' + rule_relevance: 100 + identifier: gpl-3.0_238.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GPL [version] [3] license can be + found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 119 + matched_length: 119 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_2.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + - score: '100.0' + start_line: 3 + end_line: 27 + matcher: 2-aho + rule_length: 204 + matched_length: 204 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_970.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + the documentation and/or other materials provided with the + distribution. + 3. The name of the author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 3 + end_line: 22 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, this + list of conditions and the following disclaimer in the documentation and/or + other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR + ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '96.15' + start_line: 1 + end_line: 32 + matcher: 3-seq + rule_length: 338 + matched_length: 325 + match_coverage: '96.15' + rule_relevance: 100 + identifier: unicode_42.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of the Unicode data files and any associated documentation (the "Data + Files") or Unicode software and any associated documentation (the + "Software") to deal in the Data Files or Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, and/or sell copies of the Data Files or Software, and + to permit persons to whom the Data Files or Software are furnished to do + so, provided that (a) the above copyright notice(s) and this permission + notice appear with all copies of the Data Files or Software, (b) both the + above copyright notice(s) and this permission notice appear in associated + documentation, and (c) there is clear notice in each modified Data File or + in the Software as well as in the documentation associated with the Data + File(s) or Software that the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF + THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS + INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR + CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF + USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THE DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder shall + not be used in advertising or otherwise to promote the sale, use or other + dealings in these Data Files or Software without prior written + authorization of the copyright holder. + + Unicode and the Unicode logo are trademarks of Unicode, Inc., and may be + registered in some jurisdictions. All other trademarks and registered + trademarks mentioned herein are the property of their respective owners. + - score: '100.0' + start_line: 1 + end_line: 186 + matcher: 1-hash + rule_length: 1623 + matched_length: 1623 + match_coverage: '100.0' + rule_relevance: 100 + identifier: afl-3.0.LICENSE + license_expression: afl-3.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This Academic Free License (the "License") applies to any original + work of authorship (the "Original Work") whose owner (the "Licensor") + has placed the following licensing notice adjacent to the copyright + notice for the Original Work: + + Licensed under the Academic Free License version 3.0 + + 1) Grant of Copyright License. Licensor grants You a worldwide, + royalty-free, non-exclusive, sublicensable license, for the + duration of the copyright, to do the following: + a) to reproduce the Original Work in copies, either alone or as + part of a collective work; + b) to translate, adapt, alter, transform, modify, or arrange the + Original Work, thereby creating derivative works ("Derivative + Works") based upon the Original Work; + c) to distribute or communicate copies of the Original Work and + Derivative Works to the public, under any license of your + choice that does not contradict the terms and conditions, + including Licensor's reserved rights and remedies, in this + Academic Free License; + d) to perform the Original Work publicly; and + e) to display the Original Work publicly. + + 2) Grant of Patent License. Licensor grants You a worldwide, + royalty-free, non- exclusive, sublicensable license, under patent + claims owned or controlled by the Licensor that are embodied in + the Original Work as furnished by the Licensor, for the duration + of the patents, to make, use, sell, offer for sale, have made, and + import the Original Work and Derivative Works. + + 3) Grant of Source Code License. The term "Source Code" means the + preferred form of the Original Work for making modifications to it + and all available documentation describing how to modify the + Original Work. Licensor agrees to provide a machine-readable copy + of the Source Code of the Original Work along with each copy of + the Original Work that Licensor distributes. Licensor reserves the + right to satisfy this obligation by placing a machine-readable + copy of the Source Code in an information repository reasonably + calculated to permit inexpensive and convenient access by You for + as long as Licensor continues to distribute the Original Work. + + 4) Exclusions From License Grant. Neither the names of Licensor, nor + the names of any contributors to the Original Work, nor any of + their trademarks or service marks, may be used to endorse or + promote products derived from this Original Work without express + prior permission of the Licensor. Except as expressly stated + herein, nothing in this License grants any license to Licensor's + trademarks, copyrights, patents, trade secrets or any other + intellectual property. No patent license is granted to make, use, + sell, offer for sale, have made, or import embodiments of any + patent claims other than the licensed claims defined in Section + 2. No license is granted to the trademarks of Licensor even if + such marks are included in the Original Work. Nothing in this + License shall be interpreted to prohibit Licensor from licensing + under terms different from this License any Original Work that + Licensor otherwise would have a right to license. + + 5) External Deployment. The term "External Deployment" means the use, + distribution, or communication of the Original Work or Derivative + Works in any way such that the Original Work or Derivative Works + may be used by anyone other than You, whether those works are + distributed or communicated to those persons or made available as + an application intended for use over a network. As an express + condition for the grants of license hereunder, You must treat any + External Deployment by You of the Original Work or a Derivative + Work as a distribution under section 1(c). + + 6) Attribution Rights. You must retain, in the Source Code of any + Derivative Works that You create, all copyright, patent, or + trademark notices from the Source Code of the Original Work, as + well as any notices of licensing and any descriptive text + identified therein as an "Attribution Notice." You must cause the + Source Code for any Derivative Works that You create to carry a + prominent Attribution Notice reasonably calculated to inform + recipients that You have modified the Original Work. + + 7) Warranty of Provenance and Disclaimer of Warranty. Licensor + warrants that the copyright in and to the Original Work and the + patent rights granted herein by Licensor are owned by the Licensor + or are sublicensed to You under the terms of this License with the + permission of the contributor(s) of those copyrights and patent + rights. Except as expressly stated in the immediately preceding + sentence, the Original Work is provided under this License on an + "AS IS" BASIS and WITHOUT WARRANTY, either express or implied, + including, without limitation, the warranties of non-infringement, + merchantability or fitness for a particular purpose. THE ENTIRE + RISK AS TO THE QUALITY OF THE ORIGINAL WORK IS WITH YOU. This + DISCLAIMER OF WARRANTY constitutes an essential part of this + License. No license to the Original Work is granted by this + License except under this disclaimer. + + 8) Limitation of Liability. Under no circumstances and under no legal + theory, whether in tort (including negligence), contract, or + otherwise, shall the Licensor be liable to anyone for any + indirect, special, incidental, or consequential damages of any + character arising as a result of this License or the use of the + Original Work including, without limitation, damages for loss of + goodwill, work stoppage, computer failure or malfunction, or any + and all other commercial damages or losses. This limitation of + liability shall not apply to the extent applicable law prohibits + such limitation. + + 9) Acceptance and Termination. If, at any time, You expressly + assented to this License, that assent indicates your clear and + irrevocable acceptance of this License and all of its terms and + conditions. If You distribute or communicate copies of the + Original Work or a Derivative Work, You must make a reasonable + effort under the circumstances to obtain the express assent of + recipients to the terms of this License. This License conditions + your rights to undertake the activities listed in Section 1, + including your right to create Derivative Works based upon the + Original Work, and doing so without honoring these terms and + conditions is prohibited by copyright law and international + treaty. Nothing in this License is intended to affect copyright + exceptions and limitations (including "fair use" or "fair + dealing"). This License shall terminate immediately and You may no + longer exercise any of the rights granted to You by this License + upon your failure to honor the conditions in Section 1(c). + + 10) Termination for Patent Action. This License shall terminate + automatically and You may no longer exercise any of the rights + granted to You by this License as of the date You commence an + action, including a cross-claim or counterclaim, against Licensor + or any licensee alleging that the Original Work infringes a + patent. This termination provision shall not apply for an action + alleging patent infringement by combinations of the Original Work + with other software or hardware. + + 11) Jurisdiction, Venue and Governing Law. Any action or suit relating + to this License may be brought only in the courts of a + jurisdiction wherein the Licensor resides or in which Licensor + conducts its primary business, and under the laws of that + jurisdiction excluding its conflict-of-law provisions. The + application of the United Nations Convention on Contracts for the + International Sale of Goods is expressly excluded. Any use of the + Original Work outside the scope of this License or after its + termination shall be subject to the requirements and penalties of + copyright or patent law in the appropriate jurisdiction. This + section shall survive the termination of this License. + + 12) Attorneys' Fees. In any action to enforce the terms of this + License or seeking damages relating thereto, the prevailing party + shall be entitled to recover its costs and expenses, including, + without limitation, reasonable attorneys' fees and costs incurred + in connection with such action, including any appeal of such + action. This section shall survive the termination of this + License. + + 13) Miscellaneous. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. + + 14) Definition of "You" in This License. "You" throughout this + License, whether in upper or lower case, means an individual or a + legal entity exercising rights under, and complying with all of + the terms of, this License. For legal entities, "You" includes any + entity that controls, is controlled by, or is under common control + with you. For purposes of this definition, "control" means (i) the + power, direct or indirect, to cause the direction or management of + such entity, whether by contract or otherwise, or (ii) ownership + of fifty percent (50%) or more of the outstanding shares, or (iii) + beneficial ownership of such entity. + + 15) Right to Use. You may use the Original Work in all ways not + otherwise restricted or conditioned by this License or by law, and + Licensor promises not to interfere with or be responsible for such + uses by You. + + 16) Modification of This License. This License is Copyright © 2005 + Lawrence Rosen. Permission is granted to copy, distribute, or + communicate this License without modification. Nothing in this + License permits You to modify this License as applied to the + Original Work or to Derivative Works. However, You may modify the + text of this License and copy, distribute or communicate your + modified version (the "Modified License") and apply it to other + original works of authorship subject to the following conditions: + (i) You may not indicate in any way that your Modified License is + the "Academic Free License" or "AFL" and you may not use those + names in the name of your Modified License; (ii) You must replace + the notice specified in the first paragraph above with the notice + "Licensed under " or with a notice + of your own that is not confusingly similar to the notice in this + License; and (iii) You may not claim that your original works are + open source software unless your Modified License has been + approved by Open Source Initiative (OSI) and You comply with its + license review and certification process. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/subversion/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/subversion/stable_copyright.expected.yml index d361408b92b..201eb1378d6 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/subversion/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/subversion/stable_copyright.expected.yml @@ -1,4 +1,6 @@ -- - Apache-2.0 +primary_license: apache-2.0 +declared_license: + - Apache-2.0 - BSD-3-clause or Apache-2.0 - Utfwidth - BSD-3-clause @@ -10,10 +12,10 @@ - BSD-2-clause - Expat - Unicode -- (apache-2.0 AND apache-2.0) AND (bsd-new OR (apache-2.0 AND apache-2.0)) AND other-permissive - AND bsd-new AND other-copyleft AND (gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 AND gpl-2.0) - AND (gpl-3.0-plus AND gpl-3.0) AND afl-3.0 AND (mit AND unicode) AND bsd-simplified -- | +license_expression: apache-2.0 AND (bsd-new OR apache-2.0) AND other-permissive AND bsd-new + AND other-copyleft AND (gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-3.0-plus AND gpl-3.0) + AND afl-3.0 AND (mit AND unicode) AND bsd-simplified +copyright: | Apache Software Foundation 2007 Max Bowsher 2005 Greg Stein @@ -40,3 +42,547 @@ 2009 Paul Bakker 2010-2013, Peter Noordhuis 2010-2014, Salvatore Sanfilippo +matches: + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 28 + matched_length: 28 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_wcwidth_1.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software + for any purpose and without fee is hereby granted. The author + disclaims all warranties with regard to this software. + - score: '20.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 45 + matched_length: 9 + match_coverage: '20.0' + rule_relevance: 100 + identifier: other-copyleft_12.RULE + license_expression: other-copyleft + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to [everyone] [to] [use] and distribute [this] [work], + [without] [limitation], modified or unmodified, + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-1.0-plus_350.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: of the GPL + - score: '95.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 95 + identifier: gpl-2.0_183.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL version 2 + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '60.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 20 + matched_length: 12 + match_coverage: '60.0' + rule_relevance: 100 + identifier: gpl-3.0_238.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GPL [version] [3] license can be + found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 119 + matched_length: 119 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_2.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + - score: '100.0' + start_line: 3 + end_line: 27 + matcher: 2-aho + rule_length: 204 + matched_length: 204 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_970.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + the documentation and/or other materials provided with the + distribution. + 3. The name of the author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 3 + end_line: 22 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, this + list of conditions and the following disclaimer in the documentation and/or + other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR + ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '96.15' + start_line: 1 + end_line: 32 + matcher: 3-seq + rule_length: 338 + matched_length: 325 + match_coverage: '96.15' + rule_relevance: 100 + identifier: unicode_42.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of the Unicode data files and any associated documentation (the "Data + Files") or Unicode software and any associated documentation (the + "Software") to deal in the Data Files or Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, and/or sell copies of the Data Files or Software, and + to permit persons to whom the Data Files or Software are furnished to do + so, provided that (a) the above copyright notice(s) and this permission + notice appear with all copies of the Data Files or Software, (b) both the + above copyright notice(s) and this permission notice appear in associated + documentation, and (c) there is clear notice in each modified Data File or + in the Software as well as in the documentation associated with the Data + File(s) or Software that the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF + THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS + INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR + CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF + USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THE DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder shall + not be used in advertising or otherwise to promote the sale, use or other + dealings in these Data Files or Software without prior written + authorization of the copyright holder. + + Unicode and the Unicode logo are trademarks of Unicode, Inc., and may be + registered in some jurisdictions. All other trademarks and registered + trademarks mentioned herein are the property of their respective owners. + - score: '100.0' + start_line: 1 + end_line: 186 + matcher: 1-hash + rule_length: 1623 + matched_length: 1623 + match_coverage: '100.0' + rule_relevance: 100 + identifier: afl-3.0.LICENSE + license_expression: afl-3.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This Academic Free License (the "License") applies to any original + work of authorship (the "Original Work") whose owner (the "Licensor") + has placed the following licensing notice adjacent to the copyright + notice for the Original Work: + + Licensed under the Academic Free License version 3.0 + + 1) Grant of Copyright License. Licensor grants You a worldwide, + royalty-free, non-exclusive, sublicensable license, for the + duration of the copyright, to do the following: + a) to reproduce the Original Work in copies, either alone or as + part of a collective work; + b) to translate, adapt, alter, transform, modify, or arrange the + Original Work, thereby creating derivative works ("Derivative + Works") based upon the Original Work; + c) to distribute or communicate copies of the Original Work and + Derivative Works to the public, under any license of your + choice that does not contradict the terms and conditions, + including Licensor's reserved rights and remedies, in this + Academic Free License; + d) to perform the Original Work publicly; and + e) to display the Original Work publicly. + + 2) Grant of Patent License. Licensor grants You a worldwide, + royalty-free, non- exclusive, sublicensable license, under patent + claims owned or controlled by the Licensor that are embodied in + the Original Work as furnished by the Licensor, for the duration + of the patents, to make, use, sell, offer for sale, have made, and + import the Original Work and Derivative Works. + + 3) Grant of Source Code License. The term "Source Code" means the + preferred form of the Original Work for making modifications to it + and all available documentation describing how to modify the + Original Work. Licensor agrees to provide a machine-readable copy + of the Source Code of the Original Work along with each copy of + the Original Work that Licensor distributes. Licensor reserves the + right to satisfy this obligation by placing a machine-readable + copy of the Source Code in an information repository reasonably + calculated to permit inexpensive and convenient access by You for + as long as Licensor continues to distribute the Original Work. + + 4) Exclusions From License Grant. Neither the names of Licensor, nor + the names of any contributors to the Original Work, nor any of + their trademarks or service marks, may be used to endorse or + promote products derived from this Original Work without express + prior permission of the Licensor. Except as expressly stated + herein, nothing in this License grants any license to Licensor's + trademarks, copyrights, patents, trade secrets or any other + intellectual property. No patent license is granted to make, use, + sell, offer for sale, have made, or import embodiments of any + patent claims other than the licensed claims defined in Section + 2. No license is granted to the trademarks of Licensor even if + such marks are included in the Original Work. Nothing in this + License shall be interpreted to prohibit Licensor from licensing + under terms different from this License any Original Work that + Licensor otherwise would have a right to license. + + 5) External Deployment. The term "External Deployment" means the use, + distribution, or communication of the Original Work or Derivative + Works in any way such that the Original Work or Derivative Works + may be used by anyone other than You, whether those works are + distributed or communicated to those persons or made available as + an application intended for use over a network. As an express + condition for the grants of license hereunder, You must treat any + External Deployment by You of the Original Work or a Derivative + Work as a distribution under section 1(c). + + 6) Attribution Rights. You must retain, in the Source Code of any + Derivative Works that You create, all copyright, patent, or + trademark notices from the Source Code of the Original Work, as + well as any notices of licensing and any descriptive text + identified therein as an "Attribution Notice." You must cause the + Source Code for any Derivative Works that You create to carry a + prominent Attribution Notice reasonably calculated to inform + recipients that You have modified the Original Work. + + 7) Warranty of Provenance and Disclaimer of Warranty. Licensor + warrants that the copyright in and to the Original Work and the + patent rights granted herein by Licensor are owned by the Licensor + or are sublicensed to You under the terms of this License with the + permission of the contributor(s) of those copyrights and patent + rights. Except as expressly stated in the immediately preceding + sentence, the Original Work is provided under this License on an + "AS IS" BASIS and WITHOUT WARRANTY, either express or implied, + including, without limitation, the warranties of non-infringement, + merchantability or fitness for a particular purpose. THE ENTIRE + RISK AS TO THE QUALITY OF THE ORIGINAL WORK IS WITH YOU. This + DISCLAIMER OF WARRANTY constitutes an essential part of this + License. No license to the Original Work is granted by this + License except under this disclaimer. + + 8) Limitation of Liability. Under no circumstances and under no legal + theory, whether in tort (including negligence), contract, or + otherwise, shall the Licensor be liable to anyone for any + indirect, special, incidental, or consequential damages of any + character arising as a result of this License or the use of the + Original Work including, without limitation, damages for loss of + goodwill, work stoppage, computer failure or malfunction, or any + and all other commercial damages or losses. This limitation of + liability shall not apply to the extent applicable law prohibits + such limitation. + + 9) Acceptance and Termination. If, at any time, You expressly + assented to this License, that assent indicates your clear and + irrevocable acceptance of this License and all of its terms and + conditions. If You distribute or communicate copies of the + Original Work or a Derivative Work, You must make a reasonable + effort under the circumstances to obtain the express assent of + recipients to the terms of this License. This License conditions + your rights to undertake the activities listed in Section 1, + including your right to create Derivative Works based upon the + Original Work, and doing so without honoring these terms and + conditions is prohibited by copyright law and international + treaty. Nothing in this License is intended to affect copyright + exceptions and limitations (including "fair use" or "fair + dealing"). This License shall terminate immediately and You may no + longer exercise any of the rights granted to You by this License + upon your failure to honor the conditions in Section 1(c). + + 10) Termination for Patent Action. This License shall terminate + automatically and You may no longer exercise any of the rights + granted to You by this License as of the date You commence an + action, including a cross-claim or counterclaim, against Licensor + or any licensee alleging that the Original Work infringes a + patent. This termination provision shall not apply for an action + alleging patent infringement by combinations of the Original Work + with other software or hardware. + + 11) Jurisdiction, Venue and Governing Law. Any action or suit relating + to this License may be brought only in the courts of a + jurisdiction wherein the Licensor resides or in which Licensor + conducts its primary business, and under the laws of that + jurisdiction excluding its conflict-of-law provisions. The + application of the United Nations Convention on Contracts for the + International Sale of Goods is expressly excluded. Any use of the + Original Work outside the scope of this License or after its + termination shall be subject to the requirements and penalties of + copyright or patent law in the appropriate jurisdiction. This + section shall survive the termination of this License. + + 12) Attorneys' Fees. In any action to enforce the terms of this + License or seeking damages relating thereto, the prevailing party + shall be entitled to recover its costs and expenses, including, + without limitation, reasonable attorneys' fees and costs incurred + in connection with such action, including any appeal of such + action. This section shall survive the termination of this + License. + + 13) Miscellaneous. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. + + 14) Definition of "You" in This License. "You" throughout this + License, whether in upper or lower case, means an individual or a + legal entity exercising rights under, and complying with all of + the terms of, this License. For legal entities, "You" includes any + entity that controls, is controlled by, or is under common control + with you. For purposes of this definition, "control" means (i) the + power, direct or indirect, to cause the direction or management of + such entity, whether by contract or otherwise, or (ii) ownership + of fifty percent (50%) or more of the outstanding shares, or (iii) + beneficial ownership of such entity. + + 15) Right to Use. You may use the Original Work in all ways not + otherwise restricted or conditioned by this License or by law, and + Licensor promises not to interfere with or be responsible for such + uses by You. + + 16) Modification of This License. This License is Copyright © 2005 + Lawrence Rosen. Permission is granted to copy, distribute, or + communicate this License without modification. Nothing in this + License permits You to modify this License as applied to the + Original Work or to Derivative Works. However, You may modify the + text of this License and copy, distribute or communicate your + modified version (the "Modified License") and apply it to other + original works of authorship subject to the following conditions: + (i) You may not indicate in any way that your Modified License is + the "Academic Free License" or "AFL" and you may not use those + names in the name of your Modified License; (ii) You must replace + the notice specified in the first paragraph above with the notice + "Licensed under " or with a notice + of your own that is not confusingly similar to the notice in this + License; and (iii) You may not claim that your original works are + open source software unless your Modified License has been + approved by Open Source Initiative (OSI) and You comply with its + license review and certification process. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/systemd/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/systemd/stable_copyright-detailed.expected.yml index 589b820fc54..aac8821f89c 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/systemd/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/systemd/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - LGPL-2.1+ +primary_license: lgpl-2.1-plus AND lgpl-2.1 +declared_license: + - LGPL-2.1+ - CC0-1.0 - GPL-2 - GPL-2 @@ -14,13 +16,12 @@ - GPL-2+ - LGPL-2.1+ - CC0-1.0 -- (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (cc0-1.0 AND cc0-1.0 AND cc0-1.0) - AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND - gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus) AND mit AND public-domain-disclaimer AND (gpl-2.0-plus - AND gpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (gpl-2.0 - AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND - lgpl-2.1) -- | +license_expression: (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (cc0-1.0 AND cc0-1.0 + AND cc0-1.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND + gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus) AND mit AND public-domain-disclaimer + AND (gpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND + (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) +copyright: | 2008-2015 Kay Sievers 2010-2015 Lennart Poettering 2012-2015 Zbigniew Jędrzejewski-Szmek @@ -80,3 +81,300 @@ 2010-2013 Tollef Fog Heen 2013-2018 Michael Biebl 2013 Michael Stapelberg +matches: + - score: '94.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 94 + identifier: public-domain-disclaimer_7.RULE + license_expression: public-domain-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You can use this free for any purpose. It's in the public domain. It has no + warranty. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_95.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2` + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 134 + matched_length: 134 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_737.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in ‘/usr/share/common-licenses/GPL-2’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_27.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To the extent possible under law, the author(s) have dedicated all copyright + and related and neighboring rights to this software to the public domain + worldwide. This software is distributed without any warranty. + + You should have received a copy of the CC0 Public Domain Dedication along with + this software. If not, see . + - score: '100.0' + start_line: 8 + end_line: 9 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_101.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the CC0 1.0 Universal license can be + found in ‘/usr/share/common-licenses/CC0-1.0’. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/systemd/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/systemd/stable_copyright.expected.yml index ea6f01ca9ac..acf87732934 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/systemd/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/s/systemd/stable_copyright.expected.yml @@ -1,13 +1,14 @@ -- - LGPL-2.1+ +primary_license: lgpl-2.1-plus AND lgpl-2.1 +declared_license: + - LGPL-2.1+ - CC0-1.0 - GPL-2 - GPL-2+ - Expat - public-domain -- (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (cc0-1.0 AND cc0-1.0 AND cc0-1.0) - AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus) AND +license_expression: (lgpl-2.1-plus AND lgpl-2.1) AND cc0-1.0 AND gpl-2.0 AND gpl-2.0-plus AND mit AND public-domain-disclaimer -- | +copyright: | 2008-2015 Kay Sievers 2010-2015 Lennart Poettering 2012-2015 Zbigniew Jędrzejewski-Szmek @@ -41,7 +42,6 @@ 2008 Red Hat, Inc. 2008 Ian Kent 2012 Josh Triplett - none 2003-2012 Kay Sievers 2003-2004 Greg Kroah-Hartman 2004 Chris Friesen @@ -63,3 +63,300 @@ 2014 Carlos Garnacho 2007-2013 Kay Sievers 2013 Tom Gundersen +matches: + - score: '94.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 94 + identifier: public-domain-disclaimer_7.RULE + license_expression: public-domain-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You can use this free for any purpose. It's in the public domain. It has no + warranty. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_95.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2` + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 134 + matched_length: 134 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_737.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in ‘/usr/share/common-licenses/GPL-2’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_27.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To the extent possible under law, the author(s) have dedicated all copyright + and related and neighboring rights to this software to the public domain + worldwide. This software is distributed without any warranty. + + You should have received a copy of the CC0 Public Domain Dedication along with + this software. If not, see . + - score: '100.0' + start_line: 8 + end_line: 9 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_101.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the CC0 1.0 Universal license can be + found in ‘/usr/share/common-licenses/CC0-1.0’. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/t/tzdata/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/t/tzdata/stable_copyright-detailed.expected.yml index 7dfda9de332..094efafcce0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/t/tzdata/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/t/tzdata/stable_copyright-detailed.expected.yml @@ -1,3 +1,21 @@ -- -- public-domain -- +primary_license: +declared_license: +license_expression: public-domain +copyright: +matches: + - score: '100.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_285.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is in the public domain. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/t/tzdata/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/t/tzdata/stable_copyright.expected.yml index 7dfda9de332..094efafcce0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/t/tzdata/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/t/tzdata/stable_copyright.expected.yml @@ -1,3 +1,21 @@ -- -- public-domain -- +primary_license: +declared_license: +license_expression: public-domain +copyright: +matches: + - score: '100.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_285.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is in the public domain. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/u/unzip/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/u/unzip/stable_copyright-detailed.expected.yml index ce7f8cf040e..3a70b6d4974 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/u/unzip/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/u/unzip/stable_copyright-detailed.expected.yml @@ -1,3 +1,64 @@ -- -- info-zip-2009-01 -- Copyright (c) 1990-2009 Info-ZIP. +primary_license: +declared_license: +license_expression: info-zip-2009-01 +copyright: Copyright (c) 1990-2009 Info-ZIP. +matches: + - score: '99.24' + start_line: 15 + end_line: 76 + matcher: 3-seq + rule_length: 521 + matched_length: 521 + match_coverage: '100.0' + rule_relevance: 100 + identifier: info-zip-2009-01.LICENSE + license_expression: info-zip-2009-01 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This is version 2009-Jan-02 of the Info-ZIP license.\n The definitive version\ + \ of this document should be available at\n ftp://ftp.info-zip.org/pub/infozip/license.html\ + \ indefinitely and\n a copy at http://www.info-zip.org/pub/infozip/license.html.\n \n\ + \ \n Copyright (c) 1990-2009 Info-ZIP. All rights reserved.\n \n For the purposes of\ + \ this copyright and license, \"Info-ZIP\" is defined as\n the following set of individuals:\n\ + \ \n Mark Adler, John Bush, Karl Davis, Harald Denker, Jean-Michel Dubois,\n Jean-loup\ + \ Gailly, Hunter Goatley, Ed Gordon, Ian Gorman, Chris Herborth,\n Dirk Haase, Greg\ + \ Hartwig, Robert Heath, Jonathan Hudson, Paul Kienitz,\n David Kirschbaum, Johnny\ + \ Lee, Onno van der Linden, Igor Mandrichenko,\n Steve P. Miller, Sergio Monesi, Keith\ + \ Owens, George Petrov, Greg Roelofs,\n Kai Uwe Rommel, Steve Salisbury, Dave Smith,\ + \ Steven M. Schweda,\n Christian Spieler, Cosmin Truta, Antoine Verheijen, Paul von\ + \ Behren,\n Rich Wales, Mike White.\n \n This software is provided \"as is,\" without\ + \ warranty of any kind, express\n or implied. In no event shall Info-ZIP or its contributors\ + \ be held liable\n for any direct, indirect, incidental, special or consequential damages\n\ + \ arising out of the use of or inability to use this software.\n \n Permission is granted\ + \ to anyone to use this software for any purpose,\n including commercial applications,\ + \ and to alter it and redistribute it\n freely, subject to the above disclaimer and the\ + \ following restrictions:\n \n [1]. Redistributions of source code (in whole or in\ + \ part) must retain\n the above copyright notice, definition, disclaimer, and this\ + \ list\n of conditions.\n \n [2]. Redistributions in binary form (compiled\ + \ executables and libraries)\n must reproduce the above copyright notice, definition,\ + \ disclaimer,\n and this list of conditions in documentation and/or other materials\n\ + \ provided with the distribution. Additional documentation is not needed\n \ + \ for executables where a command line license option provides these and\n \ + \ a note regarding this option is in the executable's startup banner. The\n sole\ + \ exception to this condition is redistribution of a standard\n UnZipSFX binary\ + \ (including SFXWiz) as part of a self-extracting archive;\n that is permitted\ + \ without inclusion of this license, as long as the\n normal SFX banner has not\ + \ been removed from the binary or disabled.\n \n [3]. Altered versions--including,\ + \ but not limited to, ports to new operating\n systems, existing ports with new\ + \ graphical interfaces, versions with\n modified or added functionality, and dynamic,\ + \ shared, or static library\n versions not from Info-ZIP--must be plainly marked\ + \ as such and must not\n be misrepresented as being the original source or, if\ + \ binaries,\n compiled from the original source. Such altered versions also must\ + \ not\n be misrepresented as being Info-ZIP releases--including, but not\n \ + \ limited to, labeling of the altered versions with the names \"Info-ZIP\"\n \ + \ (or any variation thereof, including, but not limited to, different\n capitalizations),\ + \ \"Pocket UnZip,\" \"WiZ\" or \"MacZip\" without the\n explicit permission of\ + \ Info-ZIP. Such altered versions are further\n prohibited from misrepresentative\ + \ use of the Zip-Bugs or Info-ZIP\n e-mail addresses or the Info-ZIP URL(s), such\ + \ as to imply Info-ZIP\n will provide support for the altered versions.\n \n \ + \ [4]. Info-ZIP retains the right to use the names \"Info-ZIP,\" \"Zip,\" \"UnZip,\"\ + \n \"UnZipSFX,\" \"WiZ,\" \"Pocket UnZip,\" \"Pocket Zip,\" and \"MacZip\" for\ + \ its\n own source and binary releases." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/u/unzip/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/u/unzip/stable_copyright.expected.yml index ce7f8cf040e..3a70b6d4974 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/u/unzip/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/u/unzip/stable_copyright.expected.yml @@ -1,3 +1,64 @@ -- -- info-zip-2009-01 -- Copyright (c) 1990-2009 Info-ZIP. +primary_license: +declared_license: +license_expression: info-zip-2009-01 +copyright: Copyright (c) 1990-2009 Info-ZIP. +matches: + - score: '99.24' + start_line: 15 + end_line: 76 + matcher: 3-seq + rule_length: 521 + matched_length: 521 + match_coverage: '100.0' + rule_relevance: 100 + identifier: info-zip-2009-01.LICENSE + license_expression: info-zip-2009-01 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This is version 2009-Jan-02 of the Info-ZIP license.\n The definitive version\ + \ of this document should be available at\n ftp://ftp.info-zip.org/pub/infozip/license.html\ + \ indefinitely and\n a copy at http://www.info-zip.org/pub/infozip/license.html.\n \n\ + \ \n Copyright (c) 1990-2009 Info-ZIP. All rights reserved.\n \n For the purposes of\ + \ this copyright and license, \"Info-ZIP\" is defined as\n the following set of individuals:\n\ + \ \n Mark Adler, John Bush, Karl Davis, Harald Denker, Jean-Michel Dubois,\n Jean-loup\ + \ Gailly, Hunter Goatley, Ed Gordon, Ian Gorman, Chris Herborth,\n Dirk Haase, Greg\ + \ Hartwig, Robert Heath, Jonathan Hudson, Paul Kienitz,\n David Kirschbaum, Johnny\ + \ Lee, Onno van der Linden, Igor Mandrichenko,\n Steve P. Miller, Sergio Monesi, Keith\ + \ Owens, George Petrov, Greg Roelofs,\n Kai Uwe Rommel, Steve Salisbury, Dave Smith,\ + \ Steven M. Schweda,\n Christian Spieler, Cosmin Truta, Antoine Verheijen, Paul von\ + \ Behren,\n Rich Wales, Mike White.\n \n This software is provided \"as is,\" without\ + \ warranty of any kind, express\n or implied. In no event shall Info-ZIP or its contributors\ + \ be held liable\n for any direct, indirect, incidental, special or consequential damages\n\ + \ arising out of the use of or inability to use this software.\n \n Permission is granted\ + \ to anyone to use this software for any purpose,\n including commercial applications,\ + \ and to alter it and redistribute it\n freely, subject to the above disclaimer and the\ + \ following restrictions:\n \n [1]. Redistributions of source code (in whole or in\ + \ part) must retain\n the above copyright notice, definition, disclaimer, and this\ + \ list\n of conditions.\n \n [2]. Redistributions in binary form (compiled\ + \ executables and libraries)\n must reproduce the above copyright notice, definition,\ + \ disclaimer,\n and this list of conditions in documentation and/or other materials\n\ + \ provided with the distribution. Additional documentation is not needed\n \ + \ for executables where a command line license option provides these and\n \ + \ a note regarding this option is in the executable's startup banner. The\n sole\ + \ exception to this condition is redistribution of a standard\n UnZipSFX binary\ + \ (including SFXWiz) as part of a self-extracting archive;\n that is permitted\ + \ without inclusion of this license, as long as the\n normal SFX banner has not\ + \ been removed from the binary or disabled.\n \n [3]. Altered versions--including,\ + \ but not limited to, ports to new operating\n systems, existing ports with new\ + \ graphical interfaces, versions with\n modified or added functionality, and dynamic,\ + \ shared, or static library\n versions not from Info-ZIP--must be plainly marked\ + \ as such and must not\n be misrepresented as being the original source or, if\ + \ binaries,\n compiled from the original source. Such altered versions also must\ + \ not\n be misrepresented as being Info-ZIP releases--including, but not\n \ + \ limited to, labeling of the altered versions with the names \"Info-ZIP\"\n \ + \ (or any variation thereof, including, but not limited to, different\n capitalizations),\ + \ \"Pocket UnZip,\" \"WiZ\" or \"MacZip\" without the\n explicit permission of\ + \ Info-ZIP. Such altered versions are further\n prohibited from misrepresentative\ + \ use of the Zip-Bugs or Info-ZIP\n e-mail addresses or the Info-ZIP URL(s), such\ + \ as to imply Info-ZIP\n will provide support for the altered versions.\n \n \ + \ [4]. Info-ZIP retains the right to use the names \"Info-ZIP,\" \"Zip,\" \"UnZip,\"\ + \n \"UnZipSFX,\" \"WiZ,\" \"Pocket UnZip,\" \"Pocket Zip,\" and \"MacZip\" for\ + \ its\n own source and binary releases." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/webkit2gtk/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/webkit2gtk/stable_copyright-detailed.expected.yml index ad6a8d76846..b7be4242e2c 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/webkit2gtk/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/webkit2gtk/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - BSD-2-clause +primary_license: bsd-simplified +declared_license: + - BSD-2-clause - BSD-3-clause - Expat - GPL-3+ @@ -27,12 +29,13 @@ - MPL-1.1 - Apache-2.0 - ISC -- bsd-simplified AND bsd-new AND mit AND (gpl-3.0-plus AND gpl-3.0-plus) AND (lgpl-2.0-plus - AND lgpl-2.1-plus) AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus) - AND x11 AND ((mpl-1.1 AND mpl-1.1) OR (gpl-2.0-plus AND gpl-2.0-plus) OR (lgpl-2.1-plus AND - lgpl-2.1-plus)) AND public-domain AND (apache-2.0 AND apache-2.0 AND apache-2.0) AND (bsd-new - AND boost-1.0) AND isc AND (lgpl-2.0 AND lgpl-2.1-plus) AND (lgpl-2.0-plus AND lgpl-2.1-plus) -- | +license_expression: bsd-simplified AND bsd-simplified AND bsd-new AND mit AND (gpl-3.0-plus + AND gpl-3.0-plus) AND (lgpl-2.0-plus AND lgpl-2.1-plus) AND (lgpl-2.1 AND lgpl-2.1-plus AND + lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus) AND x11 AND ((mpl-1.1 AND mpl-1.1) OR (gpl-2.0-plus + AND gpl-2.0-plus) OR (lgpl-2.1-plus AND lgpl-2.1-plus)) AND public-domain AND (apache-2.0 + AND apache-2.0 AND apache-2.0) AND (bsd-new AND boost-1.0) AND isc AND (lgpl-2.0 AND lgpl-2.1-plus) + AND (lgpl-2.0-plus AND lgpl-2.1-plus) +copyright: | © 2002-2019 Apple Inc. and others © 2002-2014 Apple Inc. and others © 2007-2009 The Khronos Group Inc. @@ -52,3 +55,1082 @@ © 2007-2009 Mike Hommey © 2009 Gustavo Noronha Silva © 2014-2019 Alberto Garcia +matches: + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_303.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This code was written by Colin Plumb in 1993, no copyright is + claimed. + This code is in the public domain; do with it what you wish. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_31.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY + OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_684.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer + in the documentation and/or other materials provided with the + distribution. + 3. Neither the name of [Ericsson] nor the names of its contributors + may be used to endorse or promote products derived from this + software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 24 + matcher: 1-hash + rule_length: 202 + matched_length: 202 + match_coverage: '100.0' + rule_relevance: 100 + identifier: boost-1.0_9.RULE + license_expression: boost-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person or + organization obtaining a copy of the software and accompanying + documentation covered by this license (the "Software") to use, + reproduce, display, distribute, execute, and transmit the Software, + and to prepare derivative works of the Software, and to permit + third-parties to whom the Software is furnished to do so, all subject + to the following: + + The copyright notices in the Software and this entire statement, + including the above license grant, this restriction and the following + disclaimer, must be included in all copies of the Software, in whole + or in part, and all derivative works of the Software, unless such + copies or derivative works are solely in the form of + machine-executable object code generated by a source language + processor. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND + NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE + DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER + LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT + OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_12.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2' + - score: '84.04' + start_line: 1 + end_line: 10 + matcher: 3-seq + rule_length: 94 + matched_length: 79 + match_coverage: '84.04' + rule_relevance: 100 + identifier: lgpl-2.1-plus_202.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License [version] [2] + as published by the Free Software Foundation. + + This module is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + On Debian systems, the complete text of the license can be found in + the file /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '97.87' + start_line: 1 + end_line: 11 + matcher: 3-seq + rule_length: 94 + matched_length: 92 + match_coverage: '97.87' + rule_relevance: 100 + identifier: lgpl-2.1-plus_202.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + This module is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + On Debian systems, the complete text of the license can be found in + the file /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '85.11' + start_line: 1 + end_line: 10 + matcher: 3-seq + rule_length: 94 + matched_length: 80 + match_coverage: '85.11' + rule_relevance: 100 + identifier: lgpl-2.1-plus_202.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License [version] + [2].[1] as published by the Free Software Foundation. + + This module is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + On Debian systems, the complete text of the license can be found in + the file /usr/share/common-licenses/LGPL-2.1 + - score: '100.0' + start_line: 2 + end_line: 3 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_282.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU Lesser General Public License version + 2.1 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 94 + matched_length: 94 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_202.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 2.1 of the + License, or (at your option) any later version. + + This module is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + On Debian systems, the complete text of the license can be found in + the file /usr/share/common-licenses/LGPL-2.1 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 91 + matched_length: 91 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_655.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or (at + your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + On Debian systems, the complete text of the license can be found in + the file /usr/share/common-licenses/GPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '93.0' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 100 + matched_length: 93 + match_coverage: '93.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_234.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or (at + your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + On Debian systems, the complete text of the license [can] [be] [found] [in] + [the] [file] /usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 24 + matcher: 1-hash + rule_length: 225 + matched_length: 225 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11.LICENSE + license_expression: x11 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, and/or sell copies of the Software, and to permit persons + to whom the Software is furnished to do so, provided that the above + copyright notice(s) and this permission notice appear in all copies + of the Software and that both the above copyright notice(s) and this + permission notice appear in supporting documentation. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT + OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR + HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY + SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER + RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF + CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN + CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + Except as contained in this notice, the name of a copyright holder + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in this Software without prior written + authorization of the copyright holder. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mpl-1.1_24.RULE + license_expression: mpl-1.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: mpl-1.1' + - score: '100.0' + start_line: 1 + end_line: 467 + matcher: 1-hash + rule_length: 3690 + matched_length: 3690 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mpl-1.1.LICENSE + license_expression: mpl-1.1 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + MOZILLA PUBLIC LICENSE + Version 1.1 + + --------------- + + 1. Definitions. + + 1.0.1. "Commercial Use" means distribution or otherwise making the + Covered Code available to a third party. + + 1.1. "Contributor" means each entity that creates or contributes to + the creation of Modifications. + + 1.2. "Contributor Version" means the combination of the Original + Code, prior Modifications used by a Contributor, and the Modifications + made by that particular Contributor. + + 1.3. "Covered Code" means the Original Code or Modifications or the + combination of the Original Code and Modifications, in each case + including portions thereof. + + 1.4. "Electronic Distribution Mechanism" means a mechanism generally + accepted in the software development community for the electronic + transfer of data. + + 1.5. "Executable" means Covered Code in any form other than Source + Code. + + 1.6. "Initial Developer" means the individual or entity identified + as the Initial Developer in the Source Code notice required by Exhibit + A. + + 1.7. "Larger Work" means a work which combines Covered Code or + portions thereof with code not governed by the terms of this License. + + 1.8. "License" means this document. + + 1.8.1. "Licensable" means having the right to grant, to the maximum + extent possible, whether at the time of the initial grant or + subsequently acquired, any and all of the rights conveyed herein. + + 1.9. "Modifications" means any addition to or deletion from the + substance or structure of either the Original Code or any previous + Modifications. When Covered Code is released as a series of files, a + Modification is: + A. Any addition to or deletion from the contents of a file + containing Original Code or previous Modifications. + + B. Any new file that contains any part of the Original Code or + previous Modifications. + + 1.10. "Original Code" means Source Code of computer software code + which is described in the Source Code notice required by Exhibit A as + Original Code, and which, at the time of its release under this + License is not already Covered Code governed by this License. + + 1.10.1. "Patent Claims" means any patent claim(s), now owned or + hereafter acquired, including without limitation, method, process, + and apparatus claims, in any patent Licensable by grantor. + + 1.11. "Source Code" means the preferred form of the Covered Code for + making modifications to it, including all modules it contains, plus + any associated interface definition files, scripts used to control + compilation and installation of an Executable, or source code + differential comparisons against either the Original Code or another + well known, available Covered Code of the Contributor's choice. The + Source Code can be in a compressed or archival form, provided the + appropriate decompression or de-archiving software is widely available + for no charge. + + 1.12. "You" (or "Your") means an individual or a legal entity + exercising rights under, and complying with all of the terms of, this + License or a future version of this License issued under Section 6.1. + For legal entities, "You" includes any entity which controls, is + controlled by, or is under common control with You. For purposes of + this definition, "control" means (a) the power, direct or indirect, + to cause the direction or management of such entity, whether by + contract or otherwise, or (b) ownership of more than fifty percent + (50%) of the outstanding shares or beneficial ownership of such + entity. + + 2. Source Code License. + + 2.1. The Initial Developer Grant. + The Initial Developer hereby grants You a world-wide, royalty-free, + non-exclusive license, subject to third party intellectual property + claims: + (a) under intellectual property rights (other than patent or + trademark) Licensable by Initial Developer to use, reproduce, + modify, display, perform, sublicense and distribute the Original + Code (or portions thereof) with or without Modifications, and/or + as part of a Larger Work; and + + (b) under Patents Claims infringed by the making, using or + selling of Original Code, to make, have made, use, practice, + sell, and offer for sale, and/or otherwise dispose of the + Original Code (or portions thereof). + + (c) the licenses granted in this Section 2.1(a) and (b) are + effective on the date Initial Developer first distributes + Original Code under the terms of this License. + + (d) Notwithstanding Section 2.1(b) above, no patent license is + granted: 1) for code that You delete from the Original Code; 2) + separate from the Original Code; or 3) for infringements caused + by: i) the modification of the Original Code or ii) the + combination of the Original Code with other software or devices. + + 2.2. Contributor Grant. + Subject to third party intellectual property claims, each Contributor + hereby grants You a world-wide, royalty-free, non-exclusive license + + (a) under intellectual property rights (other than patent or + trademark) Licensable by Contributor, to use, reproduce, modify, + display, perform, sublicense and distribute the Modifications + created by such Contributor (or portions thereof) either on an + unmodified basis, with other Modifications, as Covered Code + and/or as part of a Larger Work; and + + (b) under Patent Claims infringed by the making, using, or + selling of Modifications made by that Contributor either alone + and/or in combination with its Contributor Version (or portions + of such combination), to make, use, sell, offer for sale, have + made, and/or otherwise dispose of: 1) Modifications made by that + Contributor (or portions thereof); and 2) the combination of + Modifications made by that Contributor with its Contributor + Version (or portions of such combination). + + (c) the licenses granted in Sections 2.2(a) and 2.2(b) are + effective on the date Contributor first makes Commercial Use of + the Covered Code. + (d) Notwithstanding Section 2.2(b) above, no patent license is + granted: 1) for any code that Contributor has deleted from the + Contributor Version; 2) separate from the Contributor Version; + 3) for infringements caused by: i) third party modifications of + Contributor Version or ii) the combination of Modifications made + by that Contributor with other software (except as part of the + Contributor Version) or other devices; or 4) under Patent Claims + infringed by Covered Code in the absence of Modifications made by + that Contributor. + + 3. Distribution Obligations. + + 3.1. Application of License. + The Modifications which You create or to which You contribute are + governed by the terms of this License, including without limitation + Section 2.2. The Source Code version of Covered Code may be + distributed only under the terms of this License or a future version + of this License released under Section 6.1, and You must include a + copy of this License with every copy of the Source Code You + distribute. You may not offer or impose any terms on any Source Code + version that alters or restricts the applicable version of this + License or the recipients' rights hereunder. However, You may include + an additional document offering the additional rights described in + Section 3.5. + + 3.2. Availability of Source Code. + Any Modification which You create or to which You contribute must be + made available in Source Code form under the terms of this License + either on the same media as an Executable version or via an accepted + Electronic Distribution Mechanism to anyone to whom you made an + Executable version available; and if made available via Electronic + Distribution Mechanism, must remain available for at least twelve (12) + months after the date it initially became available, or at least six + (6) months after a subsequent version of that particular Modification + has been made available to such recipients. You are responsible for + ensuring that the Source Code version remains available even if the + Electronic Distribution Mechanism is maintained by a third party. + + 3.3. Description of Modifications. + You must cause all Covered Code to which You contribute to contain a + file documenting the changes You made to create that Covered Code and + the date of any change. You must include a prominent statement that + the Modification is derived, directly or indirectly, from Original + Code provided by the Initial Developer and including the name of the + Initial Developer in (a) the Source Code, and (b) in any notice in an + Executable version or related documentation in which You describe the + origin or ownership of the Covered Code. + + 3.4. Intellectual Property Matters + (a) Third Party Claims. + If Contributor has knowledge that a license under a third party's + intellectual property rights is required to exercise the rights + granted by such Contributor under Sections 2.1 or 2.2, + Contributor must include a text file with the Source Code + distribution titled "LEGAL" which describes the claim and the + party making the claim in sufficient detail that a recipient will + know whom to contact. If Contributor obtains such knowledge after + the Modification is made available as described in Section 3.2, + Contributor shall promptly modify the LEGAL file in all copies + Contributor makes available thereafter and shall take other steps + (such as notifying appropriate mailing lists or newsgroups) + reasonably calculated to inform those who received the Covered + Code that new knowledge has been obtained. + + (b) Contributor APIs. + If Contributor's Modifications include an application programming + interface and Contributor has knowledge of patent licenses which + are reasonably necessary to implement that API, Contributor must + also include this information in the LEGAL file. + + (c) Representations. + Contributor represents that, except as disclosed pursuant to + Section 3.4(a) above, Contributor believes that Contributor's + Modifications are Contributor's original creation(s) and/or + Contributor has sufficient rights to grant the rights conveyed by + this License. + + 3.5. Required Notices. + You must duplicate the notice in Exhibit A in each file of the Source + Code. If it is not possible to put such notice in a particular Source + Code file due to its structure, then You must include such notice in a + location (such as a relevant directory) where a user would be likely + to look for such a notice. If You created one or more Modification(s) + You may add your name as a Contributor to the notice described in + Exhibit A. You must also duplicate this License in any documentation + for the Source Code where You describe recipients' rights or ownership + rights relating to Covered Code. You may choose to offer, and to + charge a fee for, warranty, support, indemnity or liability + obligations to one or more recipients of Covered Code. However, You + may do so only on Your own behalf, and not on behalf of the Initial + Developer or any Contributor. You must make it absolutely clear than + any such warranty, support, indemnity or liability obligation is + offered by You alone, and You hereby agree to indemnify the Initial + Developer and every Contributor for any liability incurred by the + Initial Developer or such Contributor as a result of warranty, + support, indemnity or liability terms You offer. + + 3.6. Distribution of Executable Versions. + You may distribute Covered Code in Executable form only if the + requirements of Section 3.1-3.5 have been met for that Covered Code, + and if You include a notice stating that the Source Code version of + the Covered Code is available under the terms of this License, + including a description of how and where You have fulfilled the + obligations of Section 3.2. The notice must be conspicuously included + in any notice in an Executable version, related documentation or + collateral in which You describe recipients' rights relating to the + Covered Code. You may distribute the Executable version of Covered + Code or ownership rights under a license of Your choice, which may + contain terms different from this License, provided that You are in + compliance with the terms of this License and that the license for the + Executable version does not attempt to limit or alter the recipient's + rights in the Source Code version from the rights set forth in this + License. If You distribute the Executable version under a different + license You must make it absolutely clear that any terms which differ + from this License are offered by You alone, not by the Initial + Developer or any Contributor. You hereby agree to indemnify the + Initial Developer and every Contributor for any liability incurred by + the Initial Developer or such Contributor as a result of any such + terms You offer. + + 3.7. Larger Works. + You may create a Larger Work by combining Covered Code with other code + not governed by the terms of this License and distribute the Larger + Work as a single product. In such a case, You must make sure the + requirements of this License are fulfilled for the Covered Code. + + 4. Inability to Comply Due to Statute or Regulation. + + If it is impossible for You to comply with any of the terms of this + License with respect to some or all of the Covered Code due to + statute, judicial order, or regulation then You must: (a) comply with + the terms of this License to the maximum extent possible; and (b) + describe the limitations and the code they affect. Such description + must be included in the LEGAL file described in Section 3.4 and must + be included with all distributions of the Source Code. Except to the + extent prohibited by statute or regulation, such description must be + sufficiently detailed for a recipient of ordinary skill to be able to + understand it. + + 5. Application of this License. + + This License applies to code to which the Initial Developer has + attached the notice in Exhibit A and to related Covered Code. + + 6. Versions of the License. + + 6.1. New Versions. + Netscape Communications Corporation ("Netscape") may publish revised + and/or new versions of the License from time to time. Each version + will be given a distinguishing version number. + + 6.2. Effect of New Versions. + Once Covered Code has been published under a particular version of the + License, You may always continue to use it under the terms of that + version. You may also choose to use such Covered Code under the terms + of any subsequent version of the License published by Netscape. No one + other than Netscape has the right to modify the terms applicable to + Covered Code created under this License. + + 6.3. Derivative Works. + If You create or use a modified version of this License (which you may + only do in order to apply it to code which is not already Covered Code + governed by this License), You must (a) rename Your license so that + the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", + "MPL", "NPL" or any confusingly similar phrase do not appear in your + license (except to note that your license differs from this License) + and (b) otherwise make it clear that Your version of the license + contains terms which differ from the Mozilla Public License and + Netscape Public License. (Filling in the name of the Initial + Developer, Original Code or Contributor in the notice described in + Exhibit A shall not of themselves be deemed to be modifications of + this License.) + + 7. DISCLAIMER OF WARRANTY. + COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF + DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. + THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE + IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, + YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE + COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER + OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF + ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + + 8. TERMINATION. + + 8.1. This License and the rights granted hereunder will terminate + automatically if You fail to comply with terms herein and fail to cure + such breach within 30 days of becoming aware of the breach. All + sublicenses to the Covered Code which are properly granted shall + survive any termination of this License. Provisions which, by their + nature, must remain in effect beyond the termination of this License + shall survive. + + 8.2. If You initiate litigation by asserting a patent infringement + claim (excluding declatory judgment actions) against Initial Developer + or a Contributor (the Initial Developer or Contributor against whom + You file such action is referred to as "Participant") alleging that: + + (a) such Participant's Contributor Version directly or indirectly + infringes any patent, then any and all rights granted by such + Participant to You under Sections 2.1 and/or 2.2 of this License + shall, upon 60 days notice from Participant terminate prospectively, + unless if within 60 days after receipt of notice You either: (i) + agree in writing to pay Participant a mutually agreeable reasonable + royalty for Your past and future use of Modifications made by such + Participant, or (ii) withdraw Your litigation claim with respect to + the Contributor Version against such Participant. If within 60 days + of notice, a reasonable royalty and payment arrangement are not + mutually agreed upon in writing by the parties or the litigation claim + is not withdrawn, the rights granted by Participant to You under + Sections 2.1 and/or 2.2 automatically terminate at the expiration of + the 60 day notice period specified above. + + (b) any software, hardware, or device, other than such Participant's + Contributor Version, directly or indirectly infringes any patent, then + any rights granted to You by such Participant under Sections 2.1(b) + and 2.2(b) are revoked effective as of the date You first made, used, + sold, distributed, or had made, Modifications made by that + Participant. + + 8.3. If You assert a patent infringement claim against Participant + alleging that such Participant's Contributor Version directly or + indirectly infringes any patent where such claim is resolved (such as + by license or settlement) prior to the initiation of patent + infringement litigation, then the reasonable value of the licenses + granted by such Participant under Sections 2.1 or 2.2 shall be taken + into account in determining the amount or value of any payment or + license. + + 8.4. In the event of termination under Sections 8.1 or 8.2 above, + all end user license agreements (excluding distributors and resellers) + which have been validly granted by You or any distributor hereunder + prior to termination shall survive termination. + + 9. LIMITATION OF LIABILITY. + + UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT + (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL + DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, + OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR + ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY + CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, + WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER + COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN + INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF + LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY + RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW + PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE + EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO + THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. + + 10. U.S. GOVERNMENT END USERS. + + The Covered Code is a "commercial item," as that term is defined in + 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer + software" and "commercial computer software documentation," as such + terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 + C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), + all U.S. Government End Users acquire Covered Code with only those + rights set forth herein. + + 11. MISCELLANEOUS. + + This License represents the complete agreement concerning subject + matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. This License shall be governed by + California law provisions (except to the extent applicable law, if + any, provides otherwise), excluding its conflict-of-law provisions. + With respect to disputes in which at least one party is a citizen of, + or an entity chartered or registered to do business in the United + States of America, any litigation relating to this License shall be + subject to the jurisdiction of the Federal Courts of the Northern + District of California, with venue lying in Santa Clara County, + California, with the losing party responsible for costs, including + without limitation, court costs and reasonable attorneys' fees and + expenses. The application of the United Nations Convention on + Contracts for the International Sale of Goods is expressly excluded. + Any law or regulation which provides that the language of a contract + shall be construed against the drafter shall not apply to this + License. + + 12. RESPONSIBILITY FOR CLAIMS. + + As between Initial Developer and the Contributors, each party is + responsible for claims and damages arising, directly or indirectly, + out of its utilization of rights under this License and You agree to + work with Initial Developer and Contributors to distribute such + responsibility on an equitable basis. Nothing herein is intended or + shall be deemed to constitute any admission of liability. + + 13. MULTIPLE-LICENSED CODE. + + Initial Developer may designate portions of the Covered Code as + "Multiple-Licensed". "Multiple-Licensed" means that the Initial + Developer permits you to utilize portions of the Covered Code under + Your choice of the NPL or the alternative licenses, if any, specified + by the Initial Developer in the file described in Exhibit A. + + EXHIBIT A -Mozilla Public License. + + ``The contents of this file are subject to the Mozilla Public License + Version 1.1 (the "License"); you may not use this file except in + compliance with the License. You may obtain a copy of the License at + http://www.mozilla.org/MPL/ + + Software distributed under the License is distributed on an "AS IS" + basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the + License for the specific language governing rights and limitations + under the License. + + The Original Code is ______________________________________. + + The Initial Developer of the Original Code is ________________________. + Portions created by ______________________ are Copyright (C) ______ + _______________________. All Rights Reserved. + + Contributor(s): ______________________________________. + + Alternatively, the contents of this file may be used under the terms + of the _____ license (the "[___] License"), in which case the + provisions of [______] License are applicable instead of those + above. If you wish to allow use of your version of this file only + under the terms of the [____] License and not to allow others to use + your version of this file under the MPL, indicate your decision by + deleting the provisions above and replace them with the notice and + other provisions required by the [___] License. If you do not delete + the provisions above, a recipient may use your version of this file + under either the MPL or the [___] License." + + [NOTE: The text of this Exhibit A may differ slightly from the text of + the notices in the Source Code files of the Original Code. You should + use the text of this Exhibit A rather than the text found in the + Original Code Source Code for Your Modifications.] + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_392.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the Apache license version 2 + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: spdx_license_id_apache-2.0_for_apache-2.0.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache-2.0'. + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + purpose with or without fee is hereby granted, provided that the + above copyright notice and this permission notice appear in all + copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL + WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE + AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL + DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR + PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: spdx_license_id_bsd-2-clause_for_bsd-simplified.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: BSD 2-clause, diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/webkit2gtk/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/webkit2gtk/stable_copyright.expected.yml index 2a7ddd3c190..1baf5524528 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/webkit2gtk/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/webkit2gtk/stable_copyright.expected.yml @@ -1,4 +1,6 @@ -- - BSD-2-clause +primary_license: bsd-simplified +declared_license: + - BSD-2-clause - BSD-3-clause - Expat - GPL-3+ @@ -15,12 +17,11 @@ - BSL - GPL-2+ - MPL-1.1 -- bsd-simplified AND bsd-new AND mit AND (gpl-3.0-plus AND gpl-3.0-plus) AND (lgpl-2.0-plus - AND lgpl-2.1-plus) AND (lgpl-2.1 AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus) - AND x11 AND ((mpl-1.1 AND mpl-1.1) OR (gpl-2.0-plus AND gpl-2.0-plus) OR (lgpl-2.1-plus AND - lgpl-2.1-plus)) AND public-domain AND (apache-2.0 AND apache-2.0 AND apache-2.0) AND (bsd-new - AND boost-1.0) AND isc AND (lgpl-2.0 AND lgpl-2.1-plus) -- | +license_expression: bsd-simplified AND bsd-new AND mit AND gpl-3.0-plus AND (lgpl-2.0-plus AND + lgpl-2.1-plus) AND (lgpl-2.1 AND lgpl-2.1-plus) AND lgpl-2.1-plus AND x11 AND (mpl-1.1 OR + gpl-2.0-plus OR lgpl-2.1-plus) AND public-domain AND apache-2.0 AND (bsd-new AND boost-1.0) + AND isc AND (lgpl-2.0 AND lgpl-2.1-plus) +copyright: | © 2002-2019 Apple Inc. and others © 2002-2014 Apple Inc. and others © 2007-2009 The Khronos Group Inc. @@ -30,3 +31,1082 @@ © 2007 Google Inc. © 1996 David Mazieres © 2008 Damien Miller +matches: + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_303.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This code was written by Colin Plumb in 1993, no copyright is + claimed. + This code is in the public domain; do with it what you wish. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_31.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY + OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_684.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer + in the documentation and/or other materials provided with the + distribution. + 3. Neither the name of [Ericsson] nor the names of its contributors + may be used to endorse or promote products derived from this + software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 24 + matcher: 1-hash + rule_length: 202 + matched_length: 202 + match_coverage: '100.0' + rule_relevance: 100 + identifier: boost-1.0_9.RULE + license_expression: boost-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person or + organization obtaining a copy of the software and accompanying + documentation covered by this license (the "Software") to use, + reproduce, display, distribute, execute, and transmit the Software, + and to prepare derivative works of the Software, and to permit + third-parties to whom the Software is furnished to do so, all subject + to the following: + + The copyright notices in the Software and this entire statement, + including the above license grant, this restriction and the following + disclaimer, must be included in all copies of the Software, in whole + or in part, and all derivative works of the Software, unless such + copies or derivative works are solely in the form of + machine-executable object code generated by a source language + processor. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND + NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE + DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER + LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT + OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_12.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2' + - score: '84.04' + start_line: 1 + end_line: 10 + matcher: 3-seq + rule_length: 94 + matched_length: 79 + match_coverage: '84.04' + rule_relevance: 100 + identifier: lgpl-2.1-plus_202.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License [version] [2] + as published by the Free Software Foundation. + + This module is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + On Debian systems, the complete text of the license can be found in + the file /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '97.87' + start_line: 1 + end_line: 11 + matcher: 3-seq + rule_length: 94 + matched_length: 92 + match_coverage: '97.87' + rule_relevance: 100 + identifier: lgpl-2.1-plus_202.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + This module is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + On Debian systems, the complete text of the license can be found in + the file /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '85.11' + start_line: 1 + end_line: 10 + matcher: 3-seq + rule_length: 94 + matched_length: 80 + match_coverage: '85.11' + rule_relevance: 100 + identifier: lgpl-2.1-plus_202.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License [version] + [2].[1] as published by the Free Software Foundation. + + This module is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + On Debian systems, the complete text of the license can be found in + the file /usr/share/common-licenses/LGPL-2.1 + - score: '100.0' + start_line: 2 + end_line: 3 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_282.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU Lesser General Public License version + 2.1 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 94 + matched_length: 94 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_202.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 2.1 of the + License, or (at your option) any later version. + + This module is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + On Debian systems, the complete text of the license can be found in + the file /usr/share/common-licenses/LGPL-2.1 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 91 + matched_length: 91 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_655.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or (at + your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + On Debian systems, the complete text of the license can be found in + the file /usr/share/common-licenses/GPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '93.0' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 100 + matched_length: 93 + match_coverage: '93.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_234.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or (at + your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + On Debian systems, the complete text of the license [can] [be] [found] [in] + [the] [file] /usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 24 + matcher: 1-hash + rule_length: 225 + matched_length: 225 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11.LICENSE + license_expression: x11 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, and/or sell copies of the Software, and to permit persons + to whom the Software is furnished to do so, provided that the above + copyright notice(s) and this permission notice appear in all copies + of the Software and that both the above copyright notice(s) and this + permission notice appear in supporting documentation. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT + OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR + HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY + SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER + RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF + CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN + CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + Except as contained in this notice, the name of a copyright holder + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in this Software without prior written + authorization of the copyright holder. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mpl-1.1_24.RULE + license_expression: mpl-1.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: mpl-1.1' + - score: '100.0' + start_line: 1 + end_line: 467 + matcher: 1-hash + rule_length: 3690 + matched_length: 3690 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mpl-1.1.LICENSE + license_expression: mpl-1.1 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + MOZILLA PUBLIC LICENSE + Version 1.1 + + --------------- + + 1. Definitions. + + 1.0.1. "Commercial Use" means distribution or otherwise making the + Covered Code available to a third party. + + 1.1. "Contributor" means each entity that creates or contributes to + the creation of Modifications. + + 1.2. "Contributor Version" means the combination of the Original + Code, prior Modifications used by a Contributor, and the Modifications + made by that particular Contributor. + + 1.3. "Covered Code" means the Original Code or Modifications or the + combination of the Original Code and Modifications, in each case + including portions thereof. + + 1.4. "Electronic Distribution Mechanism" means a mechanism generally + accepted in the software development community for the electronic + transfer of data. + + 1.5. "Executable" means Covered Code in any form other than Source + Code. + + 1.6. "Initial Developer" means the individual or entity identified + as the Initial Developer in the Source Code notice required by Exhibit + A. + + 1.7. "Larger Work" means a work which combines Covered Code or + portions thereof with code not governed by the terms of this License. + + 1.8. "License" means this document. + + 1.8.1. "Licensable" means having the right to grant, to the maximum + extent possible, whether at the time of the initial grant or + subsequently acquired, any and all of the rights conveyed herein. + + 1.9. "Modifications" means any addition to or deletion from the + substance or structure of either the Original Code or any previous + Modifications. When Covered Code is released as a series of files, a + Modification is: + A. Any addition to or deletion from the contents of a file + containing Original Code or previous Modifications. + + B. Any new file that contains any part of the Original Code or + previous Modifications. + + 1.10. "Original Code" means Source Code of computer software code + which is described in the Source Code notice required by Exhibit A as + Original Code, and which, at the time of its release under this + License is not already Covered Code governed by this License. + + 1.10.1. "Patent Claims" means any patent claim(s), now owned or + hereafter acquired, including without limitation, method, process, + and apparatus claims, in any patent Licensable by grantor. + + 1.11. "Source Code" means the preferred form of the Covered Code for + making modifications to it, including all modules it contains, plus + any associated interface definition files, scripts used to control + compilation and installation of an Executable, or source code + differential comparisons against either the Original Code or another + well known, available Covered Code of the Contributor's choice. The + Source Code can be in a compressed or archival form, provided the + appropriate decompression or de-archiving software is widely available + for no charge. + + 1.12. "You" (or "Your") means an individual or a legal entity + exercising rights under, and complying with all of the terms of, this + License or a future version of this License issued under Section 6.1. + For legal entities, "You" includes any entity which controls, is + controlled by, or is under common control with You. For purposes of + this definition, "control" means (a) the power, direct or indirect, + to cause the direction or management of such entity, whether by + contract or otherwise, or (b) ownership of more than fifty percent + (50%) of the outstanding shares or beneficial ownership of such + entity. + + 2. Source Code License. + + 2.1. The Initial Developer Grant. + The Initial Developer hereby grants You a world-wide, royalty-free, + non-exclusive license, subject to third party intellectual property + claims: + (a) under intellectual property rights (other than patent or + trademark) Licensable by Initial Developer to use, reproduce, + modify, display, perform, sublicense and distribute the Original + Code (or portions thereof) with or without Modifications, and/or + as part of a Larger Work; and + + (b) under Patents Claims infringed by the making, using or + selling of Original Code, to make, have made, use, practice, + sell, and offer for sale, and/or otherwise dispose of the + Original Code (or portions thereof). + + (c) the licenses granted in this Section 2.1(a) and (b) are + effective on the date Initial Developer first distributes + Original Code under the terms of this License. + + (d) Notwithstanding Section 2.1(b) above, no patent license is + granted: 1) for code that You delete from the Original Code; 2) + separate from the Original Code; or 3) for infringements caused + by: i) the modification of the Original Code or ii) the + combination of the Original Code with other software or devices. + + 2.2. Contributor Grant. + Subject to third party intellectual property claims, each Contributor + hereby grants You a world-wide, royalty-free, non-exclusive license + + (a) under intellectual property rights (other than patent or + trademark) Licensable by Contributor, to use, reproduce, modify, + display, perform, sublicense and distribute the Modifications + created by such Contributor (or portions thereof) either on an + unmodified basis, with other Modifications, as Covered Code + and/or as part of a Larger Work; and + + (b) under Patent Claims infringed by the making, using, or + selling of Modifications made by that Contributor either alone + and/or in combination with its Contributor Version (or portions + of such combination), to make, use, sell, offer for sale, have + made, and/or otherwise dispose of: 1) Modifications made by that + Contributor (or portions thereof); and 2) the combination of + Modifications made by that Contributor with its Contributor + Version (or portions of such combination). + + (c) the licenses granted in Sections 2.2(a) and 2.2(b) are + effective on the date Contributor first makes Commercial Use of + the Covered Code. + (d) Notwithstanding Section 2.2(b) above, no patent license is + granted: 1) for any code that Contributor has deleted from the + Contributor Version; 2) separate from the Contributor Version; + 3) for infringements caused by: i) third party modifications of + Contributor Version or ii) the combination of Modifications made + by that Contributor with other software (except as part of the + Contributor Version) or other devices; or 4) under Patent Claims + infringed by Covered Code in the absence of Modifications made by + that Contributor. + + 3. Distribution Obligations. + + 3.1. Application of License. + The Modifications which You create or to which You contribute are + governed by the terms of this License, including without limitation + Section 2.2. The Source Code version of Covered Code may be + distributed only under the terms of this License or a future version + of this License released under Section 6.1, and You must include a + copy of this License with every copy of the Source Code You + distribute. You may not offer or impose any terms on any Source Code + version that alters or restricts the applicable version of this + License or the recipients' rights hereunder. However, You may include + an additional document offering the additional rights described in + Section 3.5. + + 3.2. Availability of Source Code. + Any Modification which You create or to which You contribute must be + made available in Source Code form under the terms of this License + either on the same media as an Executable version or via an accepted + Electronic Distribution Mechanism to anyone to whom you made an + Executable version available; and if made available via Electronic + Distribution Mechanism, must remain available for at least twelve (12) + months after the date it initially became available, or at least six + (6) months after a subsequent version of that particular Modification + has been made available to such recipients. You are responsible for + ensuring that the Source Code version remains available even if the + Electronic Distribution Mechanism is maintained by a third party. + + 3.3. Description of Modifications. + You must cause all Covered Code to which You contribute to contain a + file documenting the changes You made to create that Covered Code and + the date of any change. You must include a prominent statement that + the Modification is derived, directly or indirectly, from Original + Code provided by the Initial Developer and including the name of the + Initial Developer in (a) the Source Code, and (b) in any notice in an + Executable version or related documentation in which You describe the + origin or ownership of the Covered Code. + + 3.4. Intellectual Property Matters + (a) Third Party Claims. + If Contributor has knowledge that a license under a third party's + intellectual property rights is required to exercise the rights + granted by such Contributor under Sections 2.1 or 2.2, + Contributor must include a text file with the Source Code + distribution titled "LEGAL" which describes the claim and the + party making the claim in sufficient detail that a recipient will + know whom to contact. If Contributor obtains such knowledge after + the Modification is made available as described in Section 3.2, + Contributor shall promptly modify the LEGAL file in all copies + Contributor makes available thereafter and shall take other steps + (such as notifying appropriate mailing lists or newsgroups) + reasonably calculated to inform those who received the Covered + Code that new knowledge has been obtained. + + (b) Contributor APIs. + If Contributor's Modifications include an application programming + interface and Contributor has knowledge of patent licenses which + are reasonably necessary to implement that API, Contributor must + also include this information in the LEGAL file. + + (c) Representations. + Contributor represents that, except as disclosed pursuant to + Section 3.4(a) above, Contributor believes that Contributor's + Modifications are Contributor's original creation(s) and/or + Contributor has sufficient rights to grant the rights conveyed by + this License. + + 3.5. Required Notices. + You must duplicate the notice in Exhibit A in each file of the Source + Code. If it is not possible to put such notice in a particular Source + Code file due to its structure, then You must include such notice in a + location (such as a relevant directory) where a user would be likely + to look for such a notice. If You created one or more Modification(s) + You may add your name as a Contributor to the notice described in + Exhibit A. You must also duplicate this License in any documentation + for the Source Code where You describe recipients' rights or ownership + rights relating to Covered Code. You may choose to offer, and to + charge a fee for, warranty, support, indemnity or liability + obligations to one or more recipients of Covered Code. However, You + may do so only on Your own behalf, and not on behalf of the Initial + Developer or any Contributor. You must make it absolutely clear than + any such warranty, support, indemnity or liability obligation is + offered by You alone, and You hereby agree to indemnify the Initial + Developer and every Contributor for any liability incurred by the + Initial Developer or such Contributor as a result of warranty, + support, indemnity or liability terms You offer. + + 3.6. Distribution of Executable Versions. + You may distribute Covered Code in Executable form only if the + requirements of Section 3.1-3.5 have been met for that Covered Code, + and if You include a notice stating that the Source Code version of + the Covered Code is available under the terms of this License, + including a description of how and where You have fulfilled the + obligations of Section 3.2. The notice must be conspicuously included + in any notice in an Executable version, related documentation or + collateral in which You describe recipients' rights relating to the + Covered Code. You may distribute the Executable version of Covered + Code or ownership rights under a license of Your choice, which may + contain terms different from this License, provided that You are in + compliance with the terms of this License and that the license for the + Executable version does not attempt to limit or alter the recipient's + rights in the Source Code version from the rights set forth in this + License. If You distribute the Executable version under a different + license You must make it absolutely clear that any terms which differ + from this License are offered by You alone, not by the Initial + Developer or any Contributor. You hereby agree to indemnify the + Initial Developer and every Contributor for any liability incurred by + the Initial Developer or such Contributor as a result of any such + terms You offer. + + 3.7. Larger Works. + You may create a Larger Work by combining Covered Code with other code + not governed by the terms of this License and distribute the Larger + Work as a single product. In such a case, You must make sure the + requirements of this License are fulfilled for the Covered Code. + + 4. Inability to Comply Due to Statute or Regulation. + + If it is impossible for You to comply with any of the terms of this + License with respect to some or all of the Covered Code due to + statute, judicial order, or regulation then You must: (a) comply with + the terms of this License to the maximum extent possible; and (b) + describe the limitations and the code they affect. Such description + must be included in the LEGAL file described in Section 3.4 and must + be included with all distributions of the Source Code. Except to the + extent prohibited by statute or regulation, such description must be + sufficiently detailed for a recipient of ordinary skill to be able to + understand it. + + 5. Application of this License. + + This License applies to code to which the Initial Developer has + attached the notice in Exhibit A and to related Covered Code. + + 6. Versions of the License. + + 6.1. New Versions. + Netscape Communications Corporation ("Netscape") may publish revised + and/or new versions of the License from time to time. Each version + will be given a distinguishing version number. + + 6.2. Effect of New Versions. + Once Covered Code has been published under a particular version of the + License, You may always continue to use it under the terms of that + version. You may also choose to use such Covered Code under the terms + of any subsequent version of the License published by Netscape. No one + other than Netscape has the right to modify the terms applicable to + Covered Code created under this License. + + 6.3. Derivative Works. + If You create or use a modified version of this License (which you may + only do in order to apply it to code which is not already Covered Code + governed by this License), You must (a) rename Your license so that + the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", + "MPL", "NPL" or any confusingly similar phrase do not appear in your + license (except to note that your license differs from this License) + and (b) otherwise make it clear that Your version of the license + contains terms which differ from the Mozilla Public License and + Netscape Public License. (Filling in the name of the Initial + Developer, Original Code or Contributor in the notice described in + Exhibit A shall not of themselves be deemed to be modifications of + this License.) + + 7. DISCLAIMER OF WARRANTY. + COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF + DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. + THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE + IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, + YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE + COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER + OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF + ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + + 8. TERMINATION. + + 8.1. This License and the rights granted hereunder will terminate + automatically if You fail to comply with terms herein and fail to cure + such breach within 30 days of becoming aware of the breach. All + sublicenses to the Covered Code which are properly granted shall + survive any termination of this License. Provisions which, by their + nature, must remain in effect beyond the termination of this License + shall survive. + + 8.2. If You initiate litigation by asserting a patent infringement + claim (excluding declatory judgment actions) against Initial Developer + or a Contributor (the Initial Developer or Contributor against whom + You file such action is referred to as "Participant") alleging that: + + (a) such Participant's Contributor Version directly or indirectly + infringes any patent, then any and all rights granted by such + Participant to You under Sections 2.1 and/or 2.2 of this License + shall, upon 60 days notice from Participant terminate prospectively, + unless if within 60 days after receipt of notice You either: (i) + agree in writing to pay Participant a mutually agreeable reasonable + royalty for Your past and future use of Modifications made by such + Participant, or (ii) withdraw Your litigation claim with respect to + the Contributor Version against such Participant. If within 60 days + of notice, a reasonable royalty and payment arrangement are not + mutually agreed upon in writing by the parties or the litigation claim + is not withdrawn, the rights granted by Participant to You under + Sections 2.1 and/or 2.2 automatically terminate at the expiration of + the 60 day notice period specified above. + + (b) any software, hardware, or device, other than such Participant's + Contributor Version, directly or indirectly infringes any patent, then + any rights granted to You by such Participant under Sections 2.1(b) + and 2.2(b) are revoked effective as of the date You first made, used, + sold, distributed, or had made, Modifications made by that + Participant. + + 8.3. If You assert a patent infringement claim against Participant + alleging that such Participant's Contributor Version directly or + indirectly infringes any patent where such claim is resolved (such as + by license or settlement) prior to the initiation of patent + infringement litigation, then the reasonable value of the licenses + granted by such Participant under Sections 2.1 or 2.2 shall be taken + into account in determining the amount or value of any payment or + license. + + 8.4. In the event of termination under Sections 8.1 or 8.2 above, + all end user license agreements (excluding distributors and resellers) + which have been validly granted by You or any distributor hereunder + prior to termination shall survive termination. + + 9. LIMITATION OF LIABILITY. + + UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT + (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL + DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, + OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR + ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY + CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, + WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER + COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN + INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF + LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY + RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW + PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE + EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO + THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. + + 10. U.S. GOVERNMENT END USERS. + + The Covered Code is a "commercial item," as that term is defined in + 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer + software" and "commercial computer software documentation," as such + terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 + C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), + all U.S. Government End Users acquire Covered Code with only those + rights set forth herein. + + 11. MISCELLANEOUS. + + This License represents the complete agreement concerning subject + matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. This License shall be governed by + California law provisions (except to the extent applicable law, if + any, provides otherwise), excluding its conflict-of-law provisions. + With respect to disputes in which at least one party is a citizen of, + or an entity chartered or registered to do business in the United + States of America, any litigation relating to this License shall be + subject to the jurisdiction of the Federal Courts of the Northern + District of California, with venue lying in Santa Clara County, + California, with the losing party responsible for costs, including + without limitation, court costs and reasonable attorneys' fees and + expenses. The application of the United Nations Convention on + Contracts for the International Sale of Goods is expressly excluded. + Any law or regulation which provides that the language of a contract + shall be construed against the drafter shall not apply to this + License. + + 12. RESPONSIBILITY FOR CLAIMS. + + As between Initial Developer and the Contributors, each party is + responsible for claims and damages arising, directly or indirectly, + out of its utilization of rights under this License and You agree to + work with Initial Developer and Contributors to distribute such + responsibility on an equitable basis. Nothing herein is intended or + shall be deemed to constitute any admission of liability. + + 13. MULTIPLE-LICENSED CODE. + + Initial Developer may designate portions of the Covered Code as + "Multiple-Licensed". "Multiple-Licensed" means that the Initial + Developer permits you to utilize portions of the Covered Code under + Your choice of the NPL or the alternative licenses, if any, specified + by the Initial Developer in the file described in Exhibit A. + + EXHIBIT A -Mozilla Public License. + + ``The contents of this file are subject to the Mozilla Public License + Version 1.1 (the "License"); you may not use this file except in + compliance with the License. You may obtain a copy of the License at + http://www.mozilla.org/MPL/ + + Software distributed under the License is distributed on an "AS IS" + basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the + License for the specific language governing rights and limitations + under the License. + + The Original Code is ______________________________________. + + The Initial Developer of the Original Code is ________________________. + Portions created by ______________________ are Copyright (C) ______ + _______________________. All Rights Reserved. + + Contributor(s): ______________________________________. + + Alternatively, the contents of this file may be used under the terms + of the _____ license (the "[___] License"), in which case the + provisions of [______] License are applicable instead of those + above. If you wish to allow use of your version of this file only + under the terms of the [____] License and not to allow others to use + your version of this file under the MPL, indicate your decision by + deleting the provisions above and replace them with the notice and + other provisions required by the [___] License. If you do not delete + the provisions above, a recipient may use your version of this file + under either the MPL or the [___] License." + + [NOTE: The text of this Exhibit A may differ slightly from the text of + the notices in the Source Code files of the Original Code. You should + use the text of this Exhibit A rather than the text found in the + Original Code Source Code for Your Modifications.] + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_65.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: apache-2.0' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_392.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the Apache license version 2 + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: spdx_license_id_apache-2.0_for_apache-2.0.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Apache-2.0'. + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + purpose with or without fee is hereby granted, provided that the + above copyright notice and this permission notice appear in all + copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL + WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE + AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL + DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR + PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: spdx_license_id_bsd-2-clause_for_bsd-simplified.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: BSD 2-clause, diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/win32-loader/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/win32-loader/stable_copyright-detailed.expected.yml index b064b2d0893..b9da690a268 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/win32-loader/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/win32-loader/stable_copyright-detailed.expected.yml @@ -1,5 +1,86 @@ -- - GPL-3+ -- gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0 AND gpl-3.0 -- | +primary_license: gpl-3.0-plus AND gpl-3.0 +declared_license: + - GPL-3+ +license_expression: gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0 AND gpl-3.0 +copyright: | 2007, 2008, 2009 Robert Millan 2010, 2011, 2016 +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 3 + - score: '33.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/win32-loader/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/win32-loader/stable_copyright.expected.yml index b064b2d0893..c470adfbabd 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/win32-loader/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/w/win32-loader/stable_copyright.expected.yml @@ -1,5 +1,86 @@ -- - GPL-3+ -- gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0 AND gpl-3.0 -- | +primary_license: gpl-3.0-plus AND gpl-3.0 +declared_license: + - GPL-3+ +license_expression: gpl-3.0-plus AND gpl-3.0 +copyright: | 2007, 2008, 2009 Robert Millan 2010, 2011, 2016 +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 3 + - score: '33.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/x/xymon/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/x/xymon/stable_copyright-detailed.expected.yml index 205e3bce9f8..b8b085b4da8 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/x/xymon/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/x/xymon/stable_copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2 with OpenSSL exception +primary_license: gpl-1.0-plus AND gpl-2.0 +declared_license: + - GPL-2 with OpenSSL exception - GPL-2 with OpenSSL exception - GPL-2 - GPL-2 @@ -14,12 +16,12 @@ - GPL - Zlib - BSD-3-Clause -- (gpl-1.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-1.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 - AND gpl-1.0-plus AND gfdl-1.2 AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-1.0-plus - AND gfdl-1.2 AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0-plus - AND gpl-1.0-plus AND gpl-2.0) AND (zlib AND (gpl-1.0-plus AND gpl-1.0-plus AND gfdl-1.2 AND - gpl-2.0 AND gpl-1.0-plus)) AND ssleay-windows AND public-domain AND bsd-new AND mit-old-style-no-advert -- | +license_expression: (gpl-1.0-plus AND gpl-2.0) AND (gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0 AND + gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND + gpl-1.0-plus AND gpl-2.0-plus AND gpl-2.0) AND (zlib AND (gpl-1.0-plus AND gpl-1.0-plus AND + gfdl-1.2 AND gpl-2.0 AND gpl-1.0-plus)) AND (gpl-1.0-plus AND zlib) AND ssleay-windows AND + public-domain AND bsd-new AND mit-old-style-no-advert +copyright: | 2002-2016 Henrik Størner 2005-2007 Henrik Størner 2007-2016 Christoph Berg @@ -35,3 +37,489 @@ 2005, 2007 Olivier Gay 1998, 2000 by the Massachusetts Institute of Technology. 2004 by Daniel Stenberg et al +matches: + - score: '99.56' + start_line: 3 + end_line: 60 + matcher: 3-seq + rule_length: 452 + matched_length: 450 + match_coverage: '99.56' + rule_relevance: 100 + identifier: ssleay-windows.LICENSE + license_expression: ssleay-windows + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is an SSL implementation written + by Eric Young (eay@cryptsoft.com). + + The implementation was written so as to conform with Netscapes SSL. + + This library is free for commercial and non-commercial use as long as + the following conditions are [adhered] to. The following conditions + apply to all code found in this distribution, be it the RC4, RSA, + lhash, DES, etc., code; not just the SSL code. The SSL documentation + included with this distribution is covered by the same copyright terms + except that the holder is Tim Hudson (tjh@cryptsoft.com). + + Copyright remains Eric Young's, and as such any Copyright notices in + the code are not to be removed. + + If this package is used in a product, Eric Young should be given attribution + as the author of the parts of the library used. + This can be in the form of a textual message at program startup or + in documentation (online or textual) provided with the package. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + "This product includes cryptographic software written by + Eric Young (eay@cryptsoft.com)" + The word 'cryptographic' can be left out if the [routines] from the library + being used are not cryptographic related :-). + + 4. If you include any Windows specific code (or a derivative thereof) from + the apps directory (application code) you must include an acknowledgement: + "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" + + THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + + The licence and distribution terms for any publically available version or + derivative of this code cannot be changed. i.e. this code cannot simply be + copied and put under another distribution licence + [including the GNU [General] Public Licence.] + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_125.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: 100% Public Domain, + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 96 + matched_length: 96 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_1.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this + software and its documentation for any purpose and without + fee is hereby granted, provided that the above copyright + notice appear in all copies and that both that copyright + notice and this permission notice appear in supporting + documentation, and that the name of M.I.T. not be used in + advertising or publicity pertaining to distribution of the + software without specific, written prior permission. + M.I.T. makes no representations about the suitability of + this software for any purpose. It is provided "as is" + without express or implied warranty. + - score: '49.91' + start_line: 1 + end_line: 1 + matcher: 3-seq + rule_length: 11 + matched_length: 9 + match_coverage: '81.82' + rule_relevance: 61 + identifier: gpl_86.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: is released under the GNU General Public License (GPL), + - score: '75.68' + start_line: 1 + end_line: 7 + matcher: 3-seq + rule_length: 37 + matched_length: 28 + match_coverage: '75.68' + rule_relevance: 100 + identifier: gpl-2.0_1009.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License ([GPL]), + [version] [2], [with] [the] [explicit] [exemption] [that] [linking] [with] [the] [OpenSSL] + [libraries] [is] [permitted]. + + On Debian GNU/[Linux] systems, the complete text of the GNU General + Public License [version] [2] can be found in + `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '49.91' + start_line: 1 + end_line: 1 + matcher: 3-seq + rule_length: 11 + matched_length: 9 + match_coverage: '81.82' + rule_relevance: 61 + identifier: gpl_86.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: is released under the GNU General Public License (GPL), + - score: '75.68' + start_line: 1 + end_line: 6 + matcher: 3-seq + rule_length: 37 + matched_length: 28 + match_coverage: '75.68' + rule_relevance: 100 + identifier: gpl-2.0_1009.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License ([GPL]), + [version] [2]. + + On Debian GNU/[Linux] systems, the complete text of the GNU General + Public License [version] [2] can be found in + `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '49.91' + start_line: 1 + end_line: 1 + matcher: 3-seq + rule_length: 11 + matched_length: 9 + match_coverage: '81.82' + rule_relevance: 61 + identifier: gpl_86.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: is released under the GNU General Public License (GPL), + - score: '71.79' + start_line: 1 + end_line: 7 + matcher: 3-seq + rule_length: 39 + matched_length: 28 + match_coverage: '71.79' + rule_relevance: 100 + identifier: gpl-2.0-plus_2.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License ([GPL]), + either version 2 of the License, or (at your option) any later + version. + + On Debian GNU/Linux systems, [the] [complete] [text] [of] [the] [GNU] [General] + [Public] [License] [version] [2] [can] [be] [found] [in] + `/usr/share/common-licenses/GPL- + - score: '75.68' + start_line: 1 + end_line: 7 + matcher: 3-seq + rule_length: 37 + matched_length: 28 + match_coverage: '75.68' + rule_relevance: 100 + identifier: gpl-2.0_1009.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License ([GPL]), + [either] [version] [2] [of] [the] [License], [or] ([at] [your] [option]) [any] [later] + [version]. + + On Debian GNU/[Linux] systems, the complete text of the GNU General + Public License [version] [2] can be found in + `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_72.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl' + - score: '49.91' + start_line: 1 + end_line: 1 + matcher: 3-seq + rule_length: 11 + matched_length: 9 + match_coverage: '81.82' + rule_relevance: 61 + identifier: gpl_86.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: is released under the GNU General Public License (GPL). + - score: '59.38' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 32 + matched_length: '19' + match_coverage: '59.38' + rule_relevance: 100 + identifier: gfdl-1.2_7.RULE + license_expression: gfdl-1.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the GNU [General] [Public] License ([GPL]). + + On Debian GNU/Linux systems, the complete text of [the] [latest] [version] + [of] [the] [GNU] [General] [Public] License [version] [can] [be] [found] in + `/usr/share/common-licenses/ + - score: '62.16' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 37 + matched_length: 23 + match_coverage: '62.16' + rule_relevance: 100 + identifier: gpl-2.0_1009.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License ([GPL]). + + On Debian GNU/[Linux] [systems], [the] [complete] [text] [of] [the] [latest] [version] + of the GNU General Public License [version] can be found in + `/usr/share/common-licenses/GPL'. + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-1.0-plus_350.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: of the GPL + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + + 3. This notice may not be removed or altered from any source distribution. + - score: '100.0' + start_line: 1 + end_line: 26 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_66.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. Neither the name of the project nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_bare_gnu_gpl.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GNU GPL." + - score: '100.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib_7.RULE + license_expression: zlib + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: zlib license diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/x/xymon/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/x/xymon/stable_copyright.expected.yml index 896d91bb76c..7457854ed5f 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/x/xymon/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/x/xymon/stable_copyright.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2 with OpenSSL exception +primary_license: gpl-1.0-plus AND gpl-2.0 +declared_license: + - GPL-2 with OpenSSL exception - GPL-2 - GPL-2+ - Zlib and GPL @@ -8,11 +10,10 @@ - BSD-ish - GPL - Zlib -- (gpl-1.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-1.0-plus AND gfdl-1.2 AND gpl-2.0-plus - AND gpl-2.0) AND (gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) - AND (zlib AND (gpl-1.0-plus AND gpl-1.0-plus AND gfdl-1.2 AND gpl-2.0 AND gpl-1.0-plus)) AND - ssleay-windows AND public-domain AND bsd-new AND mit-old-style-no-advert -- | +license_expression: (gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-1.0-plus) AND (gpl-2.0-plus + AND gpl-1.0-plus AND gpl-2.0) AND (zlib AND (gpl-1.0-plus AND gfdl-1.2 AND gpl-2.0)) AND (gpl-1.0-plus + AND zlib) AND ssleay-windows AND public-domain AND bsd-new AND mit-old-style-no-advert +copyright: | 2002-2016 Henrik Størner 2005-2011 Henrik Størner 2006 Charles Goyard @@ -25,3 +26,489 @@ 2005, 2007 Olivier Gay 1998, 2000 by the Massachusetts Institute of Technology. 2004 by Daniel Stenberg et al +matches: + - score: '99.56' + start_line: 3 + end_line: 60 + matcher: 3-seq + rule_length: 452 + matched_length: 450 + match_coverage: '99.56' + rule_relevance: 100 + identifier: ssleay-windows.LICENSE + license_expression: ssleay-windows + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is an SSL implementation written + by Eric Young (eay@cryptsoft.com). + + The implementation was written so as to conform with Netscapes SSL. + + This library is free for commercial and non-commercial use as long as + the following conditions are [adhered] to. The following conditions + apply to all code found in this distribution, be it the RC4, RSA, + lhash, DES, etc., code; not just the SSL code. The SSL documentation + included with this distribution is covered by the same copyright terms + except that the holder is Tim Hudson (tjh@cryptsoft.com). + + Copyright remains Eric Young's, and as such any Copyright notices in + the code are not to be removed. + + If this package is used in a product, Eric Young should be given attribution + as the author of the parts of the library used. + This can be in the form of a textual message at program startup or + in documentation (online or textual) provided with the package. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + "This product includes cryptographic software written by + Eric Young (eay@cryptsoft.com)" + The word 'cryptographic' can be left out if the [routines] from the library + being used are not cryptographic related :-). + + 4. If you include any Windows specific code (or a derivative thereof) from + the apps directory (application code) you must include an acknowledgement: + "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" + + THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + + The licence and distribution terms for any publically available version or + derivative of this code cannot be changed. i.e. this code cannot simply be + copied and put under another distribution licence + [including the GNU [General] Public Licence.] + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_125.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: 100% Public Domain, + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 96 + matched_length: 96 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_1.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this + software and its documentation for any purpose and without + fee is hereby granted, provided that the above copyright + notice appear in all copies and that both that copyright + notice and this permission notice appear in supporting + documentation, and that the name of M.I.T. not be used in + advertising or publicity pertaining to distribution of the + software without specific, written prior permission. + M.I.T. makes no representations about the suitability of + this software for any purpose. It is provided "as is" + without express or implied warranty. + - score: '49.91' + start_line: 1 + end_line: 1 + matcher: 3-seq + rule_length: 11 + matched_length: 9 + match_coverage: '81.82' + rule_relevance: 61 + identifier: gpl_86.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: is released under the GNU General Public License (GPL), + - score: '75.68' + start_line: 1 + end_line: 7 + matcher: 3-seq + rule_length: 37 + matched_length: 28 + match_coverage: '75.68' + rule_relevance: 100 + identifier: gpl-2.0_1009.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License ([GPL]), + [version] [2], [with] [the] [explicit] [exemption] [that] [linking] [with] [the] [OpenSSL] + [libraries] [is] [permitted]. + + On Debian GNU/[Linux] systems, the complete text of the GNU General + Public License [version] [2] can be found in + `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '49.91' + start_line: 1 + end_line: 1 + matcher: 3-seq + rule_length: 11 + matched_length: 9 + match_coverage: '81.82' + rule_relevance: 61 + identifier: gpl_86.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: is released under the GNU General Public License (GPL), + - score: '75.68' + start_line: 1 + end_line: 6 + matcher: 3-seq + rule_length: 37 + matched_length: 28 + match_coverage: '75.68' + rule_relevance: 100 + identifier: gpl-2.0_1009.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License ([GPL]), + [version] [2]. + + On Debian GNU/[Linux] systems, the complete text of the GNU General + Public License [version] [2] can be found in + `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '49.91' + start_line: 1 + end_line: 1 + matcher: 3-seq + rule_length: 11 + matched_length: 9 + match_coverage: '81.82' + rule_relevance: 61 + identifier: gpl_86.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: is released under the GNU General Public License (GPL), + - score: '71.79' + start_line: 1 + end_line: 7 + matcher: 3-seq + rule_length: 39 + matched_length: 28 + match_coverage: '71.79' + rule_relevance: 100 + identifier: gpl-2.0-plus_2.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License ([GPL]), + either version 2 of the License, or (at your option) any later + version. + + On Debian GNU/Linux systems, [the] [complete] [text] [of] [the] [GNU] [General] + [Public] [License] [version] [2] [can] [be] [found] [in] + `/usr/share/common-licenses/GPL- + - score: '75.68' + start_line: 1 + end_line: 7 + matcher: 3-seq + rule_length: 37 + matched_length: 28 + match_coverage: '75.68' + rule_relevance: 100 + identifier: gpl-2.0_1009.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License ([GPL]), + [either] [version] [2] [of] [the] [License], [or] ([at] [your] [option]) [any] [later] + [version]. + + On Debian GNU/[Linux] systems, the complete text of the GNU General + Public License [version] [2] can be found in + `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_72.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl' + - score: '49.91' + start_line: 1 + end_line: 1 + matcher: 3-seq + rule_length: 11 + matched_length: 9 + match_coverage: '81.82' + rule_relevance: 61 + identifier: gpl_86.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: is released under the GNU General Public License (GPL). + - score: '59.38' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 32 + matched_length: '19' + match_coverage: '59.38' + rule_relevance: 100 + identifier: gfdl-1.2_7.RULE + license_expression: gfdl-1.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the GNU [General] [Public] License ([GPL]). + + On Debian GNU/Linux systems, the complete text of [the] [latest] [version] + [of] [the] [GNU] [General] [Public] License [version] [can] [be] [found] in + `/usr/share/common-licenses/ + - score: '62.16' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 37 + matched_length: 23 + match_coverage: '62.16' + rule_relevance: 100 + identifier: gpl-2.0_1009.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License ([GPL]). + + On Debian GNU/[Linux] [systems], [the] [complete] [text] [of] [the] [latest] [version] + of the GNU General Public License [version] can be found in + `/usr/share/common-licenses/GPL'. + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-1.0-plus_350.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: of the GPL + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + + 3. This notice may not be removed or altered from any source distribution. + - score: '100.0' + start_line: 1 + end_line: 26 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_66.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. Neither the name of the project nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_bare_gnu_gpl.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GNU GPL." + - score: '100.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib_7.RULE + license_expression: zlib + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: zlib license diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/z/z3/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/z/z3/stable_copyright-detailed.expected.yml index 4dc1f95ad40..16a2331afe4 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/z/z3/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/z/z3/stable_copyright-detailed.expected.yml @@ -1,7 +1,90 @@ -- - Expat +primary_license: mit +declared_license: + - Expat - GPL-2+ -- mit AND (gpl-2.0-plus AND gpl-2.0-plus) -- | +license_expression: mit AND (gpl-2.0-plus AND gpl-2.0-plus) +copyright: | Microsoft Corporation 2016 Fabian Wolff 2011 Michael Tautschnig +matches: + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the ""Software""), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is furnished to do + so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '98.41' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 126 + matched_length: 124 + match_coverage: '98.41' + rule_relevance: 100 + identifier: gpl-2.0-plus_38.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/z/z3/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/z/z3/stable_copyright.expected.yml index 3598c802780..ffff8861c2d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/z/z3/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/z/z3/stable_copyright.expected.yml @@ -1,3 +1,86 @@ -- - Expat -- mit -- Microsoft Corporation +primary_license: mit +declared_license: + - Expat +license_expression: mit +copyright: Microsoft Corporation +matches: + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the ""Software""), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is furnished to do + so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '98.41' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 126 + matched_length: 124 + match_coverage: '98.41' + rule_relevance: 100 + identifier: gpl-2.0-plus_38.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-adi.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-adi.copyright-detailed.expected.yml index 62aadc68e24..8bf73205cab 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-adi.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-adi.copyright-detailed.expected.yml @@ -1,5 +1,49 @@ -- -- gpl-2.0-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND gpl-2.0 +copyright: | Copyright 2006-2009 Bastian Blank Copyright 2009 Ben Hutchings +matches: + - score: '100.0' + start_line: 6 + end_line: 20 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_68.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n This package is free software; you can redistribute it\ + \ and/or modify\n it under the terms of the GNU General Public License as published\ + \ by\n the Free Software Foundation; either version 2 of the License, or\n (at\ + \ your option) any later version.\n \n This package is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ General Public License\n along with this package; if not, write to the Free Software\n\ + \ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA" + - score: '100.0' + start_line: 22 + end_line: 23 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-adi.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-adi.copyright.expected.yml index 62aadc68e24..8bf73205cab 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-adi.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-adi.copyright.expected.yml @@ -1,5 +1,49 @@ -- -- gpl-2.0-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND gpl-2.0 +copyright: | Copyright 2006-2009 Bastian Blank Copyright 2009 Ben Hutchings +matches: + - score: '100.0' + start_line: 6 + end_line: 20 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_68.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n This package is free software; you can redistribute it\ + \ and/or modify\n it under the terms of the GNU General Public License as published\ + \ by\n the Free Software Foundation; either version 2 of the License, or\n (at\ + \ your option) any later version.\n \n This package is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ General Public License\n along with this package; if not, write to the Free Software\n\ + \ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA" + - score: '100.0' + start_line: 22 + end_line: 23 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-amd-graphics.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-amd-graphics.copyright-detailed.expected.yml index 6dafeeec03e..2e4060a7930 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-amd-graphics.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-amd-graphics.copyright-detailed.expected.yml @@ -1,6 +1,108 @@ -- - Binary redistribution (AMD permissive) +primary_license: None +declared_license: + - Binary redistribution (AMD permissive) - Binary redistribution (AMD restrictive) -- mit AND proprietary-license -- | +license_expression: mit AND proprietary-license +copyright: | 2000-2009, Advanced Micro Devices, Inc. 2009-2016, Advanced Micro Devices, Inc. +matches: + - score: '97.66' + start_line: 3 + end_line: 20 + matcher: 3-seq + rule_length: 167 + matched_length: 167 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_x11-r75_58.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice (including the next + paragraph) shall be included in all copies or substantial portions of the + Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + [IN] [NO] [EVENT] [SHALL] THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 3 + end_line: 51 + matcher: 2-aho + rule_length: 425 + matched_length: 425 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_450.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + REDISTRIBUTION: Permission is hereby granted, free of any license fees, + to any person obtaining a copy of this microcode (the "Software"), to + install, reproduce, copy and distribute copies, in binary form only, of + the Software and to permit persons to whom the Software is provided to + do the same, provided that the following conditions are met: + + No reverse engineering, decompilation, or disassembly of this Software + is permitted. + + Redistributions must reproduce the above copyright notice, this + permission notice, and the following disclaimers and notices in the + Software documentation and/or other materials provided with the + Software. + + DISCLAIMER: THE USE OF THE SOFTWARE IS AT YOUR SOLE RISK. THE SOFTWARE + IS PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND AND COPYRIGHT + HOLDER AND ITS LICENSORS EXPRESSLY DISCLAIM ALL WARRANTIES, EXPRESS AND + IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. + COPYRIGHT HOLDER AND ITS LICENSORS DO NOT WARRANT THAT THE SOFTWARE WILL + MEET YOUR REQUIREMENTS, OR THAT THE OPERATION OF THE SOFTWARE WILL BE + UNINTERRUPTED OR ERROR-FREE. THE ENTIRE RISK ASSOCIATED WITH THE USE OF + THE SOFTWARE IS ASSUMED BY YOU. FURTHERMORE, COPYRIGHT HOLDER AND ITS + LICENSORS DO NOT WARRANT OR MAKE ANY REPRESENTATIONS REGARDING THE USE + OR THE RESULTS OF THE USE OF THE SOFTWARE IN TERMS OF ITS CORRECTNESS, + ACCURACY, RELIABILITY, CURRENTNESS, OR OTHERWISE. + + DISCLAIMER: UNDER NO CIRCUMSTANCES INCLUDING NEGLIGENCE, SHALL COPYRIGHT + HOLDER AND ITS LICENSORS OR ITS DIRECTORS, OFFICERS, EMPLOYEES OR AGENTS + ("AUTHORIZED REPRESENTATIVES") BE LIABLE FOR ANY INCIDENTAL, INDIRECT, + SPECIAL OR CONSEQUENTIAL DAMAGES (INCLUDING DAMAGES FOR LOSS OF BUSINESS + PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, AND THE + LIKE) ARISING OUT OF THE USE, MISUSE OR INABILITY TO USE THE SOFTWARE, + BREACH OR DEFAULT, INCLUDING THOSE ARISING FROM INFRINGEMENT OR ALLEGED + INFRINGEMENT OF ANY PATENT, TRADEMARK, COPYRIGHT OR OTHER INTELLECTUAL + PROPERTY RIGHT EVEN IF COPYRIGHT HOLDER AND ITS AUTHORIZED + REPRESENTATIVES HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IN + NO EVENT SHALL COPYRIGHT HOLDER OR ITS AUTHORIZED REPRESENTATIVES TOTAL + LIABILITY FOR ALL DAMAGES, LOSSES, AND CAUSES OF ACTION (WHETHER IN + CONTRACT, TORT (INCLUDING NEGLIGENCE) OR OTHERWISE) EXCEED THE AMOUNT OF + US$10. + + Notice: The Software is subject to United States export laws and + regulations. You agree to comply with all domestic and international + export laws and regulations that apply to the Software, including but + not limited to the Export Administration Regulations administered by the + U.S. Department of Commerce and International Traffic in Arm Regulations + administered by the U.S. Department of State. These laws include + restrictions on destinations, end users and end use. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-amd-graphics.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-amd-graphics.copyright.expected.yml index 6dafeeec03e..2e4060a7930 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-amd-graphics.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-amd-graphics.copyright.expected.yml @@ -1,6 +1,108 @@ -- - Binary redistribution (AMD permissive) +primary_license: None +declared_license: + - Binary redistribution (AMD permissive) - Binary redistribution (AMD restrictive) -- mit AND proprietary-license -- | +license_expression: mit AND proprietary-license +copyright: | 2000-2009, Advanced Micro Devices, Inc. 2009-2016, Advanced Micro Devices, Inc. +matches: + - score: '97.66' + start_line: 3 + end_line: 20 + matcher: 3-seq + rule_length: 167 + matched_length: 167 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_x11-r75_58.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice (including the next + paragraph) shall be included in all copies or substantial portions of the + Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + [IN] [NO] [EVENT] [SHALL] THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 3 + end_line: 51 + matcher: 2-aho + rule_length: 425 + matched_length: 425 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_450.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + REDISTRIBUTION: Permission is hereby granted, free of any license fees, + to any person obtaining a copy of this microcode (the "Software"), to + install, reproduce, copy and distribute copies, in binary form only, of + the Software and to permit persons to whom the Software is provided to + do the same, provided that the following conditions are met: + + No reverse engineering, decompilation, or disassembly of this Software + is permitted. + + Redistributions must reproduce the above copyright notice, this + permission notice, and the following disclaimers and notices in the + Software documentation and/or other materials provided with the + Software. + + DISCLAIMER: THE USE OF THE SOFTWARE IS AT YOUR SOLE RISK. THE SOFTWARE + IS PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND AND COPYRIGHT + HOLDER AND ITS LICENSORS EXPRESSLY DISCLAIM ALL WARRANTIES, EXPRESS AND + IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. + COPYRIGHT HOLDER AND ITS LICENSORS DO NOT WARRANT THAT THE SOFTWARE WILL + MEET YOUR REQUIREMENTS, OR THAT THE OPERATION OF THE SOFTWARE WILL BE + UNINTERRUPTED OR ERROR-FREE. THE ENTIRE RISK ASSOCIATED WITH THE USE OF + THE SOFTWARE IS ASSUMED BY YOU. FURTHERMORE, COPYRIGHT HOLDER AND ITS + LICENSORS DO NOT WARRANT OR MAKE ANY REPRESENTATIONS REGARDING THE USE + OR THE RESULTS OF THE USE OF THE SOFTWARE IN TERMS OF ITS CORRECTNESS, + ACCURACY, RELIABILITY, CURRENTNESS, OR OTHERWISE. + + DISCLAIMER: UNDER NO CIRCUMSTANCES INCLUDING NEGLIGENCE, SHALL COPYRIGHT + HOLDER AND ITS LICENSORS OR ITS DIRECTORS, OFFICERS, EMPLOYEES OR AGENTS + ("AUTHORIZED REPRESENTATIVES") BE LIABLE FOR ANY INCIDENTAL, INDIRECT, + SPECIAL OR CONSEQUENTIAL DAMAGES (INCLUDING DAMAGES FOR LOSS OF BUSINESS + PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, AND THE + LIKE) ARISING OUT OF THE USE, MISUSE OR INABILITY TO USE THE SOFTWARE, + BREACH OR DEFAULT, INCLUDING THOSE ARISING FROM INFRINGEMENT OR ALLEGED + INFRINGEMENT OF ANY PATENT, TRADEMARK, COPYRIGHT OR OTHER INTELLECTUAL + PROPERTY RIGHT EVEN IF COPYRIGHT HOLDER AND ITS AUTHORIZED + REPRESENTATIVES HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IN + NO EVENT SHALL COPYRIGHT HOLDER OR ITS AUTHORIZED REPRESENTATIVES TOTAL + LIABILITY FOR ALL DAMAGES, LOSSES, AND CAUSES OF ACTION (WHETHER IN + CONTRACT, TORT (INCLUDING NEGLIGENCE) OR OTHERWISE) EXCEED THE AMOUNT OF + US$10. + + Notice: The Software is subject to United States export laws and + regulations. You agree to comply with all domestic and international + export laws and regulations that apply to the Software, including but + not limited to the Export Administration Regulations administered by the + U.S. Department of Commerce and International Traffic in Arm Regulations + administered by the U.S. Department of State. These laws include + restrictions on destinations, end users and end use. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-atheros.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-atheros.copyright-detailed.expected.yml index 3d510475174..882eb0d9af8 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-atheros.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-atheros.copyright-detailed.expected.yml @@ -1,12 +1,14 @@ -- - Binary redistribution (Atheros) +primary_license: None +declared_license: + - Binary redistribution (Atheros) - Open ath9k HTC firmware - Binary redistribution (Qualcomm Atheros) - Binary redistribution (Qualcomm Atheros) - Binary redistribution (Qualcomm Atheros) - Binary redistribution (Qualcomm Atheros) -- intel AND (clear-bsd AND isc AND bsd-no-mod AND gpl-2.0-plus AND ecos-exception-2.0 AND mit) - AND proprietary-license AND proprietary-license AND proprietary-license -- | +license_expression: intel AND (clear-bsd AND isc AND bsd-no-mod AND gpl-2.0-plus AND ecos-exception-2.0 + AND mit) AND proprietary-license AND proprietary-license AND proprietary-license +copyright: | 2008-2010, Atheros Communications, Inc. 1998-2002, Red Hat, Inc. 2002, Gary Thomas @@ -43,3 +45,311 @@ 2011-2012, 2014-2015, Qualcomm Atheros, Inc. 2015-2016, The Android Open Source Project 2015, Qualcomm Atheros, Inc. +matches: + - score: '86.25' + start_line: 3 + end_line: 37 + matcher: 3-seq + rule_length: 293 + matched_length: 266 + match_coverage: '90.78' + rule_relevance: 95 + identifier: intel_3.RULE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + + * Neither the name of [Atheros] [Communications], Inc. nor the names of + its suppliers may be used to endorse or promote products derived + from this software without specific prior written permission. + + * No reverse engineering, decompilation, or disassembly of this + software is permitted. + + Limited patent license. [Atheros] [Communications], Inc. grants a + world-wide, royalty-free, non-exclusive license under patents it + now or hereafter owns or controls to make, have made, use, import, + offer to sell and sell ("Utilize") this software, but solely to + the extent that any such patent is necessary to Utilize the software + [in] [conjunction] [with] [an] [Atheros] [Chipset]. The patent license shall not + apply to any other combinations which include this software. No + hardware per se is licensed hereunder. + + DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '99.15' + start_line: 3 + end_line: 31 + matcher: 3-seq + rule_length: 233 + matched_length: 233 + match_coverage: '100.0' + rule_relevance: 100 + identifier: clear-bsd_3.RULE + license_expression: clear-bsd + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted (subject to the limitations in the + disclaimer below) provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the + distribution. + + * Neither the name of [Qualcomm] [Atheros] nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE + GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT + HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 33 + end_line: 43 + matcher: 2-aho + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc.LICENSE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + - score: '100.0' + start_line: 45 + end_line: 74 + matcher: 2-aho + rule_length: 231 + matched_length: 231 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-no-mod.LICENSE + license_expression: bsd-no-mod + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted + provided that the following conditions are met: + 1. The materials contained herein are unmodified and are used + unmodified. + 2. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following NO + ''WARRANTY'' disclaimer below (''Disclaimer''), without + modification. + 3. Redistributions in binary form must reproduce at minimum a + disclaimer similar to the Disclaimer below and any redistribution + must be conditioned upon including a substantially similar + Disclaimer requirement for further binary redistribution. + 4. Neither the names of the above-listed copyright holders nor the + names of any contributors may be used to endorse or promote + product derived from this software without specific prior written + permission. + + NO WARRANTY + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, + MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE + FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF + USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGES. + - score: '100.0' + start_line: 76 + end_line: 78 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_409.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 or (at your option) any later version. + - score: '100.0' + start_line: 80 + end_line: 88 + matcher: 2-aho + rule_length: 100 + matched_length: 100 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ecos-exception-2.0.LICENSE + license_expression: ecos-exception-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception, if other files instantiate templates or use macros + or inline functions from this file, or you compile this file and link it + with other works to produce a work based on this file, this file does not + by itself cause the resulting work to be covered by the GNU General Public + License. However the source code for this file must still be made available + in accordance with section (3) of the GNU General Public License. + + This exception does not invalidate any other reasons why a work based on + this file might be covered by the GNU General Public License. + - score: '100.0' + start_line: 90 + end_line: 107 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '99.21' + start_line: 3 + end_line: 46 + matcher: 3-seq + rule_length: 382 + matched_length: 379 + match_coverage: '99.21' + rule_relevance: 100 + identifier: proprietary-license_327.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Reproduction and redistribution in binary form, without + modification, for use solely in conjunction with a [Qualcomm] [Atheros], [Inc]. + chipset, is permitted provided that the following conditions are met: + + • Redistributions must reproduce the above copyright notice and the following + disclaimer in the documentation and/or other materials provided with the + distribution. + + • Neither the name of [Qualcomm] [Atheros], [Inc]. nor the names of its suppliers + may be used to endorse or promote products derived from this Software + without specific prior written permission. + + • No reverse engineering, decompilation, or disassembly of this Software is + permitted. + + Limited patent license. [Qualcomm] [Atheros], [Inc]. (“Licensor”) grants you + (“Licensee”) a limited, worldwide, royalty-free, non-exclusive license under + the Patents to make, have made, use, import, offer to sell and sell the + Software. No hardware per se is licensed hereunder. + The term “Patents” as used in this agreement means only those patents or patent + applications owned solely and exclusively by Licensor as of the date of + Licensor’s submission of the Software and any patents deriving priority (i.e., + having a first effective filing date) therefrom. The term “Software” as used in + this agreement means the firmware image submitted by Licensor, under the terms + of this license, to git://git.kernel.org/pub/scm/linux/kernel/git/firmware/ + linux-firmware.git. + Notwithstanding anything to the contrary herein, Licensor does not grant and + Licensee does not receive, by virtue of this agreement or the Licensor’s + submission of any Software, any license or other rights under any patent or + patent application owned by any affiliate of Licensor or any other entity + (other than Licensor), whether expressly, impliedly, by virtue of estoppel or + exhaustion, or otherwise. + + DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-atheros.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-atheros.copyright.expected.yml index a1190d66307..d0d63d856c1 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-atheros.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-atheros.copyright.expected.yml @@ -1,9 +1,11 @@ -- - Binary redistribution (Atheros) +primary_license: None +declared_license: + - Binary redistribution (Atheros) - Open ath9k HTC firmware - Binary redistribution (Qualcomm Atheros) -- intel AND (clear-bsd AND isc AND bsd-no-mod AND gpl-2.0-plus AND ecos-exception-2.0 AND mit) - AND proprietary-license -- | +license_expression: intel AND (clear-bsd AND isc AND bsd-no-mod AND gpl-2.0-plus AND ecos-exception-2.0 + AND mit) AND proprietary-license +copyright: | 2008-2010, Atheros Communications, Inc. 1998-2002, Red Hat, Inc. 2002, Gary Thomas @@ -28,3 +30,311 @@ 2011-2012, 2014-2015, Qualcomm Atheros, Inc. 2015-2016, The Android Open Source Project 2015, Qualcomm Atheros, Inc. +matches: + - score: '86.25' + start_line: 3 + end_line: 37 + matcher: 3-seq + rule_length: 293 + matched_length: 266 + match_coverage: '90.78' + rule_relevance: 95 + identifier: intel_3.RULE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + + * Neither the name of [Atheros] [Communications], Inc. nor the names of + its suppliers may be used to endorse or promote products derived + from this software without specific prior written permission. + + * No reverse engineering, decompilation, or disassembly of this + software is permitted. + + Limited patent license. [Atheros] [Communications], Inc. grants a + world-wide, royalty-free, non-exclusive license under patents it + now or hereafter owns or controls to make, have made, use, import, + offer to sell and sell ("Utilize") this software, but solely to + the extent that any such patent is necessary to Utilize the software + [in] [conjunction] [with] [an] [Atheros] [Chipset]. The patent license shall not + apply to any other combinations which include this software. No + hardware per se is licensed hereunder. + + DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '99.15' + start_line: 3 + end_line: 31 + matcher: 3-seq + rule_length: 233 + matched_length: 233 + match_coverage: '100.0' + rule_relevance: 100 + identifier: clear-bsd_3.RULE + license_expression: clear-bsd + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted (subject to the limitations in the + disclaimer below) provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the + distribution. + + * Neither the name of [Qualcomm] [Atheros] nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE + GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT + HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 33 + end_line: 43 + matcher: 2-aho + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc.LICENSE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + - score: '100.0' + start_line: 45 + end_line: 74 + matcher: 2-aho + rule_length: 231 + matched_length: 231 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-no-mod.LICENSE + license_expression: bsd-no-mod + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted + provided that the following conditions are met: + 1. The materials contained herein are unmodified and are used + unmodified. + 2. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following NO + ''WARRANTY'' disclaimer below (''Disclaimer''), without + modification. + 3. Redistributions in binary form must reproduce at minimum a + disclaimer similar to the Disclaimer below and any redistribution + must be conditioned upon including a substantially similar + Disclaimer requirement for further binary redistribution. + 4. Neither the names of the above-listed copyright holders nor the + names of any contributors may be used to endorse or promote + product derived from this software without specific prior written + permission. + + NO WARRANTY + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, + MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE + FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF + USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGES. + - score: '100.0' + start_line: 76 + end_line: 78 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_409.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 or (at your option) any later version. + - score: '100.0' + start_line: 80 + end_line: 88 + matcher: 2-aho + rule_length: 100 + matched_length: 100 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ecos-exception-2.0.LICENSE + license_expression: ecos-exception-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception, if other files instantiate templates or use macros + or inline functions from this file, or you compile this file and link it + with other works to produce a work based on this file, this file does not + by itself cause the resulting work to be covered by the GNU General Public + License. However the source code for this file must still be made available + in accordance with section (3) of the GNU General Public License. + + This exception does not invalidate any other reasons why a work based on + this file might be covered by the GNU General Public License. + - score: '100.0' + start_line: 90 + end_line: 107 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '99.21' + start_line: 3 + end_line: 46 + matcher: 3-seq + rule_length: 382 + matched_length: 379 + match_coverage: '99.21' + rule_relevance: 100 + identifier: proprietary-license_327.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Reproduction and redistribution in binary form, without + modification, for use solely in conjunction with a [Qualcomm] [Atheros], [Inc]. + chipset, is permitted provided that the following conditions are met: + + • Redistributions must reproduce the above copyright notice and the following + disclaimer in the documentation and/or other materials provided with the + distribution. + + • Neither the name of [Qualcomm] [Atheros], [Inc]. nor the names of its suppliers + may be used to endorse or promote products derived from this Software + without specific prior written permission. + + • No reverse engineering, decompilation, or disassembly of this Software is + permitted. + + Limited patent license. [Qualcomm] [Atheros], [Inc]. (“Licensor”) grants you + (“Licensee”) a limited, worldwide, royalty-free, non-exclusive license under + the Patents to make, have made, use, import, offer to sell and sell the + Software. No hardware per se is licensed hereunder. + The term “Patents” as used in this agreement means only those patents or patent + applications owned solely and exclusively by Licensor as of the date of + Licensor’s submission of the Software and any patents deriving priority (i.e., + having a first effective filing date) therefrom. The term “Software” as used in + this agreement means the firmware image submitted by Licensor, under the terms + of this license, to git://git.kernel.org/pub/scm/linux/kernel/git/firmware/ + linux-firmware.git. + Notwithstanding anything to the contrary herein, Licensor does not grant and + Licensee does not receive, by virtue of this agreement or the Licensor’s + submission of any Software, any license or other rights under any patent or + patent application owned by any affiliate of Licensor or any other entity + (other than Licensor), whether expressly, impliedly, by virtue of estoppel or + exhaustion, or otherwise. + + DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2.copyright-detailed.expected.yml index 8c475c72779..8e2fb729fb5 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2.copyright-detailed.expected.yml @@ -1,3 +1,24 @@ -- -- free-unknown -- Copyright (c) 2004 - 2010 Broadcom Corporation +primary_license: +declared_license: +license_expression: free-unknown +copyright: Copyright (c) 2004 - 2010 Broadcom Corporation +matches: + - score: '87.5' + start_line: 4 + end_line: 9 + matcher: 3-seq + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: free-unknown_43.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This file contains firmware data derived from proprietary unpublished\n source\ + \ code, Copyright ([c]) [2004] - [2010] [Broadcom] [Corporation].\n \n Permission is hereby\ + \ granted for the distribution of this firmware data\n in hexadecimal or equivalent format,\ + \ provided this copyright notice is\n accompanying it." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2.copyright.expected.yml index 8c475c72779..8e2fb729fb5 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2.copyright.expected.yml @@ -1,3 +1,24 @@ -- -- free-unknown -- Copyright (c) 2004 - 2010 Broadcom Corporation +primary_license: +declared_license: +license_expression: free-unknown +copyright: Copyright (c) 2004 - 2010 Broadcom Corporation +matches: + - score: '87.5' + start_line: 4 + end_line: 9 + matcher: 3-seq + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: free-unknown_43.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This file contains firmware data derived from proprietary unpublished\n source\ + \ code, Copyright ([c]) [2004] - [2010] [Broadcom] [Corporation].\n \n Permission is hereby\ + \ granted for the distribution of this firmware data\n in hexadecimal or equivalent format,\ + \ provided this copyright notice is\n accompanying it." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2x.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2x.copyright-detailed.expected.yml index a2ba6043063..b8d1278d222 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2x.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2x.copyright-detailed.expected.yml @@ -1,5 +1,44 @@ -- -- proprietary-license AND other-permissive -- | +primary_license: +declared_license: +license_expression: proprietary-license AND other-permissive +copyright: | Copyright (c) 2007-2010 Broadcom Corporation Copyright (c) 2007-2009 Broadcom Corporation +matches: + - score: '33.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: proprietary_30.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + derived from proprietary unpublished + source code, + - score: '100.0' + start_line: 9 + end_line: 11 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_66.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted for the distribution of this firmware data + in hexadecimal or equivalent format, provided this copyright notice is + accompanying it. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2x.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2x.copyright.expected.yml index a2ba6043063..b8d1278d222 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2x.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-bnx2x.copyright.expected.yml @@ -1,5 +1,44 @@ -- -- proprietary-license AND other-permissive -- | +primary_license: +declared_license: +license_expression: proprietary-license AND other-permissive +copyright: | Copyright (c) 2007-2010 Broadcom Corporation Copyright (c) 2007-2009 Broadcom Corporation +matches: + - score: '33.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: proprietary_30.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + derived from proprietary unpublished + source code, + - score: '100.0' + start_line: 9 + end_line: 11 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_66.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted for the distribution of this firmware data + in hexadecimal or equivalent format, provided this copyright notice is + accompanying it. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-brcm80211.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-brcm80211.copyright-detailed.expected.yml index 749419ec555..30381c9c0d2 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-brcm80211.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-brcm80211.copyright-detailed.expected.yml @@ -1,3 +1,156 @@ -- -- broadcom-proprietary -- +primary_license: +declared_license: +license_expression: broadcom-proprietary +copyright: +matches: + - score: '100.0' + start_line: 4 + end_line: 207 + matcher: 2-aho + rule_length: 1764 + matched_length: 1764 + match_coverage: '100.0' + rule_relevance: 100 + identifier: broadcom-proprietary_1.RULE + license_expression: broadcom-proprietary + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "SOFTWARE LICENSE AGREEMENT\n \n Unless you and Broadcom Corporation (“Broadcom”)\ + \ execute a separate written\n software license agreement governing use of the accompanying\ + \ software, this\n software is licensed to you under the terms of this Software License\ + \ Agreement\n (“Agreement”).\n \n ANY USE, REPRODUCTION OR DISTRIBUTION OF THE SOFTWARE\ + \ CONSTITUTES YOUR\n ACCEPTANCE OF THIS AGREEMENT.\n \n 1.\tDEFINITIONS.\n \n 1.1.\t“Broadcom\ + \ Product” means any of the proprietary integrated circuit\n product(s) sold by Broadcom\ + \ with which the Software was designed to be used, or\n their successors.\n \n 1.2.\t\ + “Licensee” means you or if you are accepting on behalf of an entity\n then the entity\ + \ and its affiliates exercising rights under, and complying with\n all of the terms of\ + \ this Agreement.\n \n 1.3.\t“Software” shall mean that software made available by Broadcom\ + \ to\n Licensee in binary code form with this Agreement.\n \n 2.\tLICENSE GRANT; OWNERSHIP\n\ + \ \n 2.1.\tLicense Grants. Subject to the terms and conditions of this Agreement,\n Broadcom\ + \ hereby grants to Licensee a non-exclusive, non-transferable,\n royalty-free license\ + \ (i) to use and integrate the Software in conjunction with\n any other software; and\ + \ (ii) to reproduce and distribute the Software complete,\n unmodified and as provided\ + \ by Broadcom, and only for use with a Broadcom\n Product.\n \n 2.2.\tRestriction on Modification.\ + \ Licensee may not make any modifications\n to the Software.\n \n 2.3.\tRestriction on\ + \ Distribution. Licensee shall only distribute the\n Software under the terms of this\ + \ Agreement and a copy of this Agreement\n accompanies such distribution.\n \n 2.4.\t\ + Proprietary Notices. Licensee shall not remove, efface or obscure any\n copyright or\ + \ trademark notices from the Software. Licensee shall include\n reproductions of the\ + \ Broadcom copyright notice with each copy of the Software,\n except where such Software\ + \ is embedded in a manner not readily accessible to\n the end user. Licensee acknowledges\ + \ that any symbols, trademarks, tradenames,\n and service marks adopted by Broadcom to\ + \ identify the Software belong to\n Broadcom and that Licensee shall have no rights therein.\n\ + \ \n 2.5.\tOwnership. Broadcom shall retain all right, title and interest,\n including\ + \ all intellectual property rights, in and to the Software. Licensee\n hereby covenants\ + \ that it will not assert any claim that the Software created by\n or for Broadcom infringe\ + \ any intellectual property right owned or controlled by\n Licensee; provided however,\ + \ the foregoing shall not apply in case the Agreement\n is terminated.\n \n 2.6.\tNo Other\ + \ Rights Granted; Restrictions. Apart from the license rights\n expressly set forth in\ + \ this Agreement, Broadcom does not grant and Licensee\n does not receive any ownership\ + \ right, title or interest nor any security\n interest or other interest in any intellectual\ + \ property rights relating to the\n Software, nor in any copy of any part of the foregoing.\ + \ No license is granted\n to Licensee in any human readable code of the Software (source\ + \ code). Licensee\n shall not (i) use, license, sell or otherwise distribute the Software\ + \ except as\n provided in this Agreement, (ii) attempt to modify in any way, reverse\n\ + \ engineer, decompile or disassemble any portion of the Software; or (iii) use\n the Software\ + \ or other material in violation of any applicable law or\n regulation, including but\ + \ not limited to any regulatory agency, such as FCC,\n rules.\n \n 3.\tNO WARRANTY OR\ + \ SUPPORT\n \n 3.1.\tNo Warranty. THE SOFTWARE IS OFFERED “AS IS,” AND BROADCOM GRANTS\ + \ AND\n LICENSEE RECEIVES NO WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, BY STATUTE,\n\ + \ COMMUNICATION OR CONDUCT WITH LICENSEE, OR OTHERWISE. BROADCOM SPECIFICALLY\n DISCLAIMS\ + \ ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A SPECIFIC\n PURPOSE OR NONINFRINGEMENT\ + \ CONCERNING THE SOFTWARE OR ANY UPGRADES TO OR\n DOCUMENTATION FOR THE SOFTWARE. WITHOUT\ + \ LIMITATION OF THE ABOVE, BROADCOM\n GRANTS NO WARRANTY THAT THE SOFTWARE IS ERROR-FREE\ + \ OR WILL OPERATE WITHOUT\n INTERRUPTION, AND GRANTS NO WARRANTY REGARDING ITS USE OR\ + \ THE RESULTS THEREFROM\n INCLUDING, WITHOUT LIMITATION, ITS CORRECTNESS, ACCURACY OR\ + \ RELIABILITY.\n \n 3.2.\tNo Support. Nothing in this agreement shall obligate Broadcom\ + \ to\n provide any support for the Software. Broadcom may, but shall be under no\n obligation\ + \ to, correct any defects in the Software and/or provide updates to\n licensees of the\ + \ Software. Licensee shall make reasonable efforts to promptly\n report to Broadcom any\ + \ defects it finds in the Software, as an aid to creating\n improved revisions of the\ + \ Software.\n \n 3.3.\tDangerous Applications. The Software is not designed, intended,\ + \ or\n certified for use in components of systems intended for the operation of\n weapons,\ + \ weapons systems, nuclear installations, means of mass transportation,\n aviation, life-support\ + \ computers or equipment (including resuscitation\n equipment and surgical implants),\ + \ pollution control, hazardous substances\n management, or for any other dangerous application\ + \ in which the failure of the\n Software could create a situation where personal injury\ + \ or death may occur. \n Licensee understands that use of the Software in such applications\ + \ is fully at\n the risk of Licensee.\n \n 4.\tTERM AND TERMINATION\n \n 4.1.\tTermination.\ + \ This Agreement will automatically terminate if Licensee\n fails to comply with any\ + \ of the terms and conditions hereof. In such event,\n Licensee must destroy all copies\ + \ of the Software and all of its component\n parts.\n \n 4.2.\tEffect Of Termination.\ + \ Upon any termination of this Agreement, the\n rights and licenses granted to Licensee\ + \ under this Agreement shall immediately\n terminate.\n \n 4.3.\tSurvival. The rights\ + \ and obligations under this Agreement which by\n their nature should survive termination\ + \ will remain in effect after expiration\n or termination of this Agreement.\n \n 5.\t\ + CONFIDENTIALITY\n \n 5.1.\tObligations. Licensee acknowledges and agrees that any documentation\n\ + \ relating to the Software, and any other information (if such other information\n is\ + \ identified as confidential or should be recognized as confidential under the\n circumstances)\ + \ provided to Licensee by Broadcom hereunder (collectively,\n “Confidential Information”)\ + \ constitute the confidential and proprietary\n information of Broadcom, and that Licensee’s\ + \ protection thereof is an essential\n condition to Licensee’s use and possession of the\ + \ Software. Licensee shall\n retain all Confidential Information in strict confidence\ + \ and not disclose it to\n any third party or use it in any way except under a written\ + \ agreement with\n terms and conditions at least as protective as the terms of this Section.\n\ + \ Licensee will exercise at least the same amount of diligence in preserving the\n secrecy\ + \ of the Confidential Information as it uses in preserving the secrecy of\n its own most\ + \ valuable confidential information, but in no event less than\n reasonable diligence.\ + \ Information shall not be considered Confidential\n Information if and to the extent\ + \ that it: (i) was in the public domain at the\n time it was disclosed or has entered\ + \ the public domain through no fault of\n Licensee; (ii) was known to Licensee, without\ + \ restriction, at the time of\n disclosure as proven by the files of Licensee in existence\ + \ at the time of\n disclosure; or (iii) becomes known to Licensee, without restriction,\ + \ from a\n source other than Broadcom without breach of this Agreement by Licensee and\n\ + \ otherwise not in violation of Broadcom’s rights.\n \n 5.2.\tReturn of Confidential Information.\ + \ Notwithstanding the foregoing, all\n documents and other tangible objects containing\ + \ or representing Broadcom\n Confidential Information and all copies thereof which are\ + \ in the possession of\n Licensee shall be and remain the property of Broadcom, and shall\ + \ be promptly\n returned to Broadcom upon written request by Broadcom or upon termination\ + \ of\n this Agreement.\n \n 6.\tLIMITATION OF LIABILITY TO THE MAXIMUM EXTENT PERMITTED\ + \ BY LAW, IN NO\n EVENT SHALL BROADCOM OR ANY OF BROADCOM’S LICENSORS HAVE ANY LIABILITY\ + \ FOR ANY\n INDIRECT, INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES, HOWEVER CAUSED AND\ + \ ON\n ANY THEORY OF LIABILITY, WHETHER FOR BREACH OF CONTRACT, TORT (INCLUDING\n NEGLIGENCE)\ + \ OR OTHERWISE, ARISING OUT OF THIS AGREEMENT, INCLUDING BUT NOT\n LIMITED TO LOSS OF\ + \ PROFITS, EVEN IF SUCH PARTY HAS BEEN ADVISED OF THE\n POSSIBILITY OF SUCH DAMAGES. IN\ + \ NO EVENT WILL BROADCOM’S LIABILITY WHETHER IN\n CONTRACT, TORT (INCLUDING NEGLIGENCE),\ + \ OR OTHERWISE, EXCEED THE AMOUNT PAID BY\n LICENSEE FOR SOFTWARE UNDER THIS AGREEMENT.\ + \ THESE LIMITATIONS SHALL APPLY\n NOTWITHSTANDING ANY FAILURE OF ESSENTIAL PURPOSE OF\ + \ ANY LIMITED REMEDY.\n \n 7.\tMISCELLANEOUS\n \n 7.1.\tExport Regulations. YOU UNDERSTAND\ + \ AND AGREE THAT THE SOFTWARE IS\n SUBJECT TO UNITED STATES AND OTHER APPLICABLE EXPORT-RELATED\ + \ LAWS AND\n REGULATIONS AND THAT YOU MAY NOT EXPORT, RE-EXPORT OR TRANSFER THE SOFTWARE\ + \ OR\n ANY DIRECT PRODUCT OF THE SOFTWARE EXCEPT AS PERMITTED UNDER THOSE LAWS.\n WITHOUT\ + \ LIMITING THE FOREGOING, EXPORT, RE-EXPORT OR TRANSFER OF THE SOFTWARE\n TO CUBA, IRAN,\ + \ NORTH KOREA, SUDAN AND SYRIA IS PROHIBITED.\n \n 7.2\tAssignment. This Agreement shall\ + \ be binding upon and inure to the\n benefit of the parties and their respective successors\ + \ and assigns, provided,\n however that Licensee may not assign this Agreement or any\ + \ rights or obligation\n hereunder, directly or indirectly, by operation of law or otherwise,\ + \ without\n the prior written consent of Broadcom, and any such attempted assignment shall\n\ + \ be void. Notwithstanding the foregoing, Licensee may assign this Agreement to\n a successor\ + \ to all or substantially all of its business or assets to which this\n Agreement relates\ + \ that is not a competitor of Broadcom.\n \n 7.3.\tGoverning Law; Venue. This Agreement\ + \ shall be governed by the laws of\n California without regard to any conflict-of-laws\ + \ rules, and the United Nations\n Convention on Contracts for the International Sale of\ + \ Goods is hereby excluded.\n The sole jurisdiction and venue for actions related to the\ + \ subject matter\n hereof shall be the state and federal courts located in the County\ + \ of Orange,\n California, and both parties hereby consent to such jurisdiction and venue.\n\ + \ \n 7.4.\tSeverability. All terms and provisions of this Agreement shall, if\n possible,\ + \ be construed in a manner which makes them valid, but in the event any\n term or provision\ + \ of this Agreement is found by a court of competent\n jurisdiction to be illegal or unenforceable,\ + \ the validity or enforceability of\n the remainder of this Agreement shall not be affected\ + \ if the illegal or\n unenforceable provision does not materially affect the intent of\ + \ this\n Agreement. If the illegal or unenforceable provision materially affects the\n\ + \ intent of the parties to this Agreement, this Agreement shall become\n terminated.\n\ + \ \n 7.5.\tEquitable Relief. Licensee hereby acknowledges that its breach of this\n Agreement\ + \ would cause irreparable harm and significant injury to Broadcom that\n may be difficult\ + \ to ascertain and that a remedy at law would be inadequate.\n Accordingly, Licensee agrees\ + \ that Broadcom shall have the right to seek and\n obtain immediate injunctive relief\ + \ to enforce obligations under the Agreement\n in addition to any other rights and remedies\ + \ it may have.\n \n 7.6.\tWaiver. The waiver of, or failure to enforce, any breach or\ + \ default\n hereunder shall not constitute the waiver of any other or subsequent breach\ + \ or\n default.\n \n 7.7.\tEntire Agreement. This Agreement sets forth the entire Agreement\n\ + \ between the parties and supersedes any and all prior proposals, agreements and\n representations\ + \ between them, whether written or oral concerning the Software.\n This Agreement may\ + \ be changed only by mutual agreement of the parties in\n writing." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-brcm80211.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-brcm80211.copyright.expected.yml index 749419ec555..30381c9c0d2 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-brcm80211.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-brcm80211.copyright.expected.yml @@ -1,3 +1,156 @@ -- -- broadcom-proprietary -- +primary_license: +declared_license: +license_expression: broadcom-proprietary +copyright: +matches: + - score: '100.0' + start_line: 4 + end_line: 207 + matcher: 2-aho + rule_length: 1764 + matched_length: 1764 + match_coverage: '100.0' + rule_relevance: 100 + identifier: broadcom-proprietary_1.RULE + license_expression: broadcom-proprietary + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "SOFTWARE LICENSE AGREEMENT\n \n Unless you and Broadcom Corporation (“Broadcom”)\ + \ execute a separate written\n software license agreement governing use of the accompanying\ + \ software, this\n software is licensed to you under the terms of this Software License\ + \ Agreement\n (“Agreement”).\n \n ANY USE, REPRODUCTION OR DISTRIBUTION OF THE SOFTWARE\ + \ CONSTITUTES YOUR\n ACCEPTANCE OF THIS AGREEMENT.\n \n 1.\tDEFINITIONS.\n \n 1.1.\t“Broadcom\ + \ Product” means any of the proprietary integrated circuit\n product(s) sold by Broadcom\ + \ with which the Software was designed to be used, or\n their successors.\n \n 1.2.\t\ + “Licensee” means you or if you are accepting on behalf of an entity\n then the entity\ + \ and its affiliates exercising rights under, and complying with\n all of the terms of\ + \ this Agreement.\n \n 1.3.\t“Software” shall mean that software made available by Broadcom\ + \ to\n Licensee in binary code form with this Agreement.\n \n 2.\tLICENSE GRANT; OWNERSHIP\n\ + \ \n 2.1.\tLicense Grants. Subject to the terms and conditions of this Agreement,\n Broadcom\ + \ hereby grants to Licensee a non-exclusive, non-transferable,\n royalty-free license\ + \ (i) to use and integrate the Software in conjunction with\n any other software; and\ + \ (ii) to reproduce and distribute the Software complete,\n unmodified and as provided\ + \ by Broadcom, and only for use with a Broadcom\n Product.\n \n 2.2.\tRestriction on Modification.\ + \ Licensee may not make any modifications\n to the Software.\n \n 2.3.\tRestriction on\ + \ Distribution. Licensee shall only distribute the\n Software under the terms of this\ + \ Agreement and a copy of this Agreement\n accompanies such distribution.\n \n 2.4.\t\ + Proprietary Notices. Licensee shall not remove, efface or obscure any\n copyright or\ + \ trademark notices from the Software. Licensee shall include\n reproductions of the\ + \ Broadcom copyright notice with each copy of the Software,\n except where such Software\ + \ is embedded in a manner not readily accessible to\n the end user. Licensee acknowledges\ + \ that any symbols, trademarks, tradenames,\n and service marks adopted by Broadcom to\ + \ identify the Software belong to\n Broadcom and that Licensee shall have no rights therein.\n\ + \ \n 2.5.\tOwnership. Broadcom shall retain all right, title and interest,\n including\ + \ all intellectual property rights, in and to the Software. Licensee\n hereby covenants\ + \ that it will not assert any claim that the Software created by\n or for Broadcom infringe\ + \ any intellectual property right owned or controlled by\n Licensee; provided however,\ + \ the foregoing shall not apply in case the Agreement\n is terminated.\n \n 2.6.\tNo Other\ + \ Rights Granted; Restrictions. Apart from the license rights\n expressly set forth in\ + \ this Agreement, Broadcom does not grant and Licensee\n does not receive any ownership\ + \ right, title or interest nor any security\n interest or other interest in any intellectual\ + \ property rights relating to the\n Software, nor in any copy of any part of the foregoing.\ + \ No license is granted\n to Licensee in any human readable code of the Software (source\ + \ code). Licensee\n shall not (i) use, license, sell or otherwise distribute the Software\ + \ except as\n provided in this Agreement, (ii) attempt to modify in any way, reverse\n\ + \ engineer, decompile or disassemble any portion of the Software; or (iii) use\n the Software\ + \ or other material in violation of any applicable law or\n regulation, including but\ + \ not limited to any regulatory agency, such as FCC,\n rules.\n \n 3.\tNO WARRANTY OR\ + \ SUPPORT\n \n 3.1.\tNo Warranty. THE SOFTWARE IS OFFERED “AS IS,” AND BROADCOM GRANTS\ + \ AND\n LICENSEE RECEIVES NO WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, BY STATUTE,\n\ + \ COMMUNICATION OR CONDUCT WITH LICENSEE, OR OTHERWISE. BROADCOM SPECIFICALLY\n DISCLAIMS\ + \ ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A SPECIFIC\n PURPOSE OR NONINFRINGEMENT\ + \ CONCERNING THE SOFTWARE OR ANY UPGRADES TO OR\n DOCUMENTATION FOR THE SOFTWARE. WITHOUT\ + \ LIMITATION OF THE ABOVE, BROADCOM\n GRANTS NO WARRANTY THAT THE SOFTWARE IS ERROR-FREE\ + \ OR WILL OPERATE WITHOUT\n INTERRUPTION, AND GRANTS NO WARRANTY REGARDING ITS USE OR\ + \ THE RESULTS THEREFROM\n INCLUDING, WITHOUT LIMITATION, ITS CORRECTNESS, ACCURACY OR\ + \ RELIABILITY.\n \n 3.2.\tNo Support. Nothing in this agreement shall obligate Broadcom\ + \ to\n provide any support for the Software. Broadcom may, but shall be under no\n obligation\ + \ to, correct any defects in the Software and/or provide updates to\n licensees of the\ + \ Software. Licensee shall make reasonable efforts to promptly\n report to Broadcom any\ + \ defects it finds in the Software, as an aid to creating\n improved revisions of the\ + \ Software.\n \n 3.3.\tDangerous Applications. The Software is not designed, intended,\ + \ or\n certified for use in components of systems intended for the operation of\n weapons,\ + \ weapons systems, nuclear installations, means of mass transportation,\n aviation, life-support\ + \ computers or equipment (including resuscitation\n equipment and surgical implants),\ + \ pollution control, hazardous substances\n management, or for any other dangerous application\ + \ in which the failure of the\n Software could create a situation where personal injury\ + \ or death may occur. \n Licensee understands that use of the Software in such applications\ + \ is fully at\n the risk of Licensee.\n \n 4.\tTERM AND TERMINATION\n \n 4.1.\tTermination.\ + \ This Agreement will automatically terminate if Licensee\n fails to comply with any\ + \ of the terms and conditions hereof. In such event,\n Licensee must destroy all copies\ + \ of the Software and all of its component\n parts.\n \n 4.2.\tEffect Of Termination.\ + \ Upon any termination of this Agreement, the\n rights and licenses granted to Licensee\ + \ under this Agreement shall immediately\n terminate.\n \n 4.3.\tSurvival. The rights\ + \ and obligations under this Agreement which by\n their nature should survive termination\ + \ will remain in effect after expiration\n or termination of this Agreement.\n \n 5.\t\ + CONFIDENTIALITY\n \n 5.1.\tObligations. Licensee acknowledges and agrees that any documentation\n\ + \ relating to the Software, and any other information (if such other information\n is\ + \ identified as confidential or should be recognized as confidential under the\n circumstances)\ + \ provided to Licensee by Broadcom hereunder (collectively,\n “Confidential Information”)\ + \ constitute the confidential and proprietary\n information of Broadcom, and that Licensee’s\ + \ protection thereof is an essential\n condition to Licensee’s use and possession of the\ + \ Software. Licensee shall\n retain all Confidential Information in strict confidence\ + \ and not disclose it to\n any third party or use it in any way except under a written\ + \ agreement with\n terms and conditions at least as protective as the terms of this Section.\n\ + \ Licensee will exercise at least the same amount of diligence in preserving the\n secrecy\ + \ of the Confidential Information as it uses in preserving the secrecy of\n its own most\ + \ valuable confidential information, but in no event less than\n reasonable diligence.\ + \ Information shall not be considered Confidential\n Information if and to the extent\ + \ that it: (i) was in the public domain at the\n time it was disclosed or has entered\ + \ the public domain through no fault of\n Licensee; (ii) was known to Licensee, without\ + \ restriction, at the time of\n disclosure as proven by the files of Licensee in existence\ + \ at the time of\n disclosure; or (iii) becomes known to Licensee, without restriction,\ + \ from a\n source other than Broadcom without breach of this Agreement by Licensee and\n\ + \ otherwise not in violation of Broadcom’s rights.\n \n 5.2.\tReturn of Confidential Information.\ + \ Notwithstanding the foregoing, all\n documents and other tangible objects containing\ + \ or representing Broadcom\n Confidential Information and all copies thereof which are\ + \ in the possession of\n Licensee shall be and remain the property of Broadcom, and shall\ + \ be promptly\n returned to Broadcom upon written request by Broadcom or upon termination\ + \ of\n this Agreement.\n \n 6.\tLIMITATION OF LIABILITY TO THE MAXIMUM EXTENT PERMITTED\ + \ BY LAW, IN NO\n EVENT SHALL BROADCOM OR ANY OF BROADCOM’S LICENSORS HAVE ANY LIABILITY\ + \ FOR ANY\n INDIRECT, INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES, HOWEVER CAUSED AND\ + \ ON\n ANY THEORY OF LIABILITY, WHETHER FOR BREACH OF CONTRACT, TORT (INCLUDING\n NEGLIGENCE)\ + \ OR OTHERWISE, ARISING OUT OF THIS AGREEMENT, INCLUDING BUT NOT\n LIMITED TO LOSS OF\ + \ PROFITS, EVEN IF SUCH PARTY HAS BEEN ADVISED OF THE\n POSSIBILITY OF SUCH DAMAGES. IN\ + \ NO EVENT WILL BROADCOM’S LIABILITY WHETHER IN\n CONTRACT, TORT (INCLUDING NEGLIGENCE),\ + \ OR OTHERWISE, EXCEED THE AMOUNT PAID BY\n LICENSEE FOR SOFTWARE UNDER THIS AGREEMENT.\ + \ THESE LIMITATIONS SHALL APPLY\n NOTWITHSTANDING ANY FAILURE OF ESSENTIAL PURPOSE OF\ + \ ANY LIMITED REMEDY.\n \n 7.\tMISCELLANEOUS\n \n 7.1.\tExport Regulations. YOU UNDERSTAND\ + \ AND AGREE THAT THE SOFTWARE IS\n SUBJECT TO UNITED STATES AND OTHER APPLICABLE EXPORT-RELATED\ + \ LAWS AND\n REGULATIONS AND THAT YOU MAY NOT EXPORT, RE-EXPORT OR TRANSFER THE SOFTWARE\ + \ OR\n ANY DIRECT PRODUCT OF THE SOFTWARE EXCEPT AS PERMITTED UNDER THOSE LAWS.\n WITHOUT\ + \ LIMITING THE FOREGOING, EXPORT, RE-EXPORT OR TRANSFER OF THE SOFTWARE\n TO CUBA, IRAN,\ + \ NORTH KOREA, SUDAN AND SYRIA IS PROHIBITED.\n \n 7.2\tAssignment. This Agreement shall\ + \ be binding upon and inure to the\n benefit of the parties and their respective successors\ + \ and assigns, provided,\n however that Licensee may not assign this Agreement or any\ + \ rights or obligation\n hereunder, directly or indirectly, by operation of law or otherwise,\ + \ without\n the prior written consent of Broadcom, and any such attempted assignment shall\n\ + \ be void. Notwithstanding the foregoing, Licensee may assign this Agreement to\n a successor\ + \ to all or substantially all of its business or assets to which this\n Agreement relates\ + \ that is not a competitor of Broadcom.\n \n 7.3.\tGoverning Law; Venue. This Agreement\ + \ shall be governed by the laws of\n California without regard to any conflict-of-laws\ + \ rules, and the United Nations\n Convention on Contracts for the International Sale of\ + \ Goods is hereby excluded.\n The sole jurisdiction and venue for actions related to the\ + \ subject matter\n hereof shall be the state and federal courts located in the County\ + \ of Orange,\n California, and both parties hereby consent to such jurisdiction and venue.\n\ + \ \n 7.4.\tSeverability. All terms and provisions of this Agreement shall, if\n possible,\ + \ be construed in a manner which makes them valid, but in the event any\n term or provision\ + \ of this Agreement is found by a court of competent\n jurisdiction to be illegal or unenforceable,\ + \ the validity or enforceability of\n the remainder of this Agreement shall not be affected\ + \ if the illegal or\n unenforceable provision does not materially affect the intent of\ + \ this\n Agreement. If the illegal or unenforceable provision materially affects the\n\ + \ intent of the parties to this Agreement, this Agreement shall become\n terminated.\n\ + \ \n 7.5.\tEquitable Relief. Licensee hereby acknowledges that its breach of this\n Agreement\ + \ would cause irreparable harm and significant injury to Broadcom that\n may be difficult\ + \ to ascertain and that a remedy at law would be inadequate.\n Accordingly, Licensee agrees\ + \ that Broadcom shall have the right to seek and\n obtain immediate injunctive relief\ + \ to enforce obligations under the Agreement\n in addition to any other rights and remedies\ + \ it may have.\n \n 7.6.\tWaiver. The waiver of, or failure to enforce, any breach or\ + \ default\n hereunder shall not constitute the waiver of any other or subsequent breach\ + \ or\n default.\n \n 7.7.\tEntire Agreement. This Agreement sets forth the entire Agreement\n\ + \ between the parties and supersedes any and all prior proposals, agreements and\n representations\ + \ between them, whether written or oral concerning the Software.\n This Agreement may\ + \ be changed only by mutual agreement of the parties in\n writing." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-cavium.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-cavium.copyright-detailed.expected.yml index 3c8f2b0d59c..f071bfc9c3f 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-cavium.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-cavium.copyright-detailed.expected.yml @@ -1,3 +1,64 @@ -- -- proprietary-license -- Copyright (c) 2015, Cavium, Inc. +primary_license: +declared_license: +license_expression: proprietary-license +copyright: Copyright (c) 2015, Cavium, Inc. +matches: + - score: '100.0' + start_line: 6 + end_line: 62 + matcher: 2-aho + rule_length: 537 + matched_length: 537 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_449.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Software License Agreement\n \n ANY USE, REPRODUCTION, OR DISTRIBUTION OF\ + \ THE ACCOMPANYING BINARY SOFTWARE\n CONSTITUTES LICENSEEE'S ACCEPTANCE OF THE TERMS AND\ + \ CONDITIONS OF THIS AGREEMENT.\n \n Licensed Software. Subject to the terms and conditions\ + \ of this Agreement,\n Cavium, Inc. (\"Cavium\") grants to Licensee a worldwide, non-exclusive,\ + \ and\n royalty-free license to use, reproduce, and distribute the binary software in\n\ + \ its complete and unmodified form as provided by Cavium.\n \n Restrictions. Licensee\ + \ must reproduce the Cavium copyright notice above with\n each binary software copy. Licensee\ + \ must not reverse engineer, decompile,\n disassemble or modify in any way the binary\ + \ software. Licensee must not use\n the binary software in violation of any applicable\ + \ law or regulation. This\n Agreement shall automatically terminate upon Licensee's breach\ + \ of any term or\n condition of this Agreement in which case, Licensee shall destroy all\ + \ copies of\n the binary software.\n \n Warranty Disclaimer. THE LICENSED SOFTWARE IS\ + \ OFFERED \"AS IS,\" AND CAVIUM\n GRANTS AND LICENSEE RECEIVES NO WARRANTIES OF ANY KIND,\ + \ WHETHER EXPRESS,\n IMPLIED, STATUTORY, OR BY COURSE OF COMMUNICATION OR DEALING WITH\ + \ LICENSEE, OR\n OTHERWISE. CAVIUM AND ITS LICENSORS SPECIFICALLY DISCLAIM ANY IMPLIED\n\ + \ WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, OR\n NONINFRINGEMENT\ + \ OF THIRD PARTY RIGHTS, CONCERNING THE LICENSED SOFTWARE,\n DERIVATIVE WORKS, OR ANY\ + \ DOCUMENTATION PROVIDED WITH THE FOREGOING. WITHOUT\n LIMITING THE GENERALITY OF THE\ + \ FOREGOING, CAVIUM DOES NOT WARRANT THAT THE\n LICENSED SOFTWARE IS ERROR-FREE OR WILL\ + \ OPERATE WITHOUT INTERRUPTION, AND\n CAVIUM GRANTS NO WARRANTY REGARDING ITS USE OR THE\ + \ RESULTS THEREFROM, INCLUDING\n ITS CORRECTNESS, ACCURACY, OR RELIABILITY.\n \n Limitation\ + \ of Liability. IN NO EVENT WILL LICENSEE, CAVIUM, OR ANY OF CAVIUM'S\n LICENSORS HAVE\ + \ ANY LIABILITY HEREUNDER FOR ANY INDIRECT, SPECIAL, OR\n CONSEQUENTIAL DAMAGES, HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER\n FOR BREACH OF CONTRACT, TORT (INCLUDING\ + \ NEGLIGENCE), OR OTHERWISE, ARISING OUT\n OF THIS AGREEMENT, INCLUDING DAMAGES FOR LOSS\ + \ OF PROFITS, OR THE COST OF\n PROCUREMENT OF SUBSTITUTE GOODS, EVEN IF SUCH PARTY HAS\ + \ BEEN ADVISED OF THE\n POSSIBILITY OF SUCH DAMAGES.\n \n Export and Import Laws. Licensee\ + \ acknowledges and agrees that the Licensed\n Software (including technical data and related\ + \ technology) may be controlled by\n the export control laws, rules, regulations, restrictions\ + \ and national security\n controls of the United States and other applicable foreign agencies\ + \ (the\n \"Export Controls\"), and agrees not export or re-export, or allow the export\ + \ or\n re-export of export-controlled the Licensed Software (including technical data\n\ + \ and related technology) or any copy, portion or direct product of the foregoing\n in\ + \ violation of the Export Controls. Licensee hereby represents that\n (i) Licensee is\ + \ not an entity or person to whom provision of the Licensed\n Software (including technical\ + \ data and related technology) is restricted or\n prohibited by the Export Controls; and\ + \ (ii) Licensee will not export, re-export\n or otherwise transfer the export-controlled\ + \ Licensed Software (including\n technical data and related technology) in violation of\ + \ U.S. sanction programs\n or export control regulations to (a) any country, or national\ + \ or resident of\n any country, subject to a United States trade embargo, (b) any person\ + \ or entity\n to whom shipment is restricted or prohibited by the Export Controls, or\n\ + \ (c) anyone who is engaged in activities related to the design, development,\n production,\ + \ or use of nuclear materials, nuclear facilities, nuclear weapons,\n missiles or chemical\ + \ or biological weapons." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-cavium.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-cavium.copyright.expected.yml index 3c8f2b0d59c..f071bfc9c3f 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-cavium.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-cavium.copyright.expected.yml @@ -1,3 +1,64 @@ -- -- proprietary-license -- Copyright (c) 2015, Cavium, Inc. +primary_license: +declared_license: +license_expression: proprietary-license +copyright: Copyright (c) 2015, Cavium, Inc. +matches: + - score: '100.0' + start_line: 6 + end_line: 62 + matcher: 2-aho + rule_length: 537 + matched_length: 537 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_449.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Software License Agreement\n \n ANY USE, REPRODUCTION, OR DISTRIBUTION OF\ + \ THE ACCOMPANYING BINARY SOFTWARE\n CONSTITUTES LICENSEEE'S ACCEPTANCE OF THE TERMS AND\ + \ CONDITIONS OF THIS AGREEMENT.\n \n Licensed Software. Subject to the terms and conditions\ + \ of this Agreement,\n Cavium, Inc. (\"Cavium\") grants to Licensee a worldwide, non-exclusive,\ + \ and\n royalty-free license to use, reproduce, and distribute the binary software in\n\ + \ its complete and unmodified form as provided by Cavium.\n \n Restrictions. Licensee\ + \ must reproduce the Cavium copyright notice above with\n each binary software copy. Licensee\ + \ must not reverse engineer, decompile,\n disassemble or modify in any way the binary\ + \ software. Licensee must not use\n the binary software in violation of any applicable\ + \ law or regulation. This\n Agreement shall automatically terminate upon Licensee's breach\ + \ of any term or\n condition of this Agreement in which case, Licensee shall destroy all\ + \ copies of\n the binary software.\n \n Warranty Disclaimer. THE LICENSED SOFTWARE IS\ + \ OFFERED \"AS IS,\" AND CAVIUM\n GRANTS AND LICENSEE RECEIVES NO WARRANTIES OF ANY KIND,\ + \ WHETHER EXPRESS,\n IMPLIED, STATUTORY, OR BY COURSE OF COMMUNICATION OR DEALING WITH\ + \ LICENSEE, OR\n OTHERWISE. CAVIUM AND ITS LICENSORS SPECIFICALLY DISCLAIM ANY IMPLIED\n\ + \ WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, OR\n NONINFRINGEMENT\ + \ OF THIRD PARTY RIGHTS, CONCERNING THE LICENSED SOFTWARE,\n DERIVATIVE WORKS, OR ANY\ + \ DOCUMENTATION PROVIDED WITH THE FOREGOING. WITHOUT\n LIMITING THE GENERALITY OF THE\ + \ FOREGOING, CAVIUM DOES NOT WARRANT THAT THE\n LICENSED SOFTWARE IS ERROR-FREE OR WILL\ + \ OPERATE WITHOUT INTERRUPTION, AND\n CAVIUM GRANTS NO WARRANTY REGARDING ITS USE OR THE\ + \ RESULTS THEREFROM, INCLUDING\n ITS CORRECTNESS, ACCURACY, OR RELIABILITY.\n \n Limitation\ + \ of Liability. IN NO EVENT WILL LICENSEE, CAVIUM, OR ANY OF CAVIUM'S\n LICENSORS HAVE\ + \ ANY LIABILITY HEREUNDER FOR ANY INDIRECT, SPECIAL, OR\n CONSEQUENTIAL DAMAGES, HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER\n FOR BREACH OF CONTRACT, TORT (INCLUDING\ + \ NEGLIGENCE), OR OTHERWISE, ARISING OUT\n OF THIS AGREEMENT, INCLUDING DAMAGES FOR LOSS\ + \ OF PROFITS, OR THE COST OF\n PROCUREMENT OF SUBSTITUTE GOODS, EVEN IF SUCH PARTY HAS\ + \ BEEN ADVISED OF THE\n POSSIBILITY OF SUCH DAMAGES.\n \n Export and Import Laws. Licensee\ + \ acknowledges and agrees that the Licensed\n Software (including technical data and related\ + \ technology) may be controlled by\n the export control laws, rules, regulations, restrictions\ + \ and national security\n controls of the United States and other applicable foreign agencies\ + \ (the\n \"Export Controls\"), and agrees not export or re-export, or allow the export\ + \ or\n re-export of export-controlled the Licensed Software (including technical data\n\ + \ and related technology) or any copy, portion or direct product of the foregoing\n in\ + \ violation of the Export Controls. Licensee hereby represents that\n (i) Licensee is\ + \ not an entity or person to whom provision of the Licensed\n Software (including technical\ + \ data and related technology) is restricted or\n prohibited by the Export Controls; and\ + \ (ii) Licensee will not export, re-export\n or otherwise transfer the export-controlled\ + \ Licensed Software (including\n technical data and related technology) in violation of\ + \ U.S. sanction programs\n or export control regulations to (a) any country, or national\ + \ or resident of\n any country, subject to a United States trade embargo, (b) any person\ + \ or entity\n to whom shipment is restricted or prohibited by the Export Controls, or\n\ + \ (c) anyone who is engaged in activities related to the design, development,\n production,\ + \ or use of nuclear materials, nuclear facilities, nuclear weapons,\n missiles or chemical\ + \ or biological weapons." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intel-sound.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intel-sound.copyright-detailed.expected.yml index eb20aa0bf8a..1489fdd58e5 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intel-sound.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intel-sound.copyright-detailed.expected.yml @@ -1,14 +1,16 @@ -- - Binary redistribution (Intel 1) +primary_license: None +declared_license: + - Binary redistribution (Intel 1) - Binary redistribution (Intel 2) - Binary redistribution (Intel 3) -- intel AND intel AND (intel AND free-unknown AND bsd-new AND bsd-new AND x11-lucent AND standard-ml-nj - AND amd-historical AND sunpro AND osf-1990 AND nilsson-historical AND newlib-historical AND - bsd-new AND amd-historical AND bsd-new AND bsd-simplified AND bsd-simplified AND bsd-simplified - AND x11-hanson AND bsd-simplified AND bsd-new AND delorie-historical AND intel-osl-1993 AND - osf-1990 AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new) AND (bsd-simplified - AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new AND - bsd-new AND bsd-new AND newlib-historical AND bsd-new AND bsd-new AND bsd-simplified) -- | +license_expression: intel AND intel AND (intel AND free-unknown AND bsd-new AND bsd-new AND + x11-lucent AND standard-ml-nj AND amd-historical AND sunpro AND osf-1990 AND nilsson-historical + AND newlib-historical AND bsd-new AND amd-historical AND bsd-new AND bsd-simplified AND bsd-simplified + AND bsd-simplified AND x11-hanson AND bsd-simplified AND bsd-new AND delorie-historical AND + intel-osl-1993 AND osf-1990 AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new) + AND (bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified + AND bsd-new AND bsd-new AND bsd-new AND newlib-historical AND bsd-new AND bsd-new AND bsd-simplified) +copyright: | 2014, Intel Corporation. 2014, Intel Corporation 1981-2000, The Regents of the University of California @@ -19,3 +21,1417 @@ 1993, Sun Microsystems, Inc. 1994-2014, Red Hat Inc. and other newlib contributors 1993, 2014-15, Intel Corporation +matches: + - score: '100.0' + start_line: 3 + end_line: 38 + matcher: 2-aho + rule_length: 295 + matched_length: 295 + match_coverage: '100.0' + rule_relevance: 100 + identifier: intel.LICENSE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of Intel Corporation nor the names of its suppliers + may be used to endorse or promote products derived from this software + without specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software + is permitted. + + Limited patent license. Intel Corporation grants a world-wide, + royalty-free, non-exclusive license under patents it now or hereafter + owns or controls to make, have made, use, import, offer to sell and + sell ("Utilize") this software, but solely to the extent that any + such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not apply to + any other combinations which include this software. No hardware per + se is licensed hereunder. + + DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + - score: '95.0' + start_line: 3 + end_line: 37 + matcher: 2-aho + rule_length: 268 + matched_length: 268 + match_coverage: '100.0' + rule_relevance: 95 + identifier: intel_2.RULE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. + + Redistribution and use in binary form, without modification, are permitted + provided that the following conditions are met: + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of Intel Corporation nor the names of its suppliers may + be used to endorse or promote products derived from this software without + specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software is + permitted. + + Limited patent license. + + Intel Corporation grants a world-wide, royalty-free, non-exclusive license + under patents it now or hereafter owns or controls to make, have made, use, + import, offer to sell and sell ("Utilize") this software, but solely to the + extent that any such patent is necessary to Utilize the software alone. The + patent license shall not apply to any combinations which include this software. + No hardware per se is licensed hereunder. + + DISCLAIMER. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '95.0' + start_line: 3 + end_line: 37 + matcher: 2-aho + rule_length: 268 + matched_length: 268 + match_coverage: '100.0' + rule_relevance: 95 + identifier: intel_2.RULE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. + + Redistribution and use in binary form, without modification, are permitted + provided that the following conditions are met: + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of Intel Corporation nor the names of its suppliers may + be used to endorse or promote products derived from this software without + specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software is + permitted. + + Limited patent license. + + Intel Corporation grants a world-wide, royalty-free, non-exclusive license + under patents it now or hereafter owns or controls to make, have made, use, + import, offer to sell and sell ("Utilize") this software, but solely to the + extent that any such patent is necessary to Utilize the software alone. The + patent license shall not apply to any combinations which include this software. + No hardware per se is licensed hereunder. + + DISCLAIMER. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 43 + end_line: 45 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: free-unknown_47.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: yes + matched_text: | + Each file may have its own copyright/license that is embedded in the source + file. Unless otherwise noted in the body of the source file(s), the following copyright + notices will apply to the contents of the newlib subdirectory: + - score: '100.0' + start_line: 51 + end_line: 60 + matcher: 2-aho + rule_length: 103 + matched_length: 103 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_newlib.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This copyrighted material is made available to anyone wishing to use, + modify, copy, or redistribute it subject to the terms and conditions + of the BSD License. This program is distributed in the hope that + it will be useful, but WITHOUT ANY WARRANTY expressed or implied, + including the implied warranties of MERCHANTABILITY or FITNESS FOR + A PARTICULAR PURPOSE. A copy of this license is available at + http://www.opensource.org/licenses. Any Red Hat trademarks that are + incorporated in the source code or documentation are not subject to + the BSD License and may only be used or replicated with the express + permission of Red Hat, Inc. + - score: '100.0' + start_line: 67 + end_line: 88 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_newlib3.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY + OF SUCH DAMAGE. + - score: '100.0' + start_line: 96 + end_line: 105 + matcher: 2-aho + rule_length: 93 + matched_length: 93 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-lucent.RULE + license_expression: x11-lucent + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + purpose without fee is hereby granted, provided that this entire notice + is included in all copies of any software which is or includes a copy + or modification of this software and in all copies of the supporting + documentation for such software. + + THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED + WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR AT&T MAKES ANY + REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY + OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. + - score: '100.0' + start_line: 114 + end_line: 131 + matcher: 2-aho + rule_length: 151 + matched_length: 151 + match_coverage: '100.0' + rule_relevance: 100 + identifier: standard-ml-nj_3.RULE + license_expression: standard-ml-nj + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose and without fee is hereby + granted, provided that the above copyright notice appear in all + copies and that both that the copyright notice and this + permission notice and warranty disclaimer appear in supporting + documentation, and that the name of Lucent or any of its entities + not be used in advertising or publicity pertaining to + distribution of the software without specific, written prior + permission. + + LUCENT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. + IN NO EVENT SHALL LUCENT OR ANY OF ITS ENTITIES BE LIABLE FOR ANY + SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER + IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, + ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF + THIS SOFTWARE. + - score: '100.0' + start_line: 138 + end_line: 149 + matcher: 2-aho + rule_length: 98 + matched_length: 98 + match_coverage: '100.0' + rule_relevance: 100 + identifier: amd-historical_1.RULE + license_expression: amd-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is the property of Advanced Micro Devices, Inc (AMD) which + specifically grants the user the right to modify, use and distribute this + software provided this notice is not removed or altered. All other rights + are reserved by AMD. + + AMD MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS + SOFTWARE. IN NO EVENT SHALL AMD BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL + DAMAGES IN CONNECTION WITH OR ARISING FROM THE FURNISHING, PERFORMANCE, OR + USE OF THIS SOFTWARE. + + So that all may benefit from your experience, please report any problems + or suggestions about this software + - score: '100.0' + start_line: 168 + end_line: 170 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Developed at SunPro, a Sun Microsystems, Inc. business. + Permission to use, copy, modify, and distribute this + software is freely granted, provided that this notice is preserved. + - score: '100.0' + start_line: 176 + end_line: 185 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: osf-1990_3.RULE + license_expression: osf-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To anyone who acknowledges that this file is provided "AS IS" + without any express or implied warranty: + permission to use, copy, modify, and distribute this file + for any purpose is hereby granted without fee, provided that + the above copyright notice and this notice appears in all + copies, and that the name of Hewlett-Packard Company not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + Hewlett-Packard Company makes no representations about the + suitability of this software for any purpose. + - score: '100.0' + start_line: '191' + end_line: '198' + matcher: 2-aho + rule_length: 55 + matched_length: 55 + match_coverage: '100.0' + rule_relevance: 100 + identifier: nilsson-historical.LICENSE + license_expression: nilsson-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software is + freely granted, provided that the above copyright notice, this notice + and the following disclaimer are preserved with no changes. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE. + - score: '100.0' + start_line: 204 + end_line: 212 + matcher: 2-aho + rule_length: 92 + matched_length: 92 + match_coverage: '100.0' + rule_relevance: 100 + identifier: newlib-historical.LICENSE + license_expression: newlib-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The authors hereby grant permission to use, copy, modify, distribute, + and license this software and its documentation for any purpose, provided + that existing copyright notices are retained in all copies and that this + notice is included verbatim in any distributions. No written agreement, + license, or royalty fee is required for any of the authorized uses. + Modifications to this software may be copyrighted by their authors + and need not follow the licensing terms described here, provided that + the new terms are clearly indicated on the first page of each file where + they apply. + - score: '100.0' + start_line: 219 + end_line: 239 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_98.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '95.0' + start_line: 245 + end_line: 256 + matcher: 2-aho + rule_length: 95 + matched_length: 95 + match_coverage: '100.0' + rule_relevance: 100 + identifier: amd-historical4.RULE + license_expression: amd-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is the property of [SuperH], Inc ([SuperH]) which specifically + grants the user the right to modify, use and distribute this software + provided this notice is not removed or altered. All other rights are + reserved by [SuperH]. + + [SUPERH] MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO + THIS SOFTWARE. IN NO EVENT SHALL [SUPERH] BE LIABLE FOR INDIRECT, SPECIAL, + INCIDENTAL OR CONSEQUENTIAL DAMAGES IN CONNECTION WITH OR ARISING FROM + THE FURNISHING, PERFORMANCE, OR USE OF THIS SOFTWARE. + + So that all may benefit from your experience, please report any problems + or suggestions about this software to the + - score: '100.0' + start_line: 271 + end_line: 296 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_933.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. Neither the name of KTH nor the names of its contributors may be + used to endorse or promote products derived from this software without + specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY KTH AND ITS CONTRIBUTORS ``AS IS'' AND ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL KTH OR ITS CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 303 + end_line: 322 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 329 + end_line: 348 + matcher: 2-aho + rule_length: 181 + matched_length: 181 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_newlib3.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 355 + end_line: 374 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '85.71' + start_line: 378 + end_line: 391 + matcher: 3-seq + rule_length: 105 + matched_length: 90 + match_coverage: '85.71' + rule_relevance: 100 + identifier: x11-hanson_1.RULE + license_expression: x11-hanson + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Author: S. [L]. [Moshier]. + + [Copyright] ([c]) [1984],[2000] S.[L]. [Moshier] + + Permission to use, copy, modify, and distribute this software for any + purpose without fee is hereby granted, provided that this entire notice + is included in all copies of any software which is or includes a copy + or modification of this software and in all copies of the supporting + documentation for such software. + + THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED + WARRANTY. IN PARTICULAR, THE AUTHOR MAKES NO REPRESENTATION + OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS + SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. + - score: '100.0' + start_line: 398 + end_line: 417 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 424 + end_line: 444 + matcher: 2-aho + rule_length: 200 + matched_length: 200 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_76.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; + OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 450 + end_line: 455 + matcher: 2-aho + rule_length: 45 + matched_length: 45 + match_coverage: '100.0' + rule_relevance: 100 + identifier: delorie-historical.LICENSE + license_expression: delorie-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution, modification, and use in source and binary forms is permitted + provided that the above copyright notice and following paragraph are + duplicated in all such forms. + + This file is distributed WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 465 + end_line: 487 + matcher: 2-aho + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: intel-osl-1993.LICENSE + license_expression: intel-osl-1993 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Intel hereby grants you permission to copy, modify, and distribute this + software and its documentation. Intel grants this permission provided + that the above copyright notice appears in all copies and that both the + copyright notice and this permission notice appear in supporting + documentation. In addition, Intel grants this permission provided that + you prominently mark as "not part of the original" any modifications + made to this software or documentation, and that the name of Intel + Corporation not be used in advertising or publicity pertaining to + distribution of the software or the documentation without specific, + written prior permission. + + Intel Corporation provides this AS IS, WITHOUT ANY WARRANTY, EXPRESS OR + IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY + OR FITNESS FOR A PARTICULAR PURPOSE. Intel makes no guarantee or + representations regarding the use of, or the results of the use of, + the software and documentation in terms of correctness, accuracy, + reliability, currentness, or otherwise; and you rely on the software, + documentation and results solely at your own risk. + + IN NO EVENT SHALL INTEL BE LIABLE FOR ANY LOSS OF USE, LOSS OF BUSINESS, + LOSS OF PROFITS, INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES + OF ANY KIND. IN NO EVENT SHALL INTEL'S TOTAL LIABILITY EXCEED THE SUM + PAID TO INTEL FOR THE PRODUCT LICENSED HEREUNDER. + - score: '100.0' + start_line: 493 + end_line: 502 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: osf-1990_3.RULE + license_expression: osf-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To anyone who acknowledges that this file is provided "AS IS" + without any express or implied warranty: + permission to use, copy, modify, and distribute this file + for any purpose is hereby granted without fee, provided that + the above copyright notice and this notice appears in all + copies, and that the name of Hewlett-Packard Company not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + Hewlett-Packard Company makes no representations about the + suitability of this software for any purpose. + - score: '100.0' + start_line: 511 + end_line: 530 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 537 + end_line: 556 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 565 + end_line: 584 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 595 + end_line: 617 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_206.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the names of the copyright holders nor the names of their + contributors may be used to endorse or promote products derived from this + software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 2-aho + rule_length: 179 + matched_length: 179 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_8.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 27 + end_line: 46 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 53 + end_line: 72 + matcher: 2-aho + rule_length: 181 + matched_length: 181 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_newlib3.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 79 + end_line: 98 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_newlib5.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 105 + end_line: 124 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 132 + end_line: 153 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_183.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the company may not be used to endorse or promote + products derived from this software without specific prior written + permission. + . + THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED + TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 159 + end_line: 184 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_412.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + . + 1. Redistributions source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + . + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + 3. Neither the name of Xilinx nor the names of its contributors may be + used to endorse or promote products derived from this software without + specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED + TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: '192' + end_line: 219 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_517.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + . + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + . + Neither the name of Texas Instruments Incorporated nor the names + of its contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 225 + end_line: 233 + matcher: 2-aho + rule_length: 92 + matched_length: 92 + match_coverage: '100.0' + rule_relevance: 100 + identifier: newlib-historical.LICENSE + license_expression: newlib-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The authors hereby grant permission to use, copy, modify, distribute, + and license this software and its documentation for any purpose, provided + that existing copyright notices are retained in all copies and that this + notice is included verbatim in any distributions. No written agreement, + license, or royalty fee is required for any of the authorized uses. + Modifications to this software may be copyrighted by their authors + and need not follow the licensing terms described here, provided that + the new terms are clearly indicated on the first page of each file where + they apply. + - score: '100.0' + start_line: 240 + end_line: 260 + matcher: 2-aho + rule_length: 211 + matched_length: 211 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_979.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of Adapteva nor the names of its contributors may be used + to endorse or promote products derived from this software without specific + prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 267 + end_line: 290 + matcher: 2-aho + rule_length: 218 + matched_length: 218 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_410.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + o Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + o Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + o Neither the name of Altera Corporation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY ALTERA CORPORATION, THE COPYRIGHT HOLDER, + AND ITS CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 297 + end_line: 316 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intel-sound.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intel-sound.copyright.expected.yml index eb20aa0bf8a..6e120f1b8f6 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intel-sound.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intel-sound.copyright.expected.yml @@ -1,14 +1,13 @@ -- - Binary redistribution (Intel 1) +primary_license: None +declared_license: + - Binary redistribution (Intel 1) - Binary redistribution (Intel 2) - Binary redistribution (Intel 3) -- intel AND intel AND (intel AND free-unknown AND bsd-new AND bsd-new AND x11-lucent AND standard-ml-nj +license_expression: intel AND (intel AND free-unknown AND bsd-new AND x11-lucent AND standard-ml-nj AND amd-historical AND sunpro AND osf-1990 AND nilsson-historical AND newlib-historical AND - bsd-new AND amd-historical AND bsd-new AND bsd-simplified AND bsd-simplified AND bsd-simplified - AND x11-hanson AND bsd-simplified AND bsd-new AND delorie-historical AND intel-osl-1993 AND - osf-1990 AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new) AND (bsd-simplified - AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new AND - bsd-new AND bsd-new AND newlib-historical AND bsd-new AND bsd-new AND bsd-simplified) -- | + bsd-simplified AND x11-hanson AND delorie-historical AND intel-osl-1993) AND (bsd-simplified + AND bsd-new AND newlib-historical) +copyright: | 2014, Intel Corporation. 2014, Intel Corporation 1981-2000, The Regents of the University of California @@ -19,3 +18,1417 @@ 1993, Sun Microsystems, Inc. 1994-2014, Red Hat Inc. and other newlib contributors 1993, 2014-15, Intel Corporation +matches: + - score: '100.0' + start_line: 3 + end_line: 38 + matcher: 2-aho + rule_length: 295 + matched_length: 295 + match_coverage: '100.0' + rule_relevance: 100 + identifier: intel.LICENSE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of Intel Corporation nor the names of its suppliers + may be used to endorse or promote products derived from this software + without specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software + is permitted. + + Limited patent license. Intel Corporation grants a world-wide, + royalty-free, non-exclusive license under patents it now or hereafter + owns or controls to make, have made, use, import, offer to sell and + sell ("Utilize") this software, but solely to the extent that any + such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not apply to + any other combinations which include this software. No hardware per + se is licensed hereunder. + + DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + - score: '95.0' + start_line: 3 + end_line: 37 + matcher: 2-aho + rule_length: 268 + matched_length: 268 + match_coverage: '100.0' + rule_relevance: 95 + identifier: intel_2.RULE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. + + Redistribution and use in binary form, without modification, are permitted + provided that the following conditions are met: + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of Intel Corporation nor the names of its suppliers may + be used to endorse or promote products derived from this software without + specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software is + permitted. + + Limited patent license. + + Intel Corporation grants a world-wide, royalty-free, non-exclusive license + under patents it now or hereafter owns or controls to make, have made, use, + import, offer to sell and sell ("Utilize") this software, but solely to the + extent that any such patent is necessary to Utilize the software alone. The + patent license shall not apply to any combinations which include this software. + No hardware per se is licensed hereunder. + + DISCLAIMER. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '95.0' + start_line: 3 + end_line: 37 + matcher: 2-aho + rule_length: 268 + matched_length: 268 + match_coverage: '100.0' + rule_relevance: 95 + identifier: intel_2.RULE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. + + Redistribution and use in binary form, without modification, are permitted + provided that the following conditions are met: + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of Intel Corporation nor the names of its suppliers may + be used to endorse or promote products derived from this software without + specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software is + permitted. + + Limited patent license. + + Intel Corporation grants a world-wide, royalty-free, non-exclusive license + under patents it now or hereafter owns or controls to make, have made, use, + import, offer to sell and sell ("Utilize") this software, but solely to the + extent that any such patent is necessary to Utilize the software alone. The + patent license shall not apply to any combinations which include this software. + No hardware per se is licensed hereunder. + + DISCLAIMER. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 43 + end_line: 45 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: free-unknown_47.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: yes + matched_text: | + Each file may have its own copyright/license that is embedded in the source + file. Unless otherwise noted in the body of the source file(s), the following copyright + notices will apply to the contents of the newlib subdirectory: + - score: '100.0' + start_line: 51 + end_line: 60 + matcher: 2-aho + rule_length: 103 + matched_length: 103 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_newlib.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This copyrighted material is made available to anyone wishing to use, + modify, copy, or redistribute it subject to the terms and conditions + of the BSD License. This program is distributed in the hope that + it will be useful, but WITHOUT ANY WARRANTY expressed or implied, + including the implied warranties of MERCHANTABILITY or FITNESS FOR + A PARTICULAR PURPOSE. A copy of this license is available at + http://www.opensource.org/licenses. Any Red Hat trademarks that are + incorporated in the source code or documentation are not subject to + the BSD License and may only be used or replicated with the express + permission of Red Hat, Inc. + - score: '100.0' + start_line: 67 + end_line: 88 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_newlib3.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY + OF SUCH DAMAGE. + - score: '100.0' + start_line: 96 + end_line: 105 + matcher: 2-aho + rule_length: 93 + matched_length: 93 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-lucent.RULE + license_expression: x11-lucent + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + purpose without fee is hereby granted, provided that this entire notice + is included in all copies of any software which is or includes a copy + or modification of this software and in all copies of the supporting + documentation for such software. + + THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED + WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR AT&T MAKES ANY + REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY + OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. + - score: '100.0' + start_line: 114 + end_line: 131 + matcher: 2-aho + rule_length: 151 + matched_length: 151 + match_coverage: '100.0' + rule_relevance: 100 + identifier: standard-ml-nj_3.RULE + license_expression: standard-ml-nj + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose and without fee is hereby + granted, provided that the above copyright notice appear in all + copies and that both that the copyright notice and this + permission notice and warranty disclaimer appear in supporting + documentation, and that the name of Lucent or any of its entities + not be used in advertising or publicity pertaining to + distribution of the software without specific, written prior + permission. + + LUCENT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. + IN NO EVENT SHALL LUCENT OR ANY OF ITS ENTITIES BE LIABLE FOR ANY + SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER + IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, + ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF + THIS SOFTWARE. + - score: '100.0' + start_line: 138 + end_line: 149 + matcher: 2-aho + rule_length: 98 + matched_length: 98 + match_coverage: '100.0' + rule_relevance: 100 + identifier: amd-historical_1.RULE + license_expression: amd-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is the property of Advanced Micro Devices, Inc (AMD) which + specifically grants the user the right to modify, use and distribute this + software provided this notice is not removed or altered. All other rights + are reserved by AMD. + + AMD MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS + SOFTWARE. IN NO EVENT SHALL AMD BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL + DAMAGES IN CONNECTION WITH OR ARISING FROM THE FURNISHING, PERFORMANCE, OR + USE OF THIS SOFTWARE. + + So that all may benefit from your experience, please report any problems + or suggestions about this software + - score: '100.0' + start_line: 168 + end_line: 170 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Developed at SunPro, a Sun Microsystems, Inc. business. + Permission to use, copy, modify, and distribute this + software is freely granted, provided that this notice is preserved. + - score: '100.0' + start_line: 176 + end_line: 185 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: osf-1990_3.RULE + license_expression: osf-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To anyone who acknowledges that this file is provided "AS IS" + without any express or implied warranty: + permission to use, copy, modify, and distribute this file + for any purpose is hereby granted without fee, provided that + the above copyright notice and this notice appears in all + copies, and that the name of Hewlett-Packard Company not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + Hewlett-Packard Company makes no representations about the + suitability of this software for any purpose. + - score: '100.0' + start_line: '191' + end_line: '198' + matcher: 2-aho + rule_length: 55 + matched_length: 55 + match_coverage: '100.0' + rule_relevance: 100 + identifier: nilsson-historical.LICENSE + license_expression: nilsson-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software is + freely granted, provided that the above copyright notice, this notice + and the following disclaimer are preserved with no changes. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE. + - score: '100.0' + start_line: 204 + end_line: 212 + matcher: 2-aho + rule_length: 92 + matched_length: 92 + match_coverage: '100.0' + rule_relevance: 100 + identifier: newlib-historical.LICENSE + license_expression: newlib-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The authors hereby grant permission to use, copy, modify, distribute, + and license this software and its documentation for any purpose, provided + that existing copyright notices are retained in all copies and that this + notice is included verbatim in any distributions. No written agreement, + license, or royalty fee is required for any of the authorized uses. + Modifications to this software may be copyrighted by their authors + and need not follow the licensing terms described here, provided that + the new terms are clearly indicated on the first page of each file where + they apply. + - score: '100.0' + start_line: 219 + end_line: 239 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_98.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '95.0' + start_line: 245 + end_line: 256 + matcher: 2-aho + rule_length: 95 + matched_length: 95 + match_coverage: '100.0' + rule_relevance: 100 + identifier: amd-historical4.RULE + license_expression: amd-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is the property of [SuperH], Inc ([SuperH]) which specifically + grants the user the right to modify, use and distribute this software + provided this notice is not removed or altered. All other rights are + reserved by [SuperH]. + + [SUPERH] MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO + THIS SOFTWARE. IN NO EVENT SHALL [SUPERH] BE LIABLE FOR INDIRECT, SPECIAL, + INCIDENTAL OR CONSEQUENTIAL DAMAGES IN CONNECTION WITH OR ARISING FROM + THE FURNISHING, PERFORMANCE, OR USE OF THIS SOFTWARE. + + So that all may benefit from your experience, please report any problems + or suggestions about this software to the + - score: '100.0' + start_line: 271 + end_line: 296 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_933.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. Neither the name of KTH nor the names of its contributors may be + used to endorse or promote products derived from this software without + specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY KTH AND ITS CONTRIBUTORS ``AS IS'' AND ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL KTH OR ITS CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 303 + end_line: 322 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 329 + end_line: 348 + matcher: 2-aho + rule_length: 181 + matched_length: 181 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_newlib3.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 355 + end_line: 374 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '85.71' + start_line: 378 + end_line: 391 + matcher: 3-seq + rule_length: 105 + matched_length: 90 + match_coverage: '85.71' + rule_relevance: 100 + identifier: x11-hanson_1.RULE + license_expression: x11-hanson + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Author: S. [L]. [Moshier]. + + [Copyright] ([c]) [1984],[2000] S.[L]. [Moshier] + + Permission to use, copy, modify, and distribute this software for any + purpose without fee is hereby granted, provided that this entire notice + is included in all copies of any software which is or includes a copy + or modification of this software and in all copies of the supporting + documentation for such software. + + THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED + WARRANTY. IN PARTICULAR, THE AUTHOR MAKES NO REPRESENTATION + OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS + SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. + - score: '100.0' + start_line: 398 + end_line: 417 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 424 + end_line: 444 + matcher: 2-aho + rule_length: 200 + matched_length: 200 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_76.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; + OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 450 + end_line: 455 + matcher: 2-aho + rule_length: 45 + matched_length: 45 + match_coverage: '100.0' + rule_relevance: 100 + identifier: delorie-historical.LICENSE + license_expression: delorie-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution, modification, and use in source and binary forms is permitted + provided that the above copyright notice and following paragraph are + duplicated in all such forms. + + This file is distributed WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 465 + end_line: 487 + matcher: 2-aho + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: intel-osl-1993.LICENSE + license_expression: intel-osl-1993 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Intel hereby grants you permission to copy, modify, and distribute this + software and its documentation. Intel grants this permission provided + that the above copyright notice appears in all copies and that both the + copyright notice and this permission notice appear in supporting + documentation. In addition, Intel grants this permission provided that + you prominently mark as "not part of the original" any modifications + made to this software or documentation, and that the name of Intel + Corporation not be used in advertising or publicity pertaining to + distribution of the software or the documentation without specific, + written prior permission. + + Intel Corporation provides this AS IS, WITHOUT ANY WARRANTY, EXPRESS OR + IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY + OR FITNESS FOR A PARTICULAR PURPOSE. Intel makes no guarantee or + representations regarding the use of, or the results of the use of, + the software and documentation in terms of correctness, accuracy, + reliability, currentness, or otherwise; and you rely on the software, + documentation and results solely at your own risk. + + IN NO EVENT SHALL INTEL BE LIABLE FOR ANY LOSS OF USE, LOSS OF BUSINESS, + LOSS OF PROFITS, INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES + OF ANY KIND. IN NO EVENT SHALL INTEL'S TOTAL LIABILITY EXCEED THE SUM + PAID TO INTEL FOR THE PRODUCT LICENSED HEREUNDER. + - score: '100.0' + start_line: 493 + end_line: 502 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: osf-1990_3.RULE + license_expression: osf-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To anyone who acknowledges that this file is provided "AS IS" + without any express or implied warranty: + permission to use, copy, modify, and distribute this file + for any purpose is hereby granted without fee, provided that + the above copyright notice and this notice appears in all + copies, and that the name of Hewlett-Packard Company not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + Hewlett-Packard Company makes no representations about the + suitability of this software for any purpose. + - score: '100.0' + start_line: 511 + end_line: 530 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 537 + end_line: 556 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 565 + end_line: 584 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 595 + end_line: 617 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_206.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the names of the copyright holders nor the names of their + contributors may be used to endorse or promote products derived from this + software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 2-aho + rule_length: 179 + matched_length: 179 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_8.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 27 + end_line: 46 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 53 + end_line: 72 + matcher: 2-aho + rule_length: 181 + matched_length: 181 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_newlib3.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 79 + end_line: 98 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_newlib5.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 105 + end_line: 124 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 132 + end_line: 153 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_183.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the company may not be used to endorse or promote + products derived from this software without specific prior written + permission. + . + THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED + TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 159 + end_line: 184 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_412.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + . + 1. Redistributions source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + . + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + 3. Neither the name of Xilinx nor the names of its contributors may be + used to endorse or promote products derived from this software without + specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED + TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: '192' + end_line: 219 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_517.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + . + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + . + Neither the name of Texas Instruments Incorporated nor the names + of its contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 225 + end_line: 233 + matcher: 2-aho + rule_length: 92 + matched_length: 92 + match_coverage: '100.0' + rule_relevance: 100 + identifier: newlib-historical.LICENSE + license_expression: newlib-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The authors hereby grant permission to use, copy, modify, distribute, + and license this software and its documentation for any purpose, provided + that existing copyright notices are retained in all copies and that this + notice is included verbatim in any distributions. No written agreement, + license, or royalty fee is required for any of the authorized uses. + Modifications to this software may be copyrighted by their authors + and need not follow the licensing terms described here, provided that + the new terms are clearly indicated on the first page of each file where + they apply. + - score: '100.0' + start_line: 240 + end_line: 260 + matcher: 2-aho + rule_length: 211 + matched_length: 211 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_979.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of Adapteva nor the names of its contributors may be used + to endorse or promote products derived from this software without specific + prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 267 + end_line: 290 + matcher: 2-aho + rule_length: 218 + matched_length: 218 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_410.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + o Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + o Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + o Neither the name of Altera Corporation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY ALTERA CORPORATION, THE COPYRIGHT HOLDER, + AND ITS CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 297 + end_line: 316 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intelwimax.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intelwimax.copyright-detailed.expected.yml index 62d2822fb12..ef84dabf45b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intelwimax.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intelwimax.copyright-detailed.expected.yml @@ -1,3 +1,42 @@ -- -- intel -- Copyright (c) 2008, Intel Corporation +primary_license: +declared_license: +license_expression: intel +copyright: Copyright (c) 2008, Intel Corporation +matches: + - score: '95.0' + start_line: 8 + end_line: 46 + matcher: 2-aho + rule_length: 268 + matched_length: 268 + match_coverage: '100.0' + rule_relevance: 95 + identifier: intel_2.RULE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution. \n \n Redistribution and use in binary form, without modification,\ + \ are\n permitted provided that the following conditions are met:\n \n * Redistributions\ + \ must reproduce the above copyright notice and the\n following disclaimer in the documentation\ + \ and/or other materials\n provided with the distribution.\n \n * Neither the name\ + \ of Intel Corporation nor the names of its\n suppliers may be used to endorse or promote\ + \ products derived from\n this software without specific prior written permission.\n\ + \ \n * No reverse engineering, decompilation, or disassembly of this\n software is\ + \ permitted.\n \n Limited patent license.\n \n Intel Corporation grants a world-wide,\ + \ royalty-free, non-exclusive\n license under patents it now or hereafter owns or controls\ + \ to make,\n have made, use, import, offer to sell and sell (“Utilize”) this\n software,\ + \ but solely to the extent that any such patent is necessary\n to Utilize the software\ + \ alone. The patent license shall not apply to\n any combinations which include this\ + \ software. No hardware per se is\n licensed hereunder.\n \n DISCLAIMER. \n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intelwimax.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intelwimax.copyright.expected.yml index 62d2822fb12..ef84dabf45b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intelwimax.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-intelwimax.copyright.expected.yml @@ -1,3 +1,42 @@ -- -- intel -- Copyright (c) 2008, Intel Corporation +primary_license: +declared_license: +license_expression: intel +copyright: Copyright (c) 2008, Intel Corporation +matches: + - score: '95.0' + start_line: 8 + end_line: 46 + matcher: 2-aho + rule_length: 268 + matched_length: 268 + match_coverage: '100.0' + rule_relevance: 95 + identifier: intel_2.RULE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution. \n \n Redistribution and use in binary form, without modification,\ + \ are\n permitted provided that the following conditions are met:\n \n * Redistributions\ + \ must reproduce the above copyright notice and the\n following disclaimer in the documentation\ + \ and/or other materials\n provided with the distribution.\n \n * Neither the name\ + \ of Intel Corporation nor the names of its\n suppliers may be used to endorse or promote\ + \ products derived from\n this software without specific prior written permission.\n\ + \ \n * No reverse engineering, decompilation, or disassembly of this\n software is\ + \ permitted.\n \n Limited patent license.\n \n Intel Corporation grants a world-wide,\ + \ royalty-free, non-exclusive\n license under patents it now or hereafter owns or controls\ + \ to make,\n have made, use, import, offer to sell and sell (“Utilize”) this\n software,\ + \ but solely to the extent that any such patent is necessary\n to Utilize the software\ + \ alone. The patent license shall not apply to\n any combinations which include this\ + \ software. No hardware per se is\n licensed hereunder.\n \n DISCLAIMER. \n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ipw2x00.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ipw2x00.copyright-detailed.expected.yml index 7f75caaddaa..bfccd8baf94 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ipw2x00.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ipw2x00.copyright-detailed.expected.yml @@ -1,3 +1,250 @@ -- -- proprietary-license -- Copyright 2003-2009 Intel Corporation +primary_license: +declared_license: +license_expression: proprietary-license +copyright: Copyright 2003-2009 Intel Corporation +matches: + - score: '100.0' + start_line: 7 + end_line: 332 + matcher: 2-aho + rule_length: 2958 + matched_length: 2958 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_521.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "TERMS AND CONDITIONS\n IMPORTANT - PLEASE READ BEFORE INSTALLING OR USING\ + \ THIS INTEL(C) SOFTWARE\n \n Do not use or load this firmware (the \"Software\") until\ + \ you have carefully read\n the following terms and conditions. By loading or using the\ + \ Software, you agree\n to the terms of this Agreement. If you do not wish to so agree,\ + \ do not install\n or use the Software.\n \n LICENSEES:\n \n Please note: \n \n * If you\ + \ are an End-User, only Exhibit A, the SOFTWARE LICENSE AGREEMENT,\n applies.\n * If\ + \ you are an Original Equipment Manufacturer (OEM), Independent Hardware\n Vendor (IHV),\ + \ or Independent Software Vendor (ISV), this complete Agreement\n applies \n - A part\ + \ of the license is for ipw 2100 firmware\n - Another part of the license is for ipw\ + \ 2200/2915 firmware\n \n \n ipw2100 firmware license For OEMs, IHVs, and ISVs:\n =================================================\n\ + \ \n LICENSE. This Software is licensed for use only in conjunction with Intel\n component\ + \ products. Use of the Software in conjunction with non-Intel component\n products is\ + \ not licensed hereunder. Subject to the terms of this Agreement,\n Intel grants to you\ + \ a nonexclusive, nontransferable, worldwide, fully paid-up\n license under Intel's copyrights\ + \ to: (i) copy the Software internally for your\n own development and maintenance purposes;\ + \ (ii) copy and distribute the Software\n to your end-users, but only under a license\ + \ agreement with terms at least as\n restrictive as those contained in Intel's Final,\ + \ Single User License Agreement,\n attached as Exhibit A; and (iii) modify, copy and distribute\ + \ the end-user\n documentation which may accompany the Software, but only in association\ + \ with\n the Software. \n \n If you are not the final manufacturer or vendor of a computer\ + \ system or software\n program incorporating the Software, then you may transfer a copy\ + \ of the\n Software, including any related documentation (modified or unmodified) to your\n\ + \ recipient for use in accordance with the terms of this Agreement, provided such\n recipient\ + \ agrees to be fully bound by the terms hereof. You shall not otherwise\n assign, sublicense,\ + \ lease, or in any other way transfer or disclose Software to\n any third party. You may\ + \ not, nor may you assist any other person or entity to\n modify, translate, convert to\ + \ another programming language, decompile, reverse\n engineer, or disassemble any portion\ + \ of the Software or otherwise attempt to\n derive source code from any object code modules\ + \ of the Software or any internal\n data files generated by the Software. Your rights\ + \ to redistribute the Software\n shall be contingent upon your installation of this Agreement\ + \ in its entirety in\n the same directory as the Software.\n \n CONFIDENTIALITY. If you\ + \ wish to have a third party consultant or subcontractor\n (\"Contractor\") perform work\ + \ on your behalf which involves access to or use of\n Software, you shall obtain a written\ + \ confidentiality agreement from the\n Contractor which contains provisions with respect\ + \ to access to or use of the\n Software no less restrictive than those set forth in this\ + \ Agreement and\n excluding any distribution rights, and use for any other purpose. Except\ + \ as \n expressly provided herein, you shall not disclose the terms or existence of \n\ + \ this Agreement or use Intel's name in any publications, advertisements, or \n other\ + \ announcements without Intel's prior written consent. You do not have any \n rights to\ + \ use any Intel trademarks or logos.\n \n OWNERSHIP OF SOFTWARE AND COPYRIGHTS. Software\ + \ and accompanying materials, if\n any, are owned by Intel or its suppliers and licensors\ + \ and may be protected by\n copyright, trademark, patent and trade secret law and international\ + \ treaties. \n Any rights, express or implied, in the intellectual property embodied in\ + \ the\n foregoing, other than those specified in this Agreement, are reserved by Intel\n\ + \ and its suppliers and licensors or otherwise as set forth in any applicable\n open source\ + \ license agreement. You will keep the Software free of liens,\n attachments, and other\ + \ encumbrances. You agree not to remove any proprietary\n notices and/or any labels from\ + \ the Software and accompanying materials without\n prior written approval by Intel\n\ + \ \n LIMITATION OF LIABILITY. IN NO EVENT SHALL INTEL OR ITS SUPPLIERS AND LICENSORS\n\ + \ BE LIABLE FOR ANY DAMAGES WHATSOEVER FROM ANY CAUSE OF ACTION OF ANY KIND\n (INCLUDING,\ + \ WITHOUT LIMITATION, LOST PROFITS, BUSINESS INTERRUPTION, OR LOST\n INFORMATION) ARISING\ + \ OUT OF THE USE, MODIFICATION, OR INABILITY TO USE THE\n INTEL SOFTWARE, OR OTHERWISE,\ + \ NOR FOR PUNITIVE, INCIDENTAL, CONSEQUENTIAL, OR\n SPECIAL DAMAGES OF ANY KIND, EVEN\ + \ IF INTEL OR ITS SUPPLIERS AND LICENSORS HAS\n BEEN ADVISED OF THE POSSIBILITY OF SUCH\ + \ DAMAGES. SOME JURISDICTIONS PROHIBIT\n EXCLUSION OR LIMITATION OF LIABILITY FOR IMPLIED\ + \ WARRANTIES, CONSEQUENTIAL OR\n INCIDENTAL DAMAGES, SO CERTAIN LIMITATIONS MAY NOT APPLY.\ + \ YOU MAY ALSO HAVE\n OTHER LEGAL RIGHTS THAT VARY BETWEEN JURISDICTIONS. \n \n EXCLUSION\ + \ OF WARRANTIES. THE SOFTWARE IS PROVIDED \"AS IS\" AND POSSIBLY WITH\n FAULTS. UNLESS\ + \ EXPRESSLY AGREED OTHERWISE, INTEL AND ITS SUPPLIERS AND\n LICENSORS DISCLAIM ANY AND\ + \ ALL WARRANTIES AND GUARANTEES, EXPRESS, IMPLIED OR\n OTHERWISE, INCLUDING BUT NOT LIMITED\ + \ TO THE WARRANTIES OF MERCHANTABILITY,\n NONINFRINGEMENT, OR FITNESS FOR A PARTICULAR\ + \ PURPOSE. Intel does not warrant\n or assume responsibility for the accuracy or completeness\ + \ of any information,\n text, graphics, links or other items contained within the Software.\ + \ You assume\n all liability, financial or otherwise, associated with Your use or disposition\n\ + \ of the Software.\n \t\t\n APPLICABLE LAW. Claims arising under this Agreement shall\ + \ be governed by the\n laws of State of California], excluding its principles of conflict\ + \ of laws and\n the United Nations Convention on Contracts for the Sale of Goods. \n\ + \ \n WAIVER AND AMENDMENT. No modification, amendment or waiver of any provision of\n\ + \ this Agreement shall be effective unless in writing and signed by an officer of\n Intel.\ + \ No failure or delay in exercising any right, power, or remedy under\n this Agreement\ + \ shall operate as a waiver of any such right, power or remedy. \n Without limiting the\ + \ foregoing, terms and conditions on any purchase orders or\n similar materials submitted\ + \ by you to Intel, and any terms contained in Intel\x92s\n standard acknowledgment form\ + \ that are in conflict with these terms, shall be of\n no force or effect.\n \n SEVERABILITY.\ + \ If any provision of this Agreement is held by a court of\n competent jurisdiction to\ + \ be contrary to law, such provision shall be changed\n and interpreted so as to best\ + \ accomplish the objectives of the original\n provision to the fullest extent allowed\ + \ by law and the remaining provisions of\n this Agreement shall remain in full force and\ + \ effect.\n \n EXPORT RESTRICTIONS. Each party acknowledges that the Software is subject\ + \ to\n applicable import and export regulations of the United States and of the\n countries\ + \ in which each party transacts business, specifically including U.S.\n Export Administration\ + \ Act and Export Administration Regulations. Each party\n shall comply with such laws\ + \ and regulations, as well as all other laws and\n regulations applicable to the Software.\ + \ Without limiting the generality of the\n foregoing, each party agrees that it will\ + \ not export, re-export, transfer or\n divert any of the Software or the direct programs\ + \ thereof to any restricted\n place or party in accordance with U.S. export regulations.\ + \ Note that Software\n containing encryption may be subject to additional restrictions.\n\ + \ \n GOVERNMENT RESTRICTED RIGHTS. The Software is provided with \"RESTRICTED RIGHTS.\"\ + \n Use, duplication, or disclosure by the Government is subject to restrictions as\n set\ + \ forth in FAR52.227-14 and DFAR252.227-7013 et seq. or their successors. Use\n of the\ + \ Software by the Government constitutes acknowledgment of Intel's\n proprietary rights\ + \ therein. Contractor or Manufacturer is Intel Corporation,\n 2200 Mission College Blvd.,\ + \ Santa Clara, CA 95052.\n \n TERMINATION OF THE AGREEMENT. Intel may terminate this\ + \ Agreement if you violate\n its terms. Upon termination, you will immediately destroy\ + \ the Software or\n return all copies of the Software to Intel.\n --------------------------------------------------------------------------------\n\ + \ \n \n ipw 2200, 2915 firmware license For OEMs, IHVs, and ISVs:\n =========================================================\n\ + \ \n LICENSE. This Software is licensed for use only in conjunction with Intel\n component\ + \ products. Use of the Software in conjunction with non-Intel component\n products is\ + \ not licensed hereunder. Subject to the terms of this Agreement,\n Intel grants to you\ + \ a nonexclusive, nontransferable, worldwide, fully paid-up\n license under Intel's copyrights\ + \ to: (i) copy the Software internally for your\n own development and maintenance purposes;\ + \ (ii) copy and distribute the Software\n to your end-users, but only under a license\ + \ agreement with terms at least as\n restrictive as those contained in Intel's Final,\ + \ Single User License Agreement,\n attached as Exhibit A; and (iii) modify, copy and distribute\ + \ the end-user\n documentation which may accompany the Software, but only in association\ + \ with\n the Software. \n \n If you are not the final manufacturer or vendor of a computer\ + \ system or software\n program incorporating the Software, then you may transfer a copy\ + \ of the\n Software, including any related documentation (modified or unmodified) to your\n\ + \ recipient for use in accordance with the terms of this Agreement, provided such\n recipient\ + \ agrees to be fully bound by the terms hereof. You shall not otherwise\n assign, sublicense,\ + \ lease, or in any other way transfer or disclose Software to\n any third party. You may\ + \ not, nor may you assist any other person or entity to\n modify, translate, convert to\ + \ another programming language, decompile, reverse\n engineer, or disassemble any portion\ + \ of the Software or otherwise attempt to\n derive source code from any object code modules\ + \ of the Software or any internal\n data files generated by the Software. Your rights\ + \ to redistribute the Software\n shall be contingent upon your installation of this Agreement\ + \ in its entirety in\n the same directory as the Software.\n \n CONTRACTORS. For the purpose\ + \ of this Agreement, and notwithstanding anything \n to the contrary hereunder, solely\ + \ with respect to the requirements for \n compliance with the terms hereunder, any contractors\ + \ or consultants that You \n use to perform the work or otherwise assist You in the development\ + \ or products \n using this Software shall be deemed to be End Users and accordingly,\ + \ upon \n receipt of the Software, shall be bound by the terms of Exhibit A, Software\ + \ \n License Agreement. No additional agreement between You and such consultants or \n\ + \ contractors is required under this Agreement to detail such compliance.\n \n TRADEMARKS.\ + \ Except as expressly provided herein, you shall not use Intel's \n name in any publications,\ + \ advertisements, or other announcements without \n Intel's prior written consent. You\ + \ do not have any rights to use any Intel \n trademarks or logos.\n \n OWNERSHIP OF SOFTWARE\ + \ AND COPYRIGHTS. Software and accompanying materials, if\n any, are owned by Intel or\ + \ its suppliers and licensors and may be protected by\n copyright, trademark, patent and\ + \ trade secret law and international treaties. \n Any rights, express or implied, in the\ + \ intellectual property embodied in the\n foregoing, other than those specified in this\ + \ Agreement, are reserved by Intel\n and its suppliers and licensors or otherwise as set\ + \ forth in any applicable\n open source license agreement. You will keep the Software\ + \ free of liens,\n attachments, and other encumbrances. You agree not to remove any proprietary\n\ + \ notices and/or any labels from the Software and accompanying materials without\n prior\ + \ written approval by Intel\n \n LIMITATION OF LIABILITY. IN NO EVENT SHALL INTEL OR ITS\ + \ SUPPLIERS AND LICENSORS\n BE LIABLE FOR ANY DAMAGES WHATSOEVER FROM ANY CAUSE OF ACTION\ + \ OF ANY KIND\n (INCLUDING, WITHOUT LIMITATION, LOST PROFITS, BUSINESS INTERRUPTION, OR\ + \ LOST\n INFORMATION) ARISING OUT OF THE USE, MODIFICATION, OR INABILITY TO USE THE\n\ + \ INTEL SOFTWARE, OR OTHERWISE, NOR FOR PUNITIVE, INCIDENTAL, CONSEQUENTIAL, OR\n SPECIAL\ + \ DAMAGES OF ANY KIND, EVEN IF INTEL OR ITS SUPPLIERS AND LICENSORS HAS\n BEEN ADVISED\ + \ OF THE POSSIBILITY OF SUCH DAMAGES. SOME JURISDICTIONS PROHIBIT\n EXCLUSION OR LIMITATION\ + \ OF LIABILITY FOR IMPLIED WARRANTIES, CONSEQUENTIAL OR\n INCIDENTAL DAMAGES, SO CERTAIN\ + \ LIMITATIONS MAY NOT APPLY. YOU MAY ALSO HAVE\n OTHER LEGAL RIGHTS THAT VARY BETWEEN\ + \ JURISDICTIONS. \n \n EXCLUSION OF WARRANTIES. THE SOFTWARE IS PROVIDED \"AS IS\" AND\ + \ POSSIBLY WITH\n FAULTS. UNLESS EXPRESSLY AGREED OTHERWISE, INTEL AND ITS SUPPLIERS AND\n\ + \ LICENSORS DISCLAIM ANY AND ALL WARRANTIES AND GUARANTEES, EXPRESS, IMPLIED OR\n OTHERWISE,\ + \ INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n NONINFRINGEMENT, OR\ + \ FITNESS FOR A PARTICULAR PURPOSE. Intel does not warrant\n or assume responsibility\ + \ for the accuracy or completeness of any information,\n text, graphics, links or other\ + \ items contained within the Software. You assume\n all liability, financial or otherwise,\ + \ associated with Your use or disposition\n of the Software.\n \t\t\n APPLICABLE LAW.\ + \ Claims arising under this Agreement shall be governed by the\n laws of State of California],\ + \ excluding its principles of conflict of laws and\n the United Nations Convention on\ + \ Contracts for the Sale of Goods. \n \n WAIVER AND AMENDMENT. No modification, amendment\ + \ or waiver of any provision of\n this Agreement shall be effective unless in writing\ + \ and signed by an officer of\n Intel. No failure or delay in exercising any right, power,\ + \ or remedy under\n this Agreement shall operate as a waiver of any such right, power\ + \ or remedy. \n Without limiting the foregoing, terms and conditions on any purchase orders\ + \ or\n similar materials submitted by you to Intel, and any terms contained in Intel\x92\ + s\n standard acknowledgment form that are in conflict with these terms, shall be of\n\ + \ no force or effect.\n \n SEVERABILITY. If any provision of this Agreement is held by\ + \ a court of\n competent jurisdiction to be contrary to law, such provision shall be changed\n\ + \ and interpreted so as to best accomplish the objectives of the original\n provision\ + \ to the fullest extent allowed by law and the remaining provisions of\n this Agreement\ + \ shall remain in full force and effect.\n \n EXPORT RESTRICTIONS. Each party acknowledges\ + \ that the Software is subject to\n applicable import and export regulations of the United\ + \ States and of the\n countries in which each party transacts business, specifically including\ + \ U.S.\n Export Administration Act and Export Administration Regulations. Each party\n\ + \ shall comply with such laws and regulations, as well as all other laws and\n regulations\ + \ applicable to the Software. Without limiting the generality of the\n foregoing, each\ + \ party agrees that it will not export, re-export, transfer or\n divert any of the Software\ + \ or the direct programs thereof to any restricted\n place or party in accordance with\ + \ U.S. export regulations. Note that Software\n containing encryption may be subject\ + \ to additional restrictions.\n \n GOVERNMENT RESTRICTED RIGHTS. The Software is provided\ + \ with \"RESTRICTED RIGHTS.\"\n Use, duplication, or disclosure by the Government is subject\ + \ to restrictions as\n set forth in FAR52.227-14 and DFAR252.227-7013 et seq. or their\ + \ successors. Use\n of the Software by the Government constitutes acknowledgment of Intel's\n\ + \ proprietary rights therein. Contractor or Manufacturer is Intel Corporation,\n 2200\ + \ Mission College Blvd., Santa Clara, CA 95052.\n \n TERMINATION OF THE AGREEMENT. Intel\ + \ may terminate this Agreement if you violate\n its terms. Upon termination, you will\ + \ immediately destroy the Software or\n return all copies of the Software to Intel.\n\ + \ --------------------------------------------------------------------------------\n \n\ + \ \n ipw 2100, 2200 and 2915 SOFTWARE LICENSE AGREEMENT (Final, Single User)\n =======================================================================\n\ + \ \n \n EXHIBIT \"A\"\n \n SOFTWARE LICENSE AGREEMENT (Final, Single User)\n \n IMPORTANT\ + \ - READ BEFORE COPYING, INSTALLING OR USING.\n \n Do not use or load this firmware image\ + \ (the \"Software\") until you have carefully\n read the following terms and conditions.\ + \ By loading or using the Software, you\n agree to the terms of this Agreement. If you\ + \ do not wish to so agree, do not\n install or use the Software.\n \n LICENSE. You may\ + \ copy and use the Software, subject to these conditions: \n 1. This Software is licensed\ + \ for use only in conjunction with Intel component\n products. Use of the Software\ + \ in conjunction with non-Intel component \n products is not licensed hereunder. \n\ + \ 2. You may not copy, modify, rent, sell, distribute or transfer any part of the\n \ + \ Software except as provided in this Agreement, and you agree to prevent\n unauthorized\ + \ copying of the Software. \n 3. You may not reverse engineer, decompile, or disassemble\ + \ the Software. \n 4. You may not sublicense the Software. \n 5. The Software may contain\ + \ the software or other property of third party\n suppliers. \n \n OWNERSHIP OF SOFTWARE\ + \ AND COPYRIGHTS. Title to all copies of the Software\n remains with Intel or its suppliers.\ + \ The Software is copyrighted and protected\n by the laws of the United States and other\ + \ countries, and international treaty\n provisions. You may not remove any copyright notices\ + \ from the Software. Intel\n may make changes to the Software, or items referenced therein,\ + \ at any time\n without notice, but is not obligated to support or update the Software.\ + \ Except\n as otherwise expressly provided, Intel grants no express or implied right under\n\ + \ Intel patents, copyrights, trademarks, or other intellectual property rights.\n You\ + \ may transfer the Software only if a copy of this license accompanies the \n Software\ + \ and the recipient agrees to be fully bound by these terms.\n \n EXCLUSION OF OTHER WARRANTIES\ + \ EXCEPT AS PROVIDED ABOVE, THE SOFTWARE IS PROVIDED\n \"AS IS\" WITHOUT ANY EXPRESS OR\ + \ IMPLIED WARRANTY OF ANY KIND INCLUDING\n WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT,\ + \ OR FITNESS FOR A PARTICULAR\n PURPOSE. Intel does not warrant or assume responsibility\ + \ for the accuracy or\n completeness of any information, text, graphics, links or other\ + \ items contained\n within the Software.\n \n LIMITATION OF LIABILITY. IN NO EVENT SHALL\ + \ INTEL OR ITS SUPPLIERS BE LIABLE FOR\n ANY DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION,\ + \ LOST PROFITS, BUSINESS\n INTERRUPTION, OR LOST INFORMATION) ARISING OUT OF THE USE OF\ + \ OR INABILITY TO\n USE THE SOFTWARE, EVEN IF INTEL HAS BEEN ADVISED OF THE POSSIBILITY\ + \ OF SUCH\n DAMAGES. SOME JURISDICTIONS PROHIBIT EXCLUSION OR LIMITATION OF LIABILITY\ + \ FOR\n IMPLIED WARRANTIES OR CONSEQUENTIAL OR INCIDENTAL DAMAGES, SO THE ABOVE\n LIMITATION\ + \ MAY NOT APPLY TO YOU. YOU MAY ALSO HAVE OTHER LEGAL RIGHTS THAT VARY\n BETWEEN JURISDICTIONS.\n\ + \ \n TERMINATION OF THIS AGREEMENT. Intel may terminate this Agreement at any time if\n\ + \ you violate its terms. Upon termination, you will immediately destroy the\n Software.\n\ + \ \n APPLICABLE LAWS. Claims arising under this Agreement shall be governed by the\n laws\ + \ of California, excluding its principles of conflict of laws and the United\n Nations\ + \ Convention on Contracts for the Sale of Goods. You may not export the\n Software in\ + \ violation of applicable export laws and regulations. Intel is not\n obligated under\ + \ any other agreements unless they are in writing and signed by\n an authorized representative\ + \ \n of Intel.\n \n GOVERNMENT RESTRICTED RIGHTS. The Software is provided with \"RESTRICTED\ + \ RIGHTS.\"\n Use, duplication, or disclosure by the Government is subject to restrictions\ + \ as\n set forth in FAR52.227-14 and DFAR252.227-7013 et seq. or their successors. Use\n\ + \ of the Software by the Government constitutes acknowledgment of Intel's\n proprietary\ + \ rights therein. Contractor or Manufacturer is Intel Corporation,\n 2200 Mission College\ + \ Blvd., Santa Clara, CA 95052." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ipw2x00.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ipw2x00.copyright.expected.yml index 7f75caaddaa..bfccd8baf94 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ipw2x00.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ipw2x00.copyright.expected.yml @@ -1,3 +1,250 @@ -- -- proprietary-license -- Copyright 2003-2009 Intel Corporation +primary_license: +declared_license: +license_expression: proprietary-license +copyright: Copyright 2003-2009 Intel Corporation +matches: + - score: '100.0' + start_line: 7 + end_line: 332 + matcher: 2-aho + rule_length: 2958 + matched_length: 2958 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_521.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "TERMS AND CONDITIONS\n IMPORTANT - PLEASE READ BEFORE INSTALLING OR USING\ + \ THIS INTEL(C) SOFTWARE\n \n Do not use or load this firmware (the \"Software\") until\ + \ you have carefully read\n the following terms and conditions. By loading or using the\ + \ Software, you agree\n to the terms of this Agreement. If you do not wish to so agree,\ + \ do not install\n or use the Software.\n \n LICENSEES:\n \n Please note: \n \n * If you\ + \ are an End-User, only Exhibit A, the SOFTWARE LICENSE AGREEMENT,\n applies.\n * If\ + \ you are an Original Equipment Manufacturer (OEM), Independent Hardware\n Vendor (IHV),\ + \ or Independent Software Vendor (ISV), this complete Agreement\n applies \n - A part\ + \ of the license is for ipw 2100 firmware\n - Another part of the license is for ipw\ + \ 2200/2915 firmware\n \n \n ipw2100 firmware license For OEMs, IHVs, and ISVs:\n =================================================\n\ + \ \n LICENSE. This Software is licensed for use only in conjunction with Intel\n component\ + \ products. Use of the Software in conjunction with non-Intel component\n products is\ + \ not licensed hereunder. Subject to the terms of this Agreement,\n Intel grants to you\ + \ a nonexclusive, nontransferable, worldwide, fully paid-up\n license under Intel's copyrights\ + \ to: (i) copy the Software internally for your\n own development and maintenance purposes;\ + \ (ii) copy and distribute the Software\n to your end-users, but only under a license\ + \ agreement with terms at least as\n restrictive as those contained in Intel's Final,\ + \ Single User License Agreement,\n attached as Exhibit A; and (iii) modify, copy and distribute\ + \ the end-user\n documentation which may accompany the Software, but only in association\ + \ with\n the Software. \n \n If you are not the final manufacturer or vendor of a computer\ + \ system or software\n program incorporating the Software, then you may transfer a copy\ + \ of the\n Software, including any related documentation (modified or unmodified) to your\n\ + \ recipient for use in accordance with the terms of this Agreement, provided such\n recipient\ + \ agrees to be fully bound by the terms hereof. You shall not otherwise\n assign, sublicense,\ + \ lease, or in any other way transfer or disclose Software to\n any third party. You may\ + \ not, nor may you assist any other person or entity to\n modify, translate, convert to\ + \ another programming language, decompile, reverse\n engineer, or disassemble any portion\ + \ of the Software or otherwise attempt to\n derive source code from any object code modules\ + \ of the Software or any internal\n data files generated by the Software. Your rights\ + \ to redistribute the Software\n shall be contingent upon your installation of this Agreement\ + \ in its entirety in\n the same directory as the Software.\n \n CONFIDENTIALITY. If you\ + \ wish to have a third party consultant or subcontractor\n (\"Contractor\") perform work\ + \ on your behalf which involves access to or use of\n Software, you shall obtain a written\ + \ confidentiality agreement from the\n Contractor which contains provisions with respect\ + \ to access to or use of the\n Software no less restrictive than those set forth in this\ + \ Agreement and\n excluding any distribution rights, and use for any other purpose. Except\ + \ as \n expressly provided herein, you shall not disclose the terms or existence of \n\ + \ this Agreement or use Intel's name in any publications, advertisements, or \n other\ + \ announcements without Intel's prior written consent. You do not have any \n rights to\ + \ use any Intel trademarks or logos.\n \n OWNERSHIP OF SOFTWARE AND COPYRIGHTS. Software\ + \ and accompanying materials, if\n any, are owned by Intel or its suppliers and licensors\ + \ and may be protected by\n copyright, trademark, patent and trade secret law and international\ + \ treaties. \n Any rights, express or implied, in the intellectual property embodied in\ + \ the\n foregoing, other than those specified in this Agreement, are reserved by Intel\n\ + \ and its suppliers and licensors or otherwise as set forth in any applicable\n open source\ + \ license agreement. You will keep the Software free of liens,\n attachments, and other\ + \ encumbrances. You agree not to remove any proprietary\n notices and/or any labels from\ + \ the Software and accompanying materials without\n prior written approval by Intel\n\ + \ \n LIMITATION OF LIABILITY. IN NO EVENT SHALL INTEL OR ITS SUPPLIERS AND LICENSORS\n\ + \ BE LIABLE FOR ANY DAMAGES WHATSOEVER FROM ANY CAUSE OF ACTION OF ANY KIND\n (INCLUDING,\ + \ WITHOUT LIMITATION, LOST PROFITS, BUSINESS INTERRUPTION, OR LOST\n INFORMATION) ARISING\ + \ OUT OF THE USE, MODIFICATION, OR INABILITY TO USE THE\n INTEL SOFTWARE, OR OTHERWISE,\ + \ NOR FOR PUNITIVE, INCIDENTAL, CONSEQUENTIAL, OR\n SPECIAL DAMAGES OF ANY KIND, EVEN\ + \ IF INTEL OR ITS SUPPLIERS AND LICENSORS HAS\n BEEN ADVISED OF THE POSSIBILITY OF SUCH\ + \ DAMAGES. SOME JURISDICTIONS PROHIBIT\n EXCLUSION OR LIMITATION OF LIABILITY FOR IMPLIED\ + \ WARRANTIES, CONSEQUENTIAL OR\n INCIDENTAL DAMAGES, SO CERTAIN LIMITATIONS MAY NOT APPLY.\ + \ YOU MAY ALSO HAVE\n OTHER LEGAL RIGHTS THAT VARY BETWEEN JURISDICTIONS. \n \n EXCLUSION\ + \ OF WARRANTIES. THE SOFTWARE IS PROVIDED \"AS IS\" AND POSSIBLY WITH\n FAULTS. UNLESS\ + \ EXPRESSLY AGREED OTHERWISE, INTEL AND ITS SUPPLIERS AND\n LICENSORS DISCLAIM ANY AND\ + \ ALL WARRANTIES AND GUARANTEES, EXPRESS, IMPLIED OR\n OTHERWISE, INCLUDING BUT NOT LIMITED\ + \ TO THE WARRANTIES OF MERCHANTABILITY,\n NONINFRINGEMENT, OR FITNESS FOR A PARTICULAR\ + \ PURPOSE. Intel does not warrant\n or assume responsibility for the accuracy or completeness\ + \ of any information,\n text, graphics, links or other items contained within the Software.\ + \ You assume\n all liability, financial or otherwise, associated with Your use or disposition\n\ + \ of the Software.\n \t\t\n APPLICABLE LAW. Claims arising under this Agreement shall\ + \ be governed by the\n laws of State of California], excluding its principles of conflict\ + \ of laws and\n the United Nations Convention on Contracts for the Sale of Goods. \n\ + \ \n WAIVER AND AMENDMENT. No modification, amendment or waiver of any provision of\n\ + \ this Agreement shall be effective unless in writing and signed by an officer of\n Intel.\ + \ No failure or delay in exercising any right, power, or remedy under\n this Agreement\ + \ shall operate as a waiver of any such right, power or remedy. \n Without limiting the\ + \ foregoing, terms and conditions on any purchase orders or\n similar materials submitted\ + \ by you to Intel, and any terms contained in Intel\x92s\n standard acknowledgment form\ + \ that are in conflict with these terms, shall be of\n no force or effect.\n \n SEVERABILITY.\ + \ If any provision of this Agreement is held by a court of\n competent jurisdiction to\ + \ be contrary to law, such provision shall be changed\n and interpreted so as to best\ + \ accomplish the objectives of the original\n provision to the fullest extent allowed\ + \ by law and the remaining provisions of\n this Agreement shall remain in full force and\ + \ effect.\n \n EXPORT RESTRICTIONS. Each party acknowledges that the Software is subject\ + \ to\n applicable import and export regulations of the United States and of the\n countries\ + \ in which each party transacts business, specifically including U.S.\n Export Administration\ + \ Act and Export Administration Regulations. Each party\n shall comply with such laws\ + \ and regulations, as well as all other laws and\n regulations applicable to the Software.\ + \ Without limiting the generality of the\n foregoing, each party agrees that it will\ + \ not export, re-export, transfer or\n divert any of the Software or the direct programs\ + \ thereof to any restricted\n place or party in accordance with U.S. export regulations.\ + \ Note that Software\n containing encryption may be subject to additional restrictions.\n\ + \ \n GOVERNMENT RESTRICTED RIGHTS. The Software is provided with \"RESTRICTED RIGHTS.\"\ + \n Use, duplication, or disclosure by the Government is subject to restrictions as\n set\ + \ forth in FAR52.227-14 and DFAR252.227-7013 et seq. or their successors. Use\n of the\ + \ Software by the Government constitutes acknowledgment of Intel's\n proprietary rights\ + \ therein. Contractor or Manufacturer is Intel Corporation,\n 2200 Mission College Blvd.,\ + \ Santa Clara, CA 95052.\n \n TERMINATION OF THE AGREEMENT. Intel may terminate this\ + \ Agreement if you violate\n its terms. Upon termination, you will immediately destroy\ + \ the Software or\n return all copies of the Software to Intel.\n --------------------------------------------------------------------------------\n\ + \ \n \n ipw 2200, 2915 firmware license For OEMs, IHVs, and ISVs:\n =========================================================\n\ + \ \n LICENSE. This Software is licensed for use only in conjunction with Intel\n component\ + \ products. Use of the Software in conjunction with non-Intel component\n products is\ + \ not licensed hereunder. Subject to the terms of this Agreement,\n Intel grants to you\ + \ a nonexclusive, nontransferable, worldwide, fully paid-up\n license under Intel's copyrights\ + \ to: (i) copy the Software internally for your\n own development and maintenance purposes;\ + \ (ii) copy and distribute the Software\n to your end-users, but only under a license\ + \ agreement with terms at least as\n restrictive as those contained in Intel's Final,\ + \ Single User License Agreement,\n attached as Exhibit A; and (iii) modify, copy and distribute\ + \ the end-user\n documentation which may accompany the Software, but only in association\ + \ with\n the Software. \n \n If you are not the final manufacturer or vendor of a computer\ + \ system or software\n program incorporating the Software, then you may transfer a copy\ + \ of the\n Software, including any related documentation (modified or unmodified) to your\n\ + \ recipient for use in accordance with the terms of this Agreement, provided such\n recipient\ + \ agrees to be fully bound by the terms hereof. You shall not otherwise\n assign, sublicense,\ + \ lease, or in any other way transfer or disclose Software to\n any third party. You may\ + \ not, nor may you assist any other person or entity to\n modify, translate, convert to\ + \ another programming language, decompile, reverse\n engineer, or disassemble any portion\ + \ of the Software or otherwise attempt to\n derive source code from any object code modules\ + \ of the Software or any internal\n data files generated by the Software. Your rights\ + \ to redistribute the Software\n shall be contingent upon your installation of this Agreement\ + \ in its entirety in\n the same directory as the Software.\n \n CONTRACTORS. For the purpose\ + \ of this Agreement, and notwithstanding anything \n to the contrary hereunder, solely\ + \ with respect to the requirements for \n compliance with the terms hereunder, any contractors\ + \ or consultants that You \n use to perform the work or otherwise assist You in the development\ + \ or products \n using this Software shall be deemed to be End Users and accordingly,\ + \ upon \n receipt of the Software, shall be bound by the terms of Exhibit A, Software\ + \ \n License Agreement. No additional agreement between You and such consultants or \n\ + \ contractors is required under this Agreement to detail such compliance.\n \n TRADEMARKS.\ + \ Except as expressly provided herein, you shall not use Intel's \n name in any publications,\ + \ advertisements, or other announcements without \n Intel's prior written consent. You\ + \ do not have any rights to use any Intel \n trademarks or logos.\n \n OWNERSHIP OF SOFTWARE\ + \ AND COPYRIGHTS. Software and accompanying materials, if\n any, are owned by Intel or\ + \ its suppliers and licensors and may be protected by\n copyright, trademark, patent and\ + \ trade secret law and international treaties. \n Any rights, express or implied, in the\ + \ intellectual property embodied in the\n foregoing, other than those specified in this\ + \ Agreement, are reserved by Intel\n and its suppliers and licensors or otherwise as set\ + \ forth in any applicable\n open source license agreement. You will keep the Software\ + \ free of liens,\n attachments, and other encumbrances. You agree not to remove any proprietary\n\ + \ notices and/or any labels from the Software and accompanying materials without\n prior\ + \ written approval by Intel\n \n LIMITATION OF LIABILITY. IN NO EVENT SHALL INTEL OR ITS\ + \ SUPPLIERS AND LICENSORS\n BE LIABLE FOR ANY DAMAGES WHATSOEVER FROM ANY CAUSE OF ACTION\ + \ OF ANY KIND\n (INCLUDING, WITHOUT LIMITATION, LOST PROFITS, BUSINESS INTERRUPTION, OR\ + \ LOST\n INFORMATION) ARISING OUT OF THE USE, MODIFICATION, OR INABILITY TO USE THE\n\ + \ INTEL SOFTWARE, OR OTHERWISE, NOR FOR PUNITIVE, INCIDENTAL, CONSEQUENTIAL, OR\n SPECIAL\ + \ DAMAGES OF ANY KIND, EVEN IF INTEL OR ITS SUPPLIERS AND LICENSORS HAS\n BEEN ADVISED\ + \ OF THE POSSIBILITY OF SUCH DAMAGES. SOME JURISDICTIONS PROHIBIT\n EXCLUSION OR LIMITATION\ + \ OF LIABILITY FOR IMPLIED WARRANTIES, CONSEQUENTIAL OR\n INCIDENTAL DAMAGES, SO CERTAIN\ + \ LIMITATIONS MAY NOT APPLY. YOU MAY ALSO HAVE\n OTHER LEGAL RIGHTS THAT VARY BETWEEN\ + \ JURISDICTIONS. \n \n EXCLUSION OF WARRANTIES. THE SOFTWARE IS PROVIDED \"AS IS\" AND\ + \ POSSIBLY WITH\n FAULTS. UNLESS EXPRESSLY AGREED OTHERWISE, INTEL AND ITS SUPPLIERS AND\n\ + \ LICENSORS DISCLAIM ANY AND ALL WARRANTIES AND GUARANTEES, EXPRESS, IMPLIED OR\n OTHERWISE,\ + \ INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n NONINFRINGEMENT, OR\ + \ FITNESS FOR A PARTICULAR PURPOSE. Intel does not warrant\n or assume responsibility\ + \ for the accuracy or completeness of any information,\n text, graphics, links or other\ + \ items contained within the Software. You assume\n all liability, financial or otherwise,\ + \ associated with Your use or disposition\n of the Software.\n \t\t\n APPLICABLE LAW.\ + \ Claims arising under this Agreement shall be governed by the\n laws of State of California],\ + \ excluding its principles of conflict of laws and\n the United Nations Convention on\ + \ Contracts for the Sale of Goods. \n \n WAIVER AND AMENDMENT. No modification, amendment\ + \ or waiver of any provision of\n this Agreement shall be effective unless in writing\ + \ and signed by an officer of\n Intel. No failure or delay in exercising any right, power,\ + \ or remedy under\n this Agreement shall operate as a waiver of any such right, power\ + \ or remedy. \n Without limiting the foregoing, terms and conditions on any purchase orders\ + \ or\n similar materials submitted by you to Intel, and any terms contained in Intel\x92\ + s\n standard acknowledgment form that are in conflict with these terms, shall be of\n\ + \ no force or effect.\n \n SEVERABILITY. If any provision of this Agreement is held by\ + \ a court of\n competent jurisdiction to be contrary to law, such provision shall be changed\n\ + \ and interpreted so as to best accomplish the objectives of the original\n provision\ + \ to the fullest extent allowed by law and the remaining provisions of\n this Agreement\ + \ shall remain in full force and effect.\n \n EXPORT RESTRICTIONS. Each party acknowledges\ + \ that the Software is subject to\n applicable import and export regulations of the United\ + \ States and of the\n countries in which each party transacts business, specifically including\ + \ U.S.\n Export Administration Act and Export Administration Regulations. Each party\n\ + \ shall comply with such laws and regulations, as well as all other laws and\n regulations\ + \ applicable to the Software. Without limiting the generality of the\n foregoing, each\ + \ party agrees that it will not export, re-export, transfer or\n divert any of the Software\ + \ or the direct programs thereof to any restricted\n place or party in accordance with\ + \ U.S. export regulations. Note that Software\n containing encryption may be subject\ + \ to additional restrictions.\n \n GOVERNMENT RESTRICTED RIGHTS. The Software is provided\ + \ with \"RESTRICTED RIGHTS.\"\n Use, duplication, or disclosure by the Government is subject\ + \ to restrictions as\n set forth in FAR52.227-14 and DFAR252.227-7013 et seq. or their\ + \ successors. Use\n of the Software by the Government constitutes acknowledgment of Intel's\n\ + \ proprietary rights therein. Contractor or Manufacturer is Intel Corporation,\n 2200\ + \ Mission College Blvd., Santa Clara, CA 95052.\n \n TERMINATION OF THE AGREEMENT. Intel\ + \ may terminate this Agreement if you violate\n its terms. Upon termination, you will\ + \ immediately destroy the Software or\n return all copies of the Software to Intel.\n\ + \ --------------------------------------------------------------------------------\n \n\ + \ \n ipw 2100, 2200 and 2915 SOFTWARE LICENSE AGREEMENT (Final, Single User)\n =======================================================================\n\ + \ \n \n EXHIBIT \"A\"\n \n SOFTWARE LICENSE AGREEMENT (Final, Single User)\n \n IMPORTANT\ + \ - READ BEFORE COPYING, INSTALLING OR USING.\n \n Do not use or load this firmware image\ + \ (the \"Software\") until you have carefully\n read the following terms and conditions.\ + \ By loading or using the Software, you\n agree to the terms of this Agreement. If you\ + \ do not wish to so agree, do not\n install or use the Software.\n \n LICENSE. You may\ + \ copy and use the Software, subject to these conditions: \n 1. This Software is licensed\ + \ for use only in conjunction with Intel component\n products. Use of the Software\ + \ in conjunction with non-Intel component \n products is not licensed hereunder. \n\ + \ 2. You may not copy, modify, rent, sell, distribute or transfer any part of the\n \ + \ Software except as provided in this Agreement, and you agree to prevent\n unauthorized\ + \ copying of the Software. \n 3. You may not reverse engineer, decompile, or disassemble\ + \ the Software. \n 4. You may not sublicense the Software. \n 5. The Software may contain\ + \ the software or other property of third party\n suppliers. \n \n OWNERSHIP OF SOFTWARE\ + \ AND COPYRIGHTS. Title to all copies of the Software\n remains with Intel or its suppliers.\ + \ The Software is copyrighted and protected\n by the laws of the United States and other\ + \ countries, and international treaty\n provisions. You may not remove any copyright notices\ + \ from the Software. Intel\n may make changes to the Software, or items referenced therein,\ + \ at any time\n without notice, but is not obligated to support or update the Software.\ + \ Except\n as otherwise expressly provided, Intel grants no express or implied right under\n\ + \ Intel patents, copyrights, trademarks, or other intellectual property rights.\n You\ + \ may transfer the Software only if a copy of this license accompanies the \n Software\ + \ and the recipient agrees to be fully bound by these terms.\n \n EXCLUSION OF OTHER WARRANTIES\ + \ EXCEPT AS PROVIDED ABOVE, THE SOFTWARE IS PROVIDED\n \"AS IS\" WITHOUT ANY EXPRESS OR\ + \ IMPLIED WARRANTY OF ANY KIND INCLUDING\n WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT,\ + \ OR FITNESS FOR A PARTICULAR\n PURPOSE. Intel does not warrant or assume responsibility\ + \ for the accuracy or\n completeness of any information, text, graphics, links or other\ + \ items contained\n within the Software.\n \n LIMITATION OF LIABILITY. IN NO EVENT SHALL\ + \ INTEL OR ITS SUPPLIERS BE LIABLE FOR\n ANY DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION,\ + \ LOST PROFITS, BUSINESS\n INTERRUPTION, OR LOST INFORMATION) ARISING OUT OF THE USE OF\ + \ OR INABILITY TO\n USE THE SOFTWARE, EVEN IF INTEL HAS BEEN ADVISED OF THE POSSIBILITY\ + \ OF SUCH\n DAMAGES. SOME JURISDICTIONS PROHIBIT EXCLUSION OR LIMITATION OF LIABILITY\ + \ FOR\n IMPLIED WARRANTIES OR CONSEQUENTIAL OR INCIDENTAL DAMAGES, SO THE ABOVE\n LIMITATION\ + \ MAY NOT APPLY TO YOU. YOU MAY ALSO HAVE OTHER LEGAL RIGHTS THAT VARY\n BETWEEN JURISDICTIONS.\n\ + \ \n TERMINATION OF THIS AGREEMENT. Intel may terminate this Agreement at any time if\n\ + \ you violate its terms. Upon termination, you will immediately destroy the\n Software.\n\ + \ \n APPLICABLE LAWS. Claims arising under this Agreement shall be governed by the\n laws\ + \ of California, excluding its principles of conflict of laws and the United\n Nations\ + \ Convention on Contracts for the Sale of Goods. You may not export the\n Software in\ + \ violation of applicable export laws and regulations. Intel is not\n obligated under\ + \ any other agreements unless they are in writing and signed by\n an authorized representative\ + \ \n of Intel.\n \n GOVERNMENT RESTRICTED RIGHTS. The Software is provided with \"RESTRICTED\ + \ RIGHTS.\"\n Use, duplication, or disclosure by the Government is subject to restrictions\ + \ as\n set forth in FAR52.227-14 and DFAR252.227-7013 et seq. or their successors. Use\n\ + \ of the Software by the Government constitutes acknowledgment of Intel's\n proprietary\ + \ rights therein. Contractor or Manufacturer is Intel Corporation,\n 2200 Mission College\ + \ Blvd., Santa Clara, CA 95052." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ivtv.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ivtv.copyright-detailed.expected.yml index 2baa0c77c7c..a956f644438 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ivtv.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ivtv.copyright-detailed.expected.yml @@ -1,3 +1,118 @@ -- -- hauppauge-firmware-oem -- Copyright 2003-2006 Hauppauge +primary_license: +declared_license: +license_expression: hauppauge-firmware-oem +copyright: Copyright 2003-2006 Hauppauge +matches: + - score: '100.0' + start_line: 6 + end_line: 154 + matcher: 2-aho + rule_length: 1270 + matched_length: 1270 + match_coverage: '100.0' + rule_relevance: 100 + identifier: hauppauge-firmware-oem.LICENSE + license_expression: hauppauge-firmware-oem + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "OEM/IHV/ISV FIRMWARE LICENSE AGREEMENT\n \n IMPORTANT - PLEASE READ BEFORE\ + \ INSTALLING OR USING THIS FIRMWARE\n \n Do not use or load this firmware image (the \"\ + Firmware\") until you have\n carefully read the following terms and conditions. By loading\ + \ or using\n the Firmware, you agree to the terms of this Agreement. If you do not\n wish\ + \ to so agree, do not install or use the Firmware.\n \n LICENSEES: Please note:\n \n *\ + \ If you are an End-User, only the END-USER FIRMWARE LICENSE AGREEMENT\n applies.\n\ + \ \n * If you are an Original Equipment Manufacturer (OEM), Independent\n Hardware Vendor\ + \ (IHV), or Independent Firmware Vendor (ISV), the\n OEM/IHV/ISV FIRMWARE LICENSE AGREEMENT\ + \ applies (this license), as\n well as the END-USER FIRMWARE LICENSE AGREEMENT.\n \n\ + \ LICENSE. This Firmware is licensed for use only in conjunction with\n Hauppauge component\ + \ products. Use of the Firmware in conjunction with\n non-Hauppauge component products\ + \ is not licensed hereunder. Subject to\n the terms of this Agreement, Hauppauge grants\ + \ to you a nonexclusive,\n nontransferable, worldwide, fully paid-up license under Hauppauge's\n\ + \ copyrights to: (i) copy the Firmware internally for your own\n development and maintenance\ + \ purposes; (ii) copy and distribute the\n Firmware to your end-users, but only under\ + \ a license agreement with\n terms at least as restrictive as those contained in Hauppauge's\n\ + \ END-USER FIRMWARE LICENSE AGREEMENT; and (iii) modify, copy and\n distribute the end-user\ + \ documentation which may accompany the\n Firmware, but only in association with the Firmware.\n\ + \ \n If you are not the final manufacturer or vendor of a computer system\n or firmware\ + \ program incorporating the Firmware, then you may transfer\n a copy of the Firmware,\ + \ including any related documentation (modified\n or unmodified) to your recipient for\ + \ use in accordance with the terms\n of this Agreement, provided such recipient agrees\ + \ to be fully bound by\n the terms hereof. You shall not otherwise assign, sublicense,\ + \ lease,\n or in any other way transfer or disclose Firmware to any third\n party. You\ + \ may not, nor may you assist any other person or entity to\n modify, translate, convert\ + \ to another programming language, decompile,\n reverse engineer, or disassemble any portion\ + \ of the Firmware or\n otherwise attempt to derive source code from any object code modules\n\ + \ of the Firmware or any internal data files generated by the\n Firmware. Your rights\ + \ to redistribute the Firmware shall be contingent\n upon your installation of this Agreement\ + \ in its entirety in the same\n directory as the Firmware.\n \n CONTRACTORS. For the purpose\ + \ of this Agreement, and notwithstanding\n anything to the contrary hereunder, solely\ + \ with respect to the\n requirements for compliance with the terms hereunder, any contractors\n\ + \ or consultants that You use to perform the work or otherwise assist\n You in the development\ + \ or products using this Firmware shall be deemed\n to be End Users and accordingly, upon\ + \ receipt of the Firmware, shall\n be bound by the terms of the END-USER FIRMWARE LICENSE\ + \ AGREEMENT. No\n additional agreement between You and such consultants or contractors\n\ + \ is required under this Agreement to detail such compliance.\n \n TRADEMARKS. Except\ + \ as expressly provided herein, you shall not use\n Hauppauge's name in any publications,\ + \ advertisements, or other\n announcements without Hauppauge's prior written consent.\ + \ You do not\n have any rights to use any Hauppauge trademarks or logos.\n \n OWNERSHIP\ + \ OF FIRMWARE AND COPYRIGHTS. Firmware and accompanying\n materials, if any, are owned\ + \ by Hauppauge or its suppliers and\n licensors and may be protected by copyright, trademark,\ + \ patent and\n trade secret law and international treaties. Any rights, express or\n implied,\ + \ in the intellectual property embodied in the foregoing, other\n than those specified\ + \ in this Agreement, are reserved by Hauppauge and\n its suppliers and licensors or otherwise\ + \ as set forth in any\n applicable open source license agreement. You will keep the Firmware\n\ + \ free of liens, attachments, and other encumbrances. You agree not to\n remove any proprietary\ + \ notices and/or any labels from the Firmware and\n accompanying materials without prior\ + \ written approval by Hauppauge\n \n EXCLUSION OF WARRANTIES.\n THE FIRMWARE IS PROVIDED\ + \ \"AS IS\" AND POSSIBLY WITH FAULTS. UNLESS\n EXPRESSLY AGREED OTHERWISE, HAUPPAUGE AND\ + \ ITS SUPPLIERS AND LICENSORS\n DISCLAIM ANY AND ALL WARRANTIES AND GUARANTEES, EXPRESS,\ + \ IMPLIED OR\n OTHERWISE, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ NONINFRINGEMENT, OR FITNESS FOR A PARTICULAR PURPOSE.\n Hauppauge does not warrant or\ + \ assume responsibility for the accuracy\n or completeness of any information, text, graphics,\ + \ links or other\n items contained within the Firmware. You assume all liability,\n financial\ + \ or otherwise, associated with Your use or disposition of the\n Firmware.\n \n LIMITATION\ + \ OF LIABILITY. IN NO EVENT SHALL HAUPPAUGE OR ITS SUPPLIERS\n AND LICENSORS BE LIABLE\ + \ FOR ANY DAMAGES WHATSOEVER FROM ANY CAUSE OF\n ACTION OF ANY KIND (INCLUDING, WITHOUT\ + \ LIMITATION, LOST PROFITS,\n BUSINESS INTERRUPTION, OR LOST INFORMATION) ARISING OUT\ + \ OF THE USE,\n MODIFICATION, OR INABILITY TO USE THE FIRMWARE, OR OTHERWISE, NOR FOR\n\ + \ PUNITIVE, INCIDENTAL, CONSEQUENTIAL, OR SPECIAL DAMAGES OF ANY KIND,\n EVEN IF HAUPPAUGE\ + \ OR ITS SUPPLIERS AND LICENSORS HAVE BEEN ADVISED OF\n THE POSSIBILITY OF SUCH DAMAGES.\ + \ SOME JURISDICTIONS PROHIBIT EXCLUSION\n OR LIMITATION OF LIABILITY FOR IMPLIED WARRANTIES\ + \ OR CONSEQUENTIAL OR\n INCIDENTAL DAMAGES, SO CERTAIN LIMITATIONS MAY NOT APPLY. YOU\ + \ MAY ALSO\n HAVE OTHER LEGAL RIGHTS THAT VARY BETWEEN JURISDICTIONS.\n \n WAIVER AND\ + \ AMENDMENT. No modification, amendment or waiver of any\n provision of this Agreement\ + \ shall be effective unless in writing and\n signed by an officer of Hauppauge. No failure\ + \ or delay in exercising\n any right, power, or remedy under this Agreement shall operate\ + \ as a\n waiver of any such right, power or remedy. Without limiting the\n foregoing,\ + \ terms and conditions on any purchase orders or similar\n materials submitted by you\ + \ to Hauppauge, and any terms contained in\n Hauppauges standard acknowledgment form that\ + \ are in conflict with\n these terms, shall be of no force or effect.\n \n SEVERABILITY.\ + \ If any provision of this Agreement is held by a court of\n competent jurisdiction to\ + \ be contrary to law, such provision shall be\n changed and interpreted so as to best\ + \ accomplish the objectives of the\n original provision to the fullest extent allowed\ + \ by law and the\n remaining provisions of this Agreement shall remain in full force and\n\ + \ effect.\n \n EXPORT RESTRICTIONS. Each party acknowledges that the Firmware is\n subject\ + \ to applicable import and export regulations of the United\n States and of the countries\ + \ in which each party transacts business,\n specifically including U.S. Export Administration\ + \ Act and Export\n Administration Regulations. Each party shall comply with such laws\ + \ and\n regulations, as well as all other laws and regulations applicable to\n the Firmware.\ + \ Without limiting the generality of the foregoing, each\n party agrees that it will not\ + \ export, re-export, transfer or divert\n any of the Firmware or the direct programs thereof\ + \ to any restricted\n place or party in accordance with U.S. export regulations. Note\ + \ that\n Firmware containing encryption may be subject to additional\n restrictions.\n\ + \ \n APPLICABLE LAWS. Claims arising under this Agreement shall be governed\n by the laws\ + \ of New York, excluding its principles of conflict of laws\n and the United Nations Convention\ + \ on Contracts for the Sale of\n Goods. You may not export the Firmware in violation of\ + \ applicable\n export laws and regulations. Hauppauge is not obligated under any\n other\ + \ agreements unless they are in writing and signed by an\n authorized representative of\ + \ Hauppauge.\n \n GOVERNMENT RESTRICTED RIGHTS. The Firmware is provided with\n \"RESTRICTED\ + \ RIGHTS.\" Use, duplication, or disclosure by the Government\n is subject to restrictions\ + \ as set forth in FAR52.227-14 and\n DFAR252.227-7013 et seq. or their successors. Use\ + \ of the Firmware by\n the Government constitutes acknowledgment of Hauppauge's proprietary\n\ + \ rights therein. Contractor or Manufacturer is Hauppauge Computer\n Works, Inc. 91 Cabot\ + \ Court Hauppauge, NY 11788\n \n TERMINATION OF THIS AGREEMENT. Hauppauge may terminate\ + \ this Agreement\n at any time if you violate its terms. Upon termination, you will\n\ + \ immediately destroy the Firmware or return all copies of the Firmware\n to Hauppauge." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ivtv.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ivtv.copyright.expected.yml index 2baa0c77c7c..a956f644438 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ivtv.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ivtv.copyright.expected.yml @@ -1,3 +1,118 @@ -- -- hauppauge-firmware-oem -- Copyright 2003-2006 Hauppauge +primary_license: +declared_license: +license_expression: hauppauge-firmware-oem +copyright: Copyright 2003-2006 Hauppauge +matches: + - score: '100.0' + start_line: 6 + end_line: 154 + matcher: 2-aho + rule_length: 1270 + matched_length: 1270 + match_coverage: '100.0' + rule_relevance: 100 + identifier: hauppauge-firmware-oem.LICENSE + license_expression: hauppauge-firmware-oem + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "OEM/IHV/ISV FIRMWARE LICENSE AGREEMENT\n \n IMPORTANT - PLEASE READ BEFORE\ + \ INSTALLING OR USING THIS FIRMWARE\n \n Do not use or load this firmware image (the \"\ + Firmware\") until you have\n carefully read the following terms and conditions. By loading\ + \ or using\n the Firmware, you agree to the terms of this Agreement. If you do not\n wish\ + \ to so agree, do not install or use the Firmware.\n \n LICENSEES: Please note:\n \n *\ + \ If you are an End-User, only the END-USER FIRMWARE LICENSE AGREEMENT\n applies.\n\ + \ \n * If you are an Original Equipment Manufacturer (OEM), Independent\n Hardware Vendor\ + \ (IHV), or Independent Firmware Vendor (ISV), the\n OEM/IHV/ISV FIRMWARE LICENSE AGREEMENT\ + \ applies (this license), as\n well as the END-USER FIRMWARE LICENSE AGREEMENT.\n \n\ + \ LICENSE. This Firmware is licensed for use only in conjunction with\n Hauppauge component\ + \ products. Use of the Firmware in conjunction with\n non-Hauppauge component products\ + \ is not licensed hereunder. Subject to\n the terms of this Agreement, Hauppauge grants\ + \ to you a nonexclusive,\n nontransferable, worldwide, fully paid-up license under Hauppauge's\n\ + \ copyrights to: (i) copy the Firmware internally for your own\n development and maintenance\ + \ purposes; (ii) copy and distribute the\n Firmware to your end-users, but only under\ + \ a license agreement with\n terms at least as restrictive as those contained in Hauppauge's\n\ + \ END-USER FIRMWARE LICENSE AGREEMENT; and (iii) modify, copy and\n distribute the end-user\ + \ documentation which may accompany the\n Firmware, but only in association with the Firmware.\n\ + \ \n If you are not the final manufacturer or vendor of a computer system\n or firmware\ + \ program incorporating the Firmware, then you may transfer\n a copy of the Firmware,\ + \ including any related documentation (modified\n or unmodified) to your recipient for\ + \ use in accordance with the terms\n of this Agreement, provided such recipient agrees\ + \ to be fully bound by\n the terms hereof. You shall not otherwise assign, sublicense,\ + \ lease,\n or in any other way transfer or disclose Firmware to any third\n party. You\ + \ may not, nor may you assist any other person or entity to\n modify, translate, convert\ + \ to another programming language, decompile,\n reverse engineer, or disassemble any portion\ + \ of the Firmware or\n otherwise attempt to derive source code from any object code modules\n\ + \ of the Firmware or any internal data files generated by the\n Firmware. Your rights\ + \ to redistribute the Firmware shall be contingent\n upon your installation of this Agreement\ + \ in its entirety in the same\n directory as the Firmware.\n \n CONTRACTORS. For the purpose\ + \ of this Agreement, and notwithstanding\n anything to the contrary hereunder, solely\ + \ with respect to the\n requirements for compliance with the terms hereunder, any contractors\n\ + \ or consultants that You use to perform the work or otherwise assist\n You in the development\ + \ or products using this Firmware shall be deemed\n to be End Users and accordingly, upon\ + \ receipt of the Firmware, shall\n be bound by the terms of the END-USER FIRMWARE LICENSE\ + \ AGREEMENT. No\n additional agreement between You and such consultants or contractors\n\ + \ is required under this Agreement to detail such compliance.\n \n TRADEMARKS. Except\ + \ as expressly provided herein, you shall not use\n Hauppauge's name in any publications,\ + \ advertisements, or other\n announcements without Hauppauge's prior written consent.\ + \ You do not\n have any rights to use any Hauppauge trademarks or logos.\n \n OWNERSHIP\ + \ OF FIRMWARE AND COPYRIGHTS. Firmware and accompanying\n materials, if any, are owned\ + \ by Hauppauge or its suppliers and\n licensors and may be protected by copyright, trademark,\ + \ patent and\n trade secret law and international treaties. Any rights, express or\n implied,\ + \ in the intellectual property embodied in the foregoing, other\n than those specified\ + \ in this Agreement, are reserved by Hauppauge and\n its suppliers and licensors or otherwise\ + \ as set forth in any\n applicable open source license agreement. You will keep the Firmware\n\ + \ free of liens, attachments, and other encumbrances. You agree not to\n remove any proprietary\ + \ notices and/or any labels from the Firmware and\n accompanying materials without prior\ + \ written approval by Hauppauge\n \n EXCLUSION OF WARRANTIES.\n THE FIRMWARE IS PROVIDED\ + \ \"AS IS\" AND POSSIBLY WITH FAULTS. UNLESS\n EXPRESSLY AGREED OTHERWISE, HAUPPAUGE AND\ + \ ITS SUPPLIERS AND LICENSORS\n DISCLAIM ANY AND ALL WARRANTIES AND GUARANTEES, EXPRESS,\ + \ IMPLIED OR\n OTHERWISE, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ NONINFRINGEMENT, OR FITNESS FOR A PARTICULAR PURPOSE.\n Hauppauge does not warrant or\ + \ assume responsibility for the accuracy\n or completeness of any information, text, graphics,\ + \ links or other\n items contained within the Firmware. You assume all liability,\n financial\ + \ or otherwise, associated with Your use or disposition of the\n Firmware.\n \n LIMITATION\ + \ OF LIABILITY. IN NO EVENT SHALL HAUPPAUGE OR ITS SUPPLIERS\n AND LICENSORS BE LIABLE\ + \ FOR ANY DAMAGES WHATSOEVER FROM ANY CAUSE OF\n ACTION OF ANY KIND (INCLUDING, WITHOUT\ + \ LIMITATION, LOST PROFITS,\n BUSINESS INTERRUPTION, OR LOST INFORMATION) ARISING OUT\ + \ OF THE USE,\n MODIFICATION, OR INABILITY TO USE THE FIRMWARE, OR OTHERWISE, NOR FOR\n\ + \ PUNITIVE, INCIDENTAL, CONSEQUENTIAL, OR SPECIAL DAMAGES OF ANY KIND,\n EVEN IF HAUPPAUGE\ + \ OR ITS SUPPLIERS AND LICENSORS HAVE BEEN ADVISED OF\n THE POSSIBILITY OF SUCH DAMAGES.\ + \ SOME JURISDICTIONS PROHIBIT EXCLUSION\n OR LIMITATION OF LIABILITY FOR IMPLIED WARRANTIES\ + \ OR CONSEQUENTIAL OR\n INCIDENTAL DAMAGES, SO CERTAIN LIMITATIONS MAY NOT APPLY. YOU\ + \ MAY ALSO\n HAVE OTHER LEGAL RIGHTS THAT VARY BETWEEN JURISDICTIONS.\n \n WAIVER AND\ + \ AMENDMENT. No modification, amendment or waiver of any\n provision of this Agreement\ + \ shall be effective unless in writing and\n signed by an officer of Hauppauge. No failure\ + \ or delay in exercising\n any right, power, or remedy under this Agreement shall operate\ + \ as a\n waiver of any such right, power or remedy. Without limiting the\n foregoing,\ + \ terms and conditions on any purchase orders or similar\n materials submitted by you\ + \ to Hauppauge, and any terms contained in\n Hauppauges standard acknowledgment form that\ + \ are in conflict with\n these terms, shall be of no force or effect.\n \n SEVERABILITY.\ + \ If any provision of this Agreement is held by a court of\n competent jurisdiction to\ + \ be contrary to law, such provision shall be\n changed and interpreted so as to best\ + \ accomplish the objectives of the\n original provision to the fullest extent allowed\ + \ by law and the\n remaining provisions of this Agreement shall remain in full force and\n\ + \ effect.\n \n EXPORT RESTRICTIONS. Each party acknowledges that the Firmware is\n subject\ + \ to applicable import and export regulations of the United\n States and of the countries\ + \ in which each party transacts business,\n specifically including U.S. Export Administration\ + \ Act and Export\n Administration Regulations. Each party shall comply with such laws\ + \ and\n regulations, as well as all other laws and regulations applicable to\n the Firmware.\ + \ Without limiting the generality of the foregoing, each\n party agrees that it will not\ + \ export, re-export, transfer or divert\n any of the Firmware or the direct programs thereof\ + \ to any restricted\n place or party in accordance with U.S. export regulations. Note\ + \ that\n Firmware containing encryption may be subject to additional\n restrictions.\n\ + \ \n APPLICABLE LAWS. Claims arising under this Agreement shall be governed\n by the laws\ + \ of New York, excluding its principles of conflict of laws\n and the United Nations Convention\ + \ on Contracts for the Sale of\n Goods. You may not export the Firmware in violation of\ + \ applicable\n export laws and regulations. Hauppauge is not obligated under any\n other\ + \ agreements unless they are in writing and signed by an\n authorized representative of\ + \ Hauppauge.\n \n GOVERNMENT RESTRICTED RIGHTS. The Firmware is provided with\n \"RESTRICTED\ + \ RIGHTS.\" Use, duplication, or disclosure by the Government\n is subject to restrictions\ + \ as set forth in FAR52.227-14 and\n DFAR252.227-7013 et seq. or their successors. Use\ + \ of the Firmware by\n the Government constitutes acknowledgment of Hauppauge's proprietary\n\ + \ rights therein. Contractor or Manufacturer is Hauppauge Computer\n Works, Inc. 91 Cabot\ + \ Court Hauppauge, NY 11788\n \n TERMINATION OF THIS AGREEMENT. Hauppauge may terminate\ + \ this Agreement\n at any time if you violate its terms. Upon termination, you will\n\ + \ immediately destroy the Firmware or return all copies of the Firmware\n to Hauppauge." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-iwlwifi.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-iwlwifi.copyright-detailed.expected.yml index d59ea9e13ee..efb93ccbf3b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-iwlwifi.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-iwlwifi.copyright-detailed.expected.yml @@ -1,3 +1,44 @@ -- -- intel -- Copyright (c) 2006-2016, Intel Corporation +primary_license: +declared_license: +license_expression: intel +copyright: Copyright (c) 2006-2016, Intel Corporation +matches: + - score: '100.0' + start_line: 7 + end_line: 42 + matcher: 2-aho + rule_length: 295 + matched_length: 295 + match_coverage: '100.0' + rule_relevance: 100 + identifier: intel.LICENSE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution. Redistribution and use in binary form, without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ must reproduce the above copyright notice and the\n following disclaimer in the documentation\ + \ and/or other materials\n provided with the distribution.\n * Neither the name of Intel\ + \ Corporation nor the names of its suppliers\n may be used to endorse or promote products\ + \ derived from this software\n without specific prior written permission.\n * No reverse\ + \ engineering, decompilation, or disassembly of this software\n is permitted.\n \n Limited\ + \ patent license. Intel Corporation grants a world-wide,\n royalty-free, non-exclusive\ + \ license under patents it now or hereafter\n owns or controls to make, have made, use,\ + \ import, offer to sell and\n sell (\"Utilize\") this software, but solely to the extent\ + \ that any\n such patent is necessary to Utilize the software alone, or in\n combination\ + \ with an operating system licensed under an approved Open\n Source license as listed\ + \ by the Open Source Initiative at\n http://opensource.org/licenses. The patent license\ + \ shall not apply to\n any other combinations which include this software. No hardware\ + \ per\n se is licensed hereunder.\n \n DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT\ + \ HOLDERS AND\n CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\n\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND\n FITNESS FOR A PARTICULAR\ + \ PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE\ + \ FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\ + \ (INCLUDING,\n BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS\n\ + \ OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY\ + \ OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\n TORT (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF SUCH\n DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-iwlwifi.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-iwlwifi.copyright.expected.yml index d59ea9e13ee..efb93ccbf3b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-iwlwifi.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-iwlwifi.copyright.expected.yml @@ -1,3 +1,44 @@ -- -- intel -- Copyright (c) 2006-2016, Intel Corporation +primary_license: +declared_license: +license_expression: intel +copyright: Copyright (c) 2006-2016, Intel Corporation +matches: + - score: '100.0' + start_line: 7 + end_line: 42 + matcher: 2-aho + rule_length: 295 + matched_length: 295 + match_coverage: '100.0' + rule_relevance: 100 + identifier: intel.LICENSE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution. Redistribution and use in binary form, without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ must reproduce the above copyright notice and the\n following disclaimer in the documentation\ + \ and/or other materials\n provided with the distribution.\n * Neither the name of Intel\ + \ Corporation nor the names of its suppliers\n may be used to endorse or promote products\ + \ derived from this software\n without specific prior written permission.\n * No reverse\ + \ engineering, decompilation, or disassembly of this software\n is permitted.\n \n Limited\ + \ patent license. Intel Corporation grants a world-wide,\n royalty-free, non-exclusive\ + \ license under patents it now or hereafter\n owns or controls to make, have made, use,\ + \ import, offer to sell and\n sell (\"Utilize\") this software, but solely to the extent\ + \ that any\n such patent is necessary to Utilize the software alone, or in\n combination\ + \ with an operating system licensed under an approved Open\n Source license as listed\ + \ by the Open Source Initiative at\n http://opensource.org/licenses. The patent license\ + \ shall not apply to\n any other combinations which include this software. No hardware\ + \ per\n se is licensed hereunder.\n \n DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT\ + \ HOLDERS AND\n CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\n\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND\n FITNESS FOR A PARTICULAR\ + \ PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE\ + \ FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\ + \ (INCLUDING,\n BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS\n\ + \ OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY\ + \ OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\n TORT (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF SUCH\n DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-libertas.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-libertas.copyright-detailed.expected.yml index 2bd5233a9de..250e36c6d2c 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-libertas.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-libertas.copyright-detailed.expected.yml @@ -1,6 +1,109 @@ -- - Binary redistribution (Marvell 1) +primary_license: None +declared_license: + - Binary redistribution (Marvell 1) - Binary redistribution (Marvell 2) -- proprietary-license AND marvell-firmware -- | +license_expression: proprietary-license AND marvell-firmware +copyright: | Marvell International Ltd. 2006, One Laptop per Child and Marvell Corporation. +matches: + - score: '96.37' + start_line: 3 + end_line: 40 + matcher: 3-seq + rule_length: 303 + matched_length: 292 + match_coverage: '96.37' + rule_relevance: 100 + identifier: proprietary-license_319.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + + * Neither the name of [Marvell] [International] [Ltd]. nor the names of its + suppliers may be used to endorse or promote products derived from + this software without specific prior written permission. + + * No reverse engineering, decompilation, or disassembly of this + software is permitted. + + Limited patent license. [Marvell] [International] Ltd. grants a + world-wide, royalty-free, non-exclusive license under patents it now + or hereafter owns or controls to make, have made, use, import, offer + to sell and sell ("Utilize") this software, but solely to the extent + that any such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not apply to + any other combinations which include this software. No hardware per se + is licensed hereunder. + + DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + - score: '100.0' + start_line: 3 + end_line: 32 + matcher: 2-aho + rule_length: 242 + matched_length: 242 + match_coverage: '100.0' + rule_relevance: 100 + identifier: marvell-firmware.LICENSE + license_expression: marvell-firmware + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of Marvell Corporation nor the names of its suppliers + may be used to endorse or promote products derived from this software + without specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software + is permitted. + * You may not use or attempt to use this software in conjunction with + any product that is offered by a third party as a replacement, + substitute or alternative to a Marvell Product where a Marvell Product + is defined as a proprietary wireless LAN embedded client solution of + Marvell or a Marvell Affiliate. + + DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-libertas.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-libertas.copyright.expected.yml index 2bd5233a9de..250e36c6d2c 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-libertas.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-libertas.copyright.expected.yml @@ -1,6 +1,109 @@ -- - Binary redistribution (Marvell 1) +primary_license: None +declared_license: + - Binary redistribution (Marvell 1) - Binary redistribution (Marvell 2) -- proprietary-license AND marvell-firmware -- | +license_expression: proprietary-license AND marvell-firmware +copyright: | Marvell International Ltd. 2006, One Laptop per Child and Marvell Corporation. +matches: + - score: '96.37' + start_line: 3 + end_line: 40 + matcher: 3-seq + rule_length: 303 + matched_length: 292 + match_coverage: '96.37' + rule_relevance: 100 + identifier: proprietary-license_319.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + + * Neither the name of [Marvell] [International] [Ltd]. nor the names of its + suppliers may be used to endorse or promote products derived from + this software without specific prior written permission. + + * No reverse engineering, decompilation, or disassembly of this + software is permitted. + + Limited patent license. [Marvell] [International] Ltd. grants a + world-wide, royalty-free, non-exclusive license under patents it now + or hereafter owns or controls to make, have made, use, import, offer + to sell and sell ("Utilize") this software, but solely to the extent + that any such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not apply to + any other combinations which include this software. No hardware per se + is licensed hereunder. + + DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + - score: '100.0' + start_line: 3 + end_line: 32 + matcher: 2-aho + rule_length: 242 + matched_length: 242 + match_coverage: '100.0' + rule_relevance: 100 + identifier: marvell-firmware.LICENSE + license_expression: marvell-firmware + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of Marvell Corporation nor the names of its suppliers + may be used to endorse or promote products derived from this software + without specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software + is permitted. + * You may not use or attempt to use this software in conjunction with + any product that is offered by a third party as a replacement, + substitute or alternative to a Marvell Product where a Marvell Product + is defined as a proprietary wireless LAN embedded client solution of + Marvell or a Marvell Affiliate. + + DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux-nonfree.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux-nonfree.copyright-detailed.expected.yml index 62aadc68e24..8bf73205cab 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux-nonfree.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux-nonfree.copyright-detailed.expected.yml @@ -1,5 +1,49 @@ -- -- gpl-2.0-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND gpl-2.0 +copyright: | Copyright 2006-2009 Bastian Blank Copyright 2009 Ben Hutchings +matches: + - score: '100.0' + start_line: 6 + end_line: 20 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_68.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n This package is free software; you can redistribute it\ + \ and/or modify\n it under the terms of the GNU General Public License as published\ + \ by\n the Free Software Foundation; either version 2 of the License, or\n (at\ + \ your option) any later version.\n \n This package is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ General Public License\n along with this package; if not, write to the Free Software\n\ + \ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA" + - score: '100.0' + start_line: 22 + end_line: 23 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux-nonfree.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux-nonfree.copyright.expected.yml index 62aadc68e24..8bf73205cab 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux-nonfree.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux-nonfree.copyright.expected.yml @@ -1,5 +1,49 @@ -- -- gpl-2.0-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND gpl-2.0 +copyright: | Copyright 2006-2009 Bastian Blank Copyright 2009 Ben Hutchings +matches: + - score: '100.0' + start_line: 6 + end_line: 20 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_68.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n This package is free software; you can redistribute it\ + \ and/or modify\n it under the terms of the GNU General Public License as published\ + \ by\n the Free Software Foundation; either version 2 of the License, or\n (at\ + \ your option) any later version.\n \n This package is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ General Public License\n along with this package; if not, write to the Free Software\n\ + \ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA" + - score: '100.0' + start_line: 22 + end_line: 23 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux.copyright-detailed.expected.yml index 62aadc68e24..8bf73205cab 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux.copyright-detailed.expected.yml @@ -1,5 +1,49 @@ -- -- gpl-2.0-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND gpl-2.0 +copyright: | Copyright 2006-2009 Bastian Blank Copyright 2009 Ben Hutchings +matches: + - score: '100.0' + start_line: 6 + end_line: 20 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_68.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n This package is free software; you can redistribute it\ + \ and/or modify\n it under the terms of the GNU General Public License as published\ + \ by\n the Free Software Foundation; either version 2 of the License, or\n (at\ + \ your option) any later version.\n \n This package is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ General Public License\n along with this package; if not, write to the Free Software\n\ + \ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA" + - score: '100.0' + start_line: 22 + end_line: 23 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux.copyright.expected.yml index 62aadc68e24..8bf73205cab 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-linux.copyright.expected.yml @@ -1,5 +1,49 @@ -- -- gpl-2.0-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND gpl-2.0 +copyright: | Copyright 2006-2009 Bastian Blank Copyright 2009 Ben Hutchings +matches: + - score: '100.0' + start_line: 6 + end_line: 20 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_68.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n This package is free software; you can redistribute it\ + \ and/or modify\n it under the terms of the GNU General Public License as published\ + \ by\n the Free Software Foundation; either version 2 of the License, or\n (at\ + \ your option) any later version.\n \n This package is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ General Public License\n along with this package; if not, write to the Free Software\n\ + \ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA" + - score: '100.0' + start_line: 22 + end_line: 23 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-misc-nonfree.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-misc-nonfree.copyright-detailed.expected.yml index 693f09cfa3f..08e2356f6ef 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-misc-nonfree.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-misc-nonfree.copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - BSD (3Com) +primary_license: None +declared_license: + - BSD (3Com) - Permissive (Advansys) - BSD (Agere) - Binary redistribution (Abilis) @@ -33,14 +35,14 @@ - BSD (Ikanos) - Binary redistribution (Conexant) - Binary redistribution (Intel) -- 3com-microcode AND bsd-simplified-source AND agere-bsd AND isc AND proprietary-license AND - other-permissive AND linux-openib AND proprietary-license AND bsd-simplified-source AND proprietary-license - AND isc AND isc AND proprietary-license AND bsd-new AND isc AND proprietary-license AND proprietary-license - AND intel AND intel AND proprietary-license AND bsd-original AND mit AND proprietary-license - AND ralink-firmware AND proprietary-license AND proprietary-license AND intel AND proprietary-license - AND proprietary-license AND ralink-firmware AND other-permissive AND other-permissive AND - (bsd-new AND proprietary-license) AND proprietary-license -- | +license_expression: 3com-microcode AND bsd-simplified-source AND agere-bsd AND isc AND proprietary-license + AND other-permissive AND linux-openib AND proprietary-license AND bsd-simplified-source AND + proprietary-license AND isc AND isc AND proprietary-license AND bsd-new AND isc AND proprietary-license + AND proprietary-license AND intel AND intel AND proprietary-license AND bsd-original AND mit + AND proprietary-license AND ralink-firmware AND proprietary-license AND proprietary-license + AND intel AND proprietary-license AND proprietary-license AND ralink-firmware AND other-permissive + AND other-permissive AND (bsd-new AND proprietary-license) AND proprietary-license +copyright: | 1999-2004, 3Com Corporation 1995-2000, Advanced System Products, Inc. 2000-2001, ConnectCom Solutions, Inc. @@ -77,3 +79,1272 @@ 2007, Tehuti Networks Ltd. 2000-2003, Broadcom Corporation. 2006, Ikanos Communications, Inc. +matches: + - score: '100.0' + start_line: 3 + end_line: 30 + matcher: 2-aho + rule_length: 264 + matched_length: 264 + match_coverage: '100.0' + rule_relevance: 100 + identifier: 3com-microcode3.RULE + license_expression: 3com-microcode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms of the 3c990img.h + microcode software are permitted provided that the following conditions + are met: + 1. Redistribution of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistribution in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of 3Com may not be used to endorse or promote products + derived from this software without specific prior written permission + + THIS SOFTWARE IS PROVIDED BY 3COM ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + USER ACKNOWLEDGES AND AGREES THAT PURCHASE OR USE OF THE 3c990img.h + MICROCODE SOFTWARE WILL NOT CREATE OR GIVE GROUNDS FOR A LICENSE BY + IMPLICATION, ESTOPPEL, OR OTHERWISE IN ANY INTELLECTUAL PROPERTY RIGHTS + (PATENT, COPYRIGHT, TRADE SECRET, MASK WORK, OR OTHER PROPRIETARY RIGHT) + EMBODIED IN ANY OTHER 3COM HARDWARE OR SOFTWARE EITHER SOLELY OR IN + COMBINATION WITH THE 3c990img.h MICROCODE SOFTWARE + - score: '100.0' + start_line: 3 + end_line: 6 + matcher: 2-aho + rule_length: 30 + matched_length: 30 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified-source.LICENSE + license_expression: bsd-simplified-source + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that redistributions of source + code retain the above copyright notice and this comment without + modification. + - score: '100.0' + start_line: 1 + end_line: 37 + matcher: 1-hash + rule_length: 296 + matched_length: 296 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agere-bsd_1.RULE + license_expression: agere-bsd + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided subject to the following terms and conditions, + which you should read carefully before using the software. Using this + software indicates your acceptance of these terms and conditions. If you do + not agree with these terms and conditions, do not use the software. + + All rights reserved. + + Redistribution and use in source or binary forms, with or without + modifications, are permitted provided that the following conditions are met: + + Redistributions of source code must retain the above copyright notice, this + list of conditions and the following Disclaimer as comments in the code as + well as in the documentation and/or other materials provided with the + distribution. + + Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following Disclaimer in the documentation + and/or other materials provided with the distribution. + + Neither the name of Agere Systems Inc. nor the names of the contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + Disclaimer + + THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, INFRINGEMENT AND THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ANY + USE, MODIFICATION OR DISTRIBUTION OF THIS SOFTWARE IS SOLELY AT THE USERS OWN + RISK. IN NO EVENT SHALL AGERE SYSTEMS INC. OR CONTRIBUTORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, INCLUDING, BUT NOT LIMITED TO, CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + - score: '99.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 99 + identifier: isc_53.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software for + any purpose with or without fee is hereby granted, provided that the + above copyright notice and this permission notice appear in all + copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL + WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE + AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL + DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR + PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + - score: '100.0' + start_line: 3 + end_line: 46 + matcher: 2-aho + rule_length: 364 + matched_length: 364 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_336.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of Creative Technology Ltd or its affiliates ("CTL") + nor the names of its suppliers may be used to endorse or promote + products derived from this software without specific prior written + permission. + * No reverse engineering, decompilation, or disassembly of this software + (or any part thereof) is permitted. + + Limited patent license. CTL grants a limited, world-wide, + royalty-free, non-exclusive license under patents it now or hereafter + owns or controls to make, have made, use, import, offer to sell and + sell ("Utilize") this software, but strictly only to the extent that any + such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not be + applicable, to any other combinations which include this software. + No hardware per se is licensed hereunder. + + DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + + NO OTHER RIGHTS GRANTED. USER HEREBY ACKNOWLEDGES AND AGREES THAT USE OF + THIS SOFTWARE SHALL NOT CREATE OR GIVE GROUNDS FOR A LICENSE BY + IMPLICATION, ESTOPPEL, OR OTHERWISE TO ANY INTELLECTUAL PROPERTY RIGHTS + (PATENT, COPYRIGHT, TRADE SECRET, MASK WORK, OR OTHER PROPRIETARY RIGHT) + EMBODIED IN ANY OTHER CTL HARDWARE OR SOFTWARE WHETHER SOLELY OR IN + COMBINATION WITH THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_66.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted for the distribution of this firmware + data in hexadecimal or equivalent format, provided this copyright + notice is accompanying it. + - score: '100.0' + start_line: 3 + end_line: 23 + matcher: 2-aho + rule_length: 143 + matched_length: 143 + match_coverage: '100.0' + rule_relevance: 100 + identifier: linux-openib.LICENSE + license_expression: linux-openib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or + without modification, are permitted provided that the following + conditions are met: + + - Redistributions of source code must retain the above + copyright notice, this list of conditions and the following + disclaimer. + + - Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials + provided with the distribution. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 3 + end_line: 26 + matcher: 2-aho + rule_length: '199' + matched_length: '199' + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_334.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in binary form, without modification, are + permitted provided that the following conditions are met: + + 1. Redistribution in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 2. The name of Chelsio Communications may not be used to endorse or + promote products derived from this software without specific prior + written permission. + 3. Reverse engineering, decompilation, or disassembly of this + firmware is not permitted. + + DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 30 + matched_length: 30 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified-source.LICENSE + license_expression: bsd-simplified-source + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that redistributions of source + code retain the above copyright notice and this comment without + modification. + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 1-hash + rule_length: 120 + matched_length: 120 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_332.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software, only + for use with Xceive ICs, for any purpose with or without fee is hereby + granted, provided that the above copyright notice and this permission + notice appear in all source code copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc.LICENSE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software for + any purpose with or without fee is hereby granted, provided that the + above copyright notice and this permission notice appear in all + copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL + WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE + AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL + DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR + PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc.LICENSE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software for + any purpose with or without fee is hereby granted, provided that the + above copyright notice and this permission notice appear in all + copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL + WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE + AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL + DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR + PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 75 + matched_length: 75 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_331.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + TERRATEC grants permission to use and redistribute these firmware + files for use with TERRATEC devices, but not as part of the Linux + kernel or in any other form which would require these files themselves + to be covered by the terms of the GNU General Public License. + + These firmware files are distributed in the hope that they will be + useful, but WITHOUT ANY WARRANTY; without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 3 + end_line: 26 + matcher: 2-aho + rule_length: 211 + matched_length: 211 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_786.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + 3. Neither the name of Intel Corporation nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 1-hash + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc.LICENSE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL + WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT + SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR + CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, + NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION + WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 7 + matcher: 1-hash + rule_length: 75 + matched_length: 75 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_330.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Sensoray grants permission to use and redistribute these firmware + files for use with Sensoray devices, but not as a part of the Linux + kernel or in any other form which would require these files themselves + to be covered by the terms of the GNU General Public License. + These firmware files are distributed in the hope that they will be + useful, but WITHOUT ANY WARRANTY; without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 73 + matched_length: 73 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_328.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The firmware files included in the firmware/ directory may be freely + redistributed only in conjunction with this document [LICENCE.go7007]; + but modification, tampering and reverse engineering are prohibited. + + MICRONAS USA, INC., MAKES NO WARRANTIES TO ANY PERSON OR ENTITY WITH + RESPECT TO THE SOFTWARE OR ANY DERIVATIVES THEREOF OR ANY SERVICES OR + LICENSES AND DISCLAIMS ALL IMPLIED WARRANTIES, INCLUDING WITHOUT LIMITATION + WARRANTIES OF MERCHANTABILITY, SUPPORT, AND FITNESS FOR A PARTICULAR + PURPOSE AND NON-INFRINGEMENT. + - score: '95.0' + start_line: 3 + end_line: 36 + matcher: 2-aho + rule_length: 268 + matched_length: 268 + match_coverage: '100.0' + rule_relevance: 95 + identifier: intel_2.RULE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. + + Redistribution and use in binary form, without modification, are permitted + provided that the following conditions are met: + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of Intel Corporation nor the names of its suppliers may + be used to endorse or promote products derived from this software without + specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software is + permitted. + + Limited patent license. + + Intel Corporation grants a world-wide, royalty-free, non-exclusive license + under patents it now or hereafter owns or controls to make, have made, use, + import, offer to sell and sell (“Utilize”) this software, but solely to the + extent that any such patent is necessary to Utilize the software alone. The + patent license shall not apply to any combinations which include this software. + No hardware per se is licensed hereunder. + + DISCLAIMER. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR + ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 3 + end_line: 46 + matcher: 2-aho + rule_length: 382 + matched_length: 382 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_327.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Reproduction and redistribution in binary form, without + modification, for use solely in conjunction with a NXP + chipset, is permitted provided that the following conditions are met: + + . Redistributions must reproduce the above copyright notice and the following + disclaimer in the documentation and/or other materials provided with the + distribution. + + . Neither the name of NXP nor the names of its suppliers + may be used to endorse or promote products derived from this Software + without specific prior written permission. + + . No reverse engineering, decompilation, or disassembly of this Software is + permitted. + + Limited patent license. NXP (.Licensor.) grants you + (.Licensee.) a limited, worldwide, royalty-free, non-exclusive license under + the Patents to make, have made, use, import, offer to sell and sell the + Software. No hardware per se is licensed hereunder. + The term .Patents. as used in this agreement means only those patents or patent + applications owned solely and exclusively by Licensor as of the date of + Licensor.s submission of the Software and any patents deriving priority (i.e., + having a first effective filing date) therefrom. The term .Software. as used in + this agreement means the firmware image submitted by Licensor, under the terms + of this license, to git://git.kernel.org/pub/scm/linux/kernel/git/firmware/ + linux-firmware.git. + Notwithstanding anything to the contrary herein, Licensor does not grant and + Licensee does not receive, by virtue of this agreement or the Licensor's + submission of any Software, any license or other rights under any patent or + patent application owned by any affiliate of Licensor or any other entity + (other than Licensor), whether expressly, impliedly, by virtue of estoppel or + exhaustion, or otherwise. + + DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 26 + matcher: 1-hash + rule_length: 233 + matched_length: 233 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original_44.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by Kawasaki LSI. + 4. Neither the name of the company nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY KAWASAKI LSI ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL KAWASAKI LSI BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING + IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '98.77' + start_line: 3 + end_line: '19' + matcher: 3-seq + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_712.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + [MATROX] [GRAPHICS] INC., OR ANY OTHER CONTRIBUTORS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE + OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 142 + matched_length: 142 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_326.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The software accompanying this license statement (the “Software”) + is the property of Moxa Inc. (the “Moxa”), and is protected by + United States and International Copyright Laws and International + treaty provisions. No ownership rights are granted by this + Agreement or possession of the Software. Therefore, you must treat + the Licensed Software like any other copyrighted material. Your + rights and obligations in its use are described as follows: + + 1. You may freely redistribute this software under this license. + 2. You may freely download and use this software on Moxa's device. + 3. You may not modify or attempt to reverse engineer the software, or + make any attempt to change or even examine the source code of the + software. + 4. You may not re-license or sub-license the software to any person or + business, using any other license. + 5. Moxa(r) is worldwide registered trademark. + - score: '100.0' + start_line: 3 + end_line: 38 + matcher: 2-aho + rule_length: 297 + matched_length: 297 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ralink-firmware.LICENSE + license_expression: ralink-firmware + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of Ralink Technology Corporation nor the names of its + suppliers may be used to endorse or promote products derived from this + software without specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software + is permitted. + + Limited patent license. Ralink Technology Corporation grants a world-wide, + royalty-free, non-exclusive license under patents it now or hereafter + owns or controls to make, have made, use, import, offer to sell and + sell ("Utilize") this software, but solely to the extent that any + such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not apply to + any other combinations which include this software. No hardware per + se is licensed hereunder. + + DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_324.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: All firmware components are redistributable in binary form. + - score: '100.0' + start_line: 1 + end_line: 127 + matcher: 1-hash + rule_length: 952 + matched_length: 952 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_325.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + IMPORTANT NOTICE -- READ CAREFULLY: This License For Customer Use of + NVIDIA Software ("LICENSE") is the agreement which governs use of + the software of NVIDIA Corporation and its subsidiaries ("NVIDIA") + downloadable herefrom, including computer software and associated + printed materials ("SOFTWARE"). By downloading, installing, copying, + or otherwise using the SOFTWARE, you agree to be bound by the terms + of this LICENSE. If you do not agree to the terms of this LICENSE, + do not download the SOFTWARE. + + RECITALS + + Use of NVIDIA's products requires three elements: the SOFTWARE, the + hardware, and a personal computer. The SOFTWARE is protected by copyright + laws and international copyright treaties, as well as other intellectual + property laws and treaties. The SOFTWARE may be protected by various + patents, and is not sold, and instead is only licensed for use, strictly + in accordance with this document. The hardware is protected by various + patents, and is sold, but this agreement does not cover that sale, since + it may not necessarily be sold as a package with the SOFTWARE. This + agreement sets forth the terms and conditions of the SOFTWARE LICENSE only. + + 1. DEFINITIONS + + 1.1 Customer. Customer means the entity or individual that + downloads or otherwise obtains the SOFTWARE. + + 2. GRANT OF LICENSE + + 2.1 Rights and Limitations of Grant. NVIDIA hereby grants Customer + the following non-exclusive, non-transferable right to use the + SOFTWARE, with the following limitations: + + 2.1.1 Rights. Customer may install and use multiple copies of the + SOFTWARE on a shared computer or concurrently on different computers, + and make multiple back-up copies of the SOFTWARE, solely for Customer's + use within Customer's Enterprise. "Enterprise" shall mean individual use + by Customer or any legal entity (such as a corporation or university) + and the subsidiaries it owns by more than fifty percent (50%). + + 2.1.2 Open Source Exception. Notwithstanding the foregoing terms + of Section 2.1.1, SOFTWARE may be copied and redistributed solely for + use on operating systems distributed under the terms of an OSI-approved + open source license as listed by the Open Source Initiative at + http://opensource.org, provided that the binary files thereof are not + modified, and Customer provides a copy of this license with the SOFTWARE. + + 2.1.3 Limitations. + + No Reverse Engineering. Customer may not reverse engineer, + decompile, or disassemble the SOFTWARE, nor attempt in any other + manner to obtain the source code. + + Usage. SOFTWARE is licensed only for use with microprocessor(s) which have + been (i) designed by NVIDIA and (ii) either (a) sold by or (b) licensed by + NVIDIA. Customer shall not use SOFTWARE in conjunction with, nor cause + SOFTWARE to be executed by, any other microprocessor. + + No Translation. Customer shall not translate SOFTWARE, nor cause or permit + SOFTWARE to be translated, from the architecture or language in which it is + originally provided by NVIDIA, into any other architecture or language. + + No Rental. Customer may not rent or lease the SOFTWARE to someone + else. + + 3. TERMINATION + + This LICENSE will automatically terminate if Customer fails to + comply with any of the terms and conditions hereof. In such event, + Customer must destroy all copies of the SOFTWARE and all of its + component parts. + + Defensive Suspension. If Customer commences or participates in any legal + proceeding against NVIDIA, then NVIDIA may, in its sole discretion, + suspend or terminate all license grants and any other rights provided + under this LICENSE during the pendency of such legal proceedings. + + 4. COPYRIGHT + + All title and copyrights in and to the SOFTWARE (including but + not limited to all images, photographs, animations, video, audio, + music, text, and other information incorporated into the SOFTWARE), + the accompanying printed materials, and any copies of the SOFTWARE, + are owned by NVIDIA, or its suppliers. The SOFTWARE is protected + by copyright laws and international treaty provisions. Accordingly, + Customer is required to treat the SOFTWARE like any other copyrighted + material, except as otherwise allowed pursuant to this LICENSE + and that it may make one copy of the SOFTWARE solely for backup or + archive purposes. + + 5. APPLICABLE LAW + + This agreement shall be deemed to have been made in, and shall be + construed pursuant to, the laws of the State of California. + + 6. DISCLAIMER OF WARRANTIES AND LIMITATION ON LIABILITY + + 6.1 No Warranties. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE + LAW, THE SOFTWARE IS PROVIDED "AS IS" AND NVIDIA AND ITS SUPPLIERS + DISCLAIM ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT + NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE. + + 6.2 No Liability for Consequential Damages. TO THE MAXIMUM + EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL NVIDIA OR + ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR + CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, + DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS + OF BUSINESS INFORMATION, OR ANY OTHER PECUNIARY LOSS) ARISING OUT + OF THE USE OF OR INABILITY TO USE THE SOFTWARE, EVEN IF NVIDIA HAS + BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + + 7. MISCELLANEOUS + + The United Nations Convention on Contracts for the International + Sale of Goods is specifically disclaimed. If any provision of this + LICENSE is inconsistent with, or cannot be fully enforced under, + the law, such provision will be construed as limited to the extent + necessary to be consistent with and fully enforceable under the law. + This agreement is the final, complete and exclusive agreement between + the parties relating to the subject matter hereof, and supersedes + all prior or contemporaneous understandings and agreements relating + to such subject matter, whether oral or written. Customer agrees + that it will not ship, transfer or export the SOFTWARE into any + country, or use the SOFTWARE in any manner, prohibited by the + United States Bureau of Export Administration or any export laws, + restrictions or regulations. This LICENSE may only be modified in + writing signed by an authorized officer of NVIDIA. + - score: '100.0' + start_line: 3 + end_line: 40 + matcher: 2-aho + rule_length: 303 + matched_length: 303 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_319.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + + * Neither the name of Fuzhou Rockchip Electronics Co.Ltd, its products + nor the names of its suppliers may be used to endorse or promote products + derived from this Software without specific prior written permission. + + * No reverse engineering, decompilation, or disassembly of this software + is permitted. + + Limited patent license. Fuzhou Rockchip Electronics Co.Ltd grants a world-wide, + royalty-free, non-exclusive license under patents it now or hereafter + owns or controls to make, have made, use, import, offer to sell and + sell ("Utilize") this software, but solely to the extent that any + such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not apply to + any other combinations which include this software. No hardware per + se is licensed hereunder. + + DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 75 + matched_length: 75 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_311.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Comtrol grants permission to use and redistribute these firmware + files for use with Comtrol devices, but not as part of the Linux + kernel or in any other form which would require these files themselves + to be covered by the terms of the GNU General Public License. + + These firmware files are distributed in the hope that they will be + useful, but WITHOUT ANY WARRANTY; without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 3 + end_line: 38 + matcher: 2-aho + rule_length: 297 + matched_length: 297 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ralink-firmware.LICENSE + license_expression: ralink-firmware + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of Ralink Technology Corporation nor the names of its + suppliers may be used to endorse or promote products derived from this + software without specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software + is permitted. + + Limited patent license. Ralink Technology Corporation grants a world-wide, + royalty-free, non-exclusive license under patents it now or hereafter + owns or controls to make, have made, use, import, offer to sell and + sell ("Utilize") this software, but solely to the extent that any + such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not apply to + any other combinations which include this software. No hardware per + se is licensed hereunder. + + DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_66.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted for the distribution of this firmware + data in hexadecimal or equivalent format, provided this copyright + notice is accompanying it. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_66.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted for the distribution of this firmware + data in hexadecimal or equivalent format, provided this copyright + notice is accompanying it. + - score: '100.0' + start_line: 1 + end_line: 33 + matcher: 1-hash + rule_length: 266 + matched_length: 266 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_and_proprietary-license_1.RULE + license_expression: bsd-new AND proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following + conditions are met: + + * Redistribution of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistribution in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + * The name of Ikanos Corporation may not be used to endorse + or promote products derived from this source code without specific + prior written consent of Ikanos Corporation. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + USER ACKNOWLEDGES AND AGREES THAT THE PURCHASE OR USE OF THIS + SOFTWARE WILL NOT CREATE OR GIVE GROUNDS FOR A LICENSE BY + IMPLICATION, ESTOPPEL, OR OTHERWISE IN ANY INTELLECTUAL PROPERTY + RIGHTS (PATENT, COPYRIGHT, TRADE SECRET, MASK WORK, OR OTHER + PROPRIETARY RIGHT) EMBODIED IN ANY OTHER IKANOS HARDWARE OR SOFTWARE + EITHER SOLELY OR IN COMBINATION WITH THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 7 + matcher: 1-hash + rule_length: 75 + matched_length: 75 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_308.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Conexant grants permission to use and redistribute these firmware + files for use with Conexant devices, but not as a part of the Linux + kernel or in any other form which would require these files themselves + to be covered by the terms of the GNU General Public License. + These firmware files are distributed in the hope that they will be + useful, but WITHOUT ANY WARRANTY; without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 3 + end_line: 38 + matcher: 2-aho + rule_length: 295 + matched_length: 295 + match_coverage: '100.0' + rule_relevance: 100 + identifier: intel.LICENSE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of Intel Corporation nor the names of its suppliers + may be used to endorse or promote products derived from this software + without specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software + is permitted. + + Limited patent license. Intel Corporation grants a world-wide, + royalty-free, non-exclusive license under patents it now or hereafter + owns or controls to make, have made, use, import, offer to sell and + sell ("Utilize") this software, but solely to the extent that any + such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not apply to + any other combinations which include this software. No hardware per + se is licensed hereunder. + + DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-misc-nonfree.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-misc-nonfree.copyright.expected.yml index 13f4873f80e..74b0f0ee182 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-misc-nonfree.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-misc-nonfree.copyright.expected.yml @@ -1,4 +1,6 @@ -- - BSD (3Com) +primary_license: None +declared_license: + - BSD (3Com) - Permissive (Advansys) - BSD (Agere) - Binary redistribution (Abilis) @@ -29,13 +31,10 @@ - Binary redistribution (Ralink) - BSD (Ikanos) - Binary redistribution (Conexant) -- 3com-microcode AND bsd-simplified-source AND agere-bsd AND isc AND proprietary-license AND - other-permissive AND linux-openib AND proprietary-license AND bsd-simplified-source AND proprietary-license - AND isc AND isc AND proprietary-license AND bsd-new AND isc AND proprietary-license AND proprietary-license - AND intel AND intel AND proprietary-license AND bsd-original AND mit AND proprietary-license - AND ralink-firmware AND proprietary-license AND proprietary-license AND proprietary-license - AND proprietary-license AND ralink-firmware AND (bsd-new AND proprietary-license) AND proprietary-license -- | +license_expression: 3com-microcode AND bsd-simplified-source AND agere-bsd AND isc AND proprietary-license + AND other-permissive AND linux-openib AND bsd-new AND intel AND bsd-original AND mit AND ralink-firmware + AND (bsd-new AND proprietary-license) +copyright: | 1999-2004, 3Com Corporation 1995-2000, Advanced System Products, Inc. 2000-2001, ConnectCom Solutions, Inc. @@ -71,3 +70,1272 @@ 2007, Tehuti Networks Ltd. 2000-2003, Broadcom Corporation. 2006, Ikanos Communications, Inc. +matches: + - score: '100.0' + start_line: 3 + end_line: 30 + matcher: 2-aho + rule_length: 264 + matched_length: 264 + match_coverage: '100.0' + rule_relevance: 100 + identifier: 3com-microcode3.RULE + license_expression: 3com-microcode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms of the 3c990img.h + microcode software are permitted provided that the following conditions + are met: + 1. Redistribution of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistribution in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of 3Com may not be used to endorse or promote products + derived from this software without specific prior written permission + + THIS SOFTWARE IS PROVIDED BY 3COM ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + USER ACKNOWLEDGES AND AGREES THAT PURCHASE OR USE OF THE 3c990img.h + MICROCODE SOFTWARE WILL NOT CREATE OR GIVE GROUNDS FOR A LICENSE BY + IMPLICATION, ESTOPPEL, OR OTHERWISE IN ANY INTELLECTUAL PROPERTY RIGHTS + (PATENT, COPYRIGHT, TRADE SECRET, MASK WORK, OR OTHER PROPRIETARY RIGHT) + EMBODIED IN ANY OTHER 3COM HARDWARE OR SOFTWARE EITHER SOLELY OR IN + COMBINATION WITH THE 3c990img.h MICROCODE SOFTWARE + - score: '100.0' + start_line: 3 + end_line: 6 + matcher: 2-aho + rule_length: 30 + matched_length: 30 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified-source.LICENSE + license_expression: bsd-simplified-source + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that redistributions of source + code retain the above copyright notice and this comment without + modification. + - score: '100.0' + start_line: 1 + end_line: 37 + matcher: 1-hash + rule_length: 296 + matched_length: 296 + match_coverage: '100.0' + rule_relevance: 100 + identifier: agere-bsd_1.RULE + license_expression: agere-bsd + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided subject to the following terms and conditions, + which you should read carefully before using the software. Using this + software indicates your acceptance of these terms and conditions. If you do + not agree with these terms and conditions, do not use the software. + + All rights reserved. + + Redistribution and use in source or binary forms, with or without + modifications, are permitted provided that the following conditions are met: + + Redistributions of source code must retain the above copyright notice, this + list of conditions and the following Disclaimer as comments in the code as + well as in the documentation and/or other materials provided with the + distribution. + + Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following Disclaimer in the documentation + and/or other materials provided with the distribution. + + Neither the name of Agere Systems Inc. nor the names of the contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + Disclaimer + + THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, INFRINGEMENT AND THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ANY + USE, MODIFICATION OR DISTRIBUTION OF THIS SOFTWARE IS SOLELY AT THE USERS OWN + RISK. IN NO EVENT SHALL AGERE SYSTEMS INC. OR CONTRIBUTORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, INCLUDING, BUT NOT LIMITED TO, CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + - score: '99.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 99 + identifier: isc_53.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software for + any purpose with or without fee is hereby granted, provided that the + above copyright notice and this permission notice appear in all + copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL + WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE + AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL + DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR + PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + - score: '100.0' + start_line: 3 + end_line: 46 + matcher: 2-aho + rule_length: 364 + matched_length: 364 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_336.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of Creative Technology Ltd or its affiliates ("CTL") + nor the names of its suppliers may be used to endorse or promote + products derived from this software without specific prior written + permission. + * No reverse engineering, decompilation, or disassembly of this software + (or any part thereof) is permitted. + + Limited patent license. CTL grants a limited, world-wide, + royalty-free, non-exclusive license under patents it now or hereafter + owns or controls to make, have made, use, import, offer to sell and + sell ("Utilize") this software, but strictly only to the extent that any + such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not be + applicable, to any other combinations which include this software. + No hardware per se is licensed hereunder. + + DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + + NO OTHER RIGHTS GRANTED. USER HEREBY ACKNOWLEDGES AND AGREES THAT USE OF + THIS SOFTWARE SHALL NOT CREATE OR GIVE GROUNDS FOR A LICENSE BY + IMPLICATION, ESTOPPEL, OR OTHERWISE TO ANY INTELLECTUAL PROPERTY RIGHTS + (PATENT, COPYRIGHT, TRADE SECRET, MASK WORK, OR OTHER PROPRIETARY RIGHT) + EMBODIED IN ANY OTHER CTL HARDWARE OR SOFTWARE WHETHER SOLELY OR IN + COMBINATION WITH THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_66.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted for the distribution of this firmware + data in hexadecimal or equivalent format, provided this copyright + notice is accompanying it. + - score: '100.0' + start_line: 3 + end_line: 23 + matcher: 2-aho + rule_length: 143 + matched_length: 143 + match_coverage: '100.0' + rule_relevance: 100 + identifier: linux-openib.LICENSE + license_expression: linux-openib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or + without modification, are permitted provided that the following + conditions are met: + + - Redistributions of source code must retain the above + copyright notice, this list of conditions and the following + disclaimer. + + - Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials + provided with the distribution. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 3 + end_line: 26 + matcher: 2-aho + rule_length: '199' + matched_length: '199' + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_334.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in binary form, without modification, are + permitted provided that the following conditions are met: + + 1. Redistribution in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 2. The name of Chelsio Communications may not be used to endorse or + promote products derived from this software without specific prior + written permission. + 3. Reverse engineering, decompilation, or disassembly of this + firmware is not permitted. + + DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 30 + matched_length: 30 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified-source.LICENSE + license_expression: bsd-simplified-source + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that redistributions of source + code retain the above copyright notice and this comment without + modification. + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 1-hash + rule_length: 120 + matched_length: 120 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_332.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software, only + for use with Xceive ICs, for any purpose with or without fee is hereby + granted, provided that the above copyright notice and this permission + notice appear in all source code copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc.LICENSE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software for + any purpose with or without fee is hereby granted, provided that the + above copyright notice and this permission notice appear in all + copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL + WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE + AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL + DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR + PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc.LICENSE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software for + any purpose with or without fee is hereby granted, provided that the + above copyright notice and this permission notice appear in all + copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL + WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE + AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL + DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR + PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 75 + matched_length: 75 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_331.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + TERRATEC grants permission to use and redistribute these firmware + files for use with TERRATEC devices, but not as part of the Linux + kernel or in any other form which would require these files themselves + to be covered by the terms of the GNU General Public License. + + These firmware files are distributed in the hope that they will be + useful, but WITHOUT ANY WARRANTY; without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 3 + end_line: 26 + matcher: 2-aho + rule_length: 211 + matched_length: 211 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_786.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + 3. Neither the name of Intel Corporation nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 1-hash + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc.LICENSE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL + WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT + SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR + CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, + NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION + WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 7 + matcher: 1-hash + rule_length: 75 + matched_length: 75 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_330.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Sensoray grants permission to use and redistribute these firmware + files for use with Sensoray devices, but not as a part of the Linux + kernel or in any other form which would require these files themselves + to be covered by the terms of the GNU General Public License. + These firmware files are distributed in the hope that they will be + useful, but WITHOUT ANY WARRANTY; without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 9 + matcher: 1-hash + rule_length: 73 + matched_length: 73 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_328.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The firmware files included in the firmware/ directory may be freely + redistributed only in conjunction with this document [LICENCE.go7007]; + but modification, tampering and reverse engineering are prohibited. + + MICRONAS USA, INC., MAKES NO WARRANTIES TO ANY PERSON OR ENTITY WITH + RESPECT TO THE SOFTWARE OR ANY DERIVATIVES THEREOF OR ANY SERVICES OR + LICENSES AND DISCLAIMS ALL IMPLIED WARRANTIES, INCLUDING WITHOUT LIMITATION + WARRANTIES OF MERCHANTABILITY, SUPPORT, AND FITNESS FOR A PARTICULAR + PURPOSE AND NON-INFRINGEMENT. + - score: '95.0' + start_line: 3 + end_line: 36 + matcher: 2-aho + rule_length: 268 + matched_length: 268 + match_coverage: '100.0' + rule_relevance: 95 + identifier: intel_2.RULE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. + + Redistribution and use in binary form, without modification, are permitted + provided that the following conditions are met: + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of Intel Corporation nor the names of its suppliers may + be used to endorse or promote products derived from this software without + specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software is + permitted. + + Limited patent license. + + Intel Corporation grants a world-wide, royalty-free, non-exclusive license + under patents it now or hereafter owns or controls to make, have made, use, + import, offer to sell and sell (“Utilize”) this software, but solely to the + extent that any such patent is necessary to Utilize the software alone. The + patent license shall not apply to any combinations which include this software. + No hardware per se is licensed hereunder. + + DISCLAIMER. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR + ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 3 + end_line: 46 + matcher: 2-aho + rule_length: 382 + matched_length: 382 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_327.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Reproduction and redistribution in binary form, without + modification, for use solely in conjunction with a NXP + chipset, is permitted provided that the following conditions are met: + + . Redistributions must reproduce the above copyright notice and the following + disclaimer in the documentation and/or other materials provided with the + distribution. + + . Neither the name of NXP nor the names of its suppliers + may be used to endorse or promote products derived from this Software + without specific prior written permission. + + . No reverse engineering, decompilation, or disassembly of this Software is + permitted. + + Limited patent license. NXP (.Licensor.) grants you + (.Licensee.) a limited, worldwide, royalty-free, non-exclusive license under + the Patents to make, have made, use, import, offer to sell and sell the + Software. No hardware per se is licensed hereunder. + The term .Patents. as used in this agreement means only those patents or patent + applications owned solely and exclusively by Licensor as of the date of + Licensor.s submission of the Software and any patents deriving priority (i.e., + having a first effective filing date) therefrom. The term .Software. as used in + this agreement means the firmware image submitted by Licensor, under the terms + of this license, to git://git.kernel.org/pub/scm/linux/kernel/git/firmware/ + linux-firmware.git. + Notwithstanding anything to the contrary herein, Licensor does not grant and + Licensee does not receive, by virtue of this agreement or the Licensor's + submission of any Software, any license or other rights under any patent or + patent application owned by any affiliate of Licensor or any other entity + (other than Licensor), whether expressly, impliedly, by virtue of estoppel or + exhaustion, or otherwise. + + DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 26 + matcher: 1-hash + rule_length: 233 + matched_length: 233 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original_44.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by Kawasaki LSI. + 4. Neither the name of the company nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY KAWASAKI LSI ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL KAWASAKI LSI BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING + IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '98.77' + start_line: 3 + end_line: '19' + matcher: 3-seq + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_712.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + [MATROX] [GRAPHICS] INC., OR ANY OTHER CONTRIBUTORS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE + OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 142 + matched_length: 142 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_326.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The software accompanying this license statement (the “Software”) + is the property of Moxa Inc. (the “Moxa”), and is protected by + United States and International Copyright Laws and International + treaty provisions. No ownership rights are granted by this + Agreement or possession of the Software. Therefore, you must treat + the Licensed Software like any other copyrighted material. Your + rights and obligations in its use are described as follows: + + 1. You may freely redistribute this software under this license. + 2. You may freely download and use this software on Moxa's device. + 3. You may not modify or attempt to reverse engineer the software, or + make any attempt to change or even examine the source code of the + software. + 4. You may not re-license or sub-license the software to any person or + business, using any other license. + 5. Moxa(r) is worldwide registered trademark. + - score: '100.0' + start_line: 3 + end_line: 38 + matcher: 2-aho + rule_length: 297 + matched_length: 297 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ralink-firmware.LICENSE + license_expression: ralink-firmware + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of Ralink Technology Corporation nor the names of its + suppliers may be used to endorse or promote products derived from this + software without specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software + is permitted. + + Limited patent license. Ralink Technology Corporation grants a world-wide, + royalty-free, non-exclusive license under patents it now or hereafter + owns or controls to make, have made, use, import, offer to sell and + sell ("Utilize") this software, but solely to the extent that any + such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not apply to + any other combinations which include this software. No hardware per + se is licensed hereunder. + + DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_324.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: All firmware components are redistributable in binary form. + - score: '100.0' + start_line: 1 + end_line: 127 + matcher: 1-hash + rule_length: 952 + matched_length: 952 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_325.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + IMPORTANT NOTICE -- READ CAREFULLY: This License For Customer Use of + NVIDIA Software ("LICENSE") is the agreement which governs use of + the software of NVIDIA Corporation and its subsidiaries ("NVIDIA") + downloadable herefrom, including computer software and associated + printed materials ("SOFTWARE"). By downloading, installing, copying, + or otherwise using the SOFTWARE, you agree to be bound by the terms + of this LICENSE. If you do not agree to the terms of this LICENSE, + do not download the SOFTWARE. + + RECITALS + + Use of NVIDIA's products requires three elements: the SOFTWARE, the + hardware, and a personal computer. The SOFTWARE is protected by copyright + laws and international copyright treaties, as well as other intellectual + property laws and treaties. The SOFTWARE may be protected by various + patents, and is not sold, and instead is only licensed for use, strictly + in accordance with this document. The hardware is protected by various + patents, and is sold, but this agreement does not cover that sale, since + it may not necessarily be sold as a package with the SOFTWARE. This + agreement sets forth the terms and conditions of the SOFTWARE LICENSE only. + + 1. DEFINITIONS + + 1.1 Customer. Customer means the entity or individual that + downloads or otherwise obtains the SOFTWARE. + + 2. GRANT OF LICENSE + + 2.1 Rights and Limitations of Grant. NVIDIA hereby grants Customer + the following non-exclusive, non-transferable right to use the + SOFTWARE, with the following limitations: + + 2.1.1 Rights. Customer may install and use multiple copies of the + SOFTWARE on a shared computer or concurrently on different computers, + and make multiple back-up copies of the SOFTWARE, solely for Customer's + use within Customer's Enterprise. "Enterprise" shall mean individual use + by Customer or any legal entity (such as a corporation or university) + and the subsidiaries it owns by more than fifty percent (50%). + + 2.1.2 Open Source Exception. Notwithstanding the foregoing terms + of Section 2.1.1, SOFTWARE may be copied and redistributed solely for + use on operating systems distributed under the terms of an OSI-approved + open source license as listed by the Open Source Initiative at + http://opensource.org, provided that the binary files thereof are not + modified, and Customer provides a copy of this license with the SOFTWARE. + + 2.1.3 Limitations. + + No Reverse Engineering. Customer may not reverse engineer, + decompile, or disassemble the SOFTWARE, nor attempt in any other + manner to obtain the source code. + + Usage. SOFTWARE is licensed only for use with microprocessor(s) which have + been (i) designed by NVIDIA and (ii) either (a) sold by or (b) licensed by + NVIDIA. Customer shall not use SOFTWARE in conjunction with, nor cause + SOFTWARE to be executed by, any other microprocessor. + + No Translation. Customer shall not translate SOFTWARE, nor cause or permit + SOFTWARE to be translated, from the architecture or language in which it is + originally provided by NVIDIA, into any other architecture or language. + + No Rental. Customer may not rent or lease the SOFTWARE to someone + else. + + 3. TERMINATION + + This LICENSE will automatically terminate if Customer fails to + comply with any of the terms and conditions hereof. In such event, + Customer must destroy all copies of the SOFTWARE and all of its + component parts. + + Defensive Suspension. If Customer commences or participates in any legal + proceeding against NVIDIA, then NVIDIA may, in its sole discretion, + suspend or terminate all license grants and any other rights provided + under this LICENSE during the pendency of such legal proceedings. + + 4. COPYRIGHT + + All title and copyrights in and to the SOFTWARE (including but + not limited to all images, photographs, animations, video, audio, + music, text, and other information incorporated into the SOFTWARE), + the accompanying printed materials, and any copies of the SOFTWARE, + are owned by NVIDIA, or its suppliers. The SOFTWARE is protected + by copyright laws and international treaty provisions. Accordingly, + Customer is required to treat the SOFTWARE like any other copyrighted + material, except as otherwise allowed pursuant to this LICENSE + and that it may make one copy of the SOFTWARE solely for backup or + archive purposes. + + 5. APPLICABLE LAW + + This agreement shall be deemed to have been made in, and shall be + construed pursuant to, the laws of the State of California. + + 6. DISCLAIMER OF WARRANTIES AND LIMITATION ON LIABILITY + + 6.1 No Warranties. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE + LAW, THE SOFTWARE IS PROVIDED "AS IS" AND NVIDIA AND ITS SUPPLIERS + DISCLAIM ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT + NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE. + + 6.2 No Liability for Consequential Damages. TO THE MAXIMUM + EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL NVIDIA OR + ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR + CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, + DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS + OF BUSINESS INFORMATION, OR ANY OTHER PECUNIARY LOSS) ARISING OUT + OF THE USE OF OR INABILITY TO USE THE SOFTWARE, EVEN IF NVIDIA HAS + BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + + 7. MISCELLANEOUS + + The United Nations Convention on Contracts for the International + Sale of Goods is specifically disclaimed. If any provision of this + LICENSE is inconsistent with, or cannot be fully enforced under, + the law, such provision will be construed as limited to the extent + necessary to be consistent with and fully enforceable under the law. + This agreement is the final, complete and exclusive agreement between + the parties relating to the subject matter hereof, and supersedes + all prior or contemporaneous understandings and agreements relating + to such subject matter, whether oral or written. Customer agrees + that it will not ship, transfer or export the SOFTWARE into any + country, or use the SOFTWARE in any manner, prohibited by the + United States Bureau of Export Administration or any export laws, + restrictions or regulations. This LICENSE may only be modified in + writing signed by an authorized officer of NVIDIA. + - score: '100.0' + start_line: 3 + end_line: 40 + matcher: 2-aho + rule_length: 303 + matched_length: 303 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_319.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + + * Neither the name of Fuzhou Rockchip Electronics Co.Ltd, its products + nor the names of its suppliers may be used to endorse or promote products + derived from this Software without specific prior written permission. + + * No reverse engineering, decompilation, or disassembly of this software + is permitted. + + Limited patent license. Fuzhou Rockchip Electronics Co.Ltd grants a world-wide, + royalty-free, non-exclusive license under patents it now or hereafter + owns or controls to make, have made, use, import, offer to sell and + sell ("Utilize") this software, but solely to the extent that any + such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not apply to + any other combinations which include this software. No hardware per + se is licensed hereunder. + + DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 75 + matched_length: 75 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_311.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Comtrol grants permission to use and redistribute these firmware + files for use with Comtrol devices, but not as part of the Linux + kernel or in any other form which would require these files themselves + to be covered by the terms of the GNU General Public License. + + These firmware files are distributed in the hope that they will be + useful, but WITHOUT ANY WARRANTY; without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 3 + end_line: 38 + matcher: 2-aho + rule_length: 297 + matched_length: 297 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ralink-firmware.LICENSE + license_expression: ralink-firmware + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of Ralink Technology Corporation nor the names of its + suppliers may be used to endorse or promote products derived from this + software without specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software + is permitted. + + Limited patent license. Ralink Technology Corporation grants a world-wide, + royalty-free, non-exclusive license under patents it now or hereafter + owns or controls to make, have made, use, import, offer to sell and + sell ("Utilize") this software, but solely to the extent that any + such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not apply to + any other combinations which include this software. No hardware per + se is licensed hereunder. + + DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_66.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted for the distribution of this firmware + data in hexadecimal or equivalent format, provided this copyright + notice is accompanying it. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_66.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted for the distribution of this firmware + data in hexadecimal or equivalent format, provided this copyright + notice is accompanying it. + - score: '100.0' + start_line: 1 + end_line: 33 + matcher: 1-hash + rule_length: 266 + matched_length: 266 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_and_proprietary-license_1.RULE + license_expression: bsd-new AND proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following + conditions are met: + + * Redistribution of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistribution in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + * The name of Ikanos Corporation may not be used to endorse + or promote products derived from this source code without specific + prior written consent of Ikanos Corporation. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + USER ACKNOWLEDGES AND AGREES THAT THE PURCHASE OR USE OF THIS + SOFTWARE WILL NOT CREATE OR GIVE GROUNDS FOR A LICENSE BY + IMPLICATION, ESTOPPEL, OR OTHERWISE IN ANY INTELLECTUAL PROPERTY + RIGHTS (PATENT, COPYRIGHT, TRADE SECRET, MASK WORK, OR OTHER + PROPRIETARY RIGHT) EMBODIED IN ANY OTHER IKANOS HARDWARE OR SOFTWARE + EITHER SOLELY OR IN COMBINATION WITH THIS SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 7 + matcher: 1-hash + rule_length: 75 + matched_length: 75 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_308.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Conexant grants permission to use and redistribute these firmware + files for use with Conexant devices, but not as a part of the Linux + kernel or in any other form which would require these files themselves + to be covered by the terms of the GNU General Public License. + These firmware files are distributed in the hope that they will be + useful, but WITHOUT ANY WARRANTY; without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 3 + end_line: 38 + matcher: 2-aho + rule_length: 295 + matched_length: 295 + match_coverage: '100.0' + rule_relevance: 100 + identifier: intel.LICENSE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of Intel Corporation nor the names of its suppliers + may be used to endorse or promote products derived from this software + without specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software + is permitted. + + Limited patent license. Intel Corporation grants a world-wide, + royalty-free, non-exclusive license under patents it now or hereafter + owns or controls to make, have made, use, import, offer to sell and + sell ("Utilize") this software, but solely to the extent that any + such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not apply to + any other combinations which include this software. No hardware per + se is licensed hereunder. + + DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-myricom.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-myricom.copyright-detailed.expected.yml index 15c1b5471ef..4a295973839 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-myricom.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-myricom.copyright-detailed.expected.yml @@ -1,3 +1,37 @@ -- -- bsd-source-code -- Copyright (c) 2006-2010, Myricom Inc. +primary_license: +declared_license: +license_expression: bsd-source-code +copyright: Copyright (c) 2006-2010, Myricom Inc. +matches: + - score: '96.17' + start_line: 1 + end_line: 27 + matcher: 3-seq + rule_length: 183 + matched_length: 176 + match_coverage: '96.17' + rule_relevance: 100 + identifier: mentalis_2.RULE + license_expression: bsd-source-code + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "binary [firmware] [may] [be] [downloaded] [from]\n [https]://[git].[kernel].[org]/[cgit]/[linux]/[kernel]/[git]/[firmware]/[linux]-[firmware].[git]\n\ + \ \n [Copyright] ([c]) [2006]-[2010], [Myricom] [Inc].\n [All] [rights] [reserved].\n\ + \ \n [Redistribution] [and] [use] [in] [source] [and] [binary] forms, with or without\n\ + \ modification, are permitted provided that the following conditions are met:\n \n [1].\ + \ Redistributions of source code must retain the above copyright notice,\n this list\ + \ of conditions and the following disclaimer.\n \n [2]. Neither the name of [the] [Myricom]\ + \ Inc, nor the names of its\n contributors may be used to endorse or promote products\ + \ derived from\n this software without specific prior written permission.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\ + \ OWNER OR CONTRIBUTORS BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n CONTRACT, STRICT LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE\n POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-myricom.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-myricom.copyright.expected.yml index 15c1b5471ef..4a295973839 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-myricom.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-myricom.copyright.expected.yml @@ -1,3 +1,37 @@ -- -- bsd-source-code -- Copyright (c) 2006-2010, Myricom Inc. +primary_license: +declared_license: +license_expression: bsd-source-code +copyright: Copyright (c) 2006-2010, Myricom Inc. +matches: + - score: '96.17' + start_line: 1 + end_line: 27 + matcher: 3-seq + rule_length: 183 + matched_length: 176 + match_coverage: '96.17' + rule_relevance: 100 + identifier: mentalis_2.RULE + license_expression: bsd-source-code + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "binary [firmware] [may] [be] [downloaded] [from]\n [https]://[git].[kernel].[org]/[cgit]/[linux]/[kernel]/[git]/[firmware]/[linux]-[firmware].[git]\n\ + \ \n [Copyright] ([c]) [2006]-[2010], [Myricom] [Inc].\n [All] [rights] [reserved].\n\ + \ \n [Redistribution] [and] [use] [in] [source] [and] [binary] forms, with or without\n\ + \ modification, are permitted provided that the following conditions are met:\n \n [1].\ + \ Redistributions of source code must retain the above copyright notice,\n this list\ + \ of conditions and the following disclaimer.\n \n [2]. Neither the name of [the] [Myricom]\ + \ Inc, nor the names of its\n contributors may be used to endorse or promote products\ + \ derived from\n this software without specific prior written permission.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\ + \ OWNER OR CONTRIBUTORS BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n CONTRACT, STRICT LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE\n POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netronome.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netronome.copyright-detailed.expected.yml index 471537ab76a..bdb6a7b6adb 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netronome.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netronome.copyright-detailed.expected.yml @@ -1,3 +1,21 @@ -- -- unknown-license-reference AND proprietary-license -- Copyright (c) 2017, NETRONOME Systems, Inc. +primary_license: +declared_license: +license_expression: proprietary-license +copyright: Copyright (c) 2017, NETRONOME Systems, Inc. +matches: + - score: '16.0' + start_line: '19' + end_line: '19' + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: proprietary_36.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: confidential and proprietary diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netronome.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netronome.copyright.expected.yml index 471537ab76a..bdb6a7b6adb 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netronome.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netronome.copyright.expected.yml @@ -1,3 +1,21 @@ -- -- unknown-license-reference AND proprietary-license -- Copyright (c) 2017, NETRONOME Systems, Inc. +primary_license: +declared_license: +license_expression: proprietary-license +copyright: Copyright (c) 2017, NETRONOME Systems, Inc. +matches: + - score: '16.0' + start_line: '19' + end_line: '19' + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: proprietary_36.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: confidential and proprietary diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netxen.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netxen.copyright-detailed.expected.yml index 0baf2780a5a..759be04b1c3 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netxen.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netxen.copyright-detailed.expected.yml @@ -1,3 +1,38 @@ -- -- qlogic-firmware -- Copyright (c) 2003-2010 QLogic Corporation QLogic Linux Intelligent Ethernet +primary_license: +declared_license: +license_expression: qlogic-firmware +copyright: Copyright (c) 2003-2010 QLogic Corporation QLogic Linux Intelligent Ethernet +matches: + - score: '100.0' + start_line: 7 + end_line: 34 + matcher: 2-aho + rule_length: 262 + matched_length: 262 + match_coverage: '100.0' + rule_relevance: 100 + identifier: qlogic-firmware.LICENSE + license_expression: qlogic-firmware + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in binary form, without modification, for use in conjunction\n\ + \ with QLogic authorized products is permitted provided that the following conditions\n\ + \ are met:\n \n 1. Redistribution in binary form must reproduce the above copyright notice, this \n\ + \ list of conditions and the following disclaimer in the documentation and/or \n \ + \ other materials provided with the distribution.\n 2. The name of QLogic Corporation may not be used to\ + \ endorse or promote products \n derived from this software without specific prior written permission.\n\ + \ 3. Reverse engineering, decompilation, or disassembly of this firmware is not \n \ + \ permitted.\n \n REGARDLESS OF WHAT LICENSING MECHANISM IS USED OR APPLICABLE,THIS PROGRAM IS \n\ + \ PROVIDED BY QLOGIC CORPORATION \"AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, \n INCLUDING, BUT NOT LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND \n FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\n\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR \n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE \n GOODS OR SERVICES; LOSS OF USE,DATA, OR PROFITS; OR BUSINESS INTERRUPTION) \n\ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT \n LIABILITY,OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n\ + \ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\ + \ \n USER ACKNOWLEDGES AND AGREES THAT USE OF THIS PROGRAM WILL NOT CREATE OR GIVE \n\ + \ GROUNDS FOR A LICENSE BY IMPLICATION, ESTOPPEL, OR OTHERWISE IN ANY INTELLECTUAL\n PROPERTY RIGHTS (PATENT, COPYRIGHT,\ + \ TRADE SECRET, MASK WORK, OR OTHER PROPRIETARY\n RIGHT) EMBODIED IN ANY OTHER QLOGIC HARDWARE OR SOFTWARE EITHER SOLELY OR IN\n\ + \ COMBINATION WITH THIS PROGRAM." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netxen.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netxen.copyright.expected.yml index 0baf2780a5a..759be04b1c3 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netxen.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-netxen.copyright.expected.yml @@ -1,3 +1,38 @@ -- -- qlogic-firmware -- Copyright (c) 2003-2010 QLogic Corporation QLogic Linux Intelligent Ethernet +primary_license: +declared_license: +license_expression: qlogic-firmware +copyright: Copyright (c) 2003-2010 QLogic Corporation QLogic Linux Intelligent Ethernet +matches: + - score: '100.0' + start_line: 7 + end_line: 34 + matcher: 2-aho + rule_length: 262 + matched_length: 262 + match_coverage: '100.0' + rule_relevance: 100 + identifier: qlogic-firmware.LICENSE + license_expression: qlogic-firmware + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in binary form, without modification, for use in conjunction\n\ + \ with QLogic authorized products is permitted provided that the following conditions\n\ + \ are met:\n \n 1. Redistribution in binary form must reproduce the above copyright notice, this \n\ + \ list of conditions and the following disclaimer in the documentation and/or \n \ + \ other materials provided with the distribution.\n 2. The name of QLogic Corporation may not be used to\ + \ endorse or promote products \n derived from this software without specific prior written permission.\n\ + \ 3. Reverse engineering, decompilation, or disassembly of this firmware is not \n \ + \ permitted.\n \n REGARDLESS OF WHAT LICENSING MECHANISM IS USED OR APPLICABLE,THIS PROGRAM IS \n\ + \ PROVIDED BY QLOGIC CORPORATION \"AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, \n INCLUDING, BUT NOT LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND \n FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\n\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR \n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE \n GOODS OR SERVICES; LOSS OF USE,DATA, OR PROFITS; OR BUSINESS INTERRUPTION) \n\ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT \n LIABILITY,OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n\ + \ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\ + \ \n USER ACKNOWLEDGES AND AGREES THAT USE OF THIS PROGRAM WILL NOT CREATE OR GIVE \n\ + \ GROUNDS FOR A LICENSE BY IMPLICATION, ESTOPPEL, OR OTHERWISE IN ANY INTELLECTUAL\n PROPERTY RIGHTS (PATENT, COPYRIGHT,\ + \ TRADE SECRET, MASK WORK, OR OTHER PROPRIETARY\n RIGHT) EMBODIED IN ANY OTHER QLOGIC HARDWARE OR SOFTWARE EITHER SOLELY OR IN\n\ + \ COMBINATION WITH THIS PROGRAM." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qcom-media.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qcom-media.copyright-detailed.expected.yml index 994ca3e7131..cb4ae708c19 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qcom-media.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qcom-media.copyright-detailed.expected.yml @@ -1,12 +1,16 @@ -- -- unknown-license-reference AND free-unknown AND proprietary-license AND openssl-ssleay AND - zlib AND public-domain AND bsd-new AND gary-s-brown AND other-permissive AND isc AND bsd-unmodified - AND (gpl-2.0 OR bsd-new) AND bsd-original -- | +primary_license: +declared_license: +license_expression: free-unknown AND proprietary-license AND proprietary-license AND openssl-ssleay + AND openssl-ssleay AND openssl-ssleay AND zlib AND zlib AND public-domain AND bsd-new AND + gary-s-brown AND other-permissive AND public-domain AND isc AND public-domain AND bsd-unmodified + AND (gpl-2.0 OR bsd-new) AND (gpl-2.0 OR bsd-new) AND bsd-original AND bsd-new AND bsd-new + AND isc +copyright: | Copyright (c) 2013-2017 Qualcomm Technologies, Inc. Copyright (c) 2013-2017 Qualcomm Technologies, Inc. Copyright (c) 1998-2011 The OpenSSL Project Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + holder is Tim Hudson (tjh@cryptsoft.com) Copyright (c) 1995-2005 Jean-loup Gailly Copyright (c) 1995-2009 Mark Adler Copyright (c) 1995-2003, 2010 Mark Adler @@ -20,3 +24,591 @@ Copyright (c) 2000-2001, Aaron D. Gifford Copyright (c) 1998 Todd C. Miller Copyright (c) 1998 Todd C. Miller +matches: + - score: '50.0' + start_line: 54 + end_line: 54 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 50 + identifier: free-unknown_88.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: open source license + - score: '16.0' + start_line: 86 + end_line: 87 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: proprietary_36.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + confidential and + proprietary + - score: '44.44' + start_line: 231 + end_line: 234 + matcher: 3-seq + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 50 + identifier: proprietary-license_557.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is a trademark of [Qualcomm] [Incorporated], registered in the + United States and other countries. All [Qualcomm] [Incorporated] trademarks are used + with permission. Other products and brand names may be trademarks or registered + trademarks of their respective owners. + - score: '98.28' + start_line: 237 + end_line: 244 + matcher: 3-seq + rule_length: 58 + matched_length: 57 + match_coverage: '98.28' + rule_relevance: 100 + identifier: openssl-ssleay_42.RULE + license_expression: openssl-ssleay + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "LICENSE [ISSUES]\n ==============\n \n The OpenSSL toolkit stays under\ + \ a dual license, i.e. both the conditions of\n the OpenSSL License and the original\ + \ SSLeay license apply to the toolkit.\n See below for the actual license texts. Actually\ + \ both licenses are BSD-style\n Open Source licenses. In case of any license issues\ + \ related to OpenSSL\n please contact openssl-core@openssl.org." + - score: '100.0' + start_line: 246 + end_line: 246 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openssl-ssleay_2.RULE + license_expression: openssl-ssleay + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: OpenSSL License + - score: '100.0' + start_line: 252 + end_line: 360 + matcher: 2-aho + rule_length: 799 + matched_length: 799 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openssl-ssleay_34.RULE + license_expression: openssl-ssleay + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n * modification,\ + \ are permitted provided that the following conditions\n * are met:\n *\n * 1. Redistributions\ + \ of source code must retain the above copyright\n * notice, this list of conditions\ + \ and the following disclaimer.\n *\n * 2. Redistributions in binary form must reproduce\ + \ the above copyright\n * notice, this list of conditions and the following disclaimer\ + \ in\n * the documentation and/or other materials provided with the\n * distribution.\n\ + \ *\n * 3. All advertising materials mentioning features or use of this\n * software\ + \ must display the following acknowledgment:\n * \"This product includes software\ + \ developed by the OpenSSL Project\n * for use in the OpenSSL Toolkit. (http://www.openssl.org/)\"\ + \n *\n * 4. The names \"OpenSSL Toolkit\" and \"OpenSSL Project\" must not be used to\n\ + \ * endorse or promote products derived from this software without\n * prior written\ + \ permission. For written permission, please contact\n * openssl-core@openssl.org.\n\ + \ *\n * 5. Products derived from this software may not be called \"OpenSSL\"\n * \ + \ nor may \"OpenSSL\" appear in their names without prior written\n * permission\ + \ of the OpenSSL Project.\n *\n * 6. Redistributions of any form whatsoever must retain\ + \ the following\n * acknowledgment:\n * \"This product includes software developed\ + \ by the OpenSSL Project\n * for use in the OpenSSL Toolkit (http://www.openssl.org/)\"\ + \n *\n * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY\n * EXPRESSED\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF\ + \ MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n * PURPOSE ARE DISCLAIMED. IN NO EVENT\ + \ SHALL THE OpenSSL PROJECT OR\n * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\ + \ INCIDENTAL,\n * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n * NOT\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n * LOSS OF USE, DATA, OR\ + \ PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n * OF THE POSSIBILITY\ + \ OF SUCH DAMAGE.\n * ====================================================================\n\ + \ *\n * This product includes cryptographic software written by Eric Young\n * (eay@cryptsoft.com).\ + \ This product includes software written by Tim\n * Hudson (tjh@cryptsoft.com).\n *\n\ + \ */\n \n Original SSLeay License\n -----------------------\n \n /* Copyright (C) 1995-1998\ + \ Eric Young (eay@cryptsoft.com)\n * All rights reserved.\n *\n * This package is an\ + \ SSL implementation written\n * by Eric Young (eay@cryptsoft.com).\n * The implementation\ + \ was written so as to conform with Netscapes SSL.\n *\n * This library is free for\ + \ commercial and non-commercial use as long as\n * the following conditions are aheared\ + \ to. The following conditions\n * apply to all code found in this distribution, be\ + \ it the RC4, RSA,\n * lhash, DES, etc., code; not just the SSL code. The SSL documentation\n\ + \ * included with this distribution is covered by the same copyright terms\n * except\ + \ that the holder is Tim Hudson (tjh@cryptsoft.com).\n *\n * Copyright remains Eric\ + \ Young's, and as such any Copyright notices in\n * the code are not to be removed.\n\ + \ * If this package is used in a product, Eric Young should be given attribution\n *\ + \ as the author of the parts of the library used.\n * This can be in the form of a textual\ + \ message at program startup or\n * in documentation (online or textual) provided with\ + \ the package.\n *\n * Redistribution and use in source and binary forms, with or without\n\ + \ * modification, are permitted provided that the following conditions\n * are met:\n\ + \ * 1. Redistributions of source code must retain the copyright\n * notice, this\ + \ list of conditions and the following disclaimer.\n * 2. Redistributions in binary form\ + \ must reproduce the above copyright\n * notice, this list of conditions and the following\ + \ disclaimer in the\n * documentation and/or other materials provided with the distribution.\n\ + \ * 3. All advertising materials mentioning features or use of this software\n * \ + \ must display the following acknowledgement:\n * \"This product includes cryptographic\ + \ software written by\n * Eric Young (eay@cryptsoft.com)\"\n * The word 'cryptographic'\ + \ can be left out if the rouines from the library\n * being used are not cryptographic\ + \ related :-).\n * 4. If you include any Windows specific code (or a derivative thereof)\ + \ from\n * the apps directory (application code) you must include an acknowledgement:\n\ + \ * \"This product includes software written by Tim Hudson (tjh@cryptsoft.com)\"\n\ + \ *\n * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n * The\ + \ licence and distribution terms for any publically available version or\n * derivative\ + \ of this code cannot be changed. i.e. this code cannot simply be\n * copied and put\ + \ under another distribution licence\n * [including the GNU Public Licence.]" + - score: '100.0' + start_line: 371 + end_line: 371 + matcher: 2-aho + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib_5.RULE + license_expression: zlib + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: For conditions of distribution and use, see copyright notice in zlib.h + - score: '100.0' + start_line: 380 + end_line: 396 + matcher: 2-aho + rule_length: 144 + matched_length: 144 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib_17.RULE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is provided 'as-is', without any express or implied\n warranty.\ + \ In no event will the authors be held liable for any damages\n arising from the use\ + \ of this software.\n \n Permission is granted to anyone to use this software for any\ + \ purpose,\n including commercial applications, and to alter it and redistribute it\n\ + \ freely, subject to the following restrictions:\n \n 1. The origin of this software\ + \ must not be misrepresented; you must not\n claim that you wrote the original software.\ + \ If you use this software\n in a product, an acknowledgment in the product documentation\ + \ would be\n appreciated but is not required.\n 2. Altered source versions must\ + \ be plainly marked as such, and must not be\n misrepresented as being the original\ + \ software.\n 3. This notice may not be removed or altered from any source distribution.\n\ + \ Jean-loup Gailly Mark Adler\n jloup@gzip.org madler@alumni.caltech.edu" + - score: '100.0' + start_line: 413 + end_line: 415 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_303.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This code was + * written by Colin Plumb in 1993, no copyright is claimed. + * This code is in the public domain; do with it what you wish. + - score: '100.0' + start_line: 439 + end_line: 461 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_68.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the copyright holder nor the names of contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTOR(S) ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTOR(S) BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + - score: '88.0' + start_line: 469 + end_line: 470 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 88 + identifier: gary-s-brown.LICENSE + license_expression: gary-s-brown + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may use this program, or + * code or tables extracted from it, as desired without restriction. + - score: '100.0' + start_line: 514 + end_line: 519 + matcher: 2-aho + rule_length: 74 + matched_length: 74 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_105.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + I retain copyright in this code but I encourage its free use provided + that I don't carry any responsibility for the results. I am especially + happy to see it used in free and open source software. If you do use + it I would appreciate an acknowledgement of its origin in the code or + the product that results and I would also appreciate knowing a liitle + about the use to which it is being put. + - score: '100.0' + start_line: 531 + end_line: 531 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_177.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This code is in the public domain. + - score: '61.68' + start_line: 533 + end_line: 539 + matcher: 3-seq + rule_length: 107 + matched_length: 66 + match_coverage: '61.68' + rule_relevance: 100 + identifier: isc_28.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO + * EVENT SHALL [LANDON] [CURT] [NOLL] BE LIABLE FOR ANY SPECIAL, INDIRECT OR + * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF + * USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + * PERFORMANCE OF THIS SOFTWARE. + - score: '100.0' + start_line: 549 + end_line: 549 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_298.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: IN THE PUBLIC DOMAIN + - score: '61.96' + start_line: 551 + end_line: 564 + matcher: 3-seq + rule_length: 184 + matched_length: 114 + match_coverage: '61.96' + rule_relevance: 100 + identifier: bsd-unmodified_1.RULE + license_expression: bsd-unmodified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + unmodified [version] [is] [available] [at]: + * [ftp]://[ftp].[funet].[fi]/[pub]/[crypt]/[hash]/[sha]/[sha1].[c] + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + - score: '100.0' + start_line: 580 + end_line: 587 + matcher: 2-aho + rule_length: 50 + matched_length: 50 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_or_bsd-new_aes_1.RULE + license_expression: gpl-2.0 OR bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * Alternatively, this software may be distributed under the terms of BSD + * license. + * + * See README and COPYING for more details. + - score: '100.0' + start_line: 594 + end_line: 601 + matcher: 2-aho + rule_length: 50 + matched_length: 50 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_or_bsd-new_aes_1.RULE + license_expression: gpl-2.0 OR bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * Alternatively, this software may be distributed under the terms of BSD + * license. + * + * See README and COPYING for more details. + - score: '90.17' + start_line: 613 + end_line: 635 + matcher: 3-seq + rule_length: 234 + matched_length: 211 + match_coverage: '90.17' + rule_relevance: 100 + identifier: bsd-original_6.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the [copyright] [holder] nor the names of contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + - score: '100.0' + start_line: 646 + end_line: 668 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_68.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the copyright holder nor the names of contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTOR(S) "AS IS" AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTOR(S) BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + - score: '100.0' + start_line: 677 + end_line: 697 + matcher: 2-aho + rule_length: 200 + matched_length: 200 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_76.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. The name of the author may not be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; + * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 705 + end_line: 715 + matcher: 2-aho + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qcom-media.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qcom-media.copyright.expected.yml index 994ca3e7131..9770d32bc0f 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qcom-media.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qcom-media.copyright.expected.yml @@ -1,12 +1,14 @@ -- -- unknown-license-reference AND free-unknown AND proprietary-license AND openssl-ssleay AND - zlib AND public-domain AND bsd-new AND gary-s-brown AND other-permissive AND isc AND bsd-unmodified - AND (gpl-2.0 OR bsd-new) AND bsd-original -- | +primary_license: +declared_license: +license_expression: free-unknown AND proprietary-license AND openssl-ssleay AND zlib AND public-domain + AND bsd-new AND gary-s-brown AND other-permissive AND isc AND bsd-unmodified AND (gpl-2.0 + OR bsd-new) AND bsd-original +copyright: | Copyright (c) 2013-2017 Qualcomm Technologies, Inc. Copyright (c) 2013-2017 Qualcomm Technologies, Inc. Copyright (c) 1998-2011 The OpenSSL Project Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + holder is Tim Hudson (tjh@cryptsoft.com) Copyright (c) 1995-2005 Jean-loup Gailly Copyright (c) 1995-2009 Mark Adler Copyright (c) 1995-2003, 2010 Mark Adler @@ -20,3 +22,591 @@ Copyright (c) 2000-2001, Aaron D. Gifford Copyright (c) 1998 Todd C. Miller Copyright (c) 1998 Todd C. Miller +matches: + - score: '50.0' + start_line: 54 + end_line: 54 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 50 + identifier: free-unknown_88.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: open source license + - score: '16.0' + start_line: 86 + end_line: 87 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: proprietary_36.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + confidential and + proprietary + - score: '44.44' + start_line: 231 + end_line: 234 + matcher: 3-seq + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 50 + identifier: proprietary-license_557.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is a trademark of [Qualcomm] [Incorporated], registered in the + United States and other countries. All [Qualcomm] [Incorporated] trademarks are used + with permission. Other products and brand names may be trademarks or registered + trademarks of their respective owners. + - score: '98.28' + start_line: 237 + end_line: 244 + matcher: 3-seq + rule_length: 58 + matched_length: 57 + match_coverage: '98.28' + rule_relevance: 100 + identifier: openssl-ssleay_42.RULE + license_expression: openssl-ssleay + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "LICENSE [ISSUES]\n ==============\n \n The OpenSSL toolkit stays under\ + \ a dual license, i.e. both the conditions of\n the OpenSSL License and the original\ + \ SSLeay license apply to the toolkit.\n See below for the actual license texts. Actually\ + \ both licenses are BSD-style\n Open Source licenses. In case of any license issues\ + \ related to OpenSSL\n please contact openssl-core@openssl.org." + - score: '100.0' + start_line: 246 + end_line: 246 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openssl-ssleay_2.RULE + license_expression: openssl-ssleay + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: OpenSSL License + - score: '100.0' + start_line: 252 + end_line: 360 + matcher: 2-aho + rule_length: 799 + matched_length: 799 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openssl-ssleay_34.RULE + license_expression: openssl-ssleay + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n * modification,\ + \ are permitted provided that the following conditions\n * are met:\n *\n * 1. Redistributions\ + \ of source code must retain the above copyright\n * notice, this list of conditions\ + \ and the following disclaimer.\n *\n * 2. Redistributions in binary form must reproduce\ + \ the above copyright\n * notice, this list of conditions and the following disclaimer\ + \ in\n * the documentation and/or other materials provided with the\n * distribution.\n\ + \ *\n * 3. All advertising materials mentioning features or use of this\n * software\ + \ must display the following acknowledgment:\n * \"This product includes software\ + \ developed by the OpenSSL Project\n * for use in the OpenSSL Toolkit. (http://www.openssl.org/)\"\ + \n *\n * 4. The names \"OpenSSL Toolkit\" and \"OpenSSL Project\" must not be used to\n\ + \ * endorse or promote products derived from this software without\n * prior written\ + \ permission. For written permission, please contact\n * openssl-core@openssl.org.\n\ + \ *\n * 5. Products derived from this software may not be called \"OpenSSL\"\n * \ + \ nor may \"OpenSSL\" appear in their names without prior written\n * permission\ + \ of the OpenSSL Project.\n *\n * 6. Redistributions of any form whatsoever must retain\ + \ the following\n * acknowledgment:\n * \"This product includes software developed\ + \ by the OpenSSL Project\n * for use in the OpenSSL Toolkit (http://www.openssl.org/)\"\ + \n *\n * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY\n * EXPRESSED\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF\ + \ MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n * PURPOSE ARE DISCLAIMED. IN NO EVENT\ + \ SHALL THE OpenSSL PROJECT OR\n * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\ + \ INCIDENTAL,\n * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n * NOT\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n * LOSS OF USE, DATA, OR\ + \ PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n * OF THE POSSIBILITY\ + \ OF SUCH DAMAGE.\n * ====================================================================\n\ + \ *\n * This product includes cryptographic software written by Eric Young\n * (eay@cryptsoft.com).\ + \ This product includes software written by Tim\n * Hudson (tjh@cryptsoft.com).\n *\n\ + \ */\n \n Original SSLeay License\n -----------------------\n \n /* Copyright (C) 1995-1998\ + \ Eric Young (eay@cryptsoft.com)\n * All rights reserved.\n *\n * This package is an\ + \ SSL implementation written\n * by Eric Young (eay@cryptsoft.com).\n * The implementation\ + \ was written so as to conform with Netscapes SSL.\n *\n * This library is free for\ + \ commercial and non-commercial use as long as\n * the following conditions are aheared\ + \ to. The following conditions\n * apply to all code found in this distribution, be\ + \ it the RC4, RSA,\n * lhash, DES, etc., code; not just the SSL code. The SSL documentation\n\ + \ * included with this distribution is covered by the same copyright terms\n * except\ + \ that the holder is Tim Hudson (tjh@cryptsoft.com).\n *\n * Copyright remains Eric\ + \ Young's, and as such any Copyright notices in\n * the code are not to be removed.\n\ + \ * If this package is used in a product, Eric Young should be given attribution\n *\ + \ as the author of the parts of the library used.\n * This can be in the form of a textual\ + \ message at program startup or\n * in documentation (online or textual) provided with\ + \ the package.\n *\n * Redistribution and use in source and binary forms, with or without\n\ + \ * modification, are permitted provided that the following conditions\n * are met:\n\ + \ * 1. Redistributions of source code must retain the copyright\n * notice, this\ + \ list of conditions and the following disclaimer.\n * 2. Redistributions in binary form\ + \ must reproduce the above copyright\n * notice, this list of conditions and the following\ + \ disclaimer in the\n * documentation and/or other materials provided with the distribution.\n\ + \ * 3. All advertising materials mentioning features or use of this software\n * \ + \ must display the following acknowledgement:\n * \"This product includes cryptographic\ + \ software written by\n * Eric Young (eay@cryptsoft.com)\"\n * The word 'cryptographic'\ + \ can be left out if the rouines from the library\n * being used are not cryptographic\ + \ related :-).\n * 4. If you include any Windows specific code (or a derivative thereof)\ + \ from\n * the apps directory (application code) you must include an acknowledgement:\n\ + \ * \"This product includes software written by Tim Hudson (tjh@cryptsoft.com)\"\n\ + \ *\n * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n * The\ + \ licence and distribution terms for any publically available version or\n * derivative\ + \ of this code cannot be changed. i.e. this code cannot simply be\n * copied and put\ + \ under another distribution licence\n * [including the GNU Public Licence.]" + - score: '100.0' + start_line: 371 + end_line: 371 + matcher: 2-aho + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib_5.RULE + license_expression: zlib + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: For conditions of distribution and use, see copyright notice in zlib.h + - score: '100.0' + start_line: 380 + end_line: 396 + matcher: 2-aho + rule_length: 144 + matched_length: 144 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib_17.RULE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is provided 'as-is', without any express or implied\n warranty.\ + \ In no event will the authors be held liable for any damages\n arising from the use\ + \ of this software.\n \n Permission is granted to anyone to use this software for any\ + \ purpose,\n including commercial applications, and to alter it and redistribute it\n\ + \ freely, subject to the following restrictions:\n \n 1. The origin of this software\ + \ must not be misrepresented; you must not\n claim that you wrote the original software.\ + \ If you use this software\n in a product, an acknowledgment in the product documentation\ + \ would be\n appreciated but is not required.\n 2. Altered source versions must\ + \ be plainly marked as such, and must not be\n misrepresented as being the original\ + \ software.\n 3. This notice may not be removed or altered from any source distribution.\n\ + \ Jean-loup Gailly Mark Adler\n jloup@gzip.org madler@alumni.caltech.edu" + - score: '100.0' + start_line: 413 + end_line: 415 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_303.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This code was + * written by Colin Plumb in 1993, no copyright is claimed. + * This code is in the public domain; do with it what you wish. + - score: '100.0' + start_line: 439 + end_line: 461 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_68.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the copyright holder nor the names of contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTOR(S) ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTOR(S) BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + - score: '88.0' + start_line: 469 + end_line: 470 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 88 + identifier: gary-s-brown.LICENSE + license_expression: gary-s-brown + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may use this program, or + * code or tables extracted from it, as desired without restriction. + - score: '100.0' + start_line: 514 + end_line: 519 + matcher: 2-aho + rule_length: 74 + matched_length: 74 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_105.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + I retain copyright in this code but I encourage its free use provided + that I don't carry any responsibility for the results. I am especially + happy to see it used in free and open source software. If you do use + it I would appreciate an acknowledgement of its origin in the code or + the product that results and I would also appreciate knowing a liitle + about the use to which it is being put. + - score: '100.0' + start_line: 531 + end_line: 531 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_177.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This code is in the public domain. + - score: '61.68' + start_line: 533 + end_line: 539 + matcher: 3-seq + rule_length: 107 + matched_length: 66 + match_coverage: '61.68' + rule_relevance: 100 + identifier: isc_28.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO + * EVENT SHALL [LANDON] [CURT] [NOLL] BE LIABLE FOR ANY SPECIAL, INDIRECT OR + * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF + * USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + * PERFORMANCE OF THIS SOFTWARE. + - score: '100.0' + start_line: 549 + end_line: 549 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_298.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: IN THE PUBLIC DOMAIN + - score: '61.96' + start_line: 551 + end_line: 564 + matcher: 3-seq + rule_length: 184 + matched_length: 114 + match_coverage: '61.96' + rule_relevance: 100 + identifier: bsd-unmodified_1.RULE + license_expression: bsd-unmodified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + unmodified [version] [is] [available] [at]: + * [ftp]://[ftp].[funet].[fi]/[pub]/[crypt]/[hash]/[sha]/[sha1].[c] + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + - score: '100.0' + start_line: 580 + end_line: 587 + matcher: 2-aho + rule_length: 50 + matched_length: 50 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_or_bsd-new_aes_1.RULE + license_expression: gpl-2.0 OR bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * Alternatively, this software may be distributed under the terms of BSD + * license. + * + * See README and COPYING for more details. + - score: '100.0' + start_line: 594 + end_line: 601 + matcher: 2-aho + rule_length: 50 + matched_length: 50 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_or_bsd-new_aes_1.RULE + license_expression: gpl-2.0 OR bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * Alternatively, this software may be distributed under the terms of BSD + * license. + * + * See README and COPYING for more details. + - score: '90.17' + start_line: 613 + end_line: 635 + matcher: 3-seq + rule_length: 234 + matched_length: 211 + match_coverage: '90.17' + rule_relevance: 100 + identifier: bsd-original_6.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the [copyright] [holder] nor the names of contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + - score: '100.0' + start_line: 646 + end_line: 668 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_68.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the copyright holder nor the names of contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTOR(S) "AS IS" AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTOR(S) BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + - score: '100.0' + start_line: 677 + end_line: 697 + matcher: 2-aho + rule_length: 200 + matched_length: 200 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_76.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. The name of the author may not be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; + * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 705 + end_line: 715 + matcher: 2-aho + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qlogic.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qlogic.copyright-detailed.expected.yml index 557b5b62018..209ddc68550 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qlogic.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qlogic.copyright-detailed.expected.yml @@ -1,14 +1,203 @@ -- - Binary redistribution (QLogic 1) +primary_license: None +declared_license: + - Binary redistribution (QLogic 1) - The OpenIB.org BSD license - Binary redistribution (QLogic 2) - Binary redistribution (QLogic BR-series) - Binary redistribution (QLogic 3) -- bsd-new AND linux-openib AND qlogic-microcode AND (other-permissive AND proprietary-license) - AND other-permissive -- | +license_expression: bsd-new AND linux-openib AND qlogic-microcode AND (other-permissive AND + proprietary-license) AND other-permissive +copyright: | 1995, 1996, 1997, 1998, 1999, 2000, QLogic, Inc. 2007, 2008. QLogic Corporation 2003-2006, QLogic Corporation 2013-2014, Brocade Communications Systems, Inc. 2014-2015, QLogic Corporation. 2015-2016, QLogic Corporation +matches: + - score: '97.04' + start_line: 1 + end_line: 20 + matcher: 3-seq + rule_length: 203 + matched_length: '197' + match_coverage: '97.04' + rule_relevance: 100 + identifier: bsd-new_98.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted provided + that the following conditions are met: + 1. [Redistribution] of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. [Redistribution] in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 3 + end_line: 23 + matcher: 2-aho + rule_length: 143 + matched_length: 143 + match_coverage: '100.0' + rule_relevance: 100 + identifier: linux-openib.LICENSE + license_expression: linux-openib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or + without modification, are permitted provided that the following + conditions are met: + + - Redistributions of source code must retain the above + copyright notice, this list of conditions and the following + disclaimer. + + - Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials + provided with the distribution. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 36 + matcher: 1-hash + rule_length: 260 + matched_length: 260 + match_coverage: '100.0' + rule_relevance: 100 + identifier: qlogic-microcode.LICENSE + license_expression: qlogic-microcode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may redistribute the hardware specific firmware binary file + under the following terms: + + 1. Redistribution of source code (only if applicable), + must retain the above copyright notice, this list of + conditions and the following disclaimer. + + 2. Redistribution in binary form must reproduce the above + copyright notice, this list of conditions and the + following disclaimer in the documentation and/or other + materials provided with the distribution. + + 3. The name of QLogic Corporation may not be used to + endorse or promote products derived from this software + without specific prior written permission + + REGARDLESS OF WHAT LICENSING MECHANISM IS USED OR APPLICABLE, + THIS PROGRAM IS PROVIDED BY QLOGIC CORPORATION "AS IS'' AND ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED + TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + USER ACKNOWLEDGES AND AGREES THAT USE OF THIS PROGRAM WILL NOT + CREATE OR GIVE GROUNDS FOR A LICENSE BY IMPLICATION, ESTOPPEL, OR + OTHERWISE IN ANY INTELLECTUAL PROPERTY RIGHTS (PATENT, COPYRIGHT, + TRADE SECRET, MASK WORK, OR OTHER PROPRIETARY RIGHT) EMBODIED IN + ANY OTHER QLOGIC HARDWARE OR SOFTWARE EITHER SOLELY OR IN + COMBINATION WITH THIS PROGRAM. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_66.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted for the distribution of this firmware data + in hexadecimal or equivalent format, provided this copyright notice is + accompanying it. + - score: '97.33' + start_line: 5 + end_line: 11 + matcher: 3-seq + rule_length: 73 + matched_length: 73 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_310.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + grants permission to use and redistribute these firmware files + for use with [QLogic] BR-[series] devices, but not as a part of the Linux + kernel or in any other form which would require these files themselves + to be covered by the terms of the GNU General Public License. + These firmware files are distributed in the hope that they will be + useful, but WITHOUT ANY WARRANTY; without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_66.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted for the distribution of this firmware data + in hexadecimal or equivalent format, provided this copyright notice is + accompanying it. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qlogic.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qlogic.copyright.expected.yml index 557b5b62018..209ddc68550 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qlogic.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-qlogic.copyright.expected.yml @@ -1,14 +1,203 @@ -- - Binary redistribution (QLogic 1) +primary_license: None +declared_license: + - Binary redistribution (QLogic 1) - The OpenIB.org BSD license - Binary redistribution (QLogic 2) - Binary redistribution (QLogic BR-series) - Binary redistribution (QLogic 3) -- bsd-new AND linux-openib AND qlogic-microcode AND (other-permissive AND proprietary-license) - AND other-permissive -- | +license_expression: bsd-new AND linux-openib AND qlogic-microcode AND (other-permissive AND + proprietary-license) AND other-permissive +copyright: | 1995, 1996, 1997, 1998, 1999, 2000, QLogic, Inc. 2007, 2008. QLogic Corporation 2003-2006, QLogic Corporation 2013-2014, Brocade Communications Systems, Inc. 2014-2015, QLogic Corporation. 2015-2016, QLogic Corporation +matches: + - score: '97.04' + start_line: 1 + end_line: 20 + matcher: 3-seq + rule_length: 203 + matched_length: '197' + match_coverage: '97.04' + rule_relevance: 100 + identifier: bsd-new_98.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted provided + that the following conditions are met: + 1. [Redistribution] of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. [Redistribution] in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 3 + end_line: 23 + matcher: 2-aho + rule_length: 143 + matched_length: 143 + match_coverage: '100.0' + rule_relevance: 100 + identifier: linux-openib.LICENSE + license_expression: linux-openib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or + without modification, are permitted provided that the following + conditions are met: + + - Redistributions of source code must retain the above + copyright notice, this list of conditions and the following + disclaimer. + + - Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials + provided with the distribution. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 36 + matcher: 1-hash + rule_length: 260 + matched_length: 260 + match_coverage: '100.0' + rule_relevance: 100 + identifier: qlogic-microcode.LICENSE + license_expression: qlogic-microcode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may redistribute the hardware specific firmware binary file + under the following terms: + + 1. Redistribution of source code (only if applicable), + must retain the above copyright notice, this list of + conditions and the following disclaimer. + + 2. Redistribution in binary form must reproduce the above + copyright notice, this list of conditions and the + following disclaimer in the documentation and/or other + materials provided with the distribution. + + 3. The name of QLogic Corporation may not be used to + endorse or promote products derived from this software + without specific prior written permission + + REGARDLESS OF WHAT LICENSING MECHANISM IS USED OR APPLICABLE, + THIS PROGRAM IS PROVIDED BY QLOGIC CORPORATION "AS IS'' AND ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED + TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + USER ACKNOWLEDGES AND AGREES THAT USE OF THIS PROGRAM WILL NOT + CREATE OR GIVE GROUNDS FOR A LICENSE BY IMPLICATION, ESTOPPEL, OR + OTHERWISE IN ANY INTELLECTUAL PROPERTY RIGHTS (PATENT, COPYRIGHT, + TRADE SECRET, MASK WORK, OR OTHER PROPRIETARY RIGHT) EMBODIED IN + ANY OTHER QLOGIC HARDWARE OR SOFTWARE EITHER SOLELY OR IN + COMBINATION WITH THIS PROGRAM. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_66.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted for the distribution of this firmware data + in hexadecimal or equivalent format, provided this copyright notice is + accompanying it. + - score: '97.33' + start_line: 5 + end_line: 11 + matcher: 3-seq + rule_length: 73 + matched_length: 73 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_310.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + grants permission to use and redistribute these firmware files + for use with [QLogic] BR-[series] devices, but not as a part of the Linux + kernel or in any other form which would require these files themselves + to be covered by the terms of the GNU General Public License. + These firmware files are distributed in the hope that they will be + useful, but WITHOUT ANY WARRANTY; without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_66.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted for the distribution of this firmware data + in hexadecimal or equivalent format, provided this copyright notice is + accompanying it. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ralink.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ralink.copyright-detailed.expected.yml index 62aadc68e24..8bf73205cab 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ralink.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ralink.copyright-detailed.expected.yml @@ -1,5 +1,49 @@ -- -- gpl-2.0-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND gpl-2.0 +copyright: | Copyright 2006-2009 Bastian Blank Copyright 2009 Ben Hutchings +matches: + - score: '100.0' + start_line: 6 + end_line: 20 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_68.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n This package is free software; you can redistribute it\ + \ and/or modify\n it under the terms of the GNU General Public License as published\ + \ by\n the Free Software Foundation; either version 2 of the License, or\n (at\ + \ your option) any later version.\n \n This package is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ General Public License\n along with this package; if not, write to the Free Software\n\ + \ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA" + - score: '100.0' + start_line: 22 + end_line: 23 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ralink.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ralink.copyright.expected.yml index 62aadc68e24..8bf73205cab 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ralink.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ralink.copyright.expected.yml @@ -1,5 +1,49 @@ -- -- gpl-2.0-plus AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND gpl-2.0 +copyright: | Copyright 2006-2009 Bastian Blank Copyright 2009 Ben Hutchings +matches: + - score: '100.0' + start_line: 6 + end_line: 20 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_68.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n This package is free software; you can redistribute it\ + \ and/or modify\n it under the terms of the GNU General Public License as published\ + \ by\n the Free Software Foundation; either version 2 of the License, or\n (at\ + \ your option) any later version.\n \n This package is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ General Public License\n along with this package; if not, write to the Free Software\n\ + \ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA" + - score: '100.0' + start_line: 22 + end_line: 23 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-realtek.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-realtek.copyright-detailed.expected.yml index 9cf451bb698..0593cfbfe0d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-realtek.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-realtek.copyright-detailed.expected.yml @@ -1,6 +1,80 @@ -- - Binary redistribution (Realtek permissive) +primary_license: None +declared_license: + - Binary redistribution (Realtek permissive) - Binary redistribution (Realtek restrictive) -- other-permissive AND intel -- | +license_expression: other-permissive AND intel +copyright: | 2010-2013, Realtek Semiconductor Corporation 2009-2010, Realtek Semiconductor Corporation +matches: + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_66.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted for the distribution of this firmware + data in hexadecimal or equivalent format, provided this copyright + notice is accompanying it. + - score: '93.72' + start_line: 3 + end_line: 38 + matcher: 3-seq + rule_length: 293 + matched_length: 293 + match_coverage: '100.0' + rule_relevance: 95 + identifier: intel_1.RULE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of [Realtek] [Semiconductor] Corporation nor the names of its + suppliers may be used to endorse or promote products derived from this + software without specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software + is permitted. + + Limited patent license. [Realtek] [Semiconductor] Corporation grants a world-wide, + royalty-free, non-exclusive license under patents it now or hereafter + owns or controls to make, have made, use, import, offer to sell and + sell ("Utilize") this software, but solely to the extent that any + such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not apply to + any other combinations which include this software. No hardware per + se is licensed hereunder. + + DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-realtek.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-realtek.copyright.expected.yml index 9cf451bb698..0593cfbfe0d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-realtek.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-realtek.copyright.expected.yml @@ -1,6 +1,80 @@ -- - Binary redistribution (Realtek permissive) +primary_license: None +declared_license: + - Binary redistribution (Realtek permissive) - Binary redistribution (Realtek restrictive) -- other-permissive AND intel -- | +license_expression: other-permissive AND intel +copyright: | 2010-2013, Realtek Semiconductor Corporation 2009-2010, Realtek Semiconductor Corporation +matches: + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_66.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted for the distribution of this firmware + data in hexadecimal or equivalent format, provided this copyright + notice is accompanying it. + - score: '93.72' + start_line: 3 + end_line: 38 + matcher: 3-seq + rule_length: 293 + matched_length: 293 + match_coverage: '100.0' + rule_relevance: 95 + identifier: intel_1.RULE + license_expression: intel + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of [Realtek] [Semiconductor] Corporation nor the names of its + suppliers may be used to endorse or promote products derived from this + software without specific prior written permission. + * No reverse engineering, decompilation, or disassembly of this software + is permitted. + + Limited patent license. [Realtek] [Semiconductor] Corporation grants a world-wide, + royalty-free, non-exclusive license under patents it now or hereafter + owns or controls to make, have made, use, import, offer to sell and + sell ("Utilize") this software, but solely to the extent that any + such patent is necessary to Utilize the software alone, or in + combination with an operating system licensed under an approved Open + Source license as listed by the Open Source Initiative at + http://opensource.org/licenses. The patent license shall not apply to + any other combinations which include this software. No hardware per + se is licensed hereunder. + + DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-samsung.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-samsung.copyright-detailed.expected.yml index 998939d2fab..d93c35c8132 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-samsung.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-samsung.copyright-detailed.expected.yml @@ -1,3 +1,26 @@ -- -- proprietary-license -- Copyright 2011-2014 Samsung Electronics Co. +primary_license: +declared_license: +license_expression: proprietary-license +copyright: Copyright 2011-2014 Samsung Electronics Co. +matches: + - score: '100.0' + start_line: 6 + end_line: 13 + matcher: 2-aho + rule_length: 77 + matched_length: 77 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_307.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Samsung grants permission to use and redistribute aforementioned firmware\n\ + \ files for the use with Exynos series devices, but not as part of the Linux\n kernel,\ + \ or in any other form which would require these files themselves\n to be covered by the\ + \ terms of the GNU General Public License.\n \n These firmware files are distributed in\ + \ the hope that they will be\n useful, but WITHOUT ANY WARRANTY; without even the implied\ + \ warranty\n of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-samsung.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-samsung.copyright.expected.yml index 998939d2fab..d93c35c8132 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-samsung.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-samsung.copyright.expected.yml @@ -1,3 +1,26 @@ -- -- proprietary-license -- Copyright 2011-2014 Samsung Electronics Co. +primary_license: +declared_license: +license_expression: proprietary-license +copyright: Copyright 2011-2014 Samsung Electronics Co. +matches: + - score: '100.0' + start_line: 6 + end_line: 13 + matcher: 2-aho + rule_length: 77 + matched_length: 77 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_307.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Samsung grants permission to use and redistribute aforementioned firmware\n\ + \ files for the use with Exynos series devices, but not as part of the Linux\n kernel,\ + \ or in any other form which would require these files themselves\n to be covered by the\ + \ terms of the GNU General Public License.\n \n These firmware files are distributed in\ + \ the hope that they will be\n useful, but WITHOUT ANY WARRANTY; without even the implied\ + \ warranty\n of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-siano.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-siano.copyright-detailed.expected.yml index f1a9ab2d1c1..fd6165b71f0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-siano.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-siano.copyright-detailed.expected.yml @@ -1,3 +1,36 @@ -- -- intel-bcl -- Copyright (c) 2005-2014 Siano Mobile Silicon Ltd. +primary_license: +declared_license: +license_expression: bsd-new +copyright: Copyright (c) 2005-2014 Siano Mobile Silicon Ltd. +matches: + - score: '97.98' + start_line: 9 + end_line: 34 + matcher: 3-seq + rule_length: '194' + matched_length: '194' + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_1006.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution. Redistribution and use in binary form, without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ must reproduce the above copyright notice and the\n following disclaimer in the documentation\ + \ and/or other materials\n provided with the distribution.\n \n * Neither the name of\ + \ [Siano] [Mobile] [Silicon] [Ltd]. nor the names of its\n suppliers may be used to endorse\ + \ or promote products derived from this\n software without specific prior written permission.\n\ + \ \n * No reverse engineering, decompilation, or disassembly of this software\n is permitted.\n\ + \ \n DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND\n CONTRIBUTORS\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\n BUT NOT LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND\n FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\ + \ IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n USE, DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\n ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\ + \ OF THE USE OF\n THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE" diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-siano.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-siano.copyright.expected.yml index f1a9ab2d1c1..fd6165b71f0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-siano.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-siano.copyright.expected.yml @@ -1,3 +1,36 @@ -- -- intel-bcl -- Copyright (c) 2005-2014 Siano Mobile Silicon Ltd. +primary_license: +declared_license: +license_expression: bsd-new +copyright: Copyright (c) 2005-2014 Siano Mobile Silicon Ltd. +matches: + - score: '97.98' + start_line: 9 + end_line: 34 + matcher: 3-seq + rule_length: '194' + matched_length: '194' + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_1006.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution. Redistribution and use in binary form, without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ must reproduce the above copyright notice and the\n following disclaimer in the documentation\ + \ and/or other materials\n provided with the distribution.\n \n * Neither the name of\ + \ [Siano] [Mobile] [Silicon] [Ltd]. nor the names of its\n suppliers may be used to endorse\ + \ or promote products derived from this\n software without specific prior written permission.\n\ + \ \n * No reverse engineering, decompilation, or disassembly of this software\n is permitted.\n\ + \ \n DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND\n CONTRIBUTORS\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\n BUT NOT LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND\n FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\ + \ IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n USE, DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\n ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\ + \ OF THE USE OF\n THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE" diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ti-connectivity.copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ti-connectivity.copyright-detailed.expected.yml index 2de1c526585..518bfbafa57 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ti-connectivity.copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ti-connectivity.copyright-detailed.expected.yml @@ -1,3 +1,55 @@ -- - Binary redistribution (wl1251) -- unknown-license-reference AND bsd-source-code AND bsd-source-code -- 2000-2016, Texas Instruments Incorporated +primary_license: None +declared_license: + - Binary redistribution (wl1251) +license_expression: proprietary-license +copyright: 2000-2016, Texas Instruments Incorporated +matches: + - score: '100.0' + start_line: 1 + end_line: 57 + matcher: 1-hash + rule_length: 434 + matched_length: 434 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_556.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "All rights reserved not granted herein.\n\nLimited License.\n\nTexas Instruments\ + \ Incorporated grants a world-wide, royalty-free, non-exclusive\nlicense under copyrights\ + \ and patents it now or hereafter owns or controls to\nmake, have made, use, import, offer\ + \ to sell and sell (\"Utilize\") this software\nsubject to the terms herein. With respect\ + \ to the foregoing patent license,\nsuch license is granted solely to the extent that\ + \ any such patent is necessary\nto Utilize the software alone. The patent license shall\ + \ not apply to any\ncombinations which include this software, other than combinations\ + \ with devices\nmanufactured by or for TI (“TI Devices”). No hardware patent is licensed\n\ + hereunder.\n\nRedistributions must preserve existing copyright notices and reproduce this\n\ + license (including the above copyright notice and the disclaimer and (if\napplicable)\ + \ source code license limitations below) in the documentation and/or\nother materials\ + \ provided with the distribution\n\nRedistribution and use in binary form, without modification,\ + \ are permitted\nprovided that the following conditions are met:\n\n*\tNo reverse engineering,\ + \ decompilation, or disassembly of this software\nis permitted with respect to any software\ + \ provided in binary form.\n\n*\tany redistribution and use are licensed by TI for use\ + \ only with TI\nDevices.\n\n*\tNothing shall obligate TI to provide you with source code\ + \ for the\nsoftware licensed and provided to you in object code.\n\nIf software source\ + \ code is provided to you, modification and redistribution of\nthe source code are permitted\ + \ provided that the following conditions are met:\n\n*\tany redistribution and use of\ + \ the source code, including any resulting\nderivative works, are licensed by TI for use\ + \ only with TI Devices.\n\n*\tany redistribution and use of any object code compiled from\ + \ the source\ncode and any resulting derivative works, are licensed by TI for use\nonly\ + \ with TI Devices.\n\nNeither the name of Texas Instruments Incorporated nor the names\ + \ of its\nsuppliers may be used to endorse or promote products derived from this software\n\ + without specific prior written permission.\n\nDISCLAIMER.\n\nTHIS SOFTWARE IS PROVIDED\ + \ BY TI AND TI’S LICENSORS \"AS IS\" AND ANY EXPRESS OR\nIMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR\ + \ PURPOSE ARE DISCLAIMED. IN NO\nEVENT SHALL TI AND TI’S LICENSORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT,\nINCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\ + \ NOT\nLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n\ + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\nLIABILITY, WHETHER\ + \ IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\nOR OTHERWISE) ARISING\ + \ IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\nADVISED OF THE POSSIBILITY OF SUCH\ + \ DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ti-connectivity.copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ti-connectivity.copyright.expected.yml index 2de1c526585..518bfbafa57 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ti-connectivity.copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/f/firmware-nonfree/stable_firmware-ti-connectivity.copyright.expected.yml @@ -1,3 +1,55 @@ -- - Binary redistribution (wl1251) -- unknown-license-reference AND bsd-source-code AND bsd-source-code -- 2000-2016, Texas Instruments Incorporated +primary_license: None +declared_license: + - Binary redistribution (wl1251) +license_expression: proprietary-license +copyright: 2000-2016, Texas Instruments Incorporated +matches: + - score: '100.0' + start_line: 1 + end_line: 57 + matcher: 1-hash + rule_length: 434 + matched_length: 434 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_556.RULE + license_expression: proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "All rights reserved not granted herein.\n\nLimited License.\n\nTexas Instruments\ + \ Incorporated grants a world-wide, royalty-free, non-exclusive\nlicense under copyrights\ + \ and patents it now or hereafter owns or controls to\nmake, have made, use, import, offer\ + \ to sell and sell (\"Utilize\") this software\nsubject to the terms herein. With respect\ + \ to the foregoing patent license,\nsuch license is granted solely to the extent that\ + \ any such patent is necessary\nto Utilize the software alone. The patent license shall\ + \ not apply to any\ncombinations which include this software, other than combinations\ + \ with devices\nmanufactured by or for TI (“TI Devices”). No hardware patent is licensed\n\ + hereunder.\n\nRedistributions must preserve existing copyright notices and reproduce this\n\ + license (including the above copyright notice and the disclaimer and (if\napplicable)\ + \ source code license limitations below) in the documentation and/or\nother materials\ + \ provided with the distribution\n\nRedistribution and use in binary form, without modification,\ + \ are permitted\nprovided that the following conditions are met:\n\n*\tNo reverse engineering,\ + \ decompilation, or disassembly of this software\nis permitted with respect to any software\ + \ provided in binary form.\n\n*\tany redistribution and use are licensed by TI for use\ + \ only with TI\nDevices.\n\n*\tNothing shall obligate TI to provide you with source code\ + \ for the\nsoftware licensed and provided to you in object code.\n\nIf software source\ + \ code is provided to you, modification and redistribution of\nthe source code are permitted\ + \ provided that the following conditions are met:\n\n*\tany redistribution and use of\ + \ the source code, including any resulting\nderivative works, are licensed by TI for use\ + \ only with TI Devices.\n\n*\tany redistribution and use of any object code compiled from\ + \ the source\ncode and any resulting derivative works, are licensed by TI for use\nonly\ + \ with TI Devices.\n\nNeither the name of Texas Instruments Incorporated nor the names\ + \ of its\nsuppliers may be used to endorse or promote products derived from this software\n\ + without specific prior written permission.\n\nDISCLAIMER.\n\nTHIS SOFTWARE IS PROVIDED\ + \ BY TI AND TI’S LICENSORS \"AS IS\" AND ANY EXPRESS OR\nIMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR\ + \ PURPOSE ARE DISCLAIMED. IN NO\nEVENT SHALL TI AND TI’S LICENSORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT,\nINCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\ + \ NOT\nLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n\ + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\nLIABILITY, WHETHER\ + \ IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\nOR OTHERWISE) ARISING\ + \ IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\nADVISED OF THE POSSIBILITY OF SUCH\ + \ DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-mongos/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-mongos/copyright-detailed.expected.yml index 120376bc7fe..51f1c2f874e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-mongos/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-mongos/copyright-detailed.expected.yml @@ -1,5 +1,24 @@ -- -- mongodb-sspl-1.0 -- | +primary_license: +declared_license: +license_expression: mongodb-sspl-1.0 +copyright: | Copyright 2009 10gen (c) 2009, Kristina Chodorow +matches: + - score: '100.0' + start_line: 18 + end_line: 23 + matcher: 2-aho + rule_length: 28 + matched_length: 28 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mongodb-sspl-1.0_9.RULE + license_expression: mongodb-sspl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n SSPL\n \n The Debian packaging is (C) 2009, Kristina Chodorow\ + \ and\n is licensed under the SSPL, see `https://www.mongodb.com/licensing/server-side-public-license'." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-mongos/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-mongos/copyright.expected.yml index 120376bc7fe..51f1c2f874e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-mongos/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-mongos/copyright.expected.yml @@ -1,5 +1,24 @@ -- -- mongodb-sspl-1.0 -- | +primary_license: +declared_license: +license_expression: mongodb-sspl-1.0 +copyright: | Copyright 2009 10gen (c) 2009, Kristina Chodorow +matches: + - score: '100.0' + start_line: 18 + end_line: 23 + matcher: 2-aho + rule_length: 28 + matched_length: 28 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mongodb-sspl-1.0_9.RULE + license_expression: mongodb-sspl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n SSPL\n \n The Debian packaging is (C) 2009, Kristina Chodorow\ + \ and\n is licensed under the SSPL, see `https://www.mongodb.com/licensing/server-side-public-license'." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-server/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-server/copyright-detailed.expected.yml index 120376bc7fe..51f1c2f874e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-server/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-server/copyright-detailed.expected.yml @@ -1,5 +1,24 @@ -- -- mongodb-sspl-1.0 -- | +primary_license: +declared_license: +license_expression: mongodb-sspl-1.0 +copyright: | Copyright 2009 10gen (c) 2009, Kristina Chodorow +matches: + - score: '100.0' + start_line: 18 + end_line: 23 + matcher: 2-aho + rule_length: 28 + matched_length: 28 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mongodb-sspl-1.0_9.RULE + license_expression: mongodb-sspl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n SSPL\n \n The Debian packaging is (C) 2009, Kristina Chodorow\ + \ and\n is licensed under the SSPL, see `https://www.mongodb.com/licensing/server-side-public-license'." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-server/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-server/copyright.expected.yml index 120376bc7fe..51f1c2f874e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-server/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-server/copyright.expected.yml @@ -1,5 +1,24 @@ -- -- mongodb-sspl-1.0 -- | +primary_license: +declared_license: +license_expression: mongodb-sspl-1.0 +copyright: | Copyright 2009 10gen (c) 2009, Kristina Chodorow +matches: + - score: '100.0' + start_line: 18 + end_line: 23 + matcher: 2-aho + rule_length: 28 + matched_length: 28 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mongodb-sspl-1.0_9.RULE + license_expression: mongodb-sspl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n SSPL\n \n The Debian packaging is (C) 2009, Kristina Chodorow\ + \ and\n is licensed under the SSPL, see `https://www.mongodb.com/licensing/server-side-public-license'." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-shell/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-shell/copyright-detailed.expected.yml index 120376bc7fe..51f1c2f874e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-shell/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-shell/copyright-detailed.expected.yml @@ -1,5 +1,24 @@ -- -- mongodb-sspl-1.0 -- | +primary_license: +declared_license: +license_expression: mongodb-sspl-1.0 +copyright: | Copyright 2009 10gen (c) 2009, Kristina Chodorow +matches: + - score: '100.0' + start_line: 18 + end_line: 23 + matcher: 2-aho + rule_length: 28 + matched_length: 28 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mongodb-sspl-1.0_9.RULE + license_expression: mongodb-sspl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n SSPL\n \n The Debian packaging is (C) 2009, Kristina Chodorow\ + \ and\n is licensed under the SSPL, see `https://www.mongodb.com/licensing/server-side-public-license'." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-shell/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-shell/copyright.expected.yml index 120376bc7fe..51f1c2f874e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-shell/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-shell/copyright.expected.yml @@ -1,5 +1,24 @@ -- -- mongodb-sspl-1.0 -- | +primary_license: +declared_license: +license_expression: mongodb-sspl-1.0 +copyright: | Copyright 2009 10gen (c) 2009, Kristina Chodorow +matches: + - score: '100.0' + start_line: 18 + end_line: 23 + matcher: 2-aho + rule_length: 28 + matched_length: 28 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mongodb-sspl-1.0_9.RULE + license_expression: mongodb-sspl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n SSPL\n \n The Debian packaging is (C) 2009, Kristina Chodorow\ + \ and\n is licensed under the SSPL, see `https://www.mongodb.com/licensing/server-side-public-license'." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-tools/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-tools/copyright-detailed.expected.yml index 120376bc7fe..51f1c2f874e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-tools/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-tools/copyright-detailed.expected.yml @@ -1,5 +1,24 @@ -- -- mongodb-sspl-1.0 -- | +primary_license: +declared_license: +license_expression: mongodb-sspl-1.0 +copyright: | Copyright 2009 10gen (c) 2009, Kristina Chodorow +matches: + - score: '100.0' + start_line: 18 + end_line: 23 + matcher: 2-aho + rule_length: 28 + matched_length: 28 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mongodb-sspl-1.0_9.RULE + license_expression: mongodb-sspl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n SSPL\n \n The Debian packaging is (C) 2009, Kristina Chodorow\ + \ and\n is licensed under the SSPL, see `https://www.mongodb.com/licensing/server-side-public-license'." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-tools/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-tools/copyright.expected.yml index 120376bc7fe..51f1c2f874e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-tools/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org-tools/copyright.expected.yml @@ -1,5 +1,24 @@ -- -- mongodb-sspl-1.0 -- | +primary_license: +declared_license: +license_expression: mongodb-sspl-1.0 +copyright: | Copyright 2009 10gen (c) 2009, Kristina Chodorow +matches: + - score: '100.0' + start_line: 18 + end_line: 23 + matcher: 2-aho + rule_length: 28 + matched_length: 28 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mongodb-sspl-1.0_9.RULE + license_expression: mongodb-sspl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n SSPL\n \n The Debian packaging is (C) 2009, Kristina Chodorow\ + \ and\n is licensed under the SSPL, see `https://www.mongodb.com/licensing/server-side-public-license'." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org/copyright-detailed.expected.yml index 120376bc7fe..51f1c2f874e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org/copyright-detailed.expected.yml @@ -1,5 +1,24 @@ -- -- mongodb-sspl-1.0 -- | +primary_license: +declared_license: +license_expression: mongodb-sspl-1.0 +copyright: | Copyright 2009 10gen (c) 2009, Kristina Chodorow +matches: + - score: '100.0' + start_line: 18 + end_line: 23 + matcher: 2-aho + rule_length: 28 + matched_length: 28 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mongodb-sspl-1.0_9.RULE + license_expression: mongodb-sspl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n SSPL\n \n The Debian packaging is (C) 2009, Kristina Chodorow\ + \ and\n is licensed under the SSPL, see `https://www.mongodb.com/licensing/server-side-public-license'." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org/copyright.expected.yml index 120376bc7fe..51f1c2f874e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/mongodb-org/copyright.expected.yml @@ -1,5 +1,24 @@ -- -- mongodb-sspl-1.0 -- | +primary_license: +declared_license: +license_expression: mongodb-sspl-1.0 +copyright: | Copyright 2009 10gen (c) 2009, Kristina Chodorow +matches: + - score: '100.0' + start_line: 18 + end_line: 23 + matcher: 2-aho + rule_length: 28 + matched_length: 28 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mongodb-sspl-1.0_9.RULE + license_expression: mongodb-sspl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n SSPL\n \n The Debian packaging is (C) 2009, Kristina Chodorow\ + \ and\n is licensed under the SSPL, see `https://www.mongodb.com/licensing/server-side-public-license'." diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/r/raspi3-firmware/stable_copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/r/raspi3-firmware/stable_copyright-detailed.expected.yml index eeffe4471c6..9404557695f 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/r/raspi3-firmware/stable_copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/r/raspi3-firmware/stable_copyright-detailed.expected.yml @@ -1,9 +1,249 @@ -- - Proprietary_1 +primary_license: None +declared_license: + - Proprietary_1 - Proprietary_2 - GPL-2+ -- bsd-new AND (broadcom-proprietary AND broadcom-proprietary) AND (gpl-2.0-plus AND gpl-2.0-plus) -- | +license_expression: bsd-new AND broadcom-proprietary AND (gpl-2.0-plus AND gpl-2.0-plus) +copyright: | 2006, Broadcom Corporation 2015, Raspberry Pi (Trading) Ltd 2015 Broadcom Corporation 2015 Paolo Pisati +matches: + - score: '94.33' + start_line: 3 + end_line: 27 + matcher: 3-seq + rule_length: '194' + matched_length: 183 + match_coverage: '94.33' + rule_relevance: 100 + identifier: bsd-new_1006.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * [This] [software] [may] [only] [be] [used] [for] [the] [purposes] [of] [developing] [for], + [running] [or] [using] a [Raspberry] [Pi] [device]. + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of [Broadcom] [Corporation] nor the names of its suppliers + may be used to endorse or promote products derived from this software + without specific prior written permission. + + DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 204 + matcher: 1-hash + rule_length: 1764 + matched_length: 1764 + match_coverage: '100.0' + rule_relevance: 100 + identifier: broadcom-proprietary_1.RULE + license_expression: broadcom-proprietary + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "SOFTWARE LICENSE AGREEMENT\n\nUnless you and Broadcom Corporation (“Broadcom”)\ + \ execute a separate written\nsoftware license agreement governing use of the accompanying\ + \ software, this\nsoftware is licensed to you under the terms of this Software License\ + \ Agreement\n(“Agreement”).\n\nANY USE, REPRODUCTION OR DISTRIBUTION OF THE SOFTWARE CONSTITUTES\ + \ YOUR\nACCEPTANCE OF THIS AGREEMENT.\n\n1.\tDEFINITIONS.\n\n1.1.\t“Broadcom Product”\ + \ means any of the proprietary integrated circuit\nproduct(s) sold by Broadcom with which\ + \ the Software was designed to be used, or\ntheir successors.\n\n1.2.\t“Licensee” means\ + \ you or if you are accepting on behalf of an entity\nthen the entity and its affiliates\ + \ exercising rights under, and complying with\nall of the terms of this Agreement.\n\n\ + 1.3.\t“Software” shall mean that software made available by Broadcom to\nLicensee in binary\ + \ code form with this Agreement.\n\n2.\tLICENSE GRANT; OWNERSHIP\n\n2.1.\tLicense Grants.\ + \ Subject to the terms and conditions of this Agreement,\nBroadcom hereby grants to Licensee\ + \ a non-exclusive, non-transferable,\nroyalty-free license (i) to use and integrate the\ + \ Software in conjunction with\nany other software; and (ii) to reproduce and distribute\ + \ the Software complete,\nunmodified and as provided by Broadcom, and only for use with\ + \ a Broadcom\nProduct.\n\n2.2.\tRestriction on Modification. Licensee may not make any\ + \ modifications\nto the Software.\n\n2.3.\tRestriction on Distribution. Licensee shall\ + \ only distribute the\nSoftware under the terms of this Agreement and a copy of this Agreement\n\ + accompanies such distribution.\n\n2.4.\tProprietary Notices. Licensee shall not remove,\ + \ efface or obscure any\ncopyright or trademark notices from the Software. Licensee shall\ + \ include\nreproductions of the Broadcom copyright notice with each copy of the Software,\n\ + except where such Software is embedded in a manner not readily accessible to\nthe end\ + \ user. Licensee acknowledges that any symbols, trademarks, tradenames,\nand service\ + \ marks adopted by Broadcom to identify the Software belong to\nBroadcom and that Licensee\ + \ shall have no rights therein.\n\n2.5.\tOwnership. Broadcom shall retain all right,\ + \ title and interest,\nincluding all intellectual property rights, in and to the Software.\ + \ Licensee\nhereby covenants that it will not assert any claim that the Software created\ + \ by\nor for Broadcom infringe any intellectual property right owned or controlled by\n\ + Licensee; provided however, the foregoing shall not apply in case the Agreement\nis terminated.\n\ + \n2.6.\tNo Other Rights Granted; Restrictions. Apart from the license rights\nexpressly\ + \ set forth in this Agreement, Broadcom does not grant and Licensee\ndoes not receive\ + \ any ownership right, title or interest nor any security\ninterest or other interest\ + \ in any intellectual property rights relating to the\nSoftware, nor in any copy of any\ + \ part of the foregoing. No license is granted\nto Licensee in any human readable code\ + \ of the Software (source code). Licensee\nshall not (i) use, license, sell or otherwise\ + \ distribute the Software except as\nprovided in this Agreement, (ii) attempt to modify\ + \ in any way, reverse\nengineer, decompile or disassemble any portion of the Software;\ + \ or (iii) use\nthe Software or other material in violation of any applicable law or\n\ + regulation, including but not limited to any regulatory agency, such as FCC,\nrules.\n\ + \n3.\tNO WARRANTY OR SUPPORT\n\n3.1.\tNo Warranty. THE SOFTWARE IS OFFERED “AS IS,” AND\ + \ BROADCOM GRANTS AND\nLICENSEE RECEIVES NO WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED,\ + \ BY STATUTE,\nCOMMUNICATION OR CONDUCT WITH LICENSEE, OR OTHERWISE. BROADCOM SPECIFICALLY\n\ + DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A SPECIFIC\nPURPOSE OR\ + \ NONINFRINGEMENT CONCERNING THE SOFTWARE OR ANY UPGRADES TO OR\nDOCUMENTATION FOR THE\ + \ SOFTWARE. WITHOUT LIMITATION OF THE ABOVE, BROADCOM\nGRANTS NO WARRANTY THAT THE SOFTWARE\ + \ IS ERROR-FREE OR WILL OPERATE WITHOUT\nINTERRUPTION, AND GRANTS NO WARRANTY REGARDING\ + \ ITS USE OR THE RESULTS THEREFROM\nINCLUDING, WITHOUT LIMITATION, ITS CORRECTNESS, ACCURACY\ + \ OR RELIABILITY.\n\n3.2.\tNo Support. Nothing in this agreement shall obligate Broadcom\ + \ to\nprovide any support for the Software. Broadcom may, but shall be under no\nobligation\ + \ to, correct any defects in the Software and/or provide updates to\nlicensees of the\ + \ Software. Licensee shall make reasonable efforts to promptly\nreport to Broadcom any\ + \ defects it finds in the Software, as an aid to creating\nimproved revisions of the Software.\n\ + \n3.3.\tDangerous Applications. The Software is not designed, intended, or\ncertified\ + \ for use in components of systems intended for the operation of\nweapons, weapons systems,\ + \ nuclear installations, means of mass transportation,\naviation, life-support computers\ + \ or equipment (including resuscitation\nequipment and surgical implants), pollution control,\ + \ hazardous substances\nmanagement, or for any other dangerous application in which the\ + \ failure of the\nSoftware could create a situation where personal injury or death may\ + \ occur.\nLicensee understands that use of the Software in such applications is fully\ + \ at\nthe risk of Licensee.\n\n4.\tTERM AND TERMINATION\n\n4.1.\tTermination. This Agreement\ + \ will automatically terminate if Licensee\nfails to comply with any of the terms and\ + \ conditions hereof. In such event,\nLicensee must destroy all copies of the Software\ + \ and all of its component\nparts.\n\n4.2.\tEffect Of Termination. Upon any termination\ + \ of this Agreement, the\nrights and licenses granted to Licensee under this Agreement\ + \ shall immediately\nterminate.\n\n4.3.\tSurvival. The rights and obligations under this\ + \ Agreement which by\ntheir nature should survive termination will remain in effect after\ + \ expiration\nor termination of this Agreement.\n\n5.\tCONFIDENTIALITY\n\n5.1.\tObligations.\ + \ Licensee acknowledges and agrees that any documentation\nrelating to the Software,\ + \ and any other information (if such other information\nis identified as confidential\ + \ or should be recognized as confidential under the\ncircumstances) provided to Licensee\ + \ by Broadcom hereunder (collectively,\n“Confidential Information”) constitute the confidential\ + \ and proprietary\ninformation of Broadcom, and that Licensee’s protection thereof is\ + \ an essential\ncondition to Licensee’s use and possession of the Software. Licensee\ + \ shall\nretain all Confidential Information in strict confidence and not disclose it\ + \ to\nany third party or use it in any way except under a written agreement with\nterms\ + \ and conditions at least as protective as the terms of this Section.\nLicensee will exercise\ + \ at least the same amount of diligence in preserving the\nsecrecy of the Confidential\ + \ Information as it uses in preserving the secrecy of\nits own most valuable confidential\ + \ information, but in no event less than\nreasonable diligence. Information shall not\ + \ be considered Confidential\nInformation if and to the extent that it: (i) was in the\ + \ public domain at the\ntime it was disclosed or has entered the public domain through\ + \ no fault of\nLicensee; (ii) was known to Licensee, without restriction, at the time\ + \ of\ndisclosure as proven by the files of Licensee in existence at the time of\ndisclosure;\ + \ or (iii) becomes known to Licensee, without restriction, from a\nsource other than Broadcom\ + \ without breach of this Agreement by Licensee and\notherwise not in violation of Broadcom’s\ + \ rights.\n\n5.2.\tReturn of Confidential Information. Notwithstanding the foregoing,\ + \ all\ndocuments and other tangible objects containing or representing Broadcom\nConfidential\ + \ Information and all copies thereof which are in the possession of\nLicensee shall be\ + \ and remain the property of Broadcom, and shall be promptly\nreturned to Broadcom upon\ + \ written request by Broadcom or upon termination of\nthis Agreement.\n\n6.\tLIMITATION\ + \ OF LIABILITY TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO\nEVENT SHALL BROADCOM OR\ + \ ANY OF BROADCOM’S LICENSORS HAVE ANY LIABILITY FOR ANY\nINDIRECT, INCIDENTAL, SPECIAL,\ + \ OR CONSEQUENTIAL DAMAGES, HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY, WHETHER FOR\ + \ BREACH OF CONTRACT, TORT (INCLUDING\nNEGLIGENCE) OR OTHERWISE, ARISING OUT OF THIS AGREEMENT,\ + \ INCLUDING BUT NOT\nLIMITED TO LOSS OF PROFITS, EVEN IF SUCH PARTY HAS BEEN ADVISED OF\ + \ THE\nPOSSIBILITY OF SUCH DAMAGES. IN NO EVENT WILL BROADCOM’S LIABILITY WHETHER IN\n\ + CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE, EXCEED THE AMOUNT PAID BY\nLICENSEE\ + \ FOR SOFTWARE UNDER THIS AGREEMENT. THESE LIMITATIONS SHALL APPLY\nNOTWITHSTANDING ANY\ + \ FAILURE OF ESSENTIAL PURPOSE OF ANY LIMITED REMEDY.\n\n7.\tMISCELLANEOUS\n\n7.1.\tExport\ + \ Regulations. YOU UNDERSTAND AND AGREE THAT THE SOFTWARE IS\nSUBJECT TO UNITED STATES\ + \ AND OTHER APPLICABLE EXPORT-RELATED LAWS AND\nREGULATIONS AND THAT YOU MAY NOT EXPORT,\ + \ RE-EXPORT OR TRANSFER THE SOFTWARE OR\nANY DIRECT PRODUCT OF THE SOFTWARE EXCEPT AS\ + \ PERMITTED UNDER THOSE LAWS.\nWITHOUT LIMITING THE FOREGOING, EXPORT, RE-EXPORT OR TRANSFER\ + \ OF THE SOFTWARE\nTO CUBA, IRAN, NORTH KOREA, SUDAN AND SYRIA IS PROHIBITED.\n\n7.2\t\ + Assignment. This Agreement shall be binding upon and inure to the\nbenefit of the parties\ + \ and their respective successors and assigns, provided,\nhowever that Licensee may not\ + \ assign this Agreement or any rights or obligation\nhereunder, directly or indirectly,\ + \ by operation of law or otherwise, without\nthe prior written consent of Broadcom, and\ + \ any such attempted assignment shall\nbe void. Notwithstanding the foregoing, Licensee\ + \ may assign this Agreement to\na successor to all or substantially all of its business\ + \ or assets to which this\nAgreement relates that is not a competitor of Broadcom.\n\n\ + 7.3.\tGoverning Law; Venue. This Agreement shall be governed by the laws of\nCalifornia\ + \ without regard to any conflict-of-laws rules, and the United Nations\nConvention on\ + \ Contracts for the International Sale of Goods is hereby excluded.\nThe sole jurisdiction\ + \ and venue for actions related to the subject matter\nhereof shall be the state and federal\ + \ courts located in the County of Orange,\nCalifornia, and both parties hereby consent\ + \ to such jurisdiction and venue.\n\n7.4.\tSeverability. All terms and provisions of\ + \ this Agreement shall, if\npossible, be construed in a manner which makes them valid,\ + \ but in the event any\nterm or provision of this Agreement is found by a court of competent\n\ + jurisdiction to be illegal or unenforceable, the validity or enforceability of\nthe remainder\ + \ of this Agreement shall not be affected if the illegal or\nunenforceable provision does\ + \ not materially affect the intent of this\nAgreement. If the illegal or unenforceable\ + \ provision materially affects the\nintent of the parties to this Agreement, this Agreement\ + \ shall become\nterminated.\n\n7.5.\tEquitable Relief. Licensee hereby acknowledges that\ + \ its breach of this\nAgreement would cause irreparable harm and significant injury to\ + \ Broadcom that\nmay be difficult to ascertain and that a remedy at law would be inadequate.\n\ + Accordingly, Licensee agrees that Broadcom shall have the right to seek and\nobtain immediate\ + \ injunctive relief to enforce obligations under the Agreement\nin addition to any other\ + \ rights and remedies it may have.\n\n7.6.\tWaiver. The waiver of, or failure to enforce,\ + \ any breach or default\nhereunder shall not constitute the waiver of any other or subsequent\ + \ breach or\ndefault.\n\n7.7.\tEntire Agreement. This Agreement sets forth the entire\ + \ Agreement\nbetween the parties and supersedes any and all prior proposals, agreements\ + \ and\nrepresentations between them, whether written or oral concerning the Software.\n\ + This Agreement may be changed only by mutual agreement of the parties in\nwriting." + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '98.41' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 126 + matched_length: 124 + match_coverage: '98.41' + rule_relevance: 100 + identifier: gpl-2.0-plus_38.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". diff --git a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/r/raspi3-firmware/stable_copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/r/raspi3-firmware/stable_copyright.expected.yml index c2de81f7814..7fb4b194e74 100644 --- a/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/r/raspi3-firmware/stable_copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-2019-11-15/non-free/r/raspi3-firmware/stable_copyright.expected.yml @@ -1,7 +1,247 @@ -- - Proprietary_1 +primary_license: None +declared_license: + - Proprietary_1 - Proprietary_2 -- bsd-new AND (broadcom-proprietary AND broadcom-proprietary) -- | +license_expression: bsd-new AND broadcom-proprietary +copyright: | 2006, Broadcom Corporation 2015, Raspberry Pi (Trading) Ltd 2015 Broadcom Corporation +matches: + - score: '94.33' + start_line: 3 + end_line: 27 + matcher: 3-seq + rule_length: '194' + matched_length: 183 + match_coverage: '94.33' + rule_relevance: 100 + identifier: bsd-new_1006.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution. Redistribution and use in binary form, without + modification, are permitted provided that the following conditions are + met: + + * [This] [software] [may] [only] [be] [used] [for] [the] [purposes] [of] [developing] [for], + [running] [or] [using] a [Raspberry] [Pi] [device]. + * Redistributions must reproduce the above copyright notice and the + following disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of [Broadcom] [Corporation] nor the names of its suppliers + may be used to endorse or promote products derived from this software + without specific prior written permission. + + DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 204 + matcher: 1-hash + rule_length: 1764 + matched_length: 1764 + match_coverage: '100.0' + rule_relevance: 100 + identifier: broadcom-proprietary_1.RULE + license_expression: broadcom-proprietary + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "SOFTWARE LICENSE AGREEMENT\n\nUnless you and Broadcom Corporation (“Broadcom”)\ + \ execute a separate written\nsoftware license agreement governing use of the accompanying\ + \ software, this\nsoftware is licensed to you under the terms of this Software License\ + \ Agreement\n(“Agreement”).\n\nANY USE, REPRODUCTION OR DISTRIBUTION OF THE SOFTWARE CONSTITUTES\ + \ YOUR\nACCEPTANCE OF THIS AGREEMENT.\n\n1.\tDEFINITIONS.\n\n1.1.\t“Broadcom Product”\ + \ means any of the proprietary integrated circuit\nproduct(s) sold by Broadcom with which\ + \ the Software was designed to be used, or\ntheir successors.\n\n1.2.\t“Licensee” means\ + \ you or if you are accepting on behalf of an entity\nthen the entity and its affiliates\ + \ exercising rights under, and complying with\nall of the terms of this Agreement.\n\n\ + 1.3.\t“Software” shall mean that software made available by Broadcom to\nLicensee in binary\ + \ code form with this Agreement.\n\n2.\tLICENSE GRANT; OWNERSHIP\n\n2.1.\tLicense Grants.\ + \ Subject to the terms and conditions of this Agreement,\nBroadcom hereby grants to Licensee\ + \ a non-exclusive, non-transferable,\nroyalty-free license (i) to use and integrate the\ + \ Software in conjunction with\nany other software; and (ii) to reproduce and distribute\ + \ the Software complete,\nunmodified and as provided by Broadcom, and only for use with\ + \ a Broadcom\nProduct.\n\n2.2.\tRestriction on Modification. Licensee may not make any\ + \ modifications\nto the Software.\n\n2.3.\tRestriction on Distribution. Licensee shall\ + \ only distribute the\nSoftware under the terms of this Agreement and a copy of this Agreement\n\ + accompanies such distribution.\n\n2.4.\tProprietary Notices. Licensee shall not remove,\ + \ efface or obscure any\ncopyright or trademark notices from the Software. Licensee shall\ + \ include\nreproductions of the Broadcom copyright notice with each copy of the Software,\n\ + except where such Software is embedded in a manner not readily accessible to\nthe end\ + \ user. Licensee acknowledges that any symbols, trademarks, tradenames,\nand service\ + \ marks adopted by Broadcom to identify the Software belong to\nBroadcom and that Licensee\ + \ shall have no rights therein.\n\n2.5.\tOwnership. Broadcom shall retain all right,\ + \ title and interest,\nincluding all intellectual property rights, in and to the Software.\ + \ Licensee\nhereby covenants that it will not assert any claim that the Software created\ + \ by\nor for Broadcom infringe any intellectual property right owned or controlled by\n\ + Licensee; provided however, the foregoing shall not apply in case the Agreement\nis terminated.\n\ + \n2.6.\tNo Other Rights Granted; Restrictions. Apart from the license rights\nexpressly\ + \ set forth in this Agreement, Broadcom does not grant and Licensee\ndoes not receive\ + \ any ownership right, title or interest nor any security\ninterest or other interest\ + \ in any intellectual property rights relating to the\nSoftware, nor in any copy of any\ + \ part of the foregoing. No license is granted\nto Licensee in any human readable code\ + \ of the Software (source code). Licensee\nshall not (i) use, license, sell or otherwise\ + \ distribute the Software except as\nprovided in this Agreement, (ii) attempt to modify\ + \ in any way, reverse\nengineer, decompile or disassemble any portion of the Software;\ + \ or (iii) use\nthe Software or other material in violation of any applicable law or\n\ + regulation, including but not limited to any regulatory agency, such as FCC,\nrules.\n\ + \n3.\tNO WARRANTY OR SUPPORT\n\n3.1.\tNo Warranty. THE SOFTWARE IS OFFERED “AS IS,” AND\ + \ BROADCOM GRANTS AND\nLICENSEE RECEIVES NO WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED,\ + \ BY STATUTE,\nCOMMUNICATION OR CONDUCT WITH LICENSEE, OR OTHERWISE. BROADCOM SPECIFICALLY\n\ + DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A SPECIFIC\nPURPOSE OR\ + \ NONINFRINGEMENT CONCERNING THE SOFTWARE OR ANY UPGRADES TO OR\nDOCUMENTATION FOR THE\ + \ SOFTWARE. WITHOUT LIMITATION OF THE ABOVE, BROADCOM\nGRANTS NO WARRANTY THAT THE SOFTWARE\ + \ IS ERROR-FREE OR WILL OPERATE WITHOUT\nINTERRUPTION, AND GRANTS NO WARRANTY REGARDING\ + \ ITS USE OR THE RESULTS THEREFROM\nINCLUDING, WITHOUT LIMITATION, ITS CORRECTNESS, ACCURACY\ + \ OR RELIABILITY.\n\n3.2.\tNo Support. Nothing in this agreement shall obligate Broadcom\ + \ to\nprovide any support for the Software. Broadcom may, but shall be under no\nobligation\ + \ to, correct any defects in the Software and/or provide updates to\nlicensees of the\ + \ Software. Licensee shall make reasonable efforts to promptly\nreport to Broadcom any\ + \ defects it finds in the Software, as an aid to creating\nimproved revisions of the Software.\n\ + \n3.3.\tDangerous Applications. The Software is not designed, intended, or\ncertified\ + \ for use in components of systems intended for the operation of\nweapons, weapons systems,\ + \ nuclear installations, means of mass transportation,\naviation, life-support computers\ + \ or equipment (including resuscitation\nequipment and surgical implants), pollution control,\ + \ hazardous substances\nmanagement, or for any other dangerous application in which the\ + \ failure of the\nSoftware could create a situation where personal injury or death may\ + \ occur.\nLicensee understands that use of the Software in such applications is fully\ + \ at\nthe risk of Licensee.\n\n4.\tTERM AND TERMINATION\n\n4.1.\tTermination. This Agreement\ + \ will automatically terminate if Licensee\nfails to comply with any of the terms and\ + \ conditions hereof. In such event,\nLicensee must destroy all copies of the Software\ + \ and all of its component\nparts.\n\n4.2.\tEffect Of Termination. Upon any termination\ + \ of this Agreement, the\nrights and licenses granted to Licensee under this Agreement\ + \ shall immediately\nterminate.\n\n4.3.\tSurvival. The rights and obligations under this\ + \ Agreement which by\ntheir nature should survive termination will remain in effect after\ + \ expiration\nor termination of this Agreement.\n\n5.\tCONFIDENTIALITY\n\n5.1.\tObligations.\ + \ Licensee acknowledges and agrees that any documentation\nrelating to the Software,\ + \ and any other information (if such other information\nis identified as confidential\ + \ or should be recognized as confidential under the\ncircumstances) provided to Licensee\ + \ by Broadcom hereunder (collectively,\n“Confidential Information”) constitute the confidential\ + \ and proprietary\ninformation of Broadcom, and that Licensee’s protection thereof is\ + \ an essential\ncondition to Licensee’s use and possession of the Software. Licensee\ + \ shall\nretain all Confidential Information in strict confidence and not disclose it\ + \ to\nany third party or use it in any way except under a written agreement with\nterms\ + \ and conditions at least as protective as the terms of this Section.\nLicensee will exercise\ + \ at least the same amount of diligence in preserving the\nsecrecy of the Confidential\ + \ Information as it uses in preserving the secrecy of\nits own most valuable confidential\ + \ information, but in no event less than\nreasonable diligence. Information shall not\ + \ be considered Confidential\nInformation if and to the extent that it: (i) was in the\ + \ public domain at the\ntime it was disclosed or has entered the public domain through\ + \ no fault of\nLicensee; (ii) was known to Licensee, without restriction, at the time\ + \ of\ndisclosure as proven by the files of Licensee in existence at the time of\ndisclosure;\ + \ or (iii) becomes known to Licensee, without restriction, from a\nsource other than Broadcom\ + \ without breach of this Agreement by Licensee and\notherwise not in violation of Broadcom’s\ + \ rights.\n\n5.2.\tReturn of Confidential Information. Notwithstanding the foregoing,\ + \ all\ndocuments and other tangible objects containing or representing Broadcom\nConfidential\ + \ Information and all copies thereof which are in the possession of\nLicensee shall be\ + \ and remain the property of Broadcom, and shall be promptly\nreturned to Broadcom upon\ + \ written request by Broadcom or upon termination of\nthis Agreement.\n\n6.\tLIMITATION\ + \ OF LIABILITY TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO\nEVENT SHALL BROADCOM OR\ + \ ANY OF BROADCOM’S LICENSORS HAVE ANY LIABILITY FOR ANY\nINDIRECT, INCIDENTAL, SPECIAL,\ + \ OR CONSEQUENTIAL DAMAGES, HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY, WHETHER FOR\ + \ BREACH OF CONTRACT, TORT (INCLUDING\nNEGLIGENCE) OR OTHERWISE, ARISING OUT OF THIS AGREEMENT,\ + \ INCLUDING BUT NOT\nLIMITED TO LOSS OF PROFITS, EVEN IF SUCH PARTY HAS BEEN ADVISED OF\ + \ THE\nPOSSIBILITY OF SUCH DAMAGES. IN NO EVENT WILL BROADCOM’S LIABILITY WHETHER IN\n\ + CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE, EXCEED THE AMOUNT PAID BY\nLICENSEE\ + \ FOR SOFTWARE UNDER THIS AGREEMENT. THESE LIMITATIONS SHALL APPLY\nNOTWITHSTANDING ANY\ + \ FAILURE OF ESSENTIAL PURPOSE OF ANY LIMITED REMEDY.\n\n7.\tMISCELLANEOUS\n\n7.1.\tExport\ + \ Regulations. YOU UNDERSTAND AND AGREE THAT THE SOFTWARE IS\nSUBJECT TO UNITED STATES\ + \ AND OTHER APPLICABLE EXPORT-RELATED LAWS AND\nREGULATIONS AND THAT YOU MAY NOT EXPORT,\ + \ RE-EXPORT OR TRANSFER THE SOFTWARE OR\nANY DIRECT PRODUCT OF THE SOFTWARE EXCEPT AS\ + \ PERMITTED UNDER THOSE LAWS.\nWITHOUT LIMITING THE FOREGOING, EXPORT, RE-EXPORT OR TRANSFER\ + \ OF THE SOFTWARE\nTO CUBA, IRAN, NORTH KOREA, SUDAN AND SYRIA IS PROHIBITED.\n\n7.2\t\ + Assignment. This Agreement shall be binding upon and inure to the\nbenefit of the parties\ + \ and their respective successors and assigns, provided,\nhowever that Licensee may not\ + \ assign this Agreement or any rights or obligation\nhereunder, directly or indirectly,\ + \ by operation of law or otherwise, without\nthe prior written consent of Broadcom, and\ + \ any such attempted assignment shall\nbe void. Notwithstanding the foregoing, Licensee\ + \ may assign this Agreement to\na successor to all or substantially all of its business\ + \ or assets to which this\nAgreement relates that is not a competitor of Broadcom.\n\n\ + 7.3.\tGoverning Law; Venue. This Agreement shall be governed by the laws of\nCalifornia\ + \ without regard to any conflict-of-laws rules, and the United Nations\nConvention on\ + \ Contracts for the International Sale of Goods is hereby excluded.\nThe sole jurisdiction\ + \ and venue for actions related to the subject matter\nhereof shall be the state and federal\ + \ courts located in the County of Orange,\nCalifornia, and both parties hereby consent\ + \ to such jurisdiction and venue.\n\n7.4.\tSeverability. All terms and provisions of\ + \ this Agreement shall, if\npossible, be construed in a manner which makes them valid,\ + \ but in the event any\nterm or provision of this Agreement is found by a court of competent\n\ + jurisdiction to be illegal or unenforceable, the validity or enforceability of\nthe remainder\ + \ of this Agreement shall not be affected if the illegal or\nunenforceable provision does\ + \ not materially affect the intent of this\nAgreement. If the illegal or unenforceable\ + \ provision materially affects the\nintent of the parties to this Agreement, this Agreement\ + \ shall become\nterminated.\n\n7.5.\tEquitable Relief. Licensee hereby acknowledges that\ + \ its breach of this\nAgreement would cause irreparable harm and significant injury to\ + \ Broadcom that\nmay be difficult to ascertain and that a remedy at law would be inadequate.\n\ + Accordingly, Licensee agrees that Broadcom shall have the right to seek and\nobtain immediate\ + \ injunctive relief to enforce obligations under the Agreement\nin addition to any other\ + \ rights and remedies it may have.\n\n7.6.\tWaiver. The waiver of, or failure to enforce,\ + \ any breach or default\nhereunder shall not constitute the waiver of any other or subsequent\ + \ breach or\ndefault.\n\n7.7.\tEntire Agreement. This Agreement sets forth the entire\ + \ Agreement\nbetween the parties and supersedes any and all prior proposals, agreements\ + \ and\nrepresentations between them, whether written or oral concerning the Software.\n\ + This Agreement may be changed only by mutual agreement of the parties in\nwriting." + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '98.41' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 126 + matched_length: 124 + match_coverage: '98.41' + rule_relevance: 100 + identifier: gpl-2.0-plus_38.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". diff --git a/tests/packagedcode/data/debian/copyright/debian-misc/usr/share/doc/zlib1g/copyright b/tests/packagedcode/data/debian/copyright/debian-misc/usr/share/doc/zlib1g/copyright new file mode 100644 index 00000000000..a0f07e86965 --- /dev/null +++ b/tests/packagedcode/data/debian/copyright/debian-misc/usr/share/doc/zlib1g/copyright @@ -0,0 +1,59 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Files-Excluded: + contrib/ada + contrib/amd64 + contrib/asm686 + contrib/blast + contrib/delphi + contrib/dotzlib + contrib/gcc_gvmat64 + contrib/infback9 + contrib/inflate86 + contrib/iostream + contrib/iostream2 + contrib/iostream3 + contrib/masmx64 + contrib/masmx86 + contrib/pascal + contrib/puff + contrib/testzlib + contrib/untgz + contrib/vstudio + doc/rfc* + +This is the pre-packaged Debian Linux version of the zlib compression +library. It was packaged by Michael Alan Dorman +from sources originally retrieved from ftp.uu.net in the directory +/pub/archiving/zip/zlib as the file zlib-1.0.4.tar.gz. + +There is a homepage at http://www.gzip.org/zlib/ + +Acknowledgments: + + The deflate format used by zlib was defined by Phil Katz. The deflate + and zlib specifications were written by Peter Deutsch. Thanks to all the + people who reported problems and suggested various improvements in zlib; + they are too numerous to cite here. + +Copyright notice: + + Copyright (C) 1995-1998 Jean-loup Gailly and Mark Adler + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jean-loup Gailly Mark Adler + jloup@gzip.org madler@alumni.caltech.edu diff --git a/tests/packagedcode/data/debian/copyright/debian-misc/usr/share/doc/zlib1g/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-misc/usr/share/doc/zlib1g/copyright-detailed.expected.yml new file mode 100644 index 00000000000..276c0c5406b --- /dev/null +++ b/tests/packagedcode/data/debian/copyright/debian-misc/usr/share/doc/zlib1g/copyright-detailed.expected.yml @@ -0,0 +1,66 @@ +primary_license: None +declared_license: [] +license_expression: (other-permissive OR commercial-license) AND zlib AND zlib +copyright: +matches: + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_or_commercial-license_2.RULE + license_expression: other-permissive OR commercial-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + - score: '21.21' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 132 + matched_length: 28 + match_coverage: '21.21' + rule_relevance: 100 + identifier: zlib_variant.RULE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + - score: '55.3' + start_line: 1 + end_line: 7 + matcher: 3-seq + rule_length: 132 + matched_length: 73 + match_coverage: '55.3' + rule_relevance: 100 + identifier: zlib_variant.RULE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. diff --git a/tests/packagedcode/data/debian/copyright/debian-misc/usr/share/doc/zlib1g/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-misc/usr/share/doc/zlib1g/copyright.expected.yml new file mode 100644 index 00000000000..b40aff97c8d --- /dev/null +++ b/tests/packagedcode/data/debian/copyright/debian-misc/usr/share/doc/zlib1g/copyright.expected.yml @@ -0,0 +1,66 @@ +primary_license: None +declared_license: [] +license_expression: (other-permissive OR commercial-license) AND zlib +copyright: +matches: + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_or_commercial-license_2.RULE + license_expression: other-permissive OR commercial-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + - score: '21.21' + start_line: 1 + end_line: 3 + matcher: 3-seq + rule_length: 132 + matched_length: 28 + match_coverage: '21.21' + rule_relevance: 100 + identifier: zlib_variant.RULE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + - score: '55.3' + start_line: 1 + end_line: 7 + matcher: 3-seq + rule_length: 132 + matched_length: 73 + match_coverage: '55.3' + rule_relevance: 100 + identifier: zlib_variant.RULE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/adduser/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/adduser/copyright-detailed.expected.yml index dbc9ef87c5e..66d9953feba 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/adduser/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/adduser/copyright-detailed.expected.yml @@ -1,7 +1,35 @@ -- -- gpl-2.0 AND gpl-2.0-plus -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus +copyright: | Copyright (c) 2000 Roland Bauerschmidt Copyright (c) 1997, 1998, 1999 Guy Maor Copyright (c) 1995 Ted Hajek portions Copyright (c) 1994 Debian Association, Inc. +matches: + - score: '100.0' + start_line: 28 + end_line: 47 + matcher: 2-aho + rule_length: 143 + matched_length: 143 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_811.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "and is\n GPL V2 as well.\n \n This program is free software; you can\ + \ redistribute it and/or modify\n it under the terms of the GNU General Public License\ + \ as published by\n the Free Software Foundation; either version 2 of the License,\ + \ or\n (at your option) any later version.\n \n This program is distributed in\ + \ the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied\ + \ warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n \ + \ GNU General Public License for more details.\n \n You should have received a copy\ + \ of the GNU General Public License\n along with this program; if not, write to the\n\ + \ Free Software Foundation, Inc.,\n 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,\ + \ USA.\n \n On Debian GNU/Linux systems, the complete text of the GNU General\n Public\ + \ License can be found in `/usr/share/common-licenses/GPL-2'." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/adduser/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/adduser/copyright.expected.yml index dbc9ef87c5e..66d9953feba 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/adduser/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/adduser/copyright.expected.yml @@ -1,7 +1,35 @@ -- -- gpl-2.0 AND gpl-2.0-plus -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus +copyright: | Copyright (c) 2000 Roland Bauerschmidt Copyright (c) 1997, 1998, 1999 Guy Maor Copyright (c) 1995 Ted Hajek portions Copyright (c) 1994 Debian Association, Inc. +matches: + - score: '100.0' + start_line: 28 + end_line: 47 + matcher: 2-aho + rule_length: 143 + matched_length: 143 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_811.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "and is\n GPL V2 as well.\n \n This program is free software; you can\ + \ redistribute it and/or modify\n it under the terms of the GNU General Public License\ + \ as published by\n the Free Software Foundation; either version 2 of the License,\ + \ or\n (at your option) any later version.\n \n This program is distributed in\ + \ the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied\ + \ warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n \ + \ GNU General Public License for more details.\n \n You should have received a copy\ + \ of the GNU General Public License\n along with this program; if not, write to the\n\ + \ Free Software Foundation, Inc.,\n 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,\ + \ USA.\n \n On Debian GNU/Linux systems, the complete text of the GNU General\n Public\ + \ License can be found in `/usr/share/common-licenses/GPL-2'." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/apt/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/apt/copyright-detailed.expected.yml index 2b8d1b7cf76..2eecb2802ad 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/apt/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/apt/copyright-detailed.expected.yml @@ -1,3 +1,47 @@ -- -- gpl-2.0-plus -- copyright 1997, 1998, 1999 Jason Gunthorpe and others +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND gpl-2.0-plus +copyright: copyright 1997, 1998, 1999 Jason Gunthorpe and others +matches: + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_374.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv2+' + - score: '100.0' + start_line: 6 + end_line: 22 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_736.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation; either version 2 of the License, or\n (at your option) any\ + \ later version.\n \n This program is distributed in the hope that it will be useful,\n\ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program; if not, write to the Free Software\n Foundation, Inc.,\ + \ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.\n \n See /usr/share/common-licenses/GPL-2,\ + \ or\n for the terms of the latest version\n of\ + \ the GNU General Public License." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/apt/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/apt/copyright.expected.yml index 2b8d1b7cf76..1fbbb02b3b3 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/apt/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/apt/copyright.expected.yml @@ -1,3 +1,47 @@ -- -- gpl-2.0-plus -- copyright 1997, 1998, 1999 Jason Gunthorpe and others +primary_license: +declared_license: +license_expression: gpl-2.0-plus +copyright: copyright 1997, 1998, 1999 Jason Gunthorpe and others +matches: + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_374.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv2+' + - score: '100.0' + start_line: 6 + end_line: 22 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_736.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation; either version 2 of the License, or\n (at your option) any\ + \ later version.\n \n This program is distributed in the hope that it will be useful,\n\ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program; if not, write to the Free Software\n Foundation, Inc.,\ + \ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.\n \n See /usr/share/common-licenses/GPL-2,\ + \ or\n for the terms of the latest version\n of\ + \ the GNU General Public License." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-files/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-files/copyright-detailed.expected.yml index dcb4fdebdad..4c99b7d6f21 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-files/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-files/copyright-detailed.expected.yml @@ -1,5 +1,46 @@ -- -- gpl-2.0-plus AND gpl-1.0-plus -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND gpl-1.0-plus +copyright: | copyrighted by the Free Software Foundation, Inc. Copyright (c) 1995-2011 Software in the Public Interest +matches: + - score: '100.0' + start_line: 17 + end_line: 25 + matcher: 2-aho + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_90.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n it\ + \ under the terms of the GNU General Public License as published by\n the Free Software\ + \ Foundation; either version 2 of the License, or\n (at your option) any later version.\n\ + \ \n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY\ + \ WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR\ + \ PURPOSE. See the\n GNU General Public License for more details." + - score: '100.0' + start_line: 27 + end_line: 28 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_10.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-files/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-files/copyright.expected.yml index dcb4fdebdad..4c99b7d6f21 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-files/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-files/copyright.expected.yml @@ -1,5 +1,46 @@ -- -- gpl-2.0-plus AND gpl-1.0-plus -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND gpl-1.0-plus +copyright: | copyrighted by the Free Software Foundation, Inc. Copyright (c) 1995-2011 Software in the Public Interest +matches: + - score: '100.0' + start_line: 17 + end_line: 25 + matcher: 2-aho + rule_length: 79 + matched_length: 79 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_90.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n it\ + \ under the terms of the GNU General Public License as published by\n the Free Software\ + \ Foundation; either version 2 of the License, or\n (at your option) any later version.\n\ + \ \n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY\ + \ WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR\ + \ PURPOSE. See the\n GNU General Public License for more details." + - score: '100.0' + start_line: 27 + end_line: 28 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_10.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-passwd/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-passwd/copyright-detailed.expected.yml index 11d1bc0f908..988755c1521 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-passwd/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-passwd/copyright-detailed.expected.yml @@ -1,9 +1,12 @@ -- - GPL-2 +primary_license: gpl-2.0 +declared_license: + - GPL-2 - public-domain - GPL-2 - GPL-2 -- (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND public-domain AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) -- | +license_expression: (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND public-domain AND (gpl-2.0 AND gpl-2.0 + AND gpl-2.0) +copyright: | Copyright 1999-2002 Wichert Akkerman Copyright 2002, 2003, 2004 Colin Watson PD; Originally written by Ian Murdock and @@ -11,3 +14,70 @@ Copyright 2001, 2002 Joey Hess Copyright 2002, 2003, 2004, 2005, 2007 Colin Watson Copyright 2007 David Mandelberg +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2. + - score: '99.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 99 + identifier: pypi_public_domain.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: public-domain' diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-passwd/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-passwd/copyright.expected.yml index 7752c62d75d..548fa3f6b3b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-passwd/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/base-passwd/copyright.expected.yml @@ -1,7 +1,9 @@ -- - GPL-2 +primary_license: gpl-2.0 +declared_license: + - GPL-2 - public-domain -- (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND public-domain -- | +license_expression: gpl-2.0 AND public-domain +copyright: | Copyright 1999-2002 Wichert Akkerman Copyright 2002, 2003, 2004 Colin Watson PD; Originally written by Ian Murdock and @@ -9,3 +11,70 @@ Copyright 2001, 2002 Joey Hess Copyright 2002, 2003, 2004, 2005, 2007 Colin Watson Copyright 2007 David Mandelberg +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2. + - score: '99.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 99 + identifier: pypi_public_domain.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: public-domain' diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bash/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bash/copyright-detailed.expected.yml index bce219ccf0d..ade073e2974 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bash/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bash/copyright-detailed.expected.yml @@ -1,7 +1,9 @@ -- -- gpl-3.0-plus AND bash-exception-gpl AND gpl-1.0-plus AND other-permissive AND gfdl-1.1-plus - AND gfdl-1.3-plus AND latex2e AND bsd-original-uc AND historical -- | +primary_license: +declared_license: +license_expression: gpl-3.0-plus AND bash-exception-gpl AND gpl-1.0-plus AND other-permissive + AND gfdl-1.1-plus AND gfdl-1.3-plus AND other-permissive AND latex2e AND latex2e AND gfdl-1.3-plus + AND latex2e AND bsd-original-uc AND historical AND other-permissive +copyright: | Copyright (c) 1987-2014 Free Software Foundation, Inc. Copyright FSF Copyright 1995-2005 by Chester Ramey @@ -13,3 +15,342 @@ Copyright (c) 1988-2014 Free Software Foundation, Inc. Copyright (c) 1983, 1990, 1993 The Regents of the University of California Portions Copyright (c) 1993 by Digital Equipment Corporation +matches: + - score: '100.0' + start_line: 13 + end_line: 26 + matcher: 2-aho + rule_length: 118 + matched_length: 118 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_289.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Bash is free software; you can redistribute it and/or modify it under\n the\ + \ terms of the GNU General Public License as published by the Free\n Software Foundation;\ + \ either version 3, or (at your option) any later\n version.\n \n Bash is distributed\ + \ in the hope that it will be useful, but WITHOUT\n ANY WARRANTY; without even the implied\ + \ warranty of MERCHANTABILITY or\n FITNESS FOR A PARTICULAR PURPOSE. See the GNU General\ + \ Public License\n for more details.\n \n You should have received a copy of the GNU General\ + \ Public License\n along with Bash. If not, see .\n On\ + \ Debian systems, the complete text of the GNU General Public License\n can be found in\ + \ `/usr/share/common-licenses/GPL-3'." + - score: '100.0' + start_line: 28 + end_line: 34 + matcher: 2-aho + rule_length: 78 + matched_length: 78 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bash-exception-gpl.LICENSE + license_expression: bash-exception-gpl + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The Free Software Foundation has exempted Bash from the requirement of + Paragraph 2c of the General Public License. This is to say, there is + no requirement for Bash to print a notice when it is started + interactively in the usual way. We made this exception because users + and standards expect shells not to print such messages. This + exception applies to any program that serves as a shell and that is + based primarily on Bash as opposed to other GNU software. + - score: '100.0' + start_line: 37 + end_line: 37 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_72.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: License GPL + - score: '100.0' + start_line: 44 + end_line: 48 + matcher: 2-aho + rule_length: 45 + matched_length: 45 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_207.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, without written agreement and + without license or royalty fees, to use, copy, and distribute + this document for any purpose, provided that the above copyright + notice appears in all copies of this document and that the + contents of this document remain unaltered. + - score: '80.41' + start_line: 55 + end_line: 64 + matcher: 3-seq + rule_length: 97 + matched_length: 78 + match_coverage: '80.41' + rule_relevance: 100 + identifier: gfdl-1.1-plus_19.RULE + license_expression: gfdl-1.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to make and distribute verbatim copies of\n this manual\ + \ provided the copyright notice and this permission notice\n are preserved on all copies.\n\ + \ \n Permission is granted to copy, distribute and/or modify this document\n under the\ + \ terms of the GNU Free Documentation License, Version 1.[3] or\n any later version published\ + \ by the Free Software Foundation; with [no]\n Invariant Sections, [no] [Front]-[Cover]\ + \ [Texts], [and] no Back-Cover Texts.\n A copy of the license is included in the section\ + \ entitled\n ``GNU Free Documentation License''." + - score: '100.0' + start_line: 71 + end_line: 76 + matcher: 2-aho + rule_length: 60 + matched_length: 60 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.3 or + any later version published by the Free Software Foundation; with no + Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. + A copy of the license is included in the section entitled + ``GNU Free Documentation License''. + - score: '100.0' + start_line: 82 + end_line: 84 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_206.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to make and distribute verbatim copies of + this manual provided the copyright notice and this permission notice + pare preserved on all copies. + - score: '99.0' + start_line: 86 + end_line: 99 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 99 + identifier: latex2e_7.RULE + license_expression: latex2e + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to process this file through TeX and print the\n results,\ + \ provided the printed document carries copying permission\n notice identical to this\ + \ one except for the removal of this paragraph\n (this paragraph not being relevant to\ + \ the printed manual).\n \n Permission is granted to copy and distribute modified versions\ + \ of this\n manual under the conditions for verbatim copying, provided that the entire\n\ + \ resulting derived work is distributed under the terms of a permission\n notice identical\ + \ to this one.\n \n Permission is granted to copy and distribute translations of this\ + \ manual\n into another language, under the above conditions for modified versions,\n\ + \ except that this permission notice may be stated in a translation approved\n by the\ + \ Foundation." + - score: '99.0' + start_line: 108 + end_line: 124 + matcher: 2-aho + rule_length: 137 + matched_length: 137 + match_coverage: '100.0' + rule_relevance: 99 + identifier: latex2e_3.RULE + license_expression: latex2e + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to process this file through Tex and print the\n results,\ + \ provided the printed document carries copying permission notice\n identical to this\ + \ one except for the removal of this paragraph (this\n paragraph not being relevant to\ + \ the printed manual).\n \n Permission is granted to make and distribute verbatim copies\ + \ of this manual\n provided the copyright notice and this permission notice are preserved\ + \ on\n all copies.\n \n Permission is granted to copy and distribute modified versions\ + \ of this\n manual under the conditions for verbatim copying, provided also that the\n\ + \ GNU Copyright statement is available to the distributee, and provided that\n the entire\ + \ resulting derived work is distributed under the terms of a\n permission notice identical\ + \ to this one.\n \n Permission is granted to copy and distribute translations of this\ + \ manual\n into another language, under the above conditions for modified versions." + - score: '100.0' + start_line: 132 + end_line: 137 + matcher: 2-aho + rule_length: 60 + matched_length: 60 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.3 or + any later version published by the Free Software Foundation; with no + Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. + A copy of the license is included in the section entitled + ``GNU Free Documentation License''. + - score: '99.0' + start_line: 144 + end_line: 160 + matcher: 2-aho + rule_length: 137 + matched_length: 137 + match_coverage: '100.0' + rule_relevance: 99 + identifier: latex2e_2.RULE + license_expression: latex2e + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to make and distribute verbatim copies of this manual\n\ + \ provided the copyright notice and this permission notice are preserved on\n all copies.\n\ + \ \n Permission is granted to process this file through Tex and print the\n results,\ + \ provided the printed document carries copying permission notice\n identical to this\ + \ one except for the removal of this paragraph (this\n paragraph not being relevant to\ + \ the printed manual).\n \n Permission is granted to copy and distribute modified versions\ + \ of this\n manual under the conditions for verbatim copying, provided also that the\n\ + \ GNU Copyright statement is available to the distributee, and provided that\n the entire\ + \ resulting derived work is distributed under the terms of a\n permission notice identical\ + \ to this one.\n \n Permission is granted to copy and distribute translations of this\ + \ manual\n into another language, under the above conditions for modified versions." + - score: '100.0' + start_line: 168 + end_line: '194' + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by the University of + * California, Berkeley and its contributors. + * 4. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + - score: '100.0' + start_line: '198' + end_line: 212 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: historical_10.RULE + license_expression: historical + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies, and that + * the name of Digital Equipment Corporation not be used in advertising or + * publicity pertaining to distribution of the document or software without + * specific, written prior permission. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND DIGITAL EQUIPMENT CORP. DISCLAIMS ALL + * WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL DIGITAL EQUIPMENT + * CORPORATION BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL + * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR + * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS + * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + * SOFTWARE. + - score: '100.0' + start_line: 220 + end_line: 221 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_32.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to distribute, modify and use this program as long + * as this comment is not removed or changed. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bash/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bash/copyright.expected.yml index bce219ccf0d..d2f0bf717e7 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bash/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bash/copyright.expected.yml @@ -1,7 +1,8 @@ -- -- gpl-3.0-plus AND bash-exception-gpl AND gpl-1.0-plus AND other-permissive AND gfdl-1.1-plus - AND gfdl-1.3-plus AND latex2e AND bsd-original-uc AND historical -- | +primary_license: +declared_license: +license_expression: gpl-3.0-plus AND bash-exception-gpl AND gpl-1.0-plus AND other-permissive + AND gfdl-1.1-plus AND gfdl-1.3-plus AND latex2e AND bsd-original-uc AND historical +copyright: | Copyright (c) 1987-2014 Free Software Foundation, Inc. Copyright FSF Copyright 1995-2005 by Chester Ramey @@ -13,3 +14,342 @@ Copyright (c) 1988-2014 Free Software Foundation, Inc. Copyright (c) 1983, 1990, 1993 The Regents of the University of California Portions Copyright (c) 1993 by Digital Equipment Corporation +matches: + - score: '100.0' + start_line: 13 + end_line: 26 + matcher: 2-aho + rule_length: 118 + matched_length: 118 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_289.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Bash is free software; you can redistribute it and/or modify it under\n the\ + \ terms of the GNU General Public License as published by the Free\n Software Foundation;\ + \ either version 3, or (at your option) any later\n version.\n \n Bash is distributed\ + \ in the hope that it will be useful, but WITHOUT\n ANY WARRANTY; without even the implied\ + \ warranty of MERCHANTABILITY or\n FITNESS FOR A PARTICULAR PURPOSE. See the GNU General\ + \ Public License\n for more details.\n \n You should have received a copy of the GNU General\ + \ Public License\n along with Bash. If not, see .\n On\ + \ Debian systems, the complete text of the GNU General Public License\n can be found in\ + \ `/usr/share/common-licenses/GPL-3'." + - score: '100.0' + start_line: 28 + end_line: 34 + matcher: 2-aho + rule_length: 78 + matched_length: 78 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bash-exception-gpl.LICENSE + license_expression: bash-exception-gpl + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The Free Software Foundation has exempted Bash from the requirement of + Paragraph 2c of the General Public License. This is to say, there is + no requirement for Bash to print a notice when it is started + interactively in the usual way. We made this exception because users + and standards expect shells not to print such messages. This + exception applies to any program that serves as a shell and that is + based primarily on Bash as opposed to other GNU software. + - score: '100.0' + start_line: 37 + end_line: 37 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_72.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: License GPL + - score: '100.0' + start_line: 44 + end_line: 48 + matcher: 2-aho + rule_length: 45 + matched_length: 45 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_207.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, without written agreement and + without license or royalty fees, to use, copy, and distribute + this document for any purpose, provided that the above copyright + notice appears in all copies of this document and that the + contents of this document remain unaltered. + - score: '80.41' + start_line: 55 + end_line: 64 + matcher: 3-seq + rule_length: 97 + matched_length: 78 + match_coverage: '80.41' + rule_relevance: 100 + identifier: gfdl-1.1-plus_19.RULE + license_expression: gfdl-1.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to make and distribute verbatim copies of\n this manual\ + \ provided the copyright notice and this permission notice\n are preserved on all copies.\n\ + \ \n Permission is granted to copy, distribute and/or modify this document\n under the\ + \ terms of the GNU Free Documentation License, Version 1.[3] or\n any later version published\ + \ by the Free Software Foundation; with [no]\n Invariant Sections, [no] [Front]-[Cover]\ + \ [Texts], [and] no Back-Cover Texts.\n A copy of the license is included in the section\ + \ entitled\n ``GNU Free Documentation License''." + - score: '100.0' + start_line: 71 + end_line: 76 + matcher: 2-aho + rule_length: 60 + matched_length: 60 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.3 or + any later version published by the Free Software Foundation; with no + Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. + A copy of the license is included in the section entitled + ``GNU Free Documentation License''. + - score: '100.0' + start_line: 82 + end_line: 84 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_206.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to make and distribute verbatim copies of + this manual provided the copyright notice and this permission notice + pare preserved on all copies. + - score: '99.0' + start_line: 86 + end_line: 99 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 99 + identifier: latex2e_7.RULE + license_expression: latex2e + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to process this file through TeX and print the\n results,\ + \ provided the printed document carries copying permission\n notice identical to this\ + \ one except for the removal of this paragraph\n (this paragraph not being relevant to\ + \ the printed manual).\n \n Permission is granted to copy and distribute modified versions\ + \ of this\n manual under the conditions for verbatim copying, provided that the entire\n\ + \ resulting derived work is distributed under the terms of a permission\n notice identical\ + \ to this one.\n \n Permission is granted to copy and distribute translations of this\ + \ manual\n into another language, under the above conditions for modified versions,\n\ + \ except that this permission notice may be stated in a translation approved\n by the\ + \ Foundation." + - score: '99.0' + start_line: 108 + end_line: 124 + matcher: 2-aho + rule_length: 137 + matched_length: 137 + match_coverage: '100.0' + rule_relevance: 99 + identifier: latex2e_3.RULE + license_expression: latex2e + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to process this file through Tex and print the\n results,\ + \ provided the printed document carries copying permission notice\n identical to this\ + \ one except for the removal of this paragraph (this\n paragraph not being relevant to\ + \ the printed manual).\n \n Permission is granted to make and distribute verbatim copies\ + \ of this manual\n provided the copyright notice and this permission notice are preserved\ + \ on\n all copies.\n \n Permission is granted to copy and distribute modified versions\ + \ of this\n manual under the conditions for verbatim copying, provided also that the\n\ + \ GNU Copyright statement is available to the distributee, and provided that\n the entire\ + \ resulting derived work is distributed under the terms of a\n permission notice identical\ + \ to this one.\n \n Permission is granted to copy and distribute translations of this\ + \ manual\n into another language, under the above conditions for modified versions." + - score: '100.0' + start_line: 132 + end_line: 137 + matcher: 2-aho + rule_length: 60 + matched_length: 60 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.3 or + any later version published by the Free Software Foundation; with no + Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. + A copy of the license is included in the section entitled + ``GNU Free Documentation License''. + - score: '99.0' + start_line: 144 + end_line: 160 + matcher: 2-aho + rule_length: 137 + matched_length: 137 + match_coverage: '100.0' + rule_relevance: 99 + identifier: latex2e_2.RULE + license_expression: latex2e + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to make and distribute verbatim copies of this manual\n\ + \ provided the copyright notice and this permission notice are preserved on\n all copies.\n\ + \ \n Permission is granted to process this file through Tex and print the\n results,\ + \ provided the printed document carries copying permission notice\n identical to this\ + \ one except for the removal of this paragraph (this\n paragraph not being relevant to\ + \ the printed manual).\n \n Permission is granted to copy and distribute modified versions\ + \ of this\n manual under the conditions for verbatim copying, provided also that the\n\ + \ GNU Copyright statement is available to the distributee, and provided that\n the entire\ + \ resulting derived work is distributed under the terms of a\n permission notice identical\ + \ to this one.\n \n Permission is granted to copy and distribute translations of this\ + \ manual\n into another language, under the above conditions for modified versions." + - score: '100.0' + start_line: 168 + end_line: '194' + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by the University of + * California, Berkeley and its contributors. + * 4. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + - score: '100.0' + start_line: '198' + end_line: 212 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: historical_10.RULE + license_expression: historical + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies, and that + * the name of Digital Equipment Corporation not be used in advertising or + * publicity pertaining to distribution of the document or software without + * specific, written prior permission. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND DIGITAL EQUIPMENT CORP. DISCLAIMS ALL + * WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL DIGITAL EQUIPMENT + * CORPORATION BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL + * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR + * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS + * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + * SOFTWARE. + - score: '100.0' + start_line: 220 + end_line: 221 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_32.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to distribute, modify and use this program as long + * as this comment is not removed or changed. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bsdutils/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bsdutils/copyright-detailed.expected.yml index 9bc35e81ba5..3da8450c864 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bsdutils/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bsdutils/copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2 - GPL-2 - GPL-2 @@ -42,23 +44,20 @@ - LGPL-2.1+ - LGPL-3+ - MIT -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 - AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND - gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 - AND gpl-2.0 AND gpl-2.0) AND public-domain AND bsd-original-uc AND mit AND mit AND bsd-no-disclaimer - AND bsd-no-disclaimer AND bsd-no-disclaimer AND bsd-new AND bsd-new AND (lgpl-2.0-plus AND - lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0-plus - AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus - AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 - AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (gpl-3.0-plus - AND gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) - AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND - lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0) AND (lgpl-2.0-plus - AND lgpl-2.1-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) - AND (lgpl-3.0-plus AND lgpl-3.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND - lgpl-2.1) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND - gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) -- | +license_expression: (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND + gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 + AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND public-domain AND bsd-original-uc + AND mit AND mit AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new AND bsd-new + AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND + lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.1-plus AND + lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.0-plus + AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND + (lgpl-3.0-plus AND lgpl-3.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (gpl-2.0-plus + AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) +copyright: | Michal Luscon 1986 Gary S. Brown 1990 Gordon Irlam (gordoni@cs.ua.oz.au) @@ -251,3 +250,576 @@ Veeven Vikram Vincent Yoppy Hidayanto +matches: + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_28.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No copyright is claimed. This code is in the public domain; do with + it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_264.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_405.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1) Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2) Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + 3) Neither the name of the [ORGANIZATION] nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: lgpl-2.1-plus_268.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be redistributed under the terms of the + GNU Lesser General Public License. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in ‘/usr/share/common-licenses/LGPL’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '97.69' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 127 + match_coverage: '97.69' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bsdutils/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bsdutils/copyright.expected.yml index 11099084090..4fa8dffb131 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bsdutils/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/bsdutils/copyright.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2 - public-domain - BSD-4-clause @@ -10,12 +12,10 @@ - GPL-3+ - LGPL - LGPL-3+ -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 - AND gpl-2.0) AND public-domain AND bsd-original-uc AND mit AND bsd-no-disclaimer AND bsd-new - AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND - lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND - (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0) AND (lgpl-3.0-plus AND lgpl-3.0-plus) -- | +license_expression: (gpl-2.0-plus AND gpl-2.0) AND gpl-2.0 AND public-domain AND bsd-original-uc + AND mit AND bsd-simplified AND bsd-new AND (lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus + AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.0-plus AND lgpl-2.1-plus) AND lgpl-3.0-plus +copyright: | Michal Luscon 1986 Gary S. Brown 1990 Gordon Irlam (gordoni@cs.ua.oz.au) @@ -108,7 +108,6 @@ 2013 Eric Sandeen 2013 Rolf Fokkens 2013 Zeeshan Ali (Khattak) - *unknown* 2001 Andreas Dilger 2008-2012 Karel Zak 2013, Red Hat, Inc. @@ -196,3 +195,576 @@ Veeven Vikram Vincent Yoppy Hidayanto +matches: + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_28.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No copyright is claimed. This code is in the public domain; do with + it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_264.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_405.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1) Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2) Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + 3) Neither the name of the [ORGANIZATION] nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: lgpl-2.1-plus_268.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be redistributed under the terms of the + GNU Lesser General Public License. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in ‘/usr/share/common-licenses/LGPL’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '97.69' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 127 + match_coverage: '97.69' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/coreutils/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/coreutils/copyright-detailed.expected.yml index 1e780f7a214..e2ea776715d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/coreutils/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/coreutils/copyright-detailed.expected.yml @@ -1,6 +1,9 @@ -- -- gpl-3.0-plus AND bsd-new AND isc AND fsf-unlimited AND gfdl-1.2-plus -- | +primary_license: +declared_license: +license_expression: gpl-3.0-plus AND bsd-new AND gpl-3.0-plus AND bsd-new AND gpl-3.0-plus AND + gpl-3.0-plus AND isc AND fsf-unlimited AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus + AND gpl-3.0-plus AND gfdl-1.2-plus AND gpl-3.0-plus +copyright: | Copyright (c) 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. Copyright (c) 1990, 1993, 1994 The Regents of the University of California Copyright (c) 2004, 2005, 2006, 2007 Free Software Foundation, Inc. @@ -20,3 +23,360 @@ Copyright (c) 1997, 1998, 1999 Colin Plumb Copyright 1994-1996, 2000-2008 Free Software Foundation, Inc. Copyright (c) 1984-2008 Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 30 + end_line: 41 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation; either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see . */" + - score: '100.0' + start_line: 47 + end_line: 69 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_42.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 4. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + - score: '100.0' + start_line: 78 + end_line: 89 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation; either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see . */" + - score: '100.0' + start_line: 95 + end_line: 117 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_42.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 4. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + - score: '100.0' + start_line: 126 + end_line: 137 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation, either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see ." + - score: '100.0' + start_line: 145 + end_line: 157 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_4.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation; either version 3, or (at your option)\n any later version.\n\ + \ \n This program is distributed in the hope that it will be useful,\n but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR\ + \ A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n \n\ + \ You should have received a copy of the GNU General Public License\n along with\ + \ this program; if not, write to the Free Software Foundation,\n Inc., 51 Franklin\ + \ Street, Fifth Floor, Boston, MA 02110-1301, USA. */" + - score: '100.0' + start_line: 162 + end_line: 173 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_9.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS + * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE + * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL + * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR + * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS + * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + * SOFTWARE. + - score: '100.0' + start_line: 180 + end_line: 182 + matcher: 2-aho + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited.LICENSE + license_expression: fsf-unlimited + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + - score: '100.0' + start_line: '193' + end_line: 204 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation, either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see . */" + - score: '100.0' + start_line: 213 + end_line: 224 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation, either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see . */" + - score: '100.0' + start_line: 233 + end_line: 244 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation, either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see . */" + - score: '100.0' + start_line: 253 + end_line: 264 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation, either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see ." + - score: '100.0' + start_line: 272 + end_line: 277 + matcher: 2-aho + rule_length: 62 + matched_length: 62 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.2-plus.RULE + license_expression: gfdl-1.2-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.2 or + any later version published by the Free Software Foundation; with no + Invariant Sections, with no Front-Cover Texts, and with no Back-Cover + Texts. A copy of the license is included in the section entitled ``GNU + Free Documentation License''. + - score: '100.0' + start_line: 285 + end_line: 299 + matcher: 2-aho + rule_length: 124 + matched_length: 124 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_2.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation, either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see .\n \n On Debian\ + \ systems, the complete text of the GNU General\n Public License can be found in `/usr/share/common-licenses/GPL-3'." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/coreutils/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/coreutils/copyright.expected.yml index 1e780f7a214..b9bc017f688 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/coreutils/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/coreutils/copyright.expected.yml @@ -1,6 +1,7 @@ -- -- gpl-3.0-plus AND bsd-new AND isc AND fsf-unlimited AND gfdl-1.2-plus -- | +primary_license: +declared_license: +license_expression: gpl-3.0-plus AND bsd-new AND isc AND fsf-unlimited AND gfdl-1.2-plus +copyright: | Copyright (c) 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. Copyright (c) 1990, 1993, 1994 The Regents of the University of California Copyright (c) 2004, 2005, 2006, 2007 Free Software Foundation, Inc. @@ -20,3 +21,360 @@ Copyright (c) 1997, 1998, 1999 Colin Plumb Copyright 1994-1996, 2000-2008 Free Software Foundation, Inc. Copyright (c) 1984-2008 Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 30 + end_line: 41 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation; either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see . */" + - score: '100.0' + start_line: 47 + end_line: 69 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_42.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 4. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + - score: '100.0' + start_line: 78 + end_line: 89 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation; either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see . */" + - score: '100.0' + start_line: 95 + end_line: 117 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_42.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 4. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + - score: '100.0' + start_line: 126 + end_line: 137 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation, either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see ." + - score: '100.0' + start_line: 145 + end_line: 157 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_4.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation; either version 3, or (at your option)\n any later version.\n\ + \ \n This program is distributed in the hope that it will be useful,\n but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR\ + \ A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n \n\ + \ You should have received a copy of the GNU General Public License\n along with\ + \ this program; if not, write to the Free Software Foundation,\n Inc., 51 Franklin\ + \ Street, Fifth Floor, Boston, MA 02110-1301, USA. */" + - score: '100.0' + start_line: 162 + end_line: 173 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_9.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS + * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE + * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL + * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR + * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS + * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + * SOFTWARE. + - score: '100.0' + start_line: 180 + end_line: 182 + matcher: 2-aho + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited.LICENSE + license_expression: fsf-unlimited + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + - score: '100.0' + start_line: '193' + end_line: 204 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation, either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see . */" + - score: '100.0' + start_line: 213 + end_line: 224 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation, either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see . */" + - score: '100.0' + start_line: 233 + end_line: 244 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation, either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see . */" + - score: '100.0' + start_line: 253 + end_line: 264 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation, either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see ." + - score: '100.0' + start_line: 272 + end_line: 277 + matcher: 2-aho + rule_length: 62 + matched_length: 62 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.2-plus.RULE + license_expression: gfdl-1.2-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.2 or + any later version published by the Free Software Foundation; with no + Invariant Sections, with no Front-Cover Texts, and with no Back-Cover + Texts. A copy of the license is included in the section entitled ``GNU + Free Documentation License''. + - score: '100.0' + start_line: 285 + end_line: 299 + matcher: 2-aho + rule_length: 124 + matched_length: 124 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_2.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation, either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see .\n \n On Debian\ + \ systems, the complete text of the GNU General\n Public License can be found in `/usr/share/common-licenses/GPL-3'." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dash/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dash/copyright-detailed.expected.yml index a0554b56774..029c88f974d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dash/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dash/copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - BSD-3-Clause +primary_license: bsd-new +declared_license: + - BSD-3-Clause - FSFULLR - FSFULLR - FSFUL @@ -29,12 +31,13 @@ - FSFULLR - Expat - GPL-2+ -- bsd-new AND fsf-unlimited-no-warranty AND fsf-unlimited-no-warranty AND fsf-free AND bsd-new +license_expression: bsd-new AND fsf-unlimited-no-warranty AND fsf-unlimited-no-warranty AND + fsf-free AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new - AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND (x11-xconsortium - AND public-domain) AND ((gpl-2.0-plus AND gpl-2.0-plus) OR bsd-new) AND public-domain AND - bsd-new AND fsf-unlimited-no-warranty AND (gpl-2.0-plus AND gpl-2.0-plus) -- | + AND bsd-new AND (x11-xconsortium AND public-domain) AND ((gpl-2.0-plus AND gpl-2.0-plus) OR + bsd-new) AND public-domain AND bsd-new AND fsf-unlimited-no-warranty AND (gpl-2.0-plus AND + gpl-2.0-plus) +copyright: | 1989-1994 The Regents of the University of California. All rights reserved. 1997 Christos Zoulas. All rights reserved. 1997-2018 Herbert Xu . All rights reserved. @@ -87,3 +90,202 @@ 1989, 1991, 1993, 1995, The Regents of the University of California. 1994-2011, Free Software 1992, 1996, 1997, 1999, 2000, 2002-2012, Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-free.LICENSE + license_expression: fsf-free + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This configure script is free software; the Free Software Foundation + gives unlimited permission to copy, distribute and modify it. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 63 + matched_length: 63 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.LICENSE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation + gives unlimited permission to copy and/or distribute it, + with or without modifications, as long as this notice is preserved. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY, to the extent permitted by law; without + even the implied warranty of MERCHANTABILITY or FITNESS FOR A + PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 2-aho + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- + TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. + - score: '100.0' + start_line: 23 + end_line: 23 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_58.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: FSF changes to this file are in the public domain. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 134 + matched_length: 134 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_737.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in ‘/usr/share/common-licenses/GPL-2’. + - score: '99.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 99 + identifier: pypi_public_domain.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: public-domain' diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dash/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dash/copyright.expected.yml index 7a602b595a1..af38152bf4b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dash/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dash/copyright.expected.yml @@ -1,4 +1,6 @@ -- - BSD-3-Clause +primary_license: bsd-new +declared_license: + - BSD-3-Clause - FSFULLR - FSFUL - BSD-3-clause @@ -6,9 +8,9 @@ - GPL-2+ or BSD-3-clause - public-domain - GPL-2+ -- bsd-new AND fsf-unlimited-no-warranty AND fsf-free AND bsd-new AND (x11-xconsortium AND public-domain) - AND ((gpl-2.0-plus AND gpl-2.0-plus) OR bsd-new) AND public-domain AND (gpl-2.0-plus AND gpl-2.0-plus) -- | +license_expression: bsd-new AND fsf-unlimited-no-warranty AND fsf-free AND (x11-xconsortium + AND public-domain) AND (gpl-2.0-plus OR bsd-new) AND public-domain AND gpl-2.0-plus +copyright: | 1989-1994 The Regents of the University of California. All rights reserved. 1997 Christos Zoulas. All rights reserved. 1997-2018 Herbert Xu . All rights reserved. @@ -46,3 +48,202 @@ 1989, 1991, 1993, 1995, The Regents of the University of California. 1994-2011, Free Software 1992, 1996, 1997, 1999, 2000, 2002-2012, Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-free.LICENSE + license_expression: fsf-free + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This configure script is free software; the Free Software Foundation + gives unlimited permission to copy, distribute and modify it. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 63 + matched_length: 63 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.LICENSE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation + gives unlimited permission to copy and/or distribute it, + with or without modifications, as long as this notice is preserved. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY, to the extent permitted by law; without + even the implied warranty of MERCHANTABILITY or FITNESS FOR A + PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 2-aho + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- + TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. + - score: '100.0' + start_line: 23 + end_line: 23 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_58.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: FSF changes to this file are in the public domain. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 134 + matched_length: 134 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_737.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in ‘/usr/share/common-licenses/GPL-2’. + - score: '99.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 99 + identifier: pypi_public_domain.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: public-domain' diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debconf/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debconf/copyright-detailed.expected.yml index ed2dfe02d0e..45d45d123e7 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debconf/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debconf/copyright-detailed.expected.yml @@ -1,4 +1,5 @@ -- - BSD-2-clause +primary_license: bsd-simplified +declared_license: - BSD-2-clause - BSD-2-clause - BSD-2-clause @@ -10,10 +11,11 @@ - BSD-2-clause - BSD-2-clause - BSD-2-clause -- bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified + - BSD-2-clause +license_expression: bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified - AND bsd-simplified -- | + AND bsd-simplified AND bsd-simplified +copyright: | 1999-2010 Joey Hess 2003 Tomohiro KUBOTA 2004-2010 Colin Watson @@ -36,3 +38,40 @@ 2005 Sylvain Ferriol 2005-2010 Colin Watson 2005-2010 Joey Hess +matches: + - score: '99.45' + start_line: 1 + end_line: 20 + matcher: 3-seq + rule_length: 183 + matched_length: 182 + match_coverage: '99.45' + rule_relevance: 100 + identifier: bsd-simplified_52.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY AUTHORS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debconf/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debconf/copyright.expected.yml index e35d1f151c0..19a9f6c2246 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debconf/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debconf/copyright.expected.yml @@ -1,6 +1,8 @@ -- - BSD-2-clause -- bsd-simplified -- | +primary_license: bsd-simplified +declared_license: + - BSD-2-clause +license_expression: bsd-simplified +copyright: | 1999-2010 Joey Hess 2003 Tomohiro KUBOTA 2004-2010 Colin Watson @@ -20,3 +22,40 @@ 2003 Petter Reinholdtsen 2005 Sylvain Ferriol 2005-2010 Joey Hess +matches: + - score: '99.45' + start_line: 1 + end_line: 20 + matcher: 3-seq + rule_length: 183 + matched_length: 182 + match_coverage: '99.45' + rule_relevance: 100 + identifier: bsd-simplified_52.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY AUTHORS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debian-archive-keyring/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debian-archive-keyring/copyright-detailed.expected.yml index f1ba24c6007..951b02918eb 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debian-archive-keyring/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debian-archive-keyring/copyright-detailed.expected.yml @@ -1,3 +1,34 @@ -- -- gpl-2.0-plus -- Copyright (c) 2006 Michael Vogt +primary_license: +declared_license: +license_expression: gpl-2.0-plus +copyright: Copyright (c) 2006 Michael Vogt +matches: + - score: '90.0' + start_line: 6 + end_line: 26 + matcher: 3-seq + rule_length: 162 + matched_length: 162 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_306.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The keys in the keyrings don't fall under any copyright. Everything\n else\ + \ in the package is covered by the GNU GPL.\n \n Debian support files [Copyright] ([C])\ + \ [2006] [Michael] [Vogt] <[mvo]@[debian].[org]> \n [based] [on] [the] [debian]-[keyring]\ + \ [package] [maintained] [by] [James] [Troup] \n \n [Debian] [support] [files] for debian-archive-keyring\ + \ are free software; you\n can redistribute them and/or modify them under the terms of\ + \ the GNU\n General Public License as published by the Free Software Foundation;\n either\ + \ version 2, or (at your option) any later version.\n \n Debian support files for debian-archive-keyring\ + \ are distributed in the\n hope that they will be useful, but WITHOUT ANY WARRANTY; without\ + \ even\n the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n PURPOSE.\ + \ See the GNU General Public License for more details.\n \n You should have received\ + \ a copy of the GNU General Public License with\n your Debian system, in /usr/share/common-licenses/GPL,\ + \ or with the\n Debian GNU debian-archive-keyring source package as the file COPYING.\n\ + \ If not, write to the Free Software Foundation, Inc., 51 Franklin Street,\n Fifth Floor,\ + \ Boston, MA 02110-1301 USA." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debian-archive-keyring/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debian-archive-keyring/copyright.expected.yml index f1ba24c6007..951b02918eb 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debian-archive-keyring/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debian-archive-keyring/copyright.expected.yml @@ -1,3 +1,34 @@ -- -- gpl-2.0-plus -- Copyright (c) 2006 Michael Vogt +primary_license: +declared_license: +license_expression: gpl-2.0-plus +copyright: Copyright (c) 2006 Michael Vogt +matches: + - score: '90.0' + start_line: 6 + end_line: 26 + matcher: 3-seq + rule_length: 162 + matched_length: 162 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_306.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The keys in the keyrings don't fall under any copyright. Everything\n else\ + \ in the package is covered by the GNU GPL.\n \n Debian support files [Copyright] ([C])\ + \ [2006] [Michael] [Vogt] <[mvo]@[debian].[org]> \n [based] [on] [the] [debian]-[keyring]\ + \ [package] [maintained] [by] [James] [Troup] \n \n [Debian] [support] [files] for debian-archive-keyring\ + \ are free software; you\n can redistribute them and/or modify them under the terms of\ + \ the GNU\n General Public License as published by the Free Software Foundation;\n either\ + \ version 2, or (at your option) any later version.\n \n Debian support files for debian-archive-keyring\ + \ are distributed in the\n hope that they will be useful, but WITHOUT ANY WARRANTY; without\ + \ even\n the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n PURPOSE.\ + \ See the GNU General Public License for more details.\n \n You should have received\ + \ a copy of the GNU General Public License with\n your Debian system, in /usr/share/common-licenses/GPL,\ + \ or with the\n Debian GNU debian-archive-keyring source package as the file COPYING.\n\ + \ If not, write to the Free Software Foundation, Inc., 51 Franklin Street,\n Fifth Floor,\ + \ Boston, MA 02110-1301 USA." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debianutils/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debianutils/copyright-detailed.expected.yml index 0ce15b0121a..263b7c48504 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debianutils/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debianutils/copyright-detailed.expected.yml @@ -1,6 +1,130 @@ -- -- gpl-1.0-plus AND gpl-2.0-plus AND public-domain AND smail-gpl -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND smail-gpl +copyright: | Copyright (c) 1988 Landon Curt Noll & Ronald S. Karr Copyright (c) 1992 Ronald S. Karr Copyright (c) 1988 Landon Curt Noll & Ronald S. Karr +matches: + - score: '100.0' + start_line: 8 + end_line: 11 + matcher: 2-aho + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_810.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "redistributed under the terms of the GNU GPL, Version 2 or later,\n found\ + \ on Debian systems in the file /usr/share/common-licenses/GPL-2.\n \n which is in the\ + \ public domain." + - score: '100.0' + start_line: 18 + end_line: 161 + matcher: 2-aho + rule_length: 1219 + matched_length: 1219 + match_coverage: '100.0' + rule_relevance: 100 + identifier: smail-gpl.LICENSE + license_expression: smail-gpl + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "SMAIL GENERAL PUBLIC LICENSE\n \t\t (Clarified 11 Feb 1988)\n \n Copyright\ + \ (C) 1988 Landon Curt Noll & Ronald S. Karr\n Copyright (C) 1992 Ronald S. Karr\n\ + \ Copyleft (GNU) 1988 Landon Curt Noll & Ronald S. Karr\n \n Everyone is permitted to\ + \ copy and distribute verbatim copies\n of this license, but changing it is not allowed.\ + \ You can also\n use this wording to make the terms for other programs.\n \n The license\ + \ agreements of most software companies keep you at the\n mercy of those companies. By\ + \ contrast, our general public license is\n intended to give everyone the right to share\ + \ SMAIL. To make sure that\n you get the rights we want you to have, we need to make\ + \ restrictions\n that forbid anyone to deny you these rights or to ask you to surrender\n\ + \ the rights. Hence this license agreement.\n \n Specifically, we want to make sure\ + \ that you have the right to give\n away copies of SMAIL, that you receive source code\ + \ or else can get it\n if you want it, that you can change SMAIL or use pieces of it in\ + \ new\n free programs, and that you know you can do these things.\n \n To make sure\ + \ that everyone has such rights, we have to forbid you to\n deprive anyone else of these\ + \ rights. For example, if you distribute\n copies of SMAIL, you must give the recipients\ + \ all the rights that you\n have. You must make sure that they, too, receive or can get\ + \ the\n source code. And you must tell them their rights.\n \n Also, for our own protection,\ + \ we must make certain that everyone\n finds out that there is no warranty for SMAIL.\ + \ If SMAIL is modified by\n someone else and passed on, we want its recipients to know\ + \ that what\n they have is not what we distributed, so that any problems introduced\n\ + \ by others will not reflect on our reputation.\n \n Therefore we (Landon Curt Noll\ + \ and Ronald S. Karr) make the following \n terms which say what you must do to be allowed\ + \ to distribute or change \n SMAIL.\n \n \n \t\t\tCOPYING POLICIES\n \n 1. You may copy\ + \ and distribute verbatim copies of SMAIL source code\n as you receive it, in any medium,\ + \ provided that you conspicuously and\n appropriately publish on each copy a valid copyright\ + \ notice \"Copyright\n (C) 1988 Landon Curt Noll & Ronald S. Karr\" (or with whatever\ + \ year is\n appropriate); keep intact the notices on all files that refer to this\n License\ + \ Agreement and to the absence of any warranty; and give any\n other recipients of the\ + \ SMAIL program a copy of this License\n Agreement along with the program. You may charge\ + \ a distribution fee\n for the physical act of transferring a copy.\n \n 2. You may\ + \ modify your copy or copies of SMAIL or any portion of it,\n and copy and distribute\ + \ such modifications under the terms of\n Paragraph 1 above, provided that you also do\ + \ the following:\n \n a) cause the modified files to carry prominent notices stating\n\ + \ that you changed the files and the date of any change; and\n \n b) cause the\ + \ whole of any work that you distribute or publish,\n that in whole or in part contains\ + \ or is a derivative of SMAIL or\n any part thereof, to be licensed at no charge to\ + \ all third\n parties on terms identical to those contained in this License\n \ + \ Agreement (except that you may choose to grant more extensive\n warranty protection\ + \ to some or all third parties, at your option).\n \n c) You may charge a distribution\ + \ fee for the physical act of\n transferring a copy, and you may at your option offer\ + \ warranty\n protection in exchange for a fee.\n \n Mere aggregation of another unrelated\ + \ program with this program (or its\n derivative) on a volume of a storage or distribution\ + \ medium does not bring\n the other program under the scope of these terms.\n \n 3.\ + \ You may copy and distribute SMAIL (or a portion or derivative of it,\n under Paragraph\ + \ 2) in object code or executable form under the terms of\n Paragraphs 1 and 2 above provided\ + \ that you also do one of the following:\n \n a) accompany it with the complete corresponding\ + \ machine-readable\n source code, which must be distributed under the terms of\n \ + \ Paragraphs 1 and 2 above; or,\n \n b) accompany it with a written offer, valid\ + \ for at least three\n years, to give any third party free (except for a nominal\n\ + \ shipping charge) a complete machine-readable copy of the\n corresponding source\ + \ code, to be distributed under the terms of\n Paragraphs 1 and 2 above; or,\n \n\ + \ c) accompany it with the information you received as to where the\n corresponding\ + \ source code may be obtained. (This alternative is\n allowed only for non-commercial\ + \ distribution and only if you\n received the program in object code or executable\ + \ form alone.)\n \n For an executable file, complete source code means all the source\ + \ code for\n all modules it contains; but, as a special exception, it need not include\n\ + \ source code for modules which are standard libraries that accompany the\n operating\ + \ system on which the executable file runs.\n \n 4. You may not copy, sublicense, distribute\ + \ or transfer SMAIL\n except as expressly provided under this License Agreement. Any\ + \ attempt\n otherwise to copy, sublicense, distribute or transfer SMAIL is void and\n\ + \ your rights to use the program under this License agreement shall be\n automatically\ + \ terminated. However, parties who have received computer\n software programs from you\ + \ with this License Agreement will not have\n their licenses terminated so long as such\ + \ parties remain in full compliance.\n \n 5. If you wish to incorporate parts of SMAIL\ + \ into other free\n programs whose distribution conditions are different, write to Landon\n\ + \ Curt Noll & Ronald S. Karr via the Free Software Foundation at 51\n Franklin St, Fifth\ + \ Floor, Boston, MA 02110-1301, USA. We have not yet\n worked out a simple rule that\ + \ can be stated here, but we will often\n permit this. We will be guided by the two goals\ + \ of preserving the\n free status of all derivatives of our free software and of promoting\n\ + \ the sharing and reuse of software.\n \n Your comments and suggestions about our licensing\ + \ policies and our\n software are welcome! This contract was based on the contract made\ + \ by\n the Free Software Foundation. Please contact the Free Software\n Foundation, Inc.,\ + \ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,\n USA, or call (617) 542-5942 for\ + \ details on copylefted material in\n general.\n \n \t\t NO WARRANTY\n \n BECAUSE\ + \ SMAIL IS LICENSED FREE OF CHARGE, WE PROVIDE ABSOLUTELY NO\n WARRANTY, TO THE EXTENT\ + \ PERMITTED BY APPLICABLE STATE LAW. EXCEPT WHEN\n OTHERWISE STATED IN WRITING, LANDON\ + \ CURT NOLL & RONALD S. KARR AND/OR\n OTHER PARTIES PROVIDE SMAIL \"AS IS\" WITHOUT WARRANTY\ + \ OF ANY KIND,\n EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n\ + \ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\n THE ENTIRE RISK\ + \ AS TO THE QUALITY AND PERFORMANCE OF SMAIL IS WITH\n YOU. SHOULD SMAIL PROVE DEFECTIVE,\ + \ YOU ASSUME THE COST OF ALL\n NECESSARY SERVICING, REPAIR OR CORRECTION.\n \n IN NO\ + \ EVENT UNLESS REQUIRED BY APPLICABLE LAW WILL LANDON CURT NOLL &\n RONALD S. KARR AND/OR\ + \ ANY OTHER PARTY WHO MAY MODIFY AND REDISTRIBUTE\n SMAIL AS PERMITTED ABOVE, BE LIABLE\ + \ TO YOU FOR DAMAGES, INCLUDING ANY\n LOST PROFITS, LOST MONIES, OR OTHER SPECIAL, INCIDENTAL\ + \ OR\n CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE\n (INCLUDING BUT\ + \ NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\n INACCURATE OR LOSSES SUSTAINED\ + \ BY THIRD PARTIES OR A FAILURE OF THE\n PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS) SMAIL,\ + \ EVEN IF YOU HAVE\n BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, OR FOR ANY CLAIM\ + \ BY\n ANY OTHER PARTY." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debianutils/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debianutils/copyright.expected.yml index 0ce15b0121a..263b7c48504 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debianutils/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/debianutils/copyright.expected.yml @@ -1,6 +1,130 @@ -- -- gpl-1.0-plus AND gpl-2.0-plus AND public-domain AND smail-gpl -- | +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND smail-gpl +copyright: | Copyright (c) 1988 Landon Curt Noll & Ronald S. Karr Copyright (c) 1992 Ronald S. Karr Copyright (c) 1988 Landon Curt Noll & Ronald S. Karr +matches: + - score: '100.0' + start_line: 8 + end_line: 11 + matcher: 2-aho + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_810.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "redistributed under the terms of the GNU GPL, Version 2 or later,\n found\ + \ on Debian systems in the file /usr/share/common-licenses/GPL-2.\n \n which is in the\ + \ public domain." + - score: '100.0' + start_line: 18 + end_line: 161 + matcher: 2-aho + rule_length: 1219 + matched_length: 1219 + match_coverage: '100.0' + rule_relevance: 100 + identifier: smail-gpl.LICENSE + license_expression: smail-gpl + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "SMAIL GENERAL PUBLIC LICENSE\n \t\t (Clarified 11 Feb 1988)\n \n Copyright\ + \ (C) 1988 Landon Curt Noll & Ronald S. Karr\n Copyright (C) 1992 Ronald S. Karr\n\ + \ Copyleft (GNU) 1988 Landon Curt Noll & Ronald S. Karr\n \n Everyone is permitted to\ + \ copy and distribute verbatim copies\n of this license, but changing it is not allowed.\ + \ You can also\n use this wording to make the terms for other programs.\n \n The license\ + \ agreements of most software companies keep you at the\n mercy of those companies. By\ + \ contrast, our general public license is\n intended to give everyone the right to share\ + \ SMAIL. To make sure that\n you get the rights we want you to have, we need to make\ + \ restrictions\n that forbid anyone to deny you these rights or to ask you to surrender\n\ + \ the rights. Hence this license agreement.\n \n Specifically, we want to make sure\ + \ that you have the right to give\n away copies of SMAIL, that you receive source code\ + \ or else can get it\n if you want it, that you can change SMAIL or use pieces of it in\ + \ new\n free programs, and that you know you can do these things.\n \n To make sure\ + \ that everyone has such rights, we have to forbid you to\n deprive anyone else of these\ + \ rights. For example, if you distribute\n copies of SMAIL, you must give the recipients\ + \ all the rights that you\n have. You must make sure that they, too, receive or can get\ + \ the\n source code. And you must tell them their rights.\n \n Also, for our own protection,\ + \ we must make certain that everyone\n finds out that there is no warranty for SMAIL.\ + \ If SMAIL is modified by\n someone else and passed on, we want its recipients to know\ + \ that what\n they have is not what we distributed, so that any problems introduced\n\ + \ by others will not reflect on our reputation.\n \n Therefore we (Landon Curt Noll\ + \ and Ronald S. Karr) make the following \n terms which say what you must do to be allowed\ + \ to distribute or change \n SMAIL.\n \n \n \t\t\tCOPYING POLICIES\n \n 1. You may copy\ + \ and distribute verbatim copies of SMAIL source code\n as you receive it, in any medium,\ + \ provided that you conspicuously and\n appropriately publish on each copy a valid copyright\ + \ notice \"Copyright\n (C) 1988 Landon Curt Noll & Ronald S. Karr\" (or with whatever\ + \ year is\n appropriate); keep intact the notices on all files that refer to this\n License\ + \ Agreement and to the absence of any warranty; and give any\n other recipients of the\ + \ SMAIL program a copy of this License\n Agreement along with the program. You may charge\ + \ a distribution fee\n for the physical act of transferring a copy.\n \n 2. You may\ + \ modify your copy or copies of SMAIL or any portion of it,\n and copy and distribute\ + \ such modifications under the terms of\n Paragraph 1 above, provided that you also do\ + \ the following:\n \n a) cause the modified files to carry prominent notices stating\n\ + \ that you changed the files and the date of any change; and\n \n b) cause the\ + \ whole of any work that you distribute or publish,\n that in whole or in part contains\ + \ or is a derivative of SMAIL or\n any part thereof, to be licensed at no charge to\ + \ all third\n parties on terms identical to those contained in this License\n \ + \ Agreement (except that you may choose to grant more extensive\n warranty protection\ + \ to some or all third parties, at your option).\n \n c) You may charge a distribution\ + \ fee for the physical act of\n transferring a copy, and you may at your option offer\ + \ warranty\n protection in exchange for a fee.\n \n Mere aggregation of another unrelated\ + \ program with this program (or its\n derivative) on a volume of a storage or distribution\ + \ medium does not bring\n the other program under the scope of these terms.\n \n 3.\ + \ You may copy and distribute SMAIL (or a portion or derivative of it,\n under Paragraph\ + \ 2) in object code or executable form under the terms of\n Paragraphs 1 and 2 above provided\ + \ that you also do one of the following:\n \n a) accompany it with the complete corresponding\ + \ machine-readable\n source code, which must be distributed under the terms of\n \ + \ Paragraphs 1 and 2 above; or,\n \n b) accompany it with a written offer, valid\ + \ for at least three\n years, to give any third party free (except for a nominal\n\ + \ shipping charge) a complete machine-readable copy of the\n corresponding source\ + \ code, to be distributed under the terms of\n Paragraphs 1 and 2 above; or,\n \n\ + \ c) accompany it with the information you received as to where the\n corresponding\ + \ source code may be obtained. (This alternative is\n allowed only for non-commercial\ + \ distribution and only if you\n received the program in object code or executable\ + \ form alone.)\n \n For an executable file, complete source code means all the source\ + \ code for\n all modules it contains; but, as a special exception, it need not include\n\ + \ source code for modules which are standard libraries that accompany the\n operating\ + \ system on which the executable file runs.\n \n 4. You may not copy, sublicense, distribute\ + \ or transfer SMAIL\n except as expressly provided under this License Agreement. Any\ + \ attempt\n otherwise to copy, sublicense, distribute or transfer SMAIL is void and\n\ + \ your rights to use the program under this License agreement shall be\n automatically\ + \ terminated. However, parties who have received computer\n software programs from you\ + \ with this License Agreement will not have\n their licenses terminated so long as such\ + \ parties remain in full compliance.\n \n 5. If you wish to incorporate parts of SMAIL\ + \ into other free\n programs whose distribution conditions are different, write to Landon\n\ + \ Curt Noll & Ronald S. Karr via the Free Software Foundation at 51\n Franklin St, Fifth\ + \ Floor, Boston, MA 02110-1301, USA. We have not yet\n worked out a simple rule that\ + \ can be stated here, but we will often\n permit this. We will be guided by the two goals\ + \ of preserving the\n free status of all derivatives of our free software and of promoting\n\ + \ the sharing and reuse of software.\n \n Your comments and suggestions about our licensing\ + \ policies and our\n software are welcome! This contract was based on the contract made\ + \ by\n the Free Software Foundation. Please contact the Free Software\n Foundation, Inc.,\ + \ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,\n USA, or call (617) 542-5942 for\ + \ details on copylefted material in\n general.\n \n \t\t NO WARRANTY\n \n BECAUSE\ + \ SMAIL IS LICENSED FREE OF CHARGE, WE PROVIDE ABSOLUTELY NO\n WARRANTY, TO THE EXTENT\ + \ PERMITTED BY APPLICABLE STATE LAW. EXCEPT WHEN\n OTHERWISE STATED IN WRITING, LANDON\ + \ CURT NOLL & RONALD S. KARR AND/OR\n OTHER PARTIES PROVIDE SMAIL \"AS IS\" WITHOUT WARRANTY\ + \ OF ANY KIND,\n EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n\ + \ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\n THE ENTIRE RISK\ + \ AS TO THE QUALITY AND PERFORMANCE OF SMAIL IS WITH\n YOU. SHOULD SMAIL PROVE DEFECTIVE,\ + \ YOU ASSUME THE COST OF ALL\n NECESSARY SERVICING, REPAIR OR CORRECTION.\n \n IN NO\ + \ EVENT UNLESS REQUIRED BY APPLICABLE LAW WILL LANDON CURT NOLL &\n RONALD S. KARR AND/OR\ + \ ANY OTHER PARTY WHO MAY MODIFY AND REDISTRIBUTE\n SMAIL AS PERMITTED ABOVE, BE LIABLE\ + \ TO YOU FOR DAMAGES, INCLUDING ANY\n LOST PROFITS, LOST MONIES, OR OTHER SPECIAL, INCIDENTAL\ + \ OR\n CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE\n (INCLUDING BUT\ + \ NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\n INACCURATE OR LOSSES SUSTAINED\ + \ BY THIRD PARTIES OR A FAILURE OF THE\n PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS) SMAIL,\ + \ EVEN IF YOU HAVE\n BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, OR FOR ANY CLAIM\ + \ BY\n ANY OTHER PARTY." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/diffutils/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/diffutils/copyright-detailed.expected.yml index 711d82327a1..cb12de67c3e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/diffutils/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/diffutils/copyright-detailed.expected.yml @@ -1,5 +1,50 @@ -- -- gpl-3.0-plus AND gfdl-1.3-plus -- | +primary_license: +declared_license: +license_expression: gpl-3.0-plus AND gfdl-1.3-plus +copyright: | Copyright (c) 1988-1996, 1998, 2001-2002, 2004, 2006-2007, 2009-2013, 2015-2018 Free Software Foundation, Inc. Copyright (c) 1992-1994, 1998, 2001-2002, 2004, 2006, 2009-2018 Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 18 + end_line: 29 + matcher: 2-aho + rule_length: 100 + matched_length: 100 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_234.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free Software\ + \ Foundation, either version 3 of the License, or\n (at your option) any later version.\n\ + \ \n This program is distributed in the hope that it will be useful,\n but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR\ + \ A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n \n\ + \ On Debian systems, the complete text of the GNU General Public License\n may be found\ + \ in `/usr/share/common-licenses/GPL'." + - score: '100.0' + start_line: 38 + end_line: 44 + matcher: 2-aho + rule_length: 67 + matched_length: 67 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus_3.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to copy, distribute and/or modify this document\n \ + \ under the terms of the GNU Free Documentation License, Version 1.3 or\n any later\ + \ version published by the Free Software Foundation; with no\n Invariant Sections, no\ + \ Front-Cover Texts, and no Back-Cover Texts.\n \n On Debian systems, the complete text\ + \ of the GNU Free Documentation\n License may be found in `/usr/share/common-licenses/GFDL'." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/diffutils/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/diffutils/copyright.expected.yml index 711d82327a1..cb12de67c3e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/diffutils/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/diffutils/copyright.expected.yml @@ -1,5 +1,50 @@ -- -- gpl-3.0-plus AND gfdl-1.3-plus -- | +primary_license: +declared_license: +license_expression: gpl-3.0-plus AND gfdl-1.3-plus +copyright: | Copyright (c) 1988-1996, 1998, 2001-2002, 2004, 2006-2007, 2009-2013, 2015-2018 Free Software Foundation, Inc. Copyright (c) 1992-1994, 1998, 2001-2002, 2004, 2006, 2009-2018 Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 18 + end_line: 29 + matcher: 2-aho + rule_length: 100 + matched_length: 100 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_234.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free Software\ + \ Foundation, either version 3 of the License, or\n (at your option) any later version.\n\ + \ \n This program is distributed in the hope that it will be useful,\n but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR\ + \ A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n \n\ + \ On Debian systems, the complete text of the GNU General Public License\n may be found\ + \ in `/usr/share/common-licenses/GPL'." + - score: '100.0' + start_line: 38 + end_line: 44 + matcher: 2-aho + rule_length: 67 + matched_length: 67 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus_3.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to copy, distribute and/or modify this document\n \ + \ under the terms of the GNU Free Documentation License, Version 1.3 or\n any later\ + \ version published by the Free Software Foundation; with no\n Invariant Sections, no\ + \ Front-Cover Texts, and no Back-Cover Texts.\n \n On Debian systems, the complete text\ + \ of the GNU Free Documentation\n License may be found in `/usr/share/common-licenses/GFDL'." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dpkg/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dpkg/copyright-detailed.expected.yml index 1ccb10dd74f..5e12ed94496 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dpkg/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dpkg/copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2+ - GPL-2 - BSD-2-clause @@ -7,10 +9,11 @@ - GPL-2+ - GPL-2 - BSD-2-clause -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus - AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0) AND bsd-simplified AND (public-domain - AND other-permissive AND public-domain AND public-domain AND public-domain) AND public-domain -- | +license_expression: (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0-plus + AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0) AND bsd-simplified + AND (public-domain AND other-permissive AND public-domain AND public-domain AND public-domain) + AND public-domain +copyright: | Copyright © 1994 Ian Murdock Copyright © 1994 Matt Welsh Copyright © 1994 Carl Streeter @@ -82,3 +85,266 @@ Copyright © 2012 Carsten Hey Copyright © 2014 Nir Soffer Copyright © 1993 Colin Plumb +matches: + - score: '70.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain. + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_277.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + May be used and distributed + freely for any purpose. + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_346.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: also placed in public domain. + - score: '100.0' + start_line: 7 + end_line: 8 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_348.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + also placed in the Public + Domain. + - score: '100.0' + start_line: 11 + end_line: 11 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_347.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: placed in public domain as well. + - score: '100.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_303.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This code was + written by Colin Plumb in 1993, no copyright is claimed. + This code is in the public domain; do with it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 94 + matched_length: 94 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_286.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_36.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1092.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public License + can be found in ‘/usr/share/common-licenses/GPL-2’ + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 92 + matched_length: 92 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1119.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify + it under the terms of version 2 of the GNU General Public + License version 2 as published by the Free Software Foundation. + + This is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '99.45' + start_line: 1 + end_line: 20 + matcher: 3-seq + rule_length: 183 + matched_length: 182 + match_coverage: '99.45' + rule_relevance: 100 + identifier: bsd-simplified_52.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY AUTHORS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dpkg/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dpkg/copyright.expected.yml index eb58daf0e85..845eed38040 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dpkg/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/dpkg/copyright.expected.yml @@ -1,12 +1,13 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2 - BSD-2-clause - public-domain-s-s-d - public-domain-md5 -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0) AND - bsd-simplified AND (public-domain AND other-permissive AND public-domain AND public-domain - AND public-domain) AND public-domain -- | +license_expression: (gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND gpl-2.0 AND bsd-simplified + AND (public-domain AND other-permissive) AND public-domain +copyright: | Copyright © 1994 Ian Murdock Copyright © 1994 Matt Welsh Copyright © 1994 Carl Streeter @@ -76,3 +77,266 @@ Copyright © 2012 Carsten Hey Copyright © 2014 Nir Soffer Copyright © 1993 Colin Plumb +matches: + - score: '70.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain. + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_277.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + May be used and distributed + freely for any purpose. + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_346.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: also placed in public domain. + - score: '100.0' + start_line: 7 + end_line: 8 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_348.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + also placed in the Public + Domain. + - score: '100.0' + start_line: 11 + end_line: 11 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_347.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: placed in public domain as well. + - score: '100.0' + start_line: 2 + end_line: 4 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_303.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This code was + written by Colin Plumb in 1993, no copyright is claimed. + This code is in the public domain; do with it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 94 + matched_length: 94 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_286.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_36.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1092.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public License + can be found in ‘/usr/share/common-licenses/GPL-2’ + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 92 + matched_length: 92 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1119.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify + it under the terms of version 2 of the GNU General Public + License version 2 as published by the Free Software Foundation. + + This is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '99.45' + start_line: 1 + end_line: 20 + matcher: 3-seq + rule_length: 183 + matched_length: 182 + match_coverage: '99.45' + rule_relevance: 100 + identifier: bsd-simplified_52.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY AUTHORS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/e2fsprogs/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/e2fsprogs/copyright-detailed.expected.yml index 9cf037404ae..16a70b23cf0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/e2fsprogs/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/e2fsprogs/copyright-detailed.expected.yml @@ -1,7 +1,8 @@ -- -- (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 AND lgpl-2.1) - AND ntp-0 AND bsd-new -- | +primary_license: +declared_license: +license_expression: (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 + AND lgpl-2.0) AND ntp-0 AND bsd-new +copyright: | Copyright (c) 2003-2007 Theodore Ts'o Copyright (c) 1997-2003 Yann Dirson Copyright (c) 2001 Alcove @@ -9,3 +10,103 @@ Copyright (c) 1995-1996 Michael Nonweiler Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by Theodore Ts'o Copyright 1987 by the Student Information Processing Board of the Massachusetts Institute of Technology +matches: + - score: '98.28' + start_line: 17 + end_line: 22 + matcher: 3-seq + rule_length: 58 + matched_length: 57 + match_coverage: '98.28' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_and_bsd-new_and_mit_2.RULE + license_expression: gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package, the EXT2 [filesystem] utilities, are made available under + the GNU General Public License version 2, with the exception of the + [lib]/[ext2fs] [and] [lib]/[e2p] libraries, which are made available under the + GNU Library General Public License Version 2, the [lib]/[uuid] library + which is made available under a BSD-style license and the [lib]/[et] [and] + [lib]/[ss] libraries which are made available under an MIT-style license. + - score: '100.0' + start_line: 27 + end_line: 30 + matcher: 2-aho + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_4.RULE + license_expression: gpl-2.0 AND lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU systems, the complete text of the GNU General Public + License can be found in `/usr/share/common-licenses/GPL-2'. The + complete text of the GNU Library General Public License can be found + in '/usr/share/common-licenses/LGPL-2'. + - score: '100.0' + start_line: 38 + end_line: 45 + matcher: 2-aho + rule_length: 83 + matched_length: 83 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ntp-0.LICENSE + license_expression: ntp-0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose is hereby granted, provided that + the names of M.I.T. and the M.I.T. S.I.P.B. not be used in + advertising or publicity pertaining to distribution of the software + without specific, written prior permission. M.I.T. and the + M.I.T. S.I.P.B. make no representations about the suitability of + this software for any purpose. It is provided "as is" without + express or implied warranty. + - score: '100.0' + start_line: 49 + end_line: 73 + matcher: 2-aho + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_117.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, and the entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n 2. Redistributions\ + \ in binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. The name of the author may not be used to endorse or\ + \ promote\n products derived from this software without specific prior\n written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF\n WHICH ARE HEREBY DISCLAIMED. IN NO\ + \ EVENT SHALL THE AUTHOR BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\ + \ EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n\ + \ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS\ + \ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\ + \ OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH\n\ + \ DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/e2fsprogs/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/e2fsprogs/copyright.expected.yml index 9cf037404ae..16a70b23cf0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/e2fsprogs/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/e2fsprogs/copyright.expected.yml @@ -1,7 +1,8 @@ -- -- (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 AND lgpl-2.1) - AND ntp-0 AND bsd-new -- | +primary_license: +declared_license: +license_expression: (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 + AND lgpl-2.0) AND ntp-0 AND bsd-new +copyright: | Copyright (c) 2003-2007 Theodore Ts'o Copyright (c) 1997-2003 Yann Dirson Copyright (c) 2001 Alcove @@ -9,3 +10,103 @@ Copyright (c) 1995-1996 Michael Nonweiler Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by Theodore Ts'o Copyright 1987 by the Student Information Processing Board of the Massachusetts Institute of Technology +matches: + - score: '98.28' + start_line: 17 + end_line: 22 + matcher: 3-seq + rule_length: 58 + matched_length: 57 + match_coverage: '98.28' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_and_bsd-new_and_mit_2.RULE + license_expression: gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package, the EXT2 [filesystem] utilities, are made available under + the GNU General Public License version 2, with the exception of the + [lib]/[ext2fs] [and] [lib]/[e2p] libraries, which are made available under the + GNU Library General Public License Version 2, the [lib]/[uuid] library + which is made available under a BSD-style license and the [lib]/[et] [and] + [lib]/[ss] libraries which are made available under an MIT-style license. + - score: '100.0' + start_line: 27 + end_line: 30 + matcher: 2-aho + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_4.RULE + license_expression: gpl-2.0 AND lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU systems, the complete text of the GNU General Public + License can be found in `/usr/share/common-licenses/GPL-2'. The + complete text of the GNU Library General Public License can be found + in '/usr/share/common-licenses/LGPL-2'. + - score: '100.0' + start_line: 38 + end_line: 45 + matcher: 2-aho + rule_length: 83 + matched_length: 83 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ntp-0.LICENSE + license_expression: ntp-0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose is hereby granted, provided that + the names of M.I.T. and the M.I.T. S.I.P.B. not be used in + advertising or publicity pertaining to distribution of the software + without specific, written prior permission. M.I.T. and the + M.I.T. S.I.P.B. make no representations about the suitability of + this software for any purpose. It is provided "as is" without + express or implied warranty. + - score: '100.0' + start_line: 49 + end_line: 73 + matcher: 2-aho + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_117.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, and the entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n 2. Redistributions\ + \ in binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. The name of the author may not be used to endorse or\ + \ promote\n products derived from this software without specific prior\n written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF\n WHICH ARE HEREBY DISCLAIMED. IN NO\ + \ EVENT SHALL THE AUTHOR BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\ + \ EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n\ + \ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS\ + \ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\ + \ OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH\n\ + \ DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/findutils/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/findutils/copyright-detailed.expected.yml index 1073d66e5d2..8fabd14abad 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/findutils/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/findutils/copyright-detailed.expected.yml @@ -1,5 +1,54 @@ -- -- gpl-3.0-plus AND gfdl-1.3-plus -- | +primary_license: +declared_license: +license_expression: gpl-3.0-plus AND gfdl-1.3-plus +copyright: | Copyright (c) 1990-2021 Free Software Foundation, Inc. Copyright (c) 1994-2021 Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 49 + end_line: 64 + matcher: 2-aho + rule_length: 128 + matched_length: 128 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_288.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation, either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see .\n ----------------------------\n\ + \ \n On Debian GNU/Linux systems, the complete text of the GNU General\n Public License\ + \ version 3 can be found in `/usr/share/common-licenses/GPL-3'." + - score: '100.0' + start_line: 71 + end_line: 81 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus_6.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to copy, distribute and/or modify this\n document under\ + \ the terms of the GNU Free Documentation License,\n Version 1.3 or any later version\ + \ published by the Free Software\n Foundation; with no Invariant Sections, no Front-Cover\ + \ Texts, and\n no Back-Cover Texts. A copy of the license is included in the\n section\ + \ entitled \"GNU Free Documentation License\".\n \n ----------------------------\n \n\ + \ On Debian GNU/Linux systems, the complete text of the GNU Free Documentation\n License,\ + \ Version 1.3 can be found in `/usr/share/common-licenses/GFDL-1.3'." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/findutils/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/findutils/copyright.expected.yml index 1073d66e5d2..8fabd14abad 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/findutils/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/findutils/copyright.expected.yml @@ -1,5 +1,54 @@ -- -- gpl-3.0-plus AND gfdl-1.3-plus -- | +primary_license: +declared_license: +license_expression: gpl-3.0-plus AND gfdl-1.3-plus +copyright: | Copyright (c) 1990-2021 Free Software Foundation, Inc. Copyright (c) 1994-2021 Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 49 + end_line: 64 + matcher: 2-aho + rule_length: 128 + matched_length: 128 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_288.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation, either version 3 of the License, or\n (at your option) any later\ + \ version.\n \n This program is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program. If not, see .\n ----------------------------\n\ + \ \n On Debian GNU/Linux systems, the complete text of the GNU General\n Public License\ + \ version 3 can be found in `/usr/share/common-licenses/GPL-3'." + - score: '100.0' + start_line: 71 + end_line: 81 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus_6.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to copy, distribute and/or modify this\n document under\ + \ the terms of the GNU Free Documentation License,\n Version 1.3 or any later version\ + \ published by the Free Software\n Foundation; with no Invariant Sections, no Front-Cover\ + \ Texts, and\n no Back-Cover Texts. A copy of the license is included in the\n section\ + \ entitled \"GNU Free Documentation License\".\n \n ----------------------------\n \n\ + \ On Debian GNU/Linux systems, the complete text of the GNU Free Documentation\n License,\ + \ Version 1.3 can be found in `/usr/share/common-licenses/GFDL-1.3'." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-10-base/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-10-base/copyright-detailed.expected.yml index ce148e86902..8f020d75acf 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-10-base/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-10-base/copyright-detailed.expected.yml @@ -1,14 +1,23 @@ -- -- (gpl-2.0-plus AND gpl-3.0-plus) AND gpl-3.0 AND gpl-1.0-plus AND gpl-3.0-plus AND gcc-exception-3.1 - AND unknown-license-reference AND bsd-new AND uoi-ncsa AND mit AND (mit OR commercial-license) - AND gfdl-1.2 AND gpl-2.0 AND lgpl-2.0-plus AND lgpl-2.1-plus AND public-domain AND sunpro - AND gpl-2.0-plus AND artistic-1.0 AND (artistic-perl-1.0 OR gpl-1.0-plus) AND zlib AND d-zlib - AND gpl-3.0-plus WITH gcc-exception-3.1 AND gfdl-1.3-plus AND lgpl-2.1 AND other-permissive - AND bsla-no-advert AND bsla AND bsd-original-uc AND flex-2.5 AND (gpl-3.0 AND gpl-2.0 AND - lgpl-3.0-plus WITH cygwin-exception-lgpl-3.0-plus AND other-copyleft AND other-permissive) - AND x11-lucent AND amd-historical AND osf-1990 AND nilsson-historical AND newlib-historical - AND bsd-simplified AND x11-hanson AND intel-osl-1993 AND hs-regexp AND unicode -- | +primary_license: +declared_license: +license_expression: gpl-3.0-plus AND gpl-3.0-plus WITH gcc-exception-3.1 AND bsd-new AND uoi-ncsa + AND mit AND (mit OR commercial-license) AND gfdl-1.2 AND gcc-exception-3.1 AND gpl-2.0 AND + lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND public-domain AND + lgpl-2.1-plus AND lgpl-2.1-plus AND sunpro AND bsd-new AND gpl-2.0-plus AND (artistic-perl-1.0 + OR gpl-1.0) AND zlib AND d-zlib AND mit AND gpl-3.0-plus WITH gcc-exception-3.1 AND gpl-3.0-plus + AND gfdl-1.3-plus AND lgpl-2.1-plus AND gpl-3.0 AND gcc-exception-3.1 AND gpl-3.0-plus AND + gcc-exception-3.1 AND (gpl-3.0 AND lgpl-2.1 AND lgpl-3.0) AND (gpl-3.0 AND lgpl-2.1 AND lgpl-3.0) + AND (lgpl-2.0 AND gpl-3.0) AND gpl-3.0-plus AND gpl-1.0-plus AND (gpl-3.0 AND lgpl-2.1) AND + (gpl-2.0-plus AND gpl-3.0-plus) AND lgpl-2.1-plus AND gpl-3.0 AND gcc-exception-3.1 AND (lgpl-2.0-plus + AND gpl-1.0-plus) AND bsla-no-advert AND bsla AND bsd-original-uc AND bsd-new AND bsd-original-uc + AND flex-2.5 AND bsd-original-uc AND (gpl-3.0 AND gpl-2.0 AND lgpl-3.0-plus WITH cygwin-exception-lgpl-3.0-plus + AND other-copyleft AND other-permissive) AND x11-lucent AND amd-historical AND sunpro AND + osf-1990 AND nilsson-historical AND newlib-historical AND bsd-new AND amd-historical AND bsd-new + AND bsd-simplified AND bsd-simplified AND bsd-simplified AND x11-hanson AND bsd-simplified + AND bsd-new AND lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus AND lgpl-2.0-plus AND intel-osl-1993 + AND osf-1990 AND hs-regexp AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new + AND unicode AND unicode AND lgpl-2.1-plus +copyright: | Copyright (c) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Copyright (c) 2009-2019 by the LLVM contributors Copyright (c) 1996-2003 Red Hat, Inc. @@ -74,3 +83,1917 @@ Copyright (c) 1994, 1997, 2001, 2002, 2003, 2004 Red Hat Incorporated Copyright (c) 1991-2013 Unicode, Inc. Copyright (c) 2014-2019 Free Software Foundation, Inc. +matches: + - score: '99.24' + start_line: 83 + end_line: 99 + matcher: 3-seq + rule_length: 131 + matched_length: 131 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_354.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify it under\n the terms\ + \ of the GNU General Public License as published by the Free\n Software Foundation; either\ + \ version 3, or (at your option) any later\n version.\n \n [GCC] is distributed in the\ + \ hope that it will be useful, but WITHOUT ANY\n WARRANTY; without even the implied warranty\ + \ of MERCHANTABILITY or\n FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public\ + \ License\n for more details.\n \n Files that have exception clauses are licensed under\ + \ the terms of the\n GNU General Public License; either version 3, or (at your option)\ + \ any\n later version.\n \n On Debian GNU/Linux systems, the complete text of the GNU\ + \ General\n Public License is in `/usr/share/common-licenses/GPL', version 3 of this\n\ + \ license in `/usr/share/common-licenses/GPL-3'." + - score: '100.0' + start_line: 101 + end_line: 103 + matcher: 2-aho + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_gcc-exception-3.1_18.RULE + license_expression: gpl-3.0-plus WITH gcc-exception-3.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The following runtime libraries are licensed under the terms of the + GNU General Public License (v3 or later) with version 3.1 of the GCC + Runtime Library Exception (included in this file): + - score: '100.0' + start_line: 123 + end_line: 149 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_98.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n (1) Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer. \n \n (2) Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\ + \ \n \n (3) The name of the author may not be used to\n endorse or promote\ + \ products derived from this software without\n specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR\n IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\ + \ ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING,\ + \ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA,\ + \ OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\ + \ ARISING\n IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 167 + end_line: '192' + matcher: 2-aho + rule_length: 224 + matched_length: 224 + match_coverage: '100.0' + rule_relevance: 100 + identifier: uoi-ncsa_9.RULE + license_expression: uoi-ncsa + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\ + \ of\n this software and associated documentation files (the \"Software\"), to deal with\n\ + \ the Software without restriction, including without limitation the rights to\n use,\ + \ copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n of the Software,\ + \ and to permit persons to whom the Software is furnished to do\n so, subject to the following\ + \ conditions:\n \n * Redistributions of source code must retain the above copyright\ + \ notice,\n this list of conditions and the following disclaimers.\n \n * Redistributions\ + \ in binary form must reproduce the above copyright notice,\n this list of conditions\ + \ and the following disclaimers in the\n documentation and/or other materials provided\ + \ with the distribution.\n \n * Neither the names of the LLVM Team, University of\ + \ Illinois at\n Urbana-Champaign, nor the names of its contributors may be used\ + \ to\n endorse or promote products derived from this Software without specific\n\ + \ prior written permission.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY\ + \ OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\ + \ FITNESS\n FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n CONTRIBUTORS\ + \ OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER\ + \ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE\n SOFTWARE." + - score: '100.0' + start_line: '194' + end_line: 210 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\n\ + \ of this software and associated documentation files (the \"Software\"), to deal\n in\ + \ the Software without restriction, including without limitation the rights\n to use,\ + \ copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software,\ + \ and to permit persons to whom the Software is\n furnished to do so, subject to the following\ + \ conditions:\n \n The above copyright notice and this permission notice shall be included\ + \ in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED\ + \ \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED\ + \ TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\ + \ IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES\ + \ OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\ + \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE." + - score: '82.2' + start_line: 213 + end_line: 234 + matcher: 3-seq + rule_length: '191' + matched_length: 157 + match_coverage: '82.2' + rule_relevance: 100 + identifier: mit_or_commercial-option.RULE + license_expression: mit OR commercial-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "licensed [under] [the] [following] [terms]:\n \n [libffi] - [Copyright]\ + \ ([c]) [1996]-[2003] [Red] [Hat], [Inc].\n \n Permission is hereby granted, free\ + \ of charge, to any person obtaining\n a copy of this software and associated documentation\ + \ files (the\n ``Software''), to deal in the Software without restriction, including\n\ + \ without limitation the rights to use, copy, modify, merge, publish,\n distribute,\ + \ sublicense, and/or sell copies of the Software, and to\n permit persons to whom\ + \ the Software is furnished to do so, subject to\n the following conditions:\n \n\ + \ The above copyright notice and this permission notice shall be included\n in\ + \ all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED\ + \ ``AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS\n OR IMPLIED, INCLUDING BUT NOT\ + \ LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE\ + \ AND NONINFRINGEMENT.\n IN NO EVENT SHALL [CYGNUS] [SOLUTIONS] BE LIABLE FOR ANY\ + \ CLAIM, DAMAGES OR\n OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n\ + \ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n OTHER\ + \ DEALINGS IN THE SOFTWARE." + - score: '100.0' + start_line: 237 + end_line: 239 + matcher: 2-aho + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.2_7.RULE + license_expression: gfdl-1.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The documentation is licensed under the GNU Free Documentation License (v1.2). + On Debian GNU/Linux systems, the complete text of this license is in + `/usr/share/common-licenses/GFDL-1.2'. + - score: '100.0' + start_line: 242 + end_line: 313 + matcher: 2-aho + rule_length: 512 + matched_length: 512 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gcc-exception-3.1.LICENSE + license_expression: gcc-exception-3.1 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "GCC RUNTIME LIBRARY EXCEPTION\n \n Version 3.1, 31 March 2009\n \n Copyright\ + \ (C) 2009 Free Software Foundation, Inc. \n \n Everyone is permitted\ + \ to copy and distribute verbatim copies of this\n license document, but changing it is\ + \ not allowed.\n \n This GCC Runtime Library Exception (\"Exception\") is an additional\n\ + \ permission under section 7 of the GNU General Public License, version\n 3 (\"GPLv3\"\ + ). It applies to a given file (the \"Runtime Library\") that\n bears a notice placed by\ + \ the copyright holder of the file stating that\n the file is governed by GPLv3 along\ + \ with this Exception.\n \n When you use GCC to compile a program, GCC may combine portions\ + \ of\n certain GCC header files and runtime libraries with the compiled\n program. The\ + \ purpose of this Exception is to allow compilation of\n non-GPL (including proprietary)\ + \ programs to use, in this way, the\n header files and runtime libraries covered by this\ + \ Exception.\n \n 0. Definitions.\n \n A file is an \"Independent Module\" if it either\ + \ requires the Runtime\n Library for execution after a Compilation Process, or makes use\ + \ of an\n interface provided by the Runtime Library, but is not otherwise based\n on the\ + \ Runtime Library.\n \n \"GCC\" means a version of the GNU Compiler Collection, with or\ + \ without\n modifications, governed by version 3 (or a specified later version) of\n the\ + \ GNU General Public License (GPL) with the option of using any\n subsequent versions\ + \ published by the FSF.\n \n \"GPL-compatible Software\" is software whose conditions\ + \ of propagation,\n modification and use would permit combination with GCC in accord with\n\ + \ the license of GCC.\n \n \"Target Code\" refers to output from any compiler for a real\ + \ or virtual\n target processor architecture, in executable form or suitable for\n input\ + \ to an assembler, loader, linker and/or execution\n phase. Notwithstanding that, Target\ + \ Code does not include data in any\n format that is used as a compiler intermediate representation,\ + \ or used\n for producing a compiler intermediate representation.\n \n The \"Compilation\ + \ Process\" transforms code entirely represented in\n non-intermediate languages designed\ + \ for human-written code, and/or in\n Java Virtual Machine byte code, into Target Code.\ + \ Thus, for example,\n use of source code generators and preprocessors need not be considered\n\ + \ part of the Compilation Process, since the Compilation Process can be\n understood as\ + \ starting with the output of the generators or\n preprocessors.\n \n A Compilation Process\ + \ is \"Eligible\" if it is done using GCC, alone or\n with other GPL-compatible software,\ + \ or if it is done without using any\n work based on GCC. For example, using non-GPL-compatible\ + \ Software to\n optimize any GCC intermediate representations would not qualify as an\n\ + \ Eligible Compilation Process.\n \n 1. Grant of Additional Permission.\n \n You have\ + \ permission to propagate a work of Target Code formed by\n combining the Runtime Library\ + \ with Independent Modules, even if such\n propagation would otherwise violate the terms\ + \ of GPLv3, provided that\n all Target Code was generated by Eligible Compilation Processes.\ + \ You\n may then convey such a combination under terms of your choice,\n consistent with\ + \ the licensing of the Independent Modules.\n \n 2. No Weakening of GCC Copyleft.\n \n\ + \ The availability of this Exception does not imply any general\n presumption that third-party\ + \ software is unaffected by the copyleft\n requirements of the license of GCC." + - score: '7.81' + start_line: 324 + end_line: 325 + matcher: 3-seq + rule_length: 64 + matched_length: 5 + match_coverage: '7.81' + rule_relevance: 100 + identifier: gpl-2.0_443.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU [Library] General Public + License + - score: '72.73' + start_line: 325 + end_line: 331 + matcher: 3-seq + rule_length: 77 + matched_length: 56 + match_coverage: '72.73' + rule_relevance: 100 + identifier: lgpl-2.0-plus_402.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "as published by the Free Software Foundation; either\n version 2 of the License,\ + \ or (at your option) any later version.\n \n [Libiberty] is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n\ + \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Library General\ + \ Public License for more details." + - score: '100.0' + start_line: 338 + end_line: 346 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '100.0' + start_line: 356 + end_line: 364 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '97.56' + start_line: 374 + end_line: 382 + matcher: 3-seq + rule_length: 82 + matched_length: 80 + match_coverage: '97.56' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Library is free software; you can redistribute it and/or\n modify it under\ + \ the terms of the GNU Lesser General Public\n License as published by the Free Software\ + \ Foundation; either\n version 2.1 of the License, or (at your option) any later version.\n\ + \ \n [The] [GNU] [C] Library is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '70.0' + start_line: 387 + end_line: 387 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public domain. + - score: '97.56' + start_line: 395 + end_line: 403 + matcher: 3-seq + rule_length: 82 + matched_length: 80 + match_coverage: '97.56' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Library is free software; you can redistribute it and/or\n modify it under\ + \ the terms of the GNU Lesser General Public\n License as published by the Free Software\ + \ Foundation; either\n version 2.1 of the License, or (at your option) any later version.\n\ + \ \n [The] [GNU] [C] Library is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '100.0' + start_line: 410 + end_line: 418 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '100.0' + start_line: 424 + end_line: 427 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Developed at SunPro, a Sun Microsystems, Inc. business. + * Permission to use, copy, modify, and distribute this + * software is freely granted, provided that this notice + * is preserved. + - score: '100.0' + start_line: 434 + end_line: 458 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_166.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions and\ + \ the following disclaimer.\n * Redistributions in binary form must reproduce the above\n\ + \ copyright notice, this list of conditions and the following disclaimer\n in the documentation\ + \ and/or other materials provided with the\n distribution.\n * Neither the name of\ + \ Google Inc. nor the names of its\n contributors may be used to endorse or promote products\ + \ derived from\n this software without specific prior written permission.\n \n THIS SOFTWARE\ + \ IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR\ + \ IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 473 + end_line: 480 + matcher: 2-aho + rule_length: 75 + matched_length: 75 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_812.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n it\ + \ under the terms of the GNU General Public License as published by\n the Free Software\ + \ Foundation; either version 2 of the License, or\n (at your option) any later version.\n\ + \ \n On Debian GNU/Linux systems, the complete text of the GNU General\n Public License\ + \ is in `/usr/share/common-licenses/GPL', version 2 of this\n license in `/usr/share/common-licenses/GPL-2'." + - score: '100.0' + start_line: 490 + end_line: 495 + matcher: 2-aho + rule_length: 46 + matched_length: 46 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0_2.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License for redistribution is by either the Artistic License or\n the GNU\ + \ General Public License (v1).\n \n On Debian GNU/Linux systems, the complete text of\ + \ the GNU General\n Public License is in `/usr/share/common-licenses/GPL', the Artistic\n\ + \ license in `/usr/share/common-licenses/Artistic'." + - score: '100.0' + start_line: 503 + end_line: 517 + matcher: 2-aho + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is provided 'as-is', without any express or implied\n warranty.\ + \ In no event will the authors be held liable for any damages\n arising from the use\ + \ of this software.\n \n Permission is granted to anyone to use this software for any\ + \ purpose,\n including commercial applications, and to alter it and redistribute it\n\ + \ freely, subject to the following restrictions:\n \n 1. The origin of this software\ + \ must not be misrepresented; you must not\n claim that you wrote the original software.\ + \ If you use this software\n in a product, an acknowledgment in the product documentation\ + \ would be\n appreciated but is not required.\n 2. Altered source versions must\ + \ be plainly marked as such, and must not be\n misrepresented as being the original\ + \ software.\n 3. This notice may not be removed or altered from any source distribution." + - score: '100.0' + start_line: 529 + end_line: 545 + matcher: 2-aho + rule_length: 138 + matched_length: 138 + match_coverage: '100.0' + rule_relevance: 100 + identifier: d-zlib.LICENSE + license_expression: d-zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is provided 'as-is', without any express or implied\n warranty.\ + \ In no event will the authors be held liable for any damages\n arising from the use of\ + \ this software.\n \n Permission is granted to anyone to use this software for any purpose,\n\ + \ including commercial applications, and to alter it and redistribute it\n freely, in\ + \ both source and binary form, subject to the following\n restrictions:\n \n o The origin\ + \ of this software must not be misrepresented; you must not\n claim that you wrote\ + \ the original software. If you use this software\n in a product, an acknowledgment\ + \ in the product documentation would be\n appreciated but is not required.\n o Altered\ + \ source versions must be plainly marked as such, and must not\n be misrepresented\ + \ as being the original software.\n o This notice may not be removed or altered from\ + \ any source\n distribution." + - score: '100.0' + start_line: 557 + end_line: 574 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a\n\ + \ copy of this software and associated documentation files\n (the \"Software\"),\ + \ to deal in the Software without restriction, including\n without limitation the rights\ + \ to use, copy, modify, merge, publish,\n distribute, sublicense, and/or sell copies\ + \ of the Software, and to\n permit persons to whom the Software is furnished to do\ + \ so, subject to\n the following conditions:\n \n The above copyright notice and\ + \ this permission notice shall be included\n in all copies or substantial portions\ + \ of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY\ + \ KIND, EXPRESS\n OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN ACTION OF CONTRACT, TORT OR\n OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\ + \ WITH THE SOFTWARE OR THE\n USE OR OTHER DEALINGS IN THE SOFTWARE." + - score: '100.0' + start_line: 581 + end_line: 598 + matcher: 2-aho + rule_length: 144 + matched_length: 144 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_gcc-exception-3.1_10.RULE + license_expression: gpl-3.0-plus WITH gcc-exception-3.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This file is free software; you can redistribute it and/or modify it\n \ + \ under the terms of the GNU General Public License as published by the\n Free Software\ + \ Foundation; either version 3, or (at your option) any\n later version.\n \n This\ + \ file is distributed in the hope that it will be useful, but\n WITHOUT ANY WARRANTY;\ + \ without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR\ + \ PURPOSE. See the GNU\n General Public License for more details.\n \n Under Section\ + \ 7 of GPL version 3, you are granted additional\n permissions described in the GCC\ + \ Runtime Library Exception, version\n 3.1, as published by the Free Software Foundation.\n\ + \ \n You should have received a copy of the GNU General Public License and\n a copy\ + \ of the GCC Runtime Library Exception along with this program;\n see the files COPYING3\ + \ and COPYING.RUNTIME respectively. If not, see\n ." + - score: '97.3' + start_line: 609 + end_line: 617 + matcher: 3-seq + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_353.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify\n it under the terms\ + \ of the GNU General Public License as published by\n the Free Software Foundation; either\ + \ version 3, or (at your option)\n any later version.\n \n [GNU] [Modula]-[2] is distributed\ + \ in the hope that it will be useful, but\n WITHOUT ANY WARRANTY; without even the implied\ + \ warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n General\ + \ Public License for more details." + - score: '100.0' + start_line: 623 + end_line: 626 + matcher: 2-aho + rule_length: 46 + matched_length: 46 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus_4.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.3 or + any later version published by the Free Software Foundation; with no + Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. + - score: '100.0' + start_line: 635 + end_line: 643 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details." + - score: '100.0' + start_line: 645 + end_line: 645 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_150.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL version 3, + - score: '100.0' + start_line: 646 + end_line: 647 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gcc-exception-3.1_3.RULE + license_expression: gcc-exception-3.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GCC Runtime Library Exception, version + 3.1, + - score: '100.0' + start_line: 650 + end_line: 650 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_89.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL-3+ + - score: '100.0' + start_line: 650 + end_line: 651 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gcc-exception-3.1_3.RULE + license_expression: gcc-exception-3.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GCC Runtime Library + Exception, version 3.1. + - score: '55.0' + start_line: 663 + end_line: 663 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: gpl-3.0_and_lgpl-2.1_and_lgpl-3.0_1.RULE + license_expression: gpl-3.0 AND lgpl-2.1 AND lgpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: mix of GPL-3.0 and LGPL-2.1/3 + - score: '55.0' + start_line: 666 + end_line: 666 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: gpl-3.0_and_lgpl-2.1_and_lgpl-3.0_1.RULE + license_expression: gpl-3.0 AND lgpl-2.1 AND lgpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: mix of GPL-3.0 and LGPL-2.1/3 + - score: '50.0' + start_line: 670 + end_line: 670 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 50 + identifier: lgpl-2.0_and_gpl-3.0_1.RULE + license_expression: lgpl-2.0 AND gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of LGPL-2.1 and GPL-3.0. + - score: '100.0' + start_line: 673 + end_line: 673 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_89.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL-3+ + - score: '87.88' + start_line: 676 + end_line: 682 + matcher: 3-seq + rule_length: 66 + matched_length: 58 + match_coverage: '87.88' + rule_relevance: 100 + identifier: gpl-1.0-plus_447.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission to copy, modify and redistribute + ;; GNU Emacs, [but] [only] [under] [the] [conditions] [described] [in] [the] + ;; [GNU] [Emacs] General Public License. A copy of this license is + ;; supposed to have been given to you along with [GNU] [Emacs] so you + ;; can know your rights and responsibilities. It should be in a + ;; file named COPYING. Among other things, the copyright notice + ;; and this notice must be preserved on all copies. + - score: '44.0' + start_line: 686 + end_line: 686 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 44 + identifier: gpl-3.0_and_lgpl-2.1_2.RULE + license_expression: gpl-3.0 AND lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of GPL-3 and LGPL-2.1. + - score: '38.0' + start_line: 690 + end_line: 690 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 38 + identifier: gpl-2.0-plus_and_gpl-3.0-plus_3.RULE + license_expression: gpl-2.0-plus AND gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of GPL-2+ and GPL-3+ + - score: '100.0' + start_line: 701 + end_line: 709 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details." + - score: '100.0' + start_line: 711 + end_line: 711 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_150.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL version 3, + - score: '100.0' + start_line: 712 + end_line: 713 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gcc-exception-3.1_3.RULE + license_expression: gcc-exception-3.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GCC Runtime Library Exception, version + 3.1, + - score: '100.0' + start_line: 739 + end_line: 745 + matcher: 2-aho + rule_length: 66 + matched_length: 66 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_and_gpl-1.0-plus_2.RULE + license_expression: lgpl-2.0-plus AND gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Parts of this work are licensed under the terms of the GNU General\n Public\ + \ License. On Debian systems, the complete text of this license\n can be found in /usr/share/common-licenses/GPL.\n\ + \ \n Parts of this work are licensed under the terms of the GNU Library\n General Public\ + \ License. On Debian systems, the complete text of this\n license be found in /usr/share/common-licenses/LGPL." + - score: '100.0' + start_line: 754 + end_line: 764 + matcher: 2-aho + rule_length: 99 + matched_length: 99 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsla-no-advert.LICENSE + license_expression: bsla-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms are permitted\n provided\ + \ that the above copyright notice and this paragraph are\n duplicated in all such forms\ + \ and that any documentation,\n and other materials related to such distribution and use\ + \ \n acknowledge that the software was developed\n by the University of California, Berkeley.\ + \ The name of the\n University may not be used to endorse or promote products derived\n\ + \ from this software without specific prior written permission.\n THIS SOFTWARE IS PROVIDED\ + \ ``AS IS'' AND WITHOUT ANY EXPRESS OR\n IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION,\ + \ THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 771 + end_line: 781 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsla.LICENSE + license_expression: bsla + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted + provided that the above copyright notice and this paragraph are + duplicated in all such forms and that any documentation, + advertising materials, and other materials related to such + distribution and use acknowledge that the software was developed + by the University of California, Berkeley. The name of the + University may not be used to endorse or promote products derived + from this software without specific prior written permission. + THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 789 + end_line: 815 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. All\ + \ advertising materials mentioning features or use of this software\n must display\ + \ the following acknowledgement:\n This product includes software developed by the\ + \ University of\n California, Berkeley and its contributors.\n 4. Neither the name\ + \ of the University nor the names of its contributors\n may be used to endorse or promote\ + \ products derived from this software\n without specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 822 + end_line: 844 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. Neither\ + \ the name of the University nor the names of its contributors\n may be used to endorse\ + \ or promote products derived from this software\n without specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 856 + end_line: 882 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. All\ + \ advertising materials mentioning features or use of this software\n must display\ + \ the following acknowledgement:\n This product includes software developed by the\ + \ University of\n California, Berkeley and its contributors.\n 4. Neither the name\ + \ of the University nor the names of its contributors\n may be used to endorse or promote\ + \ products derived from this software\n without specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 889 + end_line: 901 + matcher: 2-aho + rule_length: 122 + matched_length: 122 + match_coverage: '100.0' + rule_relevance: 100 + identifier: flex-2.5_6.RULE + license_expression: flex-2.5 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted + provided that: (1) source distributions retain this entire copyright + notice and comment, and (2) distributions including binaries display + the following acknowledgement: ``This product includes software + developed by the University of California, Berkeley and its contributors'' + in the documentation or other materials provided with the distribution + and in all advertising materials mentioning features or use of this + software. Neither the name of the University nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + - score: '61.0' + start_line: 909 + end_line: 909 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 61 + identifier: bsd-original-uc.RULE + license_expression: bsd-original-uc + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change + - score: '100.0' + start_line: 919 + end_line: 921 + matcher: 2-aho + rule_length: 21 + matched_length: 21 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_and_gpl-2.0_and_lgpl-3.0-plus_and_other-copyleft_and_other-permissive_1.RULE + license_expression: gpl-3.0 AND gpl-2.0 AND lgpl-3.0-plus WITH cygwin-exception-lgpl-3.0-plus + AND other-copyleft AND other-permissive + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is a copyrighted work licensed under the terms of the + Cygwin license. Please consult the file "CYGWIN_LICENSE" for + details. + - score: '100.0' + start_line: 929 + end_line: 938 + matcher: 2-aho + rule_length: 93 + matched_length: 93 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-lucent.RULE + license_expression: x11-lucent + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for any\n purpose\ + \ without fee is hereby granted, provided that this entire notice\n is included in all\ + \ copies of any software which is or includes a copy\n or modification of this software\ + \ and in all copies of the supporting\n documentation for such software.\n \n THIS SOFTWARE\ + \ IS BEING PROVIDED \"AS IS\", WITHOUT ANY EXPRESS OR IMPLIED\n WARRANTY. IN PARTICULAR,\ + \ NEITHER THE AUTHOR NOR AT&T MAKES ANY\n REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING\ + \ THE MERCHANTABILITY\n OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE." + - score: '100.0' + start_line: 944 + end_line: 955 + matcher: 2-aho + rule_length: 98 + matched_length: 98 + match_coverage: '100.0' + rule_relevance: 100 + identifier: amd-historical_1.RULE + license_expression: amd-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is the property of Advanced Micro Devices, Inc (AMD) which\n\ + \ specifically grants the user the right to modify, use and distribute this\n software\ + \ provided this notice is not removed or altered. All other rights\n are reserved by\ + \ AMD.\n \n AMD MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS\n\ + \ SOFTWARE. IN NO EVENT SHALL AMD BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL\n DAMAGES\ + \ IN CONNECTION WITH OR ARISING FROM THE FURNISHING, PERFORMANCE, OR\n USE OF THIS SOFTWARE.\n\ + \ \n So that all may benefit from your experience, please report any problems\n or \ + \ suggestions about this software" + - score: '100.0' + start_line: 983 + end_line: 986 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Developed at SunPro, a Sun Microsystems, Inc. business.\n Permission to use,\ + \ copy, modify, and distribute this\n software is freely granted, provided that this notice\ + \ \n is preserved." + - score: '100.0' + start_line: 992 + end_line: 1001 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: osf-1990_3.RULE + license_expression: osf-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To anyone who acknowledges that this file is provided "AS IS" + without any express or implied warranty: + permission to use, copy, modify, and distribute this file + for any purpose is hereby granted without fee, provided that + the above copyright notice and this notice appears in all + copies, and that the name of Hewlett-Packard Company not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + Hewlett-Packard Company makes no representations about the + suitability of this software for any purpose. + - score: '100.0' + start_line: 1007 + end_line: 1014 + matcher: 2-aho + rule_length: 55 + matched_length: 55 + match_coverage: '100.0' + rule_relevance: 100 + identifier: nilsson-historical.LICENSE + license_expression: nilsson-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software is\n freely\ + \ granted, provided that the above copyright notice, this notice\n and the following disclaimer\ + \ are preserved with no changes.\n \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT\ + \ ANY EXPRESS OR\n IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE." + - score: '100.0' + start_line: 1020 + end_line: 1028 + matcher: 2-aho + rule_length: 92 + matched_length: 92 + match_coverage: '100.0' + rule_relevance: 100 + identifier: newlib-historical.LICENSE + license_expression: newlib-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The authors hereby grant permission to use, copy, modify, distribute, + and license this software and its documentation for any purpose, provided + that existing copyright notices are retained in all copies and that this + notice is included verbatim in any distributions. No written agreement, + license, or royalty fee is required for any of the authorized uses. + Modifications to this software may be copyrighted by their authors + and need not follow the licensing terms described here, provided that + the new terms are clearly indicated on the first page of each file where + they apply. + - score: '100.0' + start_line: 1035 + end_line: 1055 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_98.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. The\ + \ name of the author may not be used to endorse or promote products\n derived from\ + \ this software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR\n IMPLIED WARRANTIES, INCLUDING, BUT NOT\ + \ LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\ + \ PURPOSE ARE DISCLAIMED.\n IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,\n\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\ + \ OF THE USE OF\n THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '95.0' + start_line: 1061 + end_line: 1072 + matcher: 2-aho + rule_length: 95 + matched_length: 95 + match_coverage: '100.0' + rule_relevance: 100 + identifier: amd-historical4.RULE + license_expression: amd-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is the property of [SuperH], Inc ([SuperH]) which specifically\n\ + \ grants the user the right to modify, use and distribute this software\n provided this\ + \ notice is not removed or altered. All other rights are\n reserved by [SuperH].\n \n\ + \ [SUPERH] MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO\n THIS SOFTWARE.\ + \ IN NO EVENT SHALL [SUPERH] BE LIABLE FOR INDIRECT, SPECIAL, \n INCIDENTAL OR CONSEQUENTIAL\ + \ DAMAGES IN CONNECTION WITH OR ARISING FROM\n THE FURNISHING, PERFORMANCE, OR USE OF\ + \ THIS SOFTWARE.\n \n So that all may benefit from your experience, please report any\ + \ problems\n or suggestions about this software to the" + - score: '100.0' + start_line: 1087 + end_line: 1112 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_933.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n \n\ + \ 3. Neither the name of KTH nor the names of its contributors may be\n used to endorse\ + \ or promote products derived from this software without\n specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY KTH AND ITS CONTRIBUTORS ``AS IS'' AND ANY\n EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL KTH OR ITS\ + \ CONTRIBUTORS BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n\ + \ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n SUBSTITUTE GOODS\ + \ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED\ + \ AND ON ANY THEORY OF LIABILITY,\n WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR\n OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF\n ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 1119 + end_line: 1138 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1145 + end_line: 1164 + matcher: 2-aho + rule_length: 181 + matched_length: 181 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_newlib3.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND\n ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS\ + \ BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n OR SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY\ + \ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1171 + end_line: 1190 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '85.71' + start_line: 1194 + end_line: 1207 + matcher: 3-seq + rule_length: 105 + matched_length: 90 + match_coverage: '85.71' + rule_relevance: 100 + identifier: x11-hanson_1.RULE + license_expression: x11-hanson + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Author: S. [L]. [Moshier].\n \n [Copyright] ([c]) [1984],[2000] S.[L]. [Moshier]\n\ + \ \n Permission to use, copy, modify, and distribute this software for any\n purpose without\ + \ fee is hereby granted, provided that this entire notice\n is included in all copies\ + \ of any software which is or includes a copy\n or modification of this software and in\ + \ all copies of the supporting\n documentation for such software.\n \n THIS SOFTWARE IS\ + \ BEING PROVIDED \"AS IS\", WITHOUT ANY EXPRESS OR IMPLIED\n WARRANTY. IN PARTICULAR,\ + \ THE AUTHOR MAKES NO REPRESENTATION\n OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY\ + \ OF THIS\n SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE." + - score: '100.0' + start_line: 1214 + end_line: 1233 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1240 + end_line: 1260 + matcher: 2-aho + rule_length: 200 + matched_length: 200 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_76.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. The\ + \ name of the author may not be used to endorse or promote products\n derived from\ + \ this software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,\n INCLUDING, BUT NOT LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\ + \ IN NO EVENT SHALL\n THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\n\ + \ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n PROCUREMENT OF\ + \ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\n OR BUSINESS INTERRUPTION)\ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\n WHETHER IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR\n OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\ + \ SOFTWARE, EVEN IF\n ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '27.0' + start_line: 1274 + end_line: 1274 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 27 + identifier: lgpl_39.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Free Software Foundation LGPL License (*- + - score: '100.0' + start_line: 1281 + end_line: 1294 + matcher: 2-aho + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_12.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The GNU C Library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n The GNU C Library is distributed in the hope that it will\ + \ be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n \ + \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ Lesser General Public\n License along with the GNU C Library; if not, write to the\ + \ Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301\ + \ USA" + - score: '99.0' + start_line: 1296 + end_line: 1296 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 99 + identifier: lgpl_33.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL License ( + - score: '100.0' + start_line: 1300 + end_line: 1308 + matcher: 2-aho + rule_length: 81 + matched_length: 81 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_339.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Library General Public License\n as published by the Free\ + \ Software Foundation; either version 2\n of the License, or (at your option) any later\ + \ version.\n \n This program is distributed\ + \ in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied\ + \ warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU Library\ + \ General Public License for more details." + - score: '100.0' + start_line: 1314 + end_line: 1336 + matcher: 2-aho + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: intel-osl-1993.LICENSE + license_expression: intel-osl-1993 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Intel hereby grants you permission to copy, modify, and distribute this\n\ + \ software and its documentation. Intel grants this permission provided\n that the above\ + \ copyright notice appears in all copies and that both the\n copyright notice and this\ + \ permission notice appear in supporting\n documentation. In addition, Intel grants this\ + \ permission provided that\n you prominently mark as \"not part of the original\" any\ + \ modifications\n made to this software or documentation, and that the name of Intel\n\ + \ Corporation not be used in advertising or publicity pertaining to\n distribution of\ + \ the software or the documentation without specific,\n written prior permission.\n \n\ + \ Intel Corporation provides this AS IS, WITHOUT ANY WARRANTY, EXPRESS OR\n IMPLIED, INCLUDING,\ + \ WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY\n OR FITNESS FOR A PARTICULAR PURPOSE.\ + \ Intel makes no guarantee or\n representations regarding the use of, or the results\ + \ of the use of,\n the software and documentation in terms of correctness, accuracy,\n\ + \ reliability, currentness, or otherwise; and you rely on the software,\n documentation\ + \ and results solely at your own risk.\n \n IN NO EVENT SHALL INTEL BE LIABLE FOR ANY\ + \ LOSS OF USE, LOSS OF BUSINESS,\n LOSS OF PROFITS, INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL\ + \ DAMAGES\n OF ANY KIND. IN NO EVENT SHALL INTEL'S TOTAL LIABILITY EXCEED THE SUM\n PAID\ + \ TO INTEL FOR THE PRODUCT LICENSED HEREUNDER." + - score: '100.0' + start_line: 1342 + end_line: 1351 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: osf-1990_3.RULE + license_expression: osf-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To anyone who acknowledges that this file is provided "AS IS" + without any express or implied warranty: + permission to use, copy, modify, and distribute this file + for any purpose is hereby granted without fee, provided that + the above copyright notice and this notice appears in all + copies, and that the name of Hewlett-Packard Company not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + Hewlett-Packard Company makes no representations about the + suitability of this software for any purpose. + - score: '100.0' + start_line: 1356 + end_line: 1374 + matcher: 2-aho + rule_length: 147 + matched_length: 147 + match_coverage: '100.0' + rule_relevance: 100 + identifier: hs-regexp.LICENSE + license_expression: hs-regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is not subject to any license of the American Telephone\n and\ + \ Telegraph Company or of the Regents of the University of California.\n \n Permission\ + \ is granted to anyone to use this software for any purpose on\n any computer system,\ + \ and to alter it and redistribute it, subject\n to the following restrictions:\n \n 1.\ + \ The author is not responsible for the consequences of use of this\n software, no\ + \ matter how awful, even if they arise from flaws in it.\n \n 2. The origin of this software\ + \ must not be misrepresented, either by\n explicit claim or by omission. Since few\ + \ users ever read sources,\n credits must appear in the documentation.\n \n 3. Altered\ + \ versions must be plainly marked as such, and must not be\n misrepresented as being\ + \ the original software. Since few users\n ever read sources, credits must appear\ + \ in the documentation.\n \n 4. This notice may not be removed or altered." + - score: '100.0' + start_line: 1381 + end_line: 1400 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1407 + end_line: 1426 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1435 + end_line: 1454 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1466 + end_line: 1489 + matcher: 2-aho + rule_length: 205 + matched_length: 205 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_983.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without \n modification,\ + \ are permitted provided that the following conditions are met: \n \n Redistributions\ + \ of source code must retain the above copyright \n notice, this list of conditions\ + \ and the following disclaimer.\n \n Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n\ + \ \n The name of Red Hat Incorporated may not be used to endorse \n or promote\ + \ products derived from this software without specific \n prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" \n\ + \ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE \n IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED.\ + \ IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY\n DIRECT, INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\ + \ OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\ + \ HOWEVER CAUSED AND \n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n\ + \ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 1494 + end_line: 1511 + matcher: 2-aho + rule_length: 150 + matched_length: 150 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_6.RULE + license_expression: unicode + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE\n \n Unicode\ + \ Data Files include all data files under the directories\n http://www.unicode.org/Public/,\ + \ http://www.unicode.org/reports/, and\n http://www.unicode.org/cldr/data/. Unicode Data\ + \ Files do not include PDF\n online code charts under the directory http://www.unicode.org/Public/.\n\ + \ Software includes any source code published in the Unicode Standard or under\n the directories\ + \ http://www.unicode.org/Public/,\n http://www.unicode.org/reports/, and http://www.unicode.org/cldr/data/.\n\ + \ \n NOTICE TO USER: Carefully read the following legal agreement. BY\n DOWNLOADING,\ + \ INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S DATA FILES\n (\"DATA FILES\"),\ + \ AND/OR SOFTWARE (\"SOFTWARE\"), YOU UNEQUIVOCALLY ACCEPT, AND\n AGREE TO BE BOUND BY,\ + \ ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF\n YOU DO NOT AGREE, DO NOT DOWNLOAD,\ + \ INSTALL, COPY, DISTRIBUTE OR USE THE DATA\n FILES OR SOFTWARE.\n \n COPYRIGHT AND\ + \ PERMISSION NOTICE" + - score: '100.0' + start_line: 1513 + end_line: 1543 + matcher: 2-aho + rule_length: 306 + matched_length: 306 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_17.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Distributed under\n the Terms of Use in http://www.unicode.org/copyright.html.\n\ + \ \n Permission is hereby granted, free of charge, to any person obtaining a\n copy\ + \ of the Unicode data files and any associated documentation (the \"Data\n Files\") or\ + \ Unicode software and any associated documentation (the \"Software\")\n to deal in the\ + \ Data Files or Software without restriction, including without\n limitation the rights\ + \ to use, copy, modify, merge, publish, distribute, and/or\n sell copies of the Data Files\ + \ or Software, and to permit persons to whom the\n Data Files or Software are furnished\ + \ to do so, provided that (a) the above\n copyright notice(s) and this permission notice\ + \ appear with all copies of the\n Data Files or Software, (b) both the above copyright\ + \ notice(s) and this\n permission notice appear in associated documentation, and (c) there\ + \ is clear\n notice in each modified Data File or in the Software as well as in the\n\ + \ documentation associated with the Data File(s) or Software that the data or\n software\ + \ has been modified.\n \n THE DATA FILES AND SOFTWARE ARE PROVIDED \"AS IS\", WITHOUT\ + \ WARRANTY OF ANY\n KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\ + \ OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD\n\ + \ PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN\n THIS NOTICE\ + \ BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL\n DAMAGES, OR ANY\ + \ DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR\n PROFITS, WHETHER IN AN ACTION\ + \ OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS\n ACTION, ARISING OUT OF OR IN CONNECTION\ + \ WITH THE USE OR PERFORMANCE OF THE\n DATA FILES OR SOFTWARE.\n \n Except as contained\ + \ in this notice, the name of a copyright holder shall\n not be used in advertising or\ + \ otherwise to promote the sale, use or other\n dealings in these Data Files or Software\ + \ without prior written authorization\n of the copyright holder." + - score: '100.0' + start_line: 1550 + end_line: 1562 + matcher: 2-aho + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_284.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The GNU C Library is free software; you can redistribute it and/or + # modify it under the terms of the GNU Lesser General Public + # License as published by the Free Software Foundation; either + # version 2.1 of the License, or (at your option) any later version. + # + # The GNU C Library is distributed in the hope that it will be useful, + # but WITHOUT ANY WARRANTY; without even the implied warranty of + # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + # Lesser General Public License for more details. + # + # You should have received a copy of the GNU Lesser General Public + # License along with the GNU C Library; if not, see + # . diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-10-base/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-10-base/copyright.expected.yml index ce148e86902..052e6b59237 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-10-base/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-10-base/copyright.expected.yml @@ -1,14 +1,16 @@ -- -- (gpl-2.0-plus AND gpl-3.0-plus) AND gpl-3.0 AND gpl-1.0-plus AND gpl-3.0-plus AND gcc-exception-3.1 - AND unknown-license-reference AND bsd-new AND uoi-ncsa AND mit AND (mit OR commercial-license) - AND gfdl-1.2 AND gpl-2.0 AND lgpl-2.0-plus AND lgpl-2.1-plus AND public-domain AND sunpro - AND gpl-2.0-plus AND artistic-1.0 AND (artistic-perl-1.0 OR gpl-1.0-plus) AND zlib AND d-zlib - AND gpl-3.0-plus WITH gcc-exception-3.1 AND gfdl-1.3-plus AND lgpl-2.1 AND other-permissive - AND bsla-no-advert AND bsla AND bsd-original-uc AND flex-2.5 AND (gpl-3.0 AND gpl-2.0 AND - lgpl-3.0-plus WITH cygwin-exception-lgpl-3.0-plus AND other-copyleft AND other-permissive) - AND x11-lucent AND amd-historical AND osf-1990 AND nilsson-historical AND newlib-historical - AND bsd-simplified AND x11-hanson AND intel-osl-1993 AND hs-regexp AND unicode -- | +primary_license: +declared_license: +license_expression: gpl-3.0-plus AND gpl-3.0-plus WITH gcc-exception-3.1 AND bsd-new AND uoi-ncsa + AND mit AND (mit OR commercial-license) AND gfdl-1.2 AND gcc-exception-3.1 AND gpl-2.0 AND + lgpl-2.0-plus AND lgpl-2.1-plus AND public-domain AND sunpro AND gpl-2.0-plus AND (artistic-perl-1.0 + OR gpl-1.0) AND zlib AND d-zlib AND gfdl-1.3-plus AND gpl-3.0 AND (gpl-3.0 AND lgpl-2.1 AND + lgpl-3.0) AND (lgpl-2.0 AND gpl-3.0) AND gpl-1.0-plus AND (gpl-3.0 AND lgpl-2.1) AND (gpl-2.0-plus + AND gpl-3.0-plus) AND (lgpl-2.0-plus AND gpl-1.0-plus) AND bsla-no-advert AND bsla AND bsd-original-uc + AND flex-2.5 AND (gpl-3.0 AND gpl-2.0 AND lgpl-3.0-plus WITH cygwin-exception-lgpl-3.0-plus + AND other-copyleft AND other-permissive) AND x11-lucent AND amd-historical AND osf-1990 AND + nilsson-historical AND newlib-historical AND bsd-simplified AND x11-hanson AND intel-osl-1993 + AND hs-regexp AND unicode +copyright: | Copyright (c) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Copyright (c) 2009-2019 by the LLVM contributors Copyright (c) 1996-2003 Red Hat, Inc. @@ -74,3 +76,1917 @@ Copyright (c) 1994, 1997, 2001, 2002, 2003, 2004 Red Hat Incorporated Copyright (c) 1991-2013 Unicode, Inc. Copyright (c) 2014-2019 Free Software Foundation, Inc. +matches: + - score: '99.24' + start_line: 83 + end_line: 99 + matcher: 3-seq + rule_length: 131 + matched_length: 131 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_354.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify it under\n the terms\ + \ of the GNU General Public License as published by the Free\n Software Foundation; either\ + \ version 3, or (at your option) any later\n version.\n \n [GCC] is distributed in the\ + \ hope that it will be useful, but WITHOUT ANY\n WARRANTY; without even the implied warranty\ + \ of MERCHANTABILITY or\n FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public\ + \ License\n for more details.\n \n Files that have exception clauses are licensed under\ + \ the terms of the\n GNU General Public License; either version 3, or (at your option)\ + \ any\n later version.\n \n On Debian GNU/Linux systems, the complete text of the GNU\ + \ General\n Public License is in `/usr/share/common-licenses/GPL', version 3 of this\n\ + \ license in `/usr/share/common-licenses/GPL-3'." + - score: '100.0' + start_line: 101 + end_line: 103 + matcher: 2-aho + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_gcc-exception-3.1_18.RULE + license_expression: gpl-3.0-plus WITH gcc-exception-3.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The following runtime libraries are licensed under the terms of the + GNU General Public License (v3 or later) with version 3.1 of the GCC + Runtime Library Exception (included in this file): + - score: '100.0' + start_line: 123 + end_line: 149 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_98.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n (1) Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer. \n \n (2) Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\ + \ \n \n (3) The name of the author may not be used to\n endorse or promote\ + \ products derived from this software without\n specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR\n IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\ + \ ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING,\ + \ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA,\ + \ OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\ + \ ARISING\n IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 167 + end_line: '192' + matcher: 2-aho + rule_length: 224 + matched_length: 224 + match_coverage: '100.0' + rule_relevance: 100 + identifier: uoi-ncsa_9.RULE + license_expression: uoi-ncsa + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\ + \ of\n this software and associated documentation files (the \"Software\"), to deal with\n\ + \ the Software without restriction, including without limitation the rights to\n use,\ + \ copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n of the Software,\ + \ and to permit persons to whom the Software is furnished to do\n so, subject to the following\ + \ conditions:\n \n * Redistributions of source code must retain the above copyright\ + \ notice,\n this list of conditions and the following disclaimers.\n \n * Redistributions\ + \ in binary form must reproduce the above copyright notice,\n this list of conditions\ + \ and the following disclaimers in the\n documentation and/or other materials provided\ + \ with the distribution.\n \n * Neither the names of the LLVM Team, University of\ + \ Illinois at\n Urbana-Champaign, nor the names of its contributors may be used\ + \ to\n endorse or promote products derived from this Software without specific\n\ + \ prior written permission.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY\ + \ OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\ + \ FITNESS\n FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n CONTRIBUTORS\ + \ OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER\ + \ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE\n SOFTWARE." + - score: '100.0' + start_line: '194' + end_line: 210 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\n\ + \ of this software and associated documentation files (the \"Software\"), to deal\n in\ + \ the Software without restriction, including without limitation the rights\n to use,\ + \ copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software,\ + \ and to permit persons to whom the Software is\n furnished to do so, subject to the following\ + \ conditions:\n \n The above copyright notice and this permission notice shall be included\ + \ in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED\ + \ \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED\ + \ TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\ + \ IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES\ + \ OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\ + \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE." + - score: '82.2' + start_line: 213 + end_line: 234 + matcher: 3-seq + rule_length: '191' + matched_length: 157 + match_coverage: '82.2' + rule_relevance: 100 + identifier: mit_or_commercial-option.RULE + license_expression: mit OR commercial-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "licensed [under] [the] [following] [terms]:\n \n [libffi] - [Copyright]\ + \ ([c]) [1996]-[2003] [Red] [Hat], [Inc].\n \n Permission is hereby granted, free\ + \ of charge, to any person obtaining\n a copy of this software and associated documentation\ + \ files (the\n ``Software''), to deal in the Software without restriction, including\n\ + \ without limitation the rights to use, copy, modify, merge, publish,\n distribute,\ + \ sublicense, and/or sell copies of the Software, and to\n permit persons to whom\ + \ the Software is furnished to do so, subject to\n the following conditions:\n \n\ + \ The above copyright notice and this permission notice shall be included\n in\ + \ all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED\ + \ ``AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS\n OR IMPLIED, INCLUDING BUT NOT\ + \ LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE\ + \ AND NONINFRINGEMENT.\n IN NO EVENT SHALL [CYGNUS] [SOLUTIONS] BE LIABLE FOR ANY\ + \ CLAIM, DAMAGES OR\n OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n\ + \ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n OTHER\ + \ DEALINGS IN THE SOFTWARE." + - score: '100.0' + start_line: 237 + end_line: 239 + matcher: 2-aho + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.2_7.RULE + license_expression: gfdl-1.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The documentation is licensed under the GNU Free Documentation License (v1.2). + On Debian GNU/Linux systems, the complete text of this license is in + `/usr/share/common-licenses/GFDL-1.2'. + - score: '100.0' + start_line: 242 + end_line: 313 + matcher: 2-aho + rule_length: 512 + matched_length: 512 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gcc-exception-3.1.LICENSE + license_expression: gcc-exception-3.1 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "GCC RUNTIME LIBRARY EXCEPTION\n \n Version 3.1, 31 March 2009\n \n Copyright\ + \ (C) 2009 Free Software Foundation, Inc. \n \n Everyone is permitted\ + \ to copy and distribute verbatim copies of this\n license document, but changing it is\ + \ not allowed.\n \n This GCC Runtime Library Exception (\"Exception\") is an additional\n\ + \ permission under section 7 of the GNU General Public License, version\n 3 (\"GPLv3\"\ + ). It applies to a given file (the \"Runtime Library\") that\n bears a notice placed by\ + \ the copyright holder of the file stating that\n the file is governed by GPLv3 along\ + \ with this Exception.\n \n When you use GCC to compile a program, GCC may combine portions\ + \ of\n certain GCC header files and runtime libraries with the compiled\n program. The\ + \ purpose of this Exception is to allow compilation of\n non-GPL (including proprietary)\ + \ programs to use, in this way, the\n header files and runtime libraries covered by this\ + \ Exception.\n \n 0. Definitions.\n \n A file is an \"Independent Module\" if it either\ + \ requires the Runtime\n Library for execution after a Compilation Process, or makes use\ + \ of an\n interface provided by the Runtime Library, but is not otherwise based\n on the\ + \ Runtime Library.\n \n \"GCC\" means a version of the GNU Compiler Collection, with or\ + \ without\n modifications, governed by version 3 (or a specified later version) of\n the\ + \ GNU General Public License (GPL) with the option of using any\n subsequent versions\ + \ published by the FSF.\n \n \"GPL-compatible Software\" is software whose conditions\ + \ of propagation,\n modification and use would permit combination with GCC in accord with\n\ + \ the license of GCC.\n \n \"Target Code\" refers to output from any compiler for a real\ + \ or virtual\n target processor architecture, in executable form or suitable for\n input\ + \ to an assembler, loader, linker and/or execution\n phase. Notwithstanding that, Target\ + \ Code does not include data in any\n format that is used as a compiler intermediate representation,\ + \ or used\n for producing a compiler intermediate representation.\n \n The \"Compilation\ + \ Process\" transforms code entirely represented in\n non-intermediate languages designed\ + \ for human-written code, and/or in\n Java Virtual Machine byte code, into Target Code.\ + \ Thus, for example,\n use of source code generators and preprocessors need not be considered\n\ + \ part of the Compilation Process, since the Compilation Process can be\n understood as\ + \ starting with the output of the generators or\n preprocessors.\n \n A Compilation Process\ + \ is \"Eligible\" if it is done using GCC, alone or\n with other GPL-compatible software,\ + \ or if it is done without using any\n work based on GCC. For example, using non-GPL-compatible\ + \ Software to\n optimize any GCC intermediate representations would not qualify as an\n\ + \ Eligible Compilation Process.\n \n 1. Grant of Additional Permission.\n \n You have\ + \ permission to propagate a work of Target Code formed by\n combining the Runtime Library\ + \ with Independent Modules, even if such\n propagation would otherwise violate the terms\ + \ of GPLv3, provided that\n all Target Code was generated by Eligible Compilation Processes.\ + \ You\n may then convey such a combination under terms of your choice,\n consistent with\ + \ the licensing of the Independent Modules.\n \n 2. No Weakening of GCC Copyleft.\n \n\ + \ The availability of this Exception does not imply any general\n presumption that third-party\ + \ software is unaffected by the copyleft\n requirements of the license of GCC." + - score: '7.81' + start_line: 324 + end_line: 325 + matcher: 3-seq + rule_length: 64 + matched_length: 5 + match_coverage: '7.81' + rule_relevance: 100 + identifier: gpl-2.0_443.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU [Library] General Public + License + - score: '72.73' + start_line: 325 + end_line: 331 + matcher: 3-seq + rule_length: 77 + matched_length: 56 + match_coverage: '72.73' + rule_relevance: 100 + identifier: lgpl-2.0-plus_402.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "as published by the Free Software Foundation; either\n version 2 of the License,\ + \ or (at your option) any later version.\n \n [Libiberty] is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n\ + \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Library General\ + \ Public License for more details." + - score: '100.0' + start_line: 338 + end_line: 346 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '100.0' + start_line: 356 + end_line: 364 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '97.56' + start_line: 374 + end_line: 382 + matcher: 3-seq + rule_length: 82 + matched_length: 80 + match_coverage: '97.56' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Library is free software; you can redistribute it and/or\n modify it under\ + \ the terms of the GNU Lesser General Public\n License as published by the Free Software\ + \ Foundation; either\n version 2.1 of the License, or (at your option) any later version.\n\ + \ \n [The] [GNU] [C] Library is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '70.0' + start_line: 387 + end_line: 387 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public domain. + - score: '97.56' + start_line: 395 + end_line: 403 + matcher: 3-seq + rule_length: 82 + matched_length: 80 + match_coverage: '97.56' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Library is free software; you can redistribute it and/or\n modify it under\ + \ the terms of the GNU Lesser General Public\n License as published by the Free Software\ + \ Foundation; either\n version 2.1 of the License, or (at your option) any later version.\n\ + \ \n [The] [GNU] [C] Library is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '100.0' + start_line: 410 + end_line: 418 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '100.0' + start_line: 424 + end_line: 427 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Developed at SunPro, a Sun Microsystems, Inc. business. + * Permission to use, copy, modify, and distribute this + * software is freely granted, provided that this notice + * is preserved. + - score: '100.0' + start_line: 434 + end_line: 458 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_166.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions and\ + \ the following disclaimer.\n * Redistributions in binary form must reproduce the above\n\ + \ copyright notice, this list of conditions and the following disclaimer\n in the documentation\ + \ and/or other materials provided with the\n distribution.\n * Neither the name of\ + \ Google Inc. nor the names of its\n contributors may be used to endorse or promote products\ + \ derived from\n this software without specific prior written permission.\n \n THIS SOFTWARE\ + \ IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR\ + \ IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 473 + end_line: 480 + matcher: 2-aho + rule_length: 75 + matched_length: 75 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_812.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n it\ + \ under the terms of the GNU General Public License as published by\n the Free Software\ + \ Foundation; either version 2 of the License, or\n (at your option) any later version.\n\ + \ \n On Debian GNU/Linux systems, the complete text of the GNU General\n Public License\ + \ is in `/usr/share/common-licenses/GPL', version 2 of this\n license in `/usr/share/common-licenses/GPL-2'." + - score: '100.0' + start_line: 490 + end_line: 495 + matcher: 2-aho + rule_length: 46 + matched_length: 46 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0_2.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License for redistribution is by either the Artistic License or\n the GNU\ + \ General Public License (v1).\n \n On Debian GNU/Linux systems, the complete text of\ + \ the GNU General\n Public License is in `/usr/share/common-licenses/GPL', the Artistic\n\ + \ license in `/usr/share/common-licenses/Artistic'." + - score: '100.0' + start_line: 503 + end_line: 517 + matcher: 2-aho + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is provided 'as-is', without any express or implied\n warranty.\ + \ In no event will the authors be held liable for any damages\n arising from the use\ + \ of this software.\n \n Permission is granted to anyone to use this software for any\ + \ purpose,\n including commercial applications, and to alter it and redistribute it\n\ + \ freely, subject to the following restrictions:\n \n 1. The origin of this software\ + \ must not be misrepresented; you must not\n claim that you wrote the original software.\ + \ If you use this software\n in a product, an acknowledgment in the product documentation\ + \ would be\n appreciated but is not required.\n 2. Altered source versions must\ + \ be plainly marked as such, and must not be\n misrepresented as being the original\ + \ software.\n 3. This notice may not be removed or altered from any source distribution." + - score: '100.0' + start_line: 529 + end_line: 545 + matcher: 2-aho + rule_length: 138 + matched_length: 138 + match_coverage: '100.0' + rule_relevance: 100 + identifier: d-zlib.LICENSE + license_expression: d-zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is provided 'as-is', without any express or implied\n warranty.\ + \ In no event will the authors be held liable for any damages\n arising from the use of\ + \ this software.\n \n Permission is granted to anyone to use this software for any purpose,\n\ + \ including commercial applications, and to alter it and redistribute it\n freely, in\ + \ both source and binary form, subject to the following\n restrictions:\n \n o The origin\ + \ of this software must not be misrepresented; you must not\n claim that you wrote\ + \ the original software. If you use this software\n in a product, an acknowledgment\ + \ in the product documentation would be\n appreciated but is not required.\n o Altered\ + \ source versions must be plainly marked as such, and must not\n be misrepresented\ + \ as being the original software.\n o This notice may not be removed or altered from\ + \ any source\n distribution." + - score: '100.0' + start_line: 557 + end_line: 574 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a\n\ + \ copy of this software and associated documentation files\n (the \"Software\"),\ + \ to deal in the Software without restriction, including\n without limitation the rights\ + \ to use, copy, modify, merge, publish,\n distribute, sublicense, and/or sell copies\ + \ of the Software, and to\n permit persons to whom the Software is furnished to do\ + \ so, subject to\n the following conditions:\n \n The above copyright notice and\ + \ this permission notice shall be included\n in all copies or substantial portions\ + \ of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY\ + \ KIND, EXPRESS\n OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN ACTION OF CONTRACT, TORT OR\n OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\ + \ WITH THE SOFTWARE OR THE\n USE OR OTHER DEALINGS IN THE SOFTWARE." + - score: '100.0' + start_line: 581 + end_line: 598 + matcher: 2-aho + rule_length: 144 + matched_length: 144 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_gcc-exception-3.1_10.RULE + license_expression: gpl-3.0-plus WITH gcc-exception-3.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This file is free software; you can redistribute it and/or modify it\n \ + \ under the terms of the GNU General Public License as published by the\n Free Software\ + \ Foundation; either version 3, or (at your option) any\n later version.\n \n This\ + \ file is distributed in the hope that it will be useful, but\n WITHOUT ANY WARRANTY;\ + \ without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR\ + \ PURPOSE. See the GNU\n General Public License for more details.\n \n Under Section\ + \ 7 of GPL version 3, you are granted additional\n permissions described in the GCC\ + \ Runtime Library Exception, version\n 3.1, as published by the Free Software Foundation.\n\ + \ \n You should have received a copy of the GNU General Public License and\n a copy\ + \ of the GCC Runtime Library Exception along with this program;\n see the files COPYING3\ + \ and COPYING.RUNTIME respectively. If not, see\n ." + - score: '97.3' + start_line: 609 + end_line: 617 + matcher: 3-seq + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_353.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify\n it under the terms\ + \ of the GNU General Public License as published by\n the Free Software Foundation; either\ + \ version 3, or (at your option)\n any later version.\n \n [GNU] [Modula]-[2] is distributed\ + \ in the hope that it will be useful, but\n WITHOUT ANY WARRANTY; without even the implied\ + \ warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n General\ + \ Public License for more details." + - score: '100.0' + start_line: 623 + end_line: 626 + matcher: 2-aho + rule_length: 46 + matched_length: 46 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus_4.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.3 or + any later version published by the Free Software Foundation; with no + Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. + - score: '100.0' + start_line: 635 + end_line: 643 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details." + - score: '100.0' + start_line: 645 + end_line: 645 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_150.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL version 3, + - score: '100.0' + start_line: 646 + end_line: 647 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gcc-exception-3.1_3.RULE + license_expression: gcc-exception-3.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GCC Runtime Library Exception, version + 3.1, + - score: '100.0' + start_line: 650 + end_line: 650 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_89.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL-3+ + - score: '100.0' + start_line: 650 + end_line: 651 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gcc-exception-3.1_3.RULE + license_expression: gcc-exception-3.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GCC Runtime Library + Exception, version 3.1. + - score: '55.0' + start_line: 663 + end_line: 663 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: gpl-3.0_and_lgpl-2.1_and_lgpl-3.0_1.RULE + license_expression: gpl-3.0 AND lgpl-2.1 AND lgpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: mix of GPL-3.0 and LGPL-2.1/3 + - score: '55.0' + start_line: 666 + end_line: 666 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: gpl-3.0_and_lgpl-2.1_and_lgpl-3.0_1.RULE + license_expression: gpl-3.0 AND lgpl-2.1 AND lgpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: mix of GPL-3.0 and LGPL-2.1/3 + - score: '50.0' + start_line: 670 + end_line: 670 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 50 + identifier: lgpl-2.0_and_gpl-3.0_1.RULE + license_expression: lgpl-2.0 AND gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of LGPL-2.1 and GPL-3.0. + - score: '100.0' + start_line: 673 + end_line: 673 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_89.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL-3+ + - score: '87.88' + start_line: 676 + end_line: 682 + matcher: 3-seq + rule_length: 66 + matched_length: 58 + match_coverage: '87.88' + rule_relevance: 100 + identifier: gpl-1.0-plus_447.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission to copy, modify and redistribute + ;; GNU Emacs, [but] [only] [under] [the] [conditions] [described] [in] [the] + ;; [GNU] [Emacs] General Public License. A copy of this license is + ;; supposed to have been given to you along with [GNU] [Emacs] so you + ;; can know your rights and responsibilities. It should be in a + ;; file named COPYING. Among other things, the copyright notice + ;; and this notice must be preserved on all copies. + - score: '44.0' + start_line: 686 + end_line: 686 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 44 + identifier: gpl-3.0_and_lgpl-2.1_2.RULE + license_expression: gpl-3.0 AND lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of GPL-3 and LGPL-2.1. + - score: '38.0' + start_line: 690 + end_line: 690 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 38 + identifier: gpl-2.0-plus_and_gpl-3.0-plus_3.RULE + license_expression: gpl-2.0-plus AND gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of GPL-2+ and GPL-3+ + - score: '100.0' + start_line: 701 + end_line: 709 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details." + - score: '100.0' + start_line: 711 + end_line: 711 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_150.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL version 3, + - score: '100.0' + start_line: 712 + end_line: 713 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gcc-exception-3.1_3.RULE + license_expression: gcc-exception-3.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GCC Runtime Library Exception, version + 3.1, + - score: '100.0' + start_line: 739 + end_line: 745 + matcher: 2-aho + rule_length: 66 + matched_length: 66 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_and_gpl-1.0-plus_2.RULE + license_expression: lgpl-2.0-plus AND gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Parts of this work are licensed under the terms of the GNU General\n Public\ + \ License. On Debian systems, the complete text of this license\n can be found in /usr/share/common-licenses/GPL.\n\ + \ \n Parts of this work are licensed under the terms of the GNU Library\n General Public\ + \ License. On Debian systems, the complete text of this\n license be found in /usr/share/common-licenses/LGPL." + - score: '100.0' + start_line: 754 + end_line: 764 + matcher: 2-aho + rule_length: 99 + matched_length: 99 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsla-no-advert.LICENSE + license_expression: bsla-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms are permitted\n provided\ + \ that the above copyright notice and this paragraph are\n duplicated in all such forms\ + \ and that any documentation,\n and other materials related to such distribution and use\ + \ \n acknowledge that the software was developed\n by the University of California, Berkeley.\ + \ The name of the\n University may not be used to endorse or promote products derived\n\ + \ from this software without specific prior written permission.\n THIS SOFTWARE IS PROVIDED\ + \ ``AS IS'' AND WITHOUT ANY EXPRESS OR\n IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION,\ + \ THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 771 + end_line: 781 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsla.LICENSE + license_expression: bsla + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted + provided that the above copyright notice and this paragraph are + duplicated in all such forms and that any documentation, + advertising materials, and other materials related to such + distribution and use acknowledge that the software was developed + by the University of California, Berkeley. The name of the + University may not be used to endorse or promote products derived + from this software without specific prior written permission. + THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 789 + end_line: 815 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. All\ + \ advertising materials mentioning features or use of this software\n must display\ + \ the following acknowledgement:\n This product includes software developed by the\ + \ University of\n California, Berkeley and its contributors.\n 4. Neither the name\ + \ of the University nor the names of its contributors\n may be used to endorse or promote\ + \ products derived from this software\n without specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 822 + end_line: 844 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. Neither\ + \ the name of the University nor the names of its contributors\n may be used to endorse\ + \ or promote products derived from this software\n without specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 856 + end_line: 882 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. All\ + \ advertising materials mentioning features or use of this software\n must display\ + \ the following acknowledgement:\n This product includes software developed by the\ + \ University of\n California, Berkeley and its contributors.\n 4. Neither the name\ + \ of the University nor the names of its contributors\n may be used to endorse or promote\ + \ products derived from this software\n without specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 889 + end_line: 901 + matcher: 2-aho + rule_length: 122 + matched_length: 122 + match_coverage: '100.0' + rule_relevance: 100 + identifier: flex-2.5_6.RULE + license_expression: flex-2.5 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted + provided that: (1) source distributions retain this entire copyright + notice and comment, and (2) distributions including binaries display + the following acknowledgement: ``This product includes software + developed by the University of California, Berkeley and its contributors'' + in the documentation or other materials provided with the distribution + and in all advertising materials mentioning features or use of this + software. Neither the name of the University nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + - score: '61.0' + start_line: 909 + end_line: 909 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 61 + identifier: bsd-original-uc.RULE + license_expression: bsd-original-uc + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change + - score: '100.0' + start_line: 919 + end_line: 921 + matcher: 2-aho + rule_length: 21 + matched_length: 21 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_and_gpl-2.0_and_lgpl-3.0-plus_and_other-copyleft_and_other-permissive_1.RULE + license_expression: gpl-3.0 AND gpl-2.0 AND lgpl-3.0-plus WITH cygwin-exception-lgpl-3.0-plus + AND other-copyleft AND other-permissive + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is a copyrighted work licensed under the terms of the + Cygwin license. Please consult the file "CYGWIN_LICENSE" for + details. + - score: '100.0' + start_line: 929 + end_line: 938 + matcher: 2-aho + rule_length: 93 + matched_length: 93 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-lucent.RULE + license_expression: x11-lucent + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for any\n purpose\ + \ without fee is hereby granted, provided that this entire notice\n is included in all\ + \ copies of any software which is or includes a copy\n or modification of this software\ + \ and in all copies of the supporting\n documentation for such software.\n \n THIS SOFTWARE\ + \ IS BEING PROVIDED \"AS IS\", WITHOUT ANY EXPRESS OR IMPLIED\n WARRANTY. IN PARTICULAR,\ + \ NEITHER THE AUTHOR NOR AT&T MAKES ANY\n REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING\ + \ THE MERCHANTABILITY\n OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE." + - score: '100.0' + start_line: 944 + end_line: 955 + matcher: 2-aho + rule_length: 98 + matched_length: 98 + match_coverage: '100.0' + rule_relevance: 100 + identifier: amd-historical_1.RULE + license_expression: amd-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is the property of Advanced Micro Devices, Inc (AMD) which\n\ + \ specifically grants the user the right to modify, use and distribute this\n software\ + \ provided this notice is not removed or altered. All other rights\n are reserved by\ + \ AMD.\n \n AMD MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS\n\ + \ SOFTWARE. IN NO EVENT SHALL AMD BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL\n DAMAGES\ + \ IN CONNECTION WITH OR ARISING FROM THE FURNISHING, PERFORMANCE, OR\n USE OF THIS SOFTWARE.\n\ + \ \n So that all may benefit from your experience, please report any problems\n or \ + \ suggestions about this software" + - score: '100.0' + start_line: 983 + end_line: 986 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Developed at SunPro, a Sun Microsystems, Inc. business.\n Permission to use,\ + \ copy, modify, and distribute this\n software is freely granted, provided that this notice\ + \ \n is preserved." + - score: '100.0' + start_line: 992 + end_line: 1001 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: osf-1990_3.RULE + license_expression: osf-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To anyone who acknowledges that this file is provided "AS IS" + without any express or implied warranty: + permission to use, copy, modify, and distribute this file + for any purpose is hereby granted without fee, provided that + the above copyright notice and this notice appears in all + copies, and that the name of Hewlett-Packard Company not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + Hewlett-Packard Company makes no representations about the + suitability of this software for any purpose. + - score: '100.0' + start_line: 1007 + end_line: 1014 + matcher: 2-aho + rule_length: 55 + matched_length: 55 + match_coverage: '100.0' + rule_relevance: 100 + identifier: nilsson-historical.LICENSE + license_expression: nilsson-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software is\n freely\ + \ granted, provided that the above copyright notice, this notice\n and the following disclaimer\ + \ are preserved with no changes.\n \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT\ + \ ANY EXPRESS OR\n IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE." + - score: '100.0' + start_line: 1020 + end_line: 1028 + matcher: 2-aho + rule_length: 92 + matched_length: 92 + match_coverage: '100.0' + rule_relevance: 100 + identifier: newlib-historical.LICENSE + license_expression: newlib-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The authors hereby grant permission to use, copy, modify, distribute, + and license this software and its documentation for any purpose, provided + that existing copyright notices are retained in all copies and that this + notice is included verbatim in any distributions. No written agreement, + license, or royalty fee is required for any of the authorized uses. + Modifications to this software may be copyrighted by their authors + and need not follow the licensing terms described here, provided that + the new terms are clearly indicated on the first page of each file where + they apply. + - score: '100.0' + start_line: 1035 + end_line: 1055 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_98.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. The\ + \ name of the author may not be used to endorse or promote products\n derived from\ + \ this software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR\n IMPLIED WARRANTIES, INCLUDING, BUT NOT\ + \ LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\ + \ PURPOSE ARE DISCLAIMED.\n IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,\n\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\ + \ OF THE USE OF\n THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '95.0' + start_line: 1061 + end_line: 1072 + matcher: 2-aho + rule_length: 95 + matched_length: 95 + match_coverage: '100.0' + rule_relevance: 100 + identifier: amd-historical4.RULE + license_expression: amd-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is the property of [SuperH], Inc ([SuperH]) which specifically\n\ + \ grants the user the right to modify, use and distribute this software\n provided this\ + \ notice is not removed or altered. All other rights are\n reserved by [SuperH].\n \n\ + \ [SUPERH] MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO\n THIS SOFTWARE.\ + \ IN NO EVENT SHALL [SUPERH] BE LIABLE FOR INDIRECT, SPECIAL, \n INCIDENTAL OR CONSEQUENTIAL\ + \ DAMAGES IN CONNECTION WITH OR ARISING FROM\n THE FURNISHING, PERFORMANCE, OR USE OF\ + \ THIS SOFTWARE.\n \n So that all may benefit from your experience, please report any\ + \ problems\n or suggestions about this software to the" + - score: '100.0' + start_line: 1087 + end_line: 1112 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_933.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n \n\ + \ 3. Neither the name of KTH nor the names of its contributors may be\n used to endorse\ + \ or promote products derived from this software without\n specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY KTH AND ITS CONTRIBUTORS ``AS IS'' AND ANY\n EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL KTH OR ITS\ + \ CONTRIBUTORS BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n\ + \ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n SUBSTITUTE GOODS\ + \ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED\ + \ AND ON ANY THEORY OF LIABILITY,\n WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR\n OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF\n ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 1119 + end_line: 1138 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1145 + end_line: 1164 + matcher: 2-aho + rule_length: 181 + matched_length: 181 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_newlib3.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND\n ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS\ + \ BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n OR SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY\ + \ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1171 + end_line: 1190 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '85.71' + start_line: 1194 + end_line: 1207 + matcher: 3-seq + rule_length: 105 + matched_length: 90 + match_coverage: '85.71' + rule_relevance: 100 + identifier: x11-hanson_1.RULE + license_expression: x11-hanson + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Author: S. [L]. [Moshier].\n \n [Copyright] ([c]) [1984],[2000] S.[L]. [Moshier]\n\ + \ \n Permission to use, copy, modify, and distribute this software for any\n purpose without\ + \ fee is hereby granted, provided that this entire notice\n is included in all copies\ + \ of any software which is or includes a copy\n or modification of this software and in\ + \ all copies of the supporting\n documentation for such software.\n \n THIS SOFTWARE IS\ + \ BEING PROVIDED \"AS IS\", WITHOUT ANY EXPRESS OR IMPLIED\n WARRANTY. IN PARTICULAR,\ + \ THE AUTHOR MAKES NO REPRESENTATION\n OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY\ + \ OF THIS\n SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE." + - score: '100.0' + start_line: 1214 + end_line: 1233 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1240 + end_line: 1260 + matcher: 2-aho + rule_length: 200 + matched_length: 200 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_76.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. The\ + \ name of the author may not be used to endorse or promote products\n derived from\ + \ this software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,\n INCLUDING, BUT NOT LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\ + \ IN NO EVENT SHALL\n THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\n\ + \ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n PROCUREMENT OF\ + \ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\n OR BUSINESS INTERRUPTION)\ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\n WHETHER IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR\n OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\ + \ SOFTWARE, EVEN IF\n ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '27.0' + start_line: 1274 + end_line: 1274 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 27 + identifier: lgpl_39.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Free Software Foundation LGPL License (*- + - score: '100.0' + start_line: 1281 + end_line: 1294 + matcher: 2-aho + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_12.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The GNU C Library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n The GNU C Library is distributed in the hope that it will\ + \ be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n \ + \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ Lesser General Public\n License along with the GNU C Library; if not, write to the\ + \ Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301\ + \ USA" + - score: '99.0' + start_line: 1296 + end_line: 1296 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 99 + identifier: lgpl_33.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL License ( + - score: '100.0' + start_line: 1300 + end_line: 1308 + matcher: 2-aho + rule_length: 81 + matched_length: 81 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_339.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Library General Public License\n as published by the Free\ + \ Software Foundation; either version 2\n of the License, or (at your option) any later\ + \ version.\n \n This program is distributed\ + \ in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied\ + \ warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU Library\ + \ General Public License for more details." + - score: '100.0' + start_line: 1314 + end_line: 1336 + matcher: 2-aho + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: intel-osl-1993.LICENSE + license_expression: intel-osl-1993 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Intel hereby grants you permission to copy, modify, and distribute this\n\ + \ software and its documentation. Intel grants this permission provided\n that the above\ + \ copyright notice appears in all copies and that both the\n copyright notice and this\ + \ permission notice appear in supporting\n documentation. In addition, Intel grants this\ + \ permission provided that\n you prominently mark as \"not part of the original\" any\ + \ modifications\n made to this software or documentation, and that the name of Intel\n\ + \ Corporation not be used in advertising or publicity pertaining to\n distribution of\ + \ the software or the documentation without specific,\n written prior permission.\n \n\ + \ Intel Corporation provides this AS IS, WITHOUT ANY WARRANTY, EXPRESS OR\n IMPLIED, INCLUDING,\ + \ WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY\n OR FITNESS FOR A PARTICULAR PURPOSE.\ + \ Intel makes no guarantee or\n representations regarding the use of, or the results\ + \ of the use of,\n the software and documentation in terms of correctness, accuracy,\n\ + \ reliability, currentness, or otherwise; and you rely on the software,\n documentation\ + \ and results solely at your own risk.\n \n IN NO EVENT SHALL INTEL BE LIABLE FOR ANY\ + \ LOSS OF USE, LOSS OF BUSINESS,\n LOSS OF PROFITS, INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL\ + \ DAMAGES\n OF ANY KIND. IN NO EVENT SHALL INTEL'S TOTAL LIABILITY EXCEED THE SUM\n PAID\ + \ TO INTEL FOR THE PRODUCT LICENSED HEREUNDER." + - score: '100.0' + start_line: 1342 + end_line: 1351 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: osf-1990_3.RULE + license_expression: osf-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To anyone who acknowledges that this file is provided "AS IS" + without any express or implied warranty: + permission to use, copy, modify, and distribute this file + for any purpose is hereby granted without fee, provided that + the above copyright notice and this notice appears in all + copies, and that the name of Hewlett-Packard Company not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + Hewlett-Packard Company makes no representations about the + suitability of this software for any purpose. + - score: '100.0' + start_line: 1356 + end_line: 1374 + matcher: 2-aho + rule_length: 147 + matched_length: 147 + match_coverage: '100.0' + rule_relevance: 100 + identifier: hs-regexp.LICENSE + license_expression: hs-regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is not subject to any license of the American Telephone\n and\ + \ Telegraph Company or of the Regents of the University of California.\n \n Permission\ + \ is granted to anyone to use this software for any purpose on\n any computer system,\ + \ and to alter it and redistribute it, subject\n to the following restrictions:\n \n 1.\ + \ The author is not responsible for the consequences of use of this\n software, no\ + \ matter how awful, even if they arise from flaws in it.\n \n 2. The origin of this software\ + \ must not be misrepresented, either by\n explicit claim or by omission. Since few\ + \ users ever read sources,\n credits must appear in the documentation.\n \n 3. Altered\ + \ versions must be plainly marked as such, and must not be\n misrepresented as being\ + \ the original software. Since few users\n ever read sources, credits must appear\ + \ in the documentation.\n \n 4. This notice may not be removed or altered." + - score: '100.0' + start_line: 1381 + end_line: 1400 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1407 + end_line: 1426 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1435 + end_line: 1454 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1466 + end_line: 1489 + matcher: 2-aho + rule_length: 205 + matched_length: 205 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_983.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without \n modification,\ + \ are permitted provided that the following conditions are met: \n \n Redistributions\ + \ of source code must retain the above copyright \n notice, this list of conditions\ + \ and the following disclaimer.\n \n Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n\ + \ \n The name of Red Hat Incorporated may not be used to endorse \n or promote\ + \ products derived from this software without specific \n prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" \n\ + \ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE \n IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED.\ + \ IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY\n DIRECT, INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\ + \ OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\ + \ HOWEVER CAUSED AND \n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n\ + \ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 1494 + end_line: 1511 + matcher: 2-aho + rule_length: 150 + matched_length: 150 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_6.RULE + license_expression: unicode + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE\n \n Unicode\ + \ Data Files include all data files under the directories\n http://www.unicode.org/Public/,\ + \ http://www.unicode.org/reports/, and\n http://www.unicode.org/cldr/data/. Unicode Data\ + \ Files do not include PDF\n online code charts under the directory http://www.unicode.org/Public/.\n\ + \ Software includes any source code published in the Unicode Standard or under\n the directories\ + \ http://www.unicode.org/Public/,\n http://www.unicode.org/reports/, and http://www.unicode.org/cldr/data/.\n\ + \ \n NOTICE TO USER: Carefully read the following legal agreement. BY\n DOWNLOADING,\ + \ INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S DATA FILES\n (\"DATA FILES\"),\ + \ AND/OR SOFTWARE (\"SOFTWARE\"), YOU UNEQUIVOCALLY ACCEPT, AND\n AGREE TO BE BOUND BY,\ + \ ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF\n YOU DO NOT AGREE, DO NOT DOWNLOAD,\ + \ INSTALL, COPY, DISTRIBUTE OR USE THE DATA\n FILES OR SOFTWARE.\n \n COPYRIGHT AND\ + \ PERMISSION NOTICE" + - score: '100.0' + start_line: 1513 + end_line: 1543 + matcher: 2-aho + rule_length: 306 + matched_length: 306 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_17.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Distributed under\n the Terms of Use in http://www.unicode.org/copyright.html.\n\ + \ \n Permission is hereby granted, free of charge, to any person obtaining a\n copy\ + \ of the Unicode data files and any associated documentation (the \"Data\n Files\") or\ + \ Unicode software and any associated documentation (the \"Software\")\n to deal in the\ + \ Data Files or Software without restriction, including without\n limitation the rights\ + \ to use, copy, modify, merge, publish, distribute, and/or\n sell copies of the Data Files\ + \ or Software, and to permit persons to whom the\n Data Files or Software are furnished\ + \ to do so, provided that (a) the above\n copyright notice(s) and this permission notice\ + \ appear with all copies of the\n Data Files or Software, (b) both the above copyright\ + \ notice(s) and this\n permission notice appear in associated documentation, and (c) there\ + \ is clear\n notice in each modified Data File or in the Software as well as in the\n\ + \ documentation associated with the Data File(s) or Software that the data or\n software\ + \ has been modified.\n \n THE DATA FILES AND SOFTWARE ARE PROVIDED \"AS IS\", WITHOUT\ + \ WARRANTY OF ANY\n KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\ + \ OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD\n\ + \ PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN\n THIS NOTICE\ + \ BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL\n DAMAGES, OR ANY\ + \ DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR\n PROFITS, WHETHER IN AN ACTION\ + \ OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS\n ACTION, ARISING OUT OF OR IN CONNECTION\ + \ WITH THE USE OR PERFORMANCE OF THE\n DATA FILES OR SOFTWARE.\n \n Except as contained\ + \ in this notice, the name of a copyright holder shall\n not be used in advertising or\ + \ otherwise to promote the sale, use or other\n dealings in these Data Files or Software\ + \ without prior written authorization\n of the copyright holder." + - score: '100.0' + start_line: 1550 + end_line: 1562 + matcher: 2-aho + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_284.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The GNU C Library is free software; you can redistribute it and/or + # modify it under the terms of the GNU Lesser General Public + # License as published by the Free Software Foundation; either + # version 2.1 of the License, or (at your option) any later version. + # + # The GNU C Library is distributed in the hope that it will be useful, + # but WITHOUT ANY WARRANTY; without even the implied warranty of + # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + # Lesser General Public License for more details. + # + # You should have received a copy of the GNU Lesser General Public + # License along with the GNU C Library; if not, see + # . diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-9-base/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-9-base/copyright-detailed.expected.yml index 9bfcc06d5c9..365dd79db06 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-9-base/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-9-base/copyright-detailed.expected.yml @@ -1,14 +1,26 @@ -- -- (gpl-2.0-plus AND gpl-3.0-plus) AND gpl-3.0 AND gpl-1.0-plus AND gpl-3.0-plus AND gcc-exception-3.1 - AND unknown-license-reference AND bsd-new AND uoi-ncsa AND mit AND (mit OR commercial-license) - AND gfdl-1.2 AND gpl-2.0 AND lgpl-2.0-plus AND lgpl-2.1-plus AND public-domain AND sunpro - AND gpl-2.0-plus AND artistic-1.0 AND (artistic-perl-1.0 OR gpl-1.0-plus) AND zlib AND d-zlib - AND gpl-3.0-plus WITH gcc-exception-3.1 AND gfdl-1.3-plus AND lgpl-2.1 AND lgpl-3.0-plus AND - lgpl-3.0 AND other-permissive AND bsla-no-advert AND bsla AND bsd-original-uc AND flex-2.5 - AND (gpl-3.0 AND gpl-2.0 AND lgpl-3.0-plus WITH cygwin-exception-lgpl-3.0-plus AND other-copyleft - AND other-permissive) AND x11-lucent AND amd-historical AND osf-1990 AND nilsson-historical - AND newlib-historical AND bsd-simplified AND x11-hanson AND intel-osl-1993 AND hs-regexp -- | +primary_license: +declared_license: +license_expression: gpl-3.0-plus AND gpl-3.0-plus WITH gcc-exception-3.1 AND bsd-new AND uoi-ncsa + AND mit AND (mit OR commercial-license) AND gfdl-1.2 AND gcc-exception-3.1 AND gpl-2.0 AND + lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1-plus AND public-domain AND + lgpl-2.1-plus AND lgpl-2.1-plus AND sunpro AND bsd-new AND gpl-2.0-plus AND (artistic-perl-1.0 + OR gpl-1.0) AND zlib AND d-zlib AND mit AND gpl-3.0-plus WITH gcc-exception-3.1 AND gpl-3.0-plus + WITH gcc-exception-3.1 AND gfdl-1.3-plus AND lgpl-2.1-plus AND gpl-3.0-plus AND lgpl-2.1-plus + AND lgpl-2.1-plus AND gpl-2.0-plus AND gpl-3.0-plus AND (gpl-3.0 AND lgpl-2.1) AND lgpl-2.1-plus + AND lgpl-2.1 AND gpl-3.0-plus AND lgpl-2.1-plus AND (lgpl-3.0 AND gpl-3.0) AND (gpl-3.0 AND + lgpl-2.1 AND lgpl-3.0) AND (gpl-3.0 AND lgpl-2.1 AND lgpl-3.0) AND (lgpl-2.0 AND gpl-3.0) + AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-2.0 AND (gpl-3.0 AND lgpl-2.1) AND (gpl-2.0-plus + AND gpl-3.0-plus) AND lgpl-2.1-plus AND lgpl-2.1 AND (lgpl-2.1 AND lgpl-3.0 AND gpl-3.0) AND + (lgpl-2.1 AND lgpl-3.0) AND lgpl-2.1-plus AND lgpl-2.0-plus AND gpl-3.0-plus AND gpl-2.0-plus + AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-2.0-plus AND (lgpl-2.0-plus AND gpl-1.0-plus) AND + bsla-no-advert AND bsla AND bsd-original-uc AND bsd-new AND bsd-original-uc AND flex-2.5 AND + bsd-original-uc AND (gpl-3.0 AND gpl-2.0 AND lgpl-3.0-plus WITH cygwin-exception-lgpl-3.0-plus + AND other-copyleft AND other-permissive) AND x11-lucent AND amd-historical AND sunpro AND + osf-1990 AND nilsson-historical AND newlib-historical AND bsd-new AND amd-historical AND bsd-new + AND bsd-simplified AND bsd-simplified AND bsd-simplified AND x11-hanson AND bsd-simplified + AND bsd-new AND lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus AND lgpl-2.0-plus AND intel-osl-1993 + AND osf-1990 AND hs-regexp AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new +copyright: | Copyright (c) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Copyright (c) 2009-2014 by the LLVM contributors Copyright (c) 1996-2003 Red Hat, Inc. @@ -89,3 +101,2152 @@ Copyright (c) 1999, 2000 Konstantin Chuguev Copyright (c) 2003, Artem B. Bityuckiy, SoftMine Corporation Copyright (c) 1994, 1997, 2001, 2002, 2003, 2004 Red Hat Incorporated +matches: + - score: '99.24' + start_line: 83 + end_line: 99 + matcher: 3-seq + rule_length: 131 + matched_length: 131 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_354.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify it under\n the terms\ + \ of the GNU General Public License as published by the Free\n Software Foundation; either\ + \ version 3, or (at your option) any later\n version.\n \n [GCC] is distributed in the\ + \ hope that it will be useful, but WITHOUT ANY\n WARRANTY; without even the implied warranty\ + \ of MERCHANTABILITY or\n FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public\ + \ License\n for more details.\n \n Files that have exception clauses are licensed under\ + \ the terms of the\n GNU General Public License; either version 3, or (at your option)\ + \ any\n later version.\n \n On Debian GNU/Linux systems, the complete text of the GNU\ + \ General\n Public License is in `/usr/share/common-licenses/GPL', version 3 of this\n\ + \ license in `/usr/share/common-licenses/GPL-3'." + - score: '100.0' + start_line: 101 + end_line: 103 + matcher: 2-aho + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_gcc-exception-3.1_18.RULE + license_expression: gpl-3.0-plus WITH gcc-exception-3.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The following runtime libraries are licensed under the terms of the + GNU General Public License (v3 or later) with version 3.1 of the GCC + Runtime Library Exception (included in this file): + - score: '100.0' + start_line: 123 + end_line: 149 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_98.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n (1) Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer. \n \n (2) Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\ + \ \n \n (3) The name of the author may not be used to\n endorse or promote\ + \ products derived from this software without\n specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR\n IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\ + \ ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING,\ + \ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA,\ + \ OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\ + \ ARISING\n IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 167 + end_line: '192' + matcher: 2-aho + rule_length: 224 + matched_length: 224 + match_coverage: '100.0' + rule_relevance: 100 + identifier: uoi-ncsa_9.RULE + license_expression: uoi-ncsa + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\ + \ of\n this software and associated documentation files (the \"Software\"), to deal with\n\ + \ the Software without restriction, including without limitation the rights to\n use,\ + \ copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n of the Software,\ + \ and to permit persons to whom the Software is furnished to do\n so, subject to the following\ + \ conditions:\n \n * Redistributions of source code must retain the above copyright\ + \ notice,\n this list of conditions and the following disclaimers.\n \n * Redistributions\ + \ in binary form must reproduce the above copyright notice,\n this list of conditions\ + \ and the following disclaimers in the\n documentation and/or other materials provided\ + \ with the distribution.\n \n * Neither the names of the LLVM Team, University of\ + \ Illinois at\n Urbana-Champaign, nor the names of its contributors may be used\ + \ to\n endorse or promote products derived from this Software without specific\n\ + \ prior written permission.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY\ + \ OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\ + \ FITNESS\n FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n CONTRIBUTORS\ + \ OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER\ + \ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE\n SOFTWARE." + - score: '100.0' + start_line: '194' + end_line: 210 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\n\ + \ of this software and associated documentation files (the \"Software\"), to deal\n in\ + \ the Software without restriction, including without limitation the rights\n to use,\ + \ copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software,\ + \ and to permit persons to whom the Software is\n furnished to do so, subject to the following\ + \ conditions:\n \n The above copyright notice and this permission notice shall be included\ + \ in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED\ + \ \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED\ + \ TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\ + \ IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES\ + \ OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\ + \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE." + - score: '82.2' + start_line: 213 + end_line: 234 + matcher: 3-seq + rule_length: '191' + matched_length: 157 + match_coverage: '82.2' + rule_relevance: 100 + identifier: mit_or_commercial-option.RULE + license_expression: mit OR commercial-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "licensed [under] [the] [following] [terms]:\n \n [libffi] - [Copyright]\ + \ ([c]) [1996]-[2003] [Red] [Hat], [Inc].\n \n Permission is hereby granted, free\ + \ of charge, to any person obtaining\n a copy of this software and associated documentation\ + \ files (the\n ``Software''), to deal in the Software without restriction, including\n\ + \ without limitation the rights to use, copy, modify, merge, publish,\n distribute,\ + \ sublicense, and/or sell copies of the Software, and to\n permit persons to whom\ + \ the Software is furnished to do so, subject to\n the following conditions:\n \n\ + \ The above copyright notice and this permission notice shall be included\n in\ + \ all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED\ + \ ``AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS\n OR IMPLIED, INCLUDING BUT NOT\ + \ LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE\ + \ AND NONINFRINGEMENT.\n IN NO EVENT SHALL [CYGNUS] [SOLUTIONS] BE LIABLE FOR ANY\ + \ CLAIM, DAMAGES OR\n OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n\ + \ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n OTHER\ + \ DEALINGS IN THE SOFTWARE." + - score: '100.0' + start_line: 237 + end_line: 239 + matcher: 2-aho + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.2_7.RULE + license_expression: gfdl-1.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The documentation is licensed under the GNU Free Documentation License (v1.2). + On Debian GNU/Linux systems, the complete text of this license is in + `/usr/share/common-licenses/GFDL-1.2'. + - score: '100.0' + start_line: 242 + end_line: 313 + matcher: 2-aho + rule_length: 512 + matched_length: 512 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gcc-exception-3.1.LICENSE + license_expression: gcc-exception-3.1 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "GCC RUNTIME LIBRARY EXCEPTION\n \n Version 3.1, 31 March 2009\n \n Copyright\ + \ (C) 2009 Free Software Foundation, Inc. \n \n Everyone is permitted\ + \ to copy and distribute verbatim copies of this\n license document, but changing it is\ + \ not allowed.\n \n This GCC Runtime Library Exception (\"Exception\") is an additional\n\ + \ permission under section 7 of the GNU General Public License, version\n 3 (\"GPLv3\"\ + ). It applies to a given file (the \"Runtime Library\") that\n bears a notice placed by\ + \ the copyright holder of the file stating that\n the file is governed by GPLv3 along\ + \ with this Exception.\n \n When you use GCC to compile a program, GCC may combine portions\ + \ of\n certain GCC header files and runtime libraries with the compiled\n program. The\ + \ purpose of this Exception is to allow compilation of\n non-GPL (including proprietary)\ + \ programs to use, in this way, the\n header files and runtime libraries covered by this\ + \ Exception.\n \n 0. Definitions.\n \n A file is an \"Independent Module\" if it either\ + \ requires the Runtime\n Library for execution after a Compilation Process, or makes use\ + \ of an\n interface provided by the Runtime Library, but is not otherwise based\n on the\ + \ Runtime Library.\n \n \"GCC\" means a version of the GNU Compiler Collection, with or\ + \ without\n modifications, governed by version 3 (or a specified later version) of\n the\ + \ GNU General Public License (GPL) with the option of using any\n subsequent versions\ + \ published by the FSF.\n \n \"GPL-compatible Software\" is software whose conditions\ + \ of propagation,\n modification and use would permit combination with GCC in accord with\n\ + \ the license of GCC.\n \n \"Target Code\" refers to output from any compiler for a real\ + \ or virtual\n target processor architecture, in executable form or suitable for\n input\ + \ to an assembler, loader, linker and/or execution\n phase. Notwithstanding that, Target\ + \ Code does not include data in any\n format that is used as a compiler intermediate representation,\ + \ or used\n for producing a compiler intermediate representation.\n \n The \"Compilation\ + \ Process\" transforms code entirely represented in\n non-intermediate languages designed\ + \ for human-written code, and/or in\n Java Virtual Machine byte code, into Target Code.\ + \ Thus, for example,\n use of source code generators and preprocessors need not be considered\n\ + \ part of the Compilation Process, since the Compilation Process can be\n understood as\ + \ starting with the output of the generators or\n preprocessors.\n \n A Compilation Process\ + \ is \"Eligible\" if it is done using GCC, alone or\n with other GPL-compatible software,\ + \ or if it is done without using any\n work based on GCC. For example, using non-GPL-compatible\ + \ Software to\n optimize any GCC intermediate representations would not qualify as an\n\ + \ Eligible Compilation Process.\n \n 1. Grant of Additional Permission.\n \n You have\ + \ permission to propagate a work of Target Code formed by\n combining the Runtime Library\ + \ with Independent Modules, even if such\n propagation would otherwise violate the terms\ + \ of GPLv3, provided that\n all Target Code was generated by Eligible Compilation Processes.\ + \ You\n may then convey such a combination under terms of your choice,\n consistent with\ + \ the licensing of the Independent Modules.\n \n 2. No Weakening of GCC Copyleft.\n \n\ + \ The availability of this Exception does not imply any general\n presumption that third-party\ + \ software is unaffected by the copyleft\n requirements of the license of GCC." + - score: '7.81' + start_line: 324 + end_line: 325 + matcher: 3-seq + rule_length: 64 + matched_length: 5 + match_coverage: '7.81' + rule_relevance: 100 + identifier: gpl-2.0_443.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU [Library] General Public + License + - score: '72.73' + start_line: 325 + end_line: 331 + matcher: 3-seq + rule_length: 77 + matched_length: 56 + match_coverage: '72.73' + rule_relevance: 100 + identifier: lgpl-2.0-plus_402.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "as published by the Free Software Foundation; either\n version 2 of the License,\ + \ or (at your option) any later version.\n \n [Libiberty] is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n\ + \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Library General\ + \ Public License for more details." + - score: '100.0' + start_line: 338 + end_line: 346 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '100.0' + start_line: 356 + end_line: 364 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '97.56' + start_line: 374 + end_line: 382 + matcher: 3-seq + rule_length: 82 + matched_length: 80 + match_coverage: '97.56' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Library is free software; you can redistribute it and/or\n modify it under\ + \ the terms of the GNU Lesser General Public\n License as published by the Free Software\ + \ Foundation; either\n version 2.1 of the License, or (at your option) any later version.\n\ + \ \n [The] [GNU] [C] Library is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '70.0' + start_line: 387 + end_line: 387 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public domain. + - score: '97.56' + start_line: 395 + end_line: 403 + matcher: 3-seq + rule_length: 82 + matched_length: 80 + match_coverage: '97.56' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Library is free software; you can redistribute it and/or\n modify it under\ + \ the terms of the GNU Lesser General Public\n License as published by the Free Software\ + \ Foundation; either\n version 2.1 of the License, or (at your option) any later version.\n\ + \ \n [The] [GNU] [C] Library is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '100.0' + start_line: 410 + end_line: 418 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '100.0' + start_line: 424 + end_line: 427 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Developed at SunPro, a Sun Microsystems, Inc. business. + * Permission to use, copy, modify, and distribute this + * software is freely granted, provided that this notice + * is preserved. + - score: '100.0' + start_line: 434 + end_line: 458 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_166.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions and\ + \ the following disclaimer.\n * Redistributions in binary form must reproduce the above\n\ + \ copyright notice, this list of conditions and the following disclaimer\n in the documentation\ + \ and/or other materials provided with the\n distribution.\n * Neither the name of\ + \ Google Inc. nor the names of its\n contributors may be used to endorse or promote products\ + \ derived from\n this software without specific prior written permission.\n \n THIS SOFTWARE\ + \ IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR\ + \ IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 473 + end_line: 480 + matcher: 2-aho + rule_length: 75 + matched_length: 75 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_812.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n it\ + \ under the terms of the GNU General Public License as published by\n the Free Software\ + \ Foundation; either version 2 of the License, or\n (at your option) any later version.\n\ + \ \n On Debian GNU/Linux systems, the complete text of the GNU General\n Public License\ + \ is in `/usr/share/common-licenses/GPL', version 2 of this\n license in `/usr/share/common-licenses/GPL-2'." + - score: '100.0' + start_line: 490 + end_line: 495 + matcher: 2-aho + rule_length: 46 + matched_length: 46 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0_2.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License for redistribution is by either the Artistic License or\n the GNU\ + \ General Public License (v1).\n \n On Debian GNU/Linux systems, the complete text of\ + \ the GNU General\n Public License is in `/usr/share/common-licenses/GPL', the Artistic\n\ + \ license in `/usr/share/common-licenses/Artistic'." + - score: '100.0' + start_line: 503 + end_line: 517 + matcher: 2-aho + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is provided 'as-is', without any express or implied\n warranty.\ + \ In no event will the authors be held liable for any damages\n arising from the use\ + \ of this software.\n \n Permission is granted to anyone to use this software for any\ + \ purpose,\n including commercial applications, and to alter it and redistribute it\n\ + \ freely, subject to the following restrictions:\n \n 1. The origin of this software\ + \ must not be misrepresented; you must not\n claim that you wrote the original software.\ + \ If you use this software\n in a product, an acknowledgment in the product documentation\ + \ would be\n appreciated but is not required.\n 2. Altered source versions must\ + \ be plainly marked as such, and must not be\n misrepresented as being the original\ + \ software.\n 3. This notice may not be removed or altered from any source distribution." + - score: '100.0' + start_line: 529 + end_line: 545 + matcher: 2-aho + rule_length: 138 + matched_length: 138 + match_coverage: '100.0' + rule_relevance: 100 + identifier: d-zlib.LICENSE + license_expression: d-zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is provided 'as-is', without any express or implied\n warranty.\ + \ In no event will the authors be held liable for any damages\n arising from the use of\ + \ this software.\n \n Permission is granted to anyone to use this software for any purpose,\n\ + \ including commercial applications, and to alter it and redistribute it\n freely, in\ + \ both source and binary form, subject to the following\n restrictions:\n \n o The origin\ + \ of this software must not be misrepresented; you must not\n claim that you wrote\ + \ the original software. If you use this software\n in a product, an acknowledgment\ + \ in the product documentation would be\n appreciated but is not required.\n o Altered\ + \ source versions must be plainly marked as such, and must not\n be misrepresented\ + \ as being the original software.\n o This notice may not be removed or altered from\ + \ any source\n distribution." + - score: '100.0' + start_line: 557 + end_line: 574 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a\n\ + \ copy of this software and associated documentation files\n (the \"Software\"),\ + \ to deal in the Software without restriction, including\n without limitation the rights\ + \ to use, copy, modify, merge, publish,\n distribute, sublicense, and/or sell copies\ + \ of the Software, and to\n permit persons to whom the Software is furnished to do\ + \ so, subject to\n the following conditions:\n \n The above copyright notice and\ + \ this permission notice shall be included\n in all copies or substantial portions\ + \ of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY\ + \ KIND, EXPRESS\n OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN ACTION OF CONTRACT, TORT OR\n OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\ + \ WITH THE SOFTWARE OR THE\n USE OR OTHER DEALINGS IN THE SOFTWARE." + - score: '100.0' + start_line: 581 + end_line: 598 + matcher: 2-aho + rule_length: 144 + matched_length: 144 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_gcc-exception-3.1_10.RULE + license_expression: gpl-3.0-plus WITH gcc-exception-3.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This file is free software; you can redistribute it and/or modify it\n \ + \ under the terms of the GNU General Public License as published by the\n Free Software\ + \ Foundation; either version 3, or (at your option) any\n later version.\n \n This\ + \ file is distributed in the hope that it will be useful, but\n WITHOUT ANY WARRANTY;\ + \ without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR\ + \ PURPOSE. See the GNU\n General Public License for more details.\n \n Under Section\ + \ 7 of GPL version 3, you are granted additional\n permissions described in the GCC\ + \ Runtime Library Exception, version\n 3.1, as published by the Free Software Foundation.\n\ + \ \n You should have received a copy of the GNU General Public License and\n a copy\ + \ of the GCC Runtime Library Exception along with this program;\n see the files COPYING3\ + \ and COPYING.RUNTIME respectively. If not, see\n ." + - score: '58.14' + start_line: 606 + end_line: 618 + matcher: 3-seq + rule_length: 129 + matched_length: 75 + match_coverage: '58.14' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_gcc-exception-3.1_14.RULE + license_expression: gpl-3.0-plus WITH gcc-exception-3.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify\n it under the terms\ + \ of the GNU General Public License as published by\n the Free Software Foundation; either\ + \ version 3, or (at your option)\n any later version.\n \n [GNU] [Modula]-[2] is distributed\ + \ in the hope that it will be useful, but\n WITHOUT ANY WARRANTY; without even the implied\ + \ warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n General\ + \ Public License for more details.\n \n [gcc]/[gm2]/**/*.[texi]:\n [Copyright] ([C]) [2000],\ + \ [2001], [2002], [2003], [2004], [2005], [2006], [2007], [2008], [2009], [2010],\n [2011],\ + \ [2012], [2012], [2013] Free Software Foundation," + - score: '100.0' + start_line: 620 + end_line: 623 + matcher: 2-aho + rule_length: 46 + matched_length: 46 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus_4.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.3 or + any later version published by the Free Software Foundation; with no + Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. + - score: '83.81' + start_line: 629 + end_line: 644 + matcher: 3-seq + rule_length: 105 + matched_length: 88 + match_coverage: '83.81' + rule_relevance: 100 + identifier: lgpl-2.1-plus_251.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\ + \ \n [gcc]/[gm2]/[ulm]-[lib]-[gm2]:\n [Copyright] ([C]) [2004], [2005], [2006], [2007],\ + \ [2008], [2009], [2010]\n [Free] [Software] [Foundation], [Inc].\n \n [GNU]\ + \ [Modula]-[2] [is] [free] [software]; [you] [can] [redistribute] [it] [and]/[or] [modify]\ + \ [it] [under]\n [the] [terms] of the GNU General Public License" + - score: '100.0' + start_line: 643 + end_line: 646 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_111.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation; either version 3, or (at your option) any later + version. + - score: '100.0' + start_line: 661 + end_line: 669 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details." + - score: '100.0' + start_line: 675 + end_line: 683 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details." + - score: '96.05' + start_line: 705 + end_line: 713 + matcher: 3-seq + rule_length: 76 + matched_length: 73 + match_coverage: '96.05' + rule_relevance: 100 + identifier: gpl-2.0-plus_287.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "GNU [Modula]-[2] is free software; you can redistribute it and/or modify\n\ + \ it under the terms of the GNU General Public License as published by\n the Free Software\ + \ Foundation; either version [3], or (at your option)\n any later version.\n \n GNU [Modula]-[2]\ + \ is distributed in the hope that it will be useful, but\n WITHOUT ANY WARRANTY; without\ + \ even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\ + \ See the GNU\n General Public License for more details." + - score: '97.3' + start_line: 728 + end_line: 736 + matcher: 3-seq + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_353.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify it under\n the terms\ + \ of the GNU General Public License as published by the Free\n Software Foundation; either\ + \ version 3, or (at your option) any later\n version.\n \n [GNU] [Modula]-[2] is distributed\ + \ in the hope that it will be useful, but WITHOUT ANY\n WARRANTY; without even the implied\ + \ warranty of MERCHANTABILITY or\n FITNESS FOR A PARTICULAR PURPOSE. See the GNU General\ + \ Public License\n for more details." + - score: '95.0' + start_line: 739 + end_line: 739 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 95 + identifier: gpl-3.0_and_lgpl-2.1_1.RULE + license_expression: gpl-3.0 AND lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This has a mix of licenses, both LGPL-2.1 and GPL-3.0, plus the apparently + - score: '100.0' + start_line: 757 + end_line: 765 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details." + - score: '25.0' + start_line: 764 + end_line: 769 + matcher: 3-seq + rule_length: 36 + matched_length: 9 + match_coverage: '25.0' + rule_relevance: 100 + identifier: lgpl-2.1_90.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "the GNU\n Lesser General Public License [for] [more] [details].\n \n [gcc]/[gm2]/[gm2]-[libs]-[iso]/*.[mod]:\n\ + \ \n [Copyright] ([C]) [2012] Free Software Foundation," + - score: '97.3' + start_line: 771 + end_line: 779 + matcher: 3-seq + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_353.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify it under\n the terms\ + \ of the GNU General Public License as published by the Free\n Software Foundation; either\ + \ version 3, or (at your option) any later\n version.\n \n [GNU] [Modula]-[2] is distributed\ + \ in the hope that it will be useful, but WITHOUT ANY\n WARRANTY; without even the implied\ + \ warranty of MERCHANTABILITY or\n FITNESS FOR A PARTICULAR PURPOSE. See the GNU General\ + \ Public License\n for more details." + - score: '100.0' + start_line: 785 + end_line: 793 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details." + - score: '50.0' + start_line: 797 + end_line: 797 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 50 + identifier: lgpl-3.0_AND_gpl-3.0_3.RULE + license_expression: lgpl-3.0 AND gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: mix of GPL-3.0 and LGPL-3.0 + - score: '55.0' + start_line: 801 + end_line: 801 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: gpl-3.0_and_lgpl-2.1_and_lgpl-3.0_1.RULE + license_expression: gpl-3.0 AND lgpl-2.1 AND lgpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: mix of GPL-3.0 and LGPL-2.1/3 + - score: '55.0' + start_line: 805 + end_line: 805 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: gpl-3.0_and_lgpl-2.1_and_lgpl-3.0_1.RULE + license_expression: gpl-3.0 AND lgpl-2.1 AND lgpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: mix of GPL-3.0 and LGPL-2.1/3 + - score: '50.0' + start_line: 809 + end_line: 809 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 50 + identifier: lgpl-2.0_and_gpl-3.0_1.RULE + license_expression: lgpl-2.0 AND gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of LGPL-2.1 and GPL-3.0. + - score: '100.0' + start_line: 812 + end_line: 812 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_89.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL-3+ + - score: '87.88' + start_line: 815 + end_line: 821 + matcher: 3-seq + rule_length: 66 + matched_length: 58 + match_coverage: '87.88' + rule_relevance: 100 + identifier: gpl-1.0-plus_447.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission to copy, modify and redistribute + ;; GNU Emacs, [but] [only] [under] [the] [conditions] [described] [in] [the] + ;; [GNU] [Emacs] General Public License. A copy of this license is + ;; supposed to have been given to you along with [GNU] [Emacs] so you + ;; can know your rights and responsibilities. It should be in a + ;; file named COPYING. Among other things, the copyright notice + ;; and this notice must be preserved on all copies. + - score: '7.81' + start_line: 816 + end_line: 817 + matcher: 3-seq + rule_length: 64 + matched_length: 5 + match_coverage: '7.81' + rule_relevance: 100 + identifier: gpl-2.0_443.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the + ;; GNU [Emacs] General Public License. + - score: '44.0' + start_line: 826 + end_line: 826 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 44 + identifier: gpl-3.0_and_lgpl-2.1_2.RULE + license_expression: gpl-3.0 AND lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of GPL-3 and LGPL-2.1. + - score: '38.0' + start_line: 830 + end_line: 830 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 38 + identifier: gpl-2.0-plus_and_gpl-3.0-plus_3.RULE + license_expression: gpl-2.0-plus AND gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of GPL-2+ and GPL-3+ + - score: '100.0' + start_line: 837 + end_line: 845 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details." + - score: '25.0' + start_line: 844 + end_line: 848 + matcher: 3-seq + rule_length: 36 + matched_length: 9 + match_coverage: '25.0' + rule_relevance: 100 + identifier: lgpl-2.1_90.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "the GNU\n Lesser General Public License [for] [more] [details].\n \n [libgm2]/[libpim]/:\n\ + \ [Copyright] ([C]) [2005]-[2014] Free Software Foundation," + - score: '55.0' + start_line: 849 + end_line: 849 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: lgpl-2.1_and_lgpl-3.0_and_gpl-3.0_1.RULE + license_expression: lgpl-2.1 AND lgpl-3.0 AND gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of LGPL-2.1, LGPL-3 and GPL-3. + - score: '44.0' + start_line: 853 + end_line: 853 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 44 + identifier: lgpl-2.1_and_lgpl-3.0_1.RULE + license_expression: lgpl-2.1 AND lgpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of LGPL-2.1 and LGPL-3. + - score: '100.0' + start_line: 857 + end_line: 857 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPL-2.1+' + - score: '98.78' + start_line: 858 + end_line: 866 + matcher: 3-seq + rule_length: 81 + matched_length: 81 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_40.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2.[1] of the License, or (at your option) any later version. + . + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + - score: '97.3' + start_line: 872 + end_line: 880 + matcher: 3-seq + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_353.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify it under\n the terms\ + \ of the GNU General Public License as published by the Free\n Software Foundation; either\ + \ version 3, or (at your option) any later\n version.\n \n [GNU] [Modula]-[2] is distributed\ + \ in the hope that it will be useful, but WITHOUT ANY\n WARRANTY; without even the implied\ + \ warranty of MERCHANTABILITY or\n FITNESS FOR A PARTICULAR PURPOSE. See the GNU General\ + \ Public License\n for more details." + - score: '21.62' + start_line: 879 + end_line: 883 + matcher: 3-seq + rule_length: 37 + matched_length: 8 + match_coverage: '21.62' + rule_relevance: 100 + identifier: gpl-2.0-plus_409.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "the GNU General Public License\n [for] [more] [details].\n \n [libgm2]/[libcor]/:\n\ + \ [Copyright] ([C]) [2005]-[2019] Free Software Foundation," + - score: '97.3' + start_line: 886 + end_line: 894 + matcher: 3-seq + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_353.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify\n it under the terms\ + \ of the GNU General Public License as published by\n the Free Software Foundation; either\ + \ version 3, or (at your option)\n any later version.\n \n [GNU] [Modula]-[2] is distributed\ + \ in the hope that it will be useful, but\n WITHOUT ANY WARRANTY; without even the implied\ + \ warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n General\ + \ Public License for more details." + - score: '97.3' + start_line: 899 + end_line: 907 + matcher: 3-seq + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_353.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify it under\n the terms\ + \ of the GNU General Public License as published by the Free\n Software Foundation; either\ + \ version 3, or (at your option) any later\n version.\n \n [GNU] [Modula]-[2] is distributed\ + \ in the hope that it will be useful, but WITHOUT ANY\n WARRANTY; without even the implied\ + \ warranty of MERCHANTABILITY or\n FITNESS FOR A PARTICULAR PURPOSE. See the GNU General\ + \ Public License\n for more details." + - score: '96.05' + start_line: 913 + end_line: 921 + matcher: 3-seq + rule_length: 76 + matched_length: 73 + match_coverage: '96.05' + rule_relevance: 100 + identifier: gpl-2.0-plus_287.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "GNU [Modula]-[2] is free software; you can redistribute it and/or modify\n\ + \ it under the terms of the GNU General Public License as published by\n the Free Software\ + \ Foundation; either version [3], or (at your option)\n any later version.\n \n GNU [Modula]-[2]\ + \ is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without\ + \ even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\ + \ See the\n GNU General Public License for more details." + - score: '100.0' + start_line: 947 + end_line: 953 + matcher: 2-aho + rule_length: 66 + matched_length: 66 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_and_gpl-1.0-plus_2.RULE + license_expression: lgpl-2.0-plus AND gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Parts of this work are licensed under the terms of the GNU General\n Public\ + \ License. On Debian systems, the complete text of this license\n can be found in /usr/share/common-licenses/GPL.\n\ + \ \n Parts of this work are licensed under the terms of the GNU Library\n General Public\ + \ License. On Debian systems, the complete text of this\n license be found in /usr/share/common-licenses/LGPL." + - score: '100.0' + start_line: 962 + end_line: 972 + matcher: 2-aho + rule_length: 99 + matched_length: 99 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsla-no-advert.LICENSE + license_expression: bsla-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms are permitted\n provided\ + \ that the above copyright notice and this paragraph are\n duplicated in all such forms\ + \ and that any documentation,\n and other materials related to such distribution and use\ + \ \n acknowledge that the software was developed\n by the University of California, Berkeley.\ + \ The name of the\n University may not be used to endorse or promote products derived\n\ + \ from this software without specific prior written permission.\n THIS SOFTWARE IS PROVIDED\ + \ ``AS IS'' AND WITHOUT ANY EXPRESS OR\n IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION,\ + \ THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 979 + end_line: 989 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsla.LICENSE + license_expression: bsla + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted + provided that the above copyright notice and this paragraph are + duplicated in all such forms and that any documentation, + advertising materials, and other materials related to such + distribution and use acknowledge that the software was developed + by the University of California, Berkeley. The name of the + University may not be used to endorse or promote products derived + from this software without specific prior written permission. + THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 997 + end_line: 1023 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. All\ + \ advertising materials mentioning features or use of this software\n must display\ + \ the following acknowledgement:\n This product includes software developed by the\ + \ University of\n California, Berkeley and its contributors.\n 4. Neither the name\ + \ of the University nor the names of its contributors\n may be used to endorse or promote\ + \ products derived from this software\n without specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1030 + end_line: 1052 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. Neither\ + \ the name of the University nor the names of its contributors\n may be used to endorse\ + \ or promote products derived from this software\n without specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1064 + end_line: 1090 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. All\ + \ advertising materials mentioning features or use of this software\n must display\ + \ the following acknowledgement:\n This product includes software developed by the\ + \ University of\n California, Berkeley and its contributors.\n 4. Neither the name\ + \ of the University nor the names of its contributors\n may be used to endorse or promote\ + \ products derived from this software\n without specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1097 + end_line: 1109 + matcher: 2-aho + rule_length: 122 + matched_length: 122 + match_coverage: '100.0' + rule_relevance: 100 + identifier: flex-2.5_6.RULE + license_expression: flex-2.5 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted + provided that: (1) source distributions retain this entire copyright + notice and comment, and (2) distributions including binaries display + the following acknowledgement: ``This product includes software + developed by the University of California, Berkeley and its contributors'' + in the documentation or other materials provided with the distribution + and in all advertising materials mentioning features or use of this + software. Neither the name of the University nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + - score: '61.0' + start_line: 1117 + end_line: 1117 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 61 + identifier: bsd-original-uc.RULE + license_expression: bsd-original-uc + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change + - score: '100.0' + start_line: 1127 + end_line: 1129 + matcher: 2-aho + rule_length: 21 + matched_length: 21 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_and_gpl-2.0_and_lgpl-3.0-plus_and_other-copyleft_and_other-permissive_1.RULE + license_expression: gpl-3.0 AND gpl-2.0 AND lgpl-3.0-plus WITH cygwin-exception-lgpl-3.0-plus + AND other-copyleft AND other-permissive + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is a copyrighted work licensed under the terms of the + Cygwin license. Please consult the file "CYGWIN_LICENSE" for + details. + - score: '100.0' + start_line: 1137 + end_line: 1146 + matcher: 2-aho + rule_length: 93 + matched_length: 93 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-lucent.RULE + license_expression: x11-lucent + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for any\n purpose\ + \ without fee is hereby granted, provided that this entire notice\n is included in all\ + \ copies of any software which is or includes a copy\n or modification of this software\ + \ and in all copies of the supporting\n documentation for such software.\n \n THIS SOFTWARE\ + \ IS BEING PROVIDED \"AS IS\", WITHOUT ANY EXPRESS OR IMPLIED\n WARRANTY. IN PARTICULAR,\ + \ NEITHER THE AUTHOR NOR AT&T MAKES ANY\n REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING\ + \ THE MERCHANTABILITY\n OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE." + - score: '100.0' + start_line: 1152 + end_line: 1163 + matcher: 2-aho + rule_length: 98 + matched_length: 98 + match_coverage: '100.0' + rule_relevance: 100 + identifier: amd-historical_1.RULE + license_expression: amd-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is the property of Advanced Micro Devices, Inc (AMD) which\n\ + \ specifically grants the user the right to modify, use and distribute this\n software\ + \ provided this notice is not removed or altered. All other rights\n are reserved by\ + \ AMD.\n \n AMD MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS\n\ + \ SOFTWARE. IN NO EVENT SHALL AMD BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL\n DAMAGES\ + \ IN CONNECTION WITH OR ARISING FROM THE FURNISHING, PERFORMANCE, OR\n USE OF THIS SOFTWARE.\n\ + \ \n So that all may benefit from your experience, please report any problems\n or \ + \ suggestions about this software" + - score: '100.0' + start_line: 1191 + end_line: 1194 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Developed at SunPro, a Sun Microsystems, Inc. business.\n Permission to use,\ + \ copy, modify, and distribute this\n software is freely granted, provided that this notice\ + \ \n is preserved." + - score: '100.0' + start_line: 1200 + end_line: 1209 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: osf-1990_3.RULE + license_expression: osf-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To anyone who acknowledges that this file is provided "AS IS" + without any express or implied warranty: + permission to use, copy, modify, and distribute this file + for any purpose is hereby granted without fee, provided that + the above copyright notice and this notice appears in all + copies, and that the name of Hewlett-Packard Company not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + Hewlett-Packard Company makes no representations about the + suitability of this software for any purpose. + - score: '100.0' + start_line: 1215 + end_line: 1222 + matcher: 2-aho + rule_length: 55 + matched_length: 55 + match_coverage: '100.0' + rule_relevance: 100 + identifier: nilsson-historical.LICENSE + license_expression: nilsson-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software is\n freely\ + \ granted, provided that the above copyright notice, this notice\n and the following disclaimer\ + \ are preserved with no changes.\n \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT\ + \ ANY EXPRESS OR\n IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE." + - score: '100.0' + start_line: 1228 + end_line: 1236 + matcher: 2-aho + rule_length: 92 + matched_length: 92 + match_coverage: '100.0' + rule_relevance: 100 + identifier: newlib-historical.LICENSE + license_expression: newlib-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The authors hereby grant permission to use, copy, modify, distribute, + and license this software and its documentation for any purpose, provided + that existing copyright notices are retained in all copies and that this + notice is included verbatim in any distributions. No written agreement, + license, or royalty fee is required for any of the authorized uses. + Modifications to this software may be copyrighted by their authors + and need not follow the licensing terms described here, provided that + the new terms are clearly indicated on the first page of each file where + they apply. + - score: '100.0' + start_line: 1243 + end_line: 1263 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_98.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. The\ + \ name of the author may not be used to endorse or promote products\n derived from\ + \ this software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR\n IMPLIED WARRANTIES, INCLUDING, BUT NOT\ + \ LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\ + \ PURPOSE ARE DISCLAIMED.\n IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,\n\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\ + \ OF THE USE OF\n THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '95.0' + start_line: 1269 + end_line: 1280 + matcher: 2-aho + rule_length: 95 + matched_length: 95 + match_coverage: '100.0' + rule_relevance: 100 + identifier: amd-historical4.RULE + license_expression: amd-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is the property of [SuperH], Inc ([SuperH]) which specifically\n\ + \ grants the user the right to modify, use and distribute this software\n provided this\ + \ notice is not removed or altered. All other rights are\n reserved by [SuperH].\n \n\ + \ [SUPERH] MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO\n THIS SOFTWARE.\ + \ IN NO EVENT SHALL [SUPERH] BE LIABLE FOR INDIRECT, SPECIAL, \n INCIDENTAL OR CONSEQUENTIAL\ + \ DAMAGES IN CONNECTION WITH OR ARISING FROM\n THE FURNISHING, PERFORMANCE, OR USE OF\ + \ THIS SOFTWARE.\n \n So that all may benefit from your experience, please report any\ + \ problems\n or suggestions about this software to the" + - score: '100.0' + start_line: 1295 + end_line: 1320 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_933.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n \n\ + \ 3. Neither the name of KTH nor the names of its contributors may be\n used to endorse\ + \ or promote products derived from this software without\n specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY KTH AND ITS CONTRIBUTORS ``AS IS'' AND ANY\n EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL KTH OR ITS\ + \ CONTRIBUTORS BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n\ + \ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n SUBSTITUTE GOODS\ + \ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED\ + \ AND ON ANY THEORY OF LIABILITY,\n WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR\n OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF\n ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 1327 + end_line: 1346 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1353 + end_line: 1372 + matcher: 2-aho + rule_length: 181 + matched_length: 181 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_newlib3.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND\n ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS\ + \ BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n OR SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY\ + \ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1379 + end_line: 1398 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '85.71' + start_line: 1402 + end_line: 1415 + matcher: 3-seq + rule_length: 105 + matched_length: 90 + match_coverage: '85.71' + rule_relevance: 100 + identifier: x11-hanson_1.RULE + license_expression: x11-hanson + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Author: S. [L]. [Moshier].\n \n [Copyright] ([c]) [1984],[2000] S.[L]. [Moshier]\n\ + \ \n Permission to use, copy, modify, and distribute this software for any\n purpose without\ + \ fee is hereby granted, provided that this entire notice\n is included in all copies\ + \ of any software which is or includes a copy\n or modification of this software and in\ + \ all copies of the supporting\n documentation for such software.\n \n THIS SOFTWARE IS\ + \ BEING PROVIDED \"AS IS\", WITHOUT ANY EXPRESS OR IMPLIED\n WARRANTY. IN PARTICULAR,\ + \ THE AUTHOR MAKES NO REPRESENTATION\n OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY\ + \ OF THIS\n SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE." + - score: '100.0' + start_line: 1422 + end_line: 1441 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1448 + end_line: 1468 + matcher: 2-aho + rule_length: 200 + matched_length: 200 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_76.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. The\ + \ name of the author may not be used to endorse or promote products\n derived from\ + \ this software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,\n INCLUDING, BUT NOT LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\ + \ IN NO EVENT SHALL\n THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\n\ + \ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n PROCUREMENT OF\ + \ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\n OR BUSINESS INTERRUPTION)\ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\n WHETHER IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR\n OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\ + \ SOFTWARE, EVEN IF\n ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '27.0' + start_line: 1482 + end_line: 1482 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 27 + identifier: lgpl_39.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Free Software Foundation LGPL License (*- + - score: '100.0' + start_line: 1489 + end_line: 1502 + matcher: 2-aho + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_12.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The GNU C Library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n The GNU C Library is distributed in the hope that it will\ + \ be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n \ + \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ Lesser General Public\n License along with the GNU C Library; if not, write to the\ + \ Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301\ + \ USA" + - score: '99.0' + start_line: 1504 + end_line: 1504 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 99 + identifier: lgpl_33.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL License ( + - score: '100.0' + start_line: 1508 + end_line: 1516 + matcher: 2-aho + rule_length: 81 + matched_length: 81 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_339.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Library General Public License\n as published by the Free\ + \ Software Foundation; either version 2\n of the License, or (at your option) any later\ + \ version.\n \n This program is distributed\ + \ in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied\ + \ warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU Library\ + \ General Public License for more details." + - score: '100.0' + start_line: 1522 + end_line: 1544 + matcher: 2-aho + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: intel-osl-1993.LICENSE + license_expression: intel-osl-1993 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Intel hereby grants you permission to copy, modify, and distribute this\n\ + \ software and its documentation. Intel grants this permission provided\n that the above\ + \ copyright notice appears in all copies and that both the\n copyright notice and this\ + \ permission notice appear in supporting\n documentation. In addition, Intel grants this\ + \ permission provided that\n you prominently mark as \"not part of the original\" any\ + \ modifications\n made to this software or documentation, and that the name of Intel\n\ + \ Corporation not be used in advertising or publicity pertaining to\n distribution of\ + \ the software or the documentation without specific,\n written prior permission.\n \n\ + \ Intel Corporation provides this AS IS, WITHOUT ANY WARRANTY, EXPRESS OR\n IMPLIED, INCLUDING,\ + \ WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY\n OR FITNESS FOR A PARTICULAR PURPOSE.\ + \ Intel makes no guarantee or\n representations regarding the use of, or the results\ + \ of the use of,\n the software and documentation in terms of correctness, accuracy,\n\ + \ reliability, currentness, or otherwise; and you rely on the software,\n documentation\ + \ and results solely at your own risk.\n \n IN NO EVENT SHALL INTEL BE LIABLE FOR ANY\ + \ LOSS OF USE, LOSS OF BUSINESS,\n LOSS OF PROFITS, INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL\ + \ DAMAGES\n OF ANY KIND. IN NO EVENT SHALL INTEL'S TOTAL LIABILITY EXCEED THE SUM\n PAID\ + \ TO INTEL FOR THE PRODUCT LICENSED HEREUNDER." + - score: '100.0' + start_line: 1550 + end_line: 1559 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: osf-1990_3.RULE + license_expression: osf-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To anyone who acknowledges that this file is provided "AS IS" + without any express or implied warranty: + permission to use, copy, modify, and distribute this file + for any purpose is hereby granted without fee, provided that + the above copyright notice and this notice appears in all + copies, and that the name of Hewlett-Packard Company not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + Hewlett-Packard Company makes no representations about the + suitability of this software for any purpose. + - score: '100.0' + start_line: 1564 + end_line: 1582 + matcher: 2-aho + rule_length: 147 + matched_length: 147 + match_coverage: '100.0' + rule_relevance: 100 + identifier: hs-regexp.LICENSE + license_expression: hs-regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is not subject to any license of the American Telephone\n and\ + \ Telegraph Company or of the Regents of the University of California.\n \n Permission\ + \ is granted to anyone to use this software for any purpose on\n any computer system,\ + \ and to alter it and redistribute it, subject\n to the following restrictions:\n \n 1.\ + \ The author is not responsible for the consequences of use of this\n software, no\ + \ matter how awful, even if they arise from flaws in it.\n \n 2. The origin of this software\ + \ must not be misrepresented, either by\n explicit claim or by omission. Since few\ + \ users ever read sources,\n credits must appear in the documentation.\n \n 3. Altered\ + \ versions must be plainly marked as such, and must not be\n misrepresented as being\ + \ the original software. Since few users\n ever read sources, credits must appear\ + \ in the documentation.\n \n 4. This notice may not be removed or altered." + - score: '100.0' + start_line: 1589 + end_line: 1608 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1615 + end_line: 1634 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1643 + end_line: 1662 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1674 + end_line: 1697 + matcher: 2-aho + rule_length: 205 + matched_length: 205 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_983.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without \n modification,\ + \ are permitted provided that the following conditions are met: \n \n Redistributions\ + \ of source code must retain the above copyright \n notice, this list of conditions\ + \ and the following disclaimer.\n \n Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n\ + \ \n The name of Red Hat Incorporated may not be used to endorse \n or promote\ + \ products derived from this software without specific \n prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" \n\ + \ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE \n IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED.\ + \ IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY\n DIRECT, INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\ + \ OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\ + \ HOWEVER CAUSED AND \n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n\ + \ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-9-base/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-9-base/copyright.expected.yml index 9bfcc06d5c9..3e05205e01c 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-9-base/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gcc-9-base/copyright.expected.yml @@ -1,14 +1,17 @@ -- -- (gpl-2.0-plus AND gpl-3.0-plus) AND gpl-3.0 AND gpl-1.0-plus AND gpl-3.0-plus AND gcc-exception-3.1 - AND unknown-license-reference AND bsd-new AND uoi-ncsa AND mit AND (mit OR commercial-license) - AND gfdl-1.2 AND gpl-2.0 AND lgpl-2.0-plus AND lgpl-2.1-plus AND public-domain AND sunpro - AND gpl-2.0-plus AND artistic-1.0 AND (artistic-perl-1.0 OR gpl-1.0-plus) AND zlib AND d-zlib - AND gpl-3.0-plus WITH gcc-exception-3.1 AND gfdl-1.3-plus AND lgpl-2.1 AND lgpl-3.0-plus AND - lgpl-3.0 AND other-permissive AND bsla-no-advert AND bsla AND bsd-original-uc AND flex-2.5 - AND (gpl-3.0 AND gpl-2.0 AND lgpl-3.0-plus WITH cygwin-exception-lgpl-3.0-plus AND other-copyleft - AND other-permissive) AND x11-lucent AND amd-historical AND osf-1990 AND nilsson-historical - AND newlib-historical AND bsd-simplified AND x11-hanson AND intel-osl-1993 AND hs-regexp -- | +primary_license: +declared_license: +license_expression: gpl-3.0-plus AND gpl-3.0-plus WITH gcc-exception-3.1 AND bsd-new AND uoi-ncsa + AND mit AND (mit OR commercial-license) AND gfdl-1.2 AND gcc-exception-3.1 AND gpl-2.0 AND + lgpl-2.0-plus AND lgpl-2.1-plus AND public-domain AND sunpro AND gpl-2.0-plus AND (artistic-perl-1.0 + OR gpl-1.0) AND zlib AND d-zlib AND gfdl-1.3-plus AND (gpl-3.0 AND lgpl-2.1) AND lgpl-2.1 + AND (lgpl-3.0 AND gpl-3.0) AND (gpl-3.0 AND lgpl-2.1 AND lgpl-3.0) AND (lgpl-2.0 AND gpl-3.0) + AND gpl-1.0-plus AND (gpl-2.0-plus AND gpl-3.0-plus) AND (lgpl-2.1 AND lgpl-3.0 AND gpl-3.0) + AND (lgpl-2.1 AND lgpl-3.0) AND (lgpl-2.0-plus AND gpl-1.0-plus) AND bsla-no-advert AND bsla + AND bsd-original-uc AND flex-2.5 AND (gpl-3.0 AND gpl-2.0 AND lgpl-3.0-plus WITH cygwin-exception-lgpl-3.0-plus + AND other-copyleft AND other-permissive) AND x11-lucent AND amd-historical AND osf-1990 AND + nilsson-historical AND newlib-historical AND bsd-simplified AND x11-hanson AND intel-osl-1993 + AND hs-regexp +copyright: | Copyright (c) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Copyright (c) 2009-2014 by the LLVM contributors Copyright (c) 1996-2003 Red Hat, Inc. @@ -89,3 +92,2152 @@ Copyright (c) 1999, 2000 Konstantin Chuguev Copyright (c) 2003, Artem B. Bityuckiy, SoftMine Corporation Copyright (c) 1994, 1997, 2001, 2002, 2003, 2004 Red Hat Incorporated +matches: + - score: '99.24' + start_line: 83 + end_line: 99 + matcher: 3-seq + rule_length: 131 + matched_length: 131 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_354.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify it under\n the terms\ + \ of the GNU General Public License as published by the Free\n Software Foundation; either\ + \ version 3, or (at your option) any later\n version.\n \n [GCC] is distributed in the\ + \ hope that it will be useful, but WITHOUT ANY\n WARRANTY; without even the implied warranty\ + \ of MERCHANTABILITY or\n FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public\ + \ License\n for more details.\n \n Files that have exception clauses are licensed under\ + \ the terms of the\n GNU General Public License; either version 3, or (at your option)\ + \ any\n later version.\n \n On Debian GNU/Linux systems, the complete text of the GNU\ + \ General\n Public License is in `/usr/share/common-licenses/GPL', version 3 of this\n\ + \ license in `/usr/share/common-licenses/GPL-3'." + - score: '100.0' + start_line: 101 + end_line: 103 + matcher: 2-aho + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_gcc-exception-3.1_18.RULE + license_expression: gpl-3.0-plus WITH gcc-exception-3.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The following runtime libraries are licensed under the terms of the + GNU General Public License (v3 or later) with version 3.1 of the GCC + Runtime Library Exception (included in this file): + - score: '100.0' + start_line: 123 + end_line: 149 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_98.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n (1) Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer. \n \n (2) Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\ + \ \n \n (3) The name of the author may not be used to\n endorse or promote\ + \ products derived from this software without\n specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR\n IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\ + \ ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING,\ + \ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA,\ + \ OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\ + \ ARISING\n IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 167 + end_line: '192' + matcher: 2-aho + rule_length: 224 + matched_length: 224 + match_coverage: '100.0' + rule_relevance: 100 + identifier: uoi-ncsa_9.RULE + license_expression: uoi-ncsa + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\ + \ of\n this software and associated documentation files (the \"Software\"), to deal with\n\ + \ the Software without restriction, including without limitation the rights to\n use,\ + \ copy, modify, merge, publish, distribute, sublicense, and/or sell copies\n of the Software,\ + \ and to permit persons to whom the Software is furnished to do\n so, subject to the following\ + \ conditions:\n \n * Redistributions of source code must retain the above copyright\ + \ notice,\n this list of conditions and the following disclaimers.\n \n * Redistributions\ + \ in binary form must reproduce the above copyright notice,\n this list of conditions\ + \ and the following disclaimers in the\n documentation and/or other materials provided\ + \ with the distribution.\n \n * Neither the names of the LLVM Team, University of\ + \ Illinois at\n Urbana-Champaign, nor the names of its contributors may be used\ + \ to\n endorse or promote products derived from this Software without specific\n\ + \ prior written permission.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY\ + \ OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\ + \ FITNESS\n FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n CONTRIBUTORS\ + \ OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER\ + \ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE\n SOFTWARE." + - score: '100.0' + start_line: '194' + end_line: 210 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\n\ + \ of this software and associated documentation files (the \"Software\"), to deal\n in\ + \ the Software without restriction, including without limitation the rights\n to use,\ + \ copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software,\ + \ and to permit persons to whom the Software is\n furnished to do so, subject to the following\ + \ conditions:\n \n The above copyright notice and this permission notice shall be included\ + \ in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED\ + \ \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED\ + \ TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\ + \ IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES\ + \ OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\ + \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE." + - score: '82.2' + start_line: 213 + end_line: 234 + matcher: 3-seq + rule_length: '191' + matched_length: 157 + match_coverage: '82.2' + rule_relevance: 100 + identifier: mit_or_commercial-option.RULE + license_expression: mit OR commercial-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "licensed [under] [the] [following] [terms]:\n \n [libffi] - [Copyright]\ + \ ([c]) [1996]-[2003] [Red] [Hat], [Inc].\n \n Permission is hereby granted, free\ + \ of charge, to any person obtaining\n a copy of this software and associated documentation\ + \ files (the\n ``Software''), to deal in the Software without restriction, including\n\ + \ without limitation the rights to use, copy, modify, merge, publish,\n distribute,\ + \ sublicense, and/or sell copies of the Software, and to\n permit persons to whom\ + \ the Software is furnished to do so, subject to\n the following conditions:\n \n\ + \ The above copyright notice and this permission notice shall be included\n in\ + \ all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED\ + \ ``AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS\n OR IMPLIED, INCLUDING BUT NOT\ + \ LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE\ + \ AND NONINFRINGEMENT.\n IN NO EVENT SHALL [CYGNUS] [SOLUTIONS] BE LIABLE FOR ANY\ + \ CLAIM, DAMAGES OR\n OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n\ + \ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n OTHER\ + \ DEALINGS IN THE SOFTWARE." + - score: '100.0' + start_line: 237 + end_line: 239 + matcher: 2-aho + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.2_7.RULE + license_expression: gfdl-1.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The documentation is licensed under the GNU Free Documentation License (v1.2). + On Debian GNU/Linux systems, the complete text of this license is in + `/usr/share/common-licenses/GFDL-1.2'. + - score: '100.0' + start_line: 242 + end_line: 313 + matcher: 2-aho + rule_length: 512 + matched_length: 512 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gcc-exception-3.1.LICENSE + license_expression: gcc-exception-3.1 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "GCC RUNTIME LIBRARY EXCEPTION\n \n Version 3.1, 31 March 2009\n \n Copyright\ + \ (C) 2009 Free Software Foundation, Inc. \n \n Everyone is permitted\ + \ to copy and distribute verbatim copies of this\n license document, but changing it is\ + \ not allowed.\n \n This GCC Runtime Library Exception (\"Exception\") is an additional\n\ + \ permission under section 7 of the GNU General Public License, version\n 3 (\"GPLv3\"\ + ). It applies to a given file (the \"Runtime Library\") that\n bears a notice placed by\ + \ the copyright holder of the file stating that\n the file is governed by GPLv3 along\ + \ with this Exception.\n \n When you use GCC to compile a program, GCC may combine portions\ + \ of\n certain GCC header files and runtime libraries with the compiled\n program. The\ + \ purpose of this Exception is to allow compilation of\n non-GPL (including proprietary)\ + \ programs to use, in this way, the\n header files and runtime libraries covered by this\ + \ Exception.\n \n 0. Definitions.\n \n A file is an \"Independent Module\" if it either\ + \ requires the Runtime\n Library for execution after a Compilation Process, or makes use\ + \ of an\n interface provided by the Runtime Library, but is not otherwise based\n on the\ + \ Runtime Library.\n \n \"GCC\" means a version of the GNU Compiler Collection, with or\ + \ without\n modifications, governed by version 3 (or a specified later version) of\n the\ + \ GNU General Public License (GPL) with the option of using any\n subsequent versions\ + \ published by the FSF.\n \n \"GPL-compatible Software\" is software whose conditions\ + \ of propagation,\n modification and use would permit combination with GCC in accord with\n\ + \ the license of GCC.\n \n \"Target Code\" refers to output from any compiler for a real\ + \ or virtual\n target processor architecture, in executable form or suitable for\n input\ + \ to an assembler, loader, linker and/or execution\n phase. Notwithstanding that, Target\ + \ Code does not include data in any\n format that is used as a compiler intermediate representation,\ + \ or used\n for producing a compiler intermediate representation.\n \n The \"Compilation\ + \ Process\" transforms code entirely represented in\n non-intermediate languages designed\ + \ for human-written code, and/or in\n Java Virtual Machine byte code, into Target Code.\ + \ Thus, for example,\n use of source code generators and preprocessors need not be considered\n\ + \ part of the Compilation Process, since the Compilation Process can be\n understood as\ + \ starting with the output of the generators or\n preprocessors.\n \n A Compilation Process\ + \ is \"Eligible\" if it is done using GCC, alone or\n with other GPL-compatible software,\ + \ or if it is done without using any\n work based on GCC. For example, using non-GPL-compatible\ + \ Software to\n optimize any GCC intermediate representations would not qualify as an\n\ + \ Eligible Compilation Process.\n \n 1. Grant of Additional Permission.\n \n You have\ + \ permission to propagate a work of Target Code formed by\n combining the Runtime Library\ + \ with Independent Modules, even if such\n propagation would otherwise violate the terms\ + \ of GPLv3, provided that\n all Target Code was generated by Eligible Compilation Processes.\ + \ You\n may then convey such a combination under terms of your choice,\n consistent with\ + \ the licensing of the Independent Modules.\n \n 2. No Weakening of GCC Copyleft.\n \n\ + \ The availability of this Exception does not imply any general\n presumption that third-party\ + \ software is unaffected by the copyleft\n requirements of the license of GCC." + - score: '7.81' + start_line: 324 + end_line: 325 + matcher: 3-seq + rule_length: 64 + matched_length: 5 + match_coverage: '7.81' + rule_relevance: 100 + identifier: gpl-2.0_443.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU [Library] General Public + License + - score: '72.73' + start_line: 325 + end_line: 331 + matcher: 3-seq + rule_length: 77 + matched_length: 56 + match_coverage: '72.73' + rule_relevance: 100 + identifier: lgpl-2.0-plus_402.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "as published by the Free Software Foundation; either\n version 2 of the License,\ + \ or (at your option) any later version.\n \n [Libiberty] is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n\ + \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Library General\ + \ Public License for more details." + - score: '100.0' + start_line: 338 + end_line: 346 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '100.0' + start_line: 356 + end_line: 364 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '97.56' + start_line: 374 + end_line: 382 + matcher: 3-seq + rule_length: 82 + matched_length: 80 + match_coverage: '97.56' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Library is free software; you can redistribute it and/or\n modify it under\ + \ the terms of the GNU Lesser General Public\n License as published by the Free Software\ + \ Foundation; either\n version 2.1 of the License, or (at your option) any later version.\n\ + \ \n [The] [GNU] [C] Library is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '70.0' + start_line: 387 + end_line: 387 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public domain. + - score: '97.56' + start_line: 395 + end_line: 403 + matcher: 3-seq + rule_length: 82 + matched_length: 80 + match_coverage: '97.56' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Library is free software; you can redistribute it and/or\n modify it under\ + \ the terms of the GNU Lesser General Public\n License as published by the Free Software\ + \ Foundation; either\n version 2.1 of the License, or (at your option) any later version.\n\ + \ \n [The] [GNU] [C] Library is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '100.0' + start_line: 410 + end_line: 418 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details." + - score: '100.0' + start_line: 424 + end_line: 427 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Developed at SunPro, a Sun Microsystems, Inc. business. + * Permission to use, copy, modify, and distribute this + * software is freely granted, provided that this notice + * is preserved. + - score: '100.0' + start_line: 434 + end_line: 458 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_166.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions and\ + \ the following disclaimer.\n * Redistributions in binary form must reproduce the above\n\ + \ copyright notice, this list of conditions and the following disclaimer\n in the documentation\ + \ and/or other materials provided with the\n distribution.\n * Neither the name of\ + \ Google Inc. nor the names of its\n contributors may be used to endorse or promote products\ + \ derived from\n this software without specific prior written permission.\n \n THIS SOFTWARE\ + \ IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR\ + \ IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 473 + end_line: 480 + matcher: 2-aho + rule_length: 75 + matched_length: 75 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_812.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n it\ + \ under the terms of the GNU General Public License as published by\n the Free Software\ + \ Foundation; either version 2 of the License, or\n (at your option) any later version.\n\ + \ \n On Debian GNU/Linux systems, the complete text of the GNU General\n Public License\ + \ is in `/usr/share/common-licenses/GPL', version 2 of this\n license in `/usr/share/common-licenses/GPL-2'." + - score: '100.0' + start_line: 490 + end_line: 495 + matcher: 2-aho + rule_length: 46 + matched_length: 46 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0_2.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License for redistribution is by either the Artistic License or\n the GNU\ + \ General Public License (v1).\n \n On Debian GNU/Linux systems, the complete text of\ + \ the GNU General\n Public License is in `/usr/share/common-licenses/GPL', the Artistic\n\ + \ license in `/usr/share/common-licenses/Artistic'." + - score: '100.0' + start_line: 503 + end_line: 517 + matcher: 2-aho + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is provided 'as-is', without any express or implied\n warranty.\ + \ In no event will the authors be held liable for any damages\n arising from the use\ + \ of this software.\n \n Permission is granted to anyone to use this software for any\ + \ purpose,\n including commercial applications, and to alter it and redistribute it\n\ + \ freely, subject to the following restrictions:\n \n 1. The origin of this software\ + \ must not be misrepresented; you must not\n claim that you wrote the original software.\ + \ If you use this software\n in a product, an acknowledgment in the product documentation\ + \ would be\n appreciated but is not required.\n 2. Altered source versions must\ + \ be plainly marked as such, and must not be\n misrepresented as being the original\ + \ software.\n 3. This notice may not be removed or altered from any source distribution." + - score: '100.0' + start_line: 529 + end_line: 545 + matcher: 2-aho + rule_length: 138 + matched_length: 138 + match_coverage: '100.0' + rule_relevance: 100 + identifier: d-zlib.LICENSE + license_expression: d-zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is provided 'as-is', without any express or implied\n warranty.\ + \ In no event will the authors be held liable for any damages\n arising from the use of\ + \ this software.\n \n Permission is granted to anyone to use this software for any purpose,\n\ + \ including commercial applications, and to alter it and redistribute it\n freely, in\ + \ both source and binary form, subject to the following\n restrictions:\n \n o The origin\ + \ of this software must not be misrepresented; you must not\n claim that you wrote\ + \ the original software. If you use this software\n in a product, an acknowledgment\ + \ in the product documentation would be\n appreciated but is not required.\n o Altered\ + \ source versions must be plainly marked as such, and must not\n be misrepresented\ + \ as being the original software.\n o This notice may not be removed or altered from\ + \ any source\n distribution." + - score: '100.0' + start_line: 557 + end_line: 574 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a\n\ + \ copy of this software and associated documentation files\n (the \"Software\"),\ + \ to deal in the Software without restriction, including\n without limitation the rights\ + \ to use, copy, modify, merge, publish,\n distribute, sublicense, and/or sell copies\ + \ of the Software, and to\n permit persons to whom the Software is furnished to do\ + \ so, subject to\n the following conditions:\n \n The above copyright notice and\ + \ this permission notice shall be included\n in all copies or substantial portions\ + \ of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY\ + \ KIND, EXPRESS\n OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN ACTION OF CONTRACT, TORT OR\n OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\ + \ WITH THE SOFTWARE OR THE\n USE OR OTHER DEALINGS IN THE SOFTWARE." + - score: '100.0' + start_line: 581 + end_line: 598 + matcher: 2-aho + rule_length: 144 + matched_length: 144 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_gcc-exception-3.1_10.RULE + license_expression: gpl-3.0-plus WITH gcc-exception-3.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This file is free software; you can redistribute it and/or modify it\n \ + \ under the terms of the GNU General Public License as published by the\n Free Software\ + \ Foundation; either version 3, or (at your option) any\n later version.\n \n This\ + \ file is distributed in the hope that it will be useful, but\n WITHOUT ANY WARRANTY;\ + \ without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR\ + \ PURPOSE. See the GNU\n General Public License for more details.\n \n Under Section\ + \ 7 of GPL version 3, you are granted additional\n permissions described in the GCC\ + \ Runtime Library Exception, version\n 3.1, as published by the Free Software Foundation.\n\ + \ \n You should have received a copy of the GNU General Public License and\n a copy\ + \ of the GCC Runtime Library Exception along with this program;\n see the files COPYING3\ + \ and COPYING.RUNTIME respectively. If not, see\n ." + - score: '58.14' + start_line: 606 + end_line: 618 + matcher: 3-seq + rule_length: 129 + matched_length: 75 + match_coverage: '58.14' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_gcc-exception-3.1_14.RULE + license_expression: gpl-3.0-plus WITH gcc-exception-3.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify\n it under the terms\ + \ of the GNU General Public License as published by\n the Free Software Foundation; either\ + \ version 3, or (at your option)\n any later version.\n \n [GNU] [Modula]-[2] is distributed\ + \ in the hope that it will be useful, but\n WITHOUT ANY WARRANTY; without even the implied\ + \ warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n General\ + \ Public License for more details.\n \n [gcc]/[gm2]/**/*.[texi]:\n [Copyright] ([C]) [2000],\ + \ [2001], [2002], [2003], [2004], [2005], [2006], [2007], [2008], [2009], [2010],\n [2011],\ + \ [2012], [2012], [2013] Free Software Foundation," + - score: '100.0' + start_line: 620 + end_line: 623 + matcher: 2-aho + rule_length: 46 + matched_length: 46 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus_4.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.3 or + any later version published by the Free Software Foundation; with no + Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. + - score: '83.81' + start_line: 629 + end_line: 644 + matcher: 3-seq + rule_length: 105 + matched_length: 88 + match_coverage: '83.81' + rule_relevance: 100 + identifier: lgpl-2.1-plus_251.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\ + \ \n [gcc]/[gm2]/[ulm]-[lib]-[gm2]:\n [Copyright] ([C]) [2004], [2005], [2006], [2007],\ + \ [2008], [2009], [2010]\n [Free] [Software] [Foundation], [Inc].\n \n [GNU]\ + \ [Modula]-[2] [is] [free] [software]; [you] [can] [redistribute] [it] [and]/[or] [modify]\ + \ [it] [under]\n [the] [terms] of the GNU General Public License" + - score: '100.0' + start_line: 643 + end_line: 646 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_111.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation; either version 3, or (at your option) any later + version. + - score: '100.0' + start_line: 661 + end_line: 669 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details." + - score: '100.0' + start_line: 675 + end_line: 683 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details." + - score: '96.05' + start_line: 705 + end_line: 713 + matcher: 3-seq + rule_length: 76 + matched_length: 73 + match_coverage: '96.05' + rule_relevance: 100 + identifier: gpl-2.0-plus_287.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "GNU [Modula]-[2] is free software; you can redistribute it and/or modify\n\ + \ it under the terms of the GNU General Public License as published by\n the Free Software\ + \ Foundation; either version [3], or (at your option)\n any later version.\n \n GNU [Modula]-[2]\ + \ is distributed in the hope that it will be useful, but\n WITHOUT ANY WARRANTY; without\ + \ even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\ + \ See the GNU\n General Public License for more details." + - score: '97.3' + start_line: 728 + end_line: 736 + matcher: 3-seq + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_353.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify it under\n the terms\ + \ of the GNU General Public License as published by the Free\n Software Foundation; either\ + \ version 3, or (at your option) any later\n version.\n \n [GNU] [Modula]-[2] is distributed\ + \ in the hope that it will be useful, but WITHOUT ANY\n WARRANTY; without even the implied\ + \ warranty of MERCHANTABILITY or\n FITNESS FOR A PARTICULAR PURPOSE. See the GNU General\ + \ Public License\n for more details." + - score: '95.0' + start_line: 739 + end_line: 739 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 95 + identifier: gpl-3.0_and_lgpl-2.1_1.RULE + license_expression: gpl-3.0 AND lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This has a mix of licenses, both LGPL-2.1 and GPL-3.0, plus the apparently + - score: '100.0' + start_line: 757 + end_line: 765 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details." + - score: '25.0' + start_line: 764 + end_line: 769 + matcher: 3-seq + rule_length: 36 + matched_length: 9 + match_coverage: '25.0' + rule_relevance: 100 + identifier: lgpl-2.1_90.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "the GNU\n Lesser General Public License [for] [more] [details].\n \n [gcc]/[gm2]/[gm2]-[libs]-[iso]/*.[mod]:\n\ + \ \n [Copyright] ([C]) [2012] Free Software Foundation," + - score: '97.3' + start_line: 771 + end_line: 779 + matcher: 3-seq + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_353.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify it under\n the terms\ + \ of the GNU General Public License as published by the Free\n Software Foundation; either\ + \ version 3, or (at your option) any later\n version.\n \n [GNU] [Modula]-[2] is distributed\ + \ in the hope that it will be useful, but WITHOUT ANY\n WARRANTY; without even the implied\ + \ warranty of MERCHANTABILITY or\n FITNESS FOR A PARTICULAR PURPOSE. See the GNU General\ + \ Public License\n for more details." + - score: '100.0' + start_line: 785 + end_line: 793 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details." + - score: '50.0' + start_line: 797 + end_line: 797 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 50 + identifier: lgpl-3.0_AND_gpl-3.0_3.RULE + license_expression: lgpl-3.0 AND gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: mix of GPL-3.0 and LGPL-3.0 + - score: '55.0' + start_line: 801 + end_line: 801 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: gpl-3.0_and_lgpl-2.1_and_lgpl-3.0_1.RULE + license_expression: gpl-3.0 AND lgpl-2.1 AND lgpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: mix of GPL-3.0 and LGPL-2.1/3 + - score: '55.0' + start_line: 805 + end_line: 805 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: gpl-3.0_and_lgpl-2.1_and_lgpl-3.0_1.RULE + license_expression: gpl-3.0 AND lgpl-2.1 AND lgpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: mix of GPL-3.0 and LGPL-2.1/3 + - score: '50.0' + start_line: 809 + end_line: 809 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 50 + identifier: lgpl-2.0_and_gpl-3.0_1.RULE + license_expression: lgpl-2.0 AND gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of LGPL-2.1 and GPL-3.0. + - score: '100.0' + start_line: 812 + end_line: 812 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_89.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL-3+ + - score: '87.88' + start_line: 815 + end_line: 821 + matcher: 3-seq + rule_length: 66 + matched_length: 58 + match_coverage: '87.88' + rule_relevance: 100 + identifier: gpl-1.0-plus_447.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is granted permission to copy, modify and redistribute + ;; GNU Emacs, [but] [only] [under] [the] [conditions] [described] [in] [the] + ;; [GNU] [Emacs] General Public License. A copy of this license is + ;; supposed to have been given to you along with [GNU] [Emacs] so you + ;; can know your rights and responsibilities. It should be in a + ;; file named COPYING. Among other things, the copyright notice + ;; and this notice must be preserved on all copies. + - score: '7.81' + start_line: 816 + end_line: 817 + matcher: 3-seq + rule_length: 64 + matched_length: 5 + match_coverage: '7.81' + rule_relevance: 100 + identifier: gpl-2.0_443.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the + ;; GNU [Emacs] General Public License. + - score: '44.0' + start_line: 826 + end_line: 826 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 44 + identifier: gpl-3.0_and_lgpl-2.1_2.RULE + license_expression: gpl-3.0 AND lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of GPL-3 and LGPL-2.1. + - score: '38.0' + start_line: 830 + end_line: 830 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 38 + identifier: gpl-2.0-plus_and_gpl-3.0-plus_3.RULE + license_expression: gpl-2.0-plus AND gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of GPL-2+ and GPL-3+ + - score: '100.0' + start_line: 837 + end_line: 845 + matcher: 2-aho + rule_length: 82 + matched_length: 82 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_34.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Lesser General Public\n License as published by the Free\ + \ Software Foundation; either\n version 2.1 of the License, or (at your option) any later\ + \ version.\n \n This library is distributed in the hope that it will be useful,\n but\ + \ WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details." + - score: '25.0' + start_line: 844 + end_line: 848 + matcher: 3-seq + rule_length: 36 + matched_length: 9 + match_coverage: '25.0' + rule_relevance: 100 + identifier: lgpl-2.1_90.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "the GNU\n Lesser General Public License [for] [more] [details].\n \n [libgm2]/[libpim]/:\n\ + \ [Copyright] ([C]) [2005]-[2014] Free Software Foundation," + - score: '55.0' + start_line: 849 + end_line: 849 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: lgpl-2.1_and_lgpl-3.0_and_gpl-3.0_1.RULE + license_expression: lgpl-2.1 AND lgpl-3.0 AND gpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of LGPL-2.1, LGPL-3 and GPL-3. + - score: '44.0' + start_line: 853 + end_line: 853 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 44 + identifier: lgpl-2.1_and_lgpl-3.0_1.RULE + license_expression: lgpl-2.1 AND lgpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Mix of LGPL-2.1 and LGPL-3. + - score: '100.0' + start_line: 857 + end_line: 857 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPL-2.1+' + - score: '98.78' + start_line: 858 + end_line: 866 + matcher: 3-seq + rule_length: 81 + matched_length: 81 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_40.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2.[1] of the License, or (at your option) any later version. + . + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + - score: '97.3' + start_line: 872 + end_line: 880 + matcher: 3-seq + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_353.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify it under\n the terms\ + \ of the GNU General Public License as published by the Free\n Software Foundation; either\ + \ version 3, or (at your option) any later\n version.\n \n [GNU] [Modula]-[2] is distributed\ + \ in the hope that it will be useful, but WITHOUT ANY\n WARRANTY; without even the implied\ + \ warranty of MERCHANTABILITY or\n FITNESS FOR A PARTICULAR PURPOSE. See the GNU General\ + \ Public License\n for more details." + - score: '21.62' + start_line: 879 + end_line: 883 + matcher: 3-seq + rule_length: 37 + matched_length: 8 + match_coverage: '21.62' + rule_relevance: 100 + identifier: gpl-2.0-plus_409.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "the GNU General Public License\n [for] [more] [details].\n \n [libgm2]/[libcor]/:\n\ + \ [Copyright] ([C]) [2005]-[2019] Free Software Foundation," + - score: '97.3' + start_line: 886 + end_line: 894 + matcher: 3-seq + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_353.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify\n it under the terms\ + \ of the GNU General Public License as published by\n the Free Software Foundation; either\ + \ version 3, or (at your option)\n any later version.\n \n [GNU] [Modula]-[2] is distributed\ + \ in the hope that it will be useful, but\n WITHOUT ANY WARRANTY; without even the implied\ + \ warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n General\ + \ Public License for more details." + - score: '97.3' + start_line: 899 + end_line: 907 + matcher: 3-seq + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_353.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify it under\n the terms\ + \ of the GNU General Public License as published by the Free\n Software Foundation; either\ + \ version 3, or (at your option) any later\n version.\n \n [GNU] [Modula]-[2] is distributed\ + \ in the hope that it will be useful, but WITHOUT ANY\n WARRANTY; without even the implied\ + \ warranty of MERCHANTABILITY or\n FITNESS FOR A PARTICULAR PURPOSE. See the GNU General\ + \ Public License\n for more details." + - score: '96.05' + start_line: 913 + end_line: 921 + matcher: 3-seq + rule_length: 76 + matched_length: 73 + match_coverage: '96.05' + rule_relevance: 100 + identifier: gpl-2.0-plus_287.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "GNU [Modula]-[2] is free software; you can redistribute it and/or modify\n\ + \ it under the terms of the GNU General Public License as published by\n the Free Software\ + \ Foundation; either version [3], or (at your option)\n any later version.\n \n GNU [Modula]-[2]\ + \ is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without\ + \ even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\ + \ See the\n GNU General Public License for more details." + - score: '100.0' + start_line: 947 + end_line: 953 + matcher: 2-aho + rule_length: 66 + matched_length: 66 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_and_gpl-1.0-plus_2.RULE + license_expression: lgpl-2.0-plus AND gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Parts of this work are licensed under the terms of the GNU General\n Public\ + \ License. On Debian systems, the complete text of this license\n can be found in /usr/share/common-licenses/GPL.\n\ + \ \n Parts of this work are licensed under the terms of the GNU Library\n General Public\ + \ License. On Debian systems, the complete text of this\n license be found in /usr/share/common-licenses/LGPL." + - score: '100.0' + start_line: 962 + end_line: 972 + matcher: 2-aho + rule_length: 99 + matched_length: 99 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsla-no-advert.LICENSE + license_expression: bsla-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms are permitted\n provided\ + \ that the above copyright notice and this paragraph are\n duplicated in all such forms\ + \ and that any documentation,\n and other materials related to such distribution and use\ + \ \n acknowledge that the software was developed\n by the University of California, Berkeley.\ + \ The name of the\n University may not be used to endorse or promote products derived\n\ + \ from this software without specific prior written permission.\n THIS SOFTWARE IS PROVIDED\ + \ ``AS IS'' AND WITHOUT ANY EXPRESS OR\n IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION,\ + \ THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 979 + end_line: 989 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsla.LICENSE + license_expression: bsla + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted + provided that the above copyright notice and this paragraph are + duplicated in all such forms and that any documentation, + advertising materials, and other materials related to such + distribution and use acknowledge that the software was developed + by the University of California, Berkeley. The name of the + University may not be used to endorse or promote products derived + from this software without specific prior written permission. + THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 997 + end_line: 1023 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. All\ + \ advertising materials mentioning features or use of this software\n must display\ + \ the following acknowledgement:\n This product includes software developed by the\ + \ University of\n California, Berkeley and its contributors.\n 4. Neither the name\ + \ of the University nor the names of its contributors\n may be used to endorse or promote\ + \ products derived from this software\n without specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1030 + end_line: 1052 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. Neither\ + \ the name of the University nor the names of its contributors\n may be used to endorse\ + \ or promote products derived from this software\n without specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1064 + end_line: 1090 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. All\ + \ advertising materials mentioning features or use of this software\n must display\ + \ the following acknowledgement:\n This product includes software developed by the\ + \ University of\n California, Berkeley and its contributors.\n 4. Neither the name\ + \ of the University nor the names of its contributors\n may be used to endorse or promote\ + \ products derived from this software\n without specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1097 + end_line: 1109 + matcher: 2-aho + rule_length: 122 + matched_length: 122 + match_coverage: '100.0' + rule_relevance: 100 + identifier: flex-2.5_6.RULE + license_expression: flex-2.5 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms are permitted + provided that: (1) source distributions retain this entire copyright + notice and comment, and (2) distributions including binaries display + the following acknowledgement: ``This product includes software + developed by the University of California, Berkeley and its contributors'' + in the documentation or other materials provided with the distribution + and in all advertising materials mentioning features or use of this + software. Neither the name of the University nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + - score: '61.0' + start_line: 1117 + end_line: 1117 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 61 + identifier: bsd-original-uc.RULE + license_expression: bsd-original-uc + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change + - score: '100.0' + start_line: 1127 + end_line: 1129 + matcher: 2-aho + rule_length: 21 + matched_length: 21 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_and_gpl-2.0_and_lgpl-3.0-plus_and_other-copyleft_and_other-permissive_1.RULE + license_expression: gpl-3.0 AND gpl-2.0 AND lgpl-3.0-plus WITH cygwin-exception-lgpl-3.0-plus + AND other-copyleft AND other-permissive + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is a copyrighted work licensed under the terms of the + Cygwin license. Please consult the file "CYGWIN_LICENSE" for + details. + - score: '100.0' + start_line: 1137 + end_line: 1146 + matcher: 2-aho + rule_length: 93 + matched_length: 93 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-lucent.RULE + license_expression: x11-lucent + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for any\n purpose\ + \ without fee is hereby granted, provided that this entire notice\n is included in all\ + \ copies of any software which is or includes a copy\n or modification of this software\ + \ and in all copies of the supporting\n documentation for such software.\n \n THIS SOFTWARE\ + \ IS BEING PROVIDED \"AS IS\", WITHOUT ANY EXPRESS OR IMPLIED\n WARRANTY. IN PARTICULAR,\ + \ NEITHER THE AUTHOR NOR AT&T MAKES ANY\n REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING\ + \ THE MERCHANTABILITY\n OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE." + - score: '100.0' + start_line: 1152 + end_line: 1163 + matcher: 2-aho + rule_length: 98 + matched_length: 98 + match_coverage: '100.0' + rule_relevance: 100 + identifier: amd-historical_1.RULE + license_expression: amd-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is the property of Advanced Micro Devices, Inc (AMD) which\n\ + \ specifically grants the user the right to modify, use and distribute this\n software\ + \ provided this notice is not removed or altered. All other rights\n are reserved by\ + \ AMD.\n \n AMD MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS\n\ + \ SOFTWARE. IN NO EVENT SHALL AMD BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL\n DAMAGES\ + \ IN CONNECTION WITH OR ARISING FROM THE FURNISHING, PERFORMANCE, OR\n USE OF THIS SOFTWARE.\n\ + \ \n So that all may benefit from your experience, please report any problems\n or \ + \ suggestions about this software" + - score: '100.0' + start_line: 1191 + end_line: 1194 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Developed at SunPro, a Sun Microsystems, Inc. business.\n Permission to use,\ + \ copy, modify, and distribute this\n software is freely granted, provided that this notice\ + \ \n is preserved." + - score: '100.0' + start_line: 1200 + end_line: 1209 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: osf-1990_3.RULE + license_expression: osf-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To anyone who acknowledges that this file is provided "AS IS" + without any express or implied warranty: + permission to use, copy, modify, and distribute this file + for any purpose is hereby granted without fee, provided that + the above copyright notice and this notice appears in all + copies, and that the name of Hewlett-Packard Company not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + Hewlett-Packard Company makes no representations about the + suitability of this software for any purpose. + - score: '100.0' + start_line: 1215 + end_line: 1222 + matcher: 2-aho + rule_length: 55 + matched_length: 55 + match_coverage: '100.0' + rule_relevance: 100 + identifier: nilsson-historical.LICENSE + license_expression: nilsson-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software is\n freely\ + \ granted, provided that the above copyright notice, this notice\n and the following disclaimer\ + \ are preserved with no changes.\n \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT\ + \ ANY EXPRESS OR\n IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE." + - score: '100.0' + start_line: 1228 + end_line: 1236 + matcher: 2-aho + rule_length: 92 + matched_length: 92 + match_coverage: '100.0' + rule_relevance: 100 + identifier: newlib-historical.LICENSE + license_expression: newlib-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The authors hereby grant permission to use, copy, modify, distribute, + and license this software and its documentation for any purpose, provided + that existing copyright notices are retained in all copies and that this + notice is included verbatim in any distributions. No written agreement, + license, or royalty fee is required for any of the authorized uses. + Modifications to this software may be copyrighted by their authors + and need not follow the licensing terms described here, provided that + the new terms are clearly indicated on the first page of each file where + they apply. + - score: '100.0' + start_line: 1243 + end_line: 1263 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_98.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. The\ + \ name of the author may not be used to endorse or promote products\n derived from\ + \ this software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR\n IMPLIED WARRANTIES, INCLUDING, BUT NOT\ + \ LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\ + \ PURPOSE ARE DISCLAIMED.\n IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,\n\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\ + \ OF THE USE OF\n THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '95.0' + start_line: 1269 + end_line: 1280 + matcher: 2-aho + rule_length: 95 + matched_length: 95 + match_coverage: '100.0' + rule_relevance: 100 + identifier: amd-historical4.RULE + license_expression: amd-historical + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is the property of [SuperH], Inc ([SuperH]) which specifically\n\ + \ grants the user the right to modify, use and distribute this software\n provided this\ + \ notice is not removed or altered. All other rights are\n reserved by [SuperH].\n \n\ + \ [SUPERH] MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO\n THIS SOFTWARE.\ + \ IN NO EVENT SHALL [SUPERH] BE LIABLE FOR INDIRECT, SPECIAL, \n INCIDENTAL OR CONSEQUENTIAL\ + \ DAMAGES IN CONNECTION WITH OR ARISING FROM\n THE FURNISHING, PERFORMANCE, OR USE OF\ + \ THIS SOFTWARE.\n \n So that all may benefit from your experience, please report any\ + \ problems\n or suggestions about this software to the" + - score: '100.0' + start_line: 1295 + end_line: 1320 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_933.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n \n\ + \ 3. Neither the name of KTH nor the names of its contributors may be\n used to endorse\ + \ or promote products derived from this software without\n specific prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY KTH AND ITS CONTRIBUTORS ``AS IS'' AND ANY\n EXPRESS\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR\n PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL KTH OR ITS\ + \ CONTRIBUTORS BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n\ + \ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n SUBSTITUTE GOODS\ + \ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED\ + \ AND ON ANY THEORY OF LIABILITY,\n WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR\n OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF\n ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 1327 + end_line: 1346 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1353 + end_line: 1372 + matcher: 2-aho + rule_length: 181 + matched_length: 181 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_newlib3.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND\n ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS\ + \ BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n OR SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY\ + \ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1379 + end_line: 1398 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '85.71' + start_line: 1402 + end_line: 1415 + matcher: 3-seq + rule_length: 105 + matched_length: 90 + match_coverage: '85.71' + rule_relevance: 100 + identifier: x11-hanson_1.RULE + license_expression: x11-hanson + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Author: S. [L]. [Moshier].\n \n [Copyright] ([c]) [1984],[2000] S.[L]. [Moshier]\n\ + \ \n Permission to use, copy, modify, and distribute this software for any\n purpose without\ + \ fee is hereby granted, provided that this entire notice\n is included in all copies\ + \ of any software which is or includes a copy\n or modification of this software and in\ + \ all copies of the supporting\n documentation for such software.\n \n THIS SOFTWARE IS\ + \ BEING PROVIDED \"AS IS\", WITHOUT ANY EXPRESS OR IMPLIED\n WARRANTY. IN PARTICULAR,\ + \ THE AUTHOR MAKES NO REPRESENTATION\n OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY\ + \ OF THIS\n SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE." + - score: '100.0' + start_line: 1422 + end_line: 1441 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1448 + end_line: 1468 + matcher: 2-aho + rule_length: 200 + matched_length: 200 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_76.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. The\ + \ name of the author may not be used to endorse or promote products\n derived from\ + \ this software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,\n INCLUDING, BUT NOT LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\ + \ IN NO EVENT SHALL\n THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\n\ + \ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n PROCUREMENT OF\ + \ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\n OR BUSINESS INTERRUPTION)\ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\n WHETHER IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR\n OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\ + \ SOFTWARE, EVEN IF\n ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '27.0' + start_line: 1482 + end_line: 1482 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 27 + identifier: lgpl_39.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Free Software Foundation LGPL License (*- + - score: '100.0' + start_line: 1489 + end_line: 1502 + matcher: 2-aho + rule_length: 123 + matched_length: 123 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_12.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The GNU C Library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n The GNU C Library is distributed in the hope that it will\ + \ be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n \ + \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ Lesser General Public\n License along with the GNU C Library; if not, write to the\ + \ Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301\ + \ USA" + - score: '99.0' + start_line: 1504 + end_line: 1504 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 99 + identifier: lgpl_33.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL License ( + - score: '100.0' + start_line: 1508 + end_line: 1516 + matcher: 2-aho + rule_length: 81 + matched_length: 81 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_339.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or\n modify it\ + \ under the terms of the GNU Library General Public License\n as published by the Free\ + \ Software Foundation; either version 2\n of the License, or (at your option) any later\ + \ version.\n \n This program is distributed\ + \ in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied\ + \ warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU Library\ + \ General Public License for more details." + - score: '100.0' + start_line: 1522 + end_line: 1544 + matcher: 2-aho + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: intel-osl-1993.LICENSE + license_expression: intel-osl-1993 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Intel hereby grants you permission to copy, modify, and distribute this\n\ + \ software and its documentation. Intel grants this permission provided\n that the above\ + \ copyright notice appears in all copies and that both the\n copyright notice and this\ + \ permission notice appear in supporting\n documentation. In addition, Intel grants this\ + \ permission provided that\n you prominently mark as \"not part of the original\" any\ + \ modifications\n made to this software or documentation, and that the name of Intel\n\ + \ Corporation not be used in advertising or publicity pertaining to\n distribution of\ + \ the software or the documentation without specific,\n written prior permission.\n \n\ + \ Intel Corporation provides this AS IS, WITHOUT ANY WARRANTY, EXPRESS OR\n IMPLIED, INCLUDING,\ + \ WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY\n OR FITNESS FOR A PARTICULAR PURPOSE.\ + \ Intel makes no guarantee or\n representations regarding the use of, or the results\ + \ of the use of,\n the software and documentation in terms of correctness, accuracy,\n\ + \ reliability, currentness, or otherwise; and you rely on the software,\n documentation\ + \ and results solely at your own risk.\n \n IN NO EVENT SHALL INTEL BE LIABLE FOR ANY\ + \ LOSS OF USE, LOSS OF BUSINESS,\n LOSS OF PROFITS, INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL\ + \ DAMAGES\n OF ANY KIND. IN NO EVENT SHALL INTEL'S TOTAL LIABILITY EXCEED THE SUM\n PAID\ + \ TO INTEL FOR THE PRODUCT LICENSED HEREUNDER." + - score: '100.0' + start_line: 1550 + end_line: 1559 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: osf-1990_3.RULE + license_expression: osf-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To anyone who acknowledges that this file is provided "AS IS" + without any express or implied warranty: + permission to use, copy, modify, and distribute this file + for any purpose is hereby granted without fee, provided that + the above copyright notice and this notice appears in all + copies, and that the name of Hewlett-Packard Company not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + Hewlett-Packard Company makes no representations about the + suitability of this software for any purpose. + - score: '100.0' + start_line: 1564 + end_line: 1582 + matcher: 2-aho + rule_length: 147 + matched_length: 147 + match_coverage: '100.0' + rule_relevance: 100 + identifier: hs-regexp.LICENSE + license_expression: hs-regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is not subject to any license of the American Telephone\n and\ + \ Telegraph Company or of the Regents of the University of California.\n \n Permission\ + \ is granted to anyone to use this software for any purpose on\n any computer system,\ + \ and to alter it and redistribute it, subject\n to the following restrictions:\n \n 1.\ + \ The author is not responsible for the consequences of use of this\n software, no\ + \ matter how awful, even if they arise from flaws in it.\n \n 2. The origin of this software\ + \ must not be misrepresented, either by\n explicit claim or by omission. Since few\ + \ users ever read sources,\n credits must appear in the documentation.\n \n 3. Altered\ + \ versions must be plainly marked as such, and must not be\n misrepresented as being\ + \ the original software. Since few users\n ever read sources, credits must appear\ + \ in the documentation.\n \n 4. This notice may not be removed or altered." + - score: '100.0' + start_line: 1589 + end_line: 1608 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1615 + end_line: 1634 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1643 + end_line: 1662 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1674 + end_line: 1697 + matcher: 2-aho + rule_length: 205 + matched_length: 205 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_983.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without \n modification,\ + \ are permitted provided that the following conditions are met: \n \n Redistributions\ + \ of source code must retain the above copyright \n notice, this list of conditions\ + \ and the following disclaimer.\n \n Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n\ + \ \n The name of Red Hat Incorporated may not be used to endorse \n or promote\ + \ products derived from this software without specific \n prior written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" \n\ + \ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE \n IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED.\ + \ IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY\n DIRECT, INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\ + \ OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\ + \ HOWEVER CAUSED AND \n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n\ + \ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gpgv/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gpgv/copyright-detailed.expected.yml index 098256d7b99..5836e023ddb 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gpgv/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gpgv/copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - GPL-3+ +primary_license: gpl-3.0-plus AND gpl-1.0-plus AND gpl-3.0 +declared_license: + - GPL-3+ - GPL-3+ - permissive - permissive @@ -21,16 +23,16 @@ - BSD-3-clause - Expat - CC0-1.0 -- (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 AND gpl-3.0) - AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 AND gpl-3.0) - AND fsf-unlimited-no-warranty AND fsf-unlimited-no-warranty AND (lgpl-2.1-plus AND lgpl-3.0-plus) - AND mit AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 AND - gpl-3.0) AND ((gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 - AND gpl-3.0) OR bsd-new) AND (lgpl-3.0-plus AND lgpl-3.0-plus AND lgpl-3.0 AND lgpl-3.0) AND - (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 AND gpl-3.0) - AND ietf AND bsd-new AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus - AND gpl-3.0 AND gpl-3.0) AND (cc0-1.0 AND cc0-1.0 AND artistic-2.0) -- | +license_expression: (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 + AND gpl-3.0) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 + AND gpl-3.0) AND fsf-unlimited-no-warranty AND fsf-unlimited-no-warranty AND (lgpl-2.1-plus + AND lgpl-3.0-plus) AND mit AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus + AND gpl-3.0 AND gpl-3.0) AND ((gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus + AND gpl-3.0 AND gpl-3.0) OR bsd-new) AND (lgpl-3.0-plus AND lgpl-3.0-plus AND lgpl-3.0 AND + lgpl-3.0) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 + AND gpl-3.0) AND ietf AND bsd-new AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND + gpl-1.0-plus AND gpl-3.0 AND gpl-3.0) AND (cc0-1.0 AND cc0-1.0) +copyright: | 1992, 1995-2020, Free Software Foundation, Inc 1998-2007, 2009, 2012, Free Software Foundation, Inc 2013, Werner Koch @@ -54,3 +56,448 @@ Daniel Kahn Gillmor NIIBE Yutaka 2017 Daniel Kahn Gillmor +matches: + - score: '99.05' + start_line: 1 + end_line: 26 + matcher: 1-hash + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_594.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + Neither the name of [Dimitrios] [Souflis] nor the names of the + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; as a special exception the author gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + + This file is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY, to the extent permitted by law; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. + - score: '90.0' + start_line: 6 + end_line: 21 + matcher: 2-aho + rule_length: 149 + matched_length: 149 + match_coverage: '100.0' + rule_relevance: 90 + identifier: ietf_7.RULE + license_expression: ietf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This document and translations of it may be copied and furnished to + others, and derivative works that comment on or otherwise explain it + or assist in its implementation may be prepared, copied, published + and distributed, in whole or in part, without restriction of any + kind, provided that the above copyright notice and this paragraph + are included on all such copies and derivative works. However, this + document itself may not be modified in any way, such as by removing + the copyright notice or references to the Internet Society or other + Internet organizations, except as needed for the purpose of + developing Internet standards in which case the procedures for + copyrights defined in the Internet Standards process must be + followed, or as required to translate it into languages other than + English. + + The limited permissions granted above are perpetual and will not be + revoked by the Internet Society or its successors or assigns. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_98.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + - score: '100.0' + start_line: 6 + end_line: 9 + matcher: 2-aho + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_421.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_36.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; if not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 3 + - score: '33.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_162.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 3 of + the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this program; if not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0_51.RULE + license_expression: lgpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Lesser General Public + License version 3 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0_41.RULE + license_expression: lgpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '88.97' + start_line: 1 + end_line: 16 + matcher: 3-seq + rule_length: 136 + matched_length: 121 + match_coverage: '88.97' + rule_relevance: 100 + identifier: lgpl-3.0-plus_96.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version [2].[1] of + the License, or (at your option) any later version. + + This [program] is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this [program]; [if] [not], [see] <[https]://www.gnu.org/licenses/>. + + On Debian systems, the full text of the GNU Lesser General Public + License version [2].[1] can be found in the file + `/usr/share/common-licenses/LGPL- + - score: '100.0' + start_line: 1 + end_line: 24 + matcher: 1-hash + rule_length: 205 + matched_length: 205 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_910.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, and the entire permission notice in its entirety, + including the disclaimer of warranties. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the author may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to permit + persons to whom the Software is furnished to do so, subject to the + following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN + NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE + USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 1-hash + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_131.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To the extent possible under law, the author(s) have dedicated all + copyright and related and neighboring rights to this software to the public + domain worldwide. This software is distributed without any warranty. + + On Debian systems, the complete text of the CC0 license, version 1.0, + can be found in /usr/share/common-licenses/CC0-1.0. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gpgv/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gpgv/copyright.expected.yml index b0811bdb3e7..cdb333ba220 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gpgv/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gpgv/copyright.expected.yml @@ -1,4 +1,6 @@ -- - GPL-3+ +primary_license: gpl-3.0-plus AND gpl-1.0-plus AND gpl-3.0 +declared_license: + - GPL-3+ - permissive - LGPL-2.1+ - Expat @@ -8,12 +10,10 @@ - TinySCHEME - CC0-1.0 - BSD-3-clause -- (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 AND gpl-3.0) - AND fsf-unlimited-no-warranty AND (lgpl-2.1-plus AND lgpl-3.0-plus) AND mit AND ((gpl-3.0-plus - AND gpl-3.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-3.0 AND gpl-3.0) OR bsd-new) AND - (lgpl-3.0-plus AND lgpl-3.0-plus AND lgpl-3.0 AND lgpl-3.0) AND ietf AND bsd-new AND (cc0-1.0 - AND cc0-1.0 AND artistic-2.0) -- | +license_expression: (gpl-3.0-plus AND gpl-1.0-plus AND gpl-3.0) AND fsf-unlimited-no-warranty + AND (lgpl-2.1-plus AND lgpl-3.0-plus) AND mit AND ((gpl-3.0-plus AND gpl-1.0-plus AND gpl-3.0) + OR bsd-new) AND (lgpl-3.0-plus AND lgpl-3.0) AND ietf AND bsd-new AND cc0-1.0 +copyright: | 1992, 1995-2020, Free Software Foundation, Inc 1998-2007, 2009, 2012, Free Software Foundation, Inc 2013, Werner Koch @@ -33,3 +33,448 @@ 2000, Dimitrios Souflis 2016, Justus Winter, Werner Koch 2017 Daniel Kahn Gillmor +matches: + - score: '99.05' + start_line: 1 + end_line: 26 + matcher: 1-hash + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_594.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + Neither the name of [Dimitrios] [Souflis] nor the names of the + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; as a special exception the author gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + + This file is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY, to the extent permitted by law; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. + - score: '90.0' + start_line: 6 + end_line: 21 + matcher: 2-aho + rule_length: 149 + matched_length: 149 + match_coverage: '100.0' + rule_relevance: 90 + identifier: ietf_7.RULE + license_expression: ietf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This document and translations of it may be copied and furnished to + others, and derivative works that comment on or otherwise explain it + or assist in its implementation may be prepared, copied, published + and distributed, in whole or in part, without restriction of any + kind, provided that the above copyright notice and this paragraph + are included on all such copies and derivative works. However, this + document itself may not be modified in any way, such as by removing + the copyright notice or references to the Internet Society or other + Internet organizations, except as needed for the purpose of + developing Internet standards in which case the procedures for + copyrights defined in the Internet Standards process must be + followed, or as required to translate it into languages other than + English. + + The limited permissions granted above are perpetual and will not be + revoked by the Internet Society or its successors or assigns. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_98.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + - score: '100.0' + start_line: 6 + end_line: 9 + matcher: 2-aho + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_421.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_36.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program; if not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 3 + - score: '33.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_162.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 3 of + the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this program; if not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0_51.RULE + license_expression: lgpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Lesser General Public + License version 3 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0_41.RULE + license_expression: lgpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '88.97' + start_line: 1 + end_line: 16 + matcher: 3-seq + rule_length: 136 + matched_length: 121 + match_coverage: '88.97' + rule_relevance: 100 + identifier: lgpl-3.0-plus_96.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version [2].[1] of + the License, or (at your option) any later version. + + This [program] is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this [program]; [if] [not], [see] <[https]://www.gnu.org/licenses/>. + + On Debian systems, the full text of the GNU Lesser General Public + License version [2].[1] can be found in the file + `/usr/share/common-licenses/LGPL- + - score: '100.0' + start_line: 1 + end_line: 24 + matcher: 1-hash + rule_length: 205 + matched_length: 205 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_910.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, and the entire permission notice in its entirety, + including the disclaimer of warranties. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the author may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to permit + persons to whom the Software is furnished to do so, subject to the + following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN + NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE + USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 1-hash + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_131.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To the extent possible under law, the author(s) have dedicated all + copyright and related and neighboring rights to this software to the public + domain worldwide. This software is distributed without any warranty. + + On Debian systems, the complete text of the CC0 license, version 1.0, + can be found in /usr/share/common-licenses/CC0-1.0. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/grep/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/grep/copyright-detailed.expected.yml index 4e0976c0f6d..33282aaa429 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/grep/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/grep/copyright-detailed.expected.yml @@ -1,8 +1,11 @@ -- - GPL-3+ +primary_license: gpl-3.0-plus AND gpl-3.0 +declared_license: - GPL-3+ - GPL-3+ -- (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus) -- | + - GPL-3+ +license_expression: (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND (gpl-3.0-plus AND gpl-3.0-plus + AND gpl-3.0) +copyright: | 1992, 1997-2002, 2004-2012 Free Software Foundation, Inc. 2004, Stepan Kasal 2007, Tony Abou-Assaleh @@ -13,3 +16,68 @@ 2003, Clint Adams Mon, 10 Mar 2003 02:10:32 -0500 2001 Robert van der Meulen 1996-2000 Wichert Akkerman +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 4 + end_line: 17 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_4.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. + - score: '94.0' + start_line: 21 + end_line: 22 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 94 + identifier: gpl-3.0_393.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On a Debian system you can find a copy of this license in + /usr/share/common-licenses/GPL-3. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/grep/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/grep/copyright.expected.yml index e205f900848..a8766ac80ff 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/grep/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/grep/copyright.expected.yml @@ -1,7 +1,74 @@ -- - GPL-3+ -- gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus -- | +primary_license: gpl-3.0-plus AND gpl-3.0 +declared_license: + - GPL-3+ +license_expression: gpl-3.0-plus AND gpl-3.0 +copyright: | 1992, 1997-2002, 2004-2012 Free Software Foundation, Inc. 2004, Stepan Kasal 2007, Tony Abou-Assaleh 2009-2012, Jim Meyering and Paolo Bonzini +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 4 + end_line: 17 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_4.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. + - score: '94.0' + start_line: 21 + end_line: 22 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 94 + identifier: gpl-3.0_393.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On a Debian system you can find a copy of this license in + /usr/share/common-licenses/GPL-3. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gzip/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gzip/copyright-detailed.expected.yml index 4d53e3207e4..d0849c029f7 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gzip/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gzip/copyright-detailed.expected.yml @@ -1,13 +1,15 @@ -- - GPL-3+ +primary_license: gpl-3.0-plus AND gpl-1.0-plus +declared_license: + - GPL-3+ - GPL-3+ - GFDL-1.3+-no-invariant - FSF-manpages - GPL-3+ - GFDL-1.3+-no-invariant - FSF-manpages -- (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus) - AND gfdl-1.2-plus AND latex2e -- | +license_expression: (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus) AND (gpl-3.0-plus AND gpl-3.0-plus + AND gpl-1.0-plus) AND gfdl-1.2-plus AND latex2e +copyright: | 1999-2016 Free Software Foundation, Inc. 1992-1993 Jean-loup Gailly and Mark Adler 1995-2017 Bdale Garbee @@ -15,3 +17,124 @@ 1992-1993 Jean-loup Gailly 1998-2016 Free Software Foundation, Inc. 1992-1993 Jean-loup Gailly +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 99 + matched_length: 99 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_8.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_10.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL- + - score: '80.72' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 83 + matched_length: 67 + match_coverage: '80.72' + rule_relevance: 100 + identifier: gfdl-1.2-plus_11.RULE + license_expression: gfdl-1.2-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.[3] or + any later version published by the Free Software Foundation; with no + Invariant Sections, with no Front-Cover Texts, and with no Back-Cover + Texts. + + [On] [Debian] GNU/[Linux] systems, the complete text of the GNU Free Documentation + License can be found in `/usr/share/common-licenses/GFDL- + - score: '85.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 138 + matched_length: 138 + match_coverage: '100.0' + rule_relevance: 85 + identifier: latex2e_8.RULE + license_expression: latex2e + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to make and distribute verbatim copies of + this manual provided the copyright notice and this permission notice + are preserved on all copies. + + Permission is granted to process this file through troff and print the + results, provided the printed document carries copying permission + notice identical to this one except for the removal of this paragraph + (this paragraph not being relevant to the printed manual). + + Permission is granted to copy and distribute modified versions of this + manual under the conditions for verbatim copying, provided that the entire + resulting derived work is distributed under the terms of a permission + notice identical to this one. + + Permission is granted to copy and distribute translations of this manual + into another language, under the above conditions for modified versions, + except that this permission notice may be stated in a translation approved + by the Foundation. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gzip/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gzip/copyright.expected.yml index 3c200c174ba..2643e65f31c 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gzip/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/gzip/copyright.expected.yml @@ -1,10 +1,133 @@ -- - GPL-3+ +primary_license: gpl-3.0-plus AND gpl-1.0-plus +declared_license: + - GPL-3+ - GFDL-1.3+-no-invariant - FSF-manpages -- (gpl-3.0-plus AND gpl-3.0-plus AND gpl-1.0-plus) AND gfdl-1.2-plus AND latex2e -- | +license_expression: (gpl-3.0-plus AND gpl-1.0-plus) AND gfdl-1.2-plus AND latex2e +copyright: | 1999-2016 Free Software Foundation, Inc. 1992-1993 Jean-loup Gailly and Mark Adler 1999-2016 Free Software Foundation, Inc. http://fsf.org/ 1992-1993 Jean-loup Gailly 1998-2016 Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 99 + matched_length: 99 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_8.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_10.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL- + - score: '80.72' + start_line: 1 + end_line: 8 + matcher: 3-seq + rule_length: 83 + matched_length: 67 + match_coverage: '80.72' + rule_relevance: 100 + identifier: gfdl-1.2-plus_11.RULE + license_expression: gfdl-1.2-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.[3] or + any later version published by the Free Software Foundation; with no + Invariant Sections, with no Front-Cover Texts, and with no Back-Cover + Texts. + + [On] [Debian] GNU/[Linux] systems, the complete text of the GNU Free Documentation + License can be found in `/usr/share/common-licenses/GFDL- + - score: '85.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 138 + matched_length: 138 + match_coverage: '100.0' + rule_relevance: 85 + identifier: latex2e_8.RULE + license_expression: latex2e + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to make and distribute verbatim copies of + this manual provided the copyright notice and this permission notice + are preserved on all copies. + + Permission is granted to process this file through troff and print the + results, provided the printed document carries copying permission + notice identical to this one except for the removal of this paragraph + (this paragraph not being relevant to the printed manual). + + Permission is granted to copy and distribute modified versions of this + manual under the conditions for verbatim copying, provided that the entire + resulting derived work is distributed under the terms of a permission + notice identical to this one. + + Permission is granted to copy and distribute translations of this manual + into another language, under the above conditions for modified versions, + except that this permission notice may be stated in a translation approved + by the Foundation. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/hostname/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/hostname/copyright-detailed.expected.yml index 24fad8345c5..3420deed34a 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/hostname/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/hostname/copyright-detailed.expected.yml @@ -1,8 +1,35 @@ -- -- gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0 +copyright: | Copyright (c) 2009 Michael Meskes Copyright (c) 2004-2005 Graham Wilson Copyright (c) 1997 Bernd Eckenfels Copyright (c) 1997 Peter Tobias Copyright (c) 1996 Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 12 + end_line: 26 + matcher: 2-aho + rule_length: 128 + matched_length: 128 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1033.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \t\ + it under the terms of the GNU General Public License as published by\n \tthe Free Software\ + \ Foundation; version 2 of the License.\n \n \tThis program is distributed in the hope\ + \ that it will be useful,\n \tbut WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n \tMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n \tGNU General\ + \ Public License for more details.\n \n \tYou should have received a copy of the GNU General\ + \ Public License\n \talong with this program; if not, write to the Free Software\n \t\ + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n \n On Debian\ + \ systems, the complete text of the GNU General Public License\n can be found in /usr/share/common-licenses/GPL-2\ + \ file." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/hostname/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/hostname/copyright.expected.yml index 24fad8345c5..3420deed34a 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/hostname/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/hostname/copyright.expected.yml @@ -1,8 +1,35 @@ -- -- gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0 +copyright: | Copyright (c) 2009 Michael Meskes Copyright (c) 2004-2005 Graham Wilson Copyright (c) 1997 Bernd Eckenfels Copyright (c) 1997 Peter Tobias Copyright (c) 1996 Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 12 + end_line: 26 + matcher: 2-aho + rule_length: 128 + matched_length: 128 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1033.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \t\ + it under the terms of the GNU General Public License as published by\n \tthe Free Software\ + \ Foundation; version 2 of the License.\n \n \tThis program is distributed in the hope\ + \ that it will be useful,\n \tbut WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n \tMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n \tGNU General\ + \ Public License for more details.\n \n \tYou should have received a copy of the GNU General\ + \ Public License\n \talong with this program; if not, write to the Free Software\n \t\ + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n \n On Debian\ + \ systems, the complete text of the GNU General Public License\n can be found in /usr/share/common-licenses/GPL-2\ + \ file." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/init-system-helpers/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/init-system-helpers/copyright-detailed.expected.yml index 5757af9aa9e..1da44bfe215 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/init-system-helpers/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/init-system-helpers/copyright-detailed.expected.yml @@ -1,13 +1,15 @@ -- - BSD-3-clause +primary_license: bsd-new +declared_license: + - BSD-3-clause - BSD-3-clause - GPL-2+ - GPL-2+ - GPL-2+ - GPL-2+ - BSD-3-clause -- bsd-new AND bsd-new AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) - AND (gpl-2.0-plus AND gpl-2.0-plus) -- | +license_expression: bsd-new AND bsd-new AND (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus + AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) +copyright: | 2013 Michael Stapelberg 2013 Michael Stapelberg 2006 Red Hat, Inc @@ -15,3 +17,92 @@ 2000,2001 Henrique de Moraes Holschuh 1997-2005 Miquel van Smoorenburg Members of the pkg-sysvinit project +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 134 + matched_length: 134 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_737.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in ‘/usr/share/common-licenses/GPL-2’. + - score: '97.5' + start_line: 4 + end_line: 27 + matcher: 3-seq + rule_length: 200 + matched_length: '195' + match_coverage: '97.5' + rule_relevance: 100 + identifier: bsd-new_238.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + * Neither the name of [Michael] [Stapelberg] [nor] [the] + [names] [of] contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY [Michael] [Stapelberg] ''AS IS'' AND ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL [Michael] [Stapelberg] BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/init-system-helpers/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/init-system-helpers/copyright.expected.yml index e2acea03563..2be2a308d67 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/init-system-helpers/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/init-system-helpers/copyright.expected.yml @@ -1,10 +1,101 @@ -- - BSD-3-clause +primary_license: bsd-new +declared_license: + - BSD-3-clause - GPL-2+ -- bsd-new AND (gpl-2.0-plus AND gpl-2.0-plus) -- | +license_expression: bsd-new AND gpl-2.0-plus +copyright: | 2013 Michael Stapelberg 2006 Red Hat, Inc 2008 Canonical Ltd 2000,2001 Henrique de Moraes Holschuh 1997-2005 Miquel van Smoorenburg Members of the pkg-sysvinit project +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 134 + matched_length: 134 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_737.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in ‘/usr/share/common-licenses/GPL-2’. + - score: '97.5' + start_line: 4 + end_line: 27 + matcher: 3-seq + rule_length: 200 + matched_length: '195' + match_coverage: '97.5' + rule_relevance: 100 + identifier: bsd-new_238.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + * Neither the name of [Michael] [Stapelberg] [nor] [the] + [names] [of] contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY [Michael] [Stapelberg] ''AS IS'' AND ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL [Michael] [Stapelberg] BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libacl1/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libacl1/copyright-detailed.expected.yml index e6edab6d8a6..0a3ecc97a0b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libacl1/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libacl1/copyright-detailed.expected.yml @@ -1,9 +1,247 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - LGPL-2+ -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (lgpl-2.0-plus - AND lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.1) -- | +license_expression: (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-2.0) + AND (gpl-1.0-plus AND gpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.1-plus AND + lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1) +copyright: | Copyright © 2000-2008 Silicon Graphics, Inc. Copyright © 1999-2001,2007-2009 Andreas Gruenbacher Copyright © 2001-2002 Silicon Graphics, Inc. Copyright © 1999-2003,2007,2009,2011 Andreas Gruenbacher +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 94 + matched_length: 94 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_286.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_36.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '99.05' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 105 + matched_length: 104 + match_coverage: '99.05' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2.[1] of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see <[https]://www.gnu.org/licenses/>. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Lesser General Public License + - score: '61.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 61 + identifier: lgpl-2.1_292.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: can be found in '/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Lesser General Public License + - score: '61.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 61 + identifier: lgpl-2.1_292.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: can be found in '/usr/share/common-licenses/LGPL-2.1'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libacl1/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libacl1/copyright.expected.yml index e6edab6d8a6..98d5c96bb7a 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libacl1/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libacl1/copyright.expected.yml @@ -1,9 +1,246 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - LGPL-2+ -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (lgpl-2.0-plus - AND lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.1) -- | +license_expression: (gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-1.0-plus AND gpl-2.0) + AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1) +copyright: | Copyright © 2000-2008 Silicon Graphics, Inc. Copyright © 1999-2001,2007-2009 Andreas Gruenbacher Copyright © 2001-2002 Silicon Graphics, Inc. Copyright © 1999-2003,2007,2009,2011 Andreas Gruenbacher +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 94 + matched_length: 94 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_286.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_36.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '99.05' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 105 + matched_length: 104 + match_coverage: '99.05' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2.[1] of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see <[https]://www.gnu.org/licenses/>. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Lesser General Public License + - score: '61.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 61 + identifier: lgpl-2.1_292.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: can be found in '/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Lesser General Public License + - score: '61.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 61 + identifier: lgpl-2.1_292.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: can be found in '/usr/share/common-licenses/LGPL-2.1'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libapt-pkg6.0/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libapt-pkg6.0/copyright-detailed.expected.yml index 2b8d1b7cf76..2eecb2802ad 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libapt-pkg6.0/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libapt-pkg6.0/copyright-detailed.expected.yml @@ -1,3 +1,47 @@ -- -- gpl-2.0-plus -- copyright 1997, 1998, 1999 Jason Gunthorpe and others +primary_license: +declared_license: +license_expression: gpl-2.0-plus AND gpl-2.0-plus +copyright: copyright 1997, 1998, 1999 Jason Gunthorpe and others +matches: + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_374.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv2+' + - score: '100.0' + start_line: 6 + end_line: 22 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_736.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation; either version 2 of the License, or\n (at your option) any\ + \ later version.\n \n This program is distributed in the hope that it will be useful,\n\ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program; if not, write to the Free Software\n Foundation, Inc.,\ + \ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.\n \n See /usr/share/common-licenses/GPL-2,\ + \ or\n for the terms of the latest version\n of\ + \ the GNU General Public License." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libapt-pkg6.0/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libapt-pkg6.0/copyright.expected.yml index 2b8d1b7cf76..1fbbb02b3b3 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libapt-pkg6.0/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libapt-pkg6.0/copyright.expected.yml @@ -1,3 +1,47 @@ -- -- gpl-2.0-plus -- copyright 1997, 1998, 1999 Jason Gunthorpe and others +primary_license: +declared_license: +license_expression: gpl-2.0-plus +copyright: copyright 1997, 1998, 1999 Jason Gunthorpe and others +matches: + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_374.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv2+' + - score: '100.0' + start_line: 6 + end_line: 22 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_736.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation; either version 2 of the License, or\n (at your option) any\ + \ later version.\n \n This program is distributed in the hope that it will be useful,\n\ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more\ + \ details.\n \n You should have received a copy of the GNU General Public License\n\ + \ along with this program; if not, write to the Free Software\n Foundation, Inc.,\ + \ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.\n \n See /usr/share/common-licenses/GPL-2,\ + \ or\n for the terms of the latest version\n of\ + \ the GNU General Public License." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libattr1/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libattr1/copyright-detailed.expected.yml index a3d77fba2b3..5b28e670deb 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libattr1/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libattr1/copyright-detailed.expected.yml @@ -1,9 +1,247 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - LGPL-2+ -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (lgpl-2.0-plus - AND lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.1) -- | +license_expression: (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-2.0) + AND (gpl-1.0-plus AND gpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.1-plus AND + lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1) +copyright: | Copyright © 2000-2007 Silicon Graphics, Inc. Copyright © 2001-2003,2006-2007,2009 Andreas Gruenbacher Copyright © 2001-2005 Silicon Graphics, Inc. Copyright © 2002,2003,2006-2007,2009 Andreas Gruenbacher +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 94 + matched_length: 94 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_286.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_36.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '99.05' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 105 + matched_length: 104 + match_coverage: '99.05' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2.[1] of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see <[https]://www.gnu.org/licenses/>. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Lesser General Public License + - score: '61.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 61 + identifier: lgpl-2.1_292.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: can be found in '/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Lesser General Public License + - score: '61.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 61 + identifier: lgpl-2.1_292.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: can be found in '/usr/share/common-licenses/LGPL-2.1'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libattr1/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libattr1/copyright.expected.yml index a3d77fba2b3..eb9da64c5ba 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libattr1/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libattr1/copyright.expected.yml @@ -1,9 +1,246 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - LGPL-2+ -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (lgpl-2.0-plus - AND lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.1) -- | +license_expression: (gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (gpl-1.0-plus AND gpl-2.0) + AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1) +copyright: | Copyright © 2000-2007 Silicon Graphics, Inc. Copyright © 2001-2003,2006-2007,2009 Andreas Gruenbacher Copyright © 2001-2005 Silicon Graphics, Inc. Copyright © 2002,2003,2006-2007,2009 Andreas Gruenbacher +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 94 + matched_length: 94 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_286.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_36.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '99.05' + start_line: 1 + end_line: 12 + matcher: 3-seq + rule_length: 105 + matched_length: 104 + match_coverage: '99.05' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2.[1] of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see <[https]://www.gnu.org/licenses/>. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Lesser General Public License + - score: '61.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 61 + identifier: lgpl-2.1_292.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: can be found in '/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Lesser General Public License + - score: '61.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 61 + identifier: lgpl-2.1_292.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: can be found in '/usr/share/common-licenses/LGPL-2.1'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libaudit-common/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libaudit-common/copyright-detailed.expected.yml index 13b92f65474..98c9ccefa32 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libaudit-common/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libaudit-common/copyright-detailed.expected.yml @@ -1,14 +1,128 @@ -- - GPL-2 +primary_license: gpl-2.0 +declared_license: + - GPL-2 - GPL-2 - LGPL-2.1 - GPL-2 - GPL-2 -- (gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0) AND (lgpl-2.1 AND lgpl-2.0-plus AND lgpl-2.1 - AND lgpl-2.1-plus) AND (gpl-2.0 AND gpl-2.0) -- | +license_expression: (gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0) AND (lgpl-2.1 AND lgpl-2.0-plus + AND lgpl-2.1 AND lgpl-2.1-plus) AND (gpl-2.0 AND gpl-2.0) +copyright: | 2012-2016 Steve Grubb 2006-2012 Rik Faith 2007-2009 Marc Alexamder Lehmann 2005-2008 Steve Grubb 2007-2011 Philipp Matthias Hahn 2012-2016 Laurent Bigonville +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_189.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: released under LGPL + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_82.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-2.1 + - score: '100.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Lesser General Public License. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 124 + matched_length: 124 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1031.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2, + as published by the Free Software Foundation. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-1'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libaudit-common/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libaudit-common/copyright.expected.yml index 5b8d2d038ab..92200853b8b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libaudit-common/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libaudit-common/copyright.expected.yml @@ -1,8 +1,122 @@ -- - GPL-2 +primary_license: gpl-2.0 +declared_license: + - GPL-2 - LGPL-2.1 -- (gpl-2.0 AND gpl-2.0) AND (lgpl-2.1 AND lgpl-2.0-plus AND lgpl-2.1 AND lgpl-2.1-plus) -- | +license_expression: gpl-2.0 AND (lgpl-2.1 AND lgpl-2.0-plus AND lgpl-2.1-plus) +copyright: | 2012-2016 Steve Grubb 2006-2012 Rik Faith 2007-2009 Marc Alexamder Lehmann 2005-2008 Steve Grubb +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_189.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: released under LGPL + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_82.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-2.1 + - score: '100.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU Lesser General Public License. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 124 + matched_length: 124 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1031.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2, + as published by the Free Software Foundation. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-1'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libblkid1/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libblkid1/copyright-detailed.expected.yml index 9bc35e81ba5..3da8450c864 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libblkid1/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libblkid1/copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2 - GPL-2 - GPL-2 @@ -42,23 +44,20 @@ - LGPL-2.1+ - LGPL-3+ - MIT -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 - AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND - gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 - AND gpl-2.0 AND gpl-2.0) AND public-domain AND bsd-original-uc AND mit AND mit AND bsd-no-disclaimer - AND bsd-no-disclaimer AND bsd-no-disclaimer AND bsd-new AND bsd-new AND (lgpl-2.0-plus AND - lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0-plus - AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus - AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 - AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (gpl-3.0-plus - AND gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) - AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND - lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0) AND (lgpl-2.0-plus - AND lgpl-2.1-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) - AND (lgpl-3.0-plus AND lgpl-3.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND - lgpl-2.1) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND - gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) -- | +license_expression: (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND + gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 + AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND public-domain AND bsd-original-uc + AND mit AND mit AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new AND bsd-new + AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND + lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.1-plus AND + lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.0-plus + AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND + (lgpl-3.0-plus AND lgpl-3.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (gpl-2.0-plus + AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) +copyright: | Michal Luscon 1986 Gary S. Brown 1990 Gordon Irlam (gordoni@cs.ua.oz.au) @@ -251,3 +250,576 @@ Veeven Vikram Vincent Yoppy Hidayanto +matches: + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_28.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No copyright is claimed. This code is in the public domain; do with + it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_264.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_405.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1) Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2) Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + 3) Neither the name of the [ORGANIZATION] nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: lgpl-2.1-plus_268.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be redistributed under the terms of the + GNU Lesser General Public License. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in ‘/usr/share/common-licenses/LGPL’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '97.69' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 127 + match_coverage: '97.69' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libblkid1/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libblkid1/copyright.expected.yml index 11099084090..4fa8dffb131 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libblkid1/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libblkid1/copyright.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2 - public-domain - BSD-4-clause @@ -10,12 +12,10 @@ - GPL-3+ - LGPL - LGPL-3+ -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 - AND gpl-2.0) AND public-domain AND bsd-original-uc AND mit AND bsd-no-disclaimer AND bsd-new - AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND - lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND - (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0) AND (lgpl-3.0-plus AND lgpl-3.0-plus) -- | +license_expression: (gpl-2.0-plus AND gpl-2.0) AND gpl-2.0 AND public-domain AND bsd-original-uc + AND mit AND bsd-simplified AND bsd-new AND (lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus + AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.0-plus AND lgpl-2.1-plus) AND lgpl-3.0-plus +copyright: | Michal Luscon 1986 Gary S. Brown 1990 Gordon Irlam (gordoni@cs.ua.oz.au) @@ -108,7 +108,6 @@ 2013 Eric Sandeen 2013 Rolf Fokkens 2013 Zeeshan Ali (Khattak) - *unknown* 2001 Andreas Dilger 2008-2012 Karel Zak 2013, Red Hat, Inc. @@ -196,3 +195,576 @@ Veeven Vikram Vincent Yoppy Hidayanto +matches: + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_28.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No copyright is claimed. This code is in the public domain; do with + it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_264.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_405.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1) Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2) Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + 3) Neither the name of the [ORGANIZATION] nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: lgpl-2.1-plus_268.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be redistributed under the terms of the + GNU Lesser General Public License. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in ‘/usr/share/common-licenses/LGPL’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '97.69' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 127 + match_coverage: '97.69' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libbz2-1.0/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libbz2-1.0/copyright-detailed.expected.yml index 385da2862d2..63fa91faaa8 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libbz2-1.0/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libbz2-1.0/copyright-detailed.expected.yml @@ -1,7 +1,9 @@ -- - BSD-variant +primary_license: bzip2-libbzip-2010 +declared_license: + - BSD-variant - GPL-2 -- bzip2-libbzip-2010 AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) -- | +license_expression: bzip2-libbzip-2010 AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) +copyright: | 1996-2010 Julian R Seward 2018 Nicolas Boulenguez 2012-2015 Santiago Ruano Rincón @@ -9,3 +11,98 @@ 2004-2011 Anibal Monsalve Salazar 1999-2002 Philippe Troin 1997-1999 Anthony Fok +matches: + - score: '100.0' + start_line: 1 + end_line: 30 + matcher: 1-hash + rule_length: 233 + matched_length: 233 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bzip2-libbzip-2010.LICENSE + license_expression: bzip2-libbzip-2010 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. The origin of this software must not be misrepresented; you must + not claim that you wrote the original software. If you use this + software in a product, an acknowledgment in the product + documentation would be appreciated but is not required. + + 3. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + + 4. The name of the author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License version 2 + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libbz2-1.0/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libbz2-1.0/copyright.expected.yml index 8a58d3fa829..b595fd1d818 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libbz2-1.0/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libbz2-1.0/copyright.expected.yml @@ -1,3 +1,100 @@ -- - BSD-variant -- bzip2-libbzip-2010 -- '1996-2010 Julian R Seward ' +primary_license: bzip2-libbzip-2010 +declared_license: + - BSD-variant +license_expression: bzip2-libbzip-2010 +copyright: '1996-2010 Julian R Seward ' +matches: + - score: '100.0' + start_line: 1 + end_line: 30 + matcher: 1-hash + rule_length: 233 + matched_length: 233 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bzip2-libbzip-2010.LICENSE + license_expression: bzip2-libbzip-2010 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. The origin of this software must not be misrepresented; you must + not claim that you wrote the original software. If you use this + software in a product, an acknowledgment in the product + documentation would be appreciated but is not required. + + 3. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + + 4. The name of the author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License version 2 + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc-bin/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc-bin/copyright-detailed.expected.yml index 858e6bb39d1..bc1fa56bcd5 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc-bin/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc-bin/copyright-detailed.expected.yml @@ -1,8 +1,10 @@ -- -- lgpl-2.1-plus AND gpl-2.0-plus AND bsd-new AND unknown-license-reference AND historical AND - isc AND carnegie-mellon-contributors AND inner-net-2.0 AND lgpl-2.0-plus AND other-permissive - AND ietf AND hs-regexp AND pcre AND sunpro -- | +primary_license: +declared_license: +license_expression: lgpl-2.1-plus AND gpl-2.0-plus AND bsd-new AND bsd-new AND historical AND + isc AND bsd-new AND carnegie-mellon-contributors AND bsd-new AND bsd-new AND bsd-new AND inner-net-2.0 + AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.0-plus AND other-permissive AND ietf AND bsd-new + AND other-permissive AND hs-regexp AND pcre AND sunpro AND other-permissive AND lgpl-2.1-plus +copyright: | Copyright (c) 1991-2015 Free Software Foundation, Inc. Copyright (c) 1991-2015 Free Software Foundation, Inc. Copyright (c) 1991 Regents of the University of California @@ -32,3 +34,648 @@ (c) Copyright C E Chew copyright Stephen L. Moshier Copyright 2001 by Stephen L. Moshier +matches: + - score: '100.0' + start_line: 10 + end_line: 26 + matcher: 2-aho + rule_length: 147 + matched_length: 147 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The GNU C Library is free software; you can redistribute it and/or\n \ + \ modify it under the terms of the GNU Lesser General Public\n License as published\ + \ by the Free Software Foundation; either\n version 2.1 of the License, or (at your\ + \ option) any later version.\n \n The GNU C Library is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser\ + \ General Public License for more details.\n \n You should have received a copy of\ + \ the GNU Lesser General Public\n License along with the GNU C Library; if not, write\ + \ to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n\ + \ 02110-1301 USA\n \n On Debian systems, the complete text of the GNU Library\n\ + \ General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'." + - score: '95.0' + start_line: 33 + end_line: 48 + matcher: 2-aho + rule_length: 135 + matched_length: 135 + match_coverage: '100.0' + rule_relevance: 95 + identifier: gpl-2.0-plus_15.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published\n by the Free\ + \ Software Foundation; version 2 of the License, or\n (at your option) any later version.\n\ + \ \n This program is distributed in the hope that it will be useful,\n but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n\ + \ \n You should have received a copy of the GNU General Public License\n along\ + \ with this program; if not, write to the Free Software Foundation,\n Inc., 51 Franklin\ + \ St, Fifth Floor, Boston, MA 02110-1301 USA.\n \n On Debian systems, the complete text\ + \ of the GNU Library\n General Public License can be found in `/usr/share/common-licenses/GPL-2'." + - score: '100.0' + start_line: 50 + end_line: 51 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_24.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + All code incorporated from 4.4 BSD is distributed under the following + license: + - score: '100.0' + start_line: 56 + end_line: 80 + matcher: 2-aho + rule_length: 218 + matched_length: 218 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_57.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n\ + \ 3. [This condition was removed.]\n 4. Neither the name of the University nor the\ + \ names of its contributors\n may be used to endorse or promote products derived\ + \ from this software\n without specific prior written permission.\n \n THIS SOFTWARE\ + \ IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 88 + end_line: 102 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: historical_10.RULE + license_expression: historical + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for any\n \ + \ purpose with or without fee is hereby granted, provided that the above\n copyright\ + \ notice and this permission notice appear in all copies, and\n that the name of Digital\ + \ Equipment Corporation not be used in\n advertising or publicity pertaining to distribution\ + \ of the document or\n software without specific, written prior permission.\n \n \ + \ THE SOFTWARE IS PROVIDED ``AS IS'' AND DIGITAL EQUIPMENT CORP.\n DISCLAIMS ALL\ + \ WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS. IN NO EVENT SHALL\n DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY\ + \ SPECIAL, DIRECT,\n INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER\ + \ RESULTING\n FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,\n\ + \ NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION\n WITH\ + \ THE USE OR PERFORMANCE OF THIS SOFTWARE." + - score: '100.0' + start_line: 108 + end_line: 119 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_9.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for any\n \ + \ purpose with or without fee is hereby granted, provided that the above\n copyright\ + \ notice and this permission notice appear in all copies.\n \n THE SOFTWARE IS PROVIDED\ + \ \"AS IS\" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS\n ALL WARRANTIES WITH REGARD\ + \ TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS.\ + \ IN NO EVENT SHALL INTERNET SOFTWARE\n CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,\ + \ INDIRECT, OR CONSEQUENTIAL\n DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS\ + \ OF USE, DATA OR\n PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER\ + \ TORTIOUS\n ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF\ + \ THIS\n SOFTWARE." + - score: '100.0' + start_line: 126 + end_line: 151 + matcher: 2-aho + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_591.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n \ + \ modification, are permitted provided that the following conditions are\n met:\n\ + \ \n * Redistributions of source code must retain the above copyright\n \ + \ notice, this list of conditions and the following disclaimer.\n * Redistributions\ + \ in binary form must reproduce the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer in the documentation and/or other materials\n\ + \ provided with the distribution.\n * Neither the name of the \"Oracle\ + \ America, Inc.\" nor the names of its\n contributors may be used to endorse\ + \ or promote products derived\n from this software without specific prior written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED\ + \ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\ + \ FOR ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\n GOODS\ + \ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY,\n WHETHER IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT (INCLUDING\n NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 153 + end_line: 179 + matcher: 2-aho + rule_length: 159 + matched_length: 159 + match_coverage: '100.0' + rule_relevance: 100 + identifier: carnegie-mellon-contributors_3.RULE + license_expression: carnegie-mellon-contributors + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The following CMU license covers some of the support code for Mach,\n derived\ + \ from Mach 3.0:\n \n Mach Operating System\n Copyright (C) 1991,1990,1989 Carnegie\ + \ Mellon University\n All Rights Reserved.\n \n Permission to use, copy, modify\ + \ and distribute this software and its\n documentation is hereby granted, provided\ + \ that both the copyright\n notice and this permission notice appear in all copies\ + \ of the\n software, derivative works or modified versions, and any portions\n \ + \ thereof, and that both notices appear in supporting documentation.\n \n CARNEGIE\ + \ MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS ``AS IS''\n CONDITION. CARNEGIE\ + \ MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR\n ANY DAMAGES WHATSOEVER RESULTING\ + \ FROM THE USE OF THIS SOFTWARE.\n \n Carnegie Mellon requests users of this software\ + \ to return to\n \n Software Distribution Coordinator\n School of Computer Science\n\ + \ Carnegie Mellon University\n Pittsburgh PA 15213-3890\n \n or Software.Distribution@CS.CMU.EDU\ + \ any improvements or\n extensions that they make and grant Carnegie Mellon the rights\ + \ to\n redistribute these changes." + - score: '100.0' + start_line: 181 + end_line: 206 + matcher: 2-aho + rule_length: 219 + matched_length: 219 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_592.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "under the following CMU license:\n \n Redistribution and use in source\ + \ and binary forms, with or without\n modification, are permitted provided that the\ + \ following conditions\n are met:\n 1. Redistributions of source code must retain\ + \ the above copyright\n notice, this list of conditions and the following disclaimer.\n\ + \ 2. Redistributions in binary form must reproduce the above copyright\n \ + \ notice, this list of conditions and the following disclaimer in the\n documentation\ + \ and/or other materials provided with the distribution.\n 3. Neither the name of\ + \ the University nor the names of its contributors\n may be used to endorse or\ + \ promote products derived from this software\n without specific prior written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY AND\n\ + \ CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,\n INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR\ + \ A PARTICULAR PURPOSE ARE DISCLAIMED.\n IN NO EVENT SHALL THE UNIVERSITY OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY\n DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\n GOODS\ + \ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER\n IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR\n OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\ + \ OF THIS SOFTWARE, EVEN\n IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 208 + end_line: 211 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_593.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The following license covers the files from Intel's \"Highly Optimized\n\ + \ Mathematical Functions for Itanium\" collection:\n \n Intel License Agreement" + - score: '100.0' + start_line: 217 + end_line: 242 + matcher: 2-aho + rule_length: 204 + matched_length: 204 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-intel_2.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n \ + \ modification, are permitted provided that the following conditions are\n met:\n\ + \ \n * Redistributions of source code must retain the above copyright\n notice,\ + \ this list of conditions and the following disclaimer.\n \n * Redistributions in\ + \ binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n \n * The name of Intel Corporation may not be used to endorse\ + \ or promote\n products derived from this software without specific prior written\n\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED\ + \ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n A PARTICULAR PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL INTEL OR\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT, INCIDENTAL, SPECIAL,\n EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\ + \ BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\ + \ DATA, OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n\ + \ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 245 + end_line: 280 + matcher: 2-aho + rule_length: 309 + matched_length: 309 + match_coverage: '100.0' + rule_relevance: 100 + identifier: inner-net-2.0_2.RULE + license_expression: inner-net-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "distributed under the following license:\n \n /* The Inner Net License,\ + \ Version 2.00\n \n The author(s) grant permission for redistribution and use in\ + \ source and\n binary forms, with or without modification, of the software and documentation\n\ + \ provided that the following conditions are met:\n \n 0. If you receive a version\ + \ of the software that is specifically labelled\n as not being for redistribution\ + \ (check the version message and/or README),\n you are not permitted to redistribute\ + \ that version of the software in any\n way or form.\n 1. All terms of the\ + \ all other applicable copyrights and licenses must be\n followed.\n 2. Redistributions\ + \ of source code must retain the authors' copyright\n notice(s), this list of conditions,\ + \ and the following disclaimer.\n 3. Redistributions in binary form must reproduce\ + \ the authors' copyright\n notice(s), this list of conditions, and the following\ + \ disclaimer in the\n documentation and/or other materials provided with the distribution.\n\ + \ 4. [The copyright holder has authorized the removal of this clause.]\n 5. Neither\ + \ the name(s) of the author(s) nor the names of its contributors\n may be used\ + \ to endorse or promote products derived from this software\n without specific\ + \ prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY ITS AUTHORS AND CONTRIBUTORS\ + \ ``AS IS'' AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\ + \ THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY\n\ + \ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n \ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n \ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\n \ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n \n If these license terms cause\ + \ you a real problem, contact the author. */" + - score: '100.0' + start_line: 286 + end_line: 289 + matcher: 2-aho + rule_length: 48 + matched_length: 48 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_177.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is distributed under the terms of the GNU Lesser General + Public License, version 2.1 or later - see the file COPYING.LIB for details. + If you did not receive a copy of the license with this program, please + see to obtain a copy. + - score: '91.96' + start_line: 296 + end_line: 309 + matcher: 3-seq + rule_length: 112 + matched_length: 103 + match_coverage: '91.96' + rule_relevance: 100 + identifier: lgpl-2.1-plus_56.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "GNU [Libidn].\n \n [GNU] [Libidn] is free software; you can redistribute\ + \ it and/or\n modify it under the terms of the GNU Lesser General Public\n License\ + \ as published by the Free Software Foundation; either\n version 2.1 of the License,\ + \ or (at your option) any later version.\n \n GNU [Libidn] is distributed in the hope\ + \ that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser\ + \ General Public License for more details.\n \n You should have received a copy of\ + \ the GNU Lesser General Public\n License along with GNU [Libidn]; if not, see ." + - score: '100.0' + start_line: 314 + end_line: 314 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_218.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: all licensed under LGPL + - score: '93.55' + start_line: 324 + end_line: 332 + matcher: 3-seq + rule_length: 93 + matched_length: 87 + match_coverage: '93.55' + rule_relevance: 100 + identifier: other-permissive_punycode_1.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Disclaimer and license: Regarding this entire document or any + portion of it (including the pseudocode and C code), the author + makes no guarantees and is not responsible for any damage resulting + from its use. The author grants irrevocable permission to anyone + to use, modify, and distribute it in any way that does not diminish + the rights of anyone else to use, modify, and distribute it, + provided that redistributed derivative works do not contain + misleading author or version information. Derivative works need + not be licensed under similar terms. + - score: '100.0' + start_line: 336 + end_line: 358 + matcher: 2-aho + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ietf.LICENSE + license_expression: ietf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This document and translations of it may be copied and furnished to\n \ + \ others, and derivative works that comment on or otherwise explain it\n or assist\ + \ in its implementation may be prepared, copied, published\n and distributed, in whole\ + \ or in part, without restriction of any\n kind, provided that the above copyright\ + \ notice and this paragraph are\n included on all such copies and derivative works.\ + \ However, this\n document itself may not be modified in any way, such as by removing\n\ + \ the copyright notice or references to the Internet Society or other\n Internet\ + \ organizations, except as needed for the purpose of\n developing Internet standards\ + \ in which case the procedures for\n copyrights defined in the Internet Standards\ + \ process must be\n followed, or as required to translate it into languages other\ + \ than\n English.\n \n The limited permissions granted above are perpetual and\ + \ will not be\n revoked by the Internet Society or its successors or assigns.\n \n\ + \ This document and the information contained herein is provided on an\n \"AS\ + \ IS\" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING\n TASK FORCE DISCLAIMS\ + \ ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING\n BUT NOT LIMITED TO ANY WARRANTY\ + \ THAT THE USE OF THE INFORMATION\n HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED\ + \ WARRANTIES OF\n MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 365 + end_line: 387 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_66.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n \ + \ modification, are permitted provided that the following conditions\n are met:\n\ + \ 1. Redistributions of source code must retain the above copyright\n notice,\ + \ this list of conditions and the following disclaimer.\n 2. Redistributions in binary\ + \ form must reproduce the above copyright\n notice, this list of conditions and\ + \ the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. Neither the name of the project nor the names of its\ + \ contributors\n may be used to endorse or promote products derived from this software\n\ + \ without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS\ + \ BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n OR\ + \ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED\ + \ AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS\ + \ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 395 + end_line: 409 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_144.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software and its\n \ + \ documentation for any purpose and without fee is hereby granted,\n provided that\ + \ the above copyright notice appear in all copies and that\n both that copyright notice\ + \ and this permission notice appear in\n supporting documentation, and that the name\ + \ of the copyright holder not be\n used in advertising or publicity pertaining to\ + \ distribution of the\n software without specific, written prior permission.\n \n\ + \ Tom Lord DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,\n INCLUDING\ + \ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO\n EVENT SHALL TOM LORD\ + \ BE LIABLE FOR ANY SPECIAL, INDIRECT OR\n CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER\ + \ RESULTING FROM LOSS OF\n USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,\ + \ NEGLIGENCE OR\n OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE\ + \ USE OR\n PERFORMANCE OF THIS SOFTWARE." + - score: '100.0' + start_line: 414 + end_line: 432 + matcher: 2-aho + rule_length: 147 + matched_length: 147 + match_coverage: '100.0' + rule_relevance: 100 + identifier: hs-regexp.LICENSE + license_expression: hs-regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is not subject to any license of the American Telephone\n \ + \ and Telegraph Company or of the Regents of the University of California.\n \n \ + \ Permission is granted to anyone to use this software for any purpose on\n any computer\ + \ system, and to alter it and redistribute it, subject\n to the following restrictions:\n\ + \ \n 1. The author is not responsible for the consequences of use of this\n \ + \ software, no matter how awful, even if they arise from flaws in it.\n \n 2. The\ + \ origin of this software must not be misrepresented, either by\n explicit claim\ + \ or by omission. Since few users ever read sources,\n credits must appear in\ + \ the documentation.\n \n 3. Altered versions must be plainly marked as such, and\ + \ must not be\n misrepresented as being the original software. Since few users\n\ + \ ever read sources, credits must appear in the documentation.\n \n 4. This\ + \ notice may not be removed or altered." + - score: '95.0' + start_line: 438 + end_line: 473 + matcher: 2-aho + rule_length: 271 + matched_length: 271 + match_coverage: '100.0' + rule_relevance: 95 + identifier: pcre_2.RULE + license_expression: pcre + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to anyone to use this software for any purpose on any\n\ + \ computer system, and to redistribute it freely, subject to the following\n restrictions:\n\ + \ \n 1. This software is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE.\n \n 2. The origin of this software must not\ + \ be misrepresented, either by\n explicit claim or by omission. In practice, this\ + \ means that if you use\n PCRE in software that you distribute to others, commercially\ + \ or\n otherwise, you must put a sentence like this\n \n Regular expression\ + \ support is provided by the PCRE library package,\n which is open source software,\ + \ written by Philip Hazel, and copyright\n by the University of Cambridge, England.\n\ + \ \n somewhere reasonably visible in your documentation and in any relevant\n \ + \ files or online help data or similar. A reference to the ftp site for\n \ + \ the source, that is, to\n \n ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/\n\ + \ \n should also be given in the documentation. However, this condition is not\n\ + \ intended to apply to whole chains of software. If package A includes PCRE,\n\ + \ it must acknowledge it, but if package B is software that includes package\n\ + \ A, the condition is not imposed on package B (unless it uses PCRE\n independently).\n\ + \ \n 3. Altered versions must be plainly marked as such, and must not be\n \ + \ misrepresented as being the original software.\n \n 4. If PCRE is embedded in any\ + \ software that is released under the GNU\n General Purpose Licence (GPL), or Lesser\ + \ General Purpose Licence (LGPL),\n then the terms of that licence shall supersede\ + \ any condition above with\n which it is incompatible." + - score: '100.0' + start_line: 479 + end_line: 482 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Developed at SunPro, a Sun Microsystems, Inc. business. + Permission to use, copy, modify, and distribute this + software is freely granted, provided that this notice + is preserved. + - score: '100.0' + start_line: 488 + end_line: 491 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_145.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Feel free to copy, use and distribute this software provided:\n \n \ + \ 1. you do not pretend that you wrote it\n 2. you leave this copyright notice\ + \ intact." + - score: '100.0' + start_line: 497 + end_line: 509 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_36.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n \ + \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ Lesser General Public\n License along with this library; if not, see\n .\ + \ */" diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc-bin/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc-bin/copyright.expected.yml index 858e6bb39d1..ece0973723b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc-bin/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc-bin/copyright.expected.yml @@ -1,8 +1,9 @@ -- -- lgpl-2.1-plus AND gpl-2.0-plus AND bsd-new AND unknown-license-reference AND historical AND - isc AND carnegie-mellon-contributors AND inner-net-2.0 AND lgpl-2.0-plus AND other-permissive - AND ietf AND hs-regexp AND pcre AND sunpro -- | +primary_license: +declared_license: +license_expression: lgpl-2.1-plus AND gpl-2.0-plus AND bsd-new AND historical AND isc AND carnegie-mellon-contributors + AND inner-net-2.0 AND lgpl-2.0-plus AND other-permissive AND ietf AND hs-regexp AND pcre AND + sunpro +copyright: | Copyright (c) 1991-2015 Free Software Foundation, Inc. Copyright (c) 1991-2015 Free Software Foundation, Inc. Copyright (c) 1991 Regents of the University of California @@ -32,3 +33,648 @@ (c) Copyright C E Chew copyright Stephen L. Moshier Copyright 2001 by Stephen L. Moshier +matches: + - score: '100.0' + start_line: 10 + end_line: 26 + matcher: 2-aho + rule_length: 147 + matched_length: 147 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The GNU C Library is free software; you can redistribute it and/or\n \ + \ modify it under the terms of the GNU Lesser General Public\n License as published\ + \ by the Free Software Foundation; either\n version 2.1 of the License, or (at your\ + \ option) any later version.\n \n The GNU C Library is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser\ + \ General Public License for more details.\n \n You should have received a copy of\ + \ the GNU Lesser General Public\n License along with the GNU C Library; if not, write\ + \ to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n\ + \ 02110-1301 USA\n \n On Debian systems, the complete text of the GNU Library\n\ + \ General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'." + - score: '95.0' + start_line: 33 + end_line: 48 + matcher: 2-aho + rule_length: 135 + matched_length: 135 + match_coverage: '100.0' + rule_relevance: 95 + identifier: gpl-2.0-plus_15.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published\n by the Free\ + \ Software Foundation; version 2 of the License, or\n (at your option) any later version.\n\ + \ \n This program is distributed in the hope that it will be useful,\n but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n\ + \ \n You should have received a copy of the GNU General Public License\n along\ + \ with this program; if not, write to the Free Software Foundation,\n Inc., 51 Franklin\ + \ St, Fifth Floor, Boston, MA 02110-1301 USA.\n \n On Debian systems, the complete text\ + \ of the GNU Library\n General Public License can be found in `/usr/share/common-licenses/GPL-2'." + - score: '100.0' + start_line: 50 + end_line: 51 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_24.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + All code incorporated from 4.4 BSD is distributed under the following + license: + - score: '100.0' + start_line: 56 + end_line: 80 + matcher: 2-aho + rule_length: 218 + matched_length: 218 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_57.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n\ + \ 3. [This condition was removed.]\n 4. Neither the name of the University nor the\ + \ names of its contributors\n may be used to endorse or promote products derived\ + \ from this software\n without specific prior written permission.\n \n THIS SOFTWARE\ + \ IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 88 + end_line: 102 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: historical_10.RULE + license_expression: historical + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for any\n \ + \ purpose with or without fee is hereby granted, provided that the above\n copyright\ + \ notice and this permission notice appear in all copies, and\n that the name of Digital\ + \ Equipment Corporation not be used in\n advertising or publicity pertaining to distribution\ + \ of the document or\n software without specific, written prior permission.\n \n \ + \ THE SOFTWARE IS PROVIDED ``AS IS'' AND DIGITAL EQUIPMENT CORP.\n DISCLAIMS ALL\ + \ WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS. IN NO EVENT SHALL\n DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY\ + \ SPECIAL, DIRECT,\n INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER\ + \ RESULTING\n FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,\n\ + \ NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION\n WITH\ + \ THE USE OR PERFORMANCE OF THIS SOFTWARE." + - score: '100.0' + start_line: 108 + end_line: 119 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_9.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for any\n \ + \ purpose with or without fee is hereby granted, provided that the above\n copyright\ + \ notice and this permission notice appear in all copies.\n \n THE SOFTWARE IS PROVIDED\ + \ \"AS IS\" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS\n ALL WARRANTIES WITH REGARD\ + \ TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS.\ + \ IN NO EVENT SHALL INTERNET SOFTWARE\n CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,\ + \ INDIRECT, OR CONSEQUENTIAL\n DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS\ + \ OF USE, DATA OR\n PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER\ + \ TORTIOUS\n ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF\ + \ THIS\n SOFTWARE." + - score: '100.0' + start_line: 126 + end_line: 151 + matcher: 2-aho + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_591.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n \ + \ modification, are permitted provided that the following conditions are\n met:\n\ + \ \n * Redistributions of source code must retain the above copyright\n \ + \ notice, this list of conditions and the following disclaimer.\n * Redistributions\ + \ in binary form must reproduce the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer in the documentation and/or other materials\n\ + \ provided with the distribution.\n * Neither the name of the \"Oracle\ + \ America, Inc.\" nor the names of its\n contributors may be used to endorse\ + \ or promote products derived\n from this software without specific prior written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED\ + \ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\ + \ FOR ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\n GOODS\ + \ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY,\n WHETHER IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT (INCLUDING\n NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 153 + end_line: 179 + matcher: 2-aho + rule_length: 159 + matched_length: 159 + match_coverage: '100.0' + rule_relevance: 100 + identifier: carnegie-mellon-contributors_3.RULE + license_expression: carnegie-mellon-contributors + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The following CMU license covers some of the support code for Mach,\n derived\ + \ from Mach 3.0:\n \n Mach Operating System\n Copyright (C) 1991,1990,1989 Carnegie\ + \ Mellon University\n All Rights Reserved.\n \n Permission to use, copy, modify\ + \ and distribute this software and its\n documentation is hereby granted, provided\ + \ that both the copyright\n notice and this permission notice appear in all copies\ + \ of the\n software, derivative works or modified versions, and any portions\n \ + \ thereof, and that both notices appear in supporting documentation.\n \n CARNEGIE\ + \ MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS ``AS IS''\n CONDITION. CARNEGIE\ + \ MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR\n ANY DAMAGES WHATSOEVER RESULTING\ + \ FROM THE USE OF THIS SOFTWARE.\n \n Carnegie Mellon requests users of this software\ + \ to return to\n \n Software Distribution Coordinator\n School of Computer Science\n\ + \ Carnegie Mellon University\n Pittsburgh PA 15213-3890\n \n or Software.Distribution@CS.CMU.EDU\ + \ any improvements or\n extensions that they make and grant Carnegie Mellon the rights\ + \ to\n redistribute these changes." + - score: '100.0' + start_line: 181 + end_line: 206 + matcher: 2-aho + rule_length: 219 + matched_length: 219 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_592.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "under the following CMU license:\n \n Redistribution and use in source\ + \ and binary forms, with or without\n modification, are permitted provided that the\ + \ following conditions\n are met:\n 1. Redistributions of source code must retain\ + \ the above copyright\n notice, this list of conditions and the following disclaimer.\n\ + \ 2. Redistributions in binary form must reproduce the above copyright\n \ + \ notice, this list of conditions and the following disclaimer in the\n documentation\ + \ and/or other materials provided with the distribution.\n 3. Neither the name of\ + \ the University nor the names of its contributors\n may be used to endorse or\ + \ promote products derived from this software\n without specific prior written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY AND\n\ + \ CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,\n INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR\ + \ A PARTICULAR PURPOSE ARE DISCLAIMED.\n IN NO EVENT SHALL THE UNIVERSITY OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY\n DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\n GOODS\ + \ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER\n IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR\n OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\ + \ OF THIS SOFTWARE, EVEN\n IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 208 + end_line: 211 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_593.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The following license covers the files from Intel's \"Highly Optimized\n\ + \ Mathematical Functions for Itanium\" collection:\n \n Intel License Agreement" + - score: '100.0' + start_line: 217 + end_line: 242 + matcher: 2-aho + rule_length: 204 + matched_length: 204 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-intel_2.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n \ + \ modification, are permitted provided that the following conditions are\n met:\n\ + \ \n * Redistributions of source code must retain the above copyright\n notice,\ + \ this list of conditions and the following disclaimer.\n \n * Redistributions in\ + \ binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n \n * The name of Intel Corporation may not be used to endorse\ + \ or promote\n products derived from this software without specific prior written\n\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED\ + \ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n A PARTICULAR PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL INTEL OR\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT, INCIDENTAL, SPECIAL,\n EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\ + \ BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\ + \ DATA, OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n\ + \ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 245 + end_line: 280 + matcher: 2-aho + rule_length: 309 + matched_length: 309 + match_coverage: '100.0' + rule_relevance: 100 + identifier: inner-net-2.0_2.RULE + license_expression: inner-net-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "distributed under the following license:\n \n /* The Inner Net License,\ + \ Version 2.00\n \n The author(s) grant permission for redistribution and use in\ + \ source and\n binary forms, with or without modification, of the software and documentation\n\ + \ provided that the following conditions are met:\n \n 0. If you receive a version\ + \ of the software that is specifically labelled\n as not being for redistribution\ + \ (check the version message and/or README),\n you are not permitted to redistribute\ + \ that version of the software in any\n way or form.\n 1. All terms of the\ + \ all other applicable copyrights and licenses must be\n followed.\n 2. Redistributions\ + \ of source code must retain the authors' copyright\n notice(s), this list of conditions,\ + \ and the following disclaimer.\n 3. Redistributions in binary form must reproduce\ + \ the authors' copyright\n notice(s), this list of conditions, and the following\ + \ disclaimer in the\n documentation and/or other materials provided with the distribution.\n\ + \ 4. [The copyright holder has authorized the removal of this clause.]\n 5. Neither\ + \ the name(s) of the author(s) nor the names of its contributors\n may be used\ + \ to endorse or promote products derived from this software\n without specific\ + \ prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY ITS AUTHORS AND CONTRIBUTORS\ + \ ``AS IS'' AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\ + \ THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY\n\ + \ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n \ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n \ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\n \ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n \n If these license terms cause\ + \ you a real problem, contact the author. */" + - score: '100.0' + start_line: 286 + end_line: 289 + matcher: 2-aho + rule_length: 48 + matched_length: 48 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_177.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is distributed under the terms of the GNU Lesser General + Public License, version 2.1 or later - see the file COPYING.LIB for details. + If you did not receive a copy of the license with this program, please + see to obtain a copy. + - score: '91.96' + start_line: 296 + end_line: 309 + matcher: 3-seq + rule_length: 112 + matched_length: 103 + match_coverage: '91.96' + rule_relevance: 100 + identifier: lgpl-2.1-plus_56.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "GNU [Libidn].\n \n [GNU] [Libidn] is free software; you can redistribute\ + \ it and/or\n modify it under the terms of the GNU Lesser General Public\n License\ + \ as published by the Free Software Foundation; either\n version 2.1 of the License,\ + \ or (at your option) any later version.\n \n GNU [Libidn] is distributed in the hope\ + \ that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser\ + \ General Public License for more details.\n \n You should have received a copy of\ + \ the GNU Lesser General Public\n License along with GNU [Libidn]; if not, see ." + - score: '100.0' + start_line: 314 + end_line: 314 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_218.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: all licensed under LGPL + - score: '93.55' + start_line: 324 + end_line: 332 + matcher: 3-seq + rule_length: 93 + matched_length: 87 + match_coverage: '93.55' + rule_relevance: 100 + identifier: other-permissive_punycode_1.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Disclaimer and license: Regarding this entire document or any + portion of it (including the pseudocode and C code), the author + makes no guarantees and is not responsible for any damage resulting + from its use. The author grants irrevocable permission to anyone + to use, modify, and distribute it in any way that does not diminish + the rights of anyone else to use, modify, and distribute it, + provided that redistributed derivative works do not contain + misleading author or version information. Derivative works need + not be licensed under similar terms. + - score: '100.0' + start_line: 336 + end_line: 358 + matcher: 2-aho + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ietf.LICENSE + license_expression: ietf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This document and translations of it may be copied and furnished to\n \ + \ others, and derivative works that comment on or otherwise explain it\n or assist\ + \ in its implementation may be prepared, copied, published\n and distributed, in whole\ + \ or in part, without restriction of any\n kind, provided that the above copyright\ + \ notice and this paragraph are\n included on all such copies and derivative works.\ + \ However, this\n document itself may not be modified in any way, such as by removing\n\ + \ the copyright notice or references to the Internet Society or other\n Internet\ + \ organizations, except as needed for the purpose of\n developing Internet standards\ + \ in which case the procedures for\n copyrights defined in the Internet Standards\ + \ process must be\n followed, or as required to translate it into languages other\ + \ than\n English.\n \n The limited permissions granted above are perpetual and\ + \ will not be\n revoked by the Internet Society or its successors or assigns.\n \n\ + \ This document and the information contained herein is provided on an\n \"AS\ + \ IS\" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING\n TASK FORCE DISCLAIMS\ + \ ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING\n BUT NOT LIMITED TO ANY WARRANTY\ + \ THAT THE USE OF THE INFORMATION\n HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED\ + \ WARRANTIES OF\n MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 365 + end_line: 387 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_66.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n \ + \ modification, are permitted provided that the following conditions\n are met:\n\ + \ 1. Redistributions of source code must retain the above copyright\n notice,\ + \ this list of conditions and the following disclaimer.\n 2. Redistributions in binary\ + \ form must reproduce the above copyright\n notice, this list of conditions and\ + \ the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. Neither the name of the project nor the names of its\ + \ contributors\n may be used to endorse or promote products derived from this software\n\ + \ without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS\ + \ BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n OR\ + \ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED\ + \ AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS\ + \ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 395 + end_line: 409 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_144.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software and its\n \ + \ documentation for any purpose and without fee is hereby granted,\n provided that\ + \ the above copyright notice appear in all copies and that\n both that copyright notice\ + \ and this permission notice appear in\n supporting documentation, and that the name\ + \ of the copyright holder not be\n used in advertising or publicity pertaining to\ + \ distribution of the\n software without specific, written prior permission.\n \n\ + \ Tom Lord DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,\n INCLUDING\ + \ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO\n EVENT SHALL TOM LORD\ + \ BE LIABLE FOR ANY SPECIAL, INDIRECT OR\n CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER\ + \ RESULTING FROM LOSS OF\n USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,\ + \ NEGLIGENCE OR\n OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE\ + \ USE OR\n PERFORMANCE OF THIS SOFTWARE." + - score: '100.0' + start_line: 414 + end_line: 432 + matcher: 2-aho + rule_length: 147 + matched_length: 147 + match_coverage: '100.0' + rule_relevance: 100 + identifier: hs-regexp.LICENSE + license_expression: hs-regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is not subject to any license of the American Telephone\n \ + \ and Telegraph Company or of the Regents of the University of California.\n \n \ + \ Permission is granted to anyone to use this software for any purpose on\n any computer\ + \ system, and to alter it and redistribute it, subject\n to the following restrictions:\n\ + \ \n 1. The author is not responsible for the consequences of use of this\n \ + \ software, no matter how awful, even if they arise from flaws in it.\n \n 2. The\ + \ origin of this software must not be misrepresented, either by\n explicit claim\ + \ or by omission. Since few users ever read sources,\n credits must appear in\ + \ the documentation.\n \n 3. Altered versions must be plainly marked as such, and\ + \ must not be\n misrepresented as being the original software. Since few users\n\ + \ ever read sources, credits must appear in the documentation.\n \n 4. This\ + \ notice may not be removed or altered." + - score: '95.0' + start_line: 438 + end_line: 473 + matcher: 2-aho + rule_length: 271 + matched_length: 271 + match_coverage: '100.0' + rule_relevance: 95 + identifier: pcre_2.RULE + license_expression: pcre + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to anyone to use this software for any purpose on any\n\ + \ computer system, and to redistribute it freely, subject to the following\n restrictions:\n\ + \ \n 1. This software is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE.\n \n 2. The origin of this software must not\ + \ be misrepresented, either by\n explicit claim or by omission. In practice, this\ + \ means that if you use\n PCRE in software that you distribute to others, commercially\ + \ or\n otherwise, you must put a sentence like this\n \n Regular expression\ + \ support is provided by the PCRE library package,\n which is open source software,\ + \ written by Philip Hazel, and copyright\n by the University of Cambridge, England.\n\ + \ \n somewhere reasonably visible in your documentation and in any relevant\n \ + \ files or online help data or similar. A reference to the ftp site for\n \ + \ the source, that is, to\n \n ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/\n\ + \ \n should also be given in the documentation. However, this condition is not\n\ + \ intended to apply to whole chains of software. If package A includes PCRE,\n\ + \ it must acknowledge it, but if package B is software that includes package\n\ + \ A, the condition is not imposed on package B (unless it uses PCRE\n independently).\n\ + \ \n 3. Altered versions must be plainly marked as such, and must not be\n \ + \ misrepresented as being the original software.\n \n 4. If PCRE is embedded in any\ + \ software that is released under the GNU\n General Purpose Licence (GPL), or Lesser\ + \ General Purpose Licence (LGPL),\n then the terms of that licence shall supersede\ + \ any condition above with\n which it is incompatible." + - score: '100.0' + start_line: 479 + end_line: 482 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Developed at SunPro, a Sun Microsystems, Inc. business. + Permission to use, copy, modify, and distribute this + software is freely granted, provided that this notice + is preserved. + - score: '100.0' + start_line: 488 + end_line: 491 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_145.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Feel free to copy, use and distribute this software provided:\n \n \ + \ 1. you do not pretend that you wrote it\n 2. you leave this copyright notice\ + \ intact." + - score: '100.0' + start_line: 497 + end_line: 509 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_36.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n \ + \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ Lesser General Public\n License along with this library; if not, see\n .\ + \ */" diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc6/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc6/copyright-detailed.expected.yml index 858e6bb39d1..bc1fa56bcd5 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc6/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc6/copyright-detailed.expected.yml @@ -1,8 +1,10 @@ -- -- lgpl-2.1-plus AND gpl-2.0-plus AND bsd-new AND unknown-license-reference AND historical AND - isc AND carnegie-mellon-contributors AND inner-net-2.0 AND lgpl-2.0-plus AND other-permissive - AND ietf AND hs-regexp AND pcre AND sunpro -- | +primary_license: +declared_license: +license_expression: lgpl-2.1-plus AND gpl-2.0-plus AND bsd-new AND bsd-new AND historical AND + isc AND bsd-new AND carnegie-mellon-contributors AND bsd-new AND bsd-new AND bsd-new AND inner-net-2.0 + AND lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.0-plus AND other-permissive AND ietf AND bsd-new + AND other-permissive AND hs-regexp AND pcre AND sunpro AND other-permissive AND lgpl-2.1-plus +copyright: | Copyright (c) 1991-2015 Free Software Foundation, Inc. Copyright (c) 1991-2015 Free Software Foundation, Inc. Copyright (c) 1991 Regents of the University of California @@ -32,3 +34,648 @@ (c) Copyright C E Chew copyright Stephen L. Moshier Copyright 2001 by Stephen L. Moshier +matches: + - score: '100.0' + start_line: 10 + end_line: 26 + matcher: 2-aho + rule_length: 147 + matched_length: 147 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The GNU C Library is free software; you can redistribute it and/or\n \ + \ modify it under the terms of the GNU Lesser General Public\n License as published\ + \ by the Free Software Foundation; either\n version 2.1 of the License, or (at your\ + \ option) any later version.\n \n The GNU C Library is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser\ + \ General Public License for more details.\n \n You should have received a copy of\ + \ the GNU Lesser General Public\n License along with the GNU C Library; if not, write\ + \ to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n\ + \ 02110-1301 USA\n \n On Debian systems, the complete text of the GNU Library\n\ + \ General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'." + - score: '95.0' + start_line: 33 + end_line: 48 + matcher: 2-aho + rule_length: 135 + matched_length: 135 + match_coverage: '100.0' + rule_relevance: 95 + identifier: gpl-2.0-plus_15.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published\n by the Free\ + \ Software Foundation; version 2 of the License, or\n (at your option) any later version.\n\ + \ \n This program is distributed in the hope that it will be useful,\n but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n\ + \ \n You should have received a copy of the GNU General Public License\n along\ + \ with this program; if not, write to the Free Software Foundation,\n Inc., 51 Franklin\ + \ St, Fifth Floor, Boston, MA 02110-1301 USA.\n \n On Debian systems, the complete text\ + \ of the GNU Library\n General Public License can be found in `/usr/share/common-licenses/GPL-2'." + - score: '100.0' + start_line: 50 + end_line: 51 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_24.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + All code incorporated from 4.4 BSD is distributed under the following + license: + - score: '100.0' + start_line: 56 + end_line: 80 + matcher: 2-aho + rule_length: 218 + matched_length: 218 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_57.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n\ + \ 3. [This condition was removed.]\n 4. Neither the name of the University nor the\ + \ names of its contributors\n may be used to endorse or promote products derived\ + \ from this software\n without specific prior written permission.\n \n THIS SOFTWARE\ + \ IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 88 + end_line: 102 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: historical_10.RULE + license_expression: historical + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for any\n \ + \ purpose with or without fee is hereby granted, provided that the above\n copyright\ + \ notice and this permission notice appear in all copies, and\n that the name of Digital\ + \ Equipment Corporation not be used in\n advertising or publicity pertaining to distribution\ + \ of the document or\n software without specific, written prior permission.\n \n \ + \ THE SOFTWARE IS PROVIDED ``AS IS'' AND DIGITAL EQUIPMENT CORP.\n DISCLAIMS ALL\ + \ WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS. IN NO EVENT SHALL\n DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY\ + \ SPECIAL, DIRECT,\n INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER\ + \ RESULTING\n FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,\n\ + \ NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION\n WITH\ + \ THE USE OR PERFORMANCE OF THIS SOFTWARE." + - score: '100.0' + start_line: 108 + end_line: 119 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_9.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for any\n \ + \ purpose with or without fee is hereby granted, provided that the above\n copyright\ + \ notice and this permission notice appear in all copies.\n \n THE SOFTWARE IS PROVIDED\ + \ \"AS IS\" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS\n ALL WARRANTIES WITH REGARD\ + \ TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS.\ + \ IN NO EVENT SHALL INTERNET SOFTWARE\n CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,\ + \ INDIRECT, OR CONSEQUENTIAL\n DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS\ + \ OF USE, DATA OR\n PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER\ + \ TORTIOUS\n ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF\ + \ THIS\n SOFTWARE." + - score: '100.0' + start_line: 126 + end_line: 151 + matcher: 2-aho + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_591.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n \ + \ modification, are permitted provided that the following conditions are\n met:\n\ + \ \n * Redistributions of source code must retain the above copyright\n \ + \ notice, this list of conditions and the following disclaimer.\n * Redistributions\ + \ in binary form must reproduce the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer in the documentation and/or other materials\n\ + \ provided with the distribution.\n * Neither the name of the \"Oracle\ + \ America, Inc.\" nor the names of its\n contributors may be used to endorse\ + \ or promote products derived\n from this software without specific prior written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED\ + \ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\ + \ FOR ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\n GOODS\ + \ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY,\n WHETHER IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT (INCLUDING\n NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 153 + end_line: 179 + matcher: 2-aho + rule_length: 159 + matched_length: 159 + match_coverage: '100.0' + rule_relevance: 100 + identifier: carnegie-mellon-contributors_3.RULE + license_expression: carnegie-mellon-contributors + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The following CMU license covers some of the support code for Mach,\n derived\ + \ from Mach 3.0:\n \n Mach Operating System\n Copyright (C) 1991,1990,1989 Carnegie\ + \ Mellon University\n All Rights Reserved.\n \n Permission to use, copy, modify\ + \ and distribute this software and its\n documentation is hereby granted, provided\ + \ that both the copyright\n notice and this permission notice appear in all copies\ + \ of the\n software, derivative works or modified versions, and any portions\n \ + \ thereof, and that both notices appear in supporting documentation.\n \n CARNEGIE\ + \ MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS ``AS IS''\n CONDITION. CARNEGIE\ + \ MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR\n ANY DAMAGES WHATSOEVER RESULTING\ + \ FROM THE USE OF THIS SOFTWARE.\n \n Carnegie Mellon requests users of this software\ + \ to return to\n \n Software Distribution Coordinator\n School of Computer Science\n\ + \ Carnegie Mellon University\n Pittsburgh PA 15213-3890\n \n or Software.Distribution@CS.CMU.EDU\ + \ any improvements or\n extensions that they make and grant Carnegie Mellon the rights\ + \ to\n redistribute these changes." + - score: '100.0' + start_line: 181 + end_line: 206 + matcher: 2-aho + rule_length: 219 + matched_length: 219 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_592.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "under the following CMU license:\n \n Redistribution and use in source\ + \ and binary forms, with or without\n modification, are permitted provided that the\ + \ following conditions\n are met:\n 1. Redistributions of source code must retain\ + \ the above copyright\n notice, this list of conditions and the following disclaimer.\n\ + \ 2. Redistributions in binary form must reproduce the above copyright\n \ + \ notice, this list of conditions and the following disclaimer in the\n documentation\ + \ and/or other materials provided with the distribution.\n 3. Neither the name of\ + \ the University nor the names of its contributors\n may be used to endorse or\ + \ promote products derived from this software\n without specific prior written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY AND\n\ + \ CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,\n INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR\ + \ A PARTICULAR PURPOSE ARE DISCLAIMED.\n IN NO EVENT SHALL THE UNIVERSITY OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY\n DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\n GOODS\ + \ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER\n IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR\n OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\ + \ OF THIS SOFTWARE, EVEN\n IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 208 + end_line: 211 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_593.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The following license covers the files from Intel's \"Highly Optimized\n\ + \ Mathematical Functions for Itanium\" collection:\n \n Intel License Agreement" + - score: '100.0' + start_line: 217 + end_line: 242 + matcher: 2-aho + rule_length: 204 + matched_length: 204 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-intel_2.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n \ + \ modification, are permitted provided that the following conditions are\n met:\n\ + \ \n * Redistributions of source code must retain the above copyright\n notice,\ + \ this list of conditions and the following disclaimer.\n \n * Redistributions in\ + \ binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n \n * The name of Intel Corporation may not be used to endorse\ + \ or promote\n products derived from this software without specific prior written\n\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED\ + \ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n A PARTICULAR PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL INTEL OR\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT, INCIDENTAL, SPECIAL,\n EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\ + \ BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\ + \ DATA, OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n\ + \ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 245 + end_line: 280 + matcher: 2-aho + rule_length: 309 + matched_length: 309 + match_coverage: '100.0' + rule_relevance: 100 + identifier: inner-net-2.0_2.RULE + license_expression: inner-net-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "distributed under the following license:\n \n /* The Inner Net License,\ + \ Version 2.00\n \n The author(s) grant permission for redistribution and use in\ + \ source and\n binary forms, with or without modification, of the software and documentation\n\ + \ provided that the following conditions are met:\n \n 0. If you receive a version\ + \ of the software that is specifically labelled\n as not being for redistribution\ + \ (check the version message and/or README),\n you are not permitted to redistribute\ + \ that version of the software in any\n way or form.\n 1. All terms of the\ + \ all other applicable copyrights and licenses must be\n followed.\n 2. Redistributions\ + \ of source code must retain the authors' copyright\n notice(s), this list of conditions,\ + \ and the following disclaimer.\n 3. Redistributions in binary form must reproduce\ + \ the authors' copyright\n notice(s), this list of conditions, and the following\ + \ disclaimer in the\n documentation and/or other materials provided with the distribution.\n\ + \ 4. [The copyright holder has authorized the removal of this clause.]\n 5. Neither\ + \ the name(s) of the author(s) nor the names of its contributors\n may be used\ + \ to endorse or promote products derived from this software\n without specific\ + \ prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY ITS AUTHORS AND CONTRIBUTORS\ + \ ``AS IS'' AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\ + \ THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY\n\ + \ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n \ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n \ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\n \ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n \n If these license terms cause\ + \ you a real problem, contact the author. */" + - score: '100.0' + start_line: 286 + end_line: 289 + matcher: 2-aho + rule_length: 48 + matched_length: 48 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_177.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is distributed under the terms of the GNU Lesser General + Public License, version 2.1 or later - see the file COPYING.LIB for details. + If you did not receive a copy of the license with this program, please + see to obtain a copy. + - score: '91.96' + start_line: 296 + end_line: 309 + matcher: 3-seq + rule_length: 112 + matched_length: 103 + match_coverage: '91.96' + rule_relevance: 100 + identifier: lgpl-2.1-plus_56.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "GNU [Libidn].\n \n [GNU] [Libidn] is free software; you can redistribute\ + \ it and/or\n modify it under the terms of the GNU Lesser General Public\n License\ + \ as published by the Free Software Foundation; either\n version 2.1 of the License,\ + \ or (at your option) any later version.\n \n GNU [Libidn] is distributed in the hope\ + \ that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser\ + \ General Public License for more details.\n \n You should have received a copy of\ + \ the GNU Lesser General Public\n License along with GNU [Libidn]; if not, see ." + - score: '100.0' + start_line: 314 + end_line: 314 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_218.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: all licensed under LGPL + - score: '93.55' + start_line: 324 + end_line: 332 + matcher: 3-seq + rule_length: 93 + matched_length: 87 + match_coverage: '93.55' + rule_relevance: 100 + identifier: other-permissive_punycode_1.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Disclaimer and license: Regarding this entire document or any + portion of it (including the pseudocode and C code), the author + makes no guarantees and is not responsible for any damage resulting + from its use. The author grants irrevocable permission to anyone + to use, modify, and distribute it in any way that does not diminish + the rights of anyone else to use, modify, and distribute it, + provided that redistributed derivative works do not contain + misleading author or version information. Derivative works need + not be licensed under similar terms. + - score: '100.0' + start_line: 336 + end_line: 358 + matcher: 2-aho + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ietf.LICENSE + license_expression: ietf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This document and translations of it may be copied and furnished to\n \ + \ others, and derivative works that comment on or otherwise explain it\n or assist\ + \ in its implementation may be prepared, copied, published\n and distributed, in whole\ + \ or in part, without restriction of any\n kind, provided that the above copyright\ + \ notice and this paragraph are\n included on all such copies and derivative works.\ + \ However, this\n document itself may not be modified in any way, such as by removing\n\ + \ the copyright notice or references to the Internet Society or other\n Internet\ + \ organizations, except as needed for the purpose of\n developing Internet standards\ + \ in which case the procedures for\n copyrights defined in the Internet Standards\ + \ process must be\n followed, or as required to translate it into languages other\ + \ than\n English.\n \n The limited permissions granted above are perpetual and\ + \ will not be\n revoked by the Internet Society or its successors or assigns.\n \n\ + \ This document and the information contained herein is provided on an\n \"AS\ + \ IS\" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING\n TASK FORCE DISCLAIMS\ + \ ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING\n BUT NOT LIMITED TO ANY WARRANTY\ + \ THAT THE USE OF THE INFORMATION\n HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED\ + \ WARRANTIES OF\n MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 365 + end_line: 387 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_66.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n \ + \ modification, are permitted provided that the following conditions\n are met:\n\ + \ 1. Redistributions of source code must retain the above copyright\n notice,\ + \ this list of conditions and the following disclaimer.\n 2. Redistributions in binary\ + \ form must reproduce the above copyright\n notice, this list of conditions and\ + \ the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. Neither the name of the project nor the names of its\ + \ contributors\n may be used to endorse or promote products derived from this software\n\ + \ without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS\ + \ BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n OR\ + \ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED\ + \ AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS\ + \ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 395 + end_line: 409 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_144.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software and its\n \ + \ documentation for any purpose and without fee is hereby granted,\n provided that\ + \ the above copyright notice appear in all copies and that\n both that copyright notice\ + \ and this permission notice appear in\n supporting documentation, and that the name\ + \ of the copyright holder not be\n used in advertising or publicity pertaining to\ + \ distribution of the\n software without specific, written prior permission.\n \n\ + \ Tom Lord DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,\n INCLUDING\ + \ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO\n EVENT SHALL TOM LORD\ + \ BE LIABLE FOR ANY SPECIAL, INDIRECT OR\n CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER\ + \ RESULTING FROM LOSS OF\n USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,\ + \ NEGLIGENCE OR\n OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE\ + \ USE OR\n PERFORMANCE OF THIS SOFTWARE." + - score: '100.0' + start_line: 414 + end_line: 432 + matcher: 2-aho + rule_length: 147 + matched_length: 147 + match_coverage: '100.0' + rule_relevance: 100 + identifier: hs-regexp.LICENSE + license_expression: hs-regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is not subject to any license of the American Telephone\n \ + \ and Telegraph Company or of the Regents of the University of California.\n \n \ + \ Permission is granted to anyone to use this software for any purpose on\n any computer\ + \ system, and to alter it and redistribute it, subject\n to the following restrictions:\n\ + \ \n 1. The author is not responsible for the consequences of use of this\n \ + \ software, no matter how awful, even if they arise from flaws in it.\n \n 2. The\ + \ origin of this software must not be misrepresented, either by\n explicit claim\ + \ or by omission. Since few users ever read sources,\n credits must appear in\ + \ the documentation.\n \n 3. Altered versions must be plainly marked as such, and\ + \ must not be\n misrepresented as being the original software. Since few users\n\ + \ ever read sources, credits must appear in the documentation.\n \n 4. This\ + \ notice may not be removed or altered." + - score: '95.0' + start_line: 438 + end_line: 473 + matcher: 2-aho + rule_length: 271 + matched_length: 271 + match_coverage: '100.0' + rule_relevance: 95 + identifier: pcre_2.RULE + license_expression: pcre + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to anyone to use this software for any purpose on any\n\ + \ computer system, and to redistribute it freely, subject to the following\n restrictions:\n\ + \ \n 1. This software is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE.\n \n 2. The origin of this software must not\ + \ be misrepresented, either by\n explicit claim or by omission. In practice, this\ + \ means that if you use\n PCRE in software that you distribute to others, commercially\ + \ or\n otherwise, you must put a sentence like this\n \n Regular expression\ + \ support is provided by the PCRE library package,\n which is open source software,\ + \ written by Philip Hazel, and copyright\n by the University of Cambridge, England.\n\ + \ \n somewhere reasonably visible in your documentation and in any relevant\n \ + \ files or online help data or similar. A reference to the ftp site for\n \ + \ the source, that is, to\n \n ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/\n\ + \ \n should also be given in the documentation. However, this condition is not\n\ + \ intended to apply to whole chains of software. If package A includes PCRE,\n\ + \ it must acknowledge it, but if package B is software that includes package\n\ + \ A, the condition is not imposed on package B (unless it uses PCRE\n independently).\n\ + \ \n 3. Altered versions must be plainly marked as such, and must not be\n \ + \ misrepresented as being the original software.\n \n 4. If PCRE is embedded in any\ + \ software that is released under the GNU\n General Purpose Licence (GPL), or Lesser\ + \ General Purpose Licence (LGPL),\n then the terms of that licence shall supersede\ + \ any condition above with\n which it is incompatible." + - score: '100.0' + start_line: 479 + end_line: 482 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Developed at SunPro, a Sun Microsystems, Inc. business. + Permission to use, copy, modify, and distribute this + software is freely granted, provided that this notice + is preserved. + - score: '100.0' + start_line: 488 + end_line: 491 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_145.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Feel free to copy, use and distribute this software provided:\n \n \ + \ 1. you do not pretend that you wrote it\n 2. you leave this copyright notice\ + \ intact." + - score: '100.0' + start_line: 497 + end_line: 509 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_36.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n \ + \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ Lesser General Public\n License along with this library; if not, see\n .\ + \ */" diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc6/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc6/copyright.expected.yml index 858e6bb39d1..ece0973723b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc6/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libc6/copyright.expected.yml @@ -1,8 +1,9 @@ -- -- lgpl-2.1-plus AND gpl-2.0-plus AND bsd-new AND unknown-license-reference AND historical AND - isc AND carnegie-mellon-contributors AND inner-net-2.0 AND lgpl-2.0-plus AND other-permissive - AND ietf AND hs-regexp AND pcre AND sunpro -- | +primary_license: +declared_license: +license_expression: lgpl-2.1-plus AND gpl-2.0-plus AND bsd-new AND historical AND isc AND carnegie-mellon-contributors + AND inner-net-2.0 AND lgpl-2.0-plus AND other-permissive AND ietf AND hs-regexp AND pcre AND + sunpro +copyright: | Copyright (c) 1991-2015 Free Software Foundation, Inc. Copyright (c) 1991-2015 Free Software Foundation, Inc. Copyright (c) 1991 Regents of the University of California @@ -32,3 +33,648 @@ (c) Copyright C E Chew copyright Stephen L. Moshier Copyright 2001 by Stephen L. Moshier +matches: + - score: '100.0' + start_line: 10 + end_line: 26 + matcher: 2-aho + rule_length: 147 + matched_length: 147 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The GNU C Library is free software; you can redistribute it and/or\n \ + \ modify it under the terms of the GNU Lesser General Public\n License as published\ + \ by the Free Software Foundation; either\n version 2.1 of the License, or (at your\ + \ option) any later version.\n \n The GNU C Library is distributed in the hope that\ + \ it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser\ + \ General Public License for more details.\n \n You should have received a copy of\ + \ the GNU Lesser General Public\n License along with the GNU C Library; if not, write\ + \ to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n\ + \ 02110-1301 USA\n \n On Debian systems, the complete text of the GNU Library\n\ + \ General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'." + - score: '95.0' + start_line: 33 + end_line: 48 + matcher: 2-aho + rule_length: 135 + matched_length: 135 + match_coverage: '100.0' + rule_relevance: 95 + identifier: gpl-2.0-plus_15.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published\n by the Free\ + \ Software Foundation; version 2 of the License, or\n (at your option) any later version.\n\ + \ \n This program is distributed in the hope that it will be useful,\n but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS\ + \ FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n\ + \ \n You should have received a copy of the GNU General Public License\n along\ + \ with this program; if not, write to the Free Software Foundation,\n Inc., 51 Franklin\ + \ St, Fifth Floor, Boston, MA 02110-1301 USA.\n \n On Debian systems, the complete text\ + \ of the GNU Library\n General Public License can be found in `/usr/share/common-licenses/GPL-2'." + - score: '100.0' + start_line: 50 + end_line: 51 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_24.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + All code incorporated from 4.4 BSD is distributed under the following + license: + - score: '100.0' + start_line: 56 + end_line: 80 + matcher: 2-aho + rule_length: 218 + matched_length: 218 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_57.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n\ + \ 3. [This condition was removed.]\n 4. Neither the name of the University nor the\ + \ names of its contributors\n may be used to endorse or promote products derived\ + \ from this software\n without specific prior written permission.\n \n THIS SOFTWARE\ + \ IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 88 + end_line: 102 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: historical_10.RULE + license_expression: historical + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for any\n \ + \ purpose with or without fee is hereby granted, provided that the above\n copyright\ + \ notice and this permission notice appear in all copies, and\n that the name of Digital\ + \ Equipment Corporation not be used in\n advertising or publicity pertaining to distribution\ + \ of the document or\n software without specific, written prior permission.\n \n \ + \ THE SOFTWARE IS PROVIDED ``AS IS'' AND DIGITAL EQUIPMENT CORP.\n DISCLAIMS ALL\ + \ WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS. IN NO EVENT SHALL\n DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY\ + \ SPECIAL, DIRECT,\n INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER\ + \ RESULTING\n FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,\n\ + \ NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION\n WITH\ + \ THE USE OR PERFORMANCE OF THIS SOFTWARE." + - score: '100.0' + start_line: 108 + end_line: 119 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_9.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for any\n \ + \ purpose with or without fee is hereby granted, provided that the above\n copyright\ + \ notice and this permission notice appear in all copies.\n \n THE SOFTWARE IS PROVIDED\ + \ \"AS IS\" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS\n ALL WARRANTIES WITH REGARD\ + \ TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS.\ + \ IN NO EVENT SHALL INTERNET SOFTWARE\n CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,\ + \ INDIRECT, OR CONSEQUENTIAL\n DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS\ + \ OF USE, DATA OR\n PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER\ + \ TORTIOUS\n ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF\ + \ THIS\n SOFTWARE." + - score: '100.0' + start_line: 126 + end_line: 151 + matcher: 2-aho + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_591.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n \ + \ modification, are permitted provided that the following conditions are\n met:\n\ + \ \n * Redistributions of source code must retain the above copyright\n \ + \ notice, this list of conditions and the following disclaimer.\n * Redistributions\ + \ in binary form must reproduce the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer in the documentation and/or other materials\n\ + \ provided with the distribution.\n * Neither the name of the \"Oracle\ + \ America, Inc.\" nor the names of its\n contributors may be used to endorse\ + \ or promote products derived\n from this software without specific prior written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED\ + \ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\ + \ FOR ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\n GOODS\ + \ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY,\n WHETHER IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT (INCLUDING\n NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 153 + end_line: 179 + matcher: 2-aho + rule_length: 159 + matched_length: 159 + match_coverage: '100.0' + rule_relevance: 100 + identifier: carnegie-mellon-contributors_3.RULE + license_expression: carnegie-mellon-contributors + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The following CMU license covers some of the support code for Mach,\n derived\ + \ from Mach 3.0:\n \n Mach Operating System\n Copyright (C) 1991,1990,1989 Carnegie\ + \ Mellon University\n All Rights Reserved.\n \n Permission to use, copy, modify\ + \ and distribute this software and its\n documentation is hereby granted, provided\ + \ that both the copyright\n notice and this permission notice appear in all copies\ + \ of the\n software, derivative works or modified versions, and any portions\n \ + \ thereof, and that both notices appear in supporting documentation.\n \n CARNEGIE\ + \ MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS ``AS IS''\n CONDITION. CARNEGIE\ + \ MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR\n ANY DAMAGES WHATSOEVER RESULTING\ + \ FROM THE USE OF THIS SOFTWARE.\n \n Carnegie Mellon requests users of this software\ + \ to return to\n \n Software Distribution Coordinator\n School of Computer Science\n\ + \ Carnegie Mellon University\n Pittsburgh PA 15213-3890\n \n or Software.Distribution@CS.CMU.EDU\ + \ any improvements or\n extensions that they make and grant Carnegie Mellon the rights\ + \ to\n redistribute these changes." + - score: '100.0' + start_line: 181 + end_line: 206 + matcher: 2-aho + rule_length: 219 + matched_length: 219 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_592.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "under the following CMU license:\n \n Redistribution and use in source\ + \ and binary forms, with or without\n modification, are permitted provided that the\ + \ following conditions\n are met:\n 1. Redistributions of source code must retain\ + \ the above copyright\n notice, this list of conditions and the following disclaimer.\n\ + \ 2. Redistributions in binary form must reproduce the above copyright\n \ + \ notice, this list of conditions and the following disclaimer in the\n documentation\ + \ and/or other materials provided with the distribution.\n 3. Neither the name of\ + \ the University nor the names of its contributors\n may be used to endorse or\ + \ promote products derived from this software\n without specific prior written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY AND\n\ + \ CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,\n INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR\ + \ A PARTICULAR PURPOSE ARE DISCLAIMED.\n IN NO EVENT SHALL THE UNIVERSITY OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY\n DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\n GOODS\ + \ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER\n IN CONTRACT, STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR\n OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\ + \ OF THIS SOFTWARE, EVEN\n IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 208 + end_line: 211 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_593.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The following license covers the files from Intel's \"Highly Optimized\n\ + \ Mathematical Functions for Itanium\" collection:\n \n Intel License Agreement" + - score: '100.0' + start_line: 217 + end_line: 242 + matcher: 2-aho + rule_length: 204 + matched_length: 204 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-intel_2.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n \ + \ modification, are permitted provided that the following conditions are\n met:\n\ + \ \n * Redistributions of source code must retain the above copyright\n notice,\ + \ this list of conditions and the following disclaimer.\n \n * Redistributions in\ + \ binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n \n * The name of Intel Corporation may not be used to endorse\ + \ or promote\n products derived from this software without specific prior written\n\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\ + \ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED\ + \ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n A PARTICULAR PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL INTEL OR\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT, INCIDENTAL, SPECIAL,\n EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\ + \ BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\ + \ DATA, OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n\ + \ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 245 + end_line: 280 + matcher: 2-aho + rule_length: 309 + matched_length: 309 + match_coverage: '100.0' + rule_relevance: 100 + identifier: inner-net-2.0_2.RULE + license_expression: inner-net-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "distributed under the following license:\n \n /* The Inner Net License,\ + \ Version 2.00\n \n The author(s) grant permission for redistribution and use in\ + \ source and\n binary forms, with or without modification, of the software and documentation\n\ + \ provided that the following conditions are met:\n \n 0. If you receive a version\ + \ of the software that is specifically labelled\n as not being for redistribution\ + \ (check the version message and/or README),\n you are not permitted to redistribute\ + \ that version of the software in any\n way or form.\n 1. All terms of the\ + \ all other applicable copyrights and licenses must be\n followed.\n 2. Redistributions\ + \ of source code must retain the authors' copyright\n notice(s), this list of conditions,\ + \ and the following disclaimer.\n 3. Redistributions in binary form must reproduce\ + \ the authors' copyright\n notice(s), this list of conditions, and the following\ + \ disclaimer in the\n documentation and/or other materials provided with the distribution.\n\ + \ 4. [The copyright holder has authorized the removal of this clause.]\n 5. Neither\ + \ the name(s) of the author(s) nor the names of its contributors\n may be used\ + \ to endorse or promote products derived from this software\n without specific\ + \ prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY ITS AUTHORS AND CONTRIBUTORS\ + \ ``AS IS'' AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\ + \ THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY\n\ + \ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n \ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n \ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\n \ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n \n If these license terms cause\ + \ you a real problem, contact the author. */" + - score: '100.0' + start_line: 286 + end_line: 289 + matcher: 2-aho + rule_length: 48 + matched_length: 48 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_177.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is distributed under the terms of the GNU Lesser General + Public License, version 2.1 or later - see the file COPYING.LIB for details. + If you did not receive a copy of the license with this program, please + see to obtain a copy. + - score: '91.96' + start_line: 296 + end_line: 309 + matcher: 3-seq + rule_length: 112 + matched_length: 103 + match_coverage: '91.96' + rule_relevance: 100 + identifier: lgpl-2.1-plus_56.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "GNU [Libidn].\n \n [GNU] [Libidn] is free software; you can redistribute\ + \ it and/or\n modify it under the terms of the GNU Lesser General Public\n License\ + \ as published by the Free Software Foundation; either\n version 2.1 of the License,\ + \ or (at your option) any later version.\n \n GNU [Libidn] is distributed in the hope\ + \ that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty\ + \ of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser\ + \ General Public License for more details.\n \n You should have received a copy of\ + \ the GNU Lesser General Public\n License along with GNU [Libidn]; if not, see ." + - score: '100.0' + start_line: 314 + end_line: 314 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_218.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: all licensed under LGPL + - score: '93.55' + start_line: 324 + end_line: 332 + matcher: 3-seq + rule_length: 93 + matched_length: 87 + match_coverage: '93.55' + rule_relevance: 100 + identifier: other-permissive_punycode_1.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Disclaimer and license: Regarding this entire document or any + portion of it (including the pseudocode and C code), the author + makes no guarantees and is not responsible for any damage resulting + from its use. The author grants irrevocable permission to anyone + to use, modify, and distribute it in any way that does not diminish + the rights of anyone else to use, modify, and distribute it, + provided that redistributed derivative works do not contain + misleading author or version information. Derivative works need + not be licensed under similar terms. + - score: '100.0' + start_line: 336 + end_line: 358 + matcher: 2-aho + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ietf.LICENSE + license_expression: ietf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This document and translations of it may be copied and furnished to\n \ + \ others, and derivative works that comment on or otherwise explain it\n or assist\ + \ in its implementation may be prepared, copied, published\n and distributed, in whole\ + \ or in part, without restriction of any\n kind, provided that the above copyright\ + \ notice and this paragraph are\n included on all such copies and derivative works.\ + \ However, this\n document itself may not be modified in any way, such as by removing\n\ + \ the copyright notice or references to the Internet Society or other\n Internet\ + \ organizations, except as needed for the purpose of\n developing Internet standards\ + \ in which case the procedures for\n copyrights defined in the Internet Standards\ + \ process must be\n followed, or as required to translate it into languages other\ + \ than\n English.\n \n The limited permissions granted above are perpetual and\ + \ will not be\n revoked by the Internet Society or its successors or assigns.\n \n\ + \ This document and the information contained herein is provided on an\n \"AS\ + \ IS\" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING\n TASK FORCE DISCLAIMS\ + \ ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING\n BUT NOT LIMITED TO ANY WARRANTY\ + \ THAT THE USE OF THE INFORMATION\n HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED\ + \ WARRANTIES OF\n MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 365 + end_line: 387 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_66.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n \ + \ modification, are permitted provided that the following conditions\n are met:\n\ + \ 1. Redistributions of source code must retain the above copyright\n notice,\ + \ this list of conditions and the following disclaimer.\n 2. Redistributions in binary\ + \ form must reproduce the above copyright\n notice, this list of conditions and\ + \ the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. Neither the name of the project nor the names of its\ + \ contributors\n may be used to endorse or promote products derived from this software\n\ + \ without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS\ + \ BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n OR\ + \ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED\ + \ AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS\ + \ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 395 + end_line: 409 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_144.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software and its\n \ + \ documentation for any purpose and without fee is hereby granted,\n provided that\ + \ the above copyright notice appear in all copies and that\n both that copyright notice\ + \ and this permission notice appear in\n supporting documentation, and that the name\ + \ of the copyright holder not be\n used in advertising or publicity pertaining to\ + \ distribution of the\n software without specific, written prior permission.\n \n\ + \ Tom Lord DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,\n INCLUDING\ + \ ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO\n EVENT SHALL TOM LORD\ + \ BE LIABLE FOR ANY SPECIAL, INDIRECT OR\n CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER\ + \ RESULTING FROM LOSS OF\n USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,\ + \ NEGLIGENCE OR\n OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE\ + \ USE OR\n PERFORMANCE OF THIS SOFTWARE." + - score: '100.0' + start_line: 414 + end_line: 432 + matcher: 2-aho + rule_length: 147 + matched_length: 147 + match_coverage: '100.0' + rule_relevance: 100 + identifier: hs-regexp.LICENSE + license_expression: hs-regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This software is not subject to any license of the American Telephone\n \ + \ and Telegraph Company or of the Regents of the University of California.\n \n \ + \ Permission is granted to anyone to use this software for any purpose on\n any computer\ + \ system, and to alter it and redistribute it, subject\n to the following restrictions:\n\ + \ \n 1. The author is not responsible for the consequences of use of this\n \ + \ software, no matter how awful, even if they arise from flaws in it.\n \n 2. The\ + \ origin of this software must not be misrepresented, either by\n explicit claim\ + \ or by omission. Since few users ever read sources,\n credits must appear in\ + \ the documentation.\n \n 3. Altered versions must be plainly marked as such, and\ + \ must not be\n misrepresented as being the original software. Since few users\n\ + \ ever read sources, credits must appear in the documentation.\n \n 4. This\ + \ notice may not be removed or altered." + - score: '95.0' + start_line: 438 + end_line: 473 + matcher: 2-aho + rule_length: 271 + matched_length: 271 + match_coverage: '100.0' + rule_relevance: 95 + identifier: pcre_2.RULE + license_expression: pcre + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to anyone to use this software for any purpose on any\n\ + \ computer system, and to redistribute it freely, subject to the following\n restrictions:\n\ + \ \n 1. This software is distributed in the hope that it will be useful,\n \ + \ but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE.\n \n 2. The origin of this software must not\ + \ be misrepresented, either by\n explicit claim or by omission. In practice, this\ + \ means that if you use\n PCRE in software that you distribute to others, commercially\ + \ or\n otherwise, you must put a sentence like this\n \n Regular expression\ + \ support is provided by the PCRE library package,\n which is open source software,\ + \ written by Philip Hazel, and copyright\n by the University of Cambridge, England.\n\ + \ \n somewhere reasonably visible in your documentation and in any relevant\n \ + \ files or online help data or similar. A reference to the ftp site for\n \ + \ the source, that is, to\n \n ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/\n\ + \ \n should also be given in the documentation. However, this condition is not\n\ + \ intended to apply to whole chains of software. If package A includes PCRE,\n\ + \ it must acknowledge it, but if package B is software that includes package\n\ + \ A, the condition is not imposed on package B (unless it uses PCRE\n independently).\n\ + \ \n 3. Altered versions must be plainly marked as such, and must not be\n \ + \ misrepresented as being the original software.\n \n 4. If PCRE is embedded in any\ + \ software that is released under the GNU\n General Purpose Licence (GPL), or Lesser\ + \ General Purpose Licence (LGPL),\n then the terms of that licence shall supersede\ + \ any condition above with\n which it is incompatible." + - score: '100.0' + start_line: 479 + end_line: 482 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sunpro.LICENSE + license_expression: sunpro + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Developed at SunPro, a Sun Microsystems, Inc. business. + Permission to use, copy, modify, and distribute this + software is freely granted, provided that this notice + is preserved. + - score: '100.0' + start_line: 488 + end_line: 491 + matcher: 2-aho + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_145.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Feel free to copy, use and distribute this software provided:\n \n \ + \ 1. you do not pretend that you wrote it\n 2. you leave this copyright notice\ + \ intact." + - score: '100.0' + start_line: 497 + end_line: 509 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_36.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n \ + \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General\ + \ Public License for more details.\n \n You should have received a copy of the GNU\ + \ Lesser General Public\n License along with this library; if not, see\n .\ + \ */" diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcap-ng0/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcap-ng0/copyright-detailed.expected.yml index 6204b0e43d1..3cff3d11675 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcap-ng0/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcap-ng0/copyright-detailed.expected.yml @@ -1,5 +1,82 @@ -- -- lgpl-2.0-plus AND gpl-2.0-plus AND gpl-3.0 -- | +primary_license: +declared_license: +license_expression: lgpl-2.0-plus AND gpl-2.0-plus AND gpl-3.0 AND gpl-3.0 +copyright: | Copyright 2009 Red Hat Inc. Copyright (c) 2009 Pierre Chifflier +matches: + - score: '96.88' + start_line: 10 + end_line: 27 + matcher: 3-seq + rule_length: 128 + matched_length: 124 + match_coverage: '96.88' + rule_relevance: 100 + identifier: lgpl-2.0-plus_22.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n This library is free software; you can redistribute it\ + \ and/or\n modify it under the terms of the GNU Lesser General Public\n License\ + \ as published by the Free Software Foundation; either\n version 2.[1] of the License,\ + \ or (at your option) any later version.\n \n This library is distributed in the\ + \ hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied\ + \ warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n\ + \ Lesser General Public License for more details.\n \n You should have received\ + \ a copy of the GNU Lesser General Public\n License along with this library; if not,\ + \ write to the Free Software\n Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,\n\ + \ MA 02110-1301, USA.\n \n see `/usr/share/common-licenses/LGPL-2." + - score: '100.0' + start_line: 30 + end_line: 31 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_209.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + licensed under the GNU General Public License version 2 or above + See `/usr/share/common-licenses/GPL-2'. + - score: '44.0' + start_line: 37 + end_line: 37 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 44 + identifier: gpl-3.0_22.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: and is licensed under the GPL version 3, + - score: '33.0' + start_line: 38 + end_line: 38 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcap-ng0/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcap-ng0/copyright.expected.yml index 6204b0e43d1..4c232e3de0c 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcap-ng0/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcap-ng0/copyright.expected.yml @@ -1,5 +1,82 @@ -- -- lgpl-2.0-plus AND gpl-2.0-plus AND gpl-3.0 -- | +primary_license: +declared_license: +license_expression: lgpl-2.0-plus AND gpl-2.0-plus AND gpl-3.0 +copyright: | Copyright 2009 Red Hat Inc. Copyright (c) 2009 Pierre Chifflier +matches: + - score: '96.88' + start_line: 10 + end_line: 27 + matcher: 3-seq + rule_length: 128 + matched_length: 124 + match_coverage: '96.88' + rule_relevance: 100 + identifier: lgpl-2.0-plus_22.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License:\n \n This library is free software; you can redistribute it\ + \ and/or\n modify it under the terms of the GNU Lesser General Public\n License\ + \ as published by the Free Software Foundation; either\n version 2.[1] of the License,\ + \ or (at your option) any later version.\n \n This library is distributed in the\ + \ hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied\ + \ warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n\ + \ Lesser General Public License for more details.\n \n You should have received\ + \ a copy of the GNU Lesser General Public\n License along with this library; if not,\ + \ write to the Free Software\n Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,\n\ + \ MA 02110-1301, USA.\n \n see `/usr/share/common-licenses/LGPL-2." + - score: '100.0' + start_line: 30 + end_line: 31 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_209.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + licensed under the GNU General Public License version 2 or above + See `/usr/share/common-licenses/GPL-2'. + - score: '44.0' + start_line: 37 + end_line: 37 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 44 + identifier: gpl-3.0_22.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: and is licensed under the GPL version 3, + - score: '33.0' + start_line: 38 + end_line: 38 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcom-err2/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcom-err2/copyright-detailed.expected.yml index 7f3c0f6b77f..5ecad633492 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcom-err2/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcom-err2/copyright-detailed.expected.yml @@ -1,4 +1,33 @@ -- -- mit-old-style-no-advert -- Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts Institute - of Technology +primary_license: +declared_license: +license_expression: mit-old-style-no-advert +copyright: Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts + Institute of Technology +matches: + - score: '100.0' + start_line: 14 + end_line: 24 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_5.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software + and its documentation for any purpose and without fee is + hereby granted, provided that the above copyright notice + appear in all copies and that both that copyright notice and + this permission notice appear in supporting documentation, + and that the names of M.I.T. and the M.I.T. S.I.P.B. not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + M.I.T. and the M.I.T. S.I.P.B. make no representations about + the suitability of this software for any purpose. It is + provided "as is" without express or implied warranty. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcom-err2/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcom-err2/copyright.expected.yml index 7f3c0f6b77f..5ecad633492 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcom-err2/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcom-err2/copyright.expected.yml @@ -1,4 +1,33 @@ -- -- mit-old-style-no-advert -- Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts Institute - of Technology +primary_license: +declared_license: +license_expression: mit-old-style-no-advert +copyright: Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts + Institute of Technology +matches: + - score: '100.0' + start_line: 14 + end_line: 24 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_5.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software + and its documentation for any purpose and without fee is + hereby granted, provided that the above copyright notice + appear in all copies and that both that copyright notice and + this permission notice appear in supporting documentation, + and that the names of M.I.T. and the M.I.T. S.I.P.B. not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + M.I.T. and the M.I.T. S.I.P.B. make no representations about + the suitability of this software for any purpose. It is + provided "as is" without express or implied warranty. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcrypt1/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcrypt1/copyright-detailed.expected.yml index 0702854a184..c7e44447b0a 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcrypt1/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcrypt1/copyright-detailed.expected.yml @@ -1,7 +1,10 @@ -- -- lgpl-2.1 AND unknown AND lgpl-2.0-plus AND bsd-new AND public-domain AND bsd-simplified AND - gpl-3.0 AND gpl-2.0-plus -- | +primary_license: +declared_license: +license_expression: lgpl-2.1-plus AND lgpl-2.0-plus AND lgpl-2.1 AND lgpl-2.1 AND bsd-new AND + public-domain AND public-domain AND bsd-simplified AND bsd-simplified AND bsd-simplified AND + bsd-simplified AND bsd-simplified AND public-domain AND bsd-new AND bsd-simplified AND public-domain + AND gpl-3.0 AND gpl-2.0-plus AND gpl-3.0 +copyright: | Copyright Thorsten Kukuk, Bjorn Esser, Zack Weinberg LGPL Copyright Free Software Foundation, Inc. Copyright David Burren @@ -31,3 +34,311 @@ Copyright 2002, 2003, 2004 SuSE Linux AG Germany Copyright 2005, 2008, 2009 2011 SUSE LINUX Products GmbH Copyright 2015 Bjorn Esser +matches: + - score: '97.06' + start_line: 14 + end_line: 16 + matcher: 2-aho + rule_length: 33 + matched_length: 33 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_297.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The overall license for [libxcrypt] is the GNU Lesser General Public + License, version 2.1 (or, at your option, any later version); see + the file COPYING.LIB for the full terms of this license. + - score: '20.0' + start_line: 22 + end_line: 22 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 80 + identifier: lgpl_20_tag.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: Copyright [Thorsten] [Kukuk], [Björn] [Esser], [Zack] [Weinberg]; LGPL ( + - score: '75.0' + start_line: 22 + end_line: 22 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 75 + identifier: lgpl-2.1_88.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL (v2.1 + - score: '75.0' + start_line: 25 + end_line: 25 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 75 + identifier: lgpl-2.1_88.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL (v2.1 + - score: '100.0' + start_line: 29 + end_line: 29 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_308.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '3-clause BSD:' + - score: '70.0' + start_line: 33 + end_line: 33 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public domain, + - score: '70.0' + start_line: 36 + end_line: 36 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public domain, + - score: '100.0' + start_line: 43 + end_line: 43 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_156.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '2-clause BSD:' + - score: '100.0' + start_line: 47 + end_line: 47 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_156.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '2-clause BSD:' + - score: '100.0' + start_line: 50 + end_line: 50 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_156.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '2-clause BSD:' + - score: '100.0' + start_line: 71 + end_line: 71 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_156.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '2-clause BSD:' + - score: '100.0' + start_line: 74 + end_line: 74 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_156.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '2-clause BSD:' + - score: '70.0' + start_line: 77 + end_line: 77 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public domain, + - score: '100.0' + start_line: 80 + end_line: 80 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_308.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '3-clause BSD:' + - score: '100.0' + start_line: 83 + end_line: 83 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_156.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '2-clause BSD:' + - score: '70.0' + start_line: 86 + end_line: 86 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public domain, + - score: '100.0' + start_line: 98 + end_line: 98 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_76.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL (v3 + - score: '90.0' + start_line: 118 + end_line: 118 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-2.0-plus_176.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GPL (v2 or later), + - score: '100.0' + start_line: 128 + end_line: 128 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_76.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL (v3 diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcrypt1/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcrypt1/copyright.expected.yml index 0702854a184..4609b125ae1 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcrypt1/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libcrypt1/copyright.expected.yml @@ -1,7 +1,8 @@ -- -- lgpl-2.1 AND unknown AND lgpl-2.0-plus AND bsd-new AND public-domain AND bsd-simplified AND - gpl-3.0 AND gpl-2.0-plus -- | +primary_license: +declared_license: +license_expression: lgpl-2.1-plus AND lgpl-2.0-plus AND lgpl-2.1 AND bsd-new AND public-domain + AND bsd-simplified AND gpl-3.0 AND gpl-2.0-plus +copyright: | Copyright Thorsten Kukuk, Bjorn Esser, Zack Weinberg LGPL Copyright Free Software Foundation, Inc. Copyright David Burren @@ -31,3 +32,311 @@ Copyright 2002, 2003, 2004 SuSE Linux AG Germany Copyright 2005, 2008, 2009 2011 SUSE LINUX Products GmbH Copyright 2015 Bjorn Esser +matches: + - score: '97.06' + start_line: 14 + end_line: 16 + matcher: 2-aho + rule_length: 33 + matched_length: 33 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_297.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The overall license for [libxcrypt] is the GNU Lesser General Public + License, version 2.1 (or, at your option, any later version); see + the file COPYING.LIB for the full terms of this license. + - score: '20.0' + start_line: 22 + end_line: 22 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 80 + identifier: lgpl_20_tag.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: Copyright [Thorsten] [Kukuk], [Björn] [Esser], [Zack] [Weinberg]; LGPL ( + - score: '75.0' + start_line: 22 + end_line: 22 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 75 + identifier: lgpl-2.1_88.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL (v2.1 + - score: '75.0' + start_line: 25 + end_line: 25 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 75 + identifier: lgpl-2.1_88.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL (v2.1 + - score: '100.0' + start_line: 29 + end_line: 29 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_308.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '3-clause BSD:' + - score: '70.0' + start_line: 33 + end_line: 33 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public domain, + - score: '70.0' + start_line: 36 + end_line: 36 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public domain, + - score: '100.0' + start_line: 43 + end_line: 43 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_156.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '2-clause BSD:' + - score: '100.0' + start_line: 47 + end_line: 47 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_156.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '2-clause BSD:' + - score: '100.0' + start_line: 50 + end_line: 50 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_156.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '2-clause BSD:' + - score: '100.0' + start_line: 71 + end_line: 71 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_156.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '2-clause BSD:' + - score: '100.0' + start_line: 74 + end_line: 74 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_156.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '2-clause BSD:' + - score: '70.0' + start_line: 77 + end_line: 77 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public domain, + - score: '100.0' + start_line: 80 + end_line: 80 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_308.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '3-clause BSD:' + - score: '100.0' + start_line: 83 + end_line: 83 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_156.RULE + license_expression: bsd-simplified + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: '2-clause BSD:' + - score: '70.0' + start_line: 86 + end_line: 86 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public domain, + - score: '100.0' + start_line: 98 + end_line: 98 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_76.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL (v3 + - score: '90.0' + start_line: 118 + end_line: 118 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-2.0-plus_176.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GPL (v2 or later), + - score: '100.0' + start_line: 128 + end_line: 128 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_76.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL (v3 diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdb5.3/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdb5.3/copyright-detailed.expected.yml index 85167e68803..653ae560a42 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdb5.3/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdb5.3/copyright-detailed.expected.yml @@ -1,7 +1,192 @@ -- -- sleepycat AND bsd-new -- | +primary_license: +declared_license: +license_expression: sleepycat AND sleepycat AND bsd-new AND bsd-new AND bsd-new +copyright: | Copyright (c) 1990, 2010 Oracle and/or its affiliates Copyright (c) 1990, 1993, 1994, 1995 The Regents of the University of California Copyright (c) 1995, 1996 The President and Fellows of Harvard University Copyright (c) 2000-2005 INRIA, France Telecom +matches: + - score: '100.0' + start_line: 5 + end_line: 12 + matcher: 2-aho + rule_length: 61 + matched_length: 61 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sleepycat_17.RULE + license_expression: sleepycat + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "http://www.oracle.com/technology/software/products/berkeley-db/db/index.html\n\ + \ \n Copyright and license:\n \n The following is the license that applies to this copy\ + \ of the Berkeley DB\n software. For a license to use the Berkeley DB software under\ + \ conditions\n other than those described here, or to purchase support for this software,\n\ + \ please contact Oracle at berkeleydb-info_us@oracle.com." + - score: '100.0' + start_line: 18 + end_line: 47 + matcher: 2-aho + rule_length: 283 + matched_length: 283 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sleepycat_15.RULE + license_expression: sleepycat + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Redistributions in any form must be accompanied by information on + * how to obtain complete source code for the DB software and any + * accompanying software that uses the DB software. The source code + * must either be included in the distribution or be available for no + * more than the cost of distribution plus a nominal fee, and must be + * freely redistributable under reasonable conditions. For an + * executable file, complete source code means the source code for all + * modules it contains. It does not include source code for modules or + * files that typically accompany the major components of the operating + * system on which the executable file runs. + * + * THIS SOFTWARE IS PROVIDED BY ORACLE ``AS IS'' AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR + * NON-INFRINGEMENT, ARE DISCLAIMED. IN NO EVENT SHALL ORACLE BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 53 + end_line: 75 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + - score: '100.0' + start_line: 81 + end_line: 103 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_943.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY HARVARD AND ITS CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL HARVARD OR ITS CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + - score: '100.0' + start_line: 111 + end_line: 133 + matcher: 2-aho + rule_length: 216 + matched_length: 216 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_115.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the copyright holders nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF + * THE POSSIBILITY OF SUCH DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdb5.3/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdb5.3/copyright.expected.yml index 85167e68803..9de36f22be5 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdb5.3/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdb5.3/copyright.expected.yml @@ -1,7 +1,192 @@ -- -- sleepycat AND bsd-new -- | +primary_license: +declared_license: +license_expression: sleepycat AND bsd-new +copyright: | Copyright (c) 1990, 2010 Oracle and/or its affiliates Copyright (c) 1990, 1993, 1994, 1995 The Regents of the University of California Copyright (c) 1995, 1996 The President and Fellows of Harvard University Copyright (c) 2000-2005 INRIA, France Telecom +matches: + - score: '100.0' + start_line: 5 + end_line: 12 + matcher: 2-aho + rule_length: 61 + matched_length: 61 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sleepycat_17.RULE + license_expression: sleepycat + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "http://www.oracle.com/technology/software/products/berkeley-db/db/index.html\n\ + \ \n Copyright and license:\n \n The following is the license that applies to this copy\ + \ of the Berkeley DB\n software. For a license to use the Berkeley DB software under\ + \ conditions\n other than those described here, or to purchase support for this software,\n\ + \ please contact Oracle at berkeleydb-info_us@oracle.com." + - score: '100.0' + start_line: 18 + end_line: 47 + matcher: 2-aho + rule_length: 283 + matched_length: 283 + match_coverage: '100.0' + rule_relevance: 100 + identifier: sleepycat_15.RULE + license_expression: sleepycat + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Redistributions in any form must be accompanied by information on + * how to obtain complete source code for the DB software and any + * accompanying software that uses the DB software. The source code + * must either be included in the distribution or be available for no + * more than the cost of distribution plus a nominal fee, and must be + * freely redistributable under reasonable conditions. For an + * executable file, complete source code means the source code for all + * modules it contains. It does not include source code for modules or + * files that typically accompany the major components of the operating + * system on which the executable file runs. + * + * THIS SOFTWARE IS PROVIDED BY ORACLE ``AS IS'' AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR + * NON-INFRINGEMENT, ARE DISCLAIMED. IN NO EVENT SHALL ORACLE BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 53 + end_line: 75 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + - score: '100.0' + start_line: 81 + end_line: 103 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_943.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY HARVARD AND ITS CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL HARVARD OR ITS CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + - score: '100.0' + start_line: 111 + end_line: 133 + matcher: 2-aho + rule_length: 216 + matched_length: 216 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_115.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the copyright holders nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF + * THE POSSIBILITY OF SUCH DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdebconfclient0/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdebconfclient0/copyright-detailed.expected.yml index a3e8799d428..190e152c74d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdebconfclient0/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdebconfclient0/copyright-detailed.expected.yml @@ -1,6 +1,54 @@ -- -- public-domain AND bsd-2-clause-plus-advertizing -- | +primary_license: +declared_license: +license_expression: public-domain AND bsd-unmodified +copyright: | (c) Joey Hess (c) Jason Gunthorpe copyrighted (c) 2000-2009 by Randolph Chung +matches: + - score: '100.0' + start_line: 17 + end_line: 17 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_282.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: derived portions are public domain) + - score: '100.0' + start_line: 22 + end_line: 41 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-unmodified_4.RULE + license_expression: bsd-unmodified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR\ + \ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdebconfclient0/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdebconfclient0/copyright.expected.yml index a3e8799d428..190e152c74d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdebconfclient0/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libdebconfclient0/copyright.expected.yml @@ -1,6 +1,54 @@ -- -- public-domain AND bsd-2-clause-plus-advertizing -- | +primary_license: +declared_license: +license_expression: public-domain AND bsd-unmodified +copyright: | (c) Joey Hess (c) Jason Gunthorpe copyrighted (c) 2000-2009 by Randolph Chung +matches: + - score: '100.0' + start_line: 17 + end_line: 17 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_282.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: derived portions are public domain) + - score: '100.0' + start_line: 22 + end_line: 41 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-unmodified_4.RULE + license_expression: bsd-unmodified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND\n ANY EXPRESS OR\ + \ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER\ + \ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n LIABILITY, OR TORT\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n OUT OF THE USE OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libext2fs2/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libext2fs2/copyright-detailed.expected.yml index 9cf037404ae..16a70b23cf0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libext2fs2/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libext2fs2/copyright-detailed.expected.yml @@ -1,7 +1,8 @@ -- -- (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 AND lgpl-2.1) - AND ntp-0 AND bsd-new -- | +primary_license: +declared_license: +license_expression: (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 + AND lgpl-2.0) AND ntp-0 AND bsd-new +copyright: | Copyright (c) 2003-2007 Theodore Ts'o Copyright (c) 1997-2003 Yann Dirson Copyright (c) 2001 Alcove @@ -9,3 +10,103 @@ Copyright (c) 1995-1996 Michael Nonweiler Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by Theodore Ts'o Copyright 1987 by the Student Information Processing Board of the Massachusetts Institute of Technology +matches: + - score: '98.28' + start_line: 17 + end_line: 22 + matcher: 3-seq + rule_length: 58 + matched_length: 57 + match_coverage: '98.28' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_and_bsd-new_and_mit_2.RULE + license_expression: gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package, the EXT2 [filesystem] utilities, are made available under + the GNU General Public License version 2, with the exception of the + [lib]/[ext2fs] [and] [lib]/[e2p] libraries, which are made available under the + GNU Library General Public License Version 2, the [lib]/[uuid] library + which is made available under a BSD-style license and the [lib]/[et] [and] + [lib]/[ss] libraries which are made available under an MIT-style license. + - score: '100.0' + start_line: 27 + end_line: 30 + matcher: 2-aho + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_4.RULE + license_expression: gpl-2.0 AND lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU systems, the complete text of the GNU General Public + License can be found in `/usr/share/common-licenses/GPL-2'. The + complete text of the GNU Library General Public License can be found + in '/usr/share/common-licenses/LGPL-2'. + - score: '100.0' + start_line: 38 + end_line: 45 + matcher: 2-aho + rule_length: 83 + matched_length: 83 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ntp-0.LICENSE + license_expression: ntp-0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose is hereby granted, provided that + the names of M.I.T. and the M.I.T. S.I.P.B. not be used in + advertising or publicity pertaining to distribution of the software + without specific, written prior permission. M.I.T. and the + M.I.T. S.I.P.B. make no representations about the suitability of + this software for any purpose. It is provided "as is" without + express or implied warranty. + - score: '100.0' + start_line: 49 + end_line: 73 + matcher: 2-aho + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_117.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, and the entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n 2. Redistributions\ + \ in binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. The name of the author may not be used to endorse or\ + \ promote\n products derived from this software without specific prior\n written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF\n WHICH ARE HEREBY DISCLAIMED. IN NO\ + \ EVENT SHALL THE AUTHOR BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\ + \ EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n\ + \ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS\ + \ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\ + \ OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH\n\ + \ DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libext2fs2/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libext2fs2/copyright.expected.yml index 9cf037404ae..16a70b23cf0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libext2fs2/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libext2fs2/copyright.expected.yml @@ -1,7 +1,8 @@ -- -- (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 AND lgpl-2.1) - AND ntp-0 AND bsd-new -- | +primary_license: +declared_license: +license_expression: (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 + AND lgpl-2.0) AND ntp-0 AND bsd-new +copyright: | Copyright (c) 2003-2007 Theodore Ts'o Copyright (c) 1997-2003 Yann Dirson Copyright (c) 2001 Alcove @@ -9,3 +10,103 @@ Copyright (c) 1995-1996 Michael Nonweiler Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by Theodore Ts'o Copyright 1987 by the Student Information Processing Board of the Massachusetts Institute of Technology +matches: + - score: '98.28' + start_line: 17 + end_line: 22 + matcher: 3-seq + rule_length: 58 + matched_length: 57 + match_coverage: '98.28' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_and_bsd-new_and_mit_2.RULE + license_expression: gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package, the EXT2 [filesystem] utilities, are made available under + the GNU General Public License version 2, with the exception of the + [lib]/[ext2fs] [and] [lib]/[e2p] libraries, which are made available under the + GNU Library General Public License Version 2, the [lib]/[uuid] library + which is made available under a BSD-style license and the [lib]/[et] [and] + [lib]/[ss] libraries which are made available under an MIT-style license. + - score: '100.0' + start_line: 27 + end_line: 30 + matcher: 2-aho + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_4.RULE + license_expression: gpl-2.0 AND lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU systems, the complete text of the GNU General Public + License can be found in `/usr/share/common-licenses/GPL-2'. The + complete text of the GNU Library General Public License can be found + in '/usr/share/common-licenses/LGPL-2'. + - score: '100.0' + start_line: 38 + end_line: 45 + matcher: 2-aho + rule_length: 83 + matched_length: 83 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ntp-0.LICENSE + license_expression: ntp-0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose is hereby granted, provided that + the names of M.I.T. and the M.I.T. S.I.P.B. not be used in + advertising or publicity pertaining to distribution of the software + without specific, written prior permission. M.I.T. and the + M.I.T. S.I.P.B. make no representations about the suitability of + this software for any purpose. It is provided "as is" without + express or implied warranty. + - score: '100.0' + start_line: 49 + end_line: 73 + matcher: 2-aho + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_117.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, and the entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n 2. Redistributions\ + \ in binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. The name of the author may not be used to endorse or\ + \ promote\n products derived from this software without specific prior\n written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF\n WHICH ARE HEREBY DISCLAIMED. IN NO\ + \ EVENT SHALL THE AUTHOR BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\ + \ EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n\ + \ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS\ + \ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\ + \ OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH\n\ + \ DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libffi7/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libffi7/copyright-detailed.expected.yml index f83008ab45f..612a79d5418 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libffi7/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libffi7/copyright-detailed.expected.yml @@ -1,6 +1,8 @@ -- -- mit AND gpl-2.0-plus AND gpl-1.0-plus -- | +primary_license: +declared_license: +license_expression: mit AND gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus + AND gpl-1.0-plus +copyright: | Copyright (c) 1996-2011 Red Hat, Inc. Copyright (c) 1996-2011 Anthony Green Copyright (c) 1996-2010 Free Software Foundation, Inc @@ -25,3 +27,125 @@ Copyright (c) 2008 Bjorn Konig Copyright (c) 1996-2010 Red Hat, Inc and others (c) 2008, 2011 Matthias Klose +matches: + - score: '100.0' + start_line: 42 + end_line: 59 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining\n \ + \ a copy of this software and associated documentation files (the\n ``Software''),\ + \ to deal in the Software without restriction, including\n without limitation the\ + \ rights to use, copy, modify, merge, publish,\n distribute, sublicense, and/or sell\ + \ copies of the Software, and to\n permit persons to whom the Software is furnished\ + \ to do so, subject to\n the following conditions:\n \n The above copyright notice\ + \ and this permission notice shall be included\n in all copies or substantial portions\ + \ of the Software.\n \n THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY\ + \ KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n \ + \ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n IN NO\ + \ EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\n CLAIM, DAMAGES\ + \ OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\n TORT OR OTHERWISE, ARISING\ + \ FROM, OUT OF OR IN CONNECTION WITH THE\n SOFTWARE OR THE USE OR OTHER DEALINGS IN\ + \ THE SOFTWARE." + - score: '100.0' + start_line: 62 + end_line: 66 + matcher: 2-aho + rule_length: 51 + matched_length: 51 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_35.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 2, or (at your option) any + later version. A copy of the license is included in the + section entitled ``GNU General Public License''. + - score: '100.0' + start_line: 69 + end_line: 73 + matcher: 2-aho + rule_length: 51 + matched_length: 51 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_35.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 2, or (at your option) any + later version. A copy of the license is included in the + section entitled ``GNU General Public License''. + - score: '19.35' + start_line: 75 + end_line: 76 + matcher: 3-seq + rule_length: 31 + matched_length: 6 + match_coverage: '19.35' + rule_relevance: 100 + identifier: gpl-2.0-plus_636.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + of the GNU General + Public License + - score: '100.0' + start_line: 76 + end_line: 76 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_424.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL'. + - score: '66.35' + start_line: 79 + end_line: 79 + matcher: 3-seq + rule_length: 17 + matched_length: 12 + match_coverage: '70.59' + rule_relevance: 94 + identifier: gpl_50.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libffi7/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libffi7/copyright.expected.yml index f83008ab45f..9eb2d130f50 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libffi7/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libffi7/copyright.expected.yml @@ -1,6 +1,7 @@ -- -- mit AND gpl-2.0-plus AND gpl-1.0-plus -- | +primary_license: +declared_license: +license_expression: mit AND gpl-2.0-plus AND gpl-1.0-plus +copyright: | Copyright (c) 1996-2011 Red Hat, Inc. Copyright (c) 1996-2011 Anthony Green Copyright (c) 1996-2010 Free Software Foundation, Inc @@ -25,3 +26,125 @@ Copyright (c) 2008 Bjorn Konig Copyright (c) 1996-2010 Red Hat, Inc and others (c) 2008, 2011 Matthias Klose +matches: + - score: '100.0' + start_line: 42 + end_line: 59 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining\n \ + \ a copy of this software and associated documentation files (the\n ``Software''),\ + \ to deal in the Software without restriction, including\n without limitation the\ + \ rights to use, copy, modify, merge, publish,\n distribute, sublicense, and/or sell\ + \ copies of the Software, and to\n permit persons to whom the Software is furnished\ + \ to do so, subject to\n the following conditions:\n \n The above copyright notice\ + \ and this permission notice shall be included\n in all copies or substantial portions\ + \ of the Software.\n \n THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY\ + \ KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n \ + \ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n IN NO\ + \ EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\n CLAIM, DAMAGES\ + \ OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\n TORT OR OTHERWISE, ARISING\ + \ FROM, OUT OF OR IN CONNECTION WITH THE\n SOFTWARE OR THE USE OR OTHER DEALINGS IN\ + \ THE SOFTWARE." + - score: '100.0' + start_line: 62 + end_line: 66 + matcher: 2-aho + rule_length: 51 + matched_length: 51 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_35.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 2, or (at your option) any + later version. A copy of the license is included in the + section entitled ``GNU General Public License''. + - score: '100.0' + start_line: 69 + end_line: 73 + matcher: 2-aho + rule_length: 51 + matched_length: 51 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_35.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 2, or (at your option) any + later version. A copy of the license is included in the + section entitled ``GNU General Public License''. + - score: '19.35' + start_line: 75 + end_line: 76 + matcher: 3-seq + rule_length: 31 + matched_length: 6 + match_coverage: '19.35' + rule_relevance: 100 + identifier: gpl-2.0-plus_636.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + of the GNU General + Public License + - score: '100.0' + start_line: 76 + end_line: 76 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_424.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL'. + - score: '66.35' + start_line: 79 + end_line: 79 + matcher: 3-seq + rule_length: 17 + matched_length: 12 + match_coverage: '70.59' + rule_relevance: 94 + identifier: gpl_50.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgcrypt20/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgcrypt20/copyright-detailed.expected.yml index 9dee335cce7..cff71dbdd08 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgcrypt20/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgcrypt20/copyright-detailed.expected.yml @@ -1,8 +1,12 @@ -- -- gpl-1.0-plus AND public-domain AND fsf-unlimited-no-warranty AND lgpl-2.1-plus AND gpl-2.0-plus - AND unknown-license-reference AND lgpl-2.0-plus AND ((gpl-2.0 AND lgpl-2.1-plus) AND other-permissive) - AND bsd-new AND (bsd-new OR gpl-1.0-plus) AND x11-xconsortium AND ocb-open-source-2013 -- | +primary_license: +declared_license: +license_expression: gpl-1.0-plus AND public-domain AND fsf-unlimited-no-warranty AND (lgpl-2.0-plus + AND gpl-1.0-plus) AND (gpl-1.0-plus OR lgpl-2.0-plus) AND gpl-2.0-plus AND lgpl-2.0-plus AND + lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0-plus AND ((gpl-2.0 + AND lgpl-2.1-plus) AND other-permissive) AND bsd-new AND bsd-new AND (bsd-new OR gpl-1.0-plus) + AND x11-xconsortium AND public-domain AND public-domain AND ocb-open-source-2013 AND ocb-open-source-2013 + AND gpl-2.0-plus +copyright: | Copyright (c) 1989,1991-2019 Free Software Foundation, Inc. Copyright (c) 1994 X Consortium Copyright (c) 1996 L. Peter Deutsch @@ -28,3 +32,520 @@ Copyright (c) 2012, Intel Corporation Copyright Stephan Mueller , 2013 Copyright (c) 1994 X Consortium +matches: + - score: '50.0' + start_line: 211 + end_line: 211 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 50 + identifier: gpl_bare_word_only.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL + - score: '100.0' + start_line: 218 + end_line: 218 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_311.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: public domain code + - score: '100.0' + start_line: 222 + end_line: 228 + matcher: 2-aho + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This file is free software; as a special exception the author gives\n unlimited\ + \ permission to copy and/or distribute it, with or without\n modifications, as long as\ + \ this notice is preserved.\n \n This file is distributed in the hope that it will be\ + \ useful, but\n WITHOUT ANY WARRANTY, to the extent permitted by law; without even the\n\ + \ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + - score: '96.83' + start_line: 226 + end_line: 260 + matcher: 3-seq + rule_length: 189 + matched_length: 183 + match_coverage: '96.83' + rule_relevance: 100 + identifier: lgpl-2.0-plus_and_gpl-1.0-plus_4.RULE + license_expression: lgpl-2.0-plus AND gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is distributed [in] [the] [hope] [that] [it] [will] [be] [useful], [but]\n\ + \ [WITHOUT] [ANY] [WARRANTY], [to] [the] [extent] [permitted] [by] [law]; [without] [even]\ + \ [the]\n [implied] [warranty] [of] [MERCHANTABILITY] [or] [FITNESS] [FOR] A [PARTICULAR]\ + \ [PURPOSE].\n [8X]---------------------------------------------------\n \n [License]:\n\ + \ \n [Most] [of] [the] [package] [is] [licensed] [under] the GNU Lesser General Public\n\ + \ License (LGPL) [version] [2].[1] ([or] [later]), [except] [for] [helper] [and] [debugging]\n\ + \ [binaries]. [See] [below] [for] [details]. [The] [documentation] [is] [licensed] [under]\n\ + \ [the] [GPLv2] ([or] [later]), [see] [below].\n \n [Excerpt] [from] [upstream]'s [README]:\n\ + \ \n [The] [library] [is] [distributed] [under] [the] [terms] [of] [the] [GNU] [Lesser]\n\ + \ [General] [Public] [License] ([LGPL]); see the file COPYING.LIB for the\n actual\ + \ terms. The helper programs ([e].[g]. [gcryptrnd] [and] [getrandom])\n as well as\ + \ the documentation are distributed under the terms of\n the GNU General Public License\ + \ (GPL); see the file COPYING for the\n actual terms.\n \n This library used to\ + \ be available under the GPL - this was changed\n with version 1.1.7 with the rationale\ + \ that there are now many free\n crypto libraries available and many of them come\ + \ with capabilities\n similar to Libcrypt. We decided that to foster the use of\n\ + \ cryptography in Free Software an LGPLed library would make more\n sense because\ + \ it avoids problems due to license incompatibilities\n between some Free Software\ + \ licenses and the GPL.\n \n Please note that in many cases it is better for a library\ + \ to be\n licensed under the GPL, so that it provides an advantage for free\n \ + \ software projects. The Lesser GPL is so named because it does\n less to protect\ + \ the freedom of the users of the code that it\n covers. See http://www.gnu.org/philosophy/why-not-lgpl.html\ + \ for\n more explanation." + - score: '100.0' + start_line: 233 + end_line: 234 + matcher: 2-aho + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_lgpl-2.0-plus_4.RULE + license_expression: gpl-1.0-plus OR lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Most of the package is licensed under the GNU Lesser General Public + License (LGPL) version 2.1 (or later), + - score: '50.0' + start_line: 235 + end_line: 236 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 50 + identifier: gpl-2.0-plus_813.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The documentation is licensed under + the GPLv2 (or later), + - score: '75.0' + start_line: 262 + end_line: 262 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 75 + identifier: lgpl_bare_single_word.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL + - score: '99.03' + start_line: 270 + end_line: 281 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_260.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify\n it under the\ + \ terms of the GNU Lesser General Public License as\n published by the Free Software\ + \ Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\ + \ \n [Libgcrypt] is distributed in the hope that it will be useful,\n but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR\ + \ A PARTICULAR PURPOSE. See the\n GNU Lesser General Public License for more details.\n\ + \ \n You should have received a copy of the GNU Lesser General Public\n License\ + \ along with this program; if not, see ." + - score: '100.0' + start_line: 284 + end_line: 285 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU Lesser + General Public License + - score: '50.0' + start_line: 285 + end_line: 286 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 50 + identifier: lgpl-2.0-plus_438.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + can be found in + `/usr/share/common-licenses/LGPL'; + - score: '100.0' + start_line: 288 + end_line: 288 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_85.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: licensed under the GPL + - score: '100.0' + start_line: 294 + end_line: 298 + matcher: 2-aho + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_767.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 2 of the License, or (at your + option) any later version. The text of the license can be found in the + section entitled ``GNU General Public License''. + - score: '96.97' + start_line: 306 + end_line: 308 + matcher: 2-aho + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.1-plus_and_other-permissive_1.RULE + license_expression: (gpl-2.0 AND lgpl-2.1-plus) AND other-permissive + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file contains the copying permission notices for various files in + the [Libgcrypt] distribution which are not covered by the GNU Lesser + General Public License (LGPL) or the GNU General Public License (GPL). + - score: '100.0' + start_line: 315 + end_line: 315 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_947.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: BSD_3Clause + - score: '100.0' + start_line: 330 + end_line: 357 + matcher: 2-aho + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_152.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the\n distribution.\n\ + \ \n * Neither the name of the Intel Corporation nor the names of its\n contributors\ + \ may be used to endorse or promote products derived from\n this software without\ + \ specific prior written permission.\n \n \n THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION\ + \ \"AS IS\" AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\ + \ THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION OR\n CONTRIBUTORS BE LIABLE FOR\ + \ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\n EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\ + \ BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,\ + \ OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY,\ + \ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n NEGLIGENCE OR OTHERWISE)\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS\n SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 372 + end_line: 402 + matcher: 2-aho + rule_length: 260 + matched_length: 260 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_or_gpl_2.RULE + license_expression: bsd-new OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, and the entire permission notice in its entirety, + * including the disclaimer of warranties. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. The name of the author may not be used to endorse or promote + * products derived from this software without specific prior + * written permission. + * + * ALTERNATIVELY, this product may be distributed under the terms of + * the GNU General Public License, in which case the provisions of the GPL are + * required INSTEAD OF the above restrictions. (This clause is + * necessary due to a potential bad interaction between the GPL and + * the restrictions contained in a BSD-style copyright.) + * + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF + * WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + * USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH + * DAMAGE. + - score: '100.0' + start_line: 413 + end_line: 433 + matcher: 2-aho + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\n\ + \ of this software and associated documentation files (the \"Software\"), to\n deal\ + \ in the Software without restriction, including without limitation the\n rights to\ + \ use, copy, modify, merge, publish, distribute, sublicense, and/or\n sell copies of\ + \ the Software, and to permit persons to whom the Software is\n furnished to do so,\ + \ subject to the following conditions:\n \n The above copyright notice and this permission\ + \ notice shall be included in\n all copies or substantial portions of the Software.\n\ + \ \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\ + \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS\ + \ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n X CONSORTIUM\ + \ BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN\n AN ACTION OF CONTRACT,\ + \ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-\n TION WITH THE SOFTWARE OR\ + \ THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n Except as contained in this notice,\ + \ the name of the X Consortium shall not\n be used in advertising or otherwise to promote\ + \ the sale, use or other deal-\n ings in this Software without prior written authorization\ + \ from the X Consor-\n tium." + - score: '70.0' + start_line: 436 + end_line: 436 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public domain + - score: '100.0' + start_line: 443 + end_line: 444 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_326.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licence: I hereby disclaim the copyright on this code and place it + in the public domain. + - score: '99.0' + start_line: 453 + end_line: 454 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 99 + identifier: ocb-open-source-2013_2.RULE + license_expression: ocb-open-source-2013 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + OCB is covered by several patents but may be used freely by most + software. + - score: '96.98' + start_line: 475 + end_line: 540 + matcher: 3-seq + rule_length: 597 + matched_length: 579 + match_coverage: '96.98' + rule_relevance: 100 + identifier: ocb-open-source-2013.LICENSE + license_expression: ocb-open-source-2013 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "1.1 “Licensor” means Phillip Rogaway.\n \n 1.2 “Licensed Patents” means\ + \ any patent that claims priority to United\n States Patent Application No. 09/918,615\ + \ entitled “Method and Apparatus\n for Facilitating Efficient Authenticated Encryption,”\ + \ and any utility,\n divisional, provisional, continuation, continuations-in-part, reexamination,\n\ + \ reissue, or foreign counterpart patents that may issue with respect to the\n aforesaid\ + \ patent application. This includes, but is not limited to, United\n States Patent No.\ + \ 7,046,802; United States Patent No. 7,200,227; United\n States Patent No. 7,949,129;\ + \ United States Patent No. 8,321,675 ; and any\n patent that issues out of United States\ + \ Patent Application No. 13/669,114.\n \n 1.3 “Use” means any practice of any invention\ + \ claimed in the Licensed Patents.\n \n 1.4 “Software Implementation” means any practice\ + \ of any invention\n claimed in the Licensed Patents that takes the form of software\ + \ executing on\n a [user]-[programmable], general-purpose computer or that takes the\ + \ form of a\n [computer]-[readable] medium storing such software. Software Implementation\ + \ does\n not include, for example, application-specific integrated circuits (ASICs),\n\ + \ [field]-[programmable] gate arrays (FPGAs), embedded systems, or IP cores.\n \n 1.5\ + \ “Open Source Software” means software whose source code is published\n and made available\ + \ for inspection and use by anyone because either (a) the\n source code is subject to\ + \ a license that permits recipients to copy, modify,\n and distribute the source code\ + \ without payment of fees or royalties, or\n (b) the source code is in the public domain,\ + \ including code released for\n public use through a CC0 waiver. All licenses certified\ + \ by the Open Source\n Initiative at opensource.org as of January 9, 2013 and all Creative\ + \ Commons\n licenses identified on the creativecommons.org website as of January 9,\n\ + \ 2013, including the Public License Fallback of the CC0 waiver, satisfy these\n requirements\ + \ for the purposes of this license.\n \n 1.6 “Open Source Software Implementation” means\ + \ a Software\n Implementation in which the software implicating the Licensed Patents\ + \ is\n Open Source Software. Open Source Software Implementation does not include\n \ + \ any Software Implementation in which the software implicating the Licensed\n Patents\ + \ is combined, so as to form a larger program, with software that is\n not Open Source\ + \ Software.\n \n 2 License Grant\n \n 2.1 License. Subject to your compliance with the\ + \ [term] s of this license,\n including the restriction set forth in Section 2.2, Licensor\ + \ hereby\n grants to you a perpetual, worldwide, non-exclusive, non-transferable,\n \ + \ non-sublicenseable, no-charge, royalty-free, irrevocable license to practice\n any\ + \ invention claimed in the Licensed Patents in any Open Source Software\n Implementation.\n\ + \ \n 2.2 Restriction. If you or your affiliates institute patent litigation\n (including,\ + \ but not limited to, a cross-claim or counterclaim in a lawsuit)\n against any entity\ + \ alleging that any Use authorized by this license\n infringes another patent, then any\ + \ rights granted to you under this license\n automatically terminate as of the date such\ + \ litigation is filed.\n \n 3 Disclaimer\n YOUR USE OF THE LICENSED PATENTS IS AT YOUR\ + \ OWN RISK AND UNLESS REQUIRED\n BY APPLICABLE LAW, LICENSOR MAKES NO REPRESENTATIONS\ + \ OR WARRANTIES OF ANY\n KIND CONCERNING THE LICENSED PATENTS OR ANY PRODUCT EMBODYING\ + \ ANY LICENSED\n PATENT, EXPRESS OR IMPLIED, [STATUT] [ORY] OR OTHERWISE, INCLUDING,\ + \ WITHOUT\n LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR\n\ + \ PURPOSE, OR NONINFRINGEMENT. IN NO EVENT WILL LICENSOR BE LIABLE FOR ANY\n CLAIM,\ + \ DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,\n ARISING FROM\ + \ OR RELATED TO ANY USE OF THE LICENSED PATENTS, INCLUDING,\n WITHOUT LIMITATION, DIRECT,\ + \ INDIRECT, INCIDENTAL, CONSEQUENTIAL, PUNITIVE\n OR SPECIAL DAMAGES, EVEN IF LICENSOR\ + \ HAS BEEN ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGES PRIOR TO SUCH AN OCCURRENCE." + - score: '62.5' + start_line: 545 + end_line: 546 + matcher: 3-seq + rule_length: 40 + matched_length: 25 + match_coverage: '62.5' + rule_relevance: 100 + identifier: gpl-2.0-plus_754.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the text of the GNU General Public License, + version 2 can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgcrypt20/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgcrypt20/copyright.expected.yml index 9dee335cce7..c98116a75f6 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgcrypt20/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgcrypt20/copyright.expected.yml @@ -1,8 +1,10 @@ -- -- gpl-1.0-plus AND public-domain AND fsf-unlimited-no-warranty AND lgpl-2.1-plus AND gpl-2.0-plus - AND unknown-license-reference AND lgpl-2.0-plus AND ((gpl-2.0 AND lgpl-2.1-plus) AND other-permissive) - AND bsd-new AND (bsd-new OR gpl-1.0-plus) AND x11-xconsortium AND ocb-open-source-2013 -- | +primary_license: +declared_license: +license_expression: gpl-1.0-plus AND public-domain AND fsf-unlimited-no-warranty AND (lgpl-2.0-plus + AND gpl-1.0-plus) AND (gpl-1.0-plus OR lgpl-2.0-plus) AND gpl-2.0-plus AND lgpl-2.0-plus AND + lgpl-2.1-plus AND ((gpl-2.0 AND lgpl-2.1-plus) AND other-permissive) AND bsd-new AND (bsd-new + OR gpl-1.0-plus) AND x11-xconsortium AND ocb-open-source-2013 +copyright: | Copyright (c) 1989,1991-2019 Free Software Foundation, Inc. Copyright (c) 1994 X Consortium Copyright (c) 1996 L. Peter Deutsch @@ -28,3 +30,520 @@ Copyright (c) 2012, Intel Corporation Copyright Stephan Mueller , 2013 Copyright (c) 1994 X Consortium +matches: + - score: '50.0' + start_line: 211 + end_line: 211 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 50 + identifier: gpl_bare_word_only.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL + - score: '100.0' + start_line: 218 + end_line: 218 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_311.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: public domain code + - score: '100.0' + start_line: 222 + end_line: 228 + matcher: 2-aho + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This file is free software; as a special exception the author gives\n unlimited\ + \ permission to copy and/or distribute it, with or without\n modifications, as long as\ + \ this notice is preserved.\n \n This file is distributed in the hope that it will be\ + \ useful, but\n WITHOUT ANY WARRANTY, to the extent permitted by law; without even the\n\ + \ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + - score: '96.83' + start_line: 226 + end_line: 260 + matcher: 3-seq + rule_length: 189 + matched_length: 183 + match_coverage: '96.83' + rule_relevance: 100 + identifier: lgpl-2.0-plus_and_gpl-1.0-plus_4.RULE + license_expression: lgpl-2.0-plus AND gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is distributed [in] [the] [hope] [that] [it] [will] [be] [useful], [but]\n\ + \ [WITHOUT] [ANY] [WARRANTY], [to] [the] [extent] [permitted] [by] [law]; [without] [even]\ + \ [the]\n [implied] [warranty] [of] [MERCHANTABILITY] [or] [FITNESS] [FOR] A [PARTICULAR]\ + \ [PURPOSE].\n [8X]---------------------------------------------------\n \n [License]:\n\ + \ \n [Most] [of] [the] [package] [is] [licensed] [under] the GNU Lesser General Public\n\ + \ License (LGPL) [version] [2].[1] ([or] [later]), [except] [for] [helper] [and] [debugging]\n\ + \ [binaries]. [See] [below] [for] [details]. [The] [documentation] [is] [licensed] [under]\n\ + \ [the] [GPLv2] ([or] [later]), [see] [below].\n \n [Excerpt] [from] [upstream]'s [README]:\n\ + \ \n [The] [library] [is] [distributed] [under] [the] [terms] [of] [the] [GNU] [Lesser]\n\ + \ [General] [Public] [License] ([LGPL]); see the file COPYING.LIB for the\n actual\ + \ terms. The helper programs ([e].[g]. [gcryptrnd] [and] [getrandom])\n as well as\ + \ the documentation are distributed under the terms of\n the GNU General Public License\ + \ (GPL); see the file COPYING for the\n actual terms.\n \n This library used to\ + \ be available under the GPL - this was changed\n with version 1.1.7 with the rationale\ + \ that there are now many free\n crypto libraries available and many of them come\ + \ with capabilities\n similar to Libcrypt. We decided that to foster the use of\n\ + \ cryptography in Free Software an LGPLed library would make more\n sense because\ + \ it avoids problems due to license incompatibilities\n between some Free Software\ + \ licenses and the GPL.\n \n Please note that in many cases it is better for a library\ + \ to be\n licensed under the GPL, so that it provides an advantage for free\n \ + \ software projects. The Lesser GPL is so named because it does\n less to protect\ + \ the freedom of the users of the code that it\n covers. See http://www.gnu.org/philosophy/why-not-lgpl.html\ + \ for\n more explanation." + - score: '100.0' + start_line: 233 + end_line: 234 + matcher: 2-aho + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_lgpl-2.0-plus_4.RULE + license_expression: gpl-1.0-plus OR lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Most of the package is licensed under the GNU Lesser General Public + License (LGPL) version 2.1 (or later), + - score: '50.0' + start_line: 235 + end_line: 236 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 50 + identifier: gpl-2.0-plus_813.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The documentation is licensed under + the GPLv2 (or later), + - score: '75.0' + start_line: 262 + end_line: 262 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 75 + identifier: lgpl_bare_single_word.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPL + - score: '99.03' + start_line: 270 + end_line: 281 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_260.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "is free software; you can redistribute it and/or modify\n it under the\ + \ terms of the GNU Lesser General Public License as\n published by the Free Software\ + \ Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\ + \ \n [Libgcrypt] is distributed in the hope that it will be useful,\n but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR\ + \ A PARTICULAR PURPOSE. See the\n GNU Lesser General Public License for more details.\n\ + \ \n You should have received a copy of the GNU Lesser General Public\n License\ + \ along with this program; if not, see ." + - score: '100.0' + start_line: 284 + end_line: 285 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU Lesser + General Public License + - score: '50.0' + start_line: 285 + end_line: 286 + matcher: 2-aho + rule_length: 9 + matched_length: 9 + match_coverage: '100.0' + rule_relevance: 50 + identifier: lgpl-2.0-plus_438.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + can be found in + `/usr/share/common-licenses/LGPL'; + - score: '100.0' + start_line: 288 + end_line: 288 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl_85.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: licensed under the GPL + - score: '100.0' + start_line: 294 + end_line: 298 + matcher: 2-aho + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_767.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 2 of the License, or (at your + option) any later version. The text of the license can be found in the + section entitled ``GNU General Public License''. + - score: '96.97' + start_line: 306 + end_line: 308 + matcher: 2-aho + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.1-plus_and_other-permissive_1.RULE + license_expression: (gpl-2.0 AND lgpl-2.1-plus) AND other-permissive + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file contains the copying permission notices for various files in + the [Libgcrypt] distribution which are not covered by the GNU Lesser + General Public License (LGPL) or the GNU General Public License (GPL). + - score: '100.0' + start_line: 315 + end_line: 315 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_947.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: BSD_3Clause + - score: '100.0' + start_line: 330 + end_line: 357 + matcher: 2-aho + rule_length: 209 + matched_length: 209 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_152.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the\n distribution.\n\ + \ \n * Neither the name of the Intel Corporation nor the names of its\n contributors\ + \ may be used to endorse or promote products derived from\n this software without\ + \ specific prior written permission.\n \n \n THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION\ + \ \"AS IS\" AND ANY\n EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\ + \ THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION OR\n CONTRIBUTORS BE LIABLE FOR\ + \ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\n EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\ + \ BUT NOT LIMITED TO,\n PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,\ + \ OR\n PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY,\ + \ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n NEGLIGENCE OR OTHERWISE)\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS\n SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 372 + end_line: 402 + matcher: 2-aho + rule_length: 260 + matched_length: 260 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_or_gpl_2.RULE + license_expression: bsd-new OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, and the entire permission notice in its entirety, + * including the disclaimer of warranties. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. The name of the author may not be used to endorse or promote + * products derived from this software without specific prior + * written permission. + * + * ALTERNATIVELY, this product may be distributed under the terms of + * the GNU General Public License, in which case the provisions of the GPL are + * required INSTEAD OF the above restrictions. (This clause is + * necessary due to a potential bad interaction between the GPL and + * the restrictions contained in a BSD-style copyright.) + * + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF + * WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + * USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH + * DAMAGE. + - score: '100.0' + start_line: 413 + end_line: 433 + matcher: 2-aho + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a copy\n\ + \ of this software and associated documentation files (the \"Software\"), to\n deal\ + \ in the Software without restriction, including without limitation the\n rights to\ + \ use, copy, modify, merge, publish, distribute, sublicense, and/or\n sell copies of\ + \ the Software, and to permit persons to whom the Software is\n furnished to do so,\ + \ subject to the following conditions:\n \n The above copyright notice and this permission\ + \ notice shall be included in\n all copies or substantial portions of the Software.\n\ + \ \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\ + \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS\ + \ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n X CONSORTIUM\ + \ BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN\n AN ACTION OF CONTRACT,\ + \ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-\n TION WITH THE SOFTWARE OR\ + \ THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n Except as contained in this notice,\ + \ the name of the X Consortium shall not\n be used in advertising or otherwise to promote\ + \ the sale, use or other deal-\n ings in this Software without prior written authorization\ + \ from the X Consor-\n tium." + - score: '70.0' + start_line: 436 + end_line: 436 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Public domain + - score: '100.0' + start_line: 443 + end_line: 444 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_326.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licence: I hereby disclaim the copyright on this code and place it + in the public domain. + - score: '99.0' + start_line: 453 + end_line: 454 + matcher: 2-aho + rule_length: 14 + matched_length: 14 + match_coverage: '100.0' + rule_relevance: 99 + identifier: ocb-open-source-2013_2.RULE + license_expression: ocb-open-source-2013 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + OCB is covered by several patents but may be used freely by most + software. + - score: '96.98' + start_line: 475 + end_line: 540 + matcher: 3-seq + rule_length: 597 + matched_length: 579 + match_coverage: '96.98' + rule_relevance: 100 + identifier: ocb-open-source-2013.LICENSE + license_expression: ocb-open-source-2013 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "1.1 “Licensor” means Phillip Rogaway.\n \n 1.2 “Licensed Patents” means\ + \ any patent that claims priority to United\n States Patent Application No. 09/918,615\ + \ entitled “Method and Apparatus\n for Facilitating Efficient Authenticated Encryption,”\ + \ and any utility,\n divisional, provisional, continuation, continuations-in-part, reexamination,\n\ + \ reissue, or foreign counterpart patents that may issue with respect to the\n aforesaid\ + \ patent application. This includes, but is not limited to, United\n States Patent No.\ + \ 7,046,802; United States Patent No. 7,200,227; United\n States Patent No. 7,949,129;\ + \ United States Patent No. 8,321,675 ; and any\n patent that issues out of United States\ + \ Patent Application No. 13/669,114.\n \n 1.3 “Use” means any practice of any invention\ + \ claimed in the Licensed Patents.\n \n 1.4 “Software Implementation” means any practice\ + \ of any invention\n claimed in the Licensed Patents that takes the form of software\ + \ executing on\n a [user]-[programmable], general-purpose computer or that takes the\ + \ form of a\n [computer]-[readable] medium storing such software. Software Implementation\ + \ does\n not include, for example, application-specific integrated circuits (ASICs),\n\ + \ [field]-[programmable] gate arrays (FPGAs), embedded systems, or IP cores.\n \n 1.5\ + \ “Open Source Software” means software whose source code is published\n and made available\ + \ for inspection and use by anyone because either (a) the\n source code is subject to\ + \ a license that permits recipients to copy, modify,\n and distribute the source code\ + \ without payment of fees or royalties, or\n (b) the source code is in the public domain,\ + \ including code released for\n public use through a CC0 waiver. All licenses certified\ + \ by the Open Source\n Initiative at opensource.org as of January 9, 2013 and all Creative\ + \ Commons\n licenses identified on the creativecommons.org website as of January 9,\n\ + \ 2013, including the Public License Fallback of the CC0 waiver, satisfy these\n requirements\ + \ for the purposes of this license.\n \n 1.6 “Open Source Software Implementation” means\ + \ a Software\n Implementation in which the software implicating the Licensed Patents\ + \ is\n Open Source Software. Open Source Software Implementation does not include\n \ + \ any Software Implementation in which the software implicating the Licensed\n Patents\ + \ is combined, so as to form a larger program, with software that is\n not Open Source\ + \ Software.\n \n 2 License Grant\n \n 2.1 License. Subject to your compliance with the\ + \ [term] s of this license,\n including the restriction set forth in Section 2.2, Licensor\ + \ hereby\n grants to you a perpetual, worldwide, non-exclusive, non-transferable,\n \ + \ non-sublicenseable, no-charge, royalty-free, irrevocable license to practice\n any\ + \ invention claimed in the Licensed Patents in any Open Source Software\n Implementation.\n\ + \ \n 2.2 Restriction. If you or your affiliates institute patent litigation\n (including,\ + \ but not limited to, a cross-claim or counterclaim in a lawsuit)\n against any entity\ + \ alleging that any Use authorized by this license\n infringes another patent, then any\ + \ rights granted to you under this license\n automatically terminate as of the date such\ + \ litigation is filed.\n \n 3 Disclaimer\n YOUR USE OF THE LICENSED PATENTS IS AT YOUR\ + \ OWN RISK AND UNLESS REQUIRED\n BY APPLICABLE LAW, LICENSOR MAKES NO REPRESENTATIONS\ + \ OR WARRANTIES OF ANY\n KIND CONCERNING THE LICENSED PATENTS OR ANY PRODUCT EMBODYING\ + \ ANY LICENSED\n PATENT, EXPRESS OR IMPLIED, [STATUT] [ORY] OR OTHERWISE, INCLUDING,\ + \ WITHOUT\n LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR\n\ + \ PURPOSE, OR NONINFRINGEMENT. IN NO EVENT WILL LICENSOR BE LIABLE FOR ANY\n CLAIM,\ + \ DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,\n ARISING FROM\ + \ OR RELATED TO ANY USE OF THE LICENSED PATENTS, INCLUDING,\n WITHOUT LIMITATION, DIRECT,\ + \ INDIRECT, INCIDENTAL, CONSEQUENTIAL, PUNITIVE\n OR SPECIAL DAMAGES, EVEN IF LICENSOR\ + \ HAS BEEN ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGES PRIOR TO SUCH AN OCCURRENCE." + - score: '62.5' + start_line: 545 + end_line: 546 + matcher: 3-seq + rule_length: 40 + matched_length: 25 + match_coverage: '62.5' + rule_relevance: 100 + identifier: gpl-2.0-plus_754.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the text of the GNU General Public License, + version 2 can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgmp10/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgmp10/copyright-detailed.expected.yml index b9a9bcc7e40..9c850435f31 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgmp10/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgmp10/copyright-detailed.expected.yml @@ -1,4 +1,134 @@ -- -- (lgpl-3.0-plus OR gpl-2.0-plus) AND lgpl-2.1-plus AND lgpl-3.0 AND gpl-2.0 AND gpl-3.0 AND - gfdl-1.2 AND lgpl-2.0-plus -- Copyright 1991, 1996, 1999, 2000, 2007 Free Software Foundation, Inc. +primary_license: +declared_license: +license_expression: (lgpl-3.0-plus OR gpl-2.0-plus) AND lgpl-2.1-plus AND lgpl-3.0 AND gpl-2.0 + AND gpl-3.0 AND gfdl-1.1-plus AND lgpl-2.1-plus +copyright: Copyright 1991, 1996, 1999, 2000, 2007 Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: '19' + end_line: 41 + matcher: 2-aho + rule_length: 149 + matched_length: 149 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_or_gpl-2.0-plus_8.RULE + license_expression: lgpl-3.0-plus OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The GNU MP Library is free software; you can redistribute it and/or modify\n\ + \ it under the terms of either:\n \n * the GNU Lesser General Public License as published\ + \ by the Free\n Software Foundation; either version 3 of the License, or (at your\n\ + \ option) any later version.\n \n or\n \n * the GNU General Public License as published\ + \ by the Free Software\n Foundation; either version 2 of the License, or (at your\ + \ option) any\n later version.\n \n or both in parallel, as here.\n \n The GNU MP\ + \ Library is distributed in the hope that it will be useful, but\n WITHOUT ANY WARRANTY;\ + \ without even the implied warranty of MERCHANTABILITY\n or FITNESS FOR A PARTICULAR PURPOSE.\ + \ See the GNU General Public License\n for more details.\n \n You should have received\ + \ copies of the GNU General Public License and the\n GNU Lesser General Public License\ + \ along with the GNU MP Library. If not,\n see https://www.gnu.org/licenses/." + - score: '100.0' + start_line: 44 + end_line: 44 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: The GNU Lesser General Public License + - score: '100.0' + start_line: 44 + end_line: 44 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0_41.RULE + license_expression: lgpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-3. + - score: '88.0' + start_line: 45 + end_line: 45 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 88 + identifier: gpl-2.0_1124.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: The GNU General Public License v2 text is contained in /usr/share/common-licenses/GPL-2. + - score: '88.0' + start_line: 46 + end_line: 46 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 88 + identifier: gpl-3.0_395.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: The GNU General Public License v3 text is contained in /usr/share/common-licenses/GPL-3. + - score: '100.0' + start_line: 52 + end_line: 55 + matcher: 2-aho + rule_length: 38 + matched_length: 38 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.1-plus_32.RULE + license_expression: gfdl-1.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The documentation is released under the GNU Free Documentation License + (GFDL) and it has cover texts. As such, it has been determined not to + meet the Debian Free Software Guidelines, and is not shipped in the + debian packages. + - score: '100.0' + start_line: 57 + end_line: 58 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_300.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is covered either by the LGPL, or + under the GNU General Public License /usr/share/common-licenses/GPL. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgmp10/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgmp10/copyright.expected.yml index b9a9bcc7e40..28f9adafefb 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgmp10/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgmp10/copyright.expected.yml @@ -1,4 +1,134 @@ -- -- (lgpl-3.0-plus OR gpl-2.0-plus) AND lgpl-2.1-plus AND lgpl-3.0 AND gpl-2.0 AND gpl-3.0 AND - gfdl-1.2 AND lgpl-2.0-plus -- Copyright 1991, 1996, 1999, 2000, 2007 Free Software Foundation, Inc. +primary_license: +declared_license: +license_expression: (lgpl-3.0-plus OR gpl-2.0-plus) AND lgpl-2.1-plus AND lgpl-3.0 AND gpl-2.0 + AND gpl-3.0 AND gfdl-1.1-plus +copyright: Copyright 1991, 1996, 1999, 2000, 2007 Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: '19' + end_line: 41 + matcher: 2-aho + rule_length: 149 + matched_length: 149 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_or_gpl-2.0-plus_8.RULE + license_expression: lgpl-3.0-plus OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The GNU MP Library is free software; you can redistribute it and/or modify\n\ + \ it under the terms of either:\n \n * the GNU Lesser General Public License as published\ + \ by the Free\n Software Foundation; either version 3 of the License, or (at your\n\ + \ option) any later version.\n \n or\n \n * the GNU General Public License as published\ + \ by the Free Software\n Foundation; either version 2 of the License, or (at your\ + \ option) any\n later version.\n \n or both in parallel, as here.\n \n The GNU MP\ + \ Library is distributed in the hope that it will be useful, but\n WITHOUT ANY WARRANTY;\ + \ without even the implied warranty of MERCHANTABILITY\n or FITNESS FOR A PARTICULAR PURPOSE.\ + \ See the GNU General Public License\n for more details.\n \n You should have received\ + \ copies of the GNU General Public License and the\n GNU Lesser General Public License\ + \ along with the GNU MP Library. If not,\n see https://www.gnu.org/licenses/." + - score: '100.0' + start_line: 44 + end_line: 44 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_83_1.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: The GNU Lesser General Public License + - score: '100.0' + start_line: 44 + end_line: 44 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0_41.RULE + license_expression: lgpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-3. + - score: '88.0' + start_line: 45 + end_line: 45 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 88 + identifier: gpl-2.0_1124.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: The GNU General Public License v2 text is contained in /usr/share/common-licenses/GPL-2. + - score: '88.0' + start_line: 46 + end_line: 46 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 88 + identifier: gpl-3.0_395.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: The GNU General Public License v3 text is contained in /usr/share/common-licenses/GPL-3. + - score: '100.0' + start_line: 52 + end_line: 55 + matcher: 2-aho + rule_length: 38 + matched_length: 38 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.1-plus_32.RULE + license_expression: gfdl-1.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The documentation is released under the GNU Free Documentation License + (GFDL) and it has cover texts. As such, it has been determined not to + meet the Debian Free Software Guidelines, and is not shipped in the + debian packages. + - score: '100.0' + start_line: 57 + end_line: 58 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_300.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is covered either by the LGPL, or + under the GNU General Public License /usr/share/common-licenses/GPL. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgnutls30/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgnutls30/copyright-detailed.expected.yml index b77086e6b8e..b9f27cdc350 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgnutls30/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgnutls30/copyright-detailed.expected.yml @@ -1,10 +1,28 @@ -- -- lgpl-2.1-plus AND unknown-license-reference AND gpl-1.0-plus AND gpl-3.0-plus AND lgpl-3.0-plus - AND gpl-2.0-plus AND gfdl-1.1-plus AND gfdl-1.3-plus AND (lgpl-2.1 AND gpl-2.0 AND gpl-3.0) - AND lgpl-2.0-plus AND lgpl-3.0 AND gfdl-1.3 AND gpl-3.0 AND (bsd-new OR gpl-1.0-plus) AND - bsd-simplified AND public-domain AND isc AND cc0-1.0 AND mit AND apache-2.0 AND lgpl-2.0 AND - (lgpl-3.0-plus OR gpl-2.0-plus) AND bsd-new -- | +primary_license: +declared_license: +license_expression: (lgpl-2.1-plus AND gpl-3.0-plus AND (lgpl-3.0-plus AND gpl-2.0-plus)) AND + lgpl-2.1-plus AND gpl-3.0-plus AND gfdl-1.1-plus AND gfdl-1.3-plus AND (lgpl-2.0-plus AND + lgpl-3.0 AND gpl-1.0-plus AND gpl-3.0 AND gfdl-1.3) AND lgpl-2.1-plus AND lgpl-3.0-plus AND + gpl-2.0-plus AND lgpl-3.0-plus AND gpl-2.0-plus AND lgpl-2.0-plus AND gpl-3.0 AND (bsd-new + OR gpl-1.0-plus) AND bsd-simplified AND public-domain AND isc AND cc0-1.0 AND mit AND mit + AND apache-2.0 AND (lgpl-3.0-plus AND gpl-2.0-plus) AND apache-2.0 AND apache-2.0 AND apache-2.0 + AND apache-2.0 AND apache-2.0 AND mit AND mit AND mit AND mit AND mit AND mit AND lgpl-2.1-plus + AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus AND gpl-2.0-plus) AND mit AND mit + AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus + AND gpl-2.0-plus) AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus AND gpl-2.0-plus) + AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus + AND gpl-2.0-plus) AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus AND gpl-2.0-plus) + AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus + AND gpl-2.0-plus) AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus AND gpl-2.0-plus) + AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus + AND gpl-2.0-plus) AND mit AND mit AND lgpl-2.1-plus AND (lgpl-3.0-plus AND gpl-2.0-plus) AND + (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus OR gpl-2.0-plus) AND gpl-3.0-plus AND + gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus AND lgpl-2.1-plus + AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus + AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus + AND gpl-3.0-plus AND gpl-3.0-plus AND lgpl-2.1-plus AND gpl-3.0-plus AND gpl-3.0-plus AND + gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0-plus AND bsd-new +copyright: | Copyright (c) 2000-2019 Free Software Foundation, Inc. Copyright (c) 2004-2015 Free Software Foundation, Inc. Copyright (c) 2002 Andrew McDonald @@ -82,3 +100,1880 @@ Copyright 2021 Steffen Jaeckel Copyright 2016 Thomas Klute Copyright 2009-2019, Ben Hoyt +matches: + - score: '100.0' + start_line: 221 + end_line: 233 + matcher: 2-aho + rule_length: 134 + matched_length: 134 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_and_gpl-3.0-plus_and_lgpl-3.0-plus_and_gpl-2.0-plus_2.RULE + license_expression: lgpl-2.1-plus AND gpl-3.0-plus AND (lgpl-3.0-plus AND gpl-2.0-plus) + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License: The main library is licensed under GNU Lesser\n General Public License\ + \ (LGPL) version 2.1+, Gnutls Extra (which is currently\n just the openssl wrapper library),\ + \ build system, testsuite and commandline\n utilities are licenced under the GNU General\ + \ Public License version 3+. The\n Guile bindings use the same license as the respective\ + \ underlying library,\n i.e. LGPLv2.1+ for the main library and GPLv3+ for Gnutls extra.\n\ + \ \n However to be able to use and link against libgnutls a program needs to be\n available\ + \ under a license compatible with LGPLv3+ or GPLv2+ since GnuTLS\n requires nettle which\ + \ requires GMP. GMP (>= 6.0.0) is dual licensed\n LGPLv3+ or GPLv2+. Starting with 3.5.7\ + \ libunistring is needed, too. It also\n is dual licensed LGPLv3+ or GPLv2+ (libunistring\ + \ 0.9.7 and above, earlier\n version were LGPLv3+ only.)" + - score: '100.0' + start_line: 244 + end_line: 255 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_257.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The GnuTLS is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see + - score: '98.0' + start_line: 265 + end_line: 276 + matcher: 3-seq + rule_length: 98 + matched_length: 98 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_27.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * [GnuTLS]-[extra] is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + - score: '100.0' + start_line: 280 + end_line: 281 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.1-plus_10.RULE + license_expression: gfdl-1.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Free + Documentation License ( + - score: '100.0' + start_line: 286 + end_line: 291 + matcher: 2-aho + rule_length: 60 + matched_length: 60 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU Free Documentation License, + Version 1.3 or any later version published by the Free Software + Foundation; with no Invariant Sections, no Front-Cover Texts, and + no Back-Cover Texts. A copy of the license is included in the + section entitled "GNU Free Documentation License". + - score: '100.0' + start_line: 321 + end_line: 327 + matcher: 2-aho + rule_length: 77 + matched_length: 77 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_and_lgpl-3.0_and_gpl-1.0-plus_and_gpl-3.0_and_gfdl-1.3_1.RULE + license_expression: lgpl-2.0-plus AND lgpl-3.0 AND gpl-1.0-plus AND gpl-3.0 AND gfdl-1.3 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the latest version of + the GNU Lesser General Public License can be found in + `/usr/share/common-licenses/LGPL' v3 of the license in + `/usr/share/common-licenses/LGPL-3'; the GNU General Public License can + be found in `/usr/share/common-licenses/GPL' (version 3 in + /usr/share/common-licenses/GPL-3) The GNU Free Documentation + License is available under /usr/share/common-licenses/GFDL-1.3. + - score: '100.0' + start_line: 336 + end_line: 337 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_173.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under + the GNU Lesser General Public License (LGPL) version 2.1 or later. + - score: '100.0' + start_line: 340 + end_line: 340 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_123.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: distributed under a LGPLv3+ + - score: '90.0' + start_line: 340 + end_line: 340 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-2.0-plus_bare_single_word.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GPLv2+ + - score: '5.0' + start_line: 341 + end_line: 341 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 5 + identifier: lgpl-3.0-plus_14.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPLv3+ + - score: '90.0' + start_line: 342 + end_line: 342 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-2.0-plus_bare_single_word.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GPLv2+ + - score: '100.0' + start_line: 347 + end_line: 347 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl_48.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GNU LGPL + - score: '100.0' + start_line: 349 + end_line: 349 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_379.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GNU GPL version 3. + - score: '100.0' + start_line: 370 + end_line: 402 + matcher: 2-aho + rule_length: 252 + matched_length: 252 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_or_gpl-1.0-plus_7.RULE + license_expression: bsd-new OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + # modification, are permitted provided that the following conditions + # are met: + # + # * Redistributions of source code must retain copyright notices, + # this list of conditions and the following disclaimer. + # + # * Redistributions in binary form must reproduce the above + # copyright notice, this list of conditions and the following + # disclaimer in the documentation and/or other materials + # provided with the distribution. + # + # * Neither the name of the Andy Polyakov nor the names of its + # copyright holder and contributors may be used to endorse or + # promote products derived from this software without specific + # prior written permission. + # + # ALTERNATIVELY, provided that this notice is retained in full, this + # product may be distributed under the terms of the GNU General Public + # License (GPL), in which case the provisions of the GPL apply INSTEAD OF + # those given above. + # + # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS + # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 417 + end_line: 435 + matcher: 2-aho + rule_length: 179 + matched_length: 179 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_8.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '99.0' + start_line: 446 + end_line: 447 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 99 + identifier: pypi_public_domain.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: + Public domain. + - score: '100.0' + start_line: 458 + end_line: 469 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_9.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS + * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE + * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL + * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR + * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS + * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + * SOFTWARE. + - score: '99.69' + start_line: 476 + end_line: 504 + matcher: 3-seq + rule_length: 975 + matched_length: 972 + match_coverage: '99.69' + rule_relevance: 100 + identifier: cc0-1.0_116.RULE + license_expression: cc0-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License: CC0 [license]\n Statement of Purpose\n \n The laws of most jurisdictions\ + \ throughout the world automatically confer exclusive Copyright and Related Rights (defined\ + \ below) upon the creator and subsequent owner(s) (each and all, an \"owner\") of an original\ + \ work of authorship and/or a database (each, a \"Work\").\n \n Certain owners wish\ + \ to permanently relinquish those rights to a Work for the purpose of contributing to\ + \ a commons of creative, cultural and scientific works (\"Commons\") that the public can\ + \ reliably and without fear of later claims of infringement build upon, modify, incorporate\ + \ in other works, reuse and redistribute as freely as possible in any form whatsoever\ + \ and for any purposes, including without limitation commercial purposes. These owners\ + \ may contribute to the Commons to promote the ideal of a free culture and the further\ + \ production of creative, cultural and scientific works, or to gain reputation or greater\ + \ distribution for their Work in part through the use and efforts of others.\n \n For\ + \ these and/or other purposes and motivations, and without any expectation of additional\ + \ consideration or compensation, the person associating CC0 with a Work (the \"Affirmer\"\ + ), to the extent that he or she is an owner of Copyright and Related Rights in the Work,\ + \ voluntarily elects to apply CC0 to the Work and publicly distribute the Work under its\ + \ terms, with knowledge of his or her Copyright and Related Rights in the Work and the\ + \ meaning and intended legal effect of CC0 on those rights.\n \n 1. Copyright and Related\ + \ Rights. A Work made available under CC0 may be protected by copyright and related or\ + \ neighboring rights (\"Copyright and Related Rights\"). Copyright and Related Rights\ + \ include, but are not limited to, the following:\n \n the right to reproduce, adapt,\ + \ distribute, perform, display, communicate, and translate a Work;\n moral rights\ + \ retained by the original author(s) and/or performer(s);\n publicity and privacy\ + \ rights pertaining to a person's image or likeness depicted in a Work;\n rights\ + \ protecting against unfair competition in regards to a Work, subject to the limitations\ + \ in paragraph 4(a), below;\n rights protecting the extraction, dissemination, use\ + \ and reuse of data in a Work;\n database rights (such as those arising under Directive\ + \ 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal\ + \ protection of databases, and under any national implementation thereof, including any\ + \ amended or successor version of such directive); and\n other similar, equivalent\ + \ or corresponding rights throughout the world based on applicable law or treaty, and\ + \ any national implementations thereof.\n \n 2. Waiver. To the greatest extent permitted\ + \ by, but not in contravention of, applicable law, Affirmer hereby overtly, fully, permanently,\ + \ irrevocably and unconditionally waives, abandons, and surrenders all of Affirmer's Copyright\ + \ and Related Rights and associated claims and causes of action, whether now known or\ + \ unknown (including existing as well as future claims and causes of action), in the Work\ + \ (i) in all territories worldwide, (ii) for the maximum duration provided by applicable\ + \ law or treaty (including future time extensions), (iii) in any current or future medium\ + \ and for any number of copies, and (iv) for any purpose whatsoever, including without\ + \ limitation commercial, advertising or promotional purposes (the \"Waiver\"). Affirmer\ + \ makes the Waiver for the benefit of each member of the public at large and to the detriment\ + \ of Affirmer's heirs and successors, fully intending that such Waiver shall not be subject\ + \ to revocation, rescission, cancellation, termination, or any other legal or equitable\ + \ action to disrupt the quiet enjoyment of the Work by the public as contemplated by Affirmer's\ + \ express Statement of Purpose.\n \n 3. Public License Fallback. Should any part of\ + \ the Waiver for any reason be judged legally invalid or ineffective under applicable\ + \ law, then the Waiver shall be preserved to the maximum extent permitted taking into\ + \ account Affirmer's express Statement of Purpose. In addition, to the extent the Waiver\ + \ is so judged Affirmer hereby grants to each affected person a royalty-free, non transferable,\ + \ non sublicensable, non exclusive, irrevocable and unconditional license to exercise\ + \ Affirmer's Copyright and Related Rights in the Work (i) in all territories worldwide,\ + \ (ii) for the maximum duration provided by applicable law or treaty (including future\ + \ time extensions), (iii) in any current or future medium and for any number of copies,\ + \ and (iv) for any purpose whatsoever, including without limitation commercial, advertising\ + \ or promotional purposes (the \"License\"). The License shall be deemed effective as\ + \ of the date CC0 was applied by Affirmer to the Work. Should any part of the License\ + \ for any reason be judged legally invalid or ineffective under applicable law, such partial\ + \ invalidity or ineffectiveness shall not invalidate the remainder of the License, and\ + \ in such case Affirmer hereby affirms that he or she will not (i) exercise any of his\ + \ or her remaining Copyright and Related Rights in the Work or (ii) assert any associated\ + \ claims and causes of action with respect to the Work, in either case contrary to Affirmer's\ + \ express Statement of Purpose.\n \n 4. Limitations and Disclaimers.\n \n No trademark\ + \ or patent rights held by Affirmer are waived, abandoned, surrendered, licensed or otherwise\ + \ affected by this document.\n Affirmer offers the Work as-is and makes no representations\ + \ or warranties of any kind concerning the Work, express, implied, statutory or otherwise,\ + \ including without limitation warranties of title, merchantability, fitness for a particular\ + \ purpose, non infringement, or the absence of latent or other defects, accuracy, or the\ + \ present or absence of errors, whether or not discoverable, all to the greatest extent\ + \ permissible under applicable law.\n Affirmer disclaims responsibility for clearing\ + \ rights of other persons that may apply to the Work or any use thereof, including without\ + \ limitation any person's Copyright and Related Rights in the Work. Further, Affirmer\ + \ disclaims responsibility for obtaining any necessary consents, permissions or other\ + \ rights required for any use of the Work.\n Affirmer understands and acknowledges\ + \ that Creative Commons is not a party to this document and has no duty or obligation\ + \ with respect to this CC0 or use of the Work." + - score: '100.0' + start_line: 510 + end_line: 510 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_437.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Expat' + - score: '100.0' + start_line: 511 + end_line: 527 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a\n\ + \ copy of this software and associated documentation files (the \"Software\"),\n to\ + \ deal in the Software without restriction, including without limitation\n the rights\ + \ to use, copy, modify, merge, publish, distribute, sublicense,\n and/or sell copies\ + \ of the Software, and to permit persons to whom the\n Software is furnished to do so,\ + \ subject to the following conditions:\n \n The above copyright notice and this permission\ + \ notice shall be included\n in all copies or substantial portions of the Software.\n\ + \ \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n \ + \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS\ + \ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n THE AUTHORS OR COPYRIGHT\ + \ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n OTHER LIABILITY, WHETHER IN AN ACTION\ + \ OF CONTRACT, TORT OR OTHERWISE,\n ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE\ + \ OR THE USE OR\n OTHER DEALINGS IN THE SOFTWARE." + - score: '93.16' + start_line: 533 + end_line: 548 + matcher: 3-seq + rule_length: 109 + matched_length: 109 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_922.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + [X]-[Comment]: [Written] [originally] [for] [the] [Pkcs11Interop] [project] [by]: + [Jaroslav] [IMRICH] <[jimrich]@[jimrich].[sk]> + License: Apache-2.0 + On Debian systems the complete text of the license can be found in + /usr/share/common-licenses/Apache-2.0 + - score: '22.0' + start_line: 556 + end_line: 556 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '100.0' + start_line: 564 + end_line: 566 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_921.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: Apache-2.0 + On Debian systems the complete text of the license can be found in + /usr/share/common-licenses/Apache-2.0 + - score: '100.0' + start_line: 572 + end_line: 585 + matcher: 2-aho + rule_length: 104 + matched_length: 104 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_923.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Comment: On Debian systems the complete license text is available in + /usr/share/common-licenses/Apache-2.0 + License + # Licensed under the Apache License, Version 2.0 (the "License"); + # you may not use this file except in compliance with the License. + # You may obtain a copy of the License at + # + # http://www.apache.org/licenses/LICENSE-2.0 + # + # Unless required by applicable law or agreed to in writing, software + # distributed under the License is distributed on an "AS IS" BASIS, + # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + # See the License for the specific language governing permissions and + # limitations under the License. + - score: '100.0' + start_line: 591 + end_line: 604 + matcher: 2-aho + rule_length: 104 + matched_length: 104 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_923.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Comment: On Debian systems the complete license text is available in + /usr/share/common-licenses/Apache-2.0 + License + # Licensed under the Apache License, Version 2.0 (the "License"); + # you may not use this file except in compliance with the License. + # You may obtain a copy of the License at + # + # http://www.apache.org/licenses/LICENSE-2.0 + # + # Unless required by applicable law or agreed to in writing, software + # distributed under the License is distributed on an "AS IS" BASIS, + # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + # See the License for the specific language governing permissions and + # limitations under the License. + - score: '100.0' + start_line: 610 + end_line: 611 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_919.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Comment: On Debian systems the complete license text is available in + /usr/share/common-licenses/Apache-2.0 + - score: '100.0' + start_line: 612 + end_line: 614 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_921.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: Apache-2.0 + On Debian systems the complete text of the license can be found in + /usr/share/common-licenses/Apache-2.0 + - score: '100.0' + start_line: 619 + end_line: 619 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_437.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Expat' + - score: '100.0' + start_line: 620 + end_line: 636 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 645 + end_line: 645 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_437.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Expat' + - score: '100.0' + start_line: 646 + end_line: 662 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 667 + end_line: 667 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_437.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Expat' + - score: '100.0' + start_line: 668 + end_line: 684 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + - score: '16.0' + start_line: 688 + end_line: 688 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: lgpl-2.1-plus_299.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv2.1+' + - score: '22.0' + start_line: 695 + end_line: 695 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 699 + end_line: 699 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '100.0' + start_line: 705 + end_line: 705 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_437.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Expat' + - score: '100.0' + start_line: 706 + end_line: 723 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + . + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '22.0' + start_line: 729 + end_line: 729 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 735 + end_line: 735 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 741 + end_line: 741 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 745 + end_line: 745 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 749 + end_line: 749 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 753 + end_line: 753 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 759 + end_line: 759 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 764 + end_line: 764 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 768 + end_line: 768 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 772 + end_line: 772 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 776 + end_line: 776 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 780 + end_line: 780 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 785 + end_line: 785 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 789 + end_line: 789 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 794 + end_line: 794 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 799 + end_line: 799 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 803 + end_line: 803 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 808 + end_line: 808 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '100.0' + start_line: 809 + end_line: 826 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 838 + end_line: 855 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '97.17' + start_line: 864 + end_line: 877 + matcher: 3-seq + rule_length: 106 + matched_length: 103 + match_coverage: '97.17' + rule_relevance: 100 + identifier: lgpl-2.1-plus_257.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GnuTLS. + * + * [Libgcrypt] is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * [Libgcrypt] is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, see . + - score: '22.0' + start_line: 880 + end_line: 880 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 884 + end_line: 884 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '100.0' + start_line: 885 + end_line: 907 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_or_gpl-2.0-plus_5.RULE + license_expression: lgpl-3.0-plus OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software: you can redistribute it and/or + * modify it under the terms of either: + * + * * the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 3 of the License, or (at your + * option) any later version. + * + * or + * + * * the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * or both in parallel, as here. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received copies of the GNU General Public License and + * the GNU Lesser General Public License along with this program. If + * not, see http://www.gnu.org/licenses/. + - score: '100.0' + start_line: 927 + end_line: 927 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 940 + end_line: 940 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 945 + end_line: 945 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 949 + end_line: 949 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 954 + end_line: 954 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 964 + end_line: 964 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '16.0' + start_line: 968 + end_line: 968 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: lgpl-2.1-plus_299.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv2.1+' + - score: '100.0' + start_line: 972 + end_line: 972 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 978 + end_line: 978 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 983 + end_line: 983 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 988 + end_line: 988 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 993 + end_line: 993 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 999 + end_line: 999 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1006 + end_line: 1006 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1011 + end_line: 1011 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1015 + end_line: 1015 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1019 + end_line: 1019 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1024 + end_line: 1024 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1028 + end_line: 1028 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1032 + end_line: 1032 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1036 + end_line: 1036 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '16.0' + start_line: 1040 + end_line: 1040 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: lgpl-2.1-plus_299.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv2.1+' + - score: '100.0' + start_line: 1047 + end_line: 1047 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1052 + end_line: 1052 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1056 + end_line: 1056 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1061 + end_line: 1061 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1065 + end_line: 1065 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1069 + end_line: 1069 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '98.59' + start_line: 1074 + end_line: 1097 + matcher: 3-seq + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_1007.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: BSD-3-Clause + [All] [rights] [reserved]. + . + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of Ben Hoyt nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY BEN HOYT ''AS IS'' AND ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL BEN HOYT BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgnutls30/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgnutls30/copyright.expected.yml index b77086e6b8e..20ec2608a46 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgnutls30/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgnutls30/copyright.expected.yml @@ -1,10 +1,12 @@ -- -- lgpl-2.1-plus AND unknown-license-reference AND gpl-1.0-plus AND gpl-3.0-plus AND lgpl-3.0-plus - AND gpl-2.0-plus AND gfdl-1.1-plus AND gfdl-1.3-plus AND (lgpl-2.1 AND gpl-2.0 AND gpl-3.0) - AND lgpl-2.0-plus AND lgpl-3.0 AND gfdl-1.3 AND gpl-3.0 AND (bsd-new OR gpl-1.0-plus) AND - bsd-simplified AND public-domain AND isc AND cc0-1.0 AND mit AND apache-2.0 AND lgpl-2.0 AND - (lgpl-3.0-plus OR gpl-2.0-plus) AND bsd-new -- | +primary_license: +declared_license: +license_expression: (lgpl-2.1-plus AND gpl-3.0-plus AND (lgpl-3.0-plus AND gpl-2.0-plus)) AND + lgpl-2.1-plus AND gpl-3.0-plus AND gfdl-1.1-plus AND gfdl-1.3-plus AND (lgpl-2.0-plus AND + lgpl-3.0 AND gpl-1.0-plus AND gpl-3.0 AND gfdl-1.3) AND lgpl-3.0-plus AND gpl-2.0-plus AND + lgpl-2.0-plus AND gpl-3.0 AND (bsd-new OR gpl-1.0-plus) AND bsd-simplified AND public-domain + AND isc AND cc0-1.0 AND mit AND apache-2.0 AND (lgpl-3.0-plus AND gpl-2.0-plus) AND (lgpl-3.0-plus + OR gpl-2.0-plus) AND bsd-new +copyright: | Copyright (c) 2000-2019 Free Software Foundation, Inc. Copyright (c) 2004-2015 Free Software Foundation, Inc. Copyright (c) 2002 Andrew McDonald @@ -82,3 +84,1880 @@ Copyright 2021 Steffen Jaeckel Copyright 2016 Thomas Klute Copyright 2009-2019, Ben Hoyt +matches: + - score: '100.0' + start_line: 221 + end_line: 233 + matcher: 2-aho + rule_length: 134 + matched_length: 134 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_and_gpl-3.0-plus_and_lgpl-3.0-plus_and_gpl-2.0-plus_2.RULE + license_expression: lgpl-2.1-plus AND gpl-3.0-plus AND (lgpl-3.0-plus AND gpl-2.0-plus) + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License: The main library is licensed under GNU Lesser\n General Public License\ + \ (LGPL) version 2.1+, Gnutls Extra (which is currently\n just the openssl wrapper library),\ + \ build system, testsuite and commandline\n utilities are licenced under the GNU General\ + \ Public License version 3+. The\n Guile bindings use the same license as the respective\ + \ underlying library,\n i.e. LGPLv2.1+ for the main library and GPLv3+ for Gnutls extra.\n\ + \ \n However to be able to use and link against libgnutls a program needs to be\n available\ + \ under a license compatible with LGPLv3+ or GPLv2+ since GnuTLS\n requires nettle which\ + \ requires GMP. GMP (>= 6.0.0) is dual licensed\n LGPLv3+ or GPLv2+. Starting with 3.5.7\ + \ libunistring is needed, too. It also\n is dual licensed LGPLv3+ or GPLv2+ (libunistring\ + \ 0.9.7 and above, earlier\n version were LGPLv3+ only.)" + - score: '100.0' + start_line: 244 + end_line: 255 + matcher: 2-aho + rule_length: 106 + matched_length: 106 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_257.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The GnuTLS is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see + - score: '98.0' + start_line: 265 + end_line: 276 + matcher: 3-seq + rule_length: 98 + matched_length: 98 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_27.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * [GnuTLS]-[extra] is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + - score: '100.0' + start_line: 280 + end_line: 281 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.1-plus_10.RULE + license_expression: gfdl-1.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Free + Documentation License ( + - score: '100.0' + start_line: 286 + end_line: 291 + matcher: 2-aho + rule_length: 60 + matched_length: 60 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU Free Documentation License, + Version 1.3 or any later version published by the Free Software + Foundation; with no Invariant Sections, no Front-Cover Texts, and + no Back-Cover Texts. A copy of the license is included in the + section entitled "GNU Free Documentation License". + - score: '100.0' + start_line: 321 + end_line: 327 + matcher: 2-aho + rule_length: 77 + matched_length: 77 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_and_lgpl-3.0_and_gpl-1.0-plus_and_gpl-3.0_and_gfdl-1.3_1.RULE + license_expression: lgpl-2.0-plus AND lgpl-3.0 AND gpl-1.0-plus AND gpl-3.0 AND gfdl-1.3 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the latest version of + the GNU Lesser General Public License can be found in + `/usr/share/common-licenses/LGPL' v3 of the license in + `/usr/share/common-licenses/LGPL-3'; the GNU General Public License can + be found in `/usr/share/common-licenses/GPL' (version 3 in + /usr/share/common-licenses/GPL-3) The GNU Free Documentation + License is available under /usr/share/common-licenses/GFDL-1.3. + - score: '100.0' + start_line: 336 + end_line: 337 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_173.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under + the GNU Lesser General Public License (LGPL) version 2.1 or later. + - score: '100.0' + start_line: 340 + end_line: 340 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_123.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: distributed under a LGPLv3+ + - score: '90.0' + start_line: 340 + end_line: 340 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-2.0-plus_bare_single_word.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GPLv2+ + - score: '5.0' + start_line: 341 + end_line: 341 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 5 + identifier: lgpl-3.0-plus_14.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPLv3+ + - score: '90.0' + start_line: 342 + end_line: 342 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 90 + identifier: gpl-2.0-plus_bare_single_word.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GPLv2+ + - score: '100.0' + start_line: 347 + end_line: 347 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl_48.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GNU LGPL + - score: '100.0' + start_line: 349 + end_line: 349 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_379.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GNU GPL version 3. + - score: '100.0' + start_line: 370 + end_line: 402 + matcher: 2-aho + rule_length: 252 + matched_length: 252 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_or_gpl-1.0-plus_7.RULE + license_expression: bsd-new OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + # modification, are permitted provided that the following conditions + # are met: + # + # * Redistributions of source code must retain copyright notices, + # this list of conditions and the following disclaimer. + # + # * Redistributions in binary form must reproduce the above + # copyright notice, this list of conditions and the following + # disclaimer in the documentation and/or other materials + # provided with the distribution. + # + # * Neither the name of the Andy Polyakov nor the names of its + # copyright holder and contributors may be used to endorse or + # promote products derived from this software without specific + # prior written permission. + # + # ALTERNATIVELY, provided that this notice is retained in full, this + # product may be distributed under the terms of the GNU General Public + # License (GPL), in which case the provisions of the GPL apply INSTEAD OF + # those given above. + # + # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS + # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 417 + end_line: 435 + matcher: 2-aho + rule_length: 179 + matched_length: 179 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_8.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '99.0' + start_line: 446 + end_line: 447 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 99 + identifier: pypi_public_domain.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: | + License: + Public domain. + - score: '100.0' + start_line: 458 + end_line: 469 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_9.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS + * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE + * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL + * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR + * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS + * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + * SOFTWARE. + - score: '99.69' + start_line: 476 + end_line: 504 + matcher: 3-seq + rule_length: 975 + matched_length: 972 + match_coverage: '99.69' + rule_relevance: 100 + identifier: cc0-1.0_116.RULE + license_expression: cc0-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License: CC0 [license]\n Statement of Purpose\n \n The laws of most jurisdictions\ + \ throughout the world automatically confer exclusive Copyright and Related Rights (defined\ + \ below) upon the creator and subsequent owner(s) (each and all, an \"owner\") of an original\ + \ work of authorship and/or a database (each, a \"Work\").\n \n Certain owners wish\ + \ to permanently relinquish those rights to a Work for the purpose of contributing to\ + \ a commons of creative, cultural and scientific works (\"Commons\") that the public can\ + \ reliably and without fear of later claims of infringement build upon, modify, incorporate\ + \ in other works, reuse and redistribute as freely as possible in any form whatsoever\ + \ and for any purposes, including without limitation commercial purposes. These owners\ + \ may contribute to the Commons to promote the ideal of a free culture and the further\ + \ production of creative, cultural and scientific works, or to gain reputation or greater\ + \ distribution for their Work in part through the use and efforts of others.\n \n For\ + \ these and/or other purposes and motivations, and without any expectation of additional\ + \ consideration or compensation, the person associating CC0 with a Work (the \"Affirmer\"\ + ), to the extent that he or she is an owner of Copyright and Related Rights in the Work,\ + \ voluntarily elects to apply CC0 to the Work and publicly distribute the Work under its\ + \ terms, with knowledge of his or her Copyright and Related Rights in the Work and the\ + \ meaning and intended legal effect of CC0 on those rights.\n \n 1. Copyright and Related\ + \ Rights. A Work made available under CC0 may be protected by copyright and related or\ + \ neighboring rights (\"Copyright and Related Rights\"). Copyright and Related Rights\ + \ include, but are not limited to, the following:\n \n the right to reproduce, adapt,\ + \ distribute, perform, display, communicate, and translate a Work;\n moral rights\ + \ retained by the original author(s) and/or performer(s);\n publicity and privacy\ + \ rights pertaining to a person's image or likeness depicted in a Work;\n rights\ + \ protecting against unfair competition in regards to a Work, subject to the limitations\ + \ in paragraph 4(a), below;\n rights protecting the extraction, dissemination, use\ + \ and reuse of data in a Work;\n database rights (such as those arising under Directive\ + \ 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal\ + \ protection of databases, and under any national implementation thereof, including any\ + \ amended or successor version of such directive); and\n other similar, equivalent\ + \ or corresponding rights throughout the world based on applicable law or treaty, and\ + \ any national implementations thereof.\n \n 2. Waiver. To the greatest extent permitted\ + \ by, but not in contravention of, applicable law, Affirmer hereby overtly, fully, permanently,\ + \ irrevocably and unconditionally waives, abandons, and surrenders all of Affirmer's Copyright\ + \ and Related Rights and associated claims and causes of action, whether now known or\ + \ unknown (including existing as well as future claims and causes of action), in the Work\ + \ (i) in all territories worldwide, (ii) for the maximum duration provided by applicable\ + \ law or treaty (including future time extensions), (iii) in any current or future medium\ + \ and for any number of copies, and (iv) for any purpose whatsoever, including without\ + \ limitation commercial, advertising or promotional purposes (the \"Waiver\"). Affirmer\ + \ makes the Waiver for the benefit of each member of the public at large and to the detriment\ + \ of Affirmer's heirs and successors, fully intending that such Waiver shall not be subject\ + \ to revocation, rescission, cancellation, termination, or any other legal or equitable\ + \ action to disrupt the quiet enjoyment of the Work by the public as contemplated by Affirmer's\ + \ express Statement of Purpose.\n \n 3. Public License Fallback. Should any part of\ + \ the Waiver for any reason be judged legally invalid or ineffective under applicable\ + \ law, then the Waiver shall be preserved to the maximum extent permitted taking into\ + \ account Affirmer's express Statement of Purpose. In addition, to the extent the Waiver\ + \ is so judged Affirmer hereby grants to each affected person a royalty-free, non transferable,\ + \ non sublicensable, non exclusive, irrevocable and unconditional license to exercise\ + \ Affirmer's Copyright and Related Rights in the Work (i) in all territories worldwide,\ + \ (ii) for the maximum duration provided by applicable law or treaty (including future\ + \ time extensions), (iii) in any current or future medium and for any number of copies,\ + \ and (iv) for any purpose whatsoever, including without limitation commercial, advertising\ + \ or promotional purposes (the \"License\"). The License shall be deemed effective as\ + \ of the date CC0 was applied by Affirmer to the Work. Should any part of the License\ + \ for any reason be judged legally invalid or ineffective under applicable law, such partial\ + \ invalidity or ineffectiveness shall not invalidate the remainder of the License, and\ + \ in such case Affirmer hereby affirms that he or she will not (i) exercise any of his\ + \ or her remaining Copyright and Related Rights in the Work or (ii) assert any associated\ + \ claims and causes of action with respect to the Work, in either case contrary to Affirmer's\ + \ express Statement of Purpose.\n \n 4. Limitations and Disclaimers.\n \n No trademark\ + \ or patent rights held by Affirmer are waived, abandoned, surrendered, licensed or otherwise\ + \ affected by this document.\n Affirmer offers the Work as-is and makes no representations\ + \ or warranties of any kind concerning the Work, express, implied, statutory or otherwise,\ + \ including without limitation warranties of title, merchantability, fitness for a particular\ + \ purpose, non infringement, or the absence of latent or other defects, accuracy, or the\ + \ present or absence of errors, whether or not discoverable, all to the greatest extent\ + \ permissible under applicable law.\n Affirmer disclaims responsibility for clearing\ + \ rights of other persons that may apply to the Work or any use thereof, including without\ + \ limitation any person's Copyright and Related Rights in the Work. Further, Affirmer\ + \ disclaims responsibility for obtaining any necessary consents, permissions or other\ + \ rights required for any use of the Work.\n Affirmer understands and acknowledges\ + \ that Creative Commons is not a party to this document and has no duty or obligation\ + \ with respect to this CC0 or use of the Work." + - score: '100.0' + start_line: 510 + end_line: 510 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_437.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Expat' + - score: '100.0' + start_line: 511 + end_line: 527 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person obtaining a\n\ + \ copy of this software and associated documentation files (the \"Software\"),\n to\ + \ deal in the Software without restriction, including without limitation\n the rights\ + \ to use, copy, modify, merge, publish, distribute, sublicense,\n and/or sell copies\ + \ of the Software, and to permit persons to whom the\n Software is furnished to do so,\ + \ subject to the following conditions:\n \n The above copyright notice and this permission\ + \ notice shall be included\n in all copies or substantial portions of the Software.\n\ + \ \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n \ + \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS\ + \ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n THE AUTHORS OR COPYRIGHT\ + \ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n OTHER LIABILITY, WHETHER IN AN ACTION\ + \ OF CONTRACT, TORT OR OTHERWISE,\n ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE\ + \ OR THE USE OR\n OTHER DEALINGS IN THE SOFTWARE." + - score: '93.16' + start_line: 533 + end_line: 548 + matcher: 3-seq + rule_length: 109 + matched_length: 109 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_922.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + [X]-[Comment]: [Written] [originally] [for] [the] [Pkcs11Interop] [project] [by]: + [Jaroslav] [IMRICH] <[jimrich]@[jimrich].[sk]> + License: Apache-2.0 + On Debian systems the complete text of the license can be found in + /usr/share/common-licenses/Apache-2.0 + - score: '22.0' + start_line: 556 + end_line: 556 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '100.0' + start_line: 564 + end_line: 566 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_921.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: Apache-2.0 + On Debian systems the complete text of the license can be found in + /usr/share/common-licenses/Apache-2.0 + - score: '100.0' + start_line: 572 + end_line: 585 + matcher: 2-aho + rule_length: 104 + matched_length: 104 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_923.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Comment: On Debian systems the complete license text is available in + /usr/share/common-licenses/Apache-2.0 + License + # Licensed under the Apache License, Version 2.0 (the "License"); + # you may not use this file except in compliance with the License. + # You may obtain a copy of the License at + # + # http://www.apache.org/licenses/LICENSE-2.0 + # + # Unless required by applicable law or agreed to in writing, software + # distributed under the License is distributed on an "AS IS" BASIS, + # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + # See the License for the specific language governing permissions and + # limitations under the License. + - score: '100.0' + start_line: 591 + end_line: 604 + matcher: 2-aho + rule_length: 104 + matched_length: 104 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_923.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Comment: On Debian systems the complete license text is available in + /usr/share/common-licenses/Apache-2.0 + License + # Licensed under the Apache License, Version 2.0 (the "License"); + # you may not use this file except in compliance with the License. + # You may obtain a copy of the License at + # + # http://www.apache.org/licenses/LICENSE-2.0 + # + # Unless required by applicable law or agreed to in writing, software + # distributed under the License is distributed on an "AS IS" BASIS, + # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + # See the License for the specific language governing permissions and + # limitations under the License. + - score: '100.0' + start_line: 610 + end_line: 611 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_919.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + Comment: On Debian systems the complete license text is available in + /usr/share/common-licenses/Apache-2.0 + - score: '100.0' + start_line: 612 + end_line: 614 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: apache-2.0_921.RULE + license_expression: apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: Apache-2.0 + On Debian systems the complete text of the license can be found in + /usr/share/common-licenses/Apache-2.0 + - score: '100.0' + start_line: 619 + end_line: 619 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_437.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Expat' + - score: '100.0' + start_line: 620 + end_line: 636 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 645 + end_line: 645 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_437.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Expat' + - score: '100.0' + start_line: 646 + end_line: 662 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 667 + end_line: 667 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_437.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Expat' + - score: '100.0' + start_line: 668 + end_line: 684 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + - score: '16.0' + start_line: 688 + end_line: 688 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: lgpl-2.1-plus_299.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv2.1+' + - score: '22.0' + start_line: 695 + end_line: 695 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 699 + end_line: 699 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '100.0' + start_line: 705 + end_line: 705 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_437.RULE + license_expression: mit + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Expat' + - score: '100.0' + start_line: 706 + end_line: 723 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + . + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '22.0' + start_line: 729 + end_line: 729 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 735 + end_line: 735 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 741 + end_line: 741 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 745 + end_line: 745 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 749 + end_line: 749 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 753 + end_line: 753 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 759 + end_line: 759 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 764 + end_line: 764 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 768 + end_line: 768 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 772 + end_line: 772 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 776 + end_line: 776 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 780 + end_line: 780 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 785 + end_line: 785 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 789 + end_line: 789 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 794 + end_line: 794 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 799 + end_line: 799 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 803 + end_line: 803 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 808 + end_line: 808 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '100.0' + start_line: 809 + end_line: 826 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 838 + end_line: 855 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '97.17' + start_line: 864 + end_line: 877 + matcher: 3-seq + rule_length: 106 + matched_length: 103 + match_coverage: '97.17' + rule_relevance: 100 + identifier: lgpl-2.1-plus_257.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GnuTLS. + * + * [Libgcrypt] is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * [Libgcrypt] is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, see . + - score: '22.0' + start_line: 880 + end_line: 880 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '22.0' + start_line: 884 + end_line: 884 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: lgpl-3.0_AND_gpl-3.0_4.RULE + license_expression: lgpl-3.0-plus AND gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv3+_or_GPLv2+' + - score: '100.0' + start_line: 885 + end_line: 907 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_or_gpl-2.0-plus_5.RULE + license_expression: lgpl-3.0-plus OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software: you can redistribute it and/or + * modify it under the terms of either: + * + * * the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 3 of the License, or (at your + * option) any later version. + * + * or + * + * * the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * or both in parallel, as here. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received copies of the GNU General Public License and + * the GNU Lesser General Public License along with this program. If + * not, see http://www.gnu.org/licenses/. + - score: '100.0' + start_line: 927 + end_line: 927 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 940 + end_line: 940 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 945 + end_line: 945 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 949 + end_line: 949 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 954 + end_line: 954 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 964 + end_line: 964 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '16.0' + start_line: 968 + end_line: 968 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: lgpl-2.1-plus_299.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv2.1+' + - score: '100.0' + start_line: 972 + end_line: 972 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 978 + end_line: 978 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 983 + end_line: 983 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 988 + end_line: 988 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 993 + end_line: 993 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 999 + end_line: 999 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1006 + end_line: 1006 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1011 + end_line: 1011 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1015 + end_line: 1015 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1019 + end_line: 1019 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1024 + end_line: 1024 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1028 + end_line: 1028 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1032 + end_line: 1032 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1036 + end_line: 1036 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '16.0' + start_line: 1040 + end_line: 1040 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 16 + identifier: lgpl-2.1-plus_299.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: LGPLv2.1+' + - score: '100.0' + start_line: 1047 + end_line: 1047 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1052 + end_line: 1052 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1056 + end_line: 1056 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1061 + end_line: 1061 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1065 + end_line: 1065 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '100.0' + start_line: 1069 + end_line: 1069 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_112.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: GPLv3+' + - score: '98.59' + start_line: 1074 + end_line: 1097 + matcher: 3-seq + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_1007.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + License: BSD-3-Clause + [All] [rights] [reserved]. + . + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of Ben Hoyt nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY BEN HOYT ''AS IS'' AND ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL BEN HOYT BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgpg-error0/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgpg-error0/copyright-detailed.expected.yml index 685c9514cec..0da2ee797b0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgpg-error0/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgpg-error0/copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - LGPL-2.1+ +primary_license: lgpl-2.1-plus AND lgpl-2.1 +declared_license: + - LGPL-2.1+ - LGPL-2.1+ - LGPL-2.1+ or BSD-3-clause - LGPL-2.1+ @@ -13,13 +15,12 @@ - LGPL-2.1+ - GPL-3+ - BSD-3-clause -- (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus - AND lgpl-2.1 AND lgpl-2.1) AND ((lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) - OR bsd-new) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.1-plus - AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND fsf-unlimited-no-warranty AND fsf-unlimited-no-warranty - AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus - AND lgpl-2.1 AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND fsf-unlimited-no-warranty -- | +license_expression: (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND ((lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) OR bsd-new) AND (lgpl-2.1-plus + AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND fsf-unlimited-no-warranty + AND fsf-unlimited-no-warranty AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus + AND lgpl-2.1-plus AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND fsf-unlimited-no-warranty +copyright: | 2001-2004, 2010, 2012-2018, g10 Code GmbH 2008, 2011 Free Software Foundation, Inc. 2008, 2011, 2016 g10 Code GmbH @@ -37,3 +38,192 @@ 2006, 2008, 2011 Free Software Foundation, Inc. 2008 g10 Code GmbH 2010 Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 1 + end_line: 7 + matcher: 1-hash + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; as a special exception the author gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + + This file is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY, to the extent permitted by law; without even the + implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 117 + matched_length: 117 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_37.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public License + version 2.1 can be found in /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_60.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public License + version 3 can be found in /usr/share/common-licenses/GPL-3. + - score: '100.0' + start_line: 1 + end_line: 24 + matcher: 1-hash + rule_length: 205 + matched_length: 205 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_910.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, and the entire permission notice in its entirety, + including the disclaimer of warranties. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the author may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgpg-error0/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgpg-error0/copyright.expected.yml index e334f4f966c..07dbea9932c 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgpg-error0/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgpg-error0/copyright.expected.yml @@ -1,12 +1,13 @@ -- - LGPL-2.1+ +primary_license: lgpl-2.1-plus AND lgpl-2.1 +declared_license: + - LGPL-2.1+ - LGPL-2.1+ or BSD-3-clause - g10-permissive - GPL-3+ - BSD-3-clause -- (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND ((lgpl-2.1-plus AND lgpl-2.1-plus - AND lgpl-2.1 AND lgpl-2.1) OR bsd-new) AND fsf-unlimited-no-warranty AND (gpl-3.0-plus AND - gpl-3.0-plus AND gpl-3.0) -- | +license_expression: (lgpl-2.1-plus AND lgpl-2.1) AND ((lgpl-2.1-plus AND lgpl-2.1) OR bsd-new) + AND fsf-unlimited-no-warranty AND (gpl-3.0-plus AND gpl-3.0) +copyright: | 2001-2004, 2010, 2012-2018, g10 Code GmbH 2008, 2011 Free Software Foundation, Inc. 2008, 2011, 2016 g10 Code GmbH @@ -22,3 +23,192 @@ 2005, 2013, 2015, 2016 g10 Code GmbH 2006, 2008, 2011 Free Software Foundation, Inc. 2008 g10 Code GmbH +matches: + - score: '100.0' + start_line: 1 + end_line: 7 + matcher: 1-hash + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; as a special exception the author gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + + This file is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY, to the extent permitted by law; without even the + implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 117 + matched_length: 117 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_37.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public License + version 2.1 can be found in /usr/share/common-licenses/LGPL-2.1. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_60.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public License + version 3 can be found in /usr/share/common-licenses/GPL-3. + - score: '100.0' + start_line: 1 + end_line: 24 + matcher: 1-hash + rule_length: 205 + matched_length: 205 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_910.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, and the entire permission notice in its entirety, + including the disclaimer of warranties. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the author may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgssapi-krb5-2/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgssapi-krb5-2/copyright-detailed.expected.yml index 22924e515d7..9fb5d8d7b4c 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgssapi-krb5-2/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgssapi-krb5-2/copyright-detailed.expected.yml @@ -1,12 +1,15 @@ -- -- bsd-simplified AND generic-export-compliance AND cc-by-sa-3.0 AND proprietary-license AND - other-permissive AND mit-no-advert-export-control AND brian-gladman-3-clause AND bsd-new AND - unknown-license-reference AND mit AND bsd-2-clause-views AND michigan-disclaimer AND fsf-unlimited-no-warranty - AND openldap-2.8 AND freebsd-doc AND cmu-uc AND nrl-permission AND ietf-trust AND mit-old-style - AND (mit-no-advert-export-control AND proprietary-license) AND bsd-original-uc AND bsd-original - AND isc AND rsa-md4 AND rsa-md5 AND rsa-1990 AND mit-with-modification-obligations AND (bsd-simplified - OR gpl-2.0-plus) AND (mpl-1.1 OR gpl-1.0-plus) AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: bsd-simplified AND generic-export-compliance AND cc-by-sa-3.0 AND proprietary-license + AND other-permissive AND mit-no-advert-export-control AND brian-gladman-3-clause AND bsd-new + AND mit AND bsd-2-clause-views AND mit AND bsd-new AND bsd-new AND michigan-disclaimer AND + fsf-unlimited-no-warranty AND mit-no-advert-export-control AND openldap-2.8 AND bsd-new AND + bsd-new AND bsd-new AND freebsd-doc AND cmu-uc AND nrl-permission AND ietf-trust AND mit-old-style + AND mit AND bsd-simplified AND (mit-no-advert-export-control AND proprietary-license) AND + bsd-original-uc AND mit-no-advert-export-control AND bsd-original AND mit AND isc AND isc + AND other-permissive AND bsd-new AND rsa-md4 AND rsa-md5 AND rsa-1990 AND mit-with-modification-obligations + AND bsd-new AND (bsd-simplified OR gpl-2.0-plus) AND bsd-new AND bsd-simplified +copyright: | Copyright (c) 1985-2018 by the Massachusetts Institute of Technology copyright MIT, Cygnus Support, Novell, OpenVision Technologies, Oracle, Red Hat, Sun Microsystems, FundsXpress, and others Copyright, OpenVision Technologies, Inc., 1993-1996 @@ -56,3 +59,1281 @@ Copyright (c) 2007,2008,2009 Marc Alexander Lehmann Copyright (c) 2010, Intel Corporation Copyright (c) 1998 by Danilo Almeida +matches: + - score: '100.0' + start_line: 18 + end_line: 39 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions and\ + \ the following disclaimer.\n \n * Redistributions in binary form must reproduce the above\ + \ copyright\n notice, this list of conditions and the following disclaimer in the\n\ + \ documentation and/or other materials provided with the distribution.\n \n THIS SOFTWARE\ + \ IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR\ + \ IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 41 + end_line: 52 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: generic-export-compliance_3.RULE + license_expression: generic-export-compliance + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Downloading of this software may constitute an export of cryptographic\n\ + \ software from the United States of America that is subject to the\n United States Export\ + \ Administration Regulations (EAR), 15 CFR 730-774.\n Additional laws or regulations may\ + \ apply. It is the responsibility of\n the person or entity contemplating export to comply\ + \ with all\n applicable export laws and regulations, including obtaining any\n required\ + \ license from the U.S. government.\n \n The U.S. government prohibits export of encryption\ + \ source code to\n certain countries and individuals, including, but not limited to, the\n\ + \ countries of Cuba, Iran, North Korea, Sudan, Syria, and residents and\n nationals of\ + \ those countries." + - score: '100.0' + start_line: 54 + end_line: 56 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc-by-sa-3.0_22.RULE + license_expression: cc-by-sa-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Documentation components of this software distribution are licensed + under a Creative Commons Attribution-ShareAlike 3.0 Unported License. + (http://creativecommons.org/licenses/by-sa/3.0/) + - score: '100.0' + start_line: 64 + end_line: 70 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_136.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "No commercial use of these trademarks may be made without\n prior written\ + \ permission of MIT.\n \n \"Commercial use\" means use of a name in a product or other\ + \ for-profit\n manner. It does NOT prevent a commercial firm from referring to the\n\ + \ MIT trademarks in order to convey information (although in doing so,\n recognition of\ + \ their trademark status should be given)." + - score: '100.0' + start_line: 82 + end_line: 111 + matcher: 2-aho + rule_length: 244 + matched_length: 244 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_80.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "WARNING: Retrieving the OpenVision Kerberos Administration system\n source\ + \ code, as described below, indicates your acceptance of the\n following terms. If\ + \ you do not agree to the following terms, do\n not retrieve the OpenVision Kerberos\ + \ administration system.\n \n You may freely use and distribute the Source Code and\ + \ Object Code\n compiled from it, with or without modification, but this Source\n \ + \ Code is provided to you \"AS IS\" EXCLUSIVE OF ANY WARRANTY,\n INCLUDING, WITHOUT\ + \ LIMITATION, ANY WARRANTIES OF MERCHANTABILITY OR\n FITNESS FOR A PARTICULAR PURPOSE,\ + \ OR ANY OTHER WARRANTY, WHETHER\n EXPRESS OR IMPLIED. IN NO EVENT WILL OPENVISION\ + \ HAVE ANY LIABILITY\n FOR ANY LOST PROFITS, LOSS OF DATA OR COSTS OF PROCUREMENT OF\n\ + \ SUBSTITUTE GOODS OR SERVICES, OR FOR ANY SPECIAL, INDIRECT, OR\n CONSEQUENTIAL\ + \ DAMAGES ARISING OUT OF THIS AGREEMENT, INCLUDING,\n WITHOUT LIMITATION, THOSE RESULTING\ + \ FROM THE USE OF THE SOURCE\n CODE, OR THE FAILURE OF THE SOURCE CODE TO PERFORM,\ + \ OR FOR ANY\n OTHER REASON.\n \n OpenVision retains all copyrights in the donated\ + \ Source Code.\n OpenVision also retains copyright to derivative works of the Source\n\ + \ Code, whether created by OpenVision or by a third party. The\n OpenVision copyright\ + \ notice must be preserved if derivative works\n are made based on the donated Source\ + \ Code.\n \n OpenVision Technologies, Inc. has donated this Kerberos\n Administration\ + \ system to MIT for inclusion in the standard Kerberos\n 5 distribution. This donation\ + \ underscores our commitment to\n continuing Kerberos technology development and our\ + \ gratitude for\n the valuable work which has been performed by MIT and the Kerberos\n\ + \ community." + - score: '98.73' + start_line: 128 + end_line: 146 + matcher: 2-aho + rule_length: 155 + matched_length: 155 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_1.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government.\n It is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of [FundsXpress]. not be used in advertising or\ + \ publicity\n pertaining to distribution of the software without specific,\n written\ + \ prior permission. [FundsXpress] makes no representations\n about the suitability\ + \ of this software for any purpose. It is\n provided \"as is\" without express or\ + \ implied warranty.\n \n THIS SOFTWARE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS\ + \ OR\n IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 156 + end_line: 175 + matcher: 2-aho + rule_length: 116 + matched_length: 116 + match_coverage: '100.0' + rule_relevance: 100 + identifier: brian-gladman-3-clause_2.RULE + license_expression: brian-gladman-3-clause + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "LICENSE TERMS\n \n The free distribution and use of this software in both\ + \ source and\n binary form is allowed (with or without changes) provided that:\n \n\ + \ 1. distributions of this source code include the above copyright\n notice,\ + \ this list of conditions and the following disclaimer;\n \n 2. distributions in binary\ + \ form include the above copyright notice,\n this list of conditions and the following\ + \ disclaimer in the\n documentation and/or other associated materials;\n \n 3.\ + \ the copyright holder's name is not used to endorse products\n built using this\ + \ software without specific written permission.\n \n DISCLAIMER\n \n This software\ + \ is provided 'as is' with no explcit or implied\n warranties in respect of any properties,\ + \ including, but not limited\n to, correctness and fitness for purpose." + - score: '100.0' + start_line: 187 + end_line: 214 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_587.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n * Neither the name of Red Hat, Inc., nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT\ + \ HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n \ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER\ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 222 + end_line: 240 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT\n HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n \ + \ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN\ + \ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n DEALINGS IN THE SOFTWARE." + - score: '85.71' + start_line: 248 + end_line: 276 + matcher: 3-seq + rule_length: 217 + matched_length: 186 + match_coverage: '85.71' + rule_relevance: 100 + identifier: bsd-2-clause-freebsd_9.RULE + license_expression: bsd-2-clause-views + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer.\n \n 2. Redistributions in binary form\ + \ must reproduce the above\n copyright notice, this list of conditions and the\ + \ following\n disclaimer in the documentation and/or other materials\n \ + \ provided with the distribution.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT\ + \ HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n \ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER\ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n \n ======================================================================\n\ + \ \n The" + - score: '100.0' + start_line: 334 + end_line: 352 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE." + - score: '100.0' + start_line: 363 + end_line: 390 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE REGENTS\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 400 + end_line: 427 + matcher: 2-aho + rule_length: 204 + matched_length: 204 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_588.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n * The copyright holder's name is not used to endorse or promote\n products\ + \ derived from this software without specific prior\n written permission.\n \n \ + \ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\"\ + \ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\ + \ IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING,\ + \ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA,\ + \ OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 440 + end_line: 459 + matcher: 2-aho + rule_length: 186 + matched_length: 186 + match_coverage: '100.0' + rule_relevance: 100 + identifier: michigan-disclaimer.LICENSE + license_expression: michigan-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to use, copy, create derivative works and\n redistribute\ + \ this software and such derivative works for any\n purpose, so long as the name of\ + \ The University of Michigan is not\n used in any advertising or publicity pertaining\ + \ to the use of\n distribution of this software without specific, written prior\n \ + \ authorization. If the above copyright notice or any other\n identification of\ + \ the University of Michigan is included in any\n copy of any portion of this software,\ + \ then the disclaimer below\n must also be included.\n \n THIS SOFTWARE IS PROVIDED\ + \ AS IS, WITHOUT REPRESENTATION FROM THE\n UNIVERSITY OF MICHIGAN AS TO ITS FITNESS\ + \ FOR ANY PURPOSE, AND\n WITHOUT WARRANTY BY THE UNIVERSITY OF MICHIGAN OF ANY KIND,\ + \ EITHER\n EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\n THE REGENTS OF THE UNIVERSITY\ + \ OF MICHIGAN SHALL NOT BE LIABLE FOR\n ANY DAMAGES, INCLUDING SPECIAL, INDIRECT, INCIDENTAL,\ + \ OR\n CONSEQUENTIAL DAMAGES, WITH RESPECT TO ANY CLAIM ARISING OUT OF OR\n IN CONNECTION\ + \ WITH THE USE OF THE SOFTWARE, EVEN IF IT HAS BEEN OR\n IS HEREAFTER ADVISED OF THE\ + \ POSSIBILITY OF SUCH DAMAGES." + - score: '100.0' + start_line: 469 + end_line: 476 + matcher: 2-aho + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This file is free software; as a special exception the author gives\n \ + \ unlimited permission to copy and/or distribute it, with or without\n modifications,\ + \ as long as this notice is preserved.\n \n This file is distributed in the hope that\ + \ it will be useful, but\n WITHOUT ANY WARRANTY, to the extent permitted by law; without\ + \ even\n the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n PURPOSE." + - score: '100.0' + start_line: 485 + end_line: 503 + matcher: 2-aho + rule_length: 159 + matched_length: 159 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_2.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government.\n It is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of Apple Inc. not be used in advertising or publicity\n\ + \ pertaining to distribution of the software without specific,\n written prior permission.\ + \ Apple Inc. makes no representations\n about the suitability of this software for\ + \ any purpose. It is\n provided \"as is\" without express or implied warranty.\n \n\ + \ THIS SOFTWARE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS OR\n IMPLIED WARRANTIES,\ + \ INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES OF MERCHANTIBILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 511 + end_line: 558 + matcher: 2-aho + rule_length: 328 + matched_length: 328 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openldap-2.8.LICENSE + license_expression: openldap-2.8 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The OpenLDAP Public License\n Version 2.8, 17 August 2003\n \n Redistribution\ + \ and use of this software and associated\n documentation (\"Software\"), with or without\ + \ modification, are\n permitted provided that the following conditions are met:\n \n\ + \ 1. Redistributions in source form must retain copyright statements\n and notices,\n\ + \ \n 2. Redistributions in binary form must reproduce applicable\n copyright\ + \ statements and notices, this list of conditions, and\n the following disclaimer\ + \ in the documentation and/or other\n materials provided with the distribution,\ + \ and\n \n 3. Redistributions must contain a verbatim copy of this document.\n \n \ + \ The OpenLDAP Foundation may revise this license from time to time.\n Each revision\ + \ is distinguished by a version number. You may use\n this Software under terms of\ + \ this license revision or under the\n terms of any subsequent revision of the license.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE OPENLDAP FOUNDATION AND ITS\n CONTRIBUTORS\ + \ \"AS IS\" AND ANY EXPRESSED OR IMPLIED WARRANTIES,\n INCLUDING, BUT NOT LIMITED TO,\ + \ THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL THE OPENLDAP FOUNDATION, ITS\n CONTRIBUTORS,\ + \ OR THE AUTHOR(S) OR OWNER(S) OF THE SOFTWARE BE\n LIABLE FOR ANY DIRECT, INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\ + \ OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER\ + \ IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING\ + \ IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF SUCH\n DAMAGE.\n \n The names of the authors and copyright holders must not\ + \ be used in\n advertising or otherwise to promote the sale, use or other dealing\n\ + \ in this Software without specific, written prior permission. Title\n to copyright\ + \ in this Software shall at all times remain with\n copyright holders.\n \n OpenLDAP\ + \ is a registered trademark of the OpenLDAP Foundation.\n \n Copyright 1999-2003 The\ + \ OpenLDAP Foundation, Redwood City,\n California, USA. All Rights Reserved. Permission\ + \ to copy and\n distribute verbatim copies of this document is granted." + - score: '100.0' + start_line: 568 + end_line: 595 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_933.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of KTH nor the names of its contributors may be\n used\ + \ to endorse or promote products derived from this software\n without specific prior\ + \ written permission.\n \n THIS SOFTWARE IS PROVIDED BY KTH AND ITS CONTRIBUTORS \"\ + AS IS\" AND\n ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\n \ + \ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n PARTICULAR PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL KTH OR ITS\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\ + \ BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n USE,\ + \ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF\ + \ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 608 + end_line: 636 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_151.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer.\n \n 2. Redistributions in binary form must\ + \ reproduce the above\n copyright notice, this list of conditions and the following\n\ + \ disclaimer in the documentation and/or other materials provided\n with the\ + \ distribution.\n \n 3. Neither the name of the Institute nor the names of its\n \ + \ contributors may be used to endorse or promote products derived\n from this\ + \ software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE INSTITUTE AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A\n PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE\n \ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 647 + end_line: 675 + matcher: 2-aho + rule_length: 217 + matched_length: 217 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_589.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the \"Oracle America, Inc.\" nor the names of\n its\ + \ contributors may be used to endorse or promote products\n derived from this software\ + \ without specific prior written\n permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n \ + \ COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\ + \ OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n\ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 682 + end_line: 705 + matcher: 2-aho + rule_length: 185 + matched_length: 185 + match_coverage: '100.0' + rule_relevance: 100 + identifier: freebsd-doc_5.RULE + license_expression: freebsd-doc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer as\n the first lines of this file unmodified.\n \n\ + \ 2. Redistributions in binary form must reproduce the above\n copyright notice,\ + \ this list of conditions and the following\n disclaimer in the documentation and/or\ + \ other materials provided\n with the distribution.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY NTT \"AS IS\" AND ANY EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING, BUT NOT LIMITED\ + \ TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL NTT BE LIABLE FOR ANY DIRECT,\n INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS;\ + \ OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER\ + \ IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n \ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '99.0' + start_line: 713 + end_line: 729 + matcher: 2-aho + rule_length: 143 + matched_length: 143 + match_coverage: '100.0' + rule_relevance: 99 + identifier: cmu-uc_12.RULE + license_expression: cmu-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software and\n its\ + \ documentation for any purpose and without fee is hereby\n granted, provided that\ + \ the above copyright notice appear in all\n copies and that both that copyright notice\ + \ and this permission\n notice appear in supporting documentation, and that the name\ + \ of\n Carnegie Mellon University not be used in advertising or publicity\n pertaining\ + \ to distribution of the software without specific,\n written prior permission.\n \n\ + \ CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO\n THIS SOFTWARE,\ + \ INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS, IN NO EVENT SHALL\ + \ CARNEGIE MELLON UNIVERSITY BE LIABLE\n FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL\ + \ DAMAGES OR ANY DAMAGES\n WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,\ + \ WHETHER IN\n AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING\n\ + \ OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS\n SOFTWARE." + - score: '95.0' + start_line: 735 + end_line: 743 + matcher: 2-aho + rule_length: 71 + matched_length: 71 + match_coverage: '100.0' + rule_relevance: 95 + identifier: nrl-permission_1.RULE + license_expression: nrl-permission + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify and distribute this software and\n its\ + \ documentation is hereby granted, provided that both the\n copyright notice and this\ + \ permission notice appear in all copies of\n the software, derivative works or modified\ + \ versions, and any\n portions thereof.\n \n NRL ALLOWS FREE USE OF THIS SOFTWARE\ + \ IN ITS \"AS IS\" CONDITION AND\n DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES\ + \ WHATSOEVER\n RESULTING FROM THE USE OF THIS SOFTWARE." + - score: '100.0' + start_line: 752 + end_line: 763 + matcher: 2-aho + rule_length: 99 + matched_length: 99 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ietf-trust_10.RULE + license_expression: ietf-trust + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This document is subject to the rights, licenses and restrictions\n contained\ + \ in BCP 78, and except as set forth therein, the authors\n retain all their rights.\n\ + \ \n This document and the information contained herein are provided on\n an \"\ + AS IS\" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE\n REPRESENTS OR IS SPONSORED\ + \ BY (IF ANY), THE INTERNET SOCIETY AND\n THE INTERNET ENGINEERING TASK FORCE DISCLAIM\ + \ ALL WARRANTIES,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT\n\ + \ THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR\n ANY IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A\n PARTICULAR PURPOSE." + - score: '100.0' + start_line: 769 + end_line: 776 + matcher: 2-aho + rule_length: 69 + matched_length: 69 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style_11.RULE + license_expression: mit-old-style + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose and without fee is hereby + granted, provided that the above copyright notice appear in all + copies and that both that copyright notice and this permission + notice appear in supporting documentation. Cygnus Support makes no + representations about the suitability of this software for any + purpose. It is provided "as is" without express or implied + warranty. + - score: '100.0' + start_line: 782 + end_line: 800 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE." + - score: '100.0' + start_line: 810 + end_line: 833 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS \"AS IS\"\n AND ANY\ + \ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED\n TO, THE IMPLIED WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A\n PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\ + \ EVENT SHALL THE AUTHOR OR\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO,\ + \ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n USE, DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN\ + \ CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING\ + \ IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 837 + end_line: 856 + matcher: 2-aho + rule_length: 165 + matched_length: 165 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_and_proprietary-license_1.RULE + license_expression: mit-no-advert-export-control AND proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "EXPORT OF THIS SOFTWARE from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to copy, modify, and distribute\n\ + \ this software and its documentation in source and binary forms is\n hereby granted,\ + \ provided that any documentation or other materials\n related to such distribution\ + \ or use acknowledge that the software\n was developed by the University of Southern\ + \ California.\n \n DISCLAIMER OF WARRANTY. THIS SOFTWARE IS PROVIDED \"AS IS\". The\n\ + \ University of Southern California MAKES NO REPRESENTATIONS OR\n WARRANTIES, EXPRESS\ + \ OR IMPLIED. By way of example, but not\n limitation, the University of Southern\ + \ California MAKES NO\n REPRESENTATIONS OR WARRANTIES OF MERCHANTABILITY OR FITNESS\ + \ FOR ANY\n PARTICULAR PURPOSE. The University of Southern California shall not\n \ + \ be held liable for any liability nor for any direct, indirect, or\n consequential\ + \ damages with respect to any claim by the user or\n distributor of the ksu software." + - score: '100.0' + start_line: 866 + end_line: 899 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. All advertising materials mentioning features or use of this\n software\ + \ must display the following acknowledgement:\n \n This product includes software\ + \ developed by the University of\n California, Berkeley and its contributors.\n\ + \ \n 4. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE REGENTS\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '99.0' + start_line: 907 + end_line: 922 + matcher: 2-aho + rule_length: 145 + matched_length: 145 + match_coverage: '100.0' + rule_relevance: 99 + identifier: mit-no-advert-export-control_4.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of Richard P. Basch, Lehman Brothers and M.I.T.\ + \ not be\n used in advertising or publicity pertaining to distribution of the\n \ + \ software without specific, written prior permission. Richard P.\n Basch, Lehman\ + \ Brothers and M.I.T. make no representations about the\n suitability of this software\ + \ for any purpose. It is provided \"as\n is\" without express or implied warranty." + - score: '100.0' + start_line: 934 + end_line: 968 + matcher: 2-aho + rule_length: 245 + matched_length: 245 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original_32.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. All advertising materials mentioning features or use of this\n software\ + \ must display the following acknowledgement:\n \n This product includes software\ + \ developed by the NetBSD\n Foundation, Inc. and its contributors.\n \n 4.\ + \ Neither the name of The NetBSD Foundation nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION,\ + \ INC. AND\n CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES,\n INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR A\ + \ PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS\ + \ BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\ + \ ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF SUCH\n DAMAGE." + - score: '100.0' + start_line: 978 + end_line: 996 + matcher: 2-aho + rule_length: 165 + matched_length: 165 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_483.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE COMPUTING\ + \ RESEARCH LAB OR\n NEW MEXICO STATE UNIVERSITY BE LIABLE FOR ANY CLAIM, DAMAGES OR\n\ + \ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n OTHERWISE, ARISING\ + \ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE\n OR THE USE OR OTHER DEALINGS IN\ + \ THE SOFTWARE." + - score: '100.0' + start_line: 1004 + end_line: 1016 + matcher: 2-aho + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for\n any\ + \ purpose with or without fee is hereby granted, provided that\n the above copyright\ + \ notice and this permission notice appear in all\n copies.\n \n THE SOFTWARE IS\ + \ PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL\n WARRANTIES WITH REGARD TO THIS\ + \ SOFTWARE INCLUDING ALL IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO\ + \ EVENT SHALL THE\n AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR\n CONSEQUENTIAL\ + \ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS\n OF USE, DATA OR PROFITS,\ + \ WHETHER IN AN ACTION OF CONTRACT,\n NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING\ + \ OUT OF OR IN\n CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE." + - score: '95.0' + start_line: 1025 + end_line: 1037 + matcher: 2-aho + rule_length: 131 + matched_length: 131 + match_coverage: '100.0' + rule_relevance: 95 + identifier: isc_16.RULE + license_expression: isc + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for + any purpose with or without fee is hereby granted, provided that + the above copyright notice and this permission notice appear in all + copies. THE SOFTWARE IS PROVIDED "AS IS" AND THEODORE TS'O (THE + AUTHOR) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN + NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER + RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION + OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR + IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. (Isn't + it sick that the U.S. culture of lawsuit-happy lawyers requires + this kind of disclaimer?) + - score: '100.0' + start_line: 1046 + end_line: 1047 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_22.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be freely redistributed without license or fee + provided this copyright message remains intact. + - score: '100.0' + start_line: 1060 + end_line: 1087 + matcher: 2-aho + rule_length: 208 + matched_length: 208 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_134.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED \"AS IS\" AND ANY\ + \ EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO\ + \ EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n\ + \ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS\ + \ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\ + \ OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH\n \ + \ DAMAGE." + - score: '100.0' + start_line: 1096 + end_line: 1112 + matcher: 2-aho + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-md4.LICENSE + license_expression: rsa-md4 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License to copy and use this software is granted provided that it\n is\ + \ identified as the \"RSA Data Security, Inc. MD4 Message Digest\n Algorithm\" in all\ + \ material mentioning or referencing this software\n or this function.\n \n License\ + \ is also granted to make and use derivative works provided\n that such works are identified\ + \ as \"derived from the RSA Data\n Security, Inc. MD4 Message Digest Algorithm\" in\ + \ all material\n mentioning or referencing the derived work.\n \n RSA Data Security,\ + \ Inc. makes no representations concerning either\n the merchantability of this software\ + \ or the suitability of this\n software for any particular purpose. It is provided\ + \ \"as is\"\n without express or implied warranty of any kind.\n \n These notices\ + \ must be retained in any copies of any part of this\n documentation and/or software." + - score: '100.0' + start_line: 1121 + end_line: 1137 + matcher: 2-aho + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-md5.LICENSE + license_expression: rsa-md5 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License to copy and use this software is granted provided that it\n is\ + \ identified as the \"RSA Data Security, Inc. MD5 Message- Digest\n Algorithm\" in\ + \ all material mentioning or referencing this software\n or this function.\n \n \ + \ License is also granted to make and use derivative works provided\n that such works\ + \ are identified as \"derived from the RSA Data\n Security, Inc. MD5 Message-Digest\ + \ Algorithm\" in all material\n mentioning or referencing the derived work.\n \n \ + \ RSA Data Security, Inc. makes no representations concerning either\n the merchantability\ + \ of this software or the suitability of this\n software for any particular purpose.\ + \ It is provided \"as is\"\n without express or implied warranty of any kind.\n \n\ + \ These notices must be retained in any copies of any part of this\n documentation\ + \ and/or software." + - score: '100.0' + start_line: 1147 + end_line: 1153 + matcher: 2-aho + rule_length: 54 + matched_length: 54 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-1990.LICENSE + license_expression: rsa-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "RSA Data Security, Inc. makes no representations concerning either\n the\ + \ merchantability of this software or the suitability of this\n software for any particular\ + \ purpose. It is provided \"as is\" without\n express or implied warranty of any kind.\n\ + \ \n These notices must be retained in any copies of any part of this\n documentation\ + \ and/or software." + - score: '100.0' + start_line: 1163 + end_line: 1181 + matcher: 2-aho + rule_length: 177 + matched_length: 177 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-with-modification-obligations_2.RULE + license_expression: mit-with-modification-obligations + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of M.I.T. not be used in advertising or publicity\n\ + \ pertaining to distribution of the software without specific,\n written prior permission.\ + \ Furthermore if you modify this software\n you must label your software as modified\ + \ software and not\n distribute it in such a fashion that it might be confused with\ + \ the\n original M.I.T. software. Neither M.I.T., the Open Computing\n Security\ + \ Group, nor CyberSAFE Corporation make any representations\n about the suitability\ + \ of this software for any purpose. It is\n provided \"as is\" without express or\ + \ implied warranty." + - score: '100.0' + start_line: 1190 + end_line: 1217 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_590.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of PADL Software nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY PADL SOFTWARE\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL PADL SOFTWARE\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1226 + end_line: 1264 + matcher: 2-aho + rule_length: 335 + matched_length: 335 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_or_gpl-2.0-plus_7.RULE + license_expression: bsd-simplified OR gpl-2.0-plus + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS\ + \ IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE\ + \ DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\ + \ ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON\ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n \n Alternatively, the contents\ + \ of this package may be used under the\n terms of the GNU General Public License (\"\ + GPL\") version 2 or any\n later version, in which case the provisions of the GPL are\n\ + \ applicable instead of the above. If you wish to allow the use of\n your version\ + \ of this package only under the terms of the GPL and\n not to allow others to use\ + \ your version of this file under the BSD\n license, indicate your decision by deleting\ + \ the provisions above\n and replace them with the notice and other provisions required\ + \ by\n the GPL in this and the other files of this package. If you do not\n delete\ + \ the provisions above, a recipient may use your version of\n this file under either\ + \ the BSD or the GPL.\n \n On Debian systems, the complete text of the GNU General\ + \ Public License\n version 2 can be found in `/usr/share/common-licenses/GPL-2'." + - score: '100.0' + start_line: 1274 + end_line: 1302 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-intel_4.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials\n provided with\ + \ the distribution.\n \n * Neither the name of Intel Corporation nor the names of\ + \ its\n contributors may be used to endorse or promote products\n derived\ + \ from this software without specific prior written\n permission.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY\ + \ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\ + \ EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR\ + \ PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 1311 + end_line: 1334 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS\ + \ IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE\ + \ DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\ + \ ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON\ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgssapi-krb5-2/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgssapi-krb5-2/copyright.expected.yml index 22924e515d7..1df017652bd 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgssapi-krb5-2/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libgssapi-krb5-2/copyright.expected.yml @@ -1,12 +1,12 @@ -- -- bsd-simplified AND generic-export-compliance AND cc-by-sa-3.0 AND proprietary-license AND - other-permissive AND mit-no-advert-export-control AND brian-gladman-3-clause AND bsd-new AND - unknown-license-reference AND mit AND bsd-2-clause-views AND michigan-disclaimer AND fsf-unlimited-no-warranty - AND openldap-2.8 AND freebsd-doc AND cmu-uc AND nrl-permission AND ietf-trust AND mit-old-style - AND (mit-no-advert-export-control AND proprietary-license) AND bsd-original-uc AND bsd-original - AND isc AND rsa-md4 AND rsa-md5 AND rsa-1990 AND mit-with-modification-obligations AND (bsd-simplified - OR gpl-2.0-plus) AND (mpl-1.1 OR gpl-1.0-plus) AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: bsd-simplified AND generic-export-compliance AND cc-by-sa-3.0 AND proprietary-license + AND other-permissive AND mit-no-advert-export-control AND brian-gladman-3-clause AND bsd-new + AND mit AND bsd-2-clause-views AND michigan-disclaimer AND fsf-unlimited-no-warranty AND openldap-2.8 + AND freebsd-doc AND cmu-uc AND nrl-permission AND ietf-trust AND mit-old-style AND (mit-no-advert-export-control + AND proprietary-license) AND bsd-original-uc AND bsd-original AND isc AND rsa-md4 AND rsa-md5 + AND rsa-1990 AND mit-with-modification-obligations AND (bsd-simplified OR gpl-2.0-plus) +copyright: | Copyright (c) 1985-2018 by the Massachusetts Institute of Technology copyright MIT, Cygnus Support, Novell, OpenVision Technologies, Oracle, Red Hat, Sun Microsystems, FundsXpress, and others Copyright, OpenVision Technologies, Inc., 1993-1996 @@ -56,3 +56,1281 @@ Copyright (c) 2007,2008,2009 Marc Alexander Lehmann Copyright (c) 2010, Intel Corporation Copyright (c) 1998 by Danilo Almeida +matches: + - score: '100.0' + start_line: 18 + end_line: 39 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions and\ + \ the following disclaimer.\n \n * Redistributions in binary form must reproduce the above\ + \ copyright\n notice, this list of conditions and the following disclaimer in the\n\ + \ documentation and/or other materials provided with the distribution.\n \n THIS SOFTWARE\ + \ IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR\ + \ IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 41 + end_line: 52 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: generic-export-compliance_3.RULE + license_expression: generic-export-compliance + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Downloading of this software may constitute an export of cryptographic\n\ + \ software from the United States of America that is subject to the\n United States Export\ + \ Administration Regulations (EAR), 15 CFR 730-774.\n Additional laws or regulations may\ + \ apply. It is the responsibility of\n the person or entity contemplating export to comply\ + \ with all\n applicable export laws and regulations, including obtaining any\n required\ + \ license from the U.S. government.\n \n The U.S. government prohibits export of encryption\ + \ source code to\n certain countries and individuals, including, but not limited to, the\n\ + \ countries of Cuba, Iran, North Korea, Sudan, Syria, and residents and\n nationals of\ + \ those countries." + - score: '100.0' + start_line: 54 + end_line: 56 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc-by-sa-3.0_22.RULE + license_expression: cc-by-sa-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Documentation components of this software distribution are licensed + under a Creative Commons Attribution-ShareAlike 3.0 Unported License. + (http://creativecommons.org/licenses/by-sa/3.0/) + - score: '100.0' + start_line: 64 + end_line: 70 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_136.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "No commercial use of these trademarks may be made without\n prior written\ + \ permission of MIT.\n \n \"Commercial use\" means use of a name in a product or other\ + \ for-profit\n manner. It does NOT prevent a commercial firm from referring to the\n\ + \ MIT trademarks in order to convey information (although in doing so,\n recognition of\ + \ their trademark status should be given)." + - score: '100.0' + start_line: 82 + end_line: 111 + matcher: 2-aho + rule_length: 244 + matched_length: 244 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_80.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "WARNING: Retrieving the OpenVision Kerberos Administration system\n source\ + \ code, as described below, indicates your acceptance of the\n following terms. If\ + \ you do not agree to the following terms, do\n not retrieve the OpenVision Kerberos\ + \ administration system.\n \n You may freely use and distribute the Source Code and\ + \ Object Code\n compiled from it, with or without modification, but this Source\n \ + \ Code is provided to you \"AS IS\" EXCLUSIVE OF ANY WARRANTY,\n INCLUDING, WITHOUT\ + \ LIMITATION, ANY WARRANTIES OF MERCHANTABILITY OR\n FITNESS FOR A PARTICULAR PURPOSE,\ + \ OR ANY OTHER WARRANTY, WHETHER\n EXPRESS OR IMPLIED. IN NO EVENT WILL OPENVISION\ + \ HAVE ANY LIABILITY\n FOR ANY LOST PROFITS, LOSS OF DATA OR COSTS OF PROCUREMENT OF\n\ + \ SUBSTITUTE GOODS OR SERVICES, OR FOR ANY SPECIAL, INDIRECT, OR\n CONSEQUENTIAL\ + \ DAMAGES ARISING OUT OF THIS AGREEMENT, INCLUDING,\n WITHOUT LIMITATION, THOSE RESULTING\ + \ FROM THE USE OF THE SOURCE\n CODE, OR THE FAILURE OF THE SOURCE CODE TO PERFORM,\ + \ OR FOR ANY\n OTHER REASON.\n \n OpenVision retains all copyrights in the donated\ + \ Source Code.\n OpenVision also retains copyright to derivative works of the Source\n\ + \ Code, whether created by OpenVision or by a third party. The\n OpenVision copyright\ + \ notice must be preserved if derivative works\n are made based on the donated Source\ + \ Code.\n \n OpenVision Technologies, Inc. has donated this Kerberos\n Administration\ + \ system to MIT for inclusion in the standard Kerberos\n 5 distribution. This donation\ + \ underscores our commitment to\n continuing Kerberos technology development and our\ + \ gratitude for\n the valuable work which has been performed by MIT and the Kerberos\n\ + \ community." + - score: '98.73' + start_line: 128 + end_line: 146 + matcher: 2-aho + rule_length: 155 + matched_length: 155 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_1.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government.\n It is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of [FundsXpress]. not be used in advertising or\ + \ publicity\n pertaining to distribution of the software without specific,\n written\ + \ prior permission. [FundsXpress] makes no representations\n about the suitability\ + \ of this software for any purpose. It is\n provided \"as is\" without express or\ + \ implied warranty.\n \n THIS SOFTWARE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS\ + \ OR\n IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 156 + end_line: 175 + matcher: 2-aho + rule_length: 116 + matched_length: 116 + match_coverage: '100.0' + rule_relevance: 100 + identifier: brian-gladman-3-clause_2.RULE + license_expression: brian-gladman-3-clause + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "LICENSE TERMS\n \n The free distribution and use of this software in both\ + \ source and\n binary form is allowed (with or without changes) provided that:\n \n\ + \ 1. distributions of this source code include the above copyright\n notice,\ + \ this list of conditions and the following disclaimer;\n \n 2. distributions in binary\ + \ form include the above copyright notice,\n this list of conditions and the following\ + \ disclaimer in the\n documentation and/or other associated materials;\n \n 3.\ + \ the copyright holder's name is not used to endorse products\n built using this\ + \ software without specific written permission.\n \n DISCLAIMER\n \n This software\ + \ is provided 'as is' with no explcit or implied\n warranties in respect of any properties,\ + \ including, but not limited\n to, correctness and fitness for purpose." + - score: '100.0' + start_line: 187 + end_line: 214 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_587.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n * Neither the name of Red Hat, Inc., nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT\ + \ HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n \ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER\ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 222 + end_line: 240 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT\n HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n \ + \ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN\ + \ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n DEALINGS IN THE SOFTWARE." + - score: '85.71' + start_line: 248 + end_line: 276 + matcher: 3-seq + rule_length: 217 + matched_length: 186 + match_coverage: '85.71' + rule_relevance: 100 + identifier: bsd-2-clause-freebsd_9.RULE + license_expression: bsd-2-clause-views + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer.\n \n 2. Redistributions in binary form\ + \ must reproduce the above\n copyright notice, this list of conditions and the\ + \ following\n disclaimer in the documentation and/or other materials\n \ + \ provided with the distribution.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT\ + \ HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n \ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER\ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n \n ======================================================================\n\ + \ \n The" + - score: '100.0' + start_line: 334 + end_line: 352 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE." + - score: '100.0' + start_line: 363 + end_line: 390 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE REGENTS\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 400 + end_line: 427 + matcher: 2-aho + rule_length: 204 + matched_length: 204 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_588.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n * The copyright holder's name is not used to endorse or promote\n products\ + \ derived from this software without specific prior\n written permission.\n \n \ + \ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\"\ + \ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\ + \ IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING,\ + \ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA,\ + \ OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 440 + end_line: 459 + matcher: 2-aho + rule_length: 186 + matched_length: 186 + match_coverage: '100.0' + rule_relevance: 100 + identifier: michigan-disclaimer.LICENSE + license_expression: michigan-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to use, copy, create derivative works and\n redistribute\ + \ this software and such derivative works for any\n purpose, so long as the name of\ + \ The University of Michigan is not\n used in any advertising or publicity pertaining\ + \ to the use of\n distribution of this software without specific, written prior\n \ + \ authorization. If the above copyright notice or any other\n identification of\ + \ the University of Michigan is included in any\n copy of any portion of this software,\ + \ then the disclaimer below\n must also be included.\n \n THIS SOFTWARE IS PROVIDED\ + \ AS IS, WITHOUT REPRESENTATION FROM THE\n UNIVERSITY OF MICHIGAN AS TO ITS FITNESS\ + \ FOR ANY PURPOSE, AND\n WITHOUT WARRANTY BY THE UNIVERSITY OF MICHIGAN OF ANY KIND,\ + \ EITHER\n EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\n THE REGENTS OF THE UNIVERSITY\ + \ OF MICHIGAN SHALL NOT BE LIABLE FOR\n ANY DAMAGES, INCLUDING SPECIAL, INDIRECT, INCIDENTAL,\ + \ OR\n CONSEQUENTIAL DAMAGES, WITH RESPECT TO ANY CLAIM ARISING OUT OF OR\n IN CONNECTION\ + \ WITH THE USE OF THE SOFTWARE, EVEN IF IT HAS BEEN OR\n IS HEREAFTER ADVISED OF THE\ + \ POSSIBILITY OF SUCH DAMAGES." + - score: '100.0' + start_line: 469 + end_line: 476 + matcher: 2-aho + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This file is free software; as a special exception the author gives\n \ + \ unlimited permission to copy and/or distribute it, with or without\n modifications,\ + \ as long as this notice is preserved.\n \n This file is distributed in the hope that\ + \ it will be useful, but\n WITHOUT ANY WARRANTY, to the extent permitted by law; without\ + \ even\n the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n PURPOSE." + - score: '100.0' + start_line: 485 + end_line: 503 + matcher: 2-aho + rule_length: 159 + matched_length: 159 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_2.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government.\n It is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of Apple Inc. not be used in advertising or publicity\n\ + \ pertaining to distribution of the software without specific,\n written prior permission.\ + \ Apple Inc. makes no representations\n about the suitability of this software for\ + \ any purpose. It is\n provided \"as is\" without express or implied warranty.\n \n\ + \ THIS SOFTWARE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS OR\n IMPLIED WARRANTIES,\ + \ INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES OF MERCHANTIBILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 511 + end_line: 558 + matcher: 2-aho + rule_length: 328 + matched_length: 328 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openldap-2.8.LICENSE + license_expression: openldap-2.8 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The OpenLDAP Public License\n Version 2.8, 17 August 2003\n \n Redistribution\ + \ and use of this software and associated\n documentation (\"Software\"), with or without\ + \ modification, are\n permitted provided that the following conditions are met:\n \n\ + \ 1. Redistributions in source form must retain copyright statements\n and notices,\n\ + \ \n 2. Redistributions in binary form must reproduce applicable\n copyright\ + \ statements and notices, this list of conditions, and\n the following disclaimer\ + \ in the documentation and/or other\n materials provided with the distribution,\ + \ and\n \n 3. Redistributions must contain a verbatim copy of this document.\n \n \ + \ The OpenLDAP Foundation may revise this license from time to time.\n Each revision\ + \ is distinguished by a version number. You may use\n this Software under terms of\ + \ this license revision or under the\n terms of any subsequent revision of the license.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE OPENLDAP FOUNDATION AND ITS\n CONTRIBUTORS\ + \ \"AS IS\" AND ANY EXPRESSED OR IMPLIED WARRANTIES,\n INCLUDING, BUT NOT LIMITED TO,\ + \ THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL THE OPENLDAP FOUNDATION, ITS\n CONTRIBUTORS,\ + \ OR THE AUTHOR(S) OR OWNER(S) OF THE SOFTWARE BE\n LIABLE FOR ANY DIRECT, INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\ + \ OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER\ + \ IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING\ + \ IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF SUCH\n DAMAGE.\n \n The names of the authors and copyright holders must not\ + \ be used in\n advertising or otherwise to promote the sale, use or other dealing\n\ + \ in this Software without specific, written prior permission. Title\n to copyright\ + \ in this Software shall at all times remain with\n copyright holders.\n \n OpenLDAP\ + \ is a registered trademark of the OpenLDAP Foundation.\n \n Copyright 1999-2003 The\ + \ OpenLDAP Foundation, Redwood City,\n California, USA. All Rights Reserved. Permission\ + \ to copy and\n distribute verbatim copies of this document is granted." + - score: '100.0' + start_line: 568 + end_line: 595 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_933.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of KTH nor the names of its contributors may be\n used\ + \ to endorse or promote products derived from this software\n without specific prior\ + \ written permission.\n \n THIS SOFTWARE IS PROVIDED BY KTH AND ITS CONTRIBUTORS \"\ + AS IS\" AND\n ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\n \ + \ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n PARTICULAR PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL KTH OR ITS\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\ + \ BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n USE,\ + \ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF\ + \ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 608 + end_line: 636 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_151.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer.\n \n 2. Redistributions in binary form must\ + \ reproduce the above\n copyright notice, this list of conditions and the following\n\ + \ disclaimer in the documentation and/or other materials provided\n with the\ + \ distribution.\n \n 3. Neither the name of the Institute nor the names of its\n \ + \ contributors may be used to endorse or promote products derived\n from this\ + \ software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE INSTITUTE AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A\n PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE\n \ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 647 + end_line: 675 + matcher: 2-aho + rule_length: 217 + matched_length: 217 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_589.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the \"Oracle America, Inc.\" nor the names of\n its\ + \ contributors may be used to endorse or promote products\n derived from this software\ + \ without specific prior written\n permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n \ + \ COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\ + \ OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n\ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 682 + end_line: 705 + matcher: 2-aho + rule_length: 185 + matched_length: 185 + match_coverage: '100.0' + rule_relevance: 100 + identifier: freebsd-doc_5.RULE + license_expression: freebsd-doc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer as\n the first lines of this file unmodified.\n \n\ + \ 2. Redistributions in binary form must reproduce the above\n copyright notice,\ + \ this list of conditions and the following\n disclaimer in the documentation and/or\ + \ other materials provided\n with the distribution.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY NTT \"AS IS\" AND ANY EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING, BUT NOT LIMITED\ + \ TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL NTT BE LIABLE FOR ANY DIRECT,\n INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS;\ + \ OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER\ + \ IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n \ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '99.0' + start_line: 713 + end_line: 729 + matcher: 2-aho + rule_length: 143 + matched_length: 143 + match_coverage: '100.0' + rule_relevance: 99 + identifier: cmu-uc_12.RULE + license_expression: cmu-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software and\n its\ + \ documentation for any purpose and without fee is hereby\n granted, provided that\ + \ the above copyright notice appear in all\n copies and that both that copyright notice\ + \ and this permission\n notice appear in supporting documentation, and that the name\ + \ of\n Carnegie Mellon University not be used in advertising or publicity\n pertaining\ + \ to distribution of the software without specific,\n written prior permission.\n \n\ + \ CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO\n THIS SOFTWARE,\ + \ INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS, IN NO EVENT SHALL\ + \ CARNEGIE MELLON UNIVERSITY BE LIABLE\n FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL\ + \ DAMAGES OR ANY DAMAGES\n WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,\ + \ WHETHER IN\n AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING\n\ + \ OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS\n SOFTWARE." + - score: '95.0' + start_line: 735 + end_line: 743 + matcher: 2-aho + rule_length: 71 + matched_length: 71 + match_coverage: '100.0' + rule_relevance: 95 + identifier: nrl-permission_1.RULE + license_expression: nrl-permission + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify and distribute this software and\n its\ + \ documentation is hereby granted, provided that both the\n copyright notice and this\ + \ permission notice appear in all copies of\n the software, derivative works or modified\ + \ versions, and any\n portions thereof.\n \n NRL ALLOWS FREE USE OF THIS SOFTWARE\ + \ IN ITS \"AS IS\" CONDITION AND\n DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES\ + \ WHATSOEVER\n RESULTING FROM THE USE OF THIS SOFTWARE." + - score: '100.0' + start_line: 752 + end_line: 763 + matcher: 2-aho + rule_length: 99 + matched_length: 99 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ietf-trust_10.RULE + license_expression: ietf-trust + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This document is subject to the rights, licenses and restrictions\n contained\ + \ in BCP 78, and except as set forth therein, the authors\n retain all their rights.\n\ + \ \n This document and the information contained herein are provided on\n an \"\ + AS IS\" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE\n REPRESENTS OR IS SPONSORED\ + \ BY (IF ANY), THE INTERNET SOCIETY AND\n THE INTERNET ENGINEERING TASK FORCE DISCLAIM\ + \ ALL WARRANTIES,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT\n\ + \ THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR\n ANY IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A\n PARTICULAR PURPOSE." + - score: '100.0' + start_line: 769 + end_line: 776 + matcher: 2-aho + rule_length: 69 + matched_length: 69 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style_11.RULE + license_expression: mit-old-style + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose and without fee is hereby + granted, provided that the above copyright notice appear in all + copies and that both that copyright notice and this permission + notice appear in supporting documentation. Cygnus Support makes no + representations about the suitability of this software for any + purpose. It is provided "as is" without express or implied + warranty. + - score: '100.0' + start_line: 782 + end_line: 800 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE." + - score: '100.0' + start_line: 810 + end_line: 833 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS \"AS IS\"\n AND ANY\ + \ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED\n TO, THE IMPLIED WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A\n PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\ + \ EVENT SHALL THE AUTHOR OR\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO,\ + \ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n USE, DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN\ + \ CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING\ + \ IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 837 + end_line: 856 + matcher: 2-aho + rule_length: 165 + matched_length: 165 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_and_proprietary-license_1.RULE + license_expression: mit-no-advert-export-control AND proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "EXPORT OF THIS SOFTWARE from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to copy, modify, and distribute\n\ + \ this software and its documentation in source and binary forms is\n hereby granted,\ + \ provided that any documentation or other materials\n related to such distribution\ + \ or use acknowledge that the software\n was developed by the University of Southern\ + \ California.\n \n DISCLAIMER OF WARRANTY. THIS SOFTWARE IS PROVIDED \"AS IS\". The\n\ + \ University of Southern California MAKES NO REPRESENTATIONS OR\n WARRANTIES, EXPRESS\ + \ OR IMPLIED. By way of example, but not\n limitation, the University of Southern\ + \ California MAKES NO\n REPRESENTATIONS OR WARRANTIES OF MERCHANTABILITY OR FITNESS\ + \ FOR ANY\n PARTICULAR PURPOSE. The University of Southern California shall not\n \ + \ be held liable for any liability nor for any direct, indirect, or\n consequential\ + \ damages with respect to any claim by the user or\n distributor of the ksu software." + - score: '100.0' + start_line: 866 + end_line: 899 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. All advertising materials mentioning features or use of this\n software\ + \ must display the following acknowledgement:\n \n This product includes software\ + \ developed by the University of\n California, Berkeley and its contributors.\n\ + \ \n 4. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE REGENTS\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '99.0' + start_line: 907 + end_line: 922 + matcher: 2-aho + rule_length: 145 + matched_length: 145 + match_coverage: '100.0' + rule_relevance: 99 + identifier: mit-no-advert-export-control_4.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of Richard P. Basch, Lehman Brothers and M.I.T.\ + \ not be\n used in advertising or publicity pertaining to distribution of the\n \ + \ software without specific, written prior permission. Richard P.\n Basch, Lehman\ + \ Brothers and M.I.T. make no representations about the\n suitability of this software\ + \ for any purpose. It is provided \"as\n is\" without express or implied warranty." + - score: '100.0' + start_line: 934 + end_line: 968 + matcher: 2-aho + rule_length: 245 + matched_length: 245 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original_32.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. All advertising materials mentioning features or use of this\n software\ + \ must display the following acknowledgement:\n \n This product includes software\ + \ developed by the NetBSD\n Foundation, Inc. and its contributors.\n \n 4.\ + \ Neither the name of The NetBSD Foundation nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION,\ + \ INC. AND\n CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES,\n INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR A\ + \ PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS\ + \ BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\ + \ ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF SUCH\n DAMAGE." + - score: '100.0' + start_line: 978 + end_line: 996 + matcher: 2-aho + rule_length: 165 + matched_length: 165 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_483.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE COMPUTING\ + \ RESEARCH LAB OR\n NEW MEXICO STATE UNIVERSITY BE LIABLE FOR ANY CLAIM, DAMAGES OR\n\ + \ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n OTHERWISE, ARISING\ + \ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE\n OR THE USE OR OTHER DEALINGS IN\ + \ THE SOFTWARE." + - score: '100.0' + start_line: 1004 + end_line: 1016 + matcher: 2-aho + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for\n any\ + \ purpose with or without fee is hereby granted, provided that\n the above copyright\ + \ notice and this permission notice appear in all\n copies.\n \n THE SOFTWARE IS\ + \ PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL\n WARRANTIES WITH REGARD TO THIS\ + \ SOFTWARE INCLUDING ALL IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO\ + \ EVENT SHALL THE\n AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR\n CONSEQUENTIAL\ + \ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS\n OF USE, DATA OR PROFITS,\ + \ WHETHER IN AN ACTION OF CONTRACT,\n NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING\ + \ OUT OF OR IN\n CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE." + - score: '95.0' + start_line: 1025 + end_line: 1037 + matcher: 2-aho + rule_length: 131 + matched_length: 131 + match_coverage: '100.0' + rule_relevance: 95 + identifier: isc_16.RULE + license_expression: isc + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for + any purpose with or without fee is hereby granted, provided that + the above copyright notice and this permission notice appear in all + copies. THE SOFTWARE IS PROVIDED "AS IS" AND THEODORE TS'O (THE + AUTHOR) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN + NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER + RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION + OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR + IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. (Isn't + it sick that the U.S. culture of lawsuit-happy lawyers requires + this kind of disclaimer?) + - score: '100.0' + start_line: 1046 + end_line: 1047 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_22.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be freely redistributed without license or fee + provided this copyright message remains intact. + - score: '100.0' + start_line: 1060 + end_line: 1087 + matcher: 2-aho + rule_length: 208 + matched_length: 208 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_134.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED \"AS IS\" AND ANY\ + \ EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO\ + \ EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n\ + \ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS\ + \ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\ + \ OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH\n \ + \ DAMAGE." + - score: '100.0' + start_line: 1096 + end_line: 1112 + matcher: 2-aho + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-md4.LICENSE + license_expression: rsa-md4 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License to copy and use this software is granted provided that it\n is\ + \ identified as the \"RSA Data Security, Inc. MD4 Message Digest\n Algorithm\" in all\ + \ material mentioning or referencing this software\n or this function.\n \n License\ + \ is also granted to make and use derivative works provided\n that such works are identified\ + \ as \"derived from the RSA Data\n Security, Inc. MD4 Message Digest Algorithm\" in\ + \ all material\n mentioning or referencing the derived work.\n \n RSA Data Security,\ + \ Inc. makes no representations concerning either\n the merchantability of this software\ + \ or the suitability of this\n software for any particular purpose. It is provided\ + \ \"as is\"\n without express or implied warranty of any kind.\n \n These notices\ + \ must be retained in any copies of any part of this\n documentation and/or software." + - score: '100.0' + start_line: 1121 + end_line: 1137 + matcher: 2-aho + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-md5.LICENSE + license_expression: rsa-md5 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License to copy and use this software is granted provided that it\n is\ + \ identified as the \"RSA Data Security, Inc. MD5 Message- Digest\n Algorithm\" in\ + \ all material mentioning or referencing this software\n or this function.\n \n \ + \ License is also granted to make and use derivative works provided\n that such works\ + \ are identified as \"derived from the RSA Data\n Security, Inc. MD5 Message-Digest\ + \ Algorithm\" in all material\n mentioning or referencing the derived work.\n \n \ + \ RSA Data Security, Inc. makes no representations concerning either\n the merchantability\ + \ of this software or the suitability of this\n software for any particular purpose.\ + \ It is provided \"as is\"\n without express or implied warranty of any kind.\n \n\ + \ These notices must be retained in any copies of any part of this\n documentation\ + \ and/or software." + - score: '100.0' + start_line: 1147 + end_line: 1153 + matcher: 2-aho + rule_length: 54 + matched_length: 54 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-1990.LICENSE + license_expression: rsa-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "RSA Data Security, Inc. makes no representations concerning either\n the\ + \ merchantability of this software or the suitability of this\n software for any particular\ + \ purpose. It is provided \"as is\" without\n express or implied warranty of any kind.\n\ + \ \n These notices must be retained in any copies of any part of this\n documentation\ + \ and/or software." + - score: '100.0' + start_line: 1163 + end_line: 1181 + matcher: 2-aho + rule_length: 177 + matched_length: 177 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-with-modification-obligations_2.RULE + license_expression: mit-with-modification-obligations + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of M.I.T. not be used in advertising or publicity\n\ + \ pertaining to distribution of the software without specific,\n written prior permission.\ + \ Furthermore if you modify this software\n you must label your software as modified\ + \ software and not\n distribute it in such a fashion that it might be confused with\ + \ the\n original M.I.T. software. Neither M.I.T., the Open Computing\n Security\ + \ Group, nor CyberSAFE Corporation make any representations\n about the suitability\ + \ of this software for any purpose. It is\n provided \"as is\" without express or\ + \ implied warranty." + - score: '100.0' + start_line: 1190 + end_line: 1217 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_590.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of PADL Software nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY PADL SOFTWARE\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL PADL SOFTWARE\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1226 + end_line: 1264 + matcher: 2-aho + rule_length: 335 + matched_length: 335 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_or_gpl-2.0-plus_7.RULE + license_expression: bsd-simplified OR gpl-2.0-plus + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS\ + \ IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE\ + \ DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\ + \ ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON\ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n \n Alternatively, the contents\ + \ of this package may be used under the\n terms of the GNU General Public License (\"\ + GPL\") version 2 or any\n later version, in which case the provisions of the GPL are\n\ + \ applicable instead of the above. If you wish to allow the use of\n your version\ + \ of this package only under the terms of the GPL and\n not to allow others to use\ + \ your version of this file under the BSD\n license, indicate your decision by deleting\ + \ the provisions above\n and replace them with the notice and other provisions required\ + \ by\n the GPL in this and the other files of this package. If you do not\n delete\ + \ the provisions above, a recipient may use your version of\n this file under either\ + \ the BSD or the GPL.\n \n On Debian systems, the complete text of the GNU General\ + \ Public License\n version 2 can be found in `/usr/share/common-licenses/GPL-2'." + - score: '100.0' + start_line: 1274 + end_line: 1302 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-intel_4.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials\n provided with\ + \ the distribution.\n \n * Neither the name of Intel Corporation nor the names of\ + \ its\n contributors may be used to endorse or promote products\n derived\ + \ from this software without specific prior written\n permission.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY\ + \ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\ + \ EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR\ + \ PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 1311 + end_line: 1334 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS\ + \ IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE\ + \ DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\ + \ ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON\ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libhogweed6/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libhogweed6/copyright-detailed.expected.yml index 921835fc161..710505c86b8 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libhogweed6/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libhogweed6/copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - LGPL-3+ or GPL-2+ +primary_license: lgpl-3.0-plus OR gpl-2.0-plus +declared_license: + - LGPL-3+ or GPL-2+ - LGPL-3+ or GPL-2+ - LGPL-3+ or GPL-2+ - LGPL-3+ or GPL-2+ @@ -69,9 +71,10 @@ - LGPL-3+ - GPL-2+ - Expat -- ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus - AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) - OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus +license_expression: ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND + ((lgpl-3.0-plus OR gpl-2.0-plus) AND (other-permissive AND public-domain) AND public-domain + AND lgpl-2.0-plus AND mit AND public-domain AND public-domain AND public-domain AND public-domain + AND public-domain AND lgpl-2.0-plus) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) @@ -87,15 +90,15 @@ AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) - OR (gpl-2.0-plus AND gpl-2.0-plus)) AND (lgpl-2.0-plus AND gpl-2.0-plus AND lgpl-2.0 AND lgpl-2.0) - AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus - AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) + AND (lgpl-2.0-plus AND gpl-2.0-plus AND lgpl-2.0) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR + (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND + gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus - AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND mit AND ((lgpl-3.0-plus AND lgpl-3.0-plus) + AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus - AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) + AND gpl-2.0-plus)) AND mit AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus @@ -116,11 +119,13 @@ AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) - AND (gpl-3.0-plus AND gpl-3.0-plus WITH tex-exception) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) - OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus - AND gpl-2.0-plus)) AND (gpl-2.0-plus AND gpl-2.0-plus) AND autoconf-simple-exception-2.0 AND - unknown-license-reference AND (gpl-2.0 AND gpl-2.0) AND fsf-ap -- | + AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus + AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND (gpl-3.0-plus AND gpl-3.0-plus + WITH tex-exception) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) + AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND (gpl-2.0-plus + AND gpl-2.0-plus) AND autoconf-simple-exception-2.0 AND public-domain AND (gpl-2.0 AND gpl-2.0) + AND fsf-ap +copyright: | © 2001-2020 Niels Möller Some parts are Copyright © the Free Software Foundation and various people. See below and source code comments for details. @@ -248,3 +253,541 @@ 2002 Timshel Knoll 2007 Magnus Holmgren 2007 Magnus Holmgren +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '97.81' + start_line: 1 + end_line: 17 + matcher: 3-seq + rule_length: 137 + matched_length: 134 + match_coverage: '97.81' + rule_relevance: 100 + identifier: gpl-2.0-plus_28.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU [Library] General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU [Library] General Public License for more details. + + You should have received a copy of the GNU [Library] General Public License + along with this [program]; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian GNU/Linux systems, the complete text of the GNU [Library] + General Public License, [version] [2], can be found in + /usr/share/common-licenses/ + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_71.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Library + General Public License, version 2, + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 137 + matched_length: 137 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_tex-exception_5.RULE + license_expression: gpl-3.0-plus WITH tex-exception + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This texinfo.tex file is free software: you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This texinfo.tex file is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + As a special exception, when this file is read by TeX when processing + a Texinfo source document, you may use the result without + restriction. (This has been our intent since Texinfo was invented.) + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: autoconf-simple-exception-2.0.LICENSE + license_expression: autoconf-simple-exception-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception to the GNU General Public License, if you + distribute this file as part of a program that contains a + configuration script generated by Autoconf, you may include it under + the same distribution terms that you use for the rest of that program. + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: public-domain_354.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + I believe that most files in debian/ hardly contains any creative + expression eligible for copyright. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '93.38' + start_line: 1 + end_line: 17 + matcher: 3-seq + rule_length: 136 + matched_length: 127 + match_coverage: '93.38' + rule_relevance: 100 + identifier: gpl-2.0_54.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June. 1991. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin [Street], Fifth Floor, Boston, MA + 02110-1301 USA. + + On Debian GNU/Linux systems, the complete text of the GNU General + Public License, [version] [2], can be found in + /usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap_3.RULE + license_expression: fsf-ap + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '90.77' + start_line: 1 + end_line: 16 + matcher: 3-seq + rule_length: 130 + matched_length: 118 + match_coverage: '90.77' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 3 of the License, or (at your + option) any later version. + + [GNU] [Nettle] is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public + License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this [library]; if not, see http://www.gnu.org/licenses/. + + On Debian [GNU]/[Linux] [systems], [the] [complete] [text] [of] [the] [newest] [version] + of the GNU Lesser General Public License can be found in + /usr/share/common-licenses/LGPL. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '96.35' + start_line: 1 + end_line: 18 + matcher: 3-seq + rule_length: 137 + matched_length: 132 + match_coverage: '96.35' + rule_relevance: 100 + identifier: gpl-2.0-plus_28.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + [GNU] [Nettle] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this [program]; if not, write to the Free Software + Foundation, Inc., 51 Franklin [Street], Fifth Floor, Boston, MA + 02110-1301 USA. + + On Debian GNU/Linux systems, the complete text [of] [the] [newest] [version] + of the GNU General Public License can be found in + /usr/share/common-licenses/GPL. + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '97.56' + start_line: 1 + end_line: 4 + matcher: 3-seq + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_or_gpl-2.0-plus_15.RULE + license_expression: lgpl-3.0-plus OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is dual licenced under the GNU General Public License version + 2 or later, and the GNU Lesser General Public License version 3 or + later. When using [Nettle], you must comply fully with all conditions + of at least one of these licenses. + - score: '100.0' + start_line: 4 + end_line: 7 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_and_public-domain_1.RULE + license_expression: other-permissive AND public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + few of the individual files are + licensed under more permissive terms, or in the public domain. To + find the current status of particular files, you have to read the + copyright notices at the top of the files. + - score: '100.0' + start_line: 38 + end_line: 38 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 46 + end_line: 46 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_221.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: under the LGPL, + - score: '100.0' + start_line: 51 + end_line: 51 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_384.RULE + license_expression: mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is released under the MIT license. + - score: '70.0' + start_line: 56 + end_line: 56 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain). + - score: '100.0' + start_line: 60 + end_line: 60 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 65 + end_line: 65 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 78 + end_line: 78 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_298.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: in the public domain), + - score: '100.0' + start_line: 96 + end_line: 96 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 97 + end_line: 97 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_221.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: under the LGPL. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libhogweed6/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libhogweed6/copyright.expected.yml index 3f97e433635..c88a4fcd8d3 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libhogweed6/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libhogweed6/copyright.expected.yml @@ -1,4 +1,6 @@ -- - LGPL-3+ or GPL-2+ +primary_license: lgpl-3.0-plus OR gpl-2.0-plus +declared_license: + - LGPL-3+ or GPL-2+ - LGPL-2+ - Expat - GPL-3+ @@ -7,11 +9,11 @@ - GPL-2 - GAP - LGPL-3+ -- ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND (lgpl-2.0-plus - AND gpl-2.0-plus AND lgpl-2.0 AND lgpl-2.0) AND mit AND (gpl-3.0-plus AND gpl-3.0-plus WITH - tex-exception) AND (gpl-2.0-plus AND gpl-2.0-plus) AND autoconf-simple-exception-2.0 AND (gpl-2.0 - AND gpl-2.0) AND fsf-ap -- | +license_expression: (lgpl-3.0-plus OR gpl-2.0-plus) AND ((lgpl-3.0-plus OR gpl-2.0-plus) AND + (other-permissive AND public-domain) AND public-domain AND lgpl-2.0-plus AND mit) AND (lgpl-2.0-plus + AND gpl-2.0-plus AND lgpl-2.0) AND mit AND (gpl-3.0-plus AND gpl-3.0-plus WITH tex-exception) + AND gpl-2.0-plus AND autoconf-simple-exception-2.0 AND gpl-2.0 AND fsf-ap +copyright: | © 2001-2020 Niels Möller Some parts are Copyright © the Free Software Foundation and various people. See below and source code comments for details. @@ -114,3 +116,541 @@ © 1992-2020 Free Software Foundation, Inc. 2002 Timshel Knoll 2007 Magnus Holmgren +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '97.81' + start_line: 1 + end_line: 17 + matcher: 3-seq + rule_length: 137 + matched_length: 134 + match_coverage: '97.81' + rule_relevance: 100 + identifier: gpl-2.0-plus_28.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU [Library] General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU [Library] General Public License for more details. + + You should have received a copy of the GNU [Library] General Public License + along with this [program]; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian GNU/Linux systems, the complete text of the GNU [Library] + General Public License, [version] [2], can be found in + /usr/share/common-licenses/ + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_71.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Library + General Public License, version 2, + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 137 + matched_length: 137 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_tex-exception_5.RULE + license_expression: gpl-3.0-plus WITH tex-exception + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This texinfo.tex file is free software: you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This texinfo.tex file is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + As a special exception, when this file is read by TeX when processing + a Texinfo source document, you may use the result without + restriction. (This has been our intent since Texinfo was invented.) + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: autoconf-simple-exception-2.0.LICENSE + license_expression: autoconf-simple-exception-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception to the GNU General Public License, if you + distribute this file as part of a program that contains a + configuration script generated by Autoconf, you may include it under + the same distribution terms that you use for the rest of that program. + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: public-domain_354.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + I believe that most files in debian/ hardly contains any creative + expression eligible for copyright. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '93.38' + start_line: 1 + end_line: 17 + matcher: 3-seq + rule_length: 136 + matched_length: 127 + match_coverage: '93.38' + rule_relevance: 100 + identifier: gpl-2.0_54.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June. 1991. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin [Street], Fifth Floor, Boston, MA + 02110-1301 USA. + + On Debian GNU/Linux systems, the complete text of the GNU General + Public License, [version] [2], can be found in + /usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap_3.RULE + license_expression: fsf-ap + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '90.77' + start_line: 1 + end_line: 16 + matcher: 3-seq + rule_length: 130 + matched_length: 118 + match_coverage: '90.77' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 3 of the License, or (at your + option) any later version. + + [GNU] [Nettle] is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public + License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this [library]; if not, see http://www.gnu.org/licenses/. + + On Debian [GNU]/[Linux] [systems], [the] [complete] [text] [of] [the] [newest] [version] + of the GNU Lesser General Public License can be found in + /usr/share/common-licenses/LGPL. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '96.35' + start_line: 1 + end_line: 18 + matcher: 3-seq + rule_length: 137 + matched_length: 132 + match_coverage: '96.35' + rule_relevance: 100 + identifier: gpl-2.0-plus_28.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + [GNU] [Nettle] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this [program]; if not, write to the Free Software + Foundation, Inc., 51 Franklin [Street], Fifth Floor, Boston, MA + 02110-1301 USA. + + On Debian GNU/Linux systems, the complete text [of] [the] [newest] [version] + of the GNU General Public License can be found in + /usr/share/common-licenses/GPL. + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '97.56' + start_line: 1 + end_line: 4 + matcher: 3-seq + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_or_gpl-2.0-plus_15.RULE + license_expression: lgpl-3.0-plus OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is dual licenced under the GNU General Public License version + 2 or later, and the GNU Lesser General Public License version 3 or + later. When using [Nettle], you must comply fully with all conditions + of at least one of these licenses. + - score: '100.0' + start_line: 4 + end_line: 7 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_and_public-domain_1.RULE + license_expression: other-permissive AND public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + few of the individual files are + licensed under more permissive terms, or in the public domain. To + find the current status of particular files, you have to read the + copyright notices at the top of the files. + - score: '100.0' + start_line: 38 + end_line: 38 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 46 + end_line: 46 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_221.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: under the LGPL, + - score: '100.0' + start_line: 51 + end_line: 51 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_384.RULE + license_expression: mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is released under the MIT license. + - score: '70.0' + start_line: 56 + end_line: 56 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain). + - score: '100.0' + start_line: 60 + end_line: 60 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 65 + end_line: 65 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 78 + end_line: 78 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_298.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: in the public domain), + - score: '100.0' + start_line: 96 + end_line: 96 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 97 + end_line: 97 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_221.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: under the LGPL. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libidn2-0/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libidn2-0/copyright-detailed.expected.yml index dc7ae396c9d..e0bf57109e1 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libidn2-0/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libidn2-0/copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - GPL-3+ +primary_license: gpl-3.0-plus +declared_license: + - GPL-3+ - LGPL-3+ or GPL-2+ - GPL-3+ - GPL-3+ @@ -7,10 +9,10 @@ - GPL-2+ - LGPL-3+ - Unicode -- (gpl-3.0-plus AND gpl-3.0-plus) AND ((lgpl-3.0-plus AND lgpl-3.0-plus AND lgpl-3.0-plus) OR - (gpl-2.0-plus AND gpl-2.0-plus)) AND (gpl-3.0-plus AND gpl-3.0-plus) AND (gpl-3.0-plus AND - gpl-3.0-plus) AND (unicode AND unicode) -- | +license_expression: (gpl-3.0-plus AND gpl-3.0-plus) AND ((lgpl-3.0-plus AND lgpl-3.0-plus AND + lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND (gpl-3.0-plus AND gpl-3.0-plus) AND + (gpl-3.0-plus AND gpl-3.0-plus) AND (unicode AND unicode) +copyright: | Copyright (C) 2011-2014 Simon Josefsson Copyright (C) 2011-2014 Simon Josefsson Copyright (C) 2001-2011 Free Software Foundation, Inc. @@ -18,3 +20,238 @@ Copyright (c) 2001, 2002 Nikos Mavrogiannopoulos Copyright (c) 1998 Michael Zucchi Copyright (c) 1991-2010 Unicode, Inc. +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 128 + matched_length: 128 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_288.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian GNU/Linux systems, the complete text of the GNU General Public + License version 3 can be found in /usr/share/common-licenses/GPL-3. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 128 + matched_length: 128 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_740.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian GNU/Linux systems, the complete text of the GNU General Public + License version 2 can be found in /usr/share/common-licenses/GPL-2. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 104 + matched_length: 104 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_4.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '72.31' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 94 + match_coverage: '72.31' + rule_relevance: 100 + identifier: lgpl-3.0-plus_167.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This [program] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See [the] + [GNU] [General] [Public] [License] [for] [more] [details]. + + [You] [should] [have] [received] a [copy] [of] the GNU Lesser General Public License + [along] [with] [this] [program]. [If] [not], [see] <[http]://[www].[gnu].[org]/[licenses]/>. + + [On] [Debian] [GNU]/[Linux] [systems], [the] [complete] [text] of the GNU Lesser General + Public License version 3 can be found in /usr/share/common-licenses/LGPL-3. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_14.RULE + license_expression: unicode + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: For terms of use, see http://www.unicode.org/terms_of_use.html + - score: '100.0' + start_line: 2 + end_line: 34 + matcher: 2-aho + rule_length: 306 + matched_length: 306 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_17.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Distributed + under the Terms of Use in http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person obtaining + a copy of the Unicode data files and any associated documentation + (the "Data Files") or Unicode software and any associated + documentation (the "Software") to deal in the Data Files or Software + without restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, and/or sell copies of the + Data Files or Software, and to permit persons to whom the Data Files + or Software are furnished to do so, provided that (a) the above + copyright notice(s) and this permission notice appear with all copies + of the Data Files or Software, (b) both the above copyright notice(s) + and this permission notice appear in associated documentation, and + (c) there is clear notice in each modified Data File or in the + Software as well as in the documentation associated with the Data + File(s) or Software that the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF + ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE + WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE + COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY + CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY + DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, + WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS + ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE + OF THE DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in these Data Files or Software without prior + written authorization of the copyright holder. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libidn2-0/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libidn2-0/copyright.expected.yml index 75cf23e4615..31460593577 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libidn2-0/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libidn2-0/copyright.expected.yml @@ -1,14 +1,250 @@ -- - GPL-3+ +primary_license: gpl-3.0-plus +declared_license: + - GPL-3+ - LGPL-3+ or GPL-2+ - Unicode - GPL-2+ - LGPL-3+ -- (gpl-3.0-plus AND gpl-3.0-plus) AND ((lgpl-3.0-plus AND lgpl-3.0-plus AND lgpl-3.0-plus) OR - (gpl-2.0-plus AND gpl-2.0-plus)) AND (unicode AND unicode) -- | +license_expression: gpl-3.0-plus AND (lgpl-3.0-plus OR gpl-2.0-plus) AND unicode +copyright: | Copyright (C) 2011-2014 Simon Josefsson Copyright (C) 2001-2011 Free Software Foundation, Inc. Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Simon Josefsson Copyright (c) 2001, 2002 Nikos Mavrogiannopoulos Copyright (c) 1998 Michael Zucchi Copyright (c) 1991-2010 Unicode, Inc. +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 128 + matched_length: 128 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_288.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian GNU/Linux systems, the complete text of the GNU General Public + License version 3 can be found in /usr/share/common-licenses/GPL-3. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 128 + matched_length: 128 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_740.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian GNU/Linux systems, the complete text of the GNU General Public + License version 2 can be found in /usr/share/common-licenses/GPL-2. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 104 + matched_length: 104 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_4.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '72.31' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 94 + match_coverage: '72.31' + rule_relevance: 100 + identifier: lgpl-3.0-plus_167.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This [program] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See [the] + [GNU] [General] [Public] [License] [for] [more] [details]. + + [You] [should] [have] [received] a [copy] [of] the GNU Lesser General Public License + [along] [with] [this] [program]. [If] [not], [see] <[http]://[www].[gnu].[org]/[licenses]/>. + + [On] [Debian] [GNU]/[Linux] [systems], [the] [complete] [text] of the GNU Lesser General + Public License version 3 can be found in /usr/share/common-licenses/LGPL-3. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_14.RULE + license_expression: unicode + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: For terms of use, see http://www.unicode.org/terms_of_use.html + - score: '100.0' + start_line: 2 + end_line: 34 + matcher: 2-aho + rule_length: 306 + matched_length: 306 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_17.RULE + license_expression: unicode + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Distributed + under the Terms of Use in http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person obtaining + a copy of the Unicode data files and any associated documentation + (the "Data Files") or Unicode software and any associated + documentation (the "Software") to deal in the Data Files or Software + without restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, and/or sell copies of the + Data Files or Software, and to permit persons to whom the Data Files + or Software are furnished to do so, provided that (a) the above + copyright notice(s) and this permission notice appear with all copies + of the Data Files or Software, (b) both the above copyright notice(s) + and this permission notice appear in associated documentation, and + (c) there is clear notice in each modified Data File or in the + Software as well as in the documentation associated with the Data + File(s) or Software that the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF + ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE + WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE + COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY + CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY + DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, + WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS + ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE + OF THE DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in these Data Files or Software without prior + written authorization of the copyright holder. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libk5crypto3/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libk5crypto3/copyright-detailed.expected.yml index 22924e515d7..9fb5d8d7b4c 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libk5crypto3/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libk5crypto3/copyright-detailed.expected.yml @@ -1,12 +1,15 @@ -- -- bsd-simplified AND generic-export-compliance AND cc-by-sa-3.0 AND proprietary-license AND - other-permissive AND mit-no-advert-export-control AND brian-gladman-3-clause AND bsd-new AND - unknown-license-reference AND mit AND bsd-2-clause-views AND michigan-disclaimer AND fsf-unlimited-no-warranty - AND openldap-2.8 AND freebsd-doc AND cmu-uc AND nrl-permission AND ietf-trust AND mit-old-style - AND (mit-no-advert-export-control AND proprietary-license) AND bsd-original-uc AND bsd-original - AND isc AND rsa-md4 AND rsa-md5 AND rsa-1990 AND mit-with-modification-obligations AND (bsd-simplified - OR gpl-2.0-plus) AND (mpl-1.1 OR gpl-1.0-plus) AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: bsd-simplified AND generic-export-compliance AND cc-by-sa-3.0 AND proprietary-license + AND other-permissive AND mit-no-advert-export-control AND brian-gladman-3-clause AND bsd-new + AND mit AND bsd-2-clause-views AND mit AND bsd-new AND bsd-new AND michigan-disclaimer AND + fsf-unlimited-no-warranty AND mit-no-advert-export-control AND openldap-2.8 AND bsd-new AND + bsd-new AND bsd-new AND freebsd-doc AND cmu-uc AND nrl-permission AND ietf-trust AND mit-old-style + AND mit AND bsd-simplified AND (mit-no-advert-export-control AND proprietary-license) AND + bsd-original-uc AND mit-no-advert-export-control AND bsd-original AND mit AND isc AND isc + AND other-permissive AND bsd-new AND rsa-md4 AND rsa-md5 AND rsa-1990 AND mit-with-modification-obligations + AND bsd-new AND (bsd-simplified OR gpl-2.0-plus) AND bsd-new AND bsd-simplified +copyright: | Copyright (c) 1985-2018 by the Massachusetts Institute of Technology copyright MIT, Cygnus Support, Novell, OpenVision Technologies, Oracle, Red Hat, Sun Microsystems, FundsXpress, and others Copyright, OpenVision Technologies, Inc., 1993-1996 @@ -56,3 +59,1281 @@ Copyright (c) 2007,2008,2009 Marc Alexander Lehmann Copyright (c) 2010, Intel Corporation Copyright (c) 1998 by Danilo Almeida +matches: + - score: '100.0' + start_line: 18 + end_line: 39 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions and\ + \ the following disclaimer.\n \n * Redistributions in binary form must reproduce the above\ + \ copyright\n notice, this list of conditions and the following disclaimer in the\n\ + \ documentation and/or other materials provided with the distribution.\n \n THIS SOFTWARE\ + \ IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR\ + \ IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 41 + end_line: 52 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: generic-export-compliance_3.RULE + license_expression: generic-export-compliance + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Downloading of this software may constitute an export of cryptographic\n\ + \ software from the United States of America that is subject to the\n United States Export\ + \ Administration Regulations (EAR), 15 CFR 730-774.\n Additional laws or regulations may\ + \ apply. It is the responsibility of\n the person or entity contemplating export to comply\ + \ with all\n applicable export laws and regulations, including obtaining any\n required\ + \ license from the U.S. government.\n \n The U.S. government prohibits export of encryption\ + \ source code to\n certain countries and individuals, including, but not limited to, the\n\ + \ countries of Cuba, Iran, North Korea, Sudan, Syria, and residents and\n nationals of\ + \ those countries." + - score: '100.0' + start_line: 54 + end_line: 56 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc-by-sa-3.0_22.RULE + license_expression: cc-by-sa-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Documentation components of this software distribution are licensed + under a Creative Commons Attribution-ShareAlike 3.0 Unported License. + (http://creativecommons.org/licenses/by-sa/3.0/) + - score: '100.0' + start_line: 64 + end_line: 70 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_136.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "No commercial use of these trademarks may be made without\n prior written\ + \ permission of MIT.\n \n \"Commercial use\" means use of a name in a product or other\ + \ for-profit\n manner. It does NOT prevent a commercial firm from referring to the\n\ + \ MIT trademarks in order to convey information (although in doing so,\n recognition of\ + \ their trademark status should be given)." + - score: '100.0' + start_line: 82 + end_line: 111 + matcher: 2-aho + rule_length: 244 + matched_length: 244 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_80.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "WARNING: Retrieving the OpenVision Kerberos Administration system\n source\ + \ code, as described below, indicates your acceptance of the\n following terms. If\ + \ you do not agree to the following terms, do\n not retrieve the OpenVision Kerberos\ + \ administration system.\n \n You may freely use and distribute the Source Code and\ + \ Object Code\n compiled from it, with or without modification, but this Source\n \ + \ Code is provided to you \"AS IS\" EXCLUSIVE OF ANY WARRANTY,\n INCLUDING, WITHOUT\ + \ LIMITATION, ANY WARRANTIES OF MERCHANTABILITY OR\n FITNESS FOR A PARTICULAR PURPOSE,\ + \ OR ANY OTHER WARRANTY, WHETHER\n EXPRESS OR IMPLIED. IN NO EVENT WILL OPENVISION\ + \ HAVE ANY LIABILITY\n FOR ANY LOST PROFITS, LOSS OF DATA OR COSTS OF PROCUREMENT OF\n\ + \ SUBSTITUTE GOODS OR SERVICES, OR FOR ANY SPECIAL, INDIRECT, OR\n CONSEQUENTIAL\ + \ DAMAGES ARISING OUT OF THIS AGREEMENT, INCLUDING,\n WITHOUT LIMITATION, THOSE RESULTING\ + \ FROM THE USE OF THE SOURCE\n CODE, OR THE FAILURE OF THE SOURCE CODE TO PERFORM,\ + \ OR FOR ANY\n OTHER REASON.\n \n OpenVision retains all copyrights in the donated\ + \ Source Code.\n OpenVision also retains copyright to derivative works of the Source\n\ + \ Code, whether created by OpenVision or by a third party. The\n OpenVision copyright\ + \ notice must be preserved if derivative works\n are made based on the donated Source\ + \ Code.\n \n OpenVision Technologies, Inc. has donated this Kerberos\n Administration\ + \ system to MIT for inclusion in the standard Kerberos\n 5 distribution. This donation\ + \ underscores our commitment to\n continuing Kerberos technology development and our\ + \ gratitude for\n the valuable work which has been performed by MIT and the Kerberos\n\ + \ community." + - score: '98.73' + start_line: 128 + end_line: 146 + matcher: 2-aho + rule_length: 155 + matched_length: 155 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_1.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government.\n It is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of [FundsXpress]. not be used in advertising or\ + \ publicity\n pertaining to distribution of the software without specific,\n written\ + \ prior permission. [FundsXpress] makes no representations\n about the suitability\ + \ of this software for any purpose. It is\n provided \"as is\" without express or\ + \ implied warranty.\n \n THIS SOFTWARE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS\ + \ OR\n IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 156 + end_line: 175 + matcher: 2-aho + rule_length: 116 + matched_length: 116 + match_coverage: '100.0' + rule_relevance: 100 + identifier: brian-gladman-3-clause_2.RULE + license_expression: brian-gladman-3-clause + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "LICENSE TERMS\n \n The free distribution and use of this software in both\ + \ source and\n binary form is allowed (with or without changes) provided that:\n \n\ + \ 1. distributions of this source code include the above copyright\n notice,\ + \ this list of conditions and the following disclaimer;\n \n 2. distributions in binary\ + \ form include the above copyright notice,\n this list of conditions and the following\ + \ disclaimer in the\n documentation and/or other associated materials;\n \n 3.\ + \ the copyright holder's name is not used to endorse products\n built using this\ + \ software without specific written permission.\n \n DISCLAIMER\n \n This software\ + \ is provided 'as is' with no explcit or implied\n warranties in respect of any properties,\ + \ including, but not limited\n to, correctness and fitness for purpose." + - score: '100.0' + start_line: 187 + end_line: 214 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_587.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n * Neither the name of Red Hat, Inc., nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT\ + \ HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n \ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER\ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 222 + end_line: 240 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT\n HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n \ + \ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN\ + \ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n DEALINGS IN THE SOFTWARE." + - score: '85.71' + start_line: 248 + end_line: 276 + matcher: 3-seq + rule_length: 217 + matched_length: 186 + match_coverage: '85.71' + rule_relevance: 100 + identifier: bsd-2-clause-freebsd_9.RULE + license_expression: bsd-2-clause-views + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer.\n \n 2. Redistributions in binary form\ + \ must reproduce the above\n copyright notice, this list of conditions and the\ + \ following\n disclaimer in the documentation and/or other materials\n \ + \ provided with the distribution.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT\ + \ HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n \ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER\ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n \n ======================================================================\n\ + \ \n The" + - score: '100.0' + start_line: 334 + end_line: 352 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE." + - score: '100.0' + start_line: 363 + end_line: 390 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE REGENTS\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 400 + end_line: 427 + matcher: 2-aho + rule_length: 204 + matched_length: 204 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_588.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n * The copyright holder's name is not used to endorse or promote\n products\ + \ derived from this software without specific prior\n written permission.\n \n \ + \ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\"\ + \ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\ + \ IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING,\ + \ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA,\ + \ OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 440 + end_line: 459 + matcher: 2-aho + rule_length: 186 + matched_length: 186 + match_coverage: '100.0' + rule_relevance: 100 + identifier: michigan-disclaimer.LICENSE + license_expression: michigan-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to use, copy, create derivative works and\n redistribute\ + \ this software and such derivative works for any\n purpose, so long as the name of\ + \ The University of Michigan is not\n used in any advertising or publicity pertaining\ + \ to the use of\n distribution of this software without specific, written prior\n \ + \ authorization. If the above copyright notice or any other\n identification of\ + \ the University of Michigan is included in any\n copy of any portion of this software,\ + \ then the disclaimer below\n must also be included.\n \n THIS SOFTWARE IS PROVIDED\ + \ AS IS, WITHOUT REPRESENTATION FROM THE\n UNIVERSITY OF MICHIGAN AS TO ITS FITNESS\ + \ FOR ANY PURPOSE, AND\n WITHOUT WARRANTY BY THE UNIVERSITY OF MICHIGAN OF ANY KIND,\ + \ EITHER\n EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\n THE REGENTS OF THE UNIVERSITY\ + \ OF MICHIGAN SHALL NOT BE LIABLE FOR\n ANY DAMAGES, INCLUDING SPECIAL, INDIRECT, INCIDENTAL,\ + \ OR\n CONSEQUENTIAL DAMAGES, WITH RESPECT TO ANY CLAIM ARISING OUT OF OR\n IN CONNECTION\ + \ WITH THE USE OF THE SOFTWARE, EVEN IF IT HAS BEEN OR\n IS HEREAFTER ADVISED OF THE\ + \ POSSIBILITY OF SUCH DAMAGES." + - score: '100.0' + start_line: 469 + end_line: 476 + matcher: 2-aho + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This file is free software; as a special exception the author gives\n \ + \ unlimited permission to copy and/or distribute it, with or without\n modifications,\ + \ as long as this notice is preserved.\n \n This file is distributed in the hope that\ + \ it will be useful, but\n WITHOUT ANY WARRANTY, to the extent permitted by law; without\ + \ even\n the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n PURPOSE." + - score: '100.0' + start_line: 485 + end_line: 503 + matcher: 2-aho + rule_length: 159 + matched_length: 159 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_2.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government.\n It is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of Apple Inc. not be used in advertising or publicity\n\ + \ pertaining to distribution of the software without specific,\n written prior permission.\ + \ Apple Inc. makes no representations\n about the suitability of this software for\ + \ any purpose. It is\n provided \"as is\" without express or implied warranty.\n \n\ + \ THIS SOFTWARE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS OR\n IMPLIED WARRANTIES,\ + \ INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES OF MERCHANTIBILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 511 + end_line: 558 + matcher: 2-aho + rule_length: 328 + matched_length: 328 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openldap-2.8.LICENSE + license_expression: openldap-2.8 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The OpenLDAP Public License\n Version 2.8, 17 August 2003\n \n Redistribution\ + \ and use of this software and associated\n documentation (\"Software\"), with or without\ + \ modification, are\n permitted provided that the following conditions are met:\n \n\ + \ 1. Redistributions in source form must retain copyright statements\n and notices,\n\ + \ \n 2. Redistributions in binary form must reproduce applicable\n copyright\ + \ statements and notices, this list of conditions, and\n the following disclaimer\ + \ in the documentation and/or other\n materials provided with the distribution,\ + \ and\n \n 3. Redistributions must contain a verbatim copy of this document.\n \n \ + \ The OpenLDAP Foundation may revise this license from time to time.\n Each revision\ + \ is distinguished by a version number. You may use\n this Software under terms of\ + \ this license revision or under the\n terms of any subsequent revision of the license.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE OPENLDAP FOUNDATION AND ITS\n CONTRIBUTORS\ + \ \"AS IS\" AND ANY EXPRESSED OR IMPLIED WARRANTIES,\n INCLUDING, BUT NOT LIMITED TO,\ + \ THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL THE OPENLDAP FOUNDATION, ITS\n CONTRIBUTORS,\ + \ OR THE AUTHOR(S) OR OWNER(S) OF THE SOFTWARE BE\n LIABLE FOR ANY DIRECT, INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\ + \ OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER\ + \ IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING\ + \ IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF SUCH\n DAMAGE.\n \n The names of the authors and copyright holders must not\ + \ be used in\n advertising or otherwise to promote the sale, use or other dealing\n\ + \ in this Software without specific, written prior permission. Title\n to copyright\ + \ in this Software shall at all times remain with\n copyright holders.\n \n OpenLDAP\ + \ is a registered trademark of the OpenLDAP Foundation.\n \n Copyright 1999-2003 The\ + \ OpenLDAP Foundation, Redwood City,\n California, USA. All Rights Reserved. Permission\ + \ to copy and\n distribute verbatim copies of this document is granted." + - score: '100.0' + start_line: 568 + end_line: 595 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_933.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of KTH nor the names of its contributors may be\n used\ + \ to endorse or promote products derived from this software\n without specific prior\ + \ written permission.\n \n THIS SOFTWARE IS PROVIDED BY KTH AND ITS CONTRIBUTORS \"\ + AS IS\" AND\n ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\n \ + \ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n PARTICULAR PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL KTH OR ITS\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\ + \ BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n USE,\ + \ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF\ + \ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 608 + end_line: 636 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_151.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer.\n \n 2. Redistributions in binary form must\ + \ reproduce the above\n copyright notice, this list of conditions and the following\n\ + \ disclaimer in the documentation and/or other materials provided\n with the\ + \ distribution.\n \n 3. Neither the name of the Institute nor the names of its\n \ + \ contributors may be used to endorse or promote products derived\n from this\ + \ software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE INSTITUTE AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A\n PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE\n \ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 647 + end_line: 675 + matcher: 2-aho + rule_length: 217 + matched_length: 217 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_589.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the \"Oracle America, Inc.\" nor the names of\n its\ + \ contributors may be used to endorse or promote products\n derived from this software\ + \ without specific prior written\n permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n \ + \ COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\ + \ OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n\ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 682 + end_line: 705 + matcher: 2-aho + rule_length: 185 + matched_length: 185 + match_coverage: '100.0' + rule_relevance: 100 + identifier: freebsd-doc_5.RULE + license_expression: freebsd-doc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer as\n the first lines of this file unmodified.\n \n\ + \ 2. Redistributions in binary form must reproduce the above\n copyright notice,\ + \ this list of conditions and the following\n disclaimer in the documentation and/or\ + \ other materials provided\n with the distribution.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY NTT \"AS IS\" AND ANY EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING, BUT NOT LIMITED\ + \ TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL NTT BE LIABLE FOR ANY DIRECT,\n INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS;\ + \ OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER\ + \ IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n \ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '99.0' + start_line: 713 + end_line: 729 + matcher: 2-aho + rule_length: 143 + matched_length: 143 + match_coverage: '100.0' + rule_relevance: 99 + identifier: cmu-uc_12.RULE + license_expression: cmu-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software and\n its\ + \ documentation for any purpose and without fee is hereby\n granted, provided that\ + \ the above copyright notice appear in all\n copies and that both that copyright notice\ + \ and this permission\n notice appear in supporting documentation, and that the name\ + \ of\n Carnegie Mellon University not be used in advertising or publicity\n pertaining\ + \ to distribution of the software without specific,\n written prior permission.\n \n\ + \ CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO\n THIS SOFTWARE,\ + \ INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS, IN NO EVENT SHALL\ + \ CARNEGIE MELLON UNIVERSITY BE LIABLE\n FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL\ + \ DAMAGES OR ANY DAMAGES\n WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,\ + \ WHETHER IN\n AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING\n\ + \ OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS\n SOFTWARE." + - score: '95.0' + start_line: 735 + end_line: 743 + matcher: 2-aho + rule_length: 71 + matched_length: 71 + match_coverage: '100.0' + rule_relevance: 95 + identifier: nrl-permission_1.RULE + license_expression: nrl-permission + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify and distribute this software and\n its\ + \ documentation is hereby granted, provided that both the\n copyright notice and this\ + \ permission notice appear in all copies of\n the software, derivative works or modified\ + \ versions, and any\n portions thereof.\n \n NRL ALLOWS FREE USE OF THIS SOFTWARE\ + \ IN ITS \"AS IS\" CONDITION AND\n DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES\ + \ WHATSOEVER\n RESULTING FROM THE USE OF THIS SOFTWARE." + - score: '100.0' + start_line: 752 + end_line: 763 + matcher: 2-aho + rule_length: 99 + matched_length: 99 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ietf-trust_10.RULE + license_expression: ietf-trust + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This document is subject to the rights, licenses and restrictions\n contained\ + \ in BCP 78, and except as set forth therein, the authors\n retain all their rights.\n\ + \ \n This document and the information contained herein are provided on\n an \"\ + AS IS\" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE\n REPRESENTS OR IS SPONSORED\ + \ BY (IF ANY), THE INTERNET SOCIETY AND\n THE INTERNET ENGINEERING TASK FORCE DISCLAIM\ + \ ALL WARRANTIES,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT\n\ + \ THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR\n ANY IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A\n PARTICULAR PURPOSE." + - score: '100.0' + start_line: 769 + end_line: 776 + matcher: 2-aho + rule_length: 69 + matched_length: 69 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style_11.RULE + license_expression: mit-old-style + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose and without fee is hereby + granted, provided that the above copyright notice appear in all + copies and that both that copyright notice and this permission + notice appear in supporting documentation. Cygnus Support makes no + representations about the suitability of this software for any + purpose. It is provided "as is" without express or implied + warranty. + - score: '100.0' + start_line: 782 + end_line: 800 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE." + - score: '100.0' + start_line: 810 + end_line: 833 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS \"AS IS\"\n AND ANY\ + \ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED\n TO, THE IMPLIED WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A\n PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\ + \ EVENT SHALL THE AUTHOR OR\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO,\ + \ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n USE, DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN\ + \ CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING\ + \ IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 837 + end_line: 856 + matcher: 2-aho + rule_length: 165 + matched_length: 165 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_and_proprietary-license_1.RULE + license_expression: mit-no-advert-export-control AND proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "EXPORT OF THIS SOFTWARE from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to copy, modify, and distribute\n\ + \ this software and its documentation in source and binary forms is\n hereby granted,\ + \ provided that any documentation or other materials\n related to such distribution\ + \ or use acknowledge that the software\n was developed by the University of Southern\ + \ California.\n \n DISCLAIMER OF WARRANTY. THIS SOFTWARE IS PROVIDED \"AS IS\". The\n\ + \ University of Southern California MAKES NO REPRESENTATIONS OR\n WARRANTIES, EXPRESS\ + \ OR IMPLIED. By way of example, but not\n limitation, the University of Southern\ + \ California MAKES NO\n REPRESENTATIONS OR WARRANTIES OF MERCHANTABILITY OR FITNESS\ + \ FOR ANY\n PARTICULAR PURPOSE. The University of Southern California shall not\n \ + \ be held liable for any liability nor for any direct, indirect, or\n consequential\ + \ damages with respect to any claim by the user or\n distributor of the ksu software." + - score: '100.0' + start_line: 866 + end_line: 899 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. All advertising materials mentioning features or use of this\n software\ + \ must display the following acknowledgement:\n \n This product includes software\ + \ developed by the University of\n California, Berkeley and its contributors.\n\ + \ \n 4. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE REGENTS\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '99.0' + start_line: 907 + end_line: 922 + matcher: 2-aho + rule_length: 145 + matched_length: 145 + match_coverage: '100.0' + rule_relevance: 99 + identifier: mit-no-advert-export-control_4.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of Richard P. Basch, Lehman Brothers and M.I.T.\ + \ not be\n used in advertising or publicity pertaining to distribution of the\n \ + \ software without specific, written prior permission. Richard P.\n Basch, Lehman\ + \ Brothers and M.I.T. make no representations about the\n suitability of this software\ + \ for any purpose. It is provided \"as\n is\" without express or implied warranty." + - score: '100.0' + start_line: 934 + end_line: 968 + matcher: 2-aho + rule_length: 245 + matched_length: 245 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original_32.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. All advertising materials mentioning features or use of this\n software\ + \ must display the following acknowledgement:\n \n This product includes software\ + \ developed by the NetBSD\n Foundation, Inc. and its contributors.\n \n 4.\ + \ Neither the name of The NetBSD Foundation nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION,\ + \ INC. AND\n CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES,\n INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR A\ + \ PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS\ + \ BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\ + \ ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF SUCH\n DAMAGE." + - score: '100.0' + start_line: 978 + end_line: 996 + matcher: 2-aho + rule_length: 165 + matched_length: 165 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_483.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE COMPUTING\ + \ RESEARCH LAB OR\n NEW MEXICO STATE UNIVERSITY BE LIABLE FOR ANY CLAIM, DAMAGES OR\n\ + \ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n OTHERWISE, ARISING\ + \ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE\n OR THE USE OR OTHER DEALINGS IN\ + \ THE SOFTWARE." + - score: '100.0' + start_line: 1004 + end_line: 1016 + matcher: 2-aho + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for\n any\ + \ purpose with or without fee is hereby granted, provided that\n the above copyright\ + \ notice and this permission notice appear in all\n copies.\n \n THE SOFTWARE IS\ + \ PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL\n WARRANTIES WITH REGARD TO THIS\ + \ SOFTWARE INCLUDING ALL IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO\ + \ EVENT SHALL THE\n AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR\n CONSEQUENTIAL\ + \ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS\n OF USE, DATA OR PROFITS,\ + \ WHETHER IN AN ACTION OF CONTRACT,\n NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING\ + \ OUT OF OR IN\n CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE." + - score: '95.0' + start_line: 1025 + end_line: 1037 + matcher: 2-aho + rule_length: 131 + matched_length: 131 + match_coverage: '100.0' + rule_relevance: 95 + identifier: isc_16.RULE + license_expression: isc + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for + any purpose with or without fee is hereby granted, provided that + the above copyright notice and this permission notice appear in all + copies. THE SOFTWARE IS PROVIDED "AS IS" AND THEODORE TS'O (THE + AUTHOR) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN + NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER + RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION + OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR + IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. (Isn't + it sick that the U.S. culture of lawsuit-happy lawyers requires + this kind of disclaimer?) + - score: '100.0' + start_line: 1046 + end_line: 1047 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_22.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be freely redistributed without license or fee + provided this copyright message remains intact. + - score: '100.0' + start_line: 1060 + end_line: 1087 + matcher: 2-aho + rule_length: 208 + matched_length: 208 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_134.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED \"AS IS\" AND ANY\ + \ EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO\ + \ EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n\ + \ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS\ + \ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\ + \ OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH\n \ + \ DAMAGE." + - score: '100.0' + start_line: 1096 + end_line: 1112 + matcher: 2-aho + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-md4.LICENSE + license_expression: rsa-md4 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License to copy and use this software is granted provided that it\n is\ + \ identified as the \"RSA Data Security, Inc. MD4 Message Digest\n Algorithm\" in all\ + \ material mentioning or referencing this software\n or this function.\n \n License\ + \ is also granted to make and use derivative works provided\n that such works are identified\ + \ as \"derived from the RSA Data\n Security, Inc. MD4 Message Digest Algorithm\" in\ + \ all material\n mentioning or referencing the derived work.\n \n RSA Data Security,\ + \ Inc. makes no representations concerning either\n the merchantability of this software\ + \ or the suitability of this\n software for any particular purpose. It is provided\ + \ \"as is\"\n without express or implied warranty of any kind.\n \n These notices\ + \ must be retained in any copies of any part of this\n documentation and/or software." + - score: '100.0' + start_line: 1121 + end_line: 1137 + matcher: 2-aho + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-md5.LICENSE + license_expression: rsa-md5 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License to copy and use this software is granted provided that it\n is\ + \ identified as the \"RSA Data Security, Inc. MD5 Message- Digest\n Algorithm\" in\ + \ all material mentioning or referencing this software\n or this function.\n \n \ + \ License is also granted to make and use derivative works provided\n that such works\ + \ are identified as \"derived from the RSA Data\n Security, Inc. MD5 Message-Digest\ + \ Algorithm\" in all material\n mentioning or referencing the derived work.\n \n \ + \ RSA Data Security, Inc. makes no representations concerning either\n the merchantability\ + \ of this software or the suitability of this\n software for any particular purpose.\ + \ It is provided \"as is\"\n without express or implied warranty of any kind.\n \n\ + \ These notices must be retained in any copies of any part of this\n documentation\ + \ and/or software." + - score: '100.0' + start_line: 1147 + end_line: 1153 + matcher: 2-aho + rule_length: 54 + matched_length: 54 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-1990.LICENSE + license_expression: rsa-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "RSA Data Security, Inc. makes no representations concerning either\n the\ + \ merchantability of this software or the suitability of this\n software for any particular\ + \ purpose. It is provided \"as is\" without\n express or implied warranty of any kind.\n\ + \ \n These notices must be retained in any copies of any part of this\n documentation\ + \ and/or software." + - score: '100.0' + start_line: 1163 + end_line: 1181 + matcher: 2-aho + rule_length: 177 + matched_length: 177 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-with-modification-obligations_2.RULE + license_expression: mit-with-modification-obligations + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of M.I.T. not be used in advertising or publicity\n\ + \ pertaining to distribution of the software without specific,\n written prior permission.\ + \ Furthermore if you modify this software\n you must label your software as modified\ + \ software and not\n distribute it in such a fashion that it might be confused with\ + \ the\n original M.I.T. software. Neither M.I.T., the Open Computing\n Security\ + \ Group, nor CyberSAFE Corporation make any representations\n about the suitability\ + \ of this software for any purpose. It is\n provided \"as is\" without express or\ + \ implied warranty." + - score: '100.0' + start_line: 1190 + end_line: 1217 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_590.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of PADL Software nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY PADL SOFTWARE\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL PADL SOFTWARE\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1226 + end_line: 1264 + matcher: 2-aho + rule_length: 335 + matched_length: 335 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_or_gpl-2.0-plus_7.RULE + license_expression: bsd-simplified OR gpl-2.0-plus + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS\ + \ IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE\ + \ DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\ + \ ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON\ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n \n Alternatively, the contents\ + \ of this package may be used under the\n terms of the GNU General Public License (\"\ + GPL\") version 2 or any\n later version, in which case the provisions of the GPL are\n\ + \ applicable instead of the above. If you wish to allow the use of\n your version\ + \ of this package only under the terms of the GPL and\n not to allow others to use\ + \ your version of this file under the BSD\n license, indicate your decision by deleting\ + \ the provisions above\n and replace them with the notice and other provisions required\ + \ by\n the GPL in this and the other files of this package. If you do not\n delete\ + \ the provisions above, a recipient may use your version of\n this file under either\ + \ the BSD or the GPL.\n \n On Debian systems, the complete text of the GNU General\ + \ Public License\n version 2 can be found in `/usr/share/common-licenses/GPL-2'." + - score: '100.0' + start_line: 1274 + end_line: 1302 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-intel_4.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials\n provided with\ + \ the distribution.\n \n * Neither the name of Intel Corporation nor the names of\ + \ its\n contributors may be used to endorse or promote products\n derived\ + \ from this software without specific prior written\n permission.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY\ + \ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\ + \ EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR\ + \ PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 1311 + end_line: 1334 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS\ + \ IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE\ + \ DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\ + \ ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON\ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libk5crypto3/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libk5crypto3/copyright.expected.yml index 22924e515d7..1df017652bd 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libk5crypto3/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libk5crypto3/copyright.expected.yml @@ -1,12 +1,12 @@ -- -- bsd-simplified AND generic-export-compliance AND cc-by-sa-3.0 AND proprietary-license AND - other-permissive AND mit-no-advert-export-control AND brian-gladman-3-clause AND bsd-new AND - unknown-license-reference AND mit AND bsd-2-clause-views AND michigan-disclaimer AND fsf-unlimited-no-warranty - AND openldap-2.8 AND freebsd-doc AND cmu-uc AND nrl-permission AND ietf-trust AND mit-old-style - AND (mit-no-advert-export-control AND proprietary-license) AND bsd-original-uc AND bsd-original - AND isc AND rsa-md4 AND rsa-md5 AND rsa-1990 AND mit-with-modification-obligations AND (bsd-simplified - OR gpl-2.0-plus) AND (mpl-1.1 OR gpl-1.0-plus) AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: bsd-simplified AND generic-export-compliance AND cc-by-sa-3.0 AND proprietary-license + AND other-permissive AND mit-no-advert-export-control AND brian-gladman-3-clause AND bsd-new + AND mit AND bsd-2-clause-views AND michigan-disclaimer AND fsf-unlimited-no-warranty AND openldap-2.8 + AND freebsd-doc AND cmu-uc AND nrl-permission AND ietf-trust AND mit-old-style AND (mit-no-advert-export-control + AND proprietary-license) AND bsd-original-uc AND bsd-original AND isc AND rsa-md4 AND rsa-md5 + AND rsa-1990 AND mit-with-modification-obligations AND (bsd-simplified OR gpl-2.0-plus) +copyright: | Copyright (c) 1985-2018 by the Massachusetts Institute of Technology copyright MIT, Cygnus Support, Novell, OpenVision Technologies, Oracle, Red Hat, Sun Microsystems, FundsXpress, and others Copyright, OpenVision Technologies, Inc., 1993-1996 @@ -56,3 +56,1281 @@ Copyright (c) 2007,2008,2009 Marc Alexander Lehmann Copyright (c) 2010, Intel Corporation Copyright (c) 1998 by Danilo Almeida +matches: + - score: '100.0' + start_line: 18 + end_line: 39 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions and\ + \ the following disclaimer.\n \n * Redistributions in binary form must reproduce the above\ + \ copyright\n notice, this list of conditions and the following disclaimer in the\n\ + \ documentation and/or other materials provided with the distribution.\n \n THIS SOFTWARE\ + \ IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR\ + \ IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 41 + end_line: 52 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: generic-export-compliance_3.RULE + license_expression: generic-export-compliance + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Downloading of this software may constitute an export of cryptographic\n\ + \ software from the United States of America that is subject to the\n United States Export\ + \ Administration Regulations (EAR), 15 CFR 730-774.\n Additional laws or regulations may\ + \ apply. It is the responsibility of\n the person or entity contemplating export to comply\ + \ with all\n applicable export laws and regulations, including obtaining any\n required\ + \ license from the U.S. government.\n \n The U.S. government prohibits export of encryption\ + \ source code to\n certain countries and individuals, including, but not limited to, the\n\ + \ countries of Cuba, Iran, North Korea, Sudan, Syria, and residents and\n nationals of\ + \ those countries." + - score: '100.0' + start_line: 54 + end_line: 56 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc-by-sa-3.0_22.RULE + license_expression: cc-by-sa-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Documentation components of this software distribution are licensed + under a Creative Commons Attribution-ShareAlike 3.0 Unported License. + (http://creativecommons.org/licenses/by-sa/3.0/) + - score: '100.0' + start_line: 64 + end_line: 70 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_136.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "No commercial use of these trademarks may be made without\n prior written\ + \ permission of MIT.\n \n \"Commercial use\" means use of a name in a product or other\ + \ for-profit\n manner. It does NOT prevent a commercial firm from referring to the\n\ + \ MIT trademarks in order to convey information (although in doing so,\n recognition of\ + \ their trademark status should be given)." + - score: '100.0' + start_line: 82 + end_line: 111 + matcher: 2-aho + rule_length: 244 + matched_length: 244 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_80.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "WARNING: Retrieving the OpenVision Kerberos Administration system\n source\ + \ code, as described below, indicates your acceptance of the\n following terms. If\ + \ you do not agree to the following terms, do\n not retrieve the OpenVision Kerberos\ + \ administration system.\n \n You may freely use and distribute the Source Code and\ + \ Object Code\n compiled from it, with or without modification, but this Source\n \ + \ Code is provided to you \"AS IS\" EXCLUSIVE OF ANY WARRANTY,\n INCLUDING, WITHOUT\ + \ LIMITATION, ANY WARRANTIES OF MERCHANTABILITY OR\n FITNESS FOR A PARTICULAR PURPOSE,\ + \ OR ANY OTHER WARRANTY, WHETHER\n EXPRESS OR IMPLIED. IN NO EVENT WILL OPENVISION\ + \ HAVE ANY LIABILITY\n FOR ANY LOST PROFITS, LOSS OF DATA OR COSTS OF PROCUREMENT OF\n\ + \ SUBSTITUTE GOODS OR SERVICES, OR FOR ANY SPECIAL, INDIRECT, OR\n CONSEQUENTIAL\ + \ DAMAGES ARISING OUT OF THIS AGREEMENT, INCLUDING,\n WITHOUT LIMITATION, THOSE RESULTING\ + \ FROM THE USE OF THE SOURCE\n CODE, OR THE FAILURE OF THE SOURCE CODE TO PERFORM,\ + \ OR FOR ANY\n OTHER REASON.\n \n OpenVision retains all copyrights in the donated\ + \ Source Code.\n OpenVision also retains copyright to derivative works of the Source\n\ + \ Code, whether created by OpenVision or by a third party. The\n OpenVision copyright\ + \ notice must be preserved if derivative works\n are made based on the donated Source\ + \ Code.\n \n OpenVision Technologies, Inc. has donated this Kerberos\n Administration\ + \ system to MIT for inclusion in the standard Kerberos\n 5 distribution. This donation\ + \ underscores our commitment to\n continuing Kerberos technology development and our\ + \ gratitude for\n the valuable work which has been performed by MIT and the Kerberos\n\ + \ community." + - score: '98.73' + start_line: 128 + end_line: 146 + matcher: 2-aho + rule_length: 155 + matched_length: 155 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_1.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government.\n It is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of [FundsXpress]. not be used in advertising or\ + \ publicity\n pertaining to distribution of the software without specific,\n written\ + \ prior permission. [FundsXpress] makes no representations\n about the suitability\ + \ of this software for any purpose. It is\n provided \"as is\" without express or\ + \ implied warranty.\n \n THIS SOFTWARE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS\ + \ OR\n IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 156 + end_line: 175 + matcher: 2-aho + rule_length: 116 + matched_length: 116 + match_coverage: '100.0' + rule_relevance: 100 + identifier: brian-gladman-3-clause_2.RULE + license_expression: brian-gladman-3-clause + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "LICENSE TERMS\n \n The free distribution and use of this software in both\ + \ source and\n binary form is allowed (with or without changes) provided that:\n \n\ + \ 1. distributions of this source code include the above copyright\n notice,\ + \ this list of conditions and the following disclaimer;\n \n 2. distributions in binary\ + \ form include the above copyright notice,\n this list of conditions and the following\ + \ disclaimer in the\n documentation and/or other associated materials;\n \n 3.\ + \ the copyright holder's name is not used to endorse products\n built using this\ + \ software without specific written permission.\n \n DISCLAIMER\n \n This software\ + \ is provided 'as is' with no explcit or implied\n warranties in respect of any properties,\ + \ including, but not limited\n to, correctness and fitness for purpose." + - score: '100.0' + start_line: 187 + end_line: 214 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_587.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n * Neither the name of Red Hat, Inc., nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT\ + \ HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n \ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER\ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 222 + end_line: 240 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT\n HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n \ + \ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN\ + \ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n DEALINGS IN THE SOFTWARE." + - score: '85.71' + start_line: 248 + end_line: 276 + matcher: 3-seq + rule_length: 217 + matched_length: 186 + match_coverage: '85.71' + rule_relevance: 100 + identifier: bsd-2-clause-freebsd_9.RULE + license_expression: bsd-2-clause-views + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer.\n \n 2. Redistributions in binary form\ + \ must reproduce the above\n copyright notice, this list of conditions and the\ + \ following\n disclaimer in the documentation and/or other materials\n \ + \ provided with the distribution.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT\ + \ HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n \ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER\ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n \n ======================================================================\n\ + \ \n The" + - score: '100.0' + start_line: 334 + end_line: 352 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE." + - score: '100.0' + start_line: 363 + end_line: 390 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE REGENTS\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 400 + end_line: 427 + matcher: 2-aho + rule_length: 204 + matched_length: 204 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_588.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n * The copyright holder's name is not used to endorse or promote\n products\ + \ derived from this software without specific prior\n written permission.\n \n \ + \ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\"\ + \ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\ + \ IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING,\ + \ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA,\ + \ OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 440 + end_line: 459 + matcher: 2-aho + rule_length: 186 + matched_length: 186 + match_coverage: '100.0' + rule_relevance: 100 + identifier: michigan-disclaimer.LICENSE + license_expression: michigan-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to use, copy, create derivative works and\n redistribute\ + \ this software and such derivative works for any\n purpose, so long as the name of\ + \ The University of Michigan is not\n used in any advertising or publicity pertaining\ + \ to the use of\n distribution of this software without specific, written prior\n \ + \ authorization. If the above copyright notice or any other\n identification of\ + \ the University of Michigan is included in any\n copy of any portion of this software,\ + \ then the disclaimer below\n must also be included.\n \n THIS SOFTWARE IS PROVIDED\ + \ AS IS, WITHOUT REPRESENTATION FROM THE\n UNIVERSITY OF MICHIGAN AS TO ITS FITNESS\ + \ FOR ANY PURPOSE, AND\n WITHOUT WARRANTY BY THE UNIVERSITY OF MICHIGAN OF ANY KIND,\ + \ EITHER\n EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\n THE REGENTS OF THE UNIVERSITY\ + \ OF MICHIGAN SHALL NOT BE LIABLE FOR\n ANY DAMAGES, INCLUDING SPECIAL, INDIRECT, INCIDENTAL,\ + \ OR\n CONSEQUENTIAL DAMAGES, WITH RESPECT TO ANY CLAIM ARISING OUT OF OR\n IN CONNECTION\ + \ WITH THE USE OF THE SOFTWARE, EVEN IF IT HAS BEEN OR\n IS HEREAFTER ADVISED OF THE\ + \ POSSIBILITY OF SUCH DAMAGES." + - score: '100.0' + start_line: 469 + end_line: 476 + matcher: 2-aho + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This file is free software; as a special exception the author gives\n \ + \ unlimited permission to copy and/or distribute it, with or without\n modifications,\ + \ as long as this notice is preserved.\n \n This file is distributed in the hope that\ + \ it will be useful, but\n WITHOUT ANY WARRANTY, to the extent permitted by law; without\ + \ even\n the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n PURPOSE." + - score: '100.0' + start_line: 485 + end_line: 503 + matcher: 2-aho + rule_length: 159 + matched_length: 159 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_2.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government.\n It is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of Apple Inc. not be used in advertising or publicity\n\ + \ pertaining to distribution of the software without specific,\n written prior permission.\ + \ Apple Inc. makes no representations\n about the suitability of this software for\ + \ any purpose. It is\n provided \"as is\" without express or implied warranty.\n \n\ + \ THIS SOFTWARE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS OR\n IMPLIED WARRANTIES,\ + \ INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES OF MERCHANTIBILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 511 + end_line: 558 + matcher: 2-aho + rule_length: 328 + matched_length: 328 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openldap-2.8.LICENSE + license_expression: openldap-2.8 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The OpenLDAP Public License\n Version 2.8, 17 August 2003\n \n Redistribution\ + \ and use of this software and associated\n documentation (\"Software\"), with or without\ + \ modification, are\n permitted provided that the following conditions are met:\n \n\ + \ 1. Redistributions in source form must retain copyright statements\n and notices,\n\ + \ \n 2. Redistributions in binary form must reproduce applicable\n copyright\ + \ statements and notices, this list of conditions, and\n the following disclaimer\ + \ in the documentation and/or other\n materials provided with the distribution,\ + \ and\n \n 3. Redistributions must contain a verbatim copy of this document.\n \n \ + \ The OpenLDAP Foundation may revise this license from time to time.\n Each revision\ + \ is distinguished by a version number. You may use\n this Software under terms of\ + \ this license revision or under the\n terms of any subsequent revision of the license.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE OPENLDAP FOUNDATION AND ITS\n CONTRIBUTORS\ + \ \"AS IS\" AND ANY EXPRESSED OR IMPLIED WARRANTIES,\n INCLUDING, BUT NOT LIMITED TO,\ + \ THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL THE OPENLDAP FOUNDATION, ITS\n CONTRIBUTORS,\ + \ OR THE AUTHOR(S) OR OWNER(S) OF THE SOFTWARE BE\n LIABLE FOR ANY DIRECT, INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\ + \ OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER\ + \ IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING\ + \ IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF SUCH\n DAMAGE.\n \n The names of the authors and copyright holders must not\ + \ be used in\n advertising or otherwise to promote the sale, use or other dealing\n\ + \ in this Software without specific, written prior permission. Title\n to copyright\ + \ in this Software shall at all times remain with\n copyright holders.\n \n OpenLDAP\ + \ is a registered trademark of the OpenLDAP Foundation.\n \n Copyright 1999-2003 The\ + \ OpenLDAP Foundation, Redwood City,\n California, USA. All Rights Reserved. Permission\ + \ to copy and\n distribute verbatim copies of this document is granted." + - score: '100.0' + start_line: 568 + end_line: 595 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_933.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of KTH nor the names of its contributors may be\n used\ + \ to endorse or promote products derived from this software\n without specific prior\ + \ written permission.\n \n THIS SOFTWARE IS PROVIDED BY KTH AND ITS CONTRIBUTORS \"\ + AS IS\" AND\n ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\n \ + \ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n PARTICULAR PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL KTH OR ITS\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\ + \ BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n USE,\ + \ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF\ + \ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 608 + end_line: 636 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_151.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer.\n \n 2. Redistributions in binary form must\ + \ reproduce the above\n copyright notice, this list of conditions and the following\n\ + \ disclaimer in the documentation and/or other materials provided\n with the\ + \ distribution.\n \n 3. Neither the name of the Institute nor the names of its\n \ + \ contributors may be used to endorse or promote products derived\n from this\ + \ software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE INSTITUTE AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A\n PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE\n \ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 647 + end_line: 675 + matcher: 2-aho + rule_length: 217 + matched_length: 217 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_589.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the \"Oracle America, Inc.\" nor the names of\n its\ + \ contributors may be used to endorse or promote products\n derived from this software\ + \ without specific prior written\n permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n \ + \ COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\ + \ OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n\ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 682 + end_line: 705 + matcher: 2-aho + rule_length: 185 + matched_length: 185 + match_coverage: '100.0' + rule_relevance: 100 + identifier: freebsd-doc_5.RULE + license_expression: freebsd-doc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer as\n the first lines of this file unmodified.\n \n\ + \ 2. Redistributions in binary form must reproduce the above\n copyright notice,\ + \ this list of conditions and the following\n disclaimer in the documentation and/or\ + \ other materials provided\n with the distribution.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY NTT \"AS IS\" AND ANY EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING, BUT NOT LIMITED\ + \ TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL NTT BE LIABLE FOR ANY DIRECT,\n INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS;\ + \ OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER\ + \ IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n \ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '99.0' + start_line: 713 + end_line: 729 + matcher: 2-aho + rule_length: 143 + matched_length: 143 + match_coverage: '100.0' + rule_relevance: 99 + identifier: cmu-uc_12.RULE + license_expression: cmu-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software and\n its\ + \ documentation for any purpose and without fee is hereby\n granted, provided that\ + \ the above copyright notice appear in all\n copies and that both that copyright notice\ + \ and this permission\n notice appear in supporting documentation, and that the name\ + \ of\n Carnegie Mellon University not be used in advertising or publicity\n pertaining\ + \ to distribution of the software without specific,\n written prior permission.\n \n\ + \ CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO\n THIS SOFTWARE,\ + \ INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS, IN NO EVENT SHALL\ + \ CARNEGIE MELLON UNIVERSITY BE LIABLE\n FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL\ + \ DAMAGES OR ANY DAMAGES\n WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,\ + \ WHETHER IN\n AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING\n\ + \ OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS\n SOFTWARE." + - score: '95.0' + start_line: 735 + end_line: 743 + matcher: 2-aho + rule_length: 71 + matched_length: 71 + match_coverage: '100.0' + rule_relevance: 95 + identifier: nrl-permission_1.RULE + license_expression: nrl-permission + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify and distribute this software and\n its\ + \ documentation is hereby granted, provided that both the\n copyright notice and this\ + \ permission notice appear in all copies of\n the software, derivative works or modified\ + \ versions, and any\n portions thereof.\n \n NRL ALLOWS FREE USE OF THIS SOFTWARE\ + \ IN ITS \"AS IS\" CONDITION AND\n DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES\ + \ WHATSOEVER\n RESULTING FROM THE USE OF THIS SOFTWARE." + - score: '100.0' + start_line: 752 + end_line: 763 + matcher: 2-aho + rule_length: 99 + matched_length: 99 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ietf-trust_10.RULE + license_expression: ietf-trust + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This document is subject to the rights, licenses and restrictions\n contained\ + \ in BCP 78, and except as set forth therein, the authors\n retain all their rights.\n\ + \ \n This document and the information contained herein are provided on\n an \"\ + AS IS\" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE\n REPRESENTS OR IS SPONSORED\ + \ BY (IF ANY), THE INTERNET SOCIETY AND\n THE INTERNET ENGINEERING TASK FORCE DISCLAIM\ + \ ALL WARRANTIES,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT\n\ + \ THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR\n ANY IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A\n PARTICULAR PURPOSE." + - score: '100.0' + start_line: 769 + end_line: 776 + matcher: 2-aho + rule_length: 69 + matched_length: 69 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style_11.RULE + license_expression: mit-old-style + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose and without fee is hereby + granted, provided that the above copyright notice appear in all + copies and that both that copyright notice and this permission + notice appear in supporting documentation. Cygnus Support makes no + representations about the suitability of this software for any + purpose. It is provided "as is" without express or implied + warranty. + - score: '100.0' + start_line: 782 + end_line: 800 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE." + - score: '100.0' + start_line: 810 + end_line: 833 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS \"AS IS\"\n AND ANY\ + \ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED\n TO, THE IMPLIED WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A\n PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\ + \ EVENT SHALL THE AUTHOR OR\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO,\ + \ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n USE, DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN\ + \ CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING\ + \ IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 837 + end_line: 856 + matcher: 2-aho + rule_length: 165 + matched_length: 165 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_and_proprietary-license_1.RULE + license_expression: mit-no-advert-export-control AND proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "EXPORT OF THIS SOFTWARE from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to copy, modify, and distribute\n\ + \ this software and its documentation in source and binary forms is\n hereby granted,\ + \ provided that any documentation or other materials\n related to such distribution\ + \ or use acknowledge that the software\n was developed by the University of Southern\ + \ California.\n \n DISCLAIMER OF WARRANTY. THIS SOFTWARE IS PROVIDED \"AS IS\". The\n\ + \ University of Southern California MAKES NO REPRESENTATIONS OR\n WARRANTIES, EXPRESS\ + \ OR IMPLIED. By way of example, but not\n limitation, the University of Southern\ + \ California MAKES NO\n REPRESENTATIONS OR WARRANTIES OF MERCHANTABILITY OR FITNESS\ + \ FOR ANY\n PARTICULAR PURPOSE. The University of Southern California shall not\n \ + \ be held liable for any liability nor for any direct, indirect, or\n consequential\ + \ damages with respect to any claim by the user or\n distributor of the ksu software." + - score: '100.0' + start_line: 866 + end_line: 899 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. All advertising materials mentioning features or use of this\n software\ + \ must display the following acknowledgement:\n \n This product includes software\ + \ developed by the University of\n California, Berkeley and its contributors.\n\ + \ \n 4. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE REGENTS\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '99.0' + start_line: 907 + end_line: 922 + matcher: 2-aho + rule_length: 145 + matched_length: 145 + match_coverage: '100.0' + rule_relevance: 99 + identifier: mit-no-advert-export-control_4.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of Richard P. Basch, Lehman Brothers and M.I.T.\ + \ not be\n used in advertising or publicity pertaining to distribution of the\n \ + \ software without specific, written prior permission. Richard P.\n Basch, Lehman\ + \ Brothers and M.I.T. make no representations about the\n suitability of this software\ + \ for any purpose. It is provided \"as\n is\" without express or implied warranty." + - score: '100.0' + start_line: 934 + end_line: 968 + matcher: 2-aho + rule_length: 245 + matched_length: 245 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original_32.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. All advertising materials mentioning features or use of this\n software\ + \ must display the following acknowledgement:\n \n This product includes software\ + \ developed by the NetBSD\n Foundation, Inc. and its contributors.\n \n 4.\ + \ Neither the name of The NetBSD Foundation nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION,\ + \ INC. AND\n CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES,\n INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR A\ + \ PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS\ + \ BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\ + \ ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF SUCH\n DAMAGE." + - score: '100.0' + start_line: 978 + end_line: 996 + matcher: 2-aho + rule_length: 165 + matched_length: 165 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_483.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE COMPUTING\ + \ RESEARCH LAB OR\n NEW MEXICO STATE UNIVERSITY BE LIABLE FOR ANY CLAIM, DAMAGES OR\n\ + \ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n OTHERWISE, ARISING\ + \ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE\n OR THE USE OR OTHER DEALINGS IN\ + \ THE SOFTWARE." + - score: '100.0' + start_line: 1004 + end_line: 1016 + matcher: 2-aho + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for\n any\ + \ purpose with or without fee is hereby granted, provided that\n the above copyright\ + \ notice and this permission notice appear in all\n copies.\n \n THE SOFTWARE IS\ + \ PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL\n WARRANTIES WITH REGARD TO THIS\ + \ SOFTWARE INCLUDING ALL IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO\ + \ EVENT SHALL THE\n AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR\n CONSEQUENTIAL\ + \ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS\n OF USE, DATA OR PROFITS,\ + \ WHETHER IN AN ACTION OF CONTRACT,\n NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING\ + \ OUT OF OR IN\n CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE." + - score: '95.0' + start_line: 1025 + end_line: 1037 + matcher: 2-aho + rule_length: 131 + matched_length: 131 + match_coverage: '100.0' + rule_relevance: 95 + identifier: isc_16.RULE + license_expression: isc + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for + any purpose with or without fee is hereby granted, provided that + the above copyright notice and this permission notice appear in all + copies. THE SOFTWARE IS PROVIDED "AS IS" AND THEODORE TS'O (THE + AUTHOR) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN + NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER + RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION + OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR + IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. (Isn't + it sick that the U.S. culture of lawsuit-happy lawyers requires + this kind of disclaimer?) + - score: '100.0' + start_line: 1046 + end_line: 1047 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_22.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be freely redistributed without license or fee + provided this copyright message remains intact. + - score: '100.0' + start_line: 1060 + end_line: 1087 + matcher: 2-aho + rule_length: 208 + matched_length: 208 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_134.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED \"AS IS\" AND ANY\ + \ EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO\ + \ EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n\ + \ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS\ + \ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\ + \ OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH\n \ + \ DAMAGE." + - score: '100.0' + start_line: 1096 + end_line: 1112 + matcher: 2-aho + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-md4.LICENSE + license_expression: rsa-md4 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License to copy and use this software is granted provided that it\n is\ + \ identified as the \"RSA Data Security, Inc. MD4 Message Digest\n Algorithm\" in all\ + \ material mentioning or referencing this software\n or this function.\n \n License\ + \ is also granted to make and use derivative works provided\n that such works are identified\ + \ as \"derived from the RSA Data\n Security, Inc. MD4 Message Digest Algorithm\" in\ + \ all material\n mentioning or referencing the derived work.\n \n RSA Data Security,\ + \ Inc. makes no representations concerning either\n the merchantability of this software\ + \ or the suitability of this\n software for any particular purpose. It is provided\ + \ \"as is\"\n without express or implied warranty of any kind.\n \n These notices\ + \ must be retained in any copies of any part of this\n documentation and/or software." + - score: '100.0' + start_line: 1121 + end_line: 1137 + matcher: 2-aho + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-md5.LICENSE + license_expression: rsa-md5 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License to copy and use this software is granted provided that it\n is\ + \ identified as the \"RSA Data Security, Inc. MD5 Message- Digest\n Algorithm\" in\ + \ all material mentioning or referencing this software\n or this function.\n \n \ + \ License is also granted to make and use derivative works provided\n that such works\ + \ are identified as \"derived from the RSA Data\n Security, Inc. MD5 Message-Digest\ + \ Algorithm\" in all material\n mentioning or referencing the derived work.\n \n \ + \ RSA Data Security, Inc. makes no representations concerning either\n the merchantability\ + \ of this software or the suitability of this\n software for any particular purpose.\ + \ It is provided \"as is\"\n without express or implied warranty of any kind.\n \n\ + \ These notices must be retained in any copies of any part of this\n documentation\ + \ and/or software." + - score: '100.0' + start_line: 1147 + end_line: 1153 + matcher: 2-aho + rule_length: 54 + matched_length: 54 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-1990.LICENSE + license_expression: rsa-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "RSA Data Security, Inc. makes no representations concerning either\n the\ + \ merchantability of this software or the suitability of this\n software for any particular\ + \ purpose. It is provided \"as is\" without\n express or implied warranty of any kind.\n\ + \ \n These notices must be retained in any copies of any part of this\n documentation\ + \ and/or software." + - score: '100.0' + start_line: 1163 + end_line: 1181 + matcher: 2-aho + rule_length: 177 + matched_length: 177 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-with-modification-obligations_2.RULE + license_expression: mit-with-modification-obligations + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of M.I.T. not be used in advertising or publicity\n\ + \ pertaining to distribution of the software without specific,\n written prior permission.\ + \ Furthermore if you modify this software\n you must label your software as modified\ + \ software and not\n distribute it in such a fashion that it might be confused with\ + \ the\n original M.I.T. software. Neither M.I.T., the Open Computing\n Security\ + \ Group, nor CyberSAFE Corporation make any representations\n about the suitability\ + \ of this software for any purpose. It is\n provided \"as is\" without express or\ + \ implied warranty." + - score: '100.0' + start_line: 1190 + end_line: 1217 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_590.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of PADL Software nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY PADL SOFTWARE\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL PADL SOFTWARE\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1226 + end_line: 1264 + matcher: 2-aho + rule_length: 335 + matched_length: 335 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_or_gpl-2.0-plus_7.RULE + license_expression: bsd-simplified OR gpl-2.0-plus + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS\ + \ IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE\ + \ DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\ + \ ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON\ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n \n Alternatively, the contents\ + \ of this package may be used under the\n terms of the GNU General Public License (\"\ + GPL\") version 2 or any\n later version, in which case the provisions of the GPL are\n\ + \ applicable instead of the above. If you wish to allow the use of\n your version\ + \ of this package only under the terms of the GPL and\n not to allow others to use\ + \ your version of this file under the BSD\n license, indicate your decision by deleting\ + \ the provisions above\n and replace them with the notice and other provisions required\ + \ by\n the GPL in this and the other files of this package. If you do not\n delete\ + \ the provisions above, a recipient may use your version of\n this file under either\ + \ the BSD or the GPL.\n \n On Debian systems, the complete text of the GNU General\ + \ Public License\n version 2 can be found in `/usr/share/common-licenses/GPL-2'." + - score: '100.0' + start_line: 1274 + end_line: 1302 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-intel_4.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials\n provided with\ + \ the distribution.\n \n * Neither the name of Intel Corporation nor the names of\ + \ its\n contributors may be used to endorse or promote products\n derived\ + \ from this software without specific prior written\n permission.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY\ + \ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\ + \ EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR\ + \ PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 1311 + end_line: 1334 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS\ + \ IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE\ + \ DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\ + \ ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON\ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkeyutils1/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkeyutils1/copyright-detailed.expected.yml index f127c11b099..2541b82a395 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkeyutils1/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkeyutils1/copyright-detailed.expected.yml @@ -1,14 +1,154 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - LGPL-2+ - LGPL-2+ - GPL-2+ - LGPL-2+ -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus - AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0-plus AND - lgpl-2.0) -- | +license_expression: (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (lgpl-2.0-plus + AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) +copyright: | 2005-2018, Red Hat 2005-2018, Red Hat 2006-2013, Daniel Baumann 2013, Luk Claes 2014-2019, Christian Kastner +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_119.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License + - score: '100.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkeyutils1/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkeyutils1/copyright.expected.yml index 63aa98acbe2..8cb1eda4df0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkeyutils1/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkeyutils1/copyright.expected.yml @@ -1,5 +1,145 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - LGPL-2+ -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus - AND lgpl-2.0-plus AND lgpl-2.0) -- 2005-2018, Red Hat +license_expression: (gpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0) +copyright: 2005-2018, Red Hat +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_119.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_33.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the GNU General Public License + - score: '100.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkrb5-3/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkrb5-3/copyright-detailed.expected.yml index 22924e515d7..9fb5d8d7b4c 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkrb5-3/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkrb5-3/copyright-detailed.expected.yml @@ -1,12 +1,15 @@ -- -- bsd-simplified AND generic-export-compliance AND cc-by-sa-3.0 AND proprietary-license AND - other-permissive AND mit-no-advert-export-control AND brian-gladman-3-clause AND bsd-new AND - unknown-license-reference AND mit AND bsd-2-clause-views AND michigan-disclaimer AND fsf-unlimited-no-warranty - AND openldap-2.8 AND freebsd-doc AND cmu-uc AND nrl-permission AND ietf-trust AND mit-old-style - AND (mit-no-advert-export-control AND proprietary-license) AND bsd-original-uc AND bsd-original - AND isc AND rsa-md4 AND rsa-md5 AND rsa-1990 AND mit-with-modification-obligations AND (bsd-simplified - OR gpl-2.0-plus) AND (mpl-1.1 OR gpl-1.0-plus) AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: bsd-simplified AND generic-export-compliance AND cc-by-sa-3.0 AND proprietary-license + AND other-permissive AND mit-no-advert-export-control AND brian-gladman-3-clause AND bsd-new + AND mit AND bsd-2-clause-views AND mit AND bsd-new AND bsd-new AND michigan-disclaimer AND + fsf-unlimited-no-warranty AND mit-no-advert-export-control AND openldap-2.8 AND bsd-new AND + bsd-new AND bsd-new AND freebsd-doc AND cmu-uc AND nrl-permission AND ietf-trust AND mit-old-style + AND mit AND bsd-simplified AND (mit-no-advert-export-control AND proprietary-license) AND + bsd-original-uc AND mit-no-advert-export-control AND bsd-original AND mit AND isc AND isc + AND other-permissive AND bsd-new AND rsa-md4 AND rsa-md5 AND rsa-1990 AND mit-with-modification-obligations + AND bsd-new AND (bsd-simplified OR gpl-2.0-plus) AND bsd-new AND bsd-simplified +copyright: | Copyright (c) 1985-2018 by the Massachusetts Institute of Technology copyright MIT, Cygnus Support, Novell, OpenVision Technologies, Oracle, Red Hat, Sun Microsystems, FundsXpress, and others Copyright, OpenVision Technologies, Inc., 1993-1996 @@ -56,3 +59,1281 @@ Copyright (c) 2007,2008,2009 Marc Alexander Lehmann Copyright (c) 2010, Intel Corporation Copyright (c) 1998 by Danilo Almeida +matches: + - score: '100.0' + start_line: 18 + end_line: 39 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions and\ + \ the following disclaimer.\n \n * Redistributions in binary form must reproduce the above\ + \ copyright\n notice, this list of conditions and the following disclaimer in the\n\ + \ documentation and/or other materials provided with the distribution.\n \n THIS SOFTWARE\ + \ IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR\ + \ IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 41 + end_line: 52 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: generic-export-compliance_3.RULE + license_expression: generic-export-compliance + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Downloading of this software may constitute an export of cryptographic\n\ + \ software from the United States of America that is subject to the\n United States Export\ + \ Administration Regulations (EAR), 15 CFR 730-774.\n Additional laws or regulations may\ + \ apply. It is the responsibility of\n the person or entity contemplating export to comply\ + \ with all\n applicable export laws and regulations, including obtaining any\n required\ + \ license from the U.S. government.\n \n The U.S. government prohibits export of encryption\ + \ source code to\n certain countries and individuals, including, but not limited to, the\n\ + \ countries of Cuba, Iran, North Korea, Sudan, Syria, and residents and\n nationals of\ + \ those countries." + - score: '100.0' + start_line: 54 + end_line: 56 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc-by-sa-3.0_22.RULE + license_expression: cc-by-sa-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Documentation components of this software distribution are licensed + under a Creative Commons Attribution-ShareAlike 3.0 Unported License. + (http://creativecommons.org/licenses/by-sa/3.0/) + - score: '100.0' + start_line: 64 + end_line: 70 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_136.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "No commercial use of these trademarks may be made without\n prior written\ + \ permission of MIT.\n \n \"Commercial use\" means use of a name in a product or other\ + \ for-profit\n manner. It does NOT prevent a commercial firm from referring to the\n\ + \ MIT trademarks in order to convey information (although in doing so,\n recognition of\ + \ their trademark status should be given)." + - score: '100.0' + start_line: 82 + end_line: 111 + matcher: 2-aho + rule_length: 244 + matched_length: 244 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_80.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "WARNING: Retrieving the OpenVision Kerberos Administration system\n source\ + \ code, as described below, indicates your acceptance of the\n following terms. If\ + \ you do not agree to the following terms, do\n not retrieve the OpenVision Kerberos\ + \ administration system.\n \n You may freely use and distribute the Source Code and\ + \ Object Code\n compiled from it, with or without modification, but this Source\n \ + \ Code is provided to you \"AS IS\" EXCLUSIVE OF ANY WARRANTY,\n INCLUDING, WITHOUT\ + \ LIMITATION, ANY WARRANTIES OF MERCHANTABILITY OR\n FITNESS FOR A PARTICULAR PURPOSE,\ + \ OR ANY OTHER WARRANTY, WHETHER\n EXPRESS OR IMPLIED. IN NO EVENT WILL OPENVISION\ + \ HAVE ANY LIABILITY\n FOR ANY LOST PROFITS, LOSS OF DATA OR COSTS OF PROCUREMENT OF\n\ + \ SUBSTITUTE GOODS OR SERVICES, OR FOR ANY SPECIAL, INDIRECT, OR\n CONSEQUENTIAL\ + \ DAMAGES ARISING OUT OF THIS AGREEMENT, INCLUDING,\n WITHOUT LIMITATION, THOSE RESULTING\ + \ FROM THE USE OF THE SOURCE\n CODE, OR THE FAILURE OF THE SOURCE CODE TO PERFORM,\ + \ OR FOR ANY\n OTHER REASON.\n \n OpenVision retains all copyrights in the donated\ + \ Source Code.\n OpenVision also retains copyright to derivative works of the Source\n\ + \ Code, whether created by OpenVision or by a third party. The\n OpenVision copyright\ + \ notice must be preserved if derivative works\n are made based on the donated Source\ + \ Code.\n \n OpenVision Technologies, Inc. has donated this Kerberos\n Administration\ + \ system to MIT for inclusion in the standard Kerberos\n 5 distribution. This donation\ + \ underscores our commitment to\n continuing Kerberos technology development and our\ + \ gratitude for\n the valuable work which has been performed by MIT and the Kerberos\n\ + \ community." + - score: '98.73' + start_line: 128 + end_line: 146 + matcher: 2-aho + rule_length: 155 + matched_length: 155 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_1.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government.\n It is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of [FundsXpress]. not be used in advertising or\ + \ publicity\n pertaining to distribution of the software without specific,\n written\ + \ prior permission. [FundsXpress] makes no representations\n about the suitability\ + \ of this software for any purpose. It is\n provided \"as is\" without express or\ + \ implied warranty.\n \n THIS SOFTWARE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS\ + \ OR\n IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 156 + end_line: 175 + matcher: 2-aho + rule_length: 116 + matched_length: 116 + match_coverage: '100.0' + rule_relevance: 100 + identifier: brian-gladman-3-clause_2.RULE + license_expression: brian-gladman-3-clause + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "LICENSE TERMS\n \n The free distribution and use of this software in both\ + \ source and\n binary form is allowed (with or without changes) provided that:\n \n\ + \ 1. distributions of this source code include the above copyright\n notice,\ + \ this list of conditions and the following disclaimer;\n \n 2. distributions in binary\ + \ form include the above copyright notice,\n this list of conditions and the following\ + \ disclaimer in the\n documentation and/or other associated materials;\n \n 3.\ + \ the copyright holder's name is not used to endorse products\n built using this\ + \ software without specific written permission.\n \n DISCLAIMER\n \n This software\ + \ is provided 'as is' with no explcit or implied\n warranties in respect of any properties,\ + \ including, but not limited\n to, correctness and fitness for purpose." + - score: '100.0' + start_line: 187 + end_line: 214 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_587.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n * Neither the name of Red Hat, Inc., nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT\ + \ HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n \ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER\ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 222 + end_line: 240 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT\n HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n \ + \ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN\ + \ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n DEALINGS IN THE SOFTWARE." + - score: '85.71' + start_line: 248 + end_line: 276 + matcher: 3-seq + rule_length: 217 + matched_length: 186 + match_coverage: '85.71' + rule_relevance: 100 + identifier: bsd-2-clause-freebsd_9.RULE + license_expression: bsd-2-clause-views + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer.\n \n 2. Redistributions in binary form\ + \ must reproduce the above\n copyright notice, this list of conditions and the\ + \ following\n disclaimer in the documentation and/or other materials\n \ + \ provided with the distribution.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT\ + \ HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n \ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER\ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n \n ======================================================================\n\ + \ \n The" + - score: '100.0' + start_line: 334 + end_line: 352 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE." + - score: '100.0' + start_line: 363 + end_line: 390 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE REGENTS\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 400 + end_line: 427 + matcher: 2-aho + rule_length: 204 + matched_length: 204 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_588.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n * The copyright holder's name is not used to endorse or promote\n products\ + \ derived from this software without specific prior\n written permission.\n \n \ + \ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\"\ + \ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\ + \ IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING,\ + \ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA,\ + \ OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 440 + end_line: 459 + matcher: 2-aho + rule_length: 186 + matched_length: 186 + match_coverage: '100.0' + rule_relevance: 100 + identifier: michigan-disclaimer.LICENSE + license_expression: michigan-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to use, copy, create derivative works and\n redistribute\ + \ this software and such derivative works for any\n purpose, so long as the name of\ + \ The University of Michigan is not\n used in any advertising or publicity pertaining\ + \ to the use of\n distribution of this software without specific, written prior\n \ + \ authorization. If the above copyright notice or any other\n identification of\ + \ the University of Michigan is included in any\n copy of any portion of this software,\ + \ then the disclaimer below\n must also be included.\n \n THIS SOFTWARE IS PROVIDED\ + \ AS IS, WITHOUT REPRESENTATION FROM THE\n UNIVERSITY OF MICHIGAN AS TO ITS FITNESS\ + \ FOR ANY PURPOSE, AND\n WITHOUT WARRANTY BY THE UNIVERSITY OF MICHIGAN OF ANY KIND,\ + \ EITHER\n EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\n THE REGENTS OF THE UNIVERSITY\ + \ OF MICHIGAN SHALL NOT BE LIABLE FOR\n ANY DAMAGES, INCLUDING SPECIAL, INDIRECT, INCIDENTAL,\ + \ OR\n CONSEQUENTIAL DAMAGES, WITH RESPECT TO ANY CLAIM ARISING OUT OF OR\n IN CONNECTION\ + \ WITH THE USE OF THE SOFTWARE, EVEN IF IT HAS BEEN OR\n IS HEREAFTER ADVISED OF THE\ + \ POSSIBILITY OF SUCH DAMAGES." + - score: '100.0' + start_line: 469 + end_line: 476 + matcher: 2-aho + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This file is free software; as a special exception the author gives\n \ + \ unlimited permission to copy and/or distribute it, with or without\n modifications,\ + \ as long as this notice is preserved.\n \n This file is distributed in the hope that\ + \ it will be useful, but\n WITHOUT ANY WARRANTY, to the extent permitted by law; without\ + \ even\n the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n PURPOSE." + - score: '100.0' + start_line: 485 + end_line: 503 + matcher: 2-aho + rule_length: 159 + matched_length: 159 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_2.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government.\n It is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of Apple Inc. not be used in advertising or publicity\n\ + \ pertaining to distribution of the software without specific,\n written prior permission.\ + \ Apple Inc. makes no representations\n about the suitability of this software for\ + \ any purpose. It is\n provided \"as is\" without express or implied warranty.\n \n\ + \ THIS SOFTWARE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS OR\n IMPLIED WARRANTIES,\ + \ INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES OF MERCHANTIBILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 511 + end_line: 558 + matcher: 2-aho + rule_length: 328 + matched_length: 328 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openldap-2.8.LICENSE + license_expression: openldap-2.8 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The OpenLDAP Public License\n Version 2.8, 17 August 2003\n \n Redistribution\ + \ and use of this software and associated\n documentation (\"Software\"), with or without\ + \ modification, are\n permitted provided that the following conditions are met:\n \n\ + \ 1. Redistributions in source form must retain copyright statements\n and notices,\n\ + \ \n 2. Redistributions in binary form must reproduce applicable\n copyright\ + \ statements and notices, this list of conditions, and\n the following disclaimer\ + \ in the documentation and/or other\n materials provided with the distribution,\ + \ and\n \n 3. Redistributions must contain a verbatim copy of this document.\n \n \ + \ The OpenLDAP Foundation may revise this license from time to time.\n Each revision\ + \ is distinguished by a version number. You may use\n this Software under terms of\ + \ this license revision or under the\n terms of any subsequent revision of the license.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE OPENLDAP FOUNDATION AND ITS\n CONTRIBUTORS\ + \ \"AS IS\" AND ANY EXPRESSED OR IMPLIED WARRANTIES,\n INCLUDING, BUT NOT LIMITED TO,\ + \ THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL THE OPENLDAP FOUNDATION, ITS\n CONTRIBUTORS,\ + \ OR THE AUTHOR(S) OR OWNER(S) OF THE SOFTWARE BE\n LIABLE FOR ANY DIRECT, INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\ + \ OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER\ + \ IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING\ + \ IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF SUCH\n DAMAGE.\n \n The names of the authors and copyright holders must not\ + \ be used in\n advertising or otherwise to promote the sale, use or other dealing\n\ + \ in this Software without specific, written prior permission. Title\n to copyright\ + \ in this Software shall at all times remain with\n copyright holders.\n \n OpenLDAP\ + \ is a registered trademark of the OpenLDAP Foundation.\n \n Copyright 1999-2003 The\ + \ OpenLDAP Foundation, Redwood City,\n California, USA. All Rights Reserved. Permission\ + \ to copy and\n distribute verbatim copies of this document is granted." + - score: '100.0' + start_line: 568 + end_line: 595 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_933.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of KTH nor the names of its contributors may be\n used\ + \ to endorse or promote products derived from this software\n without specific prior\ + \ written permission.\n \n THIS SOFTWARE IS PROVIDED BY KTH AND ITS CONTRIBUTORS \"\ + AS IS\" AND\n ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\n \ + \ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n PARTICULAR PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL KTH OR ITS\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\ + \ BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n USE,\ + \ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF\ + \ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 608 + end_line: 636 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_151.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer.\n \n 2. Redistributions in binary form must\ + \ reproduce the above\n copyright notice, this list of conditions and the following\n\ + \ disclaimer in the documentation and/or other materials provided\n with the\ + \ distribution.\n \n 3. Neither the name of the Institute nor the names of its\n \ + \ contributors may be used to endorse or promote products derived\n from this\ + \ software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE INSTITUTE AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A\n PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE\n \ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 647 + end_line: 675 + matcher: 2-aho + rule_length: 217 + matched_length: 217 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_589.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the \"Oracle America, Inc.\" nor the names of\n its\ + \ contributors may be used to endorse or promote products\n derived from this software\ + \ without specific prior written\n permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n \ + \ COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\ + \ OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n\ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 682 + end_line: 705 + matcher: 2-aho + rule_length: 185 + matched_length: 185 + match_coverage: '100.0' + rule_relevance: 100 + identifier: freebsd-doc_5.RULE + license_expression: freebsd-doc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer as\n the first lines of this file unmodified.\n \n\ + \ 2. Redistributions in binary form must reproduce the above\n copyright notice,\ + \ this list of conditions and the following\n disclaimer in the documentation and/or\ + \ other materials provided\n with the distribution.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY NTT \"AS IS\" AND ANY EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING, BUT NOT LIMITED\ + \ TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL NTT BE LIABLE FOR ANY DIRECT,\n INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS;\ + \ OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER\ + \ IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n \ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '99.0' + start_line: 713 + end_line: 729 + matcher: 2-aho + rule_length: 143 + matched_length: 143 + match_coverage: '100.0' + rule_relevance: 99 + identifier: cmu-uc_12.RULE + license_expression: cmu-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software and\n its\ + \ documentation for any purpose and without fee is hereby\n granted, provided that\ + \ the above copyright notice appear in all\n copies and that both that copyright notice\ + \ and this permission\n notice appear in supporting documentation, and that the name\ + \ of\n Carnegie Mellon University not be used in advertising or publicity\n pertaining\ + \ to distribution of the software without specific,\n written prior permission.\n \n\ + \ CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO\n THIS SOFTWARE,\ + \ INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS, IN NO EVENT SHALL\ + \ CARNEGIE MELLON UNIVERSITY BE LIABLE\n FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL\ + \ DAMAGES OR ANY DAMAGES\n WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,\ + \ WHETHER IN\n AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING\n\ + \ OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS\n SOFTWARE." + - score: '95.0' + start_line: 735 + end_line: 743 + matcher: 2-aho + rule_length: 71 + matched_length: 71 + match_coverage: '100.0' + rule_relevance: 95 + identifier: nrl-permission_1.RULE + license_expression: nrl-permission + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify and distribute this software and\n its\ + \ documentation is hereby granted, provided that both the\n copyright notice and this\ + \ permission notice appear in all copies of\n the software, derivative works or modified\ + \ versions, and any\n portions thereof.\n \n NRL ALLOWS FREE USE OF THIS SOFTWARE\ + \ IN ITS \"AS IS\" CONDITION AND\n DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES\ + \ WHATSOEVER\n RESULTING FROM THE USE OF THIS SOFTWARE." + - score: '100.0' + start_line: 752 + end_line: 763 + matcher: 2-aho + rule_length: 99 + matched_length: 99 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ietf-trust_10.RULE + license_expression: ietf-trust + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This document is subject to the rights, licenses and restrictions\n contained\ + \ in BCP 78, and except as set forth therein, the authors\n retain all their rights.\n\ + \ \n This document and the information contained herein are provided on\n an \"\ + AS IS\" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE\n REPRESENTS OR IS SPONSORED\ + \ BY (IF ANY), THE INTERNET SOCIETY AND\n THE INTERNET ENGINEERING TASK FORCE DISCLAIM\ + \ ALL WARRANTIES,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT\n\ + \ THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR\n ANY IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A\n PARTICULAR PURPOSE." + - score: '100.0' + start_line: 769 + end_line: 776 + matcher: 2-aho + rule_length: 69 + matched_length: 69 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style_11.RULE + license_expression: mit-old-style + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose and without fee is hereby + granted, provided that the above copyright notice appear in all + copies and that both that copyright notice and this permission + notice appear in supporting documentation. Cygnus Support makes no + representations about the suitability of this software for any + purpose. It is provided "as is" without express or implied + warranty. + - score: '100.0' + start_line: 782 + end_line: 800 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE." + - score: '100.0' + start_line: 810 + end_line: 833 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS \"AS IS\"\n AND ANY\ + \ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED\n TO, THE IMPLIED WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A\n PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\ + \ EVENT SHALL THE AUTHOR OR\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO,\ + \ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n USE, DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN\ + \ CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING\ + \ IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 837 + end_line: 856 + matcher: 2-aho + rule_length: 165 + matched_length: 165 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_and_proprietary-license_1.RULE + license_expression: mit-no-advert-export-control AND proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "EXPORT OF THIS SOFTWARE from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to copy, modify, and distribute\n\ + \ this software and its documentation in source and binary forms is\n hereby granted,\ + \ provided that any documentation or other materials\n related to such distribution\ + \ or use acknowledge that the software\n was developed by the University of Southern\ + \ California.\n \n DISCLAIMER OF WARRANTY. THIS SOFTWARE IS PROVIDED \"AS IS\". The\n\ + \ University of Southern California MAKES NO REPRESENTATIONS OR\n WARRANTIES, EXPRESS\ + \ OR IMPLIED. By way of example, but not\n limitation, the University of Southern\ + \ California MAKES NO\n REPRESENTATIONS OR WARRANTIES OF MERCHANTABILITY OR FITNESS\ + \ FOR ANY\n PARTICULAR PURPOSE. The University of Southern California shall not\n \ + \ be held liable for any liability nor for any direct, indirect, or\n consequential\ + \ damages with respect to any claim by the user or\n distributor of the ksu software." + - score: '100.0' + start_line: 866 + end_line: 899 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. All advertising materials mentioning features or use of this\n software\ + \ must display the following acknowledgement:\n \n This product includes software\ + \ developed by the University of\n California, Berkeley and its contributors.\n\ + \ \n 4. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE REGENTS\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '99.0' + start_line: 907 + end_line: 922 + matcher: 2-aho + rule_length: 145 + matched_length: 145 + match_coverage: '100.0' + rule_relevance: 99 + identifier: mit-no-advert-export-control_4.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of Richard P. Basch, Lehman Brothers and M.I.T.\ + \ not be\n used in advertising or publicity pertaining to distribution of the\n \ + \ software without specific, written prior permission. Richard P.\n Basch, Lehman\ + \ Brothers and M.I.T. make no representations about the\n suitability of this software\ + \ for any purpose. It is provided \"as\n is\" without express or implied warranty." + - score: '100.0' + start_line: 934 + end_line: 968 + matcher: 2-aho + rule_length: 245 + matched_length: 245 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original_32.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. All advertising materials mentioning features or use of this\n software\ + \ must display the following acknowledgement:\n \n This product includes software\ + \ developed by the NetBSD\n Foundation, Inc. and its contributors.\n \n 4.\ + \ Neither the name of The NetBSD Foundation nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION,\ + \ INC. AND\n CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES,\n INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR A\ + \ PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS\ + \ BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\ + \ ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF SUCH\n DAMAGE." + - score: '100.0' + start_line: 978 + end_line: 996 + matcher: 2-aho + rule_length: 165 + matched_length: 165 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_483.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE COMPUTING\ + \ RESEARCH LAB OR\n NEW MEXICO STATE UNIVERSITY BE LIABLE FOR ANY CLAIM, DAMAGES OR\n\ + \ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n OTHERWISE, ARISING\ + \ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE\n OR THE USE OR OTHER DEALINGS IN\ + \ THE SOFTWARE." + - score: '100.0' + start_line: 1004 + end_line: 1016 + matcher: 2-aho + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for\n any\ + \ purpose with or without fee is hereby granted, provided that\n the above copyright\ + \ notice and this permission notice appear in all\n copies.\n \n THE SOFTWARE IS\ + \ PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL\n WARRANTIES WITH REGARD TO THIS\ + \ SOFTWARE INCLUDING ALL IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO\ + \ EVENT SHALL THE\n AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR\n CONSEQUENTIAL\ + \ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS\n OF USE, DATA OR PROFITS,\ + \ WHETHER IN AN ACTION OF CONTRACT,\n NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING\ + \ OUT OF OR IN\n CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE." + - score: '95.0' + start_line: 1025 + end_line: 1037 + matcher: 2-aho + rule_length: 131 + matched_length: 131 + match_coverage: '100.0' + rule_relevance: 95 + identifier: isc_16.RULE + license_expression: isc + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for + any purpose with or without fee is hereby granted, provided that + the above copyright notice and this permission notice appear in all + copies. THE SOFTWARE IS PROVIDED "AS IS" AND THEODORE TS'O (THE + AUTHOR) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN + NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER + RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION + OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR + IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. (Isn't + it sick that the U.S. culture of lawsuit-happy lawyers requires + this kind of disclaimer?) + - score: '100.0' + start_line: 1046 + end_line: 1047 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_22.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be freely redistributed without license or fee + provided this copyright message remains intact. + - score: '100.0' + start_line: 1060 + end_line: 1087 + matcher: 2-aho + rule_length: 208 + matched_length: 208 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_134.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED \"AS IS\" AND ANY\ + \ EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO\ + \ EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n\ + \ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS\ + \ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\ + \ OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH\n \ + \ DAMAGE." + - score: '100.0' + start_line: 1096 + end_line: 1112 + matcher: 2-aho + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-md4.LICENSE + license_expression: rsa-md4 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License to copy and use this software is granted provided that it\n is\ + \ identified as the \"RSA Data Security, Inc. MD4 Message Digest\n Algorithm\" in all\ + \ material mentioning or referencing this software\n or this function.\n \n License\ + \ is also granted to make and use derivative works provided\n that such works are identified\ + \ as \"derived from the RSA Data\n Security, Inc. MD4 Message Digest Algorithm\" in\ + \ all material\n mentioning or referencing the derived work.\n \n RSA Data Security,\ + \ Inc. makes no representations concerning either\n the merchantability of this software\ + \ or the suitability of this\n software for any particular purpose. It is provided\ + \ \"as is\"\n without express or implied warranty of any kind.\n \n These notices\ + \ must be retained in any copies of any part of this\n documentation and/or software." + - score: '100.0' + start_line: 1121 + end_line: 1137 + matcher: 2-aho + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-md5.LICENSE + license_expression: rsa-md5 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License to copy and use this software is granted provided that it\n is\ + \ identified as the \"RSA Data Security, Inc. MD5 Message- Digest\n Algorithm\" in\ + \ all material mentioning or referencing this software\n or this function.\n \n \ + \ License is also granted to make and use derivative works provided\n that such works\ + \ are identified as \"derived from the RSA Data\n Security, Inc. MD5 Message-Digest\ + \ Algorithm\" in all material\n mentioning or referencing the derived work.\n \n \ + \ RSA Data Security, Inc. makes no representations concerning either\n the merchantability\ + \ of this software or the suitability of this\n software for any particular purpose.\ + \ It is provided \"as is\"\n without express or implied warranty of any kind.\n \n\ + \ These notices must be retained in any copies of any part of this\n documentation\ + \ and/or software." + - score: '100.0' + start_line: 1147 + end_line: 1153 + matcher: 2-aho + rule_length: 54 + matched_length: 54 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-1990.LICENSE + license_expression: rsa-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "RSA Data Security, Inc. makes no representations concerning either\n the\ + \ merchantability of this software or the suitability of this\n software for any particular\ + \ purpose. It is provided \"as is\" without\n express or implied warranty of any kind.\n\ + \ \n These notices must be retained in any copies of any part of this\n documentation\ + \ and/or software." + - score: '100.0' + start_line: 1163 + end_line: 1181 + matcher: 2-aho + rule_length: 177 + matched_length: 177 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-with-modification-obligations_2.RULE + license_expression: mit-with-modification-obligations + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of M.I.T. not be used in advertising or publicity\n\ + \ pertaining to distribution of the software without specific,\n written prior permission.\ + \ Furthermore if you modify this software\n you must label your software as modified\ + \ software and not\n distribute it in such a fashion that it might be confused with\ + \ the\n original M.I.T. software. Neither M.I.T., the Open Computing\n Security\ + \ Group, nor CyberSAFE Corporation make any representations\n about the suitability\ + \ of this software for any purpose. It is\n provided \"as is\" without express or\ + \ implied warranty." + - score: '100.0' + start_line: 1190 + end_line: 1217 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_590.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of PADL Software nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY PADL SOFTWARE\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL PADL SOFTWARE\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1226 + end_line: 1264 + matcher: 2-aho + rule_length: 335 + matched_length: 335 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_or_gpl-2.0-plus_7.RULE + license_expression: bsd-simplified OR gpl-2.0-plus + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS\ + \ IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE\ + \ DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\ + \ ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON\ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n \n Alternatively, the contents\ + \ of this package may be used under the\n terms of the GNU General Public License (\"\ + GPL\") version 2 or any\n later version, in which case the provisions of the GPL are\n\ + \ applicable instead of the above. If you wish to allow the use of\n your version\ + \ of this package only under the terms of the GPL and\n not to allow others to use\ + \ your version of this file under the BSD\n license, indicate your decision by deleting\ + \ the provisions above\n and replace them with the notice and other provisions required\ + \ by\n the GPL in this and the other files of this package. If you do not\n delete\ + \ the provisions above, a recipient may use your version of\n this file under either\ + \ the BSD or the GPL.\n \n On Debian systems, the complete text of the GNU General\ + \ Public License\n version 2 can be found in `/usr/share/common-licenses/GPL-2'." + - score: '100.0' + start_line: 1274 + end_line: 1302 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-intel_4.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials\n provided with\ + \ the distribution.\n \n * Neither the name of Intel Corporation nor the names of\ + \ its\n contributors may be used to endorse or promote products\n derived\ + \ from this software without specific prior written\n permission.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY\ + \ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\ + \ EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR\ + \ PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 1311 + end_line: 1334 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS\ + \ IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE\ + \ DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\ + \ ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON\ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkrb5-3/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkrb5-3/copyright.expected.yml index 22924e515d7..1df017652bd 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkrb5-3/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libkrb5-3/copyright.expected.yml @@ -1,12 +1,12 @@ -- -- bsd-simplified AND generic-export-compliance AND cc-by-sa-3.0 AND proprietary-license AND - other-permissive AND mit-no-advert-export-control AND brian-gladman-3-clause AND bsd-new AND - unknown-license-reference AND mit AND bsd-2-clause-views AND michigan-disclaimer AND fsf-unlimited-no-warranty - AND openldap-2.8 AND freebsd-doc AND cmu-uc AND nrl-permission AND ietf-trust AND mit-old-style - AND (mit-no-advert-export-control AND proprietary-license) AND bsd-original-uc AND bsd-original - AND isc AND rsa-md4 AND rsa-md5 AND rsa-1990 AND mit-with-modification-obligations AND (bsd-simplified - OR gpl-2.0-plus) AND (mpl-1.1 OR gpl-1.0-plus) AND gpl-2.0 -- | +primary_license: +declared_license: +license_expression: bsd-simplified AND generic-export-compliance AND cc-by-sa-3.0 AND proprietary-license + AND other-permissive AND mit-no-advert-export-control AND brian-gladman-3-clause AND bsd-new + AND mit AND bsd-2-clause-views AND michigan-disclaimer AND fsf-unlimited-no-warranty AND openldap-2.8 + AND freebsd-doc AND cmu-uc AND nrl-permission AND ietf-trust AND mit-old-style AND (mit-no-advert-export-control + AND proprietary-license) AND bsd-original-uc AND bsd-original AND isc AND rsa-md4 AND rsa-md5 + AND rsa-1990 AND mit-with-modification-obligations AND (bsd-simplified OR gpl-2.0-plus) +copyright: | Copyright (c) 1985-2018 by the Massachusetts Institute of Technology copyright MIT, Cygnus Support, Novell, OpenVision Technologies, Oracle, Red Hat, Sun Microsystems, FundsXpress, and others Copyright, OpenVision Technologies, Inc., 1993-1996 @@ -56,3 +56,1281 @@ Copyright (c) 2007,2008,2009 Marc Alexander Lehmann Copyright (c) 2010, Intel Corporation Copyright (c) 1998 by Danilo Almeida +matches: + - score: '100.0' + start_line: 18 + end_line: 39 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are\n met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions and\ + \ the following disclaimer.\n \n * Redistributions in binary form must reproduce the above\ + \ copyright\n notice, this list of conditions and the following disclaimer in the\n\ + \ documentation and/or other materials provided with the distribution.\n \n THIS SOFTWARE\ + \ IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR\ + \ IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\ + \ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\ + \ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE,\ + \ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 41 + end_line: 52 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: generic-export-compliance_3.RULE + license_expression: generic-export-compliance + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Downloading of this software may constitute an export of cryptographic\n\ + \ software from the United States of America that is subject to the\n United States Export\ + \ Administration Regulations (EAR), 15 CFR 730-774.\n Additional laws or regulations may\ + \ apply. It is the responsibility of\n the person or entity contemplating export to comply\ + \ with all\n applicable export laws and regulations, including obtaining any\n required\ + \ license from the U.S. government.\n \n The U.S. government prohibits export of encryption\ + \ source code to\n certain countries and individuals, including, but not limited to, the\n\ + \ countries of Cuba, Iran, North Korea, Sudan, Syria, and residents and\n nationals of\ + \ those countries." + - score: '100.0' + start_line: 54 + end_line: 56 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc-by-sa-3.0_22.RULE + license_expression: cc-by-sa-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Documentation components of this software distribution are licensed + under a Creative Commons Attribution-ShareAlike 3.0 Unported License. + (http://creativecommons.org/licenses/by-sa/3.0/) + - score: '100.0' + start_line: 64 + end_line: 70 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: proprietary-license_136.RULE + license_expression: proprietary-license + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "No commercial use of these trademarks may be made without\n prior written\ + \ permission of MIT.\n \n \"Commercial use\" means use of a name in a product or other\ + \ for-profit\n manner. It does NOT prevent a commercial firm from referring to the\n\ + \ MIT trademarks in order to convey information (although in doing so,\n recognition of\ + \ their trademark status should be given)." + - score: '100.0' + start_line: 82 + end_line: 111 + matcher: 2-aho + rule_length: 244 + matched_length: 244 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_80.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "WARNING: Retrieving the OpenVision Kerberos Administration system\n source\ + \ code, as described below, indicates your acceptance of the\n following terms. If\ + \ you do not agree to the following terms, do\n not retrieve the OpenVision Kerberos\ + \ administration system.\n \n You may freely use and distribute the Source Code and\ + \ Object Code\n compiled from it, with or without modification, but this Source\n \ + \ Code is provided to you \"AS IS\" EXCLUSIVE OF ANY WARRANTY,\n INCLUDING, WITHOUT\ + \ LIMITATION, ANY WARRANTIES OF MERCHANTABILITY OR\n FITNESS FOR A PARTICULAR PURPOSE,\ + \ OR ANY OTHER WARRANTY, WHETHER\n EXPRESS OR IMPLIED. IN NO EVENT WILL OPENVISION\ + \ HAVE ANY LIABILITY\n FOR ANY LOST PROFITS, LOSS OF DATA OR COSTS OF PROCUREMENT OF\n\ + \ SUBSTITUTE GOODS OR SERVICES, OR FOR ANY SPECIAL, INDIRECT, OR\n CONSEQUENTIAL\ + \ DAMAGES ARISING OUT OF THIS AGREEMENT, INCLUDING,\n WITHOUT LIMITATION, THOSE RESULTING\ + \ FROM THE USE OF THE SOURCE\n CODE, OR THE FAILURE OF THE SOURCE CODE TO PERFORM,\ + \ OR FOR ANY\n OTHER REASON.\n \n OpenVision retains all copyrights in the donated\ + \ Source Code.\n OpenVision also retains copyright to derivative works of the Source\n\ + \ Code, whether created by OpenVision or by a third party. The\n OpenVision copyright\ + \ notice must be preserved if derivative works\n are made based on the donated Source\ + \ Code.\n \n OpenVision Technologies, Inc. has donated this Kerberos\n Administration\ + \ system to MIT for inclusion in the standard Kerberos\n 5 distribution. This donation\ + \ underscores our commitment to\n continuing Kerberos technology development and our\ + \ gratitude for\n the valuable work which has been performed by MIT and the Kerberos\n\ + \ community." + - score: '98.73' + start_line: 128 + end_line: 146 + matcher: 2-aho + rule_length: 155 + matched_length: 155 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_1.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government.\n It is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of [FundsXpress]. not be used in advertising or\ + \ publicity\n pertaining to distribution of the software without specific,\n written\ + \ prior permission. [FundsXpress] makes no representations\n about the suitability\ + \ of this software for any purpose. It is\n provided \"as is\" without express or\ + \ implied warranty.\n \n THIS SOFTWARE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS\ + \ OR\n IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 156 + end_line: 175 + matcher: 2-aho + rule_length: 116 + matched_length: 116 + match_coverage: '100.0' + rule_relevance: 100 + identifier: brian-gladman-3-clause_2.RULE + license_expression: brian-gladman-3-clause + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "LICENSE TERMS\n \n The free distribution and use of this software in both\ + \ source and\n binary form is allowed (with or without changes) provided that:\n \n\ + \ 1. distributions of this source code include the above copyright\n notice,\ + \ this list of conditions and the following disclaimer;\n \n 2. distributions in binary\ + \ form include the above copyright notice,\n this list of conditions and the following\ + \ disclaimer in the\n documentation and/or other associated materials;\n \n 3.\ + \ the copyright holder's name is not used to endorse products\n built using this\ + \ software without specific written permission.\n \n DISCLAIMER\n \n This software\ + \ is provided 'as is' with no explcit or implied\n warranties in respect of any properties,\ + \ including, but not limited\n to, correctness and fitness for purpose." + - score: '100.0' + start_line: 187 + end_line: 214 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_587.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n * Neither the name of Red Hat, Inc., nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT\ + \ HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n \ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER\ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 222 + end_line: 240 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT\n HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n \ + \ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN\ + \ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n DEALINGS IN THE SOFTWARE." + - score: '85.71' + start_line: 248 + end_line: 276 + matcher: 3-seq + rule_length: 217 + matched_length: 186 + match_coverage: '85.71' + rule_relevance: 100 + identifier: bsd-2-clause-freebsd_9.RULE + license_expression: bsd-2-clause-views + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer.\n \n 2. Redistributions in binary form\ + \ must reproduce the above\n copyright notice, this list of conditions and the\ + \ following\n disclaimer in the documentation and/or other materials\n \ + \ provided with the distribution.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT\ + \ HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\ + \ BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n \ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER\ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n \n ======================================================================\n\ + \ \n The" + - score: '100.0' + start_line: 334 + end_line: 352 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE." + - score: '100.0' + start_line: 363 + end_line: 390 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE REGENTS\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 400 + end_line: 427 + matcher: 2-aho + rule_length: 204 + matched_length: 204 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_588.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n * The copyright holder's name is not used to endorse or promote\n products\ + \ derived from this software without specific prior\n written permission.\n \n \ + \ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\"\ + \ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\ + \ IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING,\ + \ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA,\ + \ OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 440 + end_line: 459 + matcher: 2-aho + rule_length: 186 + matched_length: 186 + match_coverage: '100.0' + rule_relevance: 100 + identifier: michigan-disclaimer.LICENSE + license_expression: michigan-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is granted to use, copy, create derivative works and\n redistribute\ + \ this software and such derivative works for any\n purpose, so long as the name of\ + \ The University of Michigan is not\n used in any advertising or publicity pertaining\ + \ to the use of\n distribution of this software without specific, written prior\n \ + \ authorization. If the above copyright notice or any other\n identification of\ + \ the University of Michigan is included in any\n copy of any portion of this software,\ + \ then the disclaimer below\n must also be included.\n \n THIS SOFTWARE IS PROVIDED\ + \ AS IS, WITHOUT REPRESENTATION FROM THE\n UNIVERSITY OF MICHIGAN AS TO ITS FITNESS\ + \ FOR ANY PURPOSE, AND\n WITHOUT WARRANTY BY THE UNIVERSITY OF MICHIGAN OF ANY KIND,\ + \ EITHER\n EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED\n WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\n THE REGENTS OF THE UNIVERSITY\ + \ OF MICHIGAN SHALL NOT BE LIABLE FOR\n ANY DAMAGES, INCLUDING SPECIAL, INDIRECT, INCIDENTAL,\ + \ OR\n CONSEQUENTIAL DAMAGES, WITH RESPECT TO ANY CLAIM ARISING OUT OF OR\n IN CONNECTION\ + \ WITH THE USE OF THE SOFTWARE, EVEN IF IT HAS BEEN OR\n IS HEREAFTER ADVISED OF THE\ + \ POSSIBILITY OF SUCH DAMAGES." + - score: '100.0' + start_line: 469 + end_line: 476 + matcher: 2-aho + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This file is free software; as a special exception the author gives\n \ + \ unlimited permission to copy and/or distribute it, with or without\n modifications,\ + \ as long as this notice is preserved.\n \n This file is distributed in the hope that\ + \ it will be useful, but\n WITHOUT ANY WARRANTY, to the extent permitted by law; without\ + \ even\n the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n PURPOSE." + - score: '100.0' + start_line: 485 + end_line: 503 + matcher: 2-aho + rule_length: 159 + matched_length: 159 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_2.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government.\n It is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of Apple Inc. not be used in advertising or publicity\n\ + \ pertaining to distribution of the software without specific,\n written prior permission.\ + \ Apple Inc. makes no representations\n about the suitability of this software for\ + \ any purpose. It is\n provided \"as is\" without express or implied warranty.\n \n\ + \ THIS SOFTWARE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS OR\n IMPLIED WARRANTIES,\ + \ INCLUDING, WITHOUT LIMITATION, THE IMPLIED\n WARRANTIES OF MERCHANTIBILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE." + - score: '100.0' + start_line: 511 + end_line: 558 + matcher: 2-aho + rule_length: 328 + matched_length: 328 + match_coverage: '100.0' + rule_relevance: 100 + identifier: openldap-2.8.LICENSE + license_expression: openldap-2.8 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "The OpenLDAP Public License\n Version 2.8, 17 August 2003\n \n Redistribution\ + \ and use of this software and associated\n documentation (\"Software\"), with or without\ + \ modification, are\n permitted provided that the following conditions are met:\n \n\ + \ 1. Redistributions in source form must retain copyright statements\n and notices,\n\ + \ \n 2. Redistributions in binary form must reproduce applicable\n copyright\ + \ statements and notices, this list of conditions, and\n the following disclaimer\ + \ in the documentation and/or other\n materials provided with the distribution,\ + \ and\n \n 3. Redistributions must contain a verbatim copy of this document.\n \n \ + \ The OpenLDAP Foundation may revise this license from time to time.\n Each revision\ + \ is distinguished by a version number. You may use\n this Software under terms of\ + \ this license revision or under the\n terms of any subsequent revision of the license.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE OPENLDAP FOUNDATION AND ITS\n CONTRIBUTORS\ + \ \"AS IS\" AND ANY EXPRESSED OR IMPLIED WARRANTIES,\n INCLUDING, BUT NOT LIMITED TO,\ + \ THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL THE OPENLDAP FOUNDATION, ITS\n CONTRIBUTORS,\ + \ OR THE AUTHOR(S) OR OWNER(S) OF THE SOFTWARE BE\n LIABLE FOR ANY DIRECT, INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\ + \ OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER\ + \ IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING\ + \ IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF SUCH\n DAMAGE.\n \n The names of the authors and copyright holders must not\ + \ be used in\n advertising or otherwise to promote the sale, use or other dealing\n\ + \ in this Software without specific, written prior permission. Title\n to copyright\ + \ in this Software shall at all times remain with\n copyright holders.\n \n OpenLDAP\ + \ is a registered trademark of the OpenLDAP Foundation.\n \n Copyright 1999-2003 The\ + \ OpenLDAP Foundation, Redwood City,\n California, USA. All Rights Reserved. Permission\ + \ to copy and\n distribute verbatim copies of this document is granted." + - score: '100.0' + start_line: 568 + end_line: 595 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_933.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of KTH nor the names of its contributors may be\n used\ + \ to endorse or promote products derived from this software\n without specific prior\ + \ written permission.\n \n THIS SOFTWARE IS PROVIDED BY KTH AND ITS CONTRIBUTORS \"\ + AS IS\" AND\n ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\n \ + \ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n PARTICULAR PURPOSE\ + \ ARE DISCLAIMED. IN NO EVENT SHALL KTH OR ITS\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\ + \ INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\ + \ BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n USE,\ + \ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF\ + \ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 608 + end_line: 636 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_151.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above\n copyright notice, this list of conditions\ + \ and the following\n disclaimer.\n \n 2. Redistributions in binary form must\ + \ reproduce the above\n copyright notice, this list of conditions and the following\n\ + \ disclaimer in the documentation and/or other materials provided\n with the\ + \ distribution.\n \n 3. Neither the name of the Institute nor the names of its\n \ + \ contributors may be used to endorse or promote products derived\n from this\ + \ software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE INSTITUTE AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A\n PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE\n \ + \ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS OR SERVICES; LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\ + \ CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE\ + \ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 647 + end_line: 675 + matcher: 2-aho + rule_length: 217 + matched_length: 217 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_589.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the \"Oracle America, Inc.\" nor the names of\n its\ + \ contributors may be used to endorse or promote products\n derived from this software\ + \ without specific prior written\n permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n \ + \ COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\ + \ OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n\ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." + - score: '100.0' + start_line: 682 + end_line: 705 + matcher: 2-aho + rule_length: 185 + matched_length: 185 + match_coverage: '100.0' + rule_relevance: 100 + identifier: freebsd-doc_5.RULE + license_expression: freebsd-doc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer as\n the first lines of this file unmodified.\n \n\ + \ 2. Redistributions in binary form must reproduce the above\n copyright notice,\ + \ this list of conditions and the following\n disclaimer in the documentation and/or\ + \ other materials provided\n with the distribution.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY NTT \"AS IS\" AND ANY EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING, BUT NOT LIMITED\ + \ TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\ + \ ARE\n DISCLAIMED. IN NO EVENT SHALL NTT BE LIABLE FOR ANY DIRECT,\n INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS;\ + \ OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER\ + \ IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n \ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '99.0' + start_line: 713 + end_line: 729 + matcher: 2-aho + rule_length: 143 + matched_length: 143 + match_coverage: '100.0' + rule_relevance: 99 + identifier: cmu-uc_12.RULE + license_expression: cmu-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software and\n its\ + \ documentation for any purpose and without fee is hereby\n granted, provided that\ + \ the above copyright notice appear in all\n copies and that both that copyright notice\ + \ and this permission\n notice appear in supporting documentation, and that the name\ + \ of\n Carnegie Mellon University not be used in advertising or publicity\n pertaining\ + \ to distribution of the software without specific,\n written prior permission.\n \n\ + \ CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO\n THIS SOFTWARE,\ + \ INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS, IN NO EVENT SHALL\ + \ CARNEGIE MELLON UNIVERSITY BE LIABLE\n FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL\ + \ DAMAGES OR ANY DAMAGES\n WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,\ + \ WHETHER IN\n AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING\n\ + \ OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS\n SOFTWARE." + - score: '95.0' + start_line: 735 + end_line: 743 + matcher: 2-aho + rule_length: 71 + matched_length: 71 + match_coverage: '100.0' + rule_relevance: 95 + identifier: nrl-permission_1.RULE + license_expression: nrl-permission + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify and distribute this software and\n its\ + \ documentation is hereby granted, provided that both the\n copyright notice and this\ + \ permission notice appear in all copies of\n the software, derivative works or modified\ + \ versions, and any\n portions thereof.\n \n NRL ALLOWS FREE USE OF THIS SOFTWARE\ + \ IN ITS \"AS IS\" CONDITION AND\n DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES\ + \ WHATSOEVER\n RESULTING FROM THE USE OF THIS SOFTWARE." + - score: '100.0' + start_line: 752 + end_line: 763 + matcher: 2-aho + rule_length: 99 + matched_length: 99 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ietf-trust_10.RULE + license_expression: ietf-trust + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This document is subject to the rights, licenses and restrictions\n contained\ + \ in BCP 78, and except as set forth therein, the authors\n retain all their rights.\n\ + \ \n This document and the information contained herein are provided on\n an \"\ + AS IS\" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE\n REPRESENTS OR IS SPONSORED\ + \ BY (IF ANY), THE INTERNET SOCIETY AND\n THE INTERNET ENGINEERING TASK FORCE DISCLAIM\ + \ ALL WARRANTIES,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT\n\ + \ THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR\n ANY IMPLIED\ + \ WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A\n PARTICULAR PURPOSE." + - score: '100.0' + start_line: 769 + end_line: 776 + matcher: 2-aho + rule_length: 69 + matched_length: 69 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style_11.RULE + license_expression: mit-old-style + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose and without fee is hereby + granted, provided that the above copyright notice appear in all + copies and that both that copyright notice and this permission + notice appear in supporting documentation. Cygnus Support makes no + representations about the suitability of this software for any + purpose. It is provided "as is" without express or implied + warranty. + - score: '100.0' + start_line: 782 + end_line: 800 + matcher: 2-aho + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\ + \ OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\ + \ IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION\ + \ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE." + - score: '100.0' + start_line: 810 + end_line: 833 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS \"AS IS\"\n AND ANY\ + \ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED\n TO, THE IMPLIED WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A\n PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\ + \ EVENT SHALL THE AUTHOR OR\n CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\ + \ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO,\ + \ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n USE, DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY OF LIABILITY, WHETHER IN\ + \ CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING\ + \ IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY\ + \ OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 837 + end_line: 856 + matcher: 2-aho + rule_length: 165 + matched_length: 165 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-no-advert-export-control_and_proprietary-license_1.RULE + license_expression: mit-no-advert-export-control AND proprietary-license + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "EXPORT OF THIS SOFTWARE from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to copy, modify, and distribute\n\ + \ this software and its documentation in source and binary forms is\n hereby granted,\ + \ provided that any documentation or other materials\n related to such distribution\ + \ or use acknowledge that the software\n was developed by the University of Southern\ + \ California.\n \n DISCLAIMER OF WARRANTY. THIS SOFTWARE IS PROVIDED \"AS IS\". The\n\ + \ University of Southern California MAKES NO REPRESENTATIONS OR\n WARRANTIES, EXPRESS\ + \ OR IMPLIED. By way of example, but not\n limitation, the University of Southern\ + \ California MAKES NO\n REPRESENTATIONS OR WARRANTIES OF MERCHANTABILITY OR FITNESS\ + \ FOR ANY\n PARTICULAR PURPOSE. The University of Southern California shall not\n \ + \ be held liable for any liability nor for any direct, indirect, or\n consequential\ + \ damages with respect to any claim by the user or\n distributor of the ksu software." + - score: '100.0' + start_line: 866 + end_line: 899 + matcher: 2-aho + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. All advertising materials mentioning features or use of this\n software\ + \ must display the following acknowledgement:\n \n This product includes software\ + \ developed by the University of\n California, Berkeley and its contributors.\n\ + \ \n 4. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE REGENTS\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '99.0' + start_line: 907 + end_line: 922 + matcher: 2-aho + rule_length: 145 + matched_length: 145 + match_coverage: '100.0' + rule_relevance: 99 + identifier: mit-no-advert-export-control_4.RULE + license_expression: mit-no-advert-export-control + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of Richard P. Basch, Lehman Brothers and M.I.T.\ + \ not be\n used in advertising or publicity pertaining to distribution of the\n \ + \ software without specific, written prior permission. Richard P.\n Basch, Lehman\ + \ Brothers and M.I.T. make no representations about the\n suitability of this software\ + \ for any purpose. It is provided \"as\n is\" without express or implied warranty." + - score: '100.0' + start_line: 934 + end_line: 968 + matcher: 2-aho + rule_length: 245 + matched_length: 245 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original_32.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. All advertising materials mentioning features or use of this\n software\ + \ must display the following acknowledgement:\n \n This product includes software\ + \ developed by the NetBSD\n Foundation, Inc. and its contributors.\n \n 4.\ + \ Neither the name of The NetBSD Foundation nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION,\ + \ INC. AND\n CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES,\n INCLUDING,\ + \ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR A\ + \ PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS\ + \ BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\ + \ ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF SUCH\n DAMAGE." + - score: '100.0' + start_line: 978 + end_line: 996 + matcher: 2-aho + rule_length: 165 + matched_length: 165 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_483.RULE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission is hereby granted, free of charge, to any person\n obtaining\ + \ a copy of this software and associated documentation\n files (the \"Software\"),\ + \ to deal in the Software without\n restriction, including without limitation the rights\ + \ to use, copy,\n modify, merge, publish, distribute, sublicense, and/or sell copies\n\ + \ of the Software, and to permit persons to whom the Software is\n furnished to\ + \ do so, subject to the following conditions:\n \n The above copyright notice and this\ + \ permission notice shall be\n included in all copies or substantial portions of the\ + \ Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\ + \ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY,\ + \ FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE COMPUTING\ + \ RESEARCH LAB OR\n NEW MEXICO STATE UNIVERSITY BE LIABLE FOR ANY CLAIM, DAMAGES OR\n\ + \ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n OTHERWISE, ARISING\ + \ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE\n OR THE USE OR OTHER DEALINGS IN\ + \ THE SOFTWARE." + - score: '100.0' + start_line: 1004 + end_line: 1016 + matcher: 2-aho + rule_length: 111 + matched_length: 111 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_14.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Permission to use, copy, modify, and distribute this software for\n any\ + \ purpose with or without fee is hereby granted, provided that\n the above copyright\ + \ notice and this permission notice appear in all\n copies.\n \n THE SOFTWARE IS\ + \ PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL\n WARRANTIES WITH REGARD TO THIS\ + \ SOFTWARE INCLUDING ALL IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO\ + \ EVENT SHALL THE\n AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR\n CONSEQUENTIAL\ + \ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS\n OF USE, DATA OR PROFITS,\ + \ WHETHER IN AN ACTION OF CONTRACT,\n NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING\ + \ OUT OF OR IN\n CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE." + - score: '95.0' + start_line: 1025 + end_line: 1037 + matcher: 2-aho + rule_length: 131 + matched_length: 131 + match_coverage: '100.0' + rule_relevance: 95 + identifier: isc_16.RULE + license_expression: isc + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for + any purpose with or without fee is hereby granted, provided that + the above copyright notice and this permission notice appear in all + copies. THE SOFTWARE IS PROVIDED "AS IS" AND THEODORE TS'O (THE + AUTHOR) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN + NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER + RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION + OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR + IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. (Isn't + it sick that the U.S. culture of lawsuit-happy lawyers requires + this kind of disclaimer?) + - score: '100.0' + start_line: 1046 + end_line: 1047 + matcher: 2-aho + rule_length: 16 + matched_length: 16 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_22.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be freely redistributed without license or fee + provided this copyright message remains intact. + - score: '100.0' + start_line: 1060 + end_line: 1087 + matcher: 2-aho + rule_length: 208 + matched_length: 208 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_134.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of the University nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED \"AS IS\" AND ANY\ + \ EXPRESS OR IMPLIED\n WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO\ + \ EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n\ + \ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS\ + \ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\ + \ OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH\n \ + \ DAMAGE." + - score: '100.0' + start_line: 1096 + end_line: 1112 + matcher: 2-aho + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-md4.LICENSE + license_expression: rsa-md4 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License to copy and use this software is granted provided that it\n is\ + \ identified as the \"RSA Data Security, Inc. MD4 Message Digest\n Algorithm\" in all\ + \ material mentioning or referencing this software\n or this function.\n \n License\ + \ is also granted to make and use derivative works provided\n that such works are identified\ + \ as \"derived from the RSA Data\n Security, Inc. MD4 Message Digest Algorithm\" in\ + \ all material\n mentioning or referencing the derived work.\n \n RSA Data Security,\ + \ Inc. makes no representations concerning either\n the merchantability of this software\ + \ or the suitability of this\n software for any particular purpose. It is provided\ + \ \"as is\"\n without express or implied warranty of any kind.\n \n These notices\ + \ must be retained in any copies of any part of this\n documentation and/or software." + - score: '100.0' + start_line: 1121 + end_line: 1137 + matcher: 2-aho + rule_length: 126 + matched_length: 126 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-md5.LICENSE + license_expression: rsa-md5 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "License to copy and use this software is granted provided that it\n is\ + \ identified as the \"RSA Data Security, Inc. MD5 Message- Digest\n Algorithm\" in\ + \ all material mentioning or referencing this software\n or this function.\n \n \ + \ License is also granted to make and use derivative works provided\n that such works\ + \ are identified as \"derived from the RSA Data\n Security, Inc. MD5 Message-Digest\ + \ Algorithm\" in all material\n mentioning or referencing the derived work.\n \n \ + \ RSA Data Security, Inc. makes no representations concerning either\n the merchantability\ + \ of this software or the suitability of this\n software for any particular purpose.\ + \ It is provided \"as is\"\n without express or implied warranty of any kind.\n \n\ + \ These notices must be retained in any copies of any part of this\n documentation\ + \ and/or software." + - score: '100.0' + start_line: 1147 + end_line: 1153 + matcher: 2-aho + rule_length: 54 + matched_length: 54 + match_coverage: '100.0' + rule_relevance: 100 + identifier: rsa-1990.LICENSE + license_expression: rsa-1990 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "RSA Data Security, Inc. makes no representations concerning either\n the\ + \ merchantability of this software or the suitability of this\n software for any particular\ + \ purpose. It is provided \"as is\" without\n express or implied warranty of any kind.\n\ + \ \n These notices must be retained in any copies of any part of this\n documentation\ + \ and/or software." + - score: '100.0' + start_line: 1163 + end_line: 1181 + matcher: 2-aho + rule_length: 177 + matched_length: 177 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-with-modification-obligations_2.RULE + license_expression: mit-with-modification-obligations + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Export of this software from the United States of America may\n require\ + \ a specific license from the United States Government. It\n is the responsibility\ + \ of any person or organization\n contemplating export to obtain such a license\ + \ before exporting.\n \n WITHIN THAT CONSTRAINT, permission to use, copy, modify, and\n\ + \ distribute this software and its documentation for any purpose and\n without fee\ + \ is hereby granted, provided that the above copyright\n notice appear in all copies\ + \ and that both that copyright notice and\n this permission notice appear in supporting\ + \ documentation, and that\n the name of M.I.T. not be used in advertising or publicity\n\ + \ pertaining to distribution of the software without specific,\n written prior permission.\ + \ Furthermore if you modify this software\n you must label your software as modified\ + \ software and not\n distribute it in such a fashion that it might be confused with\ + \ the\n original M.I.T. software. Neither M.I.T., the Open Computing\n Security\ + \ Group, nor CyberSAFE Corporation make any representations\n about the suitability\ + \ of this software for any purpose. It is\n provided \"as is\" without express or\ + \ implied warranty." + - score: '100.0' + start_line: 1190 + end_line: 1217 + matcher: 2-aho + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_590.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n 3. Neither the name of PADL Software nor the names of its\n contributors\ + \ may be used to endorse or promote products derived\n from this software without\ + \ specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY PADL SOFTWARE\ + \ AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\ + \ NOT LIMITED\n TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n \ + \ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL PADL SOFTWARE\n OR CONTRIBUTORS\ + \ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\ + \ DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\ + \ LOSS OF\n USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n \ + \ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 1226 + end_line: 1264 + matcher: 2-aho + rule_length: 335 + matched_length: 335 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_or_gpl-2.0-plus_7.RULE + license_expression: bsd-simplified OR gpl-2.0-plus + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in\n the documentation and/or other materials provided with the\n distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS\ + \ IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE\ + \ DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\ + \ ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON\ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE.\n \n Alternatively, the contents\ + \ of this package may be used under the\n terms of the GNU General Public License (\"\ + GPL\") version 2 or any\n later version, in which case the provisions of the GPL are\n\ + \ applicable instead of the above. If you wish to allow the use of\n your version\ + \ of this package only under the terms of the GPL and\n not to allow others to use\ + \ your version of this file under the BSD\n license, indicate your decision by deleting\ + \ the provisions above\n and replace them with the notice and other provisions required\ + \ by\n the GPL in this and the other files of this package. If you do not\n delete\ + \ the provisions above, a recipient may use your version of\n this file under either\ + \ the BSD or the GPL.\n \n On Debian systems, the complete text of the GNU General\ + \ Public License\n version 2 can be found in `/usr/share/common-licenses/GPL-2'." + - score: '100.0' + start_line: 1274 + end_line: 1302 + matcher: 2-aho + rule_length: 212 + matched_length: 212 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-intel_4.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials\n provided with\ + \ the distribution.\n \n * Neither the name of Intel Corporation nor the names of\ + \ its\n contributors may be used to endorse or promote products\n derived\ + \ from this software without specific prior written\n permission.\n \n THIS\ + \ SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY\ + \ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\ + \ EVENT SHALL THE\n COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR\ + \ PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n OF THE POSSIBILITY\ + \ OF SUCH DAMAGE." + - score: '100.0' + start_line: 1311 + end_line: 1334 + matcher: 2-aho + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n \n * Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above\n copyright notice, this list of conditions and the following\n \ + \ disclaimer in the documentation and/or other materials provided\n with the distribution.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS\ + \ IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n FOR A PARTICULAR PURPOSE ARE\ + \ DISCLAIMED. IN NO EVENT SHALL THE\n COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\ + \ ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n\ + \ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES;\ + \ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON\ + \ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED\n OF THE POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblz4-1/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblz4-1/copyright-detailed.expected.yml index cfcbb0e2207..29ae5d88ed5 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblz4-1/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblz4-1/copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - BSD-2-clause +primary_license: bsd-simplified +declared_license: + - BSD-2-clause - BSD-2-clause - BSD-2-clause - BSD-2-clause @@ -14,13 +16,13 @@ - GPL-2 - GPL-2+ - BSD-2-clause -- bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified AND (gpl-2.0-plus - AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) +license_expression: bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified AND (gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 - AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND - gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND bsd-simplified - AND (gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) -- | + AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND + gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 + AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND + bsd-simplified AND (gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) +copyright: | Copyright (C) 2011-2017, Yann Collet. Copyright (C) 2011-2017, Yann Collet. Copyright (C) 2011-2014, Yann Collet. @@ -34,3 +36,178 @@ Yann Collet Kyle Harper 2013 Nobuhiro Iwamatsu +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_396.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 + - score: '100.0' + start_line: 5 + end_line: 6 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_836.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 2 of the GNU General + Public License + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_396.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_836.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 2 of the GNU General + Public License + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, + THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblz4-1/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblz4-1/copyright.expected.yml index 370645ad194..ed6434fb8a4 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblz4-1/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblz4-1/copyright.expected.yml @@ -1,9 +1,10 @@ -- - BSD-2-clause +primary_license: bsd-simplified +declared_license: + - BSD-2-clause - GPL-2+ - GPL-2 -- bsd-simplified AND (gpl-2.0-plus AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 - AND gpl-2.0 AND gpl-2.0) -- | +license_expression: bsd-simplified AND (gpl-2.0-plus AND gpl-2.0) AND gpl-2.0 +copyright: | Copyright (C) 2011-2017, Yann Collet. Copyright (C) 2011-2014, Yann Collet. Copyright (C) 2011-2016, Yann Collet. @@ -12,3 +13,178 @@ Takayuki Matsuoka Yann Collet Kyle Harper +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_396.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 + - score: '100.0' + start_line: 5 + end_line: 6 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_836.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 2 of the GNU General + Public License + - score: '100.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 31 + matched_length: 31 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_396.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_836.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + version 2 of the GNU General + Public License + - score: '100.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, + THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblzma5/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblzma5/copyright-detailed.expected.yml index 7aadff096d4..5287fa2e3c2 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblzma5/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblzma5/copyright-detailed.expected.yml @@ -1,4 +1,8 @@ -- - Different licenses apply to different files in this package. Here +primary_license: (public-domain AND lgpl-2.0 AND lgpl-2.1-plus AND gpl-2.0-plus AND (public-domain + AND gpl-2.0-plus AND gpl-3.0-plus) AND lgpl-2.1 AND (epl-2.0 OR gpl-2.0-plus OR lgpl-2.1-plus) + AND gpl-3.0) AND public-domain +declared_license: + - Different licenses apply to different files in this package. Here - PD - probably-PD - GPL-2+ @@ -25,18 +29,18 @@ - Autoconf - permissive-fsf - permissive-nowarranty -- (public-domain AND public-domain AND lgpl-2.0 AND lgpl-2.1-plus AND gpl-2.0-plus AND public-domain - AND public-domain AND (public-domain AND gpl-2.0-plus AND gpl-3.0-plus) AND public-domain - AND public-domain AND public-domain AND public-domain AND public-domain AND lgpl-2.1 AND (epl-2.0 - OR gpl-2.0-plus OR lgpl-2.1-plus) AND gpl-3.0 AND public-domain AND public-domain) AND public-domain - AND unknown-license-reference AND (gpl-2.0-plus AND gpl-2.0-plus) AND public-domain AND public-domain - AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND fsf-unlimited AND (gpl-3.0-plus - WITH autoconf-macro-exception AND gpl-3.0) AND fsf-ap AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0-plus - AND gpl-2.0) AND unknown-license-reference AND unknown-license-reference AND public-domain - AND public-domain AND public-domain AND fsf-ap AND (public-domain AND fsf-unlimited AND autoconf-exception-2.0 - AND gpl-2.0 AND gpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND - other-copyleft AND public-domain -- | +license_expression: (public-domain AND public-domain AND lgpl-2.0 AND lgpl-2.1-plus AND gpl-2.0-plus + AND public-domain AND public-domain AND (public-domain AND gpl-2.0-plus AND gpl-3.0-plus) + AND public-domain AND public-domain AND public-domain AND public-domain AND public-domain + AND lgpl-2.1 AND (epl-2.0 OR gpl-2.0-plus OR lgpl-2.1-plus) AND gpl-3.0 AND public-domain + AND public-domain) AND public-domain AND public-domain AND (public-domain AND public-domain) + AND public-domain AND (gpl-2.0-plus AND gpl-2.0-plus) AND public-domain AND public-domain + AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND fsf-unlimited AND (gpl-3.0-plus WITH + autoconf-macro-exception AND gpl-3.0) AND fsf-ap AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0-plus + AND gpl-2.0) AND public-domain AND public-domain AND public-domain AND public-domain AND public-domain + AND public-domain AND fsf-ap AND (public-domain AND fsf-unlimited AND autoconf-exception-2.0 + AND gpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND other-copyleft AND public-domain +copyright: | 2006-2018, Lasse Collin 1999-2008, Igor Pavlov 2006, Ville Koskinen @@ -80,3 +84,962 @@ © 2003 Free Software Foundation, Inc. © 1989, 1991, 1999, 2007 Free Software Foundation, Inc. 2009-2012, Jonathan Nieder +matches: + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_285.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is in the public domain. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_305.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + are in the public + domain + - score: '100.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_54.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GNU LGPLv2. + - score: '95.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 95 + identifier: lgpl-2.1-plus_70.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPLv2.1+. + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_488.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GNU GPLv2+. + - score: '100.0' + start_line: 17 + end_line: 17 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_305.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: are in the public domain. + - score: '100.0' + start_line: '19' + end_line: '19' + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_305.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: are in the public domain. + - score: '100.0' + start_line: 21 + end_line: 22 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_and_gpl-2.0-plus_and_gpl-3.0-plus_1.RULE + license_expression: public-domain AND gpl-2.0-plus AND gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The build system contains public domain files, and files that + are under GNU GPLv2+ or GNU GPLv3+. + - score: '100.0' + start_line: 26 + end_line: 26 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_305.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: are in the public domain. + - score: '70.0' + start_line: 28 + end_line: 28 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain + - score: '100.0' + start_line: 31 + end_line: 32 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_128.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + put into + the public domain. + - score: '70.0' + start_line: 32 + end_line: 32 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain + - score: '100.0' + start_line: 39 + end_line: 39 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_311.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: public domain code + - score: '100.0' + start_line: 48 + end_line: 48 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_286.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: 'COPYING.LGPLv2.1: GNU Lesser General Public License version 2.1' + - score: '50.0' + start_line: 49 + end_line: 50 + matcher: 3-seq + rule_length: 22 + matched_length: 11 + match_coverage: '50.0' + rule_relevance: 100 + identifier: epl-2.0_or_gpl-2.0-plus_or_lgpl-2.1-plus_5.RULE + license_expression: epl-2.0 OR gpl-2.0-plus OR lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GNU General Public License version 2 + - [COPYING].[GPLv3]: GNU General Public License version + - score: '100.0' + start_line: 50 + end_line: 50 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_381.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: 'COPYING.GPLv3: GNU General Public License version 3' + - score: '100.0' + start_line: 54 + end_line: 54 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_298.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: in the public domain + - score: '100.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_128.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: put into the public domain, + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_353.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file has been put in the public domain. + You can do whatever you want with this file. + - score: '55.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: public-domain_356.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: See the note on AUTHORS, README, and so on above. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_353.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file has been put in the public domain. + You can do whatever you want with this file. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_219.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Not copyrighted -- provided to the public domain. + - score: '22.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: public-domain_355.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: No copyright to license. + - score: '22.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: public-domain_355.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: No copyright to license. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_47.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file has been put into the public domain. + You can do whatever you want with this file. + - score: '44.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 44 + identifier: public-domain_66.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is put in the public domain. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_50.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is in the public domain + - score: '100.0' + start_line: 5 + end_line: 6 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_47.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file has been put into the public domain. + # You can do whatever you want with this file. + - score: '100.0' + start_line: 11 + end_line: 13 + matcher: 2-aho + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited.LICENSE + license_expression: fsf-unlimited + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + - score: '100.0' + start_line: 24 + end_line: 30 + matcher: 2-aho + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_with_autoconf-exception-2.0_2.RULE + license_expression: autoconf-exception-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception, the Free Software Foundation gives unlimited + # permission to copy, distribute and modify the configure scripts that + # are the output of Autoconf. You need not follow the terms of the GNU + # General Public License when using or distributing such scripts, even + # though portions of the text of Autoconf appear in them. The GNU + # General Public License (GPL) does govern all other use of the material + # that constitutes the Autoconf program. + - score: '100.0' + start_line: 32 + end_line: 33 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in ‘/usr/share/common-licenses/GPL-2’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_221.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: under the LGPL, + - score: '43.75' + start_line: 5 + end_line: 7 + matcher: 3-seq + rule_length: 48 + matched_length: 21 + match_coverage: '43.75' + rule_relevance: 100 + identifier: lgpl-2.0-plus_and_lgpl-2.1.RULE + license_expression: lgpl-2.0-plus AND lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + can be found in ‘/usr/share/common-licenses/LGPL-2’ + [and] [the] [text] [of] [intl]/[COPYING].[LIB]-[2].[1] can be found in + ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '90.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_4.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_360.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The Debian packaging files are in the public domain. + You may freely use, modify, distribute, and relicense them. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '86.15' + start_line: 1 + end_line: 6 + matcher: 3-seq + rule_length: 65 + matched_length: 56 + match_coverage: '86.15' + rule_relevance: 100 + identifier: gpl-2.0_22.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and its + documentation under the terms of the GNU General Public License is + hereby granted. No representations are made about the suitability of + this software for any purpose. It is provided "as is" without express + or implied warranty. See the GNU General Public License for more + details. + - score: '10.71' + start_line: 11 + end_line: 12 + matcher: 3-seq + rule_length: 56 + matched_length: 6 + match_coverage: '10.71' + rule_relevance: 100 + identifier: gpl-2.0-plus_767.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + of the GNU General + Public License + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 134 + matched_length: 134 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_737.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in ‘/usr/share/common-licenses/GPL-2’. + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 2-aho + rule_length: 227 + matched_length: 227 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_autoconf-macro-exception_4.RULE + license_expression: gpl-3.0-plus WITH autoconf-macro-exception + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation, either version 3 of the License, or (at your + option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General + Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program. If not, see . + + As a special exception, the respective Autoconf Macro's copyright owner + gives unlimited permission to copy, distribute and modify the configure + scripts that are the output of Autoconf when processing the Macro. You + need not follow the terms of the GNU General Public License when using + or distributing such scripts, even though portions of the text of the + Macro appear in them. The GNU General Public License (GPL) does govern + all other use of the material that constitutes the Autoconf Macro. + + This special exception to the GPL applies to versions of the Autoconf + Macro released by the Autoconf Archive. When you make and distribute a + modified version of the Autoconf Macro, you may extend this special + exception to the GPL to apply to your modified version as well. + - score: '100.0' + start_line: 27 + end_line: 28 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in ‘/usr/share/common-licenses/GPL-3’. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited.LICENSE + license_expression: fsf-unlimited + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation + gives unlimited permission to copy and/or distribute it, + with or without modifications, as long as this notice is preserved. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap_4.RULE + license_expression: fsf-ap + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. This file is offered as-is, + without warranty of any kind. + - score: '100.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_128.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: put into the public domain, + - score: '100.0' + start_line: 12 + end_line: 12 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_305.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: are in the public domain. + - score: '100.0' + start_line: 16 + end_line: 17 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_305.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + are in the public + domain + - score: '100.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_298.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: in the public domain diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblzma5/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblzma5/copyright.expected.yml index dee9f55a84a..fba4c8450ad 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblzma5/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/liblzma5/copyright.expected.yml @@ -1,4 +1,8 @@ -- - Different licenses apply to different files in this package. Here +primary_license: (public-domain AND lgpl-2.0 AND lgpl-2.1-plus AND gpl-2.0-plus AND (public-domain + AND gpl-2.0-plus AND gpl-3.0-plus) AND lgpl-2.1 AND (epl-2.0 OR gpl-2.0-plus OR lgpl-2.1-plus) + AND gpl-3.0) AND public-domain +declared_license: + - Different licenses apply to different files in this package. Here - PD - probably-PD - GPL-2+ @@ -10,16 +14,12 @@ - none - config-h - noderivs -- (public-domain AND public-domain AND lgpl-2.0 AND lgpl-2.1-plus AND gpl-2.0-plus AND public-domain - AND public-domain AND (public-domain AND gpl-2.0-plus AND gpl-3.0-plus) AND public-domain - AND public-domain AND public-domain AND public-domain AND public-domain AND lgpl-2.1 AND (epl-2.0 - OR gpl-2.0-plus OR lgpl-2.1-plus) AND gpl-3.0 AND public-domain AND public-domain) AND public-domain - AND unknown-license-reference AND (gpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus - AND lgpl-2.1 AND lgpl-2.1) AND fsf-unlimited AND (gpl-3.0-plus WITH autoconf-macro-exception - AND gpl-3.0) AND fsf-ap AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0-plus AND gpl-2.0) AND unknown-license-reference - AND (public-domain AND fsf-unlimited AND autoconf-exception-2.0 AND gpl-2.0 AND gpl-2.0) AND - other-copyleft -- | +license_expression: (public-domain AND lgpl-2.0 AND lgpl-2.1-plus AND gpl-2.0-plus AND (public-domain + AND gpl-2.0-plus AND gpl-3.0-plus) AND lgpl-2.1 AND (epl-2.0 OR gpl-2.0-plus OR lgpl-2.1-plus) + AND gpl-3.0) AND public-domain AND gpl-2.0-plus AND (lgpl-2.1-plus AND lgpl-2.1) AND fsf-unlimited + AND (gpl-3.0-plus WITH autoconf-macro-exception AND gpl-3.0) AND fsf-ap AND (gpl-2.0 AND gpl-2.0-plus) + AND (public-domain AND fsf-unlimited AND autoconf-exception-2.0 AND gpl-2.0) AND other-copyleft +copyright: | 2006-2018, Lasse Collin 1999-2008, Igor Pavlov 2006, Ville Koskinen @@ -44,8 +44,6 @@ © 2014, Google Inc. © 2015, Lasse Collin © 1997-2007 by Dimitri van Heesch - none, automatically generated data - none; these are just short lists. 2008-2009, Lasse Collin 2010, Marek Černocký 2010, Andre Noll @@ -61,3 +59,962 @@ 2007-2010, Lasse Collin © 2003 Free Software Foundation, Inc. © 1989, 1991, 1999, 2007 Free Software Foundation, Inc. +matches: + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_285.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is in the public domain. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_305.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + are in the public + domain + - score: '100.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_54.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GNU LGPLv2. + - score: '95.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 95 + identifier: lgpl-2.1-plus_70.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPLv2.1+. + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_488.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: GNU GPLv2+. + - score: '100.0' + start_line: 17 + end_line: 17 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_305.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: are in the public domain. + - score: '100.0' + start_line: '19' + end_line: '19' + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_305.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: are in the public domain. + - score: '100.0' + start_line: 21 + end_line: 22 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_and_gpl-2.0-plus_and_gpl-3.0-plus_1.RULE + license_expression: public-domain AND gpl-2.0-plus AND gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The build system contains public domain files, and files that + are under GNU GPLv2+ or GNU GPLv3+. + - score: '100.0' + start_line: 26 + end_line: 26 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_305.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: are in the public domain. + - score: '70.0' + start_line: 28 + end_line: 28 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain + - score: '100.0' + start_line: 31 + end_line: 32 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_128.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + put into + the public domain. + - score: '70.0' + start_line: 32 + end_line: 32 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain + - score: '100.0' + start_line: 39 + end_line: 39 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_311.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: public domain code + - score: '100.0' + start_line: 48 + end_line: 48 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_286.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: 'COPYING.LGPLv2.1: GNU Lesser General Public License version 2.1' + - score: '50.0' + start_line: 49 + end_line: 50 + matcher: 3-seq + rule_length: 22 + matched_length: 11 + match_coverage: '50.0' + rule_relevance: 100 + identifier: epl-2.0_or_gpl-2.0-plus_or_lgpl-2.1-plus_5.RULE + license_expression: epl-2.0 OR gpl-2.0-plus OR lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GNU General Public License version 2 + - [COPYING].[GPLv3]: GNU General Public License version + - score: '100.0' + start_line: 50 + end_line: 50 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_381.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: 'COPYING.GPLv3: GNU General Public License version 3' + - score: '100.0' + start_line: 54 + end_line: 54 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_298.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: in the public domain + - score: '100.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_128.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: put into the public domain, + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_353.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file has been put in the public domain. + You can do whatever you want with this file. + - score: '55.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 55 + identifier: public-domain_356.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: See the note on AUTHORS, README, and so on above. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_353.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file has been put in the public domain. + You can do whatever you want with this file. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_219.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Not copyrighted -- provided to the public domain. + - score: '22.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: public-domain_355.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: No copyright to license. + - score: '22.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 22 + identifier: public-domain_355.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: No copyright to license. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_47.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file has been put into the public domain. + You can do whatever you want with this file. + - score: '44.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 44 + identifier: public-domain_66.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is put in the public domain. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_50.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is in the public domain + - score: '100.0' + start_line: 5 + end_line: 6 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_47.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file has been put into the public domain. + # You can do whatever you want with this file. + - score: '100.0' + start_line: 11 + end_line: 13 + matcher: 2-aho + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited.LICENSE + license_expression: fsf-unlimited + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + - score: '100.0' + start_line: 24 + end_line: 30 + matcher: 2-aho + rule_length: 72 + matched_length: 72 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_with_autoconf-exception-2.0_2.RULE + license_expression: autoconf-exception-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception, the Free Software Foundation gives unlimited + # permission to copy, distribute and modify the configure scripts that + # are the output of Autoconf. You need not follow the terms of the GNU + # General Public License when using or distributing such scripts, even + # though portions of the text of Autoconf appear in them. The GNU + # General Public License (GPL) does govern all other use of the material + # that constitutes the Autoconf program. + - score: '100.0' + start_line: 32 + end_line: 33 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in ‘/usr/share/common-licenses/GPL-2’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_221.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: under the LGPL, + - score: '43.75' + start_line: 5 + end_line: 7 + matcher: 3-seq + rule_length: 48 + matched_length: 21 + match_coverage: '43.75' + rule_relevance: 100 + identifier: lgpl-2.0-plus_and_lgpl-2.1.RULE + license_expression: lgpl-2.0-plus AND lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + can be found in ‘/usr/share/common-licenses/LGPL-2’ + [and] [the] [text] [of] [intl]/[COPYING].[LIB]-[2].[1] can be found in + ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '90.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_4.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_360.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The Debian packaging files are in the public domain. + You may freely use, modify, distribute, and relicense them. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '86.15' + start_line: 1 + end_line: 6 + matcher: 3-seq + rule_length: 65 + matched_length: 56 + match_coverage: '86.15' + rule_relevance: 100 + identifier: gpl-2.0_22.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and its + documentation under the terms of the GNU General Public License is + hereby granted. No representations are made about the suitability of + this software for any purpose. It is provided "as is" without express + or implied warranty. See the GNU General Public License for more + details. + - score: '10.71' + start_line: 11 + end_line: 12 + matcher: 3-seq + rule_length: 56 + matched_length: 6 + match_coverage: '10.71' + rule_relevance: 100 + identifier: gpl-2.0-plus_767.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + of the GNU General + Public License + - score: '100.0' + start_line: 13 + end_line: 13 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 134 + matched_length: 134 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_737.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in ‘/usr/share/common-licenses/GPL-2’. + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 2-aho + rule_length: 227 + matched_length: 227 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_autoconf-macro-exception_4.RULE + license_expression: gpl-3.0-plus WITH autoconf-macro-exception + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation, either version 3 of the License, or (at your + option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General + Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program. If not, see . + + As a special exception, the respective Autoconf Macro's copyright owner + gives unlimited permission to copy, distribute and modify the configure + scripts that are the output of Autoconf when processing the Macro. You + need not follow the terms of the GNU General Public License when using + or distributing such scripts, even though portions of the text of the + Macro appear in them. The GNU General Public License (GPL) does govern + all other use of the material that constitutes the Autoconf Macro. + + This special exception to the GPL applies to versions of the Autoconf + Macro released by the Autoconf Archive. When you make and distribute a + modified version of the Autoconf Macro, you may extend this special + exception to the GPL to apply to your modified version as well. + - score: '100.0' + start_line: 27 + end_line: 28 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in ‘/usr/share/common-licenses/GPL-3’. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited.LICENSE + license_expression: fsf-unlimited + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation + gives unlimited permission to copy and/or distribute it, + with or without modifications, as long as this notice is preserved. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap_4.RULE + license_expression: fsf-ap + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. This file is offered as-is, + without warranty of any kind. + - score: '100.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_128.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: put into the public domain, + - score: '100.0' + start_line: 12 + end_line: 12 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_305.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: are in the public domain. + - score: '100.0' + start_line: 16 + end_line: 17 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_305.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + are in the public + domain + - score: '100.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_298.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: in the public domain diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libmount1/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libmount1/copyright-detailed.expected.yml index 9bc35e81ba5..3da8450c864 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libmount1/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libmount1/copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2 - GPL-2 - GPL-2 @@ -42,23 +44,20 @@ - LGPL-2.1+ - LGPL-3+ - MIT -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 - AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND - gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 - AND gpl-2.0 AND gpl-2.0) AND public-domain AND bsd-original-uc AND mit AND mit AND bsd-no-disclaimer - AND bsd-no-disclaimer AND bsd-no-disclaimer AND bsd-new AND bsd-new AND (lgpl-2.0-plus AND - lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0-plus - AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus - AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 - AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (gpl-3.0-plus - AND gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) - AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND - lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0) AND (lgpl-2.0-plus - AND lgpl-2.1-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) - AND (lgpl-3.0-plus AND lgpl-3.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND - lgpl-2.1) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND - gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) -- | +license_expression: (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND + gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 + AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND public-domain AND bsd-original-uc + AND mit AND mit AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new AND bsd-new + AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND + lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.1-plus AND + lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.0-plus + AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND + (lgpl-3.0-plus AND lgpl-3.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (gpl-2.0-plus + AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) +copyright: | Michal Luscon 1986 Gary S. Brown 1990 Gordon Irlam (gordoni@cs.ua.oz.au) @@ -251,3 +250,576 @@ Veeven Vikram Vincent Yoppy Hidayanto +matches: + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_28.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No copyright is claimed. This code is in the public domain; do with + it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_264.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_405.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1) Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2) Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + 3) Neither the name of the [ORGANIZATION] nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: lgpl-2.1-plus_268.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be redistributed under the terms of the + GNU Lesser General Public License. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in ‘/usr/share/common-licenses/LGPL’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '97.69' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 127 + match_coverage: '97.69' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libmount1/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libmount1/copyright.expected.yml index 11099084090..4fa8dffb131 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libmount1/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libmount1/copyright.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2 - public-domain - BSD-4-clause @@ -10,12 +12,10 @@ - GPL-3+ - LGPL - LGPL-3+ -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 - AND gpl-2.0) AND public-domain AND bsd-original-uc AND mit AND bsd-no-disclaimer AND bsd-new - AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND - lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND - (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0) AND (lgpl-3.0-plus AND lgpl-3.0-plus) -- | +license_expression: (gpl-2.0-plus AND gpl-2.0) AND gpl-2.0 AND public-domain AND bsd-original-uc + AND mit AND bsd-simplified AND bsd-new AND (lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus + AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.0-plus AND lgpl-2.1-plus) AND lgpl-3.0-plus +copyright: | Michal Luscon 1986 Gary S. Brown 1990 Gordon Irlam (gordoni@cs.ua.oz.au) @@ -108,7 +108,6 @@ 2013 Eric Sandeen 2013 Rolf Fokkens 2013 Zeeshan Ali (Khattak) - *unknown* 2001 Andreas Dilger 2008-2012 Karel Zak 2013, Red Hat, Inc. @@ -196,3 +195,576 @@ Veeven Vikram Vincent Yoppy Hidayanto +matches: + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_28.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No copyright is claimed. This code is in the public domain; do with + it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_264.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_405.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1) Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2) Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + 3) Neither the name of the [ORGANIZATION] nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: lgpl-2.1-plus_268.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be redistributed under the terms of the + GNU Lesser General Public License. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in ‘/usr/share/common-licenses/LGPL’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '97.69' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 127 + match_coverage: '97.69' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnettle8/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnettle8/copyright-detailed.expected.yml index 921835fc161..710505c86b8 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnettle8/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnettle8/copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - LGPL-3+ or GPL-2+ +primary_license: lgpl-3.0-plus OR gpl-2.0-plus +declared_license: + - LGPL-3+ or GPL-2+ - LGPL-3+ or GPL-2+ - LGPL-3+ or GPL-2+ - LGPL-3+ or GPL-2+ @@ -69,9 +71,10 @@ - LGPL-3+ - GPL-2+ - Expat -- ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus - AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) - OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus +license_expression: ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND + ((lgpl-3.0-plus OR gpl-2.0-plus) AND (other-permissive AND public-domain) AND public-domain + AND lgpl-2.0-plus AND mit AND public-domain AND public-domain AND public-domain AND public-domain + AND public-domain AND lgpl-2.0-plus) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) @@ -87,15 +90,15 @@ AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) - OR (gpl-2.0-plus AND gpl-2.0-plus)) AND (lgpl-2.0-plus AND gpl-2.0-plus AND lgpl-2.0 AND lgpl-2.0) - AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus - AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) + AND (lgpl-2.0-plus AND gpl-2.0-plus AND lgpl-2.0) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR + (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND + gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus - AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND mit AND ((lgpl-3.0-plus AND lgpl-3.0-plus) + AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus - AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) + AND gpl-2.0-plus)) AND mit AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus @@ -116,11 +119,13 @@ AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) - AND (gpl-3.0-plus AND gpl-3.0-plus WITH tex-exception) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) - OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus - AND gpl-2.0-plus)) AND (gpl-2.0-plus AND gpl-2.0-plus) AND autoconf-simple-exception-2.0 AND - unknown-license-reference AND (gpl-2.0 AND gpl-2.0) AND fsf-ap -- | + AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND ((lgpl-3.0-plus + AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND (gpl-3.0-plus AND gpl-3.0-plus + WITH tex-exception) AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) + AND ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND (gpl-2.0-plus + AND gpl-2.0-plus) AND autoconf-simple-exception-2.0 AND public-domain AND (gpl-2.0 AND gpl-2.0) + AND fsf-ap +copyright: | © 2001-2020 Niels Möller Some parts are Copyright © the Free Software Foundation and various people. See below and source code comments for details. @@ -248,3 +253,541 @@ 2002 Timshel Knoll 2007 Magnus Holmgren 2007 Magnus Holmgren +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '97.81' + start_line: 1 + end_line: 17 + matcher: 3-seq + rule_length: 137 + matched_length: 134 + match_coverage: '97.81' + rule_relevance: 100 + identifier: gpl-2.0-plus_28.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU [Library] General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU [Library] General Public License for more details. + + You should have received a copy of the GNU [Library] General Public License + along with this [program]; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian GNU/Linux systems, the complete text of the GNU [Library] + General Public License, [version] [2], can be found in + /usr/share/common-licenses/ + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_71.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Library + General Public License, version 2, + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 137 + matched_length: 137 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_tex-exception_5.RULE + license_expression: gpl-3.0-plus WITH tex-exception + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This texinfo.tex file is free software: you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This texinfo.tex file is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + As a special exception, when this file is read by TeX when processing + a Texinfo source document, you may use the result without + restriction. (This has been our intent since Texinfo was invented.) + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: autoconf-simple-exception-2.0.LICENSE + license_expression: autoconf-simple-exception-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception to the GNU General Public License, if you + distribute this file as part of a program that contains a + configuration script generated by Autoconf, you may include it under + the same distribution terms that you use for the rest of that program. + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: public-domain_354.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + I believe that most files in debian/ hardly contains any creative + expression eligible for copyright. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '93.38' + start_line: 1 + end_line: 17 + matcher: 3-seq + rule_length: 136 + matched_length: 127 + match_coverage: '93.38' + rule_relevance: 100 + identifier: gpl-2.0_54.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June. 1991. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin [Street], Fifth Floor, Boston, MA + 02110-1301 USA. + + On Debian GNU/Linux systems, the complete text of the GNU General + Public License, [version] [2], can be found in + /usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap_3.RULE + license_expression: fsf-ap + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '90.77' + start_line: 1 + end_line: 16 + matcher: 3-seq + rule_length: 130 + matched_length: 118 + match_coverage: '90.77' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 3 of the License, or (at your + option) any later version. + + [GNU] [Nettle] is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public + License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this [library]; if not, see http://www.gnu.org/licenses/. + + On Debian [GNU]/[Linux] [systems], [the] [complete] [text] [of] [the] [newest] [version] + of the GNU Lesser General Public License can be found in + /usr/share/common-licenses/LGPL. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '96.35' + start_line: 1 + end_line: 18 + matcher: 3-seq + rule_length: 137 + matched_length: 132 + match_coverage: '96.35' + rule_relevance: 100 + identifier: gpl-2.0-plus_28.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + [GNU] [Nettle] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this [program]; if not, write to the Free Software + Foundation, Inc., 51 Franklin [Street], Fifth Floor, Boston, MA + 02110-1301 USA. + + On Debian GNU/Linux systems, the complete text [of] [the] [newest] [version] + of the GNU General Public License can be found in + /usr/share/common-licenses/GPL. + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '97.56' + start_line: 1 + end_line: 4 + matcher: 3-seq + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_or_gpl-2.0-plus_15.RULE + license_expression: lgpl-3.0-plus OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is dual licenced under the GNU General Public License version + 2 or later, and the GNU Lesser General Public License version 3 or + later. When using [Nettle], you must comply fully with all conditions + of at least one of these licenses. + - score: '100.0' + start_line: 4 + end_line: 7 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_and_public-domain_1.RULE + license_expression: other-permissive AND public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + few of the individual files are + licensed under more permissive terms, or in the public domain. To + find the current status of particular files, you have to read the + copyright notices at the top of the files. + - score: '100.0' + start_line: 38 + end_line: 38 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 46 + end_line: 46 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_221.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: under the LGPL, + - score: '100.0' + start_line: 51 + end_line: 51 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_384.RULE + license_expression: mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is released under the MIT license. + - score: '70.0' + start_line: 56 + end_line: 56 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain). + - score: '100.0' + start_line: 60 + end_line: 60 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 65 + end_line: 65 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 78 + end_line: 78 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_298.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: in the public domain), + - score: '100.0' + start_line: 96 + end_line: 96 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 97 + end_line: 97 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_221.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: under the LGPL. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnettle8/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnettle8/copyright.expected.yml index 3f97e433635..c88a4fcd8d3 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnettle8/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnettle8/copyright.expected.yml @@ -1,4 +1,6 @@ -- - LGPL-3+ or GPL-2+ +primary_license: lgpl-3.0-plus OR gpl-2.0-plus +declared_license: + - LGPL-3+ or GPL-2+ - LGPL-2+ - Expat - GPL-3+ @@ -7,11 +9,11 @@ - GPL-2 - GAP - LGPL-3+ -- ((lgpl-3.0-plus AND lgpl-3.0-plus) OR (gpl-2.0-plus AND gpl-2.0-plus)) AND (lgpl-2.0-plus - AND gpl-2.0-plus AND lgpl-2.0 AND lgpl-2.0) AND mit AND (gpl-3.0-plus AND gpl-3.0-plus WITH - tex-exception) AND (gpl-2.0-plus AND gpl-2.0-plus) AND autoconf-simple-exception-2.0 AND (gpl-2.0 - AND gpl-2.0) AND fsf-ap -- | +license_expression: (lgpl-3.0-plus OR gpl-2.0-plus) AND ((lgpl-3.0-plus OR gpl-2.0-plus) AND + (other-permissive AND public-domain) AND public-domain AND lgpl-2.0-plus AND mit) AND (lgpl-2.0-plus + AND gpl-2.0-plus AND lgpl-2.0) AND mit AND (gpl-3.0-plus AND gpl-3.0-plus WITH tex-exception) + AND gpl-2.0-plus AND autoconf-simple-exception-2.0 AND gpl-2.0 AND fsf-ap +copyright: | © 2001-2020 Niels Möller Some parts are Copyright © the Free Software Foundation and various people. See below and source code comments for details. @@ -114,3 +116,541 @@ © 1992-2020 Free Software Foundation, Inc. 2002 Timshel Knoll 2007 Magnus Holmgren +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '97.81' + start_line: 1 + end_line: 17 + matcher: 3-seq + rule_length: 137 + matched_length: 134 + match_coverage: '97.81' + rule_relevance: 100 + identifier: gpl-2.0-plus_28.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU [Library] General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU [Library] General Public License for more details. + + You should have received a copy of the GNU [Library] General Public License + along with this [program]; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian GNU/Linux systems, the complete text of the GNU [Library] + General Public License, [version] [2], can be found in + /usr/share/common-licenses/ + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_71.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Library + General Public License, version 2, + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 137 + matched_length: 137 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_tex-exception_5.RULE + license_expression: gpl-3.0-plus WITH tex-exception + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This texinfo.tex file is free software: you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This texinfo.tex file is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied warranty + of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + As a special exception, when this file is read by TeX when processing + a Texinfo source document, you may use the result without + restriction. (This has been our intent since Texinfo was invented.) + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 42 + matched_length: 42 + match_coverage: '100.0' + rule_relevance: 100 + identifier: autoconf-simple-exception-2.0.LICENSE + license_expression: autoconf-simple-exception-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + As a special exception to the GNU General Public License, if you + distribute this file as part of a program that contains a + configuration script generated by Autoconf, you may include it under + the same distribution terms that you use for the rest of that program. + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: public-domain_354.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + I believe that most files in debian/ hardly contains any creative + expression eligible for copyright. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '93.38' + start_line: 1 + end_line: 17 + matcher: 3-seq + rule_length: 136 + matched_length: 127 + match_coverage: '93.38' + rule_relevance: 100 + identifier: gpl-2.0_54.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June. 1991. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin [Street], Fifth Floor, Boston, MA + 02110-1301 USA. + + On Debian GNU/Linux systems, the complete text of the GNU General + Public License, [version] [2], can be found in + /usr/share/common-licenses/GPL- + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 26 + matched_length: 26 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap_3.RULE + license_expression: fsf-ap + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '90.77' + start_line: 1 + end_line: 16 + matcher: 3-seq + rule_length: 130 + matched_length: 118 + match_coverage: '90.77' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 3 of the License, or (at your + option) any later version. + + [GNU] [Nettle] is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public + License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this [library]; if not, see http://www.gnu.org/licenses/. + + On Debian [GNU]/[Linux] [systems], [the] [complete] [text] [of] [the] [newest] [version] + of the GNU Lesser General Public License can be found in + /usr/share/common-licenses/LGPL. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '96.35' + start_line: 1 + end_line: 18 + matcher: 3-seq + rule_length: 137 + matched_length: 132 + match_coverage: '96.35' + rule_relevance: 100 + identifier: gpl-2.0-plus_28.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + [GNU] [Nettle] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this [program]; if not, write to the Free Software + Foundation, Inc., 51 Franklin [Street], Fifth Floor, Boston, MA + 02110-1301 USA. + + On Debian GNU/Linux systems, the complete text [of] [the] [newest] [version] + of the GNU General Public License can be found in + /usr/share/common-licenses/GPL. + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + - score: '97.56' + start_line: 1 + end_line: 4 + matcher: 3-seq + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_or_gpl-2.0-plus_15.RULE + license_expression: lgpl-3.0-plus OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is dual licenced under the GNU General Public License version + 2 or later, and the GNU Lesser General Public License version 3 or + later. When using [Nettle], you must comply fully with all conditions + of at least one of these licenses. + - score: '100.0' + start_line: 4 + end_line: 7 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_and_public-domain_1.RULE + license_expression: other-permissive AND public-domain + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + few of the individual files are + licensed under more permissive terms, or in the public domain. To + find the current status of particular files, you have to read the + copyright notices at the top of the files. + - score: '100.0' + start_line: 38 + end_line: 38 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 46 + end_line: 46 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_221.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: under the LGPL, + - score: '100.0' + start_line: 51 + end_line: 51 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_384.RULE + license_expression: mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is released under the MIT license. + - score: '70.0' + start_line: 56 + end_line: 56 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain). + - score: '100.0' + start_line: 60 + end_line: 60 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 65 + end_line: 65 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 78 + end_line: 78 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_298.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: in the public domain), + - score: '100.0' + start_line: 96 + end_line: 96 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_15.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Released into the public domain. + - score: '100.0' + start_line: 97 + end_line: 97 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_221.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: under the LGPL. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnsl2/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnsl2/copyright-detailed.expected.yml index dc2a9bbdc82..40b17a1aaa9 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnsl2/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnsl2/copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - LGPL-2.1+ +primary_license: None +declared_license: + - LGPL-2.1+ - LGPL-2.1 - LGPL-2.1+ - BSD-3-clause @@ -24,13 +26,13 @@ - permissive-configure - permissive-fsf - permissive-makefile-in -- (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.1 AND lgpl-3.0-plus - AND gpl-1.0-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) - AND bsd-new AND fsf-ap AND fsf-unlimited-no-warranty AND fsf-unlimited-no-warranty AND (gpl-3.0-plus - WITH autoconf-simple-exception AND gpl-3.0) AND fsf-free AND (gpl-2.0-plus WITH autoconf-simple-exception-2.0 - AND gpl-2.0 AND gpl-2.0) AND x11-xconsortium AND (gpl-2.0-plus WITH libtool-exception-2.0 - AND gpl-2.0 AND gpl-2.0) AND fsf-unlimited AND fsf-ap -- | +license_expression: (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1 AND lgpl-3.0-plus + AND gpl-1.0-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND bsd-new + AND fsf-ap AND fsf-unlimited-no-warranty AND fsf-unlimited-no-warranty AND (gpl-3.0-plus WITH + autoconf-simple-exception AND gpl-3.0) AND fsf-free AND (gpl-2.0-plus WITH autoconf-simple-exception-2.0 + AND gpl-2.0) AND x11-xconsortium AND (gpl-2.0-plus WITH libtool-exception-2.0 AND gpl-2.0) + AND fsf-unlimited AND fsf-ap +copyright: | 2020, Aurelien Jarno 2014, 2015, 2017-2018, Thorsten Kukuk 1996-2015, Free Software Foundation, Inc. @@ -45,3 +47,488 @@ 1996-2015 Free Software Foundation, Inc. 1995-2020 Free Software Foundation, Inc. 1995-1997, 2000-2007, 2009-2010 Ulrich Drepper +matches: + - score: '100.0' + start_line: 1 + end_line: 26 + matcher: 1-hash + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_591.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of the "Oracle America, Inc." nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_with_autoconf-simple-exception-2.0_10.RULE + license_expression: gpl-2.0-plus WITH autoconf-simple-exception-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + As a special exception to the GNU General Public License, if you + distribute this file as part of a program that contains a + configuration script generated by Autoconf, you may include it under + the same distribution terms that you use for the rest of that program. + - score: '100.0' + start_line: '19' + end_line: 20 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '86.47' + start_line: 1 + end_line: 17 + matcher: 3-seq + rule_length: 170 + matched_length: 147 + match_coverage: '86.47' + rule_relevance: 100 + identifier: gpl-2.0-plus_with_libtool-exception-2.0_6.RULE + license_expression: gpl-2.0-plus WITH libtool-exception-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Libtool is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + As a special exception to the GNU General Public License, + if you distribute this file as part of a program or library that + is built using GNU Libtool, you may include this file under the + same distribution terms that you use for the rest of that program. + + GNU Libtool is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: '19' + end_line: 20 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 2-aho + rule_length: 162 + matched_length: 162 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_autoconf-simple-exception_1.RULE + license_expression: gpl-3.0-plus WITH autoconf-simple-exception + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, see . + + As a special exception to the GNU General Public License, if you + distribute this file as part of a program that contains a + configuration script generated by Autoconf, you may include it under + the same distribution terms that you use for the rest of that + program. This Exception is an additional permission under section 7 + of the GNU General Public License, version 3 ("GPLv3"). + - score: '100.0' + start_line: 21 + end_line: 22 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public License + Version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '53.85' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 130 + matched_length: 70 + match_coverage: '53.85' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software: you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + [in] [version] [2].[1] as published by the Free Software Foundation. + + [This] [library] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See [the] + [GNU] [General] [Public] [License] [for] [more] [details]. + + [You] [should] [have] [received] a [copy] [of] [the] [GNU] [General] [Public] [License] + [along] [with] [this] [program]. [If] [not], [see] <[http]://[www].[gnu].[org]/[licenses]/>. + + [On] [Debian] [systems], [the] [complete] [text] [of] the GNU Lesser General Public + License [version] [2].[1] can be found in "/usr/share/common-licenses/LGPL- + - score: '100.0' + start_line: 10 + end_line: 11 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_35.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 13 + end_line: 14 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_56.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, see + . + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1". + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 1-hash + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- + TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited.LICENSE + license_expression: fsf-unlimited + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 63 + matched_length: 63 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.LICENSE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation + gives unlimited permission to copy and/or distribute it, + with or without modifications, as long as this notice is preserved. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY, to the extent permitted by law; without + even the implied warranty of MERCHANTABILITY or FITNESS FOR A + PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-free.LICENSE + license_expression: fsf-free + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This configure script is free software; the Free Software Foundation + gives unlimited permission to copy, distribute and modify it. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap.LICENSE + license_expression: fsf-ap + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. This file is offered as-is, + without any warranty. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty_2.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This Makefile.in is free software; the Free Software Foundation + gives unlimited permission to copy and/or distribute it, + with or without modifications, as long as this notice is preserved. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY, to the extent permitted by law; without + even the implied warranty of MERCHANTABILITY or FITNESS FOR A + PARTICULAR PURPOSE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnsl2/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnsl2/copyright.expected.yml index 7b6937e3f7e..02fdc30f8e4 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnsl2/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libnsl2/copyright.expected.yml @@ -1,4 +1,6 @@ -- - LGPL-2.1 +primary_license: None +declared_license: + - LGPL-2.1 - LGPL-2.1+ - BSD-3-clause - permissive-fsf @@ -10,12 +12,11 @@ - MIT - GPL-2+-libtool-exception - permissive-autoconf-m4 -- (lgpl-2.1 AND lgpl-3.0-plus AND gpl-1.0-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus - AND lgpl-2.1 AND lgpl-2.1) AND bsd-new AND fsf-ap AND fsf-unlimited-no-warranty AND fsf-unlimited-no-warranty - AND (gpl-3.0-plus WITH autoconf-simple-exception AND gpl-3.0) AND fsf-free AND (gpl-2.0-plus - WITH autoconf-simple-exception-2.0 AND gpl-2.0 AND gpl-2.0) AND x11-xconsortium AND (gpl-2.0-plus - WITH libtool-exception-2.0 AND gpl-2.0 AND gpl-2.0) AND fsf-unlimited -- | +license_expression: (lgpl-2.1 AND lgpl-3.0-plus AND gpl-1.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1) + AND bsd-new AND fsf-ap AND fsf-unlimited-no-warranty AND (gpl-3.0-plus WITH autoconf-simple-exception + AND gpl-3.0) AND fsf-free AND (gpl-2.0-plus WITH autoconf-simple-exception-2.0 AND gpl-2.0) + AND x11-xconsortium AND (gpl-2.0-plus WITH libtool-exception-2.0 AND gpl-2.0) AND fsf-unlimited +copyright: | 2014, 2015, 2017-2018, Thorsten Kukuk 1996-2015, Free Software Foundation, Inc. 2010, Oracle America, Inc. @@ -29,3 +30,488 @@ 1996-2015 Free Software Foundation, Inc. 1995-2020 Free Software Foundation, Inc. 1995-1997, 2000-2007, 2009-2010 Ulrich Drepper +matches: + - score: '100.0' + start_line: 1 + end_line: 26 + matcher: 1-hash + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_591.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of the "Oracle America, Inc." nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_with_autoconf-simple-exception-2.0_10.RULE + license_expression: gpl-2.0-plus WITH autoconf-simple-exception-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + As a special exception to the GNU General Public License, if you + distribute this file as part of a program that contains a + configuration script generated by Autoconf, you may include it under + the same distribution terms that you use for the rest of that program. + - score: '100.0' + start_line: '19' + end_line: 20 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '86.47' + start_line: 1 + end_line: 17 + matcher: 3-seq + rule_length: 170 + matched_length: 147 + match_coverage: '86.47' + rule_relevance: 100 + identifier: gpl-2.0-plus_with_libtool-exception-2.0_6.RULE + license_expression: gpl-2.0-plus WITH libtool-exception-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Libtool is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + As a special exception to the GNU General Public License, + if you distribute this file as part of a program or library that + is built using GNU Libtool, you may include this file under the + same distribution terms that you use for the rest of that program. + + GNU Libtool is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: '19' + end_line: 20 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 2-aho + rule_length: 162 + matched_length: 162 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_autoconf-simple-exception_1.RULE + license_expression: gpl-3.0-plus WITH autoconf-simple-exception + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, see . + + As a special exception to the GNU General Public License, if you + distribute this file as part of a program that contains a + configuration script generated by Autoconf, you may include it under + the same distribution terms that you use for the rest of that + program. This Exception is an additional permission under section 7 + of the GNU General Public License, version 3 ("GPLv3"). + - score: '100.0' + start_line: 21 + end_line: 22 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public License + Version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '53.85' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 130 + matched_length: 70 + match_coverage: '53.85' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software: you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + [in] [version] [2].[1] as published by the Free Software Foundation. + + [This] [library] is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See [the] + [GNU] [General] [Public] [License] [for] [more] [details]. + + [You] [should] [have] [received] a [copy] [of] [the] [GNU] [General] [Public] [License] + [along] [with] [this] [program]. [If] [not], [see] <[http]://[www].[gnu].[org]/[licenses]/>. + + [On] [Debian] [systems], [the] [complete] [text] [of] the GNU Lesser General Public + License [version] [2].[1] can be found in "/usr/share/common-licenses/LGPL- + - score: '100.0' + start_line: 10 + end_line: 11 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_35.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 13 + end_line: 14 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1". + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 112 + matched_length: 112 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_56.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, see + . + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1". + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 1-hash + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- + TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited.LICENSE + license_expression: fsf-unlimited + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 63 + matched_length: 63 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.LICENSE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation + gives unlimited permission to copy and/or distribute it, + with or without modifications, as long as this notice is preserved. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY, to the extent permitted by law; without + even the implied warranty of MERCHANTABILITY or FITNESS FOR A + PARTICULAR PURPOSE. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-free.LICENSE + license_expression: fsf-free + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This configure script is free software; the Free Software Foundation + gives unlimited permission to copy, distribute and modify it. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap.LICENSE + license_expression: fsf-ap + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. This file is offered as-is, + without any warranty. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty_2.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This Makefile.in is free software; the Free Software Foundation + gives unlimited permission to copy and/or distribute it, + with or without modifications, as long as this notice is preserved. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY, to the extent permitted by law; without + even the implied warranty of MERCHANTABILITY or FITNESS FOR A + PARTICULAR PURPOSE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libp11-kit0/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libp11-kit0/copyright-detailed.expected.yml index 1cc3d2403f9..591d4407b6f 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libp11-kit0/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libp11-kit0/copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - BSD-3-Clause +primary_license: bsd-new +declared_license: + - BSD-3-Clause - permissive-like-automake-output - BSD-3-Clause - BSD-3-Clause @@ -12,9 +14,10 @@ - BSD-3-Clause - same-as-rest-of-p11kit - BSD-3-Clause -- bsd-new AND fsf-unlimited-no-warranty AND bsd-new AND bsd-new AND isc AND (isc AND ibm-dhcp) - AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND free-unknown -- | +license_expression: bsd-new AND fsf-unlimited-no-warranty AND bsd-new AND bsd-new AND mit AND + isc AND (isc AND ibm-dhcp) AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND + bsd-new AND free-unknown AND free-unknown +copyright: | 2011 Collabora Ltd. 2004, 2005, 2007, 2008, 2012, 2013 Stefan Walter 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Red Hat, Inc. @@ -44,3 +47,220 @@ 2012 Rosetta Contributors and Canonical Ltd 2012 Eerik Uusi-Illikainen https://launchpad.net/~ekiuusi-4, 2012 Timo Jyrinki , 2012 +matches: + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; as a special exception the author gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + + This file is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY, to the extent permitted by law; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. */ + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_20.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE + OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + - score: '100.0' + start_line: 3 + end_line: 14 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_9.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS + ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE + CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL + DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR + PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS + ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + SOFTWARE. + - score: '100.0' + start_line: '19' + end_line: 38 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ibm-dhcp.LICENSE + license_expression: ibm-dhcp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + International Business Machines, Inc. (hereinafter called IBM) grants + permission under its copyrights to use, copy, modify, and distribute this + Software with or without fee, provided that the above copyright notice and + all paragraphs of this notice appear in all copies, and that the name of IBM + not be used in connection with the marketing of any product incorporating + the Software or modifications thereof, without specific, written prior + permission. + + To the extent it has a right to do so, IBM grants an immunity from suit + under its patents, if any, for the use, sale or manufacture of products to + the extent that such products are used for performing Domain Name System + dynamic updates in TCP/IP networks by means of the Software. No immunity is + granted for any product per se or for any other function of any product. + + THE SOFTWARE IS PROVIDED "AS IS", AND IBM DISCLAIMS ALL WARRANTIES, + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, + DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER ARISING + OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE, EVEN + IF IBM IS APPRISED OF THE POSSIBILITY OF SUCH DAMAGES. + - score: '76.15' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 90 + identifier: free-unknown_79.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is distributed under the same license as the [p11]-[kit] + package. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '80.0' + start_line: 12 + end_line: 21 + matcher: 2-aho + rule_length: 86 + matched_length: 86 + match_coverage: '100.0' + rule_relevance: 80 + identifier: mit_17.RULE + license_expression: mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation files + * (the "Software"), to deal in the Software without restriction, + * including without limitation the rights to use, copy, modify, merge, + * publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, + * subject to the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + - score: '82.5' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 12 + matched_length: 11 + match_coverage: '91.67' + rule_relevance: 90 + identifier: free-unknown_80.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is distributed under the same license as the + [debian] [files] [of] [the] [p11]-[kit] package. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libp11-kit0/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libp11-kit0/copyright.expected.yml index da6de755a58..7d46dab73f0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libp11-kit0/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libp11-kit0/copyright.expected.yml @@ -1,10 +1,13 @@ -- - BSD-3-Clause +primary_license: bsd-new +declared_license: + - BSD-3-Clause - permissive-like-automake-output - ISC - ISC+IBM - same-as-rest-of-p11kit -- bsd-new AND fsf-unlimited-no-warranty AND isc AND (isc AND ibm-dhcp) AND free-unknown -- | +license_expression: bsd-new AND fsf-unlimited-no-warranty AND mit AND isc AND (isc AND ibm-dhcp) + AND free-unknown +copyright: | 2011 Collabora Ltd. 2004, 2005, 2007, 2008, 2012, 2013 Stefan Walter 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Red Hat, Inc. @@ -32,3 +35,220 @@ 2012 Rosetta Contributors and Canonical Ltd 2012 Eerik Uusi-Illikainen https://launchpad.net/~ekiuusi-4, 2012 Timo Jyrinki , 2012 +matches: + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 64 + matched_length: 64 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited-no-warranty.RULE + license_expression: fsf-unlimited-no-warranty + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; as a special exception the author gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + + This file is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY, to the extent permitted by law; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. */ + - score: '100.0' + start_line: 1 + end_line: 11 + matcher: 1-hash + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_20.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE + OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + - score: '100.0' + start_line: 3 + end_line: 14 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: isc_9.RULE + license_expression: isc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS + ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE + CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL + DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR + PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS + ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + SOFTWARE. + - score: '100.0' + start_line: '19' + end_line: 38 + matcher: 2-aho + rule_length: 203 + matched_length: 203 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ibm-dhcp.LICENSE + license_expression: ibm-dhcp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + International Business Machines, Inc. (hereinafter called IBM) grants + permission under its copyrights to use, copy, modify, and distribute this + Software with or without fee, provided that the above copyright notice and + all paragraphs of this notice appear in all copies, and that the name of IBM + not be used in connection with the marketing of any product incorporating + the Software or modifications thereof, without specific, written prior + permission. + + To the extent it has a right to do so, IBM grants an immunity from suit + under its patents, if any, for the use, sale or manufacture of products to + the extent that such products are used for performing Domain Name System + dynamic updates in TCP/IP networks by means of the Software. No immunity is + granted for any product per se or for any other function of any product. + + THE SOFTWARE IS PROVIDED "AS IS", AND IBM DISCLAIMS ALL WARRANTIES, + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, + DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER ARISING + OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE, EVEN + IF IBM IS APPRISED OF THE POSSIBILITY OF SUCH DAMAGES. + - score: '76.15' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 90 + identifier: free-unknown_79.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is distributed under the same license as the [p11]-[kit] + package. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '80.0' + start_line: 12 + end_line: 21 + matcher: 2-aho + rule_length: 86 + matched_length: 86 + match_coverage: '100.0' + rule_relevance: 80 + identifier: mit_17.RULE + license_expression: mit + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation files + * (the "Software"), to deal in the Software without restriction, + * including without limitation the rights to use, copy, modify, merge, + * publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, + * subject to the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + - score: '82.5' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 12 + matched_length: 11 + match_coverage: '91.67' + rule_relevance: 90 + identifier: free-unknown_80.RULE + license_expression: free-unknown + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is distributed under the same license as the + [debian] [files] [of] [the] [p11]-[kit] package. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpam-modules/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpam-modules/copyright-detailed.expected.yml index 842ee98eb58..3d33083732b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpam-modules/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpam-modules/copyright-detailed.expected.yml @@ -1,6 +1,7 @@ -- -- (bsd-new OR lgpl-2.0-plus) AND gpl-1.0-plus -- | +primary_license: +declared_license: +license_expression: (bsd-new OR lgpl-2.0-plus) AND gpl-1.0-plus +copyright: | Copyright (c) 1994, 1995, 1996 Olaf Kirch, Copyright (c) 1995 Wietse Venema Copyright (c) 1995, 2001-2008 Red Hat, Inc. @@ -18,3 +19,61 @@ Copyright (c) 2003 Nalin Dahyabhai Copyright (c) 2005-2008 Thorsten Kukuk Copyright (c) 2005 Darren Tucker +matches: + - score: '98.6' + start_line: 25 + end_line: 63 + matcher: 3-seq + rule_length: 281 + matched_length: 281 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_or_lgpl-2.0-plus_4.RULE + license_expression: bsd-new OR lgpl-2.0-plus + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Unless otherwise *explicitly* stated the following text describes the\n licensed\ + \ conditions under which the contents of this [Linux]-[PAM] release\n may be distributed:\n\ + \ \n -------------------------------------------------------------------------\n Redistribution\ + \ and use in source and binary forms of [Linux]-[PAM], with\n or without modification,\ + \ are permitted provided that the following\n conditions are met:\n \n 1. Redistributions\ + \ of source code must retain any existing copyright\n notice, and this entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n \n 2. Redistributions\ + \ in binary form must reproduce all prior and current\n copyright notices, this list\ + \ of conditions, and the following\n disclaimer in the documentation and/or other materials\ + \ provided\n with the distribution.\n \n 3. The name of any author may not be used\ + \ to endorse or promote\n products derived from this software without their specific\ + \ prior\n written permission.\n \n ALTERNATIVELY, this product may be distributed under\ + \ the terms of the\n GNU General Public License, in which case the provisions of the GNU\n\ + \ GPL are required INSTEAD OF the above restrictions. (This clause is\n necessary due\ + \ to a potential conflict between the GNU GPL and the\n restrictions contained in a BSD-style\ + \ copyright.)\n \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\n IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE\ + \ FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\ + \ (INCLUDING,\n BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS\n\ + \ OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY\ + \ OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\n TORT (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF SUCH\n DAMAGE." + - score: '100.0' + start_line: 66 + end_line: 67 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_10.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpam-modules/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpam-modules/copyright.expected.yml index 842ee98eb58..3d33083732b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpam-modules/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpam-modules/copyright.expected.yml @@ -1,6 +1,7 @@ -- -- (bsd-new OR lgpl-2.0-plus) AND gpl-1.0-plus -- | +primary_license: +declared_license: +license_expression: (bsd-new OR lgpl-2.0-plus) AND gpl-1.0-plus +copyright: | Copyright (c) 1994, 1995, 1996 Olaf Kirch, Copyright (c) 1995 Wietse Venema Copyright (c) 1995, 2001-2008 Red Hat, Inc. @@ -18,3 +19,61 @@ Copyright (c) 2003 Nalin Dahyabhai Copyright (c) 2005-2008 Thorsten Kukuk Copyright (c) 2005 Darren Tucker +matches: + - score: '98.6' + start_line: 25 + end_line: 63 + matcher: 3-seq + rule_length: 281 + matched_length: 281 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_or_lgpl-2.0-plus_4.RULE + license_expression: bsd-new OR lgpl-2.0-plus + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Unless otherwise *explicitly* stated the following text describes the\n licensed\ + \ conditions under which the contents of this [Linux]-[PAM] release\n may be distributed:\n\ + \ \n -------------------------------------------------------------------------\n Redistribution\ + \ and use in source and binary forms of [Linux]-[PAM], with\n or without modification,\ + \ are permitted provided that the following\n conditions are met:\n \n 1. Redistributions\ + \ of source code must retain any existing copyright\n notice, and this entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n \n 2. Redistributions\ + \ in binary form must reproduce all prior and current\n copyright notices, this list\ + \ of conditions, and the following\n disclaimer in the documentation and/or other materials\ + \ provided\n with the distribution.\n \n 3. The name of any author may not be used\ + \ to endorse or promote\n products derived from this software without their specific\ + \ prior\n written permission.\n \n ALTERNATIVELY, this product may be distributed under\ + \ the terms of the\n GNU General Public License, in which case the provisions of the GNU\n\ + \ GPL are required INSTEAD OF the above restrictions. (This clause is\n necessary due\ + \ to a potential conflict between the GNU GPL and the\n restrictions contained in a BSD-style\ + \ copyright.)\n \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\n IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE\ + \ FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\ + \ (INCLUDING,\n BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS\n\ + \ OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n ON ANY THEORY\ + \ OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\n TORT (INCLUDING NEGLIGENCE\ + \ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF ADVISED\ + \ OF THE POSSIBILITY OF SUCH\n DAMAGE." + - score: '100.0' + start_line: 66 + end_line: 67 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_10.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre2-8-0/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre2-8-0/copyright-detailed.expected.yml index f1da492439c..1d0f9a78452 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre2-8-0/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre2-8-0/copyright-detailed.expected.yml @@ -1,6 +1,105 @@ -- -- pcre AND bsd-new AND unknown-license-reference AND public-domain -- | +primary_license: +declared_license: +license_expression: pcre AND bsd-new AND public-domain AND bsd-new AND bsd-new +copyright: | Copyright (c) 1997-2015 University of Cambridge Copyright (c) 2010-2015 Zoltan Herczeg Copyright (c) 2009-2015 Zoltan Herczeg +matches: + - score: '66.0' + start_line: 3 + end_line: 5 + matcher: 2-aho + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 66 + identifier: pcre_7.RULE + license_expression: pcre + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/\n \n PCRE2 LICENCE" + - score: '100.0' + start_line: 11 + end_line: 11 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_398.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: distributed under the terms of the "BSD" licence, + - score: '100.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_328.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: not copyrighted and is in the public domain. + - score: '99.0' + start_line: 58 + end_line: 58 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-new_898.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: THE "BSD" LICENCE + - score: '99.53' + start_line: 61 + end_line: 85 + matcher: 3-seq + rule_length: 214 + matched_length: 213 + match_coverage: '99.53' + rule_relevance: 100 + identifier: bsd-new_879.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are met:\n \n * Redistributions\ + \ of source code must retain the above copyright notice,\n this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n\ + \ \n * Neither the name of the University of Cambridge nor the names of [any]\n \ + \ contributors may be used to endorse or promote products derived from this\n \ + \ software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR\ + \ CONTRIBUTORS BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n\ + \ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n SUBSTITUTE GOODS\ + \ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n INTERRUPTION) HOWEVER CAUSED\ + \ AND ON ANY THEORY OF LIABILITY, WHETHER IN\n CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE\n POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre2-8-0/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre2-8-0/copyright.expected.yml index f1da492439c..d6b0ae00ba6 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre2-8-0/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre2-8-0/copyright.expected.yml @@ -1,6 +1,105 @@ -- -- pcre AND bsd-new AND unknown-license-reference AND public-domain -- | +primary_license: +declared_license: +license_expression: pcre AND bsd-new AND public-domain +copyright: | Copyright (c) 1997-2015 University of Cambridge Copyright (c) 2010-2015 Zoltan Herczeg Copyright (c) 2009-2015 Zoltan Herczeg +matches: + - score: '66.0' + start_line: 3 + end_line: 5 + matcher: 2-aho + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 66 + identifier: pcre_7.RULE + license_expression: pcre + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/\n \n PCRE2 LICENCE" + - score: '100.0' + start_line: 11 + end_line: 11 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_398.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: distributed under the terms of the "BSD" licence, + - score: '100.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_328.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: not copyrighted and is in the public domain. + - score: '99.0' + start_line: 58 + end_line: 58 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-new_898.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: THE "BSD" LICENCE + - score: '99.53' + start_line: 61 + end_line: 85 + matcher: 3-seq + rule_length: 214 + matched_length: 213 + match_coverage: '99.53' + rule_relevance: 100 + identifier: bsd-new_879.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are met:\n \n * Redistributions\ + \ of source code must retain the above copyright notice,\n this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n\ + \ \n * Neither the name of the University of Cambridge nor the names of [any]\n \ + \ contributors may be used to endorse or promote products derived from this\n \ + \ software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED\ + \ BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES,\ + \ INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\ + \ FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR\ + \ CONTRIBUTORS BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n\ + \ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n SUBSTITUTE GOODS\ + \ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n INTERRUPTION) HOWEVER CAUSED\ + \ AND ON ANY THEORY OF LIABILITY, WHETHER IN\n CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\ + \ NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\ + \ IF ADVISED OF THE\n POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre3/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre3/copyright-detailed.expected.yml index 163b9c0d0e2..ff48e86b2f4 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre3/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre3/copyright-detailed.expected.yml @@ -1,5 +1,91 @@ -- -- pcre AND bsd-new -- | +primary_license: +declared_license: +license_expression: pcre AND bsd-new AND bsd-new AND bsd-new +copyright: | Copyright (c) 1997-2007 University of Cambridge Copyright (c) 2007, Google Inc. +matches: + - score: '11.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: pcre_4.RULE + license_expression: pcre + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: PCRE LICENCE + - score: '100.0' + start_line: 13 + end_line: 15 + matcher: 2-aho + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_645.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + PCRE is distributed under the terms of the "BSD" licence, as + specified below. The documentation for PCRE, supplied in the "doc" + directory, is distributed under the same terms as the software itself. + - score: '99.0' + start_line: 44 + end_line: 44 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-new_898.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: THE "BSD" LICENCE + - score: '100.0' + start_line: 47 + end_line: 72 + matcher: 2-aho + rule_length: 220 + matched_length: 220 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_899.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are met:\n \n * Redistributions\ + \ of source code must retain the above copyright notice,\n this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n\ + \ \n * Neither the name of the University of Cambridge nor the name of Google\n \ + \ Inc. nor the names of their contributors may be used to endorse or\n promote\ + \ products derived from this software without specific prior\n written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n AND\ + \ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT\ + \ SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\ + \ OF\n SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n INTERRUPTION)\ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n CONTRACT, STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS\ + \ SOFTWARE, EVEN IF ADVISED OF THE\n POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre3/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre3/copyright.expected.yml index 163b9c0d0e2..24d4aab3b1d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre3/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre3/copyright.expected.yml @@ -1,5 +1,91 @@ -- -- pcre AND bsd-new -- | +primary_license: +declared_license: +license_expression: pcre AND bsd-new +copyright: | Copyright (c) 1997-2007 University of Cambridge Copyright (c) 2007, Google Inc. +matches: + - score: '11.0' + start_line: 7 + end_line: 7 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: pcre_4.RULE + license_expression: pcre + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: PCRE LICENCE + - score: '100.0' + start_line: 13 + end_line: 15 + matcher: 2-aho + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_645.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + PCRE is distributed under the terms of the "BSD" licence, as + specified below. The documentation for PCRE, supplied in the "doc" + directory, is distributed under the same terms as the software itself. + - score: '99.0' + start_line: 44 + end_line: 44 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-new_898.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: THE "BSD" LICENCE + - score: '100.0' + start_line: 47 + end_line: 72 + matcher: 2-aho + rule_length: 220 + matched_length: 220 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_899.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions are met:\n \n * Redistributions\ + \ of source code must retain the above copyright notice,\n this list of conditions\ + \ and the following disclaimer.\n \n * Redistributions in binary form must reproduce\ + \ the above copyright\n notice, this list of conditions and the following disclaimer\ + \ in the\n documentation and/or other materials provided with the distribution.\n\ + \ \n * Neither the name of the University of Cambridge nor the name of Google\n \ + \ Inc. nor the names of their contributors may be used to endorse or\n promote\ + \ products derived from this software without specific prior\n written permission.\n\ + \ \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n AND\ + \ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES\ + \ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED. IN NO EVENT\ + \ SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\ + \ SPECIAL, EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\ + \ OF\n SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n INTERRUPTION)\ + \ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n CONTRACT, STRICT LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n ARISING IN ANY WAY OUT OF THE USE OF THIS\ + \ SOFTWARE, EVEN IF ADVISED OF THE\n POSSIBILITY OF SUCH DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libseccomp2/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libseccomp2/copyright-detailed.expected.yml index b764a78888a..df40f1edbaa 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libseccomp2/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libseccomp2/copyright-detailed.expected.yml @@ -1,11 +1,13 @@ -- - LGPL-2.1 +primary_license: lgpl-2.1 AND lgpl-3.0-plus +declared_license: - LGPL-2.1 - LGPL-2.1 - LGPL-2.1 - LGPL-2.1 -- (lgpl-2.1 AND lgpl-3.0-plus) AND (lgpl-2.1 AND lgpl-3.0-plus) AND (lgpl-2.1 AND lgpl-3.0-plus) - AND (lgpl-2.1 AND lgpl-3.0-plus) -- | + - LGPL-2.1 +license_expression: (lgpl-2.1 AND lgpl-3.0-plus) AND (lgpl-2.1 AND lgpl-3.0-plus) AND (lgpl-2.1 + AND lgpl-3.0-plus) AND (lgpl-2.1 AND lgpl-3.0-plus) +copyright: | 2012 Paul Moore 2012 Ashley Lai 2012 Corey Bryant @@ -14,3 +16,50 @@ 2013 Vitaly Shukela 2006 Bob Jenkins 2012 Kees Cook +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '80.15' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 136 + matched_length: 109 + match_coverage: '80.15' + rule_relevance: 100 + identifier: lgpl-3.0-plus_96.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the terms [of] [version] [2].[1] of the GNU Lesser General Public License as + published by the Free Software Foundation. + + This library is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License + for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this library; if not, see . + + On Debian systems, the [complete] text of the GNU Lesser General + Public License [can] [be] [found] [in] "/usr/share/common-licenses/LGPL- diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libseccomp2/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libseccomp2/copyright.expected.yml index 677325fbd59..e43133e2b08 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libseccomp2/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libseccomp2/copyright.expected.yml @@ -1,6 +1,8 @@ -- - LGPL-2.1 -- lgpl-2.1 AND lgpl-3.0-plus -- | +primary_license: lgpl-2.1 AND lgpl-3.0-plus +declared_license: + - LGPL-2.1 +license_expression: lgpl-2.1 AND lgpl-3.0-plus +copyright: | 2012 Paul Moore 2012 Ashley Lai 2012 Corey Bryant @@ -8,3 +10,50 @@ 2012 Eric Paris 2013 Vitaly Shukela 2006 Bob Jenkins +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '80.15' + start_line: 1 + end_line: 14 + matcher: 3-seq + rule_length: 136 + matched_length: 109 + match_coverage: '80.15' + rule_relevance: 100 + identifier: lgpl-3.0-plus_96.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the terms [of] [version] [2].[1] of the GNU Lesser General Public License as + published by the Free Software Foundation. + + This library is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License + for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this library; if not, see . + + On Debian systems, the [complete] text of the GNU Lesser General + Public License [can] [be] [found] [in] "/usr/share/common-licenses/LGPL- diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libselinux1/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libselinux1/copyright-detailed.expected.yml index b8694ae8331..71e10437272 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libselinux1/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libselinux1/copyright-detailed.expected.yml @@ -1,5 +1,96 @@ -- -- selinux-nsa-declaration-1.0 AND gpl-2.0 AND lgpl-2.1-plus -- | +primary_license: +declared_license: +license_expression: selinux-nsa-declaration-1.0 AND gpl-2.0 AND lgpl-2.1-plus AND gpl-2.0 +copyright: | Copyright 2004 Red Hat, Inc., James Morris (c) 2005, 2006, Manoj Srivastava +matches: + - score: '100.0' + start_line: 7 + end_line: 27 + matcher: 2-aho + rule_length: 153 + matched_length: 153 + match_coverage: '100.0' + rule_relevance: 100 + identifier: selinux-nsa-declaration-1.0.LICENSE + license_expression: selinux-nsa-declaration-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library (libselinux) is public domain software, i.e. not copyrighted.\n\ + \ \n Warranty Exclusion\n ------------------\n You agree that this software is a\n non-commercially\ + \ developed program that may contain \"bugs\" (as that\n term is used in the industry)\ + \ and that it may not function as intended.\n The software is licensed \"as is\". NSA\ + \ makes no, and hereby expressly\n disclaims all, warranties, express, implied, statutory,\ + \ or otherwise\n with respect to the software, including noninfringement and the implied\n\ + \ warranties of merchantability and fitness for a particular purpose.\n \n Limitation\ + \ of Liability\n -----------------------\n In no event will NSA be liable for any damages,\ + \ including loss of data,\n lost profits, cost of cover, or other special, incidental,\n\ + \ consequential, direct or indirect damages arising from the software or\n the use thereof,\ + \ however caused and on any theory of liability. This\n limitation will apply even if\ + \ NSA has been advised of the possibility\n of such damage. You acknowledge that this\ + \ is a reasonable allocation of\n risk." + - score: '100.0' + start_line: 32 + end_line: 33 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_929.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + distributed underthe terms of the GNU General Public License, + version 2. + - score: '100.0' + start_line: 38 + end_line: 50 + matcher: 2-aho + rule_length: 92 + matched_length: 92 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_201.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "distributed under\n the terms of the GNU Lesser General Public License as\ + \ published by the\n Free Software Foundation; either version 2.1 of the License, or (at\n\ + \ your option) any later version.\n \n You should have received a copy of the GNU Lesser\ + \ General Public\n License along with the GNU C Library; if not, write to\n Free\ + \ Software Foundation, Inc., 51 Franklin St, Fifth Floor,\n Boston, MA 02110-1301,\ + \ USA.\n \n \n On Debian systems, the complete text of the GNU Library\n General Public\ + \ License can be found in `/usr/share/common-licenses/LGPL-2.1'." + - score: '100.0' + start_line: 56 + end_line: 65 + matcher: 2-aho + rule_length: 78 + matched_length: 78 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_930.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "distributed under the terms of the GNU\n General Public License, version\ + \ 2.\n \n On Debian GNU/Linux systems, the complete text of the GNU General\n Public License\ + \ can be found in `/usr/share/common-licenses/GPL-2'.\n \n A copy of the GNU General\ + \ Public License is also available at\n .\ + \ You may also obtain\n it by writing to the Free Software Foundation, Inc., 51 Franklin\n\ + \ St, Fifth Floor, Boston, MA 02110-1301, USA." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libselinux1/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libselinux1/copyright.expected.yml index b8694ae8331..9bc4aab28b2 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libselinux1/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libselinux1/copyright.expected.yml @@ -1,5 +1,96 @@ -- -- selinux-nsa-declaration-1.0 AND gpl-2.0 AND lgpl-2.1-plus -- | +primary_license: +declared_license: +license_expression: selinux-nsa-declaration-1.0 AND gpl-2.0 AND lgpl-2.1-plus +copyright: | Copyright 2004 Red Hat, Inc., James Morris (c) 2005, 2006, Manoj Srivastava +matches: + - score: '100.0' + start_line: 7 + end_line: 27 + matcher: 2-aho + rule_length: 153 + matched_length: 153 + match_coverage: '100.0' + rule_relevance: 100 + identifier: selinux-nsa-declaration-1.0.LICENSE + license_expression: selinux-nsa-declaration-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library (libselinux) is public domain software, i.e. not copyrighted.\n\ + \ \n Warranty Exclusion\n ------------------\n You agree that this software is a\n non-commercially\ + \ developed program that may contain \"bugs\" (as that\n term is used in the industry)\ + \ and that it may not function as intended.\n The software is licensed \"as is\". NSA\ + \ makes no, and hereby expressly\n disclaims all, warranties, express, implied, statutory,\ + \ or otherwise\n with respect to the software, including noninfringement and the implied\n\ + \ warranties of merchantability and fitness for a particular purpose.\n \n Limitation\ + \ of Liability\n -----------------------\n In no event will NSA be liable for any damages,\ + \ including loss of data,\n lost profits, cost of cover, or other special, incidental,\n\ + \ consequential, direct or indirect damages arising from the software or\n the use thereof,\ + \ however caused and on any theory of liability. This\n limitation will apply even if\ + \ NSA has been advised of the possibility\n of such damage. You acknowledge that this\ + \ is a reasonable allocation of\n risk." + - score: '100.0' + start_line: 32 + end_line: 33 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_929.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + distributed underthe terms of the GNU General Public License, + version 2. + - score: '100.0' + start_line: 38 + end_line: 50 + matcher: 2-aho + rule_length: 92 + matched_length: 92 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_201.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "distributed under\n the terms of the GNU Lesser General Public License as\ + \ published by the\n Free Software Foundation; either version 2.1 of the License, or (at\n\ + \ your option) any later version.\n \n You should have received a copy of the GNU Lesser\ + \ General Public\n License along with the GNU C Library; if not, write to\n Free\ + \ Software Foundation, Inc., 51 Franklin St, Fifth Floor,\n Boston, MA 02110-1301,\ + \ USA.\n \n \n On Debian systems, the complete text of the GNU Library\n General Public\ + \ License can be found in `/usr/share/common-licenses/LGPL-2.1'." + - score: '100.0' + start_line: 56 + end_line: 65 + matcher: 2-aho + rule_length: 78 + matched_length: 78 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_930.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "distributed under the terms of the GNU\n General Public License, version\ + \ 2.\n \n On Debian GNU/Linux systems, the complete text of the GNU General\n Public License\ + \ can be found in `/usr/share/common-licenses/GPL-2'.\n \n A copy of the GNU General\ + \ Public License is also available at\n .\ + \ You may also obtain\n it by writing to the Free Software Foundation, Inc., 51 Franklin\n\ + \ St, Fifth Floor, Boston, MA 02110-1301, USA." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsemanage-common/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsemanage-common/copyright-detailed.expected.yml index 675def8d1d3..f5233e92da1 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsemanage-common/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsemanage-common/copyright-detailed.expected.yml @@ -1,6 +1,55 @@ -- -- lgpl-2.1-plus AND gpl-2.0 AND gpl-1.0-plus AND lgpl-2.0-plus AND other-copyleft -- | +primary_license: +declared_license: +license_expression: lgpl-2.1-plus AND gpl-2.0 +copyright: | Copyright (c) 2004-2007 Tresys Technology, LLC Copyright (c) 2005 Red Hat, Inc. (c) 2005-2009, Manoj Srivastava +matches: + - score: '98.58' + start_line: 7 + end_line: 22 + matcher: 3-seq + rule_length: 141 + matched_length: 139 + match_coverage: '98.58' + rule_relevance: 100 + identifier: lgpl-2.1-plus_298.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details.\n \n You should have received a copy of the GNU Lesser General\ + \ Public\n License along with this library; if not, write to the Free Software\n \ + \ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-[1]\n \n On Debian\ + \ GNU/Linux systems, the complete text of the Lesser GNU General\n Public License can\ + \ be found in `/usr/share/common-licenses/LGPL'." + - score: '100.0' + start_line: 27 + end_line: 36 + matcher: 2-aho + rule_length: 77 + matched_length: 77 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1123.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "distributed under the terms of the GNU\n General Public License, version\ + \ 2.\n \n On Debian GNU/Linux systems, the complete text of the GNU General\n Public License\ + \ can be found in `/usr/share/common-licenses/GPL'.\n \n A copy of the GNU General\ + \ Public License is also available at\n .\ + \ You may also obtain\n it by writing to the Free Software Foundation, Inc., 51 Franklin\n\ + \ St, Fifth Floor, Boston, MA 02110-1301, USA." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsemanage-common/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsemanage-common/copyright.expected.yml index 675def8d1d3..f5233e92da1 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsemanage-common/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsemanage-common/copyright.expected.yml @@ -1,6 +1,55 @@ -- -- lgpl-2.1-plus AND gpl-2.0 AND gpl-1.0-plus AND lgpl-2.0-plus AND other-copyleft -- | +primary_license: +declared_license: +license_expression: lgpl-2.1-plus AND gpl-2.0 +copyright: | Copyright (c) 2004-2007 Tresys Technology, LLC Copyright (c) 2005 Red Hat, Inc. (c) 2005-2009, Manoj Srivastava +matches: + - score: '98.58' + start_line: 7 + end_line: 22 + matcher: 3-seq + rule_length: 141 + matched_length: 139 + match_coverage: '98.58' + rule_relevance: 100 + identifier: lgpl-2.1-plus_298.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details.\n \n You should have received a copy of the GNU Lesser General\ + \ Public\n License along with this library; if not, write to the Free Software\n \ + \ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-[1]\n \n On Debian\ + \ GNU/Linux systems, the complete text of the Lesser GNU General\n Public License can\ + \ be found in `/usr/share/common-licenses/LGPL'." + - score: '100.0' + start_line: 27 + end_line: 36 + matcher: 2-aho + rule_length: 77 + matched_length: 77 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1123.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "distributed under the terms of the GNU\n General Public License, version\ + \ 2.\n \n On Debian GNU/Linux systems, the complete text of the GNU General\n Public License\ + \ can be found in `/usr/share/common-licenses/GPL'.\n \n A copy of the GNU General\ + \ Public License is also available at\n .\ + \ You may also obtain\n it by writing to the Free Software Foundation, Inc., 51 Franklin\n\ + \ St, Fifth Floor, Boston, MA 02110-1301, USA." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsepol1/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsepol1/copyright-detailed.expected.yml index 60ed54591d3..503456f978d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsepol1/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsepol1/copyright-detailed.expected.yml @@ -1,8 +1,57 @@ -- -- lgpl-2.1-plus AND gpl-2.0 AND gpl-1.0-plus AND lgpl-2.0-plus AND other-copyleft -- | +primary_license: +declared_license: +license_expression: lgpl-2.1-plus AND gpl-2.0 +copyright: | Copyright (c) 2003, 2004 Stephen Smalley Copyright (c) 2003-2007 Red Hat, Inc. Copyright (c) 2004, 2005 Trusted Computer Solutions, Inc. Copyright (c) 2003-2008 Tresys Technology, LLC (c) 2005-2008, Manoj Srivastava +matches: + - score: '100.0' + start_line: 16 + end_line: 31 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_298.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details.\n \n You should have received a copy of the GNU Lesser General\ + \ Public\n License along with this library; if not, write to the Free Software\n \ + \ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n \n On\ + \ Debian GNU/Linux systems, the complete text of the Lesser GNU General\n Public License\ + \ can be found in `/usr/share/common-licenses/LGPL'." + - score: '100.0' + start_line: 36 + end_line: 46 + matcher: 2-aho + rule_length: 77 + matched_length: 77 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1123.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "distributed under the terms of the GNU\n General Public License, version\ + \ 2.\n \n \n On Debian GNU/Linux systems, the complete text of the GNU General\n Public\ + \ License can be found in `/usr/share/common-licenses/GPL'.\n \n A copy of the GNU\ + \ General Public License is also available at\n .\ + \ You may also obtain\n it by writing to the Free Software Foundation, Inc., 51 Franklin\n\ + \ St, Fifth Floor, Boston, MA 02110-1301 USA" diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsepol1/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsepol1/copyright.expected.yml index 60ed54591d3..503456f978d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsepol1/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsepol1/copyright.expected.yml @@ -1,8 +1,57 @@ -- -- lgpl-2.1-plus AND gpl-2.0 AND gpl-1.0-plus AND lgpl-2.0-plus AND other-copyleft -- | +primary_license: +declared_license: +license_expression: lgpl-2.1-plus AND gpl-2.0 +copyright: | Copyright (c) 2003, 2004 Stephen Smalley Copyright (c) 2003-2007 Red Hat, Inc. Copyright (c) 2004, 2005 Trusted Computer Solutions, Inc. Copyright (c) 2003-2008 Tresys Technology, LLC (c) 2005-2008, Manoj Srivastava +matches: + - score: '100.0' + start_line: 16 + end_line: 31 + matcher: 2-aho + rule_length: 141 + matched_length: 141 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_298.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This library is free software; you can redistribute it and/or\n modify\ + \ it under the terms of the GNU Lesser General Public\n License as published by the\ + \ Free Software Foundation; either\n version 2.1 of the License, or (at your option)\ + \ any later version.\n \n This library is distributed in the hope that it will be\ + \ useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY\ + \ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License\ + \ for more details.\n \n You should have received a copy of the GNU Lesser General\ + \ Public\n License along with this library; if not, write to the Free Software\n \ + \ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n \n On\ + \ Debian GNU/Linux systems, the complete text of the Lesser GNU General\n Public License\ + \ can be found in `/usr/share/common-licenses/LGPL'." + - score: '100.0' + start_line: 36 + end_line: 46 + matcher: 2-aho + rule_length: 77 + matched_length: 77 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1123.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "distributed under the terms of the GNU\n General Public License, version\ + \ 2.\n \n \n On Debian GNU/Linux systems, the complete text of the GNU General\n Public\ + \ License can be found in `/usr/share/common-licenses/GPL'.\n \n A copy of the GNU\ + \ General Public License is also available at\n .\ + \ You may also obtain\n it by writing to the Free Software Foundation, Inc., 51 Franklin\n\ + \ St, Fifth Floor, Boston, MA 02110-1301 USA" diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsmartcols1/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsmartcols1/copyright-detailed.expected.yml index 9bc35e81ba5..3da8450c864 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsmartcols1/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsmartcols1/copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2 - GPL-2 - GPL-2 @@ -42,23 +44,20 @@ - LGPL-2.1+ - LGPL-3+ - MIT -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 - AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND - gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 - AND gpl-2.0 AND gpl-2.0) AND public-domain AND bsd-original-uc AND mit AND mit AND bsd-no-disclaimer - AND bsd-no-disclaimer AND bsd-no-disclaimer AND bsd-new AND bsd-new AND (lgpl-2.0-plus AND - lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0-plus - AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus - AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 - AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (gpl-3.0-plus - AND gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) - AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND - lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0) AND (lgpl-2.0-plus - AND lgpl-2.1-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) - AND (lgpl-3.0-plus AND lgpl-3.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND - lgpl-2.1) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND - gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) -- | +license_expression: (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND + gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 + AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND public-domain AND bsd-original-uc + AND mit AND mit AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new AND bsd-new + AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND + lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.1-plus AND + lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.0-plus + AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND + (lgpl-3.0-plus AND lgpl-3.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (gpl-2.0-plus + AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) +copyright: | Michal Luscon 1986 Gary S. Brown 1990 Gordon Irlam (gordoni@cs.ua.oz.au) @@ -251,3 +250,576 @@ Veeven Vikram Vincent Yoppy Hidayanto +matches: + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_28.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No copyright is claimed. This code is in the public domain; do with + it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_264.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_405.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1) Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2) Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + 3) Neither the name of the [ORGANIZATION] nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: lgpl-2.1-plus_268.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be redistributed under the terms of the + GNU Lesser General Public License. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in ‘/usr/share/common-licenses/LGPL’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '97.69' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 127 + match_coverage: '97.69' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsmartcols1/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsmartcols1/copyright.expected.yml index 11099084090..4fa8dffb131 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsmartcols1/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsmartcols1/copyright.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2 - public-domain - BSD-4-clause @@ -10,12 +12,10 @@ - GPL-3+ - LGPL - LGPL-3+ -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 - AND gpl-2.0) AND public-domain AND bsd-original-uc AND mit AND bsd-no-disclaimer AND bsd-new - AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND - lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND - (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0) AND (lgpl-3.0-plus AND lgpl-3.0-plus) -- | +license_expression: (gpl-2.0-plus AND gpl-2.0) AND gpl-2.0 AND public-domain AND bsd-original-uc + AND mit AND bsd-simplified AND bsd-new AND (lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus + AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.0-plus AND lgpl-2.1-plus) AND lgpl-3.0-plus +copyright: | Michal Luscon 1986 Gary S. Brown 1990 Gordon Irlam (gordoni@cs.ua.oz.au) @@ -108,7 +108,6 @@ 2013 Eric Sandeen 2013 Rolf Fokkens 2013 Zeeshan Ali (Khattak) - *unknown* 2001 Andreas Dilger 2008-2012 Karel Zak 2013, Red Hat, Inc. @@ -196,3 +195,576 @@ Veeven Vikram Vincent Yoppy Hidayanto +matches: + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_28.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No copyright is claimed. This code is in the public domain; do with + it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_264.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_405.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1) Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2) Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + 3) Neither the name of the [ORGANIZATION] nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: lgpl-2.1-plus_268.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be redistributed under the terms of the + GNU Lesser General Public License. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in ‘/usr/share/common-licenses/LGPL’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '97.69' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 127 + match_coverage: '97.69' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libss2/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libss2/copyright-detailed.expected.yml index 7f3c0f6b77f..fce1ae3319d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libss2/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libss2/copyright-detailed.expected.yml @@ -1,4 +1,33 @@ -- -- mit-old-style-no-advert -- Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts Institute - of Technology +primary_license: +declared_license: +license_expression: mit-old-style-no-advert +copyright: Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts + Institute of Technology +matches: + - score: '100.0' + start_line: 15 + end_line: 25 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_5.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software + and its documentation for any purpose and without fee is + hereby granted, provided that the above copyright notice + appear in all copies and that both that copyright notice and + this permission notice appear in supporting documentation, + and that the names of M.I.T. and the M.I.T. S.I.P.B. not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + M.I.T. and the M.I.T. S.I.P.B. make no representations about + the suitability of this software for any purpose. It is + provided "as is" without express or implied warranty. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libss2/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libss2/copyright.expected.yml index 7f3c0f6b77f..fce1ae3319d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libss2/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libss2/copyright.expected.yml @@ -1,4 +1,33 @@ -- -- mit-old-style-no-advert -- Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts Institute - of Technology +primary_license: +declared_license: +license_expression: mit-old-style-no-advert +copyright: Copyright 1987, 1988 by the Student Information Processing Board of the Massachusetts + Institute of Technology +matches: + - score: '100.0' + start_line: 15 + end_line: 25 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit-old-style-no-advert_5.RULE + license_expression: mit-old-style-no-advert + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software + and its documentation for any purpose and without fee is + hereby granted, provided that the above copyright notice + appear in all copies and that both that copyright notice and + this permission notice appear in supporting documentation, + and that the names of M.I.T. and the M.I.T. S.I.P.B. not be + used in advertising or publicity pertaining to distribution + of the software without specific, written prior permission. + M.I.T. and the M.I.T. S.I.P.B. make no representations about + the suitability of this software for any purpose. It is + provided "as is" without express or implied warranty. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libssl1.1/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libssl1.1/copyright-detailed.expected.yml index 009fbcd0507..4eb0afd8d5e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libssl1.1/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libssl1.1/copyright-detailed.expected.yml @@ -1,7 +1,99 @@ -- -- openssl-ssleay -- | +primary_license: +declared_license: +license_expression: openssl-ssleay +copyright: | Copyright (c) 1998-2004 The OpenSSL Project Copyright (c) 1995-1998 Eric A. Young, Tim J. Hudson Copyright (c) 1998-2004 The OpenSSL Project Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + holder is Tim Hudson (tjh@cryptsoft.com) +matches: + - score: '99.88' + start_line: 10 + end_line: 133 + matcher: 3-seq + rule_length: 869 + matched_length: 868 + match_coverage: '99.88' + rule_relevance: 100 + identifier: openssl-ssleay_37.RULE + license_expression: openssl-ssleay + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "LICENSE ISSUES\n ==============\n \n The OpenSSL toolkit stays under\ + \ a dual license, i.e. both the conditions of\n the OpenSSL License and the original\ + \ SSLeay license apply to the toolkit.\n See below for the actual license texts. Actually\ + \ both licenses are BSD-style\n Open Source licenses. In case of any license issues\ + \ related to OpenSSL\n please contact openssl-core@openssl.org.\n \n OpenSSL License\n\ + \ ---------------\n \n /* ====================================================================\n\ + \ * Copyright (c) 1998-[2004] The OpenSSL Project. All rights reserved.\n *\n * Redistribution\ + \ and use in source and binary forms, with or without\n * modification, are permitted\ + \ provided that the following conditions\n * are met:\n *\n * 1. Redistributions of\ + \ source code must retain the above copyright\n * notice, this list of conditions\ + \ and the following disclaimer. \n *\n * 2. Redistributions in binary form must reproduce\ + \ the above copyright\n * notice, this list of conditions and the following disclaimer\ + \ in\n * the documentation and/or other materials provided with the\n * distribution.\n\ + \ *\n * 3. All advertising materials mentioning features or use of this\n * software\ + \ must display the following acknowledgment:\n * \"This product includes software\ + \ developed by the OpenSSL Project\n * for use in the OpenSSL Toolkit. (http://www.openssl.org/)\"\ + \n *\n * 4. The names \"OpenSSL Toolkit\" and \"OpenSSL Project\" must not be used to\n\ + \ * endorse or promote products derived from this software without\n * prior written\ + \ permission. For written permission, please contact\n * openssl-core@openssl.org.\n\ + \ *\n * 5. Products derived from this software may not be called \"OpenSSL\"\n * \ + \ nor may \"OpenSSL\" appear in their names without prior written\n * permission\ + \ of the OpenSSL Project.\n *\n * 6. Redistributions of any form whatsoever must retain\ + \ the following\n * acknowledgment:\n * \"This product includes software developed\ + \ by the OpenSSL Project\n * for use in the OpenSSL Toolkit (http://www.openssl.org/)\"\ + \n *\n * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY\n * EXPRESSED\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF\ + \ MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n * PURPOSE ARE DISCLAIMED. IN NO EVENT\ + \ SHALL THE OpenSSL PROJECT OR\n * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\ + \ INCIDENTAL,\n * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n * NOT\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n * LOSS OF USE, DATA, OR\ + \ PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n * OF THE POSSIBILITY\ + \ OF SUCH DAMAGE.\n * ====================================================================\n\ + \ *\n * This product includes cryptographic software written by Eric Young\n * (eay@cryptsoft.com).\ + \ This product includes software written by Tim\n * Hudson (tjh@cryptsoft.com).\n *\n\ + \ */\n \n Original SSLeay License\n -----------------------\n \n /* Copyright (C) 1995-1998\ + \ Eric Young (eay@cryptsoft.com)\n * All rights reserved.\n *\n * This package is an\ + \ SSL implementation written\n * by Eric Young (eay@cryptsoft.com).\n * The implementation\ + \ was written so as to conform with Netscapes SSL.\n * \n * This library is free for\ + \ commercial and non-commercial use as long as\n * the following conditions are aheared\ + \ to. The following conditions\n * apply to all code found in this distribution, be\ + \ it the RC4, RSA,\n * lhash, DES, etc., code; not just the SSL code. The SSL documentation\n\ + \ * included with this distribution is covered by the same copyright terms\n * except\ + \ that the holder is Tim Hudson (tjh@cryptsoft.com).\n * \n * Copyright remains Eric\ + \ Young's, and as such any Copyright notices in\n * the code are not to be removed.\n\ + \ * If this package is used in a product, Eric Young should be given attribution\n *\ + \ as the author of the parts of the library used.\n * This can be in the form of a textual\ + \ message at program startup or\n * in documentation (online or textual) provided with\ + \ the package.\n * \n * Redistribution and use in source and binary forms, with or without\n\ + \ * modification, are permitted provided that the following conditions\n * are met:\n\ + \ * 1. Redistributions of source code must retain the copyright\n * notice, this\ + \ list of conditions and the following disclaimer.\n * 2. Redistributions in binary form\ + \ must reproduce the above copyright\n * notice, this list of conditions and the following\ + \ disclaimer in the\n * documentation and/or other materials provided with the distribution.\n\ + \ * 3. All advertising materials mentioning features or use of this software\n * \ + \ must display the following acknowledgement:\n * \"This product includes cryptographic\ + \ software written by\n * Eric Young (eay@cryptsoft.com)\"\n * The word 'cryptographic'\ + \ can be left out if the rouines from the library\n * being used are not cryptographic\ + \ related :-).\n * 4. If you include any Windows specific code (or a derivative thereof)\ + \ from \n * the apps directory (application code) you must include an acknowledgement:\n\ + \ * \"This product includes software written by Tim Hudson (tjh@cryptsoft.com)\"\n\ + \ * \n * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n * \n * The\ + \ licence and distribution terms for any publically available version or\n * derivative\ + \ of this code cannot be changed. i.e. this code cannot simply be\n * copied and put\ + \ under another distribution licence\n * [including the GNU Public Licence.]" diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libssl1.1/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libssl1.1/copyright.expected.yml index 009fbcd0507..4eb0afd8d5e 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libssl1.1/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libssl1.1/copyright.expected.yml @@ -1,7 +1,99 @@ -- -- openssl-ssleay -- | +primary_license: +declared_license: +license_expression: openssl-ssleay +copyright: | Copyright (c) 1998-2004 The OpenSSL Project Copyright (c) 1995-1998 Eric A. Young, Tim J. Hudson Copyright (c) 1998-2004 The OpenSSL Project Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) + holder is Tim Hudson (tjh@cryptsoft.com) +matches: + - score: '99.88' + start_line: 10 + end_line: 133 + matcher: 3-seq + rule_length: 869 + matched_length: 868 + match_coverage: '99.88' + rule_relevance: 100 + identifier: openssl-ssleay_37.RULE + license_expression: openssl-ssleay + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "LICENSE ISSUES\n ==============\n \n The OpenSSL toolkit stays under\ + \ a dual license, i.e. both the conditions of\n the OpenSSL License and the original\ + \ SSLeay license apply to the toolkit.\n See below for the actual license texts. Actually\ + \ both licenses are BSD-style\n Open Source licenses. In case of any license issues\ + \ related to OpenSSL\n please contact openssl-core@openssl.org.\n \n OpenSSL License\n\ + \ ---------------\n \n /* ====================================================================\n\ + \ * Copyright (c) 1998-[2004] The OpenSSL Project. All rights reserved.\n *\n * Redistribution\ + \ and use in source and binary forms, with or without\n * modification, are permitted\ + \ provided that the following conditions\n * are met:\n *\n * 1. Redistributions of\ + \ source code must retain the above copyright\n * notice, this list of conditions\ + \ and the following disclaimer. \n *\n * 2. Redistributions in binary form must reproduce\ + \ the above copyright\n * notice, this list of conditions and the following disclaimer\ + \ in\n * the documentation and/or other materials provided with the\n * distribution.\n\ + \ *\n * 3. All advertising materials mentioning features or use of this\n * software\ + \ must display the following acknowledgment:\n * \"This product includes software\ + \ developed by the OpenSSL Project\n * for use in the OpenSSL Toolkit. (http://www.openssl.org/)\"\ + \n *\n * 4. The names \"OpenSSL Toolkit\" and \"OpenSSL Project\" must not be used to\n\ + \ * endorse or promote products derived from this software without\n * prior written\ + \ permission. For written permission, please contact\n * openssl-core@openssl.org.\n\ + \ *\n * 5. Products derived from this software may not be called \"OpenSSL\"\n * \ + \ nor may \"OpenSSL\" appear in their names without prior written\n * permission\ + \ of the OpenSSL Project.\n *\n * 6. Redistributions of any form whatsoever must retain\ + \ the following\n * acknowledgment:\n * \"This product includes software developed\ + \ by the OpenSSL Project\n * for use in the OpenSSL Toolkit (http://www.openssl.org/)\"\ + \n *\n * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY\n * EXPRESSED\ + \ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF\ + \ MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n * PURPOSE ARE DISCLAIMED. IN NO EVENT\ + \ SHALL THE OpenSSL PROJECT OR\n * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\ + \ INCIDENTAL,\n * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n * NOT\ + \ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n * LOSS OF USE, DATA, OR\ + \ PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\ + \ WHETHER IN CONTRACT,\n * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\ + \ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n * OF THE POSSIBILITY\ + \ OF SUCH DAMAGE.\n * ====================================================================\n\ + \ *\n * This product includes cryptographic software written by Eric Young\n * (eay@cryptsoft.com).\ + \ This product includes software written by Tim\n * Hudson (tjh@cryptsoft.com).\n *\n\ + \ */\n \n Original SSLeay License\n -----------------------\n \n /* Copyright (C) 1995-1998\ + \ Eric Young (eay@cryptsoft.com)\n * All rights reserved.\n *\n * This package is an\ + \ SSL implementation written\n * by Eric Young (eay@cryptsoft.com).\n * The implementation\ + \ was written so as to conform with Netscapes SSL.\n * \n * This library is free for\ + \ commercial and non-commercial use as long as\n * the following conditions are aheared\ + \ to. The following conditions\n * apply to all code found in this distribution, be\ + \ it the RC4, RSA,\n * lhash, DES, etc., code; not just the SSL code. The SSL documentation\n\ + \ * included with this distribution is covered by the same copyright terms\n * except\ + \ that the holder is Tim Hudson (tjh@cryptsoft.com).\n * \n * Copyright remains Eric\ + \ Young's, and as such any Copyright notices in\n * the code are not to be removed.\n\ + \ * If this package is used in a product, Eric Young should be given attribution\n *\ + \ as the author of the parts of the library used.\n * This can be in the form of a textual\ + \ message at program startup or\n * in documentation (online or textual) provided with\ + \ the package.\n * \n * Redistribution and use in source and binary forms, with or without\n\ + \ * modification, are permitted provided that the following conditions\n * are met:\n\ + \ * 1. Redistributions of source code must retain the copyright\n * notice, this\ + \ list of conditions and the following disclaimer.\n * 2. Redistributions in binary form\ + \ must reproduce the above copyright\n * notice, this list of conditions and the following\ + \ disclaimer in the\n * documentation and/or other materials provided with the distribution.\n\ + \ * 3. All advertising materials mentioning features or use of this software\n * \ + \ must display the following acknowledgement:\n * \"This product includes cryptographic\ + \ software written by\n * Eric Young (eay@cryptsoft.com)\"\n * The word 'cryptographic'\ + \ can be left out if the rouines from the library\n * being used are not cryptographic\ + \ related :-).\n * 4. If you include any Windows specific code (or a derivative thereof)\ + \ from \n * the apps directory (application code) you must include an acknowledgement:\n\ + \ * \"This product includes software written by Tim Hudson (tjh@cryptsoft.com)\"\n\ + \ * \n * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR\ + \ OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\ + \ OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\ + \ GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n \ + \ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY,\ + \ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF\ + \ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n * \n * The\ + \ licence and distribution terms for any publically available version or\n * derivative\ + \ of this code cannot be changed. i.e. this code cannot simply be\n * copied and put\ + \ under another distribution licence\n * [including the GNU Public Licence.]" diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsystemd0/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsystemd0/copyright-detailed.expected.yml index bdf8c5e308c..36981b9bbd3 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsystemd0/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsystemd0/copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - LGPL-2.1+ +primary_license: lgpl-2.1-plus AND lgpl-2.1 +declared_license: + - LGPL-2.1+ - CC0-1.0 - GPL-2 - GPL-2 with Linux-syscall-note exception @@ -13,12 +15,12 @@ - GPL-2+ - LGPL-2.1+ - CC0-1.0 -- (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (cc0-1.0 AND cc0-1.0 AND cc0-1.0) - AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (linux-syscall-exception-gpl AND gpl-2.0 - AND gpl-2.0 AND gpl-2.0) AND mit AND public-domain-disclaimer AND (gpl-2.0-plus AND gpl-2.0-plus) - AND (gpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND - lgpl-2.1) -- | +license_expression: (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (cc0-1.0 AND cc0-1.0 + AND cc0-1.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (linux-syscall-exception-gpl + AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND mit AND public-domain-disclaimer AND (gpl-2.0-plus + AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) +copyright: | 2008-2015 Kay Sievers 2010-2015 Lennart Poettering 2012-2015 Zbigniew Jędrzejewski-Szmek @@ -93,3 +95,390 @@ 2010-2013 Tollef Fog Heen 2013-2018 Michael Biebl 2013 Michael Stapelberg +matches: + - score: '94.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 94 + identifier: public-domain-disclaimer_7.RULE + license_expression: public-domain-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You can use this free for any purpose. It's in the public domain. It has no + warranty. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_95.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2` + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: linux-syscall-exception-gpl.LICENSE + license_expression: linux-syscall-exception-gpl + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + NOTE! This copyright does *not* cover user programs that use kernel services + by normal system calls - this is merely considered normal use of the kernel, + and does *not* fall under the heading of "derived work". Also note that the + GPL below is copyrighted by the Free Software Foundation, but the instance of + code that it refers to (the Linux kernel) is copyrighted by me and others who + actually wrote it. + + Also note that the only valid version of the GPL as far as the kernel is + concerned is _this_ particular version of the license (ie v2, not v2.2 or v3.x + or whatever), unless explicitly otherwise stated. + + Linus Torvalds + - score: '100.0' + start_line: 14 + end_line: 25 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_95.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 27 + end_line: 28 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 29 + end_line: 29 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2` + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 134 + matched_length: 134 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_737.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in ‘/usr/share/common-licenses/GPL-2’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_27.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To the extent possible under law, the author(s) have dedicated all copyright + and related and neighboring rights to this software to the public domain + worldwide. This software is distributed without any warranty. + + You should have received a copy of the CC0 Public Domain Dedication along with + this software. If not, see . + - score: '100.0' + start_line: 8 + end_line: 9 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_101.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the CC0 1.0 Universal license can be + found in ‘/usr/share/common-licenses/CC0-1.0’. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsystemd0/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsystemd0/copyright.expected.yml index b1ecc0d5e58..1b92976af0d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsystemd0/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libsystemd0/copyright.expected.yml @@ -1,14 +1,15 @@ -- - LGPL-2.1+ +primary_license: lgpl-2.1-plus AND lgpl-2.1 +declared_license: + - LGPL-2.1+ - CC0-1.0 - GPL-2 - GPL-2 with Linux-syscall-note exception - Expat - public-domain - GPL-2+ -- (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (cc0-1.0 AND cc0-1.0 AND cc0-1.0) - AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (linux-syscall-exception-gpl AND gpl-2.0 - AND gpl-2.0 AND gpl-2.0) AND mit AND public-domain-disclaimer AND (gpl-2.0-plus AND gpl-2.0-plus) -- | +license_expression: (lgpl-2.1-plus AND lgpl-2.1) AND cc0-1.0 AND gpl-2.0 AND (linux-syscall-exception-gpl + AND gpl-2.0) AND mit AND public-domain-disclaimer AND gpl-2.0-plus +copyright: | 2008-2015 Kay Sievers 2010-2015 Lennart Poettering 2012-2015 Zbigniew Jędrzejewski-Szmek @@ -59,7 +60,6 @@ 1999-2000 Maxim Krasnyansky 2015-2019 Jason A. Donenfeld 2012 Josh Triplett - none 2003-2012 Kay Sievers 2003-2004 Greg Kroah-Hartman 2004 Chris Friesen @@ -79,3 +79,390 @@ 2014 Zbigniew Jędrzejewski-Szmek 2014 David Herrmann 2014 Carlos Garnacho +matches: + - score: '94.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 94 + identifier: public-domain-disclaimer_7.RULE + license_expression: public-domain-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You can use this free for any purpose. It's in the public domain. It has no + warranty. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_95.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2` + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: linux-syscall-exception-gpl.LICENSE + license_expression: linux-syscall-exception-gpl + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + NOTE! This copyright does *not* cover user programs that use kernel services + by normal system calls - this is merely considered normal use of the kernel, + and does *not* fall under the heading of "derived work". Also note that the + GPL below is copyrighted by the Free Software Foundation, but the instance of + code that it refers to (the Linux kernel) is copyrighted by me and others who + actually wrote it. + + Also note that the only valid version of the GPL as far as the kernel is + concerned is _this_ particular version of the license (ie v2, not v2.2 or v3.x + or whatever), unless explicitly otherwise stated. + + Linus Torvalds + - score: '100.0' + start_line: 14 + end_line: 25 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_95.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 27 + end_line: 28 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 29 + end_line: 29 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2` + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 134 + matched_length: 134 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_737.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in ‘/usr/share/common-licenses/GPL-2’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_27.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To the extent possible under law, the author(s) have dedicated all copyright + and related and neighboring rights to this software to the public domain + worldwide. This software is distributed without any warranty. + + You should have received a copy of the CC0 Public Domain Dedication along with + this software. If not, see . + - score: '100.0' + start_line: 8 + end_line: 9 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_101.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the CC0 1.0 Universal license can be + found in ‘/usr/share/common-licenses/CC0-1.0’. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtasn1-6/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtasn1-6/copyright-detailed.expected.yml index 0c6ad292011..b913e1d685b 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtasn1-6/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtasn1-6/copyright-detailed.expected.yml @@ -1,7 +1,166 @@ -- -- lgpl-2.1-plus AND gpl-3.0-plus AND lgpl-2.1 AND unknown-license-reference AND gfdl-1.1-plus - AND gfdl-1.3-plus AND gfdl-1.3 -- | +primary_license: +declared_license: +license_expression: lgpl-2.1-plus AND gpl-3.0-plus AND lgpl-2.1-plus AND lgpl-2.1 AND gpl-3.0-plus + AND gfdl-1.1-plus AND gfdl-1.3-plus AND gfdl-1.3 +copyright: | Copyright (c) 2000-2020 Free Software Foundation, Inc. Copyright (c) 2000-2020 Free Software Foundation, Inc. Copyright (c) 2001-2020 Free Software Foundation, Inc. +matches: + - score: '95.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 95 + identifier: lgpl-2.1-plus_70.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPLv2.1+, + - score: '100.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_28.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPLv3+. + - score: '97.2' + start_line: 23 + end_line: 41 + matcher: 3-seq + rule_length: 143 + matched_length: 139 + match_coverage: '97.2' + rule_relevance: 100 + identifier: lgpl-2.1-plus_16.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "library is free software; you can redistribute it\n * and/or modify it under\ + \ the terms of the GNU Lesser General Public\n * License as published by the Free Software\ + \ Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n\ + \ *\n * This library is distributed in the hope that it will be useful, but\n * WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR\ + \ A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n\ + \ *\n * You should have received a copy of the GNU Lesser General Public\n * License\ + \ along with this library; if not, write to the Free Software\n * Foundation, Inc., 51\ + \ Franklin [Street], Fifth Floor, Boston, MA\n * 02110-1301, USA\n */\n \n On Debian\ + \ GNU/Linux systems, the complete text of the GNU Lesser\n General Public License can\ + \ be found in\n `/usr/share/common-licenses/LGPL';" + - score: '61.0' + start_line: 42 + end_line: 42 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 61 + identifier: lgpl-2.1_292.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 50 + end_line: 66 + matcher: 2-aho + rule_length: 128 + matched_length: 128 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_288.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n *\ + \ it under the terms of the GNU General Public License as published by\n * the Free Software\ + \ Foundation, either version 3 of the License, or\n * (at your option) any later version.\n\ + \ *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR\ + \ A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n \ + \ *\n * You should have received a copy of the GNU General Public License\n * along\ + \ with this program. If not, see .\n *\n */\n \n On Debian\ + \ GNU/Linux systems, the complete text of the GNU General Public\n License version 3 can\ + \ be found in /usr/share/common-licenses/GPL-3." + - score: '100.0' + start_line: 69 + end_line: 70 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.1-plus_10.RULE + license_expression: gfdl-1.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Free + Documentation License ( + - score: '100.0' + start_line: 74 + end_line: 79 + matcher: 2-aho + rule_length: 60 + matched_length: 60 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU Free Documentation License, + Version 1.3 or any later version published by the Free Software + Foundation; with no Invariant Sections, no Front-Cover Texts, and no + Back-Cover Texts. A copy of the license is included in the section + entitled "GNU Free Documentation License". + - score: '100.0' + start_line: 82 + end_line: 83 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus_19.RULE + license_expression: gfdl-1.3 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems a copy of the complete text of the GNU FDL 1.3 + can be found in /usr/share/common-licenses/GFDL-1.3. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtasn1-6/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtasn1-6/copyright.expected.yml index 0c6ad292011..efe2b6666fe 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtasn1-6/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtasn1-6/copyright.expected.yml @@ -1,7 +1,166 @@ -- -- lgpl-2.1-plus AND gpl-3.0-plus AND lgpl-2.1 AND unknown-license-reference AND gfdl-1.1-plus - AND gfdl-1.3-plus AND gfdl-1.3 -- | +primary_license: +declared_license: +license_expression: lgpl-2.1-plus AND gpl-3.0-plus AND lgpl-2.1 AND gfdl-1.1-plus AND gfdl-1.3-plus + AND gfdl-1.3 +copyright: | Copyright (c) 2000-2020 Free Software Foundation, Inc. Copyright (c) 2000-2020 Free Software Foundation, Inc. Copyright (c) 2001-2020 Free Software Foundation, Inc. +matches: + - score: '95.0' + start_line: 14 + end_line: 14 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 95 + identifier: lgpl-2.1-plus_70.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: LGPLv2.1+, + - score: '100.0' + start_line: 15 + end_line: 15 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_28.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPLv3+. + - score: '97.2' + start_line: 23 + end_line: 41 + matcher: 3-seq + rule_length: 143 + matched_length: 139 + match_coverage: '97.2' + rule_relevance: 100 + identifier: lgpl-2.1-plus_16.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "library is free software; you can redistribute it\n * and/or modify it under\ + \ the terms of the GNU Lesser General Public\n * License as published by the Free Software\ + \ Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n\ + \ *\n * This library is distributed in the hope that it will be useful, but\n * WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR\ + \ A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n\ + \ *\n * You should have received a copy of the GNU Lesser General Public\n * License\ + \ along with this library; if not, write to the Free Software\n * Foundation, Inc., 51\ + \ Franklin [Street], Fifth Floor, Boston, MA\n * 02110-1301, USA\n */\n \n On Debian\ + \ GNU/Linux systems, the complete text of the GNU Lesser\n General Public License can\ + \ be found in\n `/usr/share/common-licenses/LGPL';" + - score: '61.0' + start_line: 42 + end_line: 42 + matcher: 2-aho + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 61 + identifier: lgpl-2.1_292.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 50 + end_line: 66 + matcher: 2-aho + rule_length: 128 + matched_length: 128 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_288.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software: you can redistribute it and/or modify\n *\ + \ it under the terms of the GNU General Public License as published by\n * the Free Software\ + \ Foundation, either version 3 of the License, or\n * (at your option) any later version.\n\ + \ *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR\ + \ A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n \ + \ *\n * You should have received a copy of the GNU General Public License\n * along\ + \ with this program. If not, see .\n *\n */\n \n On Debian\ + \ GNU/Linux systems, the complete text of the GNU General Public\n License version 3 can\ + \ be found in /usr/share/common-licenses/GPL-3." + - score: '100.0' + start_line: 69 + end_line: 70 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.1-plus_10.RULE + license_expression: gfdl-1.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Free + Documentation License ( + - score: '100.0' + start_line: 74 + end_line: 79 + matcher: 2-aho + rule_length: 60 + matched_length: 60 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU Free Documentation License, + Version 1.3 or any later version published by the Free Software + Foundation; with no Invariant Sections, no Front-Cover Texts, and no + Back-Cover Texts. A copy of the license is included in the section + entitled "GNU Free Documentation License". + - score: '100.0' + start_line: 82 + end_line: 83 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus_19.RULE + license_expression: gfdl-1.3 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems a copy of the complete text of the GNU FDL 1.3 + can be found in /usr/share/common-licenses/GFDL-1.3. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtinfo6/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtinfo6/copyright-detailed.expected.yml index a66520b5829..651298869f0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtinfo6/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtinfo6/copyright-detailed.expected.yml @@ -1,13 +1,131 @@ -- - MIT/X11 +primary_license: x11-fsf +declared_license: + - MIT/X11 - X11 - BSD-3-clause - MIT/X11 - X11 - BSD-3-clause -- x11-fsf AND x11-xconsortium AND bsd-new -- | +license_expression: x11-fsf AND x11-xconsortium AND bsd-new +copyright: | 1998-2017,2018 Free Software Foundation, Inc. 1996-2019,2020 Thomas E. Dickey 2001 Pradeep Padala 1994 X Consortium 1980,1991,1992,1993 The Regents of the University of California +matches: + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: '199' + matched_length: '199' + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-fsf.LICENSE + license_expression: x11-fsf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, distribute with modifications, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR + THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name(s) of the above copyright + holders shall not be used in advertising or otherwise to promote the + sale, use or other dealings in this Software without prior written + authorization. + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 1-hash + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- + TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtinfo6/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtinfo6/copyright.expected.yml index b786d4c0e59..916b5113e0a 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtinfo6/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtinfo6/copyright.expected.yml @@ -1,10 +1,128 @@ -- - MIT/X11 +primary_license: x11-fsf +declared_license: + - MIT/X11 - X11 - BSD-3-clause -- x11-fsf AND x11-xconsortium AND bsd-new -- | +license_expression: x11-fsf AND x11-xconsortium AND bsd-new +copyright: | 1998-2017,2018 Free Software Foundation, Inc. 1996-2019,2020 Thomas E. Dickey 2001 Pradeep Padala 1994 X Consortium 1980,1991,1992,1993 The Regents of the University of California +matches: + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: '199' + matched_length: '199' + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-fsf.LICENSE + license_expression: x11-fsf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, distribute with modifications, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR + THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name(s) of the above copyright + holders shall not be used in advertising or otherwise to promote the + sale, use or other dealings in this Software without prior written + authorization. + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 1-hash + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- + TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtirpc-common/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtirpc-common/copyright-detailed.expected.yml index 4b007488e24..558678a18ff 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtirpc-common/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtirpc-common/copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - BSD-3-Clause +primary_license: bsd-new +declared_license: + - BSD-3-Clause - GPL-2 - BSD-3-Clause - __AUTO_PERMISSIVE__ @@ -39,14 +41,13 @@ - BSD-4-Clause - LGPL-2.1+ - GPL-2 -- bsd-new AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND bsd-new AND unknown-license-reference - AND bsd-simplified AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-original-voices - AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND fsf-ap AND bsd-new AND - bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new AND bsd-new +license_expression: bsd-new AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND bsd-new AND (other-permissive + AND free-unknown) AND bsd-simplified AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-original-voices + AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND fsf-ap AND bsd-new AND bsd-simplified + AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new AND bsd-new - AND bsd-new -- | +copyright: | 2005 Bull S.A 2009 Steinar H. Gunderson 2019 Josue Ortega @@ -90,3 +91,272 @@ 1986-2009 Sun Microsystems, Inc. 2010 Oracle America, Inc. 2009 Sun Microsystems, Inc. +matches: + - score: '20.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 20 + identifier: other-permissive_and_free-unknown_2.RULE + license_expression: other-permissive AND free-unknown + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Autogenerated files with permissive licenses. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap_4.RULE + license_expression: fsf-ap + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. This file is offered as-is, + without warranty of any kind. + - score: '100.0' + start_line: 1 + end_line: 22 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_232.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + - Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + - Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + - Neither the name of Sun Microsystems, Inc. nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '97.93' + start_line: 1 + end_line: 26 + matcher: 3-seq + rule_length: 242 + matched_length: 237 + match_coverage: '97.93' + rule_relevance: 100 + identifier: bsd-original-voices.LICENSE + license_expression: bsd-original-voices + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by Bill Paul. + 4. Neither the name of the author nor the names of any co-contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL Bill Paul OR [CONTRIBUTORS] BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 48 + matched_length: 48 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_177.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is distributed under the terms of the GNU Lesser General + Public License, version 2.1 or later - see the file COPYING.LIB for details. + If you did not receive a copy of the license with this program, please + see to obtain a copy. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public License + Version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtirpc-common/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtirpc-common/copyright.expected.yml index 1affa58a74c..8b5f7439ffd 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtirpc-common/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libtirpc-common/copyright.expected.yml @@ -1,13 +1,15 @@ -- - BSD-3-Clause +primary_license: bsd-new +declared_license: + - BSD-3-Clause - __AUTO_PERMISSIVE__ - BSD-2-Clause - BSD-4-Clause - LGPL-2.1+ - PERMISSIVE - GPL-2 -- bsd-new AND unknown-license-reference AND bsd-simplified AND bsd-original-voices AND (lgpl-2.1-plus - AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND fsf-ap -- | +license_expression: bsd-new AND (other-permissive AND free-unknown) AND bsd-simplified AND bsd-original-voices + AND (lgpl-2.1-plus AND lgpl-2.1) AND fsf-ap +copyright: | 2005 Bull S.A 1984-2009 Sun Microsystems, Inc. 1986-1991 Sun Microsystems Inc. @@ -31,3 +33,272 @@ 2001 Dima Dorfman. 2001 Daniel Eischen . 2003 Niels Provos +matches: + - score: '20.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 20 + identifier: other-permissive_and_free-unknown_2.RULE + license_expression: other-permissive AND free-unknown + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: Autogenerated files with permissive licenses. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap_4.RULE + license_expression: fsf-ap + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. This file is offered as-is, + without warranty of any kind. + - score: '100.0' + start_line: 1 + end_line: 22 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_232.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + - Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + - Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + - Neither the name of Sun Microsystems, Inc. nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_27.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '97.93' + start_line: 1 + end_line: 26 + matcher: 3-seq + rule_length: 242 + matched_length: 237 + match_coverage: '97.93' + rule_relevance: 100 + identifier: bsd-original-voices.LICENSE + license_expression: bsd-original-voices + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by Bill Paul. + 4. Neither the name of the author nor the names of any co-contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL Bill Paul OR [CONTRIBUTORS] BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 2-aho + rule_length: 48 + matched_length: 48 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_177.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is distributed under the terms of the GNU Lesser General + Public License, version 2.1 or later - see the file COPYING.LIB for details. + If you did not receive a copy of the license with this program, please + see to obtain a copy. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public License + Version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libudev1/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libudev1/copyright-detailed.expected.yml index bdf8c5e308c..36981b9bbd3 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libudev1/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libudev1/copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - LGPL-2.1+ +primary_license: lgpl-2.1-plus AND lgpl-2.1 +declared_license: + - LGPL-2.1+ - CC0-1.0 - GPL-2 - GPL-2 with Linux-syscall-note exception @@ -13,12 +15,12 @@ - GPL-2+ - LGPL-2.1+ - CC0-1.0 -- (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (cc0-1.0 AND cc0-1.0 AND cc0-1.0) - AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (linux-syscall-exception-gpl AND gpl-2.0 - AND gpl-2.0 AND gpl-2.0) AND mit AND public-domain-disclaimer AND (gpl-2.0-plus AND gpl-2.0-plus) - AND (gpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND - lgpl-2.1) -- | +license_expression: (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (cc0-1.0 AND cc0-1.0 + AND cc0-1.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (linux-syscall-exception-gpl + AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND mit AND public-domain-disclaimer AND (gpl-2.0-plus + AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) +copyright: | 2008-2015 Kay Sievers 2010-2015 Lennart Poettering 2012-2015 Zbigniew Jędrzejewski-Szmek @@ -93,3 +95,390 @@ 2010-2013 Tollef Fog Heen 2013-2018 Michael Biebl 2013 Michael Stapelberg +matches: + - score: '94.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 94 + identifier: public-domain-disclaimer_7.RULE + license_expression: public-domain-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You can use this free for any purpose. It's in the public domain. It has no + warranty. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_95.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2` + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: linux-syscall-exception-gpl.LICENSE + license_expression: linux-syscall-exception-gpl + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + NOTE! This copyright does *not* cover user programs that use kernel services + by normal system calls - this is merely considered normal use of the kernel, + and does *not* fall under the heading of "derived work". Also note that the + GPL below is copyrighted by the Free Software Foundation, but the instance of + code that it refers to (the Linux kernel) is copyrighted by me and others who + actually wrote it. + + Also note that the only valid version of the GPL as far as the kernel is + concerned is _this_ particular version of the license (ie v2, not v2.2 or v3.x + or whatever), unless explicitly otherwise stated. + + Linus Torvalds + - score: '100.0' + start_line: 14 + end_line: 25 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_95.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 27 + end_line: 28 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 29 + end_line: 29 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2` + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 134 + matched_length: 134 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_737.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in ‘/usr/share/common-licenses/GPL-2’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_27.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To the extent possible under law, the author(s) have dedicated all copyright + and related and neighboring rights to this software to the public domain + worldwide. This software is distributed without any warranty. + + You should have received a copy of the CC0 Public Domain Dedication along with + this software. If not, see . + - score: '100.0' + start_line: 8 + end_line: 9 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_101.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the CC0 1.0 Universal license can be + found in ‘/usr/share/common-licenses/CC0-1.0’. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libudev1/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libudev1/copyright.expected.yml index b1ecc0d5e58..1b92976af0d 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libudev1/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libudev1/copyright.expected.yml @@ -1,14 +1,15 @@ -- - LGPL-2.1+ +primary_license: lgpl-2.1-plus AND lgpl-2.1 +declared_license: + - LGPL-2.1+ - CC0-1.0 - GPL-2 - GPL-2 with Linux-syscall-note exception - Expat - public-domain - GPL-2+ -- (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (cc0-1.0 AND cc0-1.0 AND cc0-1.0) - AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (linux-syscall-exception-gpl AND gpl-2.0 - AND gpl-2.0 AND gpl-2.0) AND mit AND public-domain-disclaimer AND (gpl-2.0-plus AND gpl-2.0-plus) -- | +license_expression: (lgpl-2.1-plus AND lgpl-2.1) AND cc0-1.0 AND gpl-2.0 AND (linux-syscall-exception-gpl + AND gpl-2.0) AND mit AND public-domain-disclaimer AND gpl-2.0-plus +copyright: | 2008-2015 Kay Sievers 2010-2015 Lennart Poettering 2012-2015 Zbigniew Jędrzejewski-Szmek @@ -59,7 +60,6 @@ 1999-2000 Maxim Krasnyansky 2015-2019 Jason A. Donenfeld 2012 Josh Triplett - none 2003-2012 Kay Sievers 2003-2004 Greg Kroah-Hartman 2004 Chris Friesen @@ -79,3 +79,390 @@ 2014 Zbigniew Jędrzejewski-Szmek 2014 David Herrmann 2014 Carlos Garnacho +matches: + - score: '94.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 94 + identifier: public-domain-disclaimer_7.RULE + license_expression: public-domain-disclaimer + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You can use this free for any purpose. It's in the public domain. It has no + warranty. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_95.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2` + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: linux-syscall-exception-gpl.LICENSE + license_expression: linux-syscall-exception-gpl + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + NOTE! This copyright does *not* cover user programs that use kernel services + by normal system calls - this is merely considered normal use of the kernel, + and does *not* fall under the heading of "derived work". Also note that the + GPL below is copyrighted by the Free Software Foundation, but the instance of + code that it refers to (the Linux kernel) is copyrighted by me and others who + actually wrote it. + + Also note that the only valid version of the GPL as far as the kernel is + concerned is _this_ particular version of the license (ie v2, not v2.2 or v3.x + or whatever), unless explicitly otherwise stated. + + Linus Torvalds + - score: '100.0' + start_line: 14 + end_line: 25 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_95.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 27 + end_line: 28 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public + License version 2 + - score: '100.0' + start_line: 29 + end_line: 29 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2` + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 134 + matched_length: 134 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_737.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in ‘/usr/share/common-licenses/GPL-2’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '100.0' + start_line: 1 + end_line: 6 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_27.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + To the extent possible under law, the author(s) have dedicated all copyright + and related and neighboring rights to this software to the public domain + worldwide. This software is distributed without any warranty. + + You should have received a copy of the CC0 Public Domain Dedication along with + this software. If not, see . + - score: '100.0' + start_line: 8 + end_line: 9 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_101.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the CC0 1.0 Universal license can be + found in ‘/usr/share/common-licenses/CC0-1.0’. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libunistring2/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libunistring2/copyright-detailed.expected.yml index bf90cdabb94..191550e8fe5 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libunistring2/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libunistring2/copyright-detailed.expected.yml @@ -1,14 +1,391 @@ -- -- lgpl-3.0-plus AND gpl-2.0-plus AND fsf-unlimited AND gpl-1.0-plus WITH autoconf-simple-exception-2.0 - AND gpl-3.0-plus AND gfdl-1.2-plus AND x11-xconsortium AND mit AND unknown-license-reference - AND gfdl-1.1-plus AND gfdl-1.2 -- | - Copyright 1995-2017 Free Software Foundation, Inc. - Copyright 1995-2017 Free Software Foundation, Inc. - Copyright 1992-2009, Free Software Foundation, Inc. - Copyright 2001-2017 Free Software Foundation, Inc. - Copyright 1990-2017 Free Software Foundation, Inc. - Copyright 1995-2017 Free Software Foundation, Inc. - Copyright 1999-2005 Patrice Dumas , 1999-2005 Derek Price , 1999-2005 Adrian Aichner - Copyright 1994, X Consortium - Copyright 2009-2011 Andreas Rottmann 2017-2020 Jorg Frings-Furst +primary_license: (lgpl-3.0-plus AND lgpl-3.0) OR (gpl-2.0-plus AND gpl-2.0) +declared_license: + - LGPL-3+ or GPL-2+ + - FreeSoftware + - GPL-2+ with distribution exception + - GPL-3+ or GFDL-1.2+ + - GPL-3+ + - GPL-2+ + - GPL-2+ + - MIT + - GPL-3+ + - LGPL-3+ + - GPL-3+ + - GPL-2+ + - GFDL-1.2+ + - MIT +license_expression: ((lgpl-3.0-plus AND lgpl-3.0-plus AND lgpl-3.0 AND lgpl-3.0) OR (gpl-2.0-plus + AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0)) AND fsf-unlimited AND gpl-1.0-plus WITH autoconf-simple-exception-2.0 + AND ((gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0 AND gpl-3.0) OR (gfdl-1.2-plus AND gfdl-1.2-plus)) + AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0 AND gpl-3.0) AND (gpl-2.0-plus AND gpl-2.0-plus + AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND x11-xconsortium + AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0 AND gpl-3.0) +copyright: | + 1995-2017 Free Software Foundation, Inc. + 1995-2017 Free Software Foundation, Inc. + 1992-2009, Free Software Foundation, Inc. + 2001-2017 Free Software Foundation, Inc. + 1990-2017 Free Software Foundation, Inc. + 1995-2017 Free Software Foundation, Inc. + 1999-2005 Patrice Dumas , + 1999-2005 Derek Price , + 1999-2005 Adrian Aichner + 1994, X Consortium + 2009-2011 Andreas Rottmann + 2017-2020 Jörg Frings-Fürst +matches: + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited.LICENSE + license_expression: fsf-unlimited + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation + gives unlimited permission to copy and/or distribute it, + with or without modifications, as long as this notice is preserved. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 50 + matched_length: 50 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_with_autoconf-simple-exception-2.0_2.RULE + license_expression: gpl-1.0-plus WITH autoconf-simple-exception-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software, distributed under the terms of the GNU + General Public License. As a special exception to the GNU General + Public License, this file may be distributed as part of a program + that contains a configuration script generated by Autoconf, under + the same distribution terms as the rest of that program. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_24.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0_51.RULE + license_expression: lgpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Lesser General Public + License version 3 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0_41.RULE + license_expression: lgpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 3 + - score: '33.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 14 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_82.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 16 + end_line: 17 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 18 + end_line: 18 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: debian_common_gfdl-1.2-plus.RULE + license_expression: gfdl-1.2-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gfdl-1.2+' + - score: '100.0' + start_line: 1 + end_line: 10 + matcher: 1-hash + rule_length: 93 + matched_length: 93 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.2-plus_21.RULE + license_expression: gfdl-1.2-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This manual is covered by the GNU FDL. Permission is granted to + copy, distribute and/or modify this document under the terms of the + GNU Free Documentation License (FDL), either version 1.2 of the + License, or (at your option) any later version published by the Free + Software Foundation (FSF); with no Invariant Sections, with no + Front-Cover Text, and with no Back-Cover Texts. + + On Debian systems the full text of the GNU Free Documentation License + version 1.2 can be found in the file + `/usr/share/common-licenses/GFDL-1.2'. + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 1-hash + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- + TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libunistring2/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libunistring2/copyright.expected.yml index bf90cdabb94..0f4e336a1bc 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libunistring2/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libunistring2/copyright.expected.yml @@ -1,14 +1,379 @@ -- -- lgpl-3.0-plus AND gpl-2.0-plus AND fsf-unlimited AND gpl-1.0-plus WITH autoconf-simple-exception-2.0 - AND gpl-3.0-plus AND gfdl-1.2-plus AND x11-xconsortium AND mit AND unknown-license-reference - AND gfdl-1.1-plus AND gfdl-1.2 -- | - Copyright 1995-2017 Free Software Foundation, Inc. - Copyright 1995-2017 Free Software Foundation, Inc. - Copyright 1992-2009, Free Software Foundation, Inc. - Copyright 2001-2017 Free Software Foundation, Inc. - Copyright 1990-2017 Free Software Foundation, Inc. - Copyright 1995-2017 Free Software Foundation, Inc. - Copyright 1999-2005 Patrice Dumas , 1999-2005 Derek Price , 1999-2005 Adrian Aichner - Copyright 1994, X Consortium - Copyright 2009-2011 Andreas Rottmann 2017-2020 Jorg Frings-Furst +primary_license: (lgpl-3.0-plus AND lgpl-3.0) OR (gpl-2.0-plus AND gpl-2.0) +declared_license: + - LGPL-3+ or GPL-2+ + - FreeSoftware + - GPL-2+ with distribution exception + - GPL-3+ or GFDL-1.2+ + - GPL-3+ + - GPL-2+ + - MIT + - LGPL-3+ + - GFDL-1.2+ +license_expression: ((lgpl-3.0-plus AND lgpl-3.0) OR (gpl-2.0-plus AND gpl-2.0)) AND fsf-unlimited + AND gpl-1.0-plus WITH autoconf-simple-exception-2.0 AND ((gpl-3.0-plus AND gpl-3.0) OR gfdl-1.2-plus) + AND (gpl-3.0-plus AND gpl-3.0) AND (gpl-2.0-plus AND gpl-2.0) AND x11-xconsortium +copyright: | + 1995-2017 Free Software Foundation, Inc. + 1992-2009, Free Software Foundation, Inc. + 2001-2017 Free Software Foundation, Inc. + 1990-2017 Free Software Foundation, Inc. + 1999-2005 Patrice Dumas , + 1999-2005 Derek Price , + 1999-2005 Adrian Aichner + 1994, X Consortium +matches: + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 29 + matched_length: 29 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-unlimited.LICENSE + license_expression: fsf-unlimited + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software; the Free Software Foundation + gives unlimited permission to copy and/or distribute it, + with or without modifications, as long as this notice is preserved. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 50 + matched_length: 50 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_with_autoconf-simple-exception-2.0_2.RULE + license_expression: gpl-1.0-plus WITH autoconf-simple-exception-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This file is free software, distributed under the terms of the GNU + General Public License. As a special exception to the GNU General + Public License, this file may be distributed as part of a program + that contains a configuration script generated by Autoconf, under + the same distribution terms as the rest of that program. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_24.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0_51.RULE + license_expression: lgpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + GNU Lesser General Public + License version 3 + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0_41.RULE + license_expression: lgpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/LGPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_378.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 3 + - score: '33.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 33 + identifier: gpl-3.0_93.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 14 + matcher: 2-aho + rule_length: 110 + matched_length: 110 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_82.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 16 + end_line: 17 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_660.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License + version 2 + - score: '100.0' + start_line: 18 + end_line: 18 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: debian_common_gfdl-1.2-plus.RULE + license_expression: gfdl-1.2-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gfdl-1.2+' + - score: '100.0' + start_line: 1 + end_line: 10 + matcher: 1-hash + rule_length: 93 + matched_length: 93 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.2-plus_21.RULE + license_expression: gfdl-1.2-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This manual is covered by the GNU FDL. Permission is granted to + copy, distribute and/or modify this document under the terms of the + GNU Free Documentation License (FDL), either version 1.2 of the + License, or (at your option) any later version published by the Free + Software Foundation (FSF); with no Invariant Sections, with no + Front-Cover Text, and with no Back-Cover Texts. + + On Debian systems the full text of the GNU Free Documentation License + version 1.2 can be found in the file + `/usr/share/common-licenses/GFDL-1.2'. + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 1-hash + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- + TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libuuid1/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libuuid1/copyright-detailed.expected.yml index 9bc35e81ba5..3da8450c864 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libuuid1/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libuuid1/copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2 - GPL-2 - GPL-2 @@ -42,23 +44,20 @@ - LGPL-2.1+ - LGPL-3+ - MIT -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 - AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND - gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 - AND gpl-2.0 AND gpl-2.0) AND public-domain AND bsd-original-uc AND mit AND mit AND bsd-no-disclaimer - AND bsd-no-disclaimer AND bsd-no-disclaimer AND bsd-new AND bsd-new AND (lgpl-2.0-plus AND - lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0-plus - AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus - AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 - AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (gpl-3.0-plus - AND gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) - AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND - lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0) AND (lgpl-2.0-plus - AND lgpl-2.1-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) - AND (lgpl-3.0-plus AND lgpl-3.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND - lgpl-2.1) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND - gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) -- | +license_expression: (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND + gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 + AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND public-domain AND bsd-original-uc + AND mit AND mit AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new AND bsd-new + AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND + lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.1-plus AND + lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.0-plus + AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND + (lgpl-3.0-plus AND lgpl-3.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (gpl-2.0-plus + AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) +copyright: | Michal Luscon 1986 Gary S. Brown 1990 Gordon Irlam (gordoni@cs.ua.oz.au) @@ -251,3 +250,576 @@ Veeven Vikram Vincent Yoppy Hidayanto +matches: + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_28.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No copyright is claimed. This code is in the public domain; do with + it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_264.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_405.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1) Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2) Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + 3) Neither the name of the [ORGANIZATION] nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: lgpl-2.1-plus_268.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be redistributed under the terms of the + GNU Lesser General Public License. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in ‘/usr/share/common-licenses/LGPL’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '97.69' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 127 + match_coverage: '97.69' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libuuid1/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libuuid1/copyright.expected.yml index 11099084090..4fa8dffb131 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libuuid1/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libuuid1/copyright.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2 - public-domain - BSD-4-clause @@ -10,12 +12,10 @@ - GPL-3+ - LGPL - LGPL-3+ -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 - AND gpl-2.0) AND public-domain AND bsd-original-uc AND mit AND bsd-no-disclaimer AND bsd-new - AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND - lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND - (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0) AND (lgpl-3.0-plus AND lgpl-3.0-plus) -- | +license_expression: (gpl-2.0-plus AND gpl-2.0) AND gpl-2.0 AND public-domain AND bsd-original-uc + AND mit AND bsd-simplified AND bsd-new AND (lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus + AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.0-plus AND lgpl-2.1-plus) AND lgpl-3.0-plus +copyright: | Michal Luscon 1986 Gary S. Brown 1990 Gordon Irlam (gordoni@cs.ua.oz.au) @@ -108,7 +108,6 @@ 2013 Eric Sandeen 2013 Rolf Fokkens 2013 Zeeshan Ali (Khattak) - *unknown* 2001 Andreas Dilger 2008-2012 Karel Zak 2013, Red Hat, Inc. @@ -196,3 +195,576 @@ Veeven Vikram Vincent Yoppy Hidayanto +matches: + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_28.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No copyright is claimed. This code is in the public domain; do with + it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_264.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_405.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1) Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2) Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + 3) Neither the name of the [ORGANIZATION] nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: lgpl-2.1-plus_268.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be redistributed under the terms of the + GNU Lesser General Public License. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in ‘/usr/share/common-licenses/LGPL’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '97.69' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 127 + match_coverage: '97.69' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libxxhash0/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libxxhash0/copyright-detailed.expected.yml index 2a92bb83ee2..908c8682c4c 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libxxhash0/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libxxhash0/copyright-detailed.expected.yml @@ -1,11 +1,111 @@ -- - BSD-2-clause +primary_license: bsd-simplified +declared_license: + - BSD-2-clause - GPL-2 - GPL-2 - BSD-2-clause - GPL-2 -- bsd-simplified AND (gpl-2.0 AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0-plus AND - gpl-2.0) -- | +license_expression: bsd-simplified AND (gpl-2.0 AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0 AND + gpl-2.0-plus AND gpl-2.0) +copyright: | 2012-2014 Yann Collet 2012-2014 Yann Collet 2018 Norbert Preining +matches: + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, this + list of conditions and the following disclaimer in the documentation and/or + other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR + ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2 diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libxxhash0/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libxxhash0/copyright.expected.yml index d42d97fb87a..d6ea50555c5 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libxxhash0/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libxxhash0/copyright.expected.yml @@ -1,4 +1,104 @@ -- - BSD-2-clause +primary_license: bsd-simplified +declared_license: + - BSD-2-clause - GPL-2 -- bsd-simplified AND (gpl-2.0 AND gpl-2.0-plus AND gpl-2.0) -- 2012-2014 Yann Collet +license_expression: bsd-simplified AND (gpl-2.0 AND gpl-2.0-plus) +copyright: 2012-2014 Yann Collet +matches: + - score: '100.0' + start_line: 1 + end_line: 20 + matcher: 1-hash + rule_length: 183 + matched_length: 183 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified.LICENSE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, this + list of conditions and the following disclaimer in the documentation and/or + other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR + ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 16 + end_line: 16 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_621.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: usr/share/common-licenses/GPL-2 diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libzstd1/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libzstd1/copyright-detailed.expected.yml index bc743239b9c..b076ff40788 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libzstd1/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libzstd1/copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - BSD-3-clause and GPL-2 +primary_license: bsd-new AND gpl-2.0 +declared_license: + - BSD-3-clause and GPL-2 - zlib - zlib - zlib @@ -8,9 +10,9 @@ - Expat - GPL-2 - BSD-3-clause -- (bsd-new AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0)) AND zlib AND zlib AND mit AND - (bsd-new AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0)) AND mit -- | +license_expression: (bsd-new AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0)) AND zlib AND zlib AND mit + AND (bsd-new AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0)) AND mit +copyright: | 2013-2018, Yann Collet 2016, Przemyslaw Skibinski 2016-2018, Facebook, Inc. @@ -19,3 +21,169 @@ 2003-2008, Yuta Mori 2016-present, Yann Collet, Facebook, Inc. 2015-2016 Kevin Murray +matches: + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib_81.RULE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgement in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '99.52' + start_line: 1 + end_line: 21 + matcher: 3-seq + rule_length: 207 + matched_length: 206 + match_coverage: '99.52' + rule_relevance: 100 + identifier: bsd-new_222.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of [cereal] nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL [RANDOLPH] [VOORHIES] OR [SHANE] [GRANT] BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libzstd1/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libzstd1/copyright.expected.yml index facd87efa19..f1a8d0437b1 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libzstd1/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libzstd1/copyright.expected.yml @@ -1,10 +1,12 @@ -- - BSD-3-clause and GPL-2 +primary_license: bsd-new AND gpl-2.0 +declared_license: + - BSD-3-clause and GPL-2 - zlib - Expat - GPL-2 - BSD-3-clause -- (bsd-new AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0)) AND zlib AND mit -- | +license_expression: (bsd-new AND gpl-2.0) AND zlib AND mit +copyright: | 2013-2018, Yann Collet 2016, Przemyslaw Skibinski 2016-2018, Facebook, Inc. @@ -12,3 +14,169 @@ (C) 2004, 2005, 2010, 2011, 2012, 2013 Mark Adler 2003-2008, Yuta Mori 2016-present, Yann Collet, Facebook, Inc. +matches: + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib_81.RULE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgement in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '99.52' + start_line: 1 + end_line: 21 + matcher: 3-seq + rule_length: 207 + matched_length: 206 + match_coverage: '99.52' + rule_relevance: 100 + identifier: bsd-new_222.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of [cereal] nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL [RANDOLPH] [VOORHIES] OR [SHANE] [GRANT] BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/login/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/login/copyright-detailed.expected.yml index 475fa103895..5f00fbb88fa 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/login/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/login/copyright-detailed.expected.yml @@ -1,9 +1,89 @@ -- -- bsd-new AND tcp-wrappers AND gpl-2.0-plus -- | +primary_license: +declared_license: +license_expression: bsd-new AND tcp-wrappers AND gpl-2.0-plus +copyright: | copyright 1988 - 1994, Julianne Frances Haugh copyright 1997 - 2001, Marek Michalkiewicz copyright 2001 - 2004, Andrzej Krzysztofowicz copyright 2000 - 2007, Tomasz Kloczko Copyright 1995 by Wietse Venema Copyright (c) 1992-2003 Free Software Foundation, Inc. +matches: + - score: '97.18' + start_line: 20 + end_line: 42 + matcher: 2-aho + rule_length: 207 + matched_length: 207 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_67.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. Neither\ + \ the name of [Julianne] F. [Haugh] nor the names of its contributors\n may be used\ + \ to endorse or promote products derived from this software\n without specific prior\ + \ written permission.\n \n THIS SOFTWARE IS PROVIDED BY [JULIE] [HAUGH] AND CONTRIBUTORS\ + \ ``AS IS'' AND\n ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED.\ + \ IN NO EVENT SHALL [JULIE] [HAUGH] OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT\n LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n\ + \ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 72 + end_line: 85 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: tcp-wrappers_3.RULE + license_expression: tcp-wrappers + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Individual files\n * may be covered by other copyrights (as noted in the\ + \ file itself.)\n *\n * This material was originally written and compiled by Wietse Venema\ + \ at\n * Eindhoven University of Technology, The Netherlands, in 1990, 1991,\n * 1992,\ + \ 1993, 1994 and 1995.\n *\n * Redistribution and use in source and binary forms are permitted\n\ + \ * provided that this entire copyright notice is duplicated in all such\n * copies. \ + \ \n *\n * This software is provided \"as is\" and without any expressed or implied\n\ + \ * warranties, including, without limitation, the implied warranties of\n * merchantibility\ + \ and fitness for any particular purpose." + - score: '100.0' + start_line: 92 + end_line: 103 + matcher: 2-aho + rule_length: 100 + matched_length: 100 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_749.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation; either version 2, or (at your option)\n any later version.\n\ + \ \n This program is distributed in the hope that it will be useful,\n but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR\ + \ A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n \n\ + \ On Debian GNU/Linux systems, the complete text of the GNU General Public\n License\ + \ can be found in '/usr/share/common-licenses/GPL-2'" diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/login/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/login/copyright.expected.yml index 475fa103895..5f00fbb88fa 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/login/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/login/copyright.expected.yml @@ -1,9 +1,89 @@ -- -- bsd-new AND tcp-wrappers AND gpl-2.0-plus -- | +primary_license: +declared_license: +license_expression: bsd-new AND tcp-wrappers AND gpl-2.0-plus +copyright: | copyright 1988 - 1994, Julianne Frances Haugh copyright 1997 - 2001, Marek Michalkiewicz copyright 2001 - 2004, Andrzej Krzysztofowicz copyright 2000 - 2007, Tomasz Kloczko Copyright 1995 by Wietse Venema Copyright (c) 1992-2003 Free Software Foundation, Inc. +matches: + - score: '97.18' + start_line: 20 + end_line: 42 + matcher: 2-aho + rule_length: 207 + matched_length: 207 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_67.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. Neither\ + \ the name of [Julianne] F. [Haugh] nor the names of its contributors\n may be used\ + \ to endorse or promote products derived from this software\n without specific prior\ + \ written permission.\n \n THIS SOFTWARE IS PROVIDED BY [JULIE] [HAUGH] AND CONTRIBUTORS\ + \ ``AS IS'' AND\n ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED.\ + \ IN NO EVENT SHALL [JULIE] [HAUGH] OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT\n LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n\ + \ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 72 + end_line: 85 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: tcp-wrappers_3.RULE + license_expression: tcp-wrappers + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Individual files\n * may be covered by other copyrights (as noted in the\ + \ file itself.)\n *\n * This material was originally written and compiled by Wietse Venema\ + \ at\n * Eindhoven University of Technology, The Netherlands, in 1990, 1991,\n * 1992,\ + \ 1993, 1994 and 1995.\n *\n * Redistribution and use in source and binary forms are permitted\n\ + \ * provided that this entire copyright notice is duplicated in all such\n * copies. \ + \ \n *\n * This software is provided \"as is\" and without any expressed or implied\n\ + \ * warranties, including, without limitation, the implied warranties of\n * merchantibility\ + \ and fitness for any particular purpose." + - score: '100.0' + start_line: 92 + end_line: 103 + matcher: 2-aho + rule_length: 100 + matched_length: 100 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_749.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation; either version 2, or (at your option)\n any later version.\n\ + \ \n This program is distributed in the hope that it will be useful,\n but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR\ + \ A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n \n\ + \ On Debian GNU/Linux systems, the complete text of the GNU General Public\n License\ + \ can be found in '/usr/share/common-licenses/GPL-2'" diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/logsave/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/logsave/copyright-detailed.expected.yml index 9cf037404ae..16a70b23cf0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/logsave/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/logsave/copyright-detailed.expected.yml @@ -1,7 +1,8 @@ -- -- (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 AND lgpl-2.1) - AND ntp-0 AND bsd-new -- | +primary_license: +declared_license: +license_expression: (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 + AND lgpl-2.0) AND ntp-0 AND bsd-new +copyright: | Copyright (c) 2003-2007 Theodore Ts'o Copyright (c) 1997-2003 Yann Dirson Copyright (c) 2001 Alcove @@ -9,3 +10,103 @@ Copyright (c) 1995-1996 Michael Nonweiler Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by Theodore Ts'o Copyright 1987 by the Student Information Processing Board of the Massachusetts Institute of Technology +matches: + - score: '98.28' + start_line: 17 + end_line: 22 + matcher: 3-seq + rule_length: 58 + matched_length: 57 + match_coverage: '98.28' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_and_bsd-new_and_mit_2.RULE + license_expression: gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package, the EXT2 [filesystem] utilities, are made available under + the GNU General Public License version 2, with the exception of the + [lib]/[ext2fs] [and] [lib]/[e2p] libraries, which are made available under the + GNU Library General Public License Version 2, the [lib]/[uuid] library + which is made available under a BSD-style license and the [lib]/[et] [and] + [lib]/[ss] libraries which are made available under an MIT-style license. + - score: '100.0' + start_line: 27 + end_line: 30 + matcher: 2-aho + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_4.RULE + license_expression: gpl-2.0 AND lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU systems, the complete text of the GNU General Public + License can be found in `/usr/share/common-licenses/GPL-2'. The + complete text of the GNU Library General Public License can be found + in '/usr/share/common-licenses/LGPL-2'. + - score: '100.0' + start_line: 38 + end_line: 45 + matcher: 2-aho + rule_length: 83 + matched_length: 83 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ntp-0.LICENSE + license_expression: ntp-0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose is hereby granted, provided that + the names of M.I.T. and the M.I.T. S.I.P.B. not be used in + advertising or publicity pertaining to distribution of the software + without specific, written prior permission. M.I.T. and the + M.I.T. S.I.P.B. make no representations about the suitability of + this software for any purpose. It is provided "as is" without + express or implied warranty. + - score: '100.0' + start_line: 49 + end_line: 73 + matcher: 2-aho + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_117.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, and the entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n 2. Redistributions\ + \ in binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. The name of the author may not be used to endorse or\ + \ promote\n products derived from this software without specific prior\n written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF\n WHICH ARE HEREBY DISCLAIMED. IN NO\ + \ EVENT SHALL THE AUTHOR BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\ + \ EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n\ + \ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS\ + \ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\ + \ OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH\n\ + \ DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/logsave/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/logsave/copyright.expected.yml index 9cf037404ae..16a70b23cf0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/logsave/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/logsave/copyright.expected.yml @@ -1,7 +1,8 @@ -- -- (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 AND lgpl-2.1) - AND ntp-0 AND bsd-new -- | +primary_license: +declared_license: +license_expression: (gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert) AND (gpl-2.0 + AND lgpl-2.0) AND ntp-0 AND bsd-new +copyright: | Copyright (c) 2003-2007 Theodore Ts'o Copyright (c) 1997-2003 Yann Dirson Copyright (c) 2001 Alcove @@ -9,3 +10,103 @@ Copyright (c) 1995-1996 Michael Nonweiler Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by Theodore Ts'o Copyright 1987 by the Student Information Processing Board of the Massachusetts Institute of Technology +matches: + - score: '98.28' + start_line: 17 + end_line: 22 + matcher: 3-seq + rule_length: 58 + matched_length: 57 + match_coverage: '98.28' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_and_bsd-new_and_mit_2.RULE + license_expression: gpl-2.0 AND lgpl-2.0 AND bsd-new AND mit-old-style-no-advert + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package, the EXT2 [filesystem] utilities, are made available under + the GNU General Public License version 2, with the exception of the + [lib]/[ext2fs] [and] [lib]/[e2p] libraries, which are made available under the + GNU Library General Public License Version 2, the [lib]/[uuid] library + which is made available under a BSD-style license and the [lib]/[et] [and] + [lib]/[ss] libraries which are made available under an MIT-style license. + - score: '100.0' + start_line: 27 + end_line: 30 + matcher: 2-aho + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_and_lgpl-2.0_4.RULE + license_expression: gpl-2.0 AND lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU systems, the complete text of the GNU General Public + License can be found in `/usr/share/common-licenses/GPL-2'. The + complete text of the GNU Library General Public License can be found + in '/usr/share/common-licenses/LGPL-2'. + - score: '100.0' + start_line: 38 + end_line: 45 + matcher: 2-aho + rule_length: 83 + matched_length: 83 + match_coverage: '100.0' + rule_relevance: 100 + identifier: ntp-0.LICENSE + license_expression: ntp-0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose is hereby granted, provided that + the names of M.I.T. and the M.I.T. S.I.P.B. not be used in + advertising or publicity pertaining to distribution of the software + without specific, written prior permission. M.I.T. and the + M.I.T. S.I.P.B. make no representations about the suitability of + this software for any purpose. It is provided "as is" without + express or implied warranty. + - score: '100.0' + start_line: 49 + end_line: 73 + matcher: 2-aho + rule_length: 210 + matched_length: 210 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_117.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, and the entire permission\ + \ notice in its entirety,\n including the disclaimer of warranties.\n 2. Redistributions\ + \ in binary form must reproduce the above copyright\n notice, this list of conditions\ + \ and the following disclaimer in the\n documentation and/or other materials provided\ + \ with the distribution.\n 3. The name of the author may not be used to endorse or\ + \ promote\n products derived from this software without specific prior\n written\ + \ permission.\n \n THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n\ + \ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY\ + \ AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF\n WHICH ARE HEREBY DISCLAIMED. IN NO\ + \ EVENT SHALL THE AUTHOR BE\n LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\ + \ EXEMPLARY, OR\n CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n\ + \ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n BUSINESS\ + \ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\ + \ OUT OF THE\n USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH\n\ + \ DAMAGE." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/lsb-base/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/lsb-base/copyright-detailed.expected.yml index d63ad155e62..4a2fd0ae8f0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/lsb-base/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/lsb-base/copyright-detailed.expected.yml @@ -1,9 +1,102 @@ -- - GPL-2 +primary_license: gpl-2.0 AND gpl-2.0-plus +declared_license: + - GPL-2 - GPL-2 - BSD-3-clause - GPL-2 -- (gpl-2.0 AND gpl-2.0-plus) AND (gpl-2.0 AND gpl-2.0-plus) AND bsd-new -- | +license_expression: (gpl-2.0 AND gpl-2.0-plus) AND (gpl-2.0 AND gpl-2.0-plus) AND bsd-new +copyright: | 2002-2010, Chris Lawrence 2005-2011, Canonical Ltd. 2002-2009, Chris Lawrence +matches: + - score: '99.53' + start_line: 1 + end_line: 23 + matcher: 3-seq + rule_length: 213 + matched_length: 212 + match_coverage: '99.53' + rule_relevance: 100 + identifier: bsd-new_205.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the author nor the names of [other] contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, + THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '89.21' + start_line: 1 + end_line: '19' + matcher: 3-seq + rule_length: 139 + matched_length: 124 + match_coverage: '89.21' + rule_relevance: 100 + identifier: gpl-2.0-plus_612.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the terms of the GNU General Public + License as published by the Free Software Foundation; + [version] [2] [dated] [June] [1991]. + + This program is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the GNU General Public License for more + details. + + You should have received a copy of the GNU General Public + License along with this [package]; if not, write to the Free + Software Foundation, Inc., 51 Franklin [St], Fifth Floor, + Boston, MA 02110-1301 USA + + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/lsb-base/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/lsb-base/copyright.expected.yml index 77126963a64..87d6b089518 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/lsb-base/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/lsb-base/copyright.expected.yml @@ -1,7 +1,100 @@ -- - GPL-2 +primary_license: gpl-2.0 AND gpl-2.0-plus +declared_license: + - GPL-2 - BSD-3-clause -- (gpl-2.0 AND gpl-2.0-plus) AND bsd-new -- | +license_expression: (gpl-2.0 AND gpl-2.0-plus) AND bsd-new +copyright: | 2002-2010, Chris Lawrence 2005-2011, Canonical Ltd. 2002-2009, Chris Lawrence +matches: + - score: '99.53' + start_line: 1 + end_line: 23 + matcher: 3-seq + rule_length: 213 + matched_length: 212 + match_coverage: '99.53' + rule_relevance: 100 + identifier: bsd-new_205.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the author nor the names of [other] contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, + THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '89.21' + start_line: 1 + end_line: '19' + matcher: 3-seq + rule_length: 139 + matched_length: 124 + match_coverage: '89.21' + rule_relevance: 100 + identifier: gpl-2.0-plus_612.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the terms of the GNU General Public + License as published by the Free Software Foundation; + [version] [2] [dated] [June] [1991]. + + This program is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the GNU General Public License for more + details. + + You should have received a copy of the GNU General Public + License along with this [package]; if not, write to the Free + Software Foundation, Inc., 51 Franklin [St], Fifth Floor, + Boston, MA 02110-1301 USA + + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mawk/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mawk/copyright-detailed.expected.yml index d9f1f7f193c..1f0ff737c66 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mawk/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mawk/copyright-detailed.expected.yml @@ -1,7 +1,33 @@ -- -- gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0 +copyright: | Copyright (c) Michael D. Brennan Copyright (c) 1995-96 Chris Fearnley Copyright (c) 1998-2003 James Troup Copyright (c) 2009-2018,2019,2020 by Thomas E. Dickey +matches: + - score: '99.18' + start_line: '19' + end_line: 32 + matcher: 2-aho + rule_length: 121 + matched_length: 121 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1030.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n it\ + \ under the terms of the GNU General Public License version 2 as published\n by the Free\ + \ Software Foundation.\n \n This program is distributed in the hope that it will be useful,\ + \ but\n WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or\ + \ FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n General Public License for more details.\n\ + \ \n You should have received a copy of the GNU General Public License with\n your Debian\ + \ GNU system, in /usr/share/common-licenses/GPL-2, or with the\n Debian GNU [mawk] source\ + \ package as the file COPYING. If not, write to\n the Free Software Foundation, Inc.,\ + \ 51 Franklin St, Fifth Floor,\n Boston, MA 02110-1301, USA." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mawk/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mawk/copyright.expected.yml index d9f1f7f193c..1f0ff737c66 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mawk/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mawk/copyright.expected.yml @@ -1,7 +1,33 @@ -- -- gpl-2.0 -- | +primary_license: +declared_license: +license_expression: gpl-2.0 +copyright: | Copyright (c) Michael D. Brennan Copyright (c) 1995-96 Chris Fearnley Copyright (c) 1998-2003 James Troup Copyright (c) 2009-2018,2019,2020 by Thomas E. Dickey +matches: + - score: '99.18' + start_line: '19' + end_line: 32 + matcher: 2-aho + rule_length: 121 + matched_length: 121 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1030.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n it\ + \ under the terms of the GNU General Public License version 2 as published\n by the Free\ + \ Software Foundation.\n \n This program is distributed in the hope that it will be useful,\ + \ but\n WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or\ + \ FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n General Public License for more details.\n\ + \ \n You should have received a copy of the GNU General Public License with\n your Debian\ + \ GNU system, in /usr/share/common-licenses/GPL-2, or with the\n Debian GNU [mawk] source\ + \ package as the file COPYING. If not, write to\n the Free Software Foundation, Inc.,\ + \ 51 Franklin St, Fifth Floor,\n Boston, MA 02110-1301, USA." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mount/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mount/copyright-detailed.expected.yml index 9bc35e81ba5..3da8450c864 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mount/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mount/copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2 - GPL-2 - GPL-2 @@ -42,23 +44,20 @@ - LGPL-2.1+ - LGPL-3+ - MIT -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 - AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND - gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 - AND gpl-2.0 AND gpl-2.0) AND public-domain AND bsd-original-uc AND mit AND mit AND bsd-no-disclaimer - AND bsd-no-disclaimer AND bsd-no-disclaimer AND bsd-new AND bsd-new AND (lgpl-2.0-plus AND - lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0-plus - AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus - AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 - AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (gpl-3.0-plus - AND gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) - AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND - lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0) AND (lgpl-2.0-plus - AND lgpl-2.1-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) - AND (lgpl-3.0-plus AND lgpl-3.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND - lgpl-2.1) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND - gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) -- | +license_expression: (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND + gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 + AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND public-domain AND bsd-original-uc + AND mit AND mit AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new AND bsd-new + AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND + lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.1-plus AND + lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.0-plus + AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND + (lgpl-3.0-plus AND lgpl-3.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (gpl-2.0-plus + AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) +copyright: | Michal Luscon 1986 Gary S. Brown 1990 Gordon Irlam (gordoni@cs.ua.oz.au) @@ -251,3 +250,576 @@ Veeven Vikram Vincent Yoppy Hidayanto +matches: + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_28.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No copyright is claimed. This code is in the public domain; do with + it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_264.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_405.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1) Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2) Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + 3) Neither the name of the [ORGANIZATION] nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: lgpl-2.1-plus_268.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be redistributed under the terms of the + GNU Lesser General Public License. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in ‘/usr/share/common-licenses/LGPL’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '97.69' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 127 + match_coverage: '97.69' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mount/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mount/copyright.expected.yml index 11099084090..4fa8dffb131 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mount/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/mount/copyright.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2 - public-domain - BSD-4-clause @@ -10,12 +12,10 @@ - GPL-3+ - LGPL - LGPL-3+ -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 - AND gpl-2.0) AND public-domain AND bsd-original-uc AND mit AND bsd-no-disclaimer AND bsd-new - AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND - lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND - (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0) AND (lgpl-3.0-plus AND lgpl-3.0-plus) -- | +license_expression: (gpl-2.0-plus AND gpl-2.0) AND gpl-2.0 AND public-domain AND bsd-original-uc + AND mit AND bsd-simplified AND bsd-new AND (lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus + AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.0-plus AND lgpl-2.1-plus) AND lgpl-3.0-plus +copyright: | Michal Luscon 1986 Gary S. Brown 1990 Gordon Irlam (gordoni@cs.ua.oz.au) @@ -108,7 +108,6 @@ 2013 Eric Sandeen 2013 Rolf Fokkens 2013 Zeeshan Ali (Khattak) - *unknown* 2001 Andreas Dilger 2008-2012 Karel Zak 2013, Red Hat, Inc. @@ -196,3 +195,576 @@ Veeven Vikram Vincent Yoppy Hidayanto +matches: + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_28.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No copyright is claimed. This code is in the public domain; do with + it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_264.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_405.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1) Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2) Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + 3) Neither the name of the [ORGANIZATION] nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: lgpl-2.1-plus_268.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be redistributed under the terms of the + GNU Lesser General Public License. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in ‘/usr/share/common-licenses/LGPL’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '97.69' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 127 + match_coverage: '97.69' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/ncurses-base/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/ncurses-base/copyright-detailed.expected.yml index a66520b5829..651298869f0 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/ncurses-base/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/ncurses-base/copyright-detailed.expected.yml @@ -1,13 +1,131 @@ -- - MIT/X11 +primary_license: x11-fsf +declared_license: + - MIT/X11 - X11 - BSD-3-clause - MIT/X11 - X11 - BSD-3-clause -- x11-fsf AND x11-xconsortium AND bsd-new -- | +license_expression: x11-fsf AND x11-xconsortium AND bsd-new +copyright: | 1998-2017,2018 Free Software Foundation, Inc. 1996-2019,2020 Thomas E. Dickey 2001 Pradeep Padala 1994 X Consortium 1980,1991,1992,1993 The Regents of the University of California +matches: + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: '199' + matched_length: '199' + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-fsf.LICENSE + license_expression: x11-fsf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, distribute with modifications, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR + THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name(s) of the above copyright + holders shall not be used in advertising or otherwise to promote the + sale, use or other dealings in this Software without prior written + authorization. + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 1-hash + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- + TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/ncurses-base/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/ncurses-base/copyright.expected.yml index b786d4c0e59..916b5113e0a 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/ncurses-base/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/ncurses-base/copyright.expected.yml @@ -1,10 +1,128 @@ -- - MIT/X11 +primary_license: x11-fsf +declared_license: + - MIT/X11 - X11 - BSD-3-clause -- x11-fsf AND x11-xconsortium AND bsd-new -- | +license_expression: x11-fsf AND x11-xconsortium AND bsd-new +copyright: | 1998-2017,2018 Free Software Foundation, Inc. 1996-2019,2020 Thomas E. Dickey 2001 Pradeep Padala 1994 X Consortium 1980,1991,1992,1993 The Regents of the University of California +matches: + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: '199' + matched_length: '199' + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-fsf.LICENSE + license_expression: x11-fsf + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, distribute with modifications, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR + THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name(s) of the above copyright + holders shall not be used in advertising or otherwise to promote the + sale, use or other dealings in this Software without prior written + authorization. + - score: '100.0' + start_line: 1 + end_line: 21 + matcher: 1-hash + rule_length: 201 + matched_length: 201 + match_coverage: '100.0' + rule_relevance: 100 + identifier: x11-xconsortium_2.RULE + license_expression: x11-xconsortium + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- + TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/passwd/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/passwd/copyright-detailed.expected.yml index 475fa103895..5f00fbb88fa 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/passwd/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/passwd/copyright-detailed.expected.yml @@ -1,9 +1,89 @@ -- -- bsd-new AND tcp-wrappers AND gpl-2.0-plus -- | +primary_license: +declared_license: +license_expression: bsd-new AND tcp-wrappers AND gpl-2.0-plus +copyright: | copyright 1988 - 1994, Julianne Frances Haugh copyright 1997 - 2001, Marek Michalkiewicz copyright 2001 - 2004, Andrzej Krzysztofowicz copyright 2000 - 2007, Tomasz Kloczko Copyright 1995 by Wietse Venema Copyright (c) 1992-2003 Free Software Foundation, Inc. +matches: + - score: '97.18' + start_line: 20 + end_line: 42 + matcher: 2-aho + rule_length: 207 + matched_length: 207 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_67.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. Neither\ + \ the name of [Julianne] F. [Haugh] nor the names of its contributors\n may be used\ + \ to endorse or promote products derived from this software\n without specific prior\ + \ written permission.\n \n THIS SOFTWARE IS PROVIDED BY [JULIE] [HAUGH] AND CONTRIBUTORS\ + \ ``AS IS'' AND\n ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED.\ + \ IN NO EVENT SHALL [JULIE] [HAUGH] OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT\n LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n\ + \ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 72 + end_line: 85 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: tcp-wrappers_3.RULE + license_expression: tcp-wrappers + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Individual files\n * may be covered by other copyrights (as noted in the\ + \ file itself.)\n *\n * This material was originally written and compiled by Wietse Venema\ + \ at\n * Eindhoven University of Technology, The Netherlands, in 1990, 1991,\n * 1992,\ + \ 1993, 1994 and 1995.\n *\n * Redistribution and use in source and binary forms are permitted\n\ + \ * provided that this entire copyright notice is duplicated in all such\n * copies. \ + \ \n *\n * This software is provided \"as is\" and without any expressed or implied\n\ + \ * warranties, including, without limitation, the implied warranties of\n * merchantibility\ + \ and fitness for any particular purpose." + - score: '100.0' + start_line: 92 + end_line: 103 + matcher: 2-aho + rule_length: 100 + matched_length: 100 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_749.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation; either version 2, or (at your option)\n any later version.\n\ + \ \n This program is distributed in the hope that it will be useful,\n but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR\ + \ A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n \n\ + \ On Debian GNU/Linux systems, the complete text of the GNU General Public\n License\ + \ can be found in '/usr/share/common-licenses/GPL-2'" diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/passwd/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/passwd/copyright.expected.yml index 475fa103895..5f00fbb88fa 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/passwd/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/passwd/copyright.expected.yml @@ -1,9 +1,89 @@ -- -- bsd-new AND tcp-wrappers AND gpl-2.0-plus -- | +primary_license: +declared_license: +license_expression: bsd-new AND tcp-wrappers AND gpl-2.0-plus +copyright: | copyright 1988 - 1994, Julianne Frances Haugh copyright 1997 - 2001, Marek Michalkiewicz copyright 2001 - 2004, Andrzej Krzysztofowicz copyright 2000 - 2007, Tomasz Kloczko Copyright 1995 by Wietse Venema Copyright (c) 1992-2003 Free Software Foundation, Inc. +matches: + - score: '97.18' + start_line: 20 + end_line: 42 + matcher: 2-aho + rule_length: 207 + matched_length: 207 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_67.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Redistribution and use in source and binary forms, with or without\n modification,\ + \ are permitted provided that the following conditions\n are met:\n 1. Redistributions\ + \ of source code must retain the above copyright\n notice, this list of conditions\ + \ and the following disclaimer.\n 2. Redistributions in binary form must reproduce the\ + \ above copyright\n notice, this list of conditions and the following disclaimer in\ + \ the\n documentation and/or other materials provided with the distribution.\n 3. Neither\ + \ the name of [Julianne] F. [Haugh] nor the names of its contributors\n may be used\ + \ to endorse or promote products derived from this software\n without specific prior\ + \ written permission.\n \n THIS SOFTWARE IS PROVIDED BY [JULIE] [HAUGH] AND CONTRIBUTORS\ + \ ``AS IS'' AND\n ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n\ + \ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n ARE DISCLAIMED.\ + \ IN NO EVENT SHALL [JULIE] [HAUGH] OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT,\ + \ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED\ + \ TO, PROCUREMENT OF SUBSTITUTE GOODS\n OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\ + \ BUSINESS INTERRUPTION)\n HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\ + \ STRICT\n LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n\ + \ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n SUCH DAMAGE." + - score: '100.0' + start_line: 72 + end_line: 85 + matcher: 2-aho + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: tcp-wrappers_3.RULE + license_expression: tcp-wrappers + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "Individual files\n * may be covered by other copyrights (as noted in the\ + \ file itself.)\n *\n * This material was originally written and compiled by Wietse Venema\ + \ at\n * Eindhoven University of Technology, The Netherlands, in 1990, 1991,\n * 1992,\ + \ 1993, 1994 and 1995.\n *\n * Redistribution and use in source and binary forms are permitted\n\ + \ * provided that this entire copyright notice is duplicated in all such\n * copies. \ + \ \n *\n * This software is provided \"as is\" and without any expressed or implied\n\ + \ * warranties, including, without limitation, the implied warranties of\n * merchantibility\ + \ and fitness for any particular purpose." + - score: '100.0' + start_line: 92 + end_line: 103 + matcher: 2-aho + rule_length: 100 + matched_length: 100 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_749.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify\n \ + \ it under the terms of the GNU General Public License as published by\n the Free\ + \ Software Foundation; either version 2, or (at your option)\n any later version.\n\ + \ \n This program is distributed in the hope that it will be useful,\n but WITHOUT\ + \ ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR\ + \ A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n \n\ + \ On Debian GNU/Linux systems, the complete text of the GNU General Public\n License\ + \ can be found in '/usr/share/common-licenses/GPL-2'" diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/perl-base/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/perl-base/copyright-detailed.expected.yml index 2c4cff5e68e..9f3a6210421 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/perl-base/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/perl-base/copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - GPL-1+ or Artistic +primary_license: (gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0) +declared_license: + - GPL-1+ or Artistic - GPL-1+ or Artistic - GPL-1+ or Artistic - GPL-1+ or Artistic @@ -221,147 +223,228 @@ - CC0-1.0 - RRA-KEEP-THIS-NOTICE - Artistic-dist -- ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND - gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND mit AND (regexp - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0))) AND gpl-3.0-plus - WITH bison-exception-2.2 AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) +license_expression: ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND + (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) + AND mit AND (regexp AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0))) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND gpl-3.0-plus WITH bison-exception-2.2 AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND mit AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND unicode-dfs-2015 + AND unicode AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND (((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND unicode-dfs-2015) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND mit AND ((gpl-1.0-plus AND + gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus + OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR + (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus + OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus + OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND bzip2-libbzip-2010 AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND zlib AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-1.0) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-1.0) AND + ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR + artistic-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND + (gpl-1.0-plus OR artistic-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND (artistic-2.0 AND artistic-perl-1.0) + AND artistic-2.0 AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-2.0-plus AND gpl-2.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-2.0-plus) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-1.0) AND + ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR + artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus + OR artistic-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-2.0-plus AND gpl-2.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-2.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-1.0) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND (mit OR (gpl-1.0-plus AND + gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (mit OR gpl-1.0-plus OR artistic-perl-1.0) + AND (mit OR (gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((artistic-perl-1.0 OR gpl-1.0-plus) + AND historical) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND + (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-1.0) AND + ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR + artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND fsf-ap + AND mit AND mit AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND + (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-2.0 AND public-domain AND (artistic-2.0 + AND public-domain-disclaimer)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND bsd-new + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus + OR artistic-perl-1.0) AND mit AND mit AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus + OR artistic-perl-1.0) AND public-domain) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 + AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND (cc0-1.0 + AND cc0-1.0) AND (cc0-1.0 OR openssl-ssleay OR apache-2.0) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (agpl-3.0 AND (artistic-perl-1.0 + OR gpl-1.0-plus)) AND other-permissive AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-1.0) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) + AND (((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND bsd-original) + AND (bsd-new AND other-permissive AND (artistic-perl-1.0 OR gpl-1.0-plus)) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND unicode-dfs-2015 AND unicode AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND ((artistic-perl-1.0 OR gpl-1.0-plus) AND (artistic-perl-1.0 OR gpl-1.0-plus)) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus + OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus + OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (gpl-1.0-plus OR artistic-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 AND (gpl-1.0-plus OR artistic-perl-1.0)) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((artistic-perl-1.0 + OR gpl-1.0-plus) AND (gpl-1.0-plus OR artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus + OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND (((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND bsd-new) AND ((artistic-perl-1.0 OR gpl-1.0-plus) AND bsd-new) AND ((gpl-1.0-plus AND + gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (((gpl-1.0-plus AND gpl-1.0) OR - (artistic-2.0 AND artistic-perl-1.0)) AND unicode-dfs-2015) AND mit AND ((gpl-1.0-plus AND - gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND bzip2-libbzip-2010 AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND zlib AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (warranty-disclaimer AND (gpl-1.0-plus OR artistic-perl-1.0)) AND + ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-2.0 - AND artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-2.0-plus - AND gpl-2.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-2.0-plus AND gpl-2.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (mit OR (gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (mit OR (gpl-1.0-plus AND gpl-1.0) - OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND fsf-ap AND mit AND mit AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND bsd-new AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND mit AND mit AND ((gpl-1.0-plus AND - gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND (cc0-1.0 AND cc0-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND other-permissive - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND (((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND bsd-original) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND unicode-dfs-2015 AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND (((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND bsd-new) AND - ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND - gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND (artistic-2.0 AND artistic-perl-1.0) AND artistic-1.0 + AND bsd-new AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND ((artistic-perl-1.0 OR gpl-1.0-plus) AND (artistic-perl-1.0 OR gpl-1.0-plus)) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND (artistic-2.0 AND artistic-perl-1.0) AND artistic-1.0 + AND (public-domain AND public-domain AND public-domain AND public-domain) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus OR artistic-perl-1.0) AND public-domain) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-2.0 - AND artistic-perl-1.0) AND bsd-new AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND (artistic-2.0 AND artistic-perl-1.0) AND (public-domain AND public-domain AND public-domain - AND public-domain) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND fsf-ap AND ((gpl-1.0-plus AND gpl-1.0) - OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND other-copyleft AND ((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0) OR artistic-dist-1.0) AND artistic-dist-1.0 AND ((artistic-2.0 AND - artistic-perl-1.0) OR (gpl-1.0-plus AND gpl-1.0) OR artistic-dist-1.0) AND (((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND mit) AND ((gpl-1.0-plus AND gpl-1.0) - OR (artistic-2.0 AND artistic-perl-1.0)) -- | + AND public-domain-disclaimer) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND fsf-ap + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND ((gpl-1.0-plus OR artistic-perl-1.0) AND public-domain) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus + AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) + AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (gpl-1.0-plus + OR artistic-perl-1.0) AND other-copyleft AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 + AND artistic-perl-1.0)) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND ((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0) OR artistic-dist-1.0) AND (artistic-2.0 AND (gpl-1.0-plus + OR artistic-perl-1.0)) AND artistic-dist-1.0 AND artistic-2.0 AND ((artistic-2.0 AND artistic-perl-1.0) + OR (gpl-1.0-plus AND gpl-1.0) OR artistic-dist-1.0) AND (artistic-2.0 AND public-domain AND + artistic-2.0) AND (((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND + mit) AND (gpl-1.0-plus OR artistic-perl-1.0) AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 + AND artistic-perl-1.0)) AND (gpl-1.0-plus OR artistic-perl-1.0) +copyright: | Perl is Copyright (C) 1987-2021 by Larry Wall and others. All rights reserved. Copyright (c) 1996-2006, Nick Ing-Simmons Copyright (c) 2006, 2007, 2008 Larry Wall and others @@ -704,3 +787,4777 @@ The other people listed in debian/changelog are most probably copyright holders too, but they have not included explicit copyright or licensing information. +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_249.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the LGPL 2.1 + license can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_395.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-1+' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0_38.RULE + license_expression: gpl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-1'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1040.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of version 2 of + the GNU General Public License can be found in + `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_26.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: artistic' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 21 + matched_length: 21 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_2.RULE + license_expression: artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the + Artistic Licence can be found in `/usr/share/common-licenses/Artistic'. + - score: '100.0' + start_line: 1 + end_line: 182 + matcher: 1-hash + rule_length: 1351 + matched_length: 1351 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_36.RULE + license_expression: artistic-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copyright (c) 2000-2006, The Perl Foundation. + + Everyone is permitted to copy and distribute verbatim copies of this + license document, but changing it is not allowed. + + Preamble + + This license establishes the terms under which a given free software + Package may be copied, modified, distributed, and/or redistributed. + The intent is that the Copyright Holder maintains some artistic + control over the development of that Package while still keeping the + Package available as open source and free software. + + You are always permitted to make arrangements wholly outside of this + license directly with the Copyright Holder of a given Package. If the + terms of this license do not permit the full use that you propose to + make of the Package, you should contact the Copyright Holder and seek + a different licensing arrangement. + + Definitions + + "Copyright Holder" means the individual(s) or organization(s) named in + the copyright notice for the entire Package. + + "Contributor" means any party that has contributed code or other + material to the Package, in accordance with the Copyright Holder's + procedures. + + "You" and "your" means any person who would like to copy, distribute, + or modify the Package. + + "Package" means the collection of files distributed by the Copyright + Holder, and derivatives of that collection and/or of those files. A + given Package may consist of either the Standard Version, or a + Modified Version. + + "Distribute" means providing a copy of the Package or making it + accessible to anyone else, or in the case of a company or + organization, to others outside of your company or organization. + + "Distributor Fee" means any fee that you charge for Distributing this + Package or providing support for this Package to another party. It + does not mean licensing fees. + + "Standard Version" refers to the Package if it has not been modified, + or has been modified only in ways explicitly requested by the + Copyright Holder. + + "Modified Version" means the Package, if it has been changed, and such + changes were not explicitly requested by the Copyright Holder. + + "Original License" means this Artistic License as Distributed with the + Standard Version of the Package, in its current version or as it may + be modified by The Perl Foundation in the future. + + "Source" form means the source code, documentation source, and + configuration files for the Package. + + "Compiled" form means the compiled bytecode, object code, binary, or + any other form resulting from mechanical transformation or translation + of the Source form. + + Permission for Use and Modification Without Distribution + + (1) You are permitted to use the Standard Version and create and use + Modified Versions for any purpose without restriction, provided that + you do not Distribute the Modified Version. + + Permissions for Redistribution of the Standard Version + + (2) You may Distribute verbatim copies of the Source form of the + Standard Version of this Package in any medium without restriction, + either gratis or for a Distributor Fee, provided that you duplicate + all of the original copyright notices and associated disclaimers. At + your discretion, such verbatim copies may or may not include a + Compiled form of the Package. + + (3) You may apply any bug fixes, portability changes, and other + modifications made available from the Copyright Holder. The resulting + Package will still be considered the Standard Version, and as such + will be subject to the Original License. + + Distribution of Modified Versions of the Package as Source + + (4) You may Distribute your Modified Version as Source (either gratis + or for a Distributor Fee, and with or without a Compiled form of the + Modified Version) provided that you clearly document how it differs + from the Standard Version, including, but not limited to, documenting + any non-standard features, executables, or modules, and provided that + you do at least ONE of the following: + + (a) make the Modified Version available to the Copyright Holder of the + Standard Version, under the Original License, so that the Copyright + Holder may include your modifications in the Standard Version. (b) + ensure that installation of your Modified Version does not prevent the + user installing or running the Standard Version. In addition, the + Modified Version must bear a name that is different from the name of + the Standard Version. (c) allow anyone who receives a copy of the + Modified Version to make the Source form of the Modified Version + available to others under (i) the Original License or (ii) a license + that permits the licensee to freely copy, modify and redistribute the + Modified Version using the same licensing terms that apply to the copy + that the licensee received, and requires that the Source form of the + Modified Version, and of any works derived from it, be made freely + available in that license fees are prohibited but Distributor Fees are + allowed. + + Distribution of Compiled Forms of the Standard Version or Modified + Versions without the Source + + (5) You may Distribute Compiled forms of the Standard Version without + the Source, provided that you include complete instructions on how to + get the Source of the Standard Version. Such instructions must be + valid at the time of your distribution. If these instructions, at any + time while you are carrying out such distribution, become invalid, you + must provide new instructions on demand or cease further distribution. + If you provide valid instructions or cease distribution within thirty + days after you become aware that the instructions are invalid, then + you do not forfeit any of your rights under this license. + + (6) You may Distribute a Modified Version in Compiled form without the + Source, provided that you comply with Section 4 with respect to the + Source of the Modified Version. + + Aggregating or Linking the Package + + (7) You may aggregate the Package (either the Standard Version or + Modified Version) with other packages and Distribute the resulting + aggregation provided that you do not charge a licensing fee for the + Package. Distributor Fees are permitted, and licensing fees for other + components in the aggregation are permitted. The terms of this license + apply to the use and Distribution of the Standard or Modified Versions + as included in the aggregation. + + (8) You are permitted to link Modified and Standard Versions with + other works, to embed the Package in a larger work of your own, or to + build stand-alone binary or bytecode versions of applications that + include the Package, and Distribute the result without restriction, + provided the result does not expose a direct interface to the Package. + + Items That are Not Considered Part of a Modified Version + + (9) Works (including, but not limited to, modules and scripts) that + merely extend or make use of the Package, do not, by themselves, cause + the Package to be a Modified Version. In addition, such works are not + considered parts of the Package itself, and are not subject to the + terms of this license. + + General Provisions + + (10) Any use, modification, and distribution of the Standard or + Modified Versions is governed by this Artistic License. By using, + modifying or distributing the Package, you accept this license. Do not + use, modify, or distribute the Package, if you do not accept this + license. + + (11) If your Modified Version has been derived from a Modified Version + made by someone other than you, you are nevertheless required to + ensure that your Modified Version complies with the requirements of + this license. + + (12) This license does not grant you the right to use any trademark, + service mark, tradename, or logo of the Copyright Holder. + + (13) This license includes the non-exclusive, worldwide, + free-of-charge patent license to make, have made, use, offer to sell, + sell, import and otherwise transfer the Package with respect to any + patent claims licensable by the Copyright Holder that are necessarily + infringed by the Package. If you institute patent litigation + (including a cross-claim or counterclaim) against any party alleging + that the Package constitutes direct or contributory patent + infringement, then this Artistic License to you shall terminate on the + date that such litigation is filed. + + (14) Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT + HOLDER AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED + WARRANTIES. THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A + PARTICULAR PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT + PERMITTED BY YOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT + HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE + OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 30 + matcher: 2-aho + rule_length: 233 + matched_length: 233 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bzip2-libbzip-2010.LICENSE + license_expression: bzip2-libbzip-2010 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + . + 2. The origin of this software must not be misrepresented; you must + not claim that you wrote the original software. If you use this + software in a product, an acknowledgment in the product + documentation would be appreciated but is not required. + . + 3. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + . + 4. The name of the author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + . + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + . + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_42.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 4. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '96.49' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 220 + matched_length: 220 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original_48.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer + in the documentation and/or other materials provided with the + distribution. + 3. All advertising materials mentioning features or use of this + software must display the following acknowledgement: + This product includes software developed by [Powerdog] [Industries]. + 4. The name of [Powerdog] [Industries] may not be used to endorse or + promote products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY [POWERDOG] [INDUSTRIES] ``AS IS'' AND ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE [POWERDOG] [INDUSTRIES] BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '99.78' + start_line: 2 + end_line: 56 + matcher: 3-seq + rule_length: 464 + matched_length: 463 + match_coverage: '99.78' + rule_relevance: 100 + identifier: unicode-dfs-2015_1.RULE + license_expression: unicode-dfs-2015 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE + + Unicode Data Files include all data files under the directories + http://www.unicode.org/Public/, http://www.unicode.org/reports/, + and http://www.unicode.org/cldr/data/ . Unicode Data Files + do not include PDF online code charts under the directory + http://www.unicode.org/Public/. Software includes any + source code published in the Unicode Standard or under the directories + http://www.unicode.org/Public/, http://www.unicode.org/reports/, + and http://www.unicode.org/cldr/data/. + + NOTICE TO USER: Carefully read the following legal agreement. BY + DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE + INC.'S DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"), YOU + UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE TERMS AND + CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT DOWNLOAD, + INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE. + + COPYRIGHT AND PERMISSION NOTICE + + Copyright © 1991-[2011] Unicode, Inc. All rights + reserved. Distributed under the Terms of Use in + http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person + obtaining a copy of the Unicode data files and any associated + documentation (the "Data Files") or Unicode software and any + associated documentation (the "Software") to deal in the Data Files + or Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, + and/or sell copies of the Data Files or Software, and to permit + persons to whom the Data Files or Software are furnished to do so, + provided that (a) the above copyright notice(s) and this permission + notice appear with all copies of the Data Files or Software, + (b) both the above copyright notice(s) and this permission notice + appear in associated documentation, and (c) there is clear notice + in each modified Data File or in the Software as well as in the + documentation associated with the Data File(s) or Software that + the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY + OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE + WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE + AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE + COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE + FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, + OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR + PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THE DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in these Data Files or Software without + prior written authorization of the copyright holder. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 207 + matched_length: 207 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_313.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: regexp.LICENSE + license_expression: regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to anyone to use this software for any + purpose on any computer system, and to redistribute it freely, + subject to the following restrictions: + + 1. The author is not responsible for the consequences of use of + this software, no matter how awful, even if they arise + from defects in it. + + 2. The origin of this software must not be misrepresented, either + by explicit claim or by omission. + + 3. Altered versions must be plainly marked as such, and must not + be misrepresented as being the original software. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_212.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module may be modified, used, copied, and redistributed at your own risk. + + Although allowed by the preceding license, please do not publicly + redistribute modified versions of this code with the name "Text::Tabs" + unless it passes the unmodified Text::Tabs test suite. + - score: '90.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_4.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_45.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: placed in the public domain. + - score: '100.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_285.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is in the public domain, + - score: '70.0' + start_line: 10 + end_line: 10 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public-domain + - score: '70.0' + start_line: '19' + end_line: '19' + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 1-hash + rule_length: 208 + matched_length: 208 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_bison-exception-3.0_1.RULE + license_expression: gpl-3.0-plus WITH bison-exception-2.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 121 + matched_length: 121 + match_coverage: '100.0' + rule_relevance: 100 + identifier: paul-hsieh-derivative_1.RULE + license_expression: paul-hsieh-derivative + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The derivative content includes raw computer source code, ideas, + opinions, and excerpts whose original source is covered under another + license and transformations of such derivatives. Note that mere excerpts + by themselves (with the exception of raw source code) are not considered + derivative works under this license. Use and redistribution is limited + to the following conditions: + + One may not create a derivative work which, in any way, violates the + Paul Hsieh exposition license described above on the original content. + + One may not apply a license to a derivative work that precludes + anyone else from using and redistributing derivative content. + + One may not attribute any derivative content to authors not involved + in the creation of the content, though an attribution to the author + is not necessary. + - score: '99.0' + start_line: 4 + end_line: 29 + matcher: 2-aho + rule_length: 217 + matched_length: 217 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-x11_10.RULE + license_expression: bsd-x11 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + Neither my name, Paul Hsieh, nor the names of any other contributors + to the code use may not be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '99.38' + start_line: 1 + end_line: 120 + matcher: 3-seq + rule_length: 975 + matched_length: 969 + match_coverage: '99.38' + rule_relevance: 100 + identifier: cc0-1.0_116.RULE + license_expression: cc0-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + of Purpose + + The laws of most jurisdictions throughout the world automatically confer + exclusive Copyright and Related Rights (defined below) upon the creator + and subsequent owner(s) (each and all, an "owner") of an original work + of authorship and/or a database (each, a "Work"). + + Certain owners wish to permanently relinquish those rights to a Work + for the purpose of contributing to a commons of creative, cultural and + scientific works ("Commons") that the public can reliably and without + fear of later claims of infringement build upon, modify, incorporate in + other works, reuse and redistribute as freely as possible in any form + whatsoever and for any purposes, including without limitation commercial + purposes. These owners may contribute to the Commons to promote the ideal + of a free culture and the further production of creative, cultural and + scientific works, or to gain reputation or greater distribution for + their Work in part through the use and efforts of others. + + For these and/or other purposes and motivations, and without any + expectation of additional consideration or compensation, the person + associating CC0 with a Work (the "Affirmer"), to the extent that + he or she is an owner of Copyright and Related Rights in the Work, + voluntarily elects to apply CC0 to the Work and publicly distribute + the Work under its terms, with knowledge of his or her Copyright and + Related Rights in the Work and the meaning and intended legal effect + of CC0 on those rights. + + 1. Copyright and Related Rights. A Work made available under CC0 may be + protected by copyright and related or neighboring rights ("Copyright + and Related Rights"). Copyright and Related Rights include, but are + not limited to, the following: + + the right to reproduce, adapt, distribute, perform, display, + communicate, and translate a Work; + + moral rights retained by the original author(s) and/or performer(s); + + publicity and privacy rights pertaining to a person's image or + likeness depicted in a Work; + + rights protecting against unfair competition in regards to a Work, + subject to the limitations in paragraph 4(a), below; + + rights protecting the extraction, dissemination, use and reuse of data in a Work; + + database rights (such as those arising under Directive 96/9/EC + of the European Parliament and of the Council of 11 March 1996 + on the legal protection of databases, and under any national + implementation thereof, including any amended or successor version + of such directive); and + + other similar, equivalent or corresponding rights throughout the world + based on applicable law or treaty, and any national implementations + thereof. + + 2. Waiver. To the greatest extent permitted by, but not in contravention + of, applicable law, Affirmer hereby overtly, fully, permanently, + irrevocably and unconditionally waives, abandons, and surrenders all + of Affirmer's Copyright and Related Rights and associated claims and + causes of action, whether now known or unknown (including existing + as well as future claims and causes of action), in the Work (i) in + all territories worldwide, (ii) for the maximum duration provided by + applicable law or treaty (including future time extensions), (iii) + in any current or future medium and for any number of copies, and (iv) + for any purpose whatsoever, including without limitation commercial, + advertising or promotional purposes (the "Waiver"). Affirmer makes the + Waiver for the benefit of each member of the public at large and to the + detriment of Affirmer's heirs and successors, fully intending that such + Waiver shall not be subject to revocation, rescission, cancellation, + termination, or any other legal or equitable action to disrupt the + quiet enjoyment of the Work by the public as contemplated by Affirmer's + express Statement of Purpose. + + 3. Public License Fallback. Should any part of the Waiver for any + reason be judged legally invalid or ineffective under applicable law, + then the Waiver shall be preserved to the maximum extent permitted + taking into account Affirmer's express Statement of Purpose. In + addition, to the extent the Waiver is so judged Affirmer hereby + grants to each affected person a royalty-free, non transferable, non + sublicensable, non exclusive, irrevocable and unconditional license + to exercise Affirmer's Copyright and Related Rights in the Work (i) + in all territories worldwide, (ii) for the maximum duration provided + by applicable law or treaty (including future time extensions), (iii) + in any current or future medium and for any number of copies, and (iv) + for any purpose whatsoever, including without limitation commercial, + advertising or promotional purposes (the "License"). The License shall + be deemed effective as of the date CC0 was applied by Affirmer to the + Work. Should any part of the License for any reason be judged legally + invalid or ineffective under applicable law, such partial invalidity + or ineffectiveness shall not invalidate the remainder of the License, + and in such case Affirmer hereby affirms that he or she will not (i) + exercise any of his or her remaining Copyright and Related Rights in + the Work or (ii) assert any associated claims and causes of action + with respect to the Work, in either case contrary to Affirmer's express + Statement of Purpose. + + 4. Limitations and Disclaimers. + + No trademark or patent rights held by Affirmer are waived, + abandoned, surrendered, licensed or otherwise affected by this + document. + + Affirmer offers the Work as-is and makes no representations or + warranties of any kind concerning the Work, express, implied, + statutory or otherwise, including without limitation warranties + of title, merchantability, fitness for a particular purpose, non + infringement, or the absence of latent or other defects, accuracy, + or the present or absence of errors, whether or not discoverable, + all to the greatest extent permissible under applicable law. + + Affirmer disclaims responsibility for clearing rights of other + persons that may apply to the Work or any use thereof, including + without limitation any person's Copyright and Related Rights in the + Work. Further, Affirmer disclaims responsibility for obtaining any + necessary consents, permissions or other rights required for any + use of the Work. + + Affirmer understands and acknowledges that Creative Commons is not + a party to this document and has no duty or obligation with respect + to this CC0 or use of the Work. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap.LICENSE + license_expression: fsf-ap + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, are + permitted in any medium without royalty provided the copyright notice and + this notice are preserved. This file is offered as-is, without any + warranty. + - score: '100.0' + start_line: 1 + end_line: 125 + matcher: 1-hash + rule_length: 946 + matched_length: 946 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-dist-1.0.LICENSE + license_expression: artistic-dist-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The "Artistic License" + + Preamble + + The intent of this document is to state the conditions under which a + Package may be copied, such that the Copyright Holder maintains some + semblance of artistic control over the development of the Package, + while giving the users of the package the right to use and distribute + the Package in a more-or-less customary fashion, plus the right to make + reasonable modifications. + + It also grants you the rights to reuse parts of a Package in your own + programs without transferring this License to those programs, provided + that you meet some reasonable requirements. + + Definitions: + + "Package" refers to the collection of files distributed by the + Copyright Holder, and derivatives of that collection of files + created through textual modification. + + "Standard Version" refers to such a Package if it has not been + modified, or has been modified in accordance with the wishes + of the Copyright Holder as specified below. + + "Copyright Holder" is whoever is named in the copyright or + copyrights for the package. + + "You" is you, if you're thinking about copying or distributing + this Package. + + "Reasonable copying fee" is whatever you can justify on the + basis of media cost, duplication charges, time of people involved, + and so on. (You will not be required to justify it to the + Copyright Holder, but only to the computing community at large + as a market that must bear the fee.) + + "Freely Available" means that no fee is charged for the item + itself, though there may be fees involved in handling the item. + It also means that recipients of the item may redistribute it + under the same conditions they received it. + + 1. You may make and give away verbatim copies of the source form of the + Standard Version of this Package without restriction, provided that you + duplicate all of the original copyright notices and associated disclaimers. + + 2. You may apply bug fixes, portability fixes and other modifications + derived from the Public Domain or from the Copyright Holder. A Package + modified in such a way shall still be considered the Standard Version. + + 3. You may otherwise modify your copy of this Package in any way, provided + that you insert a prominent notice in each changed file stating how and + when you changed that file, and provided that you do at least ONE of the + following: + + a) place your modifications in the Public Domain or otherwise make them + Freely Available, such as by posting said modifications to Usenet or + an equivalent medium, or placing the modifications on a major archive + site such as uunet.uu.net, or by allowing the Copyright Holder to include + your modifications in the Standard Version of the Package. + + b) use the modified Package only within your corporation or organization. + + c) rename any non-standard executables so the names do not conflict + with standard executables, which must also be provided, and provide + a separate manual page for each non-standard executable that clearly + documents how it differs from the Standard Version. + + d) make other distribution arrangements with the Copyright Holder. + + 4. You may distribute the programs of this Package in object code or + executable form, provided that you do at least ONE of the following: + + a) distribute a Standard Version of the executables and library files, + together with instructions (in the manual page or equivalent) on where + to get the Standard Version. + + b) accompany the distribution with the machine-readable source of + the Package with your modifications. + + c) give non-standard executables non-standard names, and clearly + document the differences in manual pages (or equivalent), together + with instructions on where to get the Standard Version. + + d) make other distribution arrangements with the Copyright Holder. + + 5. You may charge a reasonable copying fee for any distribution of this + Package. You may charge any fee you choose for support of this + Package. You may not charge a fee for this Package itself. However, + you may distribute this Package in aggregate with other (possibly + commercial) programs as part of a larger (possibly commercial) software + distribution provided that you do not advertise this Package as a + product of your own. + + 6. The scripts and library files supplied as input to or produced as + output from the programs of this Package do not automatically fall + under the copyright of this Package, but belong to whoever generated + them, and may be sold commercially, and may be aggregated with this + Package. If such scripts or library files are aggregated with this + Package via the so-called "undump" or "unexec" methods of producing a + binary executable image, then distribution of such an image shall + neither be construed as a distribution of this Package nor shall it + fall under the restrictions of Paragraphs 3 and 4, provided that you do + not represent such an executable image as a Standard Version of this + Package. + + 7. You may reuse parts of this Package in your own programs, provided that + you explicitly state where you got them from, in the source code (and, left + to your courtesy, in the documentation), duplicating all the associated + copyright notices and disclaimers. Besides your changes, if any, must be + clearly marked as such. Parts reused that way will no longer fall under this + license if, and only if, the name of your program(s) have no immediate + connection with the name of the Package itself or its associated programs. + You may then apply whatever restrictions you wish on the reused parts or + choose to place them in the Public Domain--this will apply only within the + context of your package. + + 8. The name of the Copyright Holder may not be used to endorse or promote + products derived from this software without specific prior written permission. + + 9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + The End + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 2-aho + rule_length: 49 + matched_length: 49 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_17.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of either: + + a) the GNU General Public License as published by the Free Software + Foundation; either version 1, or (at your option) any later + version, or + + b) the "Artistic License" which comes with Perl. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_14.RULE + license_expression: unicode + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: For terms of use, see http://www.unicode.org/terms_of_use.html + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_26.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself, either Perl version 5.10.0 or, + at your option, any later version of Perl 5 you may have available. + - score: '95.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 20 + matched_length: '19' + match_coverage: '95.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_34.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: All files are licensed under the same terms as Perl itself. + - score: '90.91' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_32.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: The [PerlUi] class is licensed under the same terms as Perl itself. + - score: '91.67' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_31.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: The [Symbian] port is licensed under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that the test code is licensed under the same terms + as Perl. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under the same + terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '73.33' + start_line: 3 + end_line: 3 + matcher: 3-seq + rule_length: 15 + matched_length: 11 + match_coverage: '73.33' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [they] [are] licensed under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_25.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_11.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This package has the same copyright and license as the perl core. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the + same terms as Perl itself. + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the + same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_38.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the the Artistic License (2.0). + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software. You can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 7 + matcher: 1-hash + rule_length: 61 + matched_length: 61 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-2.0-plus_2.RULE + license_expression: artistic-perl-1.0 OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + + These terms are your choice of any of (1) the Perl Artistic Licence, + or (2) version 2 of the GNU General Public License as published by the + Free Software Foundation, or (3) any later version of the GNU General + Public License. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 9 + end_line: 11 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_14.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute this work under the terms of either the GNU General + Public License or the Artistic License, as specified in perl's README + file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_15.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_25.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 47 + matched_length: 47 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-2.0-plus_3.RULE + license_expression: artistic-perl-1.0 OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the terms of the Perl Artistic License or the + GNU General Public License as published by the Free Software + Foundation; either version 2 of the License, or (at your option) any + later version. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute + it and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_15.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public License + or the Artistic License, as specified in the LICENCE file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_or_gpl-1.0-plus_or_artistic-perl-1.0_1.RULE + license_expression: mit OR gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is released under the MIT license cited below. Additionally, + when this software is distributed with Perl Kit, Version 5, you may also + redistribute it and/or modify it under the same terms as Perl itself. + - score: '66.67' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 15 + matched_length: 10 + match_coverage: '66.67' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [these] [translations] [are] licensed under the same terms + as + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 2-aho + rule_length: 34 + matched_length: 34 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_8.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + + You may copy and distribute this program under the same terms as + Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 9 + end_line: 18 + matcher: 2-aho + rule_length: 87 + matched_length: 87 + match_coverage: '100.0' + rule_relevance: 100 + identifier: historical_9.RULE + license_expression: historical + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this material + for any purpose and without fee is hereby granted, provided + that the above copyright notice and this permission notice + appear in all copies, and that the name of Bellcore not be + used in advertising or publicity pertaining to this + material without the specific, prior written permission + of an authorized representative of Bellcore. BELLCORE + MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY + OF THIS MATERIAL FOR ANY PURPOSE. IT IS PROVIDED "AS IS", + WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_10.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This module is released under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_5.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; + you can redistribute it and/or modify it under the same terms + as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '11.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: artistic-2.0_18.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Artistic License. + - score: '100.0' + start_line: 12 + end_line: 16 + matcher: 2-aho + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_286.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples here are in the public + domain. You are permitted and encouraged to use this code and any + derivatives thereof in your own programs for fun or for profit as you + see fit. A simple comment in the code giving credit to the FAQ would + be courteous but is not required. + - score: '100.0' + start_line: 20 + end_line: 22 + matcher: 2-aho + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_and_public-domain-disclaimer_1.RULE + license_expression: artistic-2.0 AND public-domain-disclaimer + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This document is available under the same terms as Perl itself. Code + examples in all the perlfaq documents are in the public domain. Use + them as you see fit (and at your own risk with no warranty from anyone). + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_5.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; + you can redistribute it and/or modify it under the same terms + as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under + the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_6.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 8 + matcher: 2-aho + rule_length: 53 + matched_length: 53 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_287.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples in these files + are hereby placed into the public domain. You are permitted and + encouraged to use this code in your own programs for fun + or for profit as you see fit. A simple comment in the code giving + credit would be courteous but is not required. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '12.7' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 63 + matched_length: 8 + match_coverage: '12.7' + rule_relevance: 100 + identifier: cc0-1.0_or_openssl-ssleay_or_apache-2.0_6.RULE + license_expression: cc0-1.0 OR openssl-ssleay OR apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + http://creativecommons.org/publicdomain/zero/1.0/ + [and] [the] [full] license + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed and/or + modified under the same terms as Perl itself. + - score: '11.84' + start_line: 2 + end_line: 5 + matcher: 3-seq + rule_length: 76 + matched_length: 9 + match_coverage: '11.84' + rule_relevance: 100 + identifier: agpl-3.0_209.RULE + license_expression: agpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + notices this [distribution]. + + [This] [library] [is] [free] [software]; [you] [may] redistribute and/or modify it + under the + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_25.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the same + terms as Perl. + - score: '84.86' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-new_242.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is licensed under the BSD-[like] license + - score: '11.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: other-permissive_16.RULE + license_expression: other-permissive + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: BSD-like + - score: '73.33' + start_line: 3 + end_line: 4 + matcher: 3-seq + rule_length: 15 + matched_length: 11 + match_coverage: '73.33' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that the [other] [parts] [are] licensed under the same + terms as + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_14.RULE + license_expression: unicode + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: For terms of use, see http://www.unicode.org/terms_of_use.html + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_17.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '80.0' + start_line: 9 + end_line: 10 + matcher: 3-seq + rule_length: 10 + matched_length: 8 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_32.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + licensed under the same terms + as Perl itself + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '15.0' + start_line: 1 + end_line: 1 + matcher: 3-seq + rule_length: 40 + matched_length: 6 + match_coverage: '15.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_perl5_2.RULE + license_expression: artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: You can redistribute and/or modify + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the same terms + as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '34.85' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 66 + matched_length: 23 + match_coverage: '34.85' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_2.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + + [The] [atmark]() [implementation]: [Copyright] [2001], [Lincoln] [Stein] <[lstein]@[cshl].[org]>. + [This] [module] is distributed under + - score: '100.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_11.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This package has the same copyright and license as the perl core. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '90.91' + start_line: 7 + end_line: 8 + matcher: 3-seq + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_763.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + licensed + under the terms of the "BSD-3-clause-[GENERIC]" license + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '95.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 20 + matched_length: '19' + match_coverage: '95.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: warranty-disclaimer_50.RULE + license_expression: warranty-disclaimer + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + provided "as is" without express + or implied warranty. + - score: '75.0' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 20 + matched_length: 15 + match_coverage: '75.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It may be used, redistributed and/or modified + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '80.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that [this] + [distribution] is licensed under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '95.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 20 + matched_length: '19' + match_coverage: '95.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '80.0' + start_line: 3 + end_line: 4 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that [it] is licensed under + the same terms as Perl + - score: '80.0' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [this] [file] is licensed under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_26.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Artistic/' + - score: '50.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 50 + identifier: gpl_bare_word_only.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '90.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: artistic-1.0_11.RULE + license_expression: artistic-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the artistic license. + - score: '80.0' + start_line: 3 + end_line: 3 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [it] is licensed under the same terms as Perl + - score: '80.0' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + it is assumed that [this] [file] is licensed under the same terms + as Perl + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself, + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: artistic-1.0_11.RULE + license_expression: artistic-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the Artistic License. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the same terms as Perl + itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_6.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 8 + matcher: 2-aho + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_286.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples here are in the public + domain. You are permitted and encouraged to use this code and any + derivatives thereof in your own programs for fun or for profit as you + see fit. A simple comment in the code giving credit to the FAQ would + be courteous but is not required. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_and_public-domain-disclaimer_1.RULE + license_expression: artistic-2.0 AND public-domain-disclaimer + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This document is available under the same terms as Perl itself. Code + examples in all the perlfaq documents are in the public domain. Use + them as you see fit (and at your own risk with no warranty from anyone). + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it under + the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_6.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 8 + matcher: 2-aho + rule_length: 53 + matched_length: 53 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_287.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples in these files are + hereby placed into the public domain. You are permitted and + encouraged to use this code in your own programs for fun or for profit + as you see fit. A simple comment in the code giving credit would be + courteous but is not required. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '21.28' + start_line: 17 + end_line: '19' + matcher: 3-seq + rule_length: 47 + matched_length: 10 + match_coverage: '21.28' + rule_relevance: 100 + identifier: artistic-2.0_4.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the "Artistic License" which comes with Perl, [or] + + [b]) the "Artistic License" + - score: '57.14' + start_line: 21 + end_line: 26 + matcher: 3-seq + rule_length: 49 + matched_length: 28 + match_coverage: '57.14' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_17.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License as published by the Free + Software Foundation; either version 1, or (at your option) any + later version ([see] [the] [file] "[Copying]" [that] [comes] [with] [the] + [Perl] [distribution]). + + [The] [full] [text] [of] the "Artistic License" which comes with + - score: '83.33' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_31.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: licensed under the [modified] Artistic license + - score: '11.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: artistic-2.0_18.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Artistic License. + - score: '100.0' + start_line: 18 + end_line: 18 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_298.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: in the Public Domain-- + - score: '11.0' + start_line: 27 + end_line: 27 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: artistic-2.0_18.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Artistic license. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 49 + matched_length: 49 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_17.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of either: + + a) the GNU General Public License as published by the Free Software + Foundation; either version 1, or (at your option) any later + version, or + + b) the "Artistic License" which comes with Perl. + - score: '55.0' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 20 + matched_length: 11 + match_coverage: '55.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + redistributed + and/or modified under the same terms as Perl itself. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/perl-base/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/perl-base/copyright.expected.yml index baf915cdf28..a5a5437c907 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/perl-base/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/perl-base/copyright.expected.yml @@ -1,4 +1,6 @@ -- - GPL-1+ or Artistic +primary_license: (gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0) +declared_license: + - GPL-1+ or Artistic - Expat - REGCOMP, and GPL-1+ or Artistic - GPL-3+-WITH-BISON-EXCEPTION @@ -31,20 +33,31 @@ - REGCOMP - HSIEH-DERIVATIVE - HSIEH-BSD -- ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND mit AND (regexp AND - ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0))) AND gpl-3.0-plus WITH - bison-exception-2.2 AND unicode-dfs-2015 AND (((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 - AND artistic-perl-1.0)) AND unicode-dfs-2015) AND bzip2-libbzip-2010 AND zlib AND (artistic-2.0 - AND artistic-perl-1.0) AND ((gpl-2.0-plus AND gpl-2.0) OR (artistic-2.0 AND artistic-perl-1.0)) - AND (mit OR (gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND fsf-ap - AND bsd-new AND (cc0-1.0 AND cc0-1.0) AND other-permissive AND (((gpl-1.0-plus AND gpl-1.0) - OR (artistic-2.0 AND artistic-perl-1.0)) AND bsd-original) AND (((gpl-1.0-plus AND gpl-1.0) - OR (artistic-2.0 AND artistic-perl-1.0)) AND bsd-new) AND bsd-new AND (public-domain AND public-domain - AND public-domain AND public-domain) AND other-copyleft AND ((gpl-1.0-plus AND gpl-1.0) OR - (artistic-2.0 AND artistic-perl-1.0) OR artistic-dist-1.0) AND artistic-dist-1.0 AND ((artistic-2.0 - AND artistic-perl-1.0) OR (gpl-1.0-plus AND gpl-1.0) OR artistic-dist-1.0) AND (((gpl-1.0-plus - AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND mit) -- | +license_expression: ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND + (gpl-1.0-plus OR artistic-perl-1.0) AND mit AND (regexp AND ((gpl-1.0-plus AND gpl-1.0) OR + (artistic-2.0 AND artistic-perl-1.0))) AND (artistic-perl-1.0 OR gpl-1.0-plus) AND gpl-3.0-plus + WITH bison-exception-2.2 AND unicode-dfs-2015 AND unicode AND (((gpl-1.0-plus AND gpl-1.0) + OR (artistic-2.0 AND artistic-perl-1.0)) AND unicode-dfs-2015) AND (gpl-1.0-plus OR artistic-1.0) + AND bzip2-libbzip-2010 AND zlib AND (artistic-2.0 AND artistic-perl-1.0) AND artistic-2.0 + AND ((gpl-2.0-plus AND gpl-2.0) OR (artistic-2.0 AND artistic-perl-1.0)) AND (artistic-perl-1.0 + OR gpl-2.0-plus) AND (mit OR (gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND (mit OR gpl-1.0-plus OR artistic-perl-1.0) AND ((artistic-perl-1.0 OR gpl-1.0-plus) AND + historical) AND fsf-ap AND (artistic-2.0 AND public-domain AND (artistic-2.0 AND public-domain-disclaimer)) + AND bsd-new AND ((gpl-1.0-plus OR artistic-perl-1.0) AND public-domain) AND cc0-1.0 AND (cc0-1.0 + OR openssl-ssleay OR apache-2.0) AND (agpl-3.0 AND (artistic-perl-1.0 OR gpl-1.0-plus)) AND + other-permissive AND (((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0)) + AND bsd-original) AND (bsd-new AND other-permissive AND (artistic-perl-1.0 OR gpl-1.0-plus)) + AND (artistic-perl-1.0 AND (gpl-1.0-plus OR artistic-perl-1.0)) AND ((artistic-perl-1.0 OR + gpl-1.0-plus) AND (gpl-1.0-plus OR artistic-perl-1.0)) AND (((gpl-1.0-plus AND gpl-1.0) OR + (artistic-2.0 AND artistic-perl-1.0)) AND bsd-new) AND ((artistic-perl-1.0 OR gpl-1.0-plus) + AND bsd-new) AND (warranty-disclaimer AND (gpl-1.0-plus OR artistic-perl-1.0)) AND (artistic-2.0 + AND gpl-1.0-plus) AND artistic-1.0 AND public-domain AND (artistic-2.0 AND public-domain-disclaimer) + AND other-copyleft AND ((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND artistic-perl-1.0) + OR artistic-dist-1.0) AND (artistic-2.0 AND (gpl-1.0-plus OR artistic-perl-1.0)) AND artistic-dist-1.0 + AND ((artistic-2.0 AND artistic-perl-1.0) OR (gpl-1.0-plus AND gpl-1.0) OR artistic-dist-1.0) + AND (artistic-2.0 AND public-domain) AND (((gpl-1.0-plus AND gpl-1.0) OR (artistic-2.0 AND + artistic-perl-1.0)) AND mit) +copyright: | Perl is Copyright (C) 1987-2021 by Larry Wall and others. All rights reserved. Copyright (c) 1996-2006, Nick Ing-Simmons Copyright (c) 2006, 2007, 2008 Larry Wall and others @@ -87,7 +100,6 @@ Copyright (C) 2000-01, 2002 Novell, Inc. All Rights Reserved. Copyright (C) 1993-2015 by Charles Bailey and others. Copyright (C) 1993 Eric Young - see README for more details - unknown 2002 - 2009 Jos Boumans . All rights reserved. This package has the same copyright and license as the perl core: Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, @@ -210,7 +222,6 @@ Copyright (c) 1996 by Eryq. All rights reserved. Copyright (c) 1999,2001 by ZeeGee Software Inc. All rights reserved. Copyright 2003 by Fergal Daly . - none To the extent possible under law, 唐鳳 has waived all copyright and related or neighboring rights to L Copyright 1997 - 2001 Damian Conway. All Rights Reserved. @@ -343,3 +354,4777 @@ Copyright (c) 2017 Dagfinn Ilmari Mannsåker Copyright (c) 2017-2019, Karl Williamson Portions Copyright (c) 2008-2009 Bjoern Hoehrmann +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_38.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_249.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the LGPL 2.1 + license can be found in `/usr/share/common-licenses/LGPL-2.1'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_395.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-1+' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0_38.RULE + license_expression: gpl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-1'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1040.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of version 2 of + the GNU General Public License can be found in + `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_26.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: artistic' + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 21 + matched_length: 21 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_2.RULE + license_expression: artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian GNU/Linux systems, the complete text of the + Artistic Licence can be found in `/usr/share/common-licenses/Artistic'. + - score: '100.0' + start_line: 1 + end_line: 182 + matcher: 1-hash + rule_length: 1351 + matched_length: 1351 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_36.RULE + license_expression: artistic-2.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copyright (c) 2000-2006, The Perl Foundation. + + Everyone is permitted to copy and distribute verbatim copies of this + license document, but changing it is not allowed. + + Preamble + + This license establishes the terms under which a given free software + Package may be copied, modified, distributed, and/or redistributed. + The intent is that the Copyright Holder maintains some artistic + control over the development of that Package while still keeping the + Package available as open source and free software. + + You are always permitted to make arrangements wholly outside of this + license directly with the Copyright Holder of a given Package. If the + terms of this license do not permit the full use that you propose to + make of the Package, you should contact the Copyright Holder and seek + a different licensing arrangement. + + Definitions + + "Copyright Holder" means the individual(s) or organization(s) named in + the copyright notice for the entire Package. + + "Contributor" means any party that has contributed code or other + material to the Package, in accordance with the Copyright Holder's + procedures. + + "You" and "your" means any person who would like to copy, distribute, + or modify the Package. + + "Package" means the collection of files distributed by the Copyright + Holder, and derivatives of that collection and/or of those files. A + given Package may consist of either the Standard Version, or a + Modified Version. + + "Distribute" means providing a copy of the Package or making it + accessible to anyone else, or in the case of a company or + organization, to others outside of your company or organization. + + "Distributor Fee" means any fee that you charge for Distributing this + Package or providing support for this Package to another party. It + does not mean licensing fees. + + "Standard Version" refers to the Package if it has not been modified, + or has been modified only in ways explicitly requested by the + Copyright Holder. + + "Modified Version" means the Package, if it has been changed, and such + changes were not explicitly requested by the Copyright Holder. + + "Original License" means this Artistic License as Distributed with the + Standard Version of the Package, in its current version or as it may + be modified by The Perl Foundation in the future. + + "Source" form means the source code, documentation source, and + configuration files for the Package. + + "Compiled" form means the compiled bytecode, object code, binary, or + any other form resulting from mechanical transformation or translation + of the Source form. + + Permission for Use and Modification Without Distribution + + (1) You are permitted to use the Standard Version and create and use + Modified Versions for any purpose without restriction, provided that + you do not Distribute the Modified Version. + + Permissions for Redistribution of the Standard Version + + (2) You may Distribute verbatim copies of the Source form of the + Standard Version of this Package in any medium without restriction, + either gratis or for a Distributor Fee, provided that you duplicate + all of the original copyright notices and associated disclaimers. At + your discretion, such verbatim copies may or may not include a + Compiled form of the Package. + + (3) You may apply any bug fixes, portability changes, and other + modifications made available from the Copyright Holder. The resulting + Package will still be considered the Standard Version, and as such + will be subject to the Original License. + + Distribution of Modified Versions of the Package as Source + + (4) You may Distribute your Modified Version as Source (either gratis + or for a Distributor Fee, and with or without a Compiled form of the + Modified Version) provided that you clearly document how it differs + from the Standard Version, including, but not limited to, documenting + any non-standard features, executables, or modules, and provided that + you do at least ONE of the following: + + (a) make the Modified Version available to the Copyright Holder of the + Standard Version, under the Original License, so that the Copyright + Holder may include your modifications in the Standard Version. (b) + ensure that installation of your Modified Version does not prevent the + user installing or running the Standard Version. In addition, the + Modified Version must bear a name that is different from the name of + the Standard Version. (c) allow anyone who receives a copy of the + Modified Version to make the Source form of the Modified Version + available to others under (i) the Original License or (ii) a license + that permits the licensee to freely copy, modify and redistribute the + Modified Version using the same licensing terms that apply to the copy + that the licensee received, and requires that the Source form of the + Modified Version, and of any works derived from it, be made freely + available in that license fees are prohibited but Distributor Fees are + allowed. + + Distribution of Compiled Forms of the Standard Version or Modified + Versions without the Source + + (5) You may Distribute Compiled forms of the Standard Version without + the Source, provided that you include complete instructions on how to + get the Source of the Standard Version. Such instructions must be + valid at the time of your distribution. If these instructions, at any + time while you are carrying out such distribution, become invalid, you + must provide new instructions on demand or cease further distribution. + If you provide valid instructions or cease distribution within thirty + days after you become aware that the instructions are invalid, then + you do not forfeit any of your rights under this license. + + (6) You may Distribute a Modified Version in Compiled form without the + Source, provided that you comply with Section 4 with respect to the + Source of the Modified Version. + + Aggregating or Linking the Package + + (7) You may aggregate the Package (either the Standard Version or + Modified Version) with other packages and Distribute the resulting + aggregation provided that you do not charge a licensing fee for the + Package. Distributor Fees are permitted, and licensing fees for other + components in the aggregation are permitted. The terms of this license + apply to the use and Distribution of the Standard or Modified Versions + as included in the aggregation. + + (8) You are permitted to link Modified and Standard Versions with + other works, to embed the Package in a larger work of your own, or to + build stand-alone binary or bytecode versions of applications that + include the Package, and Distribute the result without restriction, + provided the result does not expose a direct interface to the Package. + + Items That are Not Considered Part of a Modified Version + + (9) Works (including, but not limited to, modules and scripts) that + merely extend or make use of the Package, do not, by themselves, cause + the Package to be a Modified Version. In addition, such works are not + considered parts of the Package itself, and are not subject to the + terms of this license. + + General Provisions + + (10) Any use, modification, and distribution of the Standard or + Modified Versions is governed by this Artistic License. By using, + modifying or distributing the Package, you accept this license. Do not + use, modify, or distribute the Package, if you do not accept this + license. + + (11) If your Modified Version has been derived from a Modified Version + made by someone other than you, you are nevertheless required to + ensure that your Modified Version complies with the requirements of + this license. + + (12) This license does not grant you the right to use any trademark, + service mark, tradename, or logo of the Copyright Holder. + + (13) This license includes the non-exclusive, worldwide, + free-of-charge patent license to make, have made, use, offer to sell, + sell, import and otherwise transfer the Package with respect to any + patent claims licensable by the Copyright Holder that are necessarily + infringed by the Package. If you institute patent litigation + (including a cross-claim or counterclaim) against any party alleging + that the Package constitutes direct or contributory patent + infringement, then this Artistic License to you shall terminate on the + date that such litigation is filed. + + (14) Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT + HOLDER AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED + WARRANTIES. THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A + PARTICULAR PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT + PERMITTED BY YOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT + HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE + OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 30 + matcher: 2-aho + rule_length: 233 + matched_length: 233 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bzip2-libbzip-2010.LICENSE + license_expression: bzip2-libbzip-2010 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + . + 2. The origin of this software must not be misrepresented; you must + not claim that you wrote the original software. If you use this + software in a product, an acknowledgment in the product + documentation would be appreciated but is not required. + . + 3. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + . + 4. The name of the author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 132 + matched_length: 132 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib.LICENSE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + . + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + . + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + - score: '100.0' + start_line: 1 + end_line: 17 + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_42.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 4. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '96.49' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 220 + matched_length: 220 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original_48.RULE + license_expression: bsd-original + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer + in the documentation and/or other materials provided with the + distribution. + 3. All advertising materials mentioning features or use of this + software must display the following acknowledgement: + This product includes software developed by [Powerdog] [Industries]. + 4. The name of [Powerdog] [Industries] may not be used to endorse or + promote products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY [POWERDOG] [INDUSTRIES] ``AS IS'' AND ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE [POWERDOG] [INDUSTRIES] BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '99.78' + start_line: 2 + end_line: 56 + matcher: 3-seq + rule_length: 464 + matched_length: 463 + match_coverage: '99.78' + rule_relevance: 100 + identifier: unicode-dfs-2015_1.RULE + license_expression: unicode-dfs-2015 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE + + Unicode Data Files include all data files under the directories + http://www.unicode.org/Public/, http://www.unicode.org/reports/, + and http://www.unicode.org/cldr/data/ . Unicode Data Files + do not include PDF online code charts under the directory + http://www.unicode.org/Public/. Software includes any + source code published in the Unicode Standard or under the directories + http://www.unicode.org/Public/, http://www.unicode.org/reports/, + and http://www.unicode.org/cldr/data/. + + NOTICE TO USER: Carefully read the following legal agreement. BY + DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE + INC.'S DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"), YOU + UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE TERMS AND + CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT DOWNLOAD, + INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE. + + COPYRIGHT AND PERMISSION NOTICE + + Copyright © 1991-[2011] Unicode, Inc. All rights + reserved. Distributed under the Terms of Use in + http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person + obtaining a copy of the Unicode data files and any associated + documentation (the "Data Files") or Unicode software and any + associated documentation (the "Software") to deal in the Data Files + or Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, + and/or sell copies of the Data Files or Software, and to permit + persons to whom the Data Files or Software are furnished to do so, + provided that (a) the above copyright notice(s) and this permission + notice appear with all copies of the Data Files or Software, + (b) both the above copyright notice(s) and this permission notice + appear in associated documentation, and (c) there is clear notice + in each modified Data File or in the Software as well as in the + documentation associated with the Data File(s) or Software that + the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY + OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE + WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE + AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE + COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE + FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, + OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR + PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THE DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in these Data Files or Software without + prior written authorization of the copyright holder. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 207 + matched_length: 207 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_313.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 23 + matcher: 1-hash + rule_length: 213 + matched_length: 213 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_19.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 1-hash + rule_length: 88 + matched_length: 88 + match_coverage: '100.0' + rule_relevance: 100 + identifier: regexp.LICENSE + license_expression: regexp + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is granted to anyone to use this software for any + purpose on any computer system, and to redistribute it freely, + subject to the following restrictions: + + 1. The author is not responsible for the consequences of use of + this software, no matter how awful, even if they arise + from defects in it. + + 2. The origin of this software must not be misrepresented, either + by explicit claim or by omission. + + 3. Altered versions must be plainly marked as such, and must not + be misrepresented as being the original software. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 43 + matched_length: 43 + match_coverage: '100.0' + rule_relevance: 100 + identifier: other-permissive_212.RULE + license_expression: other-permissive + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module may be modified, used, copied, and redistributed at your own risk. + + Although allowed by the preceding license, please do not publicly + redistribute modified versions of this code with the name "Text::Tabs" + unless it passes the unmodified Text::Tabs test suite. + - score: '90.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 90 + identifier: other-copyleft_4.RULE + license_expression: other-copyleft + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_45.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: placed in the public domain. + - score: '100.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_285.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is in the public domain, + - score: '70.0' + start_line: 10 + end_line: 10 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public-domain + - score: '70.0' + start_line: '19' + end_line: '19' + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain + - score: '100.0' + start_line: 1 + end_line: 25 + matcher: 1-hash + rule_length: 208 + matched_length: 208 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_with_bison-exception-3.0_1.RULE + license_expression: gpl-3.0-plus WITH bison-exception-2.2 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. + - score: '100.0' + start_line: 1 + end_line: 16 + matcher: 1-hash + rule_length: 121 + matched_length: 121 + match_coverage: '100.0' + rule_relevance: 100 + identifier: paul-hsieh-derivative_1.RULE + license_expression: paul-hsieh-derivative + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The derivative content includes raw computer source code, ideas, + opinions, and excerpts whose original source is covered under another + license and transformations of such derivatives. Note that mere excerpts + by themselves (with the exception of raw source code) are not considered + derivative works under this license. Use and redistribution is limited + to the following conditions: + + One may not create a derivative work which, in any way, violates the + Paul Hsieh exposition license described above on the original content. + + One may not apply a license to a derivative work that precludes + anyone else from using and redistributing derivative content. + + One may not attribute any derivative content to authors not involved + in the creation of the content, though an attribution to the author + is not necessary. + - score: '99.0' + start_line: 4 + end_line: 29 + matcher: 2-aho + rule_length: 217 + matched_length: 217 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-x11_10.RULE + license_expression: bsd-x11 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + Neither my name, Paul Hsieh, nor the names of any other contributors + to the code use may not be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: cc0-1.0_12.RULE + license_expression: cc0-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: cc0-1.0' + - score: '99.38' + start_line: 1 + end_line: 120 + matcher: 3-seq + rule_length: 975 + matched_length: 969 + match_coverage: '99.38' + rule_relevance: 100 + identifier: cc0-1.0_116.RULE + license_expression: cc0-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + of Purpose + + The laws of most jurisdictions throughout the world automatically confer + exclusive Copyright and Related Rights (defined below) upon the creator + and subsequent owner(s) (each and all, an "owner") of an original work + of authorship and/or a database (each, a "Work"). + + Certain owners wish to permanently relinquish those rights to a Work + for the purpose of contributing to a commons of creative, cultural and + scientific works ("Commons") that the public can reliably and without + fear of later claims of infringement build upon, modify, incorporate in + other works, reuse and redistribute as freely as possible in any form + whatsoever and for any purposes, including without limitation commercial + purposes. These owners may contribute to the Commons to promote the ideal + of a free culture and the further production of creative, cultural and + scientific works, or to gain reputation or greater distribution for + their Work in part through the use and efforts of others. + + For these and/or other purposes and motivations, and without any + expectation of additional consideration or compensation, the person + associating CC0 with a Work (the "Affirmer"), to the extent that + he or she is an owner of Copyright and Related Rights in the Work, + voluntarily elects to apply CC0 to the Work and publicly distribute + the Work under its terms, with knowledge of his or her Copyright and + Related Rights in the Work and the meaning and intended legal effect + of CC0 on those rights. + + 1. Copyright and Related Rights. A Work made available under CC0 may be + protected by copyright and related or neighboring rights ("Copyright + and Related Rights"). Copyright and Related Rights include, but are + not limited to, the following: + + the right to reproduce, adapt, distribute, perform, display, + communicate, and translate a Work; + + moral rights retained by the original author(s) and/or performer(s); + + publicity and privacy rights pertaining to a person's image or + likeness depicted in a Work; + + rights protecting against unfair competition in regards to a Work, + subject to the limitations in paragraph 4(a), below; + + rights protecting the extraction, dissemination, use and reuse of data in a Work; + + database rights (such as those arising under Directive 96/9/EC + of the European Parliament and of the Council of 11 March 1996 + on the legal protection of databases, and under any national + implementation thereof, including any amended or successor version + of such directive); and + + other similar, equivalent or corresponding rights throughout the world + based on applicable law or treaty, and any national implementations + thereof. + + 2. Waiver. To the greatest extent permitted by, but not in contravention + of, applicable law, Affirmer hereby overtly, fully, permanently, + irrevocably and unconditionally waives, abandons, and surrenders all + of Affirmer's Copyright and Related Rights and associated claims and + causes of action, whether now known or unknown (including existing + as well as future claims and causes of action), in the Work (i) in + all territories worldwide, (ii) for the maximum duration provided by + applicable law or treaty (including future time extensions), (iii) + in any current or future medium and for any number of copies, and (iv) + for any purpose whatsoever, including without limitation commercial, + advertising or promotional purposes (the "Waiver"). Affirmer makes the + Waiver for the benefit of each member of the public at large and to the + detriment of Affirmer's heirs and successors, fully intending that such + Waiver shall not be subject to revocation, rescission, cancellation, + termination, or any other legal or equitable action to disrupt the + quiet enjoyment of the Work by the public as contemplated by Affirmer's + express Statement of Purpose. + + 3. Public License Fallback. Should any part of the Waiver for any + reason be judged legally invalid or ineffective under applicable law, + then the Waiver shall be preserved to the maximum extent permitted + taking into account Affirmer's express Statement of Purpose. In + addition, to the extent the Waiver is so judged Affirmer hereby + grants to each affected person a royalty-free, non transferable, non + sublicensable, non exclusive, irrevocable and unconditional license + to exercise Affirmer's Copyright and Related Rights in the Work (i) + in all territories worldwide, (ii) for the maximum duration provided + by applicable law or treaty (including future time extensions), (iii) + in any current or future medium and for any number of copies, and (iv) + for any purpose whatsoever, including without limitation commercial, + advertising or promotional purposes (the "License"). The License shall + be deemed effective as of the date CC0 was applied by Affirmer to the + Work. Should any part of the License for any reason be judged legally + invalid or ineffective under applicable law, such partial invalidity + or ineffectiveness shall not invalidate the remainder of the License, + and in such case Affirmer hereby affirms that he or she will not (i) + exercise any of his or her remaining Copyright and Related Rights in + the Work or (ii) assert any associated claims and causes of action + with respect to the Work, in either case contrary to Affirmer's express + Statement of Purpose. + + 4. Limitations and Disclaimers. + + No trademark or patent rights held by Affirmer are waived, + abandoned, surrendered, licensed or otherwise affected by this + document. + + Affirmer offers the Work as-is and makes no representations or + warranties of any kind concerning the Work, express, implied, + statutory or otherwise, including without limitation warranties + of title, merchantability, fitness for a particular purpose, non + infringement, or the absence of latent or other defects, accuracy, + or the present or absence of errors, whether or not discoverable, + all to the greatest extent permissible under applicable law. + + Affirmer disclaims responsibility for clearing rights of other + persons that may apply to the Work or any use thereof, including + without limitation any person's Copyright and Related Rights in the + Work. Further, Affirmer disclaims responsibility for obtaining any + necessary consents, permissions or other rights required for any + use of the Work. + + Affirmer understands and acknowledges that Creative Commons is not + a party to this document and has no duty or obligation with respect + to this CC0 or use of the Work. + - score: '100.0' + start_line: 1 + end_line: 4 + matcher: 1-hash + rule_length: 35 + matched_length: 35 + match_coverage: '100.0' + rule_relevance: 100 + identifier: fsf-ap.LICENSE + license_expression: fsf-ap + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Copying and distribution of this file, with or without modification, are + permitted in any medium without royalty provided the copyright notice and + this notice are preserved. This file is offered as-is, without any + warranty. + - score: '100.0' + start_line: 1 + end_line: 125 + matcher: 1-hash + rule_length: 946 + matched_length: 946 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-dist-1.0.LICENSE + license_expression: artistic-dist-1.0 + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The "Artistic License" + + Preamble + + The intent of this document is to state the conditions under which a + Package may be copied, such that the Copyright Holder maintains some + semblance of artistic control over the development of the Package, + while giving the users of the package the right to use and distribute + the Package in a more-or-less customary fashion, plus the right to make + reasonable modifications. + + It also grants you the rights to reuse parts of a Package in your own + programs without transferring this License to those programs, provided + that you meet some reasonable requirements. + + Definitions: + + "Package" refers to the collection of files distributed by the + Copyright Holder, and derivatives of that collection of files + created through textual modification. + + "Standard Version" refers to such a Package if it has not been + modified, or has been modified in accordance with the wishes + of the Copyright Holder as specified below. + + "Copyright Holder" is whoever is named in the copyright or + copyrights for the package. + + "You" is you, if you're thinking about copying or distributing + this Package. + + "Reasonable copying fee" is whatever you can justify on the + basis of media cost, duplication charges, time of people involved, + and so on. (You will not be required to justify it to the + Copyright Holder, but only to the computing community at large + as a market that must bear the fee.) + + "Freely Available" means that no fee is charged for the item + itself, though there may be fees involved in handling the item. + It also means that recipients of the item may redistribute it + under the same conditions they received it. + + 1. You may make and give away verbatim copies of the source form of the + Standard Version of this Package without restriction, provided that you + duplicate all of the original copyright notices and associated disclaimers. + + 2. You may apply bug fixes, portability fixes and other modifications + derived from the Public Domain or from the Copyright Holder. A Package + modified in such a way shall still be considered the Standard Version. + + 3. You may otherwise modify your copy of this Package in any way, provided + that you insert a prominent notice in each changed file stating how and + when you changed that file, and provided that you do at least ONE of the + following: + + a) place your modifications in the Public Domain or otherwise make them + Freely Available, such as by posting said modifications to Usenet or + an equivalent medium, or placing the modifications on a major archive + site such as uunet.uu.net, or by allowing the Copyright Holder to include + your modifications in the Standard Version of the Package. + + b) use the modified Package only within your corporation or organization. + + c) rename any non-standard executables so the names do not conflict + with standard executables, which must also be provided, and provide + a separate manual page for each non-standard executable that clearly + documents how it differs from the Standard Version. + + d) make other distribution arrangements with the Copyright Holder. + + 4. You may distribute the programs of this Package in object code or + executable form, provided that you do at least ONE of the following: + + a) distribute a Standard Version of the executables and library files, + together with instructions (in the manual page or equivalent) on where + to get the Standard Version. + + b) accompany the distribution with the machine-readable source of + the Package with your modifications. + + c) give non-standard executables non-standard names, and clearly + document the differences in manual pages (or equivalent), together + with instructions on where to get the Standard Version. + + d) make other distribution arrangements with the Copyright Holder. + + 5. You may charge a reasonable copying fee for any distribution of this + Package. You may charge any fee you choose for support of this + Package. You may not charge a fee for this Package itself. However, + you may distribute this Package in aggregate with other (possibly + commercial) programs as part of a larger (possibly commercial) software + distribution provided that you do not advertise this Package as a + product of your own. + + 6. The scripts and library files supplied as input to or produced as + output from the programs of this Package do not automatically fall + under the copyright of this Package, but belong to whoever generated + them, and may be sold commercially, and may be aggregated with this + Package. If such scripts or library files are aggregated with this + Package via the so-called "undump" or "unexec" methods of producing a + binary executable image, then distribution of such an image shall + neither be construed as a distribution of this Package nor shall it + fall under the restrictions of Paragraphs 3 and 4, provided that you do + not represent such an executable image as a Standard Version of this + Package. + + 7. You may reuse parts of this Package in your own programs, provided that + you explicitly state where you got them from, in the source code (and, left + to your courtesy, in the documentation), duplicating all the associated + copyright notices and disclaimers. Besides your changes, if any, must be + clearly marked as such. Parts reused that way will no longer fall under this + license if, and only if, the name of your program(s) have no immediate + connection with the name of the Package itself or its associated programs. + You may then apply whatever restrictions you wish on the reused parts or + choose to place them in the Public Domain--this will apply only within the + context of your package. + + 8. The name of the Copyright Holder may not be used to endorse or promote + products derived from this software without specific prior written permission. + + 9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + The End + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 2-aho + rule_length: 49 + matched_length: 49 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_17.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of either: + + a) the GNU General Public License as published by the Free Software + Foundation; either version 1, or (at your option) any later + version, or + + b) the "Artistic License" which comes with Perl. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 3 + end_line: 3 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_14.RULE + license_expression: unicode + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: For terms of use, see http://www.unicode.org/terms_of_use.html + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 40 + matched_length: 40 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_26.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself, either Perl version 5.10.0 or, + at your option, any later version of Perl 5 you may have available. + - score: '95.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 20 + matched_length: '19' + match_coverage: '95.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_34.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: All files are licensed under the same terms as Perl itself. + - score: '90.91' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_32.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: The [PerlUi] class is licensed under the same terms as Perl itself. + - score: '91.67' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_31.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: The [Symbian] port is licensed under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that the test code is licensed under the same terms + as Perl. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under the same + terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_12.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This file is a part of Perl itself, licensed as above. + - score: '73.33' + start_line: 3 + end_line: 3 + matcher: 3-seq + rule_length: 15 + matched_length: 11 + match_coverage: '73.33' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [they] [are] licensed under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_25.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_11.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This package has the same copyright and license as the perl core. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the + same terms as Perl itself. + - score: '100.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the + same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_38.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the terms of the the Artistic License (2.0). + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software. You can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 7 + matcher: 1-hash + rule_length: 61 + matched_length: 61 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-2.0-plus_2.RULE + license_expression: artistic-perl-1.0 OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + + These terms are your choice of any of (1) the Perl Artistic Licence, + or (2) version 2 of the GNU General Public License as published by the + Free Software Foundation, or (3) any later version of the GNU General + Public License. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 9 + end_line: 11 + matcher: 2-aho + rule_length: 25 + matched_length: 25 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_14.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute this work under the terms of either the GNU General + Public License or the Artistic License, as specified in perl's README + file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_15.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_25.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 1-hash + rule_length: 47 + matched_length: 47 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-2.0-plus_3.RULE + license_expression: artistic-perl-1.0 OR gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the terms of the Perl Artistic License or the + GNU General Public License as published by the Free Software + Foundation; either version 2 of the License, or (at your option) any + later version. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute + it and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_15.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public License + or the Artistic License, as specified in the LICENCE file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 37 + matched_length: 37 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit_or_gpl-1.0-plus_or_artistic-perl-1.0_1.RULE + license_expression: mit OR gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is released under the MIT license cited below. Additionally, + when this software is distributed with Perl Kit, Version 5, you may also + redistribute it and/or modify it under the same terms as Perl itself. + - score: '66.67' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 15 + matched_length: 10 + match_coverage: '66.67' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [these] [translations] [are] licensed under the same terms + as + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 5 + matcher: 2-aho + rule_length: 34 + matched_length: 34 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_8.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + + You may copy and distribute this program under the same terms as + Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 9 + end_line: 18 + matcher: 2-aho + rule_length: 87 + matched_length: 87 + match_coverage: '100.0' + rule_relevance: 100 + identifier: historical_9.RULE + license_expression: historical + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission to use, copy, modify, and distribute this material + for any purpose and without fee is hereby granted, provided + that the above copyright notice and this permission notice + appear in all copies, and that the name of Bellcore not be + used in advertising or publicity pertaining to this + material without the specific, prior written permission + of an authorized representative of Bellcore. BELLCORE + MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY + OF THIS MATERIAL FOR ANY PURPOSE. IT IS PROVIDED "AS IS", + WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 11 + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_10.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This module is released under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_5.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; + you can redistribute it and/or modify it under the same terms + as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '11.0' + start_line: 9 + end_line: 9 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: artistic-2.0_18.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Artistic License. + - score: '100.0' + start_line: 12 + end_line: 16 + matcher: 2-aho + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_286.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples here are in the public + domain. You are permitted and encouraged to use this code and any + derivatives thereof in your own programs for fun or for profit as you + see fit. A simple comment in the code giving credit to the FAQ would + be courteous but is not required. + - score: '100.0' + start_line: 20 + end_line: 22 + matcher: 2-aho + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_and_public-domain-disclaimer_1.RULE + license_expression: artistic-2.0 AND public-domain-disclaimer + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This document is available under the same terms as Perl itself. Code + examples in all the perlfaq documents are in the public domain. Use + them as you see fit (and at your own risk with no warranty from anyone). + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 2-aho + rule_length: 18 + matched_length: 18 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_5.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + is free software; + you can redistribute it and/or modify it under the same terms + as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under + the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_6.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 8 + matcher: 2-aho + rule_length: 53 + matched_length: 53 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_287.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples in these files + are hereby placed into the public domain. You are permitted and + encouraged to use this code in your own programs for fun + or for profit as you see fit. A simple comment in the code giving + credit would be courteous but is not required. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it + and/or modify it under the same terms as Perl itself. + - score: '12.7' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 63 + matched_length: 8 + match_coverage: '12.7' + rule_relevance: 100 + identifier: cc0-1.0_or_openssl-ssleay_or_apache-2.0_6.RULE + license_expression: cc0-1.0 OR openssl-ssleay OR apache-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + http://creativecommons.org/publicdomain/zero/1.0/ + [and] [the] [full] license + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed and/or + modified under the same terms as Perl itself. + - score: '11.84' + start_line: 2 + end_line: 5 + matcher: 3-seq + rule_length: 76 + matched_length: 9 + match_coverage: '11.84' + rule_relevance: 100 + identifier: agpl-3.0_209.RULE + license_expression: agpl-3.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + notices this [distribution]. + + [This] [library] [is] [free] [software]; [you] [may] redistribute and/or modify it + under the + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: '19' + matched_length: '19' + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_25.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you may redistribute and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the same + terms as Perl. + - score: '84.86' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 99 + identifier: bsd-new_242.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: is licensed under the BSD-[like] license + - score: '11.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: other-permissive_16.RULE + license_expression: other-permissive + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: BSD-like + - score: '73.33' + start_line: 3 + end_line: 4 + matcher: 3-seq + rule_length: 15 + matched_length: 11 + match_coverage: '73.33' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that the [other] [parts] [are] licensed under the same + terms as + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 13 + matched_length: 13 + match_coverage: '100.0' + rule_relevance: 100 + identifier: unicode_14.RULE + license_expression: unicode + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: For terms of use, see http://www.unicode.org/terms_of_use.html + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 6 + end_line: 7 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_17.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you may redistribute it and/or modify it + under the same terms as Perl itself. + - score: '80.0' + start_line: 9 + end_line: 10 + matcher: 3-seq + rule_length: 10 + matched_length: 8 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_32.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + licensed under the same terms + as Perl itself + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software. It may be used, redistributed + and/or modified under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '15.0' + start_line: 1 + end_line: 1 + matcher: 3-seq + rule_length: 40 + matched_length: 6 + match_coverage: '15.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_perl5_2.RULE + license_expression: artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: You can redistribute and/or modify + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the same terms + as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '34.85' + start_line: 1 + end_line: 5 + matcher: 3-seq + rule_length: 66 + matched_length: 23 + match_coverage: '34.85' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_2.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + + [The] [atmark]() [implementation]: [Copyright] [2001], [Lincoln] [Stein] <[lstein]@[cshl].[org]>. + [This] [module] is distributed under + - score: '100.0' + start_line: 5 + end_line: 5 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 12 + matched_length: 12 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_11.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: This package has the same copyright and license as the perl core. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_24.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This module is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_4.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you may redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '90.91' + start_line: 7 + end_line: 8 + matcher: 3-seq + rule_length: 10 + matched_length: 10 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_763.RULE + license_expression: bsd-new + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + licensed + under the terms of the "BSD-3-clause-[GENERIC]" license + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '95.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 20 + matched_length: '19' + match_coverage: '95.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 6 + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_20.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 8 + matched_length: 8 + match_coverage: '100.0' + rule_relevance: 100 + identifier: warranty-disclaimer_50.RULE + license_expression: warranty-disclaimer + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + provided "as is" without express + or implied warranty. + - score: '75.0' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 20 + matched_length: 15 + match_coverage: '75.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It may be used, redistributed and/or modified + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '80.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that [this] + [distribution] is licensed under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '95.0' + start_line: 1 + end_line: 2 + matcher: 3-seq + rule_length: 20 + matched_length: '19' + match_coverage: '95.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '80.0' + start_line: 3 + end_line: 4 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + It is assumed that [it] is licensed under + the same terms as Perl + - score: '80.0' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [this] [file] is licensed under the same terms as Perl + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_26.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: Artistic/' + - score: '50.0' + start_line: 4 + end_line: 4 + matcher: 2-aho + rule_length: 1 + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 50 + identifier: gpl_bare_word_only.RULE + license_expression: gpl-1.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: GPL + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '90.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: artistic-1.0_11.RULE + license_expression: artistic-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the artistic license. + - score: '80.0' + start_line: 3 + end_line: 3 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: It is assumed that [it] is licensed under the same terms as Perl + - score: '80.0' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 15 + matched_length: 12 + match_coverage: '80.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_28.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + it is assumed that [this] [file] is licensed under the same terms + as Perl + - score: '100.0' + start_line: 11 + end_line: 12 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself, + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '90.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 90 + identifier: artistic-1.0_11.RULE + license_expression: artistic-1.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: the Artistic License. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 23 + matched_length: 23 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_7.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + You may distribute under the terms of either the GNU General Public + License or the Artistic License, as specified in the README file. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_10.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + under the same terms as Perl + itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_6.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 8 + matcher: 2-aho + rule_length: 56 + matched_length: 56 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_286.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples here are in the public + domain. You are permitted and encouraged to use this code and any + derivatives thereof in your own programs for fun or for profit as you + see fit. A simple comment in the code giving credit to the FAQ would + be courteous but is not required. + - score: '100.0' + start_line: 1 + end_line: 3 + matcher: 1-hash + rule_length: 39 + matched_length: 39 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_and_public-domain-disclaimer_1.RULE + license_expression: artistic-2.0 AND public-domain-disclaimer + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This document is available under the same terms as Perl itself. Code + examples in all the perlfaq documents are in the public domain. Use + them as you see fit (and at your own risk with no warranty from anyone). + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify it under + the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_6.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + you can redistribute it and/or modify it + under the same terms as Perl itself. + - score: '100.0' + start_line: 4 + end_line: 8 + matcher: 2-aho + rule_length: 53 + matched_length: 53 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_287.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Irrespective of its distribution, all code examples in these files are + hereby placed into the public domain. You are permitted and + encouraged to use this code in your own programs for fun or for profit + as you see fit. A simple comment in the code giving credit would be + courteous but is not required. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 2-aho + rule_length: 7 + matched_length: 7 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_19.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: under the same terms as Perl itself. + - score: '100.0' + start_line: 1 + end_line: 2 + matcher: 1-hash + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-perl-1.0_or_gpl-1.0-plus_12.RULE + license_expression: artistic-perl-1.0 OR gpl-1.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the same terms as Perl itself. + - score: '21.28' + start_line: 17 + end_line: '19' + matcher: 3-seq + rule_length: 47 + matched_length: 10 + match_coverage: '21.28' + rule_relevance: 100 + identifier: artistic-2.0_4.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the "Artistic License" which comes with Perl, [or] + + [b]) the "Artistic License" + - score: '57.14' + start_line: 21 + end_line: 26 + matcher: 3-seq + rule_length: 49 + matched_length: 28 + match_coverage: '57.14' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_17.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + the GNU General Public License as published by the Free + Software Foundation; either version 1, or (at your option) any + later version ([see] [the] [file] "[Copying]" [that] [comes] [with] [the] + [Perl] [distribution]). + + [The] [full] [text] [of] the "Artistic License" which comes with + - score: '83.33' + start_line: 2 + end_line: 2 + matcher: 3-seq + rule_length: 5 + matched_length: 5 + match_coverage: '100.0' + rule_relevance: 100 + identifier: artistic-2.0_31.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: licensed under the [modified] Artistic license + - score: '11.0' + start_line: 6 + end_line: 6 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: artistic-2.0_18.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Artistic License. + - score: '100.0' + start_line: 18 + end_line: 18 + matcher: 2-aho + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_298.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: in the Public Domain-- + - score: '11.0' + start_line: 27 + end_line: 27 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 11 + identifier: artistic-2.0_18.RULE + license_expression: artistic-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: Artistic license. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 49 + matched_length: 49 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_17.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of either: + + a) the GNU General Public License as published by the Free Software + Foundation; either version 1, or (at your option) any later + version, or + + b) the "Artistic License" which comes with Perl. + - score: '55.0' + start_line: 2 + end_line: 3 + matcher: 3-seq + rule_length: 20 + matched_length: 11 + match_coverage: '55.0' + rule_relevance: 100 + identifier: gpl-1.0-plus_or_artistic-perl-1.0_3.RULE + license_expression: gpl-1.0-plus OR artistic-perl-1.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + redistributed + and/or modified under the same terms as Perl itself. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sed/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sed/copyright-detailed.expected.yml index ac0f58f30c3..f009a7802f2 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sed/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sed/copyright-detailed.expected.yml @@ -1,4 +1,44 @@ -- -- gpl-3.0-plus AND gfdl-1.3-plus -- Copyright 1989,90,91,92,93,94,95,98,99,2002,2003,2006,2008,2009,2010 Free Software Foundation, - Inc. +primary_license: +declared_license: +license_expression: gpl-3.0-plus AND gfdl-1.3-plus +copyright: Copyright 1989,90,91,92,93,94,95,98,99,2002,2003,2006,2008,2009,2010 Free Software + Foundation, Inc. +matches: + - score: '98.28' + start_line: 11 + end_line: 17 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_285.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "GNU [sed] is free software; you can redistribute it and/or modify it under\n\ + \ the terms of the GNU General Public License as published by the Free\n Software Foundation;\ + \ either version 3, or (at your option) any later\n version.\n \n On Debian GNU/Linux\ + \ systems you can find a copy of the GPL in\n /usr/share/common-licenses/GPL-3" + - score: '96.97' + start_line: '19' + end_line: 21 + matcher: 2-aho + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus_5.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The [sed] info manual is released under the terms of the GNU Free + Documentation License as published by the Free Software Foundation; + either version 1.3, or (at your option) any later version. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sed/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sed/copyright.expected.yml index ac0f58f30c3..f009a7802f2 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sed/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sed/copyright.expected.yml @@ -1,4 +1,44 @@ -- -- gpl-3.0-plus AND gfdl-1.3-plus -- Copyright 1989,90,91,92,93,94,95,98,99,2002,2003,2006,2008,2009,2010 Free Software Foundation, - Inc. +primary_license: +declared_license: +license_expression: gpl-3.0-plus AND gfdl-1.3-plus +copyright: Copyright 1989,90,91,92,93,94,95,98,99,2002,2003,2006,2008,2009,2010 Free Software + Foundation, Inc. +matches: + - score: '98.28' + start_line: 11 + end_line: 17 + matcher: 2-aho + rule_length: 57 + matched_length: 57 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_285.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "GNU [sed] is free software; you can redistribute it and/or modify it under\n\ + \ the terms of the GNU General Public License as published by the Free\n Software Foundation;\ + \ either version 3, or (at your option) any later\n version.\n \n On Debian GNU/Linux\ + \ systems you can find a copy of the GPL in\n /usr/share/common-licenses/GPL-3" + - score: '96.97' + start_line: '19' + end_line: 21 + matcher: 2-aho + rule_length: 32 + matched_length: 32 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gfdl-1.3-plus_5.RULE + license_expression: gfdl-1.3-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + The [sed] info manual is released under the terms of the GNU Free + Documentation License as published by the Free Software Foundation; + either version 1.3, or (at your option) any later version. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sysvinit-utils/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sysvinit-utils/copyright-detailed.expected.yml index 468061dc4bd..5d296c6d11a 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sysvinit-utils/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sysvinit-utils/copyright-detailed.expected.yml @@ -1,8 +1,10 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus +declared_license: - GPL-2+ - GPL-2+ -- (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) -- | + - GPL-2+ +license_expression: (gpl-2.0-plus AND gpl-2.0-plus) AND (gpl-2.0-plus AND gpl-2.0-plus) +copyright: | 1997-2005 Miquel van Smoorenburg 2015 Adam Conrad 2018 Dmitry Bogatov @@ -24,3 +26,51 @@ 2011-2013 Roger Leigh 2006-2007 Steinar H. Gunderson 2012-2013 Steve Langasek +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 124 + matched_length: 124 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_735.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian system, copy of GNU Lesser General Public License version 2 + is also located at `/usr/share/common-licenses/GPL-2' diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sysvinit-utils/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sysvinit-utils/copyright.expected.yml index 3b460cabcf5..359d63bc2dd 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sysvinit-utils/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/sysvinit-utils/copyright.expected.yml @@ -1,3 +1,53 @@ -- - GPL-2+ -- gpl-2.0-plus AND gpl-2.0-plus -- '1997-2005 Miquel van Smoorenburg ' +primary_license: gpl-2.0-plus +declared_license: + - GPL-2+ +license_expression: gpl-2.0-plus +copyright: '1997-2005 Miquel van Smoorenburg ' +matches: + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 15 + matcher: 1-hash + rule_length: 124 + matched_length: 124 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_735.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian system, copy of GNU Lesser General Public License version 2 + is also located at `/usr/share/common-licenses/GPL-2' diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/tar/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/tar/copyright-detailed.expected.yml index 8be33a2e1c8..be7bfcc79d3 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/tar/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/tar/copyright-detailed.expected.yml @@ -1,5 +1,63 @@ -- -- public-domain AND gpl-3.0-plus AND gpl-2.0-plus -- | +primary_license: +declared_license: +license_expression: public-domain AND gpl-3.0-plus AND gpl-2.0-plus +copyright: | Copyright (c) 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. Copyright (c) 2006, 2007 Bdale Garbee +matches: + - score: '70.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain + - score: '100.0' + start_line: 20 + end_line: 26 + matcher: 2-aho + rule_length: 65 + matched_length: 65 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_283.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify it\n\ + \ under the terms of the GNU General Public License as published by the\n Free Software\ + \ Foundation; either version 3, or (at your option) any later\n version.\n \n On Debian\ + \ GNU/Linux systems, the complete text of the GNU General Public \n License version 3\ + \ can be found in /usr/share/common-licenses/GPL-3." + - score: '100.0' + start_line: 32 + end_line: 38 + matcher: 2-aho + rule_length: 65 + matched_length: 65 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_734.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify it\n\ + \ under the terms of the GNU General Public License as published by the\n Free Software\ + \ Foundation; either version 2, or (at your option) any later\n version.\n \n On Debian\ + \ GNU/Linux systems, the complete text of the GNU General Public \n License version 2\ + \ can be found in /usr/share/common-licenses/GPL-2." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/tar/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/tar/copyright.expected.yml index 8be33a2e1c8..be7bfcc79d3 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/tar/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/tar/copyright.expected.yml @@ -1,5 +1,63 @@ -- -- public-domain AND gpl-3.0-plus AND gpl-2.0-plus -- | +primary_license: +declared_license: +license_expression: public-domain AND gpl-3.0-plus AND gpl-2.0-plus +copyright: | Copyright (c) 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. Copyright (c) 2006, 2007 Bdale Garbee +matches: + - score: '70.0' + start_line: 2 + end_line: 2 + matcher: 2-aho + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 70 + identifier: public-domain_bare_words.RULE + license_expression: public-domain + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: public domain + - score: '100.0' + start_line: 20 + end_line: 26 + matcher: 2-aho + rule_length: 65 + matched_length: 65 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_283.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify it\n\ + \ under the terms of the GNU General Public License as published by the\n Free Software\ + \ Foundation; either version 3, or (at your option) any later\n version.\n \n On Debian\ + \ GNU/Linux systems, the complete text of the GNU General Public \n License version 3\ + \ can be found in /usr/share/common-licenses/GPL-3." + - score: '100.0' + start_line: 32 + end_line: 38 + matcher: 2-aho + rule_length: 65 + matched_length: 65 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_734.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: "This program is free software; you can redistribute it and/or modify it\n\ + \ under the terms of the GNU General Public License as published by the\n Free Software\ + \ Foundation; either version 2, or (at your option) any later\n version.\n \n On Debian\ + \ GNU/Linux systems, the complete text of the GNU General Public \n License version 2\ + \ can be found in /usr/share/common-licenses/GPL-2." diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/util-linux/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/util-linux/copyright-detailed.expected.yml index 9bc35e81ba5..3da8450c864 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/util-linux/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/util-linux/copyright-detailed.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2 - GPL-2 - GPL-2 @@ -42,23 +44,20 @@ - LGPL-2.1+ - LGPL-3+ - MIT -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 - AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND - gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 - AND gpl-2.0 AND gpl-2.0) AND public-domain AND bsd-original-uc AND mit AND mit AND bsd-no-disclaimer - AND bsd-no-disclaimer AND bsd-no-disclaimer AND bsd-new AND bsd-new AND (lgpl-2.0-plus AND - lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0-plus - AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus - AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 - AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (gpl-3.0-plus - AND gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) - AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND - lgpl-2.1 AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0) AND (lgpl-2.0-plus - AND lgpl-2.1-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) - AND (lgpl-3.0-plus AND lgpl-3.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1 AND - lgpl-2.1) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0-plus AND - gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) -- | +license_expression: (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND + gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 + AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0) AND public-domain AND bsd-original-uc + AND mit AND mit AND bsd-simplified AND bsd-simplified AND bsd-simplified AND bsd-new AND bsd-new + AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND + lgpl-2.0) AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.1-plus AND lgpl-2.1-plus + AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.1-plus AND + lgpl-2.1-plus AND lgpl-2.1) AND (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.0-plus + AND lgpl-2.1-plus AND lgpl-2.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND + (lgpl-3.0-plus AND lgpl-3.0-plus) AND (lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.1) AND (gpl-2.0-plus + AND gpl-2.0-plus AND gpl-2.0) AND (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0) +copyright: | Michal Luscon 1986 Gary S. Brown 1990 Gordon Irlam (gordoni@cs.ua.oz.au) @@ -251,3 +250,576 @@ Veeven Vikram Vincent Yoppy Hidayanto +matches: + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_28.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No copyright is claimed. This code is in the public domain; do with + it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_264.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_405.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1) Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2) Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + 3) Neither the name of the [ORGANIZATION] nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: lgpl-2.1-plus_268.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be redistributed under the terms of the + GNU Lesser General Public License. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in ‘/usr/share/common-licenses/LGPL’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '97.69' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 127 + match_coverage: '97.69' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/util-linux/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/util-linux/copyright.expected.yml index 11099084090..4fa8dffb131 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/util-linux/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/util-linux/copyright.expected.yml @@ -1,4 +1,6 @@ -- - GPL-2+ +primary_license: gpl-2.0-plus AND gpl-2.0 +declared_license: + - GPL-2+ - GPL-2 - public-domain - BSD-4-clause @@ -10,12 +12,10 @@ - GPL-3+ - LGPL - LGPL-3+ -- (gpl-2.0-plus AND gpl-2.0-plus AND gpl-2.0 AND gpl-2.0) AND (gpl-2.0 AND gpl-2.0 AND gpl-2.0 - AND gpl-2.0) AND public-domain AND bsd-original-uc AND mit AND bsd-no-disclaimer AND bsd-new - AND (lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus AND - lgpl-2.1-plus AND lgpl-2.1 AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0-plus AND gpl-3.0) AND - (lgpl-2.0-plus AND lgpl-2.1-plus AND lgpl-2.0) AND (lgpl-3.0-plus AND lgpl-3.0-plus) -- | +license_expression: (gpl-2.0-plus AND gpl-2.0) AND gpl-2.0 AND public-domain AND bsd-original-uc + AND mit AND bsd-simplified AND bsd-new AND (lgpl-2.0-plus AND lgpl-2.0) AND (lgpl-2.1-plus + AND lgpl-2.1) AND (gpl-3.0-plus AND gpl-3.0) AND (lgpl-2.0-plus AND lgpl-2.1-plus) AND lgpl-3.0-plus +copyright: | Michal Luscon 1986 Gary S. Brown 1990 Gordon Irlam (gordoni@cs.ua.oz.au) @@ -108,7 +108,6 @@ 2013 Eric Sandeen 2013 Rolf Fokkens 2013 Zeeshan Ali (Khattak) - *unknown* 2001 Andreas Dilger 2008-2012 Karel Zak 2013, Red Hat, Inc. @@ -196,3 +195,576 @@ Veeven Vikram Vincent Yoppy Hidayanto +matches: + - score: '100.0' + start_line: 3 + end_line: 4 + matcher: 2-aho + rule_length: 17 + matched_length: 17 + match_coverage: '100.0' + rule_relevance: 100 + identifier: public-domain_28.RULE + license_expression: public-domain + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + No copyright is claimed. This code is in the public domain; do with + it what you wish. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_561.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 101 + matched_length: 101 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_259.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, v2, as + published by the Free Software Foundation + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_22.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-2+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 113 + matched_length: 113 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0-plus_420.RULE + license_expression: gpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-2.0_1120.RULE + license_expression: gpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_92.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: gpl-3+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 102 + matched_length: 102 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0-plus_290.RULE + license_expression: gpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 24 + matched_length: 24 + match_coverage: '100.0' + rule_relevance: 100 + identifier: gpl-3.0_394.RULE + license_expression: gpl-3.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + - score: '100.0' + start_line: 1 + end_line: 8 + matcher: 1-hash + rule_length: 70 + matched_length: 70 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-simplified_264.RULE + license_expression: bsd-simplified + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + - score: '99.53' + start_line: 1 + end_line: 25 + matcher: 3-seq + rule_length: 214 + matched_length: 214 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-new_405.RULE + license_expression: bsd-new + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1) Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2) Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + 3) Neither the name of the [ORGANIZATION] nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 27 + matcher: 1-hash + rule_length: 243 + matched_length: 243 + match_coverage: '100.0' + rule_relevance: 100 + identifier: bsd-original-uc_3.RULE + license_expression: bsd-original-uc + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + 4. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 2 + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_51.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl' + - score: '83.0' + start_line: 1 + end_line: 2 + matcher: 2-aho + rule_length: 15 + matched_length: 15 + match_coverage: '100.0' + rule_relevance: 83 + identifier: lgpl-2.1-plus_268.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + This file may be redistributed under the terms of the + GNU Lesser General Public License. + - score: '100.0' + start_line: 4 + end_line: 5 + matcher: 2-aho + rule_length: 22 + matched_length: 22 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_437.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in ‘/usr/share/common-licenses/LGPL’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_61.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2+' + - score: '100.0' + start_line: 1 + end_line: 12 + matcher: 2-aho + rule_length: 105 + matched_length: 105 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0-plus_184.RULE + license_expression: lgpl-2.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + - score: '100.0' + start_line: 14 + end_line: 15 + matcher: 2-aho + rule_length: 20 + matched_length: 20 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.0_155.RULE + license_expression: lgpl-2.0 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2 + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 4 + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_108.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-2.1+' + - score: '100.0' + start_line: 1 + end_line: 13 + matcher: 2-aho + rule_length: 114 + matched_length: 114 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1-plus_269.RULE + license_expression: lgpl-2.1-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + - score: '100.0' + start_line: 15 + end_line: 16 + matcher: 2-aho + rule_length: 27 + matched_length: 27 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-2.1_293.RULE + license_expression: lgpl-2.1 + is_license_text: no + is_license_notice: no + is_license_reference: yes + is_license_tag: no + is_license_intro: no + matched_text: | + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + - score: '100.0' + start_line: 1 + end_line: 1 + matcher: 1-hash + rule_length: 3 + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + identifier: lgpl-3.0-plus_166.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: no + is_license_reference: no + is_license_tag: yes + is_license_intro: no + matched_text: 'License: lgpl-3+' + - score: '97.69' + start_line: 1 + end_line: 15 + matcher: 3-seq + rule_length: 130 + matched_length: 127 + match_coverage: '97.69' + rule_relevance: 100 + identifier: lgpl-3.0-plus_173.RULE + license_expression: lgpl-3.0-plus + is_license_text: no + is_license_notice: yes + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3". + - score: '100.0' + start_line: 1 + end_line: '19' + matcher: 1-hash + rule_length: 161 + matched_length: 161 + match_coverage: '100.0' + rule_relevance: 100 + identifier: mit.LICENSE + license_expression: mit + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/zlib1g/copyright-detailed.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/zlib1g/copyright-detailed.expected.yml index 15c84a5728b..4e62e5ba356 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/zlib1g/copyright-detailed.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/zlib1g/copyright-detailed.expected.yml @@ -1,13 +1,50 @@ -- - Zlib +primary_license: zlib +declared_license: - Zlib - Zlib - Zlib - Zlib -- zlib AND zlib AND zlib AND zlib -- | + - Zlib +license_expression: zlib AND zlib AND zlib AND zlib +copyright: | 1995-2013 Jean-loup Gailly and Mark Adler 1998 by Andreas R. Kleinert 1998-2010 Gilles Vollant 2007-2008 Even Rouault 2009-2010 Mathias Svensson 2000-2017 Mark Brown +matches: + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 2-aho + rule_length: 144 + matched_length: 144 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib_17.RULE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jean-loup Gailly Mark Adler + jloup@gzip.org madler@alumni.caltech.edu diff --git a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/zlib1g/copyright.expected.yml b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/zlib1g/copyright.expected.yml index 5fe2be1c06a..baf33df2901 100644 --- a/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/zlib1g/copyright.expected.yml +++ b/tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/zlib1g/copyright.expected.yml @@ -1,8 +1,45 @@ -- - Zlib -- zlib -- | +primary_license: zlib +declared_license: + - Zlib +license_expression: zlib +copyright: | 1995-2013 Jean-loup Gailly and Mark Adler 1998 by Andreas R. Kleinert 1998-2010 Gilles Vollant 2007-2008 Even Rouault 2009-2010 Mathias Svensson +matches: + - score: '100.0' + start_line: 1 + end_line: 18 + matcher: 2-aho + rule_length: 144 + matched_length: 144 + match_coverage: '100.0' + rule_relevance: 100 + identifier: zlib_17.RULE + license_expression: zlib + is_license_text: yes + is_license_notice: no + is_license_reference: no + is_license_tag: no + is_license_intro: no + matched_text: | + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jean-loup Gailly Mark Adler + jloup@gzip.org madler@alumni.caltech.edu diff --git a/tests/packagedcode/data/debian/mini-status/status.expected b/tests/packagedcode/data/debian/mini-status/status.expected index a4ab67f4b87..e2316e7c180 100644 --- a/tests/packagedcode/data/debian/mini-status/status.expected +++ b/tests/packagedcode/data/debian/mini-status/status.expected @@ -43,6 +43,7 @@ "source_packages": [ "pkg:deb/debian/perl" ], + "extra_data": {}, "purl": "pkg:deb/debian/perl-base@5.22.1-9ubuntu0.6?arch=amd64", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/debian/ubuntu-var-lib-dpkg/expected.json b/tests/packagedcode/data/debian/ubuntu-var-lib-dpkg/expected.json index b9a09f310aa..f75c2d97c72 100644 --- a/tests/packagedcode/data/debian/ubuntu-var-lib-dpkg/expected.json +++ b/tests/packagedcode/data/debian/ubuntu-var-lib-dpkg/expected.json @@ -451,7 +451,9 @@ "sha512": null } ], - "multi_arch": "foreign", + "extra_data": { + "multi_arch": "foreign" + }, "purl": "pkg:deb/ubuntu/base-files@11ubuntu5?arch=amd64", "repository_homepage_url": null, "repository_download_url": null, @@ -637,7 +639,9 @@ "sha512": null } ], - "multi_arch": "foreign", + "extra_data": { + "multi_arch": "foreign" + }, "purl": "pkg:deb/ubuntu/base-passwd@3.5.47?arch=amd64", "repository_homepage_url": null, "repository_download_url": null, @@ -863,7 +867,9 @@ "sha512": null } ], - "multi_arch": "foreign", + "extra_data": { + "multi_arch": "foreign" + }, "purl": "pkg:deb/ubuntu/bash@5.0-6ubuntu1?arch=amd64", "repository_homepage_url": null, "repository_download_url": null, @@ -912,7 +918,9 @@ "contains_source_code": null, "source_packages": [], "installed_files": [], - "multi_arch": "foreign", + "extra_data": { + "multi_arch": "foreign" + }, "purl": "pkg:deb/ubuntu/tar@1.30%2Bdfsg-7?arch=amd64", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/freebsd/basic/+COMPACT_MANIFEST.expected b/tests/packagedcode/data/freebsd/basic/+COMPACT_MANIFEST.expected index 4dfcbce8b00..d1473dfc72e 100644 --- a/tests/packagedcode/data/freebsd/basic/+COMPACT_MANIFEST.expected +++ b/tests/packagedcode/data/freebsd/basic/+COMPACT_MANIFEST.expected @@ -46,6 +46,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:freebsd/dmidecode@2.12?arch=freebsd:10:x86:64&origin=sysutils/dmidecode", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/freebsd/basic2/+COMPACT_MANIFEST.expected b/tests/packagedcode/data/freebsd/basic2/+COMPACT_MANIFEST.expected index 1126291d30a..909ae56b9ff 100644 --- a/tests/packagedcode/data/freebsd/basic2/+COMPACT_MANIFEST.expected +++ b/tests/packagedcode/data/freebsd/basic2/+COMPACT_MANIFEST.expected @@ -46,6 +46,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:freebsd/0d1n@2.3?arch=freebsd:10:x86:64&origin=security/0d1n", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/freebsd/dual_license/+COMPACT_MANIFEST.expected b/tests/packagedcode/data/freebsd/dual_license/+COMPACT_MANIFEST.expected index d664112382d..dd071fe7c25 100644 --- a/tests/packagedcode/data/freebsd/dual_license/+COMPACT_MANIFEST.expected +++ b/tests/packagedcode/data/freebsd/dual_license/+COMPACT_MANIFEST.expected @@ -48,6 +48,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:freebsd/rubygem-facets@3.1.0?arch=freebsd:10:%2A&origin=devel/rubygem-facets", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/freebsd/dual_license2/+COMPACT_MANIFEST.expected b/tests/packagedcode/data/freebsd/dual_license2/+COMPACT_MANIFEST.expected index fdf652d331f..b254b80134a 100644 --- a/tests/packagedcode/data/freebsd/dual_license2/+COMPACT_MANIFEST.expected +++ b/tests/packagedcode/data/freebsd/dual_license2/+COMPACT_MANIFEST.expected @@ -49,6 +49,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:freebsd/rubygem-ttfunk@1.5.1?arch=freebsd:10:%2A&origin=print/rubygem-ttfunk", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/freebsd/multi_license/+COMPACT_MANIFEST.expected b/tests/packagedcode/data/freebsd/multi_license/+COMPACT_MANIFEST.expected index 1cbc936413e..ed529a6c5be 100644 --- a/tests/packagedcode/data/freebsd/multi_license/+COMPACT_MANIFEST.expected +++ b/tests/packagedcode/data/freebsd/multi_license/+COMPACT_MANIFEST.expected @@ -48,6 +48,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:freebsd/py27-idna@2.6?arch=freebsd:10:%2A&origin=dns/py-idna", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/freebsd/no_licenses/+COMPACT_MANIFEST.expected b/tests/packagedcode/data/freebsd/no_licenses/+COMPACT_MANIFEST.expected index 7f0a830e0e4..f427167b605 100644 --- a/tests/packagedcode/data/freebsd/no_licenses/+COMPACT_MANIFEST.expected +++ b/tests/packagedcode/data/freebsd/no_licenses/+COMPACT_MANIFEST.expected @@ -41,6 +41,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:freebsd/dmidecode@2.12?arch=freebsd:10:x86:64&origin=sysutils/dmidecode", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/golang/gomod/kingpin/output.expected.json b/tests/packagedcode/data/golang/gomod/kingpin/output.expected.json index d9eded36b9b..4251be40eed 100644 --- a/tests/packagedcode/data/golang/gomod/kingpin/output.expected.json +++ b/tests/packagedcode/data/golang/gomod/kingpin/output.expected.json @@ -70,6 +70,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:golang/github.com/alecthomas/kingpin", "repository_homepage_url": "https://pkg.go.dev/github.com/alecthomas/kingpin", "repository_download_url": null, diff --git a/tests/packagedcode/data/golang/gomod/opencensus-service/output.expected.json b/tests/packagedcode/data/golang/gomod/opencensus-service/output.expected.json index 7a8b252f245..0e4b47d19d6 100644 --- a/tests/packagedcode/data/golang/gomod/opencensus-service/output.expected.json +++ b/tests/packagedcode/data/golang/gomod/opencensus-service/output.expected.json @@ -46,6 +46,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:golang/github.com/census-instrumentation/opencensus-service", "repository_homepage_url": "https://pkg.go.dev/github.com/census-instrumentation/opencensus-service", "repository_download_url": null, diff --git a/tests/packagedcode/data/golang/gomod/participle/output.expected.json b/tests/packagedcode/data/golang/gomod/participle/output.expected.json index d07afeccea6..72d0fb344de 100644 --- a/tests/packagedcode/data/golang/gomod/participle/output.expected.json +++ b/tests/packagedcode/data/golang/gomod/participle/output.expected.json @@ -54,6 +54,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:golang/github.com/alecthomas/participle", "repository_homepage_url": "https://pkg.go.dev/github.com/alecthomas/participle", "repository_download_url": null, diff --git a/tests/packagedcode/data/golang/gomod/sample/output.expected.json b/tests/packagedcode/data/golang/gomod/sample/output.expected.json index e2ee17dc530..fe50915f796 100644 --- a/tests/packagedcode/data/golang/gomod/sample/output.expected.json +++ b/tests/packagedcode/data/golang/gomod/sample/output.expected.json @@ -54,6 +54,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:golang/github.com/alecthomas/sample", "repository_homepage_url": "https://pkg.go.dev/github.com/alecthomas/sample", "repository_download_url": null, diff --git a/tests/packagedcode/data/golang/gomod/uap-go/output.expected.json b/tests/packagedcode/data/golang/gomod/uap-go/output.expected.json index 3e5a4b0722b..1e2dfd48ed8 100644 --- a/tests/packagedcode/data/golang/gomod/uap-go/output.expected.json +++ b/tests/packagedcode/data/golang/gomod/uap-go/output.expected.json @@ -38,6 +38,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:golang/github.com/ua-parser/uap-go", "repository_homepage_url": "https://pkg.go.dev/github.com/ua-parser/uap-go", "repository_download_url": null, diff --git a/tests/packagedcode/data/golang/gomod/user_agent/output.expected.json b/tests/packagedcode/data/golang/gomod/user_agent/output.expected.json index bf6eb5f7b64..03fbecf6a97 100644 --- a/tests/packagedcode/data/golang/gomod/user_agent/output.expected.json +++ b/tests/packagedcode/data/golang/gomod/user_agent/output.expected.json @@ -29,6 +29,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:golang/github.com/mssola/user_agent", "repository_homepage_url": "https://pkg.go.dev/github.com/mssola/user_agent", "repository_download_url": null, diff --git a/tests/packagedcode/data/golang/gosum/sample1/output.expected.json b/tests/packagedcode/data/golang/gosum/sample1/output.expected.json index a03d0b555ff..32b7271b605 100644 --- a/tests/packagedcode/data/golang/gosum/sample1/output.expected.json +++ b/tests/packagedcode/data/golang/gosum/sample1/output.expected.json @@ -46,6 +46,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/golang/gosum/sample2/output.expected.json b/tests/packagedcode/data/golang/gosum/sample2/output.expected.json index e099dd7de20..a19912d1878 100644 --- a/tests/packagedcode/data/golang/gosum/sample2/output.expected.json +++ b/tests/packagedcode/data/golang/gosum/sample2/output.expected.json @@ -38,6 +38,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/golang/gosum/sample3/output.expected.json b/tests/packagedcode/data/golang/gosum/sample3/output.expected.json index 8452927181e..f63bb306aca 100644 --- a/tests/packagedcode/data/golang/gosum/sample3/output.expected.json +++ b/tests/packagedcode/data/golang/gosum/sample3/output.expected.json @@ -46,6 +46,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/golang/gosum/sample4/output.expected.json b/tests/packagedcode/data/golang/gosum/sample4/output.expected.json index 4b5a9019e31..dbddd314edc 100644 --- a/tests/packagedcode/data/golang/gosum/sample4/output.expected.json +++ b/tests/packagedcode/data/golang/gosum/sample4/output.expected.json @@ -62,6 +62,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/golang/gosum/sample5/output.expected.json b/tests/packagedcode/data/golang/gosum/sample5/output.expected.json index c3486f18ca5..178265fba61 100644 --- a/tests/packagedcode/data/golang/gosum/sample5/output.expected.json +++ b/tests/packagedcode/data/golang/gosum/sample5/output.expected.json @@ -46,6 +46,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/golang/gosum/sample6/output.expected.json b/tests/packagedcode/data/golang/gosum/sample6/output.expected.json index 8c08f6cc23b..7cd5e42a5e2 100644 --- a/tests/packagedcode/data/golang/gosum/sample6/output.expected.json +++ b/tests/packagedcode/data/golang/gosum/sample6/output.expected.json @@ -38,6 +38,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/haxe/basic/haxelib.json.expected b/tests/packagedcode/data/haxe/basic/haxelib.json.expected index c0d7ec8eba8..2d7e0db684c 100644 --- a/tests/packagedcode/data/haxe/basic/haxelib.json.expected +++ b/tests/packagedcode/data/haxe/basic/haxelib.json.expected @@ -74,6 +74,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:haxe/haxelib@3.4.0", "repository_homepage_url": "https://lib.haxe.org/p/haxelib", "repository_download_url": "https://lib.haxe.org/p/haxelib/3.4.0/download/", diff --git a/tests/packagedcode/data/haxe/basic2/haxelib.json.expected b/tests/packagedcode/data/haxe/basic2/haxelib.json.expected index 0d4546f28e1..540d3ea7e53 100644 --- a/tests/packagedcode/data/haxe/basic2/haxelib.json.expected +++ b/tests/packagedcode/data/haxe/basic2/haxelib.json.expected @@ -41,6 +41,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:haxe/hxsocketio@0.1.0", "repository_homepage_url": "https://lib.haxe.org/p/hxsocketio", "repository_download_url": "https://lib.haxe.org/p/hxsocketio/0.1.0/download/", diff --git a/tests/packagedcode/data/haxe/deps/haxelib.json.expected b/tests/packagedcode/data/haxe/deps/haxelib.json.expected index 122705088c7..f310b5b8902 100644 --- a/tests/packagedcode/data/haxe/deps/haxelib.json.expected +++ b/tests/packagedcode/data/haxe/deps/haxelib.json.expected @@ -66,6 +66,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:haxe/selecthxml@0.5.1", "repository_homepage_url": "https://lib.haxe.org/p/selecthxml", "repository_download_url": "https://lib.haxe.org/p/selecthxml/0.5.1/download/", diff --git a/tests/packagedcode/data/haxe/tags/haxelib.json.expected b/tests/packagedcode/data/haxe/tags/haxelib.json.expected index 7beb70252a0..6c60619edb4 100644 --- a/tests/packagedcode/data/haxe/tags/haxelib.json.expected +++ b/tests/packagedcode/data/haxe/tags/haxelib.json.expected @@ -46,6 +46,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:haxe/tink_core@1.18.0", "repository_homepage_url": "https://lib.haxe.org/p/tink_core", "repository_download_url": "https://lib.haxe.org/p/tink_core/1.18.0/download/", diff --git a/tests/packagedcode/data/m2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom.package.json b/tests/packagedcode/data/m2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom.package.json index 57f782076ef..4a185882bcc 100644 --- a/tests/packagedcode/data/m2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom.package.json +++ b/tests/packagedcode/data/m2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/ant/ant-launcher@1.6.5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/ant/ant-launcher@1.6.5", "repository_homepage_url": "https://repo1.maven.org/maven2/ant/ant-launcher/1.6.5/", "repository_download_url": "https://repo1.maven.org/maven2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar", diff --git a/tests/packagedcode/data/m2/ant/ant/1.6.5/ant-1.6.5.pom.package.json b/tests/packagedcode/data/m2/ant/ant/1.6.5/ant-1.6.5.pom.package.json index 389fe3c3063..2b01f16338f 100644 --- a/tests/packagedcode/data/m2/ant/ant/1.6.5/ant-1.6.5.pom.package.json +++ b/tests/packagedcode/data/m2/ant/ant/1.6.5/ant-1.6.5.pom.package.json @@ -27,26 +27,27 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/xerces/xercesImpl", + "purl": "pkg:maven/xerces/xercesImpl@2.6.2", "requirement": "2.6.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/xml-apis/xml-apis", + "purl": "pkg:maven/xml-apis/xml-apis@1.3.04", "requirement": "1.3.04", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/ant/ant@1.6.5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/ant/ant@1.6.5", "repository_homepage_url": "https://repo1.maven.org/maven2/ant/ant/1.6.5/", "repository_download_url": "https://repo1.maven.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar", diff --git a/tests/packagedcode/data/m2/antlr/antlr/2.7.6/antlr-2.7.6.pom.package.json b/tests/packagedcode/data/m2/antlr/antlr/2.7.6/antlr-2.7.6.pom.package.json index c61a79ee54f..bf0cc2b06c5 100644 --- a/tests/packagedcode/data/m2/antlr/antlr/2.7.6/antlr-2.7.6.pom.package.json +++ b/tests/packagedcode/data/m2/antlr/antlr/2.7.6/antlr-2.7.6.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/antlr/antlr@2.7.6?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/antlr/antlr@2.7.6", "repository_homepage_url": "https://repo1.maven.org/maven2/antlr/antlr/2.7.6/", "repository_download_url": "https://repo1.maven.org/maven2/antlr/antlr/2.7.6/antlr-2.7.6.jar", diff --git a/tests/packagedcode/data/m2/aopalliance/aopalliance/1.0/aopalliance-1.0.pom.package.json b/tests/packagedcode/data/m2/aopalliance/aopalliance/1.0/aopalliance-1.0.pom.package.json index 404da199edb..f469f621472 100644 --- a/tests/packagedcode/data/m2/aopalliance/aopalliance/1.0/aopalliance-1.0.pom.package.json +++ b/tests/packagedcode/data/m2/aopalliance/aopalliance/1.0/aopalliance-1.0.pom.package.json @@ -37,6 +37,7 @@ "source_packages": [ "pkg:maven/aopalliance/aopalliance@1.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/aopalliance/aopalliance@1.0", "repository_homepage_url": "https://repo1.maven.org/maven2/aopalliance/aopalliance/1.0/", "repository_download_url": "https://repo1.maven.org/maven2/aopalliance/aopalliance/1.0/aopalliance-1.0.jar", diff --git a/tests/packagedcode/data/m2/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.pom.package.json b/tests/packagedcode/data/m2/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.pom.package.json index e8ddfc22015..afac2f2f3c9 100644 --- a/tests/packagedcode/data/m2/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.pom.package.json @@ -52,6 +52,7 @@ "source_packages": [ "pkg:maven/asm/asm-attrs@1.5.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/asm/asm-attrs@1.5.3", "repository_homepage_url": "https://repo1.maven.org/maven2/asm/asm-attrs/1.5.3/", "repository_download_url": "https://repo1.maven.org/maven2/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar", diff --git a/tests/packagedcode/data/m2/asm/asm-parent/3.0/asm-parent-3.0.pom.json b/tests/packagedcode/data/m2/asm/asm-parent/3.0/asm-parent-3.0.pom.json index edbd4905ad2..a5bd9cbaf42 100644 --- a/tests/packagedcode/data/m2/asm/asm-parent/3.0/asm-parent-3.0.pom.json +++ b/tests/packagedcode/data/m2/asm/asm-parent/3.0/asm-parent-3.0.pom.json @@ -55,5 +55,44 @@ "distribution_management": {}, "repositories": [], "plugin_repositories": [], - "dependencies": {} + "dependencies": { + "dependencyManagement": [ + { + "group_id": "asm", + "artifact_id": "asm", + "version": "3.0", + "required": true + }, + { + "group_id": "asm", + "artifact_id": "asm-tree", + "version": "3.0", + "required": true + }, + { + "group_id": "asm", + "artifact_id": "asm-analysis", + "version": "3.0", + "required": true + }, + { + "group_id": "asm", + "artifact_id": "asm-commons", + "version": "3.0", + "required": true + }, + { + "group_id": "asm", + "artifact_id": "asm-util", + "version": "3.0", + "required": true + }, + { + "group_id": "asm", + "artifact_id": "asm-xml", + "version": "3.0", + "required": true + } + ] + } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/asm/asm-parent/3.0/asm-parent-3.0.pom.package.json b/tests/packagedcode/data/m2/asm/asm-parent/3.0/asm-parent-3.0.pom.package.json index 05b75661b86..f382a8cbe8b 100644 --- a/tests/packagedcode/data/m2/asm/asm-parent/3.0/asm-parent-3.0.pom.package.json +++ b/tests/packagedcode/data/m2/asm/asm-parent/3.0/asm-parent-3.0.pom.package.json @@ -47,11 +47,61 @@ "declared_license": null, "notice_text": null, "root_path": null, - "dependencies": [], + "dependencies": [ + { + "purl": "pkg:maven/asm/asm@3.0", + "requirement": "3.0", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/asm/asm-tree@3.0", + "requirement": "3.0", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/asm/asm-analysis@3.0", + "requirement": "3.0", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/asm/asm-commons@3.0", + "requirement": "3.0", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/asm/asm-util@3.0", + "requirement": "3.0", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/asm/asm-xml@3.0", + "requirement": "3.0", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + } + ], "contains_source_code": null, "source_packages": [ "pkg:maven/asm/asm-parent@3.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/asm/asm-parent@3.0", "repository_homepage_url": "https://repo1.maven.org/maven2/asm/asm-parent/3.0/", "repository_download_url": "https://repo1.maven.org/maven2/asm/asm-parent/3.0/asm-parent-3.0.jar", diff --git a/tests/packagedcode/data/m2/asm/asm/1.5.3/asm-1.5.3.pom.package.json b/tests/packagedcode/data/m2/asm/asm/1.5.3/asm-1.5.3.pom.package.json index 6717c0d32aa..ac5c66e9308 100644 --- a/tests/packagedcode/data/m2/asm/asm/1.5.3/asm-1.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/asm/asm/1.5.3/asm-1.5.3.pom.package.json @@ -52,6 +52,7 @@ "source_packages": [ "pkg:maven/asm/asm@1.5.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/asm/asm@1.5.3", "repository_homepage_url": "https://repo1.maven.org/maven2/asm/asm/1.5.3/", "repository_download_url": "https://repo1.maven.org/maven2/asm/asm/1.5.3/asm-1.5.3.jar", diff --git a/tests/packagedcode/data/m2/asm/asm/3.0/asm-3.0.pom.package.json b/tests/packagedcode/data/m2/asm/asm/3.0/asm-3.0.pom.package.json index 914785d3515..84e235467b6 100644 --- a/tests/packagedcode/data/m2/asm/asm/3.0/asm-3.0.pom.package.json +++ b/tests/packagedcode/data/m2/asm/asm/3.0/asm-3.0.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/asm/asm@3.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/asm/asm@3.0", "repository_homepage_url": "https://repo1.maven.org/maven2/asm/asm/3.0/", "repository_download_url": "https://repo1.maven.org/maven2/asm/asm/3.0/asm-3.0.jar", diff --git a/tests/packagedcode/data/m2/aspectj/aspectjrt/1.5.3/aspectjrt-1.5.3.pom.package.json b/tests/packagedcode/data/m2/aspectj/aspectjrt/1.5.3/aspectjrt-1.5.3.pom.package.json index a533ced6282..6be963eb289 100644 --- a/tests/packagedcode/data/m2/aspectj/aspectjrt/1.5.3/aspectjrt-1.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/aspectj/aspectjrt/1.5.3/aspectjrt-1.5.3.pom.package.json @@ -37,6 +37,7 @@ "source_packages": [ "pkg:maven/aspectj/aspectjrt@1.5.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/aspectj/aspectjrt@1.5.3", "repository_homepage_url": "https://repo1.maven.org/maven2/aspectj/aspectjrt/1.5.3/", "repository_download_url": "https://repo1.maven.org/maven2/aspectj/aspectjrt/1.5.3/aspectjrt-1.5.3.jar", diff --git a/tests/packagedcode/data/m2/aspectj/aspectjrt/1.5.4/aspectjrt-1.5.4.pom.package.json b/tests/packagedcode/data/m2/aspectj/aspectjrt/1.5.4/aspectjrt-1.5.4.pom.package.json index 1a032a4b294..10da34e8612 100644 --- a/tests/packagedcode/data/m2/aspectj/aspectjrt/1.5.4/aspectjrt-1.5.4.pom.package.json +++ b/tests/packagedcode/data/m2/aspectj/aspectjrt/1.5.4/aspectjrt-1.5.4.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.aspectj/aspectjrt", + "purl": "pkg:maven/org.aspectj/aspectjrt@1.5.4", "requirement": "1.5.4", "scope": "relocation", - "is_runtime": true, + "is_runtime": false, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/aspectj/aspectjrt@1.5.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/aspectj/aspectjrt@1.5.4", "repository_homepage_url": "https://repo1.maven.org/maven2/aspectj/aspectjrt/1.5.4/", "repository_download_url": "https://repo1.maven.org/maven2/aspectj/aspectjrt/1.5.4/aspectjrt-1.5.4.jar", diff --git a/tests/packagedcode/data/m2/aspectj/aspectjtools/1.5.4/aspectjtools-1.5.4.pom.package.json b/tests/packagedcode/data/m2/aspectj/aspectjtools/1.5.4/aspectjtools-1.5.4.pom.package.json index b05018bd705..34bffec86a3 100644 --- a/tests/packagedcode/data/m2/aspectj/aspectjtools/1.5.4/aspectjtools-1.5.4.pom.package.json +++ b/tests/packagedcode/data/m2/aspectj/aspectjtools/1.5.4/aspectjtools-1.5.4.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.aspectj/aspectjtools", + "purl": "pkg:maven/org.aspectj/aspectjtools@1.5.4", "requirement": "1.5.4", "scope": "relocation", - "is_runtime": true, + "is_runtime": false, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/aspectj/aspectjtools@1.5.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/aspectj/aspectjtools@1.5.4", "repository_homepage_url": "https://repo1.maven.org/maven2/aspectj/aspectjtools/1.5.4/", "repository_download_url": "https://repo1.maven.org/maven2/aspectj/aspectjtools/1.5.4/aspectjtools-1.5.4.jar", diff --git a/tests/packagedcode/data/m2/aspectj/aspectjweaver/1.5.4/aspectjweaver-1.5.4.pom.package.json b/tests/packagedcode/data/m2/aspectj/aspectjweaver/1.5.4/aspectjweaver-1.5.4.pom.package.json index aeff1cccdf5..d4879203391 100644 --- a/tests/packagedcode/data/m2/aspectj/aspectjweaver/1.5.4/aspectjweaver-1.5.4.pom.package.json +++ b/tests/packagedcode/data/m2/aspectj/aspectjweaver/1.5.4/aspectjweaver-1.5.4.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.aspectj/aspectjweaver", + "purl": "pkg:maven/org.aspectj/aspectjweaver@1.5.4", "requirement": "1.5.4", "scope": "relocation", - "is_runtime": true, + "is_runtime": false, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/aspectj/aspectjweaver@1.5.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/aspectj/aspectjweaver@1.5.4", "repository_homepage_url": "https://repo1.maven.org/maven2/aspectj/aspectjweaver/1.5.4/", "repository_download_url": "https://repo1.maven.org/maven2/aspectj/aspectjweaver/1.5.4/aspectjweaver-1.5.4.jar", diff --git a/tests/packagedcode/data/m2/avalon/avalon-framework/4.1.3/avalon-framework-4.1.3.pom.package.json b/tests/packagedcode/data/m2/avalon/avalon-framework/4.1.3/avalon-framework-4.1.3.pom.package.json index a376a079ab3..c3f6ec4b199 100644 --- a/tests/packagedcode/data/m2/avalon/avalon-framework/4.1.3/avalon-framework-4.1.3.pom.package.json +++ b/tests/packagedcode/data/m2/avalon/avalon-framework/4.1.3/avalon-framework-4.1.3.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/avalon-framework/avalon-framework@4.1.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/avalon-framework/avalon-framework@4.1.3", "repository_homepage_url": "https://repo1.maven.org/maven2/avalon-framework/avalon-framework/4.1.3/", "repository_download_url": "https://repo1.maven.org/maven2/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.jar", diff --git a/tests/packagedcode/data/m2/bcel/bcel/5.1/bcel-5.1.pom.package.json b/tests/packagedcode/data/m2/bcel/bcel/5.1/bcel-5.1.pom.package.json index 1238d2e17ca..b7a28efb67f 100644 --- a/tests/packagedcode/data/m2/bcel/bcel/5.1/bcel-5.1.pom.package.json +++ b/tests/packagedcode/data/m2/bcel/bcel/5.1/bcel-5.1.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/bcel/bcel@5.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/bcel/bcel@5.1", "repository_homepage_url": "https://repo1.maven.org/maven2/bcel/bcel/5.1/", "repository_download_url": "https://repo1.maven.org/maven2/bcel/bcel/5.1/bcel-5.1.jar", diff --git a/tests/packagedcode/data/m2/beanutils/commons-beanutils/1.6/commons-beanutils-1.6.pom.package.json b/tests/packagedcode/data/m2/beanutils/commons-beanutils/1.6/commons-beanutils-1.6.pom.package.json index 37ef7aff625..3bb0fcc6ea1 100644 --- a/tests/packagedcode/data/m2/beanutils/commons-beanutils/1.6/commons-beanutils-1.6.pom.package.json +++ b/tests/packagedcode/data/m2/beanutils/commons-beanutils/1.6/commons-beanutils-1.6.pom.package.json @@ -70,34 +70,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-collections/commons-collections", + "purl": "pkg:maven/commons-collections/commons-collections@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.7", "requirement": "3.7", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/commons-beanutils/commons-beanutils@1.6?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/commons-beanutils/commons-beanutils@1.6", "repository_homepage_url": "https://repo1.maven.org/maven2/commons-beanutils/commons-beanutils/1.6/", "repository_download_url": "https://repo1.maven.org/maven2/commons-beanutils/commons-beanutils/1.6/commons-beanutils-1.6.jar", diff --git a/tests/packagedcode/data/m2/beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.pom.package.json b/tests/packagedcode/data/m2/beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.pom.package.json index e727182c255..4c9e735e8e8 100644 --- a/tests/packagedcode/data/m2/beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.pom.package.json +++ b/tests/packagedcode/data/m2/beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.0.3", "requirement": "1.0.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/commons-beanutils/commons-beanutils@1.7.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/commons-beanutils/commons-beanutils@1.7.0", "repository_homepage_url": "https://repo1.maven.org/maven2/commons-beanutils/commons-beanutils/1.7.0/", "repository_download_url": "https://repo1.maven.org/maven2/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar", diff --git a/tests/packagedcode/data/m2/biz/aQute/bndlib/0.0.203/bndlib-0.0.203.pom.package.json b/tests/packagedcode/data/m2/biz/aQute/bndlib/0.0.203/bndlib-0.0.203.pom.package.json index 8c840ef90ad..a2eddd5645f 100644 --- a/tests/packagedcode/data/m2/biz/aQute/bndlib/0.0.203/bndlib-0.0.203.pom.package.json +++ b/tests/packagedcode/data/m2/biz/aQute/bndlib/0.0.203/bndlib-0.0.203.pom.package.json @@ -45,6 +45,7 @@ "source_packages": [ "pkg:maven/biz.aQute/bndlib@0.0.203?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/biz.aQute/bndlib@0.0.203", "repository_homepage_url": "https://repo1.maven.org/maven2/biz/aQute/bndlib/0.0.203/", "repository_download_url": "https://repo1.maven.org/maven2/biz/aQute/bndlib/0.0.203/bndlib-0.0.203.jar", diff --git a/tests/packagedcode/data/m2/biz/aQute/bndlib/0.0.238/bndlib-0.0.238.pom.package.json b/tests/packagedcode/data/m2/biz/aQute/bndlib/0.0.238/bndlib-0.0.238.pom.package.json index c9611d8ea82..9fa3705d30d 100644 --- a/tests/packagedcode/data/m2/biz/aQute/bndlib/0.0.238/bndlib-0.0.238.pom.package.json +++ b/tests/packagedcode/data/m2/biz/aQute/bndlib/0.0.238/bndlib-0.0.238.pom.package.json @@ -45,6 +45,7 @@ "source_packages": [ "pkg:maven/biz.aQute/bndlib@0.0.238?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/biz.aQute/bndlib@0.0.238", "repository_homepage_url": "https://repo1.maven.org/maven2/biz/aQute/bndlib/0.0.238/", "repository_download_url": "https://repo1.maven.org/maven2/biz/aQute/bndlib/0.0.238/bndlib-0.0.238.jar", diff --git a/tests/packagedcode/data/m2/bytebuddy/pom.xml.json b/tests/packagedcode/data/m2/bytebuddy/pom.xml.json index ff2ce30de33..70f11b69050 100644 --- a/tests/packagedcode/data/m2/bytebuddy/pom.xml.json +++ b/tests/packagedcode/data/m2/bytebuddy/pom.xml.json @@ -81,6 +81,50 @@ "version": "1.16.16", "required": true } + ], + "dependencyManagement": [ + { + "group_id": "org.ow2.asm", + "artifact_id": "asm", + "version": "5.2", + "required": true + }, + { + "group_id": "org.ow2.asm", + "artifact_id": "asm-commons", + "version": "5.2", + "required": true + }, + { + "group_id": "org.ow2.asm", + "artifact_id": "asm-util", + "version": "5.2", + "required": true + }, + { + "group_id": "org.ow2.asm", + "artifact_id": "asm-analysis", + "version": "5.2", + "required": true + }, + { + "group_id": "junit", + "artifact_id": "junit", + "version": "4.12", + "required": true + }, + { + "group_id": "org.mockito", + "artifact_id": "mockito-core", + "version": "2.7.22", + "required": true + }, + { + "group_id": "com.google.android", + "artifact_id": "android", + "version": "4.1.1.4", + "required": true + } ] } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/bytebuddy/pom.xml.package.json b/tests/packagedcode/data/m2/bytebuddy/pom.xml.package.json index 665c8e7b6f7..35fb68784de 100644 --- a/tests/packagedcode/data/m2/bytebuddy/pom.xml.package.json +++ b/tests/packagedcode/data/m2/bytebuddy/pom.xml.package.json @@ -42,26 +42,83 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/com.google.code.findbugs/annotations", + "purl": "pkg:maven/com.google.code.findbugs/annotations@3.0.1u2", "requirement": "3.0.1u2", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.projectlombok/lombok", + "purl": "pkg:maven/org.projectlombok/lombok@1.16.16", "requirement": "1.16.16", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true + }, + { + "purl": "pkg:maven/org.ow2.asm/asm@5.2", + "requirement": "5.2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.ow2.asm/asm-commons@5.2", + "requirement": "5.2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.ow2.asm/asm-util@5.2", + "requirement": "5.2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.ow2.asm/asm-analysis@5.2", + "requirement": "5.2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/junit/junit@4.12", + "requirement": "4.12", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.mockito/mockito-core@2.7.22", + "requirement": "2.7.22", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/com.google.android/android@4.1.1.4", + "requirement": "4.1.1.4", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/net.bytebuddy/byte-buddy-parent@1.7.1-SNAPSHOT?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/net.bytebuddy/byte-buddy-parent@1.7.1-SNAPSHOT", "repository_homepage_url": "https://repo1.maven.org/maven2/net/bytebuddy/byte-buddy-parent/1.7.1-SNAPSHOT/", "repository_download_url": "https://repo1.maven.org/maven2/net/bytebuddy/byte-buddy-parent/1.7.1-SNAPSHOT/byte-buddy-parent-1.7.1-SNAPSHOT.jar", diff --git a/tests/packagedcode/data/m2/c3p0/c3p0/0.9.0.4/c3p0-0.9.0.4.pom.package.json b/tests/packagedcode/data/m2/c3p0/c3p0/0.9.0.4/c3p0-0.9.0.4.pom.package.json index 9af1658c7f8..02fd46929c8 100644 --- a/tests/packagedcode/data/m2/c3p0/c3p0/0.9.0.4/c3p0-0.9.0.4.pom.package.json +++ b/tests/packagedcode/data/m2/c3p0/c3p0/0.9.0.4/c3p0-0.9.0.4.pom.package.json @@ -37,6 +37,7 @@ "source_packages": [ "pkg:maven/c3p0/c3p0@0.9.0.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/c3p0/c3p0@0.9.0.4", "repository_homepage_url": "https://repo1.maven.org/maven2/c3p0/c3p0/0.9.0.4/", "repository_download_url": "https://repo1.maven.org/maven2/c3p0/c3p0/0.9.0.4/c3p0-0.9.0.4.jar", diff --git a/tests/packagedcode/data/m2/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.pom.package.json b/tests/packagedcode/data/m2/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.pom.package.json index 063198335f6..d8fa3249f16 100644 --- a/tests/packagedcode/data/m2/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.pom.package.json +++ b/tests/packagedcode/data/m2/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/cglib/cglib-nodep@2.1_3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/cglib/cglib-nodep@2.1_3", "repository_homepage_url": "https://repo1.maven.org/maven2/cglib/cglib-nodep/2.1_3/", "repository_download_url": "https://repo1.maven.org/maven2/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar", diff --git a/tests/packagedcode/data/m2/cglib/cglib/2.1_3/cglib-2.1_3.pom.package.json b/tests/packagedcode/data/m2/cglib/cglib/2.1_3/cglib-2.1_3.pom.package.json index 0d2362f97ae..6fdfcc87564 100644 --- a/tests/packagedcode/data/m2/cglib/cglib/2.1_3/cglib-2.1_3.pom.package.json +++ b/tests/packagedcode/data/m2/cglib/cglib/2.1_3/cglib-2.1_3.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/asm/asm", + "purl": "pkg:maven/asm/asm@1.5.3", "requirement": "1.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/cglib/cglib@2.1_3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/cglib/cglib@2.1_3", "repository_homepage_url": "https://repo1.maven.org/maven2/cglib/cglib/2.1_3/", "repository_download_url": "https://repo1.maven.org/maven2/cglib/cglib/2.1_3/cglib-2.1_3.jar", diff --git a/tests/packagedcode/data/m2/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.pom.package.json b/tests/packagedcode/data/m2/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.pom.package.json index 4384b78f23b..2f0e340cb0d 100644 --- a/tests/packagedcode/data/m2/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.pom.package.json +++ b/tests/packagedcode/data/m2/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.pom.package.json @@ -59,6 +59,7 @@ "source_packages": [ "pkg:maven/classworlds/classworlds@1.1-alpha-2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/classworlds/classworlds@1.1-alpha-2", "repository_homepage_url": "https://repo1.maven.org/maven2/classworlds/classworlds/1.1-alpha-2/", "repository_download_url": "https://repo1.maven.org/maven2/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar", diff --git a/tests/packagedcode/data/m2/classworlds/classworlds/1.1/classworlds-1.1.pom.package.json b/tests/packagedcode/data/m2/classworlds/classworlds/1.1/classworlds-1.1.pom.package.json index 9708ccbfa5c..631b1c5a664 100644 --- a/tests/packagedcode/data/m2/classworlds/classworlds/1.1/classworlds-1.1.pom.package.json +++ b/tests/packagedcode/data/m2/classworlds/classworlds/1.1/classworlds-1.1.pom.package.json @@ -59,6 +59,7 @@ "source_packages": [ "pkg:maven/classworlds/classworlds@1.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/classworlds/classworlds@1.1", "repository_homepage_url": "https://repo1.maven.org/maven2/classworlds/classworlds/1.1/", "repository_download_url": "https://repo1.maven.org/maven2/classworlds/classworlds/1.1/classworlds-1.1.jar", diff --git a/tests/packagedcode/data/m2/cli/commons-cli/1.0/commons-cli-1.0.pom.package.json b/tests/packagedcode/data/m2/cli/commons-cli/1.0/commons-cli-1.0.pom.package.json index 83f4f07419a..b531f9225b2 100644 --- a/tests/packagedcode/data/m2/cli/commons-cli/1.0/commons-cli-1.0.pom.package.json +++ b/tests/packagedcode/data/m2/cli/commons-cli/1.0/commons-cli-1.0.pom.package.json @@ -63,34 +63,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-lang/commons-lang", + "purl": "pkg:maven/commons-lang/commons-lang@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.7", "requirement": "3.7", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/commons-cli/commons-cli@1.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/commons-cli/commons-cli@1.0", "repository_homepage_url": "https://repo1.maven.org/maven2/commons-cli/commons-cli/1.0/", "repository_download_url": "https://repo1.maven.org/maven2/commons-cli/commons-cli/1.0/commons-cli-1.0.jar", diff --git a/tests/packagedcode/data/m2/codec/commons-codec/1.3/commons-codec-1.3.pom.package.json b/tests/packagedcode/data/m2/codec/commons-codec/1.3/commons-codec-1.3.pom.package.json index 26a0771b80b..6f1210754e2 100644 --- a/tests/packagedcode/data/m2/codec/commons-codec/1.3/commons-codec-1.3.pom.package.json +++ b/tests/packagedcode/data/m2/codec/commons-codec/1.3/commons-codec-1.3.pom.package.json @@ -161,18 +161,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/commons-codec/commons-codec@1.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/commons-codec/commons-codec@1.3", "repository_homepage_url": "https://repo1.maven.org/maven2/commons-codec/commons-codec/1.3/", "repository_download_url": "https://repo1.maven.org/maven2/commons-codec/commons-codec/1.3/commons-codec-1.3.jar", diff --git a/tests/packagedcode/data/m2/collections/commons-collections/2.0/commons-collections-2.0.pom.package.json b/tests/packagedcode/data/m2/collections/commons-collections/2.0/commons-collections-2.0.pom.package.json index 23df2e39c29..95c52e179cc 100644 --- a/tests/packagedcode/data/m2/collections/commons-collections/2.0/commons-collections-2.0.pom.package.json +++ b/tests/packagedcode/data/m2/collections/commons-collections/2.0/commons-collections-2.0.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/commons-collections/commons-collections@2.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/commons-collections/commons-collections@2.0", "repository_homepage_url": "https://repo1.maven.org/maven2/commons-collections/commons-collections/2.0/", "repository_download_url": "https://repo1.maven.org/maven2/commons-collections/commons-collections/2.0/commons-collections-2.0.jar", diff --git a/tests/packagedcode/data/m2/collections/commons-collections/2.1/commons-collections-2.1.pom.package.json b/tests/packagedcode/data/m2/collections/commons-collections/2.1/commons-collections-2.1.pom.package.json index 60059165f4a..7bb65fd10dd 100644 --- a/tests/packagedcode/data/m2/collections/commons-collections/2.1/commons-collections-2.1.pom.package.json +++ b/tests/packagedcode/data/m2/collections/commons-collections/2.1/commons-collections-2.1.pom.package.json @@ -63,18 +63,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.7", "requirement": "3.7", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/commons-collections/commons-collections@2.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/commons-collections/commons-collections@2.1", "repository_homepage_url": "https://repo1.maven.org/maven2/commons-collections/commons-collections/2.1/", "repository_download_url": "https://repo1.maven.org/maven2/commons-collections/commons-collections/2.1/commons-collections-2.1.jar", diff --git a/tests/packagedcode/data/m2/collections/commons-collections/3.1/commons-collections-3.1.pom.package.json b/tests/packagedcode/data/m2/collections/commons-collections/3.1/commons-collections-3.1.pom.package.json index 710ec19f22b..66385159fc6 100644 --- a/tests/packagedcode/data/m2/collections/commons-collections/3.1/commons-collections-3.1.pom.package.json +++ b/tests/packagedcode/data/m2/collections/commons-collections/3.1/commons-collections-3.1.pom.package.json @@ -469,18 +469,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/commons-collections/commons-collections@3.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/commons-collections/commons-collections@3.1", "repository_homepage_url": "https://repo1.maven.org/maven2/commons-collections/commons-collections/3.1/", "repository_download_url": "https://repo1.maven.org/maven2/commons-collections/commons-collections/3.1/commons-collections-3.1.jar", diff --git a/tests/packagedcode/data/m2/collections/commons-collections/3.2/commons-collections-3.2.pom.package.json b/tests/packagedcode/data/m2/collections/commons-collections/3.2/commons-collections-3.2.pom.package.json index 03607eab539..2bbbdbe7544 100644 --- a/tests/packagedcode/data/m2/collections/commons-collections/3.2/commons-collections-3.2.pom.package.json +++ b/tests/packagedcode/data/m2/collections/commons-collections/3.2/commons-collections-3.2.pom.package.json @@ -700,18 +700,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/commons-collections/commons-collections@3.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/commons-collections/commons-collections@3.2", "repository_homepage_url": "https://repo1.maven.org/maven2/commons-collections/commons-collections/3.2/", "repository_download_url": "https://repo1.maven.org/maven2/commons-collections/commons-collections/3.2/commons-collections-3.2.jar", diff --git a/tests/packagedcode/data/m2/com/google/collect/com.ss.c.g.common.collect/0.5.0.alpha/com.ss.c.g.common.collect-0.5.0.alpha.pom.package.json b/tests/packagedcode/data/m2/com/google/collect/com.ss.c.g.common.collect/0.5.0.alpha/com.ss.c.g.common.collect-0.5.0.alpha.pom.package.json index d66dc9e70ea..4d505b227d1 100644 --- a/tests/packagedcode/data/m2/com/google/collect/com.ss.c.g.common.collect/0.5.0.alpha/com.ss.c.g.common.collect-0.5.0.alpha.pom.package.json +++ b/tests/packagedcode/data/m2/com/google/collect/com.ss.c.g.common.collect/0.5.0.alpha/com.ss.c.g.common.collect-0.5.0.alpha.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/com.google.collect/com.ss.c.g.common.collect@0.5.0.alpha?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/com.google.collect/com.ss.c.g.common.collect@0.5.0.alpha", "repository_homepage_url": "https://repo1.maven.org/maven2/com/google/collect/com.ss.c.g.common.collect/0.5.0.alpha/", "repository_download_url": "https://repo1.maven.org/maven2/com/google/collect/com.ss.c.g.common.collect/0.5.0.alpha/com.ss.c.g.common.collect-0.5.0.alpha.jar", diff --git a/tests/packagedcode/data/m2/com/jcraft/jsch/0.1.23/jsch-0.1.23.pom.package.json b/tests/packagedcode/data/m2/com/jcraft/jsch/0.1.23/jsch-0.1.23.pom.package.json index a135fa23660..1a680a4b685 100644 --- a/tests/packagedcode/data/m2/com/jcraft/jsch/0.1.23/jsch-0.1.23.pom.package.json +++ b/tests/packagedcode/data/m2/com/jcraft/jsch/0.1.23/jsch-0.1.23.pom.package.json @@ -45,6 +45,7 @@ "source_packages": [ "pkg:maven/com.jcraft/jsch@0.1.23?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/com.jcraft/jsch@0.1.23", "repository_homepage_url": "https://repo1.maven.org/maven2/com/jcraft/jsch/0.1.23/", "repository_download_url": "https://repo1.maven.org/maven2/com/jcraft/jsch/0.1.23/jsch-0.1.23.jar", diff --git a/tests/packagedcode/data/m2/com/jcraft/jsch/0.1.27/jsch-0.1.27.pom.package.json b/tests/packagedcode/data/m2/com/jcraft/jsch/0.1.27/jsch-0.1.27.pom.package.json index 53c87c7cf0d..008b432442b 100644 --- a/tests/packagedcode/data/m2/com/jcraft/jsch/0.1.27/jsch-0.1.27.pom.package.json +++ b/tests/packagedcode/data/m2/com/jcraft/jsch/0.1.27/jsch-0.1.27.pom.package.json @@ -42,18 +42,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/com.jcraft/jzlib", + "purl": "pkg:maven/com.jcraft/jzlib@1.0.7", "requirement": "1.0.7", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/com.jcraft/jsch@0.1.27?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/com.jcraft/jsch@0.1.27", "repository_homepage_url": "https://repo1.maven.org/maven2/com/jcraft/jsch/0.1.27/", "repository_download_url": "https://repo1.maven.org/maven2/com/jcraft/jsch/0.1.27/jsch-0.1.27.jar", diff --git a/tests/packagedcode/data/m2/com/sun/facelets/el-api/1.1.11/el-api-1.1.11.pom.package.json b/tests/packagedcode/data/m2/com/sun/facelets/el-api/1.1.11/el-api-1.1.11.pom.package.json index 3684fa738c3..5fbbb69cac5 100644 --- a/tests/packagedcode/data/m2/com/sun/facelets/el-api/1.1.11/el-api-1.1.11.pom.package.json +++ b/tests/packagedcode/data/m2/com/sun/facelets/el-api/1.1.11/el-api-1.1.11.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/com.sun.facelets/el-api@1.1.11?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/com.sun.facelets/el-api@1.1.11", "repository_homepage_url": "https://repo1.maven.org/maven2/com/sun/facelets/el-api/1.1.11/", "repository_download_url": "https://repo1.maven.org/maven2/com/sun/facelets/el-api/1.1.11/el-api-1.1.11.jar", diff --git a/tests/packagedcode/data/m2/com/sun/facelets/el-ri/1.1.11/el-ri-1.1.11.pom.package.json b/tests/packagedcode/data/m2/com/sun/facelets/el-ri/1.1.11/el-ri-1.1.11.pom.package.json index 26f571cf0d6..a99cf5c2223 100644 --- a/tests/packagedcode/data/m2/com/sun/facelets/el-ri/1.1.11/el-ri-1.1.11.pom.package.json +++ b/tests/packagedcode/data/m2/com/sun/facelets/el-ri/1.1.11/el-ri-1.1.11.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/com.sun.facelets/el-ri@1.1.11?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/com.sun.facelets/el-ri@1.1.11", "repository_homepage_url": "https://repo1.maven.org/maven2/com/sun/facelets/el-ri/1.1.11/", "repository_download_url": "https://repo1.maven.org/maven2/com/sun/facelets/el-ri/1.1.11/el-ri-1.1.11.jar", diff --git a/tests/packagedcode/data/m2/com/sun/facelets/jsf-facelets/1.1.14/jsf-facelets-1.1.14.pom.package.json b/tests/packagedcode/data/m2/com/sun/facelets/jsf-facelets/1.1.14/jsf-facelets-1.1.14.pom.package.json index 05a1cf4c322..f17eac72087 100644 --- a/tests/packagedcode/data/m2/com/sun/facelets/jsf-facelets/1.1.14/jsf-facelets-1.1.14.pom.package.json +++ b/tests/packagedcode/data/m2/com/sun/facelets/jsf-facelets/1.1.14/jsf-facelets-1.1.14.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/com.sun.facelets/jsf-facelets@1.1.14?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/com.sun.facelets/jsf-facelets@1.1.14", "repository_homepage_url": "https://repo1.maven.org/maven2/com/sun/facelets/jsf-facelets/1.1.14/", "repository_download_url": "https://repo1.maven.org/maven2/com/sun/facelets/jsf-facelets/1.1.14/jsf-facelets-1.1.14.jar", diff --git a/tests/packagedcode/data/m2/com/thoughtworks/xstream/xstream-parent/1.2.2/xstream-parent-1.2.2.pom.json b/tests/packagedcode/data/m2/com/thoughtworks/xstream/xstream-parent/1.2.2/xstream-parent-1.2.2.pom.json index 39201cc24ad..95802a9312b 100644 --- a/tests/packagedcode/data/m2/com/thoughtworks/xstream/xstream-parent/1.2.2/xstream-parent-1.2.2.pom.json +++ b/tests/packagedcode/data/m2/com/thoughtworks/xstream/xstream-parent/1.2.2/xstream-parent-1.2.2.pom.json @@ -62,5 +62,104 @@ } ], "plugin_repositories": [], - "dependencies": {} + "dependencies": { + "dependencyManagement": [ + { + "group_id": "commons-io", + "artifact_id": "commons-io", + "version": "1.3", + "required": true + }, + { + "group_id": "commons-lang", + "artifact_id": "commons-lang", + "version": "2.1", + "required": true + }, + { + "group_id": "cglib", + "artifact_id": "cglib-nodep", + "version": "2.1_3", + "required": true + }, + { + "group_id": "dom4j", + "artifact_id": "dom4j", + "version": "1.6.1", + "required": true + }, + { + "group_id": "jdom", + "artifact_id": "jdom", + "version": "1.0", + "required": true + }, + { + "group_id": "joda-time", + "artifact_id": "joda-time", + "version": "1.2.1", + "required": true + }, + { + "group_id": "com.megginson.sax", + "artifact_id": "xml-writer", + "version": "0.2", + "required": true + }, + { + "group_id": "stax", + "artifact_id": "stax", + "version": "1.2.0", + "required": true + }, + { + "group_id": "stax", + "artifact_id": "stax-api", + "version": "1.0.1", + "required": true + }, + { + "group_id": "org.codehaus.woodstox", + "artifact_id": "wstx-asl", + "version": "3.2.0", + "required": true + }, + { + "group_id": "xom", + "artifact_id": "xom", + "version": "1.1", + "required": true + }, + { + "group_id": "xpp3", + "artifact_id": "xpp3_min", + "version": "1.1.3.4.O", + "required": true + }, + { + "group_id": "oro", + "artifact_id": "oro", + "version": "2.0.8", + "required": true + }, + { + "group_id": "org.codehaus.jettison", + "artifact_id": "jettison", + "version": "1.0-RC1", + "required": true + }, + { + "group_id": "junit", + "artifact_id": "junit", + "version": "3.8.1", + "required": true + }, + { + "group_id": "jmock", + "artifact_id": "jmock", + "version": "1.0.1", + "required": true + } + ] + } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/com/thoughtworks/xstream/xstream-parent/1.2.2/xstream-parent-1.2.2.pom.package.json b/tests/packagedcode/data/m2/com/thoughtworks/xstream/xstream-parent/1.2.2/xstream-parent-1.2.2.pom.package.json index 91ceec7e2c1..8d0136f558e 100644 --- a/tests/packagedcode/data/m2/com/thoughtworks/xstream/xstream-parent/1.2.2/xstream-parent-1.2.2.pom.package.json +++ b/tests/packagedcode/data/m2/com/thoughtworks/xstream/xstream-parent/1.2.2/xstream-parent-1.2.2.pom.package.json @@ -40,11 +40,141 @@ ], "notice_text": null, "root_path": null, - "dependencies": [], + "dependencies": [ + { + "purl": "pkg:maven/commons-io/commons-io@1.3", + "requirement": "1.3", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/commons-lang/commons-lang@2.1", + "requirement": "2.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/cglib/cglib-nodep@2.1_3", + "requirement": "2.1_3", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/dom4j/dom4j@1.6.1", + "requirement": "1.6.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/jdom/jdom@1.0", + "requirement": "1.0", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/joda-time/joda-time@1.2.1", + "requirement": "1.2.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/com.megginson.sax/xml-writer@0.2", + "requirement": "0.2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/stax/stax@1.2.0", + "requirement": "1.2.0", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/stax/stax-api@1.0.1", + "requirement": "1.0.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.woodstox/wstx-asl@3.2.0", + "requirement": "3.2.0", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/xom/xom@1.1", + "requirement": "1.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/xpp3/xpp3_min@1.1.3.4.O", + "requirement": "1.1.3.4.O", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/oro/oro@2.0.8", + "requirement": "2.0.8", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.jettison/jettison@1.0-RC1", + "requirement": "1.0-RC1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/junit/junit@3.8.1", + "requirement": "3.8.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/jmock/jmock@1.0.1", + "requirement": "1.0.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + } + ], "contains_source_code": null, "source_packages": [ "pkg:maven/com.thoughtworks.xstream/xstream-parent@1.2.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/com.thoughtworks.xstream/xstream-parent@1.2.2", "repository_homepage_url": "https://repo1.maven.org/maven2/com/thoughtworks/xstream/xstream-parent/1.2.2/", "repository_download_url": "https://repo1.maven.org/maven2/com/thoughtworks/xstream/xstream-parent/1.2.2/xstream-parent-1.2.2.jar", diff --git a/tests/packagedcode/data/m2/com/thoughtworks/xstream/xstream/1.2.2/xstream-1.2.2.pom.package.json b/tests/packagedcode/data/m2/com/thoughtworks/xstream/xstream/1.2.2/xstream-1.2.2.pom.package.json index 87bdd96440f..494a81870e5 100644 --- a/tests/packagedcode/data/m2/com/thoughtworks/xstream/xstream/1.2.2/xstream-1.2.2.pom.package.json +++ b/tests/packagedcode/data/m2/com/thoughtworks/xstream/xstream/1.2.2/xstream-1.2.2.pom.package.json @@ -30,105 +30,105 @@ "purl": "pkg:maven/dom4j/dom4j", "requirement": null, "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null }, { "purl": "pkg:maven/jdom/jdom", "requirement": null, "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null }, { "purl": "pkg:maven/joda-time/joda-time", "requirement": null, "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null }, { "purl": "pkg:maven/com.megginson.sax/xml-writer", "requirement": null, "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null }, { "purl": "pkg:maven/stax/stax", "requirement": null, "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.woodstox/wstx-asl", "requirement": null, "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null }, { "purl": "pkg:maven/stax/stax-api", "requirement": null, "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null }, { "purl": "pkg:maven/xom/xom", "requirement": null, "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null }, { "purl": "pkg:maven/xpp3/xpp3_min", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/cglib/cglib-nodep", "requirement": null, "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.jettison/jettison", "requirement": null, "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null }, { "purl": "pkg:maven/junit/junit", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/jmock/jmock", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/oro/oro", @@ -136,7 +136,7 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null }, { "purl": "pkg:maven/commons-lang/commons-lang", @@ -144,13 +144,14 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/com.thoughtworks.xstream/xstream@1.2.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/com.thoughtworks.xstream/xstream@1.2.2", "repository_homepage_url": "https://repo1.maven.org/maven2/com/thoughtworks/xstream/xstream/1.2.2/", "repository_download_url": "https://repo1.maven.org/maven2/com/thoughtworks/xstream/xstream/1.2.2/xstream-1.2.2.jar", diff --git a/tests/packagedcode/data/m2/depman/foo.pom b/tests/packagedcode/data/m2/depman/foo.pom new file mode 100644 index 00000000000..6971026c72c --- /dev/null +++ b/tests/packagedcode/data/m2/depman/foo.pom @@ -0,0 +1,203 @@ + + + + + + 4.0.0 + + + org.jboss.shrinkwrap.resolver + shrinkwrap-resolver-bom + 3.0.1 + pom + ShrinkWrap Resolver Bill of Materials + Centralized dependencyManagement for the ShrinkWrap Resolver Project + http://www.jboss.org/shrinkwrap + + + + + Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + + scm:git:git://github.com/shrinkwrap/shrinkwrap.git + scm:git:git@github.com:shrinkwrap/shrinkwrap.git + https://github.com/shrinkwrap/shrinkwrap + 3.0.1 + + + + + jboss.org + JBoss.org Community + JBoss.org + http://www.jboss.org + + + + + + + https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/ + https://repository.jboss.org/nexus/content/repositories/snapshots/ + 3.3.9 + + + + + + + + + org.jboss.shrinkwrap.resolver + shrinkwrap-resolver-api + ${project.version} + + + org.jboss.shrinkwrap.resolver + shrinkwrap-resolver-spi + ${project.version} + + + org.jboss.shrinkwrap.resolver + shrinkwrap-resolver-api-maven + ${project.version} + + + org.jboss.shrinkwrap.resolver + shrinkwrap-resolver-spi-maven + ${project.version} + + + org.jboss.shrinkwrap.resolver + shrinkwrap-resolver-impl-maven + ${project.version} + + + org.jboss.shrinkwrap.resolver + shrinkwrap-resolver-api-maven-archive + ${project.version} + + + org.jboss.shrinkwrap.resolver + shrinkwrap-resolver-impl-maven-archive + ${project.version} + + + org.jboss.shrinkwrap.resolver + shrinkwrap-resolver-depchain + ${project.version} + pom + + + org.jboss.shrinkwrap.resolver + shrinkwrap-resolver-gradle-depchain + ${project.version} + pom + + + org.jboss.shrinkwrap.resolver + shrinkwrap-resolver-maven-plugin + ${project.version} + runtime + maven-plugin + + + org.jboss.shrinkwrap.resolver + shrinkwrap-resolver-api-gradle-embedded-archive + ${project.version} + + + org.jboss.shrinkwrap.resolver + shrinkwrap-resolver-impl-gradle-embedded-archive + ${project.version} + + + org.jboss.shrinkwrap.resolver + shrinkwrap-resolver-api-maven-embedded + ${project.version} + + + org.jboss.shrinkwrap.resolver + shrinkwrap-resolver-impl-maven-embedded + ${project.version} + + + + + org.apache.maven + maven + 3.3.9 + import + pom + + + + + + + + + + maven-release-plugin + + false + true + + + + + + + + + + gpg-sign + + + + + org.apache.maven.plugins + maven-gpg-plugin + + true + + + + + sign + + + + + + + + + + + + jboss-releases-repository + JBoss Releases Repository + ${jboss.releases.repo.url} + + + jboss-snapshots-repository + JBoss Snapshots Repository + ${jboss.snapshots.repo.url} + + + + diff --git a/tests/packagedcode/data/m2/depman/foo.pom.json b/tests/packagedcode/data/m2/depman/foo.pom.json new file mode 100644 index 00000000000..43e59df37b0 --- /dev/null +++ b/tests/packagedcode/data/m2/depman/foo.pom.json @@ -0,0 +1,163 @@ +{ + "model_version": "4.0.0", + "group_id": "org.jboss.shrinkwrap.resolver", + "artifact_id": "shrinkwrap-resolver-bom", + "version": "3.0.1", + "classifier": null, + "packaging": "pom", + "parent": {}, + "name": "ShrinkWrap Resolver Bill of Materials", + "description": "Centralized dependencyManagement for the ShrinkWrap Resolver Project", + "inception_year": null, + "url": "http://www.jboss.org/shrinkwrap", + "organization_name": null, + "organization_url": null, + "licenses": [ + { + "name": "Apache License, Version 2.0", + "url": "http://www.apache.org/licenses/LICENSE-2.0.txt", + "comments": null, + "distribution": null + } + ], + "developers": [ + { + "id": "jboss.org", + "name": "JBoss.org Community", + "email": null, + "url": null, + "organization": "JBoss.org", + "organization_url": "http://www.jboss.org", + "roles": [] + } + ], + "contributors": [], + "modules": [], + "mailing_lists": [], + "scm": { + "connection": "scm:git:git://github.com/shrinkwrap/shrinkwrap.git", + "developer_connection": null, + "url": "https://github.com/shrinkwrap/shrinkwrap", + "tag": "3.0.1" + }, + "issue_management": {}, + "ci_management": {}, + "distribution_management": { + "download_url": null, + "site": {}, + "repository": { + "id": "jboss-releases-repository", + "name": "JBoss Releases Repository", + "url": "${jboss.releases.repo.url}" + }, + "snapshot_repository": { + "id": "jboss-snapshots-repository", + "name": "JBoss Snapshots Repository", + "url": "${jboss.snapshots.repo.url}" + } + }, + "repositories": [], + "plugin_repositories": [], + "dependencies": { + "import": [ + { + "group_id": "org.apache.maven", + "artifact_id": "maven", + "version": "3.3.9", + "required": true + } + ], + "dependencyManagement": [ + { + "group_id": "org.jboss.shrinkwrap.resolver", + "artifact_id": "shrinkwrap-resolver-api", + "version": "3.0.1", + "required": true + }, + { + "group_id": "org.jboss.shrinkwrap.resolver", + "artifact_id": "shrinkwrap-resolver-spi", + "version": "3.0.1", + "required": true + }, + { + "group_id": "org.jboss.shrinkwrap.resolver", + "artifact_id": "shrinkwrap-resolver-api-maven", + "version": "3.0.1", + "required": true + }, + { + "group_id": "org.jboss.shrinkwrap.resolver", + "artifact_id": "shrinkwrap-resolver-spi-maven", + "version": "3.0.1", + "required": true + }, + { + "group_id": "org.jboss.shrinkwrap.resolver", + "artifact_id": "shrinkwrap-resolver-impl-maven", + "version": "3.0.1", + "required": true + }, + { + "group_id": "org.jboss.shrinkwrap.resolver", + "artifact_id": "shrinkwrap-resolver-api-maven-archive", + "version": "3.0.1", + "required": true + }, + { + "group_id": "org.jboss.shrinkwrap.resolver", + "artifact_id": "shrinkwrap-resolver-impl-maven-archive", + "version": "3.0.1", + "required": true + }, + { + "group_id": "org.jboss.shrinkwrap.resolver", + "artifact_id": "shrinkwrap-resolver-depchain", + "version": "3.0.1", + "required": true + }, + { + "group_id": "org.jboss.shrinkwrap.resolver", + "artifact_id": "shrinkwrap-resolver-gradle-depchain", + "version": "3.0.1", + "required": true + }, + { + "group_id": "org.jboss.shrinkwrap.resolver", + "artifact_id": "shrinkwrap-resolver-maven-plugin", + "version": "3.0.1", + "required": true + }, + { + "group_id": "org.jboss.shrinkwrap.resolver", + "artifact_id": "shrinkwrap-resolver-api-gradle-embedded-archive", + "version": "3.0.1", + "required": true + }, + { + "group_id": "org.jboss.shrinkwrap.resolver", + "artifact_id": "shrinkwrap-resolver-impl-gradle-embedded-archive", + "version": "3.0.1", + "required": true + }, + { + "group_id": "org.jboss.shrinkwrap.resolver", + "artifact_id": "shrinkwrap-resolver-api-maven-embedded", + "version": "3.0.1", + "required": true + }, + { + "group_id": "org.jboss.shrinkwrap.resolver", + "artifact_id": "shrinkwrap-resolver-impl-maven-embedded", + "version": "3.0.1", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven", + "version": "3.3.9", + "required": true + } + ] + } +} \ No newline at end of file diff --git a/tests/packagedcode/data/m2/depman/foo.pom.package.json b/tests/packagedcode/data/m2/depman/foo.pom.package.json new file mode 100644 index 00000000000..2a9a5068386 --- /dev/null +++ b/tests/packagedcode/data/m2/depman/foo.pom.package.json @@ -0,0 +1,182 @@ +{ + "type": "maven", + "namespace": "org.jboss.shrinkwrap.resolver", + "name": "shrinkwrap-resolver-bom", + "version": "3.0.1", + "qualifiers": {}, + "subpath": null, + "primary_language": "Java", + "description": "ShrinkWrap Resolver Bill of Materials\nCentralized dependencyManagement for the ShrinkWrap Resolver Project", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "developper", + "name": "JBoss.org Community", + "email": null, + "url": null + } + ], + "keywords": [], + "homepage_url": "http://www.jboss.org/shrinkwrap", + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": "https://github.com/shrinkwrap/shrinkwrap", + "vcs_url": "git://github.com/shrinkwrap/shrinkwrap.git", + "copyright": null, + "license_expression": "apache-2.0", + "declared_license": [ + { + "name": "Apache License, Version 2.0", + "url": "http://www.apache.org/licenses/LICENSE-2.0.txt", + "comments": null, + "distribution": null + } + ], + "notice_text": null, + "root_path": null, + "dependencies": [ + { + "purl": "pkg:maven/org.apache.maven/maven@3.3.9", + "requirement": "3.3.9", + "scope": "import", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.jboss.shrinkwrap.resolver/shrinkwrap-resolver-api@3.0.1", + "requirement": "3.0.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.jboss.shrinkwrap.resolver/shrinkwrap-resolver-spi@3.0.1", + "requirement": "3.0.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.jboss.shrinkwrap.resolver/shrinkwrap-resolver-api-maven@3.0.1", + "requirement": "3.0.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.jboss.shrinkwrap.resolver/shrinkwrap-resolver-spi-maven@3.0.1", + "requirement": "3.0.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.jboss.shrinkwrap.resolver/shrinkwrap-resolver-impl-maven@3.0.1", + "requirement": "3.0.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.jboss.shrinkwrap.resolver/shrinkwrap-resolver-api-maven-archive@3.0.1", + "requirement": "3.0.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.jboss.shrinkwrap.resolver/shrinkwrap-resolver-impl-maven-archive@3.0.1", + "requirement": "3.0.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.jboss.shrinkwrap.resolver/shrinkwrap-resolver-depchain@3.0.1", + "requirement": "3.0.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.jboss.shrinkwrap.resolver/shrinkwrap-resolver-gradle-depchain@3.0.1", + "requirement": "3.0.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.jboss.shrinkwrap.resolver/shrinkwrap-resolver-maven-plugin@3.0.1", + "requirement": "3.0.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.jboss.shrinkwrap.resolver/shrinkwrap-resolver-api-gradle-embedded-archive@3.0.1", + "requirement": "3.0.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.jboss.shrinkwrap.resolver/shrinkwrap-resolver-impl-gradle-embedded-archive@3.0.1", + "requirement": "3.0.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.jboss.shrinkwrap.resolver/shrinkwrap-resolver-api-maven-embedded@3.0.1", + "requirement": "3.0.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.jboss.shrinkwrap.resolver/shrinkwrap-resolver-impl-maven-embedded@3.0.1", + "requirement": "3.0.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven@3.3.9", + "requirement": "3.3.9", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + } + ], + "contains_source_code": null, + "source_packages": [ + "pkg:maven/org.jboss.shrinkwrap.resolver/shrinkwrap-resolver-bom@3.0.1?classifier=sources" + ], + "extra_data": {}, + "purl": "pkg:maven/org.jboss.shrinkwrap.resolver/shrinkwrap-resolver-bom@3.0.1", + "repository_homepage_url": "https://repo1.maven.org/maven2/org/jboss/shrinkwrap/resolver/shrinkwrap-resolver-bom/3.0.1/", + "repository_download_url": "https://repo1.maven.org/maven2/org/jboss/shrinkwrap/resolver/shrinkwrap-resolver-bom/3.0.1/shrinkwrap-resolver-bom-3.0.1.jar", + "api_data_url": "https://repo1.maven.org/maven2/org/jboss/shrinkwrap/resolver/shrinkwrap-resolver-bom/3.0.1/shrinkwrap-resolver-bom-3.0.1.pom" +} \ No newline at end of file diff --git a/tests/packagedcode/data/m2/digester/commons-digester/1.6/commons-digester-1.6.pom.package.json b/tests/packagedcode/data/m2/digester/commons-digester/1.6/commons-digester-1.6.pom.package.json index b50121039bb..51584b27458 100644 --- a/tests/packagedcode/data/m2/digester/commons-digester/1.6/commons-digester-1.6.pom.package.json +++ b/tests/packagedcode/data/m2/digester/commons-digester/1.6/commons-digester-1.6.pom.package.json @@ -27,50 +27,51 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/commons-beanutils/commons-beanutils", + "purl": "pkg:maven/commons-beanutils/commons-beanutils@1.6", "requirement": "1.6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-collections/commons-collections", + "purl": "pkg:maven/commons-collections/commons-collections@2.1", "requirement": "2.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/xml-apis/xml-apis", + "purl": "pkg:maven/xml-apis/xml-apis@1.0.b2", "requirement": "1.0.b2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/commons-digester/commons-digester@1.6?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/commons-digester/commons-digester@1.6", "repository_homepage_url": "https://repo1.maven.org/maven2/commons-digester/commons-digester/1.6/", "repository_download_url": "https://repo1.maven.org/maven2/commons-digester/commons-digester/1.6/commons-digester-1.6.jar", diff --git a/tests/packagedcode/data/m2/digester/commons-digester/1.8/commons-digester-1.8.pom.package.json b/tests/packagedcode/data/m2/digester/commons-digester/1.8/commons-digester-1.8.pom.package.json index 3a7450be6cb..308c03be3a7 100644 --- a/tests/packagedcode/data/m2/digester/commons-digester/1.8/commons-digester-1.8.pom.package.json +++ b/tests/packagedcode/data/m2/digester/commons-digester/1.8/commons-digester-1.8.pom.package.json @@ -196,42 +196,43 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/commons-beanutils/commons-beanutils", + "purl": "pkg:maven/commons-beanutils/commons-beanutils@1.7.0", "requirement": "1.7.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.1", "requirement": "1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/xml-apis/xml-apis", + "purl": "pkg:maven/xml-apis/xml-apis@1.0.b2", "requirement": "1.0.b2", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/commons-digester/commons-digester@1.8?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/commons-digester/commons-digester@1.8", "repository_homepage_url": "https://repo1.maven.org/maven2/commons-digester/commons-digester/1.8/", "repository_download_url": "https://repo1.maven.org/maven2/commons-digester/commons-digester/1.8/commons-digester-1.8.jar", diff --git a/tests/packagedcode/data/m2/dom4j/dom4j/1.6.1/dom4j-1.6.1.pom.package.json b/tests/packagedcode/data/m2/dom4j/dom4j/1.6.1/dom4j-1.6.1.pom.package.json index 4e635f3d470..67547131b72 100644 --- a/tests/packagedcode/data/m2/dom4j/dom4j/1.6.1/dom4j-1.6.1.pom.package.json +++ b/tests/packagedcode/data/m2/dom4j/dom4j/1.6.1/dom4j-1.6.1.pom.package.json @@ -140,106 +140,107 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/jaxme/jaxme-api", + "purl": "pkg:maven/jaxme/jaxme-api@0.3", "requirement": "0.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jaxen/jaxen", + "purl": "pkg:maven/jaxen/jaxen@1.1-beta-6", "requirement": "1.1-beta-6", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/msv/xsdlib", + "purl": "pkg:maven/msv/xsdlib@20030807", "requirement": "20030807", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/msv/relaxngDatatype", + "purl": "pkg:maven/msv/relaxngDatatype@20030807", "requirement": "20030807", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/pull-parser/pull-parser", + "purl": "pkg:maven/pull-parser/pull-parser@2", "requirement": "2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/xpp3/xpp3", + "purl": "pkg:maven/xpp3/xpp3@1.1.3.3", "requirement": "1.1.3.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/stax/stax-api", + "purl": "pkg:maven/stax/stax-api@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/xml-apis/xml-apis", + "purl": "pkg:maven/xml-apis/xml-apis@1.0.b2", "requirement": "1.0.b2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junitperf/junitperf", + "purl": "pkg:maven/junitperf/junitperf@1.8", "requirement": "1.8", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/stax/stax-ri", + "purl": "pkg:maven/stax/stax-ri@1.0", "requirement": "1.0", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/xerces/xercesImpl", + "purl": "pkg:maven/xerces/xercesImpl@2.6.2", "requirement": "2.6.2", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/xalan/xalan", + "purl": "pkg:maven/xalan/xalan@2.5.1", "requirement": "2.5.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/dom4j/dom4j@1.6.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/dom4j/dom4j@1.6.1", "repository_homepage_url": "https://repo1.maven.org/maven2/dom4j/dom4j/1.6.1/", "repository_download_url": "https://repo1.maven.org/maven2/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar", diff --git a/tests/packagedcode/data/m2/doxia/doxia-core/1.0-alpha-4/doxia-core-1.0-alpha-4.pom.package.json b/tests/packagedcode/data/m2/doxia/doxia-core/1.0-alpha-4/doxia-core-1.0-alpha-4.pom.package.json index fb3bb483d1b..fb3e352015c 100644 --- a/tests/packagedcode/data/m2/doxia/doxia-core/1.0-alpha-4/doxia-core-1.0-alpha-4.pom.package.json +++ b/tests/packagedcode/data/m2/doxia/doxia-core/1.0-alpha-4/doxia-core-1.0-alpha-4.pom.package.json @@ -42,42 +42,43 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/oro/oro", + "purl": "pkg:maven/oro/oro@2.0.7", "requirement": "2.0.7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/plexus/plexus-utils", + "purl": "pkg:maven/plexus/plexus-utils@1.0.2", "requirement": "1.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/doxia/doxia-sink-api", + "purl": "pkg:maven/doxia/doxia-sink-api@1.0-alpha-4", "requirement": "1.0-alpha-4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/plexus/plexus-container-default", + "purl": "pkg:maven/plexus/plexus-container-default@1.0-alpha-6", "requirement": "1.0-alpha-6", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/doxia/doxia-core@1.0-alpha-4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/doxia/doxia-core@1.0-alpha-4", "repository_homepage_url": "https://repo1.maven.org/maven2/doxia/doxia-core/1.0-alpha-4/", "repository_download_url": "https://repo1.maven.org/maven2/doxia/doxia-core/1.0-alpha-4/doxia-core-1.0-alpha-4.jar", diff --git a/tests/packagedcode/data/m2/doxia/doxia-sink-api/1.0-alpha-4/doxia-sink-api-1.0-alpha-4.pom.package.json b/tests/packagedcode/data/m2/doxia/doxia-sink-api/1.0-alpha-4/doxia-sink-api-1.0-alpha-4.pom.package.json index 27eef239793..4b84960132e 100644 --- a/tests/packagedcode/data/m2/doxia/doxia-sink-api/1.0-alpha-4/doxia-sink-api-1.0-alpha-4.pom.package.json +++ b/tests/packagedcode/data/m2/doxia/doxia-sink-api/1.0-alpha-4/doxia-sink-api-1.0-alpha-4.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/doxia/doxia-sink-api@1.0-alpha-4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/doxia/doxia-sink-api@1.0-alpha-4", "repository_homepage_url": "https://repo1.maven.org/maven2/doxia/doxia-sink-api/1.0-alpha-4/", "repository_download_url": "https://repo1.maven.org/maven2/doxia/doxia-sink-api/1.0-alpha-4/doxia-sink-api-1.0-alpha-4.jar", diff --git a/tests/packagedcode/data/m2/el/commons-el/1.0/commons-el-1.0.pom.package.json b/tests/packagedcode/data/m2/el/commons-el/1.0/commons-el-1.0.pom.package.json index 62c420e99bd..3ff62ce1225 100644 --- a/tests/packagedcode/data/m2/el/commons-el/1.0/commons-el-1.0.pom.package.json +++ b/tests/packagedcode/data/m2/el/commons-el/1.0/commons-el-1.0.pom.package.json @@ -77,34 +77,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/servletapi/servletapi", + "purl": "pkg:maven/servletapi/servletapi@2.4-20040521", "requirement": "2.4-20040521", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jspapi/jsp-api", + "purl": "pkg:maven/jspapi/jsp-api@2.0-20040521", "requirement": "2.0-20040521", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.0.3", "requirement": "1.0.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/commons-el/commons-el@1.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/commons-el/commons-el@1.0", "repository_homepage_url": "https://repo1.maven.org/maven2/commons-el/commons-el/1.0/", "repository_download_url": "https://repo1.maven.org/maven2/commons-el/commons-el/1.0/commons-el-1.0.jar", diff --git a/tests/packagedcode/data/m2/fileupload/commons-fileupload/1.0/commons-fileupload-1.0.pom.package.json b/tests/packagedcode/data/m2/fileupload/commons-fileupload/1.0/commons-fileupload-1.0.pom.package.json index c1e3c01af6c..130646835ba 100644 --- a/tests/packagedcode/data/m2/fileupload/commons-fileupload/1.0/commons-fileupload-1.0.pom.package.json +++ b/tests/packagedcode/data/m2/fileupload/commons-fileupload/1.0/commons-fileupload-1.0.pom.package.json @@ -77,26 +77,27 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/servletapi/servletapi", + "purl": "pkg:maven/servletapi/servletapi@2.3", "requirement": "2.3", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/commons-fileupload/commons-fileupload@1.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/commons-fileupload/commons-fileupload@1.0", "repository_homepage_url": "https://repo1.maven.org/maven2/commons-fileupload/commons-fileupload/1.0/", "repository_download_url": "https://repo1.maven.org/maven2/commons-fileupload/commons-fileupload/1.0/commons-fileupload-1.0.jar", diff --git a/tests/packagedcode/data/m2/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.pom.package.json b/tests/packagedcode/data/m2/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.pom.package.json index 0322f73590f..1e4dc6a1faf 100644 --- a/tests/packagedcode/data/m2/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.pom.package.json +++ b/tests/packagedcode/data/m2/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.pom.package.json @@ -37,6 +37,7 @@ "source_packages": [ "pkg:maven/hsqldb/hsqldb@1.8.0.7?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/hsqldb/hsqldb@1.8.0.7", "repository_homepage_url": "https://repo1.maven.org/maven2/hsqldb/hsqldb/1.8.0.7/", "repository_download_url": "https://repo1.maven.org/maven2/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.jar", diff --git a/tests/packagedcode/data/m2/httpunit/httpunit/1.6.2/httpunit-1.6.2.pom.package.json b/tests/packagedcode/data/m2/httpunit/httpunit/1.6.2/httpunit-1.6.2.pom.package.json index f8a09c0f569..a2d41c76068 100644 --- a/tests/packagedcode/data/m2/httpunit/httpunit/1.6.2/httpunit-1.6.2.pom.package.json +++ b/tests/packagedcode/data/m2/httpunit/httpunit/1.6.2/httpunit-1.6.2.pom.package.json @@ -34,74 +34,75 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/xerces/xmlParserAPIs", + "purl": "pkg:maven/xerces/xmlParserAPIs@2.2.1", "requirement": "2.2.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/xerces/xercesImpl", + "purl": "pkg:maven/xerces/xercesImpl@2.6.2", "requirement": "2.6.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/nekohtml/nekohtml", + "purl": "pkg:maven/nekohtml/nekohtml@0.9.1", "requirement": "0.9.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/rhino/js", + "purl": "pkg:maven/rhino/js@1.5R4.1", "requirement": "1.5R4.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/servlet-api", + "purl": "pkg:maven/javax.servlet/servlet-api@2.3", "requirement": "2.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/jtidy/jtidy", + "purl": "pkg:maven/jtidy/jtidy@4aug2000r7-dev", "requirement": "4aug2000r7-dev", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.mail/mail", + "purl": "pkg:maven/javax.mail/mail@1.4", "requirement": "1.4", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/httpunit/httpunit@1.6.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/httpunit/httpunit@1.6.2", "repository_homepage_url": "https://repo1.maven.org/maven2/httpunit/httpunit/1.6.2/", "repository_download_url": "https://repo1.maven.org/maven2/httpunit/httpunit/1.6.2/httpunit-1.6.2.jar", diff --git a/tests/packagedcode/data/m2/io/commons-io/1.3.1/commons-io-1.3.1.pom.package.json b/tests/packagedcode/data/m2/io/commons-io/1.3.1/commons-io-1.3.1.pom.package.json index e3402fa13d6..23557b22ad3 100644 --- a/tests/packagedcode/data/m2/io/commons-io/1.3.1/commons-io-1.3.1.pom.package.json +++ b/tests/packagedcode/data/m2/io/commons-io/1.3.1/commons-io-1.3.1.pom.package.json @@ -231,18 +231,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/commons-io/commons-io@1.3.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/commons-io/commons-io@1.3.1", "repository_homepage_url": "https://repo1.maven.org/maven2/commons-io/commons-io/1.3.1/", "repository_download_url": "https://repo1.maven.org/maven2/commons-io/commons-io/1.3.1/commons-io-1.3.1.jar", diff --git a/tests/packagedcode/data/m2/javassist/javassist/3.4.GA/javassist-3.4.GA.pom.package.json b/tests/packagedcode/data/m2/javassist/javassist/3.4.GA/javassist-3.4.GA.pom.package.json index 0b93e50b318..5ecd598d77f 100644 --- a/tests/packagedcode/data/m2/javassist/javassist/3.4.GA/javassist-3.4.GA.pom.package.json +++ b/tests/packagedcode/data/m2/javassist/javassist/3.4.GA/javassist-3.4.GA.pom.package.json @@ -37,6 +37,7 @@ "source_packages": [ "pkg:maven/javassist/javassist@3.4.GA?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/javassist/javassist@3.4.GA", "repository_homepage_url": "https://repo1.maven.org/maven2/javassist/javassist/3.4.GA/", "repository_download_url": "https://repo1.maven.org/maven2/javassist/javassist/3.4.GA/javassist-3.4.GA.jar", diff --git a/tests/packagedcode/data/m2/javax/persistence/persistence-api/1.0.2/persistence-api-1.0.2.pom.package.json b/tests/packagedcode/data/m2/javax/persistence/persistence-api/1.0.2/persistence-api-1.0.2.pom.package.json index 273d6498914..d2cc5b49f93 100644 --- a/tests/packagedcode/data/m2/javax/persistence/persistence-api/1.0.2/persistence-api-1.0.2.pom.package.json +++ b/tests/packagedcode/data/m2/javax/persistence/persistence-api/1.0.2/persistence-api-1.0.2.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/javax.persistence/persistence-api@1.0.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/javax.persistence/persistence-api@1.0.2", "repository_homepage_url": "https://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0.2/", "repository_download_url": "https://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0.2/persistence-api-1.0.2.jar", diff --git a/tests/packagedcode/data/m2/javax/persistence/persistence-api/1.0/persistence-api-1.0.pom.package.json b/tests/packagedcode/data/m2/javax/persistence/persistence-api/1.0/persistence-api-1.0.pom.package.json index 0ce627170ab..7694a3cfab4 100644 --- a/tests/packagedcode/data/m2/javax/persistence/persistence-api/1.0/persistence-api-1.0.pom.package.json +++ b/tests/packagedcode/data/m2/javax/persistence/persistence-api/1.0/persistence-api-1.0.pom.package.json @@ -37,6 +37,7 @@ "source_packages": [ "pkg:maven/javax.persistence/persistence-api@1.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/javax.persistence/persistence-api@1.0", "repository_homepage_url": "https://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0/", "repository_download_url": "https://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar", diff --git a/tests/packagedcode/data/m2/javax/servlet/jstl/1.1.0/jstl-1.1.0.pom.package.json b/tests/packagedcode/data/m2/javax/servlet/jstl/1.1.0/jstl-1.1.0.pom.package.json index 62ba2297709..b074d9e88af 100644 --- a/tests/packagedcode/data/m2/javax/servlet/jstl/1.1.0/jstl-1.1.0.pom.package.json +++ b/tests/packagedcode/data/m2/javax/servlet/jstl/1.1.0/jstl-1.1.0.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/javax.servlet/jsp-api", + "purl": "pkg:maven/javax.servlet/jsp-api@2.0", "requirement": "2.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/javax.servlet/jstl@1.1.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/javax.servlet/jstl@1.1.0", "repository_homepage_url": "https://repo1.maven.org/maven2/javax/servlet/jstl/1.1.0/", "repository_download_url": "https://repo1.maven.org/maven2/javax/servlet/jstl/1.1.0/jstl-1.1.0.jar", diff --git a/tests/packagedcode/data/m2/javax/servlet/servlet-api/2.4/servlet-api-2.4.pom.package.json b/tests/packagedcode/data/m2/javax/servlet/servlet-api/2.4/servlet-api-2.4.pom.package.json index 2bd9c145937..fc0297c04b3 100644 --- a/tests/packagedcode/data/m2/javax/servlet/servlet-api/2.4/servlet-api-2.4.pom.package.json +++ b/tests/packagedcode/data/m2/javax/servlet/servlet-api/2.4/servlet-api-2.4.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/javax.servlet/servlet-api@2.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/javax.servlet/servlet-api@2.4", "repository_homepage_url": "https://repo1.maven.org/maven2/javax/servlet/servlet-api/2.4/", "repository_download_url": "https://repo1.maven.org/maven2/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar", diff --git a/tests/packagedcode/data/m2/javax/servlet/servlet-api/2.5/servlet-api-2.5.pom.package.json b/tests/packagedcode/data/m2/javax/servlet/servlet-api/2.5/servlet-api-2.5.pom.package.json index 41ecdd62189..ee836d6cbec 100644 --- a/tests/packagedcode/data/m2/javax/servlet/servlet-api/2.5/servlet-api-2.5.pom.package.json +++ b/tests/packagedcode/data/m2/javax/servlet/servlet-api/2.5/servlet-api-2.5.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/javax.servlet/servlet-api@2.5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/javax.servlet/servlet-api@2.5", "repository_homepage_url": "https://repo1.maven.org/maven2/javax/servlet/servlet-api/2.5/", "repository_download_url": "https://repo1.maven.org/maven2/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar", diff --git a/tests/packagedcode/data/m2/javax/transaction/jta/1.0.1B/jta-1.0.1B.pom.package.json b/tests/packagedcode/data/m2/javax/transaction/jta/1.0.1B/jta-1.0.1B.pom.package.json index 1f630d5e3aa..9b6426c8445 100644 --- a/tests/packagedcode/data/m2/javax/transaction/jta/1.0.1B/jta-1.0.1B.pom.package.json +++ b/tests/packagedcode/data/m2/javax/transaction/jta/1.0.1B/jta-1.0.1B.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/javax.transaction/jta@1.0.1B?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/javax.transaction/jta@1.0.1B", "repository_homepage_url": "https://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/", "repository_download_url": "https://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar", diff --git a/tests/packagedcode/data/m2/jboss/javassist/3.3.ga/javassist-3.3.ga.pom.package.json b/tests/packagedcode/data/m2/jboss/javassist/3.3.ga/javassist-3.3.ga.pom.package.json index f2628cafb4a..c21f3d8fbf4 100644 --- a/tests/packagedcode/data/m2/jboss/javassist/3.3.ga/javassist-3.3.ga.pom.package.json +++ b/tests/packagedcode/data/m2/jboss/javassist/3.3.ga/javassist-3.3.ga.pom.package.json @@ -45,6 +45,7 @@ "source_packages": [ "pkg:maven/jboss/javassist@3.3.ga?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/jboss/javassist@3.3.ga", "repository_homepage_url": "https://repo1.maven.org/maven2/jboss/javassist/3.3.ga/", "repository_download_url": "https://repo1.maven.org/maven2/jboss/javassist/3.3.ga/javassist-3.3.ga.jar", diff --git a/tests/packagedcode/data/m2/jboss/jboss-archive-browsing/5.0.0alpha-200607201-119/jboss-archive-browsing-5.0.0alpha-200607201-119.pom.package.json b/tests/packagedcode/data/m2/jboss/jboss-archive-browsing/5.0.0alpha-200607201-119/jboss-archive-browsing-5.0.0alpha-200607201-119.pom.package.json index febf59ac5f3..6e58c11a77e 100644 --- a/tests/packagedcode/data/m2/jboss/jboss-archive-browsing/5.0.0alpha-200607201-119/jboss-archive-browsing-5.0.0alpha-200607201-119.pom.package.json +++ b/tests/packagedcode/data/m2/jboss/jboss-archive-browsing/5.0.0alpha-200607201-119/jboss-archive-browsing-5.0.0alpha-200607201-119.pom.package.json @@ -37,6 +37,7 @@ "source_packages": [ "pkg:maven/jboss/jboss-archive-browsing@5.0.0alpha-200607201-119?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/jboss/jboss-archive-browsing@5.0.0alpha-200607201-119", "repository_homepage_url": "https://repo1.maven.org/maven2/jboss/jboss-archive-browsing/5.0.0alpha-200607201-119/", "repository_download_url": "https://repo1.maven.org/maven2/jboss/jboss-archive-browsing/5.0.0alpha-200607201-119/jboss-archive-browsing-5.0.0alpha-200607201-119.jar", diff --git a/tests/packagedcode/data/m2/jetty/org.mortbay.jetty/5.1.10/org.mortbay.jetty-5.1.10.pom.package.json b/tests/packagedcode/data/m2/jetty/org.mortbay.jetty/5.1.10/org.mortbay.jetty-5.1.10.pom.package.json index b5dc468cbc8..d3825f0357b 100644 --- a/tests/packagedcode/data/m2/jetty/org.mortbay.jetty/5.1.10/org.mortbay.jetty-5.1.10.pom.package.json +++ b/tests/packagedcode/data/m2/jetty/org.mortbay.jetty/5.1.10/org.mortbay.jetty-5.1.10.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/jetty/org.mortbay.jetty@5.1.10?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/jetty/org.mortbay.jetty@5.1.10", "repository_homepage_url": "https://repo1.maven.org/maven2/jetty/org.mortbay.jetty/5.1.10/", "repository_download_url": "https://repo1.maven.org/maven2/jetty/org.mortbay.jetty/5.1.10/org.mortbay.jetty-5.1.10.jar", diff --git a/tests/packagedcode/data/m2/jtidy/jtidy/4aug2000r7-dev/jtidy-4aug2000r7-dev.pom.package.json b/tests/packagedcode/data/m2/jtidy/jtidy/4aug2000r7-dev/jtidy-4aug2000r7-dev.pom.package.json index 2b90234ea54..acfab132185 100644 --- a/tests/packagedcode/data/m2/jtidy/jtidy/4aug2000r7-dev/jtidy-4aug2000r7-dev.pom.package.json +++ b/tests/packagedcode/data/m2/jtidy/jtidy/4aug2000r7-dev/jtidy-4aug2000r7-dev.pom.package.json @@ -45,6 +45,7 @@ "source_packages": [ "pkg:maven/jtidy/jtidy@4aug2000r7-dev?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/jtidy/jtidy@4aug2000r7-dev", "repository_homepage_url": "https://repo1.maven.org/maven2/jtidy/jtidy/4aug2000r7-dev/", "repository_download_url": "https://repo1.maven.org/maven2/jtidy/jtidy/4aug2000r7-dev/jtidy-4aug2000r7-dev.jar", diff --git a/tests/packagedcode/data/m2/junit/junit/3.8.1/junit-3.8.1.pom.package.json b/tests/packagedcode/data/m2/junit/junit/3.8.1/junit-3.8.1.pom.package.json index da85a1c1407..db55d06d47b 100644 --- a/tests/packagedcode/data/m2/junit/junit/3.8.1/junit-3.8.1.pom.package.json +++ b/tests/packagedcode/data/m2/junit/junit/3.8.1/junit-3.8.1.pom.package.json @@ -45,6 +45,7 @@ "source_packages": [ "pkg:maven/junit/junit@3.8.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/junit/junit@3.8.1", "repository_homepage_url": "https://repo1.maven.org/maven2/junit/junit/3.8.1/", "repository_download_url": "https://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar", diff --git a/tests/packagedcode/data/m2/junit/junit/3.8.2/junit-3.8.2.pom.package.json b/tests/packagedcode/data/m2/junit/junit/3.8.2/junit-3.8.2.pom.package.json index 07664d153c7..09d25c206b5 100644 --- a/tests/packagedcode/data/m2/junit/junit/3.8.2/junit-3.8.2.pom.package.json +++ b/tests/packagedcode/data/m2/junit/junit/3.8.2/junit-3.8.2.pom.package.json @@ -45,6 +45,7 @@ "source_packages": [ "pkg:maven/junit/junit@3.8.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/junit/junit@3.8.2", "repository_homepage_url": "https://repo1.maven.org/maven2/junit/junit/3.8.2/", "repository_download_url": "https://repo1.maven.org/maven2/junit/junit/3.8.2/junit-3.8.2.jar", diff --git a/tests/packagedcode/data/m2/junit/junit/4.4/junit-4.4.pom.package.json b/tests/packagedcode/data/m2/junit/junit/4.4/junit-4.4.pom.package.json index b366656a4e7..0bb064ca042 100644 --- a/tests/packagedcode/data/m2/junit/junit/4.4/junit-4.4.pom.package.json +++ b/tests/packagedcode/data/m2/junit/junit/4.4/junit-4.4.pom.package.json @@ -45,6 +45,7 @@ "source_packages": [ "pkg:maven/junit/junit@4.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/junit/junit@4.4", "repository_homepage_url": "https://repo1.maven.org/maven2/junit/junit/4.4/", "repository_download_url": "https://repo1.maven.org/maven2/junit/junit/4.4/junit-4.4.jar", diff --git a/tests/packagedcode/data/m2/lang/commons-lang/2.1/commons-lang-2.1.pom.package.json b/tests/packagedcode/data/m2/lang/commons-lang/2.1/commons-lang-2.1.pom.package.json index f690d3f0262..f34a185aea3 100644 --- a/tests/packagedcode/data/m2/lang/commons-lang/2.1/commons-lang-2.1.pom.package.json +++ b/tests/packagedcode/data/m2/lang/commons-lang/2.1/commons-lang-2.1.pom.package.json @@ -539,18 +539,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/commons-lang/commons-lang@2.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/commons-lang/commons-lang@2.1", "repository_homepage_url": "https://repo1.maven.org/maven2/commons-lang/commons-lang/2.1/", "repository_download_url": "https://repo1.maven.org/maven2/commons-lang/commons-lang/2.1/commons-lang-2.1.jar", diff --git a/tests/packagedcode/data/m2/lang/commons-lang/2.3/commons-lang-2.3.pom.package.json b/tests/packagedcode/data/m2/lang/commons-lang/2.3/commons-lang-2.3.pom.package.json index f751a0881c4..5723a9191b5 100644 --- a/tests/packagedcode/data/m2/lang/commons-lang/2.3/commons-lang-2.3.pom.package.json +++ b/tests/packagedcode/data/m2/lang/commons-lang/2.3/commons-lang-2.3.pom.package.json @@ -616,18 +616,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/commons-lang/commons-lang@2.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/commons-lang/commons-lang@2.3", "repository_homepage_url": "https://repo1.maven.org/maven2/commons-lang/commons-lang/2.3/", "repository_download_url": "https://repo1.maven.org/maven2/commons-lang/commons-lang/2.3/commons-lang-2.3.jar", diff --git a/tests/packagedcode/data/m2/lang/commons-lang/2.4/commons-lang-2.4.pom.package.json b/tests/packagedcode/data/m2/lang/commons-lang/2.4/commons-lang-2.4.pom.package.json index 8e3db6f41fa..17e1cfb15af 100644 --- a/tests/packagedcode/data/m2/lang/commons-lang/2.4/commons-lang-2.4.pom.package.json +++ b/tests/packagedcode/data/m2/lang/commons-lang/2.4/commons-lang-2.4.pom.package.json @@ -616,18 +616,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/commons-lang/commons-lang@2.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/commons-lang/commons-lang@2.4", "repository_homepage_url": "https://repo1.maven.org/maven2/commons-lang/commons-lang/2.4/", "repository_download_url": "https://repo1.maven.org/maven2/commons-lang/commons-lang/2.4/commons-lang-2.4.jar", diff --git a/tests/packagedcode/data/m2/log4j/log4j/1.2.15/log4j-1.2.15.pom.package.json b/tests/packagedcode/data/m2/log4j/log4j/1.2.15/log4j-1.2.15.pom.package.json index 4733dc55974..8e77b51e19d 100644 --- a/tests/packagedcode/data/m2/log4j/log4j/1.2.15/log4j-1.2.15.pom.package.json +++ b/tests/packagedcode/data/m2/log4j/log4j/1.2.15/log4j-1.2.15.pom.package.json @@ -42,58 +42,59 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/javax.mail/mail", + "purl": "pkg:maven/javax.mail/mail@1.4", "requirement": "1.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/javax.jms/jms", + "purl": "pkg:maven/javax.jms/jms@1.1", "requirement": "1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.sun.jdmk/jmxtools", + "purl": "pkg:maven/com.sun.jdmk/jmxtools@1.2.1", "requirement": "1.2.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.sun.jmx/jmxri", + "purl": "pkg:maven/com.sun.jmx/jmxri@1.2.1", "requirement": "1.2.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/oro/oro", + "purl": "pkg:maven/oro/oro@2.0.8", "requirement": "2.0.8", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/log4j/log4j@1.2.15?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/log4j/log4j@1.2.15", "repository_homepage_url": "https://repo1.maven.org/maven2/log4j/log4j/1.2.15/", "repository_download_url": "https://repo1.maven.org/maven2/log4j/log4j/1.2.15/log4j-1.2.15.jar", diff --git a/tests/packagedcode/data/m2/log4j/log4j/1.2.9/log4j-1.2.9.pom.package.json b/tests/packagedcode/data/m2/log4j/log4j/1.2.9/log4j-1.2.9.pom.package.json index c6c511392c0..cd5b76a4ea6 100644 --- a/tests/packagedcode/data/m2/log4j/log4j/1.2.9/log4j-1.2.9.pom.package.json +++ b/tests/packagedcode/data/m2/log4j/log4j/1.2.9/log4j-1.2.9.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/log4j/log4j@1.2.9?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/log4j/log4j@1.2.9", "repository_homepage_url": "https://repo1.maven.org/maven2/log4j/log4j/1.2.9/", "repository_download_url": "https://repo1.maven.org/maven2/log4j/log4j/1.2.9/log4j-1.2.9.jar", diff --git a/tests/packagedcode/data/m2/logging/commons-logging-api/1.0.4/commons-logging-api-1.0.4.pom.package.json b/tests/packagedcode/data/m2/logging/commons-logging-api/1.0.4/commons-logging-api-1.0.4.pom.package.json index 7de1827f353..026c285be4b 100644 --- a/tests/packagedcode/data/m2/logging/commons-logging-api/1.0.4/commons-logging-api-1.0.4.pom.package.json +++ b/tests/packagedcode/data/m2/logging/commons-logging-api/1.0.4/commons-logging-api-1.0.4.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/commons-logging/commons-logging-api@1.0.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/commons-logging/commons-logging-api@1.0.4", "repository_homepage_url": "https://repo1.maven.org/maven2/commons-logging/commons-logging-api/1.0.4/", "repository_download_url": "https://repo1.maven.org/maven2/commons-logging/commons-logging-api/1.0.4/commons-logging-api-1.0.4.jar", diff --git a/tests/packagedcode/data/m2/logging/commons-logging/1.0.3/commons-logging-1.0.3.pom.package.json b/tests/packagedcode/data/m2/logging/commons-logging/1.0.3/commons-logging-1.0.3.pom.package.json index e9e68cc1418..dabe15c8fb9 100644 --- a/tests/packagedcode/data/m2/logging/commons-logging/1.0.3/commons-logging-1.0.3.pom.package.json +++ b/tests/packagedcode/data/m2/logging/commons-logging/1.0.3/commons-logging-1.0.3.pom.package.json @@ -27,34 +27,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/log4j/log4j", + "purl": "pkg:maven/log4j/log4j@1.2.6", "requirement": "1.2.6", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/logkit/logkit", + "purl": "pkg:maven/logkit/logkit@1.0.1", "requirement": "1.0.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.7", "requirement": "3.7", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/commons-logging/commons-logging@1.0.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/commons-logging/commons-logging@1.0.3", "repository_homepage_url": "https://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.3/", "repository_download_url": "https://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.jar", diff --git a/tests/packagedcode/data/m2/logging/commons-logging/1.0.4/commons-logging-1.0.4.pom.package.json b/tests/packagedcode/data/m2/logging/commons-logging/1.0.4/commons-logging-1.0.4.pom.package.json index 893120ae7ab..b852cb3a97a 100644 --- a/tests/packagedcode/data/m2/logging/commons-logging/1.0.4/commons-logging-1.0.4.pom.package.json +++ b/tests/packagedcode/data/m2/logging/commons-logging/1.0.4/commons-logging-1.0.4.pom.package.json @@ -105,42 +105,43 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/log4j/log4j", + "purl": "pkg:maven/log4j/log4j@1.2.6", "requirement": "1.2.6", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/logkit/logkit", + "purl": "pkg:maven/logkit/logkit@1.0.1", "requirement": "1.0.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/avalon-framework/avalon-framework", + "purl": "pkg:maven/avalon-framework/avalon-framework@4.1.3", "requirement": "4.1.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.7", "requirement": "3.7", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/commons-logging/commons-logging@1.0.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/commons-logging/commons-logging@1.0.4", "repository_homepage_url": "https://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.4/", "repository_download_url": "https://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar", diff --git a/tests/packagedcode/data/m2/logging/commons-logging/1.0/commons-logging-1.0.pom.package.json b/tests/packagedcode/data/m2/logging/commons-logging/1.0/commons-logging-1.0.pom.package.json index 1deb49244fb..8bafc3d08f0 100644 --- a/tests/packagedcode/data/m2/logging/commons-logging/1.0/commons-logging-1.0.pom.package.json +++ b/tests/packagedcode/data/m2/logging/commons-logging/1.0/commons-logging-1.0.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/commons-logging/commons-logging@1.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/commons-logging/commons-logging@1.0", "repository_homepage_url": "https://repo1.maven.org/maven2/commons-logging/commons-logging/1.0/", "repository_download_url": "https://repo1.maven.org/maven2/commons-logging/commons-logging/1.0/commons-logging-1.0.jar", diff --git a/tests/packagedcode/data/m2/logging/commons-logging/1.1.1/commons-logging-1.1.1.pom.package.json b/tests/packagedcode/data/m2/logging/commons-logging/1.1.1/commons-logging-1.1.1.pom.package.json index c94e50f2b13..ca9d893b43e 100644 --- a/tests/packagedcode/data/m2/logging/commons-logging/1.1.1/commons-logging-1.1.1.pom.package.json +++ b/tests/packagedcode/data/m2/logging/commons-logging/1.1.1/commons-logging-1.1.1.pom.package.json @@ -112,50 +112,51 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/log4j/log4j", + "purl": "pkg:maven/log4j/log4j@1.2.12", "requirement": "1.2.12", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/logkit/logkit", + "purl": "pkg:maven/logkit/logkit@1.0.1", "requirement": "1.0.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/avalon-framework/avalon-framework", + "purl": "pkg:maven/avalon-framework/avalon-framework@4.1.3", "requirement": "4.1.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/servlet-api", + "purl": "pkg:maven/javax.servlet/servlet-api@2.3", "requirement": "2.3", "scope": "provided", "is_runtime": true, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/commons-logging/commons-logging@1.1.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/commons-logging/commons-logging@1.1.1", "repository_homepage_url": "https://repo1.maven.org/maven2/commons-logging/commons-logging/1.1.1/", "repository_download_url": "https://repo1.maven.org/maven2/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar", diff --git a/tests/packagedcode/data/m2/logging/commons-logging/1.1/commons-logging-1.1.pom.package.json b/tests/packagedcode/data/m2/logging/commons-logging/1.1/commons-logging-1.1.pom.package.json index 16c4a388887..27cd34fcce9 100644 --- a/tests/packagedcode/data/m2/logging/commons-logging/1.1/commons-logging-1.1.pom.package.json +++ b/tests/packagedcode/data/m2/logging/commons-logging/1.1/commons-logging-1.1.pom.package.json @@ -126,50 +126,51 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/log4j/log4j", + "purl": "pkg:maven/log4j/log4j@1.2.12", "requirement": "1.2.12", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/logkit/logkit", + "purl": "pkg:maven/logkit/logkit@1.0.1", "requirement": "1.0.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/avalon-framework/avalon-framework", + "purl": "pkg:maven/avalon-framework/avalon-framework@4.1.3", "requirement": "4.1.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/servlet-api", + "purl": "pkg:maven/javax.servlet/servlet-api@2.3", "requirement": "2.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/commons-logging/commons-logging@1.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/commons-logging/commons-logging@1.1", "repository_homepage_url": "https://repo1.maven.org/maven2/commons-logging/commons-logging/1.1/", "repository_download_url": "https://repo1.maven.org/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1.jar", diff --git a/tests/packagedcode/data/m2/logkit/logkit/1.0.1/logkit-1.0.1.pom.package.json b/tests/packagedcode/data/m2/logkit/logkit/1.0.1/logkit-1.0.1.pom.package.json index 00392b13f7a..c89695f35e1 100644 --- a/tests/packagedcode/data/m2/logkit/logkit/1.0.1/logkit-1.0.1.pom.package.json +++ b/tests/packagedcode/data/m2/logkit/logkit/1.0.1/logkit-1.0.1.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/logkit/logkit@1.0.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/logkit/logkit@1.0.1", "repository_homepage_url": "https://repo1.maven.org/maven2/logkit/logkit/1.0.1/", "repository_download_url": "https://repo1.maven.org/maven2/logkit/logkit/1.0.1/logkit-1.0.1.jar", diff --git a/tests/packagedcode/data/m2/math/commons-math/1.2/commons-math-1.2.pom.package.json b/tests/packagedcode/data/m2/math/commons-math/1.2/commons-math-1.2.pom.package.json index 7bbc989dcdc..2bf5e654a99 100644 --- a/tests/packagedcode/data/m2/math/commons-math/1.2/commons-math-1.2.pom.package.json +++ b/tests/packagedcode/data/m2/math/commons-math/1.2/commons-math-1.2.pom.package.json @@ -196,34 +196,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.2", "requirement": "3.8.2", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-discovery/commons-discovery", + "purl": "pkg:maven/commons-discovery/commons-discovery@0.2", "requirement": "0.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/commons-math/commons-math@1.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/commons-math/commons-math@1.2", "repository_homepage_url": "https://repo1.maven.org/maven2/commons-math/commons-math/1.2/", "repository_download_url": "https://repo1.maven.org/maven2/commons-math/commons-math/1.2/commons-math-1.2.jar", diff --git a/tests/packagedcode/data/m2/mysql/mysql-connector-java/5.0.4/mysql-connector-java-5.0.4.pom.package.json b/tests/packagedcode/data/m2/mysql/mysql-connector-java/5.0.4/mysql-connector-java-5.0.4.pom.package.json index df34c41d623..bd824d3decb 100644 --- a/tests/packagedcode/data/m2/mysql/mysql-connector-java/5.0.4/mysql-connector-java-5.0.4.pom.package.json +++ b/tests/packagedcode/data/m2/mysql/mysql-connector-java/5.0.4/mysql-connector-java-5.0.4.pom.package.json @@ -37,6 +37,7 @@ "source_packages": [ "pkg:maven/mysql/mysql-connector-java@5.0.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/mysql/mysql-connector-java@5.0.4", "repository_homepage_url": "https://repo1.maven.org/maven2/mysql/mysql-connector-java/5.0.4/", "repository_download_url": "https://repo1.maven.org/maven2/mysql/mysql-connector-java/5.0.4/mysql-connector-java-5.0.4.jar", diff --git a/tests/packagedcode/data/m2/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.pom.package.json b/tests/packagedcode/data/m2/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.pom.package.json index 648649c9c31..b76e462393e 100644 --- a/tests/packagedcode/data/m2/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.pom.package.json +++ b/tests/packagedcode/data/m2/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/net.jcip/jcip-annotations@1.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/net.jcip/jcip-annotations@1.0", "repository_homepage_url": "https://repo1.maven.org/maven2/net/jcip/jcip-annotations/1.0/", "repository_download_url": "https://repo1.maven.org/maven2/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar", diff --git a/tests/packagedcode/data/m2/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.pom.package.json b/tests/packagedcode/data/m2/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.pom.package.json index 70df77c8830..44cb7bb2054 100644 --- a/tests/packagedcode/data/m2/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.pom.package.json +++ b/tests/packagedcode/data/m2/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.pom.package.json @@ -84,74 +84,75 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-collections/commons-collections", + "purl": "pkg:maven/commons-collections/commons-collections@2.1", "requirement": "2.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.hibernate/hibernate", + "purl": "pkg:maven/org.hibernate/hibernate@3.2.0.cr3", "requirement": "3.2.0.cr3", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/net.sf.hibernate/hibernate", + "purl": "pkg:maven/net.sf.hibernate/hibernate@2.1.8", "requirement": "2.1.8", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/servlet-api", + "purl": "pkg:maven/javax.servlet/servlet-api@2.4", "requirement": "2.4", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/httpunit/httpunit", + "purl": "pkg:maven/httpunit/httpunit@1.6", "requirement": "1.6", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-httpclient/commons-httpclient", + "purl": "pkg:maven/commons-httpclient/commons-httpclient@3.0.1", "requirement": "3.0.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/net.sf.ehcache/ehcache@1.2.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/net.sf.ehcache/ehcache@1.2.3", "repository_homepage_url": "https://repo1.maven.org/maven2/net/sf/ehcache/ehcache/1.2.3/", "repository_download_url": "https://repo1.maven.org/maven2/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar", diff --git a/tests/packagedcode/data/m2/net/sf/kxml/kxml2/2.2.2/kxml2-2.2.2.pom.package.json b/tests/packagedcode/data/m2/net/sf/kxml/kxml2/2.2.2/kxml2-2.2.2.pom.package.json index 3c839b428d0..12083b15f18 100644 --- a/tests/packagedcode/data/m2/net/sf/kxml/kxml2/2.2.2/kxml2-2.2.2.pom.package.json +++ b/tests/packagedcode/data/m2/net/sf/kxml/kxml2/2.2.2/kxml2-2.2.2.pom.package.json @@ -49,26 +49,27 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/xmlpull/xmlpull", + "purl": "pkg:maven/xmlpull/xmlpull@1.1.3.1", "requirement": "1.1.3.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.2", "requirement": "3.8.2", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/net.sf.kxml/kxml2@2.2.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/net.sf.kxml/kxml2@2.2.2", "repository_homepage_url": "https://repo1.maven.org/maven2/net/sf/kxml/kxml2/2.2.2/", "repository_download_url": "https://repo1.maven.org/maven2/net/sf/kxml/kxml2/2.2.2/kxml2-2.2.2.jar", diff --git a/tests/packagedcode/data/m2/org/acegisecurity/acegi-security-parent/1.0.5/acegi-security-parent-1.0.5.pom.json b/tests/packagedcode/data/m2/org/acegisecurity/acegi-security-parent/1.0.5/acegi-security-parent-1.0.5.pom.json index f66607035ea..91b6a95f23a 100644 --- a/tests/packagedcode/data/m2/org/acegisecurity/acegi-security-parent/1.0.5/acegi-security-parent-1.0.5.pom.json +++ b/tests/packagedcode/data/m2/org/acegisecurity/acegi-security-parent/1.0.5/acegi-security-parent-1.0.5.pom.json @@ -327,6 +327,50 @@ "version": "3.8.1", "required": true } + ], + "dependencyManagement": [ + { + "group_id": "org.springframework", + "artifact_id": "spring-core", + "version": "1.2.9", + "required": true + }, + { + "group_id": "org.springframework", + "artifact_id": "spring-mock", + "version": "1.2.9", + "required": true + }, + { + "group_id": "org.springframework", + "artifact_id": "spring-remoting", + "version": "1.2.9", + "required": true + }, + { + "group_id": "org.springframework", + "artifact_id": "spring-web", + "version": "1.2.9", + "required": true + }, + { + "group_id": "org.springframework", + "artifact_id": "spring-jdbc", + "version": "1.2.9", + "required": true + }, + { + "group_id": "org.springframework", + "artifact_id": "spring-support", + "version": "1.2.9", + "required": true + }, + { + "group_id": "log4j", + "artifact_id": "log4j", + "version": "1.2.9", + "required": false + } ] } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/acegisecurity/acegi-security-parent/1.0.5/acegi-security-parent-1.0.5.pom.package.json b/tests/packagedcode/data/m2/org/acegisecurity/acegi-security-parent/1.0.5/acegi-security-parent-1.0.5.pom.package.json index 68f8b7dc9e3..09d70c7b9e1 100644 --- a/tests/packagedcode/data/m2/org/acegisecurity/acegi-security-parent/1.0.5/acegi-security-parent-1.0.5.pom.package.json +++ b/tests/packagedcode/data/m2/org/acegisecurity/acegi-security-parent/1.0.5/acegi-security-parent-1.0.5.pom.package.json @@ -238,18 +238,75 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true + }, + { + "purl": "pkg:maven/org.springframework/spring-core@1.2.9", + "requirement": "1.2.9", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.springframework/spring-mock@1.2.9", + "requirement": "1.2.9", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.springframework/spring-remoting@1.2.9", + "requirement": "1.2.9", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.springframework/spring-web@1.2.9", + "requirement": "1.2.9", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.springframework/spring-jdbc@1.2.9", + "requirement": "1.2.9", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.springframework/spring-support@1.2.9", + "requirement": "1.2.9", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/log4j/log4j@1.2.9", + "requirement": "1.2.9", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.acegisecurity/acegi-security-parent@1.0.5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.acegisecurity/acegi-security-parent@1.0.5", "repository_homepage_url": "https://repo1.maven.org/maven2/org/acegisecurity/acegi-security-parent/1.0.5/", "repository_download_url": "https://repo1.maven.org/maven2/org/acegisecurity/acegi-security-parent/1.0.5/acegi-security-parent-1.0.5.jar", diff --git a/tests/packagedcode/data/m2/org/acegisecurity/acegi-security-parent/1.0.7/acegi-security-parent-1.0.7.pom.json b/tests/packagedcode/data/m2/org/acegisecurity/acegi-security-parent/1.0.7/acegi-security-parent-1.0.7.pom.json index 54900ecb0db..cf82544c079 100644 --- a/tests/packagedcode/data/m2/org/acegisecurity/acegi-security-parent/1.0.7/acegi-security-parent-1.0.7.pom.json +++ b/tests/packagedcode/data/m2/org/acegisecurity/acegi-security-parent/1.0.7/acegi-security-parent-1.0.7.pom.json @@ -333,6 +333,50 @@ "version": "3.8.1", "required": true } + ], + "dependencyManagement": [ + { + "group_id": "org.springframework", + "artifact_id": "spring-core", + "version": "1.2.9", + "required": true + }, + { + "group_id": "org.springframework", + "artifact_id": "spring-mock", + "version": "1.2.9", + "required": true + }, + { + "group_id": "org.springframework", + "artifact_id": "spring-remoting", + "version": "1.2.9", + "required": true + }, + { + "group_id": "org.springframework", + "artifact_id": "spring-web", + "version": "1.2.9", + "required": true + }, + { + "group_id": "org.springframework", + "artifact_id": "spring-jdbc", + "version": "1.2.9", + "required": true + }, + { + "group_id": "org.springframework", + "artifact_id": "spring-support", + "version": "1.2.9", + "required": true + }, + { + "group_id": "log4j", + "artifact_id": "log4j", + "version": "1.2.9", + "required": false + } ] } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/acegisecurity/acegi-security-parent/1.0.7/acegi-security-parent-1.0.7.pom.package.json b/tests/packagedcode/data/m2/org/acegisecurity/acegi-security-parent/1.0.7/acegi-security-parent-1.0.7.pom.package.json index 33de9284299..cf57c61fc81 100644 --- a/tests/packagedcode/data/m2/org/acegisecurity/acegi-security-parent/1.0.7/acegi-security-parent-1.0.7.pom.package.json +++ b/tests/packagedcode/data/m2/org/acegisecurity/acegi-security-parent/1.0.7/acegi-security-parent-1.0.7.pom.package.json @@ -238,18 +238,75 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true + }, + { + "purl": "pkg:maven/org.springframework/spring-core@1.2.9", + "requirement": "1.2.9", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.springframework/spring-mock@1.2.9", + "requirement": "1.2.9", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.springframework/spring-remoting@1.2.9", + "requirement": "1.2.9", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.springframework/spring-web@1.2.9", + "requirement": "1.2.9", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.springframework/spring-jdbc@1.2.9", + "requirement": "1.2.9", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.springframework/spring-support@1.2.9", + "requirement": "1.2.9", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/log4j/log4j@1.2.9", + "requirement": "1.2.9", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.acegisecurity/acegi-security-parent@1.0.7?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.acegisecurity/acegi-security-parent@1.0.7", "repository_homepage_url": "https://repo1.maven.org/maven2/org/acegisecurity/acegi-security-parent/1.0.7/", "repository_download_url": "https://repo1.maven.org/maven2/org/acegisecurity/acegi-security-parent/1.0.7/acegi-security-parent-1.0.7.jar", diff --git a/tests/packagedcode/data/m2/org/acegisecurity/acegi-security/1.0.5/acegi-security-1.0.5.pom.package.json b/tests/packagedcode/data/m2/org/acegisecurity/acegi-security/1.0.5/acegi-security-1.0.5.pom.package.json index c2efed92691..0b41ebabf98 100644 --- a/tests/packagedcode/data/m2/org/acegisecurity/acegi-security/1.0.5/acegi-security-1.0.5.pom.package.json +++ b/tests/packagedcode/data/m2/org/acegisecurity/acegi-security/1.0.5/acegi-security-1.0.5.pom.package.json @@ -30,145 +30,145 @@ "purl": "pkg:maven/org.springframework/spring-core", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.springframework/spring-remoting", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.springframework/spring-jdbc", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.springframework/spring-web", "requirement": null, "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null }, { "purl": "pkg:maven/org.springframework/spring-mock", "requirement": null, "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null }, { - "purl": "pkg:maven/org.springframework/spring-ldap", + "purl": "pkg:maven/org.springframework/spring-ldap@1.1.2", "requirement": "1.1.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/net.sf.ehcache/ehcache", + "purl": "pkg:maven/net.sf.ehcache/ehcache@1.2.4", "requirement": "1.2.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/cas/casclient", + "purl": "pkg:maven/cas/casclient@2.0.11", "requirement": "2.0.11", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-lang/commons-lang", + "purl": "pkg:maven/commons-lang/commons-lang@2.1", "requirement": "2.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-codec/commons-codec", + "purl": "pkg:maven/commons-codec/commons-codec@1.3", "requirement": "1.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/oro/oro", + "purl": "pkg:maven/oro/oro@2.0.8", "requirement": "2.0.8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-collections/commons-collections", + "purl": "pkg:maven/commons-collections/commons-collections@3.1", "requirement": "3.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/aspectj/aspectjrt", + "purl": "pkg:maven/aspectj/aspectjrt@1.2", "requirement": "1.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/jsp-api", + "purl": "pkg:maven/javax.servlet/jsp-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/servlet-api", + "purl": "pkg:maven/javax.servlet/servlet-api@2.4", "requirement": "2.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/taglibs/standard", + "purl": "pkg:maven/taglibs/standard@1.0.6", "requirement": "1.0.6", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { "purl": "pkg:maven/log4j/log4j", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.springframework/spring-support", @@ -176,45 +176,46 @@ "scope": "runtime", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": null }, { - "purl": "pkg:maven/hsqldb/hsqldb", + "purl": "pkg:maven/hsqldb/hsqldb@1.8.0.4", "requirement": "1.8.0.4", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.directory.server/apacheds-core", + "purl": "pkg:maven/org.apache.directory.server/apacheds-core@1.0.0", "requirement": "1.0.0", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.slf4j/slf4j-log4j12", + "purl": "pkg:maven/org.slf4j/slf4j-log4j12@1.0.1", "requirement": "1.0.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jmock/jmock", + "purl": "pkg:maven/jmock/jmock@1.0.1", "requirement": "1.0.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.acegisecurity/acegi-security@1.0.5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.acegisecurity/acegi-security@1.0.5", "repository_homepage_url": "https://repo1.maven.org/maven2/org/acegisecurity/acegi-security/1.0.5/", "repository_download_url": "https://repo1.maven.org/maven2/org/acegisecurity/acegi-security/1.0.5/acegi-security-1.0.5.jar", diff --git a/tests/packagedcode/data/m2/org/acegisecurity/acegi-security/1.0.7/acegi-security-1.0.7.pom.package.json b/tests/packagedcode/data/m2/org/acegisecurity/acegi-security/1.0.7/acegi-security-1.0.7.pom.package.json index e5650d1d7be..92434f4990a 100644 --- a/tests/packagedcode/data/m2/org/acegisecurity/acegi-security/1.0.7/acegi-security-1.0.7.pom.package.json +++ b/tests/packagedcode/data/m2/org/acegisecurity/acegi-security/1.0.7/acegi-security-1.0.7.pom.package.json @@ -30,145 +30,145 @@ "purl": "pkg:maven/org.springframework/spring-core", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.springframework/spring-remoting", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.springframework/spring-jdbc", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.springframework/spring-web", "requirement": null, "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null }, { "purl": "pkg:maven/org.springframework/spring-mock", "requirement": null, "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null }, { - "purl": "pkg:maven/org.springframework/spring-ldap", + "purl": "pkg:maven/org.springframework/spring-ldap@1.1.2", "requirement": "1.1.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/net.sf.ehcache/ehcache", + "purl": "pkg:maven/net.sf.ehcache/ehcache@1.2.4", "requirement": "1.2.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/cas/casclient", + "purl": "pkg:maven/cas/casclient@2.0.11", "requirement": "2.0.11", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-lang/commons-lang", + "purl": "pkg:maven/commons-lang/commons-lang@2.1", "requirement": "2.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-codec/commons-codec", + "purl": "pkg:maven/commons-codec/commons-codec@1.3", "requirement": "1.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/oro/oro", + "purl": "pkg:maven/oro/oro@2.0.8", "requirement": "2.0.8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-collections/commons-collections", + "purl": "pkg:maven/commons-collections/commons-collections@3.1", "requirement": "3.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/aspectj/aspectjrt", + "purl": "pkg:maven/aspectj/aspectjrt@1.2", "requirement": "1.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/jsp-api", + "purl": "pkg:maven/javax.servlet/jsp-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/servlet-api", + "purl": "pkg:maven/javax.servlet/servlet-api@2.4", "requirement": "2.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/taglibs/standard", + "purl": "pkg:maven/taglibs/standard@1.0.6", "requirement": "1.0.6", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { "purl": "pkg:maven/log4j/log4j", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.springframework/spring-support", @@ -176,45 +176,46 @@ "scope": "runtime", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": null }, { - "purl": "pkg:maven/hsqldb/hsqldb", + "purl": "pkg:maven/hsqldb/hsqldb@1.8.0.4", "requirement": "1.8.0.4", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.directory.server/apacheds-core", + "purl": "pkg:maven/org.apache.directory.server/apacheds-core@1.0.0", "requirement": "1.0.0", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.slf4j/slf4j-log4j12", + "purl": "pkg:maven/org.slf4j/slf4j-log4j12@1.0.1", "requirement": "1.0.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jmock/jmock", + "purl": "pkg:maven/jmock/jmock@1.0.1", "requirement": "1.0.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.acegisecurity/acegi-security@1.0.7?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.acegisecurity/acegi-security@1.0.7", "repository_homepage_url": "https://repo1.maven.org/maven2/org/acegisecurity/acegi-security/1.0.7/", "repository_download_url": "https://repo1.maven.org/maven2/org/acegisecurity/acegi-security/1.0.7/acegi-security-1.0.7.jar", diff --git a/tests/packagedcode/data/m2/org/ajax4jsf/ajax4jsf/1.1.1/ajax4jsf-1.1.1.pom.package.json b/tests/packagedcode/data/m2/org/ajax4jsf/ajax4jsf/1.1.1/ajax4jsf-1.1.1.pom.package.json index f33285bc829..0e54f31e5c5 100644 --- a/tests/packagedcode/data/m2/org/ajax4jsf/ajax4jsf/1.1.1/ajax4jsf-1.1.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/ajax4jsf/ajax4jsf/1.1.1/ajax4jsf-1.1.1.pom.package.json @@ -27,138 +27,139 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/opensymphony/oscache", + "purl": "pkg:maven/opensymphony/oscache@2.3", "requirement": "2.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.sun.facelets/jsf-facelets", + "purl": "pkg:maven/com.sun.facelets/jsf-facelets@1.1.11", "requirement": "1.1.11", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/nekohtml/nekohtml", + "purl": "pkg:maven/nekohtml/nekohtml@0.9.5", "requirement": "0.9.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/net.sf.json-lib/json-lib", + "purl": "pkg:maven/net.sf.json-lib/json-lib@0.9", "requirement": "0.9", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/log4j/log4j", + "purl": "pkg:maven/log4j/log4j@1.2.14", "requirement": "1.2.14", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-beanutils/commons-beanutils", + "purl": "pkg:maven/commons-beanutils/commons-beanutils@1.7.0", "requirement": "1.7.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-digester/commons-digester", + "purl": "pkg:maven/commons-digester/commons-digester@1.8", "requirement": "1.8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-collections/commons-collections", + "purl": "pkg:maven/commons-collections/commons-collections@3.2", "requirement": "3.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/javax.faces/jsf-api", + "purl": "pkg:maven/javax.faces/jsf-api@1.1_02", "requirement": "1.1_02", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/jstl", + "purl": "pkg:maven/javax.servlet/jstl@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/javax.el/el-api", + "purl": "pkg:maven/javax.el/el-api@1.0", "requirement": "1.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/servlet-api", + "purl": "pkg:maven/javax.servlet/servlet-api@2.4", "requirement": "2.4", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/jsp-api", + "purl": "pkg:maven/javax.servlet/jsp-api@2.0", "requirement": "2.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.faces/jsf-impl", + "purl": "pkg:maven/javax.faces/jsf-impl@1.1_02", "requirement": "1.1_02", "scope": "runtime", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.ajax4jsf/ajax4jsf@1.1.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.ajax4jsf/ajax4jsf@1.1.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/ajax4jsf/ajax4jsf/1.1.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/ajax4jsf/ajax4jsf/1.1.1/ajax4jsf-1.1.1.jar", diff --git a/tests/packagedcode/data/m2/org/ajax4jsf/master/1.1.1/master-1.1.1.pom.package.json b/tests/packagedcode/data/m2/org/ajax4jsf/master/1.1.1/master-1.1.1.pom.package.json index 7e1e4455a60..aa65122af6b 100644 --- a/tests/packagedcode/data/m2/org/ajax4jsf/master/1.1.1/master-1.1.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/ajax4jsf/master/1.1.1/master-1.1.1.pom.package.json @@ -59,6 +59,7 @@ "source_packages": [ "pkg:maven/org.ajax4jsf/master@1.1.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.ajax4jsf/master@1.1.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/ajax4jsf/master/1.1.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/ajax4jsf/master/1.1.1/master-1.1.1.jar", diff --git a/tests/packagedcode/data/m2/org/apache/apache/1/apache-1.pom.package.json b/tests/packagedcode/data/m2/org/apache/apache/1/apache-1.pom.package.json index 77c06e6d1a4..67d47a119b2 100644 --- a/tests/packagedcode/data/m2/org/apache/apache/1/apache-1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/apache/1/apache-1.pom.package.json @@ -45,6 +45,7 @@ "source_packages": [ "pkg:maven/org.apache/apache@1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache/apache@1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/apache/1/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/apache/1/apache-1.jar", diff --git a/tests/packagedcode/data/m2/org/apache/apache/3/apache-3.pom.package.json b/tests/packagedcode/data/m2/org/apache/apache/3/apache-3.pom.package.json index d03bf67c904..7d33f29659f 100644 --- a/tests/packagedcode/data/m2/org/apache/apache/3/apache-3.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/apache/3/apache-3.pom.package.json @@ -45,6 +45,7 @@ "source_packages": [ "pkg:maven/org.apache/apache@3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache/apache@3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/apache/3/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/apache/3/apache-3.jar", diff --git a/tests/packagedcode/data/m2/org/apache/apache/4/apache-4.pom.package.json b/tests/packagedcode/data/m2/org/apache/apache/4/apache-4.pom.package.json index c5f48679f31..a7b003ef980 100644 --- a/tests/packagedcode/data/m2/org/apache/apache/4/apache-4.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/apache/4/apache-4.pom.package.json @@ -45,6 +45,7 @@ "source_packages": [ "pkg:maven/org.apache/apache@4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache/apache@4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/apache/4/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/apache/4/apache-4.jar", diff --git a/tests/packagedcode/data/m2/org/apache/commons/commons-jaxrs/1.22/commons-jaxrs-1.22.pom.package.json b/tests/packagedcode/data/m2/org/apache/commons/commons-jaxrs/1.22/commons-jaxrs-1.22.pom.package.json index 9e474482de9..9f3c83a5533 100644 --- a/tests/packagedcode/data/m2/org/apache/commons/commons-jaxrs/1.22/commons-jaxrs-1.22.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/commons/commons-jaxrs/1.22/commons-jaxrs-1.22.pom.package.json @@ -77,154 +77,155 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/javax.mail/javax.mail-api", + "purl": "pkg:maven/javax.mail/javax.mail-api@1.4.5", "requirement": "1.4.5", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/bouncycastle/bcprov-jdk16", + "purl": "pkg:maven/bouncycastle/bcprov-jdk16@140", "requirement": "140", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.fasterxml.jackson.core/jackson-databind", + "purl": "pkg:maven/com.fasterxml.jackson.core/jackson-databind@2.8.8", "requirement": "2.8.8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/javax/javaee-api", + "purl": "pkg:maven/javax/javaee-api@7.0", "requirement": "7.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.fasterxml.jackson.core/jackson-annotations", + "purl": "pkg:maven/com.fasterxml.jackson.core/jackson-annotations@2.8.8", "requirement": "2.8.8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.fasterxml.jackson.module/jackson-module-jaxb-annotations", + "purl": "pkg:maven/com.fasterxml.jackson.module/jackson-module-jaxb-annotations@2.8.8", "requirement": "2.8.8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-net/commons-net", + "purl": "pkg:maven/commons-net/commons-net@3.4", "requirement": "3.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.slf4j/slf4j-api", + "purl": "pkg:maven/org.slf4j/slf4j-api@1.7.25", "requirement": "1.7.25", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.antlr/antlr4-runtime", + "purl": "pkg:maven/org.antlr/antlr4-runtime@4.5.3", "requirement": "4.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.jboss.resteasy/resteasy-jaxrs", + "purl": "pkg:maven/org.jboss.resteasy/resteasy-jaxrs@3.1.2.Final", "requirement": "3.1.2.Final", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.jboss.resteasy/resteasy-validator-provider-11", + "purl": "pkg:maven/org.jboss.resteasy/resteasy-validator-provider-11@3.1.2.Final", "requirement": "3.1.2.Final", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.projectlombok/lombok", + "purl": "pkg:maven/org.projectlombok/lombok@1.16.16", "requirement": "1.16.16", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.jboss.resteasy/resteasy-jaxb-provider", + "purl": "pkg:maven/org.jboss.resteasy/resteasy-jaxb-provider@3.1.2.Final", "requirement": "3.1.2.Final", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.jboss.resteasy/resteasy-jackson2-provider", + "purl": "pkg:maven/org.jboss.resteasy/resteasy-jackson2-provider@3.1.2.Final", "requirement": "3.1.2.Final", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@4.12", "requirement": "4.12", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/pl.pragmatists/JUnitParams", + "purl": "pkg:maven/pl.pragmatists/JUnitParams@1.1.0", "requirement": "1.1.0", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.mockito/mockito-all", + "purl": "pkg:maven/org.mockito/mockito-all@1.10.19", "requirement": "1.10.19", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.slf4j/slf4j-simple", + "purl": "pkg:maven/org.slf4j/slf4j-simple@1.7.25", "requirement": "1.7.25", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/edu.psu.swe.commons/commons-jaxrs@1.22?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/edu.psu.swe.commons/commons-jaxrs@1.22", "repository_homepage_url": "https://repo1.maven.org/maven2/edu/psu/swe/commons/commons-jaxrs/1.22/", "repository_download_url": "https://repo1.maven.org/maven2/edu/psu/swe/commons/commons-jaxrs/1.22/commons-jaxrs-1.22.jar", diff --git a/tests/packagedcode/data/m2/org/apache/commons/commons-parent/5/commons-parent-5.pom.package.json b/tests/packagedcode/data/m2/org/apache/commons/commons-parent/5/commons-parent-5.pom.package.json index 40c72d04a6b..f23f820e5ba 100644 --- a/tests/packagedcode/data/m2/org/apache/commons/commons-parent/5/commons-parent-5.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/commons/commons-parent/5/commons-parent-5.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.commons/commons-parent@5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.commons/commons-parent@5", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/commons/commons-parent/5/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/commons/commons-parent/5/commons-parent-5.jar", diff --git a/tests/packagedcode/data/m2/org/apache/commons/commons-parent/7/commons-parent-7.pom.package.json b/tests/packagedcode/data/m2/org/apache/commons/commons-parent/7/commons-parent-7.pom.package.json index 92df25d1d43..6cdd5fdf163 100644 --- a/tests/packagedcode/data/m2/org/apache/commons/commons-parent/7/commons-parent-7.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/commons/commons-parent/7/commons-parent-7.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.commons/commons-parent@7?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.commons/commons-parent@7", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/commons/commons-parent/7/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/commons/commons-parent/7/commons-parent-7.jar", diff --git a/tests/packagedcode/data/m2/org/apache/commons/commons-parent/9/commons-parent-9.pom.package.json b/tests/packagedcode/data/m2/org/apache/commons/commons-parent/9/commons-parent-9.pom.package.json index 090cea842d1..5dbc834e586 100644 --- a/tests/packagedcode/data/m2/org/apache/commons/commons-parent/9/commons-parent-9.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/commons/commons-parent/9/commons-parent-9.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.commons/commons-parent@9?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.commons/commons-parent@9", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/commons/commons-parent/9/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/commons/commons-parent/9/commons-parent-9.jar", diff --git a/tests/packagedcode/data/m2/org/apache/felix/felix/1.0.0/felix-1.0.0.pom.package.json b/tests/packagedcode/data/m2/org/apache/felix/felix/1.0.0/felix-1.0.0.pom.package.json index 03a12765f91..23bd39661de 100644 --- a/tests/packagedcode/data/m2/org/apache/felix/felix/1.0.0/felix-1.0.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/felix/felix/1.0.0/felix-1.0.0.pom.package.json @@ -27,26 +27,27 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/easymock/easymock", + "purl": "pkg:maven/easymock/easymock@1.2_Java1.3", "requirement": "1.2_Java1.3", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.felix/felix@1.0.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.felix/felix@1.0.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/felix/felix/1.0.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/felix/felix/1.0.0/felix-1.0.0.jar", diff --git a/tests/packagedcode/data/m2/org/apache/felix/felix/1.0.2/felix-1.0.2.pom.package.json b/tests/packagedcode/data/m2/org/apache/felix/felix/1.0.2/felix-1.0.2.pom.package.json index 28264092ddd..b6a5bac1960 100644 --- a/tests/packagedcode/data/m2/org/apache/felix/felix/1.0.2/felix-1.0.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/felix/felix/1.0.2/felix-1.0.2.pom.package.json @@ -27,26 +27,27 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/easymock/easymock", + "purl": "pkg:maven/easymock/easymock@1.2_Java1.3", "requirement": "1.2_Java1.3", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.felix/felix@1.0.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.felix/felix@1.0.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/felix/felix/1.0.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/felix/felix/1.0.2/felix-1.0.2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/felix/maven-bundle-plugin/1.4.0/maven-bundle-plugin-1.4.0.pom.package.json b/tests/packagedcode/data/m2/org/apache/felix/maven-bundle-plugin/1.4.0/maven-bundle-plugin-1.4.0.pom.package.json index b28a2bda0bb..89614b6dab8 100644 --- a/tests/packagedcode/data/m2/org/apache/felix/maven-bundle-plugin/1.4.0/maven-bundle-plugin-1.4.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/felix/maven-bundle-plugin/1.4.0/maven-bundle-plugin-1.4.0.pom.package.json @@ -27,162 +27,163 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/biz.aQute/bndlib", + "purl": "pkg:maven/biz.aQute/bndlib@0.0.238", "requirement": "0.0.238", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/net.sf.kxml/kxml2", + "purl": "pkg:maven/net.sf.kxml/kxml2@2.2.2", "requirement": "2.2.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/xmlpull/xmlpull", + "purl": "pkg:maven/xmlpull/xmlpull@1.1.3.1", "requirement": "1.1.3.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.felix/org.osgi.core", + "purl": "pkg:maven/org.apache.felix/org.osgi.core@1.0.0", "requirement": "1.0.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.felix/org.osgi.service.obr", + "purl": "pkg:maven/org.apache.felix/org.osgi.service.obr@1.0.1", "requirement": "1.0.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-project", + "purl": "pkg:maven/org.apache.maven/maven-project@2.0.7", "requirement": "2.0.7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-model", + "purl": "pkg:maven/org.apache.maven/maven-model@2.0.7", "requirement": "2.0.7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0.7", "requirement": "2.0.7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.7", "requirement": "2.0.7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-archiver", + "purl": "pkg:maven/org.apache.maven/maven-archiver@2.2", "requirement": "2.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact-manager", + "purl": "pkg:maven/org.apache.maven/maven-artifact-manager@2.0.7", "requirement": "2.0.7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-settings", + "purl": "pkg:maven/org.apache.maven/maven-settings@2.0.7", "requirement": "2.0.7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-dependency-tree", + "purl": "pkg:maven/org.apache.maven.shared/maven-dependency-tree@1.1", "requirement": "1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-osgi", + "purl": "pkg:maven/org.apache.maven.shared/maven-osgi@0.2.0", "requirement": "0.2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api", + "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api@1.0-beta-2", "requirement": "1.0-beta-2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-9-stable-1", "requirement": "1.0-alpha-9-stable-1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-archiver", + "purl": "pkg:maven/org.codehaus.plexus/plexus-archiver@1.0-alpha-7", "requirement": "1.0-alpha-7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.7", "requirement": "1.4.7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness", + "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness@1.1", "requirement": "1.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.felix/maven-bundle-plugin@1.4.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.felix/maven-bundle-plugin@1.4.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/felix/maven-bundle-plugin/1.4.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/felix/maven-bundle-plugin/1.4.0/maven-bundle-plugin-1.4.0.jar", diff --git a/tests/packagedcode/data/m2/org/apache/felix/org.osgi.core/1.0.0/org.osgi.core-1.0.0.pom.package.json b/tests/packagedcode/data/m2/org/apache/felix/org.osgi.core/1.0.0/org.osgi.core-1.0.0.pom.package.json index 5cdc224907c..01905351538 100644 --- a/tests/packagedcode/data/m2/org/apache/felix/org.osgi.core/1.0.0/org.osgi.core-1.0.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/felix/org.osgi.core/1.0.0/org.osgi.core-1.0.0.pom.package.json @@ -38,6 +38,7 @@ "source_packages": [ "pkg:maven/org.apache.felix/org.osgi.core@1.0.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.felix/org.osgi.core@1.0.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/felix/org.osgi.core/1.0.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/felix/org.osgi.core/1.0.0/org.osgi.core-1.0.0.jar", diff --git a/tests/packagedcode/data/m2/org/apache/felix/org.osgi.service.obr/1.0.1/org.osgi.service.obr-1.0.1.pom.package.json b/tests/packagedcode/data/m2/org/apache/felix/org.osgi.service.obr/1.0.1/org.osgi.service.obr-1.0.1.pom.package.json index 841a1a81e61..fa55fec05a8 100644 --- a/tests/packagedcode/data/m2/org/apache/felix/org.osgi.service.obr/1.0.1/org.osgi.service.obr-1.0.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/felix/org.osgi.service.obr/1.0.1/org.osgi.service.obr-1.0.1.pom.package.json @@ -35,18 +35,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.felix/org.osgi.core", + "purl": "pkg:maven/org.apache.felix/org.osgi.core@1.0.0", "requirement": "1.0.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.felix/org.osgi.service.obr@1.0.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.felix/org.osgi.service.obr@1.0.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/felix/org.osgi.service.obr/1.0.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/felix/org.osgi.service.obr/1.0.1/org.osgi.service.obr-1.0.1.jar", diff --git a/tests/packagedcode/data/m2/org/apache/geronimo/genesis/config/config/1.1/config-1.1.pom.package.json b/tests/packagedcode/data/m2/org/apache/geronimo/genesis/config/config/1.1/config-1.1.pom.package.json index 5afcfc59f9c..1fa43a63c06 100644 --- a/tests/packagedcode/data/m2/org/apache/geronimo/genesis/config/config/1.1/config-1.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/geronimo/genesis/config/config/1.1/config-1.1.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.geronimo.genesis.config/config@1.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.geronimo.genesis.config/config@1.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/geronimo/genesis/config/config/1.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/geronimo/genesis/config/config/1.1/config-1.1.jar", diff --git a/tests/packagedcode/data/m2/org/apache/geronimo/genesis/config/project-config/1.1/project-config-1.1.pom.json b/tests/packagedcode/data/m2/org/apache/geronimo/genesis/config/project-config/1.1/project-config-1.1.pom.json index df97e9ba6ea..b3f31e9f995 100644 --- a/tests/packagedcode/data/m2/org/apache/geronimo/genesis/config/project-config/1.1/project-config-1.1.pom.json +++ b/tests/packagedcode/data/m2/org/apache/geronimo/genesis/config/project-config/1.1/project-config-1.1.pom.json @@ -115,6 +115,26 @@ "version": "3.8.1", "required": true } + ], + "dependencyManagement": [ + { + "group_id": "junit", + "artifact_id": "junit", + "version": "3.8.1", + "required": true + }, + { + "group_id": "org.apache.geronimo.genesis.plugins", + "artifact_id": "plugin-support", + "version": "1.1", + "required": true + }, + { + "group_id": "org.apache.geronimo.genesis.config", + "artifact_id": "logging-config", + "version": "1.1", + "required": true + } ] } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/apache/geronimo/genesis/config/project-config/1.1/project-config-1.1.pom.package.json b/tests/packagedcode/data/m2/org/apache/geronimo/genesis/config/project-config/1.1/project-config-1.1.pom.package.json index 9dbe7bea9f0..0eb147ef7c5 100644 --- a/tests/packagedcode/data/m2/org/apache/geronimo/genesis/config/project-config/1.1/project-config-1.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/geronimo/genesis/config/project-config/1.1/project-config-1.1.pom.package.json @@ -42,26 +42,51 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.geronimo.genesis.config/logging-config", + "purl": "pkg:maven/org.apache.geronimo.genesis.config/logging-config@1.1", "requirement": "1.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true + }, + { + "purl": "pkg:maven/junit/junit@3.8.1", + "requirement": "3.8.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.geronimo.genesis.plugins/plugin-support@1.1", + "requirement": "1.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.geronimo.genesis.config/logging-config@1.1", + "requirement": "1.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.geronimo.genesis.config/project-config@1.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.geronimo.genesis.config/project-config@1.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/geronimo/genesis/config/project-config/1.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/geronimo/genesis/config/project-config/1.1/project-config-1.1.jar", diff --git a/tests/packagedcode/data/m2/org/apache/geronimo/genesis/genesis/1.1/genesis-1.1.pom.package.json b/tests/packagedcode/data/m2/org/apache/geronimo/genesis/genesis/1.1/genesis-1.1.pom.package.json index 49fdffadb65..9c5a80fdeab 100644 --- a/tests/packagedcode/data/m2/org/apache/geronimo/genesis/genesis/1.1/genesis-1.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/geronimo/genesis/genesis/1.1/genesis-1.1.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.geronimo.genesis/genesis@1.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.geronimo.genesis/genesis@1.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/geronimo/genesis/genesis/1.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/geronimo/genesis/genesis/1.1/genesis-1.1.jar", diff --git a/tests/packagedcode/data/m2/org/apache/geronimo/specs/geronimo-jsp_2.0_spec/1.1/geronimo-jsp_2.0_spec-1.1.pom.package.json b/tests/packagedcode/data/m2/org/apache/geronimo/specs/geronimo-jsp_2.0_spec/1.1/geronimo-jsp_2.0_spec-1.1.pom.package.json index bd4a9c700a2..e98a4570dc7 100644 --- a/tests/packagedcode/data/m2/org/apache/geronimo/specs/geronimo-jsp_2.0_spec/1.1/geronimo-jsp_2.0_spec-1.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/geronimo/specs/geronimo-jsp_2.0_spec/1.1/geronimo-jsp_2.0_spec-1.1.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.geronimo.specs/geronimo-servlet_2.4_spec", + "purl": "pkg:maven/org.apache.geronimo.specs/geronimo-servlet_2.4_spec@1.1", "requirement": "1.1", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.geronimo.specs/geronimo-jsp_2.0_spec@1.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.geronimo.specs/geronimo-jsp_2.0_spec@1.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-jsp_2.0_spec/1.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-jsp_2.0_spec/1.1/geronimo-jsp_2.0_spec-1.1.jar", diff --git a/tests/packagedcode/data/m2/org/apache/geronimo/specs/geronimo-servlet_2.4_spec/1.1.1/geronimo-servlet_2.4_spec-1.1.1.pom.package.json b/tests/packagedcode/data/m2/org/apache/geronimo/specs/geronimo-servlet_2.4_spec/1.1.1/geronimo-servlet_2.4_spec-1.1.1.pom.package.json index 77f1fd53168..1e49298130b 100644 --- a/tests/packagedcode/data/m2/org/apache/geronimo/specs/geronimo-servlet_2.4_spec/1.1.1/geronimo-servlet_2.4_spec-1.1.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/geronimo/specs/geronimo-servlet_2.4_spec/1.1.1/geronimo-servlet_2.4_spec-1.1.1.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.geronimo.specs/geronimo-servlet_2.4_spec@1.1.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.geronimo.specs/geronimo-servlet_2.4_spec@1.1.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-servlet_2.4_spec/1.1.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-servlet_2.4_spec/1.1.1/geronimo-servlet_2.4_spec-1.1.1.jar", diff --git a/tests/packagedcode/data/m2/org/apache/geronimo/specs/specs/1.2/specs-1.2.pom.package.json b/tests/packagedcode/data/m2/org/apache/geronimo/specs/specs/1.2/specs-1.2.pom.package.json index 9d5c61392eb..5dc0e97052b 100644 --- a/tests/packagedcode/data/m2/org/apache/geronimo/specs/specs/1.2/specs-1.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/geronimo/specs/specs/1.2/specs-1.2.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.geronimo.specs/specs@1.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.geronimo.specs/specs@1.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/geronimo/specs/specs/1.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/geronimo/specs/specs/1.2/specs-1.2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-core/1.0-alpha-10/doxia-core-1.0-alpha-10.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-core/1.0-alpha-10/doxia-core-1.0-alpha-10.pom.package.json index 93c55d75d65..8063333ec5a 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-core/1.0-alpha-10/doxia-core-1.0-alpha-10.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-core/1.0-alpha-10/doxia-core-1.0-alpha-10.pom.package.json @@ -30,31 +30,32 @@ "purl": "pkg:maven/org.apache.maven.doxia/doxia-sink-api", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.doxia/doxia-core@1.0-alpha-10?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.doxia/doxia-core@1.0-alpha-10", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-core/1.0-alpha-10/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-core/1.0-alpha-10/doxia-core-1.0-alpha-10.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-core/1.0-alpha-7/doxia-core-1.0-alpha-7.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-core/1.0-alpha-7/doxia-core-1.0-alpha-7.pom.package.json index 75e1467143b..409f6899793 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-core/1.0-alpha-7/doxia-core-1.0-alpha-7.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-core/1.0-alpha-7/doxia-core-1.0-alpha-7.pom.package.json @@ -27,42 +27,43 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/oro/oro", + "purl": "pkg:maven/oro/oro@2.0.7", "requirement": "2.0.7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.doxia/doxia-sink-api", + "purl": "pkg:maven/org.apache.maven.doxia/doxia-sink-api@1.0-alpha-7", "requirement": "1.0-alpha-7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-8", "requirement": "1.0-alpha-8", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.doxia/doxia-core@1.0-alpha-7?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.doxia/doxia-core@1.0-alpha-7", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-core/1.0-alpha-7/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-core/1.0-alpha-7/doxia-core-1.0-alpha-7.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-core/1.0-alpha-8/doxia-core-1.0-alpha-8.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-core/1.0-alpha-8/doxia-core-1.0-alpha-8.pom.package.json index 2035e5be566..e3c4196b661 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-core/1.0-alpha-8/doxia-core-1.0-alpha-8.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-core/1.0-alpha-8/doxia-core-1.0-alpha-8.pom.package.json @@ -27,42 +27,43 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/oro/oro", + "purl": "pkg:maven/oro/oro@2.0.7", "requirement": "2.0.7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.doxia/doxia-sink-api", + "purl": "pkg:maven/org.apache.maven.doxia/doxia-sink-api@1.0-alpha-8", "requirement": "1.0-alpha-8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-8", "requirement": "1.0-alpha-8", "scope": "runtime", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.doxia/doxia-core@1.0-alpha-8?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.doxia/doxia-core@1.0-alpha-8", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-core/1.0-alpha-8/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-core/1.0-alpha-8/doxia-core-1.0-alpha-8.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-10/doxia-decoration-model-1.0-alpha-10.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-10/doxia-decoration-model-1.0-alpha-10.pom.package.json index 0124408b99c..27de39b7ae4 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-10/doxia-decoration-model-1.0-alpha-10.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-10/doxia-decoration-model-1.0-alpha-10.pom.package.json @@ -30,15 +30,16 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.doxia/doxia-decoration-model@1.0-alpha-10?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.doxia/doxia-decoration-model@1.0-alpha-10", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-10/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-10/doxia-decoration-model-1.0-alpha-10.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-7/doxia-decoration-model-1.0-alpha-7.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-7/doxia-decoration-model-1.0-alpha-7.pom.package.json index ddf2bfa564d..331a1a6dbc2 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-7/doxia-decoration-model-1.0-alpha-7.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-7/doxia-decoration-model-1.0-alpha-7.pom.package.json @@ -27,26 +27,27 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.doxia/doxia-decoration-model@1.0-alpha-7?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.doxia/doxia-decoration-model@1.0-alpha-7", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-7/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-7/doxia-decoration-model-1.0-alpha-7.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-8/doxia-decoration-model-1.0-alpha-8.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-8/doxia-decoration-model-1.0-alpha-8.pom.package.json index 1a93cd023df..c43ac77ba50 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-8/doxia-decoration-model-1.0-alpha-8.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-8/doxia-decoration-model-1.0-alpha-8.pom.package.json @@ -27,26 +27,27 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.doxia/doxia-decoration-model@1.0-alpha-8?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.doxia/doxia-decoration-model@1.0-alpha-8", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-8/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-8/doxia-decoration-model-1.0-alpha-8.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-module-apt/1.0-alpha-10/doxia-module-apt-1.0-alpha-10.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-module-apt/1.0-alpha-10/doxia-module-apt-1.0-alpha-10.pom.package.json index 829239436e0..568845048ad 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-module-apt/1.0-alpha-10/doxia-module-apt-1.0-alpha-10.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-module-apt/1.0-alpha-10/doxia-module-apt-1.0-alpha-10.pom.package.json @@ -30,15 +30,16 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.doxia/doxia-module-apt@1.0-alpha-10?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.doxia/doxia-module-apt@1.0-alpha-10", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-module-apt/1.0-alpha-10/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-module-apt/1.0-alpha-10/doxia-module-apt-1.0-alpha-10.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-module-fml/1.0-alpha-10/doxia-module-fml-1.0-alpha-10.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-module-fml/1.0-alpha-10/doxia-module-fml-1.0-alpha-10.pom.package.json index 8f396cf625c..33ef194a718 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-module-fml/1.0-alpha-10/doxia-module-fml-1.0-alpha-10.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-module-fml/1.0-alpha-10/doxia-module-fml-1.0-alpha-10.pom.package.json @@ -30,15 +30,16 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.doxia/doxia-module-fml@1.0-alpha-10?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.doxia/doxia-module-fml@1.0-alpha-10", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-module-fml/1.0-alpha-10/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-module-fml/1.0-alpha-10/doxia-module-fml-1.0-alpha-10.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-module-xdoc/1.0-alpha-10/doxia-module-xdoc-1.0-alpha-10.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-module-xdoc/1.0-alpha-10/doxia-module-xdoc-1.0-alpha-10.pom.package.json index 0f65a3c384a..4b67de69d82 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-module-xdoc/1.0-alpha-10/doxia-module-xdoc-1.0-alpha-10.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-module-xdoc/1.0-alpha-10/doxia-module-xdoc-1.0-alpha-10.pom.package.json @@ -30,15 +30,16 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.doxia/doxia-module-xdoc@1.0-alpha-10?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.doxia/doxia-module-xdoc@1.0-alpha-10", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-module-xdoc/1.0-alpha-10/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-module-xdoc/1.0-alpha-10/doxia-module-xdoc-1.0-alpha-10.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-module-xhtml/1.0-alpha-10/doxia-module-xhtml-1.0-alpha-10.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-module-xhtml/1.0-alpha-10/doxia-module-xhtml-1.0-alpha-10.pom.package.json index ac60d08f90f..00f4abe8f00 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-module-xhtml/1.0-alpha-10/doxia-module-xhtml-1.0-alpha-10.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-module-xhtml/1.0-alpha-10/doxia-module-xhtml-1.0-alpha-10.pom.package.json @@ -30,15 +30,16 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.doxia/doxia-module-xhtml@1.0-alpha-10?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.doxia/doxia-module-xhtml@1.0-alpha-10", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-module-xhtml/1.0-alpha-10/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-module-xhtml/1.0-alpha-10/doxia-module-xhtml-1.0-alpha-10.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-modules/1.0-alpha-10/doxia-modules-1.0-alpha-10.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-modules/1.0-alpha-10/doxia-modules-1.0-alpha-10.pom.package.json index 52bcbda1c95..b2aa0c08d05 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-modules/1.0-alpha-10/doxia-modules-1.0-alpha-10.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-modules/1.0-alpha-10/doxia-modules-1.0-alpha-10.pom.package.json @@ -30,17 +30,17 @@ "purl": "pkg:maven/org.apache.maven.doxia/doxia-core", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.doxia/doxia-sink-api", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.doxia/doxia-core", @@ -48,13 +48,14 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.doxia/doxia-modules@1.0-alpha-10?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.doxia/doxia-modules@1.0-alpha-10", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-modules/1.0-alpha-10/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-modules/1.0-alpha-10/doxia-modules-1.0-alpha-10.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-10/doxia-sink-api-1.0-alpha-10.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-10/doxia-sink-api-1.0-alpha-10.pom.package.json index eaacb52a045..4a25eb39e70 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-10/doxia-sink-api-1.0-alpha-10.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-10/doxia-sink-api-1.0-alpha-10.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.maven.doxia/doxia-sink-api@1.0-alpha-10?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.doxia/doxia-sink-api@1.0-alpha-10", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-10/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-10/doxia-sink-api-1.0-alpha-10.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.pom.package.json index 899c35a50ec..97bce36f617 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.maven.doxia/doxia-sink-api@1.0-alpha-7?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.doxia/doxia-sink-api@1.0-alpha-7", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-8/doxia-sink-api-1.0-alpha-8.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-8/doxia-sink-api-1.0-alpha-8.pom.package.json index 8f69707d480..a7c9be8098c 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-8/doxia-sink-api-1.0-alpha-8.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-8/doxia-sink-api-1.0-alpha-8.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.maven.doxia/doxia-sink-api@1.0-alpha-8?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.doxia/doxia-sink-api@1.0-alpha-8", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-8/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-8/doxia-sink-api-1.0-alpha-8.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-9/doxia-sink-api-1.0-alpha-9.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-9/doxia-sink-api-1.0-alpha-9.pom.package.json index a95ead3967d..6e276bc0a75 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-9/doxia-sink-api-1.0-alpha-9.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-9/doxia-sink-api-1.0-alpha-9.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.maven.doxia/doxia-sink-api@1.0-alpha-9?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.doxia/doxia-sink-api@1.0-alpha-9", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-9/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-9/doxia-sink-api-1.0-alpha-9.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-site-renderer/1.0-alpha-10/doxia-site-renderer-1.0-alpha-10.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-site-renderer/1.0-alpha-10/doxia-site-renderer-1.0-alpha-10.pom.package.json index c74cc25da5f..9cff06b5f83 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-site-renderer/1.0-alpha-10/doxia-site-renderer-1.0-alpha-10.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-site-renderer/1.0-alpha-10/doxia-site-renderer-1.0-alpha-10.pom.package.json @@ -38,119 +38,120 @@ "purl": "pkg:maven/org.apache.maven.doxia/doxia-core", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.doxia/doxia-sink-api", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-i18n", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-velocity", + "purl": "pkg:maven/org.codehaus.plexus/plexus-velocity@1.1.7", "requirement": "1.1.7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.velocity/velocity", + "purl": "pkg:maven/org.apache.velocity/velocity@1.5", "requirement": "1.5", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.apache.maven.doxia/doxia-decoration-model", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { - "purl": "pkg:maven/commons-collections/commons-collections", + "purl": "pkg:maven/commons-collections/commons-collections@3.2", "requirement": "3.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.apache.maven.doxia/doxia-module-apt", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.doxia/doxia-module-fml", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.doxia/doxia-module-xdoc", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.doxia/doxia-module-xhtml", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { - "purl": "pkg:maven/htmlunit/htmlunit", + "purl": "pkg:maven/htmlunit/htmlunit@1.9", "requirement": "1.9", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.doxia/doxia-site-renderer@1.0-alpha-10?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.doxia/doxia-site-renderer@1.0-alpha-10", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-site-renderer/1.0-alpha-10/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-site-renderer/1.0-alpha-10/doxia-site-renderer-1.0-alpha-10.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-site-renderer/1.0-alpha-7/doxia-site-renderer-1.0-alpha-7.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-site-renderer/1.0-alpha-7/doxia-site-renderer-1.0-alpha-7.pom.package.json index 65e0645ef46..a6a14a22324 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-site-renderer/1.0-alpha-7/doxia-site-renderer-1.0-alpha-7.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-site-renderer/1.0-alpha-7/doxia-site-renderer-1.0-alpha-7.pom.package.json @@ -35,42 +35,43 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven.doxia/doxia-core", + "purl": "pkg:maven/org.apache.maven.doxia/doxia-core@1.0-alpha-7", "requirement": "1.0-alpha-7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-i18n", + "purl": "pkg:maven/org.codehaus.plexus/plexus-i18n@1.0-beta-6", "requirement": "1.0-beta-6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-velocity", + "purl": "pkg:maven/org.codehaus.plexus/plexus-velocity@1.1.2", "requirement": "1.1.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.doxia/doxia-decoration-model", + "purl": "pkg:maven/org.apache.maven.doxia/doxia-decoration-model@1.0-alpha-7", "requirement": "1.0-alpha-7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.doxia/doxia-site-renderer@1.0-alpha-7?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.doxia/doxia-site-renderer@1.0-alpha-7", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-site-renderer/1.0-alpha-7/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-site-renderer/1.0-alpha-7/doxia-site-renderer-1.0-alpha-7.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-site-renderer/1.0-alpha-8/doxia-site-renderer-1.0-alpha-8.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-site-renderer/1.0-alpha-8/doxia-site-renderer-1.0-alpha-8.pom.package.json index ae8f30ba32d..9ea0edf8db4 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-site-renderer/1.0-alpha-8/doxia-site-renderer-1.0-alpha-8.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-site-renderer/1.0-alpha-8/doxia-site-renderer-1.0-alpha-8.pom.package.json @@ -35,42 +35,43 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven.doxia/doxia-core", + "purl": "pkg:maven/org.apache.maven.doxia/doxia-core@1.0-alpha-8", "requirement": "1.0-alpha-8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-i18n", + "purl": "pkg:maven/org.codehaus.plexus/plexus-i18n@1.0-beta-6", "requirement": "1.0-beta-6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-velocity", + "purl": "pkg:maven/org.codehaus.plexus/plexus-velocity@1.1.3", "requirement": "1.1.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.doxia/doxia-decoration-model", + "purl": "pkg:maven/org.apache.maven.doxia/doxia-decoration-model@1.0-alpha-8", "requirement": "1.0-alpha-8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.doxia/doxia-site-renderer@1.0-alpha-8?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.doxia/doxia-site-renderer@1.0-alpha-8", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-site-renderer/1.0-alpha-8/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-site-renderer/1.0-alpha-8/doxia-site-renderer-1.0-alpha-8.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-sitetools/1.0-alpha-10/doxia-sitetools-1.0-alpha-10.pom.json b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-sitetools/1.0-alpha-10/doxia-sitetools-1.0-alpha-10.pom.json index 8c9d9c764f5..ec1eafe16c0 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-sitetools/1.0-alpha-10/doxia-sitetools-1.0-alpha-10.pom.json +++ b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-sitetools/1.0-alpha-10/doxia-sitetools-1.0-alpha-10.pom.json @@ -83,6 +83,68 @@ "version": "3.8.2", "required": true } + ], + "dependencyManagement": [ + { + "group_id": "org.apache.maven.doxia", + "artifact_id": "doxia-sink-api", + "version": "1.0-alpha-10", + "required": true + }, + { + "group_id": "org.apache.maven.doxia", + "artifact_id": "doxia-core", + "version": "1.0-alpha-10", + "required": true + }, + { + "group_id": "org.apache.maven.doxia", + "artifact_id": "doxia-module-apt", + "version": "1.0-alpha-10", + "required": true + }, + { + "group_id": "org.apache.maven.doxia", + "artifact_id": "doxia-module-fml", + "version": "1.0-alpha-10", + "required": true + }, + { + "group_id": "org.apache.maven.doxia", + "artifact_id": "doxia-module-xdoc", + "version": "1.0-alpha-10", + "required": true + }, + { + "group_id": "org.apache.maven.doxia", + "artifact_id": "doxia-module-xhtml", + "version": "1.0-alpha-10", + "required": true + }, + { + "group_id": "org.apache.maven.doxia", + "artifact_id": "doxia-decoration-model", + "version": "1.0-alpha-10", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-container-default", + "version": "1.0-alpha-30", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-i18n", + "version": "1.0-beta-7", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-utils", + "version": "1.4.5", + "required": true + } ] } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-sitetools/1.0-alpha-10/doxia-sitetools-1.0-alpha-10.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-sitetools/1.0-alpha-10/doxia-sitetools-1.0-alpha-10.pom.package.json index 2978fd0a055..3c51ee1cd31 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-sitetools/1.0-alpha-10/doxia-sitetools-1.0-alpha-10.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia-sitetools/1.0-alpha-10/doxia-sitetools-1.0-alpha-10.pom.package.json @@ -27,18 +27,99 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.2", "requirement": "3.8.2", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.doxia/doxia-sink-api@1.0-alpha-10", + "requirement": "1.0-alpha-10", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.doxia/doxia-core@1.0-alpha-10", + "requirement": "1.0-alpha-10", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.doxia/doxia-module-apt@1.0-alpha-10", + "requirement": "1.0-alpha-10", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.doxia/doxia-module-fml@1.0-alpha-10", + "requirement": "1.0-alpha-10", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.doxia/doxia-module-xdoc@1.0-alpha-10", + "requirement": "1.0-alpha-10", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.doxia/doxia-module-xhtml@1.0-alpha-10", + "requirement": "1.0-alpha-10", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.doxia/doxia-decoration-model@1.0-alpha-10", + "requirement": "1.0-alpha-10", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-30", + "requirement": "1.0-alpha-30", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-i18n@1.0-beta-7", + "requirement": "1.0-beta-7", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.5", + "requirement": "1.4.5", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.doxia/doxia-sitetools@1.0-alpha-10?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.doxia/doxia-sitetools@1.0-alpha-10", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-sitetools/1.0-alpha-10/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-sitetools/1.0-alpha-10/doxia-sitetools-1.0-alpha-10.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia/1.0-alpha-10/doxia-1.0-alpha-10.pom.json b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia/1.0-alpha-10/doxia-1.0-alpha-10.pom.json index 6d4a7cb58d1..962460aa0ae 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia/1.0-alpha-10/doxia-1.0-alpha-10.pom.json +++ b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia/1.0-alpha-10/doxia-1.0-alpha-10.pom.json @@ -85,6 +85,32 @@ "version": "3.8.2", "required": true } + ], + "dependencyManagement": [ + { + "group_id": "org.apache.maven.doxia", + "artifact_id": "doxia-sink-api", + "version": "1.0-alpha-10", + "required": true + }, + { + "group_id": "org.apache.maven.doxia", + "artifact_id": "doxia-core", + "version": "1.0-alpha-10", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-container-default", + "version": "1.0-alpha-30", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-utils", + "version": "1.4.5", + "required": true + } ] } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia/1.0-alpha-10/doxia-1.0-alpha-10.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia/1.0-alpha-10/doxia-1.0-alpha-10.pom.package.json index 562b499ff00..c0ce3f29132 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia/1.0-alpha-10/doxia-1.0-alpha-10.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia/1.0-alpha-10/doxia-1.0-alpha-10.pom.package.json @@ -27,18 +27,51 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.2", "requirement": "3.8.2", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.doxia/doxia-sink-api@1.0-alpha-10", + "requirement": "1.0-alpha-10", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.doxia/doxia-core@1.0-alpha-10", + "requirement": "1.0-alpha-10", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-30", + "requirement": "1.0-alpha-30", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.5", + "requirement": "1.4.5", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.doxia/doxia@1.0-alpha-10?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.doxia/doxia@1.0-alpha-10", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia/1.0-alpha-10/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia/1.0-alpha-10/doxia-1.0-alpha-10.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia/1.0-alpha-7/doxia-1.0-alpha-7.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia/1.0-alpha-7/doxia-1.0-alpha-7.pom.package.json index b70adebd69d..0985e146ca9 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia/1.0-alpha-7/doxia-1.0-alpha-7.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia/1.0-alpha-7/doxia-1.0-alpha-7.pom.package.json @@ -52,6 +52,7 @@ "source_packages": [ "pkg:maven/org.apache.maven.doxia/doxia@1.0-alpha-7?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.doxia/doxia@1.0-alpha-7", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia/1.0-alpha-7/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia/1.0-alpha-7/doxia-1.0-alpha-7.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia/1.0-alpha-8/doxia-1.0-alpha-8.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia/1.0-alpha-8/doxia-1.0-alpha-8.pom.package.json index bf402765651..5f0d2d9e850 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia/1.0-alpha-8/doxia-1.0-alpha-8.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia/1.0-alpha-8/doxia-1.0-alpha-8.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.maven.doxia/doxia@1.0-alpha-8?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.doxia/doxia@1.0-alpha-8", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia/1.0-alpha-8/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia/1.0-alpha-8/doxia-1.0-alpha-8.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia/1.0-alpha-9/doxia-1.0-alpha-9.pom.json b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia/1.0-alpha-9/doxia-1.0-alpha-9.pom.json index c4ba693821a..2074b08bc0b 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia/1.0-alpha-9/doxia-1.0-alpha-9.pom.json +++ b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia/1.0-alpha-9/doxia-1.0-alpha-9.pom.json @@ -85,6 +85,32 @@ "version": "3.8.2", "required": true } + ], + "dependencyManagement": [ + { + "group_id": "org.apache.maven.doxia", + "artifact_id": "doxia-sink-api", + "version": "1.0-alpha-9", + "required": true + }, + { + "group_id": "org.apache.maven.doxia", + "artifact_id": "doxia-core", + "version": "1.0-alpha-9", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-container-default", + "version": "1.0-alpha-30", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-utils", + "version": "1.4.5", + "required": true + } ] } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia/1.0-alpha-9/doxia-1.0-alpha-9.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia/1.0-alpha-9/doxia-1.0-alpha-9.pom.package.json index c8dd36a3e7c..375a8b0b575 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia/1.0-alpha-9/doxia-1.0-alpha-9.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/doxia/doxia/1.0-alpha-9/doxia-1.0-alpha-9.pom.package.json @@ -27,18 +27,51 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.2", "requirement": "3.8.2", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.doxia/doxia-sink-api@1.0-alpha-9", + "requirement": "1.0-alpha-9", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.doxia/doxia-core@1.0-alpha-9", + "requirement": "1.0-alpha-9", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-30", + "requirement": "1.0-alpha-30", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.5", + "requirement": "1.4.5", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.doxia/doxia@1.0-alpha-9?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.doxia/doxia@1.0-alpha-9", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia/1.0-alpha-9/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/doxia/doxia/1.0-alpha-9/doxia-1.0-alpha-9.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-archiver/2.2/maven-archiver-2.2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-archiver/2.2/maven-archiver-2.2.pom.package.json index aac38c36f41..1714c5603f7 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-archiver/2.2/maven-archiver-2.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-archiver/2.2/maven-archiver-2.2.pom.package.json @@ -27,34 +27,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-project", + "purl": "pkg:maven/org.apache.maven/maven-project@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-archiver", + "purl": "pkg:maven/org.codehaus.plexus/plexus-archiver@1.0-alpha-7", "requirement": "1.0-alpha-7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-archiver@2.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-archiver@2.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-archiver/2.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-archiver/2.2/maven-archiver-2.2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-archiver/2.3/maven-archiver-2.3.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-archiver/2.3/maven-archiver-2.3.pom.package.json index 76e4e03d396..9d6e5751532 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-archiver/2.3/maven-archiver-2.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-archiver/2.3/maven-archiver-2.3.pom.package.json @@ -27,58 +27,59 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-model", + "purl": "pkg:maven/org.apache.maven/maven-model@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-project", + "purl": "pkg:maven/org.apache.maven/maven-project@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-archiver", + "purl": "pkg:maven/org.codehaus.plexus/plexus-archiver@1.0-alpha-9", "requirement": "1.0-alpha-9", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.9", "requirement": "1.4.9", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-archiver@2.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-archiver@2.3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-archiver/2.3/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-archiver/2.3/maven-archiver-2.3.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom.package.json index b1904f3fc53..5c9e2a5c68a 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.pom.package.json @@ -27,44 +27,44 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-repository-metadata", + "purl": "pkg:maven/org.apache.maven/maven-repository-metadata@2.0.1", "requirement": "2.0.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.1", "requirement": "2.0.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.wagon/wagon-file", @@ -72,13 +72,14 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-artifact-manager@2.0.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-artifact-manager@2.0.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact-manager/2.0.1/maven-artifact-manager-2.0.1.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-artifact-manager/2.0.2/maven-artifact-manager-2.0.2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-artifact-manager/2.0.2/maven-artifact-manager-2.0.2.pom.package.json index c12c6690d53..110da78988f 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-artifact-manager/2.0.2/maven-artifact-manager-2.0.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-artifact-manager/2.0.2/maven-artifact-manager-2.0.2.pom.package.json @@ -27,44 +27,44 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-repository-metadata", + "purl": "pkg:maven/org.apache.maven/maven-repository-metadata@2.0.2", "requirement": "2.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.2", "requirement": "2.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.wagon/wagon-file", @@ -72,13 +72,14 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-artifact-manager@2.0.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-artifact-manager@2.0.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact-manager/2.0.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact-manager/2.0.2/maven-artifact-manager-2.0.2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-artifact-manager/2.0.4/maven-artifact-manager-2.0.4.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-artifact-manager/2.0.4/maven-artifact-manager-2.0.4.pom.package.json index 3cd7bf91a54..2c934621e2d 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-artifact-manager/2.0.4/maven-artifact-manager-2.0.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-artifact-manager/2.0.4/maven-artifact-manager-2.0.4.pom.package.json @@ -27,44 +27,44 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-repository-metadata", + "purl": "pkg:maven/org.apache.maven/maven-repository-metadata@2.0.4", "requirement": "2.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.4", "requirement": "2.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.wagon/wagon-file", @@ -72,13 +72,14 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-artifact-manager@2.0.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-artifact-manager@2.0.4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact-manager/2.0.4/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact-manager/2.0.4/maven-artifact-manager-2.0.4.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-artifact-manager/2.0.6/maven-artifact-manager-2.0.6.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-artifact-manager/2.0.6/maven-artifact-manager-2.0.6.pom.package.json index 29e4625363c..91906071ebd 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-artifact-manager/2.0.6/maven-artifact-manager-2.0.6.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-artifact-manager/2.0.6/maven-artifact-manager-2.0.6.pom.package.json @@ -30,41 +30,41 @@ "purl": "pkg:maven/org.apache.maven/maven-repository-metadata", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-artifact", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.wagon/wagon-file", @@ -72,21 +72,22 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null }, { - "purl": "pkg:maven/easymock/easymock", + "purl": "pkg:maven/easymock/easymock@1.2_Java1.3", "requirement": "1.2_Java1.3", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-artifact-manager@2.0.6?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-artifact-manager@2.0.6", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact-manager/2.0.6/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact-manager/2.0.6/maven-artifact-manager-2.0.6.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-artifact-manager/2.0.7/maven-artifact-manager-2.0.7.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-artifact-manager/2.0.7/maven-artifact-manager-2.0.7.pom.package.json index 793aa015141..282a39002d9 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-artifact-manager/2.0.7/maven-artifact-manager-2.0.7.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-artifact-manager/2.0.7/maven-artifact-manager-2.0.7.pom.package.json @@ -30,41 +30,41 @@ "purl": "pkg:maven/org.apache.maven/maven-repository-metadata", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-artifact", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.wagon/wagon-file", @@ -72,21 +72,22 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null }, { - "purl": "pkg:maven/easymock/easymock", + "purl": "pkg:maven/easymock/easymock@1.2_Java1.3", "requirement": "1.2_Java1.3", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-artifact-manager@2.0.7?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-artifact-manager@2.0.7", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact-manager/2.0.7/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact-manager/2.0.7/maven-artifact-manager-2.0.7.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-artifact-manager/2.0.8/maven-artifact-manager-2.0.8.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-artifact-manager/2.0.8/maven-artifact-manager-2.0.8.pom.package.json index 35378b651cd..d2f5d251798 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-artifact-manager/2.0.8/maven-artifact-manager-2.0.8.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-artifact-manager/2.0.8/maven-artifact-manager-2.0.8.pom.package.json @@ -30,41 +30,41 @@ "purl": "pkg:maven/org.apache.maven/maven-repository-metadata", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-artifact", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.wagon/wagon-file", @@ -72,21 +72,22 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null }, { - "purl": "pkg:maven/easymock/easymock", + "purl": "pkg:maven/easymock/easymock@1.2_Java1.3", "requirement": "1.2_Java1.3", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-artifact-manager@2.0.8?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-artifact-manager@2.0.8", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact-manager/2.0.8/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact-manager/2.0.8/maven-artifact-manager-2.0.8.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-artifact-manager/2.0/maven-artifact-manager-2.0.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-artifact-manager/2.0/maven-artifact-manager-2.0.pom.package.json index bb2092709a4..c9a42e4e8bd 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-artifact-manager/2.0/maven-artifact-manager-2.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-artifact-manager/2.0/maven-artifact-manager-2.0.pom.package.json @@ -27,44 +27,44 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-repository-metadata", + "purl": "pkg:maven/org.apache.maven/maven-repository-metadata@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.wagon/wagon-file", @@ -72,13 +72,14 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-artifact-manager@2.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-artifact-manager@2.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact-manager/2.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact-manager/2.0/maven-artifact-manager-2.0.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom.package.json index 18f423af8c6..9586708da32 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.pom.package.json @@ -30,9 +30,9 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", @@ -40,13 +40,14 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-artifact@2.0.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact/2.0.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact/2.0.1/maven-artifact-2.0.1.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0.2/maven-artifact-2.0.2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0.2/maven-artifact-2.0.2.pom.package.json index 36a92c50145..421290e56eb 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0.2/maven-artifact-2.0.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0.2/maven-artifact-2.0.2.pom.package.json @@ -30,9 +30,9 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", @@ -40,13 +40,14 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-artifact@2.0.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact/2.0.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact/2.0.2/maven-artifact-2.0.2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0.4/maven-artifact-2.0.4.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0.4/maven-artifact-2.0.4.pom.package.json index f7f225f9c48..ecd6ced757e 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0.4/maven-artifact-2.0.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0.4/maven-artifact-2.0.4.pom.package.json @@ -30,9 +30,9 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", @@ -40,13 +40,14 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-artifact@2.0.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact/2.0.4/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact/2.0.4/maven-artifact-2.0.4.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0.5/maven-artifact-2.0.5.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0.5/maven-artifact-2.0.5.pom.package.json index 602367f7bfb..2409f8a6db9 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0.5/maven-artifact-2.0.5.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0.5/maven-artifact-2.0.5.pom.package.json @@ -30,9 +30,9 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", @@ -40,13 +40,14 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-artifact@2.0.5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.5", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact/2.0.5/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact/2.0.5/maven-artifact-2.0.5.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0.6/maven-artifact-2.0.6.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0.6/maven-artifact-2.0.6.pom.package.json index d01f4a03c29..dcbeefce913 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0.6/maven-artifact-2.0.6.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0.6/maven-artifact-2.0.6.pom.package.json @@ -30,9 +30,9 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", @@ -40,13 +40,14 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-artifact@2.0.6?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.6", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact/2.0.6/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact/2.0.6/maven-artifact-2.0.6.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0.7/maven-artifact-2.0.7.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0.7/maven-artifact-2.0.7.pom.package.json index b04d9375ee6..cbf892ae783 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0.7/maven-artifact-2.0.7.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0.7/maven-artifact-2.0.7.pom.package.json @@ -30,9 +30,9 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", @@ -40,13 +40,14 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-artifact@2.0.7?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.7", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact/2.0.7/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact/2.0.7/maven-artifact-2.0.7.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0.8/maven-artifact-2.0.8.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0.8/maven-artifact-2.0.8.pom.package.json index 895469d7ea4..501f802b5fa 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0.8/maven-artifact-2.0.8.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0.8/maven-artifact-2.0.8.pom.package.json @@ -30,9 +30,9 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", @@ -40,13 +40,14 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-artifact@2.0.8?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.8", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact/2.0.8/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact/2.0.8/maven-artifact-2.0.8.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0/maven-artifact-2.0.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0/maven-artifact-2.0.pom.package.json index 4c54dfb02f1..3e6c36d6354 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0/maven-artifact-2.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-artifact/2.0/maven-artifact-2.0.pom.package.json @@ -30,9 +30,9 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", @@ -40,13 +40,14 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-artifact@2.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact/2.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact/2.0/maven-artifact-2.0.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-core/2.0.8/maven-core-2.0.8.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-core/2.0.8/maven-core-2.0.8.pom.package.json index 22f1d94488d..51034a3e4bb 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-core/2.0.8/maven-core-2.0.8.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-core/2.0.8/maven-core-2.0.8.pom.package.json @@ -30,153 +30,153 @@ "purl": "pkg:maven/org.apache.maven/maven-settings", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-plugin-parameter-documenter", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-profile", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-model", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-artifact", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-repository-metadata", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-error-diagnostics", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-project", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { - "purl": "pkg:maven/commons-cli/commons-cli", + "purl": "pkg:maven/commons-cli/commons-cli@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.apache.maven/maven-plugin-api", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-plugin-descriptor", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-interactivity-api", + "purl": "pkg:maven/org.codehaus.plexus/plexus-interactivity-api@1.0-alpha-4", "requirement": "1.0-alpha-4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.apache.maven/maven-artifact-manager", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-monitor", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/classworlds/classworlds", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.wagon/wagon-file", @@ -184,7 +184,7 @@ "scope": "runtime", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.wagon/wagon-http-lightweight", @@ -192,7 +192,7 @@ "scope": "runtime", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.wagon/wagon-ssh-external", @@ -200,7 +200,7 @@ "scope": "runtime", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.wagon/wagon-ssh", @@ -208,13 +208,14 @@ "scope": "runtime", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-core@2.0.8?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-core@2.0.8", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-core/2.0.8/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-core/2.0.8/maven-core-2.0.8.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-core/2.0/maven-core-2.0.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-core/2.0/maven-core-2.0.pom.package.json index edbc8bd49d4..69085953c4c 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-core/2.0/maven-core-2.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-core/2.0/maven-core-2.0.pom.package.json @@ -27,156 +27,156 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-settings", + "purl": "pkg:maven/org.apache.maven/maven-settings@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-plugin-parameter-documenter", + "purl": "pkg:maven/org.apache.maven/maven-plugin-parameter-documenter@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api", + "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-profile", + "purl": "pkg:maven/org.apache.maven/maven-profile@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-model", + "purl": "pkg:maven/org.apache.maven/maven-model@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { - "purl": "pkg:maven/org.apache.maven/maven-repository-metadata", + "purl": "pkg:maven/org.apache.maven/maven-repository-metadata@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-error-diagnostics", + "purl": "pkg:maven/org.apache.maven/maven-error-diagnostics@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-project", + "purl": "pkg:maven/org.apache.maven/maven-project@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-plugin-registry", + "purl": "pkg:maven/org.apache.maven/maven-plugin-registry@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-cli/commons-cli", + "purl": "pkg:maven/commons-cli/commons-cli@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-plugin-descriptor", + "purl": "pkg:maven/org.apache.maven/maven-plugin-descriptor@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-interactivity-api", + "purl": "pkg:maven/org.codehaus.plexus/plexus-interactivity-api@1.0-alpha-4", "requirement": "1.0-alpha-4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact-manager", + "purl": "pkg:maven/org.apache.maven/maven-artifact-manager@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-monitor", + "purl": "pkg:maven/org.apache.maven/maven-monitor@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.wagon/wagon-file", @@ -184,7 +184,7 @@ "scope": "runtime", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.wagon/wagon-http-lightweight", @@ -192,7 +192,7 @@ "scope": "runtime", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.wagon/wagon-ssh", @@ -200,13 +200,14 @@ "scope": "runtime", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-core@2.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-core@2.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-core/2.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-core/2.0/maven-core-2.0.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-error-diagnostics/2.0.8/maven-error-diagnostics-2.0.8.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-error-diagnostics/2.0.8/maven-error-diagnostics-2.0.8.pom.package.json index 7e9bd4cb189..b18ec9fd848 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-error-diagnostics/2.0.8/maven-error-diagnostics-2.0.8.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-error-diagnostics/2.0.8/maven-error-diagnostics-2.0.8.pom.package.json @@ -30,15 +30,16 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-error-diagnostics@2.0.8?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-error-diagnostics@2.0.8", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-error-diagnostics/2.0.8/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-error-diagnostics/2.0.8/maven-error-diagnostics-2.0.8.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-error-diagnostics/2.0/maven-error-diagnostics-2.0.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-error-diagnostics/2.0/maven-error-diagnostics-2.0.pom.package.json index 13bf2a79f02..b8b163ce796 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-error-diagnostics/2.0/maven-error-diagnostics-2.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-error-diagnostics/2.0/maven-error-diagnostics-2.0.pom.package.json @@ -30,15 +30,16 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-error-diagnostics@2.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-error-diagnostics@2.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-error-diagnostics/2.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-error-diagnostics/2.0/maven-error-diagnostics-2.0.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom.package.json index 91010158bdd..592d8e06041 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom.package.json @@ -30,15 +30,16 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-model@2.0.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-model@2.0.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0.2/maven-model-2.0.2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0.2/maven-model-2.0.2.pom.package.json index f626c55b13d..4e202e8dc7b 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0.2/maven-model-2.0.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0.2/maven-model-2.0.2.pom.package.json @@ -30,15 +30,16 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-model@2.0.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-model@2.0.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0.2/maven-model-2.0.2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0.4/maven-model-2.0.4.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0.4/maven-model-2.0.4.pom.package.json index 1ac153b5402..07602c3ad2c 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0.4/maven-model-2.0.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0.4/maven-model-2.0.4.pom.package.json @@ -30,15 +30,16 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-model@2.0.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-model@2.0.4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0.4/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0.4/maven-model-2.0.4.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0.5/maven-model-2.0.5.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0.5/maven-model-2.0.5.pom.package.json index 1be53995513..68c6f72ee49 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0.5/maven-model-2.0.5.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0.5/maven-model-2.0.5.pom.package.json @@ -30,15 +30,16 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-model@2.0.5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-model@2.0.5", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0.5/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0.5/maven-model-2.0.5.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0.6/maven-model-2.0.6.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0.6/maven-model-2.0.6.pom.package.json index 19ccbeaea66..3e6f8716983 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0.6/maven-model-2.0.6.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0.6/maven-model-2.0.6.pom.package.json @@ -30,15 +30,16 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-model@2.0.6?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-model@2.0.6", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0.6/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0.6/maven-model-2.0.6.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0.7/maven-model-2.0.7.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0.7/maven-model-2.0.7.pom.package.json index d4c88752968..03653286c24 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0.7/maven-model-2.0.7.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0.7/maven-model-2.0.7.pom.package.json @@ -30,15 +30,16 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-model@2.0.7?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-model@2.0.7", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0.7/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0.7/maven-model-2.0.7.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0.8/maven-model-2.0.8.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0.8/maven-model-2.0.8.pom.package.json index 8ada81ce042..c7d372e2965 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0.8/maven-model-2.0.8.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0.8/maven-model-2.0.8.pom.package.json @@ -30,15 +30,16 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-model@2.0.8?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-model@2.0.8", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0.8/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0.8/maven-model-2.0.8.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0/maven-model-2.0.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0/maven-model-2.0.pom.package.json index e1d88917b7d..61b7d2f26a4 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0/maven-model-2.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-model/2.0/maven-model-2.0.pom.package.json @@ -30,15 +30,16 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-model@2.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-model@2.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0/maven-model-2.0.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-monitor/2.0.8/maven-monitor-2.0.8.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-monitor/2.0.8/maven-monitor-2.0.8.pom.package.json index d37c9e51118..35443166497 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-monitor/2.0.8/maven-monitor-2.0.8.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-monitor/2.0.8/maven-monitor-2.0.8.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.maven/maven-monitor@2.0.8?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-monitor@2.0.8", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-monitor/2.0.8/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-monitor/2.0.8/maven-monitor-2.0.8.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-monitor/2.0/maven-monitor-2.0.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-monitor/2.0/maven-monitor-2.0.pom.package.json index d3db72e87d7..e07b132c2fd 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-monitor/2.0/maven-monitor-2.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-monitor/2.0/maven-monitor-2.0.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.maven/maven-monitor@2.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-monitor@2.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-monitor/2.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-monitor/2.0/maven-monitor-2.0.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-parent/1/maven-parent-1.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-parent/1/maven-parent-1.pom.package.json index 77db51f4fbf..0f1cc899035 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-parent/1/maven-parent-1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-parent/1/maven-parent-1.pom.package.json @@ -115,6 +115,7 @@ "source_packages": [ "pkg:maven/org.apache.maven/maven-parent@1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-parent@1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-parent/1/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-parent/1/maven-parent-1.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-parent/4/maven-parent-4.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-parent/4/maven-parent-4.pom.package.json index 0f8190d03c9..15f1f5edc83 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-parent/4/maven-parent-4.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-parent/4/maven-parent-4.pom.package.json @@ -129,6 +129,7 @@ "source_packages": [ "pkg:maven/org.apache.maven/maven-parent@4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-parent@4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-parent/4/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-parent/4/maven-parent-4.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-parent/5/maven-parent-5.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-parent/5/maven-parent-5.pom.package.json index e389a5c31d6..1c3460e15de 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-parent/5/maven-parent-5.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-parent/5/maven-parent-5.pom.package.json @@ -171,6 +171,7 @@ "source_packages": [ "pkg:maven/org.apache.maven/maven-parent@5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-parent@5", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-parent/5/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-parent/5/maven-parent-5.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-parent/6/maven-parent-6.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-parent/6/maven-parent-6.pom.package.json index f5d7bf1f5d0..1e604acfe32 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-parent/6/maven-parent-6.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-parent/6/maven-parent-6.pom.package.json @@ -325,6 +325,7 @@ "source_packages": [ "pkg:maven/org.apache.maven/maven-parent@6?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-parent@6", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-parent/6/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-parent/6/maven-parent-6.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-parent/7/maven-parent-7.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-parent/7/maven-parent-7.pom.package.json index 1d3ab3dc4c9..ad59e8f01a1 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-parent/7/maven-parent-7.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-parent/7/maven-parent-7.pom.package.json @@ -339,6 +339,7 @@ "source_packages": [ "pkg:maven/org.apache.maven/maven-parent@7?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-parent@7", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-parent/7/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-parent/7/maven-parent-7.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-parent/8/maven-parent-8.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-parent/8/maven-parent-8.pom.package.json index 3b9bed00c41..08236b91526 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-parent/8/maven-parent-8.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-parent/8/maven-parent-8.pom.package.json @@ -353,6 +353,7 @@ "source_packages": [ "pkg:maven/org.apache.maven/maven-parent@8?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-parent@8", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-parent/8/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-parent/8/maven-parent-8.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom.package.json index e72e70f1f5b..7b38340417c 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-plugin-api@2.0.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-api/2.0.2/maven-plugin-api-2.0.2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-api/2.0.2/maven-plugin-api-2.0.2.pom.package.json index 0ff644b4bb3..1ba731f3c4d 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-api/2.0.2/maven-plugin-api-2.0.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-api/2.0.2/maven-plugin-api-2.0.2.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-plugin-api@2.0.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0.2/maven-plugin-api-2.0.2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-api/2.0.4/maven-plugin-api-2.0.4.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-api/2.0.4/maven-plugin-api-2.0.4.pom.package.json index a09351c09f9..9358d76ed55 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-api/2.0.4/maven-plugin-api-2.0.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-api/2.0.4/maven-plugin-api-2.0.4.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-plugin-api@2.0.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0.4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0.4/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0.4/maven-plugin-api-2.0.4.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-api/2.0.6/maven-plugin-api-2.0.6.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-api/2.0.6/maven-plugin-api-2.0.6.pom.package.json index bccec240c0c..0f68685f8a3 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-api/2.0.6/maven-plugin-api-2.0.6.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-api/2.0.6/maven-plugin-api-2.0.6.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-plugin-api@2.0.6?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0.6", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0.6/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0.6/maven-plugin-api-2.0.6.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-api/2.0.7/maven-plugin-api-2.0.7.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-api/2.0.7/maven-plugin-api-2.0.7.pom.package.json index 33cc1852fd4..2e99b94bfba 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-api/2.0.7/maven-plugin-api-2.0.7.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-api/2.0.7/maven-plugin-api-2.0.7.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-plugin-api@2.0.7?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0.7", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0.7/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0.7/maven-plugin-api-2.0.7.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-api/2.0.8/maven-plugin-api-2.0.8.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-api/2.0.8/maven-plugin-api-2.0.8.pom.package.json index a7d8a44b963..ec5a4536ba5 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-api/2.0.8/maven-plugin-api-2.0.8.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-api/2.0.8/maven-plugin-api-2.0.8.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-plugin-api@2.0.8?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0.8", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0.8/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0.8/maven-plugin-api-2.0.8.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.pom.package.json index 0236793d25c..e2238ec4ddc 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-plugin-api@2.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-descriptor/2.0.8/maven-plugin-descriptor-2.0.8.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-descriptor/2.0.8/maven-plugin-descriptor-2.0.8.pom.package.json index d1989952aac..10ad9b58f3b 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-descriptor/2.0.8/maven-plugin-descriptor-2.0.8.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-descriptor/2.0.8/maven-plugin-descriptor-2.0.8.pom.package.json @@ -30,31 +30,32 @@ "purl": "pkg:maven/org.apache.maven/maven-plugin-api", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-artifact", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-plugin-descriptor@2.0.8?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-plugin-descriptor@2.0.8", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-descriptor/2.0.8/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-descriptor/2.0.8/maven-plugin-descriptor-2.0.8.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-descriptor/2.0/maven-plugin-descriptor-2.0.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-descriptor/2.0/maven-plugin-descriptor-2.0.pom.package.json index 1803c5fd7dc..47d7eeb9dee 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-descriptor/2.0/maven-plugin-descriptor-2.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-descriptor/2.0/maven-plugin-descriptor-2.0.pom.package.json @@ -27,34 +27,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-plugin-descriptor@2.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-plugin-descriptor@2.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-descriptor/2.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-descriptor/2.0/maven-plugin-descriptor-2.0.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-parameter-documenter/2.0.8/maven-plugin-parameter-documenter-2.0.8.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-parameter-documenter/2.0.8/maven-plugin-parameter-documenter-2.0.8.pom.package.json index 4d405f352df..c4811d5b712 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-parameter-documenter/2.0.8/maven-plugin-parameter-documenter-2.0.8.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-parameter-documenter/2.0.8/maven-plugin-parameter-documenter-2.0.8.pom.package.json @@ -30,23 +30,24 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-plugin-parameter-documenter@2.0.8?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-plugin-parameter-documenter@2.0.8", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-parameter-documenter/2.0.8/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-parameter-documenter/2.0.8/maven-plugin-parameter-documenter-2.0.8.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-parameter-documenter/2.0/maven-plugin-parameter-documenter-2.0.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-parameter-documenter/2.0/maven-plugin-parameter-documenter-2.0.pom.package.json index 155de429e80..024de06ea0c 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-parameter-documenter/2.0/maven-plugin-parameter-documenter-2.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-parameter-documenter/2.0/maven-plugin-parameter-documenter-2.0.pom.package.json @@ -30,23 +30,24 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-plugin-parameter-documenter@2.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-plugin-parameter-documenter@2.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-parameter-documenter/2.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-parameter-documenter/2.0/maven-plugin-parameter-documenter-2.0.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-registry/2.0.6/maven-plugin-registry-2.0.6.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-registry/2.0.6/maven-plugin-registry-2.0.6.pom.package.json index c6b2a375d5b..0a443710e94 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-registry/2.0.6/maven-plugin-registry-2.0.6.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-registry/2.0.6/maven-plugin-registry-2.0.6.pom.package.json @@ -30,23 +30,24 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-plugin-registry@2.0.6?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-plugin-registry@2.0.6", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-registry/2.0.6/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-registry/2.0.6/maven-plugin-registry-2.0.6.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-registry/2.0.7/maven-plugin-registry-2.0.7.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-registry/2.0.7/maven-plugin-registry-2.0.7.pom.package.json index 951ecbe9efc..ad8b73f0c22 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-registry/2.0.7/maven-plugin-registry-2.0.7.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-registry/2.0.7/maven-plugin-registry-2.0.7.pom.package.json @@ -30,23 +30,24 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-plugin-registry@2.0.7?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-plugin-registry@2.0.7", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-registry/2.0.7/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-registry/2.0.7/maven-plugin-registry-2.0.7.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-registry/2.0.8/maven-plugin-registry-2.0.8.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-registry/2.0.8/maven-plugin-registry-2.0.8.pom.package.json index 0ea516e7f32..861f854fc7c 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-registry/2.0.8/maven-plugin-registry-2.0.8.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-registry/2.0.8/maven-plugin-registry-2.0.8.pom.package.json @@ -30,23 +30,24 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-plugin-registry@2.0.8?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-plugin-registry@2.0.8", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-registry/2.0.8/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-registry/2.0.8/maven-plugin-registry-2.0.8.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-registry/2.0/maven-plugin-registry-2.0.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-registry/2.0/maven-plugin-registry-2.0.pom.package.json index 6bd2447bd86..f8e6a60668f 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-registry/2.0/maven-plugin-registry-2.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-plugin-registry/2.0/maven-plugin-registry-2.0.pom.package.json @@ -30,23 +30,24 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-plugin-registry@2.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-plugin-registry@2.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-registry/2.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-plugin-registry/2.0/maven-plugin-registry-2.0.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom.package.json index 4e7e0ae12f6..3300c73f8ed 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.pom.package.json @@ -27,34 +27,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-model", + "purl": "pkg:maven/org.apache.maven/maven-model@2.0.1", "requirement": "2.0.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-profile@2.0.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-profile@2.0.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-profile/2.0.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-profile/2.0.1/maven-profile-2.0.1.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-profile/2.0.2/maven-profile-2.0.2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-profile/2.0.2/maven-profile-2.0.2.pom.package.json index f9e094a8031..8ad25ead8e3 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-profile/2.0.2/maven-profile-2.0.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-profile/2.0.2/maven-profile-2.0.2.pom.package.json @@ -27,34 +27,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-model", + "purl": "pkg:maven/org.apache.maven/maven-model@2.0.2", "requirement": "2.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-profile@2.0.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-profile@2.0.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-profile/2.0.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-profile/2.0.2/maven-profile-2.0.2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-profile/2.0.4/maven-profile-2.0.4.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-profile/2.0.4/maven-profile-2.0.4.pom.package.json index 7726713df34..78a0361692f 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-profile/2.0.4/maven-profile-2.0.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-profile/2.0.4/maven-profile-2.0.4.pom.package.json @@ -27,34 +27,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-model", + "purl": "pkg:maven/org.apache.maven/maven-model@2.0.4", "requirement": "2.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-profile@2.0.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-profile@2.0.4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-profile/2.0.4/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-profile/2.0.4/maven-profile-2.0.4.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-profile/2.0.6/maven-profile-2.0.6.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-profile/2.0.6/maven-profile-2.0.6.pom.package.json index c60194f4200..63fabfd181f 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-profile/2.0.6/maven-profile-2.0.6.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-profile/2.0.6/maven-profile-2.0.6.pom.package.json @@ -30,31 +30,32 @@ "purl": "pkg:maven/org.apache.maven/maven-model", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-profile@2.0.6?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-profile@2.0.6", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-profile/2.0.6/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-profile/2.0.6/maven-profile-2.0.6.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-profile/2.0.7/maven-profile-2.0.7.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-profile/2.0.7/maven-profile-2.0.7.pom.package.json index 8ee510361ef..3ddd4689c6f 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-profile/2.0.7/maven-profile-2.0.7.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-profile/2.0.7/maven-profile-2.0.7.pom.package.json @@ -30,31 +30,32 @@ "purl": "pkg:maven/org.apache.maven/maven-model", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-profile@2.0.7?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-profile@2.0.7", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-profile/2.0.7/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-profile/2.0.7/maven-profile-2.0.7.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-profile/2.0.8/maven-profile-2.0.8.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-profile/2.0.8/maven-profile-2.0.8.pom.package.json index 0fac41b14c8..19ad3d87dca 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-profile/2.0.8/maven-profile-2.0.8.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-profile/2.0.8/maven-profile-2.0.8.pom.package.json @@ -30,31 +30,32 @@ "purl": "pkg:maven/org.apache.maven/maven-model", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-profile@2.0.8?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-profile@2.0.8", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-profile/2.0.8/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-profile/2.0.8/maven-profile-2.0.8.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-profile/2.0/maven-profile-2.0.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-profile/2.0/maven-profile-2.0.pom.package.json index 31be2c98bb2..3fd3a13e8a1 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-profile/2.0/maven-profile-2.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-profile/2.0/maven-profile-2.0.pom.package.json @@ -27,34 +27,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-model", + "purl": "pkg:maven/org.apache.maven/maven-model@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-profile@2.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-profile@2.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-profile/2.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-profile/2.0/maven-profile-2.0.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom.package.json index 789f99ed8f7..ebe6940c6f8 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.pom.package.json @@ -27,66 +27,67 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-artifact-test", + "purl": "pkg:maven/org.apache.maven/maven-artifact-test@2.0.1", "requirement": "2.0.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-profile", + "purl": "pkg:maven/org.apache.maven/maven-profile@2.0.1", "requirement": "2.0.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-model", + "purl": "pkg:maven/org.apache.maven/maven-model@2.0.1", "requirement": "2.0.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact-manager", + "purl": "pkg:maven/org.apache.maven/maven-artifact-manager@2.0.1", "requirement": "2.0.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.1", "requirement": "2.0.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-project@2.0.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-project@2.0.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0.1/maven-project-2.0.1.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0.2/maven-project-2.0.2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0.2/maven-project-2.0.2.pom.package.json index 9004d1fad4d..f62f8ecc2a9 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0.2/maven-project-2.0.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0.2/maven-project-2.0.2.pom.package.json @@ -27,66 +27,67 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-artifact-test", + "purl": "pkg:maven/org.apache.maven/maven-artifact-test@2.0.2", "requirement": "2.0.2", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-profile", + "purl": "pkg:maven/org.apache.maven/maven-profile@2.0.2", "requirement": "2.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-model", + "purl": "pkg:maven/org.apache.maven/maven-model@2.0.2", "requirement": "2.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact-manager", + "purl": "pkg:maven/org.apache.maven/maven-artifact-manager@2.0.2", "requirement": "2.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.2", "requirement": "2.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-project@2.0.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-project@2.0.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0.2/maven-project-2.0.2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0.4/maven-project-2.0.4.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0.4/maven-project-2.0.4.pom.package.json index d2cc959ac3c..c74e4eabd52 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0.4/maven-project-2.0.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0.4/maven-project-2.0.4.pom.package.json @@ -27,74 +27,75 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-settings", + "purl": "pkg:maven/org.apache.maven/maven-settings@2.0.4", "requirement": "2.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-profile", + "purl": "pkg:maven/org.apache.maven/maven-profile@2.0.4", "requirement": "2.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-model", + "purl": "pkg:maven/org.apache.maven/maven-model@2.0.4", "requirement": "2.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact-manager", + "purl": "pkg:maven/org.apache.maven/maven-artifact-manager@2.0.4", "requirement": "2.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.4", "requirement": "2.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact-test", + "purl": "pkg:maven/org.apache.maven/maven-artifact-test@2.0.4", "requirement": "2.0.4", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-project@2.0.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-project@2.0.4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0.4/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0.4/maven-project-2.0.4.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0.5/maven-project-2.0.5.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0.5/maven-project-2.0.5.pom.package.json index f9bfd928e72..0107fa3ec35 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0.5/maven-project-2.0.5.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0.5/maven-project-2.0.5.pom.package.json @@ -27,74 +27,75 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-settings", + "purl": "pkg:maven/org.apache.maven/maven-settings@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-profile", + "purl": "pkg:maven/org.apache.maven/maven-profile@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-model", + "purl": "pkg:maven/org.apache.maven/maven-model@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact-manager", + "purl": "pkg:maven/org.apache.maven/maven-artifact-manager@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact-test", + "purl": "pkg:maven/org.apache.maven/maven-artifact-test@2.0.5", "requirement": "2.0.5", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-project@2.0.5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-project@2.0.5", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0.5/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0.5/maven-project-2.0.5.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0.6/maven-project-2.0.6.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0.6/maven-project-2.0.6.pom.package.json index a04dd723762..f19c5b267ff 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0.6/maven-project-2.0.6.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0.6/maven-project-2.0.6.pom.package.json @@ -30,65 +30,65 @@ "purl": "pkg:maven/org.apache.maven/maven-settings", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-profile", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-model", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-artifact-manager", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-plugin-registry", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-artifact", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-artifact-test", @@ -96,13 +96,14 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-project@2.0.6?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-project@2.0.6", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0.6/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0.6/maven-project-2.0.6.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0.7/maven-project-2.0.7.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0.7/maven-project-2.0.7.pom.package.json index c7e322a0d20..ac83d999c44 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0.7/maven-project-2.0.7.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0.7/maven-project-2.0.7.pom.package.json @@ -30,65 +30,65 @@ "purl": "pkg:maven/org.apache.maven/maven-settings", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-profile", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-model", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-artifact-manager", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-plugin-registry", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-artifact", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-artifact-test", @@ -96,13 +96,14 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-project@2.0.7?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-project@2.0.7", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0.7/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0.7/maven-project-2.0.7.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0.8/maven-project-2.0.8.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0.8/maven-project-2.0.8.pom.package.json index 24cc10e5119..88980d46ab4 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0.8/maven-project-2.0.8.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0.8/maven-project-2.0.8.pom.package.json @@ -30,65 +30,65 @@ "purl": "pkg:maven/org.apache.maven/maven-settings", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-profile", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-model", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-artifact-manager", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-plugin-registry", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-artifact", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-artifact-test", @@ -96,13 +96,14 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-project@2.0.8?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-project@2.0.8", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0.8/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0.8/maven-project-2.0.8.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0/maven-project-2.0.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0/maven-project-2.0.pom.package.json index 10c2fd0e28e..ceaca26300a 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0/maven-project-2.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-project/2.0/maven-project-2.0.pom.package.json @@ -27,66 +27,67 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-artifact-test", + "purl": "pkg:maven/org.apache.maven/maven-artifact-test@2.0", "requirement": "2.0", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-profile", + "purl": "pkg:maven/org.apache.maven/maven-profile@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-model", + "purl": "pkg:maven/org.apache.maven/maven-model@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact-manager", + "purl": "pkg:maven/org.apache.maven/maven-artifact-manager@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-project@2.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-project@2.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0/maven-project-2.0.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom.package.json index 947e341e2c5..454b60bb4c5 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.pom.package.json @@ -30,15 +30,16 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-repository-metadata@2.0.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-repository-metadata@2.0.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-repository-metadata/2.0.1/maven-repository-metadata-2.0.1.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-repository-metadata/2.0.2/maven-repository-metadata-2.0.2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-repository-metadata/2.0.2/maven-repository-metadata-2.0.2.pom.package.json index 93265d8de12..562e4c8fb89 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-repository-metadata/2.0.2/maven-repository-metadata-2.0.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-repository-metadata/2.0.2/maven-repository-metadata-2.0.2.pom.package.json @@ -30,15 +30,16 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-repository-metadata@2.0.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-repository-metadata@2.0.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-repository-metadata/2.0.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-repository-metadata/2.0.2/maven-repository-metadata-2.0.2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-repository-metadata/2.0.4/maven-repository-metadata-2.0.4.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-repository-metadata/2.0.4/maven-repository-metadata-2.0.4.pom.package.json index 50a4c977e24..6877b65c2c2 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-repository-metadata/2.0.4/maven-repository-metadata-2.0.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-repository-metadata/2.0.4/maven-repository-metadata-2.0.4.pom.package.json @@ -30,15 +30,16 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-repository-metadata@2.0.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-repository-metadata@2.0.4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-repository-metadata/2.0.4/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-repository-metadata/2.0.4/maven-repository-metadata-2.0.4.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-repository-metadata/2.0.6/maven-repository-metadata-2.0.6.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-repository-metadata/2.0.6/maven-repository-metadata-2.0.6.pom.package.json index ea80caca686..871616eca24 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-repository-metadata/2.0.6/maven-repository-metadata-2.0.6.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-repository-metadata/2.0.6/maven-repository-metadata-2.0.6.pom.package.json @@ -30,15 +30,16 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-repository-metadata@2.0.6?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-repository-metadata@2.0.6", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-repository-metadata/2.0.6/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-repository-metadata/2.0.6/maven-repository-metadata-2.0.6.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-repository-metadata/2.0.7/maven-repository-metadata-2.0.7.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-repository-metadata/2.0.7/maven-repository-metadata-2.0.7.pom.package.json index eb88aceeaff..c93c66b35bc 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-repository-metadata/2.0.7/maven-repository-metadata-2.0.7.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-repository-metadata/2.0.7/maven-repository-metadata-2.0.7.pom.package.json @@ -30,15 +30,16 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-repository-metadata@2.0.7?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-repository-metadata@2.0.7", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-repository-metadata/2.0.7/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-repository-metadata/2.0.7/maven-repository-metadata-2.0.7.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-repository-metadata/2.0.8/maven-repository-metadata-2.0.8.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-repository-metadata/2.0.8/maven-repository-metadata-2.0.8.pom.package.json index 202163199c5..87fdf74d319 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-repository-metadata/2.0.8/maven-repository-metadata-2.0.8.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-repository-metadata/2.0.8/maven-repository-metadata-2.0.8.pom.package.json @@ -30,15 +30,16 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-repository-metadata@2.0.8?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-repository-metadata@2.0.8", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-repository-metadata/2.0.8/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-repository-metadata/2.0.8/maven-repository-metadata-2.0.8.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-repository-metadata/2.0/maven-repository-metadata-2.0.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-repository-metadata/2.0/maven-repository-metadata-2.0.pom.package.json index e0a186ce833..6c585de2840 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-repository-metadata/2.0/maven-repository-metadata-2.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-repository-metadata/2.0/maven-repository-metadata-2.0.pom.package.json @@ -30,15 +30,16 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-repository-metadata@2.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-repository-metadata@2.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-repository-metadata/2.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-repository-metadata/2.0/maven-repository-metadata-2.0.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-settings/2.0.2/maven-settings-2.0.2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-settings/2.0.2/maven-settings-2.0.2.pom.package.json index dc1f83364c6..aa8a4faf9f8 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-settings/2.0.2/maven-settings-2.0.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-settings/2.0.2/maven-settings-2.0.2.pom.package.json @@ -27,34 +27,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-model", + "purl": "pkg:maven/org.apache.maven/maven-model@2.0.2", "requirement": "2.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-settings@2.0.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-settings@2.0.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-settings/2.0.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-settings/2.0.2/maven-settings-2.0.2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-settings/2.0.4/maven-settings-2.0.4.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-settings/2.0.4/maven-settings-2.0.4.pom.package.json index cdb4301221f..a8957f6e009 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-settings/2.0.4/maven-settings-2.0.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-settings/2.0.4/maven-settings-2.0.4.pom.package.json @@ -27,34 +27,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-model", + "purl": "pkg:maven/org.apache.maven/maven-model@2.0.4", "requirement": "2.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-settings@2.0.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-settings@2.0.4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-settings/2.0.4/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-settings/2.0.4/maven-settings-2.0.4.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-settings/2.0.6/maven-settings-2.0.6.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-settings/2.0.6/maven-settings-2.0.6.pom.package.json index 1651b568b29..1a6b5a80778 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-settings/2.0.6/maven-settings-2.0.6.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-settings/2.0.6/maven-settings-2.0.6.pom.package.json @@ -30,31 +30,32 @@ "purl": "pkg:maven/org.apache.maven/maven-model", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-settings@2.0.6?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-settings@2.0.6", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-settings/2.0.6/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-settings/2.0.6/maven-settings-2.0.6.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-settings/2.0.7/maven-settings-2.0.7.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-settings/2.0.7/maven-settings-2.0.7.pom.package.json index ae6def01b26..d355ebec36e 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-settings/2.0.7/maven-settings-2.0.7.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-settings/2.0.7/maven-settings-2.0.7.pom.package.json @@ -30,31 +30,32 @@ "purl": "pkg:maven/org.apache.maven/maven-model", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-settings@2.0.7?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-settings@2.0.7", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-settings/2.0.7/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-settings/2.0.7/maven-settings-2.0.7.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-settings/2.0.8/maven-settings-2.0.8.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-settings/2.0.8/maven-settings-2.0.8.pom.package.json index b1fcad32263..13446a5ee51 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-settings/2.0.8/maven-settings-2.0.8.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-settings/2.0.8/maven-settings-2.0.8.pom.package.json @@ -30,31 +30,32 @@ "purl": "pkg:maven/org.apache.maven/maven-model", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-settings@2.0.8?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-settings@2.0.8", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-settings/2.0.8/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-settings/2.0.8/maven-settings-2.0.8.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven-settings/2.0/maven-settings-2.0.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven-settings/2.0/maven-settings-2.0.pom.package.json index d233e4bc55a..fd7a93d4403 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven-settings/2.0/maven-settings-2.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven-settings/2.0/maven-settings-2.0.pom.package.json @@ -27,34 +27,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-model", + "purl": "pkg:maven/org.apache.maven/maven-model@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven-settings@2.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven-settings@2.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-settings/2.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven-settings/2.0/maven-settings-2.0.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.1/maven-2.0.1.pom.json b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.1/maven-2.0.1.pom.json index b6f39fcd28a..f1807bad2aa 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.1/maven-2.0.1.pom.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.1/maven-2.0.1.pom.json @@ -210,6 +210,44 @@ "version": "3.8.1", "required": true } + ], + "dependencyManagement": [ + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-container-default", + "version": "1.0-alpha-9", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-utils", + "version": "1.0.5", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-provider-api", + "version": "1.0-alpha-5", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-ssh", + "version": "1.0-alpha-5", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-file", + "version": "1.0-alpha-5", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-http-lightweight", + "version": "1.0-alpha-5", + "required": true + } ] } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.1/maven-2.0.1.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.1/maven-2.0.1.pom.package.json index 7f220d25232..ea918c552b5 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.1/maven-2.0.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.1/maven-2.0.1.pom.package.json @@ -98,18 +98,67 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-9", + "requirement": "1.0-alpha-9", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.0.5", + "requirement": "1.0.5", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api@1.0-alpha-5", + "requirement": "1.0-alpha-5", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-ssh@1.0-alpha-5", + "requirement": "1.0-alpha-5", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-file@1.0-alpha-5", + "requirement": "1.0-alpha-5", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-http-lightweight@1.0-alpha-5", + "requirement": "1.0-alpha-5", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven@2.0.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven@2.0.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven/2.0.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven/2.0.1/maven-2.0.1.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.2/maven-2.0.2.pom.json b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.2/maven-2.0.2.pom.json index d5e34b68b9b..20d7ad1b78d 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.2/maven-2.0.2.pom.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.2/maven-2.0.2.pom.json @@ -210,6 +210,50 @@ "version": "3.8.1", "required": true } + ], + "dependencyManagement": [ + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-container-default", + "version": "1.0-alpha-9", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-utils", + "version": "1.1", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-provider-api", + "version": "1.0-alpha-6", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-ssh", + "version": "1.0-alpha-6", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-ssh-external", + "version": "1.0-alpha-6", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-file", + "version": "1.0-alpha-6", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-http-lightweight", + "version": "1.0-alpha-6", + "required": true + } ] } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.2/maven-2.0.2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.2/maven-2.0.2.pom.package.json index 6e7a1a63aed..3457a8c517e 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.2/maven-2.0.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.2/maven-2.0.2.pom.package.json @@ -98,18 +98,75 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-9", + "requirement": "1.0-alpha-9", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.1", + "requirement": "1.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api@1.0-alpha-6", + "requirement": "1.0-alpha-6", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-ssh@1.0-alpha-6", + "requirement": "1.0-alpha-6", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-ssh-external@1.0-alpha-6", + "requirement": "1.0-alpha-6", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-file@1.0-alpha-6", + "requirement": "1.0-alpha-6", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-http-lightweight@1.0-alpha-6", + "requirement": "1.0-alpha-6", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven@2.0.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven@2.0.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven/2.0.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven/2.0.2/maven-2.0.2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.4/maven-2.0.4.pom.json b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.4/maven-2.0.4.pom.json index b28e862e1a9..4f94f216a96 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.4/maven-2.0.4.pom.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.4/maven-2.0.4.pom.json @@ -215,6 +215,50 @@ "version": "3.8.1", "required": true } + ], + "dependencyManagement": [ + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-container-default", + "version": "1.0-alpha-9", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-utils", + "version": "1.1", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-provider-api", + "version": "1.0-alpha-6", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-ssh", + "version": "1.0-alpha-7", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-ssh-external", + "version": "1.0-alpha-6", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-file", + "version": "1.0-alpha-7", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-http-lightweight", + "version": "1.0-alpha-6", + "required": true + } ] } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.4/maven-2.0.4.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.4/maven-2.0.4.pom.package.json index 3a095be4d48..f7852373235 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.4/maven-2.0.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.4/maven-2.0.4.pom.package.json @@ -98,18 +98,75 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-9", + "requirement": "1.0-alpha-9", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.1", + "requirement": "1.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api@1.0-alpha-6", + "requirement": "1.0-alpha-6", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-ssh@1.0-alpha-7", + "requirement": "1.0-alpha-7", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-ssh-external@1.0-alpha-6", + "requirement": "1.0-alpha-6", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-file@1.0-alpha-7", + "requirement": "1.0-alpha-7", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-http-lightweight@1.0-alpha-6", + "requirement": "1.0-alpha-6", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven@2.0.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven@2.0.4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven/2.0.4/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven/2.0.4/maven-2.0.4.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.5/maven-2.0.5.pom.json b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.5/maven-2.0.5.pom.json index 6424bd64621..0f7ca74b900 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.5/maven-2.0.5.pom.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.5/maven-2.0.5.pom.json @@ -78,6 +78,62 @@ "version": "3.8.1", "required": true } + ], + "dependencyManagement": [ + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-container-default", + "version": "1.0-alpha-9", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-utils", + "version": "1.1", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-provider-api", + "version": "1.0-beta-2", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-ssh", + "version": "1.0-beta-2", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-ssh-external", + "version": "1.0-beta-2", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-file", + "version": "1.0-beta-2", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-http-lightweight", + "version": "1.0-beta-2", + "required": true + }, + { + "group_id": "easymock", + "artifact_id": "easymock", + "version": "1.2_Java1.3", + "required": true + }, + { + "group_id": "classworlds", + "artifact_id": "classworlds", + "version": "1.1", + "required": true + } ] } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.5/maven-2.0.5.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.5/maven-2.0.5.pom.package.json index f521712784d..d9fb471b8ae 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.5/maven-2.0.5.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.5/maven-2.0.5.pom.package.json @@ -27,18 +27,91 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-9", + "requirement": "1.0-alpha-9", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.1", + "requirement": "1.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api@1.0-beta-2", + "requirement": "1.0-beta-2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-ssh@1.0-beta-2", + "requirement": "1.0-beta-2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-ssh-external@1.0-beta-2", + "requirement": "1.0-beta-2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-file@1.0-beta-2", + "requirement": "1.0-beta-2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-http-lightweight@1.0-beta-2", + "requirement": "1.0-beta-2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/easymock/easymock@1.2_Java1.3", + "requirement": "1.2_Java1.3", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/classworlds/classworlds@1.1", + "requirement": "1.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven@2.0.5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven@2.0.5", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven/2.0.5/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven/2.0.5/maven-2.0.5.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.6/maven-2.0.6.pom.json b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.6/maven-2.0.6.pom.json index 4b227b62a83..518e9f6dc37 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.6/maven-2.0.6.pom.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.6/maven-2.0.6.pom.json @@ -77,6 +77,140 @@ "version": "3.8.1", "required": true } + ], + "dependencyManagement": [ + { + "group_id": "org.apache.maven", + "artifact_id": "maven-model", + "version": "2.0.6", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-project", + "version": "2.0.6", + "required": true + }, + { + "group_id": "org.apache.maven.reporting", + "artifact_id": "maven-reporting-api", + "version": "2.0.6", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-repository-metadata", + "version": "2.0.6", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-artifact", + "version": "2.0.6", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-artifact-manager", + "version": "2.0.6", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-artifact-test", + "version": "2.0.6", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-settings", + "version": "2.0.6", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-plugin-parameter-documenter", + "version": "2.0.6", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-profile", + "version": "2.0.6", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-plugin-registry", + "version": "2.0.6", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-plugin-api", + "version": "2.0.6", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-monitor", + "version": "2.0.6", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-container-default", + "version": "1.0-alpha-9-stable-1", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-utils", + "version": "1.4.1", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-provider-api", + "version": "1.0-beta-2", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-ssh", + "version": "1.0-beta-2", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-ssh-external", + "version": "1.0-beta-2", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-file", + "version": "1.0-beta-2", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-http-lightweight", + "version": "1.0-beta-2", + "required": true + }, + { + "group_id": "easymock", + "artifact_id": "easymock", + "version": "1.2_Java1.3", + "required": true + }, + { + "group_id": "classworlds", + "artifact_id": "classworlds", + "version": "1.1", + "required": true + } ] } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.6/maven-2.0.6.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.6/maven-2.0.6.pom.package.json index 8534e6710cb..e4cf33015df 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.6/maven-2.0.6.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.6/maven-2.0.6.pom.package.json @@ -27,18 +27,195 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-model@2.0.6", + "requirement": "2.0.6", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-project@2.0.6", + "requirement": "2.0.6", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api@2.0.6", + "requirement": "2.0.6", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-repository-metadata@2.0.6", + "requirement": "2.0.6", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.6", + "requirement": "2.0.6", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-artifact-manager@2.0.6", + "requirement": "2.0.6", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-artifact-test@2.0.6", + "requirement": "2.0.6", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-settings@2.0.6", + "requirement": "2.0.6", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-plugin-parameter-documenter@2.0.6", + "requirement": "2.0.6", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-profile@2.0.6", + "requirement": "2.0.6", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-plugin-registry@2.0.6", + "requirement": "2.0.6", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0.6", + "requirement": "2.0.6", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-monitor@2.0.6", + "requirement": "2.0.6", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-9-stable-1", + "requirement": "1.0-alpha-9-stable-1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.1", + "requirement": "1.4.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api@1.0-beta-2", + "requirement": "1.0-beta-2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-ssh@1.0-beta-2", + "requirement": "1.0-beta-2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-ssh-external@1.0-beta-2", + "requirement": "1.0-beta-2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-file@1.0-beta-2", + "requirement": "1.0-beta-2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-http-lightweight@1.0-beta-2", + "requirement": "1.0-beta-2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/easymock/easymock@1.2_Java1.3", + "requirement": "1.2_Java1.3", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/classworlds/classworlds@1.1", + "requirement": "1.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven@2.0.6?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven@2.0.6", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven/2.0.6/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven/2.0.6/maven-2.0.6.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.7/maven-2.0.7.pom.json b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.7/maven-2.0.7.pom.json index 003ae941223..a68d19a4cb2 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.7/maven-2.0.7.pom.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.7/maven-2.0.7.pom.json @@ -77,6 +77,152 @@ "version": "3.8.1", "required": true } + ], + "dependencyManagement": [ + { + "group_id": "org.apache.maven", + "artifact_id": "maven-plugin-descriptor", + "version": "2.0.7", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-error-diagnostics", + "version": "2.0.7", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-model", + "version": "2.0.7", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-project", + "version": "2.0.7", + "required": true + }, + { + "group_id": "org.apache.maven.reporting", + "artifact_id": "maven-reporting-api", + "version": "2.0.7", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-repository-metadata", + "version": "2.0.7", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-artifact", + "version": "2.0.7", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-artifact-manager", + "version": "2.0.7", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-artifact-test", + "version": "2.0.7", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-settings", + "version": "2.0.7", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-plugin-parameter-documenter", + "version": "2.0.7", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-profile", + "version": "2.0.7", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-plugin-registry", + "version": "2.0.7", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-plugin-api", + "version": "2.0.7", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-monitor", + "version": "2.0.7", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-container-default", + "version": "1.0-alpha-9-stable-1", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-utils", + "version": "1.4.1", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-provider-api", + "version": "1.0-beta-2", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-ssh", + "version": "1.0-beta-2", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-ssh-external", + "version": "1.0-beta-2", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-file", + "version": "1.0-beta-2", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-http-lightweight", + "version": "1.0-beta-2", + "required": true + }, + { + "group_id": "easymock", + "artifact_id": "easymock", + "version": "1.2_Java1.3", + "required": true + }, + { + "group_id": "classworlds", + "artifact_id": "classworlds", + "version": "1.1", + "required": true + } ] } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.7/maven-2.0.7.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.7/maven-2.0.7.pom.package.json index 95ca7c6d572..e70e27c6357 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.7/maven-2.0.7.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.7/maven-2.0.7.pom.package.json @@ -27,18 +27,211 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-plugin-descriptor@2.0.7", + "requirement": "2.0.7", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-error-diagnostics@2.0.7", + "requirement": "2.0.7", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-model@2.0.7", + "requirement": "2.0.7", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-project@2.0.7", + "requirement": "2.0.7", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api@2.0.7", + "requirement": "2.0.7", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-repository-metadata@2.0.7", + "requirement": "2.0.7", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.7", + "requirement": "2.0.7", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-artifact-manager@2.0.7", + "requirement": "2.0.7", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-artifact-test@2.0.7", + "requirement": "2.0.7", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-settings@2.0.7", + "requirement": "2.0.7", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-plugin-parameter-documenter@2.0.7", + "requirement": "2.0.7", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-profile@2.0.7", + "requirement": "2.0.7", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-plugin-registry@2.0.7", + "requirement": "2.0.7", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0.7", + "requirement": "2.0.7", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-monitor@2.0.7", + "requirement": "2.0.7", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-9-stable-1", + "requirement": "1.0-alpha-9-stable-1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.1", + "requirement": "1.4.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api@1.0-beta-2", + "requirement": "1.0-beta-2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-ssh@1.0-beta-2", + "requirement": "1.0-beta-2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-ssh-external@1.0-beta-2", + "requirement": "1.0-beta-2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-file@1.0-beta-2", + "requirement": "1.0-beta-2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-http-lightweight@1.0-beta-2", + "requirement": "1.0-beta-2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/easymock/easymock@1.2_Java1.3", + "requirement": "1.2_Java1.3", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/classworlds/classworlds@1.1", + "requirement": "1.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven@2.0.7?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven@2.0.7", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven/2.0.7/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven/2.0.7/maven-2.0.7.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.8/maven-2.0.8.pom.json b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.8/maven-2.0.8.pom.json index 520753a8624..4fc2f12c4e3 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.8/maven-2.0.8.pom.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.8/maven-2.0.8.pom.json @@ -77,6 +77,152 @@ "version": "3.8.1", "required": true } + ], + "dependencyManagement": [ + { + "group_id": "org.apache.maven", + "artifact_id": "maven-plugin-descriptor", + "version": "2.0.8", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-error-diagnostics", + "version": "2.0.8", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-model", + "version": "2.0.8", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-project", + "version": "2.0.8", + "required": true + }, + { + "group_id": "org.apache.maven.reporting", + "artifact_id": "maven-reporting-api", + "version": "2.0.8", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-repository-metadata", + "version": "2.0.8", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-artifact", + "version": "2.0.8", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-artifact-manager", + "version": "2.0.8", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-artifact-test", + "version": "2.0.8", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-settings", + "version": "2.0.8", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-plugin-parameter-documenter", + "version": "2.0.8", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-profile", + "version": "2.0.8", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-plugin-registry", + "version": "2.0.8", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-plugin-api", + "version": "2.0.8", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-monitor", + "version": "2.0.8", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-container-default", + "version": "1.0-alpha-9-stable-1", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-utils", + "version": "1.4.6", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-provider-api", + "version": "1.0-beta-2", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-ssh", + "version": "1.0-beta-2", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-ssh-external", + "version": "1.0-beta-2", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-file", + "version": "1.0-beta-2", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-http-lightweight", + "version": "1.0-beta-2", + "required": true + }, + { + "group_id": "easymock", + "artifact_id": "easymock", + "version": "1.2_Java1.3", + "required": true + }, + { + "group_id": "classworlds", + "artifact_id": "classworlds", + "version": "1.1", + "required": true + } ] } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.8/maven-2.0.8.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.8/maven-2.0.8.pom.package.json index 267117cb1a7..bdb153acd87 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.8/maven-2.0.8.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0.8/maven-2.0.8.pom.package.json @@ -27,18 +27,211 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-plugin-descriptor@2.0.8", + "requirement": "2.0.8", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-error-diagnostics@2.0.8", + "requirement": "2.0.8", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-model@2.0.8", + "requirement": "2.0.8", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-project@2.0.8", + "requirement": "2.0.8", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api@2.0.8", + "requirement": "2.0.8", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-repository-metadata@2.0.8", + "requirement": "2.0.8", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.8", + "requirement": "2.0.8", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-artifact-manager@2.0.8", + "requirement": "2.0.8", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-artifact-test@2.0.8", + "requirement": "2.0.8", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-settings@2.0.8", + "requirement": "2.0.8", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-plugin-parameter-documenter@2.0.8", + "requirement": "2.0.8", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-profile@2.0.8", + "requirement": "2.0.8", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-plugin-registry@2.0.8", + "requirement": "2.0.8", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0.8", + "requirement": "2.0.8", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-monitor@2.0.8", + "requirement": "2.0.8", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-9-stable-1", + "requirement": "1.0-alpha-9-stable-1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.6", + "requirement": "1.4.6", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api@1.0-beta-2", + "requirement": "1.0-beta-2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-ssh@1.0-beta-2", + "requirement": "1.0-beta-2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-ssh-external@1.0-beta-2", + "requirement": "1.0-beta-2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-file@1.0-beta-2", + "requirement": "1.0-beta-2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-http-lightweight@1.0-beta-2", + "requirement": "1.0-beta-2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/easymock/easymock@1.2_Java1.3", + "requirement": "1.2_Java1.3", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/classworlds/classworlds@1.1", + "requirement": "1.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven@2.0.8?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven@2.0.8", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven/2.0.8/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven/2.0.8/maven-2.0.8.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0/maven-2.0.pom.json b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0/maven-2.0.pom.json index c9bd712a85f..e034d989b90 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0/maven-2.0.pom.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0/maven-2.0.pom.json @@ -205,6 +205,44 @@ "version": "3.8.1", "required": true } + ], + "dependencyManagement": [ + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-container-default", + "version": "1.0-alpha-8", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-utils", + "version": "1.0.4", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-provider-api", + "version": "1.0-alpha-5", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-ssh", + "version": "1.0-alpha-5", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-file", + "version": "1.0-alpha-5", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-http-lightweight", + "version": "1.0-alpha-5", + "required": true + } ] } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0/maven-2.0.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0/maven-2.0.pom.package.json index 0d3280e3c09..c349ca41197 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/maven/2.0/maven-2.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/maven/2.0/maven-2.0.pom.package.json @@ -98,18 +98,67 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-8", + "requirement": "1.0-alpha-8", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.0.4", + "requirement": "1.0.4", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api@1.0-alpha-5", + "requirement": "1.0-alpha-5", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-ssh@1.0-alpha-5", + "requirement": "1.0-alpha-5", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-file@1.0-alpha-5", + "requirement": "1.0-alpha-5", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-http-lightweight@1.0-alpha-5", + "requirement": "1.0-alpha-5", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven/maven@2.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven/maven@2.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/maven/2.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/maven/2.0/maven-2.0.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom.package.json index 02348cd3371..7925cb0ce05 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom.package.json @@ -38,31 +38,32 @@ "purl": "pkg:maven/org.apache.maven/maven-project", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { - "purl": "pkg:maven/ant/ant", + "purl": "pkg:maven/ant/ant@1.6.5", "requirement": "1.6.5", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/ant/ant-launcher", + "purl": "pkg:maven/ant/ant-launcher@1.6.5", "requirement": "1.6.5", "scope": "runtime", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.plugins/maven-antrun-plugin@1.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.plugins/maven-antrun-plugin@1.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-assembly-plugin/2.2-beta-2/maven-assembly-plugin-2.2-beta-2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-assembly-plugin/2.2-beta-2/maven-assembly-plugin-2.2-beta-2.pom.package.json index 0c423877f0f..9536d5fbe1c 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-assembly-plugin/2.2-beta-2/maven-assembly-plugin-2.2-beta-2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-assembly-plugin/2.2-beta-2/maven-assembly-plugin-2.2-beta-2.pom.package.json @@ -27,186 +27,187 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/aspectj/aspectjrt", + "purl": "pkg:maven/aspectj/aspectjrt@1.5.3", "requirement": "1.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-archiver", + "purl": "pkg:maven/org.codehaus.plexus/plexus-archiver@1.0-alpha-10", "requirement": "1.0-alpha-10", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/file-management", + "purl": "pkg:maven/org.apache.maven.shared/file-management@1.1", "requirement": "1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-shared-io", + "purl": "pkg:maven/org.apache.maven.shared/maven-shared-io@1.1", "requirement": "1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-active-collections", + "purl": "pkg:maven/org.codehaus.plexus/plexus-active-collections@1.0-beta-2", "requirement": "1.0-beta-2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-io", + "purl": "pkg:maven/org.codehaus.plexus/plexus-io@1.0-alpha-2", "requirement": "1.0-alpha-2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0.4", "requirement": "2.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-project", + "purl": "pkg:maven/org.apache.maven/maven-project@2.0.4", "requirement": "2.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-archiver", + "purl": "pkg:maven/org.apache.maven/maven-archiver@2.2", "requirement": "2.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-9-stable-1", "requirement": "1.0-alpha-9-stable-1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.5.1", "requirement": "1.5.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.4", "requirement": "2.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-model", + "purl": "pkg:maven/org.apache.maven/maven-model@2.0.4", "requirement": "2.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-repository-builder", + "purl": "pkg:maven/org.apache.maven.shared/maven-repository-builder@1.0-alpha-2", "requirement": "1.0-alpha-2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-common-artifact-filters", + "purl": "pkg:maven/org.apache.maven.shared/maven-common-artifact-filters@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-tools", + "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-tools@1.0-alpha-1", "requirement": "1.0-alpha-1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-test-tools", + "purl": "pkg:maven/org.apache.maven.shared/maven-test-tools@1.0-alpha-1", "requirement": "1.0-alpha-1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/easymock/easymock", + "purl": "pkg:maven/easymock/easymock@1.2_Java1.3", "requirement": "1.2_Java1.3", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jdom/jdom", + "purl": "pkg:maven/jdom/jdom@1.0", "requirement": "1.0", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jaxen/jaxen", + "purl": "pkg:maven/jaxen/jaxen@1.0-FCS", "requirement": "1.0-FCS", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/saxpath/saxpath", + "purl": "pkg:maven/saxpath/saxpath@1.0-FCS", "requirement": "1.0-FCS", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.plugins/maven-assembly-plugin@2.2-beta-2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.plugins/maven-assembly-plugin@2.2-beta-2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/2.2-beta-2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/2.2-beta-2/maven-assembly-plugin-2.2-beta-2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-checkstyle-plugin/2.1/maven-checkstyle-plugin-2.1.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-checkstyle-plugin/2.1/maven-checkstyle-plugin-2.1.pom.package.json index aacc3eac663..4d955479ba5 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-checkstyle-plugin/2.1/maven-checkstyle-plugin-2.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-checkstyle-plugin/2.1/maven-checkstyle-plugin-2.1.pom.package.json @@ -35,66 +35,67 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/checkstyle/checkstyle", + "purl": "pkg:maven/checkstyle/checkstyle@4.1", "requirement": "4.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-impl", + "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-impl@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-velocity", + "purl": "pkg:maven/org.codehaus.plexus/plexus-velocity@1.1.2", "requirement": "1.1.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.1", "requirement": "1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/checkstyle/checkstyle-optional", + "purl": "pkg:maven/checkstyle/checkstyle-optional@4.1", "requirement": "4.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness", + "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness@1.0-beta-1", "requirement": "1.0-beta-1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.plugins/maven-checkstyle-plugin@2.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.plugins/maven-checkstyle-plugin@2.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-checkstyle-plugin/2.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-checkstyle-plugin/2.1/maven-checkstyle-plugin-2.1.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-checkstyle-plugin/2.2/maven-checkstyle-plugin-2.2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-checkstyle-plugin/2.2/maven-checkstyle-plugin-2.2.pom.package.json index 64720ce89f4..17d38f65c18 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-checkstyle-plugin/2.2/maven-checkstyle-plugin-2.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-checkstyle-plugin/2.2/maven-checkstyle-plugin-2.2.pom.package.json @@ -35,122 +35,123 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-model", + "purl": "pkg:maven/org.apache.maven/maven-model@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-project", + "purl": "pkg:maven/org.apache.maven/maven-project@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api", + "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-impl", + "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-impl@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-doxia-tools", + "purl": "pkg:maven/org.apache.maven.shared/maven-doxia-tools@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-9", "requirement": "1.0-alpha-9", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-resources", + "purl": "pkg:maven/org.codehaus.plexus/plexus-resources@1.0-alpha-4", "requirement": "1.0-alpha-4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.4", "requirement": "1.4.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-velocity", + "purl": "pkg:maven/org.codehaus.plexus/plexus-velocity@1.1.2", "requirement": "1.1.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/checkstyle/checkstyle", + "purl": "pkg:maven/checkstyle/checkstyle@4.4", "requirement": "4.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/checkstyle/checkstyle-optional", + "purl": "pkg:maven/checkstyle/checkstyle-optional@4.4", "requirement": "4.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness", + "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness@1.0-beta-1", "requirement": "1.0-beta-1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.plugins/maven-checkstyle-plugin@2.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.plugins/maven-checkstyle-plugin@2.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-checkstyle-plugin/2.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-checkstyle-plugin/2.2/maven-checkstyle-plugin-2.2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom.package.json index eee008fa686..f3628e7b9e9 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom.package.json @@ -35,50 +35,51 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-project", + "purl": "pkg:maven/org.apache.maven/maven-project@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/file-management", + "purl": "pkg:maven/org.apache.maven.shared/file-management@1.2", "requirement": "1.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.1", "requirement": "1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness", + "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness@1.1", "requirement": "1.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.plugins/maven-clean-plugin@2.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.plugins/maven-clean-plugin@2.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-compiler-plugin/2.0.2/maven-compiler-plugin-2.0.2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-compiler-plugin/2.0.2/maven-compiler-plugin-2.0.2.pom.package.json index 930b9ff8ef9..6d5f4542ac1 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-compiler-plugin/2.0.2/maven-compiler-plugin-2.0.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-compiler-plugin/2.0.2/maven-compiler-plugin-2.0.2.pom.package.json @@ -27,66 +27,67 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-compiler-api", + "purl": "pkg:maven/org.codehaus.plexus/plexus-compiler-api@1.5.3", "requirement": "1.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-compiler-manager", + "purl": "pkg:maven/org.codehaus.plexus/plexus-compiler-manager@1.5.3", "requirement": "1.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-compiler-javac", + "purl": "pkg:maven/org.codehaus.plexus/plexus-compiler-javac@1.5.3", "requirement": "1.5.3", "scope": "runtime", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness", + "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness@1.0-beta-1", "requirement": "1.0-beta-1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.plugins/maven-compiler-plugin@2.0.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.plugins/maven-compiler-plugin@2.0.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.2/maven-compiler-plugin-2.0.2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-dependency-plugin/2.0/maven-dependency-plugin-2.0.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-dependency-plugin/2.0/maven-dependency-plugin-2.0.pom.package.json index c3f7e1a2b66..6a0358051b3 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-dependency-plugin/2.0/maven-dependency-plugin-2.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-dependency-plugin/2.0/maven-dependency-plugin-2.0.pom.package.json @@ -56,170 +56,171 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.8", "requirement": "2.0.8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0.8", "requirement": "2.0.8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-project", + "purl": "pkg:maven/org.apache.maven/maven-project@2.0.8", "requirement": "2.0.8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-model", + "purl": "pkg:maven/org.apache.maven/maven-model@2.0.8", "requirement": "2.0.8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-core", + "purl": "pkg:maven/org.apache.maven/maven-core@2.0.8", "requirement": "2.0.8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-archiver", + "purl": "pkg:maven/org.codehaus.plexus/plexus-archiver@1.0-alpha-9", "requirement": "1.0-alpha-9", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.6", "requirement": "1.4.6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/file-management", + "purl": "pkg:maven/org.apache.maven.shared/file-management@1.1", "requirement": "1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-9-stable-1", "requirement": "1.0-alpha-9-stable-1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-dependency-analyzer", + "purl": "pkg:maven/org.apache.maven.shared/maven-dependency-analyzer@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-dependency-tree", + "purl": "pkg:maven/org.apache.maven.shared/maven-dependency-tree@1.1", "requirement": "1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-common-artifact-filters", + "purl": "pkg:maven/org.apache.maven.shared/maven-common-artifact-filters@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-io", + "purl": "pkg:maven/org.codehaus.plexus/plexus-io@1.0-alpha-1", "requirement": "1.0-alpha-1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api", + "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api@2.0.6", "requirement": "2.0.6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-impl", + "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-impl@2.0.4", "requirement": "2.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.doxia/doxia-sink-api", + "purl": "pkg:maven/org.apache.maven.doxia/doxia-sink-api@1.0-alpha-8", "requirement": "1.0-alpha-8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.doxia/doxia-site-renderer", + "purl": "pkg:maven/org.apache.maven.doxia/doxia-site-renderer@1.0-alpha-8", "requirement": "1.0-alpha-8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-tools", + "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-tools@1.0-alpha-3", "requirement": "1.0-alpha-3", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness", + "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness@1.1", "requirement": "1.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.2", "requirement": "3.8.2", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.plugins/maven-dependency-plugin@2.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.plugins/maven-dependency-plugin@2.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/2.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/2.0/maven-dependency-plugin-2.0.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.pom.package.json index 17a54ef2e8d..4ce9c6f6945 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.pom.package.json @@ -27,58 +27,59 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0.6", "requirement": "2.0.6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-project", + "purl": "pkg:maven/org.apache.maven/maven-project@2.0.6", "requirement": "2.0.6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact-manager", + "purl": "pkg:maven/org.apache.maven/maven-artifact-manager@2.0.6", "requirement": "2.0.6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.6", "requirement": "2.0.6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-digest", + "purl": "pkg:maven/org.codehaus.plexus/plexus-digest@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness", + "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness@1.0-beta-1", "requirement": "1.0-beta-1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.plugins/maven-install-plugin@2.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.plugins/maven-install-plugin@2.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-jar-plugin/2.2/maven-jar-plugin-2.2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-jar-plugin/2.2/maven-jar-plugin-2.2.pom.package.json index 9afdcafd03e..31336cbaf62 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-jar-plugin/2.2/maven-jar-plugin-2.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-jar-plugin/2.2/maven-jar-plugin-2.2.pom.package.json @@ -35,74 +35,75 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0.6", "requirement": "2.0.6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-project", + "purl": "pkg:maven/org.apache.maven/maven-project@2.0.7", "requirement": "2.0.7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-archiver", + "purl": "pkg:maven/org.apache.maven/maven-archiver@2.3", "requirement": "2.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-archiver", + "purl": "pkg:maven/org.codehaus.plexus/plexus-archiver@1.0-alpha-9", "requirement": "1.0-alpha-9", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-io", + "purl": "pkg:maven/org.codehaus.plexus/plexus-io@1.0-alpha-1", "requirement": "1.0-alpha-1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-lang/commons-lang", + "purl": "pkg:maven/commons-lang/commons-lang@2.1", "requirement": "2.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.9", "requirement": "1.4.9", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness", + "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness@1.1", "requirement": "1.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.plugins/maven-jar-plugin@2.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.plugins/maven-jar-plugin@2.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.2/maven-jar-plugin-2.2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom.json b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom.json index da7b710ae57..5c91da9f6bf 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom.json +++ b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom.json @@ -197,6 +197,26 @@ "version": "2.0.1", "required": true } + ], + "dependencyManagement": [ + { + "group_id": "org.apache.maven", + "artifact_id": "maven-project", + "version": "2.0.1", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-container-default", + "version": "1.0-alpha-8", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-utils", + "version": "1.0.5", + "required": true + } ] } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom.package.json index c8ea7f57634..d6b9d23bdde 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom.package.json @@ -91,26 +91,51 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0.1", "requirement": "2.0.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, + "is_optional": true, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-project@2.0.1", + "requirement": "2.0.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-8", + "requirement": "1.0-alpha-8", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.0.5", + "requirement": "1.0.5", + "scope": "dependencymanagement", + "is_runtime": false, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.plugins/maven-plugin-parent@2.0.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.plugins/maven-plugin-parent@2.0.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-plugins/1/maven-plugins-1.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-plugins/1/maven-plugins-1.pom.package.json index a1ae76dd2f0..d8b13dd7df2 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-plugins/1/maven-plugins-1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-plugins/1/maven-plugins-1.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.maven.plugins/maven-plugins@1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.plugins/maven-plugins@1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/1/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/1/maven-plugins-1.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-plugins/10/maven-plugins-10.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-plugins/10/maven-plugins-10.pom.package.json index 1bd87b7ef04..bdcce9829b1 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-plugins/10/maven-plugins-10.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-plugins/10/maven-plugins-10.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.maven.plugins/maven-plugins@10?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.plugins/maven-plugins@10", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/10/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/10/maven-plugins-10.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-plugins/11/maven-plugins-11.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-plugins/11/maven-plugins-11.pom.package.json index 55caeb36b02..084c9f6d850 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-plugins/11/maven-plugins-11.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-plugins/11/maven-plugins-11.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.maven.plugins/maven-plugins@11?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.plugins/maven-plugins@11", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/11/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/11/maven-plugins-11.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-plugins/8/maven-plugins-8.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-plugins/8/maven-plugins-8.pom.package.json index 3a786ee857b..cda4bf3f1b3 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-plugins/8/maven-plugins-8.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-plugins/8/maven-plugins-8.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.maven.plugins/maven-plugins@8?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.plugins/maven-plugins@8", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/8/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/8/maven-plugins-8.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-pmd-plugin/2.3/maven-pmd-plugin-2.3.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-pmd-plugin/2.3/maven-pmd-plugin-2.3.pom.package.json index 5fc685fb84e..763ac946116 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-pmd-plugin/2.3/maven-pmd-plugin-2.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-pmd-plugin/2.3/maven-pmd-plugin-2.3.pom.package.json @@ -35,90 +35,91 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-model", + "purl": "pkg:maven/org.apache.maven/maven-model@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-project", + "purl": "pkg:maven/org.apache.maven/maven-project@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api", + "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-impl", + "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-impl@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness", + "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness@1.0-beta-1", "requirement": "1.0-beta-1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-resources", + "purl": "pkg:maven/org.codehaus.plexus/plexus-resources@1.0-alpha-4", "requirement": "1.0-alpha-4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.2", "requirement": "1.4.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/pmd/pmd-jdk14", + "purl": "pkg:maven/pmd/pmd-jdk14@4.1.1", "requirement": "4.1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0", "requirement": "2.0", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.plugins/maven-pmd-plugin@2.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.plugins/maven-pmd-plugin@2.3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-pmd-plugin/2.3/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-pmd-plugin/2.3/maven-pmd-plugin-2.3.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-release-plugin/2.0-beta-7/maven-release-plugin-2.0-beta-7.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-release-plugin/2.0-beta-7/maven-release-plugin-2.0-beta-7.pom.package.json index e9245cae86b..d600fe54406 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-release-plugin/2.0-beta-7/maven-release-plugin-2.0-beta-7.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-release-plugin/2.0-beta-7/maven-release-plugin-2.0-beta-7.pom.package.json @@ -27,50 +27,51 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.release/maven-release-manager", + "purl": "pkg:maven/org.apache.maven.release/maven-release-manager@1.0-alpha-4", "requirement": "1.0-alpha-4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/jmock/jmock-cglib", + "purl": "pkg:maven/jmock/jmock-cglib@1.0.1", "requirement": "1.0.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.scm/maven-scm-test", + "purl": "pkg:maven/org.apache.maven.scm/maven-scm-test@1.0", "requirement": "1.0", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness", + "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness@1.0-beta-1", "requirement": "1.0-beta-1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.plugins/maven-release-plugin@2.0-beta-7?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.plugins/maven-release-plugin@2.0-beta-7", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.0-beta-7/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.0-beta-7/maven-release-plugin-2.0-beta-7.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom.package.json index 4eb6314cfb8..ce1c5230e82 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom.package.json @@ -27,42 +27,43 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-project", + "purl": "pkg:maven/org.apache.maven/maven-project@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-model", + "purl": "pkg:maven/org.apache.maven/maven-model@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness", + "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness@1.0-beta-1", "requirement": "1.0-beta-1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.plugins/maven-resources-plugin@2.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.plugins/maven-resources-plugin@2.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.pom.package.json index 2833ba8a905..9df83de40cb 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.pom.package.json @@ -119,154 +119,155 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.2", "requirement": "2.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact-manager", + "purl": "pkg:maven/org.apache.maven/maven-artifact-manager@2.0.2", "requirement": "2.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-model", + "purl": "pkg:maven/org.apache.maven/maven-model@2.0.2", "requirement": "2.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-project", + "purl": "pkg:maven/org.apache.maven/maven-project@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-settings", + "purl": "pkg:maven/org.apache.maven/maven-settings@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.doxia/doxia-module-xhtml", + "purl": "pkg:maven/org.apache.maven.doxia/doxia-module-xhtml@1.0-alpha-10", "requirement": "1.0-alpha-10", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.doxia/doxia-sink-api", + "purl": "pkg:maven/org.apache.maven.doxia/doxia-sink-api@1.0-alpha-10", "requirement": "1.0-alpha-10", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.doxia/doxia-decoration-model", + "purl": "pkg:maven/org.apache.maven.doxia/doxia-decoration-model@1.0-alpha-10", "requirement": "1.0-alpha-10", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.doxia/doxia-site-renderer", + "purl": "pkg:maven/org.apache.maven.doxia/doxia-site-renderer@1.0-alpha-10", "requirement": "1.0-alpha-10", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api", + "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api@2.0.4", "requirement": "2.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api", + "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api@1.0-beta-2", "requirement": "1.0-beta-2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-archiver", + "purl": "pkg:maven/org.codehaus.plexus/plexus-archiver@1.0-alpha-7", "requirement": "1.0-alpha-7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-9", "requirement": "1.0-alpha-9", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-i18n", + "purl": "pkg:maven/org.codehaus.plexus/plexus-i18n@1.0-beta-7", "requirement": "1.0-beta-7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.5", "requirement": "1.4.5", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.mortbay.jetty/jetty", + "purl": "pkg:maven/org.mortbay.jetty/jetty@6.1.5", "requirement": "6.1.5", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness", + "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness@1.0-beta-1", "requirement": "1.0-beta-1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.plugins/maven-site-plugin@2.0-beta-6?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.plugins/maven-site-plugin@2.0-beta-6", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-6/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-source-plugin/2.0.4/maven-source-plugin-2.0.4.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-source-plugin/2.0.4/maven-source-plugin-2.0.4.pom.package.json index 3af3d67d22c..e92cc0d9aad 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-source-plugin/2.0.4/maven-source-plugin-2.0.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-source-plugin/2.0.4/maven-source-plugin-2.0.4.pom.package.json @@ -27,82 +27,83 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-model", + "purl": "pkg:maven/org.apache.maven/maven-model@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-project", + "purl": "pkg:maven/org.apache.maven/maven-project@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-archiver", + "purl": "pkg:maven/org.codehaus.plexus/plexus-archiver@1.0-alpha-7", "requirement": "1.0-alpha-7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.1", "requirement": "1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-9", "requirement": "1.0-alpha-9", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness", + "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness@1.0-beta-1", "requirement": "1.0-beta-1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.plugins/maven-source-plugin@2.0.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.plugins/maven-source-plugin@2.0.4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-source-plugin/2.0.4/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-source-plugin/2.0.4/maven-source-plugin-2.0.4.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-surefire-plugin/2.4.2/maven-surefire-plugin-2.4.2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-surefire-plugin/2.4.2/maven-surefire-plugin-2.4.2.pom.package.json index 6bd702e2bef..8539213c673 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-surefire-plugin/2.4.2/maven-surefire-plugin-2.4.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-surefire-plugin/2.4.2/maven-surefire-plugin-2.4.2.pom.package.json @@ -35,58 +35,59 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.apache.maven.surefire/surefire-booter", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-project", + "purl": "pkg:maven/org.apache.maven/maven-project@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-core", + "purl": "pkg:maven/org.apache.maven/maven-core@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.plugins/maven-surefire-plugin@2.4.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.plugins/maven-surefire-plugin@2.4.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.4.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.4.2/maven-surefire-plugin-2.4.2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-war-plugin/2.1-alpha-1/maven-war-plugin-2.1-alpha-1.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-war-plugin/2.1-alpha-1/maven-war-plugin-2.1-alpha-1.pom.package.json index b2aa1a477d7..3d6dfbd5645 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-war-plugin/2.1-alpha-1/maven-war-plugin-2.1-alpha-1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/plugins/maven-war-plugin/2.1-alpha-1/maven-war-plugin-2.1-alpha-1.pom.package.json @@ -27,66 +27,67 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0.6", "requirement": "2.0.6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.6", "requirement": "2.0.6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-archiver", + "purl": "pkg:maven/org.apache.maven/maven-archiver@2.2", "requirement": "2.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.7", "requirement": "1.4.7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.thoughtworks.xstream/xstream", + "purl": "pkg:maven/com.thoughtworks.xstream/xstream@1.2.2", "requirement": "1.2.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness", + "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness@1.1", "requirement": "1.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.plugins/maven-war-plugin@2.1-alpha-1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.plugins/maven-war-plugin@2.1-alpha-1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-plugin/2.1-alpha-1/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-plugin/2.1-alpha-1/maven-war-plugin-2.1-alpha-1.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/release/maven-release/4/maven-release-4.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/release/maven-release/4/maven-release-4.pom.package.json index 7b9e8618568..5112db17d24 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/release/maven-release/4/maven-release-4.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/release/maven-release/4/maven-release-4.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.maven.release/maven-release@4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.release/maven-release@4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/release/maven-release/4/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/release/maven-release/4/maven-release-4.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting-api/2.0.4/maven-reporting-api-2.0.4.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting-api/2.0.4/maven-reporting-api-2.0.4.pom.package.json index 4d37b3de751..68079fec333 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting-api/2.0.4/maven-reporting-api-2.0.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting-api/2.0.4/maven-reporting-api-2.0.4.pom.package.json @@ -35,18 +35,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven.doxia/doxia-sink-api", + "purl": "pkg:maven/org.apache.maven.doxia/doxia-sink-api@1.0-alpha-7", "requirement": "1.0-alpha-7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.reporting/maven-reporting-api@2.0.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api@2.0.4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/reporting/maven-reporting-api/2.0.4/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/reporting/maven-reporting-api/2.0.4/maven-reporting-api-2.0.4.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting-api/2.0.6/maven-reporting-api-2.0.6.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting-api/2.0.6/maven-reporting-api-2.0.6.pom.package.json index aaf0374db84..0d813e2a04d 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting-api/2.0.6/maven-reporting-api-2.0.6.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting-api/2.0.6/maven-reporting-api-2.0.6.pom.package.json @@ -35,18 +35,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven.doxia/doxia-sink-api", + "purl": "pkg:maven/org.apache.maven.doxia/doxia-sink-api@1.0-alpha-7", "requirement": "1.0-alpha-7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.reporting/maven-reporting-api@2.0.6?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api@2.0.6", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/reporting/maven-reporting-api/2.0.6/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/reporting/maven-reporting-api/2.0.6/maven-reporting-api-2.0.6.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting-api/2.0.8/maven-reporting-api-2.0.8.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting-api/2.0.8/maven-reporting-api-2.0.8.pom.package.json index 93ce99d5072..441f30b039c 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting-api/2.0.8/maven-reporting-api-2.0.8.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting-api/2.0.8/maven-reporting-api-2.0.8.pom.package.json @@ -35,18 +35,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven.doxia/doxia-sink-api", + "purl": "pkg:maven/org.apache.maven.doxia/doxia-sink-api@1.0-alpha-9", "requirement": "1.0-alpha-9", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.reporting/maven-reporting-api@2.0.8?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api@2.0.8", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/reporting/maven-reporting-api/2.0.8/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/reporting/maven-reporting-api/2.0.8/maven-reporting-api-2.0.8.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting-api/2.0/maven-reporting-api-2.0.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting-api/2.0/maven-reporting-api-2.0.pom.package.json index dafdcbeefad..d4e5f8f0d8d 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting-api/2.0/maven-reporting-api-2.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting-api/2.0/maven-reporting-api-2.0.pom.package.json @@ -35,18 +35,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/doxia/doxia-sink-api", + "purl": "pkg:maven/doxia/doxia-sink-api@1.0-alpha-4", "requirement": "1.0-alpha-4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.reporting/maven-reporting-api@2.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api@2.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/reporting/maven-reporting-api/2.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/reporting/maven-reporting-api/2.0/maven-reporting-api-2.0.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting-impl/2.0.4/maven-reporting-impl-2.0.4.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting-impl/2.0.4/maven-reporting-impl-2.0.4.pom.package.json index c4500b08758..00479128b7a 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting-impl/2.0.4/maven-reporting-impl-2.0.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting-impl/2.0.4/maven-reporting-impl-2.0.4.pom.package.json @@ -35,66 +35,67 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-project", + "purl": "pkg:maven/org.apache.maven/maven-project@2.0.4", "requirement": "2.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-validator/commons-validator", + "purl": "pkg:maven/commons-validator/commons-validator@1.2.0", "requirement": "1.2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.doxia/doxia-core", + "purl": "pkg:maven/org.apache.maven.doxia/doxia-core@1.0-alpha-7", "requirement": "1.0-alpha-7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0.4", "requirement": "2.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/oro/oro", + "purl": "pkg:maven/oro/oro@2.0.7", "requirement": "2.0.7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api", + "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api@2.0.4", "requirement": "2.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.doxia/doxia-site-renderer", + "purl": "pkg:maven/org.apache.maven.doxia/doxia-site-renderer@1.0-alpha-7", "requirement": "1.0-alpha-7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.reporting/maven-reporting-impl@2.0.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-impl@2.0.4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/reporting/maven-reporting-impl/2.0.4/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/reporting/maven-reporting-impl/2.0.4/maven-reporting-impl-2.0.4.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting-impl/2.0/maven-reporting-impl-2.0.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting-impl/2.0/maven-reporting-impl-2.0.pom.package.json index 4dba5ba3c99..c26740499d1 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting-impl/2.0/maven-reporting-impl-2.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting-impl/2.0/maven-reporting-impl-2.0.pom.package.json @@ -35,58 +35,59 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-project", + "purl": "pkg:maven/org.apache.maven/maven-project@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-validator/commons-validator", + "purl": "pkg:maven/commons-validator/commons-validator@1.1.4", "requirement": "1.1.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/oro/oro", + "purl": "pkg:maven/oro/oro@2.0.7", "requirement": "2.0.7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api", + "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/doxia/doxia-core", + "purl": "pkg:maven/doxia/doxia-core@1.0-alpha-4", "requirement": "1.0-alpha-4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.reporting/maven-reporting-impl@2.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-impl@2.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/reporting/maven-reporting-impl/2.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/reporting/maven-reporting-impl/2.0/maven-reporting-impl-2.0.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting/2.0.4/maven-reporting-2.0.4.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting/2.0.4/maven-reporting-2.0.4.pom.package.json index 2389686cefb..3a0b769fe68 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting/2.0.4/maven-reporting-2.0.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting/2.0.4/maven-reporting-2.0.4.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.maven.reporting/maven-reporting@2.0.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting@2.0.4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/reporting/maven-reporting/2.0.4/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/reporting/maven-reporting/2.0.4/maven-reporting-2.0.4.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting/2.0.6/maven-reporting-2.0.6.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting/2.0.6/maven-reporting-2.0.6.pom.package.json index 566d0d089c5..49162be02cf 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting/2.0.6/maven-reporting-2.0.6.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting/2.0.6/maven-reporting-2.0.6.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.maven.reporting/maven-reporting@2.0.6?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting@2.0.6", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/reporting/maven-reporting/2.0.6/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/reporting/maven-reporting/2.0.6/maven-reporting-2.0.6.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting/2.0.8/maven-reporting-2.0.8.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting/2.0.8/maven-reporting-2.0.8.pom.package.json index 7060148abdb..91b7386e5fd 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting/2.0.8/maven-reporting-2.0.8.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting/2.0.8/maven-reporting-2.0.8.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.maven.reporting/maven-reporting@2.0.8?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting@2.0.8", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/reporting/maven-reporting/2.0.8/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/reporting/maven-reporting/2.0.8/maven-reporting-2.0.8.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting/2.0/maven-reporting-2.0.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting/2.0/maven-reporting-2.0.pom.package.json index 8a063163809..c44dad7efb8 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting/2.0/maven-reporting-2.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/reporting/maven-reporting/2.0/maven-reporting-2.0.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.maven.reporting/maven-reporting@2.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting@2.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/reporting/maven-reporting/2.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/reporting/maven-reporting/2.0/maven-reporting-2.0.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-api/1.0-beta-3/maven-scm-api-1.0-beta-3.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-api/1.0-beta-3/maven-scm-api-1.0-beta-3.pom.package.json index ca96dab31c1..192ea40ed71 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-api/1.0-beta-3/maven-scm-api-1.0-beta-3.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-api/1.0-beta-3/maven-scm-api-1.0-beta-3.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.scm/maven-scm-api@1.0-beta-3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.scm/maven-scm-api@1.0-beta-3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm-api/1.0-beta-3/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm-api/1.0-beta-3/maven-scm-api-1.0-beta-3.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-manager-plexus/1.0-beta-3/maven-scm-manager-plexus-1.0-beta-3.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-manager-plexus/1.0-beta-3/maven-scm-manager-plexus-1.0-beta-3.pom.package.json index 6e769736799..f6a47aebfa9 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-manager-plexus/1.0-beta-3/maven-scm-manager-plexus-1.0-beta-3.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-manager-plexus/1.0-beta-3/maven-scm-manager-plexus-1.0-beta-3.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-9", "requirement": "1.0-alpha-9", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.scm/maven-scm-manager-plexus@1.0-beta-3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.scm/maven-scm-manager-plexus@1.0-beta-3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm-manager-plexus/1.0-beta-3/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm-manager-plexus/1.0-beta-3/maven-scm-manager-plexus-1.0-beta-3.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-managers/1.0-beta-3/maven-scm-managers-1.0-beta-3.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-managers/1.0-beta-3/maven-scm-managers-1.0-beta-3.pom.package.json index d0bd5e4524f..2308c5af725 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-managers/1.0-beta-3/maven-scm-managers-1.0-beta-3.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-managers/1.0-beta-3/maven-scm-managers-1.0-beta-3.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven.scm/maven-scm-api", + "purl": "pkg:maven/org.apache.maven.scm/maven-scm-api@1.0-beta-3", "requirement": "1.0-beta-3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.scm/maven-scm-managers@1.0-beta-3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.scm/maven-scm-managers@1.0-beta-3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm-managers/1.0-beta-3/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm-managers/1.0-beta-3/maven-scm-managers-1.0-beta-3.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-provider-clearcase/1.0-beta-3/maven-scm-provider-clearcase-1.0-beta-3.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-provider-clearcase/1.0-beta-3/maven-scm-provider-clearcase-1.0-beta-3.pom.package.json index bb82248e14a..b7f3643662a 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-provider-clearcase/1.0-beta-3/maven-scm-provider-clearcase-1.0-beta-3.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-provider-clearcase/1.0-beta-3/maven-scm-provider-clearcase-1.0-beta-3.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.maven.scm/maven-scm-provider-clearcase@1.0-beta-3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.scm/maven-scm-provider-clearcase@1.0-beta-3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-clearcase/1.0-beta-3/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-clearcase/1.0-beta-3/maven-scm-provider-clearcase-1.0-beta-3.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-provider-cvs-commons/1.0-beta-3/maven-scm-provider-cvs-commons-1.0-beta-3.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-provider-cvs-commons/1.0-beta-3/maven-scm-provider-cvs-commons-1.0-beta-3.pom.package.json index 9a205dff782..3adad6ea3b2 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-provider-cvs-commons/1.0-beta-3/maven-scm-provider-cvs-commons-1.0-beta-3.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-provider-cvs-commons/1.0-beta-3/maven-scm-provider-cvs-commons-1.0-beta-3.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven.scm/maven-scm-provider-cvstest", + "purl": "pkg:maven/org.apache.maven.scm/maven-scm-provider-cvstest@1.0-beta-3", "requirement": "1.0-beta-3", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.scm/maven-scm-provider-cvs-commons@1.0-beta-3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.scm/maven-scm-provider-cvs-commons@1.0-beta-3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-cvs-commons/1.0-beta-3/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-cvs-commons/1.0-beta-3/maven-scm-provider-cvs-commons-1.0-beta-3.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-provider-cvsexe/1.0-beta-3/maven-scm-provider-cvsexe-1.0-beta-3.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-provider-cvsexe/1.0-beta-3/maven-scm-provider-cvsexe-1.0-beta-3.pom.package.json index 716af0e7818..d70ee37f710 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-provider-cvsexe/1.0-beta-3/maven-scm-provider-cvsexe-1.0-beta-3.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-provider-cvsexe/1.0-beta-3/maven-scm-provider-cvsexe-1.0-beta-3.pom.package.json @@ -27,26 +27,27 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven.scm/maven-scm-provider-cvstest", + "purl": "pkg:maven/org.apache.maven.scm/maven-scm-provider-cvstest@1.0-beta-3", "requirement": "1.0-beta-3", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.scm/maven-scm-provider-cvs-commons", + "purl": "pkg:maven/org.apache.maven.scm/maven-scm-provider-cvs-commons@1.0-beta-3", "requirement": "1.0-beta-3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.scm/maven-scm-provider-cvsexe@1.0-beta-3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.scm/maven-scm-provider-cvsexe@1.0-beta-3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe/1.0-beta-3/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe/1.0-beta-3/maven-scm-provider-cvsexe-1.0-beta-3.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-provider-perforce/1.0-beta-3/maven-scm-provider-perforce-1.0-beta-3.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-provider-perforce/1.0-beta-3/maven-scm-provider-perforce-1.0-beta-3.pom.package.json index 134a706ec0c..70cd21fc613 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-provider-perforce/1.0-beta-3/maven-scm-provider-perforce-1.0-beta-3.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-provider-perforce/1.0-beta-3/maven-scm-provider-perforce-1.0-beta-3.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/regexp/regexp", + "purl": "pkg:maven/regexp/regexp@1.3", "requirement": "1.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.scm/maven-scm-provider-perforce@1.0-beta-3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.scm/maven-scm-provider-perforce@1.0-beta-3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-perforce/1.0-beta-3/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-perforce/1.0-beta-3/maven-scm-provider-perforce-1.0-beta-3.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-provider-starteam/1.0-beta-3/maven-scm-provider-starteam-1.0-beta-3.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-provider-starteam/1.0-beta-3/maven-scm-provider-starteam-1.0-beta-3.pom.package.json index ea36fa1bcbf..cf2b5def350 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-provider-starteam/1.0-beta-3/maven-scm-provider-starteam-1.0-beta-3.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-provider-starteam/1.0-beta-3/maven-scm-provider-starteam-1.0-beta-3.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.maven.scm/maven-scm-provider-starteam@1.0-beta-3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.scm/maven-scm-provider-starteam@1.0-beta-3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-starteam/1.0-beta-3/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-starteam/1.0-beta-3/maven-scm-provider-starteam-1.0-beta-3.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-provider-svn-commons/1.0-beta-3/maven-scm-provider-svn-commons-1.0-beta-3.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-provider-svn-commons/1.0-beta-3/maven-scm-provider-svn-commons-1.0-beta-3.pom.package.json index 1b7085e84ec..a102d33371f 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-provider-svn-commons/1.0-beta-3/maven-scm-provider-svn-commons-1.0-beta-3.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-provider-svn-commons/1.0-beta-3/maven-scm-provider-svn-commons-1.0-beta-3.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.maven.scm/maven-scm-provider-svn-commons@1.0-beta-3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.scm/maven-scm-provider-svn-commons@1.0-beta-3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-svn-commons/1.0-beta-3/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-svn-commons/1.0-beta-3/maven-scm-provider-svn-commons-1.0-beta-3.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-provider-svnexe/1.0-beta-3/maven-scm-provider-svnexe-1.0-beta-3.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-provider-svnexe/1.0-beta-3/maven-scm-provider-svnexe-1.0-beta-3.pom.package.json index 837bc9d0dc2..d734b178bec 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-provider-svnexe/1.0-beta-3/maven-scm-provider-svnexe-1.0-beta-3.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-provider-svnexe/1.0-beta-3/maven-scm-provider-svnexe-1.0-beta-3.pom.package.json @@ -27,34 +27,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven.scm/maven-scm-provider-svn-commons", + "purl": "pkg:maven/org.apache.maven.scm/maven-scm-provider-svn-commons@1.0-beta-3", "requirement": "1.0-beta-3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/regexp/regexp", + "purl": "pkg:maven/regexp/regexp@1.3", "requirement": "1.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.scm/maven-scm-provider-svntest", + "purl": "pkg:maven/org.apache.maven.scm/maven-scm-provider-svntest@1.0-beta-3", "requirement": "1.0-beta-3", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.scm/maven-scm-provider-svnexe@1.0-beta-3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.scm/maven-scm-provider-svnexe@1.0-beta-3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-svnexe/1.0-beta-3/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-svnexe/1.0-beta-3/maven-scm-provider-svnexe-1.0-beta-3.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-providers-cvs/1.0-beta-3/maven-scm-providers-cvs-1.0-beta-3.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-providers-cvs/1.0-beta-3/maven-scm-providers-cvs-1.0-beta-3.pom.package.json index 61a482eab5b..54b3adfcc6b 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-providers-cvs/1.0-beta-3/maven-scm-providers-cvs-1.0-beta-3.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-providers-cvs/1.0-beta-3/maven-scm-providers-cvs-1.0-beta-3.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.maven.scm/maven-scm-providers-cvs@1.0-beta-3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.scm/maven-scm-providers-cvs@1.0-beta-3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm-providers-cvs/1.0-beta-3/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm-providers-cvs/1.0-beta-3/maven-scm-providers-cvs-1.0-beta-3.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-providers-svn/1.0-beta-3/maven-scm-providers-svn-1.0-beta-3.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-providers-svn/1.0-beta-3/maven-scm-providers-svn-1.0-beta-3.pom.package.json index c54d67c3a7e..684aefc4716 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-providers-svn/1.0-beta-3/maven-scm-providers-svn-1.0-beta-3.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-providers-svn/1.0-beta-3/maven-scm-providers-svn-1.0-beta-3.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.maven.scm/maven-scm-providers-svn@1.0-beta-3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.scm/maven-scm-providers-svn@1.0-beta-3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm-providers-svn/1.0-beta-3/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm-providers-svn/1.0-beta-3/maven-scm-providers-svn-1.0-beta-3.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-providers/1.0-beta-3/maven-scm-providers-1.0-beta-3.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-providers/1.0-beta-3/maven-scm-providers-1.0-beta-3.pom.package.json index 6c087405a41..ca2ee752c26 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-providers/1.0-beta-3/maven-scm-providers-1.0-beta-3.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm-providers/1.0-beta-3/maven-scm-providers-1.0-beta-3.pom.package.json @@ -27,26 +27,27 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven.scm/maven-scm-api", + "purl": "pkg:maven/org.apache.maven.scm/maven-scm-api@1.0-beta-3", "requirement": "1.0-beta-3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.scm/maven-scm-test", + "purl": "pkg:maven/org.apache.maven.scm/maven-scm-test@1.0-beta-3", "requirement": "1.0-beta-3", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.scm/maven-scm-providers@1.0-beta-3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.scm/maven-scm-providers@1.0-beta-3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm-providers/1.0-beta-3/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm-providers/1.0-beta-3/maven-scm-providers-1.0-beta-3.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm/1.0-beta-3/maven-scm-1.0-beta-3.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm/1.0-beta-3/maven-scm-1.0-beta-3.pom.package.json index 69fd5a93f60..1b8c0d59c63 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm/1.0-beta-3/maven-scm-1.0-beta-3.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/scm/maven-scm/1.0-beta-3/maven-scm-1.0-beta-3.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.1", "requirement": "1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.scm/maven-scm@1.0-beta-3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.scm/maven-scm@1.0-beta-3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm/1.0-beta-3/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm/1.0-beta-3/maven-scm-1.0-beta-3.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/shared/file-management/1.1/file-management-1.1.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/shared/file-management/1.1/file-management-1.1.pom.package.json index f03b87c04fb..561bbcadf9f 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/shared/file-management/1.1/file-management-1.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/shared/file-management/1.1/file-management-1.1.pom.package.json @@ -35,50 +35,51 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-shared-io", + "purl": "pkg:maven/org.apache.maven.shared/maven-shared-io@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-9", "requirement": "1.0-alpha-9", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.shared/file-management@1.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.shared/file-management@1.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/file-management/1.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/file-management/1.1/file-management-1.1.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/shared/file-management/1.2/file-management-1.2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/shared/file-management/1.2/file-management-1.2.pom.package.json index f1261070c00..87f19419ffb 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/shared/file-management/1.2/file-management-1.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/shared/file-management/1.2/file-management-1.2.pom.package.json @@ -35,50 +35,51 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0.6", "requirement": "2.0.6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-shared-io", + "purl": "pkg:maven/org.apache.maven.shared/maven-shared-io@1.1", "requirement": "1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.6", "requirement": "1.4.6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-9", "requirement": "1.0-alpha-9", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.shared/file-management@1.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.shared/file-management@1.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/file-management/1.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/file-management/1.2/file-management-1.2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/shared/maven-common-artifact-filters/1.0-alpha-1/maven-common-artifact-filters-1.0-alpha-1.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/shared/maven-common-artifact-filters/1.0-alpha-1/maven-common-artifact-filters-1.0-alpha-1.pom.package.json index 077000b92b5..1a976254cb6 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/shared/maven-common-artifact-filters/1.0-alpha-1/maven-common-artifact-filters-1.0-alpha-1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/shared/maven-common-artifact-filters/1.0-alpha-1/maven-common-artifact-filters-1.0-alpha-1.pom.package.json @@ -27,50 +27,51 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.2", "requirement": "2.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-9", "requirement": "1.0-alpha-9", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-test-tools", + "purl": "pkg:maven/org.apache.maven.shared/maven-test-tools@1.0-alpha-1", "requirement": "1.0-alpha-1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/easymock/easymock", + "purl": "pkg:maven/easymock/easymock@1.2_Java1.3", "requirement": "1.2_Java1.3", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.shared/maven-common-artifact-filters@1.0-alpha-1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.shared/maven-common-artifact-filters@1.0-alpha-1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/maven-common-artifact-filters/1.0-alpha-1/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/maven-common-artifact-filters/1.0-alpha-1/maven-common-artifact-filters-1.0-alpha-1.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/shared/maven-common-artifact-filters/1.0/maven-common-artifact-filters-1.0.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/shared/maven-common-artifact-filters/1.0/maven-common-artifact-filters-1.0.pom.package.json index 8c9506edcb7..77cabe65cda 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/shared/maven-common-artifact-filters/1.0/maven-common-artifact-filters-1.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/shared/maven-common-artifact-filters/1.0/maven-common-artifact-filters-1.0.pom.package.json @@ -27,58 +27,59 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.8", "requirement": "2.0.8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-9", "requirement": "1.0-alpha-9", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness", + "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness@1.1", "requirement": "1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-test-tools", + "purl": "pkg:maven/org.apache.maven.shared/maven-test-tools@1.0-alpha-2", "requirement": "1.0-alpha-2", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/easymock/easymock", + "purl": "pkg:maven/easymock/easymock@1.2_Java1.3", "requirement": "1.2_Java1.3", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.shared/maven-common-artifact-filters@1.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.shared/maven-common-artifact-filters@1.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/maven-common-artifact-filters/1.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/maven-common-artifact-filters/1.0/maven-common-artifact-filters-1.0.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/shared/maven-dependency-analyzer/1.0/maven-dependency-analyzer-1.0.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/shared/maven-dependency-analyzer/1.0/maven-dependency-analyzer-1.0.pom.package.json index 79f02dc495e..b59f85b2159 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/shared/maven-dependency-analyzer/1.0/maven-dependency-analyzer-1.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/shared/maven-dependency-analyzer/1.0/maven-dependency-analyzer-1.0.pom.package.json @@ -27,74 +27,75 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/asm/asm", + "purl": "pkg:maven/asm/asm@3.0", "requirement": "3.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.6", "requirement": "1.4.6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-project", + "purl": "pkg:maven/org.apache.maven/maven-project@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-model", + "purl": "pkg:maven/org.apache.maven/maven-model@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-tools", + "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-tools@1.0-alpha-3", "requirement": "1.0-alpha-3", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jmock/jmock", + "purl": "pkg:maven/jmock/jmock@1.1.0", "requirement": "1.1.0", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.shared/maven-dependency-analyzer@1.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.shared/maven-dependency-analyzer@1.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/maven-dependency-analyzer/1.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/maven-dependency-analyzer/1.0/maven-dependency-analyzer-1.0.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/shared/maven-dependency-tree/1.1/maven-dependency-tree-1.1.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/shared/maven-dependency-tree/1.1/maven-dependency-tree-1.1.pom.package.json index 91092e0acd2..6c89fcee830 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/shared/maven-dependency-tree/1.1/maven-dependency-tree-1.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/shared/maven-dependency-tree/1.1/maven-dependency-tree-1.1.pom.package.json @@ -27,34 +27,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-project", + "purl": "pkg:maven/org.apache.maven/maven-project@2.0.8", "requirement": "2.0.8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/jmock/jmock", + "purl": "pkg:maven/jmock/jmock@1.2.0", "requirement": "1.2.0", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness", + "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness@1.1", "requirement": "1.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.shared/maven-dependency-tree@1.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.shared/maven-dependency-tree@1.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/maven-dependency-tree/1.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/maven-dependency-tree/1.1/maven-dependency-tree-1.1.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/shared/maven-osgi/0.2.0/maven-osgi-0.2.0.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/shared/maven-osgi/0.2.0/maven-osgi-0.2.0.pom.package.json index bcaf78815e4..dc0022eba7c 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/shared/maven-osgi/0.2.0/maven-osgi-0.2.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/shared/maven-osgi/0.2.0/maven-osgi-0.2.0.pom.package.json @@ -27,34 +27,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-project", + "purl": "pkg:maven/org.apache.maven/maven-project@2.0.6", "requirement": "2.0.6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/biz.aQute/bndlib", + "purl": "pkg:maven/biz.aQute/bndlib@0.0.203", "requirement": "0.0.203", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness", + "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness@1.0", "requirement": "1.0", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.shared/maven-osgi@0.2.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.shared/maven-osgi@0.2.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/maven-osgi/0.2.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/maven-osgi/0.2.0/maven-osgi-0.2.0.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/shared/maven-plugin-testing-harness/1.1/maven-plugin-testing-harness-1.1.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/shared/maven-plugin-testing-harness/1.1/maven-plugin-testing-harness-1.1.pom.package.json index 7fb8079771f..379c5be40f2 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/shared/maven-plugin-testing-harness/1.1/maven-plugin-testing-harness-1.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/shared/maven-plugin-testing-harness/1.1/maven-plugin-testing-harness-1.1.pom.package.json @@ -27,50 +27,51 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-project", + "purl": "pkg:maven/org.apache.maven/maven-project@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-core", + "purl": "pkg:maven/org.apache.maven/maven-core@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.2", "requirement": "1.4.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-archiver", + "purl": "pkg:maven/org.codehaus.plexus/plexus-archiver@1.0-alpha-7", "requirement": "1.0-alpha-7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness@1.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness@1.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/maven-plugin-testing-harness/1.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/maven-plugin-testing-harness/1.1/maven-plugin-testing-harness-1.1.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/shared/maven-repository-builder/1.0-alpha-2/maven-repository-builder-1.0-alpha-2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/shared/maven-repository-builder/1.0-alpha-2/maven-repository-builder-1.0-alpha-2.pom.package.json index 2fe24957a1b..84e43d883a4 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/shared/maven-repository-builder/1.0-alpha-2/maven-repository-builder-1.0-alpha-2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/shared/maven-repository-builder/1.0-alpha-2/maven-repository-builder-1.0-alpha-2.pom.package.json @@ -27,82 +27,83 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.4", "requirement": "2.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact-manager", + "purl": "pkg:maven/org.apache.maven/maven-artifact-manager@2.0.4", "requirement": "2.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-project", + "purl": "pkg:maven/org.apache.maven/maven-project@2.0.4", "requirement": "2.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-common-artifact-filters", + "purl": "pkg:maven/org.apache.maven.shared/maven-common-artifact-filters@1.0-alpha-1", "requirement": "1.0-alpha-1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-test-tools", + "purl": "pkg:maven/org.apache.maven.shared/maven-test-tools@1.0-alpha-1", "requirement": "1.0-alpha-1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/easymock/easymock", + "purl": "pkg:maven/easymock/easymock@1.2_Java1.3", "requirement": "1.2_Java1.3", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.wagon/wagon-file", + "purl": "pkg:maven/org.apache.maven.wagon/wagon-file@1.0-beta-2", "requirement": "1.0-beta-2", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.wagon/wagon-http-lightweight", + "purl": "pkg:maven/org.apache.maven.wagon/wagon-http-lightweight@1.0-beta-2", "requirement": "1.0-beta-2", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.shared/maven-repository-builder@1.0-alpha-2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.shared/maven-repository-builder@1.0-alpha-2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/maven-repository-builder/1.0-alpha-2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/maven-repository-builder/1.0-alpha-2/maven-repository-builder-1.0-alpha-2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/shared/maven-shared-components/3/maven-shared-components-3.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/shared/maven-shared-components/3/maven-shared-components-3.pom.package.json index 8ad20f85e1c..5d8ecc0349f 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/shared/maven-shared-components/3/maven-shared-components-3.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/shared/maven-shared-components/3/maven-shared-components-3.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.maven.shared/maven-shared-components@3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.shared/maven-shared-components@3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/maven-shared-components/3/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/maven-shared-components/3/maven-shared-components-3.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/shared/maven-shared-components/4/maven-shared-components-4.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/shared/maven-shared-components/4/maven-shared-components-4.pom.package.json index 09d66df8fa9..bb8d45083b0 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/shared/maven-shared-components/4/maven-shared-components-4.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/shared/maven-shared-components/4/maven-shared-components-4.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.maven.shared/maven-shared-components@4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.shared/maven-shared-components@4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/maven-shared-components/4/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/maven-shared-components/4/maven-shared-components-4.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/shared/maven-shared-components/6/maven-shared-components-6.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/shared/maven-shared-components/6/maven-shared-components-6.pom.package.json index f15ade2e2ca..fa3bc2a57a4 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/shared/maven-shared-components/6/maven-shared-components-6.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/shared/maven-shared-components/6/maven-shared-components-6.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.maven.shared/maven-shared-components@6?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.shared/maven-shared-components@6", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/maven-shared-components/6/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/maven-shared-components/6/maven-shared-components-6.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/shared/maven-shared-components/7/maven-shared-components-7.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/shared/maven-shared-components/7/maven-shared-components-7.pom.package.json index c66eec2333f..ba0850f2929 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/shared/maven-shared-components/7/maven-shared-components-7.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/shared/maven-shared-components/7/maven-shared-components-7.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.maven.shared/maven-shared-components@7?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.shared/maven-shared-components@7", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/maven-shared-components/7/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/maven-shared-components/7/maven-shared-components-7.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/shared/maven-shared-components/8/maven-shared-components-8.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/shared/maven-shared-components/8/maven-shared-components-8.pom.package.json index 4f720df520d..8061aed17cb 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/shared/maven-shared-components/8/maven-shared-components-8.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/shared/maven-shared-components/8/maven-shared-components-8.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.maven.shared/maven-shared-components@8?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.shared/maven-shared-components@8", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/maven-shared-components/8/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/maven-shared-components/8/maven-shared-components-8.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/shared/maven-shared-io/1.0/maven-shared-io-1.0.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/shared/maven-shared-io/1.0/maven-shared-io-1.0.pom.package.json index cf673217407..0d0cfdb959b 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/shared/maven-shared-io/1.0/maven-shared-io-1.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/shared/maven-shared-io/1.0/maven-shared-io-1.0.pom.package.json @@ -35,66 +35,67 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/easymock/easymock", + "purl": "pkg:maven/easymock/easymock@1.2_Java1.3", "requirement": "1.2_Java1.3", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.2", "requirement": "2.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact-manager", + "purl": "pkg:maven/org.apache.maven/maven-artifact-manager@2.0.2", "requirement": "2.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api", + "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api@1.0-alpha-6", "requirement": "1.0-alpha-6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.2", "requirement": "1.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-9", "requirement": "1.0-alpha-9", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.shared/maven-shared-io@1.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.shared/maven-shared-io@1.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/maven-shared-io/1.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/maven-shared-io/1.0/maven-shared-io-1.0.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.pom.package.json index b2347d1b9cb..35835b7f1a8 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.pom.package.json @@ -35,66 +35,67 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.2", "requirement": "2.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact-manager", + "purl": "pkg:maven/org.apache.maven/maven-artifact-manager@2.0.2", "requirement": "2.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api", + "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api@1.0-alpha-6", "requirement": "1.0-alpha-6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.6", "requirement": "1.4.6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-9", "requirement": "1.0-alpha-9", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/easymock/easymock", + "purl": "pkg:maven/easymock/easymock@1.2_Java1.3", "requirement": "1.2_Java1.3", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.shared/maven-shared-io@1.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.shared/maven-shared-io@1.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/maven-shared-io/1.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/surefire/surefire-api/2.4.2/surefire-api-2.4.2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/surefire/surefire-api/2.4.2/surefire-api-2.4.2.pom.package.json index 4b4e42a6bb6..81787befdf1 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/surefire/surefire-api/2.4.2/surefire-api-2.4.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/surefire/surefire-api/2.4.2/surefire-api-2.4.2.pom.package.json @@ -27,26 +27,27 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jmock/jmock", + "purl": "pkg:maven/jmock/jmock@1.0.1", "requirement": "1.0.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.surefire/surefire-api@2.4.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.surefire/surefire-api@2.4.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-api/2.4.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-api/2.4.2/surefire-api-2.4.2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/surefire/surefire-booter/2.4.2/surefire-booter-2.4.2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/surefire/surefire-booter/2.4.2/surefire-booter-2.4.2.pom.package.json index f310dc1f0b4..002cf747b59 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/surefire/surefire-booter/2.4.2/surefire-booter-2.4.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/surefire/surefire-booter/2.4.2/surefire-booter-2.4.2.pom.package.json @@ -27,34 +27,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jmock/jmock", + "purl": "pkg:maven/jmock/jmock@1.0.1", "requirement": "1.0.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.surefire/surefire-api", + "purl": "pkg:maven/org.apache.maven.surefire/surefire-api@2.4.2", "requirement": "2.4.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.surefire/surefire-booter@2.4.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.surefire/surefire-booter@2.4.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-booter/2.4.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-booter/2.4.2/surefire-booter-2.4.2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/surefire/surefire-providers/2.4.2/surefire-providers-2.4.2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/surefire/surefire-providers/2.4.2/surefire-providers-2.4.2.pom.package.json index c9e2cab29a3..4a26b38fffd 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/surefire/surefire-providers/2.4.2/surefire-providers-2.4.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/surefire/surefire-providers/2.4.2/surefire-providers-2.4.2.pom.package.json @@ -30,15 +30,16 @@ "purl": "pkg:maven/org.apache.maven.surefire/surefire-api", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.surefire/surefire-providers@2.4.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.surefire/surefire-providers@2.4.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-providers/2.4.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-providers/2.4.2/surefire-providers-2.4.2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/surefire/surefire-testng/2.4.2/surefire-testng-2.4.2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/surefire/surefire-testng/2.4.2/surefire-testng-2.4.2.pom.package.json index 998c7e276be..1d30ab5ce56 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/surefire/surefire-testng/2.4.2/surefire-testng-2.4.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/surefire/surefire-testng/2.4.2/surefire-testng-2.4.2.pom.package.json @@ -27,34 +27,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.testng/testng", + "purl": "pkg:maven/org.testng/testng@5.7", "requirement": "5.7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.surefire/surefire-testng@2.4.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.surefire/surefire-testng@2.4.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-testng/2.4.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-testng/2.4.2/surefire-testng-2.4.2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/surefire/surefire/2.4.2/surefire-2.4.2.pom.json b/tests/packagedcode/data/m2/org/apache/maven/surefire/surefire/2.4.2/surefire-2.4.2.pom.json index cbf8976b046..9b463d50588 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/surefire/surefire/2.4.2/surefire-2.4.2.pom.json +++ b/tests/packagedcode/data/m2/org/apache/maven/surefire/surefire/2.4.2/surefire-2.4.2.pom.json @@ -92,6 +92,26 @@ "version": "1.0.1", "required": true } + ], + "dependencyManagement": [ + { + "group_id": "org.apache.maven.surefire", + "artifact_id": "surefire-api", + "version": "2.4.2", + "required": true + }, + { + "group_id": "org.apache.maven.surefire", + "artifact_id": "surefire-booter", + "version": "2.4.2", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-utils", + "version": "1.4.9", + "required": true + } ] } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/apache/maven/surefire/surefire/2.4.2/surefire-2.4.2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/surefire/surefire/2.4.2/surefire-2.4.2.pom.package.json index ad55a9ce97a..7fd94bb8e0f 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/surefire/surefire/2.4.2/surefire-2.4.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/surefire/surefire/2.4.2/surefire-2.4.2.pom.package.json @@ -42,26 +42,51 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jmock/jmock", + "purl": "pkg:maven/jmock/jmock@1.0.1", "requirement": "1.0.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.surefire/surefire-api@2.4.2", + "requirement": "2.4.2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.surefire/surefire-booter@2.4.2", + "requirement": "2.4.2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.9", + "requirement": "1.4.9", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.surefire/surefire@2.4.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.surefire/surefire@2.4.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/surefire/surefire/2.4.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/surefire/surefire/2.4.2/surefire-2.4.2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-file/1.0-alpha-5/wagon-file-1.0-alpha-5.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-file/1.0-alpha-5/wagon-file-1.0-alpha-5.pom.package.json index c71319ed87b..1d2424935f9 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-file/1.0-alpha-5/wagon-file-1.0-alpha-5.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-file/1.0-alpha-5/wagon-file-1.0-alpha-5.pom.package.json @@ -63,58 +63,59 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api", + "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api@1.0-alpha-5", "requirement": "1.0-alpha-5", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-8", "requirement": "1.0-alpha-8", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/classworlds/classworlds", + "purl": "pkg:maven/classworlds/classworlds@1.1-alpha-2", "requirement": "1.1-alpha-2", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-test", + "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-test@1.0-alpha-5", "requirement": "1.0-alpha-5", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.wagon/wagon-file@1.0-alpha-5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.wagon/wagon-file@1.0-alpha-5", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-file/1.0-alpha-5/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-file/1.0-alpha-5/wagon-file-1.0-alpha-5.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-file/1.0-beta-2/wagon-file-1.0-beta-2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-file/1.0-beta-2/wagon-file-1.0-beta-2.pom.package.json index 0fd92c0ca9f..36a98410df2 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-file/1.0-beta-2/wagon-file-1.0-beta-2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-file/1.0-beta-2/wagon-file-1.0-beta-2.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.maven.wagon/wagon-file@1.0-beta-2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.wagon/wagon-file@1.0-beta-2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-file/1.0-beta-2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-file/1.0-beta-2/wagon-file-1.0-beta-2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-http-lightweight/1.0-alpha-5/wagon-http-lightweight-1.0-alpha-5.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-http-lightweight/1.0-alpha-5/wagon-http-lightweight-1.0-alpha-5.pom.package.json index 0fc8a930897..832f4167379 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-http-lightweight/1.0-alpha-5/wagon-http-lightweight-1.0-alpha-5.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-http-lightweight/1.0-alpha-5/wagon-http-lightweight-1.0-alpha-5.pom.package.json @@ -63,82 +63,83 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api", + "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api@1.0-alpha-5", "requirement": "1.0-alpha-5", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-8", "requirement": "1.0-alpha-8", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/servletapi/servletapi", + "purl": "pkg:maven/servletapi/servletapi@2.3", "requirement": "2.3", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/classworlds/classworlds", + "purl": "pkg:maven/classworlds/classworlds@1.1-alpha-2", "requirement": "1.1-alpha-2", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jetty/jetty", + "purl": "pkg:maven/jetty/jetty@4.2.10", "requirement": "4.2.10", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/plexus/plexus-jetty-httpd", + "purl": "pkg:maven/plexus/plexus-jetty-httpd@1.0-beta-1", "requirement": "1.0-beta-1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-test", + "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-test@1.0-alpha-5", "requirement": "1.0-alpha-5", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.wagon/wagon-http-lightweight@1.0-alpha-5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.wagon/wagon-http-lightweight@1.0-alpha-5", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-http-lightweight/1.0-alpha-5/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-http-lightweight/1.0-alpha-5/wagon-http-lightweight-1.0-alpha-5.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-http-lightweight/1.0-beta-2/wagon-http-lightweight-1.0-beta-2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-http-lightweight/1.0-beta-2/wagon-http-lightweight-1.0-beta-2.pom.package.json index 3cbe4edd32e..947d92ecb20 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-http-lightweight/1.0-beta-2/wagon-http-lightweight-1.0-beta-2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-http-lightweight/1.0-beta-2/wagon-http-lightweight-1.0-beta-2.pom.package.json @@ -27,34 +27,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven.wagon/wagon-http-shared", + "purl": "pkg:maven/org.apache.maven.wagon/wagon-http-shared@1.0-beta-2", "requirement": "1.0-beta-2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/xml-apis/xml-apis", + "purl": "pkg:maven/xml-apis/xml-apis@1.0.b2", "requirement": "1.0.b2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/plexus/plexus-jetty-httpd", + "purl": "pkg:maven/plexus/plexus-jetty-httpd@1.0-beta-1", "requirement": "1.0-beta-1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.wagon/wagon-http-lightweight@1.0-beta-2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.wagon/wagon-http-lightweight@1.0-beta-2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-http-lightweight/1.0-beta-2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-http-lightweight/1.0-beta-2/wagon-http-lightweight-1.0-beta-2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-http-shared/1.0-beta-2/wagon-http-shared-1.0-beta-2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-http-shared/1.0-beta-2/wagon-http-shared-1.0-beta-2.pom.package.json index 89c42f69ee6..410693bc83e 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-http-shared/1.0-beta-2/wagon-http-shared-1.0-beta-2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-http-shared/1.0-beta-2/wagon-http-shared-1.0-beta-2.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/jtidy/jtidy", + "purl": "pkg:maven/jtidy/jtidy@4aug2000r7-dev", "requirement": "4aug2000r7-dev", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.wagon/wagon-http-shared@1.0-beta-2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.wagon/wagon-http-shared@1.0-beta-2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-http-shared/1.0-beta-2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-http-shared/1.0-beta-2/wagon-http-shared-1.0-beta-2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-5/wagon-provider-api-1.0-alpha-5.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-5/wagon-provider-api-1.0-alpha-5.pom.package.json index d5e7160f704..b8540a1243b 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-5/wagon-provider-api-1.0-alpha-5.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-5/wagon-provider-api-1.0-alpha-5.pom.package.json @@ -63,26 +63,27 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.wagon/wagon-provider-api@1.0-alpha-5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api@1.0-alpha-5", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-5/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-5/wagon-provider-api-1.0-alpha-5.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-6/wagon-provider-api-1.0-alpha-6.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-6/wagon-provider-api-1.0-alpha-6.pom.package.json index c0cd10f943e..8fb8e4bf0e7 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-6/wagon-provider-api-1.0-alpha-6.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-6/wagon-provider-api-1.0-alpha-6.pom.package.json @@ -30,15 +30,16 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.wagon/wagon-provider-api@1.0-alpha-6?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api@1.0-alpha-6", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-6/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-6/wagon-provider-api-1.0-alpha-6.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/wagon-provider-api-1.0-beta-2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/wagon-provider-api-1.0-beta-2.pom.package.json index 39dd3048ed4..495a9f5a071 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/wagon-provider-api-1.0-beta-2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/wagon-provider-api-1.0-beta-2.pom.package.json @@ -30,15 +30,16 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.wagon/wagon-provider-api@1.0-beta-2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api@1.0-beta-2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/wagon-provider-api-1.0-beta-2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-providers/1.0-beta-2/wagon-providers-1.0-beta-2.pom.json b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-providers/1.0-beta-2/wagon-providers-1.0-beta-2.pom.json index b3923bcd3d9..180b5fa848e 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-providers/1.0-beta-2/wagon-providers-1.0-beta-2.pom.json +++ b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-providers/1.0-beta-2/wagon-providers-1.0-beta-2.pom.json @@ -57,6 +57,20 @@ "version": "latest.release", "required": true } + ], + "dependencyManagement": [ + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-ssh-common", + "version": "1.0-beta-2", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-ssh-common-test", + "version": "1.0-beta-2", + "required": true + } ] } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-providers/1.0-beta-2/wagon-providers-1.0-beta-2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-providers/1.0-beta-2/wagon-providers-1.0-beta-2.pom.package.json index 057f8eab014..f5e999d3be5 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-providers/1.0-beta-2/wagon-providers-1.0-beta-2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-providers/1.0-beta-2/wagon-providers-1.0-beta-2.pom.package.json @@ -32,21 +32,38 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api", "requirement": null, "scope": "compile", - "is_runtime": true, + "is_runtime": false, + "is_optional": true, + "is_resolved": null + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-ssh-common@1.0-beta-2", + "requirement": "1.0-beta-2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-ssh-common-test@1.0-beta-2", + "requirement": "1.0-beta-2", + "scope": "dependencymanagement", + "is_runtime": false, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.wagon/wagon-providers@1.0-beta-2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.wagon/wagon-providers@1.0-beta-2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-providers/1.0-beta-2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-providers/1.0-beta-2/wagon-providers-1.0-beta-2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-ssh-common/1.0-beta-2/wagon-ssh-common-1.0-beta-2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-ssh-common/1.0-beta-2/wagon-ssh-common-1.0-beta-2.pom.package.json index 1cd1ed81b62..4063ef18a8c 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-ssh-common/1.0-beta-2/wagon-ssh-common-1.0-beta-2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-ssh-common/1.0-beta-2/wagon-ssh-common-1.0-beta-2.pom.package.json @@ -30,23 +30,24 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-interactivity-api", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.wagon/wagon-ssh-common@1.0-beta-2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.wagon/wagon-ssh-common@1.0-beta-2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-ssh-common/1.0-beta-2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-ssh-common/1.0-beta-2/wagon-ssh-common-1.0-beta-2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-ssh-external/1.0-beta-2/wagon-ssh-external-1.0-beta-2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-ssh-external/1.0-beta-2/wagon-ssh-external-1.0-beta-2.pom.package.json index 5c9dcdebbed..f5d210b2d28 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-ssh-external/1.0-beta-2/wagon-ssh-external-1.0-beta-2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-ssh-external/1.0-beta-2/wagon-ssh-external-1.0-beta-2.pom.package.json @@ -30,17 +30,17 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.wagon/wagon-ssh-common", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.wagon/wagon-ssh-common-test", @@ -48,13 +48,14 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.wagon/wagon-ssh-external@1.0-beta-2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.wagon/wagon-ssh-external@1.0-beta-2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-ssh-external/1.0-beta-2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-ssh-external/1.0-beta-2/wagon-ssh-external-1.0-beta-2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-ssh/1.0-alpha-5/wagon-ssh-1.0-alpha-5.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-ssh/1.0-alpha-5/wagon-ssh-1.0-alpha-5.pom.package.json index 805a94a109e..2ebd5b98894 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-ssh/1.0-alpha-5/wagon-ssh-1.0-alpha-5.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-ssh/1.0-alpha-5/wagon-ssh-1.0-alpha-5.pom.package.json @@ -63,82 +63,83 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/com.jcraft/jsch", + "purl": "pkg:maven/com.jcraft/jsch@0.1.23", "requirement": "0.1.23", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api", + "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api@1.0-alpha-5", "requirement": "1.0-alpha-5", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-8", "requirement": "1.0-alpha-8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/classworlds/classworlds", + "purl": "pkg:maven/classworlds/classworlds@1.1-alpha-2", "requirement": "1.1-alpha-2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/plexus/plexus-utils", + "purl": "pkg:maven/plexus/plexus-utils@1.0.2", "requirement": "1.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-interactivity-api", + "purl": "pkg:maven/org.codehaus.plexus/plexus-interactivity-api@1.0-alpha-4", "requirement": "1.0-alpha-4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-test", + "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-test@1.0-alpha-5", "requirement": "1.0-alpha-5", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.wagon/wagon-ssh@1.0-alpha-5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.wagon/wagon-ssh@1.0-alpha-5", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-ssh/1.0-alpha-5/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-ssh/1.0-alpha-5/wagon-ssh-1.0-alpha-5.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-ssh/1.0-beta-2/wagon-ssh-1.0-beta-2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-ssh/1.0-beta-2/wagon-ssh-1.0-beta-2.pom.package.json index 6727c07dde8..02f6f0b5ea4 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-ssh/1.0-beta-2/wagon-ssh-1.0-beta-2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon-ssh/1.0-beta-2/wagon-ssh-1.0-beta-2.pom.package.json @@ -27,36 +27,36 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/com.jcraft/jsch", + "purl": "pkg:maven/com.jcraft/jsch@0.1.27", "requirement": "0.1.27", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-interactivity-api", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.wagon/wagon-ssh-common", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.wagon/wagon-ssh-common-test", @@ -64,13 +64,14 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.wagon/wagon-ssh@1.0-beta-2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.wagon/wagon-ssh@1.0-beta-2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-ssh/1.0-beta-2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-ssh/1.0-beta-2/wagon-ssh-1.0-beta-2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon/1.0-alpha-6/wagon-1.0-alpha-6.pom.json b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon/1.0-alpha-6/wagon-1.0-alpha-6.pom.json index 08ca41b7d74..f1fd464ef7d 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon/1.0-alpha-6/wagon-1.0-alpha-6.pom.json +++ b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon/1.0-alpha-6/wagon-1.0-alpha-6.pom.json @@ -109,6 +109,38 @@ "version": "3.8.1", "required": true } + ], + "dependencyManagement": [ + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-provider-api", + "version": "1.0-alpha-6", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-provider-test", + "version": "1.0-alpha-6", + "required": true + }, + { + "group_id": "junit", + "artifact_id": "junit", + "version": "3.8.1", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-container-default", + "version": "1.0-alpha-8", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-utils", + "version": "1.0.4", + "required": true + } ] } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon/1.0-alpha-6/wagon-1.0-alpha-6.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon/1.0-alpha-6/wagon-1.0-alpha-6.pom.package.json index 1b904f501ef..e1ab1338428 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon/1.0-alpha-6/wagon-1.0-alpha-6.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon/1.0-alpha-6/wagon-1.0-alpha-6.pom.package.json @@ -63,18 +63,59 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api@1.0-alpha-6", + "requirement": "1.0-alpha-6", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-test@1.0-alpha-6", + "requirement": "1.0-alpha-6", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/junit/junit@3.8.1", + "requirement": "3.8.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-8", + "requirement": "1.0-alpha-8", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.0.4", + "requirement": "1.0.4", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.wagon/wagon@1.0-alpha-6?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.wagon/wagon@1.0-alpha-6", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon/1.0-alpha-6/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon/1.0-alpha-6/wagon-1.0-alpha-6.jar", diff --git a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon/1.0-beta-2/wagon-1.0-beta-2.pom.json b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon/1.0-beta-2/wagon-1.0-beta-2.pom.json index f779febfae7..17072f9739f 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon/1.0-beta-2/wagon-1.0-beta-2.pom.json +++ b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon/1.0-beta-2/wagon-1.0-beta-2.pom.json @@ -74,6 +74,56 @@ "version": "3.8.1", "required": true } + ], + "dependencyManagement": [ + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-provider-api", + "version": "1.0-beta-2", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-provider-test", + "version": "1.0-beta-2", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-ssh-common-test", + "version": "1.0-beta-2", + "required": true + }, + { + "group_id": "org.apache.maven.wagon", + "artifact_id": "wagon-ssh-common", + "version": "1.0-beta-2", + "required": true + }, + { + "group_id": "junit", + "artifact_id": "junit", + "version": "3.8.1", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-interactivity-api", + "version": "1.0-alpha-4", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-container-default", + "version": "1.0-alpha-8", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-utils", + "version": "1.0.4", + "required": true + } ] } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon/1.0-beta-2/wagon-1.0-beta-2.pom.package.json b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon/1.0-beta-2/wagon-1.0-beta-2.pom.package.json index ced6f4c4474..88035f8ed72 100644 --- a/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon/1.0-beta-2/wagon-1.0-beta-2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/maven/wagon/wagon/1.0-beta-2/wagon-1.0-beta-2.pom.package.json @@ -35,18 +35,83 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-api@1.0-beta-2", + "requirement": "1.0-beta-2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-provider-test@1.0-beta-2", + "requirement": "1.0-beta-2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-ssh-common-test@1.0-beta-2", + "requirement": "1.0-beta-2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.wagon/wagon-ssh-common@1.0-beta-2", + "requirement": "1.0-beta-2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/junit/junit@3.8.1", + "requirement": "3.8.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-interactivity-api@1.0-alpha-4", + "requirement": "1.0-alpha-4", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-8", + "requirement": "1.0-alpha-8", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.0.4", + "requirement": "1.0.4", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.maven.wagon/wagon@1.0-beta-2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.maven.wagon/wagon@1.0-beta-2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon/1.0-beta-2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon/1.0-beta-2/wagon-1.0-beta-2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/mina/build/1.1.1/build-1.1.1.pom.package.json b/tests/packagedcode/data/m2/org/apache/mina/build/1.1.1/build-1.1.1.pom.package.json index 6a07b59e186..31c1e548879 100644 --- a/tests/packagedcode/data/m2/org/apache/mina/build/1.1.1/build-1.1.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/mina/build/1.1.1/build-1.1.1.pom.package.json @@ -42,18 +42,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.mina/build@1.1.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.mina/build@1.1.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/mina/build/1.1.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/mina/build/1.1.1/build-1.1.1.jar", diff --git a/tests/packagedcode/data/m2/org/apache/mina/mina-core/1.1.1/mina-core-1.1.1.pom.package.json b/tests/packagedcode/data/m2/org/apache/mina/mina-core/1.1.1/mina-core-1.1.1.pom.package.json index 540b8bf5821..485ce18ef79 100644 --- a/tests/packagedcode/data/m2/org/apache/mina/mina-core/1.1.1/mina-core-1.1.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/mina/mina-core/1.1.1/mina-core-1.1.1.pom.package.json @@ -27,34 +27,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.slf4j/slf4j-api", + "purl": "pkg:maven/org.slf4j/slf4j-api@1.4.2", "requirement": "1.4.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.slf4j/slf4j-simple", + "purl": "pkg:maven/org.slf4j/slf4j-simple@1.4.2", "requirement": "1.4.2", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/easymock/easymock", + "purl": "pkg:maven/easymock/easymock@1.2_Java1.3", "requirement": "1.2_Java1.3", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.mina/mina-core@1.1.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.mina/mina-core@1.1.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/mina/mina-core/1.1.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/mina/mina-core/1.1.1/mina-core-1.1.1.jar", diff --git a/tests/packagedcode/data/m2/org/apache/myfaces/core/myfaces-api/1.1.5/myfaces-api-1.1.5.pom.package.json b/tests/packagedcode/data/m2/org/apache/myfaces/core/myfaces-api/1.1.5/myfaces-api-1.1.5.pom.package.json index 6b6cf41fd9d..897ac3b037d 100644 --- a/tests/packagedcode/data/m2/org/apache/myfaces/core/myfaces-api/1.1.5/myfaces-api-1.1.5.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/myfaces/core/myfaces-api/1.1.5/myfaces-api-1.1.5.pom.package.json @@ -27,98 +27,99 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/commons-lang/commons-lang", + "purl": "pkg:maven/commons-lang/commons-lang@2.1", "requirement": "2.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-beanutils/commons-beanutils", + "purl": "pkg:maven/commons-beanutils/commons-beanutils@1.7.0", "requirement": "1.7.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/jstl", + "purl": "pkg:maven/javax.servlet/jstl@1.1.0", "requirement": "1.1.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-digester/commons-digester", + "purl": "pkg:maven/commons-digester/commons-digester@1.6", "requirement": "1.6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/easymock/easymockclassextension", + "purl": "pkg:maven/easymock/easymockclassextension@1.1", "requirement": "1.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.struts.shale/shale-test", + "purl": "pkg:maven/org.apache.struts.shale/shale-test@1.0.2", "requirement": "1.0.2", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/easymock/easymock", + "purl": "pkg:maven/easymock/easymock@1.1", "requirement": "1.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/aspectj/aspectjrt", + "purl": "pkg:maven/aspectj/aspectjrt@1.2.1", "requirement": "1.2.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/servlet-api", + "purl": "pkg:maven/javax.servlet/servlet-api@2.3", "requirement": "2.3", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/jsp-api", + "purl": "pkg:maven/javax.servlet/jsp-api@2.0", "requirement": "2.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.myfaces.core/myfaces-api@1.1.5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.myfaces.core/myfaces-api@1.1.5", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/myfaces/core/myfaces-api/1.1.5/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/myfaces/core/myfaces-api/1.1.5/myfaces-api-1.1.5.jar", diff --git a/tests/packagedcode/data/m2/org/apache/myfaces/core/myfaces-core-project/1.1.5/myfaces-core-project-1.1.5.pom.package.json b/tests/packagedcode/data/m2/org/apache/myfaces/core/myfaces-core-project/1.1.5/myfaces-core-project-1.1.5.pom.package.json index e41ec642a52..c9fbba972c9 100644 --- a/tests/packagedcode/data/m2/org/apache/myfaces/core/myfaces-core-project/1.1.5/myfaces-core-project-1.1.5.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/myfaces/core/myfaces-core-project/1.1.5/myfaces-core-project-1.1.5.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.apache.myfaces.core/myfaces-core-project@1.1.5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.myfaces.core/myfaces-core-project@1.1.5", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/myfaces/core/myfaces-core-project/1.1.5/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/myfaces/core/myfaces-core-project/1.1.5/myfaces-core-project-1.1.5.jar", diff --git a/tests/packagedcode/data/m2/org/apache/myfaces/core/myfaces-impl/1.1.5/myfaces-impl-1.1.5.pom.package.json b/tests/packagedcode/data/m2/org/apache/myfaces/core/myfaces-impl/1.1.5/myfaces-impl-1.1.5.pom.package.json index e595f4d9a0a..8859d83bf7a 100644 --- a/tests/packagedcode/data/m2/org/apache/myfaces/core/myfaces-impl/1.1.5/myfaces-impl-1.1.5.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/myfaces/core/myfaces-impl/1.1.5/myfaces-impl-1.1.5.pom.package.json @@ -27,98 +27,99 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/javax.servlet/servlet-api", + "purl": "pkg:maven/javax.servlet/servlet-api@2.3", "requirement": "2.3", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.myfaces.core/myfaces-api", + "purl": "pkg:maven/org.apache.myfaces.core/myfaces-api@1.1.5", "requirement": "1.1.5", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/jsp-api", + "purl": "pkg:maven/javax.servlet/jsp-api@2.0", "requirement": "2.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.myfaces.shared/myfaces-shared-impl", + "purl": "pkg:maven/org.apache.myfaces.shared/myfaces-shared-impl@2.0.5", "requirement": "2.0.5", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/portlet-api/portlet-api", + "purl": "pkg:maven/portlet-api/portlet-api@1.0", "requirement": "1.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-el/commons-el", + "purl": "pkg:maven/commons-el/commons-el@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-collections/commons-collections", + "purl": "pkg:maven/commons-collections/commons-collections@3.1", "requirement": "3.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-codec/commons-codec", + "purl": "pkg:maven/commons-codec/commons-codec@1.3", "requirement": "1.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.struts.shale/shale-test", + "purl": "pkg:maven/org.apache.struts.shale/shale-test@1.0.2", "requirement": "1.0.2", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/cactus/cactus", + "purl": "pkg:maven/cactus/cactus@13-1.7.1", "requirement": "13-1.7.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.myfaces.core/myfaces-impl@1.1.5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.myfaces.core/myfaces-impl@1.1.5", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/myfaces/core/myfaces-impl/1.1.5/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/myfaces/core/myfaces-impl/1.1.5/myfaces-impl-1.1.5.jar", diff --git a/tests/packagedcode/data/m2/org/apache/myfaces/maven/myfaces-master/1.0.5/myfaces-master-1.0.5.pom.package.json b/tests/packagedcode/data/m2/org/apache/myfaces/maven/myfaces-master/1.0.5/myfaces-master-1.0.5.pom.package.json index aefcae97621..7fc4dc4610f 100644 --- a/tests/packagedcode/data/m2/org/apache/myfaces/maven/myfaces-master/1.0.5/myfaces-master-1.0.5.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/myfaces/maven/myfaces-master/1.0.5/myfaces-master-1.0.5.pom.package.json @@ -301,18 +301,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.myfaces.maven/myfaces-master@1.0.5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.myfaces.maven/myfaces-master@1.0.5", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/myfaces/maven/myfaces-master/1.0.5/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/myfaces/maven/myfaces-master/1.0.5/myfaces-master-1.0.5.jar", diff --git a/tests/packagedcode/data/m2/org/apache/myfaces/tomahawk/tomahawk-project/1.1.5/tomahawk-project-1.1.5.pom.json b/tests/packagedcode/data/m2/org/apache/myfaces/tomahawk/tomahawk-project/1.1.5/tomahawk-project-1.1.5.pom.json index 672efcbe38e..f3a41fa9836 100644 --- a/tests/packagedcode/data/m2/org/apache/myfaces/tomahawk/tomahawk-project/1.1.5/tomahawk-project-1.1.5.pom.json +++ b/tests/packagedcode/data/m2/org/apache/myfaces/tomahawk/tomahawk-project/1.1.5/tomahawk-project-1.1.5.pom.json @@ -51,5 +51,26 @@ } ], "plugin_repositories": [], - "dependencies": {} + "dependencies": { + "dependencyManagement": [ + { + "group_id": "org.apache.myfaces.core", + "artifact_id": "myfaces-api", + "version": "1.1.5", + "required": true + }, + { + "group_id": "org.apache.myfaces.core", + "artifact_id": "myfaces-impl", + "version": "1.1.5", + "required": true + }, + { + "group_id": "org.apache.myfaces.shared", + "artifact_id": "myfaces-shared-tomahawk", + "version": "2.0.5", + "required": true + } + ] + } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/apache/myfaces/tomahawk/tomahawk-project/1.1.5/tomahawk-project-1.1.5.pom.package.json b/tests/packagedcode/data/m2/org/apache/myfaces/tomahawk/tomahawk-project/1.1.5/tomahawk-project-1.1.5.pom.package.json index 1cd5e9e9031..9b67a5e1e07 100644 --- a/tests/packagedcode/data/m2/org/apache/myfaces/tomahawk/tomahawk-project/1.1.5/tomahawk-project-1.1.5.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/myfaces/tomahawk/tomahawk-project/1.1.5/tomahawk-project-1.1.5.pom.package.json @@ -25,11 +25,37 @@ "declared_license": null, "notice_text": null, "root_path": null, - "dependencies": [], + "dependencies": [ + { + "purl": "pkg:maven/org.apache.myfaces.core/myfaces-api@1.1.5", + "requirement": "1.1.5", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.myfaces.core/myfaces-impl@1.1.5", + "requirement": "1.1.5", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.myfaces.shared/myfaces-shared-tomahawk@2.0.5", + "requirement": "2.0.5", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + } + ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.myfaces.tomahawk/tomahawk-project@1.1.5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.myfaces.tomahawk/tomahawk-project@1.1.5", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/myfaces/tomahawk/tomahawk-project/1.1.5/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/myfaces/tomahawk/tomahawk-project/1.1.5/tomahawk-project-1.1.5.jar", diff --git a/tests/packagedcode/data/m2/org/apache/myfaces/tomahawk/tomahawk/1.1.5/tomahawk-1.1.5.pom.package.json b/tests/packagedcode/data/m2/org/apache/myfaces/tomahawk/tomahawk/1.1.5/tomahawk-1.1.5.pom.package.json index f638a7a849d..96012261ff2 100644 --- a/tests/packagedcode/data/m2/org/apache/myfaces/tomahawk/tomahawk/1.1.5/tomahawk-1.1.5.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/myfaces/tomahawk/tomahawk/1.1.5/tomahawk-1.1.5.pom.package.json @@ -27,84 +27,84 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-validator/commons-validator", + "purl": "pkg:maven/commons-validator/commons-validator@1.3.1", "requirement": "1.3.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-fileupload/commons-fileupload", + "purl": "pkg:maven/commons-fileupload/commons-fileupload@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-collections/commons-collections", + "purl": "pkg:maven/commons-collections/commons-collections@3.1", "requirement": "3.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/struts/struts", + "purl": "pkg:maven/struts/struts@1.2.9", "requirement": "1.2.9", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-el/commons-el", + "purl": "pkg:maven/commons-el/commons-el@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-codec/commons-codec", + "purl": "pkg:maven/commons-codec/commons-codec@1.3", "requirement": "1.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/oro/oro", + "purl": "pkg:maven/oro/oro@2.0.8", "requirement": "2.0.8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-lang/commons-lang", + "purl": "pkg:maven/commons-lang/commons-lang@2.1", "requirement": "2.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/jstl", + "purl": "pkg:maven/javax.servlet/jstl@1.1.0", "requirement": "1.1.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.apache.myfaces.core/myfaces-api", @@ -112,7 +112,7 @@ "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": null }, { "purl": "pkg:maven/org.apache.myfaces.shared/myfaces-shared-tomahawk", @@ -120,31 +120,31 @@ "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": null }, { - "purl": "pkg:maven/javax.servlet/jsp-api", + "purl": "pkg:maven/javax.servlet/jsp-api@2.0", "requirement": "2.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/servlet-api", + "purl": "pkg:maven/javax.servlet/servlet-api@2.3", "requirement": "2.3", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/portlet-api/portlet-api", + "purl": "pkg:maven/portlet-api/portlet-api@1.0", "requirement": "1.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { "purl": "pkg:maven/org.apache.myfaces.core/myfaces-impl", @@ -152,77 +152,78 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null }, { - "purl": "pkg:maven/cactus/cactus", + "purl": "pkg:maven/cactus/cactus@13-1.7.1", "requirement": "13-1.7.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/aspectj/aspectjrt", + "purl": "pkg:maven/aspectj/aspectjrt@1.2.1", "requirement": "1.2.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/easymock/easymock", + "purl": "pkg:maven/easymock/easymock@1.1", "requirement": "1.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/easymock/easymockclassextension", + "purl": "pkg:maven/easymock/easymockclassextension@1.1", "requirement": "1.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.shale/shale-test", + "purl": "pkg:maven/org.apache.shale/shale-test@1.0.3", "requirement": "1.0.3", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jmock/jmock", + "purl": "pkg:maven/jmock/jmock@1.0.1", "requirement": "1.0.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jmock/jmock-cglib", + "purl": "pkg:maven/jmock/jmock-cglib@1.0.1", "requirement": "1.0.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/maven-taglib/maven-taglib-plugin", + "purl": "pkg:maven/maven-taglib/maven-taglib-plugin@1.4.2", "requirement": "1.4.2", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.myfaces.tomahawk/tomahawk@1.1.5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.myfaces.tomahawk/tomahawk@1.1.5", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/myfaces/tomahawk/tomahawk/1.1.5/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/myfaces/tomahawk/tomahawk/1.1.5/tomahawk-1.1.5.jar", diff --git a/tests/packagedcode/data/m2/org/apache/shale/shale-master/2/shale-master-2.pom.package.json b/tests/packagedcode/data/m2/org/apache/shale/shale-master/2/shale-master-2.pom.package.json index 06aa3840850..8900c8b4e58 100644 --- a/tests/packagedcode/data/m2/org/apache/shale/shale-master/2/shale-master-2.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/shale/shale-master/2/shale-master-2.pom.package.json @@ -318,6 +318,7 @@ "source_packages": [ "pkg:maven/org.apache.shale/shale-master@2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.shale/shale-master@2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/shale/shale-master/2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/shale/shale-master/2/shale-master-2.jar", diff --git a/tests/packagedcode/data/m2/org/apache/shale/shale-parent/1.0.4/shale-parent-1.0.4.pom.json b/tests/packagedcode/data/m2/org/apache/shale/shale-parent/1.0.4/shale-parent-1.0.4.pom.json index ede562a6271..531c95a7eb7 100644 --- a/tests/packagedcode/data/m2/org/apache/shale/shale-parent/1.0.4/shale-parent-1.0.4.pom.json +++ b/tests/packagedcode/data/m2/org/apache/shale/shale-parent/1.0.4/shale-parent-1.0.4.pom.json @@ -62,5 +62,92 @@ } ], "plugin_repositories": [], - "dependencies": {} + "dependencies": { + "dependencyManagement": [ + { + "group_id": "antlr", + "artifact_id": "antlr", + "version": "2.7.2", + "required": true + }, + { + "group_id": "commons-chain", + "artifact_id": "commons-chain", + "version": "1.1", + "required": true + }, + { + "group_id": "commons-digester", + "artifact_id": "commons-digester", + "version": "1.8", + "required": true + }, + { + "group_id": "commons-logging", + "artifact_id": "commons-logging", + "version": "1.1", + "required": true + }, + { + "group_id": "commons-validator", + "artifact_id": "commons-validator", + "version": "1.3.1", + "required": true + }, + { + "group_id": "htmlunit", + "artifact_id": "htmlunit", + "version": "1.8", + "required": true + }, + { + "group_id": "javax.portlet", + "artifact_id": "portlet-api", + "version": "1.0", + "required": true + }, + { + "group_id": "javax.servlet", + "artifact_id": "jsp-api", + "version": "2.0", + "required": true + }, + { + "group_id": "javax.servlet", + "artifact_id": "jstl", + "version": "1.1.2", + "required": true + }, + { + "group_id": "javax.servlet", + "artifact_id": "servlet-api", + "version": "2.4", + "required": true + }, + { + "group_id": "junit", + "artifact_id": "junit", + "version": "3.8.1", + "required": true + }, + { + "group_id": "org.apache.myfaces.core", + "artifact_id": "myfaces-api", + "version": "1.1.4", + "required": true + }, + { + "group_id": "oro", + "artifact_id": "oro", + "version": "2.0.8", + "required": true + }, + { + "group_id": "taglibs", + "artifact_id": "standard", + "version": "1.1.2", + "required": true + } + ] + } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/apache/shale/shale-parent/1.0.4/shale-parent-1.0.4.pom.package.json b/tests/packagedcode/data/m2/org/apache/shale/shale-parent/1.0.4/shale-parent-1.0.4.pom.package.json index ce3722e6aeb..d2c4972130f 100644 --- a/tests/packagedcode/data/m2/org/apache/shale/shale-parent/1.0.4/shale-parent-1.0.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/shale/shale-parent/1.0.4/shale-parent-1.0.4.pom.package.json @@ -25,11 +25,125 @@ "declared_license": null, "notice_text": null, "root_path": null, - "dependencies": [], + "dependencies": [ + { + "purl": "pkg:maven/antlr/antlr@2.7.2", + "requirement": "2.7.2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/commons-chain/commons-chain@1.1", + "requirement": "1.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/commons-digester/commons-digester@1.8", + "requirement": "1.8", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/commons-logging/commons-logging@1.1", + "requirement": "1.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/commons-validator/commons-validator@1.3.1", + "requirement": "1.3.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/htmlunit/htmlunit@1.8", + "requirement": "1.8", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/javax.portlet/portlet-api@1.0", + "requirement": "1.0", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/javax.servlet/jsp-api@2.0", + "requirement": "2.0", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/javax.servlet/jstl@1.1.2", + "requirement": "1.1.2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/javax.servlet/servlet-api@2.4", + "requirement": "2.4", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/junit/junit@3.8.1", + "requirement": "3.8.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.myfaces.core/myfaces-api@1.1.4", + "requirement": "1.1.4", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/oro/oro@2.0.8", + "requirement": "2.0.8", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/taglibs/standard@1.1.2", + "requirement": "1.1.2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + } + ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.shale/shale-parent@1.0.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.shale/shale-parent@1.0.4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/shale/shale-parent/1.0.4/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/shale/shale-parent/1.0.4/shale-parent-1.0.4.jar", diff --git a/tests/packagedcode/data/m2/org/apache/shale/shale-test/1.0.4/shale-test-1.0.4.pom.package.json b/tests/packagedcode/data/m2/org/apache/shale/shale-test/1.0.4/shale-test-1.0.4.pom.package.json index 40d9ef74ef3..7f8bf1ab648 100644 --- a/tests/packagedcode/data/m2/org/apache/shale/shale-test/1.0.4/shale-test-1.0.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/shale/shale-test/1.0.4/shale-test-1.0.4.pom.package.json @@ -30,55 +30,56 @@ "purl": "pkg:maven/htmlunit/htmlunit", "requirement": null, "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null }, { - "purl": "pkg:maven/jmock/jmock", + "purl": "pkg:maven/jmock/jmock@1.0.1", "requirement": "1.0.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jmock/jmock-cglib", + "purl": "pkg:maven/jmock/jmock-cglib@1.0.1", "requirement": "1.0.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.cargo/cargo-core-uberjar", + "purl": "pkg:maven/org.codehaus.cargo/cargo-core-uberjar@0.8", "requirement": "0.8", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.cargo/cargo-ant", + "purl": "pkg:maven/org.codehaus.cargo/cargo-ant@0.8", "requirement": "0.8", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.shale/shale-test@1.0.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.shale/shale-test@1.0.4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/shale/shale-test/1.0.4/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/shale/shale-test/1.0.4/shale-test-1.0.4.jar", diff --git a/tests/packagedcode/data/m2/org/apache/velocity/velocity/1.5/velocity-1.5.pom.package.json b/tests/packagedcode/data/m2/org/apache/velocity/velocity/1.5/velocity-1.5.pom.package.json index 36665f74560..036a8b54739 100644 --- a/tests/packagedcode/data/m2/org/apache/velocity/velocity/1.5/velocity-1.5.pom.package.json +++ b/tests/packagedcode/data/m2/org/apache/velocity/velocity/1.5/velocity-1.5.pom.package.json @@ -77,82 +77,83 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/commons-collections/commons-collections", + "purl": "pkg:maven/commons-collections/commons-collections@3.1", "requirement": "3.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-lang/commons-lang", + "purl": "pkg:maven/commons-lang/commons-lang@2.1", "requirement": "2.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/oro/oro", + "purl": "pkg:maven/oro/oro@2.0.8", "requirement": "2.0.8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/jdom/jdom", + "purl": "pkg:maven/jdom/jdom@1.0", "requirement": "1.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/log4j/log4j", + "purl": "pkg:maven/log4j/log4j@1.2.12", "requirement": "1.2.12", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/servlet-api", + "purl": "pkg:maven/javax.servlet/servlet-api@2.3", "requirement": "2.3", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/logkit/logkit", + "purl": "pkg:maven/logkit/logkit@2.0", "requirement": "2.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/ant/ant", + "purl": "pkg:maven/ant/ant@1.6", "requirement": "1.6", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/werken-xpath/werken-xpath", + "purl": "pkg:maven/werken-xpath/werken-xpath@0.9.4", "requirement": "0.9.4", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.velocity/velocity@1.5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.velocity/velocity@1.5", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/velocity/velocity/1.5/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/velocity/velocity/1.5/velocity-1.5.jar", diff --git a/tests/packagedcode/data/m2/org/aspectj/aspectjrt/1.5.4/aspectjrt-1.5.4.pom.package.json b/tests/packagedcode/data/m2/org/aspectj/aspectjrt/1.5.4/aspectjrt-1.5.4.pom.package.json index 11aea14f697..6f6ffba4738 100644 --- a/tests/packagedcode/data/m2/org/aspectj/aspectjrt/1.5.4/aspectjrt-1.5.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/aspectj/aspectjrt/1.5.4/aspectjrt-1.5.4.pom.package.json @@ -37,6 +37,7 @@ "source_packages": [ "pkg:maven/org.aspectj/aspectjrt@1.5.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.aspectj/aspectjrt@1.5.4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/aspectj/aspectjrt/1.5.4/", "repository_download_url": "https://repo1.maven.org/maven2/org/aspectj/aspectjrt/1.5.4/aspectjrt-1.5.4.jar", diff --git a/tests/packagedcode/data/m2/org/aspectj/aspectjrt/1.6.0/aspectjrt-1.6.0.pom.package.json b/tests/packagedcode/data/m2/org/aspectj/aspectjrt/1.6.0/aspectjrt-1.6.0.pom.package.json index 2cd37ad1a6a..363cfeaf3d8 100644 --- a/tests/packagedcode/data/m2/org/aspectj/aspectjrt/1.6.0/aspectjrt-1.6.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/aspectj/aspectjrt/1.6.0/aspectjrt-1.6.0.pom.package.json @@ -37,6 +37,7 @@ "source_packages": [ "pkg:maven/org.aspectj/aspectjrt@1.6.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.aspectj/aspectjrt@1.6.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/aspectj/aspectjrt/1.6.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/aspectj/aspectjrt/1.6.0/aspectjrt-1.6.0.jar", diff --git a/tests/packagedcode/data/m2/org/aspectj/aspectjtools/1.5.4/aspectjtools-1.5.4.pom.package.json b/tests/packagedcode/data/m2/org/aspectj/aspectjtools/1.5.4/aspectjtools-1.5.4.pom.package.json index d442b75076c..7b64e904ba3 100644 --- a/tests/packagedcode/data/m2/org/aspectj/aspectjtools/1.5.4/aspectjtools-1.5.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/aspectj/aspectjtools/1.5.4/aspectjtools-1.5.4.pom.package.json @@ -37,6 +37,7 @@ "source_packages": [ "pkg:maven/org.aspectj/aspectjtools@1.5.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.aspectj/aspectjtools@1.5.4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/aspectj/aspectjtools/1.5.4/", "repository_download_url": "https://repo1.maven.org/maven2/org/aspectj/aspectjtools/1.5.4/aspectjtools-1.5.4.jar", diff --git a/tests/packagedcode/data/m2/org/aspectj/aspectjtools/1.6.0/aspectjtools-1.6.0.pom.package.json b/tests/packagedcode/data/m2/org/aspectj/aspectjtools/1.6.0/aspectjtools-1.6.0.pom.package.json index a665e24ccf8..277bc826ea4 100644 --- a/tests/packagedcode/data/m2/org/aspectj/aspectjtools/1.6.0/aspectjtools-1.6.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/aspectj/aspectjtools/1.6.0/aspectjtools-1.6.0.pom.package.json @@ -37,6 +37,7 @@ "source_packages": [ "pkg:maven/org.aspectj/aspectjtools@1.6.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.aspectj/aspectjtools@1.6.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/aspectj/aspectjtools/1.6.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/aspectj/aspectjtools/1.6.0/aspectjtools-1.6.0.jar", diff --git a/tests/packagedcode/data/m2/org/aspectj/aspectjweaver/1.5.4/aspectjweaver-1.5.4.pom.package.json b/tests/packagedcode/data/m2/org/aspectj/aspectjweaver/1.5.4/aspectjweaver-1.5.4.pom.package.json index bc8c2a570e9..d636dd0846e 100644 --- a/tests/packagedcode/data/m2/org/aspectj/aspectjweaver/1.5.4/aspectjweaver-1.5.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/aspectj/aspectjweaver/1.5.4/aspectjweaver-1.5.4.pom.package.json @@ -37,6 +37,7 @@ "source_packages": [ "pkg:maven/org.aspectj/aspectjweaver@1.5.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.aspectj/aspectjweaver@1.5.4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/aspectj/aspectjweaver/1.5.4/", "repository_download_url": "https://repo1.maven.org/maven2/org/aspectj/aspectjweaver/1.5.4/aspectjweaver-1.5.4.jar", diff --git a/tests/packagedcode/data/m2/org/aspectj/aspectjweaver/1.6.0/aspectjweaver-1.6.0.pom.package.json b/tests/packagedcode/data/m2/org/aspectj/aspectjweaver/1.6.0/aspectjweaver-1.6.0.pom.package.json index 7e3a8a2656f..723157beb24 100644 --- a/tests/packagedcode/data/m2/org/aspectj/aspectjweaver/1.6.0/aspectjweaver-1.6.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/aspectj/aspectjweaver/1.6.0/aspectjweaver-1.6.0.pom.package.json @@ -37,6 +37,7 @@ "source_packages": [ "pkg:maven/org.aspectj/aspectjweaver@1.6.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.aspectj/aspectjweaver@1.6.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/aspectj/aspectjweaver/1.6.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/aspectj/aspectjweaver/1.6.0/aspectjweaver-1.6.0.jar", diff --git a/tests/packagedcode/data/m2/org/bouncycastle/bcprov/1.37/bcprov-1.37.pom.package.json b/tests/packagedcode/data/m2/org/bouncycastle/bcprov/1.37/bcprov-1.37.pom.package.json index 23b4b540ab6..28a9735561c 100644 --- a/tests/packagedcode/data/m2/org/bouncycastle/bcprov/1.37/bcprov-1.37.pom.package.json +++ b/tests/packagedcode/data/m2/org/bouncycastle/bcprov/1.37/bcprov-1.37.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.bouncycastle/bcprov@1.37?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.bouncycastle/bcprov@1.37", "repository_homepage_url": "https://repo1.maven.org/maven2/org/bouncycastle/bcprov/1.37/", "repository_download_url": "https://repo1.maven.org/maven2/org/bouncycastle/bcprov/1.37/bcprov-1.37.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-extensions-maven2/1.0-SNAPSHOT/cargo-extensions-maven2-1.0-20090219.165735-19.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-extensions-maven2/1.0-SNAPSHOT/cargo-extensions-maven2-1.0-20090219.165735-19.pom.package.json index a241c5de9aa..0638954e99a 100644 --- a/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-extensions-maven2/1.0-SNAPSHOT/cargo-extensions-maven2-1.0-20090219.165735-19.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-extensions-maven2/1.0-SNAPSHOT/cargo-extensions-maven2-1.0-20090219.165735-19.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.codehaus.cargo/cargo-extensions-maven2@1.0-SNAPSHOT?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.cargo/cargo-extensions-maven2@1.0-SNAPSHOT", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/cargo/cargo-extensions-maven2/1.0-SNAPSHOT/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/cargo/cargo-extensions-maven2/1.0-SNAPSHOT/cargo-extensions-maven2-1.0-SNAPSHOT.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-extensions-maven2/1.0-SNAPSHOT/cargo-extensions-maven2-1.0-SNAPSHOT.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-extensions-maven2/1.0-SNAPSHOT/cargo-extensions-maven2-1.0-SNAPSHOT.pom.package.json index a241c5de9aa..0638954e99a 100644 --- a/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-extensions-maven2/1.0-SNAPSHOT/cargo-extensions-maven2-1.0-SNAPSHOT.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-extensions-maven2/1.0-SNAPSHOT/cargo-extensions-maven2-1.0-SNAPSHOT.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.codehaus.cargo/cargo-extensions-maven2@1.0-SNAPSHOT?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.cargo/cargo-extensions-maven2@1.0-SNAPSHOT", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/cargo/cargo-extensions-maven2/1.0-SNAPSHOT/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/cargo/cargo-extensions-maven2/1.0-SNAPSHOT/cargo-extensions-maven2-1.0-SNAPSHOT.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-extensions/1.0-SNAPSHOT/cargo-extensions-1.0-20090219.165735-20.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-extensions/1.0-SNAPSHOT/cargo-extensions-1.0-20090219.165735-20.pom.package.json index e9f9f908585..ef8052b9281 100644 --- a/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-extensions/1.0-SNAPSHOT/cargo-extensions-1.0-20090219.165735-20.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-extensions/1.0-SNAPSHOT/cargo-extensions-1.0-20090219.165735-20.pom.package.json @@ -27,98 +27,99 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.codehaus.cargo/cargo-core-api-generic", + "purl": "pkg:maven/org.codehaus.cargo/cargo-core-api-generic@1.0-SNAPSHOT", "requirement": "1.0-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-geronimo", + "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-geronimo@1.0-SNAPSHOT", "requirement": "1.0-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-jboss", + "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-jboss@1.0-SNAPSHOT", "requirement": "1.0-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-jetty", + "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-jetty@1.0-SNAPSHOT", "requirement": "1.0-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-jo", + "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-jo@1.0-SNAPSHOT", "requirement": "1.0-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-jonas", + "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-jonas@1.0-SNAPSHOT", "requirement": "1.0-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-orion", + "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-orion@1.0-SNAPSHOT", "requirement": "1.0-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-resin", + "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-resin@1.0-SNAPSHOT", "requirement": "1.0-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-tomcat", + "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-tomcat@1.0-SNAPSHOT", "requirement": "1.0-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-weblogic", + "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-weblogic@1.0-SNAPSHOT", "requirement": "1.0-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.cargo/cargo-extensions@1.0-SNAPSHOT?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.cargo/cargo-extensions@1.0-SNAPSHOT", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/cargo/cargo-extensions/1.0-SNAPSHOT/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/cargo/cargo-extensions/1.0-SNAPSHOT/cargo-extensions-1.0-SNAPSHOT.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-extensions/1.0-SNAPSHOT/cargo-extensions-1.0-SNAPSHOT.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-extensions/1.0-SNAPSHOT/cargo-extensions-1.0-SNAPSHOT.pom.package.json index e9f9f908585..ef8052b9281 100644 --- a/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-extensions/1.0-SNAPSHOT/cargo-extensions-1.0-SNAPSHOT.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-extensions/1.0-SNAPSHOT/cargo-extensions-1.0-SNAPSHOT.pom.package.json @@ -27,98 +27,99 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.codehaus.cargo/cargo-core-api-generic", + "purl": "pkg:maven/org.codehaus.cargo/cargo-core-api-generic@1.0-SNAPSHOT", "requirement": "1.0-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-geronimo", + "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-geronimo@1.0-SNAPSHOT", "requirement": "1.0-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-jboss", + "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-jboss@1.0-SNAPSHOT", "requirement": "1.0-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-jetty", + "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-jetty@1.0-SNAPSHOT", "requirement": "1.0-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-jo", + "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-jo@1.0-SNAPSHOT", "requirement": "1.0-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-jonas", + "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-jonas@1.0-SNAPSHOT", "requirement": "1.0-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-orion", + "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-orion@1.0-SNAPSHOT", "requirement": "1.0-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-resin", + "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-resin@1.0-SNAPSHOT", "requirement": "1.0-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-tomcat", + "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-tomcat@1.0-SNAPSHOT", "requirement": "1.0-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-weblogic", + "purl": "pkg:maven/org.codehaus.cargo/cargo-core-container-weblogic@1.0-SNAPSHOT", "requirement": "1.0-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.cargo/cargo-extensions@1.0-SNAPSHOT?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.cargo/cargo-extensions@1.0-SNAPSHOT", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/cargo/cargo-extensions/1.0-SNAPSHOT/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/cargo/cargo-extensions/1.0-SNAPSHOT/cargo-extensions-1.0-SNAPSHOT.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-maven2-plugin/1.0-SNAPSHOT/cargo-maven2-plugin-1.0-20090219.165735-19.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-maven2-plugin/1.0-SNAPSHOT/cargo-maven2-plugin-1.0-20090219.165735-19.pom.package.json index 95c1ff055cb..8e0e3880aac 100644 --- a/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-maven2-plugin/1.0-SNAPSHOT/cargo-maven2-plugin-1.0-20090219.165735-19.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-maven2-plugin/1.0-SNAPSHOT/cargo-maven2-plugin-1.0-20090219.165735-19.pom.package.json @@ -27,36 +27,36 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-project", + "purl": "pkg:maven/org.apache.maven/maven-project@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-settings", + "purl": "pkg:maven/org.apache.maven/maven-settings@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.7", "requirement": "1.4.7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.codehaus.cargo/cargo-core-api-container", @@ -67,26 +67,27 @@ "is_resolved": false }, { - "purl": "pkg:maven/jmock/jmock", + "purl": "pkg:maven/jmock/jmock@1.0.1", "requirement": "1.0.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-vfs/commons-vfs", + "purl": "pkg:maven/commons-vfs/commons-vfs@1.0", "requirement": "1.0", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.cargo/cargo-maven2-plugin@1.0-SNAPSHOT?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.cargo/cargo-maven2-plugin@1.0-SNAPSHOT", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/cargo/cargo-maven2-plugin/1.0-SNAPSHOT/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/cargo/cargo-maven2-plugin/1.0-SNAPSHOT/cargo-maven2-plugin-1.0-SNAPSHOT.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-maven2-plugin/1.0-SNAPSHOT/cargo-maven2-plugin-1.0-SNAPSHOT.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-maven2-plugin/1.0-SNAPSHOT/cargo-maven2-plugin-1.0-SNAPSHOT.pom.package.json index 95c1ff055cb..8e0e3880aac 100644 --- a/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-maven2-plugin/1.0-SNAPSHOT/cargo-maven2-plugin-1.0-SNAPSHOT.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-maven2-plugin/1.0-SNAPSHOT/cargo-maven2-plugin-1.0-SNAPSHOT.pom.package.json @@ -27,36 +27,36 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-project", + "purl": "pkg:maven/org.apache.maven/maven-project@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-settings", + "purl": "pkg:maven/org.apache.maven/maven-settings@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.7", "requirement": "1.4.7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.codehaus.cargo/cargo-core-api-container", @@ -67,26 +67,27 @@ "is_resolved": false }, { - "purl": "pkg:maven/jmock/jmock", + "purl": "pkg:maven/jmock/jmock@1.0.1", "requirement": "1.0.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-vfs/commons-vfs", + "purl": "pkg:maven/commons-vfs/commons-vfs@1.0", "requirement": "1.0", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.cargo/cargo-maven2-plugin@1.0-SNAPSHOT?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.cargo/cargo-maven2-plugin@1.0-SNAPSHOT", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/cargo/cargo-maven2-plugin/1.0-SNAPSHOT/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/cargo/cargo-maven2-plugin/1.0-SNAPSHOT/cargo-maven2-plugin-1.0-SNAPSHOT.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-parent/4.2-SNAPSHOT/cargo-parent-4.2-20090219.165735-12.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-parent/4.2-SNAPSHOT/cargo-parent-4.2-20090219.165735-12.pom.package.json index a505e636001..969ce8d43b2 100644 --- a/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-parent/4.2-SNAPSHOT/cargo-parent-4.2-20090219.165735-12.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-parent/4.2-SNAPSHOT/cargo-parent-4.2-20090219.165735-12.pom.package.json @@ -255,6 +255,7 @@ "source_packages": [ "pkg:maven/org.codehaus.cargo/cargo-parent@4.2-SNAPSHOT?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.cargo/cargo-parent@4.2-SNAPSHOT", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/cargo/cargo-parent/4.2-SNAPSHOT/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/cargo/cargo-parent/4.2-SNAPSHOT/cargo-parent-4.2-SNAPSHOT.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-parent/4.2-SNAPSHOT/cargo-parent-4.2-SNAPSHOT.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-parent/4.2-SNAPSHOT/cargo-parent-4.2-SNAPSHOT.pom.package.json index a505e636001..969ce8d43b2 100644 --- a/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-parent/4.2-SNAPSHOT/cargo-parent-4.2-SNAPSHOT.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/cargo/cargo-parent/4.2-SNAPSHOT/cargo-parent-4.2-SNAPSHOT.pom.package.json @@ -255,6 +255,7 @@ "source_packages": [ "pkg:maven/org.codehaus.cargo/cargo-parent@4.2-SNAPSHOT?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.cargo/cargo-parent@4.2-SNAPSHOT", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/cargo/cargo-parent/4.2-SNAPSHOT/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/cargo/cargo-parent/4.2-SNAPSHOT/cargo-parent-4.2-SNAPSHOT.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/mojo/aspectj-maven-plugin/1.0/aspectj-maven-plugin-1.0.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/mojo/aspectj-maven-plugin/1.0/aspectj-maven-plugin-1.0.pom.package.json index 09f65d4923f..38e0c9115c2 100644 --- a/tests/packagedcode/data/m2/org/codehaus/mojo/aspectj-maven-plugin/1.0/aspectj-maven-plugin-1.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/mojo/aspectj-maven-plugin/1.0/aspectj-maven-plugin-1.0.pom.package.json @@ -49,82 +49,83 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-embedder", + "purl": "pkg:maven/org.apache.maven/maven-embedder@2.0", "requirement": "2.0", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-project", + "purl": "pkg:maven/org.apache.maven/maven-project@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.aspectj/aspectjrt", + "purl": "pkg:maven/org.aspectj/aspectjrt@1.5.4", "requirement": "1.5.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.aspectj/aspectjtools", + "purl": "pkg:maven/org.aspectj/aspectjtools@1.5.4", "requirement": "1.5.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api", + "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-impl", + "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-impl@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.mojo/aspectj-maven-plugin@1.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.mojo/aspectj-maven-plugin@1.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/aspectj-maven-plugin/1.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/aspectj-maven-plugin/1.0/aspectj-maven-plugin-1.0.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT/build-helper-maven-plugin-1.2-20080813.143116-6.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT/build-helper-maven-plugin-1.2-20080813.143116-6.pom.package.json index 04f39c2e517..e7baed1fe0a 100644 --- a/tests/packagedcode/data/m2/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT/build-helper-maven-plugin-1.2-20080813.143116-6.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT/build-helper-maven-plugin-1.2-20080813.143116-6.pom.package.json @@ -42,42 +42,43 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-project", + "purl": "pkg:maven/org.apache.maven/maven-project@2.0.2", "requirement": "2.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.1", "requirement": "1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.mojo/build-helper-maven-plugin@1.2-SNAPSHOT?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.mojo/build-helper-maven-plugin@1.2-SNAPSHOT", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT/build-helper-maven-plugin-1.2-SNAPSHOT.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT/build-helper-maven-plugin-1.2-SNAPSHOT.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT/build-helper-maven-plugin-1.2-SNAPSHOT.pom.package.json index 04f39c2e517..e7baed1fe0a 100644 --- a/tests/packagedcode/data/m2/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT/build-helper-maven-plugin-1.2-SNAPSHOT.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT/build-helper-maven-plugin-1.2-SNAPSHOT.pom.package.json @@ -42,42 +42,43 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-project", + "purl": "pkg:maven/org.apache.maven/maven-project@2.0.2", "requirement": "2.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.1", "requirement": "1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.mojo/build-helper-maven-plugin@1.2-SNAPSHOT?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.mojo/build-helper-maven-plugin@1.2-SNAPSHOT", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/build-helper-maven-plugin/1.2-SNAPSHOT/build-helper-maven-plugin-1.2-SNAPSHOT.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/mojo/cobertura-maven-plugin/2.2/cobertura-maven-plugin-2.2.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/mojo/cobertura-maven-plugin/2.2/cobertura-maven-plugin-2.2.pom.package.json index 2484ca9a3d9..ab837417492 100644 --- a/tests/packagedcode/data/m2/org/codehaus/mojo/cobertura-maven-plugin/2.2/cobertura-maven-plugin-2.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/mojo/cobertura-maven-plugin/2.2/cobertura-maven-plugin-2.2.pom.package.json @@ -56,114 +56,115 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/net.sourceforge.cobertura/cobertura", + "purl": "pkg:maven/net.sourceforge.cobertura/cobertura@1.9", "requirement": "1.9", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/net.sourceforge.cobertura/cobertura-runtime", + "purl": "pkg:maven/net.sourceforge.cobertura/cobertura-runtime@1.9", "requirement": "1.9", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/urbanophile/java-getopt", + "purl": "pkg:maven/urbanophile/java-getopt@1.0.9", "requirement": "1.0.9", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api", + "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-project", + "purl": "pkg:maven/org.apache.maven/maven-project@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-impl", + "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-impl@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-9", "requirement": "1.0-alpha-9", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.1", "requirement": "1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/httpunit/httpunit", + "purl": "pkg:maven/httpunit/httpunit@1.6", "requirement": "1.6", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness", + "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness@1.0-beta-1", "requirement": "1.0-beta-1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.mojo/cobertura-maven-plugin@2.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.mojo/cobertura-maven-plugin@2.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/cobertura-maven-plugin/2.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/cobertura-maven-plugin/2.2/cobertura-maven-plugin-2.2.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/mojo/findbugs-maven-plugin/1.1.1/findbugs-maven-plugin-1.1.1.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/mojo/findbugs-maven-plugin/1.1.1/findbugs-maven-plugin-1.1.1.pom.package.json index 08a6a3a4d79..1577aba21ff 100644 --- a/tests/packagedcode/data/m2/org/codehaus/mojo/findbugs-maven-plugin/1.1.1/findbugs-maven-plugin-1.1.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/mojo/findbugs-maven-plugin/1.1.1/findbugs-maven-plugin-1.1.1.pom.package.json @@ -63,50 +63,51 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.4", "requirement": "2.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-impl", + "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-impl@2.0.4", "requirement": "2.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api", + "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api@2.0.4", "requirement": "2.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.doxia/doxia-core", + "purl": "pkg:maven/org.apache.maven.doxia/doxia-core@1.0-alpha-8", "requirement": "1.0-alpha-8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/net.sourceforge.findbugs/findbugs", + "purl": "pkg:maven/net.sourceforge.findbugs/findbugs@1.2.0", "requirement": "1.2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.mojo/findbugs-maven-plugin@1.1.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.mojo/findbugs-maven-plugin@1.1.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/findbugs-maven-plugin/1.1.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/findbugs-maven-plugin/1.1.1/findbugs-maven-plugin-1.1.1.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/mojo/maven-buildnumber-plugin/0.9.6/maven-buildnumber-plugin-0.9.6.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/mojo/maven-buildnumber-plugin/0.9.6/maven-buildnumber-plugin-0.9.6.pom.package.json index 71b6601b6f6..c2c7dd1b47b 100644 --- a/tests/packagedcode/data/m2/org/codehaus/mojo/maven-buildnumber-plugin/0.9.6/maven-buildnumber-plugin-0.9.6.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/mojo/maven-buildnumber-plugin/0.9.6/maven-buildnumber-plugin-0.9.6.pom.package.json @@ -42,90 +42,91 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-project", + "purl": "pkg:maven/org.apache.maven/maven-project@2.0.2", "requirement": "2.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-settings", + "purl": "pkg:maven/org.apache.maven/maven-settings@2.0.2", "requirement": "2.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0.2", "requirement": "2.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.scm/maven-scm-api", + "purl": "pkg:maven/org.apache.maven.scm/maven-scm-api@1.0-beta-3", "requirement": "1.0-beta-3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.scm/maven-scm-manager-plexus", + "purl": "pkg:maven/org.apache.maven.scm/maven-scm-manager-plexus@1.0-beta-3", "requirement": "1.0-beta-3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.scm/maven-scm-provider-svnexe", + "purl": "pkg:maven/org.apache.maven.scm/maven-scm-provider-svnexe@1.0-beta-3", "requirement": "1.0-beta-3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.scm/maven-scm-provider-cvsexe", + "purl": "pkg:maven/org.apache.maven.scm/maven-scm-provider-cvsexe@1.0-beta-3", "requirement": "1.0-beta-3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.scm/maven-scm-provider-starteam", + "purl": "pkg:maven/org.apache.maven.scm/maven-scm-provider-starteam@1.0-beta-3", "requirement": "1.0-beta-3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.scm/maven-scm-provider-clearcase", + "purl": "pkg:maven/org.apache.maven.scm/maven-scm-provider-clearcase@1.0-beta-3", "requirement": "1.0-beta-3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.scm/maven-scm-provider-perforce", + "purl": "pkg:maven/org.apache.maven.scm/maven-scm-provider-perforce@1.0-beta-3", "requirement": "1.0-beta-3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.mojo/maven-buildnumber-plugin@0.9.6?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.mojo/maven-buildnumber-plugin@0.9.6", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/maven-buildnumber-plugin/0.9.6/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/maven-buildnumber-plugin/0.9.6/maven-buildnumber-plugin-0.9.6.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/mojo/mojo-sandbox/2/mojo-sandbox-2.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/mojo/mojo-sandbox/2/mojo-sandbox-2.pom.package.json index 70b76f88fa9..1ec28e237fc 100644 --- a/tests/packagedcode/data/m2/org/codehaus/mojo/mojo-sandbox/2/mojo-sandbox-2.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/mojo/mojo-sandbox/2/mojo-sandbox-2.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.codehaus.mojo/mojo-sandbox@2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.mojo/mojo-sandbox@2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/mojo-sandbox/2/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/mojo-sandbox/2/mojo-sandbox-2.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/11/mojo-11.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/11/mojo-11.pom.package.json index d79409a4b2e..7a09eef2877 100644 --- a/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/11/mojo-11.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/11/mojo-11.pom.package.json @@ -27,26 +27,27 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.mojo/mojo@11?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.mojo/mojo@11", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/mojo/11/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/mojo/11/mojo-11.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/12/mojo-12.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/12/mojo-12.pom.package.json index 7b2f68751ab..025ac08ed0a 100644 --- a/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/12/mojo-12.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/12/mojo-12.pom.package.json @@ -27,26 +27,27 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.mojo/mojo@12?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.mojo/mojo@12", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/mojo/12/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/mojo/12/mojo-12.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/14/mojo-14.pom.json b/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/14/mojo-14.pom.json index a2cd1486593..b70f7e375fe 100644 --- a/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/14/mojo-14.pom.json +++ b/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/14/mojo-14.pom.json @@ -124,5 +124,20 @@ "url": "http://repository.codehaus.org" } ], - "dependencies": {} + "dependencies": { + "dependencyManagement": [ + { + "group_id": "org.apache.maven", + "artifact_id": "maven-plugin-api", + "version": "2.0", + "required": true + }, + { + "group_id": "junit", + "artifact_id": "junit", + "version": "3.8.1", + "required": true + } + ] + } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/14/mojo-14.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/14/mojo-14.pom.package.json index 88ddd074420..7290885011e 100644 --- a/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/14/mojo-14.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/14/mojo-14.pom.package.json @@ -33,11 +33,29 @@ "declared_license": null, "notice_text": null, "root_path": null, - "dependencies": [], + "dependencies": [ + { + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0", + "requirement": "2.0", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/junit/junit@3.8.1", + "requirement": "3.8.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + } + ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.mojo/mojo@14?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.mojo/mojo@14", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/mojo/14/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/mojo/14/mojo-14.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/16/mojo-16.pom.json b/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/16/mojo-16.pom.json index 6abd00c69d5..6b9ffe53567 100644 --- a/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/16/mojo-16.pom.json +++ b/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/16/mojo-16.pom.json @@ -115,5 +115,20 @@ "url": "http://snapshots.repository.codehaus.org" } ], - "dependencies": {} + "dependencies": { + "dependencyManagement": [ + { + "group_id": "org.apache.maven", + "artifact_id": "maven-plugin-api", + "version": "2.0", + "required": true + }, + { + "group_id": "junit", + "artifact_id": "junit", + "version": "3.8.1", + "required": true + } + ] + } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/16/mojo-16.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/16/mojo-16.pom.package.json index 62941a7f56e..02b9bf12bc5 100644 --- a/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/16/mojo-16.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/16/mojo-16.pom.package.json @@ -33,11 +33,29 @@ "declared_license": null, "notice_text": null, "root_path": null, - "dependencies": [], + "dependencies": [ + { + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0", + "requirement": "2.0", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/junit/junit@3.8.1", + "requirement": "3.8.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + } + ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.mojo/mojo@16?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.mojo/mojo@16", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/mojo/16/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/mojo/16/mojo-16.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/17/mojo-17.pom.json b/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/17/mojo-17.pom.json index a9da6208d5c..2ae8d5bcc43 100644 --- a/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/17/mojo-17.pom.json +++ b/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/17/mojo-17.pom.json @@ -120,5 +120,20 @@ "url": "http://snapshots.repository.codehaus.org" } ], - "dependencies": {} + "dependencies": { + "dependencyManagement": [ + { + "group_id": "org.apache.maven", + "artifact_id": "maven-plugin-api", + "version": "2.0", + "required": true + }, + { + "group_id": "junit", + "artifact_id": "junit", + "version": "3.8.2", + "required": true + } + ] + } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/17/mojo-17.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/17/mojo-17.pom.package.json index 13e6fd6c94f..475c7750673 100644 --- a/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/17/mojo-17.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/mojo/mojo/17/mojo-17.pom.package.json @@ -33,11 +33,29 @@ "declared_license": null, "notice_text": null, "root_path": null, - "dependencies": [], + "dependencies": [ + { + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0", + "requirement": "2.0", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/junit/junit@3.8.2", + "requirement": "3.8.2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + } + ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.mojo/mojo@17?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.mojo/mojo@17", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/mojo/17/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/mojo/17/mojo-17.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/mojo/native-maven-plugin/1.0-alpha-2/native-maven-plugin-1.0-alpha-2.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/mojo/native-maven-plugin/1.0-alpha-2/native-maven-plugin-1.0-alpha-2.pom.package.json index f140e9ee62a..0834d591300 100644 --- a/tests/packagedcode/data/m2/org/codehaus/mojo/native-maven-plugin/1.0-alpha-2/native-maven-plugin-1.0-alpha-2.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/mojo/native-maven-plugin/1.0-alpha-2/native-maven-plugin-1.0-alpha-2.pom.package.json @@ -30,79 +30,80 @@ "purl": "pkg:maven/org.apache.maven/maven-project", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-plugin-api", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.mojo.natives/maven-native-api", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.mojo.natives/maven-native-javah", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.mojo.natives/maven-native-generic-c", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.mojo.natives/maven-native-msvc", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.mojo.natives/maven-native-bcc", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.mojo.natives/maven-native-manager", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { - "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness", + "purl": "pkg:maven/org.apache.maven.shared/maven-plugin-testing-harness@1.0-beta-1", "requirement": "1.0-beta-1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.mojo/native-maven-plugin@1.0-alpha-2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.mojo/native-maven-plugin@1.0-alpha-2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/native-maven-plugin/1.0-alpha-2/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/native-maven-plugin/1.0-alpha-2/native-maven-plugin-1.0-alpha-2.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native-api/1.0-alpha-2/maven-native-api-1.0-alpha-2.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native-api/1.0-alpha-2/maven-native-api-1.0-alpha-2.pom.package.json index 3f8e27f6ba2..8a857fb9679 100644 --- a/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native-api/1.0-alpha-2/maven-native-api-1.0-alpha-2.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native-api/1.0-alpha-2/maven-native-api-1.0-alpha-2.pom.package.json @@ -30,31 +30,32 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { - "purl": "pkg:maven/bcel/bcel", + "purl": "pkg:maven/bcel/bcel@5.1", "requirement": "5.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.mojo.natives/maven-native-api@1.0-alpha-2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.mojo.natives/maven-native-api@1.0-alpha-2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/natives/maven-native-api/1.0-alpha-2/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/natives/maven-native-api/1.0-alpha-2/maven-native-api-1.0-alpha-2.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native-bcc/1.0-alpha-2/maven-native-bcc-1.0-alpha-2.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native-bcc/1.0-alpha-2/maven-native-bcc-1.0-alpha-2.pom.package.json index 3cce36c42c9..a7d3853e47a 100644 --- a/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native-bcc/1.0-alpha-2/maven-native-bcc-1.0-alpha-2.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native-bcc/1.0-alpha-2/maven-native-bcc-1.0-alpha-2.pom.package.json @@ -30,15 +30,16 @@ "purl": "pkg:maven/org.codehaus.mojo.natives/maven-native-generic-c", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.mojo.natives/maven-native-bcc@1.0-alpha-2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.mojo.natives/maven-native-bcc@1.0-alpha-2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/natives/maven-native-bcc/1.0-alpha-2/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/natives/maven-native-bcc/1.0-alpha-2/maven-native-bcc-1.0-alpha-2.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native-components/1.0-alpha-2/maven-native-components-1.0-alpha-2.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native-components/1.0-alpha-2/maven-native-components-1.0-alpha-2.pom.package.json index 56fc2506f5d..63d803e438c 100644 --- a/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native-components/1.0-alpha-2/maven-native-components-1.0-alpha-2.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native-components/1.0-alpha-2/maven-native-components-1.0-alpha-2.pom.package.json @@ -30,31 +30,32 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.mojo.natives/maven-native-api", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.mojo.natives/maven-native-components@1.0-alpha-2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.mojo.natives/maven-native-components@1.0-alpha-2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/natives/maven-native-components/1.0-alpha-2/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/natives/maven-native-components/1.0-alpha-2/maven-native-components-1.0-alpha-2.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native-generic-c/1.0-alpha-2/maven-native-generic-c-1.0-alpha-2.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native-generic-c/1.0-alpha-2/maven-native-generic-c-1.0-alpha-2.pom.package.json index 2a6df98cd7a..157383db797 100644 --- a/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native-generic-c/1.0-alpha-2/maven-native-generic-c-1.0-alpha-2.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native-generic-c/1.0-alpha-2/maven-native-generic-c-1.0-alpha-2.pom.package.json @@ -30,15 +30,16 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.mojo.natives/maven-native-generic-c@1.0-alpha-2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.mojo.natives/maven-native-generic-c@1.0-alpha-2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/natives/maven-native-generic-c/1.0-alpha-2/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/natives/maven-native-generic-c/1.0-alpha-2/maven-native-generic-c-1.0-alpha-2.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native-javah/1.0-alpha-2/maven-native-javah-1.0-alpha-2.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native-javah/1.0-alpha-2/maven-native-javah-1.0-alpha-2.pom.package.json index 095fe183657..650e96ee023 100644 --- a/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native-javah/1.0-alpha-2/maven-native-javah-1.0-alpha-2.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native-javah/1.0-alpha-2/maven-native-javah-1.0-alpha-2.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.codehaus.mojo.natives/maven-native-javah@1.0-alpha-2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.mojo.natives/maven-native-javah@1.0-alpha-2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/natives/maven-native-javah/1.0-alpha-2/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/natives/maven-native-javah/1.0-alpha-2/maven-native-javah-1.0-alpha-2.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native-manager/1.0-alpha-2/maven-native-manager-1.0-alpha-2.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native-manager/1.0-alpha-2/maven-native-manager-1.0-alpha-2.pom.package.json index 1932b9b83e7..5f82616352b 100644 --- a/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native-manager/1.0-alpha-2/maven-native-manager-1.0-alpha-2.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native-manager/1.0-alpha-2/maven-native-manager-1.0-alpha-2.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.codehaus.mojo.natives/maven-native-manager@1.0-alpha-2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.mojo.natives/maven-native-manager@1.0-alpha-2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/natives/maven-native-manager/1.0-alpha-2/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/natives/maven-native-manager/1.0-alpha-2/maven-native-manager-1.0-alpha-2.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native-msvc/1.0-alpha-2/maven-native-msvc-1.0-alpha-2.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native-msvc/1.0-alpha-2/maven-native-msvc-1.0-alpha-2.pom.package.json index 9744b23af95..c00911ae8b6 100644 --- a/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native-msvc/1.0-alpha-2/maven-native-msvc-1.0-alpha-2.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native-msvc/1.0-alpha-2/maven-native-msvc-1.0-alpha-2.pom.package.json @@ -30,15 +30,16 @@ "purl": "pkg:maven/org.codehaus.mojo.natives/maven-native-generic-c", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.mojo.natives/maven-native-msvc@1.0-alpha-2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.mojo.natives/maven-native-msvc@1.0-alpha-2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/natives/maven-native-msvc/1.0-alpha-2/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/natives/maven-native-msvc/1.0-alpha-2/maven-native-msvc-1.0-alpha-2.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native/1.0-alpha-2/maven-native-1.0-alpha-2.pom.json b/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native/1.0-alpha-2/maven-native-1.0-alpha-2.pom.json index 190b9b62831..a865678f582 100644 --- a/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native/1.0-alpha-2/maven-native-1.0-alpha-2.pom.json +++ b/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native/1.0-alpha-2/maven-native-1.0-alpha-2.pom.json @@ -50,5 +50,68 @@ "distribution_management": {}, "repositories": [], "plugin_repositories": [], - "dependencies": {} + "dependencies": { + "dependencyManagement": [ + { + "group_id": "org.apache.maven", + "artifact_id": "maven-plugin-api", + "version": "2.0.4", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-container-default", + "version": "1.0-alpha-9", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-utils", + "version": "1.1", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-project", + "version": "2.0.4", + "required": true + }, + { + "group_id": "org.codehaus.mojo.natives", + "artifact_id": "maven-native-api", + "version": "1.0-alpha-2", + "required": true + }, + { + "group_id": "org.codehaus.mojo.natives", + "artifact_id": "maven-native-javah", + "version": "1.0-alpha-2", + "required": true + }, + { + "group_id": "org.codehaus.mojo.natives", + "artifact_id": "maven-native-generic-c", + "version": "1.0-alpha-2", + "required": true + }, + { + "group_id": "org.codehaus.mojo.natives", + "artifact_id": "maven-native-msvc", + "version": "1.0-alpha-2", + "required": true + }, + { + "group_id": "org.codehaus.mojo.natives", + "artifact_id": "maven-native-bcc", + "version": "1.0-alpha-2", + "required": true + }, + { + "group_id": "org.codehaus.mojo.natives", + "artifact_id": "maven-native-manager", + "version": "1.0-alpha-2", + "required": true + } + ] + } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native/1.0-alpha-2/maven-native-1.0-alpha-2.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native/1.0-alpha-2/maven-native-1.0-alpha-2.pom.package.json index 807580a1b61..2b1759c3a38 100644 --- a/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native/1.0-alpha-2/maven-native-1.0-alpha-2.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/mojo/natives/maven-native/1.0-alpha-2/maven-native-1.0-alpha-2.pom.package.json @@ -33,11 +33,93 @@ "declared_license": null, "notice_text": null, "root_path": null, - "dependencies": [], + "dependencies": [ + { + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0.4", + "requirement": "2.0.4", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-9", + "requirement": "1.0-alpha-9", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.1", + "requirement": "1.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-project@2.0.4", + "requirement": "2.0.4", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.mojo.natives/maven-native-api@1.0-alpha-2", + "requirement": "1.0-alpha-2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.mojo.natives/maven-native-javah@1.0-alpha-2", + "requirement": "1.0-alpha-2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.mojo.natives/maven-native-generic-c@1.0-alpha-2", + "requirement": "1.0-alpha-2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.mojo.natives/maven-native-msvc@1.0-alpha-2", + "requirement": "1.0-alpha-2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.mojo.natives/maven-native-bcc@1.0-alpha-2", + "requirement": "1.0-alpha-2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.mojo.natives/maven-native-manager@1.0-alpha-2", + "requirement": "1.0-alpha-2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + } + ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.mojo.natives/maven-native@1.0-alpha-2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.mojo.natives/maven-native@1.0-alpha-2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/natives/maven-native/1.0-alpha-2/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/natives/maven-native/1.0-alpha-2/maven-native-1.0-alpha-2.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-active-collections/1.0-beta-2/plexus-active-collections-1.0-beta-2.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-active-collections/1.0-beta-2/plexus-active-collections-1.0-beta-2.pom.package.json index b5f648e077c..7b893aa39c1 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-active-collections/1.0-beta-2/plexus-active-collections-1.0-beta-2.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-active-collections/1.0-beta-2/plexus-active-collections-1.0-beta-2.pom.package.json @@ -27,34 +27,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.codehaus.plexus/plexus-component-api", + "purl": "pkg:maven/org.codehaus.plexus/plexus-component-api@1.0-alpha-22", "requirement": "1.0-alpha-22", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-22", "requirement": "1.0-alpha-22", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-active-collections@1.0-beta-2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-active-collections@1.0-beta-2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-active-collections/1.0-beta-2/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-active-collections/1.0-beta-2/plexus-active-collections-1.0-beta-2.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-archiver/1.0-alpha-10/plexus-archiver-1.0-alpha-10.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-archiver/1.0-alpha-10/plexus-archiver-1.0-alpha-10.pom.package.json index b18964b4798..bb02288e9ec 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-archiver/1.0-alpha-10/plexus-archiver-1.0-alpha-10.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-archiver/1.0-alpha-10/plexus-archiver-1.0-alpha-10.pom.package.json @@ -42,42 +42,43 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.5.1", "requirement": "1.5.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-15", "requirement": "1.0-alpha-15", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-component-api", + "purl": "pkg:maven/org.codehaus.plexus/plexus-component-api@1.0-alpha-15", "requirement": "1.0-alpha-15", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-io", + "purl": "pkg:maven/org.codehaus.plexus/plexus-io@1.0-alpha-2", "requirement": "1.0-alpha-2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-archiver@1.0-alpha-10?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-archiver@1.0-alpha-10", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/1.0-alpha-10/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/1.0-alpha-10/plexus-archiver-1.0-alpha-10.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-archiver/1.0-alpha-5/plexus-archiver-1.0-alpha-5.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-archiver/1.0-alpha-5/plexus-archiver-1.0-alpha-5.pom.package.json index 4768b5d8f45..42bb8ab146e 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-archiver/1.0-alpha-5/plexus-archiver-1.0-alpha-5.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-archiver/1.0-alpha-5/plexus-archiver-1.0-alpha-5.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-archiver@1.0-alpha-5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-archiver@1.0-alpha-5", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/1.0-alpha-5/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/1.0-alpha-5/plexus-archiver-1.0-alpha-5.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.pom.package.json index e330db33aaa..c07e63c5e35 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.pom.package.json @@ -42,18 +42,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.2", "requirement": "1.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-archiver@1.0-alpha-7?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-archiver@1.0-alpha-7", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-archiver/1.0-alpha-9/plexus-archiver-1.0-alpha-9.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-archiver/1.0-alpha-9/plexus-archiver-1.0-alpha-9.pom.package.json index 99e6b86094d..f78ad571051 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-archiver/1.0-alpha-9/plexus-archiver-1.0-alpha-9.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-archiver/1.0-alpha-9/plexus-archiver-1.0-alpha-9.pom.package.json @@ -42,42 +42,43 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.1", "requirement": "1.4.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-15", "requirement": "1.0-alpha-15", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-component-api", + "purl": "pkg:maven/org.codehaus.plexus/plexus-component-api@1.0-alpha-15", "requirement": "1.0-alpha-15", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-io", + "purl": "pkg:maven/org.codehaus.plexus/plexus-io@1.0-alpha-1", "requirement": "1.0-alpha-1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-archiver@1.0-alpha-9?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-archiver@1.0-alpha-9", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/1.0-alpha-9/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/1.0-alpha-9/plexus-archiver-1.0-alpha-9.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-classworlds/1.2-alpha-6/plexus-classworlds-1.2-alpha-6.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-classworlds/1.2-alpha-6/plexus-classworlds-1.2-alpha-6.pom.package.json index 605d735aac0..084d92101f5 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-classworlds/1.2-alpha-6/plexus-classworlds-1.2-alpha-6.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-classworlds/1.2-alpha-6/plexus-classworlds-1.2-alpha-6.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-classworlds@1.2-alpha-6?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-classworlds@1.2-alpha-6", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-classworlds/1.2-alpha-6/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-classworlds/1.2-alpha-6/plexus-classworlds-1.2-alpha-6.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-compiler-api/1.5.1/plexus-compiler-api-1.5.1.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-compiler-api/1.5.1/plexus-compiler-api-1.5.1.pom.package.json index 28fc27259d0..0fe034ebb9e 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-compiler-api/1.5.1/plexus-compiler-api-1.5.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-compiler-api/1.5.1/plexus-compiler-api-1.5.1.pom.package.json @@ -112,42 +112,43 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-8", "requirement": "1.0-alpha-8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/classworlds/classworlds", + "purl": "pkg:maven/classworlds/classworlds@1.1-alpha-2", "requirement": "1.1-alpha-2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-compiler-api@1.5.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-compiler-api@1.5.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-api/1.5.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-api/1.5.1/plexus-compiler-api-1.5.1.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.pom.package.json index 6497d6c70f7..46e18b56c4c 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-compiler-api@1.5.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-compiler-api@1.5.3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-api/1.5.3/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.pom.package.json index fb9b6c533d8..727bb72fd3f 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.pom.package.json @@ -27,26 +27,27 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.0.5", "requirement": "1.0.5", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-lang/commons-lang", + "purl": "pkg:maven/commons-lang/commons-lang@2.0", "requirement": "2.0", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-compiler-javac@1.5.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-compiler-javac@1.5.3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-javac/1.5.3/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.pom.package.json index f69bab0d631..b6aad863bff 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.codehaus.plexus/plexus-compiler-api", + "purl": "pkg:maven/org.codehaus.plexus/plexus-compiler-api@1.5.3", "requirement": "1.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-compiler-manager@1.5.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-compiler-manager@1.5.3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.5.3/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-compiler/1.5.3/plexus-compiler-1.5.3.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-compiler/1.5.3/plexus-compiler-1.5.3.pom.package.json index a68e96dae75..94a49262aea 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-compiler/1.5.3/plexus-compiler-1.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-compiler/1.5.3/plexus-compiler-1.5.3.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-compiler@1.5.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-compiler@1.5.3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler/1.5.3/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler/1.5.3/plexus-compiler-1.5.3.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-compilers/1.5.3/plexus-compilers-1.5.3.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-compilers/1.5.3/plexus-compilers-1.5.3.pom.package.json index 179a5ec8d6b..38abff512f4 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-compilers/1.5.3/plexus-compilers-1.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-compilers/1.5.3/plexus-compilers-1.5.3.pom.package.json @@ -112,42 +112,43 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-compiler-test", + "purl": "pkg:maven/org.codehaus.plexus/plexus-compiler-test@1.5.3", "requirement": "1.5.3", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-compiler-api", + "purl": "pkg:maven/org.codehaus.plexus/plexus-compiler-api@1.5.3", "requirement": "1.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-8", "requirement": "1.0-alpha-8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-compilers@1.5.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-compilers@1.5.3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compilers/1.5.3/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compilers/1.5.3/plexus-compilers-1.5.3.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-component-api/1.0-alpha-15/plexus-component-api-1.0-alpha-15.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-component-api/1.0-alpha-15/plexus-component-api-1.0-alpha-15.pom.package.json index 820be879c0b..395fa982f29 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-component-api/1.0-alpha-15/plexus-component-api-1.0-alpha-15.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-component-api/1.0-alpha-15/plexus-component-api-1.0-alpha-15.pom.package.json @@ -30,15 +30,16 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-classworlds", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-component-api@1.0-alpha-15?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-component-api@1.0-alpha-15", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-component-api/1.0-alpha-15/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-component-api/1.0-alpha-15/plexus-component-api-1.0-alpha-15.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-component-api/1.0-alpha-16/plexus-component-api-1.0-alpha-16.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-component-api/1.0-alpha-16/plexus-component-api-1.0-alpha-16.pom.package.json index bcd5cb0de54..262b13f83ef 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-component-api/1.0-alpha-16/plexus-component-api-1.0-alpha-16.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-component-api/1.0-alpha-16/plexus-component-api-1.0-alpha-16.pom.package.json @@ -30,15 +30,16 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-classworlds", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-component-api@1.0-alpha-16?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-component-api@1.0-alpha-16", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-component-api/1.0-alpha-16/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-component-api/1.0-alpha-16/plexus-component-api-1.0-alpha-16.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-components/1.1.12/plexus-components-1.1.12.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-components/1.1.12/plexus-components-1.1.12.pom.package.json index 29b863582a2..12ff7bf8d62 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-components/1.1.12/plexus-components-1.1.12.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-components/1.1.12/plexus-components-1.1.12.pom.package.json @@ -27,26 +27,27 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.codehaus.plexus/plexus-component-api", + "purl": "pkg:maven/org.codehaus.plexus/plexus-component-api@1.0-alpha-20", "requirement": "1.0-alpha-20", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-20", "requirement": "1.0-alpha-20", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-components@1.1.12?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-components@1.1.12", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-components/1.1.12/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-components/1.1.12/plexus-components-1.1.12.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-components/1.1.4/plexus-components-1.1.4.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-components/1.1.4/plexus-components-1.1.4.pom.package.json index c64379a9623..1877e5e5a39 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-components/1.1.4/plexus-components-1.1.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-components/1.1.4/plexus-components-1.1.4.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-8", "requirement": "1.0-alpha-8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-components@1.1.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-components@1.1.4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-components/1.1.4/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-components/1.1.4/plexus-components-1.1.4.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-components/1.1.5/plexus-components-1.1.5.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-components/1.1.5/plexus-components-1.1.5.pom.package.json index 254dda5b61c..09eb6b26831 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-components/1.1.5/plexus-components-1.1.5.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-components/1.1.5/plexus-components-1.1.5.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-8", "requirement": "1.0-alpha-8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-components@1.1.5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-components@1.1.5", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-components/1.1.5/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-components/1.1.5/plexus-components-1.1.5.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-components/1.1.6/plexus-components-1.1.6.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-components/1.1.6/plexus-components-1.1.6.pom.package.json index 240009e8ae4..da439d08a7e 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-components/1.1.6/plexus-components-1.1.6.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-components/1.1.6/plexus-components-1.1.6.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-8", "requirement": "1.0-alpha-8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-components@1.1.6?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-components@1.1.6", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-components/1.1.6/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-components/1.1.6/plexus-components-1.1.6.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-components/1.1.7/plexus-components-1.1.7.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-components/1.1.7/plexus-components-1.1.7.pom.package.json index 9b01d9341c3..1f669521ee4 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-components/1.1.7/plexus-components-1.1.7.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-components/1.1.7/plexus-components-1.1.7.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-8", "requirement": "1.0-alpha-8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-components@1.1.7?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-components@1.1.7", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-components/1.1.7/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-components/1.1.7/plexus-components-1.1.7.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-components/1.1.9/plexus-components-1.1.9.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-components/1.1.9/plexus-components-1.1.9.pom.package.json index 873d902e3ff..475d0c39104 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-components/1.1.9/plexus-components-1.1.9.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-components/1.1.9/plexus-components-1.1.9.pom.package.json @@ -27,26 +27,27 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.codehaus.plexus/plexus-component-api", + "purl": "pkg:maven/org.codehaus.plexus/plexus-component-api@1.0-alpha-16", "requirement": "1.0-alpha-16", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-16", "requirement": "1.0-alpha-16", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-components@1.1.9?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-components@1.1.9", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-components/1.1.9/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-components/1.1.9/plexus-components-1.1.9.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-container-default/1.0-alpha-15/plexus-container-default-1.0-alpha-15.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-container-default/1.0-alpha-15/plexus-container-default-1.0-alpha-15.pom.package.json index 18deb183620..dfe4acbcd16 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-container-default/1.0-alpha-15/plexus-container-default-1.0-alpha-15.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-container-default/1.0-alpha-15/plexus-container-default-1.0-alpha-15.pom.package.json @@ -30,39 +30,40 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-component-api", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-classworlds", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { - "purl": "pkg:maven/jmock/jmock", + "purl": "pkg:maven/jmock/jmock@1.0.1", "requirement": "1.0.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-15?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-15", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-15/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-15/plexus-container-default-1.0-alpha-15.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-container-default/1.0-alpha-22/plexus-container-default-1.0-alpha-22.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-container-default/1.0-alpha-22/plexus-container-default-1.0-alpha-22.pom.package.json index 43ad6299ca6..0c9437c17c7 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-container-default/1.0-alpha-22/plexus-container-default-1.0-alpha-22.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-container-default/1.0-alpha-22/plexus-container-default-1.0-alpha-22.pom.package.json @@ -30,39 +30,40 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-component-api", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-classworlds", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { - "purl": "pkg:maven/jmock/jmock", + "purl": "pkg:maven/jmock/jmock@1.0.1", "requirement": "1.0.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-22?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-22", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-22/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-22/plexus-container-default-1.0-alpha-22.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-container-default/1.0-alpha-30/plexus-container-default-1.0-alpha-30.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-container-default/1.0-alpha-30/plexus-container-default-1.0-alpha-30.pom.package.json index 827ea7b38ab..240068e925c 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-container-default/1.0-alpha-30/plexus-container-default-1.0-alpha-30.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-container-default/1.0-alpha-30/plexus-container-default-1.0-alpha-30.pom.package.json @@ -30,31 +30,32 @@ "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-classworlds", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { - "purl": "pkg:maven/jmock/jmock", + "purl": "pkg:maven/jmock/jmock@1.0.1", "requirement": "1.0.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-30?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-30", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-30/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-30/plexus-container-default-1.0-alpha-30.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-container-default/1.0-alpha-7/plexus-container-default-1.0-alpha-7.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-container-default/1.0-alpha-7/plexus-container-default-1.0-alpha-7.pom.package.json index f52c6072b7b..cc9312a0a28 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-container-default/1.0-alpha-7/plexus-container-default-1.0-alpha-7.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-container-default/1.0-alpha-7/plexus-container-default-1.0-alpha-7.pom.package.json @@ -27,34 +27,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/plexus/plexus-utils", + "purl": "pkg:maven/plexus/plexus-utils@1.0.2", "requirement": "1.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/classworlds/classworlds", + "purl": "pkg:maven/classworlds/classworlds@1.1-alpha-2", "requirement": "1.1-alpha-2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-7?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-7", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-7/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-7/plexus-container-default-1.0-alpha-7.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.pom.package.json index 757032399e7..4027731ee1f 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.pom.package.json @@ -112,34 +112,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/classworlds/classworlds", + "purl": "pkg:maven/classworlds/classworlds@1.1-alpha-2", "requirement": "1.1-alpha-2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-8?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-8", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-container-default/1.0-alpha-9-stable-1/plexus-container-default-1.0-alpha-9-stable-1.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-container-default/1.0-alpha-9-stable-1/plexus-container-default-1.0-alpha-9-stable-1.pom.package.json index f6125ffcd6b..79fc274ec62 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-container-default/1.0-alpha-9-stable-1/plexus-container-default-1.0-alpha-9-stable-1.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-container-default/1.0-alpha-9-stable-1/plexus-container-default-1.0-alpha-9-stable-1.pom.package.json @@ -27,34 +27,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/classworlds/classworlds", + "purl": "pkg:maven/classworlds/classworlds@1.1-alpha-2", "requirement": "1.1-alpha-2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-9-stable-1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-9-stable-1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-9-stable-1/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-9-stable-1/plexus-container-default-1.0-alpha-9-stable-1.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-container-default/1.0-alpha-9/plexus-container-default-1.0-alpha-9.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-container-default/1.0-alpha-9/plexus-container-default-1.0-alpha-9.pom.package.json index 3a837b3bdc8..418e112711b 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-container-default/1.0-alpha-9/plexus-container-default-1.0-alpha-9.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-container-default/1.0-alpha-9/plexus-container-default-1.0-alpha-9.pom.package.json @@ -27,34 +27,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/classworlds/classworlds", + "purl": "pkg:maven/classworlds/classworlds@1.1-alpha-2", "requirement": "1.1-alpha-2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-9?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-9", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-9/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-9/plexus-container-default-1.0-alpha-9.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-15/plexus-containers-1.0-alpha-15.pom.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-15/plexus-containers-1.0-alpha-15.pom.json index 4d8beeb3894..7ac29b52604 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-15/plexus-containers-1.0-alpha-15.pom.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-15/plexus-containers-1.0-alpha-15.pom.json @@ -45,6 +45,26 @@ "version": "3.8.1", "required": true } + ], + "dependencyManagement": [ + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-classworlds", + "version": "1.2-alpha-6", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-component-api", + "version": "1.0-alpha-15", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-utils", + "version": "1.3", + "required": true + } ] } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-15/plexus-containers-1.0-alpha-15.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-15/plexus-containers-1.0-alpha-15.pom.package.json index b9975d0cd40..a865011f990 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-15/plexus-containers-1.0-alpha-15.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-15/plexus-containers-1.0-alpha-15.pom.package.json @@ -27,18 +27,43 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, + "is_optional": true, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-classworlds@1.2-alpha-6", + "requirement": "1.2-alpha-6", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-component-api@1.0-alpha-15", + "requirement": "1.0-alpha-15", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.3", + "requirement": "1.3", + "scope": "dependencymanagement", + "is_runtime": false, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-containers@1.0-alpha-15?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-containers@1.0-alpha-15", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-containers/1.0-alpha-15/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-containers/1.0-alpha-15/plexus-containers-1.0-alpha-15.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-16/plexus-containers-1.0-alpha-16.pom.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-16/plexus-containers-1.0-alpha-16.pom.json index 6e2803a2ea1..cce4a7d5f19 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-16/plexus-containers-1.0-alpha-16.pom.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-16/plexus-containers-1.0-alpha-16.pom.json @@ -45,6 +45,26 @@ "version": "3.8.1", "required": true } + ], + "dependencyManagement": [ + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-classworlds", + "version": "1.2-alpha-7", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-component-api", + "version": "1.0-alpha-16", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-utils", + "version": "1.3", + "required": true + } ] } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-16/plexus-containers-1.0-alpha-16.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-16/plexus-containers-1.0-alpha-16.pom.package.json index 77cf96cd909..2bad745fc64 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-16/plexus-containers-1.0-alpha-16.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-16/plexus-containers-1.0-alpha-16.pom.package.json @@ -27,18 +27,43 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, + "is_optional": true, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-classworlds@1.2-alpha-7", + "requirement": "1.2-alpha-7", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-component-api@1.0-alpha-16", + "requirement": "1.0-alpha-16", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.3", + "requirement": "1.3", + "scope": "dependencymanagement", + "is_runtime": false, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-containers@1.0-alpha-16?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-containers@1.0-alpha-16", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-containers/1.0-alpha-16/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-containers/1.0-alpha-16/plexus-containers-1.0-alpha-16.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-22/plexus-containers-1.0-alpha-22.pom.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-22/plexus-containers-1.0-alpha-22.pom.json index 6737513b8a2..d70c33b078d 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-22/plexus-containers-1.0-alpha-22.pom.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-22/plexus-containers-1.0-alpha-22.pom.json @@ -45,6 +45,26 @@ "version": "3.8.1", "required": true } + ], + "dependencyManagement": [ + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-classworlds", + "version": "1.2-alpha-7", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-component-api", + "version": "1.0-alpha-19", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-utils", + "version": "1.3", + "required": true + } ] } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-22/plexus-containers-1.0-alpha-22.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-22/plexus-containers-1.0-alpha-22.pom.package.json index 67c0e32f6e7..3c95cb35e1a 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-22/plexus-containers-1.0-alpha-22.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-22/plexus-containers-1.0-alpha-22.pom.package.json @@ -27,18 +27,43 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, + "is_optional": true, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-classworlds@1.2-alpha-7", + "requirement": "1.2-alpha-7", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-component-api@1.0-alpha-19", + "requirement": "1.0-alpha-19", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.3", + "requirement": "1.3", + "scope": "dependencymanagement", + "is_runtime": false, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-containers@1.0-alpha-22?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-containers@1.0-alpha-22", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-containers/1.0-alpha-22/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-containers/1.0-alpha-22/plexus-containers-1.0-alpha-22.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-30/plexus-containers-1.0-alpha-30.pom.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-30/plexus-containers-1.0-alpha-30.pom.json index ae3cec526e1..4834a34ffa0 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-30/plexus-containers-1.0-alpha-30.pom.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-30/plexus-containers-1.0-alpha-30.pom.json @@ -45,6 +45,26 @@ "version": "3.8.1", "required": true } + ], + "dependencyManagement": [ + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-classworlds", + "version": "1.2-alpha-9", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-utils", + "version": "1.4.5", + "required": true + }, + { + "group_id": "org.codehaus.plexus", + "artifact_id": "plexus-component-api", + "version": "1.0-alpha-30", + "required": true + } ] } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-30/plexus-containers-1.0-alpha-30.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-30/plexus-containers-1.0-alpha-30.pom.package.json index e7ffb790e53..cdc80c6644f 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-30/plexus-containers-1.0-alpha-30.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0-alpha-30/plexus-containers-1.0-alpha-30.pom.package.json @@ -27,18 +27,43 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, + "is_optional": true, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-classworlds@1.2-alpha-9", + "requirement": "1.2-alpha-9", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.5", + "requirement": "1.4.5", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.plexus/plexus-component-api@1.0-alpha-30", + "requirement": "1.0-alpha-30", + "scope": "dependencymanagement", + "is_runtime": false, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-containers@1.0-alpha-30?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-containers@1.0-alpha-30", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-containers/1.0-alpha-30/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-containers/1.0-alpha-30/plexus-containers-1.0-alpha-30.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0.3/plexus-containers-1.0.3.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0.3/plexus-containers-1.0.3.pom.package.json index 18049a58a98..89d3086c3de 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0.3/plexus-containers-1.0.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-containers/1.0.3/plexus-containers-1.0.3.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-containers@1.0.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-containers@1.0.3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-containers/1.0.3/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-containers/1.0.3/plexus-containers-1.0.3.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.pom.package.json index 27e11c931cb..990b5db707f 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-digest@1.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-digest@1.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-i18n/1.0-beta-6/plexus-i18n-1.0-beta-6.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-i18n/1.0-beta-6/plexus-i18n-1.0-beta-6.pom.package.json index d070d784adc..a7bced5c348 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-i18n/1.0-beta-6/plexus-i18n-1.0-beta-6.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-i18n/1.0-beta-6/plexus-i18n-1.0-beta-6.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-i18n@1.0-beta-6?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-i18n@1.0-beta-6", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-i18n/1.0-beta-6/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-i18n/1.0-beta-6/plexus-i18n-1.0-beta-6.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.pom.package.json index 2326eb28541..f6de55a7ba7 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.1", "requirement": "1.4.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-i18n@1.0-beta-7?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-i18n@1.0-beta-7", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-i18n/1.0-beta-7/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.pom.package.json index ab383a7b9d9..3e26668ac72 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.pom.package.json @@ -112,42 +112,43 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-7", "requirement": "1.0-alpha-7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/classworlds/classworlds", + "purl": "pkg:maven/classworlds/classworlds@1.1-alpha-2", "requirement": "1.1-alpha-2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/plexus/plexus-utils", + "purl": "pkg:maven/plexus/plexus-utils@1.0.2", "requirement": "1.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-interactivity-api@1.0-alpha-4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-interactivity-api@1.0-alpha-4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-io/1.0-alpha-1/plexus-io-1.0-alpha-1.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-io/1.0-alpha-1/plexus-io-1.0-alpha-1.pom.package.json index 6bed23a23d0..6a6941032c4 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-io/1.0-alpha-1/plexus-io-1.0-alpha-1.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-io/1.0-alpha-1/plexus-io-1.0-alpha-1.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-9", "requirement": "1.0-alpha-9", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-io@1.0-alpha-1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-io@1.0-alpha-1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-io/1.0-alpha-1/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-io/1.0-alpha-1/plexus-io-1.0-alpha-1.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-io/1.0-alpha-2/plexus-io-1.0-alpha-2.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-io/1.0-alpha-2/plexus-io-1.0-alpha-2.pom.package.json index 9d84fda61e9..383e678a643 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-io/1.0-alpha-2/plexus-io-1.0-alpha-2.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-io/1.0-alpha-2/plexus-io-1.0-alpha-2.pom.package.json @@ -27,34 +27,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", + "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.2", "requirement": "1.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-24", "requirement": "1.0-alpha-24", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.codehaus.plexus/plexus-component-api", + "purl": "pkg:maven/org.codehaus.plexus/plexus-component-api@1.0-alpha-24", "requirement": "1.0-alpha-24", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-io@1.0-alpha-2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-io@1.0-alpha-2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-io/1.0-alpha-2/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-io/1.0-alpha-2/plexus-io-1.0-alpha-2.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.pom.package.json index 646f86c0506..6b5bfb28ae5 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.pom.package.json @@ -112,18 +112,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-utils@1.0.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.0.4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.0.4/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom.package.json index fac44a626cf..9c190e97f0b 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/classworlds/classworlds", + "purl": "pkg:maven/classworlds/classworlds@1.1-alpha-2", "requirement": "1.1-alpha-2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-utils@1.0.5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.0.5", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.pom.package.json index 8ae9a050e7d..be7ab988ef4 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-utils@1.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.2/plexus-utils-1.2.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.2/plexus-utils-1.2.pom.package.json index fbf148bcb03..1c89ec0f8ca 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.2/plexus-utils-1.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.2/plexus-utils-1.2.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-utils@1.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.2/plexus-utils-1.2.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.3/plexus-utils-1.3.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.3/plexus-utils-1.3.pom.package.json index cd3ba2b2267..916b4948e43 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.3/plexus-utils-1.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.3/plexus-utils-1.3.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-utils@1.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.3/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.3/plexus-utils-1.3.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.4.1/plexus-utils-1.4.1.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.4.1/plexus-utils-1.4.1.pom.package.json index 8162c94c5b2..df564a89b0b 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.4.1/plexus-utils-1.4.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.4.1/plexus-utils-1.4.1.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.4.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.4.1/plexus-utils-1.4.1.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.4.2/plexus-utils-1.4.2.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.4.2/plexus-utils-1.4.2.pom.package.json index 1e07884ca14..9626c339730 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.4.2/plexus-utils-1.4.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.4.2/plexus-utils-1.4.2.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.4.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.4.2/plexus-utils-1.4.2.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.pom.package.json index 411a85f647e..860ca3ebb36 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.5", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.4.5/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.4.6/plexus-utils-1.4.6.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.4.6/plexus-utils-1.4.6.pom.package.json index b412229a528..72dde0d41a7 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.4.6/plexus-utils-1.4.6.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.4.6/plexus-utils-1.4.6.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.6?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.6", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.4.6/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.4.6/plexus-utils-1.4.6.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.4.7/plexus-utils-1.4.7.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.4.7/plexus-utils-1.4.7.pom.package.json index 14f5fe2edbd..a10dd17c7c8 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.4.7/plexus-utils-1.4.7.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.4.7/plexus-utils-1.4.7.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.7?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.7", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.4.7/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.4.7/plexus-utils-1.4.7.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.4.9/plexus-utils-1.4.9.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.4.9/plexus-utils-1.4.9.pom.package.json index 01af0bba210..0531f45e7f0 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.4.9/plexus-utils-1.4.9.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.4.9/plexus-utils-1.4.9.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.9?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.4.9", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.4.9/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.4.9/plexus-utils-1.4.9.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.5.1/plexus-utils-1.5.1.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.5.1/plexus-utils-1.5.1.pom.package.json index 68a68c9925f..7b1f9be5c44 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.5.1/plexus-utils-1.5.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-utils/1.5.1/plexus-utils-1.5.1.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-utils@1.5.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-utils@1.5.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.5.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.5.1/plexus-utils-1.5.1.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-velocity/1.1.2/plexus-velocity-1.1.2.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-velocity/1.1.2/plexus-velocity-1.1.2.pom.package.json index 786db8c84c3..f2912debf09 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-velocity/1.1.2/plexus-velocity-1.1.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-velocity/1.1.2/plexus-velocity-1.1.2.pom.package.json @@ -112,66 +112,67 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-7", "requirement": "1.0-alpha-7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/classworlds/classworlds", + "purl": "pkg:maven/classworlds/classworlds@1.1-alpha-2", "requirement": "1.1-alpha-2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/plexus/plexus-utils", + "purl": "pkg:maven/plexus/plexus-utils@1.0.2", "requirement": "1.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-collections/commons-collections", + "purl": "pkg:maven/commons-collections/commons-collections@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging-api", + "purl": "pkg:maven/commons-logging/commons-logging-api@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/velocity/velocity", + "purl": "pkg:maven/velocity/velocity@1.4", "requirement": "1.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-velocity@1.1.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-velocity@1.1.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-velocity/1.1.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-velocity/1.1.2/plexus-velocity-1.1.2.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-velocity/1.1.3/plexus-velocity-1.1.3.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-velocity/1.1.3/plexus-velocity-1.1.3.pom.package.json index e562b2f4db0..905d07dc02c 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-velocity/1.1.3/plexus-velocity-1.1.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-velocity/1.1.3/plexus-velocity-1.1.3.pom.package.json @@ -27,26 +27,27 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/commons-collections/commons-collections", + "purl": "pkg:maven/commons-collections/commons-collections@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/velocity/velocity", + "purl": "pkg:maven/velocity/velocity@1.4", "requirement": "1.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-velocity@1.1.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-velocity@1.1.3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-velocity/1.1.3/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-velocity/1.1.3/plexus-velocity-1.1.3.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.pom.package.json index f4e67a1e7c9..ad5f946714e 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.pom.package.json @@ -27,34 +27,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-20", "requirement": "1.0-alpha-20", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-collections/commons-collections", + "purl": "pkg:maven/commons-collections/commons-collections@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/velocity/velocity", + "purl": "pkg:maven/velocity/velocity@1.4", "requirement": "1.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-velocity@1.1.7?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-velocity@1.1.7", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-velocity/1.1.7/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus/1.0.10/plexus-1.0.10.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus/1.0.10/plexus-1.0.10.pom.package.json index 9c4e0f10d5d..5a3a7ec1a23 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus/1.0.10/plexus-1.0.10.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus/1.0.10/plexus-1.0.10.pom.package.json @@ -161,18 +161,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus@1.0.10?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus@1.0.10", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.10/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.10/plexus-1.0.10.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus/1.0.11/plexus-1.0.11.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus/1.0.11/plexus-1.0.11.pom.package.json index ec6a6405750..10311bf19b4 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus/1.0.11/plexus-1.0.11.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus/1.0.11/plexus-1.0.11.pom.package.json @@ -168,18 +168,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus@1.0.11?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus@1.0.11", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.11/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.11/plexus-1.0.11.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus/1.0.4/plexus-1.0.4.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus/1.0.4/plexus-1.0.4.pom.package.json index 47bd6473f3b..c753f320cf8 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus/1.0.4/plexus-1.0.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus/1.0.4/plexus-1.0.4.pom.package.json @@ -112,18 +112,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus@1.0.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus@1.0.4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.4/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.4/plexus-1.0.4.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus/1.0.5/plexus-1.0.5.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus/1.0.5/plexus-1.0.5.pom.package.json index 6a24cc39f4d..f73769b0552 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus/1.0.5/plexus-1.0.5.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus/1.0.5/plexus-1.0.5.pom.package.json @@ -112,18 +112,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus@1.0.5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus@1.0.5", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.5/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.5/plexus-1.0.5.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus/1.0.8/plexus-1.0.8.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus/1.0.8/plexus-1.0.8.pom.package.json index 7e9a98f1ff1..d9b92a9889c 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus/1.0.8/plexus-1.0.8.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus/1.0.8/plexus-1.0.8.pom.package.json @@ -133,18 +133,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus@1.0.8?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus@1.0.8", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.8/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.8/plexus-1.0.8.jar", diff --git a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus/1.0.9/plexus-1.0.9.pom.package.json b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus/1.0.9/plexus-1.0.9.pom.package.json index 27c8151cd70..85465140dbe 100644 --- a/tests/packagedcode/data/m2/org/codehaus/plexus/plexus/1.0.9/plexus-1.0.9.pom.package.json +++ b/tests/packagedcode/data/m2/org/codehaus/plexus/plexus/1.0.9/plexus-1.0.9.pom.package.json @@ -140,18 +140,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus@1.0.9?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus@1.0.9", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.9/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.9/plexus-1.0.9.jar", diff --git a/tests/packagedcode/data/m2/org/easymock/easymock/2.3/easymock-2.3.pom.package.json b/tests/packagedcode/data/m2/org/easymock/easymock/2.3/easymock-2.3.pom.package.json index 7e4bd4f30c4..fb5a03d9426 100644 --- a/tests/packagedcode/data/m2/org/easymock/easymock/2.3/easymock-2.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/easymock/easymock/2.3/easymock-2.3.pom.package.json @@ -34,18 +34,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@4.3.1", "requirement": "4.3.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.easymock/easymock@2.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.easymock/easymock@2.3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/easymock/easymock/2.3/", "repository_download_url": "https://repo1.maven.org/maven2/org/easymock/easymock/2.3/easymock-2.3.jar", diff --git a/tests/packagedcode/data/m2/org/easymock/easymockclassextension/2.3/easymockclassextension-2.3.pom.package.json b/tests/packagedcode/data/m2/org/easymock/easymockclassextension/2.3/easymockclassextension-2.3.pom.package.json index 96990ccadcd..4d3bc9aa09e 100644 --- a/tests/packagedcode/data/m2/org/easymock/easymockclassextension/2.3/easymockclassextension-2.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/easymock/easymockclassextension/2.3/easymockclassextension-2.3.pom.package.json @@ -34,42 +34,43 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.easymock/easymock", + "purl": "pkg:maven/org.easymock/easymock@2.3", "requirement": "2.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/cglib/cglib-nodep", + "purl": "pkg:maven/cglib/cglib-nodep@2.1_3", "requirement": "2.1_3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.objenesis/objenesis", + "purl": "pkg:maven/org.objenesis/objenesis@1.1", "requirement": "1.1", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@4.4", "requirement": "4.4", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.easymock/easymockclassextension@2.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.easymock/easymockclassextension@2.3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/easymock/easymockclassextension/2.3/", "repository_download_url": "https://repo1.maven.org/maven2/org/easymock/easymockclassextension/2.3/easymockclassextension-2.3.jar", diff --git a/tests/packagedcode/data/m2/org/hibernate/ejb3-persistence/1.0.1.GA/ejb3-persistence-1.0.1.GA.pom.package.json b/tests/packagedcode/data/m2/org/hibernate/ejb3-persistence/1.0.1.GA/ejb3-persistence-1.0.1.GA.pom.package.json index 2463c30bfea..2a59dc58a05 100644 --- a/tests/packagedcode/data/m2/org/hibernate/ejb3-persistence/1.0.1.GA/ejb3-persistence-1.0.1.GA.pom.package.json +++ b/tests/packagedcode/data/m2/org/hibernate/ejb3-persistence/1.0.1.GA/ejb3-persistence-1.0.1.GA.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.hibernate/ejb3-persistence@1.0.1.GA?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.hibernate/ejb3-persistence@1.0.1.GA", "repository_homepage_url": "https://repo1.maven.org/maven2/org/hibernate/ejb3-persistence/1.0.1.GA/", "repository_download_url": "https://repo1.maven.org/maven2/org/hibernate/ejb3-persistence/1.0.1.GA/ejb3-persistence-1.0.1.GA.jar", diff --git a/tests/packagedcode/data/m2/org/hibernate/hibernate-annotations/3.2.1.ga/hibernate-annotations-3.2.1.ga.pom.package.json b/tests/packagedcode/data/m2/org/hibernate/hibernate-annotations/3.2.1.ga/hibernate-annotations-3.2.1.ga.pom.package.json index 2c417e81964..b5b544d0248 100644 --- a/tests/packagedcode/data/m2/org/hibernate/hibernate-annotations/3.2.1.ga/hibernate-annotations-3.2.1.ga.pom.package.json +++ b/tests/packagedcode/data/m2/org/hibernate/hibernate-annotations/3.2.1.ga/hibernate-annotations-3.2.1.ga.pom.package.json @@ -34,34 +34,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.hibernate/hibernate", + "purl": "pkg:maven/org.hibernate/hibernate@3.2.1.ga", "requirement": "3.2.1.ga", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/javax.persistence/persistence-api", + "purl": "pkg:maven/javax.persistence/persistence-api@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.lucene/lucene-core", + "purl": "pkg:maven/org.apache.lucene/lucene-core@2.0.0", "requirement": "2.0.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.hibernate/hibernate-annotations@3.2.1.ga?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.hibernate/hibernate-annotations@3.2.1.ga", "repository_homepage_url": "https://repo1.maven.org/maven2/org/hibernate/hibernate-annotations/3.2.1.ga/", "repository_download_url": "https://repo1.maven.org/maven2/org/hibernate/hibernate-annotations/3.2.1.ga/hibernate-annotations-3.2.1.ga.jar", diff --git a/tests/packagedcode/data/m2/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.pom.package.json b/tests/packagedcode/data/m2/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.pom.package.json index 006d73434ea..885898c47ad 100644 --- a/tests/packagedcode/data/m2/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.pom.package.json +++ b/tests/packagedcode/data/m2/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.pom.package.json @@ -34,42 +34,43 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.hibernate/hibernate", + "purl": "pkg:maven/org.hibernate/hibernate@3.2.6.ga", "requirement": "3.2.6.ga", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.hibernate/hibernate-commons-annotations", + "purl": "pkg:maven/org.hibernate/hibernate-commons-annotations@3.0.0.ga", "requirement": "3.0.0.ga", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.hibernate/ejb3-persistence", + "purl": "pkg:maven/org.hibernate/ejb3-persistence@1.0.1.GA", "requirement": "1.0.1.GA", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.hibernate/hibernate-annotations@3.3.1.GA?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.hibernate/hibernate-annotations@3.3.1.GA", "repository_homepage_url": "https://repo1.maven.org/maven2/org/hibernate/hibernate-annotations/3.3.1.GA/", "repository_download_url": "https://repo1.maven.org/maven2/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.jar", diff --git a/tests/packagedcode/data/m2/org/hibernate/hibernate-commons-annotations/3.0.0.ga/hibernate-commons-annotations-3.0.0.ga.pom.package.json b/tests/packagedcode/data/m2/org/hibernate/hibernate-commons-annotations/3.0.0.ga/hibernate-commons-annotations-3.0.0.ga.pom.package.json index 47dbc098342..baf4fe0aae1 100644 --- a/tests/packagedcode/data/m2/org/hibernate/hibernate-commons-annotations/3.0.0.ga/hibernate-commons-annotations-3.0.0.ga.pom.package.json +++ b/tests/packagedcode/data/m2/org/hibernate/hibernate-commons-annotations/3.0.0.ga/hibernate-commons-annotations-3.0.0.ga.pom.package.json @@ -34,26 +34,27 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/log4j/log4j", + "purl": "pkg:maven/log4j/log4j@1.2.15", "requirement": "1.2.15", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.hibernate/hibernate-commons-annotations@3.0.0.ga?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.hibernate/hibernate-commons-annotations@3.0.0.ga", "repository_homepage_url": "https://repo1.maven.org/maven2/org/hibernate/hibernate-commons-annotations/3.0.0.ga/", "repository_download_url": "https://repo1.maven.org/maven2/org/hibernate/hibernate-commons-annotations/3.0.0.ga/hibernate-commons-annotations-3.0.0.ga.jar", diff --git a/tests/packagedcode/data/m2/org/hibernate/hibernate-entitymanager/3.2.1.ga/hibernate-entitymanager-3.2.1.ga.pom.package.json b/tests/packagedcode/data/m2/org/hibernate/hibernate-entitymanager/3.2.1.ga/hibernate-entitymanager-3.2.1.ga.pom.package.json index 576e566255a..07fb673845a 100644 --- a/tests/packagedcode/data/m2/org/hibernate/hibernate-entitymanager/3.2.1.ga/hibernate-entitymanager-3.2.1.ga.pom.package.json +++ b/tests/packagedcode/data/m2/org/hibernate/hibernate-entitymanager/3.2.1.ga/hibernate-entitymanager-3.2.1.ga.pom.package.json @@ -34,34 +34,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.hibernate/hibernate-annotations", + "purl": "pkg:maven/org.hibernate/hibernate-annotations@3.2.1.ga", "requirement": "3.2.1.ga", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/jboss/javassist", + "purl": "pkg:maven/jboss/javassist@3.3.ga", "requirement": "3.3.ga", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/jboss/jboss-archive-browsing", + "purl": "pkg:maven/jboss/jboss-archive-browsing@5.0.0alpha-200607201-119", "requirement": "5.0.0alpha-200607201-119", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.hibernate/hibernate-entitymanager@3.2.1.ga?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.hibernate/hibernate-entitymanager@3.2.1.ga", "repository_homepage_url": "https://repo1.maven.org/maven2/org/hibernate/hibernate-entitymanager/3.2.1.ga/", "repository_download_url": "https://repo1.maven.org/maven2/org/hibernate/hibernate-entitymanager/3.2.1.ga/hibernate-entitymanager-3.2.1.ga.jar", diff --git a/tests/packagedcode/data/m2/org/hibernate/hibernate-entitymanager/3.3.2.GA/hibernate-entitymanager-3.3.2.GA.pom.package.json b/tests/packagedcode/data/m2/org/hibernate/hibernate-entitymanager/3.3.2.GA/hibernate-entitymanager-3.3.2.GA.pom.package.json index ebfa85db66a..2e1e6421f04 100644 --- a/tests/packagedcode/data/m2/org/hibernate/hibernate-entitymanager/3.3.2.GA/hibernate-entitymanager-3.3.2.GA.pom.package.json +++ b/tests/packagedcode/data/m2/org/hibernate/hibernate-entitymanager/3.3.2.GA/hibernate-entitymanager-3.3.2.GA.pom.package.json @@ -34,58 +34,59 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.hibernate/hibernate", + "purl": "pkg:maven/org.hibernate/hibernate@3.2.6.ga", "requirement": "3.2.6.ga", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.hibernate/hibernate-annotations", + "purl": "pkg:maven/org.hibernate/hibernate-annotations@3.3.1.GA", "requirement": "3.3.1.GA", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.hibernate/hibernate-commons-annotations", + "purl": "pkg:maven/org.hibernate/hibernate-commons-annotations@3.0.0.ga", "requirement": "3.0.0.ga", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.hibernate/ejb3-persistence", + "purl": "pkg:maven/org.hibernate/ejb3-persistence@1.0.1.GA", "requirement": "1.0.1.GA", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/javassist/javassist", + "purl": "pkg:maven/javassist/javassist@3.4.GA", "requirement": "3.4.GA", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.hibernate/hibernate-entitymanager@3.3.2.GA?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.hibernate/hibernate-entitymanager@3.3.2.GA", "repository_homepage_url": "https://repo1.maven.org/maven2/org/hibernate/hibernate-entitymanager/3.3.2.GA/", "repository_download_url": "https://repo1.maven.org/maven2/org/hibernate/hibernate-entitymanager/3.3.2.GA/hibernate-entitymanager-3.3.2.GA.jar", diff --git a/tests/packagedcode/data/m2/org/hibernate/hibernate/3.2.1.ga/hibernate-3.2.1.ga.pom.package.json b/tests/packagedcode/data/m2/org/hibernate/hibernate/3.2.1.ga/hibernate-3.2.1.ga.pom.package.json index 2300bc697df..9369e366b6f 100644 --- a/tests/packagedcode/data/m2/org/hibernate/hibernate/3.2.1.ga/hibernate-3.2.1.ga.pom.package.json +++ b/tests/packagedcode/data/m2/org/hibernate/hibernate/3.2.1.ga/hibernate-3.2.1.ga.pom.package.json @@ -42,146 +42,147 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/net.sf.ehcache/ehcache", + "purl": "pkg:maven/net.sf.ehcache/ehcache@1.2.3", "requirement": "1.2.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/swarmcache/swarmcache", + "purl": "pkg:maven/swarmcache/swarmcache@1.0RC2", "requirement": "1.0RC2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jboss/jboss-cache", + "purl": "pkg:maven/jboss/jboss-cache@1.2.2", "requirement": "1.2.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jgroups/jgroups-all", + "purl": "pkg:maven/jgroups/jgroups-all@2.2.8", "requirement": "2.2.8", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.transaction/jta", + "purl": "pkg:maven/javax.transaction/jta@1.0.1B", "requirement": "1.0.1B", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/c3p0/c3p0", + "purl": "pkg:maven/c3p0/c3p0@0.9.0", "requirement": "0.9.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/asm/asm-attrs", + "purl": "pkg:maven/asm/asm-attrs@1.5.3", "requirement": "1.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/javax.security/jacc", + "purl": "pkg:maven/javax.security/jacc@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/dom4j/dom4j", + "purl": "pkg:maven/dom4j/dom4j@1.6.1", "requirement": "1.6.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/antlr/antlr", + "purl": "pkg:maven/antlr/antlr@2.7.6", "requirement": "2.7.6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/cglib/cglib", + "purl": "pkg:maven/cglib/cglib@2.1_3", "requirement": "2.1_3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/opensymphony/oscache", + "purl": "pkg:maven/opensymphony/oscache@2.1", "requirement": "2.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/asm/asm", + "purl": "pkg:maven/asm/asm@1.5.3", "requirement": "1.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-collections/commons-collections", + "purl": "pkg:maven/commons-collections/commons-collections@2.1.1", "requirement": "2.1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/proxool/proxool", + "purl": "pkg:maven/proxool/proxool@0.8.3", "requirement": "0.8.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/ant/ant", + "purl": "pkg:maven/ant/ant@1.6.5", "requirement": "1.6.5", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.hibernate/hibernate@3.2.1.ga?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.hibernate/hibernate@3.2.1.ga", "repository_homepage_url": "https://repo1.maven.org/maven2/org/hibernate/hibernate/3.2.1.ga/", "repository_download_url": "https://repo1.maven.org/maven2/org/hibernate/hibernate/3.2.1.ga/hibernate-3.2.1.ga.jar", diff --git a/tests/packagedcode/data/m2/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.pom.package.json b/tests/packagedcode/data/m2/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.pom.package.json index 8630078ec6b..b99e4598c2a 100644 --- a/tests/packagedcode/data/m2/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.pom.package.json +++ b/tests/packagedcode/data/m2/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.pom.package.json @@ -42,146 +42,147 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/net.sf.ehcache/ehcache", + "purl": "pkg:maven/net.sf.ehcache/ehcache@1.2.3", "requirement": "1.2.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/swarmcache/swarmcache", + "purl": "pkg:maven/swarmcache/swarmcache@1.0RC2", "requirement": "1.0RC2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jboss/jboss-cache", + "purl": "pkg:maven/jboss/jboss-cache@1.2.2", "requirement": "1.2.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jgroups/jgroups-all", + "purl": "pkg:maven/jgroups/jgroups-all@2.2.8", "requirement": "2.2.8", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.transaction/jta", + "purl": "pkg:maven/javax.transaction/jta@1.0.1B", "requirement": "1.0.1B", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/c3p0/c3p0", + "purl": "pkg:maven/c3p0/c3p0@0.9.1", "requirement": "0.9.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/asm/asm-attrs", + "purl": "pkg:maven/asm/asm-attrs@1.5.3", "requirement": "1.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/javax.security/jacc", + "purl": "pkg:maven/javax.security/jacc@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/dom4j/dom4j", + "purl": "pkg:maven/dom4j/dom4j@1.6.1", "requirement": "1.6.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/antlr/antlr", + "purl": "pkg:maven/antlr/antlr@2.7.6", "requirement": "2.7.6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/cglib/cglib", + "purl": "pkg:maven/cglib/cglib@2.1_3", "requirement": "2.1_3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/opensymphony/oscache", + "purl": "pkg:maven/opensymphony/oscache@2.1", "requirement": "2.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/asm/asm", + "purl": "pkg:maven/asm/asm@1.5.3", "requirement": "1.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-collections/commons-collections", + "purl": "pkg:maven/commons-collections/commons-collections@2.1.1", "requirement": "2.1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/proxool/proxool", + "purl": "pkg:maven/proxool/proxool@0.8.3", "requirement": "0.8.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/ant/ant", + "purl": "pkg:maven/ant/ant@1.6.5", "requirement": "1.6.5", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.hibernate/hibernate@3.2.6.ga?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.hibernate/hibernate@3.2.6.ga", "repository_homepage_url": "https://repo1.maven.org/maven2/org/hibernate/hibernate/3.2.6.ga/", "repository_download_url": "https://repo1.maven.org/maven2/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.jar", diff --git a/tests/packagedcode/data/m2/org/mortbay/jetty/jetty-parent/7/jetty-parent-7.pom.package.json b/tests/packagedcode/data/m2/org/mortbay/jetty/jetty-parent/7/jetty-parent-7.pom.package.json index 48cd0193f71..5daa34764ce 100644 --- a/tests/packagedcode/data/m2/org/mortbay/jetty/jetty-parent/7/jetty-parent-7.pom.package.json +++ b/tests/packagedcode/data/m2/org/mortbay/jetty/jetty-parent/7/jetty-parent-7.pom.package.json @@ -122,6 +122,7 @@ "source_packages": [ "pkg:maven/org.mortbay.jetty/jetty-parent@7?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.mortbay.jetty/jetty-parent@7", "repository_homepage_url": "https://repo1.maven.org/maven2/org/mortbay/jetty/jetty-parent/7/", "repository_download_url": "https://repo1.maven.org/maven2/org/mortbay/jetty/jetty-parent/7/jetty-parent-7.jar", diff --git a/tests/packagedcode/data/m2/org/mortbay/jetty/jetty-util/6.1.5/jetty-util-6.1.5.pom.package.json b/tests/packagedcode/data/m2/org/mortbay/jetty/jetty-util/6.1.5/jetty-util-6.1.5.pom.package.json index 81f64f150fc..faab183db89 100644 --- a/tests/packagedcode/data/m2/org/mortbay/jetty/jetty-util/6.1.5/jetty-util-6.1.5.pom.package.json +++ b/tests/packagedcode/data/m2/org/mortbay/jetty/jetty-util/6.1.5/jetty-util-6.1.5.pom.package.json @@ -32,21 +32,22 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null }, { - "purl": "pkg:maven/org.mortbay.jetty/servlet-api-2.5", + "purl": "pkg:maven/org.mortbay.jetty/servlet-api-2.5@6.1.5", "requirement": "6.1.5", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.mortbay.jetty/jetty-util@6.1.5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.mortbay.jetty/jetty-util@6.1.5", "repository_homepage_url": "https://repo1.maven.org/maven2/org/mortbay/jetty/jetty-util/6.1.5/", "repository_download_url": "https://repo1.maven.org/maven2/org/mortbay/jetty/jetty-util/6.1.5/jetty-util-6.1.5.jar", diff --git a/tests/packagedcode/data/m2/org/mortbay/jetty/jetty/6.1.5/jetty-6.1.5.pom.package.json b/tests/packagedcode/data/m2/org/mortbay/jetty/jetty/6.1.5/jetty-6.1.5.pom.package.json index c3da6972511..cff0ae928ae 100644 --- a/tests/packagedcode/data/m2/org/mortbay/jetty/jetty/6.1.5/jetty-6.1.5.pom.package.json +++ b/tests/packagedcode/data/m2/org/mortbay/jetty/jetty/6.1.5/jetty-6.1.5.pom.package.json @@ -32,29 +32,30 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null }, { - "purl": "pkg:maven/org.mortbay.jetty/jetty-util", + "purl": "pkg:maven/org.mortbay.jetty/jetty-util@6.1.5", "requirement": "6.1.5", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.mortbay.jetty/servlet-api-2.5", + "purl": "pkg:maven/org.mortbay.jetty/servlet-api-2.5@6.1.5", "requirement": "6.1.5", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.mortbay.jetty/jetty@6.1.5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.mortbay.jetty/jetty@6.1.5", "repository_homepage_url": "https://repo1.maven.org/maven2/org/mortbay/jetty/jetty/6.1.5/", "repository_download_url": "https://repo1.maven.org/maven2/org/mortbay/jetty/jetty/6.1.5/jetty-6.1.5.jar", diff --git a/tests/packagedcode/data/m2/org/mortbay/jetty/maven-jetty-plugin/6.1-SNAPSHOT/maven-jetty-plugin-6.1-20090123.170629-84.pom.package.json b/tests/packagedcode/data/m2/org/mortbay/jetty/maven-jetty-plugin/6.1-SNAPSHOT/maven-jetty-plugin-6.1-20090123.170629-84.pom.package.json index 50aba153951..db440581298 100644 --- a/tests/packagedcode/data/m2/org/mortbay/jetty/maven-jetty-plugin/6.1-SNAPSHOT/maven-jetty-plugin-6.1-20090123.170629-84.pom.package.json +++ b/tests/packagedcode/data/m2/org/mortbay/jetty/maven-jetty-plugin/6.1-SNAPSHOT/maven-jetty-plugin-6.1-20090123.170629-84.pom.package.json @@ -35,98 +35,99 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.mortbay.jetty/jetty", + "purl": "pkg:maven/org.mortbay.jetty/jetty@6.1-SNAPSHOT", "requirement": "6.1-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-project", + "purl": "pkg:maven/org.apache.maven/maven-project@2.0.3", "requirement": "2.0.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0.3", "requirement": "2.0.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.3", "requirement": "2.0.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.apache.maven/maven-plugin-tools-api", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { - "purl": "pkg:maven/org.mortbay.jetty/jetty-plus", + "purl": "pkg:maven/org.mortbay.jetty/jetty-plus@6.1-SNAPSHOT", "requirement": "6.1-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.mortbay.jetty/jetty-naming", + "purl": "pkg:maven/org.mortbay.jetty/jetty-naming@6.1-SNAPSHOT", "requirement": "6.1-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.mortbay.jetty/jetty-management", + "purl": "pkg:maven/org.mortbay.jetty/jetty-management@6.1-SNAPSHOT", "requirement": "6.1-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.mortbay.jetty/jsp-2.1-jetty", + "purl": "pkg:maven/org.mortbay.jetty/jsp-2.1-jetty@6.1-SNAPSHOT", "requirement": "6.1-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.mortbay.jetty/jetty-annotations", + "purl": "pkg:maven/org.mortbay.jetty/jetty-annotations@6.1-SNAPSHOT", "requirement": "6.1-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.mortbay.jetty/start", + "purl": "pkg:maven/org.mortbay.jetty/start@6.1-SNAPSHOT", "requirement": "6.1-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.mortbay.jetty/maven-jetty-plugin@6.1-SNAPSHOT?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.mortbay.jetty/maven-jetty-plugin@6.1-SNAPSHOT", "repository_homepage_url": "https://repo1.maven.org/maven2/org/mortbay/jetty/maven-jetty-plugin/6.1-SNAPSHOT/", "repository_download_url": "https://repo1.maven.org/maven2/org/mortbay/jetty/maven-jetty-plugin/6.1-SNAPSHOT/maven-jetty-plugin-6.1-SNAPSHOT.jar", diff --git a/tests/packagedcode/data/m2/org/mortbay/jetty/maven-jetty-plugin/6.1-SNAPSHOT/maven-jetty-plugin-6.1-SNAPSHOT.pom.package.json b/tests/packagedcode/data/m2/org/mortbay/jetty/maven-jetty-plugin/6.1-SNAPSHOT/maven-jetty-plugin-6.1-SNAPSHOT.pom.package.json index 50aba153951..db440581298 100644 --- a/tests/packagedcode/data/m2/org/mortbay/jetty/maven-jetty-plugin/6.1-SNAPSHOT/maven-jetty-plugin-6.1-SNAPSHOT.pom.package.json +++ b/tests/packagedcode/data/m2/org/mortbay/jetty/maven-jetty-plugin/6.1-SNAPSHOT/maven-jetty-plugin-6.1-SNAPSHOT.pom.package.json @@ -35,98 +35,99 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.mortbay.jetty/jetty", + "purl": "pkg:maven/org.mortbay.jetty/jetty@6.1-SNAPSHOT", "requirement": "6.1-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-project", + "purl": "pkg:maven/org.apache.maven/maven-project@2.0.3", "requirement": "2.0.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@2.0.3", "requirement": "2.0.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.3", "requirement": "2.0.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/org.apache.maven/maven-plugin-tools-api", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { - "purl": "pkg:maven/org.mortbay.jetty/jetty-plus", + "purl": "pkg:maven/org.mortbay.jetty/jetty-plus@6.1-SNAPSHOT", "requirement": "6.1-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.mortbay.jetty/jetty-naming", + "purl": "pkg:maven/org.mortbay.jetty/jetty-naming@6.1-SNAPSHOT", "requirement": "6.1-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.mortbay.jetty/jetty-management", + "purl": "pkg:maven/org.mortbay.jetty/jetty-management@6.1-SNAPSHOT", "requirement": "6.1-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.mortbay.jetty/jsp-2.1-jetty", + "purl": "pkg:maven/org.mortbay.jetty/jsp-2.1-jetty@6.1-SNAPSHOT", "requirement": "6.1-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.mortbay.jetty/jetty-annotations", + "purl": "pkg:maven/org.mortbay.jetty/jetty-annotations@6.1-SNAPSHOT", "requirement": "6.1-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.mortbay.jetty/start", + "purl": "pkg:maven/org.mortbay.jetty/start@6.1-SNAPSHOT", "requirement": "6.1-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.mortbay.jetty/maven-jetty-plugin@6.1-SNAPSHOT?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.mortbay.jetty/maven-jetty-plugin@6.1-SNAPSHOT", "repository_homepage_url": "https://repo1.maven.org/maven2/org/mortbay/jetty/maven-jetty-plugin/6.1-SNAPSHOT/", "repository_download_url": "https://repo1.maven.org/maven2/org/mortbay/jetty/maven-jetty-plugin/6.1-SNAPSHOT/maven-jetty-plugin-6.1-SNAPSHOT.jar", diff --git a/tests/packagedcode/data/m2/org/mortbay/jetty/project/6.1-SNAPSHOT/project-6.1-20090123.170629-92.pom.json b/tests/packagedcode/data/m2/org/mortbay/jetty/project/6.1-SNAPSHOT/project-6.1-20090123.170629-92.pom.json index d8cef2196a0..b344dc3d1b2 100644 --- a/tests/packagedcode/data/m2/org/mortbay/jetty/project/6.1-SNAPSHOT/project-6.1-20090123.170629-92.pom.json +++ b/tests/packagedcode/data/m2/org/mortbay/jetty/project/6.1-SNAPSHOT/project-6.1-20090123.170629-92.pom.json @@ -73,5 +73,56 @@ } ], "plugin_repositories": [], - "dependencies": {} + "dependencies": { + "dependencyManagement": [ + { + "group_id": "org.apache.maven", + "artifact_id": "maven-plugin-tools-api", + "version": "2.0", + "required": true + }, + { + "group_id": "junit", + "artifact_id": "junit", + "version": "3.8.2", + "required": true + }, + { + "group_id": "org.slf4j", + "artifact_id": "jcl104-over-slf4j", + "version": "1.3.1", + "required": true + }, + { + "group_id": "org.slf4j", + "artifact_id": "slf4j-simple", + "version": "1.3.1", + "required": true + }, + { + "group_id": "ant", + "artifact_id": "ant", + "version": "1.6.5", + "required": true + }, + { + "group_id": "geronimo-spec", + "artifact_id": "geronimo-spec-jta", + "version": "1.0.1B-rc4", + "required": true + }, + { + "group_id": "javax.mail", + "artifact_id": "mail", + "version": "1.4", + "required": true + }, + { + "group_id": "javax.activation", + "artifact_id": "activation", + "version": "1.1", + "required": true + } + ] + } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/mortbay/jetty/project/6.1-SNAPSHOT/project-6.1-20090123.170629-92.pom.package.json b/tests/packagedcode/data/m2/org/mortbay/jetty/project/6.1-SNAPSHOT/project-6.1-20090123.170629-92.pom.package.json index 25dccac23a7..e03c13303d4 100644 --- a/tests/packagedcode/data/m2/org/mortbay/jetty/project/6.1-SNAPSHOT/project-6.1-20090123.170629-92.pom.package.json +++ b/tests/packagedcode/data/m2/org/mortbay/jetty/project/6.1-SNAPSHOT/project-6.1-20090123.170629-92.pom.package.json @@ -25,11 +25,77 @@ "declared_license": null, "notice_text": null, "root_path": null, - "dependencies": [], + "dependencies": [ + { + "purl": "pkg:maven/org.apache.maven/maven-plugin-tools-api@2.0", + "requirement": "2.0", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/junit/junit@3.8.2", + "requirement": "3.8.2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.slf4j/jcl104-over-slf4j@1.3.1", + "requirement": "1.3.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.slf4j/slf4j-simple@1.3.1", + "requirement": "1.3.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/ant/ant@1.6.5", + "requirement": "1.6.5", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/geronimo-spec/geronimo-spec-jta@1.0.1B-rc4", + "requirement": "1.0.1B-rc4", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/javax.mail/mail@1.4", + "requirement": "1.4", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/javax.activation/activation@1.1", + "requirement": "1.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + } + ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.mortbay.jetty/project@6.1-SNAPSHOT?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.mortbay.jetty/project@6.1-SNAPSHOT", "repository_homepage_url": "https://repo1.maven.org/maven2/org/mortbay/jetty/project/6.1-SNAPSHOT/", "repository_download_url": "https://repo1.maven.org/maven2/org/mortbay/jetty/project/6.1-SNAPSHOT/project-6.1-SNAPSHOT.jar", diff --git a/tests/packagedcode/data/m2/org/mortbay/jetty/project/6.1-SNAPSHOT/project-6.1-SNAPSHOT.pom.json b/tests/packagedcode/data/m2/org/mortbay/jetty/project/6.1-SNAPSHOT/project-6.1-SNAPSHOT.pom.json index d8cef2196a0..b344dc3d1b2 100644 --- a/tests/packagedcode/data/m2/org/mortbay/jetty/project/6.1-SNAPSHOT/project-6.1-SNAPSHOT.pom.json +++ b/tests/packagedcode/data/m2/org/mortbay/jetty/project/6.1-SNAPSHOT/project-6.1-SNAPSHOT.pom.json @@ -73,5 +73,56 @@ } ], "plugin_repositories": [], - "dependencies": {} + "dependencies": { + "dependencyManagement": [ + { + "group_id": "org.apache.maven", + "artifact_id": "maven-plugin-tools-api", + "version": "2.0", + "required": true + }, + { + "group_id": "junit", + "artifact_id": "junit", + "version": "3.8.2", + "required": true + }, + { + "group_id": "org.slf4j", + "artifact_id": "jcl104-over-slf4j", + "version": "1.3.1", + "required": true + }, + { + "group_id": "org.slf4j", + "artifact_id": "slf4j-simple", + "version": "1.3.1", + "required": true + }, + { + "group_id": "ant", + "artifact_id": "ant", + "version": "1.6.5", + "required": true + }, + { + "group_id": "geronimo-spec", + "artifact_id": "geronimo-spec-jta", + "version": "1.0.1B-rc4", + "required": true + }, + { + "group_id": "javax.mail", + "artifact_id": "mail", + "version": "1.4", + "required": true + }, + { + "group_id": "javax.activation", + "artifact_id": "activation", + "version": "1.1", + "required": true + } + ] + } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/mortbay/jetty/project/6.1-SNAPSHOT/project-6.1-SNAPSHOT.pom.package.json b/tests/packagedcode/data/m2/org/mortbay/jetty/project/6.1-SNAPSHOT/project-6.1-SNAPSHOT.pom.package.json index 25dccac23a7..e03c13303d4 100644 --- a/tests/packagedcode/data/m2/org/mortbay/jetty/project/6.1-SNAPSHOT/project-6.1-SNAPSHOT.pom.package.json +++ b/tests/packagedcode/data/m2/org/mortbay/jetty/project/6.1-SNAPSHOT/project-6.1-SNAPSHOT.pom.package.json @@ -25,11 +25,77 @@ "declared_license": null, "notice_text": null, "root_path": null, - "dependencies": [], + "dependencies": [ + { + "purl": "pkg:maven/org.apache.maven/maven-plugin-tools-api@2.0", + "requirement": "2.0", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/junit/junit@3.8.2", + "requirement": "3.8.2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.slf4j/jcl104-over-slf4j@1.3.1", + "requirement": "1.3.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.slf4j/slf4j-simple@1.3.1", + "requirement": "1.3.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/ant/ant@1.6.5", + "requirement": "1.6.5", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/geronimo-spec/geronimo-spec-jta@1.0.1B-rc4", + "requirement": "1.0.1B-rc4", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/javax.mail/mail@1.4", + "requirement": "1.4", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/javax.activation/activation@1.1", + "requirement": "1.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + } + ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.mortbay.jetty/project@6.1-SNAPSHOT?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.mortbay.jetty/project@6.1-SNAPSHOT", "repository_homepage_url": "https://repo1.maven.org/maven2/org/mortbay/jetty/project/6.1-SNAPSHOT/", "repository_download_url": "https://repo1.maven.org/maven2/org/mortbay/jetty/project/6.1-SNAPSHOT/project-6.1-SNAPSHOT.jar", diff --git a/tests/packagedcode/data/m2/org/mortbay/jetty/project/6.1.5/project-6.1.5.pom.json b/tests/packagedcode/data/m2/org/mortbay/jetty/project/6.1.5/project-6.1.5.pom.json index b0d50a6aa09..0bc2be5b006 100644 --- a/tests/packagedcode/data/m2/org/mortbay/jetty/project/6.1.5/project-6.1.5.pom.json +++ b/tests/packagedcode/data/m2/org/mortbay/jetty/project/6.1.5/project-6.1.5.pom.json @@ -190,5 +190,74 @@ "url": "http://people.apache.org/repo/m2-snapshot-repository/" } ], - "dependencies": {} + "dependencies": { + "dependencyManagement": [ + { + "group_id": "org.apache.maven", + "artifact_id": "maven-plugin-tools-api", + "version": "2.0", + "required": true + }, + { + "group_id": "junit", + "artifact_id": "junit", + "version": "3.8.2", + "required": true + }, + { + "group_id": "org.slf4j", + "artifact_id": "jcl104-over-slf4j", + "version": "1.3.1", + "required": true + }, + { + "group_id": "org.slf4j", + "artifact_id": "slf4j-simple", + "version": "1.3.1", + "required": true + }, + { + "group_id": "mx4j", + "artifact_id": "mx4j", + "version": "3.0.1", + "required": true + }, + { + "group_id": "mx4j", + "artifact_id": "mx4j-tools", + "version": "3.0.1", + "required": true + }, + { + "group_id": "xerces", + "artifact_id": "xercesImpl", + "version": "${xerces-version}", + "required": true + }, + { + "group_id": "commons-el", + "artifact_id": "commons-el", + "version": "1.0", + "required": true + }, + { + "group_id": "ant", + "artifact_id": "ant", + "version": "1.6.5", + "required": true + }, + { + "group_id": "javax.mail", + "artifact_id": "mail", + "version": "1.4", + "required": true + }, + { + "group_id": "javax.activation", + "artifact_id": "activation", + "version": "1.1", + "required": true + } + ] + } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/mortbay/jetty/project/6.1.5/project-6.1.5.pom.package.json b/tests/packagedcode/data/m2/org/mortbay/jetty/project/6.1.5/project-6.1.5.pom.package.json index 8714a99430f..0fa837a8124 100644 --- a/tests/packagedcode/data/m2/org/mortbay/jetty/project/6.1.5/project-6.1.5.pom.package.json +++ b/tests/packagedcode/data/m2/org/mortbay/jetty/project/6.1.5/project-6.1.5.pom.package.json @@ -96,11 +96,101 @@ ], "notice_text": null, "root_path": null, - "dependencies": [], + "dependencies": [ + { + "purl": "pkg:maven/org.apache.maven/maven-plugin-tools-api@2.0", + "requirement": "2.0", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/junit/junit@3.8.2", + "requirement": "3.8.2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.slf4j/jcl104-over-slf4j@1.3.1", + "requirement": "1.3.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.slf4j/slf4j-simple@1.3.1", + "requirement": "1.3.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/mx4j/mx4j@3.0.1", + "requirement": "3.0.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/mx4j/mx4j-tools@3.0.1", + "requirement": "3.0.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/xerces/xercesImpl", + "requirement": "${xerces-version}", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": false + }, + { + "purl": "pkg:maven/commons-el/commons-el@1.0", + "requirement": "1.0", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/ant/ant@1.6.5", + "requirement": "1.6.5", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/javax.mail/mail@1.4", + "requirement": "1.4", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/javax.activation/activation@1.1", + "requirement": "1.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + } + ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.mortbay.jetty/project@6.1.5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.mortbay.jetty/project@6.1.5", "repository_homepage_url": "https://repo1.maven.org/maven2/org/mortbay/jetty/project/6.1.5/", "repository_download_url": "https://repo1.maven.org/maven2/org/mortbay/jetty/project/6.1.5/project-6.1.5.jar", diff --git a/tests/packagedcode/data/m2/org/mortbay/jetty/servlet-api-2.5/6.1.5/servlet-api-2.5-6.1.5.pom.package.json b/tests/packagedcode/data/m2/org/mortbay/jetty/servlet-api-2.5/6.1.5/servlet-api-2.5-6.1.5.pom.package.json index 4e3ba27f41f..95de71ba01e 100644 --- a/tests/packagedcode/data/m2/org/mortbay/jetty/servlet-api-2.5/6.1.5/servlet-api-2.5-6.1.5.pom.package.json +++ b/tests/packagedcode/data/m2/org/mortbay/jetty/servlet-api-2.5/6.1.5/servlet-api-2.5-6.1.5.pom.package.json @@ -37,6 +37,7 @@ "source_packages": [ "pkg:maven/org.mortbay.jetty/servlet-api-2.5@6.1.5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.mortbay.jetty/servlet-api-2.5@6.1.5", "repository_homepage_url": "https://repo1.maven.org/maven2/org/mortbay/jetty/servlet-api-2.5/6.1.5/", "repository_download_url": "https://repo1.maven.org/maven2/org/mortbay/jetty/servlet-api-2.5/6.1.5/servlet-api-2.5-6.1.5.jar", diff --git a/tests/packagedcode/data/m2/org/openqa/selenium/client-drivers/selenium-client-drivers/0.9.2/selenium-client-drivers-0.9.2.pom.package.json b/tests/packagedcode/data/m2/org/openqa/selenium/client-drivers/selenium-client-drivers/0.9.2/selenium-client-drivers-0.9.2.pom.package.json index ece7ea3be90..cdd01c5dfb4 100644 --- a/tests/packagedcode/data/m2/org/openqa/selenium/client-drivers/selenium-client-drivers/0.9.2/selenium-client-drivers-0.9.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/openqa/selenium/client-drivers/selenium-client-drivers/0.9.2/selenium-client-drivers-0.9.2.pom.package.json @@ -30,23 +30,24 @@ "purl": "pkg:maven/org.openqa.selenium.core/selenium-core", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { - "purl": "pkg:maven/org.openqa.selenium.server/selenium-server", + "purl": "pkg:maven/org.openqa.selenium.server/selenium-server@0.9.2", "requirement": "0.9.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.openqa.selenium.client-drivers/selenium-client-drivers@0.9.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.openqa.selenium.client-drivers/selenium-client-drivers@0.9.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/openqa/selenium/client-drivers/selenium-client-drivers/0.9.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/openqa/selenium/client-drivers/selenium-client-drivers/0.9.2/selenium-client-drivers-0.9.2.jar", diff --git a/tests/packagedcode/data/m2/org/openqa/selenium/client-drivers/selenium-java-client-driver/0.9.2/selenium-java-client-driver-0.9.2.pom.package.json b/tests/packagedcode/data/m2/org/openqa/selenium/client-drivers/selenium-java-client-driver/0.9.2/selenium-java-client-driver-0.9.2.pom.package.json index 00b7c4b66f3..5b18af78248 100644 --- a/tests/packagedcode/data/m2/org/openqa/selenium/client-drivers/selenium-java-client-driver/0.9.2/selenium-java-client-driver-0.9.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/openqa/selenium/client-drivers/selenium-java-client-driver/0.9.2/selenium-java-client-driver-0.9.2.pom.package.json @@ -32,21 +32,22 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null }, { "purl": "pkg:maven/junit/junit", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.openqa.selenium.client-drivers/selenium-java-client-driver@0.9.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.openqa.selenium.client-drivers/selenium-java-client-driver@0.9.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/openqa/selenium/client-drivers/selenium-java-client-driver/0.9.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/openqa/selenium/client-drivers/selenium-java-client-driver/0.9.2/selenium-java-client-driver-0.9.2.jar", diff --git a/tests/packagedcode/data/m2/org/openqa/selenium/core/selenium-core/0.8.3/selenium-core-0.8.3.pom.package.json b/tests/packagedcode/data/m2/org/openqa/selenium/core/selenium-core/0.8.3/selenium-core-0.8.3.pom.package.json index bd110f77f55..5bc60ed475d 100644 --- a/tests/packagedcode/data/m2/org/openqa/selenium/core/selenium-core/0.8.3/selenium-core-0.8.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/openqa/selenium/core/selenium-core/0.8.3/selenium-core-0.8.3.pom.package.json @@ -27,34 +27,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.openqa.selenium.server/selenium-server-coreless", + "purl": "pkg:maven/org.openqa.selenium.server/selenium-server-coreless@0.9.1", "requirement": "0.9.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/rhino/js", + "purl": "pkg:maven/rhino/js@1.6R5", "requirement": "1.6R5", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.openqa.selenium.core/selenium-core@0.8.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.openqa.selenium.core/selenium-core@0.8.3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/openqa/selenium/core/selenium-core/0.8.3/", "repository_download_url": "https://repo1.maven.org/maven2/org/openqa/selenium/core/selenium-core/0.8.3/selenium-core-0.8.3.jar", diff --git a/tests/packagedcode/data/m2/org/openqa/selenium/selenium-rc/0.9.1/selenium-rc-0.9.1.pom.json b/tests/packagedcode/data/m2/org/openqa/selenium/selenium-rc/0.9.1/selenium-rc-0.9.1.pom.json index f5b59834080..7365340211d 100644 --- a/tests/packagedcode/data/m2/org/openqa/selenium/selenium-rc/0.9.1/selenium-rc-0.9.1.pom.json +++ b/tests/packagedcode/data/m2/org/openqa/selenium/selenium-rc/0.9.1/selenium-rc-0.9.1.pom.json @@ -54,5 +54,68 @@ "url": "http://people.apache.org/maven-snapshot-repository" } ], - "dependencies": {} + "dependencies": { + "dependencyManagement": [ + { + "group_id": "org.openqa.selenium.server", + "artifact_id": "selenium-server-coreless", + "version": "0.9.1", + "required": true + }, + { + "group_id": "org.openqa.selenium.server", + "artifact_id": "selenium-server", + "version": "0.9.1", + "required": true + }, + { + "group_id": "org.openqa.selenium.core", + "artifact_id": "selenium-core", + "version": "0.8.3-SNAPSHOT", + "required": true + }, + { + "group_id": "org.openqa.selenium.ide", + "artifact_id": "selenium-ide", + "version": "0.8.1-SNAPSHOT", + "required": true + }, + { + "group_id": "ant", + "artifact_id": "ant", + "version": "1.6.5", + "required": true + }, + { + "group_id": "jetty", + "artifact_id": "org.mortbay.jetty", + "version": "5.1.10", + "required": true + }, + { + "group_id": "commons-logging", + "artifact_id": "commons-logging", + "version": "1.0.4", + "required": true + }, + { + "group_id": "javax.servlet", + "artifact_id": "servlet-api", + "version": "2.4", + "required": true + }, + { + "group_id": "rhino", + "artifact_id": "js", + "version": "1.6R2", + "required": true + }, + { + "group_id": "junit", + "artifact_id": "junit", + "version": "3.8.1", + "required": true + } + ] + } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/openqa/selenium/selenium-rc/0.9.1/selenium-rc-0.9.1.pom.package.json b/tests/packagedcode/data/m2/org/openqa/selenium/selenium-rc/0.9.1/selenium-rc-0.9.1.pom.package.json index 7763d1727dd..c45813bca16 100644 --- a/tests/packagedcode/data/m2/org/openqa/selenium/selenium-rc/0.9.1/selenium-rc-0.9.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/openqa/selenium/selenium-rc/0.9.1/selenium-rc-0.9.1.pom.package.json @@ -25,11 +25,93 @@ "declared_license": null, "notice_text": null, "root_path": null, - "dependencies": [], + "dependencies": [ + { + "purl": "pkg:maven/org.openqa.selenium.server/selenium-server-coreless@0.9.1", + "requirement": "0.9.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.openqa.selenium.server/selenium-server@0.9.1", + "requirement": "0.9.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.openqa.selenium.core/selenium-core@0.8.3-SNAPSHOT", + "requirement": "0.8.3-SNAPSHOT", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.openqa.selenium.ide/selenium-ide@0.8.1-SNAPSHOT", + "requirement": "0.8.1-SNAPSHOT", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/ant/ant@1.6.5", + "requirement": "1.6.5", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/jetty/org.mortbay.jetty@5.1.10", + "requirement": "5.1.10", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/commons-logging/commons-logging@1.0.4", + "requirement": "1.0.4", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/javax.servlet/servlet-api@2.4", + "requirement": "2.4", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/rhino/js@1.6R2", + "requirement": "1.6R2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/junit/junit@3.8.1", + "requirement": "3.8.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + } + ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.openqa.selenium/selenium-rc@0.9.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.openqa.selenium/selenium-rc@0.9.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/openqa/selenium/selenium-rc/0.9.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/openqa/selenium/selenium-rc/0.9.1/selenium-rc-0.9.1.jar", diff --git a/tests/packagedcode/data/m2/org/openqa/selenium/selenium-rc/0.9.2/selenium-rc-0.9.2.pom.json b/tests/packagedcode/data/m2/org/openqa/selenium/selenium-rc/0.9.2/selenium-rc-0.9.2.pom.json index b0c3685b819..c06d9f72e56 100644 --- a/tests/packagedcode/data/m2/org/openqa/selenium/selenium-rc/0.9.2/selenium-rc-0.9.2.pom.json +++ b/tests/packagedcode/data/m2/org/openqa/selenium/selenium-rc/0.9.2/selenium-rc-0.9.2.pom.json @@ -54,5 +54,74 @@ "url": "http://people.apache.org/maven-snapshot-repository" } ], - "dependencies": {} + "dependencies": { + "dependencyManagement": [ + { + "group_id": "org.openqa.selenium.server", + "artifact_id": "selenium-server-coreless", + "version": "0.9.2", + "required": true + }, + { + "group_id": "org.openqa.selenium.server", + "artifact_id": "selenium-server", + "version": "0.9.2", + "required": true + }, + { + "group_id": "org.openqa.selenium.core", + "artifact_id": "selenium-core", + "version": "0.8.3", + "required": true + }, + { + "group_id": "org.openqa.selenium.ide", + "artifact_id": "selenium-ide", + "version": "0.8.1-SNAPSHOT", + "required": true + }, + { + "group_id": "ant", + "artifact_id": "ant", + "version": "1.6.5", + "required": true + }, + { + "group_id": "jetty", + "artifact_id": "org.mortbay.jetty", + "version": "5.1.10", + "required": true + }, + { + "group_id": "commons-logging", + "artifact_id": "commons-logging", + "version": "1.0.4", + "required": true + }, + { + "group_id": "javax.servlet", + "artifact_id": "servlet-api", + "version": "2.4", + "required": true + }, + { + "group_id": "rhino", + "artifact_id": "js", + "version": "1.6R2", + "required": true + }, + { + "group_id": "junit", + "artifact_id": "junit", + "version": "3.8.1", + "required": true + }, + { + "group_id": "bouncycastle", + "artifact_id": "bcprov-jdk15", + "version": "135", + "required": true + } + ] + } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/openqa/selenium/selenium-rc/0.9.2/selenium-rc-0.9.2.pom.package.json b/tests/packagedcode/data/m2/org/openqa/selenium/selenium-rc/0.9.2/selenium-rc-0.9.2.pom.package.json index aa46827ebe3..d98156711c0 100644 --- a/tests/packagedcode/data/m2/org/openqa/selenium/selenium-rc/0.9.2/selenium-rc-0.9.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/openqa/selenium/selenium-rc/0.9.2/selenium-rc-0.9.2.pom.package.json @@ -25,11 +25,101 @@ "declared_license": null, "notice_text": null, "root_path": null, - "dependencies": [], + "dependencies": [ + { + "purl": "pkg:maven/org.openqa.selenium.server/selenium-server-coreless@0.9.2", + "requirement": "0.9.2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.openqa.selenium.server/selenium-server@0.9.2", + "requirement": "0.9.2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.openqa.selenium.core/selenium-core@0.8.3", + "requirement": "0.8.3", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.openqa.selenium.ide/selenium-ide@0.8.1-SNAPSHOT", + "requirement": "0.8.1-SNAPSHOT", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/ant/ant@1.6.5", + "requirement": "1.6.5", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/jetty/org.mortbay.jetty@5.1.10", + "requirement": "5.1.10", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/commons-logging/commons-logging@1.0.4", + "requirement": "1.0.4", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/javax.servlet/servlet-api@2.4", + "requirement": "2.4", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/rhino/js@1.6R2", + "requirement": "1.6R2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/junit/junit@3.8.1", + "requirement": "3.8.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/bouncycastle/bcprov-jdk15@135", + "requirement": "135", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + } + ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.openqa.selenium/selenium-rc@0.9.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.openqa.selenium/selenium-rc@0.9.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/openqa/selenium/selenium-rc/0.9.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/openqa/selenium/selenium-rc/0.9.2/selenium-rc-0.9.2.jar", diff --git a/tests/packagedcode/data/m2/org/openqa/selenium/server/selenium-server-coreless/0.9.1/selenium-server-coreless-0.9.1.pom.package.json b/tests/packagedcode/data/m2/org/openqa/selenium/server/selenium-server-coreless/0.9.1/selenium-server-coreless-0.9.1.pom.package.json index 81916be79e8..b794ac554cc 100644 --- a/tests/packagedcode/data/m2/org/openqa/selenium/server/selenium-server-coreless/0.9.1/selenium-server-coreless-0.9.1.pom.package.json +++ b/tests/packagedcode/data/m2/org/openqa/selenium/server/selenium-server-coreless/0.9.1/selenium-server-coreless-0.9.1.pom.package.json @@ -30,33 +30,33 @@ "purl": "pkg:maven/ant/ant", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/jetty/org.mortbay.jetty", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/commons-logging/commons-logging", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/javax.servlet/servlet-api", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/junit/junit", @@ -64,13 +64,14 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.openqa.selenium.server/selenium-server-coreless@0.9.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.openqa.selenium.server/selenium-server-coreless@0.9.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/openqa/selenium/server/selenium-server-coreless/0.9.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/openqa/selenium/server/selenium-server-coreless/0.9.1/selenium-server-coreless-0.9.1.jar", diff --git a/tests/packagedcode/data/m2/org/openqa/selenium/server/selenium-server-coreless/0.9.2/selenium-server-coreless-0.9.2.pom.package.json b/tests/packagedcode/data/m2/org/openqa/selenium/server/selenium-server-coreless/0.9.2/selenium-server-coreless-0.9.2.pom.package.json index afb9241a813..d511bb7ea6c 100644 --- a/tests/packagedcode/data/m2/org/openqa/selenium/server/selenium-server-coreless/0.9.2/selenium-server-coreless-0.9.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/openqa/selenium/server/selenium-server-coreless/0.9.2/selenium-server-coreless-0.9.2.pom.package.json @@ -30,41 +30,41 @@ "purl": "pkg:maven/ant/ant", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/jetty/org.mortbay.jetty", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/commons-logging/commons-logging", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/javax.servlet/servlet-api", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/bouncycastle/bcprov-jdk15", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/junit/junit", @@ -72,13 +72,14 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.openqa.selenium.server/selenium-server-coreless@0.9.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.openqa.selenium.server/selenium-server-coreless@0.9.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/openqa/selenium/server/selenium-server-coreless/0.9.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/openqa/selenium/server/selenium-server-coreless/0.9.2/selenium-server-coreless-0.9.2.jar", diff --git a/tests/packagedcode/data/m2/org/openqa/selenium/server/selenium-server/0.9.2/selenium-server-0.9.2.pom.package.json b/tests/packagedcode/data/m2/org/openqa/selenium/server/selenium-server/0.9.2/selenium-server-0.9.2.pom.package.json index 3f9b96247a1..0c42a6d6a67 100644 --- a/tests/packagedcode/data/m2/org/openqa/selenium/server/selenium-server/0.9.2/selenium-server-0.9.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/openqa/selenium/server/selenium-server/0.9.2/selenium-server-0.9.2.pom.package.json @@ -30,23 +30,24 @@ "purl": "pkg:maven/org.openqa.selenium.server/selenium-server-coreless", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.openqa.selenium.core/selenium-core", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.openqa.selenium.server/selenium-server@0.9.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.openqa.selenium.server/selenium-server@0.9.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/openqa/selenium/server/selenium-server/0.9.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/openqa/selenium/server/selenium-server/0.9.2/selenium-server-0.9.2.jar", diff --git a/tests/packagedcode/data/m2/org/slf4j/slf4j-api/1.4.2/slf4j-api-1.4.2.pom.package.json b/tests/packagedcode/data/m2/org/slf4j/slf4j-api/1.4.2/slf4j-api-1.4.2.pom.package.json index a6151ee6d2e..b4109d20058 100644 --- a/tests/packagedcode/data/m2/org/slf4j/slf4j-api/1.4.2/slf4j-api-1.4.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/slf4j/slf4j-api/1.4.2/slf4j-api-1.4.2.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.slf4j/slf4j-api@1.4.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.slf4j/slf4j-api@1.4.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.4.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.4.2/slf4j-api-1.4.2.jar", diff --git a/tests/packagedcode/data/m2/org/slf4j/slf4j-log4j12/1.4.2/slf4j-log4j12-1.4.2.pom.package.json b/tests/packagedcode/data/m2/org/slf4j/slf4j-log4j12/1.4.2/slf4j-log4j12-1.4.2.pom.package.json index 93de14f3fd1..1ad018b7e2b 100644 --- a/tests/packagedcode/data/m2/org/slf4j/slf4j-log4j12/1.4.2/slf4j-log4j12-1.4.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/slf4j/slf4j-log4j12/1.4.2/slf4j-log4j12-1.4.2.pom.package.json @@ -30,23 +30,24 @@ "purl": "pkg:maven/org.slf4j/slf4j-api", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/log4j/log4j", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.slf4j/slf4j-log4j12@1.4.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.slf4j/slf4j-log4j12@1.4.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/slf4j/slf4j-log4j12/1.4.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/slf4j/slf4j-log4j12/1.4.2/slf4j-log4j12-1.4.2.jar", diff --git a/tests/packagedcode/data/m2/org/slf4j/slf4j-parent/1.4.2/slf4j-parent-1.4.2.pom.json b/tests/packagedcode/data/m2/org/slf4j/slf4j-parent/1.4.2/slf4j-parent-1.4.2.pom.json index 31d8368ce22..158af4e6098 100644 --- a/tests/packagedcode/data/m2/org/slf4j/slf4j-parent/1.4.2/slf4j-parent-1.4.2.pom.json +++ b/tests/packagedcode/data/m2/org/slf4j/slf4j-parent/1.4.2/slf4j-parent-1.4.2.pom.json @@ -66,6 +66,20 @@ "version": "3.8.1", "required": true } + ], + "dependencyManagement": [ + { + "group_id": "org.slf4j", + "artifact_id": "slf4j-api", + "version": "1.4.2", + "required": true + }, + { + "group_id": "log4j", + "artifact_id": "log4j", + "version": "1.2.13", + "required": true + } ] } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/org/slf4j/slf4j-parent/1.4.2/slf4j-parent-1.4.2.pom.package.json b/tests/packagedcode/data/m2/org/slf4j/slf4j-parent/1.4.2/slf4j-parent-1.4.2.pom.package.json index 858eba587db..206393ab146 100644 --- a/tests/packagedcode/data/m2/org/slf4j/slf4j-parent/1.4.2/slf4j-parent-1.4.2.pom.package.json +++ b/tests/packagedcode/data/m2/org/slf4j/slf4j-parent/1.4.2/slf4j-parent-1.4.2.pom.package.json @@ -35,18 +35,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true + }, + { + "purl": "pkg:maven/org.slf4j/slf4j-api@1.4.2", + "requirement": "1.4.2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/log4j/log4j@1.2.13", + "requirement": "1.2.13", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.slf4j/slf4j-parent@1.4.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.slf4j/slf4j-parent@1.4.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/slf4j/slf4j-parent/1.4.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/slf4j/slf4j-parent/1.4.2/slf4j-parent-1.4.2.jar", diff --git a/tests/packagedcode/data/m2/org/springframework/spring-aop/2.5.3/spring-aop-2.5.3.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring-aop/2.5.3/spring-aop-2.5.3.pom.package.json index 6a85dd83f37..4d17e3e841d 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring-aop/2.5.3/spring-aop-2.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring-aop/2.5.3/spring-aop-2.5.3.pom.package.json @@ -42,106 +42,107 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/aopalliance/aopalliance", + "purl": "pkg:maven/aopalliance/aopalliance@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/aspectj/aspectjrt", + "purl": "pkg:maven/aspectj/aspectjrt@1.5.4", "requirement": "1.5.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/aspectj/aspectjweaver", + "purl": "pkg:maven/aspectj/aspectjweaver@1.5.4", "requirement": "1.5.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/cglib/cglib-nodep", + "purl": "pkg:maven/cglib/cglib-nodep@2.1_3", "requirement": "2.1_3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-attributes/commons-attributes-api", + "purl": "pkg:maven/commons-attributes/commons-attributes-api@2.2", "requirement": "2.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-attributes/commons-attributes-compiler", + "purl": "pkg:maven/commons-attributes/commons-attributes-compiler@2.2", "requirement": "2.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.1.1", "requirement": "1.1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-pool/commons-pool", + "purl": "pkg:maven/commons-pool/commons-pool@1.3", "requirement": "1.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.jamonapi/jamon", + "purl": "pkg:maven/com.jamonapi/jamon@2.4", "requirement": "2.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/oro/oro", + "purl": "pkg:maven/oro/oro@2.0.8", "requirement": "2.0.8", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-beans", + "purl": "pkg:maven/org.springframework/spring-beans@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-core", + "purl": "pkg:maven/org.springframework/spring-core@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.springframework/spring-aop@2.5.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.springframework/spring-aop@2.5.3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/springframework/spring-aop/2.5.3/", "repository_download_url": "https://repo1.maven.org/maven2/org/springframework/spring-aop/2.5.3/spring-aop-2.5.3.jar", diff --git a/tests/packagedcode/data/m2/org/springframework/spring-aspects/2.5.3/spring-aspects-2.5.3.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring-aspects/2.5.3/spring-aspects-2.5.3.pom.package.json index 474eeed264f..51d9dc052bd 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring-aspects/2.5.3/spring-aspects-2.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring-aspects/2.5.3/spring-aspects-2.5.3.pom.package.json @@ -42,50 +42,51 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/aspectj/aspectjrt", + "purl": "pkg:maven/aspectj/aspectjrt@1.5.4", "requirement": "1.5.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/aspectj/aspectjweaver", + "purl": "pkg:maven/aspectj/aspectjweaver@1.5.4", "requirement": "1.5.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.1.1", "requirement": "1.1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-beans", + "purl": "pkg:maven/org.springframework/spring-beans@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-tx", + "purl": "pkg:maven/org.springframework/spring-tx@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.springframework/spring-aspects@2.5.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.springframework/spring-aspects@2.5.3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/springframework/spring-aspects/2.5.3/", "repository_download_url": "https://repo1.maven.org/maven2/org/springframework/spring-aspects/2.5.3/spring-aspects-2.5.3.jar", diff --git a/tests/packagedcode/data/m2/org/springframework/spring-aspects/2.5.4/spring-aspects-2.5.4.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring-aspects/2.5.4/spring-aspects-2.5.4.pom.package.json index 22c68f129b6..308003f0917 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring-aspects/2.5.4/spring-aspects-2.5.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring-aspects/2.5.4/spring-aspects-2.5.4.pom.package.json @@ -42,50 +42,51 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/aspectj/aspectjrt", + "purl": "pkg:maven/aspectj/aspectjrt@1.5.4", "requirement": "1.5.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/aspectj/aspectjweaver", + "purl": "pkg:maven/aspectj/aspectjweaver@1.5.4", "requirement": "1.5.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.1.1", "requirement": "1.1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-beans", + "purl": "pkg:maven/org.springframework/spring-beans@2.5.4", "requirement": "2.5.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-tx", + "purl": "pkg:maven/org.springframework/spring-tx@2.5.4", "requirement": "2.5.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.springframework/spring-aspects@2.5.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.springframework/spring-aspects@2.5.4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/springframework/spring-aspects/2.5.4/", "repository_download_url": "https://repo1.maven.org/maven2/org/springframework/spring-aspects/2.5.4/spring-aspects-2.5.4.jar", diff --git a/tests/packagedcode/data/m2/org/springframework/spring-beans/2.5.3/spring-beans-2.5.3.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring-beans/2.5.3/spring-beans-2.5.3.pom.package.json index 9aa131f1fa8..f5d6fc0aed4 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring-beans/2.5.3/spring-beans-2.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring-beans/2.5.3/spring-beans-2.5.3.pom.package.json @@ -42,34 +42,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/cglib/cglib-nodep", + "purl": "pkg:maven/cglib/cglib-nodep@2.1_3", "requirement": "2.1_3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.1.1", "requirement": "1.1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-core", + "purl": "pkg:maven/org.springframework/spring-core@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.springframework/spring-beans@2.5.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.springframework/spring-beans@2.5.3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/springframework/spring-beans/2.5.3/", "repository_download_url": "https://repo1.maven.org/maven2/org/springframework/spring-beans/2.5.3/spring-beans-2.5.3.jar", diff --git a/tests/packagedcode/data/m2/org/springframework/spring-context-support/2.5.3/spring-context-support-2.5.3.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring-context-support/2.5.3/spring-context-support-2.5.3.pom.package.json index e9cee299677..0298ae28c7d 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring-context-support/2.5.3/spring-context-support-2.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring-context-support/2.5.3/spring-context-support-2.5.3.pom.package.json @@ -42,202 +42,203 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/aopalliance/aopalliance", + "purl": "pkg:maven/aopalliance/aopalliance@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/cglib/cglib-nodep", + "purl": "pkg:maven/cglib/cglib-nodep@2.1_3", "requirement": "2.1_3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-collections/commons-collections", + "purl": "pkg:maven/commons-collections/commons-collections@3.2", "requirement": "3.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.1.1", "requirement": "1.1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.bea.wlplatform/commonj-twm", + "purl": "pkg:maven/com.bea.wlplatform/commonj-twm@1.1", "requirement": "1.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/freemarker/freemarker", + "purl": "pkg:maven/freemarker/freemarker@2.3.12", "requirement": "2.3.12", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/groovy/groovy", + "purl": "pkg:maven/groovy/groovy@1.5.1", "requirement": "1.5.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jasperreports/jasperreports", + "purl": "pkg:maven/jasperreports/jasperreports@2.0.2", "requirement": "2.0.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jruby/jruby-bin", + "purl": "pkg:maven/jruby/jruby-bin@1.0.1", "requirement": "1.0.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/net.sf.ehcache/ehcache", + "purl": "pkg:maven/net.sf.ehcache/ehcache@1.3.0", "requirement": "1.3.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.oracle/oc4j", + "purl": "pkg:maven/com.oracle/oc4j@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.beanshell/bsh", + "purl": "pkg:maven/org.beanshell/bsh@2.0b4", "requirement": "2.0b4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/opensymphony/quartz-all", + "purl": "pkg:maven/opensymphony/quartz-all@1.6.0", "requirement": "1.6.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/velocity/velocity", + "purl": "pkg:maven/velocity/velocity@1.5", "requirement": "1.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/velocity-tools/velocity-tools-generic", + "purl": "pkg:maven/velocity-tools/velocity-tools-generic@1.4", "requirement": "1.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/velocity-tools/velocity-tools-view", + "purl": "pkg:maven/velocity-tools/velocity-tools-view@1.4", "requirement": "1.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-aop", + "purl": "pkg:maven/org.springframework/spring-aop@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-beans", + "purl": "pkg:maven/org.springframework/spring-beans@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-context", + "purl": "pkg:maven/org.springframework/spring-context@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-core", + "purl": "pkg:maven/org.springframework/spring-core@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-jdbc", + "purl": "pkg:maven/org.springframework/spring-jdbc@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-tx", + "purl": "pkg:maven/org.springframework/spring-tx@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.activation/activation", + "purl": "pkg:maven/javax.activation/activation@1.1", "requirement": "1.1", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.mail/mail", + "purl": "pkg:maven/javax.mail/mail@1.4", "requirement": "1.4", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.springframework/spring-context-support@2.5.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.springframework/spring-context-support@2.5.3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/springframework/spring-context-support/2.5.3/", "repository_download_url": "https://repo1.maven.org/maven2/org/springframework/spring-context-support/2.5.3/spring-context-support-2.5.3.jar", diff --git a/tests/packagedcode/data/m2/org/springframework/spring-context/2.5.3/spring-context-2.5.3.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring-context/2.5.3/spring-context-2.5.3.pom.package.json index e4b1f9468bb..3d5b3b10d76 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring-context/2.5.3/spring-context-2.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring-context/2.5.3/spring-context-2.5.3.pom.package.json @@ -42,98 +42,99 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/aopalliance/aopalliance", + "purl": "pkg:maven/aopalliance/aopalliance@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/backport-util-concurrent/backport-util-concurrent", + "purl": "pkg:maven/backport-util-concurrent/backport-util-concurrent@3.0", "requirement": "3.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.1.1", "requirement": "1.1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.bea.wlplatform/commonj-twm", + "purl": "pkg:maven/com.bea.wlplatform/commonj-twm@1.1", "requirement": "1.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-agent", + "purl": "pkg:maven/org.springframework/spring-agent@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-aop", + "purl": "pkg:maven/org.springframework/spring-aop@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-beans", + "purl": "pkg:maven/org.springframework/spring-beans@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-core", + "purl": "pkg:maven/org.springframework/spring-core@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/javax.ejb/ejb", + "purl": "pkg:maven/javax.ejb/ejb@3.0", "requirement": "3.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.jms/jms", + "purl": "pkg:maven/javax.jms/jms@1.1", "requirement": "1.1", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.xml/jaxrpc-api", + "purl": "pkg:maven/javax.xml/jaxrpc-api@1.1", "requirement": "1.1", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.springframework/spring-context@2.5.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.springframework/spring-context@2.5.3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/springframework/spring-context/2.5.3/", "repository_download_url": "https://repo1.maven.org/maven2/org/springframework/spring-context/2.5.3/spring-context-2.5.3.jar", diff --git a/tests/packagedcode/data/m2/org/springframework/spring-core/2.5.3/spring-core-2.5.3.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring-core/2.5.3/spring-core-2.5.3.pom.package.json index 85688465883..1b6cc990df1 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring-core/2.5.3/spring-core-2.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring-core/2.5.3/spring-core-2.5.3.pom.package.json @@ -42,66 +42,67 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/asm/asm", + "purl": "pkg:maven/asm/asm@2.2.3", "requirement": "2.2.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/asm/asm-commons", + "purl": "pkg:maven/asm/asm-commons@2.2.3", "requirement": "2.2.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/asm/asm-util", + "purl": "pkg:maven/asm/asm-util@2.2.3", "requirement": "2.2.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/backport-util-concurrent/backport-util-concurrent", + "purl": "pkg:maven/backport-util-concurrent/backport-util-concurrent@3.0", "requirement": "3.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-collections/commons-collections", + "purl": "pkg:maven/commons-collections/commons-collections@3.2", "requirement": "3.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.1.1", "requirement": "1.1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/log4j/log4j", + "purl": "pkg:maven/log4j/log4j@1.2.13", "requirement": "1.2.13", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.springframework/spring-core@2.5.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.springframework/spring-core@2.5.3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/springframework/spring-core/2.5.3/", "repository_download_url": "https://repo1.maven.org/maven2/org/springframework/spring-core/2.5.3/spring-core-2.5.3.jar", diff --git a/tests/packagedcode/data/m2/org/springframework/spring-jdbc/2.5.3/spring-jdbc-2.5.3.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring-jdbc/2.5.3/spring-jdbc-2.5.3.pom.package.json index 3ac571e73c2..f2693af530b 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring-jdbc/2.5.3/spring-jdbc-2.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring-jdbc/2.5.3/spring-jdbc-2.5.3.pom.package.json @@ -42,74 +42,75 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/c3p0/c3p0", + "purl": "pkg:maven/c3p0/c3p0@0.9.1.2", "requirement": "0.9.1.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-dbcp/commons-dbcp", + "purl": "pkg:maven/commons-dbcp/commons-dbcp@1.2.2", "requirement": "1.2.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.1.1", "requirement": "1.1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/jotm/jotm", + "purl": "pkg:maven/jotm/jotm@2.0.10", "requirement": "2.0.10", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-beans", + "purl": "pkg:maven/org.springframework/spring-beans@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-context", + "purl": "pkg:maven/org.springframework/spring-context@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-core", + "purl": "pkg:maven/org.springframework/spring-core@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-tx", + "purl": "pkg:maven/org.springframework/spring-tx@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.springframework/spring-jdbc@2.5.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.springframework/spring-jdbc@2.5.3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/springframework/spring-jdbc/2.5.3/", "repository_download_url": "https://repo1.maven.org/maven2/org/springframework/spring-jdbc/2.5.3/spring-jdbc-2.5.3.jar", diff --git a/tests/packagedcode/data/m2/org/springframework/spring-orm/2.5.3/spring-orm-2.5.3.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring-orm/2.5.3/spring-orm-2.5.3.pom.package.json index aadb90577dd..e8068343c44 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring-orm/2.5.3/spring-orm-2.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring-orm/2.5.3/spring-orm-2.5.3.pom.package.json @@ -42,138 +42,139 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/aopalliance/aopalliance", + "purl": "pkg:maven/aopalliance/aopalliance@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.1.1", "requirement": "1.1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.oracle/toplink-essentials", + "purl": "pkg:maven/com.oracle/toplink-essentials@2.41", "requirement": "2.41", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.oracle.toplink/toplink", + "purl": "pkg:maven/com.oracle.toplink/toplink@10.1.3", "requirement": "10.1.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.ibatis/ibatis-sqlmap", + "purl": "pkg:maven/org.apache.ibatis/ibatis-sqlmap@2.3.0", "requirement": "2.3.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.hibernate/hibernate", + "purl": "pkg:maven/org.hibernate/hibernate@3.2.6.ga", "requirement": "3.2.6.ga", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.hibernate/hibernate-entitymanager", + "purl": "pkg:maven/org.hibernate/hibernate-entitymanager@3.3.1.ga", "requirement": "3.3.1.ga", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-aop", + "purl": "pkg:maven/org.springframework/spring-aop@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-beans", + "purl": "pkg:maven/org.springframework/spring-beans@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-context", + "purl": "pkg:maven/org.springframework/spring-context@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-core", + "purl": "pkg:maven/org.springframework/spring-core@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-jdbc", + "purl": "pkg:maven/org.springframework/spring-jdbc@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-tx", + "purl": "pkg:maven/org.springframework/spring-tx@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-web", + "purl": "pkg:maven/org.springframework/spring-web@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.jdo/jdo2-api", + "purl": "pkg:maven/javax.jdo/jdo2-api@2.0", "requirement": "2.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.persistence/persistence-api", + "purl": "pkg:maven/javax.persistence/persistence-api@1.0", "requirement": "1.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.springframework/spring-orm@2.5.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.springframework/spring-orm@2.5.3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/springframework/spring-orm/2.5.3/", "repository_download_url": "https://repo1.maven.org/maven2/org/springframework/spring-orm/2.5.3/spring-orm-2.5.3.jar", diff --git a/tests/packagedcode/data/m2/org/springframework/spring-test/2.5.3/spring-test-2.5.3.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring-test/2.5.3/spring-test-2.5.3.pom.package.json index e2aec13518b..861bdb09bb2 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring-test/2.5.3/spring-test-2.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring-test/2.5.3/spring-test-2.5.3.pom.package.json @@ -42,138 +42,139 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/aspectj/aspectjrt", + "purl": "pkg:maven/aspectj/aspectjrt@1.5.4", "requirement": "1.5.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/aspectj/aspectjweaver", + "purl": "pkg:maven/aspectj/aspectjweaver@1.5.4", "requirement": "1.5.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.1.1", "requirement": "1.1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/taglibs/standard", + "purl": "pkg:maven/taglibs/standard@1.1.2", "requirement": "1.1.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-beans", + "purl": "pkg:maven/org.springframework/spring-beans@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-context", + "purl": "pkg:maven/org.springframework/spring-context@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-core", + "purl": "pkg:maven/org.springframework/spring-core@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-jdbc", + "purl": "pkg:maven/org.springframework/spring-jdbc@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-orm", + "purl": "pkg:maven/org.springframework/spring-orm@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-tx", + "purl": "pkg:maven/org.springframework/spring-tx@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-webmvc", + "purl": "pkg:maven/org.springframework/spring-webmvc@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.persistence/persistence-api", + "purl": "pkg:maven/javax.persistence/persistence-api@1.0", "requirement": "1.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.portlet/portlet-api", + "purl": "pkg:maven/javax.portlet/portlet-api@1.0", "requirement": "1.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/jsp-api", + "purl": "pkg:maven/javax.servlet/jsp-api@2.0", "requirement": "2.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/servlet-api", + "purl": "pkg:maven/javax.servlet/servlet-api@2.4", "requirement": "2.4", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.springframework/spring-test@2.5.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.springframework/spring-test@2.5.3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/springframework/spring-test/2.5.3/", "repository_download_url": "https://repo1.maven.org/maven2/org/springframework/spring-test/2.5.3/spring-test-2.5.3.jar", diff --git a/tests/packagedcode/data/m2/org/springframework/spring-test/2.5.4/spring-test-2.5.4.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring-test/2.5.4/spring-test-2.5.4.pom.package.json index 4cddbe98b56..eb36b277436 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring-test/2.5.4/spring-test-2.5.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring-test/2.5.4/spring-test-2.5.4.pom.package.json @@ -42,138 +42,139 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/aspectj/aspectjrt", + "purl": "pkg:maven/aspectj/aspectjrt@1.5.4", "requirement": "1.5.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/aspectj/aspectjweaver", + "purl": "pkg:maven/aspectj/aspectjweaver@1.5.4", "requirement": "1.5.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.1.1", "requirement": "1.1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/taglibs/standard", + "purl": "pkg:maven/taglibs/standard@1.1.2", "requirement": "1.1.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-beans", + "purl": "pkg:maven/org.springframework/spring-beans@2.5.4", "requirement": "2.5.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-context", + "purl": "pkg:maven/org.springframework/spring-context@2.5.4", "requirement": "2.5.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-core", + "purl": "pkg:maven/org.springframework/spring-core@2.5.4", "requirement": "2.5.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-jdbc", + "purl": "pkg:maven/org.springframework/spring-jdbc@2.5.4", "requirement": "2.5.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-orm", + "purl": "pkg:maven/org.springframework/spring-orm@2.5.4", "requirement": "2.5.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-tx", + "purl": "pkg:maven/org.springframework/spring-tx@2.5.4", "requirement": "2.5.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-webmvc", + "purl": "pkg:maven/org.springframework/spring-webmvc@2.5.4", "requirement": "2.5.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.persistence/persistence-api", + "purl": "pkg:maven/javax.persistence/persistence-api@1.0", "requirement": "1.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.portlet/portlet-api", + "purl": "pkg:maven/javax.portlet/portlet-api@1.0", "requirement": "1.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/jsp-api", + "purl": "pkg:maven/javax.servlet/jsp-api@2.0", "requirement": "2.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/servlet-api", + "purl": "pkg:maven/javax.servlet/servlet-api@2.4", "requirement": "2.4", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.springframework/spring-test@2.5.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.springframework/spring-test@2.5.4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/springframework/spring-test/2.5.4/", "repository_download_url": "https://repo1.maven.org/maven2/org/springframework/spring-test/2.5.4/spring-test-2.5.4.jar", diff --git a/tests/packagedcode/data/m2/org/springframework/spring-tx/2.5.3/spring-tx-2.5.3.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring-tx/2.5.3/spring-tx-2.5.3.pom.package.json index ab108cd3ee9..bb11fb34e20 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring-tx/2.5.3/spring-tx-2.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring-tx/2.5.3/spring-tx-2.5.3.pom.package.json @@ -42,90 +42,91 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/aopalliance/aopalliance", + "purl": "pkg:maven/aopalliance/aopalliance@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.1.1", "requirement": "1.1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.experlog/xapool", + "purl": "pkg:maven/com.experlog/xapool@1.5.0", "requirement": "1.5.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jotm/jotm", + "purl": "pkg:maven/jotm/jotm@2.0.10", "requirement": "2.0.10", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-aop", + "purl": "pkg:maven/org.springframework/spring-aop@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-beans", + "purl": "pkg:maven/org.springframework/spring-beans@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-context", + "purl": "pkg:maven/org.springframework/spring-context@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-core", + "purl": "pkg:maven/org.springframework/spring-core@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/javax.resource/connector-api", + "purl": "pkg:maven/javax.resource/connector-api@1.5", "requirement": "1.5", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.transaction/jta", + "purl": "pkg:maven/javax.transaction/jta@1.1", "requirement": "1.1", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.springframework/spring-tx@2.5.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.springframework/spring-tx@2.5.3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/springframework/spring-tx/2.5.3/", "repository_download_url": "https://repo1.maven.org/maven2/org/springframework/spring-tx/2.5.3/spring-tx-2.5.3.jar", diff --git a/tests/packagedcode/data/m2/org/springframework/spring-web/2.5.3/spring-web-2.5.3.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring-web/2.5.3/spring-web-2.5.3.pom.package.json index 892e1da9f1e..c45c7e16a41 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring-web/2.5.3/spring-web-2.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring-web/2.5.3/spring-web-2.5.3.pom.package.json @@ -42,130 +42,131 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/commons-beanutils/commons-beanutils", + "purl": "pkg:maven/commons-beanutils/commons-beanutils@1.7.0", "requirement": "1.7.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-fileupload/commons-fileupload", + "purl": "pkg:maven/commons-fileupload/commons-fileupload@1.2", "requirement": "1.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-httpclient/commons-httpclient", + "purl": "pkg:maven/commons-httpclient/commons-httpclient@3.1", "requirement": "3.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.1.1", "requirement": "1.1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/hessian/hessian", + "purl": "pkg:maven/hessian/hessian@3.1.3", "requirement": "3.1.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/log4j/log4j", + "purl": "pkg:maven/log4j/log4j@1.2.13", "requirement": "1.2.13", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.axis/axis", + "purl": "pkg:maven/org.apache.axis/axis@1.4", "requirement": "1.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/struts/struts", + "purl": "pkg:maven/struts/struts@1.2.9", "requirement": "1.2.9", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/taglibs/standard", + "purl": "pkg:maven/taglibs/standard@1.1.2", "requirement": "1.1.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-beans", + "purl": "pkg:maven/org.springframework/spring-beans@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-context", + "purl": "pkg:maven/org.springframework/spring-context@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-core", + "purl": "pkg:maven/org.springframework/spring-core@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/javax.faces/jsf-api", + "purl": "pkg:maven/javax.faces/jsf-api@1.1", "requirement": "1.1", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/jsp-api", + "purl": "pkg:maven/javax.servlet/jsp-api@2.0", "requirement": "2.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/servlet-api", + "purl": "pkg:maven/javax.servlet/servlet-api@2.4", "requirement": "2.4", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.springframework/spring-web@2.5.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.springframework/spring-web@2.5.3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/springframework/spring-web/2.5.3/", "repository_download_url": "https://repo1.maven.org/maven2/org/springframework/spring-web/2.5.3/spring-web-2.5.3.jar", diff --git a/tests/packagedcode/data/m2/org/springframework/spring-webmvc/2.5.3/spring-webmvc-2.5.3.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring-webmvc/2.5.3/spring-webmvc-2.5.3.pom.package.json index 7c030309b64..a6e05486316 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring-webmvc/2.5.3/spring-webmvc-2.5.3.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring-webmvc/2.5.3/spring-webmvc-2.5.3.pom.package.json @@ -42,186 +42,187 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/commons-attributes/commons-attributes-api", + "purl": "pkg:maven/commons-attributes/commons-attributes-api@2.2", "requirement": "2.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-attributes/commons-attributes-compiler", + "purl": "pkg:maven/commons-attributes/commons-attributes-compiler@2.2", "requirement": "2.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.1.1", "requirement": "1.1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.lowagie/itext", + "purl": "pkg:maven/com.lowagie/itext@2.0.7", "requirement": "2.0.7", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/freemarker/freemarker", + "purl": "pkg:maven/freemarker/freemarker@2.3.12", "requirement": "2.3.12", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jasperreports/jasperreports", + "purl": "pkg:maven/jasperreports/jasperreports@2.0.2", "requirement": "2.0.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jexcelapi/jxl", + "purl": "pkg:maven/jexcelapi/jxl@2.6.6", "requirement": "2.6.6", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.tiles/tiles-api", + "purl": "pkg:maven/org.apache.tiles/tiles-api@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.tiles/tiles-core", + "purl": "pkg:maven/org.apache.tiles/tiles-core@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.tiles/tiles-jsp", + "purl": "pkg:maven/org.apache.tiles/tiles-jsp@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/poi/poi", + "purl": "pkg:maven/poi/poi@3.0.1", "requirement": "3.0.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/velocity/velocity", + "purl": "pkg:maven/velocity/velocity@1.5", "requirement": "1.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/velocity-tools/velocity-tools-generic", + "purl": "pkg:maven/velocity-tools/velocity-tools-generic@1.4", "requirement": "1.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/velocity-tools/velocity-tools-view", + "purl": "pkg:maven/velocity-tools/velocity-tools-view@1.4", "requirement": "1.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-beans", + "purl": "pkg:maven/org.springframework/spring-beans@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-context", + "purl": "pkg:maven/org.springframework/spring-context@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-context-support", + "purl": "pkg:maven/org.springframework/spring-context-support@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-core", + "purl": "pkg:maven/org.springframework/spring-core@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-web", + "purl": "pkg:maven/org.springframework/spring-web@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/jsp-api", + "purl": "pkg:maven/javax.servlet/jsp-api@2.0", "requirement": "2.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/jstl", + "purl": "pkg:maven/javax.servlet/jstl@1.1.0", "requirement": "1.1.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/servlet-api", + "purl": "pkg:maven/javax.servlet/servlet-api@2.4", "requirement": "2.4", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.springframework/spring-webmvc@2.5.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.springframework/spring-webmvc@2.5.3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/springframework/spring-webmvc/2.5.3/", "repository_download_url": "https://repo1.maven.org/maven2/org/springframework/spring-webmvc/2.5.3/spring-webmvc-2.5.3.jar", diff --git a/tests/packagedcode/data/m2/org/springframework/spring-webmvc/2.5.4/spring-webmvc-2.5.4.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring-webmvc/2.5.4/spring-webmvc-2.5.4.pom.package.json index d5f5d6931e8..02415ac5cc5 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring-webmvc/2.5.4/spring-webmvc-2.5.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring-webmvc/2.5.4/spring-webmvc-2.5.4.pom.package.json @@ -42,186 +42,187 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/commons-attributes/commons-attributes-api", + "purl": "pkg:maven/commons-attributes/commons-attributes-api@2.2", "requirement": "2.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-attributes/commons-attributes-compiler", + "purl": "pkg:maven/commons-attributes/commons-attributes-compiler@2.2", "requirement": "2.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.1.1", "requirement": "1.1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.lowagie/itext", + "purl": "pkg:maven/com.lowagie/itext@2.0.7", "requirement": "2.0.7", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/freemarker/freemarker", + "purl": "pkg:maven/freemarker/freemarker@2.3.12", "requirement": "2.3.12", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jasperreports/jasperreports", + "purl": "pkg:maven/jasperreports/jasperreports@2.0.2", "requirement": "2.0.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jexcelapi/jxl", + "purl": "pkg:maven/jexcelapi/jxl@2.6.6", "requirement": "2.6.6", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.tiles/tiles-api", + "purl": "pkg:maven/org.apache.tiles/tiles-api@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.tiles/tiles-core", + "purl": "pkg:maven/org.apache.tiles/tiles-core@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.tiles/tiles-jsp", + "purl": "pkg:maven/org.apache.tiles/tiles-jsp@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/poi/poi", + "purl": "pkg:maven/poi/poi@3.0.1", "requirement": "3.0.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/velocity/velocity", + "purl": "pkg:maven/velocity/velocity@1.5", "requirement": "1.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/velocity-tools/velocity-tools-generic", + "purl": "pkg:maven/velocity-tools/velocity-tools-generic@1.4", "requirement": "1.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/velocity-tools/velocity-tools-view", + "purl": "pkg:maven/velocity-tools/velocity-tools-view@1.4", "requirement": "1.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-beans", + "purl": "pkg:maven/org.springframework/spring-beans@2.5.4", "requirement": "2.5.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-context", + "purl": "pkg:maven/org.springframework/spring-context@2.5.4", "requirement": "2.5.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-context-support", + "purl": "pkg:maven/org.springframework/spring-context-support@2.5.4", "requirement": "2.5.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-core", + "purl": "pkg:maven/org.springframework/spring-core@2.5.4", "requirement": "2.5.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-web", + "purl": "pkg:maven/org.springframework/spring-web@2.5.4", "requirement": "2.5.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/jsp-api", + "purl": "pkg:maven/javax.servlet/jsp-api@2.0", "requirement": "2.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/jstl", + "purl": "pkg:maven/javax.servlet/jstl@1.1.0", "requirement": "1.1.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/servlet-api", + "purl": "pkg:maven/javax.servlet/servlet-api@2.4", "requirement": "2.4", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.springframework/spring-webmvc@2.5.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.springframework/spring-webmvc@2.5.4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/springframework/spring-webmvc/2.5.4/", "repository_download_url": "https://repo1.maven.org/maven2/org/springframework/spring-webmvc/2.5.4/spring-webmvc-2.5.4.jar", diff --git a/tests/packagedcode/data/m2/org/springframework/spring/2.5.4/spring-2.5.4.pom.package.json b/tests/packagedcode/data/m2/org/springframework/spring/2.5.4/spring-2.5.4.pom.package.json index 3635962f65f..3d7f9f4ea9e 100644 --- a/tests/packagedcode/data/m2/org/springframework/spring/2.5.4/spring-2.5.4.pom.package.json +++ b/tests/packagedcode/data/m2/org/springframework/spring/2.5.4/spring-2.5.4.pom.package.json @@ -42,530 +42,531 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/aopalliance/aopalliance", + "purl": "pkg:maven/aopalliance/aopalliance@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/asm/asm", + "purl": "pkg:maven/asm/asm@2.2.3", "requirement": "2.2.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/asm/asm-commons", + "purl": "pkg:maven/asm/asm-commons@2.2.3", "requirement": "2.2.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/asm/asm-util", + "purl": "pkg:maven/asm/asm-util@2.2.3", "requirement": "2.2.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/aspectj/aspectjrt", + "purl": "pkg:maven/aspectj/aspectjrt@1.5.4", "requirement": "1.5.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/aspectj/aspectjweaver", + "purl": "pkg:maven/aspectj/aspectjweaver@1.5.4", "requirement": "1.5.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/backport-util-concurrent/backport-util-concurrent", + "purl": "pkg:maven/backport-util-concurrent/backport-util-concurrent@3.0", "requirement": "3.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/c3p0/c3p0", + "purl": "pkg:maven/c3p0/c3p0@0.9.1.2", "requirement": "0.9.1.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/cglib/cglib-nodep", + "purl": "pkg:maven/cglib/cglib-nodep@2.1_3", "requirement": "2.1_3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-attributes/commons-attributes-api", + "purl": "pkg:maven/commons-attributes/commons-attributes-api@2.2", "requirement": "2.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-attributes/commons-attributes-compiler", + "purl": "pkg:maven/commons-attributes/commons-attributes-compiler@2.2", "requirement": "2.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-beanutils/commons-beanutils", + "purl": "pkg:maven/commons-beanutils/commons-beanutils@1.7.0", "requirement": "1.7.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-collections/commons-collections", + "purl": "pkg:maven/commons-collections/commons-collections@3.2", "requirement": "3.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-dbcp/commons-dbcp", + "purl": "pkg:maven/commons-dbcp/commons-dbcp@1.2.2", "requirement": "1.2.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-fileupload/commons-fileupload", + "purl": "pkg:maven/commons-fileupload/commons-fileupload@1.2", "requirement": "1.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-httpclient/commons-httpclient", + "purl": "pkg:maven/commons-httpclient/commons-httpclient@3.1", "requirement": "3.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.1.1", "requirement": "1.1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-pool/commons-pool", + "purl": "pkg:maven/commons-pool/commons-pool@1.3", "requirement": "1.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.bea.wlplatform/commonj-twm", + "purl": "pkg:maven/com.bea.wlplatform/commonj-twm@1.1", "requirement": "1.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.experlog/xapool", + "purl": "pkg:maven/com.experlog/xapool@1.5.0", "requirement": "1.5.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.ibatis/ibatis-sqlmap", + "purl": "pkg:maven/org.apache.ibatis/ibatis-sqlmap@2.3.0.677", "requirement": "2.3.0.677", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.jamonapi/jamon", + "purl": "pkg:maven/com.jamonapi/jamon@2.4", "requirement": "2.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.lowagie/itext", + "purl": "pkg:maven/com.lowagie/itext@2.0.7", "requirement": "2.0.7", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.oracle.toplink/toplink", + "purl": "pkg:maven/com.oracle.toplink/toplink@10.1.3", "requirement": "10.1.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.oracle/toplink-essentials", + "purl": "pkg:maven/com.oracle/toplink-essentials@2.41", "requirement": "2.41", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.oracle/oc4j", + "purl": "pkg:maven/com.oracle/oc4j@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/freemarker/freemarker", + "purl": "pkg:maven/freemarker/freemarker@2.3.12", "requirement": "2.3.12", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/groovy/groovy", + "purl": "pkg:maven/groovy/groovy@1.5.5", "requirement": "1.5.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/hessian/hessian", + "purl": "pkg:maven/hessian/hessian@3.1.3", "requirement": "3.1.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jasperreports/jasperreports", + "purl": "pkg:maven/jasperreports/jasperreports@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jexcelapi/jxl", + "purl": "pkg:maven/jexcelapi/jxl@2.6.6", "requirement": "2.6.6", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jotm/jotm", + "purl": "pkg:maven/jotm/jotm@2.0.10", "requirement": "2.0.10", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jruby/jruby-bin", + "purl": "pkg:maven/jruby/jruby-bin@1.0.1", "requirement": "1.0.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/log4j/log4j", + "purl": "pkg:maven/log4j/log4j@1.2.15", "requirement": "1.2.15", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/net.sf.ehcache/ehcache", + "purl": "pkg:maven/net.sf.ehcache/ehcache@1.4.1", "requirement": "1.4.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.axis/axis", + "purl": "pkg:maven/org.apache.axis/axis@1.4", "requirement": "1.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.tiles/tiles-api", + "purl": "pkg:maven/org.apache.tiles/tiles-api@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.tiles/tiles-core", + "purl": "pkg:maven/org.apache.tiles/tiles-core@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.tiles/tiles-jsp", + "purl": "pkg:maven/org.apache.tiles/tiles-jsp@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.beanshell/bsh", + "purl": "pkg:maven/org.beanshell/bsh@2.0b4", "requirement": "2.0b4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.hibernate/hibernate", + "purl": "pkg:maven/org.hibernate/hibernate@3.2.6.ga", "requirement": "3.2.6.ga", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.hibernate/hibernate-entitymanager", + "purl": "pkg:maven/org.hibernate/hibernate-entitymanager@3.3.2.ga", "requirement": "3.3.2.ga", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/poi/poi", + "purl": "pkg:maven/poi/poi@3.0.1", "requirement": "3.0.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/opensymphony/quartz-all", + "purl": "pkg:maven/opensymphony/quartz-all@1.6.0", "requirement": "1.6.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/struts/struts", + "purl": "pkg:maven/struts/struts@1.2.9", "requirement": "1.2.9", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/taglibs/standard", + "purl": "pkg:maven/taglibs/standard@1.1.2", "requirement": "1.1.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/tomcat/catalina", + "purl": "pkg:maven/tomcat/catalina@5.5.23", "requirement": "5.5.23", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/velocity/velocity", + "purl": "pkg:maven/velocity/velocity@1.5", "requirement": "1.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/velocity-tools/velocity-tools-generic", + "purl": "pkg:maven/velocity-tools/velocity-tools-generic@1.4", "requirement": "1.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/velocity-tools/velocity-tools-view", + "purl": "pkg:maven/velocity-tools/velocity-tools-view@1.4", "requirement": "1.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.activation/activation", + "purl": "pkg:maven/javax.activation/activation@1.1", "requirement": "1.1", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.ejb/ejb", + "purl": "pkg:maven/javax.ejb/ejb@3.0", "requirement": "3.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.faces/jsf-api", + "purl": "pkg:maven/javax.faces/jsf-api@1.1", "requirement": "1.1", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.jdo/jdo2-api", + "purl": "pkg:maven/javax.jdo/jdo2-api@2.0", "requirement": "2.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.jms/jms", + "purl": "pkg:maven/javax.jms/jms@1.1", "requirement": "1.1", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.mail/mail", + "purl": "pkg:maven/javax.mail/mail@1.4", "requirement": "1.4", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.persistence/persistence-api", + "purl": "pkg:maven/javax.persistence/persistence-api@1.0", "requirement": "1.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.portlet/portlet-api", + "purl": "pkg:maven/javax.portlet/portlet-api@1.0", "requirement": "1.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.resource/connector-api", + "purl": "pkg:maven/javax.resource/connector-api@1.5", "requirement": "1.5", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/jsp-api", + "purl": "pkg:maven/javax.servlet/jsp-api@2.0", "requirement": "2.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/jstl", + "purl": "pkg:maven/javax.servlet/jstl@1.1.0", "requirement": "1.1.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/servlet-api", + "purl": "pkg:maven/javax.servlet/servlet-api@2.4", "requirement": "2.4", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.transaction/jta", + "purl": "pkg:maven/javax.transaction/jta@1.1", "requirement": "1.1", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.xml/jaxrpc-api", + "purl": "pkg:maven/javax.xml/jaxrpc-api@1.1", "requirement": "1.1", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.springframework/spring@2.5.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.springframework/spring@2.5.4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/springframework/spring/2.5.4/", "repository_download_url": "https://repo1.maven.org/maven2/org/springframework/spring/2.5.4/spring-2.5.4.jar", diff --git a/tests/packagedcode/data/m2/org/testng/testng/5.7/testng-5.7.pom.package.json b/tests/packagedcode/data/m2/org/testng/testng/5.7/testng-5.7.pom.package.json index 5aafc9cf86c..420ae05eb1e 100644 --- a/tests/packagedcode/data/m2/org/testng/testng/5.7/testng-5.7.pom.package.json +++ b/tests/packagedcode/data/m2/org/testng/testng/5.7/testng-5.7.pom.package.json @@ -34,42 +34,43 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/ant/ant", + "purl": "pkg:maven/ant/ant@1.6.5", "requirement": "1.6.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/qdox/qdox", + "purl": "pkg:maven/qdox/qdox@1.6.1", "requirement": "1.6.1", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.beanshell/bsh", + "purl": "pkg:maven/org.beanshell/bsh@2.0b4", "requirement": "2.0b4", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.testng/testng@5.7?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.testng/testng@5.7", "repository_homepage_url": "https://repo1.maven.org/maven2/org/testng/testng/5.7/", "repository_download_url": "https://repo1.maven.org/maven2/org/testng/testng/5.7/testng-5.7.jar", diff --git a/tests/packagedcode/data/m2/org/testng/testng/5.8/testng-5.8.pom.package.json b/tests/packagedcode/data/m2/org/testng/testng/5.8/testng-5.8.pom.package.json index a563cce7eb2..bd07bd52303 100644 --- a/tests/packagedcode/data/m2/org/testng/testng/5.8/testng-5.8.pom.package.json +++ b/tests/packagedcode/data/m2/org/testng/testng/5.8/testng-5.8.pom.package.json @@ -34,42 +34,43 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/ant/ant", + "purl": "pkg:maven/ant/ant@1.6.5", "requirement": "1.6.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/qdox/qdox", + "purl": "pkg:maven/qdox/qdox@1.6.1", "requirement": "1.6.1", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.beanshell/bsh", + "purl": "pkg:maven/org.beanshell/bsh@2.0b4", "requirement": "2.0b4", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.testng/testng@5.8?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.testng/testng@5.8", "repository_homepage_url": "https://repo1.maven.org/maven2/org/testng/testng/5.8/", "repository_download_url": "https://repo1.maven.org/maven2/org/testng/testng/5.8/testng-5.8.jar", diff --git a/tests/packagedcode/data/m2/org/uncommons/reportng/0.9.5/reportng-0.9.5.pom.package.json b/tests/packagedcode/data/m2/org/uncommons/reportng/0.9.5/reportng-0.9.5.pom.package.json index 9419f8221c3..8d36a34d492 100644 --- a/tests/packagedcode/data/m2/org/uncommons/reportng/0.9.5/reportng-0.9.5.pom.package.json +++ b/tests/packagedcode/data/m2/org/uncommons/reportng/0.9.5/reportng-0.9.5.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.velocity/velocity", + "purl": "pkg:maven/org.apache.velocity/velocity@1.5", "requirement": "1.5", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.uncommons/reportng@0.9.5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.uncommons/reportng@0.9.5", "repository_homepage_url": "https://repo1.maven.org/maven2/org/uncommons/reportng/0.9.5/", "repository_download_url": "https://repo1.maven.org/maven2/org/uncommons/reportng/0.9.5/reportng-0.9.5.jar", diff --git a/tests/packagedcode/data/m2/oro/oro/2.0.7/oro-2.0.7.pom.package.json b/tests/packagedcode/data/m2/oro/oro/2.0.7/oro-2.0.7.pom.package.json index bc493b58e9b..f24cdea9931 100644 --- a/tests/packagedcode/data/m2/oro/oro/2.0.7/oro-2.0.7.pom.package.json +++ b/tests/packagedcode/data/m2/oro/oro/2.0.7/oro-2.0.7.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/oro/oro@2.0.7?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/oro/oro@2.0.7", "repository_homepage_url": "https://repo1.maven.org/maven2/oro/oro/2.0.7/", "repository_download_url": "https://repo1.maven.org/maven2/oro/oro/2.0.7/oro-2.0.7.jar", diff --git a/tests/packagedcode/data/m2/oro/oro/2.0.8/oro-2.0.8.pom.package.json b/tests/packagedcode/data/m2/oro/oro/2.0.8/oro-2.0.8.pom.package.json index dcbf85512e7..6c231593351 100644 --- a/tests/packagedcode/data/m2/oro/oro/2.0.8/oro-2.0.8.pom.package.json +++ b/tests/packagedcode/data/m2/oro/oro/2.0.8/oro-2.0.8.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/oro/oro@2.0.8?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/oro/oro@2.0.8", "repository_homepage_url": "https://repo1.maven.org/maven2/oro/oro/2.0.8/", "repository_download_url": "https://repo1.maven.org/maven2/oro/oro/2.0.8/oro-2.0.8.jar", diff --git a/tests/packagedcode/data/m2/p6spy/p6spy/1.3/p6spy-1.3.pom.package.json b/tests/packagedcode/data/m2/p6spy/p6spy/1.3/p6spy-1.3.pom.package.json index 783f33d72b6..d365b8f50f1 100644 --- a/tests/packagedcode/data/m2/p6spy/p6spy/1.3/p6spy-1.3.pom.package.json +++ b/tests/packagedcode/data/m2/p6spy/p6spy/1.3/p6spy-1.3.pom.package.json @@ -70,58 +70,59 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/regexp/regexp", + "purl": "pkg:maven/regexp/regexp@1.3", "requirement": "1.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/gnu-regexp/gnu-regexp", + "purl": "pkg:maven/gnu-regexp/gnu-regexp@1.1.4", "requirement": "1.1.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/log4j/log4j", + "purl": "pkg:maven/log4j/log4j@1.2.8", "requirement": "1.2.8", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/ant/ant", + "purl": "pkg:maven/ant/ant@1.6.2", "requirement": "1.6.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/oracle/classes12", + "purl": "pkg:maven/oracle/classes12@9.2.0.5", "requirement": "9.2.0.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jboss/jboss", + "purl": "pkg:maven/jboss/jboss@2.4.6", "requirement": "2.4.6", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/p6spy/p6spy@1.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/p6spy/p6spy@1.3", "repository_homepage_url": "https://repo1.maven.org/maven2/p6spy/p6spy/1.3/", "repository_download_url": "https://repo1.maven.org/maven2/p6spy/p6spy/1.3/p6spy-1.3.jar", diff --git a/tests/packagedcode/data/m2/parsing_issues/inifinite_loop/argus-webservices-2.7.0.pom.package.json b/tests/packagedcode/data/m2/parsing_issues/inifinite_loop/argus-webservices-2.7.0.pom.package.json index 1df7cdf6d50..b30bb38330f 100644 --- a/tests/packagedcode/data/m2/parsing_issues/inifinite_loop/argus-webservices-2.7.0.pom.package.json +++ b/tests/packagedcode/data/m2/parsing_issues/inifinite_loop/argus-webservices-2.7.0.pom.package.json @@ -37,90 +37,91 @@ "is_resolved": false }, { - "purl": "pkg:maven/javax.servlet/javax.servlet-api", + "purl": "pkg:maven/javax.servlet/javax.servlet-api@3.1.0", "requirement": "3.1.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.glassfish.jersey.containers/jersey-container-servlet", + "purl": "pkg:maven/org.glassfish.jersey.containers/jersey-container-servlet@2.6", "requirement": "2.6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.glassfish.jersey.media/jersey-media-json-jackson", + "purl": "pkg:maven/org.glassfish.jersey.media/jersey-media-json-jackson@2.6", "requirement": "2.6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/com.salesforce.argus/argus-core", "requirement": "${project.version}", "scope": "compile", - "is_runtime": true, - "is_optional": false, + "is_runtime": false, + "is_optional": true, "is_resolved": false }, { - "purl": "pkg:maven/com.fasterxml.jackson.core/jackson-annotations", + "purl": "pkg:maven/com.fasterxml.jackson.core/jackson-annotations@2.3.2", "requirement": "2.3.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.fasterxml.jackson.jaxrs/jackson-jaxrs-base", + "purl": "pkg:maven/com.fasterxml.jackson.jaxrs/jackson-jaxrs-base@2.3.2", "requirement": "2.3.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.fasterxml.jackson.jaxrs/jackson-jaxrs-json-provider", + "purl": "pkg:maven/com.fasterxml.jackson.jaxrs/jackson-jaxrs-json-provider@2.3.2", "requirement": "2.3.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.glassfish.jersey.core/jersey-common", + "purl": "pkg:maven/org.glassfish.jersey.core/jersey-common@2.6", "requirement": "2.6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/io.jsonwebtoken/jjwt", + "purl": "pkg:maven/io.jsonwebtoken/jjwt@0.7.0", "requirement": "0.7.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@4.10", "requirement": "4.10", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/com.salesforce.argus/argus-webservices@%24%7Bproject.version%7D?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/com.salesforce.argus/argus-webservices@%24%7Bproject.version%7D?type=war", "repository_homepage_url": "https://repo1.maven.org/maven2/com/salesforce/argus/argus-webservices/${project.version}/", "repository_download_url": "https://repo1.maven.org/maven2/com/salesforce/argus/argus-webservices/${project.version}/argus-webservices-${project.version}.war", diff --git a/tests/packagedcode/data/m2/parsing_issues/inifinite_loop/argus-webservices-2.8.0.pom.package.json b/tests/packagedcode/data/m2/parsing_issues/inifinite_loop/argus-webservices-2.8.0.pom.package.json index 1df7cdf6d50..b30bb38330f 100644 --- a/tests/packagedcode/data/m2/parsing_issues/inifinite_loop/argus-webservices-2.8.0.pom.package.json +++ b/tests/packagedcode/data/m2/parsing_issues/inifinite_loop/argus-webservices-2.8.0.pom.package.json @@ -37,90 +37,91 @@ "is_resolved": false }, { - "purl": "pkg:maven/javax.servlet/javax.servlet-api", + "purl": "pkg:maven/javax.servlet/javax.servlet-api@3.1.0", "requirement": "3.1.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.glassfish.jersey.containers/jersey-container-servlet", + "purl": "pkg:maven/org.glassfish.jersey.containers/jersey-container-servlet@2.6", "requirement": "2.6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.glassfish.jersey.media/jersey-media-json-jackson", + "purl": "pkg:maven/org.glassfish.jersey.media/jersey-media-json-jackson@2.6", "requirement": "2.6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { "purl": "pkg:maven/com.salesforce.argus/argus-core", "requirement": "${project.version}", "scope": "compile", - "is_runtime": true, - "is_optional": false, + "is_runtime": false, + "is_optional": true, "is_resolved": false }, { - "purl": "pkg:maven/com.fasterxml.jackson.core/jackson-annotations", + "purl": "pkg:maven/com.fasterxml.jackson.core/jackson-annotations@2.3.2", "requirement": "2.3.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.fasterxml.jackson.jaxrs/jackson-jaxrs-base", + "purl": "pkg:maven/com.fasterxml.jackson.jaxrs/jackson-jaxrs-base@2.3.2", "requirement": "2.3.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.fasterxml.jackson.jaxrs/jackson-jaxrs-json-provider", + "purl": "pkg:maven/com.fasterxml.jackson.jaxrs/jackson-jaxrs-json-provider@2.3.2", "requirement": "2.3.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.glassfish.jersey.core/jersey-common", + "purl": "pkg:maven/org.glassfish.jersey.core/jersey-common@2.6", "requirement": "2.6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/io.jsonwebtoken/jjwt", + "purl": "pkg:maven/io.jsonwebtoken/jjwt@0.7.0", "requirement": "0.7.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@4.10", "requirement": "4.10", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/com.salesforce.argus/argus-webservices@%24%7Bproject.version%7D?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/com.salesforce.argus/argus-webservices@%24%7Bproject.version%7D?type=war", "repository_homepage_url": "https://repo1.maven.org/maven2/com/salesforce/argus/argus-webservices/${project.version}/", "repository_download_url": "https://repo1.maven.org/maven2/com/salesforce/argus/argus-webservices/${project.version}/argus-webservices-${project.version}.war", diff --git a/tests/packagedcode/data/m2/parsing_issues/inifinite_loop/coreplugin-1.0.0.pom.package.json b/tests/packagedcode/data/m2/parsing_issues/inifinite_loop/coreplugin-1.0.0.pom.package.json index c19ee943240..de682c64c15 100644 --- a/tests/packagedcode/data/m2/parsing_issues/inifinite_loop/coreplugin-1.0.0.pom.package.json +++ b/tests/packagedcode/data/m2/parsing_issues/inifinite_loop/coreplugin-1.0.0.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/net.sourceforge.findbugs/coreplugin@1.0.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/net.sourceforge.findbugs/coreplugin@1.0.0", "repository_homepage_url": "https://repo1.maven.org/maven2/net/sourceforge/findbugs/coreplugin/1.0.0/", "repository_download_url": "https://repo1.maven.org/maven2/net/sourceforge/findbugs/coreplugin/1.0.0/coreplugin-1.0.0.jar", diff --git a/tests/packagedcode/data/m2/parsing_issues/inifinite_loop/jacuzzi-annotations-0.2.1.pom.package.json b/tests/packagedcode/data/m2/parsing_issues/inifinite_loop/jacuzzi-annotations-0.2.1.pom.package.json index 3ada51de071..484f833bacb 100644 --- a/tests/packagedcode/data/m2/parsing_issues/inifinite_loop/jacuzzi-annotations-0.2.1.pom.package.json +++ b/tests/packagedcode/data/m2/parsing_issues/inifinite_loop/jacuzzi-annotations-0.2.1.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/com.github.albertoanguita/jacuzzi-annotations@%24%7Bversion%7D?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/com.github.albertoanguita/jacuzzi-annotations@%24%7Bversion%7D", "repository_homepage_url": "https://repo1.maven.org/maven2/com/github/albertoanguita/jacuzzi-annotations/${version}/", "repository_download_url": "https://repo1.maven.org/maven2/com/github/albertoanguita/jacuzzi-annotations/${version}/jacuzzi-annotations-${version}.jar", diff --git a/tests/packagedcode/data/m2/parsing_issues/inifinite_loop/jacuzzi-database-0.2.1.pom.package.json b/tests/packagedcode/data/m2/parsing_issues/inifinite_loop/jacuzzi-database-0.2.1.pom.package.json index 9278a7015be..465de92ac2c 100644 --- a/tests/packagedcode/data/m2/parsing_issues/inifinite_loop/jacuzzi-database-0.2.1.pom.package.json +++ b/tests/packagedcode/data/m2/parsing_issues/inifinite_loop/jacuzzi-database-0.2.1.pom.package.json @@ -30,31 +30,32 @@ "purl": "pkg:maven/com.github.albertoanguita/jacuzzi-core", "requirement": "${version}", "scope": "compile", - "is_runtime": true, - "is_optional": false, + "is_runtime": false, + "is_optional": true, "is_resolved": false }, { - "purl": "pkg:maven/org.javalite/activejdbc", + "purl": "pkg:maven/org.javalite/activejdbc@1.4.12", "requirement": "1.4.12", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.xerial/sqlite-jdbc", + "purl": "pkg:maven/org.xerial/sqlite-jdbc@3.8.11.1", "requirement": "3.8.11.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/com.github.albertoanguita/jacuzzi-database@%24%7Bversion%7D?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/com.github.albertoanguita/jacuzzi-database@%24%7Bversion%7D", "repository_homepage_url": "https://repo1.maven.org/maven2/com/github/albertoanguita/jacuzzi-database/${version}/", "repository_download_url": "https://repo1.maven.org/maven2/com/github/albertoanguita/jacuzzi-database/${version}/jacuzzi-database-${version}.jar", diff --git a/tests/packagedcode/data/m2/parsing_issues/inifinite_loop/ojcms-beans-0.1-beta.pom.package.json b/tests/packagedcode/data/m2/parsing_issues/inifinite_loop/ojcms-beans-0.1-beta.pom.package.json index 9ff0e738d66..de300ae10ac 100644 --- a/tests/packagedcode/data/m2/parsing_issues/inifinite_loop/ojcms-beans-0.1-beta.pom.package.json +++ b/tests/packagedcode/data/m2/parsing_issues/inifinite_loop/ojcms-beans-0.1-beta.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.glassfish.jersey.media/jersey-media-json-jackson", + "purl": "pkg:maven/org.glassfish.jersey.media/jersey-media-json-jackson@2.25.1", "requirement": "2.25.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/com.github.simondan.ojcms/ojcms-beans@%24%7Bproject.version%7D?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/com.github.simondan.ojcms/ojcms-beans@%24%7Bproject.version%7D", "repository_homepage_url": "https://repo1.maven.org/maven2/com/github/simondan/ojcms/ojcms-beans/${project.version}/", "repository_download_url": "https://repo1.maven.org/maven2/com/github/simondan/ojcms/ojcms-beans/${project.version}/ojcms-beans-${project.version}.jar", diff --git a/tests/packagedcode/data/m2/parsing_issues/inifinite_loop/pkg-2.0.13.1005.pom.package.json b/tests/packagedcode/data/m2/parsing_issues/inifinite_loop/pkg-2.0.13.1005.pom.package.json index 03acc415c1a..e43c315d5c0 100644 --- a/tests/packagedcode/data/m2/parsing_issues/inifinite_loop/pkg-2.0.13.1005.pom.package.json +++ b/tests/packagedcode/data/m2/parsing_issues/inifinite_loop/pkg-2.0.13.1005.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.jvnet.updatecenter2/pkg@%24%7Bversion%7D?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.jvnet.updatecenter2/pkg@%24%7Bversion%7D", "repository_homepage_url": "https://repo1.maven.org/maven2/org/jvnet/updatecenter2/pkg/${version}/", "repository_download_url": "https://repo1.maven.org/maven2/org/jvnet/updatecenter2/pkg/${version}/pkg-${version}.jar", diff --git a/tests/packagedcode/data/m2/parsing_issues/parse_error/jds-2.17.0718b.pom.package.json b/tests/packagedcode/data/m2/parsing_issues/parse_error/jds-2.17.0718b.pom.package.json index 1f03e8d68ea..13f357b55ad 100644 --- a/tests/packagedcode/data/m2/parsing_issues/parse_error/jds-2.17.0718b.pom.package.json +++ b/tests/packagedcode/data/m2/parsing_issues/parse_error/jds-2.17.0718b.pom.package.json @@ -42,50 +42,51 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@4.12", "requirement": "4.12", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.xerial/sqlite-jdbc", + "purl": "pkg:maven/org.xerial/sqlite-jdbc@3.16.1", "requirement": "3.16.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.microsoft.sqlserver/sqljdbc4", + "purl": "pkg:maven/com.microsoft.sqlserver/sqljdbc4@4.0", "requirement": "4.0", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.postgresql/postgresql", + "purl": "pkg:maven/org.postgresql/postgresql@42.0.0", "requirement": "42.0.0", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/mysql/mysql-connector-java", + "purl": "pkg:maven/mysql/mysql-connector-java@6.0.6", "requirement": "6.0.6", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/io.github.subiyacryolite/jds@2.17.0718b?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/io.github.subiyacryolite/jds@2.17.0718b", "repository_homepage_url": "https://repo1.maven.org/maven2/io/github/subiyacryolite/jds/2.17.0718b/", "repository_download_url": "https://repo1.maven.org/maven2/io/github/subiyacryolite/jds/2.17.0718b/jds-2.17.0718b.jar", diff --git a/tests/packagedcode/data/m2/parsing_issues/parse_error/jds-3.0.1.pom.package.json b/tests/packagedcode/data/m2/parsing_issues/parse_error/jds-3.0.1.pom.package.json index 9c774b0bcbd..62eca2c7c89 100644 --- a/tests/packagedcode/data/m2/parsing_issues/parse_error/jds-3.0.1.pom.package.json +++ b/tests/packagedcode/data/m2/parsing_issues/parse_error/jds-3.0.1.pom.package.json @@ -42,50 +42,51 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@4.12", "requirement": "4.12", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.xerial/sqlite-jdbc", + "purl": "pkg:maven/org.xerial/sqlite-jdbc@3.16.1", "requirement": "3.16.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.microsoft.sqlserver/sqljdbc4", + "purl": "pkg:maven/com.microsoft.sqlserver/sqljdbc4@4.0", "requirement": "4.0", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.postgresql/postgresql", + "purl": "pkg:maven/org.postgresql/postgresql@42.0.0", "requirement": "42.0.0", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/mysql/mysql-connector-java", + "purl": "pkg:maven/mysql/mysql-connector-java@6.0.6", "requirement": "6.0.6", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/io.github.subiyacryolite/jds@3.0.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/io.github.subiyacryolite/jds@3.0.1", "repository_homepage_url": "https://repo1.maven.org/maven2/io/github/subiyacryolite/jds/3.0.1/", "repository_download_url": "https://repo1.maven.org/maven2/io/github/subiyacryolite/jds/3.0.1/jds-3.0.1.jar", diff --git a/tests/packagedcode/data/m2/parsing_issues/parse_error/maven-javanet-plugin-1.7.pom.package.json b/tests/packagedcode/data/m2/parsing_issues/parse_error/maven-javanet-plugin-1.7.pom.package.json index 18dece7d51b..489d7a1bdac 100644 --- a/tests/packagedcode/data/m2/parsing_issues/parse_error/maven-javanet-plugin-1.7.pom.package.json +++ b/tests/packagedcode/data/m2/parsing_issues/parse_error/maven-javanet-plugin-1.7.pom.package.json @@ -49,64 +49,65 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/httpunit/httpunit", + "purl": "pkg:maven/httpunit/httpunit@1.5.4", "requirement": "1.5.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/xml-apis/xml-apis", + "purl": "pkg:maven/xml-apis/xml-apis@2.0.0", "requirement": "2.0.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/xerces/xerces", + "purl": "pkg:maven/xerces/xerces@2.2.1", "requirement": "2.2.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/jtidy/jtidy", + "purl": "pkg:maven/jtidy/jtidy@4aug2000r7-dev", "requirement": "4aug2000r7-dev", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/nekohtml/nekohtml", + "purl": "pkg:maven/nekohtml/nekohtml@0.9.5", "requirement": "0.9.5", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/dom4j/dom4j", + "purl": "pkg:maven/dom4j/dom4j@1.4", "requirement": "1.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/jaxen/jaxen", + "purl": "pkg:maven/jaxen/jaxen@1.0-FCS-full", "requirement": "1.0-FCS-full", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:maven/maven-javanet-plugin/maven-javanet-plugin", "repository_homepage_url": "https://repo1.maven.org/maven2/maven-javanet-plugin/maven-javanet-plugin/None/", "repository_download_url": "https://repo1.maven.org/maven2/maven-javanet-plugin/maven-javanet-plugin/None/maven-javanet-plugin-None.jar", diff --git a/tests/packagedcode/data/m2/parsing_issues/parse_error/springmvc-rest-docs-maven-plugin-1.0-RC1.pom.json b/tests/packagedcode/data/m2/parsing_issues/parse_error/springmvc-rest-docs-maven-plugin-1.0-RC1.pom.json index f302c46cdd3..d0dc1029c58 100644 --- a/tests/packagedcode/data/m2/parsing_issues/parse_error/springmvc-rest-docs-maven-plugin-1.0-RC1.pom.json +++ b/tests/packagedcode/data/m2/parsing_issues/parse_error/springmvc-rest-docs-maven-plugin-1.0-RC1.pom.json @@ -143,6 +143,128 @@ "version": "4.11", "required": true } + ], + "dependencyManagement": [ + { + "group_id": "com.fasterxml.jackson.core", + "artifact_id": "jackson-databind", + "version": "2.7.8", + "required": true + }, + { + "group_id": "com.fasterxml.jackson.core", + "artifact_id": "jackson-core", + "version": "2.7.8", + "required": true + }, + { + "group_id": "com.google.guava", + "artifact_id": "guava", + "version": "22.0", + "required": true + }, + { + "group_id": "javax.servlet", + "artifact_id": "javax.servlet-api", + "version": "3.1.0", + "required": true + }, + { + "group_id": "io.springfox", + "artifact_id": "springfox-swagger2", + "version": "2.7.0", + "required": true + }, + { + "group_id": "io.springfox", + "artifact_id": "springfox-staticdocs", + "version": "2.6.1", + "required": true + }, + { + "group_id": "io.swagger", + "artifact_id": "swagger-codegen-cli", + "version": "2.2.2", + "required": true + }, + { + "group_id": "org.springframework", + "artifact_id": "spring-webmvc", + "version": "4.3.8.RELEASE", + "required": true + }, + { + "group_id": "io.github.swagger2markup", + "artifact_id": "swagger2markup", + "version": "1.3.1", + "required": true + }, + { + "group_id": "org.springframework", + "artifact_id": "spring-test", + "version": "4.3.8.RELEASE", + "required": true + }, + { + "group_id": "org.apache.maven.plugin-tools", + "artifact_id": "maven-plugin-annotations", + "version": "3.4", + "required": true + }, + { + "group_id": "org.apache.commons", + "artifact_id": "commons-lang3", + "version": "3.5", + "required": true + }, + { + "group_id": "commons-io", + "artifact_id": "commons-io", + "version": "1.3.2", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-plugin-api", + "version": "3.1.0", + "required": true + }, + { + "group_id": "org.apache.maven", + "artifact_id": "maven-core", + "version": "3.1.0", + "required": true + }, + { + "group_id": "org.eclipse.aether", + "artifact_id": "aether-api", + "version": "1.1.0", + "required": true + }, + { + "group_id": "org.eclipse.aether", + "artifact_id": "aether-util", + "version": "1.1.0", + "required": true + }, + { + "group_id": "org.hamcrest", + "artifact_id": "hamcrest-core", + "version": "1.3", + "required": true + }, + { + "group_id": "org.slf4j", + "artifact_id": "slf4j-log4j12", + "version": "1.7.25", + "required": true + }, + { + "group_id": "junit", + "artifact_id": "junit", + "version": "4.11", + "required": true + } ] } } \ No newline at end of file diff --git a/tests/packagedcode/data/m2/parsing_issues/parse_error/springmvc-rest-docs-maven-plugin-1.0-RC1.pom.package.json b/tests/packagedcode/data/m2/parsing_issues/parse_error/springmvc-rest-docs-maven-plugin-1.0-RC1.pom.package.json index a65d08055c5..8d302aecd59 100644 --- a/tests/packagedcode/data/m2/parsing_issues/parse_error/springmvc-rest-docs-maven-plugin-1.0-RC1.pom.package.json +++ b/tests/packagedcode/data/m2/parsing_issues/parse_error/springmvc-rest-docs-maven-plugin-1.0-RC1.pom.package.json @@ -30,151 +30,312 @@ "purl": "pkg:maven/com.github.vincentrussell/springmvc-rest-docs-deps", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { - "purl": "pkg:maven/com.fasterxml.jackson.core/jackson-databind", + "purl": "pkg:maven/com.fasterxml.jackson.core/jackson-databind@2.7.8", "requirement": "2.7.8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.fasterxml.jackson.core/jackson-core", + "purl": "pkg:maven/com.fasterxml.jackson.core/jackson-core@2.7.8", "requirement": "2.7.8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/io.springfox/springfox-swagger2", + "purl": "pkg:maven/io.springfox/springfox-swagger2@2.7.0", "requirement": "2.7.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.google.guava/guava", + "purl": "pkg:maven/com.google.guava/guava@22.0", "requirement": "22.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-webmvc", + "purl": "pkg:maven/org.springframework/spring-webmvc@4.3.8.RELEASE", "requirement": "4.3.8.RELEASE", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/io.github.swagger2markup/swagger2markup", + "purl": "pkg:maven/io.github.swagger2markup/swagger2markup@1.3.1", "requirement": "1.3.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/javax.servlet-api", + "purl": "pkg:maven/javax.servlet/javax.servlet-api@3.1.0", "requirement": "3.1.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-test", + "purl": "pkg:maven/org.springframework/spring-test@4.3.8.RELEASE", "requirement": "4.3.8.RELEASE", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.plugin-tools/maven-plugin-annotations", + "purl": "pkg:maven/org.apache.maven.plugin-tools/maven-plugin-annotations@3.4", "requirement": "3.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.eclipse.aether/aether-api", + "purl": "pkg:maven/org.eclipse.aether/aether-api@1.1.0", "requirement": "1.1.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.eclipse.aether/aether-util", + "purl": "pkg:maven/org.eclipse.aether/aether-util@1.1.0", "requirement": "1.1.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.commons/commons-lang3", + "purl": "pkg:maven/org.apache.commons/commons-lang3@3.5", "requirement": "3.5", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-io/commons-io", + "purl": "pkg:maven/commons-io/commons-io@1.3.2", "requirement": "1.3.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.hamcrest/hamcrest-core", + "purl": "pkg:maven/org.hamcrest/hamcrest-core@1.3", "requirement": "1.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-core", + "purl": "pkg:maven/org.apache.maven/maven-core@3.1.0", "requirement": "3.1.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven/maven-plugin-api", + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@3.1.0", "requirement": "3.1.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@4.11", "requirement": "4.11", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true + }, + { + "purl": "pkg:maven/com.fasterxml.jackson.core/jackson-databind@2.7.8", + "requirement": "2.7.8", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/com.fasterxml.jackson.core/jackson-core@2.7.8", + "requirement": "2.7.8", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/com.google.guava/guava@22.0", + "requirement": "22.0", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/javax.servlet/javax.servlet-api@3.1.0", + "requirement": "3.1.0", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/io.springfox/springfox-swagger2@2.7.0", + "requirement": "2.7.0", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/io.springfox/springfox-staticdocs@2.6.1", + "requirement": "2.6.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/io.swagger/swagger-codegen-cli@2.2.2", + "requirement": "2.2.2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.springframework/spring-webmvc@4.3.8.RELEASE", + "requirement": "4.3.8.RELEASE", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/io.github.swagger2markup/swagger2markup@1.3.1", + "requirement": "1.3.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.springframework/spring-test@4.3.8.RELEASE", + "requirement": "4.3.8.RELEASE", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven.plugin-tools/maven-plugin-annotations@3.4", + "requirement": "3.4", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.commons/commons-lang3@3.5", + "requirement": "3.5", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/commons-io/commons-io@1.3.2", + "requirement": "1.3.2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-plugin-api@3.1.0", + "requirement": "3.1.0", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.maven/maven-core@3.1.0", + "requirement": "3.1.0", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.eclipse.aether/aether-api@1.1.0", + "requirement": "1.1.0", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.eclipse.aether/aether-util@1.1.0", + "requirement": "1.1.0", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.hamcrest/hamcrest-core@1.3", + "requirement": "1.3", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.slf4j/slf4j-log4j12@1.7.25", + "requirement": "1.7.25", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/junit/junit@4.11", + "requirement": "4.11", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/com.github.vincentrussell/springmvc-rest-docs-maven-plugin@1.0-RC1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/com.github.vincentrussell/springmvc-rest-docs-maven-plugin@1.0-RC1", "repository_homepage_url": "https://repo1.maven.org/maven2/com/github/vincentrussell/springmvc-rest-docs-maven-plugin/1.0-RC1/", "repository_download_url": "https://repo1.maven.org/maven2/com/github/vincentrussell/springmvc-rest-docs-maven-plugin/1.0-RC1/springmvc-rest-docs-maven-plugin-1.0-RC1.jar", diff --git a/tests/packagedcode/data/m2/parsing_issues/was_empty/common-object-1.0.2.pom.package.json b/tests/packagedcode/data/m2/parsing_issues/was_empty/common-object-1.0.2.pom.package.json index d5a3cd42b7f..d110cadc256 100644 --- a/tests/packagedcode/data/m2/parsing_issues/was_empty/common-object-1.0.2.pom.package.json +++ b/tests/packagedcode/data/m2/parsing_issues/was_empty/common-object-1.0.2.pom.package.json @@ -42,42 +42,43 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@4.10", "requirement": "4.10", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.alibaba/fastjson", + "purl": "pkg:maven/com.alibaba/fastjson@1.1.41", "requirement": "1.1.41", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.xson/xson", + "purl": "pkg:maven/org.xson/xson@1.0.2", "requirement": "1.0.2", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/be.cyberelf.nanoxml/lite", + "purl": "pkg:maven/be.cyberelf.nanoxml/lite@2.2.3", "requirement": "2.2.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.xson/common-object@1.0.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.xson/common-object@1.0.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/xson/common-object/1.0.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/xson/common-object/1.0.2/common-object-1.0.2.jar", diff --git a/tests/packagedcode/data/m2/parsing_issues/was_empty/osgl-http-1.1.2.pom.package.json b/tests/packagedcode/data/m2/parsing_issues/was_empty/osgl-http-1.1.2.pom.package.json index 46889d3ed18..bb14eaa5ab3 100644 --- a/tests/packagedcode/data/m2/parsing_issues/was_empty/osgl-http-1.1.2.pom.package.json +++ b/tests/packagedcode/data/m2/parsing_issues/was_empty/osgl-http-1.1.2.pom.package.json @@ -34,50 +34,51 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@4.10", "requirement": "4.10", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.carrotsearch/junit-benchmarks", + "purl": "pkg:maven/com.carrotsearch/junit-benchmarks@0.7.2", "requirement": "0.7.2", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.osgl/osgl-storage", + "purl": "pkg:maven/org.osgl/osgl-storage@1.2.0", "requirement": "1.2.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/servlet-api", + "purl": "pkg:maven/javax.servlet/servlet-api@2.5", "requirement": "2.5", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.osgl/osgl-cache", + "purl": "pkg:maven/org.osgl/osgl-cache@1.0.2", "requirement": "1.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.osgl/osgl-http@1.1.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.osgl/osgl-http@1.1.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/osgl/osgl-http/1.1.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/osgl/osgl-http/1.1.2/osgl-http-1.1.2.jar", diff --git a/tests/packagedcode/data/m2/plexus/plexus-containers/1.0.2/plexus-containers-1.0.2.pom.package.json b/tests/packagedcode/data/m2/plexus/plexus-containers/1.0.2/plexus-containers-1.0.2.pom.package.json index 12d21560f9d..742588df2b3 100644 --- a/tests/packagedcode/data/m2/plexus/plexus-containers/1.0.2/plexus-containers-1.0.2.pom.package.json +++ b/tests/packagedcode/data/m2/plexus/plexus-containers/1.0.2/plexus-containers-1.0.2.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/plexus/plexus-containers@1.0.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/plexus/plexus-containers@1.0.2", "repository_homepage_url": "https://repo1.maven.org/maven2/plexus/plexus-containers/1.0.2/", "repository_download_url": "https://repo1.maven.org/maven2/plexus/plexus-containers/1.0.2/plexus-containers-1.0.2.jar", diff --git a/tests/packagedcode/data/m2/plexus/plexus-root/1.0.3/plexus-root-1.0.3.pom.package.json b/tests/packagedcode/data/m2/plexus/plexus-root/1.0.3/plexus-root-1.0.3.pom.package.json index 4a44ea9fbb5..5518d281f56 100644 --- a/tests/packagedcode/data/m2/plexus/plexus-root/1.0.3/plexus-root-1.0.3.pom.package.json +++ b/tests/packagedcode/data/m2/plexus/plexus-root/1.0.3/plexus-root-1.0.3.pom.package.json @@ -112,18 +112,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/plexus/plexus-root@1.0.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/plexus/plexus-root@1.0.3", "repository_homepage_url": "https://repo1.maven.org/maven2/plexus/plexus-root/1.0.3/", "repository_download_url": "https://repo1.maven.org/maven2/plexus/plexus-root/1.0.3/plexus-root-1.0.3.jar", diff --git a/tests/packagedcode/data/m2/plexus/plexus-utils/1.0.2/plexus-utils-1.0.2.pom.package.json b/tests/packagedcode/data/m2/plexus/plexus-utils/1.0.2/plexus-utils-1.0.2.pom.package.json index 9ff6e13af01..987fadd2241 100644 --- a/tests/packagedcode/data/m2/plexus/plexus-utils/1.0.2/plexus-utils-1.0.2.pom.package.json +++ b/tests/packagedcode/data/m2/plexus/plexus-utils/1.0.2/plexus-utils-1.0.2.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/plexus/plexus-utils@1.0.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/plexus/plexus-utils@1.0.2", "repository_homepage_url": "https://repo1.maven.org/maven2/plexus/plexus-utils/1.0.2/", "repository_download_url": "https://repo1.maven.org/maven2/plexus/plexus-utils/1.0.2/plexus-utils-1.0.2.jar", diff --git a/tests/packagedcode/data/m2/quartz/quartz/1.5.1/quartz-1.5.1.pom.package.json b/tests/packagedcode/data/m2/quartz/quartz/1.5.1/quartz-1.5.1.pom.package.json index 1af650d8ee0..c4b970b1ea1 100644 --- a/tests/packagedcode/data/m2/quartz/quartz/1.5.1/quartz-1.5.1.pom.package.json +++ b/tests/packagedcode/data/m2/quartz/quartz/1.5.1/quartz-1.5.1.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/quartz/quartz@1.5.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/quartz/quartz@1.5.1", "repository_homepage_url": "https://repo1.maven.org/maven2/quartz/quartz/1.5.1/", "repository_download_url": "https://repo1.maven.org/maven2/quartz/quartz/1.5.1/quartz-1.5.1.jar", diff --git a/tests/packagedcode/data/m2/regexp/regexp/1.3/regexp-1.3.pom.package.json b/tests/packagedcode/data/m2/regexp/regexp/1.3/regexp-1.3.pom.package.json index f625ad2ce20..969ac4142eb 100644 --- a/tests/packagedcode/data/m2/regexp/regexp/1.3/regexp-1.3.pom.package.json +++ b/tests/packagedcode/data/m2/regexp/regexp/1.3/regexp-1.3.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/regexp/regexp@1.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/regexp/regexp@1.3", "repository_homepage_url": "https://repo1.maven.org/maven2/regexp/regexp/1.3/", "repository_download_url": "https://repo1.maven.org/maven2/regexp/regexp/1.3/regexp-1.3.jar", diff --git a/tests/packagedcode/data/m2/validator/commons-validator/1.1.4/commons-validator-1.1.4.pom.package.json b/tests/packagedcode/data/m2/validator/commons-validator/1.1.4/commons-validator-1.1.4.pom.package.json index 8ed1a9069b3..d62e93324e0 100644 --- a/tests/packagedcode/data/m2/validator/commons-validator/1.1.4/commons-validator-1.1.4.pom.package.json +++ b/tests/packagedcode/data/m2/validator/commons-validator/1.1.4/commons-validator-1.1.4.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/commons-validator/commons-validator@1.1.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/commons-validator/commons-validator@1.1.4", "repository_homepage_url": "https://repo1.maven.org/maven2/commons-validator/commons-validator/1.1.4/", "repository_download_url": "https://repo1.maven.org/maven2/commons-validator/commons-validator/1.1.4/commons-validator-1.1.4.jar", diff --git a/tests/packagedcode/data/m2/validator/commons-validator/1.2.0/commons-validator-1.2.0.pom.package.json b/tests/packagedcode/data/m2/validator/commons-validator/1.2.0/commons-validator-1.2.0.pom.package.json index d29736a7aa6..ddec114d813 100644 --- a/tests/packagedcode/data/m2/validator/commons-validator/1.2.0/commons-validator-1.2.0.pom.package.json +++ b/tests/packagedcode/data/m2/validator/commons-validator/1.2.0/commons-validator-1.2.0.pom.package.json @@ -259,58 +259,59 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/commons-beanutils/commons-beanutils", + "purl": "pkg:maven/commons-beanutils/commons-beanutils@1.7.0", "requirement": "1.7.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-digester/commons-digester", + "purl": "pkg:maven/commons-digester/commons-digester@1.6", "requirement": "1.6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/oro/oro", + "purl": "pkg:maven/oro/oro@2.0.8", "requirement": "2.0.8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/xml-apis/xml-apis", + "purl": "pkg:maven/xml-apis/xml-apis@2.0.2", "requirement": "2.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/commons-validator/commons-validator@1.2.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/commons-validator/commons-validator@1.2.0", "repository_homepage_url": "https://repo1.maven.org/maven2/commons-validator/commons-validator/1.2.0/", "repository_download_url": "https://repo1.maven.org/maven2/commons-validator/commons-validator/1.2.0/commons-validator-1.2.0.jar", diff --git a/tests/packagedcode/data/m2/validator/commons-validator/1.3.1/commons-validator-1.3.1.pom.package.json b/tests/packagedcode/data/m2/validator/commons-validator/1.3.1/commons-validator-1.3.1.pom.package.json index f984aa7155a..400b6faf44e 100644 --- a/tests/packagedcode/data/m2/validator/commons-validator/1.3.1/commons-validator-1.3.1.pom.package.json +++ b/tests/packagedcode/data/m2/validator/commons-validator/1.3.1/commons-validator-1.3.1.pom.package.json @@ -266,58 +266,59 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/commons-beanutils/commons-beanutils", + "purl": "pkg:maven/commons-beanutils/commons-beanutils@1.7.0", "requirement": "1.7.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-digester/commons-digester", + "purl": "pkg:maven/commons-digester/commons-digester@1.6", "requirement": "1.6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/oro/oro", + "purl": "pkg:maven/oro/oro@2.0.8", "requirement": "2.0.8", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/xml-apis/xml-apis", + "purl": "pkg:maven/xml-apis/xml-apis@2.0.2", "requirement": "2.0.2", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/commons-validator/commons-validator@1.3.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/commons-validator/commons-validator@1.3.1", "repository_homepage_url": "https://repo1.maven.org/maven2/commons-validator/commons-validator/1.3.1/", "repository_download_url": "https://repo1.maven.org/maven2/commons-validator/commons-validator/1.3.1/commons-validator-1.3.1.jar", diff --git a/tests/packagedcode/data/m2/velocity/velocity-dep/1.4/velocity-dep-1.4.pom.package.json b/tests/packagedcode/data/m2/velocity/velocity-dep/1.4/velocity-dep-1.4.pom.package.json index 3a9cc406efe..43f622e2325 100644 --- a/tests/packagedcode/data/m2/velocity/velocity-dep/1.4/velocity-dep-1.4.pom.package.json +++ b/tests/packagedcode/data/m2/velocity/velocity-dep/1.4/velocity-dep-1.4.pom.package.json @@ -38,6 +38,7 @@ "source_packages": [ "pkg:maven/velocity/velocity-dep@1.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/velocity/velocity-dep@1.4", "repository_homepage_url": "https://repo1.maven.org/maven2/velocity/velocity-dep/1.4/", "repository_download_url": "https://repo1.maven.org/maven2/velocity/velocity-dep/1.4/velocity-dep-1.4.jar", diff --git a/tests/packagedcode/data/m2/velocity/velocity/1.4/velocity-1.4.pom.package.json b/tests/packagedcode/data/m2/velocity/velocity/1.4/velocity-1.4.pom.package.json index 8a1561bed6c..f27211bf576 100644 --- a/tests/packagedcode/data/m2/velocity/velocity/1.4/velocity-1.4.pom.package.json +++ b/tests/packagedcode/data/m2/velocity/velocity/1.4/velocity-1.4.pom.package.json @@ -42,18 +42,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/velocity/velocity-dep", + "purl": "pkg:maven/velocity/velocity-dep@1.4", "requirement": "1.4", "scope": "runtime", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/velocity/velocity@1.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/velocity/velocity@1.4", "repository_homepage_url": "https://repo1.maven.org/maven2/velocity/velocity/1.4/", "repository_download_url": "https://repo1.maven.org/maven2/velocity/velocity/1.4/velocity-1.4.jar", diff --git a/tests/packagedcode/data/m2/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.pom.package.json b/tests/packagedcode/data/m2/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.pom.package.json index 61fe0a22cf0..46c67ae0b47 100644 --- a/tests/packagedcode/data/m2/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.pom.package.json +++ b/tests/packagedcode/data/m2/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.pom.package.json @@ -45,6 +45,7 @@ "source_packages": [ "pkg:maven/xml-apis/xml-apis@1.0.b2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/xml-apis/xml-apis@1.0.b2", "repository_homepage_url": "https://repo1.maven.org/maven2/xml-apis/xml-apis/1.0.b2/", "repository_download_url": "https://repo1.maven.org/maven2/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar", diff --git a/tests/packagedcode/data/m2/xml-apis/xml-apis/2.0.2/xml-apis-2.0.2.pom.package.json b/tests/packagedcode/data/m2/xml-apis/xml-apis/2.0.2/xml-apis-2.0.2.pom.package.json index c541bb2a976..f71b05ef9ff 100644 --- a/tests/packagedcode/data/m2/xml-apis/xml-apis/2.0.2/xml-apis-2.0.2.pom.package.json +++ b/tests/packagedcode/data/m2/xml-apis/xml-apis/2.0.2/xml-apis-2.0.2.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/xml-apis/xml-apis", + "purl": "pkg:maven/xml-apis/xml-apis@1.0.b2", "requirement": "1.0.b2", "scope": "relocation", - "is_runtime": true, + "is_runtime": false, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/xml-apis/xml-apis@2.0.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/xml-apis/xml-apis@2.0.2", "repository_homepage_url": "https://repo1.maven.org/maven2/xml-apis/xml-apis/2.0.2/", "repository_download_url": "https://repo1.maven.org/maven2/xml-apis/xml-apis/2.0.2/xml-apis-2.0.2.jar", diff --git a/tests/packagedcode/data/m2/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.pom.package.json b/tests/packagedcode/data/m2/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.pom.package.json index f1b131ea9ef..82e762f1ed6 100644 --- a/tests/packagedcode/data/m2/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.pom.package.json +++ b/tests/packagedcode/data/m2/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.pom.package.json @@ -37,6 +37,7 @@ "source_packages": [ "pkg:maven/xmlpull/xmlpull@1.1.3.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/xmlpull/xmlpull@1.1.3.1", "repository_homepage_url": "https://repo1.maven.org/maven2/xmlpull/xmlpull/1.1.3.1/", "repository_download_url": "https://repo1.maven.org/maven2/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.jar", diff --git a/tests/packagedcode/data/m2/xpp3/xpp3_min/1.1.3.4.O/xpp3_min-1.1.3.4.O.pom.package.json b/tests/packagedcode/data/m2/xpp3/xpp3_min/1.1.3.4.O/xpp3_min-1.1.3.4.O.pom.package.json index b3626eb8ba8..f3346ed0f98 100644 --- a/tests/packagedcode/data/m2/xpp3/xpp3_min/1.1.3.4.O/xpp3_min-1.1.3.4.O.pom.package.json +++ b/tests/packagedcode/data/m2/xpp3/xpp3_min/1.1.3.4.O/xpp3_min-1.1.3.4.O.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/xpp3/xpp3_min@1.1.3.4.O?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/xpp3/xpp3_min@1.1.3.4.O", "repository_homepage_url": "https://repo1.maven.org/maven2/xpp3/xpp3_min/1.1.3.4.O/", "repository_download_url": "https://repo1.maven.org/maven2/xpp3/xpp3_min/1.1.3.4.O/xpp3_min-1.1.3.4.O.jar", diff --git a/tests/packagedcode/data/maven2/activemq-camel-pom.xml.package.json b/tests/packagedcode/data/maven2/activemq-camel-pom.xml.package.json index 80c4e00633a..20f47b07b4c 100644 --- a/tests/packagedcode/data/maven2/activemq-camel-pom.xml.package.json +++ b/tests/packagedcode/data/maven2/activemq-camel-pom.xml.package.json @@ -30,41 +30,41 @@ "purl": "pkg:maven/commons-logging/commons-logging-api", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.camel/camel-jms", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.activemq/activemq-core", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.activemq/activemq-pool", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.geronimo.specs/geronimo-annotation_1.0_spec", "requirement": null, "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null }, { "purl": "pkg:maven/org.apache.activemq/activemq-core", @@ -72,7 +72,7 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null }, { "purl": "pkg:maven/org.apache.camel/camel-core", @@ -80,7 +80,7 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null }, { "purl": "pkg:maven/org.apache.camel/camel-spring", @@ -88,7 +88,7 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null }, { "purl": "pkg:maven/org.springframework/spring-test", @@ -96,7 +96,7 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null }, { "purl": "pkg:maven/junit/junit", @@ -104,7 +104,7 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null }, { "purl": "pkg:maven/org.hamcrest/hamcrest-all", @@ -112,13 +112,14 @@ "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.activemq/activemq-camel@5.4.2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.activemq/activemq-camel@5.4.2", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/activemq/activemq-camel/5.4.2/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/activemq/activemq-camel/5.4.2/activemq-camel-5.4.2.jar", diff --git a/tests/packagedcode/data/maven2/adarwin-1.0.pom.package.json b/tests/packagedcode/data/maven2/adarwin-1.0.pom.package.json index fb2ebbe7698..c87234b8693 100644 --- a/tests/packagedcode/data/maven2/adarwin-1.0.pom.package.json +++ b/tests/packagedcode/data/maven2/adarwin-1.0.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/adarwin/adarwin@1.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/adarwin/adarwin@1.0", "repository_homepage_url": "https://repo1.maven.org/maven2/adarwin/adarwin/1.0/", "repository_download_url": "https://repo1.maven.org/maven2/adarwin/adarwin/1.0/adarwin-1.0.jar", diff --git a/tests/packagedcode/data/maven2/ant-jai-1.7.0.pom.package.json b/tests/packagedcode/data/maven2/ant-jai-1.7.0.pom.package.json index 942e03ca419..ea2bda814ba 100644 --- a/tests/packagedcode/data/maven2/ant-jai-1.7.0.pom.package.json +++ b/tests/packagedcode/data/maven2/ant-jai-1.7.0.pom.package.json @@ -27,34 +27,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.ant/ant", + "purl": "pkg:maven/org.apache.ant/ant@1.7.0", "requirement": "1.7.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/javax.media/jai-core", + "purl": "pkg:maven/javax.media/jai-core@1.1.2_01", "requirement": "1.1.2_01", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jai/jai-codec", + "purl": "pkg:maven/jai/jai-codec@1.1.2.1", "requirement": "1.1.2.1", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.ant/ant-jai@1.7.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.ant/ant-jai@1.7.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/ant/ant-jai/1.7.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/ant/ant-jai/1.7.0/ant-jai-1.7.0.jar", diff --git a/tests/packagedcode/data/maven2/ant-jsch-1.7.0.pom.package.json b/tests/packagedcode/data/maven2/ant-jsch-1.7.0.pom.package.json index ab398ff6925..5c4becabe76 100644 --- a/tests/packagedcode/data/maven2/ant-jsch-1.7.0.pom.package.json +++ b/tests/packagedcode/data/maven2/ant-jsch-1.7.0.pom.package.json @@ -27,26 +27,27 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.ant/ant", + "purl": "pkg:maven/org.apache.ant/ant@1.7.0", "requirement": "1.7.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.jcraft/jsch", + "purl": "pkg:maven/com.jcraft/jsch@0.1.29", "requirement": "0.1.29", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.ant/ant-jsch@1.7.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.ant/ant-jsch@1.7.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/ant/ant-jsch/1.7.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/ant/ant-jsch/1.7.0/ant-jsch-1.7.0.jar", diff --git a/tests/packagedcode/data/maven2/aopalliance-1.0.pom.package.json b/tests/packagedcode/data/maven2/aopalliance-1.0.pom.package.json index d9e5b368446..90c29517250 100644 --- a/tests/packagedcode/data/maven2/aopalliance-1.0.pom.package.json +++ b/tests/packagedcode/data/maven2/aopalliance-1.0.pom.package.json @@ -43,6 +43,7 @@ "source_packages": [ "pkg:maven/aopalliance/aopalliance@1.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/aopalliance/aopalliance@1.0", "repository_homepage_url": "https://repo1.maven.org/maven2/aopalliance/aopalliance/1.0/", "repository_download_url": "https://repo1.maven.org/maven2/aopalliance/aopalliance/1.0/aopalliance-1.0.jar", diff --git a/tests/packagedcode/data/maven2/bcel-5.1.pom.package.json b/tests/packagedcode/data/maven2/bcel-5.1.pom.package.json index 1238d2e17ca..b7a28efb67f 100644 --- a/tests/packagedcode/data/maven2/bcel-5.1.pom.package.json +++ b/tests/packagedcode/data/maven2/bcel-5.1.pom.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/bcel/bcel@5.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/bcel/bcel@5.1", "repository_homepage_url": "https://repo1.maven.org/maven2/bcel/bcel/5.1/", "repository_download_url": "https://repo1.maven.org/maven2/bcel/bcel/5.1/bcel-5.1.jar", diff --git a/tests/packagedcode/data/maven2/classworlds-1.1-alpha-2.pom.package.json b/tests/packagedcode/data/maven2/classworlds-1.1-alpha-2.pom.package.json index 4384b78f23b..2f0e340cb0d 100644 --- a/tests/packagedcode/data/maven2/classworlds-1.1-alpha-2.pom.package.json +++ b/tests/packagedcode/data/maven2/classworlds-1.1-alpha-2.pom.package.json @@ -59,6 +59,7 @@ "source_packages": [ "pkg:maven/classworlds/classworlds@1.1-alpha-2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/classworlds/classworlds@1.1-alpha-2", "repository_homepage_url": "https://repo1.maven.org/maven2/classworlds/classworlds/1.1-alpha-2/", "repository_download_url": "https://repo1.maven.org/maven2/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar", diff --git a/tests/packagedcode/data/maven2/commons-fileupload-1.0.pom.package.json b/tests/packagedcode/data/maven2/commons-fileupload-1.0.pom.package.json index c1e3c01af6c..130646835ba 100644 --- a/tests/packagedcode/data/maven2/commons-fileupload-1.0.pom.package.json +++ b/tests/packagedcode/data/maven2/commons-fileupload-1.0.pom.package.json @@ -77,26 +77,27 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/servletapi/servletapi", + "purl": "pkg:maven/servletapi/servletapi@2.3", "requirement": "2.3", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/commons-fileupload/commons-fileupload@1.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/commons-fileupload/commons-fileupload@1.0", "repository_homepage_url": "https://repo1.maven.org/maven2/commons-fileupload/commons-fileupload/1.0/", "repository_download_url": "https://repo1.maven.org/maven2/commons-fileupload/commons-fileupload/1.0/commons-fileupload-1.0.jar", diff --git a/tests/packagedcode/data/maven2/commons-validator-1.2.0.pom.package.json b/tests/packagedcode/data/maven2/commons-validator-1.2.0.pom.package.json index d29736a7aa6..ddec114d813 100644 --- a/tests/packagedcode/data/maven2/commons-validator-1.2.0.pom.package.json +++ b/tests/packagedcode/data/maven2/commons-validator-1.2.0.pom.package.json @@ -259,58 +259,59 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/commons-beanutils/commons-beanutils", + "purl": "pkg:maven/commons-beanutils/commons-beanutils@1.7.0", "requirement": "1.7.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-digester/commons-digester", + "purl": "pkg:maven/commons-digester/commons-digester@1.6", "requirement": "1.6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/oro/oro", + "purl": "pkg:maven/oro/oro@2.0.8", "requirement": "2.0.8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/xml-apis/xml-apis", + "purl": "pkg:maven/xml-apis/xml-apis@2.0.2", "requirement": "2.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/commons-validator/commons-validator@1.2.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/commons-validator/commons-validator@1.2.0", "repository_homepage_url": "https://repo1.maven.org/maven2/commons-validator/commons-validator/1.2.0/", "repository_download_url": "https://repo1.maven.org/maven2/commons-validator/commons-validator/1.2.0/commons-validator-1.2.0.jar", diff --git a/tests/packagedcode/data/maven2/dbwebx_pom.xml.package.json b/tests/packagedcode/data/maven2/dbwebx_pom.xml.package.json index 781696e03a3..82acbe5cd44 100644 --- a/tests/packagedcode/data/maven2/dbwebx_pom.xml.package.json +++ b/tests/packagedcode/data/maven2/dbwebx_pom.xml.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.dbwebx/tools@0.0.1.SNAPSHOT?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.dbwebx/tools@0.0.1.SNAPSHOT", "repository_homepage_url": "https://repo1.maven.org/maven2/org/dbwebx/tools/0.0.1.SNAPSHOT/", "repository_download_url": "https://repo1.maven.org/maven2/org/dbwebx/tools/0.0.1.SNAPSHOT/tools-0.0.1.SNAPSHOT.jar", diff --git a/tests/packagedcode/data/maven2/easyconf-0.9.0.pom.package.json b/tests/packagedcode/data/maven2/easyconf-0.9.0.pom.package.json index 382d7842fa9..aa98854eea6 100644 --- a/tests/packagedcode/data/maven2/easyconf-0.9.0.pom.package.json +++ b/tests/packagedcode/data/maven2/easyconf-0.9.0.pom.package.json @@ -63,154 +63,155 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/log4j/log4j", + "purl": "pkg:maven/log4j/log4j@1.2.8", "requirement": "1.2.8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/servletapi/servletapi", + "purl": "pkg:maven/servletapi/servletapi@2.3", "requirement": "2.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/struts/struts", + "purl": "pkg:maven/struts/struts@1.1", "requirement": "1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-configuration/commons-configuration", + "purl": "pkg:maven/commons-configuration/commons-configuration@1.1", "requirement": "1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-collections/commons-collections", + "purl": "pkg:maven/commons-collections/commons-collections@3.1", "requirement": "3.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-lang/commons-lang", + "purl": "pkg:maven/commons-lang/commons-lang@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/dom4j/dom4j", + "purl": "pkg:maven/dom4j/dom4j@1.4", "requirement": "1.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-digester/commons-digester", + "purl": "pkg:maven/commons-digester/commons-digester@1.6", "requirement": "1.6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/xerces/xerces", + "purl": "pkg:maven/xerces/xerces@2.2.1", "requirement": "2.2.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/xml-apis/xml-apis", + "purl": "pkg:maven/xml-apis/xml-apis@2.0.2", "requirement": "2.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/xdoclet/xdoclet", + "purl": "pkg:maven/xdoclet/xdoclet@1.2.1", "requirement": "1.2.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-beanutils/commons-beanutils-core", + "purl": "pkg:maven/commons-beanutils/commons-beanutils-core@1.7.0", "requirement": "1.7.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-beanutils/commons-beanutils-bean-collections", + "purl": "pkg:maven/commons-beanutils/commons-beanutils-bean-collections@1.7.0", "requirement": "1.7.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/xdoclet/xdoclet-web-module", + "purl": "pkg:maven/xdoclet/xdoclet-web-module@1.2.1", "requirement": "1.2.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/mx4j/mx4j-jmx", + "purl": "pkg:maven/mx4j/mx4j-jmx@2.1.1", "requirement": "2.1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/mx4j/mx4j-impl", + "purl": "pkg:maven/mx4j/mx4j-impl@2.1.1", "requirement": "2.1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/easyconf/easyconf@0.9.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/easyconf/easyconf@0.9.0", "repository_homepage_url": "https://repo1.maven.org/maven2/easyconf/easyconf/0.9.0/", "repository_download_url": "https://repo1.maven.org/maven2/easyconf/easyconf/0.9.0/easyconf-0.9.0.jar", diff --git a/tests/packagedcode/data/maven2/findbugs-maven-plugin-1.1.1.pom.package.json b/tests/packagedcode/data/maven2/findbugs-maven-plugin-1.1.1.pom.package.json index 08a6a3a4d79..1577aba21ff 100644 --- a/tests/packagedcode/data/maven2/findbugs-maven-plugin-1.1.1.pom.package.json +++ b/tests/packagedcode/data/maven2/findbugs-maven-plugin-1.1.1.pom.package.json @@ -63,50 +63,51 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.4", "requirement": "2.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-impl", + "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-impl@2.0.4", "requirement": "2.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api", + "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api@2.0.4", "requirement": "2.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.doxia/doxia-core", + "purl": "pkg:maven/org.apache.maven.doxia/doxia-core@1.0-alpha-8", "requirement": "1.0-alpha-8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/net.sourceforge.findbugs/findbugs", + "purl": "pkg:maven/net.sourceforge.findbugs/findbugs@1.2.0", "requirement": "1.2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.mojo/findbugs-maven-plugin@1.1.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.mojo/findbugs-maven-plugin@1.1.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/findbugs-maven-plugin/1.1.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/findbugs-maven-plugin/1.1.1/findbugs-maven-plugin-1.1.1.jar", diff --git a/tests/packagedcode/data/maven2/fna2_pom.xml.package.json b/tests/packagedcode/data/maven2/fna2_pom.xml.package.json index d3c95619404..37cf1d06cfb 100644 --- a/tests/packagedcode/data/maven2/fna2_pom.xml.package.json +++ b/tests/packagedcode/data/maven2/fna2_pom.xml.package.json @@ -51,59 +51,59 @@ "is_resolved": false }, { - "purl": "pkg:maven/com.adobe.ac.samples.lcds/blazeds_service_config", + "purl": "pkg:maven/com.adobe.ac.samples.lcds/blazeds_service_config@1.0-SNAPSHOT", "requirement": "1.0-SNAPSHOT", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.adobe.ac.samples.lcds/flex_remoted_objects", + "purl": "pkg:maven/com.adobe.ac.samples.lcds/flex_remoted_objects@1.0-SNAPSHOT", "requirement": "1.0-SNAPSHOT", "scope": "internal", - "is_runtime": true, + "is_runtime": false, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { "purl": "pkg:maven/com.adobe.flex/compiler", "requirement": "${flex.sdk.version}", "scope": "compile", - "is_runtime": true, - "is_optional": false, + "is_runtime": false, + "is_optional": true, "is_resolved": false }, { "purl": "pkg:maven/com.adobe.flex.framework/flex-framework", "requirement": "${flex.sdk.version}", "scope": "compile", - "is_runtime": true, - "is_optional": false, + "is_runtime": false, + "is_optional": true, "is_resolved": false }, { "purl": "pkg:maven/com.adobe.cairngorm/cairngorm", "requirement": "${cairngorm.version}", "scope": "compile", - "is_runtime": true, - "is_optional": false, + "is_runtime": false, + "is_optional": true, "is_resolved": false }, { "purl": "pkg:maven/com.adobe.cairngorm/cairngorm-enterprise", "requirement": "${cairngorm.version}", "scope": "compile", - "is_runtime": true, - "is_optional": false, + "is_runtime": false, + "is_optional": true, "is_resolved": false }, { "purl": "pkg:maven/com.adobe.lcds/fds", "requirement": "${lcds.version}", "scope": "compile", - "is_runtime": true, - "is_optional": false, + "is_runtime": false, + "is_optional": true, "is_resolved": false } ], @@ -111,6 +111,7 @@ "source_packages": [ "pkg:maven/com.adobe.ac.samples.lcds/flex_app@1.0-SNAPSHOT?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/com.adobe.ac.samples.lcds/flex_app@1.0-SNAPSHOT", "repository_homepage_url": "https://repo1.maven.org/maven2/com/adobe/ac/samples/lcds/flex_app/1.0-SNAPSHOT/", "repository_download_url": "https://repo1.maven.org/maven2/com/adobe/ac/samples/lcds/flex_app/1.0-SNAPSHOT/flex_app-1.0-SNAPSHOT.jar", diff --git a/tests/packagedcode/data/maven2/fna_pom_project.xml.package.json b/tests/packagedcode/data/maven2/fna_pom_project.xml.package.json index 99b4d39946e..8da27823cdd 100644 --- a/tests/packagedcode/data/maven2/fna_pom_project.xml.package.json +++ b/tests/packagedcode/data/maven2/fna_pom_project.xml.package.json @@ -27,43 +27,43 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/com.adobe.ac.samples.bash/bash_blazeds_service_config", + "purl": "pkg:maven/com.adobe.ac.samples.bash/bash_blazeds_service_config@1.0", "requirement": "1.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.adobe.ac.samples.bash/bash_flex_remoted_objects", + "purl": "pkg:maven/com.adobe.ac.samples.bash/bash_flex_remoted_objects@1.0", "requirement": "1.0", "scope": "internal", - "is_runtime": true, + "is_runtime": false, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { "purl": "pkg:maven/com.adobe.flex/compiler", "requirement": "${flex.sdk.version}", "scope": "compile", - "is_runtime": true, - "is_optional": false, + "is_runtime": false, + "is_optional": true, "is_resolved": false }, { "purl": "pkg:maven/com.adobe.flex.framework/flex-framework", "requirement": "${flex.sdk.version}", "scope": "compile", - "is_runtime": true, - "is_optional": false, + "is_runtime": false, + "is_optional": true, "is_resolved": false }, { "purl": "pkg:maven/com.adobe.cairngorm/cairngorm", "requirement": "${cairngorm.version}", "scope": "compile", - "is_runtime": true, - "is_optional": false, + "is_runtime": false, + "is_optional": true, "is_resolved": false }, { @@ -87,6 +87,7 @@ "source_packages": [ "pkg:maven/com.adobe.ac.samples.bash/bash_flex_app@1.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/com.adobe.ac.samples.bash/bash_flex_app@1.0", "repository_homepage_url": "https://repo1.maven.org/maven2/com/adobe/ac/samples/bash/bash_flex_app/1.0/", "repository_download_url": "https://repo1.maven.org/maven2/com/adobe/ac/samples/bash/bash_flex_app/1.0/bash_flex_app-1.0.jar", diff --git a/tests/packagedcode/data/maven2/foo-pom.xml.json b/tests/packagedcode/data/maven2/foo-pom.xml.json index 8759fc87b71..5fe0732c407 100644 --- a/tests/packagedcode/data/maven2/foo-pom.xml.json +++ b/tests/packagedcode/data/maven2/foo-pom.xml.json @@ -75,6 +75,38 @@ "version": "Camden.SR5", "required": true } + ], + "dependencyManagement": [ + { + "group_id": "com.myco.foo.bar.baz", + "artifact_id": "baz-bar", + "version": "1.0", + "required": true + }, + { + "group_id": "com.myco.foo", + "artifact_id": "common-dependencies", + "version": "1.1", + "required": true + }, + { + "group_id": "org.springframework.boot", + "artifact_id": "spring-boot-dependencies", + "version": "1.4.2.RELEASE", + "required": true + }, + { + "group_id": "org.springframework.boot", + "artifact_id": "spring-boot-starter", + "version": "1.4.2.RELEASE", + "required": true + }, + { + "group_id": "org.springframework.cloud", + "artifact_id": "spring-cloud-dependencies", + "version": "Camden.SR5", + "required": true + } ] } } \ No newline at end of file diff --git a/tests/packagedcode/data/maven2/foo-pom.xml.package.json b/tests/packagedcode/data/maven2/foo-pom.xml.package.json index c3601fec256..cb9b3b6aaa8 100644 --- a/tests/packagedcode/data/maven2/foo-pom.xml.package.json +++ b/tests/packagedcode/data/maven2/foo-pom.xml.package.json @@ -42,34 +42,75 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/com.myco.foo/common-dependencies", + "purl": "pkg:maven/com.myco.foo/common-dependencies@1.1", "requirement": "1.1", "scope": "import", - "is_runtime": true, + "is_runtime": false, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework.boot/spring-boot-dependencies", + "purl": "pkg:maven/org.springframework.boot/spring-boot-dependencies@1.4.2.RELEASE", "requirement": "1.4.2.RELEASE", "scope": "import", - "is_runtime": true, + "is_runtime": false, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework.cloud/spring-cloud-dependencies", + "purl": "pkg:maven/org.springframework.cloud/spring-cloud-dependencies@Camden.SR5", "requirement": "Camden.SR5", "scope": "import", - "is_runtime": true, + "is_runtime": false, "is_optional": false, - "is_resolved": false + "is_resolved": true + }, + { + "purl": "pkg:maven/com.myco.foo.bar.baz/baz-bar@1.0", + "requirement": "1.0", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/com.myco.foo/common-dependencies@1.1", + "requirement": "1.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.springframework.boot/spring-boot-dependencies@1.4.2.RELEASE", + "requirement": "1.4.2.RELEASE", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.springframework.boot/spring-boot-starter@1.4.2.RELEASE", + "requirement": "1.4.2.RELEASE", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.springframework.cloud/spring-cloud-dependencies@Camden.SR5", + "requirement": "Camden.SR5", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/com.myco.foo.bar.baz/baz-bar-parent@1.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/com.myco.foo.bar.baz/baz-bar-parent@1.0", "repository_homepage_url": "https://repo1.maven.org/maven2/com/myco/foo/bar/baz/baz-bar-parent/1.0/", "repository_download_url": "https://repo1.maven.org/maven2/com/myco/foo/bar/baz/baz-bar-parent/1.0/baz-bar-parent-1.0.jar", diff --git a/tests/packagedcode/data/maven2/gero_pom.xml.package.json b/tests/packagedcode/data/maven2/gero_pom.xml.package.json index 32a412f09c9..55bfb1ccfb5 100644 --- a/tests/packagedcode/data/maven2/gero_pom.xml.package.json +++ b/tests/packagedcode/data/maven2/gero_pom.xml.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.axis/axis", + "purl": "pkg:maven/org.apache.axis/axis@1.4", "requirement": "1.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.geronimo.bundles/axis@1.4_1-SNAPSHOT?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.geronimo.bundles/axis@1.4_1-SNAPSHOT", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/geronimo/bundles/axis/1.4_1-SNAPSHOT/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/geronimo/bundles/axis/1.4_1-SNAPSHOT/axis-1.4_1-SNAPSHOT.jar", diff --git a/tests/packagedcode/data/maven2/idega_pom.xml.package.json b/tests/packagedcode/data/maven2/idega_pom.xml.package.json index fb2cf3b793b..f490d43fd49 100644 --- a/tests/packagedcode/data/maven2/idega_pom.xml.package.json +++ b/tests/packagedcode/data/maven2/idega_pom.xml.package.json @@ -59,32 +59,32 @@ "purl": "pkg:maven/com.idega.block.platform/com.idega.core", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/com.idega.block.platform/com.idega.block.media", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/itextpdf/itext-paulo", "requirement": "${itextpdf-itext-paulo-version}", "scope": "compile", - "is_runtime": true, - "is_optional": false, + "is_runtime": false, + "is_optional": true, "is_resolved": false }, { "purl": "pkg:maven/itext/itext-xml", "requirement": "${itext-itext-xml-version}", "scope": "compile", - "is_runtime": true, - "is_optional": false, + "is_runtime": false, + "is_optional": true, "is_resolved": false } ], @@ -92,6 +92,7 @@ "source_packages": [ "pkg:maven/com.idega.block.addon/com.idega.block.contract@4.1.3-SNAPSHOT?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/com.idega.block.addon/com.idega.block.contract@4.1.3-SNAPSHOT", "repository_homepage_url": "https://repo1.maven.org/maven2/com/idega/block/addon/com.idega.block.contract/4.1.3-SNAPSHOT/", "repository_download_url": "https://repo1.maven.org/maven2/com/idega/block/addon/com.idega.block.contract/4.1.3-SNAPSHOT/com.idega.block.contract-4.1.3-SNAPSHOT.jar", diff --git a/tests/packagedcode/data/maven2/jrecordbind-2.3.4.pom.package.json b/tests/packagedcode/data/maven2/jrecordbind-2.3.4.pom.package.json index fcc69ae189d..e92beeef01d 100644 --- a/tests/packagedcode/data/maven2/jrecordbind-2.3.4.pom.package.json +++ b/tests/packagedcode/data/maven2/jrecordbind-2.3.4.pom.package.json @@ -42,42 +42,43 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/relaxngDatatype/relaxngDatatype", + "purl": "pkg:maven/relaxngDatatype/relaxngDatatype@20020414", "requirement": "20020414", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.sun.xml.bind/jaxb-impl", + "purl": "pkg:maven/com.sun.xml.bind/jaxb-impl@2.1.11", "requirement": "2.1.11", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.sun.xml.bind/jaxb-xjc", + "purl": "pkg:maven/com.sun.xml.bind/jaxb-xjc@2.1.11", "requirement": "2.1.11", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.sun.xsom/xsom", + "purl": "pkg:maven/com.sun.xsom/xsom@20081112", "requirement": "20081112", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/it.assist.jrecordbind/jrecordbind%24%7BartifactId.ext%7D@2.3.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/it.assist.jrecordbind/jrecordbind%24%7BartifactId.ext%7D@2.3.4", "repository_homepage_url": "https://repo1.maven.org/maven2/it/assist/jrecordbind/jrecordbind${artifactId.ext}/2.3.4/", "repository_download_url": "https://repo1.maven.org/maven2/it/assist/jrecordbind/jrecordbind${artifactId.ext}/2.3.4/jrecordbind${artifactId.ext}-2.3.4.jar", diff --git a/tests/packagedcode/data/maven2/log4j-pom.xml.package.json b/tests/packagedcode/data/maven2/log4j-pom.xml.package.json index 4733dc55974..8e77b51e19d 100644 --- a/tests/packagedcode/data/maven2/log4j-pom.xml.package.json +++ b/tests/packagedcode/data/maven2/log4j-pom.xml.package.json @@ -42,58 +42,59 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/javax.mail/mail", + "purl": "pkg:maven/javax.mail/mail@1.4", "requirement": "1.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/javax.jms/jms", + "purl": "pkg:maven/javax.jms/jms@1.1", "requirement": "1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.sun.jdmk/jmxtools", + "purl": "pkg:maven/com.sun.jdmk/jmxtools@1.2.1", "requirement": "1.2.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.sun.jmx/jmxri", + "purl": "pkg:maven/com.sun.jmx/jmxri@1.2.1", "requirement": "1.2.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/oro/oro", + "purl": "pkg:maven/oro/oro@2.0.8", "requirement": "2.0.8", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/log4j/log4j@1.2.15?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/log4j/log4j@1.2.15", "repository_homepage_url": "https://repo1.maven.org/maven2/log4j/log4j/1.2.15/", "repository_download_url": "https://repo1.maven.org/maven2/log4j/log4j/1.2.15/log4j-1.2.15.jar", diff --git a/tests/packagedcode/data/maven2/logback-access.pom.package.json b/tests/packagedcode/data/maven2/logback-access.pom.package.json index 061b89a2935..6b464b1382b 100644 --- a/tests/packagedcode/data/maven2/logback-access.pom.package.json +++ b/tests/packagedcode/data/maven2/logback-access.pom.package.json @@ -37,47 +37,48 @@ "purl": "pkg:maven/ch.qos.logback/logback-core", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/tomcat/catalina", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.mortbay.jetty/jetty", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/com.caucho/resin", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.mortbay.jetty/servlet-api-2.5", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/ch.qos.logback/logback-access@0.2.5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/ch.qos.logback/logback-access@0.2.5", "repository_homepage_url": "https://repo1.maven.org/maven2/ch/qos/logback/logback-access/0.2.5/", "repository_download_url": "https://repo1.maven.org/maven2/ch/qos/logback/logback-access/0.2.5/logback-access-0.2.5.jar", diff --git a/tests/packagedcode/data/maven2/plexus-interactivity-api-1.0-alpha-4.pom.package.json b/tests/packagedcode/data/maven2/plexus-interactivity-api-1.0-alpha-4.pom.package.json index ab383a7b9d9..3e26668ac72 100644 --- a/tests/packagedcode/data/maven2/plexus-interactivity-api-1.0-alpha-4.pom.package.json +++ b/tests/packagedcode/data/maven2/plexus-interactivity-api-1.0-alpha-4.pom.package.json @@ -112,42 +112,43 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-7", "requirement": "1.0-alpha-7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/classworlds/classworlds", + "purl": "pkg:maven/classworlds/classworlds@1.1-alpha-2", "requirement": "1.1-alpha-2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/plexus/plexus-utils", + "purl": "pkg:maven/plexus/plexus-utils@1.0.2", "requirement": "1.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-interactivity-api@1.0-alpha-4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-interactivity-api@1.0-alpha-4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar", diff --git a/tests/packagedcode/data/maven2/pom.xml.package.json b/tests/packagedcode/data/maven2/pom.xml.package.json index a99ec14fb87..dc1b0e3f113 100644 --- a/tests/packagedcode/data/maven2/pom.xml.package.json +++ b/tests/packagedcode/data/maven2/pom.xml.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/ur.urwerk.test.modules/main@1.0.0-SNAPSHOT?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/ur.urwerk.test.modules/main@1.0.0-SNAPSHOT", "repository_homepage_url": "https://repo1.maven.org/maven2/ur/urwerk/test/modules/main/1.0.0-SNAPSHOT/", "repository_download_url": "https://repo1.maven.org/maven2/ur/urwerk/test/modules/main/1.0.0-SNAPSHOT/main-1.0.0-SNAPSHOT.jar", diff --git a/tests/packagedcode/data/maven2/proper_pom.xml.package.json b/tests/packagedcode/data/maven2/proper_pom.xml.package.json index 32a412f09c9..55bfb1ccfb5 100644 --- a/tests/packagedcode/data/maven2/proper_pom.xml.package.json +++ b/tests/packagedcode/data/maven2/proper_pom.xml.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.axis/axis", + "purl": "pkg:maven/org.apache.axis/axis@1.4", "requirement": "1.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.geronimo.bundles/axis@1.4_1-SNAPSHOT?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.geronimo.bundles/axis@1.4_1-SNAPSHOT", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/geronimo/bundles/axis/1.4_1-SNAPSHOT/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/geronimo/bundles/axis/1.4_1-SNAPSHOT/axis-1.4_1-SNAPSHOT.jar", diff --git a/tests/packagedcode/data/maven2/rel_pom.xml.package.json b/tests/packagedcode/data/maven2/rel_pom.xml.package.json index 95295f3cc51..89c3953a07f 100644 --- a/tests/packagedcode/data/maven2/rel_pom.xml.package.json +++ b/tests/packagedcode/data/maven2/rel_pom.xml.package.json @@ -27,82 +27,83 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.ant/ant", + "purl": "pkg:maven/org.apache.ant/ant@1.7.0", "requirement": "1.7.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-lang/commons-lang", + "purl": "pkg:maven/commons-lang/commons-lang@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-digester/commons-digester", + "purl": "pkg:maven/commons-digester/commons-digester@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/dom4j/dom4j", + "purl": "pkg:maven/dom4j/dom4j@1.6.1", "requirement": "1.6.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.hibernate/hibernate-annotations", + "purl": "pkg:maven/org.hibernate/hibernate-annotations@3.4.0.GA", "requirement": "3.4.0.GA", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.hibernate/hibernate-entitymanager", + "purl": "pkg:maven/org.hibernate/hibernate-entitymanager@3.4.0.GA", "requirement": "3.4.0.GA", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.hibernate/ejb3-persistence", + "purl": "pkg:maven/org.hibernate/ejb3-persistence@3.3.2.Beta1", "requirement": "3.3.2.Beta1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.slf4j/slf4j-jcl", + "purl": "pkg:maven/org.slf4j/slf4j-jcl@1.4.2", "requirement": "1.4.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/postgresql/postgresql", + "purl": "pkg:maven/postgresql/postgresql@8.3-603.jdbc4", "requirement": "8.3-603.jdbc4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.modeler/modeler@0.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.modeler/modeler@0.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/modeler/modeler/0.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/modeler/modeler/0.1/modeler-0.1.jar", diff --git a/tests/packagedcode/data/maven2/sea_pom.xml.json b/tests/packagedcode/data/maven2/sea_pom.xml.json index b213eb619b8..09d6acb2880 100644 --- a/tests/packagedcode/data/maven2/sea_pom.xml.json +++ b/tests/packagedcode/data/maven2/sea_pom.xml.json @@ -84,5 +84,230 @@ "url": "http://repository.codehaus.org" } ], - "dependencies": {} + "dependencies": { + "dependencyManagement": [ + { + "group_id": "org.jboss.seam", + "artifact_id": "jboss-seam", + "version": "2.2.0.GA", + "required": true + }, + { + "group_id": "org.jboss.seam", + "artifact_id": "jboss-seam-ioc", + "version": "2.2.0.GA", + "required": true + }, + { + "group_id": "org.jboss.seam", + "artifact_id": "jboss-seam-mail", + "version": "2.2.0.GA", + "required": true + }, + { + "group_id": "org.jboss.seam", + "artifact_id": "jboss-seam-pdf", + "version": "2.2.0.GA", + "required": true + }, + { + "group_id": "org.jboss.seam", + "artifact_id": "jboss-seam-remoting", + "version": "2.2.0.GA", + "required": true + }, + { + "group_id": "org.jboss.seam", + "artifact_id": "jboss-seam-resteasy", + "version": "2.2.0.GA", + "required": true + }, + { + "group_id": "org.jboss.seam", + "artifact_id": "jboss-seam-ui", + "version": "2.2.0.GA", + "required": true + }, + { + "group_id": "org.jboss.seam", + "artifact_id": "jboss-seam-debug", + "version": "2.2.0.GA", + "required": true + }, + { + "group_id": "org.jboss.seam", + "artifact_id": "jboss-seam-excel", + "version": "2.2.0.GA", + "required": true + }, + { + "group_id": "org.jboss.seam", + "artifact_id": "jboss-seam-jul", + "version": "2.2.0.GA", + "required": true + }, + { + "group_id": "org.richfaces.framework", + "artifact_id": "richfaces-api", + "version": "3.3.1.GA", + "required": true + }, + { + "group_id": "org.richfaces.framework", + "artifact_id": "richfaces-impl", + "version": "3.3.1.GA", + "required": true + }, + { + "group_id": "org.richfaces.ui", + "artifact_id": "richfaces-ui", + "version": "3.3.1.GA", + "required": true + }, + { + "group_id": "org.jbpm", + "artifact_id": "jbpm-jpdl", + "version": "3.2.2", + "required": true + }, + { + "group_id": "jboss", + "artifact_id": "jboss-cache", + "version": "1.4.1.SP9", + "required": true + }, + { + "group_id": "org.jboss.resteasy", + "artifact_id": "resteasy-jaxrs", + "version": "1.1-RC2", + "required": true + }, + { + "group_id": "org.jboss.resteasy", + "artifact_id": "resteasy-jaxb-provider", + "version": "1.1-RC2", + "required": true + }, + { + "group_id": "org.hibernate", + "artifact_id": "hibernate-core", + "version": "3.3.1.GA", + "required": true + }, + { + "group_id": "org.hibernate", + "artifact_id": "hibernate-search", + "version": "3.1.1.GA", + "required": true + }, + { + "group_id": "javax.transaction", + "artifact_id": "jta", + "version": "1.1", + "required": true + }, + { + "group_id": "org.codehaus.groovy", + "artifact_id": "groovy-all", + "version": "1.6.3", + "required": true + }, + { + "group_id": "org.drools", + "artifact_id": "drools-core", + "version": "5.0.1", + "required": true + }, + { + "group_id": "org.jboss.el", + "artifact_id": "jboss-el", + "version": "1.0_02.CR4", + "required": true + }, + { + "group_id": "org.tuckey", + "artifact_id": "urlrewritefilter", + "version": "3.1.0", + "required": true + }, + { + "group_id": "org.richfaces.samples", + "artifact_id": "glassX", + "version": "3.3.1.GA", + "required": true + }, + { + "group_id": "org.richfaces.samples", + "artifact_id": "darkX", + "version": "3.3.1.GA", + "required": true + }, + { + "group_id": "org.drools", + "artifact_id": "drools-api", + "version": "5.0.1", + "required": true + }, + { + "group_id": "org.hibernate", + "artifact_id": "hibernate-commons-annotations", + "version": "3.3.0.ga", + "required": true + }, + { + "group_id": "org.antlr", + "artifact_id": "antlr", + "version": "3.2", + "required": true + }, + { + "group_id": "org.antlr", + "artifact_id": "antlr-runtime", + "version": "3.2", + "required": true + }, + { + "group_id": "commons-digester", + "artifact_id": "commons-digester", + "version": "1.8.1", + "required": true + }, + { + "group_id": "commons-lang", + "artifact_id": "commons-lang", + "version": "2.3", + "required": true + }, + { + "group_id": "com.h2database", + "artifact_id": "h2", + "version": "1.1.118", + "required": true + }, + { + "group_id": "mysql", + "artifact_id": "mysql-connector-java", + "version": "5.1.10", + "required": true + }, + { + "group_id": "org.apache.openejb", + "artifact_id": "openejb-core", + "version": "3.1.2", + "required": true + }, + { + "group_id": "junit", + "artifact_id": "junit", + "version": "4.7", + "required": true + }, + { + "group_id": "org.testng", + "artifact_id": "testng", + "version": "5.9", + "required": true + } + ] + } } \ No newline at end of file diff --git a/tests/packagedcode/data/maven2/sea_pom.xml.package.json b/tests/packagedcode/data/maven2/sea_pom.xml.package.json index f83ec2934e6..5607399fb52 100644 --- a/tests/packagedcode/data/maven2/sea_pom.xml.package.json +++ b/tests/packagedcode/data/maven2/sea_pom.xml.package.json @@ -47,11 +47,309 @@ "declared_license": null, "notice_text": null, "root_path": null, - "dependencies": [], + "dependencies": [ + { + "purl": "pkg:maven/org.jboss.seam/jboss-seam@2.2.0.GA", + "requirement": "2.2.0.GA", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.jboss.seam/jboss-seam-ioc@2.2.0.GA", + "requirement": "2.2.0.GA", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.jboss.seam/jboss-seam-mail@2.2.0.GA", + "requirement": "2.2.0.GA", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.jboss.seam/jboss-seam-pdf@2.2.0.GA", + "requirement": "2.2.0.GA", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.jboss.seam/jboss-seam-remoting@2.2.0.GA", + "requirement": "2.2.0.GA", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.jboss.seam/jboss-seam-resteasy@2.2.0.GA", + "requirement": "2.2.0.GA", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.jboss.seam/jboss-seam-ui@2.2.0.GA", + "requirement": "2.2.0.GA", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.jboss.seam/jboss-seam-debug@2.2.0.GA", + "requirement": "2.2.0.GA", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.jboss.seam/jboss-seam-excel@2.2.0.GA", + "requirement": "2.2.0.GA", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.jboss.seam/jboss-seam-jul@2.2.0.GA", + "requirement": "2.2.0.GA", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.richfaces.framework/richfaces-api@3.3.1.GA", + "requirement": "3.3.1.GA", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.richfaces.framework/richfaces-impl@3.3.1.GA", + "requirement": "3.3.1.GA", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.richfaces.ui/richfaces-ui@3.3.1.GA", + "requirement": "3.3.1.GA", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.jbpm/jbpm-jpdl@3.2.2", + "requirement": "3.2.2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/jboss/jboss-cache@1.4.1.SP9", + "requirement": "1.4.1.SP9", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.jboss.resteasy/resteasy-jaxrs@1.1-RC2", + "requirement": "1.1-RC2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.jboss.resteasy/resteasy-jaxb-provider@1.1-RC2", + "requirement": "1.1-RC2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.hibernate/hibernate-core@3.3.1.GA", + "requirement": "3.3.1.GA", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.hibernate/hibernate-search@3.1.1.GA", + "requirement": "3.1.1.GA", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/javax.transaction/jta@1.1", + "requirement": "1.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.codehaus.groovy/groovy-all@1.6.3", + "requirement": "1.6.3", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.drools/drools-core@5.0.1", + "requirement": "5.0.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.jboss.el/jboss-el@1.0_02.CR4", + "requirement": "1.0_02.CR4", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.tuckey/urlrewritefilter@3.1.0", + "requirement": "3.1.0", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.richfaces.samples/glassX@3.3.1.GA", + "requirement": "3.3.1.GA", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.richfaces.samples/darkX@3.3.1.GA", + "requirement": "3.3.1.GA", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.drools/drools-api@5.0.1", + "requirement": "5.0.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.hibernate/hibernate-commons-annotations@3.3.0.ga", + "requirement": "3.3.0.ga", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.antlr/antlr@3.2", + "requirement": "3.2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.antlr/antlr-runtime@3.2", + "requirement": "3.2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/commons-digester/commons-digester@1.8.1", + "requirement": "1.8.1", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/commons-lang/commons-lang@2.3", + "requirement": "2.3", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/com.h2database/h2@1.1.118", + "requirement": "1.1.118", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/mysql/mysql-connector-java@5.1.10", + "requirement": "5.1.10", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.apache.openejb/openejb-core@3.1.2", + "requirement": "3.1.2", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/junit/junit@4.7", + "requirement": "4.7", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:maven/org.testng/testng@5.9", + "requirement": "5.9", + "scope": "dependencymanagement", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + } + ], "contains_source_code": null, "source_packages": [ "pkg:maven/no.knowit.seam/root@2.2.0-SNAPSHOT?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/no.knowit.seam/root@2.2.0-SNAPSHOT", "repository_homepage_url": "https://repo1.maven.org/maven2/no/knowit/seam/root/2.2.0-SNAPSHOT/", "repository_download_url": "https://repo1.maven.org/maven2/no/knowit/seam/root/2.2.0-SNAPSHOT/root-2.2.0-SNAPSHOT.jar", diff --git a/tests/packagedcode/data/maven2/specs-1.3.pom.package.json b/tests/packagedcode/data/maven2/specs-1.3.pom.package.json index c8af6f3f506..99bbaab7d7a 100644 --- a/tests/packagedcode/data/maven2/specs-1.3.pom.package.json +++ b/tests/packagedcode/data/maven2/specs-1.3.pom.package.json @@ -27,18 +27,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.geronimo.specs/specs@1.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.geronimo.specs/specs@1.3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/geronimo/specs/specs/1.3/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/geronimo/specs/specs/1.3/specs-1.3.jar", diff --git a/tests/packagedcode/data/maven2/spring-2.5.4.pom.package.json b/tests/packagedcode/data/maven2/spring-2.5.4.pom.package.json index 3635962f65f..3d7f9f4ea9e 100644 --- a/tests/packagedcode/data/maven2/spring-2.5.4.pom.package.json +++ b/tests/packagedcode/data/maven2/spring-2.5.4.pom.package.json @@ -42,530 +42,531 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/aopalliance/aopalliance", + "purl": "pkg:maven/aopalliance/aopalliance@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/asm/asm", + "purl": "pkg:maven/asm/asm@2.2.3", "requirement": "2.2.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/asm/asm-commons", + "purl": "pkg:maven/asm/asm-commons@2.2.3", "requirement": "2.2.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/asm/asm-util", + "purl": "pkg:maven/asm/asm-util@2.2.3", "requirement": "2.2.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/aspectj/aspectjrt", + "purl": "pkg:maven/aspectj/aspectjrt@1.5.4", "requirement": "1.5.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/aspectj/aspectjweaver", + "purl": "pkg:maven/aspectj/aspectjweaver@1.5.4", "requirement": "1.5.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/backport-util-concurrent/backport-util-concurrent", + "purl": "pkg:maven/backport-util-concurrent/backport-util-concurrent@3.0", "requirement": "3.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/c3p0/c3p0", + "purl": "pkg:maven/c3p0/c3p0@0.9.1.2", "requirement": "0.9.1.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/cglib/cglib-nodep", + "purl": "pkg:maven/cglib/cglib-nodep@2.1_3", "requirement": "2.1_3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-attributes/commons-attributes-api", + "purl": "pkg:maven/commons-attributes/commons-attributes-api@2.2", "requirement": "2.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-attributes/commons-attributes-compiler", + "purl": "pkg:maven/commons-attributes/commons-attributes-compiler@2.2", "requirement": "2.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-beanutils/commons-beanutils", + "purl": "pkg:maven/commons-beanutils/commons-beanutils@1.7.0", "requirement": "1.7.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-collections/commons-collections", + "purl": "pkg:maven/commons-collections/commons-collections@3.2", "requirement": "3.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-dbcp/commons-dbcp", + "purl": "pkg:maven/commons-dbcp/commons-dbcp@1.2.2", "requirement": "1.2.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-fileupload/commons-fileupload", + "purl": "pkg:maven/commons-fileupload/commons-fileupload@1.2", "requirement": "1.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-httpclient/commons-httpclient", + "purl": "pkg:maven/commons-httpclient/commons-httpclient@3.1", "requirement": "3.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.1.1", "requirement": "1.1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-pool/commons-pool", + "purl": "pkg:maven/commons-pool/commons-pool@1.3", "requirement": "1.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.bea.wlplatform/commonj-twm", + "purl": "pkg:maven/com.bea.wlplatform/commonj-twm@1.1", "requirement": "1.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.experlog/xapool", + "purl": "pkg:maven/com.experlog/xapool@1.5.0", "requirement": "1.5.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.ibatis/ibatis-sqlmap", + "purl": "pkg:maven/org.apache.ibatis/ibatis-sqlmap@2.3.0.677", "requirement": "2.3.0.677", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.jamonapi/jamon", + "purl": "pkg:maven/com.jamonapi/jamon@2.4", "requirement": "2.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.lowagie/itext", + "purl": "pkg:maven/com.lowagie/itext@2.0.7", "requirement": "2.0.7", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.oracle.toplink/toplink", + "purl": "pkg:maven/com.oracle.toplink/toplink@10.1.3", "requirement": "10.1.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.oracle/toplink-essentials", + "purl": "pkg:maven/com.oracle/toplink-essentials@2.41", "requirement": "2.41", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.oracle/oc4j", + "purl": "pkg:maven/com.oracle/oc4j@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/freemarker/freemarker", + "purl": "pkg:maven/freemarker/freemarker@2.3.12", "requirement": "2.3.12", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/groovy/groovy", + "purl": "pkg:maven/groovy/groovy@1.5.5", "requirement": "1.5.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/hessian/hessian", + "purl": "pkg:maven/hessian/hessian@3.1.3", "requirement": "3.1.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jasperreports/jasperreports", + "purl": "pkg:maven/jasperreports/jasperreports@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jexcelapi/jxl", + "purl": "pkg:maven/jexcelapi/jxl@2.6.6", "requirement": "2.6.6", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jotm/jotm", + "purl": "pkg:maven/jotm/jotm@2.0.10", "requirement": "2.0.10", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jruby/jruby-bin", + "purl": "pkg:maven/jruby/jruby-bin@1.0.1", "requirement": "1.0.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/log4j/log4j", + "purl": "pkg:maven/log4j/log4j@1.2.15", "requirement": "1.2.15", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/net.sf.ehcache/ehcache", + "purl": "pkg:maven/net.sf.ehcache/ehcache@1.4.1", "requirement": "1.4.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.axis/axis", + "purl": "pkg:maven/org.apache.axis/axis@1.4", "requirement": "1.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.tiles/tiles-api", + "purl": "pkg:maven/org.apache.tiles/tiles-api@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.tiles/tiles-core", + "purl": "pkg:maven/org.apache.tiles/tiles-core@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.tiles/tiles-jsp", + "purl": "pkg:maven/org.apache.tiles/tiles-jsp@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.beanshell/bsh", + "purl": "pkg:maven/org.beanshell/bsh@2.0b4", "requirement": "2.0b4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.hibernate/hibernate", + "purl": "pkg:maven/org.hibernate/hibernate@3.2.6.ga", "requirement": "3.2.6.ga", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.hibernate/hibernate-entitymanager", + "purl": "pkg:maven/org.hibernate/hibernate-entitymanager@3.3.2.ga", "requirement": "3.3.2.ga", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/poi/poi", + "purl": "pkg:maven/poi/poi@3.0.1", "requirement": "3.0.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/opensymphony/quartz-all", + "purl": "pkg:maven/opensymphony/quartz-all@1.6.0", "requirement": "1.6.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/struts/struts", + "purl": "pkg:maven/struts/struts@1.2.9", "requirement": "1.2.9", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/taglibs/standard", + "purl": "pkg:maven/taglibs/standard@1.1.2", "requirement": "1.1.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/tomcat/catalina", + "purl": "pkg:maven/tomcat/catalina@5.5.23", "requirement": "5.5.23", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/velocity/velocity", + "purl": "pkg:maven/velocity/velocity@1.5", "requirement": "1.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/velocity-tools/velocity-tools-generic", + "purl": "pkg:maven/velocity-tools/velocity-tools-generic@1.4", "requirement": "1.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/velocity-tools/velocity-tools-view", + "purl": "pkg:maven/velocity-tools/velocity-tools-view@1.4", "requirement": "1.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.activation/activation", + "purl": "pkg:maven/javax.activation/activation@1.1", "requirement": "1.1", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.ejb/ejb", + "purl": "pkg:maven/javax.ejb/ejb@3.0", "requirement": "3.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.faces/jsf-api", + "purl": "pkg:maven/javax.faces/jsf-api@1.1", "requirement": "1.1", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.jdo/jdo2-api", + "purl": "pkg:maven/javax.jdo/jdo2-api@2.0", "requirement": "2.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.jms/jms", + "purl": "pkg:maven/javax.jms/jms@1.1", "requirement": "1.1", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.mail/mail", + "purl": "pkg:maven/javax.mail/mail@1.4", "requirement": "1.4", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.persistence/persistence-api", + "purl": "pkg:maven/javax.persistence/persistence-api@1.0", "requirement": "1.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.portlet/portlet-api", + "purl": "pkg:maven/javax.portlet/portlet-api@1.0", "requirement": "1.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.resource/connector-api", + "purl": "pkg:maven/javax.resource/connector-api@1.5", "requirement": "1.5", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/jsp-api", + "purl": "pkg:maven/javax.servlet/jsp-api@2.0", "requirement": "2.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/jstl", + "purl": "pkg:maven/javax.servlet/jstl@1.1.0", "requirement": "1.1.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/servlet-api", + "purl": "pkg:maven/javax.servlet/servlet-api@2.4", "requirement": "2.4", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.transaction/jta", + "purl": "pkg:maven/javax.transaction/jta@1.1", "requirement": "1.1", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.xml/jaxrpc-api", + "purl": "pkg:maven/javax.xml/jaxrpc-api@1.1", "requirement": "1.1", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.springframework/spring@2.5.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.springframework/spring@2.5.4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/springframework/spring/2.5.4/", "repository_download_url": "https://repo1.maven.org/maven2/org/springframework/spring/2.5.4/spring-2.5.4.jar", diff --git a/tests/packagedcode/data/maven2/spring-orm-2.5.3.pom.package.json b/tests/packagedcode/data/maven2/spring-orm-2.5.3.pom.package.json index aadb90577dd..e8068343c44 100644 --- a/tests/packagedcode/data/maven2/spring-orm-2.5.3.pom.package.json +++ b/tests/packagedcode/data/maven2/spring-orm-2.5.3.pom.package.json @@ -42,138 +42,139 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/aopalliance/aopalliance", + "purl": "pkg:maven/aopalliance/aopalliance@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.1.1", "requirement": "1.1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.oracle/toplink-essentials", + "purl": "pkg:maven/com.oracle/toplink-essentials@2.41", "requirement": "2.41", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.oracle.toplink/toplink", + "purl": "pkg:maven/com.oracle.toplink/toplink@10.1.3", "requirement": "10.1.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.ibatis/ibatis-sqlmap", + "purl": "pkg:maven/org.apache.ibatis/ibatis-sqlmap@2.3.0", "requirement": "2.3.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.hibernate/hibernate", + "purl": "pkg:maven/org.hibernate/hibernate@3.2.6.ga", "requirement": "3.2.6.ga", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.hibernate/hibernate-entitymanager", + "purl": "pkg:maven/org.hibernate/hibernate-entitymanager@3.3.1.ga", "requirement": "3.3.1.ga", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-aop", + "purl": "pkg:maven/org.springframework/spring-aop@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-beans", + "purl": "pkg:maven/org.springframework/spring-beans@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-context", + "purl": "pkg:maven/org.springframework/spring-context@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-core", + "purl": "pkg:maven/org.springframework/spring-core@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-jdbc", + "purl": "pkg:maven/org.springframework/spring-jdbc@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-tx", + "purl": "pkg:maven/org.springframework/spring-tx@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-web", + "purl": "pkg:maven/org.springframework/spring-web@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.jdo/jdo2-api", + "purl": "pkg:maven/javax.jdo/jdo2-api@2.0", "requirement": "2.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.persistence/persistence-api", + "purl": "pkg:maven/javax.persistence/persistence-api@1.0", "requirement": "1.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.springframework/spring-orm@2.5.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.springframework/spring-orm@2.5.3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/springframework/spring-orm/2.5.3/", "repository_download_url": "https://repo1.maven.org/maven2/org/springframework/spring-orm/2.5.3/spring-orm-2.5.3.jar", diff --git a/tests/packagedcode/data/maven2/spring-webmvc-2.5.3.pom.package.json b/tests/packagedcode/data/maven2/spring-webmvc-2.5.3.pom.package.json index 7c030309b64..a6e05486316 100644 --- a/tests/packagedcode/data/maven2/spring-webmvc-2.5.3.pom.package.json +++ b/tests/packagedcode/data/maven2/spring-webmvc-2.5.3.pom.package.json @@ -42,186 +42,187 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/commons-attributes/commons-attributes-api", + "purl": "pkg:maven/commons-attributes/commons-attributes-api@2.2", "requirement": "2.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-attributes/commons-attributes-compiler", + "purl": "pkg:maven/commons-attributes/commons-attributes-compiler@2.2", "requirement": "2.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.1.1", "requirement": "1.1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.lowagie/itext", + "purl": "pkg:maven/com.lowagie/itext@2.0.7", "requirement": "2.0.7", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/freemarker/freemarker", + "purl": "pkg:maven/freemarker/freemarker@2.3.12", "requirement": "2.3.12", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jasperreports/jasperreports", + "purl": "pkg:maven/jasperreports/jasperreports@2.0.2", "requirement": "2.0.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jexcelapi/jxl", + "purl": "pkg:maven/jexcelapi/jxl@2.6.6", "requirement": "2.6.6", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.tiles/tiles-api", + "purl": "pkg:maven/org.apache.tiles/tiles-api@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.tiles/tiles-core", + "purl": "pkg:maven/org.apache.tiles/tiles-core@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.tiles/tiles-jsp", + "purl": "pkg:maven/org.apache.tiles/tiles-jsp@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/poi/poi", + "purl": "pkg:maven/poi/poi@3.0.1", "requirement": "3.0.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/velocity/velocity", + "purl": "pkg:maven/velocity/velocity@1.5", "requirement": "1.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/velocity-tools/velocity-tools-generic", + "purl": "pkg:maven/velocity-tools/velocity-tools-generic@1.4", "requirement": "1.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/velocity-tools/velocity-tools-view", + "purl": "pkg:maven/velocity-tools/velocity-tools-view@1.4", "requirement": "1.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-beans", + "purl": "pkg:maven/org.springframework/spring-beans@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-context", + "purl": "pkg:maven/org.springframework/spring-context@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-context-support", + "purl": "pkg:maven/org.springframework/spring-context-support@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-core", + "purl": "pkg:maven/org.springframework/spring-core@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-web", + "purl": "pkg:maven/org.springframework/spring-web@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/jsp-api", + "purl": "pkg:maven/javax.servlet/jsp-api@2.0", "requirement": "2.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/jstl", + "purl": "pkg:maven/javax.servlet/jstl@1.1.0", "requirement": "1.1.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/servlet-api", + "purl": "pkg:maven/javax.servlet/servlet-api@2.4", "requirement": "2.4", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.springframework/spring-webmvc@2.5.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.springframework/spring-webmvc@2.5.3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/springframework/spring-webmvc/2.5.3/", "repository_download_url": "https://repo1.maven.org/maven2/org/springframework/spring-webmvc/2.5.3/spring-webmvc-2.5.3.jar", diff --git a/tests/packagedcode/data/maven2/startup-trigger-plugin-0.1.pom.package.json b/tests/packagedcode/data/maven2/startup-trigger-plugin-0.1.pom.package.json index ea6a0ac26eb..0a2e5498db1 100644 --- a/tests/packagedcode/data/maven2/startup-trigger-plugin-0.1.pom.package.json +++ b/tests/packagedcode/data/maven2/startup-trigger-plugin-0.1.pom.package.json @@ -35,18 +35,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.mockito/mockito-all", + "purl": "pkg:maven/org.mockito/mockito-all@1.8.1", "requirement": "1.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.jvnet.hudson.plugins/startup-trigger-plugin@0.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.jvnet.hudson.plugins/startup-trigger-plugin@0.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/jvnet/hudson/plugins/startup-trigger-plugin/0.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/jvnet/hudson/plugins/startup-trigger-plugin/0.1/startup-trigger-plugin-0.1.jar", diff --git a/tests/packagedcode/data/maven2/uni_pom.xml.package.json b/tests/packagedcode/data/maven2/uni_pom.xml.package.json index f90e920d4fe..5a93c22dcb9 100644 --- a/tests/packagedcode/data/maven2/uni_pom.xml.package.json +++ b/tests/packagedcode/data/maven2/uni_pom.xml.package.json @@ -27,50 +27,51 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/com.intel.gpe.clients/gpe-clients-all", + "purl": "pkg:maven/com.intel.gpe.clients/gpe-clients-all@2.0.4-SNAPSHOT", "requirement": "2.0.4-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.intel.gpe.clients/gpe-gridbean-api", + "purl": "pkg:maven/com.intel.gpe.clients/gpe-gridbean-api@2.0.5-SNAPSHOT", "requirement": "2.0.5-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.intel.gpe/gpe-utils", + "purl": "pkg:maven/com.intel.gpe/gpe-utils@2.0.5-SNAPSHOT", "requirement": "2.0.5-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.intel.gpe.clients/gpe-gridbeans-swt", + "purl": "pkg:maven/com.intel.gpe.clients/gpe-gridbeans-swt@0.0.2-SNAPSHOT", "requirement": "0.0.2-SNAPSHOT", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/de.fzj.unicore.rcp/eclipseSequencePlugin@0.0.1-SNAPSHOT?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/de.fzj.unicore.rcp/eclipseSequencePlugin@0.0.1-SNAPSHOT", "repository_homepage_url": "https://repo1.maven.org/maven2/de/fzj/unicore/rcp/eclipseSequencePlugin/0.0.1-SNAPSHOT/", "repository_download_url": "https://repo1.maven.org/maven2/de/fzj/unicore/rcp/eclipseSequencePlugin/0.0.1-SNAPSHOT/eclipseSequencePlugin-0.0.1-SNAPSHOT.jar", diff --git a/tests/packagedcode/data/maven2/urwerky_pom.xml.package.json b/tests/packagedcode/data/maven2/urwerky_pom.xml.package.json index eb2cc09c8ad..463e1bca029 100644 --- a/tests/packagedcode/data/maven2/urwerky_pom.xml.package.json +++ b/tests/packagedcode/data/maven2/urwerky_pom.xml.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/ur.urwerk.test/ur.urwerk.test.module-y@1.0.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/ur.urwerk.test/ur.urwerk.test.module-y@1.0.0", "repository_homepage_url": "https://repo1.maven.org/maven2/ur/urwerk/test/ur.urwerk.test.module-y/1.0.0/", "repository_download_url": "https://repo1.maven.org/maven2/ur/urwerk/test/ur.urwerk.test.module-y/1.0.0/ur.urwerk.test.module-y-1.0.0.jar", diff --git a/tests/packagedcode/data/maven2/webre_pom.xml.package.json b/tests/packagedcode/data/maven2/webre_pom.xml.package.json index 6ada9278ee7..f1b9ed8075f 100644 --- a/tests/packagedcode/data/maven2/webre_pom.xml.package.json +++ b/tests/packagedcode/data/maven2/webre_pom.xml.package.json @@ -30,6 +30,7 @@ "source_packages": [ "pkg:maven/org.webreformatter.wrappers/com.google.gwt.query@0.1.5.SNAPSHOT?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.webreformatter.wrappers/com.google.gwt.query@0.1.5.SNAPSHOT", "repository_homepage_url": "https://repo1.maven.org/maven2/org/webreformatter/wrappers/com.google.gwt.query/0.1.5.SNAPSHOT/", "repository_download_url": "https://repo1.maven.org/maven2/org/webreformatter/wrappers/com.google.gwt.query/0.1.5.SNAPSHOT/com.google.gwt.query-0.1.5.SNAPSHOT.jar", diff --git a/tests/packagedcode/data/maven2/xml-format-maven-plugin-3.0.6.pom.package.json b/tests/packagedcode/data/maven2/xml-format-maven-plugin-3.0.6.pom.package.json index ebade607501..3962678cd45 100644 --- a/tests/packagedcode/data/maven2/xml-format-maven-plugin-3.0.6.pom.package.json +++ b/tests/packagedcode/data/maven2/xml-format-maven-plugin-3.0.6.pom.package.json @@ -30,63 +30,64 @@ "purl": "pkg:maven/junit/junit", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.hamcrest/hamcrest-core", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.mockito/mockito-core", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-plugin-api", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.plugin-tools/maven-plugin-annotations", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { - "purl": "pkg:maven/org.dom4j/dom4j", + "purl": "pkg:maven/org.dom4j/dom4j@2.0.1", "requirement": "2.0.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/au.com.acegi/xml-format-maven-plugin@3.0.6?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/au.com.acegi/xml-format-maven-plugin@3.0.6", "repository_homepage_url": "https://repo1.maven.org/maven2/au/com/acegi/xml-format-maven-plugin/3.0.6/", "repository_download_url": "https://repo1.maven.org/maven2/au/com/acegi/xml-format-maven-plugin/3.0.6/xml-format-maven-plugin-3.0.6.jar", diff --git a/tests/packagedcode/data/models/full-expected.json b/tests/packagedcode/data/models/full-expected.json index 7583c872c32..ecdeb9492f6 100644 --- a/tests/packagedcode/data/models/full-expected.json +++ b/tests/packagedcode/data/models/full-expected.json @@ -62,6 +62,7 @@ "source_packages": [ "pkg:maven/aspectj/aspectjtools@1.5.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:rpm/fedora/Sample@12.2.3?abc=12&this=that#asdasd/asdasd/asdasd", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/models/simple-expected.json b/tests/packagedcode/data/models/simple-expected.json index 50be2517559..925aff53376 100644 --- a/tests/packagedcode/data/models/simple-expected.json +++ b/tests/packagedcode/data/models/simple-expected.json @@ -39,6 +39,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:rpm/Sample", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/msi/python-add-to-path-msiinfo-results.expected b/tests/packagedcode/data/msi/python-add-to-path-msiinfo-results.expected new file mode 100644 index 00000000000..9d10b6cb871 --- /dev/null +++ b/tests/packagedcode/data/msi/python-add-to-path-msiinfo-results.expected @@ -0,0 +1,13 @@ +Title: Installation Database +Subject: Python 3.9.5 Add to Path (64-bit) +Author: Python Software Foundation +Keywords: Installer +Comments: This installer database contains the logic and data required to install Python 3.9.5 Add to Path (64-bit). +Template: x64;1033 +Revision number (UUID): {33F421A1-6B08-4919-A6AB-62A429A0E739} +Created: Mon May 3 10:41:02 2021 +Last saved: Mon May 3 10:41:02 2021 +Version: 300 (12c) +Source: 10 (a) +Application: Windows Installer XML Toolset (3.11.1.2318) +Security: 2 (2) \ No newline at end of file diff --git a/tests/packagedcode/data/msi/python-add-to-path-msiinfo-results.txt b/tests/packagedcode/data/msi/python-add-to-path-msiinfo-results.txt new file mode 100644 index 00000000000..9d10b6cb871 --- /dev/null +++ b/tests/packagedcode/data/msi/python-add-to-path-msiinfo-results.txt @@ -0,0 +1,13 @@ +Title: Installation Database +Subject: Python 3.9.5 Add to Path (64-bit) +Author: Python Software Foundation +Keywords: Installer +Comments: This installer database contains the logic and data required to install Python 3.9.5 Add to Path (64-bit). +Template: x64;1033 +Revision number (UUID): {33F421A1-6B08-4919-A6AB-62A429A0E739} +Created: Mon May 3 10:41:02 2021 +Last saved: Mon May 3 10:41:02 2021 +Version: 300 (12c) +Source: 10 (a) +Application: Windows Installer XML Toolset (3.11.1.2318) +Security: 2 (2) \ No newline at end of file diff --git a/tests/packagedcode/data/npm/as_installed/package.json.expected b/tests/packagedcode/data/npm/as_installed/package.json.expected index 2707aff401b..6373f986dc4 100644 --- a/tests/packagedcode/data/npm/as_installed/package.json.expected +++ b/tests/packagedcode/data/npm/as_installed/package.json.expected @@ -2831,6 +2831,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/npm@2.13.5", "repository_homepage_url": "https://www.npmjs.com/package/npm", "repository_download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", diff --git a/tests/packagedcode/data/npm/authors_list_dicts/package.json.expected b/tests/packagedcode/data/npm/authors_list_dicts/package.json.expected index f99e4b0ee1c..a29a58e8974 100644 --- a/tests/packagedcode/data/npm/authors_list_dicts/package.json.expected +++ b/tests/packagedcode/data/npm/authors_list_dicts/package.json.expected @@ -111,6 +111,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/grunt-csscomb@3.1.1", "repository_homepage_url": "https://www.npmjs.com/package/grunt-csscomb", "repository_download_url": "https://registry.npmjs.org/grunt-csscomb/-/grunt-csscomb-3.1.1.tgz", diff --git a/tests/packagedcode/data/npm/authors_list_strings/package.json.expected b/tests/packagedcode/data/npm/authors_list_strings/package.json.expected index e49721d7954..f3c1e958c36 100644 --- a/tests/packagedcode/data/npm/authors_list_strings/package.json.expected +++ b/tests/packagedcode/data/npm/authors_list_strings/package.json.expected @@ -354,6 +354,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/react-motion@0.5.2", "repository_homepage_url": "https://www.npmjs.com/package/react-motion", "repository_download_url": "https://registry.npmjs.org/react-motion/-/react-motion-0.5.2.tgz", diff --git a/tests/packagedcode/data/npm/authors_list_strings2/package.json.expected b/tests/packagedcode/data/npm/authors_list_strings2/package.json.expected index b39a32db47a..f97e669e893 100644 --- a/tests/packagedcode/data/npm/authors_list_strings2/package.json.expected +++ b/tests/packagedcode/data/npm/authors_list_strings2/package.json.expected @@ -68,6 +68,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/exif@0.6.0", "repository_homepage_url": "https://www.npmjs.com/package/exif", "repository_download_url": "https://registry.npmjs.org/exif/-/exif-0.6.0.tgz", diff --git a/tests/packagedcode/data/npm/basic/package.json.expected b/tests/packagedcode/data/npm/basic/package.json.expected index 2d05673336d..1cae877c556 100644 --- a/tests/packagedcode/data/npm/basic/package.json.expected +++ b/tests/packagedcode/data/npm/basic/package.json.expected @@ -58,6 +58,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/cookie-signature@1.0.3", "repository_homepage_url": "https://www.npmjs.com/package/cookie-signature", "repository_download_url": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.3.tgz", diff --git a/tests/packagedcode/data/npm/bundledDeps/package.json.expected b/tests/packagedcode/data/npm/bundledDeps/package.json.expected index 5bf9e2540a5..5ca4788fe4f 100644 --- a/tests/packagedcode/data/npm/bundledDeps/package.json.expected +++ b/tests/packagedcode/data/npm/bundledDeps/package.json.expected @@ -54,6 +54,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pahub@0.4.0", "repository_homepage_url": "https://www.npmjs.com/package/pahub", "repository_download_url": "https://registry.npmjs.org/pahub/-/pahub-0.4.0.tgz", diff --git a/tests/packagedcode/data/npm/casepath/package.json.expected b/tests/packagedcode/data/npm/casepath/package.json.expected index 44727479a68..3d2226331b4 100644 --- a/tests/packagedcode/data/npm/casepath/package.json.expected +++ b/tests/packagedcode/data/npm/casepath/package.json.expected @@ -272,6 +272,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/casesensitivepathswebpackpluginDemo@0.0.1", "repository_homepage_url": "https://www.npmjs.com/package/casesensitivepathswebpackpluginDemo", "repository_download_url": "https://registry.npmjs.org/casesensitivepathswebpackpluginDemo/-/casesensitivepathswebpackpluginDemo-0.0.1.tgz", diff --git a/tests/packagedcode/data/npm/chartist/package.json.expected b/tests/packagedcode/data/npm/chartist/package.json.expected index 1a5e32e2a9b..a2ed868c90e 100644 --- a/tests/packagedcode/data/npm/chartist/package.json.expected +++ b/tests/packagedcode/data/npm/chartist/package.json.expected @@ -293,6 +293,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/chartist@0.11.0", "repository_homepage_url": "https://www.npmjs.com/package/chartist", "repository_download_url": "https://registry.npmjs.org/chartist/-/chartist-0.11.0.tgz", diff --git a/tests/packagedcode/data/npm/dist/package.json.expected b/tests/packagedcode/data/npm/dist/package.json.expected index 134b1e83776..cde1ef8d449 100644 --- a/tests/packagedcode/data/npm/dist/package.json.expected +++ b/tests/packagedcode/data/npm/dist/package.json.expected @@ -80,6 +80,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/angular-compare-validator@0.1.1", "repository_homepage_url": "https://www.npmjs.com/package/angular-compare-validator", "repository_download_url": "https://registry.npmjs.org/angular-compare-validator/-/angular-compare-validator-0.1.1.tgz", diff --git a/tests/packagedcode/data/npm/double_license/package.json.expected b/tests/packagedcode/data/npm/double_license/package.json.expected index c4c59134187..2597368b92e 100644 --- a/tests/packagedcode/data/npm/double_license/package.json.expected +++ b/tests/packagedcode/data/npm/double_license/package.json.expected @@ -126,6 +126,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/grunt-esvm@3.2.8", "repository_homepage_url": "https://www.npmjs.com/package/grunt-esvm", "repository_download_url": "https://registry.npmjs.org/grunt-esvm/-/grunt-esvm-3.2.8.tgz", diff --git a/tests/packagedcode/data/npm/express-jwt-3.4.0/package.json.expected b/tests/packagedcode/data/npm/express-jwt-3.4.0/package.json.expected index 179fa335444..6424cd268f9 100644 --- a/tests/packagedcode/data/npm/express-jwt-3.4.0/package.json.expected +++ b/tests/packagedcode/data/npm/express-jwt-3.4.0/package.json.expected @@ -94,6 +94,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/express-jwt@3.4.0", "repository_homepage_url": "https://www.npmjs.com/package/express-jwt", "repository_download_url": "https://registry.npmjs.org/express-jwt/-/express-jwt-3.4.0.tgz", diff --git a/tests/packagedcode/data/npm/from_npmjs/package.json.expected b/tests/packagedcode/data/npm/from_npmjs/package.json.expected index 3104beb734b..5488577206d 100644 --- a/tests/packagedcode/data/npm/from_npmjs/package.json.expected +++ b/tests/packagedcode/data/npm/from_npmjs/package.json.expected @@ -2831,6 +2831,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/npm@2.13.5", "repository_homepage_url": "https://www.npmjs.com/package/npm", "repository_download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", diff --git a/tests/packagedcode/data/npm/from_tarball/package.json.expected b/tests/packagedcode/data/npm/from_tarball/package.json.expected index 304a8eb32df..14aa536b21a 100644 --- a/tests/packagedcode/data/npm/from_tarball/package.json.expected +++ b/tests/packagedcode/data/npm/from_tarball/package.json.expected @@ -653,6 +653,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/npm@2.13.5", "repository_homepage_url": "https://www.npmjs.com/package/npm", "repository_download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", diff --git a/tests/packagedcode/data/npm/homepage-as-list/package.json.expected b/tests/packagedcode/data/npm/homepage-as-list/package.json.expected index 35f7d888109..ed33de367dd 100644 --- a/tests/packagedcode/data/npm/homepage-as-list/package.json.expected +++ b/tests/packagedcode/data/npm/homepage-as-list/package.json.expected @@ -106,6 +106,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/npm-research@0.0.1", "repository_homepage_url": "https://www.npmjs.com/package/npm-research", "repository_download_url": "https://registry.npmjs.org/npm-research/-/npm-research-0.0.1.tgz", diff --git a/tests/packagedcode/data/npm/invalid-dep/package.json.expected b/tests/packagedcode/data/npm/invalid-dep/package.json.expected index d2383660bff..4d1791a0e92 100644 --- a/tests/packagedcode/data/npm/invalid-dep/package.json.expected +++ b/tests/packagedcode/data/npm/invalid-dep/package.json.expected @@ -57,6 +57,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/angular2-autosize@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/angular2-autosize", "repository_download_url": "https://registry.npmjs.org/angular2-autosize/-/angular2-autosize-1.0.0.tgz", diff --git a/tests/packagedcode/data/npm/keywords/package.json.expected b/tests/packagedcode/data/npm/keywords/package.json.expected index d6dc66b18cb..a97bebf3293 100644 --- a/tests/packagedcode/data/npm/keywords/package.json.expected +++ b/tests/packagedcode/data/npm/keywords/package.json.expected @@ -72,6 +72,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/lodash.clonedeep@4.3.2", "repository_homepage_url": "https://www.npmjs.com/package/lodash.clonedeep", "repository_download_url": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.3.2.tgz", diff --git a/tests/packagedcode/data/npm/legacy_license_dict/package.json.expected b/tests/packagedcode/data/npm/legacy_license_dict/package.json.expected index fa9d21667a7..b41ef0a5b7e 100644 --- a/tests/packagedcode/data/npm/legacy_license_dict/package.json.expected +++ b/tests/packagedcode/data/npm/legacy_license_dict/package.json.expected @@ -106,6 +106,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/grunt-inline-imgsize@0.0.1", "repository_homepage_url": "https://www.npmjs.com/package/grunt-inline-imgsize", "repository_download_url": "https://registry.npmjs.org/grunt-inline-imgsize/-/grunt-inline-imgsize-0.0.1.tgz", diff --git a/tests/packagedcode/data/npm/mime-1.3.4/package.json.expected b/tests/packagedcode/data/npm/mime-1.3.4/package.json.expected index 489eb4db467..70d8b21e422 100644 --- a/tests/packagedcode/data/npm/mime-1.3.4/package.json.expected +++ b/tests/packagedcode/data/npm/mime-1.3.4/package.json.expected @@ -61,6 +61,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/mime@1.3.4", "repository_homepage_url": "https://www.npmjs.com/package/mime", "repository_download_url": "https://registry.npmjs.org/mime/-/mime-1.3.4.tgz", diff --git a/tests/packagedcode/data/npm/nodep/package.json.expected b/tests/packagedcode/data/npm/nodep/package.json.expected index 754204d611f..03b00a29641 100644 --- a/tests/packagedcode/data/npm/nodep/package.json.expected +++ b/tests/packagedcode/data/npm/nodep/package.json.expected @@ -230,6 +230,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/etcd-dashboard@0.0.0", "repository_homepage_url": "https://www.npmjs.com/package/etcd-dashboard", "repository_download_url": "https://registry.npmjs.org/etcd-dashboard/-/etcd-dashboard-0.0.0.tgz", diff --git a/tests/packagedcode/data/npm/npm-shrinkwrap/npm-shrinkwrap.json-expected b/tests/packagedcode/data/npm/npm-shrinkwrap/npm-shrinkwrap.json-expected index e2f9ea12c7a..ddcf5ef6f65 100644 --- a/tests/packagedcode/data/npm/npm-shrinkwrap/npm-shrinkwrap.json-expected +++ b/tests/packagedcode/data/npm/npm-shrinkwrap/npm-shrinkwrap.json-expected @@ -3454,6 +3454,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/bootstrap@3.3.7", "repository_homepage_url": "https://www.npmjs.com/package/bootstrap", "repository_download_url": "https://registry.npmjs.org/bootstrap/-/bootstrap-3.3.7.tgz", @@ -3489,6 +3490,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/abbrev@1.0.9", "repository_homepage_url": "https://www.npmjs.com/package/abbrev", "repository_download_url": "https://registry.npmjs.org/abbrev/-/abbrev-1.0.9.tgz", @@ -3524,6 +3526,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/accepts@1.3.3", "repository_homepage_url": "https://www.npmjs.com/package/accepts", "repository_download_url": "https://registry.npmjs.org/accepts/-/accepts-1.3.3.tgz", @@ -3559,6 +3562,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/acorn@3.2.0", "repository_homepage_url": "https://www.npmjs.com/package/acorn", "repository_download_url": "https://registry.npmjs.org/acorn/-/acorn-3.2.0.tgz", @@ -3594,6 +3598,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/acorn-globals@3.0.0", "repository_homepage_url": "https://www.npmjs.com/package/acorn-globals", "repository_download_url": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-3.0.0.tgz", @@ -3638,6 +3643,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/agent-base@2.0.1", "repository_homepage_url": "https://www.npmjs.com/package/agent-base", "repository_download_url": "https://registry.npmjs.org/agent-base/-/agent-base-2.0.1.tgz", @@ -3673,6 +3679,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/align-text@0.1.4", "repository_homepage_url": "https://www.npmjs.com/package/align-text", "repository_download_url": "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz", @@ -3708,6 +3715,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/amdefine@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/amdefine", "repository_download_url": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.0.tgz", @@ -3743,6 +3751,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/ansi-regex@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/ansi-regex", "repository_download_url": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.0.0.tgz", @@ -3778,6 +3787,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/ansi-styles@2.2.1", "repository_homepage_url": "https://www.npmjs.com/package/ansi-styles", "repository_download_url": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", @@ -3822,6 +3832,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/archiver@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/archiver", "repository_download_url": "https://registry.npmjs.org/archiver/-/archiver-1.0.0.tgz", @@ -3866,6 +3877,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/archiver-utils@1.2.0", "repository_homepage_url": "https://www.npmjs.com/package/archiver-utils", "repository_download_url": "https://registry.npmjs.org/archiver-utils/-/archiver-utils-1.2.0.tgz", @@ -3901,6 +3913,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/argparse@1.0.7", "repository_homepage_url": "https://www.npmjs.com/package/argparse", "repository_download_url": "https://registry.npmjs.org/argparse/-/argparse-1.0.7.tgz", @@ -3936,6 +3949,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/array-differ@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/array-differ", "repository_download_url": "https://registry.npmjs.org/array-differ/-/array-differ-1.0.0.tgz", @@ -3971,6 +3985,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/array-find-index@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/array-find-index", "repository_download_url": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.1.tgz", @@ -4006,6 +4021,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/array-union@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/array-union", "repository_download_url": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", @@ -4041,6 +4057,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/array-uniq@1.0.3", "repository_homepage_url": "https://www.npmjs.com/package/array-uniq", "repository_download_url": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", @@ -4076,6 +4093,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/arrify@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/arrify", "repository_download_url": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", @@ -4111,6 +4129,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/asap@2.0.4", "repository_homepage_url": "https://www.npmjs.com/package/asap", "repository_download_url": "https://registry.npmjs.org/asap/-/asap-2.0.4.tgz", @@ -4146,6 +4165,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/asn1@0.2.3", "repository_homepage_url": "https://www.npmjs.com/package/asn1", "repository_download_url": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz", @@ -4181,6 +4201,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/assert-plus@0.2.0", "repository_homepage_url": "https://www.npmjs.com/package/assert-plus", "repository_download_url": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.2.0.tgz", @@ -4216,6 +4237,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/async@1.5.2", "repository_homepage_url": "https://www.npmjs.com/package/async", "repository_download_url": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", @@ -4251,6 +4273,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/autoprefixer-core@5.2.1", "repository_homepage_url": "https://www.npmjs.com/package/autoprefixer-core", "repository_download_url": "https://registry.npmjs.org/autoprefixer-core/-/autoprefixer-core-5.2.1.tgz", @@ -4286,6 +4309,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/aws-sign2@0.6.0", "repository_homepage_url": "https://www.npmjs.com/package/aws-sign2", "repository_download_url": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.6.0.tgz", @@ -4321,6 +4345,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/aws4@1.4.1", "repository_homepage_url": "https://www.npmjs.com/package/aws4", "repository_download_url": "https://registry.npmjs.org/aws4/-/aws4-1.4.1.tgz", @@ -4356,6 +4381,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-runtime@6.9.2", "repository_homepage_url": "https://www.npmjs.com/package/babel-runtime", "repository_download_url": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.9.2.tgz", @@ -4391,6 +4417,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babylon@6.8.4", "repository_homepage_url": "https://www.npmjs.com/package/babylon", "repository_download_url": "https://registry.npmjs.org/babylon/-/babylon-6.8.4.tgz", @@ -4426,6 +4453,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/balanced-match@0.4.1", "repository_homepage_url": "https://www.npmjs.com/package/balanced-match", "repository_download_url": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.1.tgz", @@ -4461,6 +4489,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/basic-auth@1.0.4", "repository_homepage_url": "https://www.npmjs.com/package/basic-auth", "repository_download_url": "https://registry.npmjs.org/basic-auth/-/basic-auth-1.0.4.tgz", @@ -4496,6 +4525,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/batch@0.5.3", "repository_homepage_url": "https://www.npmjs.com/package/batch", "repository_download_url": "https://registry.npmjs.org/batch/-/batch-0.5.3.tgz", @@ -4540,6 +4570,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/bl@1.1.2", "repository_homepage_url": "https://www.npmjs.com/package/bl", "repository_download_url": "https://registry.npmjs.org/bl/-/bl-1.1.2.tgz", @@ -4592,6 +4623,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/body-parser@1.14.2", "repository_homepage_url": "https://www.npmjs.com/package/body-parser", "repository_download_url": "https://registry.npmjs.org/body-parser/-/body-parser-1.14.2.tgz", @@ -4627,6 +4659,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/boom@2.10.1", "repository_homepage_url": "https://www.npmjs.com/package/boom", "repository_download_url": "https://registry.npmjs.org/boom/-/boom-2.10.1.tgz", @@ -4662,6 +4695,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/brace-expansion@1.1.5", "repository_homepage_url": "https://www.npmjs.com/package/brace-expansion", "repository_download_url": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.5.tgz", @@ -4697,6 +4731,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/browserify-zlib@0.1.4", "repository_homepage_url": "https://www.npmjs.com/package/browserify-zlib", "repository_download_url": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.1.4.tgz", @@ -4732,6 +4767,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/browserslist@0.4.0", "repository_homepage_url": "https://www.npmjs.com/package/browserslist", "repository_download_url": "https://registry.npmjs.org/browserslist/-/browserslist-0.4.0.tgz", @@ -4767,6 +4803,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/btoa@1.1.2", "repository_homepage_url": "https://www.npmjs.com/package/btoa", "repository_download_url": "https://registry.npmjs.org/btoa/-/btoa-1.1.2.tgz", @@ -4802,6 +4839,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/buffer-crc32@0.2.5", "repository_homepage_url": "https://www.npmjs.com/package/buffer-crc32", "repository_download_url": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.5.tgz", @@ -4837,6 +4875,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/buffer-shims@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/buffer-shims", "repository_download_url": "https://registry.npmjs.org/buffer-shims/-/buffer-shims-1.0.0.tgz", @@ -4872,6 +4911,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/builtin-modules@1.1.1", "repository_homepage_url": "https://www.npmjs.com/package/builtin-modules", "repository_download_url": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", @@ -4907,6 +4947,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/bytes@2.2.0", "repository_homepage_url": "https://www.npmjs.com/package/bytes", "repository_download_url": "https://registry.npmjs.org/bytes/-/bytes-2.2.0.tgz", @@ -4942,6 +4983,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/camel-case@3.0.0", "repository_homepage_url": "https://www.npmjs.com/package/camel-case", "repository_download_url": "https://registry.npmjs.org/camel-case/-/camel-case-3.0.0.tgz", @@ -4977,6 +5019,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/camelcase@2.1.1", "repository_homepage_url": "https://www.npmjs.com/package/camelcase", "repository_download_url": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", @@ -5012,6 +5055,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/camelcase-keys@2.1.0", "repository_homepage_url": "https://www.npmjs.com/package/camelcase-keys", "repository_download_url": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", @@ -5047,6 +5091,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/caniuse-db@1.0.30000506", "repository_homepage_url": "https://www.npmjs.com/package/caniuse-db", "repository_download_url": "https://registry.npmjs.org/caniuse-db/-/caniuse-db-1.0.30000506.tgz", @@ -5082,6 +5127,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/caseless@0.11.0", "repository_homepage_url": "https://www.npmjs.com/package/caseless", "repository_download_url": "https://registry.npmjs.org/caseless/-/caseless-0.11.0.tgz", @@ -5117,6 +5163,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/center-align@0.1.3", "repository_homepage_url": "https://www.npmjs.com/package/center-align", "repository_download_url": "https://registry.npmjs.org/center-align/-/center-align-0.1.3.tgz", @@ -5152,6 +5199,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/chalk@1.1.3", "repository_homepage_url": "https://www.npmjs.com/package/chalk", "repository_download_url": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", @@ -5187,6 +5235,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/change-case@3.0.0", "repository_homepage_url": "https://www.npmjs.com/package/change-case", "repository_download_url": "https://registry.npmjs.org/change-case/-/change-case-3.0.0.tgz", @@ -5222,6 +5271,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/character-parser@2.2.0", "repository_homepage_url": "https://www.npmjs.com/package/character-parser", "repository_download_url": "https://registry.npmjs.org/character-parser/-/character-parser-2.2.0.tgz", @@ -5257,6 +5307,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/clean-css@3.4.18", "repository_homepage_url": "https://www.npmjs.com/package/clean-css", "repository_download_url": "https://registry.npmjs.org/clean-css/-/clean-css-3.4.18.tgz", @@ -5309,6 +5360,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/cli@0.6.6", "repository_homepage_url": "https://www.npmjs.com/package/cli", "repository_download_url": "https://registry.npmjs.org/cli/-/cli-0.6.6.tgz", @@ -5353,6 +5405,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/cli-table@0.3.1", "repository_homepage_url": "https://www.npmjs.com/package/cli-table", "repository_download_url": "https://registry.npmjs.org/cli-table/-/cli-table-0.3.1.tgz", @@ -5388,6 +5441,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/cliui@2.1.0", "repository_homepage_url": "https://www.npmjs.com/package/cliui", "repository_download_url": "https://registry.npmjs.org/cliui/-/cliui-2.1.0.tgz", @@ -5423,6 +5477,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/coffee-script@1.10.0", "repository_homepage_url": "https://www.npmjs.com/package/coffee-script", "repository_download_url": "https://registry.npmjs.org/coffee-script/-/coffee-script-1.10.0.tgz", @@ -5458,6 +5513,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/colors@1.1.2", "repository_homepage_url": "https://www.npmjs.com/package/colors", "repository_download_url": "https://registry.npmjs.org/colors/-/colors-1.1.2.tgz", @@ -5493,6 +5549,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/combined-stream@1.0.5", "repository_homepage_url": "https://www.npmjs.com/package/combined-stream", "repository_download_url": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.5.tgz", @@ -5528,6 +5585,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/commander@2.8.1", "repository_homepage_url": "https://www.npmjs.com/package/commander", "repository_download_url": "https://registry.npmjs.org/commander/-/commander-2.8.1.tgz", @@ -5563,6 +5621,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/comment-parser@0.3.1", "repository_homepage_url": "https://www.npmjs.com/package/comment-parser", "repository_download_url": "https://registry.npmjs.org/comment-parser/-/comment-parser-0.3.1.tgz", @@ -5598,6 +5657,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/compress-commons@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/compress-commons", "repository_download_url": "https://registry.npmjs.org/compress-commons/-/compress-commons-1.0.0.tgz", @@ -5633,6 +5693,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/concat-map@0.0.1", "repository_homepage_url": "https://www.npmjs.com/package/concat-map", "repository_download_url": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -5677,6 +5738,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/concat-stream@1.5.1", "repository_homepage_url": "https://www.npmjs.com/package/concat-stream", "repository_download_url": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.5.1.tgz", @@ -5712,6 +5774,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/connect@3.4.1", "repository_homepage_url": "https://www.npmjs.com/package/connect", "repository_download_url": "https://registry.npmjs.org/connect/-/connect-3.4.1.tgz", @@ -5747,6 +5810,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/connect-livereload@0.5.4", "repository_homepage_url": "https://www.npmjs.com/package/connect-livereload", "repository_download_url": "https://registry.npmjs.org/connect-livereload/-/connect-livereload-0.5.4.tgz", @@ -5782,6 +5846,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/console-browserify@1.1.0", "repository_homepage_url": "https://www.npmjs.com/package/console-browserify", "repository_download_url": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz", @@ -5817,6 +5882,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/constant-case@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/constant-case", "repository_download_url": "https://registry.npmjs.org/constant-case/-/constant-case-2.0.0.tgz", @@ -5852,6 +5918,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/constantinople@3.1.0", "repository_homepage_url": "https://www.npmjs.com/package/constantinople", "repository_download_url": "https://registry.npmjs.org/constantinople/-/constantinople-3.1.0.tgz", @@ -5887,6 +5954,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/content-type@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/content-type", "repository_download_url": "https://registry.npmjs.org/content-type/-/content-type-1.0.2.tgz", @@ -5922,6 +5990,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/core-js@2.4.0", "repository_homepage_url": "https://www.npmjs.com/package/core-js", "repository_download_url": "https://registry.npmjs.org/core-js/-/core-js-2.4.0.tgz", @@ -5957,6 +6026,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/core-util-is@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/core-util-is", "repository_download_url": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", @@ -5992,6 +6062,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/crc32-stream@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/crc32-stream", "repository_download_url": "https://registry.npmjs.org/crc32-stream/-/crc32-stream-1.0.0.tgz", @@ -6027,6 +6098,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/cryptiles@2.0.5", "repository_homepage_url": "https://www.npmjs.com/package/cryptiles", "repository_download_url": "https://registry.npmjs.org/cryptiles/-/cryptiles-2.0.5.tgz", @@ -6071,6 +6143,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/csscomb@3.1.8", "repository_homepage_url": "https://www.npmjs.com/package/csscomb", "repository_download_url": "https://registry.npmjs.org/csscomb/-/csscomb-3.1.8.tgz", @@ -6115,6 +6188,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/csscomb-core@3.0.0-3.1", "repository_homepage_url": "https://www.npmjs.com/package/csscomb-core", "repository_download_url": "https://registry.npmjs.org/csscomb-core/-/csscomb-core-3.0.0-3.1.tgz", @@ -6150,6 +6224,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/csslint@0.10.0", "repository_homepage_url": "https://www.npmjs.com/package/csslint", "repository_download_url": "https://registry.npmjs.org/csslint/-/csslint-0.10.0.tgz", @@ -6185,6 +6260,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/cst@0.4.4", "repository_homepage_url": "https://www.npmjs.com/package/cst", "repository_download_url": "https://registry.npmjs.org/cst/-/cst-0.4.4.tgz", @@ -6220,6 +6296,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/currently-unhandled@0.4.1", "repository_homepage_url": "https://www.npmjs.com/package/currently-unhandled", "repository_download_url": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", @@ -6255,6 +6332,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/cycle@1.0.3", "repository_homepage_url": "https://www.npmjs.com/package/cycle", "repository_download_url": "https://registry.npmjs.org/cycle/-/cycle-1.0.3.tgz", @@ -6299,6 +6377,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/dashdash@1.14.0", "repository_homepage_url": "https://www.npmjs.com/package/dashdash", "repository_download_url": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.0.tgz", @@ -6334,6 +6413,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/date-now@0.1.4", "repository_homepage_url": "https://www.npmjs.com/package/date-now", "repository_download_url": "https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz", @@ -6369,6 +6449,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/date-time@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/date-time", "repository_download_url": "https://registry.npmjs.org/date-time/-/date-time-1.0.0.tgz", @@ -6404,6 +6485,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/dateformat@1.0.12", "repository_homepage_url": "https://www.npmjs.com/package/dateformat", "repository_download_url": "https://registry.npmjs.org/dateformat/-/dateformat-1.0.12.tgz", @@ -6439,6 +6521,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/debug@2.2.0", "repository_homepage_url": "https://www.npmjs.com/package/debug", "repository_download_url": "https://registry.npmjs.org/debug/-/debug-2.2.0.tgz", @@ -6474,6 +6557,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/decamelize@1.2.0", "repository_homepage_url": "https://www.npmjs.com/package/decamelize", "repository_download_url": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", @@ -6509,6 +6593,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/deep-equal@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/deep-equal", "repository_download_url": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.0.1.tgz", @@ -6544,6 +6629,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/delayed-stream@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/delayed-stream", "repository_download_url": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", @@ -6579,6 +6665,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/depd@1.1.0", "repository_homepage_url": "https://www.npmjs.com/package/depd", "repository_download_url": "https://registry.npmjs.org/depd/-/depd-1.1.0.tgz", @@ -6614,6 +6701,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/destroy@1.0.4", "repository_homepage_url": "https://www.npmjs.com/package/destroy", "repository_download_url": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", @@ -6649,6 +6737,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/diff@1.3.2", "repository_homepage_url": "https://www.npmjs.com/package/diff", "repository_download_url": "https://registry.npmjs.org/diff/-/diff-1.3.2.tgz", @@ -6684,6 +6773,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/doctypes@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/doctypes", "repository_download_url": "https://registry.npmjs.org/doctypes/-/doctypes-1.0.0.tgz", @@ -6736,6 +6826,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/dom-serializer@0.1.0", "repository_homepage_url": "https://www.npmjs.com/package/dom-serializer", "repository_download_url": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.0.tgz", @@ -6771,6 +6862,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/domelementtype@1.3.0", "repository_homepage_url": "https://www.npmjs.com/package/domelementtype", "repository_download_url": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.0.tgz", @@ -6806,6 +6898,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/domhandler@2.3.0", "repository_homepage_url": "https://www.npmjs.com/package/domhandler", "repository_download_url": "https://registry.npmjs.org/domhandler/-/domhandler-2.3.0.tgz", @@ -6841,6 +6934,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/domutils@1.5.1", "repository_homepage_url": "https://www.npmjs.com/package/domutils", "repository_download_url": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz", @@ -6876,6 +6970,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/dot-case@2.1.0", "repository_homepage_url": "https://www.npmjs.com/package/dot-case", "repository_download_url": "https://registry.npmjs.org/dot-case/-/dot-case-2.1.0.tgz", @@ -6911,6 +7006,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/ecc-jsbn@0.1.1", "repository_homepage_url": "https://www.npmjs.com/package/ecc-jsbn", "repository_download_url": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz", @@ -6946,6 +7042,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/ee-first@1.1.1", "repository_homepage_url": "https://www.npmjs.com/package/ee-first", "repository_download_url": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", @@ -6981,6 +7078,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/encodeurl@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/encodeurl", "repository_download_url": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.1.tgz", @@ -7016,6 +7114,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/end-of-stream@1.1.0", "repository_homepage_url": "https://www.npmjs.com/package/end-of-stream", "repository_download_url": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.1.0.tgz", @@ -7051,6 +7150,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/entities@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/entities", "repository_download_url": "https://registry.npmjs.org/entities/-/entities-1.0.0.tgz", @@ -7086,6 +7186,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/errno@0.1.4", "repository_homepage_url": "https://www.npmjs.com/package/errno", "repository_download_url": "https://registry.npmjs.org/errno/-/errno-0.1.4.tgz", @@ -7121,6 +7222,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/error-ex@1.3.0", "repository_homepage_url": "https://www.npmjs.com/package/error-ex", "repository_download_url": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.0.tgz", @@ -7156,6 +7258,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/es6-promise@2.3.0", "repository_homepage_url": "https://www.npmjs.com/package/es6-promise", "repository_download_url": "https://registry.npmjs.org/es6-promise/-/es6-promise-2.3.0.tgz", @@ -7191,6 +7294,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/escape-html@1.0.3", "repository_homepage_url": "https://www.npmjs.com/package/escape-html", "repository_download_url": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", @@ -7226,6 +7330,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/escape-string-regexp@1.0.5", "repository_homepage_url": "https://www.npmjs.com/package/escape-string-regexp", "repository_download_url": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", @@ -7261,6 +7366,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/esprima@2.7.2", "repository_homepage_url": "https://www.npmjs.com/package/esprima", "repository_download_url": "https://registry.npmjs.org/esprima/-/esprima-2.7.2.tgz", @@ -7296,6 +7402,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/estraverse@4.2.0", "repository_homepage_url": "https://www.npmjs.com/package/estraverse", "repository_download_url": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz", @@ -7331,6 +7438,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/etag@1.7.0", "repository_homepage_url": "https://www.npmjs.com/package/etag", "repository_download_url": "https://registry.npmjs.org/etag/-/etag-1.7.0.tgz", @@ -7366,6 +7474,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/eventemitter2@0.4.14", "repository_homepage_url": "https://www.npmjs.com/package/eventemitter2", "repository_download_url": "https://registry.npmjs.org/eventemitter2/-/eventemitter2-0.4.14.tgz", @@ -7401,6 +7510,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/exit@0.1.2", "repository_homepage_url": "https://www.npmjs.com/package/exit", "repository_download_url": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", @@ -7436,6 +7546,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/extend@3.0.0", "repository_homepage_url": "https://www.npmjs.com/package/extend", "repository_download_url": "https://registry.npmjs.org/extend/-/extend-3.0.0.tgz", @@ -7512,6 +7623,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/extract-zip@1.5.0", "repository_homepage_url": "https://www.npmjs.com/package/extract-zip", "repository_download_url": "https://registry.npmjs.org/extract-zip/-/extract-zip-1.5.0.tgz", @@ -7547,6 +7659,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/extsprintf@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/extsprintf", "repository_download_url": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.0.2.tgz", @@ -7582,6 +7695,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/eyes@0.1.8", "repository_homepage_url": "https://www.npmjs.com/package/eyes", "repository_download_url": "https://registry.npmjs.org/eyes/-/eyes-0.1.8.tgz", @@ -7617,6 +7731,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/faye-websocket@0.10.0", "repository_homepage_url": "https://www.npmjs.com/package/faye-websocket", "repository_download_url": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.10.0.tgz", @@ -7652,6 +7767,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/fd-slicer@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/fd-slicer", "repository_download_url": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.0.1.tgz", @@ -7704,6 +7820,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/fg-lodash@0.0.2", "repository_homepage_url": "https://www.npmjs.com/package/fg-lodash", "repository_download_url": "https://registry.npmjs.org/fg-lodash/-/fg-lodash-0.0.2.tgz", @@ -7739,6 +7856,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/figures@1.7.0", "repository_homepage_url": "https://www.npmjs.com/package/figures", "repository_download_url": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", @@ -7774,6 +7892,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/file-sync-cmp@0.1.1", "repository_homepage_url": "https://www.npmjs.com/package/file-sync-cmp", "repository_download_url": "https://registry.npmjs.org/file-sync-cmp/-/file-sync-cmp-0.1.1.tgz", @@ -7809,6 +7928,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/finalhandler@0.4.1", "repository_homepage_url": "https://www.npmjs.com/package/finalhandler", "repository_download_url": "https://registry.npmjs.org/finalhandler/-/finalhandler-0.4.1.tgz", @@ -7844,6 +7964,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/find-up@1.1.2", "repository_homepage_url": "https://www.npmjs.com/package/find-up", "repository_download_url": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", @@ -7888,6 +8009,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/findup-sync@0.3.0", "repository_homepage_url": "https://www.npmjs.com/package/findup-sync", "repository_download_url": "https://registry.npmjs.org/findup-sync/-/findup-sync-0.3.0.tgz", @@ -7923,6 +8045,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/forever-agent@0.6.1", "repository_homepage_url": "https://www.npmjs.com/package/forever-agent", "repository_download_url": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", @@ -7958,6 +8081,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/form-data@1.0.0-rc4", "repository_homepage_url": "https://www.npmjs.com/package/form-data", "repository_download_url": "https://registry.npmjs.org/form-data/-/form-data-1.0.0-rc4.tgz", @@ -7993,6 +8117,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/fresh@0.3.0", "repository_homepage_url": "https://www.npmjs.com/package/fresh", "repository_download_url": "https://registry.npmjs.org/fresh/-/fresh-0.3.0.tgz", @@ -8028,6 +8153,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/fs-extra@0.26.7", "repository_homepage_url": "https://www.npmjs.com/package/fs-extra", "repository_download_url": "https://registry.npmjs.org/fs-extra/-/fs-extra-0.26.7.tgz", @@ -8063,6 +8189,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/fs.realpath@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/fs.realpath", "repository_download_url": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", @@ -8098,6 +8225,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/gaze@1.1.0", "repository_homepage_url": "https://www.npmjs.com/package/gaze", "repository_download_url": "https://registry.npmjs.org/gaze/-/gaze-1.1.0.tgz", @@ -8133,6 +8261,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/generate-function@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/generate-function", "repository_download_url": "https://registry.npmjs.org/generate-function/-/generate-function-2.0.0.tgz", @@ -8168,6 +8297,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/generate-object-property@1.2.0", "repository_homepage_url": "https://www.npmjs.com/package/generate-object-property", "repository_download_url": "https://registry.npmjs.org/generate-object-property/-/generate-object-property-1.2.0.tgz", @@ -8203,6 +8333,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/get-stdin@4.0.1", "repository_homepage_url": "https://www.npmjs.com/package/get-stdin", "repository_download_url": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", @@ -8238,6 +8369,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/getobject@0.1.0", "repository_homepage_url": "https://www.npmjs.com/package/getobject", "repository_download_url": "https://registry.npmjs.org/getobject/-/getobject-0.1.0.tgz", @@ -8282,6 +8414,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/getpass@0.1.6", "repository_homepage_url": "https://www.npmjs.com/package/getpass", "repository_download_url": "https://registry.npmjs.org/getpass/-/getpass-0.1.6.tgz", @@ -8317,6 +8450,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/glob@7.0.5", "repository_homepage_url": "https://www.npmjs.com/package/glob", "repository_download_url": "https://registry.npmjs.org/glob/-/glob-7.0.5.tgz", @@ -8361,6 +8495,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/globule@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/globule", "repository_download_url": "https://registry.npmjs.org/globule/-/globule-1.0.0.tgz", @@ -8396,6 +8531,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/gonzales-pe@3.0.0-28", "repository_homepage_url": "https://www.npmjs.com/package/gonzales-pe", "repository_download_url": "https://registry.npmjs.org/gonzales-pe/-/gonzales-pe-3.0.0-28.tgz", @@ -8431,6 +8567,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/graceful-fs@4.1.4", "repository_homepage_url": "https://www.npmjs.com/package/graceful-fs", "repository_download_url": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.4.tgz", @@ -8466,6 +8603,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/graceful-readlink@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/graceful-readlink", "repository_download_url": "https://registry.npmjs.org/graceful-readlink/-/graceful-readlink-1.0.1.tgz", @@ -8510,6 +8648,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/grunt@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/grunt", "repository_download_url": "https://registry.npmjs.org/grunt/-/grunt-1.0.1.tgz", @@ -8586,6 +8725,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/grunt-autoprefixer@3.0.4", "repository_homepage_url": "https://www.npmjs.com/package/grunt-autoprefixer", "repository_download_url": "https://registry.npmjs.org/grunt-autoprefixer/-/grunt-autoprefixer-3.0.4.tgz", @@ -8630,6 +8770,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/grunt-contrib-clean@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/grunt-contrib-clean", "repository_download_url": "https://registry.npmjs.org/grunt-contrib-clean/-/grunt-contrib-clean-1.0.0.tgz", @@ -8674,6 +8815,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/grunt-contrib-compress@1.3.0", "repository_homepage_url": "https://www.npmjs.com/package/grunt-contrib-compress", "repository_download_url": "https://registry.npmjs.org/grunt-contrib-compress/-/grunt-contrib-compress-1.3.0.tgz", @@ -8718,6 +8860,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/grunt-contrib-concat@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/grunt-contrib-concat", "repository_download_url": "https://registry.npmjs.org/grunt-contrib-concat/-/grunt-contrib-concat-1.0.1.tgz", @@ -8753,6 +8896,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/grunt-contrib-connect@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/grunt-contrib-connect", "repository_download_url": "https://registry.npmjs.org/grunt-contrib-connect/-/grunt-contrib-connect-1.0.2.tgz", @@ -8788,6 +8932,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/grunt-contrib-copy@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/grunt-contrib-copy", "repository_download_url": "https://registry.npmjs.org/grunt-contrib-copy/-/grunt-contrib-copy-1.0.0.tgz", @@ -8823,6 +8968,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/grunt-contrib-csslint@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/grunt-contrib-csslint", "repository_download_url": "https://registry.npmjs.org/grunt-contrib-csslint/-/grunt-contrib-csslint-1.0.0.tgz", @@ -8858,6 +9004,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/grunt-contrib-cssmin@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/grunt-contrib-cssmin", "repository_download_url": "https://registry.npmjs.org/grunt-contrib-cssmin/-/grunt-contrib-cssmin-1.0.1.tgz", @@ -8893,6 +9040,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/grunt-contrib-htmlmin@1.5.0", "repository_homepage_url": "https://www.npmjs.com/package/grunt-contrib-htmlmin", "repository_download_url": "https://registry.npmjs.org/grunt-contrib-htmlmin/-/grunt-contrib-htmlmin-1.5.0.tgz", @@ -8928,6 +9076,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/grunt-contrib-jshint@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/grunt-contrib-jshint", "repository_download_url": "https://registry.npmjs.org/grunt-contrib-jshint/-/grunt-contrib-jshint-1.0.0.tgz", @@ -8972,6 +9121,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/grunt-contrib-less@1.3.0", "repository_homepage_url": "https://www.npmjs.com/package/grunt-contrib-less", "repository_download_url": "https://registry.npmjs.org/grunt-contrib-less/-/grunt-contrib-less-1.3.0.tgz", @@ -9007,6 +9157,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/grunt-contrib-pug@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/grunt-contrib-pug", "repository_download_url": "https://registry.npmjs.org/grunt-contrib-pug/-/grunt-contrib-pug-1.0.0.tgz", @@ -9042,6 +9193,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/grunt-contrib-qunit@0.7.0", "repository_homepage_url": "https://www.npmjs.com/package/grunt-contrib-qunit", "repository_download_url": "https://registry.npmjs.org/grunt-contrib-qunit/-/grunt-contrib-qunit-0.7.0.tgz", @@ -9086,6 +9238,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/grunt-contrib-uglify@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/grunt-contrib-uglify", "repository_download_url": "https://registry.npmjs.org/grunt-contrib-uglify/-/grunt-contrib-uglify-1.0.1.tgz", @@ -9121,6 +9274,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/grunt-contrib-watch@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/grunt-contrib-watch", "repository_download_url": "https://registry.npmjs.org/grunt-contrib-watch/-/grunt-contrib-watch-1.0.0.tgz", @@ -9156,6 +9310,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/grunt-csscomb@3.1.1", "repository_homepage_url": "https://www.npmjs.com/package/grunt-csscomb", "repository_download_url": "https://registry.npmjs.org/grunt-csscomb/-/grunt-csscomb-3.1.1.tgz", @@ -9191,6 +9346,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/grunt-exec@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/grunt-exec", "repository_download_url": "https://registry.npmjs.org/grunt-exec/-/grunt-exec-1.0.0.tgz", @@ -9226,6 +9382,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/grunt-html@8.0.2", "repository_homepage_url": "https://www.npmjs.com/package/grunt-html", "repository_download_url": "https://registry.npmjs.org/grunt-html/-/grunt-html-8.0.2.tgz", @@ -9261,6 +9418,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/grunt-jekyll@0.4.4", "repository_homepage_url": "https://www.npmjs.com/package/grunt-jekyll", "repository_download_url": "https://registry.npmjs.org/grunt-jekyll/-/grunt-jekyll-0.4.4.tgz", @@ -9305,6 +9463,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/grunt-jscs@3.0.1", "repository_homepage_url": "https://www.npmjs.com/package/grunt-jscs", "repository_download_url": "https://registry.npmjs.org/grunt-jscs/-/grunt-jscs-3.0.1.tgz", @@ -9340,6 +9499,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/grunt-known-options@1.1.0", "repository_homepage_url": "https://www.npmjs.com/package/grunt-known-options", "repository_download_url": "https://registry.npmjs.org/grunt-known-options/-/grunt-known-options-1.1.0.tgz", @@ -9375,6 +9535,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/grunt-legacy-log@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/grunt-legacy-log", "repository_download_url": "https://registry.npmjs.org/grunt-legacy-log/-/grunt-legacy-log-1.0.0.tgz", @@ -9419,6 +9580,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/grunt-legacy-log-utils@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/grunt-legacy-log-utils", "repository_download_url": "https://registry.npmjs.org/grunt-legacy-log-utils/-/grunt-legacy-log-utils-1.0.0.tgz", @@ -9463,6 +9625,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/grunt-legacy-util@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/grunt-legacy-util", "repository_download_url": "https://registry.npmjs.org/grunt-legacy-util/-/grunt-legacy-util-1.0.0.tgz", @@ -9507,6 +9670,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/grunt-lib-phantomjs@0.6.0", "repository_homepage_url": "https://www.npmjs.com/package/grunt-lib-phantomjs", "repository_download_url": "https://registry.npmjs.org/grunt-lib-phantomjs/-/grunt-lib-phantomjs-0.6.0.tgz", @@ -9551,6 +9715,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/grunt-saucelabs@9.0.0", "repository_homepage_url": "https://www.npmjs.com/package/grunt-saucelabs", "repository_download_url": "https://registry.npmjs.org/grunt-saucelabs/-/grunt-saucelabs-9.0.0.tgz", @@ -9586,6 +9751,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/gzip-size@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/gzip-size", "repository_download_url": "https://registry.npmjs.org/gzip-size/-/gzip-size-1.0.0.tgz", @@ -9630,6 +9796,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/har-validator@2.0.6", "repository_homepage_url": "https://www.npmjs.com/package/har-validator", "repository_download_url": "https://registry.npmjs.org/har-validator/-/har-validator-2.0.6.tgz", @@ -9665,6 +9832,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/has-ansi@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/has-ansi", "repository_download_url": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", @@ -9700,6 +9868,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/has-color@0.1.7", "repository_homepage_url": "https://www.npmjs.com/package/has-color", "repository_download_url": "https://registry.npmjs.org/has-color/-/has-color-0.1.7.tgz", @@ -9735,6 +9904,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/hasha@2.2.0", "repository_homepage_url": "https://www.npmjs.com/package/hasha", "repository_download_url": "https://registry.npmjs.org/hasha/-/hasha-2.2.0.tgz", @@ -9770,6 +9940,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/hawk@3.1.3", "repository_homepage_url": "https://www.npmjs.com/package/hawk", "repository_download_url": "https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz", @@ -9805,6 +9976,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/he@1.1.0", "repository_homepage_url": "https://www.npmjs.com/package/he", "repository_download_url": "https://registry.npmjs.org/he/-/he-1.1.0.tgz", @@ -9840,6 +10012,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/header-case@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/header-case", "repository_download_url": "https://registry.npmjs.org/header-case/-/header-case-1.0.0.tgz", @@ -9875,6 +10048,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/hoek@2.16.3", "repository_homepage_url": "https://www.npmjs.com/package/hoek", "repository_download_url": "https://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz", @@ -9910,6 +10084,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/hooker@0.2.3", "repository_homepage_url": "https://www.npmjs.com/package/hooker", "repository_download_url": "https://registry.npmjs.org/hooker/-/hooker-0.2.3.tgz", @@ -9945,6 +10120,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/hosted-git-info@2.1.5", "repository_homepage_url": "https://www.npmjs.com/package/hosted-git-info", "repository_download_url": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.1.5.tgz", @@ -9989,6 +10165,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/html-minifier@2.1.7", "repository_homepage_url": "https://www.npmjs.com/package/html-minifier", "repository_download_url": "https://registry.npmjs.org/html-minifier/-/html-minifier-2.1.7.tgz", @@ -10041,6 +10218,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/htmlparser2@3.8.3", "repository_homepage_url": "https://www.npmjs.com/package/htmlparser2", "repository_download_url": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.8.3.tgz", @@ -10076,6 +10254,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/http-errors@1.5.0", "repository_homepage_url": "https://www.npmjs.com/package/http-errors", "repository_download_url": "https://registry.npmjs.org/http-errors/-/http-errors-1.5.0.tgz", @@ -10111,6 +10290,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/http-signature@1.1.1", "repository_homepage_url": "https://www.npmjs.com/package/http-signature", "repository_download_url": "https://registry.npmjs.org/http-signature/-/http-signature-1.1.1.tgz", @@ -10146,6 +10326,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/http2@3.3.4", "repository_homepage_url": "https://www.npmjs.com/package/http2", "repository_download_url": "https://registry.npmjs.org/http2/-/http2-3.3.4.tgz", @@ -10181,6 +10362,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/https-proxy-agent@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/https-proxy-agent", "repository_download_url": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-1.0.0.tgz", @@ -10216,6 +10398,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/i@0.3.5", "repository_homepage_url": "https://www.npmjs.com/package/i", "repository_download_url": "https://registry.npmjs.org/i/-/i-0.3.5.tgz", @@ -10251,6 +10434,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/iconv-lite@0.4.13", "repository_homepage_url": "https://www.npmjs.com/package/iconv-lite", "repository_download_url": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.13.tgz", @@ -10286,6 +10470,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/image-size@0.4.0", "repository_homepage_url": "https://www.npmjs.com/package/image-size", "repository_download_url": "https://registry.npmjs.org/image-size/-/image-size-0.4.0.tgz", @@ -10321,6 +10506,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/indent-string@2.1.0", "repository_homepage_url": "https://www.npmjs.com/package/indent-string", "repository_download_url": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", @@ -10356,6 +10542,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/inflight@1.0.5", "repository_homepage_url": "https://www.npmjs.com/package/inflight", "repository_download_url": "https://registry.npmjs.org/inflight/-/inflight-1.0.5.tgz", @@ -10391,6 +10578,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/inherit@2.2.4", "repository_homepage_url": "https://www.npmjs.com/package/inherit", "repository_download_url": "https://registry.npmjs.org/inherit/-/inherit-2.2.4.tgz", @@ -10426,6 +10614,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/inherits@2.0.1", "repository_homepage_url": "https://www.npmjs.com/package/inherits", "repository_download_url": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", @@ -10461,6 +10650,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/interpret@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/interpret", "repository_download_url": "https://registry.npmjs.org/interpret/-/interpret-1.0.1.tgz", @@ -10496,6 +10686,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-arrayish@0.2.1", "repository_homepage_url": "https://www.npmjs.com/package/is-arrayish", "repository_download_url": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", @@ -10531,6 +10722,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-buffer@1.1.3", "repository_homepage_url": "https://www.npmjs.com/package/is-buffer", "repository_download_url": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.3.tgz", @@ -10566,6 +10758,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-builtin-module@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/is-builtin-module", "repository_download_url": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", @@ -10610,6 +10803,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-expression@2.0.1", "repository_homepage_url": "https://www.npmjs.com/package/is-expression", "repository_download_url": "https://registry.npmjs.org/is-expression/-/is-expression-2.0.1.tgz", @@ -10645,6 +10839,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-finite@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/is-finite", "repository_download_url": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.1.tgz", @@ -10680,6 +10875,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-lower-case@1.1.3", "repository_homepage_url": "https://www.npmjs.com/package/is-lower-case", "repository_download_url": "https://registry.npmjs.org/is-lower-case/-/is-lower-case-1.1.3.tgz", @@ -10715,6 +10911,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-my-json-valid@2.13.1", "repository_homepage_url": "https://www.npmjs.com/package/is-my-json-valid", "repository_download_url": "https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.13.1.tgz", @@ -10750,6 +10947,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-promise@2.1.0", "repository_homepage_url": "https://www.npmjs.com/package/is-promise", "repository_download_url": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", @@ -10785,6 +10983,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-property@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/is-property", "repository_download_url": "https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz", @@ -10820,6 +11019,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-regex@1.0.3", "repository_homepage_url": "https://www.npmjs.com/package/is-regex", "repository_download_url": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.3.tgz", @@ -10855,6 +11055,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-stream@1.1.0", "repository_homepage_url": "https://www.npmjs.com/package/is-stream", "repository_download_url": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", @@ -10890,6 +11091,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-typedarray@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/is-typedarray", "repository_download_url": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", @@ -10925,6 +11127,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-upper-case@1.1.2", "repository_homepage_url": "https://www.npmjs.com/package/is-upper-case", "repository_download_url": "https://registry.npmjs.org/is-upper-case/-/is-upper-case-1.1.2.tgz", @@ -10960,6 +11163,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-utf8@0.2.1", "repository_homepage_url": "https://www.npmjs.com/package/is-utf8", "repository_download_url": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", @@ -10995,6 +11199,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/isarray@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/isarray", "repository_download_url": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", @@ -11030,6 +11235,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/isexe@1.1.2", "repository_homepage_url": "https://www.npmjs.com/package/isexe", "repository_download_url": "https://registry.npmjs.org/isexe/-/isexe-1.1.2.tgz", @@ -11065,6 +11271,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/isstream@0.1.2", "repository_homepage_url": "https://www.npmjs.com/package/isstream", "repository_download_url": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", @@ -11100,6 +11307,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/jodid25519@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/jodid25519", "repository_download_url": "https://registry.npmjs.org/jodid25519/-/jodid25519-1.0.2.tgz", @@ -11135,6 +11343,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/js-base64@2.1.9", "repository_homepage_url": "https://www.npmjs.com/package/js-base64", "repository_download_url": "https://registry.npmjs.org/js-base64/-/js-base64-2.1.9.tgz", @@ -11170,6 +11379,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/js-stringify@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/js-stringify", "repository_download_url": "https://registry.npmjs.org/js-stringify/-/js-stringify-1.0.2.tgz", @@ -11205,6 +11415,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/js-yaml@3.5.5", "repository_homepage_url": "https://www.npmjs.com/package/js-yaml", "repository_download_url": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.5.5.tgz", @@ -11240,6 +11451,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/jsbn@0.1.0", "repository_homepage_url": "https://www.npmjs.com/package/jsbn", "repository_download_url": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.0.tgz", @@ -11324,6 +11536,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/jscs@3.0.7", "repository_homepage_url": "https://www.npmjs.com/package/jscs", "repository_download_url": "https://registry.npmjs.org/jscs/-/jscs-3.0.7.tgz", @@ -11359,6 +11572,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/jscs-jsdoc@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/jscs-jsdoc", "repository_download_url": "https://registry.npmjs.org/jscs-jsdoc/-/jscs-jsdoc-2.0.0.tgz", @@ -11394,6 +11608,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/jscs-preset-wikimedia@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/jscs-preset-wikimedia", "repository_download_url": "https://registry.npmjs.org/jscs-preset-wikimedia/-/jscs-preset-wikimedia-1.0.0.tgz", @@ -11429,6 +11644,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/jsdoctypeparser@1.2.0", "repository_homepage_url": "https://www.npmjs.com/package/jsdoctypeparser", "repository_download_url": "https://registry.npmjs.org/jsdoctypeparser/-/jsdoctypeparser-1.2.0.tgz", @@ -11489,6 +11705,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/jshint@2.9.2", "repository_homepage_url": "https://www.npmjs.com/package/jshint", "repository_download_url": "https://registry.npmjs.org/jshint/-/jshint-2.9.2.tgz", @@ -11524,6 +11741,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/json-schema@0.2.2", "repository_homepage_url": "https://www.npmjs.com/package/json-schema", "repository_download_url": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.2.tgz", @@ -11559,6 +11777,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/json-stringify-safe@5.0.1", "repository_homepage_url": "https://www.npmjs.com/package/json-stringify-safe", "repository_download_url": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", @@ -11594,6 +11813,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/jsonfile@2.3.1", "repository_homepage_url": "https://www.npmjs.com/package/jsonfile", "repository_download_url": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.3.1.tgz", @@ -11629,6 +11849,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/jsonlint@1.6.2", "repository_homepage_url": "https://www.npmjs.com/package/jsonlint", "repository_download_url": "https://registry.npmjs.org/jsonlint/-/jsonlint-1.6.2.tgz", @@ -11664,6 +11885,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/jsonpointer@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/jsonpointer", "repository_download_url": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-2.0.0.tgz", @@ -11699,6 +11921,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/jsprim@1.3.0", "repository_homepage_url": "https://www.npmjs.com/package/jsprim", "repository_download_url": "https://registry.npmjs.org/jsprim/-/jsprim-1.3.0.tgz", @@ -11734,6 +11957,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/jstransformer@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/jstransformer", "repository_download_url": "https://registry.npmjs.org/jstransformer/-/jstransformer-1.0.0.tgz", @@ -11769,6 +11993,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/JSV@4.0.2", "repository_homepage_url": "https://www.npmjs.com/package/JSV", "repository_download_url": "https://registry.npmjs.org/JSV/-/JSV-4.0.2.tgz", @@ -11804,6 +12029,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/kew@0.7.0", "repository_homepage_url": "https://www.npmjs.com/package/kew", "repository_download_url": "https://registry.npmjs.org/kew/-/kew-0.7.0.tgz", @@ -11839,6 +12065,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/kind-of@3.0.3", "repository_homepage_url": "https://www.npmjs.com/package/kind-of", "repository_download_url": "https://registry.npmjs.org/kind-of/-/kind-of-3.0.3.tgz", @@ -11874,6 +12101,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/klaw@1.3.0", "repository_homepage_url": "https://www.npmjs.com/package/klaw", "repository_download_url": "https://registry.npmjs.org/klaw/-/klaw-1.3.0.tgz", @@ -11909,6 +12137,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/lazy-cache@1.0.4", "repository_homepage_url": "https://www.npmjs.com/package/lazy-cache", "repository_download_url": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz", @@ -11944,6 +12173,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/lazystream@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/lazystream", "repository_download_url": "https://registry.npmjs.org/lazystream/-/lazystream-1.0.0.tgz", @@ -11988,6 +12218,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/less@2.6.1", "repository_homepage_url": "https://www.npmjs.com/package/less", "repository_download_url": "https://registry.npmjs.org/less/-/less-2.6.1.tgz", @@ -12023,6 +12254,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/linkify-it@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/linkify-it", "repository_download_url": "https://registry.npmjs.org/linkify-it/-/linkify-it-2.0.0.tgz", @@ -12058,6 +12290,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/livereload-js@2.2.2", "repository_homepage_url": "https://www.npmjs.com/package/livereload-js", "repository_download_url": "https://registry.npmjs.org/livereload-js/-/livereload-js-2.2.2.tgz", @@ -12093,6 +12326,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/load-grunt-tasks@3.5.0", "repository_homepage_url": "https://www.npmjs.com/package/load-grunt-tasks", "repository_download_url": "https://registry.npmjs.org/load-grunt-tasks/-/load-grunt-tasks-3.5.0.tgz", @@ -12128,6 +12362,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/load-json-file@1.1.0", "repository_homepage_url": "https://www.npmjs.com/package/load-json-file", "repository_download_url": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", @@ -12163,6 +12398,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/lodash@3.10.1", "repository_homepage_url": "https://www.npmjs.com/package/lodash", "repository_download_url": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz", @@ -12198,6 +12434,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/longest@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/longest", "repository_download_url": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz", @@ -12233,6 +12470,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/loud-rejection@1.6.0", "repository_homepage_url": "https://www.npmjs.com/package/loud-rejection", "repository_download_url": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", @@ -12268,6 +12506,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/lower-case@1.1.3", "repository_homepage_url": "https://www.npmjs.com/package/lower-case", "repository_download_url": "https://registry.npmjs.org/lower-case/-/lower-case-1.1.3.tgz", @@ -12303,6 +12542,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/lower-case-first@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/lower-case-first", "repository_download_url": "https://registry.npmjs.org/lower-case-first/-/lower-case-first-1.0.2.tgz", @@ -12338,6 +12578,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/lru-cache@2.7.3", "repository_homepage_url": "https://www.npmjs.com/package/lru-cache", "repository_download_url": "https://registry.npmjs.org/lru-cache/-/lru-cache-2.7.3.tgz", @@ -12373,6 +12614,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/map-obj@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/map-obj", "repository_download_url": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", @@ -12417,6 +12659,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/markdown-it@7.0.0", "repository_homepage_url": "https://www.npmjs.com/package/markdown-it", "repository_download_url": "https://registry.npmjs.org/markdown-it/-/markdown-it-7.0.0.tgz", @@ -12461,6 +12704,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/maxmin@1.1.0", "repository_homepage_url": "https://www.npmjs.com/package/maxmin", "repository_download_url": "https://registry.npmjs.org/maxmin/-/maxmin-1.1.0.tgz", @@ -12496,6 +12740,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/mdurl@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/mdurl", "repository_download_url": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz", @@ -12531,6 +12776,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/media-typer@0.3.0", "repository_homepage_url": "https://www.npmjs.com/package/media-typer", "repository_download_url": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", @@ -12566,6 +12812,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/meow@3.7.0", "repository_homepage_url": "https://www.npmjs.com/package/meow", "repository_download_url": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", @@ -12601,6 +12848,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/mime@1.3.4", "repository_homepage_url": "https://www.npmjs.com/package/mime", "repository_download_url": "https://registry.npmjs.org/mime/-/mime-1.3.4.tgz", @@ -12636,6 +12884,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/mime-db@1.23.0", "repository_homepage_url": "https://www.npmjs.com/package/mime-db", "repository_download_url": "https://registry.npmjs.org/mime-db/-/mime-db-1.23.0.tgz", @@ -12671,6 +12920,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/mime-types@2.1.11", "repository_homepage_url": "https://www.npmjs.com/package/mime-types", "repository_download_url": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.11.tgz", @@ -12706,6 +12956,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/minimatch@3.0.2", "repository_homepage_url": "https://www.npmjs.com/package/minimatch", "repository_download_url": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.2.tgz", @@ -12741,6 +12992,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/minimist@1.2.0", "repository_homepage_url": "https://www.npmjs.com/package/minimist", "repository_download_url": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", @@ -12785,6 +13037,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/mkdirp@0.5.1", "repository_homepage_url": "https://www.npmjs.com/package/mkdirp", "repository_download_url": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", @@ -12820,6 +13073,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/morgan@1.7.0", "repository_homepage_url": "https://www.npmjs.com/package/morgan", "repository_download_url": "https://registry.npmjs.org/morgan/-/morgan-1.7.0.tgz", @@ -12855,6 +13109,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/ms@0.7.1", "repository_homepage_url": "https://www.npmjs.com/package/ms", "repository_download_url": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz", @@ -12890,6 +13145,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/multimatch@2.1.0", "repository_homepage_url": "https://www.npmjs.com/package/multimatch", "repository_download_url": "https://registry.npmjs.org/multimatch/-/multimatch-2.1.0.tgz", @@ -12925,6 +13181,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/mute-stream@0.0.6", "repository_homepage_url": "https://www.npmjs.com/package/mute-stream", "repository_download_url": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.6.tgz", @@ -12960,6 +13217,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/natural-compare@1.2.2", "repository_homepage_url": "https://www.npmjs.com/package/natural-compare", "repository_download_url": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.2.2.tgz", @@ -12995,6 +13253,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/ncname@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/ncname", "repository_download_url": "https://registry.npmjs.org/ncname/-/ncname-1.0.0.tgz", @@ -13030,6 +13289,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/ncp@0.4.2", "repository_homepage_url": "https://www.npmjs.com/package/ncp", "repository_download_url": "https://registry.npmjs.org/ncp/-/ncp-0.4.2.tgz", @@ -13065,6 +13325,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/negotiator@0.6.1", "repository_homepage_url": "https://www.npmjs.com/package/negotiator", "repository_download_url": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz", @@ -13100,6 +13361,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/no-case@2.3.0", "repository_homepage_url": "https://www.npmjs.com/package/no-case", "repository_download_url": "https://registry.npmjs.org/no-case/-/no-case-2.3.0.tgz", @@ -13135,6 +13397,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/node-int64@0.4.0", "repository_homepage_url": "https://www.npmjs.com/package/node-int64", "repository_download_url": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", @@ -13170,6 +13433,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/node-uuid@1.4.7", "repository_homepage_url": "https://www.npmjs.com/package/node-uuid", "repository_download_url": "https://registry.npmjs.org/node-uuid/-/node-uuid-1.4.7.tgz", @@ -13230,6 +13494,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/nomnom@1.8.1", "repository_homepage_url": "https://www.npmjs.com/package/nomnom", "repository_download_url": "https://registry.npmjs.org/nomnom/-/nomnom-1.8.1.tgz", @@ -13265,6 +13530,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/nopt@3.0.6", "repository_homepage_url": "https://www.npmjs.com/package/nopt", "repository_download_url": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz", @@ -13300,6 +13566,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/normalize-package-data@2.3.5", "repository_homepage_url": "https://www.npmjs.com/package/normalize-package-data", "repository_download_url": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.3.5.tgz", @@ -13335,6 +13602,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/normalize-path@2.0.1", "repository_homepage_url": "https://www.npmjs.com/package/normalize-path", "repository_download_url": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.0.1.tgz", @@ -13370,6 +13638,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/num2fraction@1.2.2", "repository_homepage_url": "https://www.npmjs.com/package/num2fraction", "repository_download_url": "https://registry.npmjs.org/num2fraction/-/num2fraction-1.2.2.tgz", @@ -13405,6 +13674,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/number-is-nan@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/number-is-nan", "repository_download_url": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.0.tgz", @@ -13440,6 +13710,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/oauth-sign@0.8.2", "repository_homepage_url": "https://www.npmjs.com/package/oauth-sign", "repository_download_url": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.2.tgz", @@ -13475,6 +13746,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/object-assign@4.1.0", "repository_homepage_url": "https://www.npmjs.com/package/object-assign", "repository_download_url": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.0.tgz", @@ -13510,6 +13782,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/on-finished@2.3.0", "repository_homepage_url": "https://www.npmjs.com/package/on-finished", "repository_download_url": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", @@ -13545,6 +13818,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/on-headers@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/on-headers", "repository_download_url": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.1.tgz", @@ -13580,6 +13854,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/once@1.3.3", "repository_homepage_url": "https://www.npmjs.com/package/once", "repository_download_url": "https://registry.npmjs.org/once/-/once-1.3.3.tgz", @@ -13615,6 +13890,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/opn@4.0.2", "repository_homepage_url": "https://www.npmjs.com/package/opn", "repository_download_url": "https://registry.npmjs.org/opn/-/opn-4.0.2.tgz", @@ -13650,6 +13926,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/os-tmpdir@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/os-tmpdir", "repository_download_url": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.1.tgz", @@ -13685,6 +13962,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/package@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/package", "repository_download_url": "https://registry.npmjs.org/package/-/package-1.0.1.tgz", @@ -13720,6 +13998,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pako@0.2.8", "repository_homepage_url": "https://www.npmjs.com/package/pako", "repository_download_url": "https://registry.npmjs.org/pako/-/pako-0.2.8.tgz", @@ -13755,6 +14034,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/param-case@2.1.0", "repository_homepage_url": "https://www.npmjs.com/package/param-case", "repository_download_url": "https://registry.npmjs.org/param-case/-/param-case-2.1.0.tgz", @@ -13790,6 +14070,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/parse-json@2.2.0", "repository_homepage_url": "https://www.npmjs.com/package/parse-json", "repository_download_url": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", @@ -13825,6 +14106,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/parse-ms@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/parse-ms", "repository_download_url": "https://registry.npmjs.org/parse-ms/-/parse-ms-1.0.1.tgz", @@ -13860,6 +14142,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/parserlib@0.2.5", "repository_homepage_url": "https://www.npmjs.com/package/parserlib", "repository_download_url": "https://registry.npmjs.org/parserlib/-/parserlib-0.2.5.tgz", @@ -13895,6 +14178,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/parseurl@1.3.1", "repository_homepage_url": "https://www.npmjs.com/package/parseurl", "repository_download_url": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.1.tgz", @@ -13930,6 +14214,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pascal-case@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/pascal-case", "repository_download_url": "https://registry.npmjs.org/pascal-case/-/pascal-case-2.0.0.tgz", @@ -13965,6 +14250,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/path-case@2.1.0", "repository_homepage_url": "https://www.npmjs.com/package/path-case", "repository_download_url": "https://registry.npmjs.org/path-case/-/path-case-2.1.0.tgz", @@ -14000,6 +14286,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/path-exists@2.1.0", "repository_homepage_url": "https://www.npmjs.com/package/path-exists", "repository_download_url": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", @@ -14035,6 +14322,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/path-is-absolute@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/path-is-absolute", "repository_download_url": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.0.tgz", @@ -14070,6 +14358,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/path-type@1.1.0", "repository_homepage_url": "https://www.npmjs.com/package/path-type", "repository_download_url": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", @@ -14105,6 +14394,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pathval@0.1.1", "repository_homepage_url": "https://www.npmjs.com/package/pathval", "repository_download_url": "https://registry.npmjs.org/pathval/-/pathval-0.1.1.tgz", @@ -14140,6 +14430,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pend@1.2.0", "repository_homepage_url": "https://www.npmjs.com/package/pend", "repository_download_url": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", @@ -14208,6 +14499,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/phantomjs@1.9.20", "repository_homepage_url": "https://www.npmjs.com/package/phantomjs", "repository_download_url": "https://registry.npmjs.org/phantomjs/-/phantomjs-1.9.20.tgz", @@ -14243,6 +14535,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pify@2.3.0", "repository_homepage_url": "https://www.npmjs.com/package/pify", "repository_download_url": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", @@ -14278,6 +14571,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pinkie@2.0.4", "repository_homepage_url": "https://www.npmjs.com/package/pinkie", "repository_download_url": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", @@ -14313,6 +14607,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pinkie-promise@2.0.1", "repository_homepage_url": "https://www.npmjs.com/package/pinkie-promise", "repository_download_url": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", @@ -14348,6 +14643,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pkg-up@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/pkg-up", "repository_download_url": "https://registry.npmjs.org/pkg-up/-/pkg-up-1.0.0.tgz", @@ -14383,6 +14679,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pkginfo@0.4.0", "repository_homepage_url": "https://www.npmjs.com/package/pkginfo", "repository_download_url": "https://registry.npmjs.org/pkginfo/-/pkginfo-0.4.0.tgz", @@ -14418,6 +14715,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/plur@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/plur", "repository_download_url": "https://registry.npmjs.org/plur/-/plur-1.0.0.tgz", @@ -14462,6 +14760,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/portscanner@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/portscanner", "repository_download_url": "https://registry.npmjs.org/portscanner/-/portscanner-1.0.0.tgz", @@ -14497,6 +14796,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/postcss@4.1.16", "repository_homepage_url": "https://www.npmjs.com/package/postcss", "repository_download_url": "https://registry.npmjs.org/postcss/-/postcss-4.1.16.tgz", @@ -14532,6 +14832,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pretty-bytes@3.0.1", "repository_homepage_url": "https://www.npmjs.com/package/pretty-bytes", "repository_download_url": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-3.0.1.tgz", @@ -14567,6 +14868,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pretty-ms@2.1.0", "repository_homepage_url": "https://www.npmjs.com/package/pretty-ms", "repository_download_url": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-2.1.0.tgz", @@ -14602,6 +14904,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/process-nextick-args@1.0.7", "repository_homepage_url": "https://www.npmjs.com/package/process-nextick-args", "repository_download_url": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz", @@ -14637,6 +14940,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/progress@1.1.8", "repository_homepage_url": "https://www.npmjs.com/package/progress", "repository_download_url": "https://registry.npmjs.org/progress/-/progress-1.1.8.tgz", @@ -14672,6 +14976,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/promise@7.1.1", "repository_homepage_url": "https://www.npmjs.com/package/promise", "repository_download_url": "https://registry.npmjs.org/promise/-/promise-7.1.1.tgz", @@ -14707,6 +15012,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/prompt@0.2.14", "repository_homepage_url": "https://www.npmjs.com/package/prompt", "repository_download_url": "https://registry.npmjs.org/prompt/-/prompt-0.2.14.tgz", @@ -14742,6 +15048,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/prr@0.0.0", "repository_homepage_url": "https://www.npmjs.com/package/prr", "repository_download_url": "https://registry.npmjs.org/prr/-/prr-0.0.0.tgz", @@ -14777,6 +15084,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pug@2.0.0-beta3", "repository_homepage_url": "https://www.npmjs.com/package/pug", "repository_download_url": "https://registry.npmjs.org/pug/-/pug-2.0.0-beta3.tgz", @@ -14812,6 +15120,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pug-attrs@2.0.1", "repository_homepage_url": "https://www.npmjs.com/package/pug-attrs", "repository_download_url": "https://registry.npmjs.org/pug-attrs/-/pug-attrs-2.0.1.tgz", @@ -14847,6 +15156,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pug-code-gen@0.0.7", "repository_homepage_url": "https://www.npmjs.com/package/pug-code-gen", "repository_download_url": "https://registry.npmjs.org/pug-code-gen/-/pug-code-gen-0.0.7.tgz", @@ -14882,6 +15192,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pug-error@1.3.1", "repository_homepage_url": "https://www.npmjs.com/package/pug-error", "repository_download_url": "https://registry.npmjs.org/pug-error/-/pug-error-1.3.1.tgz", @@ -14917,6 +15228,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pug-filters@1.2.2", "repository_homepage_url": "https://www.npmjs.com/package/pug-filters", "repository_download_url": "https://registry.npmjs.org/pug-filters/-/pug-filters-1.2.2.tgz", @@ -14952,6 +15264,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pug-lexer@2.0.2", "repository_homepage_url": "https://www.npmjs.com/package/pug-lexer", "repository_download_url": "https://registry.npmjs.org/pug-lexer/-/pug-lexer-2.0.2.tgz", @@ -14987,6 +15300,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pug-linker@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/pug-linker", "repository_download_url": "https://registry.npmjs.org/pug-linker/-/pug-linker-1.0.0.tgz", @@ -15022,6 +15336,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pug-load@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/pug-load", "repository_download_url": "https://registry.npmjs.org/pug-load/-/pug-load-2.0.0.tgz", @@ -15057,6 +15372,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pug-parser@2.0.1", "repository_homepage_url": "https://www.npmjs.com/package/pug-parser", "repository_download_url": "https://registry.npmjs.org/pug-parser/-/pug-parser-2.0.1.tgz", @@ -15092,6 +15408,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pug-runtime@2.0.1", "repository_homepage_url": "https://www.npmjs.com/package/pug-runtime", "repository_download_url": "https://registry.npmjs.org/pug-runtime/-/pug-runtime-2.0.1.tgz", @@ -15136,6 +15453,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pug-strip-comments@0.0.1", "repository_homepage_url": "https://www.npmjs.com/package/pug-strip-comments", "repository_download_url": "https://registry.npmjs.org/pug-strip-comments/-/pug-strip-comments-0.0.1.tgz", @@ -15171,6 +15489,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pug-walk@0.0.3", "repository_homepage_url": "https://www.npmjs.com/package/pug-walk", "repository_download_url": "https://registry.npmjs.org/pug-walk/-/pug-walk-0.0.3.tgz", @@ -15206,6 +15525,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/q@1.4.1", "repository_homepage_url": "https://www.npmjs.com/package/q", "repository_download_url": "https://registry.npmjs.org/q/-/q-1.4.1.tgz", @@ -15241,6 +15561,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/qs@6.2.0", "repository_homepage_url": "https://www.npmjs.com/package/qs", "repository_download_url": "https://registry.npmjs.org/qs/-/qs-6.2.0.tgz", @@ -15276,6 +15597,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/range-parser@1.2.0", "repository_homepage_url": "https://www.npmjs.com/package/range-parser", "repository_download_url": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz", @@ -15320,6 +15642,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/raw-body@2.1.7", "repository_homepage_url": "https://www.npmjs.com/package/raw-body", "repository_download_url": "https://registry.npmjs.org/raw-body/-/raw-body-2.1.7.tgz", @@ -15355,6 +15678,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/read@1.0.7", "repository_homepage_url": "https://www.npmjs.com/package/read", "repository_download_url": "https://registry.npmjs.org/read/-/read-1.0.7.tgz", @@ -15390,6 +15714,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/read-pkg@1.1.0", "repository_homepage_url": "https://www.npmjs.com/package/read-pkg", "repository_download_url": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", @@ -15425,6 +15750,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/read-pkg-up@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/read-pkg-up", "repository_download_url": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", @@ -15460,6 +15786,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/readable-stream@2.1.4", "repository_homepage_url": "https://www.npmjs.com/package/readable-stream", "repository_download_url": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.1.4.tgz", @@ -15495,6 +15822,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/rechoir@0.6.2", "repository_homepage_url": "https://www.npmjs.com/package/rechoir", "repository_download_url": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", @@ -15530,6 +15858,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/redent@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/redent", "repository_download_url": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz", @@ -15565,6 +15894,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/regenerator-runtime@0.9.5", "repository_homepage_url": "https://www.npmjs.com/package/regenerator-runtime", "repository_download_url": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.9.5.tgz", @@ -15600,6 +15930,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/relateurl@0.2.6", "repository_homepage_url": "https://www.npmjs.com/package/relateurl", "repository_download_url": "https://registry.npmjs.org/relateurl/-/relateurl-0.2.6.tgz", @@ -15635,6 +15966,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/repeat-string@1.5.4", "repository_homepage_url": "https://www.npmjs.com/package/repeat-string", "repository_download_url": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.5.4.tgz", @@ -15670,6 +16002,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/repeating@2.0.1", "repository_homepage_url": "https://www.npmjs.com/package/repeating", "repository_download_url": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", @@ -15705,6 +16038,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/request@2.73.0", "repository_homepage_url": "https://www.npmjs.com/package/request", "repository_download_url": "https://registry.npmjs.org/request/-/request-2.73.0.tgz", @@ -15740,6 +16074,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/request-progress@2.0.1", "repository_homepage_url": "https://www.npmjs.com/package/request-progress", "repository_download_url": "https://registry.npmjs.org/request-progress/-/request-progress-2.0.1.tgz", @@ -15775,6 +16110,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/requestretry@1.9.0", "repository_homepage_url": "https://www.npmjs.com/package/requestretry", "repository_download_url": "https://registry.npmjs.org/requestretry/-/requestretry-1.9.0.tgz", @@ -15810,6 +16146,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/reserved-words@0.1.1", "repository_homepage_url": "https://www.npmjs.com/package/reserved-words", "repository_download_url": "https://registry.npmjs.org/reserved-words/-/reserved-words-0.1.1.tgz", @@ -15845,6 +16182,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/resolve@1.1.7", "repository_homepage_url": "https://www.npmjs.com/package/resolve", "repository_download_url": "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz", @@ -15880,6 +16218,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/resolve-from@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/resolve-from", "repository_download_url": "https://registry.npmjs.org/resolve-from/-/resolve-from-2.0.0.tgz", @@ -15915,6 +16254,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/resolve-pkg@0.1.0", "repository_homepage_url": "https://www.npmjs.com/package/resolve-pkg", "repository_download_url": "https://registry.npmjs.org/resolve-pkg/-/resolve-pkg-0.1.0.tgz", @@ -15950,6 +16290,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/revalidator@0.1.8", "repository_homepage_url": "https://www.npmjs.com/package/revalidator", "repository_download_url": "https://registry.npmjs.org/revalidator/-/revalidator-0.1.8.tgz", @@ -15985,6 +16326,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/right-align@0.1.3", "repository_homepage_url": "https://www.npmjs.com/package/right-align", "repository_download_url": "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz", @@ -16020,6 +16362,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/rimraf@2.2.8", "repository_homepage_url": "https://www.npmjs.com/package/rimraf", "repository_download_url": "https://registry.npmjs.org/rimraf/-/rimraf-2.2.8.tgz", @@ -16055,6 +16398,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/sauce-tunnel@2.5.0", "repository_homepage_url": "https://www.npmjs.com/package/sauce-tunnel", "repository_download_url": "https://registry.npmjs.org/sauce-tunnel/-/sauce-tunnel-2.5.0.tgz", @@ -16090,6 +16434,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/saucelabs@1.2.0", "repository_homepage_url": "https://www.npmjs.com/package/saucelabs", "repository_download_url": "https://registry.npmjs.org/saucelabs/-/saucelabs-1.2.0.tgz", @@ -16125,6 +16470,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/semver@5.2.0", "repository_homepage_url": "https://www.npmjs.com/package/semver", "repository_download_url": "https://registry.npmjs.org/semver/-/semver-5.2.0.tgz", @@ -16160,6 +16506,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/send@0.14.1", "repository_homepage_url": "https://www.npmjs.com/package/send", "repository_download_url": "https://registry.npmjs.org/send/-/send-0.14.1.tgz", @@ -16195,6 +16542,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/sentence-case@2.1.0", "repository_homepage_url": "https://www.npmjs.com/package/sentence-case", "repository_download_url": "https://registry.npmjs.org/sentence-case/-/sentence-case-2.1.0.tgz", @@ -16230,6 +16578,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/serve-index@1.8.0", "repository_homepage_url": "https://www.npmjs.com/package/serve-index", "repository_download_url": "https://registry.npmjs.org/serve-index/-/serve-index-1.8.0.tgz", @@ -16265,6 +16614,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/serve-static@1.11.1", "repository_homepage_url": "https://www.npmjs.com/package/serve-static", "repository_download_url": "https://registry.npmjs.org/serve-static/-/serve-static-1.11.1.tgz", @@ -16300,6 +16650,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/setprototypeof@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/setprototypeof", "repository_download_url": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.0.1.tgz", @@ -16335,6 +16686,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/shelljs@0.7.0", "repository_homepage_url": "https://www.npmjs.com/package/shelljs", "repository_download_url": "https://registry.npmjs.org/shelljs/-/shelljs-0.7.0.tgz", @@ -16370,6 +16722,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/shx@0.1.2", "repository_homepage_url": "https://www.npmjs.com/package/shx", "repository_download_url": "https://registry.npmjs.org/shx/-/shx-0.1.2.tgz", @@ -16405,6 +16758,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/sigmund@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/sigmund", "repository_download_url": "https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz", @@ -16440,6 +16794,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/signal-exit@3.0.0", "repository_homepage_url": "https://www.npmjs.com/package/signal-exit", "repository_download_url": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.0.tgz", @@ -16475,6 +16830,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/snake-case@2.1.0", "repository_homepage_url": "https://www.npmjs.com/package/snake-case", "repository_download_url": "https://registry.npmjs.org/snake-case/-/snake-case-2.1.0.tgz", @@ -16510,6 +16866,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/sntp@1.0.9", "repository_homepage_url": "https://www.npmjs.com/package/sntp", "repository_download_url": "https://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz", @@ -16545,6 +16902,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/source-map@0.4.4", "repository_homepage_url": "https://www.npmjs.com/package/source-map", "repository_download_url": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", @@ -16589,6 +16947,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/source-map-support@0.4.1", "repository_homepage_url": "https://www.npmjs.com/package/source-map-support", "repository_download_url": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.1.tgz", @@ -16624,6 +16983,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/spdx-correct@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/spdx-correct", "repository_download_url": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-1.0.2.tgz", @@ -16659,6 +17019,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/spdx-exceptions@1.0.5", "repository_homepage_url": "https://www.npmjs.com/package/spdx-exceptions", "repository_download_url": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-1.0.5.tgz", @@ -16694,6 +17055,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/spdx-expression-parse@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/spdx-expression-parse", "repository_download_url": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-1.0.2.tgz", @@ -16729,6 +17091,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/spdx-license-ids@1.2.1", "repository_homepage_url": "https://www.npmjs.com/package/spdx-license-ids", "repository_download_url": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-1.2.1.tgz", @@ -16764,6 +17127,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/split@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/split", "repository_download_url": "https://registry.npmjs.org/split/-/split-1.0.0.tgz", @@ -16799,6 +17163,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/sprintf-js@1.0.3", "repository_homepage_url": "https://www.npmjs.com/package/sprintf-js", "repository_download_url": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", @@ -16843,6 +17208,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/sshpk@1.8.3", "repository_homepage_url": "https://www.npmjs.com/package/sshpk", "repository_download_url": "https://registry.npmjs.org/sshpk/-/sshpk-1.8.3.tgz", @@ -16878,6 +17244,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/stack-trace@0.0.9", "repository_homepage_url": "https://www.npmjs.com/package/stack-trace", "repository_download_url": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.9.tgz", @@ -16913,6 +17280,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/statuses@1.3.0", "repository_homepage_url": "https://www.npmjs.com/package/statuses", "repository_download_url": "https://registry.npmjs.org/statuses/-/statuses-1.3.0.tgz", @@ -16948,6 +17316,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/stream-buffers@2.2.0", "repository_homepage_url": "https://www.npmjs.com/package/stream-buffers", "repository_download_url": "https://registry.npmjs.org/stream-buffers/-/stream-buffers-2.2.0.tgz", @@ -16983,6 +17352,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/string_decoder@0.10.31", "repository_homepage_url": "https://www.npmjs.com/package/string_decoder", "repository_download_url": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", @@ -17018,6 +17388,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/stringstream@0.0.5", "repository_homepage_url": "https://www.npmjs.com/package/stringstream", "repository_download_url": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz", @@ -17053,6 +17424,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/strip-ansi@3.0.1", "repository_homepage_url": "https://www.npmjs.com/package/strip-ansi", "repository_download_url": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", @@ -17088,6 +17460,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/strip-bom@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/strip-bom", "repository_download_url": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", @@ -17123,6 +17496,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/strip-indent@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/strip-indent", "repository_download_url": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz", @@ -17158,6 +17532,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/strip-json-comments@1.0.4", "repository_homepage_url": "https://www.npmjs.com/package/strip-json-comments", "repository_download_url": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-1.0.4.tgz", @@ -17193,6 +17568,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/supports-color@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/supports-color", "repository_download_url": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", @@ -17228,6 +17604,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/swap-case@1.1.2", "repository_homepage_url": "https://www.npmjs.com/package/swap-case", "repository_download_url": "https://registry.npmjs.org/swap-case/-/swap-case-1.1.2.tgz", @@ -17263,6 +17640,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/tar-stream@1.5.2", "repository_homepage_url": "https://www.npmjs.com/package/tar-stream", "repository_download_url": "https://registry.npmjs.org/tar-stream/-/tar-stream-1.5.2.tgz", @@ -17298,6 +17676,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/temporary@0.0.8", "repository_homepage_url": "https://www.npmjs.com/package/temporary", "repository_download_url": "https://registry.npmjs.org/temporary/-/temporary-0.0.8.tgz", @@ -17333,6 +17712,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/text-table@0.2.0", "repository_homepage_url": "https://www.npmjs.com/package/text-table", "repository_download_url": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", @@ -17368,6 +17748,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/throttleit@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/throttleit", "repository_download_url": "https://registry.npmjs.org/throttleit/-/throttleit-1.0.0.tgz", @@ -17403,6 +17784,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/through@2.3.8", "repository_homepage_url": "https://www.npmjs.com/package/through", "repository_download_url": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", @@ -17438,6 +17820,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/time-grunt@1.3.0", "repository_homepage_url": "https://www.npmjs.com/package/time-grunt", "repository_download_url": "https://registry.npmjs.org/time-grunt/-/time-grunt-1.3.0.tgz", @@ -17482,6 +17865,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/tiny-lr@0.2.1", "repository_homepage_url": "https://www.npmjs.com/package/tiny-lr", "repository_download_url": "https://registry.npmjs.org/tiny-lr/-/tiny-lr-0.2.1.tgz", @@ -17517,6 +17901,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/title-case@2.1.0", "repository_homepage_url": "https://www.npmjs.com/package/title-case", "repository_download_url": "https://registry.npmjs.org/title-case/-/title-case-2.1.0.tgz", @@ -17552,6 +17937,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/tmp@0.0.28", "repository_homepage_url": "https://www.npmjs.com/package/tmp", "repository_download_url": "https://registry.npmjs.org/tmp/-/tmp-0.0.28.tgz", @@ -17587,6 +17973,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/to-double-quotes@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/to-double-quotes", "repository_download_url": "https://registry.npmjs.org/to-double-quotes/-/to-double-quotes-2.0.0.tgz", @@ -17622,6 +18009,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/to-single-quotes@2.0.1", "repository_homepage_url": "https://www.npmjs.com/package/to-single-quotes", "repository_download_url": "https://registry.npmjs.org/to-single-quotes/-/to-single-quotes-2.0.1.tgz", @@ -17657,6 +18045,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/token-stream@0.0.1", "repository_homepage_url": "https://www.npmjs.com/package/token-stream", "repository_download_url": "https://registry.npmjs.org/token-stream/-/token-stream-0.0.1.tgz", @@ -17692,6 +18081,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/tough-cookie@2.2.2", "repository_homepage_url": "https://www.npmjs.com/package/tough-cookie", "repository_download_url": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.2.2.tgz", @@ -17727,6 +18117,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/trim-newlines@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/trim-newlines", "repository_download_url": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", @@ -17762,6 +18153,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/tunnel-agent@0.4.3", "repository_homepage_url": "https://www.npmjs.com/package/tunnel-agent", "repository_download_url": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.3.tgz", @@ -17797,6 +18189,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/tweetnacl@0.13.3", "repository_homepage_url": "https://www.npmjs.com/package/tweetnacl", "repository_download_url": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.13.3.tgz", @@ -17832,6 +18225,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/type-is@1.6.13", "repository_homepage_url": "https://www.npmjs.com/package/type-is", "repository_download_url": "https://registry.npmjs.org/type-is/-/type-is-1.6.13.tgz", @@ -17867,6 +18261,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/typedarray@0.0.6", "repository_homepage_url": "https://www.npmjs.com/package/typedarray", "repository_download_url": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", @@ -17902,6 +18297,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/uc.micro@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/uc.micro", "repository_download_url": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.2.tgz", @@ -17954,6 +18350,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/uglify-js@2.6.4", "repository_homepage_url": "https://www.npmjs.com/package/uglify-js", "repository_download_url": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.6.4.tgz", @@ -17989,6 +18386,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/uglify-to-browserify@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/uglify-to-browserify", "repository_download_url": "https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz", @@ -18024,6 +18422,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/underscore@1.6.0", "repository_homepage_url": "https://www.npmjs.com/package/underscore", "repository_download_url": "https://registry.npmjs.org/underscore/-/underscore-1.6.0.tgz", @@ -18059,6 +18458,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/underscore.string@3.2.3", "repository_homepage_url": "https://www.npmjs.com/package/underscore.string", "repository_download_url": "https://registry.npmjs.org/underscore.string/-/underscore.string-3.2.3.tgz", @@ -18094,6 +18494,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/unpipe@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/unpipe", "repository_download_url": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", @@ -18129,6 +18530,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/upper-case@1.1.3", "repository_homepage_url": "https://www.npmjs.com/package/upper-case", "repository_download_url": "https://registry.npmjs.org/upper-case/-/upper-case-1.1.3.tgz", @@ -18164,6 +18566,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/upper-case-first@1.1.2", "repository_homepage_url": "https://www.npmjs.com/package/upper-case-first", "repository_download_url": "https://registry.npmjs.org/upper-case-first/-/upper-case-first-1.1.2.tgz", @@ -18199,6 +18602,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/uri-path@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/uri-path", "repository_download_url": "https://registry.npmjs.org/uri-path/-/uri-path-1.0.0.tgz", @@ -18234,6 +18638,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/util-deprecate@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/util-deprecate", "repository_download_url": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", @@ -18278,6 +18683,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/utile@0.2.1", "repository_homepage_url": "https://www.npmjs.com/package/utile", "repository_download_url": "https://registry.npmjs.org/utile/-/utile-0.2.1.tgz", @@ -18313,6 +18719,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/utils-merge@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/utils-merge", "repository_download_url": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.0.tgz", @@ -18348,6 +18755,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/uuid@2.0.2", "repository_homepage_url": "https://www.npmjs.com/package/uuid", "repository_download_url": "https://registry.npmjs.org/uuid/-/uuid-2.0.2.tgz", @@ -18383,6 +18791,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/validate-npm-package-license@3.0.1", "repository_homepage_url": "https://www.npmjs.com/package/validate-npm-package-license", "repository_download_url": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz", @@ -18418,6 +18827,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/verror@1.3.6", "repository_homepage_url": "https://www.npmjs.com/package/verror", "repository_download_url": "https://registry.npmjs.org/verror/-/verror-1.3.6.tgz", @@ -18453,6 +18863,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/void-elements@2.0.1", "repository_homepage_url": "https://www.npmjs.com/package/void-elements", "repository_download_url": "https://registry.npmjs.org/void-elements/-/void-elements-2.0.1.tgz", @@ -18488,6 +18899,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/vow@0.4.4", "repository_homepage_url": "https://www.npmjs.com/package/vow", "repository_download_url": "https://registry.npmjs.org/vow/-/vow-0.4.4.tgz", @@ -18548,6 +18960,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/vow-fs@0.3.2", "repository_homepage_url": "https://www.npmjs.com/package/vow-fs", "repository_download_url": "https://registry.npmjs.org/vow-fs/-/vow-fs-0.3.2.tgz", @@ -18583,6 +18996,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/vow-queue@0.3.1", "repository_homepage_url": "https://www.npmjs.com/package/vow-queue", "repository_download_url": "https://registry.npmjs.org/vow-queue/-/vow-queue-0.3.1.tgz", @@ -18618,6 +19032,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/websocket-driver@0.6.5", "repository_homepage_url": "https://www.npmjs.com/package/websocket-driver", "repository_download_url": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.6.5.tgz", @@ -18653,6 +19068,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/websocket-extensions@0.1.1", "repository_homepage_url": "https://www.npmjs.com/package/websocket-extensions", "repository_download_url": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.1.tgz", @@ -18688,6 +19104,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/when@3.7.7", "repository_homepage_url": "https://www.npmjs.com/package/when", "repository_download_url": "https://registry.npmjs.org/when/-/when-3.7.7.tgz", @@ -18723,6 +19140,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/which@1.2.10", "repository_homepage_url": "https://www.npmjs.com/package/which", "repository_download_url": "https://registry.npmjs.org/which/-/which-1.2.10.tgz", @@ -18758,6 +19176,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/window-size@0.1.0", "repository_homepage_url": "https://www.npmjs.com/package/window-size", "repository_download_url": "https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz", @@ -18818,6 +19237,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/winston@0.8.3", "repository_homepage_url": "https://www.npmjs.com/package/winston", "repository_download_url": "https://registry.npmjs.org/winston/-/winston-0.8.3.tgz", @@ -18853,6 +19273,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/with@5.1.1", "repository_homepage_url": "https://www.npmjs.com/package/with", "repository_download_url": "https://registry.npmjs.org/with/-/with-5.1.1.tgz", @@ -18888,6 +19309,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/wordwrap@0.0.2", "repository_homepage_url": "https://www.npmjs.com/package/wordwrap", "repository_download_url": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz", @@ -18923,6 +19345,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/wrappy@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/wrappy", "repository_download_url": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", @@ -18958,6 +19381,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/xml-char-classes@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/xml-char-classes", "repository_download_url": "https://registry.npmjs.org/xml-char-classes/-/xml-char-classes-1.0.0.tgz", @@ -18993,6 +19417,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/xmlbuilder@3.1.0", "repository_homepage_url": "https://www.npmjs.com/package/xmlbuilder", "repository_download_url": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-3.1.0.tgz", @@ -19028,6 +19453,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/xtend@4.0.1", "repository_homepage_url": "https://www.npmjs.com/package/xtend", "repository_download_url": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", @@ -19072,6 +19498,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/yargs@3.10.0", "repository_homepage_url": "https://www.npmjs.com/package/yargs", "repository_download_url": "https://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz", @@ -19107,6 +19534,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/yauzl@2.4.1", "repository_homepage_url": "https://www.npmjs.com/package/yauzl", "repository_download_url": "https://registry.npmjs.org/yauzl/-/yauzl-2.4.1.tgz", @@ -19151,6 +19579,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/zip-stream@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/zip-stream", "repository_download_url": "https://registry.npmjs.org/zip-stream/-/zip-stream-1.0.0.tgz", diff --git a/tests/packagedcode/data/npm/old_registry/package.json.expected b/tests/packagedcode/data/npm/old_registry/package.json.expected index 453e76551ac..396e45944f3 100644 --- a/tests/packagedcode/data/npm/old_registry/package.json.expected +++ b/tests/packagedcode/data/npm/old_registry/package.json.expected @@ -51,6 +51,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/automatta@0.0.1", "repository_homepage_url": "https://www.npmjs.com/package/automatta", "repository_download_url": "https://registry.npmjs.org/automatta/-/automatta-0.0.1.tgz", diff --git a/tests/packagedcode/data/npm/package-lock/package-lock.json-expected b/tests/packagedcode/data/npm/package-lock/package-lock.json-expected index b8960f5cc83..ccc17861386 100644 --- a/tests/packagedcode/data/npm/package-lock/package-lock.json-expected +++ b/tests/packagedcode/data/npm/package-lock/package-lock.json-expected @@ -246,6 +246,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-runtime@6.23.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-runtime", "repository_download_url": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.23.0.tgz", @@ -281,6 +282,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/core-js@2.5.0", "repository_homepage_url": "https://www.npmjs.com/package/core-js", "repository_download_url": "https://registry.npmjs.org/core-js/-/core-js-2.5.0.tgz", @@ -316,6 +318,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/regenerator-runtime@0.11.0", "repository_homepage_url": "https://www.npmjs.com/package/regenerator-runtime", "repository_download_url": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.0.tgz", @@ -351,6 +354,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/ansi-regex@2.1.1", "repository_homepage_url": "https://www.npmjs.com/package/ansi-regex", "repository_download_url": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", @@ -386,6 +390,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/ansi-styles@2.2.1", "repository_homepage_url": "https://www.npmjs.com/package/ansi-styles", "repository_download_url": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", @@ -446,6 +451,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-code-frame@6.22.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-code-frame", "repository_download_url": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.22.0.tgz", @@ -498,6 +504,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-helpers@6.24.1", "repository_homepage_url": "https://www.npmjs.com/package/babel-helpers", "repository_download_url": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz", @@ -542,6 +549,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-messages@6.23.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-messages", "repository_download_url": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", @@ -586,6 +594,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-runtime@6.23.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-runtime", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-runtime/-/babel-plugin-transform-runtime-6.23.0.tgz", @@ -630,6 +639,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-runtime@6.25.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-runtime", "repository_download_url": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.25.0.tgz", @@ -706,6 +716,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-template@6.25.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-template", "repository_download_url": "https://registry.npmjs.org/babel-template/-/babel-template-6.25.0.tgz", @@ -814,6 +825,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-traverse@6.25.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-traverse", "repository_download_url": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.25.0.tgz", @@ -882,6 +894,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-types@6.25.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-types", "repository_download_url": "https://registry.npmjs.org/babel-types/-/babel-types-6.25.0.tgz", @@ -917,6 +930,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babylon@6.18.0", "repository_homepage_url": "https://www.npmjs.com/package/babylon", "repository_download_url": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", @@ -993,6 +1007,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/chalk@1.1.3", "repository_homepage_url": "https://www.npmjs.com/package/chalk", "repository_download_url": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", @@ -1037,6 +1052,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/debug@2.6.8", "repository_homepage_url": "https://www.npmjs.com/package/debug", "repository_download_url": "https://registry.npmjs.org/debug/-/debug-2.6.8.tgz", @@ -1072,6 +1088,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/escape-string-regexp@1.0.5", "repository_homepage_url": "https://www.npmjs.com/package/escape-string-regexp", "repository_download_url": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", @@ -1107,6 +1124,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/esutils@2.0.2", "repository_homepage_url": "https://www.npmjs.com/package/esutils", "repository_download_url": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", @@ -1142,6 +1160,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/globals@9.18.0", "repository_homepage_url": "https://www.npmjs.com/package/globals", "repository_download_url": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz", @@ -1186,6 +1205,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/has-ansi@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/has-ansi", "repository_download_url": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", @@ -1230,6 +1250,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/invariant@2.2.2", "repository_homepage_url": "https://www.npmjs.com/package/invariant", "repository_download_url": "https://registry.npmjs.org/invariant/-/invariant-2.2.2.tgz", @@ -1265,6 +1286,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/js-tokens@3.0.2", "repository_homepage_url": "https://www.npmjs.com/package/js-tokens", "repository_download_url": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", @@ -1300,6 +1322,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/lodash@4.17.4", "repository_homepage_url": "https://www.npmjs.com/package/lodash", "repository_download_url": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz", @@ -1344,6 +1367,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/loose-envify@1.3.1", "repository_homepage_url": "https://www.npmjs.com/package/loose-envify", "repository_download_url": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz", @@ -1379,6 +1403,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/ms@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/ms", "repository_download_url": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", @@ -1423,6 +1448,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/strip-ansi@3.0.1", "repository_homepage_url": "https://www.npmjs.com/package/strip-ansi", "repository_download_url": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", @@ -1458,6 +1484,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/supports-color@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/supports-color", "repository_download_url": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", @@ -1493,6 +1520,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/to-fast-properties@1.0.3", "repository_homepage_url": "https://www.npmjs.com/package/to-fast-properties", "repository_download_url": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", diff --git a/tests/packagedcode/data/npm/repo_url/package.json.expected b/tests/packagedcode/data/npm/repo_url/package.json.expected index cb3b71f07c5..2272b1cb68b 100644 --- a/tests/packagedcode/data/npm/repo_url/package.json.expected +++ b/tests/packagedcode/data/npm/repo_url/package.json.expected @@ -301,6 +301,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/react-mobile-navigation-modal@0.1.0-rc.3", "repository_homepage_url": "https://www.npmjs.com/package/react-mobile-navigation-modal", "repository_download_url": "https://registry.npmjs.org/react-mobile-navigation-modal/-/react-mobile-navigation-modal-0.1.0-rc.3.tgz", diff --git a/tests/packagedcode/data/npm/scoped1/package.json.expected b/tests/packagedcode/data/npm/scoped1/package.json.expected index 8e892b3cc8e..9bd8da0466d 100644 --- a/tests/packagedcode/data/npm/scoped1/package.json.expected +++ b/tests/packagedcode/data/npm/scoped1/package.json.expected @@ -528,6 +528,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/%40ionic/app-scripts@3.0.1-201710301651", "repository_homepage_url": "https://www.npmjs.com/package/@ionic/app-scripts", "repository_download_url": "https://registry.npmjs.org/@ionic/app-scripts/-/app-scripts-3.0.1-201710301651.tgz", diff --git a/tests/packagedcode/data/npm/scoped2/package.json.expected b/tests/packagedcode/data/npm/scoped2/package.json.expected index 1629dd38b64..875a65e5d17 100644 --- a/tests/packagedcode/data/npm/scoped2/package.json.expected +++ b/tests/packagedcode/data/npm/scoped2/package.json.expected @@ -136,6 +136,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/%40invisionag/eslint-config-ivx@0.0.2", "repository_homepage_url": "https://www.npmjs.com/package/@invisionag/eslint-config-ivx", "repository_download_url": "https://registry.npmjs.org/@invisionag/eslint-config-ivx/-/eslint-config-ivx-0.0.2.tgz", diff --git a/tests/packagedcode/data/npm/sequelize/package.json.expected b/tests/packagedcode/data/npm/sequelize/package.json.expected index 6059137918d..e4fce08bad1 100644 --- a/tests/packagedcode/data/npm/sequelize/package.json.expected +++ b/tests/packagedcode/data/npm/sequelize/package.json.expected @@ -413,6 +413,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/sequelize@3.30.2", "repository_homepage_url": "https://www.npmjs.com/package/sequelize", "repository_download_url": "https://registry.npmjs.org/sequelize/-/sequelize-3.30.2.tgz", diff --git a/tests/packagedcode/data/npm/uri_vcs/package.json.expected b/tests/packagedcode/data/npm/uri_vcs/package.json.expected index f505d632218..48aebd8e21b 100644 --- a/tests/packagedcode/data/npm/uri_vcs/package.json.expected +++ b/tests/packagedcode/data/npm/uri_vcs/package.json.expected @@ -99,6 +99,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/npm2aur@0.1.3", "repository_homepage_url": "https://www.npmjs.com/package/npm2aur", "repository_download_url": "https://registry.npmjs.org/npm2aur/-/npm2aur-0.1.3.tgz", diff --git a/tests/packagedcode/data/npm/urls_dict/package.json.expected b/tests/packagedcode/data/npm/urls_dict/package.json.expected index 87f0549d0c8..e259a5c7acd 100644 --- a/tests/packagedcode/data/npm/urls_dict/package.json.expected +++ b/tests/packagedcode/data/npm/urls_dict/package.json.expected @@ -56,6 +56,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/jsonp-filter@0.0.3", "repository_homepage_url": "https://www.npmjs.com/package/jsonp-filter", "repository_download_url": "https://registry.npmjs.org/jsonp-filter/-/jsonp-filter-0.0.3.tgz", diff --git a/tests/packagedcode/data/npm/utils-merge-1.0.0/package.json.expected b/tests/packagedcode/data/npm/utils-merge-1.0.0/package.json.expected index f79958094fb..0e8d4f22d47 100644 --- a/tests/packagedcode/data/npm/utils-merge-1.0.0/package.json.expected +++ b/tests/packagedcode/data/npm/utils-merge-1.0.0/package.json.expected @@ -61,6 +61,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/utils-merge@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/utils-merge", "repository_download_url": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.0.tgz", diff --git a/tests/packagedcode/data/npm/with_name/package.json.expected b/tests/packagedcode/data/npm/with_name/package.json.expected index 2885bd9e70a..4fe36213f07 100644 --- a/tests/packagedcode/data/npm/with_name/package.json.expected +++ b/tests/packagedcode/data/npm/with_name/package.json.expected @@ -34,6 +34,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/bson", "repository_homepage_url": "https://www.npmjs.com/package/bson", "repository_download_url": "https://registry.npmjs.org/bson/-/bson-None.tgz", diff --git a/tests/packagedcode/data/npm/yarn-lock/yarn.lock-expected b/tests/packagedcode/data/npm/yarn-lock/yarn.lock-expected index 0d46061d755..d23b913f608 100644 --- a/tests/packagedcode/data/npm/yarn-lock/yarn.lock-expected +++ b/tests/packagedcode/data/npm/yarn-lock/yarn.lock-expected @@ -3718,6 +3718,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": "https://www.npmjs.com/package/None", "repository_download_url": "https://registry.npmjs.org/None/-/None-None.tgz", @@ -3753,6 +3754,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/abbrev@1.0.9", "repository_homepage_url": "https://www.npmjs.com/package/abbrev", "repository_download_url": "https://registry.npmjs.org/abbrev/-/abbrev-1.0.9.tgz", @@ -3797,6 +3799,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/ansi-align@1.1.0", "repository_homepage_url": "https://www.npmjs.com/package/ansi-align", "repository_download_url": "https://registry.npmjs.org/ansi-align/-/ansi-align-1.1.0.tgz", @@ -3832,6 +3835,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/ansi-regex@2.1.1", "repository_homepage_url": "https://www.npmjs.com/package/ansi-regex", "repository_download_url": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", @@ -3867,6 +3871,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/ansi-styles@2.2.1", "repository_homepage_url": "https://www.npmjs.com/package/ansi-styles", "repository_download_url": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", @@ -3902,6 +3907,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/ansi-styles@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/ansi-styles", "repository_download_url": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-1.0.0.tgz", @@ -3954,6 +3960,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/anymatch@1.3.0", "repository_homepage_url": "https://www.npmjs.com/package/anymatch", "repository_download_url": "https://registry.npmjs.org/anymatch/-/anymatch-1.3.0.tgz", @@ -3989,6 +3996,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/aproba@1.0.4", "repository_homepage_url": "https://www.npmjs.com/package/aproba", "repository_download_url": "https://registry.npmjs.org/aproba/-/aproba-1.0.4.tgz", @@ -4033,6 +4041,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/are-we-there-yet@1.1.2", "repository_homepage_url": "https://www.npmjs.com/package/are-we-there-yet", "repository_download_url": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.2.tgz", @@ -4077,6 +4086,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/arr-diff@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/arr-diff", "repository_download_url": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", @@ -4112,6 +4122,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/arr-exclude@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/arr-exclude", "repository_download_url": "https://registry.npmjs.org/arr-exclude/-/arr-exclude-1.0.0.tgz", @@ -4147,6 +4158,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/arr-flatten@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/arr-flatten", "repository_download_url": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.0.1.tgz", @@ -4182,6 +4194,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/array-differ@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/array-differ", "repository_download_url": "https://registry.npmjs.org/array-differ/-/array-differ-1.0.0.tgz", @@ -4217,6 +4230,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/array-find-index@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/array-find-index", "repository_download_url": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", @@ -4261,6 +4275,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/array-union@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/array-union", "repository_download_url": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", @@ -4296,6 +4311,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/array-uniq@1.0.3", "repository_homepage_url": "https://www.npmjs.com/package/array-uniq", "repository_download_url": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", @@ -4331,6 +4347,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/array-unique@0.2.1", "repository_homepage_url": "https://www.npmjs.com/package/array-unique", "repository_download_url": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", @@ -4366,6 +4383,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/arrify@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/arrify", "repository_download_url": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", @@ -4401,6 +4419,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/asn1@0.2.3", "repository_homepage_url": "https://www.npmjs.com/package/asn1", "repository_download_url": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz", @@ -4436,6 +4455,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/assert-plus@0.2.0", "repository_homepage_url": "https://www.npmjs.com/package/assert-plus", "repository_download_url": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.2.0.tgz", @@ -4471,6 +4491,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/assert-plus@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/assert-plus", "repository_download_url": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", @@ -4506,6 +4527,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/async-each@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/async-each", "repository_download_url": "https://registry.npmjs.org/async-each/-/async-each-1.0.1.tgz", @@ -4541,6 +4563,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/asynckit@0.4.0", "repository_homepage_url": "https://www.npmjs.com/package/asynckit", "repository_download_url": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", @@ -4576,6 +4599,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/auto-bind@0.1.0", "repository_homepage_url": "https://www.npmjs.com/package/auto-bind", "repository_download_url": "https://registry.npmjs.org/auto-bind/-/auto-bind-0.1.0.tgz", @@ -4668,6 +4692,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/ava-files@0.2.0", "repository_homepage_url": "https://www.npmjs.com/package/ava-files", "repository_download_url": "https://registry.npmjs.org/ava-files/-/ava-files-0.2.0.tgz", @@ -4752,6 +4777,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/ava-init@0.1.6", "repository_homepage_url": "https://www.npmjs.com/package/ava-init", "repository_download_url": "https://registry.npmjs.org/ava-init/-/ava-init-0.1.6.tgz", @@ -5388,6 +5414,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/ava@0.17.0", "repository_homepage_url": "https://www.npmjs.com/package/ava", "repository_download_url": "https://registry.npmjs.org/ava/-/ava-0.17.0.tgz", @@ -5423,6 +5450,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/aws-sign2@0.6.0", "repository_homepage_url": "https://www.npmjs.com/package/aws-sign2", "repository_download_url": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.6.0.tgz", @@ -5458,6 +5486,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/aws4@1.5.0", "repository_homepage_url": "https://www.npmjs.com/package/aws4", "repository_download_url": "https://registry.npmjs.org/aws4/-/aws4-1.5.0.tgz", @@ -5518,6 +5547,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-code-frame@6.20.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-code-frame", "repository_download_url": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.20.0.tgz", @@ -5706,6 +5736,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-core@6.21.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-core", "repository_download_url": "https://registry.npmjs.org/babel-core/-/babel-core-6.21.0.tgz", @@ -5798,6 +5829,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-generator@6.21.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-generator", "repository_download_url": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.21.0.tgz", @@ -5858,6 +5890,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-helper-bindify-decorators@6.18.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-helper-bindify-decorators", "repository_download_url": "https://registry.npmjs.org/babel-helper-bindify-decorators/-/babel-helper-bindify-decorators-6.18.0.tgz", @@ -5918,6 +5951,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-helper-builder-binary-assignment-operator-visitor@6.18.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-helper-builder-binary-assignment-operator-visitor", "repository_download_url": "https://registry.npmjs.org/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.18.0.tgz", @@ -5986,6 +6020,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-helper-call-delegate@6.18.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-helper-call-delegate", "repository_download_url": "https://registry.npmjs.org/babel-helper-call-delegate/-/babel-helper-call-delegate-6.18.0.tgz", @@ -6054,6 +6089,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-helper-define-map@6.18.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-helper-define-map", "repository_download_url": "https://registry.npmjs.org/babel-helper-define-map/-/babel-helper-define-map-6.18.0.tgz", @@ -6114,6 +6150,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-helper-explode-assignable-expression@6.18.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-helper-explode-assignable-expression", "repository_download_url": "https://registry.npmjs.org/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.18.0.tgz", @@ -6182,6 +6219,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-helper-explode-class@6.18.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-helper-explode-class", "repository_download_url": "https://registry.npmjs.org/babel-helper-explode-class/-/babel-helper-explode-class-6.18.0.tgz", @@ -6258,6 +6296,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-helper-function-name@6.18.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-helper-function-name", "repository_download_url": "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.18.0.tgz", @@ -6310,6 +6349,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-helper-get-function-arity@6.18.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-helper-get-function-arity", "repository_download_url": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.18.0.tgz", @@ -6362,6 +6402,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-helper-hoist-variables@6.18.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-helper-hoist-variables", "repository_download_url": "https://registry.npmjs.org/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.18.0.tgz", @@ -6414,6 +6455,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-helper-optimise-call-expression@6.18.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-helper-optimise-call-expression", "repository_download_url": "https://registry.npmjs.org/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.18.0.tgz", @@ -6474,6 +6516,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-helper-regex@6.18.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-helper-regex", "repository_download_url": "https://registry.npmjs.org/babel-helper-regex/-/babel-helper-regex-6.18.0.tgz", @@ -6550,6 +6593,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-helper-remap-async-to-generator@6.20.3", "repository_homepage_url": "https://www.npmjs.com/package/babel-helper-remap-async-to-generator", "repository_download_url": "https://registry.npmjs.org/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.20.3.tgz", @@ -6634,6 +6678,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-helper-replace-supers@6.18.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-helper-replace-supers", "repository_download_url": "https://registry.npmjs.org/babel-helper-replace-supers/-/babel-helper-replace-supers-6.18.0.tgz", @@ -6686,6 +6731,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-helpers@6.16.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-helpers", "repository_download_url": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.16.0.tgz", @@ -6730,6 +6776,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-messages@6.8.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-messages", "repository_download_url": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.8.0.tgz", @@ -6782,6 +6829,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-ava-throws-helper@0.1.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-ava-throws-helper", "repository_download_url": "https://registry.npmjs.org/babel-plugin-ava-throws-helper/-/babel-plugin-ava-throws-helper-0.1.0.tgz", @@ -6826,6 +6874,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-check-es2015-constants@6.8.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-check-es2015-constants", "repository_download_url": "https://registry.npmjs.org/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.8.0.tgz", @@ -6861,6 +6910,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-detective@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-detective", "repository_download_url": "https://registry.npmjs.org/babel-plugin-detective/-/babel-plugin-detective-2.0.0.tgz", @@ -6953,6 +7003,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-espower@2.3.2", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-espower", "repository_download_url": "https://registry.npmjs.org/babel-plugin-espower/-/babel-plugin-espower-2.3.2.tgz", @@ -6988,6 +7039,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-syntax-async-functions@6.13.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-syntax-async-functions", "repository_download_url": "https://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz", @@ -7023,6 +7075,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-syntax-async-generators@6.13.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-syntax-async-generators", "repository_download_url": "https://registry.npmjs.org/babel-plugin-syntax-async-generators/-/babel-plugin-syntax-async-generators-6.13.0.tgz", @@ -7058,6 +7111,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-syntax-class-properties@6.13.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-syntax-class-properties", "repository_download_url": "https://registry.npmjs.org/babel-plugin-syntax-class-properties/-/babel-plugin-syntax-class-properties-6.13.0.tgz", @@ -7093,6 +7147,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-syntax-decorators@6.13.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-syntax-decorators", "repository_download_url": "https://registry.npmjs.org/babel-plugin-syntax-decorators/-/babel-plugin-syntax-decorators-6.13.0.tgz", @@ -7128,6 +7183,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-syntax-dynamic-import@6.18.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-syntax-dynamic-import", "repository_download_url": "https://registry.npmjs.org/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz", @@ -7163,6 +7219,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-syntax-exponentiation-operator@6.13.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-syntax-exponentiation-operator", "repository_download_url": "https://registry.npmjs.org/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz", @@ -7198,6 +7255,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-syntax-object-rest-spread@6.13.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-syntax-object-rest-spread", "repository_download_url": "https://registry.npmjs.org/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz", @@ -7233,6 +7291,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-syntax-trailing-function-commas@6.20.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-syntax-trailing-function-commas", "repository_download_url": "https://registry.npmjs.org/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.20.0.tgz", @@ -7293,6 +7352,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-async-generator-functions@6.17.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-async-generator-functions", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-async-generator-functions/-/babel-plugin-transform-async-generator-functions-6.17.0.tgz", @@ -7353,6 +7413,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-async-to-generator@6.16.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-async-to-generator", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.16.0.tgz", @@ -7421,6 +7482,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-class-properties@6.19.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-class-properties", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-class-properties/-/babel-plugin-transform-class-properties-6.19.0.tgz", @@ -7505,6 +7567,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-decorators@6.13.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-decorators", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-decorators/-/babel-plugin-transform-decorators-6.13.0.tgz", @@ -7549,6 +7612,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-es2015-arrow-functions@6.8.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-es2015-arrow-functions", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.8.0.tgz", @@ -7593,6 +7657,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-es2015-block-scoped-functions@6.8.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-es2015-block-scoped-functions", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.8.0.tgz", @@ -7669,6 +7734,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-es2015-block-scoping@6.21.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-es2015-block-scoping", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.21.0.tgz", @@ -7777,6 +7843,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-es2015-classes@6.18.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-es2015-classes", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.18.0.tgz", @@ -7837,6 +7904,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-es2015-computed-properties@6.8.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-es2015-computed-properties", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.8.0.tgz", @@ -7881,6 +7949,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-es2015-destructuring@6.19.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-es2015-destructuring", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.19.0.tgz", @@ -7933,6 +8002,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-es2015-duplicate-keys@6.8.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-es2015-duplicate-keys", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.8.0.tgz", @@ -7977,6 +8047,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-es2015-for-of@6.18.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-es2015-for-of", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.18.0.tgz", @@ -8037,6 +8108,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-es2015-function-name@6.9.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-es2015-function-name", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.9.0.tgz", @@ -8081,6 +8153,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-es2015-literals@6.8.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-es2015-literals", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.8.0.tgz", @@ -8141,6 +8214,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-es2015-modules-amd@6.18.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-es2015-modules-amd", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.18.0.tgz", @@ -8209,6 +8283,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-es2015-modules-commonjs@6.18.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-es2015-modules-commonjs", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.18.0.tgz", @@ -8269,6 +8344,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-es2015-modules-systemjs@6.19.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-es2015-modules-systemjs", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.19.0.tgz", @@ -8329,6 +8405,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-es2015-modules-umd@6.18.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-es2015-modules-umd", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.18.0.tgz", @@ -8381,6 +8458,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-es2015-object-super@6.8.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-es2015-object-super", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.8.0.tgz", @@ -8465,6 +8543,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-es2015-parameters@6.21.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-es2015-parameters", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.21.0.tgz", @@ -8517,6 +8596,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-es2015-shorthand-properties@6.18.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-es2015-shorthand-properties", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.18.0.tgz", @@ -8561,6 +8641,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-es2015-spread@6.8.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-es2015-spread", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.8.0.tgz", @@ -8621,6 +8702,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-es2015-sticky-regex@6.8.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-es2015-sticky-regex", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.8.0.tgz", @@ -8665,6 +8747,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-es2015-template-literals@6.8.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-es2015-template-literals", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.8.0.tgz", @@ -8709,6 +8792,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-es2015-typeof-symbol@6.18.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-es2015-typeof-symbol", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.18.0.tgz", @@ -8769,6 +8853,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-es2015-unicode-regex@6.11.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-es2015-unicode-regex", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.11.0.tgz", @@ -8829,6 +8914,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-exponentiation-operator@6.8.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-exponentiation-operator", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.8.0.tgz", @@ -8881,6 +8967,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-object-rest-spread@6.20.2", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-object-rest-spread", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.20.2.tgz", @@ -8925,6 +9012,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-regenerator@6.21.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-regenerator", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.21.0.tgz", @@ -8969,6 +9057,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-runtime@6.15.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-runtime", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-runtime/-/babel-plugin-transform-runtime-6.15.0.tgz", @@ -9021,6 +9110,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-plugin-transform-strict-mode@6.18.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-plugin-transform-strict-mode", "repository_download_url": "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.18.0.tgz", @@ -9121,6 +9211,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-preset-es2015-node4@2.1.1", "repository_homepage_url": "https://www.npmjs.com/package/babel-preset-es2015-node4", "repository_download_url": "https://registry.npmjs.org/babel-preset-es2015-node4/-/babel-preset-es2015-node4-2.1.1.tgz", @@ -9349,6 +9440,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-preset-es2015@6.18.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-preset-es2015", "repository_download_url": "https://registry.npmjs.org/babel-preset-es2015/-/babel-preset-es2015-6.18.0.tgz", @@ -9417,6 +9509,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-preset-stage-2@6.18.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-preset-stage-2", "repository_download_url": "https://registry.npmjs.org/babel-preset-stage-2/-/babel-preset-stage-2-6.18.0.tgz", @@ -9493,6 +9586,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-preset-stage-3@6.17.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-preset-stage-3", "repository_download_url": "https://registry.npmjs.org/babel-preset-stage-3/-/babel-preset-stage-3-6.17.0.tgz", @@ -9585,6 +9679,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-register@6.18.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-register", "repository_download_url": "https://registry.npmjs.org/babel-register/-/babel-register-6.18.0.tgz", @@ -9637,6 +9732,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-runtime@6.20.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-runtime", "repository_download_url": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.20.0.tgz", @@ -9713,6 +9809,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-template@6.16.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-template", "repository_download_url": "https://registry.npmjs.org/babel-template/-/babel-template-6.16.0.tgz", @@ -9821,6 +9918,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-traverse@6.21.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-traverse", "repository_download_url": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.21.0.tgz", @@ -9889,6 +9987,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babel-types@6.21.0", "repository_homepage_url": "https://www.npmjs.com/package/babel-types", "repository_download_url": "https://registry.npmjs.org/babel-types/-/babel-types-6.21.0.tgz", @@ -9924,6 +10023,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/babylon@6.15.0", "repository_homepage_url": "https://www.npmjs.com/package/babylon", "repository_download_url": "https://registry.npmjs.org/babylon/-/babylon-6.15.0.tgz", @@ -9959,6 +10059,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/balanced-match@0.4.2", "repository_homepage_url": "https://www.npmjs.com/package/balanced-match", "repository_download_url": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz", @@ -10003,6 +10104,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/bcrypt-pbkdf@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/bcrypt-pbkdf", "repository_download_url": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.0.tgz", @@ -10038,6 +10140,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/binary-extensions@1.8.0", "repository_homepage_url": "https://www.npmjs.com/package/binary-extensions", "repository_download_url": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.8.0.tgz", @@ -10082,6 +10185,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/block-stream@0.0.9", "repository_homepage_url": "https://www.npmjs.com/package/block-stream", "repository_download_url": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz", @@ -10117,6 +10221,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/bluebird@3.4.7", "repository_homepage_url": "https://www.npmjs.com/package/bluebird", "repository_download_url": "https://registry.npmjs.org/bluebird/-/bluebird-3.4.7.tgz", @@ -10161,6 +10266,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/boom@2.10.1", "repository_homepage_url": "https://www.npmjs.com/package/boom", "repository_download_url": "https://registry.npmjs.org/boom/-/boom-2.10.1.tgz", @@ -10269,6 +10375,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/boxen@0.6.0", "repository_homepage_url": "https://www.npmjs.com/package/boxen", "repository_download_url": "https://registry.npmjs.org/boxen/-/boxen-0.6.0.tgz", @@ -10321,6 +10428,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/brace-expansion@1.1.6", "repository_homepage_url": "https://www.npmjs.com/package/brace-expansion", "repository_download_url": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.6.tgz", @@ -10381,6 +10489,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/braces@1.8.5", "repository_homepage_url": "https://www.npmjs.com/package/braces", "repository_download_url": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", @@ -10416,6 +10525,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/browser-stdout@1.3.0", "repository_homepage_url": "https://www.npmjs.com/package/browser-stdout", "repository_download_url": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.0.tgz", @@ -10451,6 +10561,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/buf-compare@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/buf-compare", "repository_download_url": "https://registry.npmjs.org/buf-compare/-/buf-compare-1.0.1.tgz", @@ -10486,6 +10597,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/buffer-shims@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/buffer-shims", "repository_download_url": "https://registry.npmjs.org/buffer-shims/-/buffer-shims-1.0.0.tgz", @@ -10521,6 +10633,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/builtin-modules@1.1.1", "repository_homepage_url": "https://www.npmjs.com/package/builtin-modules", "repository_download_url": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", @@ -10581,6 +10694,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/caching-transform@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/caching-transform", "repository_download_url": "https://registry.npmjs.org/caching-transform/-/caching-transform-1.0.1.tgz", @@ -10649,6 +10763,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/call-matcher@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/call-matcher", "repository_download_url": "https://registry.npmjs.org/call-matcher/-/call-matcher-1.0.1.tgz", @@ -10684,6 +10799,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/call-signature@0.0.2", "repository_homepage_url": "https://www.npmjs.com/package/call-signature", "repository_download_url": "https://registry.npmjs.org/call-signature/-/call-signature-0.0.2.tgz", @@ -10736,6 +10852,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/camelcase-keys@2.1.0", "repository_homepage_url": "https://www.npmjs.com/package/camelcase-keys", "repository_download_url": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", @@ -10771,6 +10888,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/camelcase@2.1.1", "repository_homepage_url": "https://www.npmjs.com/package/camelcase", "repository_download_url": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", @@ -10806,6 +10924,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/capture-stack-trace@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/capture-stack-trace", "repository_download_url": "https://registry.npmjs.org/capture-stack-trace/-/capture-stack-trace-1.0.0.tgz", @@ -10841,6 +10960,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/caseless@0.11.0", "repository_homepage_url": "https://www.npmjs.com/package/caseless", "repository_download_url": "https://registry.npmjs.org/caseless/-/caseless-0.11.0.tgz", @@ -10876,6 +10996,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/chainsaw@0.0.9", "repository_homepage_url": "https://www.npmjs.com/package/chainsaw", "repository_download_url": "https://registry.npmjs.org/chainsaw/-/chainsaw-0.0.9.tgz", @@ -10936,6 +11057,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/chalk@0.4.0", "repository_homepage_url": "https://www.npmjs.com/package/chalk", "repository_download_url": "https://registry.npmjs.org/chalk/-/chalk-0.4.0.tgz", @@ -11012,6 +11134,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/chalk@1.1.3", "repository_homepage_url": "https://www.npmjs.com/package/chalk", "repository_download_url": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", @@ -11120,6 +11243,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/chokidar@1.6.1", "repository_homepage_url": "https://www.npmjs.com/package/chokidar", "repository_download_url": "https://registry.npmjs.org/chokidar/-/chokidar-1.6.1.tgz", @@ -11155,6 +11279,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/ci-info@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/ci-info", "repository_download_url": "https://registry.npmjs.org/ci-info/-/ci-info-1.0.0.tgz", @@ -11190,6 +11315,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/clean-yaml-object@0.1.0", "repository_homepage_url": "https://www.npmjs.com/package/clean-yaml-object", "repository_download_url": "https://registry.npmjs.org/clean-yaml-object/-/clean-yaml-object-0.1.0.tgz", @@ -11225,6 +11351,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/cli-boxes@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/cli-boxes", "repository_download_url": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-1.0.0.tgz", @@ -11269,6 +11396,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/cli-cursor@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/cli-cursor", "repository_download_url": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-1.0.2.tgz", @@ -11304,6 +11432,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/cli-spinners@0.1.2", "repository_homepage_url": "https://www.npmjs.com/package/cli-spinners", "repository_download_url": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-0.1.2.tgz", @@ -11356,6 +11485,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/cli-truncate@0.2.1", "repository_homepage_url": "https://www.npmjs.com/package/cli-truncate", "repository_download_url": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-0.2.1.tgz", @@ -11400,6 +11530,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/co-with-promise@4.6.0", "repository_homepage_url": "https://www.npmjs.com/package/co-with-promise", "repository_download_url": "https://registry.npmjs.org/co-with-promise/-/co-with-promise-4.6.0.tgz", @@ -11435,6 +11566,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/code-point-at@1.1.0", "repository_homepage_url": "https://www.npmjs.com/package/code-point-at", "repository_download_url": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", @@ -11479,6 +11611,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/combined-stream@1.0.5", "repository_homepage_url": "https://www.npmjs.com/package/combined-stream", "repository_download_url": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.5.tgz", @@ -11514,6 +11647,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/commander@2.9.0", "repository_homepage_url": "https://www.npmjs.com/package/commander", "repository_download_url": "https://registry.npmjs.org/commander/-/commander-2.9.0.tgz", @@ -11549,6 +11683,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/common-path-prefix@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/common-path-prefix", "repository_download_url": "https://registry.npmjs.org/common-path-prefix/-/common-path-prefix-1.0.0.tgz", @@ -11584,6 +11719,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/commondir@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/commondir", "repository_download_url": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", @@ -11619,6 +11755,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/concat-map@0.0.1", "repository_homepage_url": "https://www.npmjs.com/package/concat-map", "repository_download_url": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -11727,6 +11864,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/configstore@2.1.0", "repository_homepage_url": "https://www.npmjs.com/package/configstore", "repository_download_url": "https://registry.npmjs.org/configstore/-/configstore-2.1.0.tgz", @@ -11762,6 +11900,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/console-control-strings@1.1.0", "repository_homepage_url": "https://www.npmjs.com/package/console-control-strings", "repository_download_url": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", @@ -11797,6 +11936,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/convert-source-map@1.3.0", "repository_homepage_url": "https://www.npmjs.com/package/convert-source-map", "repository_download_url": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.3.0.tgz", @@ -11849,6 +11989,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/core-assert@0.2.1", "repository_homepage_url": "https://www.npmjs.com/package/core-assert", "repository_download_url": "https://registry.npmjs.org/core-assert/-/core-assert-0.2.1.tgz", @@ -11884,6 +12025,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/core-js@2.4.1", "repository_homepage_url": "https://www.npmjs.com/package/core-js", "repository_download_url": "https://registry.npmjs.org/core-js/-/core-js-2.4.1.tgz", @@ -11919,6 +12061,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/core-util-is@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/core-util-is", "repository_download_url": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", @@ -11963,6 +12106,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/create-error-class@3.0.2", "repository_homepage_url": "https://www.npmjs.com/package/create-error-class", "repository_download_url": "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.2.tgz", @@ -12015,6 +12159,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/cross-spawn@4.0.2", "repository_homepage_url": "https://www.npmjs.com/package/cross-spawn", "repository_download_url": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-4.0.2.tgz", @@ -12059,6 +12204,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/cryptiles@2.0.5", "repository_homepage_url": "https://www.npmjs.com/package/cryptiles", "repository_download_url": "https://registry.npmjs.org/cryptiles/-/cryptiles-2.0.5.tgz", @@ -12103,6 +12249,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/currently-unhandled@0.4.1", "repository_homepage_url": "https://www.npmjs.com/package/currently-unhandled", "repository_download_url": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", @@ -12147,6 +12294,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/dashdash@1.14.1", "repository_homepage_url": "https://www.npmjs.com/package/dashdash", "repository_download_url": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", @@ -12182,6 +12330,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/date-time@0.1.1", "repository_homepage_url": "https://www.npmjs.com/package/date-time", "repository_download_url": "https://registry.npmjs.org/date-time/-/date-time-0.1.1.tgz", @@ -12226,6 +12375,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/debug@2.2.0", "repository_homepage_url": "https://www.npmjs.com/package/debug", "repository_download_url": "https://registry.npmjs.org/debug/-/debug-2.2.0.tgz", @@ -12261,6 +12411,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/decamelize@1.2.0", "repository_homepage_url": "https://www.npmjs.com/package/decamelize", "repository_download_url": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", @@ -12296,6 +12447,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/deep-equal@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/deep-equal", "repository_download_url": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.0.1.tgz", @@ -12331,6 +12483,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/deep-extend@0.4.1", "repository_homepage_url": "https://www.npmjs.com/package/deep-extend", "repository_download_url": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.4.1.tgz", @@ -12366,6 +12519,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/delayed-stream@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/delayed-stream", "repository_download_url": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", @@ -12401,6 +12555,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/delegates@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/delegates", "repository_download_url": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", @@ -12445,6 +12600,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/detect-indent@4.0.0", "repository_homepage_url": "https://www.npmjs.com/package/detect-indent", "repository_download_url": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz", @@ -12480,6 +12636,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/diff@1.4.0", "repository_homepage_url": "https://www.npmjs.com/package/diff", "repository_download_url": "https://registry.npmjs.org/diff/-/diff-1.4.0.tgz", @@ -12524,6 +12681,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/dot-prop@3.0.0", "repository_homepage_url": "https://www.npmjs.com/package/dot-prop", "repository_download_url": "https://registry.npmjs.org/dot-prop/-/dot-prop-3.0.0.tgz", @@ -12568,6 +12726,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/duplexer2@0.1.4", "repository_homepage_url": "https://www.npmjs.com/package/duplexer2", "repository_download_url": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", @@ -12603,6 +12762,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/eastasianwidth@0.1.1", "repository_homepage_url": "https://www.npmjs.com/package/eastasianwidth", "repository_download_url": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.1.1.tgz", @@ -12647,6 +12807,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/ecc-jsbn@0.1.1", "repository_homepage_url": "https://www.npmjs.com/package/ecc-jsbn", "repository_download_url": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz", @@ -12699,6 +12860,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/empower-core@0.6.1", "repository_homepage_url": "https://www.npmjs.com/package/empower-core", "repository_download_url": "https://registry.npmjs.org/empower-core/-/empower-core-0.6.1.tgz", @@ -12743,6 +12905,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/error-ex@1.3.0", "repository_homepage_url": "https://www.npmjs.com/package/error-ex", "repository_download_url": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.0.tgz", @@ -12778,6 +12941,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/escape-string-regexp@1.0.5", "repository_homepage_url": "https://www.npmjs.com/package/escape-string-regexp", "repository_download_url": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", @@ -12846,6 +13010,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/espower-location-detector@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/espower-location-detector", "repository_download_url": "https://registry.npmjs.org/espower-location-detector/-/espower-location-detector-1.0.0.tgz", @@ -12890,6 +13055,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/espurify@1.6.0", "repository_homepage_url": "https://www.npmjs.com/package/espurify", "repository_download_url": "https://registry.npmjs.org/espurify/-/espurify-1.6.0.tgz", @@ -12925,6 +13091,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/estraverse@4.2.0", "repository_homepage_url": "https://www.npmjs.com/package/estraverse", "repository_download_url": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz", @@ -12960,6 +13127,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/esutils@2.0.2", "repository_homepage_url": "https://www.npmjs.com/package/esutils", "repository_download_url": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", @@ -12995,6 +13163,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/exit-hook@1.1.1", "repository_homepage_url": "https://www.npmjs.com/package/exit-hook", "repository_download_url": "https://registry.npmjs.org/exit-hook/-/exit-hook-1.1.1.tgz", @@ -13039,6 +13208,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/expand-brackets@0.1.5", "repository_homepage_url": "https://www.npmjs.com/package/expand-brackets", "repository_download_url": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", @@ -13083,6 +13253,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/expand-range@1.8.2", "repository_homepage_url": "https://www.npmjs.com/package/expand-range", "repository_download_url": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz", @@ -13118,6 +13289,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/extend@3.0.0", "repository_homepage_url": "https://www.npmjs.com/package/extend", "repository_download_url": "https://registry.npmjs.org/extend/-/extend-3.0.0.tgz", @@ -13162,6 +13334,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/extglob@0.3.2", "repository_homepage_url": "https://www.npmjs.com/package/extglob", "repository_download_url": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", @@ -13197,6 +13370,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/extsprintf@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/extsprintf", "repository_download_url": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.0.2.tgz", @@ -13249,6 +13423,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/figures@1.7.0", "repository_homepage_url": "https://www.npmjs.com/package/figures", "repository_download_url": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", @@ -13284,6 +13459,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/filename-regex@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/filename-regex", "repository_download_url": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.0.tgz", @@ -13360,6 +13536,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/fill-range@2.2.3", "repository_homepage_url": "https://www.npmjs.com/package/fill-range", "repository_download_url": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.3.tgz", @@ -13395,6 +13572,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/filled-array@1.1.0", "repository_homepage_url": "https://www.npmjs.com/package/filled-array", "repository_download_url": "https://registry.npmjs.org/filled-array/-/filled-array-1.1.0.tgz", @@ -13455,6 +13633,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/find-cache-dir@0.1.1", "repository_homepage_url": "https://www.npmjs.com/package/find-cache-dir", "repository_download_url": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-0.1.1.tgz", @@ -13507,6 +13686,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/find-up@1.1.2", "repository_homepage_url": "https://www.npmjs.com/package/find-up", "repository_download_url": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", @@ -13551,6 +13731,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/findit@0.1.2", "repository_homepage_url": "https://www.npmjs.com/package/findit", "repository_download_url": "https://registry.npmjs.org/findit/-/findit-0.1.2.tgz", @@ -13586,6 +13767,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/fn-name@2.0.1", "repository_homepage_url": "https://www.npmjs.com/package/fn-name", "repository_download_url": "https://registry.npmjs.org/fn-name/-/fn-name-2.0.1.tgz", @@ -13621,6 +13803,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/for-in@0.1.6", "repository_homepage_url": "https://www.npmjs.com/package/for-in", "repository_download_url": "https://registry.npmjs.org/for-in/-/for-in-0.1.6.tgz", @@ -13665,6 +13848,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/for-own@0.1.4", "repository_homepage_url": "https://www.npmjs.com/package/for-own", "repository_download_url": "https://registry.npmjs.org/for-own/-/for-own-0.1.4.tgz", @@ -13700,6 +13884,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/forever-agent@0.6.1", "repository_homepage_url": "https://www.npmjs.com/package/forever-agent", "repository_download_url": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", @@ -13760,6 +13945,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/form-data@2.1.2", "repository_homepage_url": "https://www.npmjs.com/package/form-data", "repository_download_url": "https://registry.npmjs.org/form-data/-/form-data-2.1.2.tgz", @@ -13795,6 +13981,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/fs.realpath@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/fs.realpath", "repository_download_url": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", @@ -13847,6 +14034,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/fsevents@1.0.17", "repository_homepage_url": "https://www.npmjs.com/package/fsevents", "repository_download_url": "https://registry.npmjs.org/fsevents/-/fsevents-1.0.17.tgz", @@ -13907,6 +14095,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/fstream-ignore@1.0.5", "repository_homepage_url": "https://www.npmjs.com/package/fstream-ignore", "repository_download_url": "https://registry.npmjs.org/fstream-ignore/-/fstream-ignore-1.0.5.tgz", @@ -13967,6 +14156,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/fstream@1.0.10", "repository_homepage_url": "https://www.npmjs.com/package/fstream", "repository_download_url": "https://registry.npmjs.org/fstream/-/fstream-1.0.10.tgz", @@ -14075,6 +14265,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/gauge@2.7.2", "repository_homepage_url": "https://www.npmjs.com/package/gauge", "repository_download_url": "https://registry.npmjs.org/gauge/-/gauge-2.7.2.tgz", @@ -14110,6 +14301,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/generate-function@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/generate-function", "repository_download_url": "https://registry.npmjs.org/generate-function/-/generate-function-2.0.0.tgz", @@ -14154,6 +14346,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/generate-object-property@1.2.0", "repository_homepage_url": "https://www.npmjs.com/package/generate-object-property", "repository_download_url": "https://registry.npmjs.org/generate-object-property/-/generate-object-property-1.2.0.tgz", @@ -14189,6 +14382,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/gently@0.8.0", "repository_homepage_url": "https://www.npmjs.com/package/gently", "repository_download_url": "https://registry.npmjs.org/gently/-/gently-0.8.0.tgz", @@ -14233,6 +14427,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/get-port@2.1.0", "repository_homepage_url": "https://www.npmjs.com/package/get-port", "repository_download_url": "https://registry.npmjs.org/get-port/-/get-port-2.1.0.tgz", @@ -14268,6 +14463,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/get-stdin@4.0.1", "repository_homepage_url": "https://www.npmjs.com/package/get-stdin", "repository_download_url": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", @@ -14312,6 +14508,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/getpass@0.1.6", "repository_homepage_url": "https://www.npmjs.com/package/getpass", "repository_download_url": "https://registry.npmjs.org/getpass/-/getpass-0.1.6.tgz", @@ -14364,6 +14561,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/glob-base@0.3.0", "repository_homepage_url": "https://www.npmjs.com/package/glob-base", "repository_download_url": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz", @@ -14408,6 +14606,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/glob-parent@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/glob-parent", "repository_download_url": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", @@ -14492,6 +14691,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/glob@7.0.5", "repository_homepage_url": "https://www.npmjs.com/package/glob", "repository_download_url": "https://registry.npmjs.org/glob/-/glob-7.0.5.tgz", @@ -14527,6 +14727,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/globals@9.14.0", "repository_homepage_url": "https://www.npmjs.com/package/globals", "repository_download_url": "https://registry.npmjs.org/globals/-/globals-9.14.0.tgz", @@ -14603,6 +14804,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/globby@6.1.0", "repository_homepage_url": "https://www.npmjs.com/package/globby", "repository_download_url": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", @@ -14759,6 +14961,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/got@5.7.1", "repository_homepage_url": "https://www.npmjs.com/package/got", "repository_download_url": "https://registry.npmjs.org/got/-/got-5.7.1.tgz", @@ -14794,6 +14997,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/graceful-fs@4.1.11", "repository_homepage_url": "https://www.npmjs.com/package/graceful-fs", "repository_download_url": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", @@ -14829,6 +15033,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/graceful-readlink@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/graceful-readlink", "repository_download_url": "https://registry.npmjs.org/graceful-readlink/-/graceful-readlink-1.0.1.tgz", @@ -14864,6 +15069,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/growl@1.9.2", "repository_homepage_url": "https://www.npmjs.com/package/growl", "repository_download_url": "https://registry.npmjs.org/growl/-/growl-1.9.2.tgz", @@ -14932,6 +15138,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/har-validator@2.0.6", "repository_homepage_url": "https://www.npmjs.com/package/har-validator", "repository_download_url": "https://registry.npmjs.org/har-validator/-/har-validator-2.0.6.tgz", @@ -14976,6 +15183,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/has-ansi@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/has-ansi", "repository_download_url": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", @@ -15011,6 +15219,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/has-color@0.1.7", "repository_homepage_url": "https://www.npmjs.com/package/has-color", "repository_download_url": "https://registry.npmjs.org/has-color/-/has-color-0.1.7.tgz", @@ -15046,6 +15255,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/has-flag@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/has-flag", "repository_download_url": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", @@ -15081,6 +15291,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/has-flag@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/has-flag", "repository_download_url": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz", @@ -15116,6 +15327,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/has-unicode@2.0.1", "repository_homepage_url": "https://www.npmjs.com/package/has-unicode", "repository_download_url": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", @@ -15160,6 +15372,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/hashish@0.0.4", "repository_homepage_url": "https://www.npmjs.com/package/hashish", "repository_download_url": "https://registry.npmjs.org/hashish/-/hashish-0.0.4.tgz", @@ -15228,6 +15441,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/hawk@3.1.3", "repository_homepage_url": "https://www.npmjs.com/package/hawk", "repository_download_url": "https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz", @@ -15263,6 +15477,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/hoek@2.16.3", "repository_homepage_url": "https://www.npmjs.com/package/hoek", "repository_download_url": "https://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz", @@ -15315,6 +15530,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/home-or-tmp@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/home-or-tmp", "repository_download_url": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz", @@ -15350,6 +15566,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/hosted-git-info@2.1.5", "repository_homepage_url": "https://www.npmjs.com/package/hosted-git-info", "repository_download_url": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.1.5.tgz", @@ -15410,6 +15627,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/http-signature@1.1.1", "repository_homepage_url": "https://www.npmjs.com/package/http-signature", "repository_download_url": "https://registry.npmjs.org/http-signature/-/http-signature-1.1.1.tgz", @@ -15445,6 +15663,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/ignore-by-default@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/ignore-by-default", "repository_download_url": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", @@ -15480,6 +15699,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/imurmurhash@0.1.4", "repository_homepage_url": "https://www.npmjs.com/package/imurmurhash", "repository_download_url": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", @@ -15524,6 +15744,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/indent-string@2.1.0", "repository_homepage_url": "https://www.npmjs.com/package/indent-string", "repository_download_url": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", @@ -15576,6 +15797,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/inflight@1.0.6", "repository_homepage_url": "https://www.npmjs.com/package/inflight", "repository_download_url": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", @@ -15611,6 +15833,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/inherits@2.0.3", "repository_homepage_url": "https://www.npmjs.com/package/inherits", "repository_download_url": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", @@ -15646,6 +15869,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/ini@1.3.4", "repository_homepage_url": "https://www.npmjs.com/package/ini", "repository_download_url": "https://registry.npmjs.org/ini/-/ini-1.3.4.tgz", @@ -15690,6 +15914,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/invariant@2.2.2", "repository_homepage_url": "https://www.npmjs.com/package/invariant", "repository_download_url": "https://registry.npmjs.org/invariant/-/invariant-2.2.2.tgz", @@ -15725,6 +15950,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/irregular-plurals@1.2.0", "repository_homepage_url": "https://www.npmjs.com/package/irregular-plurals", "repository_download_url": "https://registry.npmjs.org/irregular-plurals/-/irregular-plurals-1.2.0.tgz", @@ -15760,6 +15986,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-arrayish@0.2.1", "repository_homepage_url": "https://www.npmjs.com/package/is-arrayish", "repository_download_url": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", @@ -15804,6 +16031,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-binary-path@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/is-binary-path", "repository_download_url": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz", @@ -15839,6 +16067,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-buffer@1.1.4", "repository_homepage_url": "https://www.npmjs.com/package/is-buffer", "repository_download_url": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.4.tgz", @@ -15883,6 +16112,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-builtin-module@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/is-builtin-module", "repository_download_url": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", @@ -15927,6 +16157,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-ci@1.0.10", "repository_homepage_url": "https://www.npmjs.com/package/is-ci", "repository_download_url": "https://registry.npmjs.org/is-ci/-/is-ci-1.0.10.tgz", @@ -15962,6 +16193,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-dotfile@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/is-dotfile", "repository_download_url": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.2.tgz", @@ -16006,6 +16238,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-equal-shallow@0.1.3", "repository_homepage_url": "https://www.npmjs.com/package/is-equal-shallow", "repository_download_url": "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz", @@ -16041,6 +16274,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-error@2.2.1", "repository_homepage_url": "https://www.npmjs.com/package/is-error", "repository_download_url": "https://registry.npmjs.org/is-error/-/is-error-2.2.1.tgz", @@ -16076,6 +16310,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-extendable@0.1.1", "repository_homepage_url": "https://www.npmjs.com/package/is-extendable", "repository_download_url": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", @@ -16111,6 +16346,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-extglob@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/is-extglob", "repository_download_url": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", @@ -16155,6 +16391,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-finite@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/is-finite", "repository_download_url": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz", @@ -16199,6 +16436,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-fullwidth-code-point@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/is-fullwidth-code-point", "repository_download_url": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", @@ -16234,6 +16472,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-generator-fn@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/is-generator-fn", "repository_download_url": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-1.0.0.tgz", @@ -16278,6 +16517,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-glob@2.0.1", "repository_homepage_url": "https://www.npmjs.com/package/is-glob", "repository_download_url": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", @@ -16346,6 +16586,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-my-json-valid@2.15.0", "repository_homepage_url": "https://www.npmjs.com/package/is-my-json-valid", "repository_download_url": "https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.15.0.tgz", @@ -16381,6 +16622,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-npm@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/is-npm", "repository_download_url": "https://registry.npmjs.org/is-npm/-/is-npm-1.0.0.tgz", @@ -16425,6 +16667,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-number@2.1.0", "repository_homepage_url": "https://www.npmjs.com/package/is-number", "repository_download_url": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz", @@ -16460,6 +16703,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-obj@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/is-obj", "repository_download_url": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", @@ -16504,6 +16748,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-observable@0.2.0", "repository_homepage_url": "https://www.npmjs.com/package/is-observable", "repository_download_url": "https://registry.npmjs.org/is-observable/-/is-observable-0.2.0.tgz", @@ -16539,6 +16784,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-plain-obj@1.1.0", "repository_homepage_url": "https://www.npmjs.com/package/is-plain-obj", "repository_download_url": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", @@ -16574,6 +16820,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-posix-bracket@0.1.1", "repository_homepage_url": "https://www.npmjs.com/package/is-posix-bracket", "repository_download_url": "https://registry.npmjs.org/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz", @@ -16609,6 +16856,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-primitive@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/is-primitive", "repository_download_url": "https://registry.npmjs.org/is-primitive/-/is-primitive-2.0.0.tgz", @@ -16644,6 +16892,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-promise@2.1.0", "repository_homepage_url": "https://www.npmjs.com/package/is-promise", "repository_download_url": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", @@ -16679,6 +16928,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-property@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/is-property", "repository_download_url": "https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz", @@ -16714,6 +16964,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-redirect@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/is-redirect", "repository_download_url": "https://registry.npmjs.org/is-redirect/-/is-redirect-1.0.0.tgz", @@ -16749,6 +17000,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-retry-allowed@1.1.0", "repository_homepage_url": "https://www.npmjs.com/package/is-retry-allowed", "repository_download_url": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz", @@ -16784,6 +17036,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-stream@1.1.0", "repository_homepage_url": "https://www.npmjs.com/package/is-stream", "repository_download_url": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", @@ -16819,6 +17072,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-typedarray@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/is-typedarray", "repository_download_url": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", @@ -16854,6 +17108,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-url@1.2.2", "repository_homepage_url": "https://www.npmjs.com/package/is-url", "repository_download_url": "https://registry.npmjs.org/is-url/-/is-url-1.2.2.tgz", @@ -16889,6 +17144,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/is-utf8@0.2.1", "repository_homepage_url": "https://www.npmjs.com/package/is-utf8", "repository_download_url": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", @@ -16924,6 +17180,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/isarray@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/isarray", "repository_download_url": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", @@ -16959,6 +17216,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/isexe@1.1.2", "repository_homepage_url": "https://www.npmjs.com/package/isexe", "repository_download_url": "https://registry.npmjs.org/isexe/-/isexe-1.1.2.tgz", @@ -17003,6 +17261,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/isobject@2.1.0", "repository_homepage_url": "https://www.npmjs.com/package/isobject", "repository_download_url": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", @@ -17038,6 +17297,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/isstream@0.1.2", "repository_homepage_url": "https://www.npmjs.com/package/isstream", "repository_download_url": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", @@ -17082,6 +17342,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/jodid25519@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/jodid25519", "repository_download_url": "https://registry.npmjs.org/jodid25519/-/jodid25519-1.0.2.tgz", @@ -17117,6 +17378,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/js-tokens@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/js-tokens", "repository_download_url": "https://registry.npmjs.org/js-tokens/-/js-tokens-2.0.0.tgz", @@ -17152,6 +17414,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/js-tokens@3.0.0", "repository_homepage_url": "https://www.npmjs.com/package/js-tokens", "repository_download_url": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.0.tgz", @@ -17187,6 +17450,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/jsbn@0.1.0", "repository_homepage_url": "https://www.npmjs.com/package/jsbn", "repository_download_url": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.0.tgz", @@ -17222,6 +17486,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/jsesc@1.3.0", "repository_homepage_url": "https://www.npmjs.com/package/jsesc", "repository_download_url": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", @@ -17257,6 +17522,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/jsesc@0.5.0", "repository_homepage_url": "https://www.npmjs.com/package/jsesc", "repository_download_url": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", @@ -17292,6 +17558,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/json-schema@0.2.3", "repository_homepage_url": "https://www.npmjs.com/package/json-schema", "repository_download_url": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", @@ -17327,6 +17594,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/json-stringify-safe@5.0.1", "repository_homepage_url": "https://www.npmjs.com/package/json-stringify-safe", "repository_download_url": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", @@ -17362,6 +17630,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/json3@3.3.2", "repository_homepage_url": "https://www.npmjs.com/package/json3", "repository_download_url": "https://registry.npmjs.org/json3/-/json3-3.3.2.tgz", @@ -17397,6 +17666,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/json5@0.5.1", "repository_homepage_url": "https://www.npmjs.com/package/json5", "repository_download_url": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz", @@ -17432,6 +17702,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/jsonpointer@4.0.1", "repository_homepage_url": "https://www.npmjs.com/package/jsonpointer", "repository_download_url": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-4.0.1.tgz", @@ -17492,6 +17763,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/jsprim@1.3.1", "repository_homepage_url": "https://www.npmjs.com/package/jsprim", "repository_download_url": "https://registry.npmjs.org/jsprim/-/jsprim-1.3.1.tgz", @@ -17536,6 +17808,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/kind-of@3.1.0", "repository_homepage_url": "https://www.npmjs.com/package/kind-of", "repository_download_url": "https://registry.npmjs.org/kind-of/-/kind-of-3.1.0.tgz", @@ -17580,6 +17853,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/last-line-stream@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/last-line-stream", "repository_download_url": "https://registry.npmjs.org/last-line-stream/-/last-line-stream-1.0.0.tgz", @@ -17624,6 +17898,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/latest-version@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/latest-version", "repository_download_url": "https://registry.npmjs.org/latest-version/-/latest-version-2.0.0.tgz", @@ -17659,6 +17934,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/lazy-req@1.1.0", "repository_homepage_url": "https://www.npmjs.com/package/lazy-req", "repository_download_url": "https://registry.npmjs.org/lazy-req/-/lazy-req-1.1.0.tgz", @@ -17735,6 +18011,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/load-json-file@1.1.0", "repository_homepage_url": "https://www.npmjs.com/package/load-json-file", "repository_download_url": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", @@ -17787,6 +18064,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/lodash._baseassign@3.2.0", "repository_homepage_url": "https://www.npmjs.com/package/lodash._baseassign", "repository_download_url": "https://registry.npmjs.org/lodash._baseassign/-/lodash._baseassign-3.2.0.tgz", @@ -17822,6 +18100,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/lodash._basecopy@3.0.1", "repository_homepage_url": "https://www.npmjs.com/package/lodash._basecopy", "repository_download_url": "https://registry.npmjs.org/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz", @@ -17857,6 +18136,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/lodash._basecreate@3.0.3", "repository_homepage_url": "https://www.npmjs.com/package/lodash._basecreate", "repository_download_url": "https://registry.npmjs.org/lodash._basecreate/-/lodash._basecreate-3.0.3.tgz", @@ -17892,6 +18172,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/lodash._getnative@3.9.1", "repository_homepage_url": "https://www.npmjs.com/package/lodash._getnative", "repository_download_url": "https://registry.npmjs.org/lodash._getnative/-/lodash._getnative-3.9.1.tgz", @@ -17927,6 +18208,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/lodash._isiterateecall@3.0.9", "repository_homepage_url": "https://www.npmjs.com/package/lodash._isiterateecall", "repository_download_url": "https://registry.npmjs.org/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz", @@ -17987,6 +18269,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/lodash.create@3.1.1", "repository_homepage_url": "https://www.npmjs.com/package/lodash.create", "repository_download_url": "https://registry.npmjs.org/lodash.create/-/lodash.create-3.1.1.tgz", @@ -18022,6 +18305,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/lodash.debounce@4.0.8", "repository_homepage_url": "https://www.npmjs.com/package/lodash.debounce", "repository_download_url": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", @@ -18057,6 +18341,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/lodash.difference@4.5.0", "repository_homepage_url": "https://www.npmjs.com/package/lodash.difference", "repository_download_url": "https://registry.npmjs.org/lodash.difference/-/lodash.difference-4.5.0.tgz", @@ -18092,6 +18377,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/lodash.flatten@4.4.0", "repository_homepage_url": "https://www.npmjs.com/package/lodash.flatten", "repository_download_url": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", @@ -18127,6 +18413,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/lodash.isarguments@3.1.0", "repository_homepage_url": "https://www.npmjs.com/package/lodash.isarguments", "repository_download_url": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", @@ -18162,6 +18449,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/lodash.isarray@3.0.4", "repository_homepage_url": "https://www.npmjs.com/package/lodash.isarray", "repository_download_url": "https://registry.npmjs.org/lodash.isarray/-/lodash.isarray-3.0.4.tgz", @@ -18197,6 +18485,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/lodash.isequal@4.5.0", "repository_homepage_url": "https://www.npmjs.com/package/lodash.isequal", "repository_download_url": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz", @@ -18257,6 +18546,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/lodash.keys@3.1.2", "repository_homepage_url": "https://www.npmjs.com/package/lodash.keys", "repository_download_url": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-3.1.2.tgz", @@ -18292,6 +18582,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/lodash@4.17.4", "repository_homepage_url": "https://www.npmjs.com/package/lodash", "repository_download_url": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz", @@ -18336,6 +18627,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/loose-envify@1.3.1", "repository_homepage_url": "https://www.npmjs.com/package/loose-envify", "repository_download_url": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz", @@ -18388,6 +18680,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/loud-rejection@1.6.0", "repository_homepage_url": "https://www.npmjs.com/package/loud-rejection", "repository_download_url": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", @@ -18423,6 +18716,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/lowercase-keys@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/lowercase-keys", "repository_download_url": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.0.tgz", @@ -18475,6 +18769,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/lru-cache@4.0.2", "repository_homepage_url": "https://www.npmjs.com/package/lru-cache", "repository_download_url": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.0.2.tgz", @@ -18510,6 +18805,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/map-obj@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/map-obj", "repository_download_url": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", @@ -18554,6 +18850,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/matcher@0.1.2", "repository_homepage_url": "https://www.npmjs.com/package/matcher", "repository_download_url": "https://registry.npmjs.org/matcher/-/matcher-0.1.2.tgz", @@ -18589,6 +18886,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/max-timeout@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/max-timeout", "repository_download_url": "https://registry.npmjs.org/max-timeout/-/max-timeout-1.0.0.tgz", @@ -18633,6 +18931,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/md5-hex@1.3.0", "repository_homepage_url": "https://www.npmjs.com/package/md5-hex", "repository_download_url": "https://registry.npmjs.org/md5-hex/-/md5-hex-1.3.0.tgz", @@ -18668,6 +18967,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/md5-o-matic@0.1.1", "repository_homepage_url": "https://www.npmjs.com/package/md5-o-matic", "repository_download_url": "https://registry.npmjs.org/md5-o-matic/-/md5-o-matic-0.1.1.tgz", @@ -18784,6 +19084,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/meow@3.7.0", "repository_homepage_url": "https://www.npmjs.com/package/meow", "repository_download_url": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", @@ -18924,6 +19225,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/micromatch@2.3.11", "repository_homepage_url": "https://www.npmjs.com/package/micromatch", "repository_download_url": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", @@ -18959,6 +19261,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/mime-db@1.26.0", "repository_homepage_url": "https://www.npmjs.com/package/mime-db", "repository_download_url": "https://registry.npmjs.org/mime-db/-/mime-db-1.26.0.tgz", @@ -19003,6 +19306,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/mime-types@2.1.14", "repository_homepage_url": "https://www.npmjs.com/package/mime-types", "repository_download_url": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.14.tgz", @@ -19047,6 +19351,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/minimatch@3.0.3", "repository_homepage_url": "https://www.npmjs.com/package/minimatch", "repository_download_url": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.3.tgz", @@ -19082,6 +19387,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/minimist@0.0.8", "repository_homepage_url": "https://www.npmjs.com/package/minimist", "repository_download_url": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", @@ -19117,6 +19423,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/minimist@1.2.0", "repository_homepage_url": "https://www.npmjs.com/package/minimist", "repository_download_url": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", @@ -19161,6 +19468,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/mkdirp@0.5.1", "repository_homepage_url": "https://www.npmjs.com/package/mkdirp", "repository_download_url": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", @@ -19285,6 +19593,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/mocha@3.2.0", "repository_homepage_url": "https://www.npmjs.com/package/mocha", "repository_download_url": "https://registry.npmjs.org/mocha/-/mocha-3.2.0.tgz", @@ -19320,6 +19629,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/ms@0.7.1", "repository_homepage_url": "https://www.npmjs.com/package/ms", "repository_download_url": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz", @@ -19388,6 +19698,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/multimatch@2.1.0", "repository_homepage_url": "https://www.npmjs.com/package/multimatch", "repository_download_url": "https://registry.npmjs.org/multimatch/-/multimatch-2.1.0.tgz", @@ -19423,6 +19734,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/nan@2.5.0", "repository_homepage_url": "https://www.npmjs.com/package/nan", "repository_download_url": "https://registry.npmjs.org/nan/-/nan-2.5.0.tgz", @@ -19531,6 +19843,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/node-pre-gyp@0.6.32", "repository_homepage_url": "https://www.npmjs.com/package/node-pre-gyp", "repository_download_url": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.6.32.tgz", @@ -19566,6 +19879,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/node-status-codes@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/node-status-codes", "repository_download_url": "https://registry.npmjs.org/node-status-codes/-/node-status-codes-1.0.0.tgz", @@ -19610,6 +19924,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/nopt@3.0.6", "repository_homepage_url": "https://www.npmjs.com/package/nopt", "repository_download_url": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz", @@ -19670,6 +19985,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/normalize-package-data@2.3.5", "repository_homepage_url": "https://www.npmjs.com/package/normalize-package-data", "repository_download_url": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.3.5.tgz", @@ -19705,6 +20021,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/normalize-path@2.0.1", "repository_homepage_url": "https://www.npmjs.com/package/normalize-path", "repository_download_url": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.0.1.tgz", @@ -19773,6 +20090,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/npmlog@4.0.2", "repository_homepage_url": "https://www.npmjs.com/package/npmlog", "repository_download_url": "https://registry.npmjs.org/npmlog/-/npmlog-4.0.2.tgz", @@ -19808,6 +20126,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/number-is-nan@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/number-is-nan", "repository_download_url": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", @@ -19843,6 +20162,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/oauth-sign@0.8.2", "repository_homepage_url": "https://www.npmjs.com/package/oauth-sign", "repository_download_url": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.2.tgz", @@ -19878,6 +20198,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/object-assign@4.1.1", "repository_homepage_url": "https://www.npmjs.com/package/object-assign", "repository_download_url": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", @@ -19930,6 +20251,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/object.omit@2.0.1", "repository_homepage_url": "https://www.npmjs.com/package/object.omit", "repository_download_url": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz", @@ -19982,6 +20304,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/observable-to-promise@0.4.0", "repository_homepage_url": "https://www.npmjs.com/package/observable-to-promise", "repository_download_url": "https://registry.npmjs.org/observable-to-promise/-/observable-to-promise-0.4.0.tgz", @@ -20026,6 +20349,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/once@1.4.0", "repository_homepage_url": "https://www.npmjs.com/package/once", "repository_download_url": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", @@ -20070,6 +20394,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/once@1.3.3", "repository_homepage_url": "https://www.npmjs.com/package/once", "repository_download_url": "https://registry.npmjs.org/once/-/once-1.3.3.tgz", @@ -20105,6 +20430,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/onetime@1.1.0", "repository_homepage_url": "https://www.npmjs.com/package/onetime", "repository_download_url": "https://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz", @@ -20149,6 +20475,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/option-chain@0.1.1", "repository_homepage_url": "https://www.npmjs.com/package/option-chain", "repository_download_url": "https://registry.npmjs.org/option-chain/-/option-chain-0.1.1.tgz", @@ -20184,6 +20511,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/os-homedir@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/os-homedir", "repository_download_url": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", @@ -20219,6 +20547,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/os-tmpdir@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/os-tmpdir", "repository_download_url": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", @@ -20271,6 +20600,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/osenv@0.1.4", "repository_homepage_url": "https://www.npmjs.com/package/osenv", "repository_download_url": "https://registry.npmjs.org/osenv/-/osenv-0.1.4.tgz", @@ -20315,6 +20645,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/package-hash@1.2.0", "repository_homepage_url": "https://www.npmjs.com/package/package-hash", "repository_download_url": "https://registry.npmjs.org/package-hash/-/package-hash-1.2.0.tgz", @@ -20383,6 +20714,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/package-json@2.4.0", "repository_homepage_url": "https://www.npmjs.com/package/package-json", "repository_download_url": "https://registry.npmjs.org/package-json/-/package-json-2.4.0.tgz", @@ -20451,6 +20783,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/parse-glob@3.0.4", "repository_homepage_url": "https://www.npmjs.com/package/parse-glob", "repository_download_url": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz", @@ -20495,6 +20828,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/parse-json@2.2.0", "repository_homepage_url": "https://www.npmjs.com/package/parse-json", "repository_download_url": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", @@ -20530,6 +20864,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/parse-ms@0.1.2", "repository_homepage_url": "https://www.npmjs.com/package/parse-ms", "repository_download_url": "https://registry.npmjs.org/parse-ms/-/parse-ms-0.1.2.tgz", @@ -20565,6 +20900,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/parse-ms@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/parse-ms", "repository_download_url": "https://registry.npmjs.org/parse-ms/-/parse-ms-1.0.1.tgz", @@ -20609,6 +20945,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/path-exists@2.1.0", "repository_homepage_url": "https://www.npmjs.com/package/path-exists", "repository_download_url": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", @@ -20644,6 +20981,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/path-is-absolute@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/path-is-absolute", "repository_download_url": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", @@ -20704,6 +21042,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/path-type@1.1.0", "repository_homepage_url": "https://www.npmjs.com/package/path-type", "repository_download_url": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", @@ -20739,6 +21078,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pify@2.3.0", "repository_homepage_url": "https://www.npmjs.com/package/pify", "repository_download_url": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", @@ -20783,6 +21123,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pinkie-promise@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/pinkie-promise", "repository_download_url": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-1.0.0.tgz", @@ -20827,6 +21168,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pinkie-promise@2.0.1", "repository_homepage_url": "https://www.npmjs.com/package/pinkie-promise", "repository_download_url": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", @@ -20862,6 +21204,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pinkie@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/pinkie", "repository_download_url": "https://registry.npmjs.org/pinkie/-/pinkie-1.0.0.tgz", @@ -20897,6 +21240,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pinkie@2.0.4", "repository_homepage_url": "https://www.npmjs.com/package/pinkie", "repository_download_url": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", @@ -20965,6 +21309,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pkg-conf@1.1.3", "repository_homepage_url": "https://www.npmjs.com/package/pkg-conf", "repository_download_url": "https://registry.npmjs.org/pkg-conf/-/pkg-conf-1.1.3.tgz", @@ -21009,6 +21354,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pkg-dir@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/pkg-dir", "repository_download_url": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-1.0.0.tgz", @@ -21044,6 +21390,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/plur@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/plur", "repository_download_url": "https://registry.npmjs.org/plur/-/plur-1.0.0.tgz", @@ -21088,6 +21435,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/plur@2.1.2", "repository_homepage_url": "https://www.npmjs.com/package/plur", "repository_download_url": "https://registry.npmjs.org/plur/-/plur-2.1.2.tgz", @@ -21140,6 +21488,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/power-assert-context-formatter@1.1.1", "repository_homepage_url": "https://www.npmjs.com/package/power-assert-context-formatter", "repository_download_url": "https://registry.npmjs.org/power-assert-context-formatter/-/power-assert-context-formatter-1.1.1.tgz", @@ -21192,6 +21541,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/power-assert-context-traversal@1.1.1", "repository_homepage_url": "https://www.npmjs.com/package/power-assert-context-traversal", "repository_download_url": "https://registry.npmjs.org/power-assert-context-traversal/-/power-assert-context-traversal-1.1.1.tgz", @@ -21244,6 +21594,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/power-assert-renderer-assertion@1.1.1", "repository_homepage_url": "https://www.npmjs.com/package/power-assert-renderer-assertion", "repository_download_url": "https://registry.npmjs.org/power-assert-renderer-assertion/-/power-assert-renderer-assertion-1.1.1.tgz", @@ -21279,6 +21630,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/power-assert-renderer-base@1.1.1", "repository_homepage_url": "https://www.npmjs.com/package/power-assert-renderer-base", "repository_download_url": "https://registry.npmjs.org/power-assert-renderer-base/-/power-assert-renderer-base-1.1.1.tgz", @@ -21347,6 +21699,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/power-assert-renderer-diagram@1.1.1", "repository_homepage_url": "https://www.npmjs.com/package/power-assert-renderer-diagram", "repository_download_url": "https://registry.npmjs.org/power-assert-renderer-diagram/-/power-assert-renderer-diagram-1.1.1.tgz", @@ -21399,6 +21752,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/power-assert-renderer-succinct@1.1.1", "repository_homepage_url": "https://www.npmjs.com/package/power-assert-renderer-succinct", "repository_download_url": "https://registry.npmjs.org/power-assert-renderer-succinct/-/power-assert-renderer-succinct-1.1.1.tgz", @@ -21443,6 +21797,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/power-assert-util-string-width@1.1.1", "repository_homepage_url": "https://www.npmjs.com/package/power-assert-util-string-width", "repository_download_url": "https://registry.npmjs.org/power-assert-util-string-width/-/power-assert-util-string-width-1.1.1.tgz", @@ -21478,6 +21833,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/prepend-http@1.0.4", "repository_homepage_url": "https://www.npmjs.com/package/prepend-http", "repository_download_url": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz", @@ -21513,6 +21869,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/preserve@0.2.0", "repository_homepage_url": "https://www.npmjs.com/package/preserve", "repository_download_url": "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz", @@ -21557,6 +21914,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pretty-ms@0.2.2", "repository_homepage_url": "https://www.npmjs.com/package/pretty-ms", "repository_download_url": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-0.2.2.tgz", @@ -21617,6 +21975,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pretty-ms@2.1.0", "repository_homepage_url": "https://www.npmjs.com/package/pretty-ms", "repository_download_url": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-2.1.0.tgz", @@ -21652,6 +22011,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/private@0.1.6", "repository_homepage_url": "https://www.npmjs.com/package/private", "repository_download_url": "https://registry.npmjs.org/private/-/private-0.1.6.tgz", @@ -21687,6 +22047,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/process-nextick-args@1.0.7", "repository_homepage_url": "https://www.npmjs.com/package/process-nextick-args", "repository_download_url": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz", @@ -21722,6 +22083,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/pseudomap@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/pseudomap", "repository_download_url": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", @@ -21757,6 +22119,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/punycode@1.4.1", "repository_homepage_url": "https://www.npmjs.com/package/punycode", "repository_download_url": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", @@ -21792,6 +22155,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/qs@6.3.0", "repository_homepage_url": "https://www.npmjs.com/package/qs", "repository_download_url": "https://registry.npmjs.org/qs/-/qs-6.3.0.tgz", @@ -21844,6 +22208,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/randomatic@1.1.6", "repository_homepage_url": "https://www.npmjs.com/package/randomatic", "repository_download_url": "https://registry.npmjs.org/randomatic/-/randomatic-1.1.6.tgz", @@ -21912,6 +22277,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/rc@1.1.6", "repository_homepage_url": "https://www.npmjs.com/package/rc", "repository_download_url": "https://registry.npmjs.org/rc/-/rc-1.1.6.tgz", @@ -21964,6 +22330,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/read-all-stream@3.1.0", "repository_homepage_url": "https://www.npmjs.com/package/read-all-stream", "repository_download_url": "https://registry.npmjs.org/read-all-stream/-/read-all-stream-3.1.0.tgz", @@ -22016,6 +22383,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/read-pkg-up@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/read-pkg-up", "repository_download_url": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", @@ -22076,6 +22444,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/read-pkg@1.1.0", "repository_homepage_url": "https://www.npmjs.com/package/read-pkg", "repository_download_url": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", @@ -22168,6 +22537,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/readable-stream@2.2.2", "repository_homepage_url": "https://www.npmjs.com/package/readable-stream", "repository_download_url": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.2.2.tgz", @@ -22260,6 +22630,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/readable-stream@2.1.5", "repository_homepage_url": "https://www.npmjs.com/package/readable-stream", "repository_download_url": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.1.5.tgz", @@ -22328,6 +22699,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/readdirp@2.1.0", "repository_homepage_url": "https://www.npmjs.com/package/readdirp", "repository_download_url": "https://registry.npmjs.org/readdirp/-/readdirp-2.1.0.tgz", @@ -22380,6 +22752,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/redent@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/redent", "repository_download_url": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz", @@ -22415,6 +22788,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/regenerate@1.3.2", "repository_homepage_url": "https://www.npmjs.com/package/regenerate", "repository_download_url": "https://registry.npmjs.org/regenerate/-/regenerate-1.3.2.tgz", @@ -22450,6 +22824,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/regenerator-runtime@0.10.1", "repository_homepage_url": "https://www.npmjs.com/package/regenerator-runtime", "repository_download_url": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.10.1.tgz", @@ -22510,6 +22885,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/regenerator-transform@0.9.8", "repository_homepage_url": "https://www.npmjs.com/package/regenerator-transform", "repository_download_url": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.9.8.tgz", @@ -22562,6 +22938,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/regex-cache@0.4.3", "repository_homepage_url": "https://www.npmjs.com/package/regex-cache", "repository_download_url": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.3.tgz", @@ -22622,6 +22999,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/regexpu-core@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/regexpu-core", "repository_download_url": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-2.0.0.tgz", @@ -22666,6 +23044,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/registry-auth-token@3.1.0", "repository_homepage_url": "https://www.npmjs.com/package/registry-auth-token", "repository_download_url": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.1.0.tgz", @@ -22710,6 +23089,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/registry-url@3.1.0", "repository_homepage_url": "https://www.npmjs.com/package/registry-url", "repository_download_url": "https://registry.npmjs.org/registry-url/-/registry-url-3.1.0.tgz", @@ -22745,6 +23125,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/regjsgen@0.2.0", "repository_homepage_url": "https://www.npmjs.com/package/regjsgen", "repository_download_url": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz", @@ -22789,6 +23170,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/regjsparser@0.1.5", "repository_homepage_url": "https://www.npmjs.com/package/regjsparser", "repository_download_url": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz", @@ -22824,6 +23206,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/repeat-element@1.1.2", "repository_homepage_url": "https://www.npmjs.com/package/repeat-element", "repository_download_url": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.2.tgz", @@ -22859,6 +23242,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/repeat-string@1.6.1", "repository_homepage_url": "https://www.npmjs.com/package/repeat-string", "repository_download_url": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", @@ -22903,6 +23287,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/repeating@2.0.1", "repository_homepage_url": "https://www.npmjs.com/package/repeating", "repository_download_url": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", @@ -23099,6 +23484,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/request@2.79.0", "repository_homepage_url": "https://www.npmjs.com/package/request", "repository_download_url": "https://registry.npmjs.org/request/-/request-2.79.0.tgz", @@ -23134,6 +23520,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/require-precompiled@0.1.0", "repository_homepage_url": "https://www.npmjs.com/package/require-precompiled", "repository_download_url": "https://registry.npmjs.org/require-precompiled/-/require-precompiled-0.1.0.tgz", @@ -23178,6 +23565,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/resolve-cwd@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/resolve-cwd", "repository_download_url": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-1.0.0.tgz", @@ -23213,6 +23601,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/resolve-from@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/resolve-from", "repository_download_url": "https://registry.npmjs.org/resolve-from/-/resolve-from-2.0.0.tgz", @@ -23265,6 +23654,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/restore-cursor@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/restore-cursor", "repository_download_url": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz", @@ -23309,6 +23699,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/rimraf@2.5.4", "repository_homepage_url": "https://www.npmjs.com/package/rimraf", "repository_download_url": "https://registry.npmjs.org/rimraf/-/rimraf-2.5.4.tgz", @@ -23353,6 +23744,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/semver-diff@2.1.0", "repository_homepage_url": "https://www.npmjs.com/package/semver-diff", "repository_download_url": "https://registry.npmjs.org/semver-diff/-/semver-diff-2.1.0.tgz", @@ -23388,6 +23780,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/semver@5.3.0", "repository_homepage_url": "https://www.npmjs.com/package/semver", "repository_download_url": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz", @@ -23423,6 +23816,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/seq@0.3.5", "repository_homepage_url": "https://www.npmjs.com/package/seq", "repository_download_url": "https://registry.npmjs.org/seq/-/seq-0.3.5.tgz", @@ -23458,6 +23852,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/set-blocking@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/set-blocking", "repository_download_url": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", @@ -23493,6 +23888,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/set-immediate-shim@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/set-immediate-shim", "repository_download_url": "https://registry.npmjs.org/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz", @@ -23528,6 +23924,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/signal-exit@3.0.2", "repository_homepage_url": "https://www.npmjs.com/package/signal-exit", "repository_download_url": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", @@ -23563,6 +23960,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/slash@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/slash", "repository_download_url": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz", @@ -23598,6 +23996,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/slice-ansi@0.0.4", "repository_homepage_url": "https://www.npmjs.com/package/slice-ansi", "repository_download_url": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-0.0.4.tgz", @@ -23633,6 +24032,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/slide@1.1.6", "repository_homepage_url": "https://www.npmjs.com/package/slide", "repository_download_url": "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz", @@ -23677,6 +24077,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/sntp@1.0.9", "repository_homepage_url": "https://www.npmjs.com/package/sntp", "repository_download_url": "https://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz", @@ -23721,6 +24122,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/sort-keys@1.1.2", "repository_homepage_url": "https://www.npmjs.com/package/sort-keys", "repository_download_url": "https://registry.npmjs.org/sort-keys/-/sort-keys-1.1.2.tgz", @@ -23765,6 +24167,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/source-map-support@0.4.9", "repository_homepage_url": "https://www.npmjs.com/package/source-map-support", "repository_download_url": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.9.tgz", @@ -23800,6 +24203,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/source-map@0.5.6", "repository_homepage_url": "https://www.npmjs.com/package/source-map", "repository_download_url": "https://registry.npmjs.org/source-map/-/source-map-0.5.6.tgz", @@ -23844,6 +24248,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/spdx-correct@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/spdx-correct", "repository_download_url": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-1.0.2.tgz", @@ -23879,6 +24284,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/spdx-expression-parse@1.0.4", "repository_homepage_url": "https://www.npmjs.com/package/spdx-expression-parse", "repository_download_url": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-1.0.4.tgz", @@ -23914,6 +24320,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/spdx-license-ids@1.2.2", "repository_homepage_url": "https://www.npmjs.com/package/spdx-license-ids", "repository_download_url": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-1.2.2.tgz", @@ -24022,6 +24429,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/sshpk@1.10.2", "repository_homepage_url": "https://www.npmjs.com/package/sshpk", "repository_download_url": "https://registry.npmjs.org/sshpk/-/sshpk-1.10.2.tgz", @@ -24057,6 +24465,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/stack-utils@0.4.0", "repository_homepage_url": "https://www.npmjs.com/package/stack-utils", "repository_download_url": "https://registry.npmjs.org/stack-utils/-/stack-utils-0.4.0.tgz", @@ -24117,6 +24526,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/string-width@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/string-width", "repository_download_url": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", @@ -24152,6 +24562,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/string_decoder@0.10.31", "repository_homepage_url": "https://www.npmjs.com/package/string_decoder", "repository_download_url": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", @@ -24212,6 +24623,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/stringifier@1.3.0", "repository_homepage_url": "https://www.npmjs.com/package/stringifier", "repository_download_url": "https://registry.npmjs.org/stringifier/-/stringifier-1.3.0.tgz", @@ -24247,6 +24659,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/stringstream@0.0.5", "repository_homepage_url": "https://www.npmjs.com/package/stringstream", "repository_download_url": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz", @@ -24291,6 +24704,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/strip-ansi@3.0.1", "repository_homepage_url": "https://www.npmjs.com/package/strip-ansi", "repository_download_url": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", @@ -24326,6 +24740,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/strip-ansi@0.1.1", "repository_homepage_url": "https://www.npmjs.com/package/strip-ansi", "repository_download_url": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.1.1.tgz", @@ -24370,6 +24785,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/strip-bom@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/strip-bom", "repository_download_url": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", @@ -24414,6 +24830,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/strip-indent@1.0.1", "repository_homepage_url": "https://www.npmjs.com/package/strip-indent", "repository_download_url": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz", @@ -24449,6 +24866,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/strip-json-comments@1.0.4", "repository_homepage_url": "https://www.npmjs.com/package/strip-json-comments", "repository_download_url": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-1.0.4.tgz", @@ -24493,6 +24911,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/supports-color@3.1.2", "repository_homepage_url": "https://www.npmjs.com/package/supports-color", "repository_download_url": "https://registry.npmjs.org/supports-color/-/supports-color-3.1.2.tgz", @@ -24528,6 +24947,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/supports-color@0.2.0", "repository_homepage_url": "https://www.npmjs.com/package/supports-color", "repository_download_url": "https://registry.npmjs.org/supports-color/-/supports-color-0.2.0.tgz", @@ -24563,6 +24983,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/supports-color@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/supports-color", "repository_download_url": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", @@ -24598,6 +25019,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/symbol-observable@0.2.4", "repository_homepage_url": "https://www.npmjs.com/package/symbol-observable", "repository_download_url": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-0.2.4.tgz", @@ -24633,6 +25055,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/symbol@0.2.3", "repository_homepage_url": "https://www.npmjs.com/package/symbol", "repository_download_url": "https://registry.npmjs.org/symbol/-/symbol-0.2.3.tgz", @@ -24733,6 +25156,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/tar-pack@3.3.0", "repository_homepage_url": "https://www.npmjs.com/package/tar-pack", "repository_download_url": "https://registry.npmjs.org/tar-pack/-/tar-pack-3.3.0.tgz", @@ -24793,6 +25217,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/tar@2.2.1", "repository_homepage_url": "https://www.npmjs.com/package/tar", "repository_download_url": "https://registry.npmjs.org/tar/-/tar-2.2.1.tgz", @@ -24828,6 +25253,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/text-table@0.2.0", "repository_homepage_url": "https://www.npmjs.com/package/text-table", "repository_download_url": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", @@ -24863,6 +25289,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/the-argv@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/the-argv", "repository_download_url": "https://registry.npmjs.org/the-argv/-/the-argv-1.0.0.tgz", @@ -24915,6 +25342,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/through2@2.0.3", "repository_homepage_url": "https://www.npmjs.com/package/through2", "repository_download_url": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz", @@ -24983,6 +25411,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/time-require@0.1.2", "repository_homepage_url": "https://www.npmjs.com/package/time-require", "repository_download_url": "https://registry.npmjs.org/time-require/-/time-require-0.1.2.tgz", @@ -25018,6 +25447,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/timed-out@3.1.3", "repository_homepage_url": "https://www.npmjs.com/package/timed-out", "repository_download_url": "https://registry.npmjs.org/timed-out/-/timed-out-3.1.3.tgz", @@ -25053,6 +25483,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/to-fast-properties@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/to-fast-properties", "repository_download_url": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.2.tgz", @@ -25097,6 +25528,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/tough-cookie@2.3.2", "repository_homepage_url": "https://www.npmjs.com/package/tough-cookie", "repository_download_url": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.2.tgz", @@ -25132,6 +25564,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/traverse@0.6.6", "repository_homepage_url": "https://www.npmjs.com/package/traverse", "repository_download_url": "https://registry.npmjs.org/traverse/-/traverse-0.6.6.tgz", @@ -25167,6 +25600,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/traverse@0.3.9", "repository_homepage_url": "https://www.npmjs.com/package/traverse", "repository_download_url": "https://registry.npmjs.org/traverse/-/traverse-0.3.9.tgz", @@ -25202,6 +25636,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/trim-newlines@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/trim-newlines", "repository_download_url": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", @@ -25237,6 +25672,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/tunnel-agent@0.4.3", "repository_homepage_url": "https://www.npmjs.com/package/tunnel-agent", "repository_download_url": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.3.tgz", @@ -25272,6 +25708,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/tweetnacl@0.14.5", "repository_homepage_url": "https://www.npmjs.com/package/tweetnacl", "repository_download_url": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", @@ -25307,6 +25744,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/type-name@2.0.2", "repository_homepage_url": "https://www.npmjs.com/package/type-name", "repository_download_url": "https://registry.npmjs.org/type-name/-/type-name-2.0.2.tgz", @@ -25342,6 +25780,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/uid-number@0.0.6", "repository_homepage_url": "https://www.npmjs.com/package/uid-number", "repository_download_url": "https://registry.npmjs.org/uid-number/-/uid-number-0.0.6.tgz", @@ -25377,6 +25816,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/uid2@0.0.3", "repository_homepage_url": "https://www.npmjs.com/package/uid2", "repository_download_url": "https://registry.npmjs.org/uid2/-/uid2-0.0.3.tgz", @@ -25437,6 +25877,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/unique-temp-dir@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/unique-temp-dir", "repository_download_url": "https://registry.npmjs.org/unique-temp-dir/-/unique-temp-dir-1.0.0.tgz", @@ -25472,6 +25913,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/unzip-response@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/unzip-response", "repository_download_url": "https://registry.npmjs.org/unzip-response/-/unzip-response-1.0.2.tgz", @@ -25572,6 +26014,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/update-notifier@1.0.3", "repository_homepage_url": "https://www.npmjs.com/package/update-notifier", "repository_download_url": "https://registry.npmjs.org/update-notifier/-/update-notifier-1.0.3.tgz", @@ -25616,6 +26059,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/url-parse-lax@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/url-parse-lax", "repository_download_url": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz", @@ -25660,6 +26104,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/urun@0.0.6", "repository_homepage_url": "https://www.npmjs.com/package/urun", "repository_download_url": "https://registry.npmjs.org/urun/-/urun-0.0.6.tgz", @@ -25695,6 +26140,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/utest@0.0.2", "repository_homepage_url": "https://www.npmjs.com/package/utest", "repository_download_url": "https://registry.npmjs.org/utest/-/utest-0.0.2.tgz", @@ -25730,6 +26176,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/utest@0.0.8", "repository_homepage_url": "https://www.npmjs.com/package/utest", "repository_download_url": "https://registry.npmjs.org/utest/-/utest-0.0.8.tgz", @@ -25765,6 +26212,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/util-deprecate@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/util-deprecate", "repository_download_url": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", @@ -25800,6 +26248,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/uuid@2.0.3", "repository_homepage_url": "https://www.npmjs.com/package/uuid", "repository_download_url": "https://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz", @@ -25835,6 +26284,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/uuid@3.0.1", "repository_homepage_url": "https://www.npmjs.com/package/uuid", "repository_download_url": "https://registry.npmjs.org/uuid/-/uuid-3.0.1.tgz", @@ -25887,6 +26337,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/validate-npm-package-license@3.0.1", "repository_homepage_url": "https://www.npmjs.com/package/validate-npm-package-license", "repository_download_url": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz", @@ -25931,6 +26382,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/verror@1.3.6", "repository_homepage_url": "https://www.npmjs.com/package/verror", "repository_download_url": "https://registry.npmjs.org/verror/-/verror-1.3.6.tgz", @@ -25975,6 +26427,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/which@1.2.12", "repository_homepage_url": "https://www.npmjs.com/package/which", "repository_download_url": "https://registry.npmjs.org/which/-/which-1.2.12.tgz", @@ -26019,6 +26472,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/wide-align@1.1.0", "repository_homepage_url": "https://www.npmjs.com/package/wide-align", "repository_download_url": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.0.tgz", @@ -26063,6 +26517,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/widest-line@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/widest-line", "repository_download_url": "https://registry.npmjs.org/widest-line/-/widest-line-1.0.0.tgz", @@ -26098,6 +26553,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/wrappy@1.0.2", "repository_homepage_url": "https://www.npmjs.com/package/wrappy", "repository_download_url": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", @@ -26158,6 +26614,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/write-file-atomic@1.3.1", "repository_homepage_url": "https://www.npmjs.com/package/write-file-atomic", "repository_download_url": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-1.3.1.tgz", @@ -26250,6 +26707,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/write-json-file@1.2.0", "repository_homepage_url": "https://www.npmjs.com/package/write-json-file", "repository_download_url": "https://registry.npmjs.org/write-json-file/-/write-json-file-1.2.0.tgz", @@ -26294,6 +26752,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/write-pkg@1.0.0", "repository_homepage_url": "https://www.npmjs.com/package/write-pkg", "repository_download_url": "https://registry.npmjs.org/write-pkg/-/write-pkg-1.0.0.tgz", @@ -26338,6 +26797,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/xdg-basedir@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/xdg-basedir", "repository_download_url": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-2.0.0.tgz", @@ -26373,6 +26833,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/xtend@4.0.1", "repository_homepage_url": "https://www.npmjs.com/package/xtend", "repository_download_url": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", @@ -26408,6 +26869,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/yallist@2.0.0", "repository_homepage_url": "https://www.npmjs.com/package/yallist", "repository_download_url": "https://registry.npmjs.org/yallist/-/yallist-2.0.0.tgz", diff --git a/tests/packagedcode/data/nuget/Castle.Core.nuspec.json.expected b/tests/packagedcode/data/nuget/Castle.Core.nuspec.json.expected index 81da21b2661..74eeb22f65e 100644 --- a/tests/packagedcode/data/nuget/Castle.Core.nuspec.json.expected +++ b/tests/packagedcode/data/nuget/Castle.Core.nuspec.json.expected @@ -43,6 +43,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:nuget/Castle.Core@4.2.1", "repository_homepage_url": "https://www.nuget.org/packages/Castle.Core/4.2.1", "repository_download_url": "https://www.nuget.org/api/v2/package/Castle.Core/4.2.1", diff --git a/tests/packagedcode/data/nuget/EntityFramework.nuspec.json.expected b/tests/packagedcode/data/nuget/EntityFramework.nuspec.json.expected index fcdad2c50e1..8c1cb38b5ae 100644 --- a/tests/packagedcode/data/nuget/EntityFramework.nuspec.json.expected +++ b/tests/packagedcode/data/nuget/EntityFramework.nuspec.json.expected @@ -43,6 +43,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:nuget/EntityFramework@6.1.3", "repository_homepage_url": "https://www.nuget.org/packages/EntityFramework/6.1.3", "repository_download_url": "https://www.nuget.org/api/v2/package/EntityFramework/6.1.3", diff --git a/tests/packagedcode/data/nuget/Microsoft.AspNet.Mvc.nuspec.json.expected b/tests/packagedcode/data/nuget/Microsoft.AspNet.Mvc.nuspec.json.expected index 75e1eece999..f5ce8536bfa 100644 --- a/tests/packagedcode/data/nuget/Microsoft.AspNet.Mvc.nuspec.json.expected +++ b/tests/packagedcode/data/nuget/Microsoft.AspNet.Mvc.nuspec.json.expected @@ -43,6 +43,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:nuget/Microsoft.AspNet.Mvc@6.0.0-beta7", "repository_homepage_url": "https://www.nuget.org/packages/Microsoft.AspNet.Mvc/6.0.0-beta7", "repository_download_url": "https://www.nuget.org/api/v2/package/Microsoft.AspNet.Mvc/6.0.0-beta7", diff --git a/tests/packagedcode/data/nuget/Microsoft.Net.Http.nuspec.json.expected b/tests/packagedcode/data/nuget/Microsoft.Net.Http.nuspec.json.expected index 2bf3f43a072..409b3e0d9ca 100644 --- a/tests/packagedcode/data/nuget/Microsoft.Net.Http.nuspec.json.expected +++ b/tests/packagedcode/data/nuget/Microsoft.Net.Http.nuspec.json.expected @@ -43,6 +43,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:nuget/Microsoft.Net.Http@2.2.29", "repository_homepage_url": "https://www.nuget.org/packages/Microsoft.Net.Http/2.2.29", "repository_download_url": "https://www.nuget.org/api/v2/package/Microsoft.Net.Http/2.2.29", diff --git a/tests/packagedcode/data/nuget/bootstrap.nuspec.json.expected b/tests/packagedcode/data/nuget/bootstrap.nuspec.json.expected index 550020cb0f4..f140fbcd50f 100644 --- a/tests/packagedcode/data/nuget/bootstrap.nuspec.json.expected +++ b/tests/packagedcode/data/nuget/bootstrap.nuspec.json.expected @@ -43,6 +43,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:nuget/bootstrap@4.0.0-alpha", "repository_homepage_url": "https://www.nuget.org/packages/bootstrap/4.0.0-alpha", "repository_download_url": "https://www.nuget.org/api/v2/package/bootstrap/4.0.0-alpha", diff --git a/tests/packagedcode/data/nuget/jQuery.UI.Combined.nuspec.json.expected b/tests/packagedcode/data/nuget/jQuery.UI.Combined.nuspec.json.expected index 933382a2a83..6096bde1e33 100644 --- a/tests/packagedcode/data/nuget/jQuery.UI.Combined.nuspec.json.expected +++ b/tests/packagedcode/data/nuget/jQuery.UI.Combined.nuspec.json.expected @@ -43,6 +43,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:nuget/jQuery.UI.Combined@1.11.4", "repository_homepage_url": "https://www.nuget.org/packages/jQuery.UI.Combined/1.11.4", "repository_download_url": "https://www.nuget.org/api/v2/package/jQuery.UI.Combined/1.11.4", diff --git a/tests/packagedcode/data/opam/sample1/output.opam.expected b/tests/packagedcode/data/opam/sample1/output.opam.expected index c79e01d25bc..97633b601ec 100644 --- a/tests/packagedcode/data/opam/sample1/output.opam.expected +++ b/tests/packagedcode/data/opam/sample1/output.opam.expected @@ -194,6 +194,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/opam/sample2/output.opam.expected b/tests/packagedcode/data/opam/sample2/output.opam.expected index 8339fe46d86..3c2d3043111 100644 --- a/tests/packagedcode/data/opam/sample2/output.opam.expected +++ b/tests/packagedcode/data/opam/sample2/output.opam.expected @@ -92,6 +92,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:opam/js_of_ocaml", "repository_homepage_url": "https://opam.ocaml.org/packages/js_of_ocaml", "repository_download_url": null, diff --git a/tests/packagedcode/data/opam/sample3/output.opam.expected b/tests/packagedcode/data/opam/sample3/output.opam.expected index 2436a5248d1..4581799aadf 100644 --- a/tests/packagedcode/data/opam/sample3/output.opam.expected +++ b/tests/packagedcode/data/opam/sample3/output.opam.expected @@ -82,6 +82,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/opam/sample4/output.opam.expected b/tests/packagedcode/data/opam/sample4/output.opam.expected index 16ebc4603ac..a31d55b28a6 100644 --- a/tests/packagedcode/data/opam/sample4/output.opam.expected +++ b/tests/packagedcode/data/opam/sample4/output.opam.expected @@ -83,6 +83,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/opam/sample5/output.opam.expected b/tests/packagedcode/data/opam/sample5/output.opam.expected index 309596cb0b2..60de56123a1 100644 --- a/tests/packagedcode/data/opam/sample5/output.opam.expected +++ b/tests/packagedcode/data/opam/sample5/output.opam.expected @@ -84,6 +84,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:opam/bap-elf@1.0.0", "repository_homepage_url": "https://opam.ocaml.org/packages/bap-elf", "repository_download_url": null, diff --git a/tests/packagedcode/data/opam/sample6/output.opam.expected b/tests/packagedcode/data/opam/sample6/output.opam.expected index eebac0435ac..c8621f8aef9 100644 --- a/tests/packagedcode/data/opam/sample6/output.opam.expected +++ b/tests/packagedcode/data/opam/sample6/output.opam.expected @@ -52,6 +52,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/opam/sample7/output.opam.expected b/tests/packagedcode/data/opam/sample7/output.opam.expected index c8bdcc5d058..1dc86bf2912 100644 --- a/tests/packagedcode/data/opam/sample7/output.opam.expected +++ b/tests/packagedcode/data/opam/sample7/output.opam.expected @@ -83,6 +83,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/opam/sample8/output.opam.expected b/tests/packagedcode/data/opam/sample8/output.opam.expected index 16ebc4603ac..a31d55b28a6 100644 --- a/tests/packagedcode/data/opam/sample8/output.opam.expected +++ b/tests/packagedcode/data/opam/sample8/output.opam.expected @@ -83,6 +83,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/phpcomposer/a-timer/composer.json.expected b/tests/packagedcode/data/phpcomposer/a-timer/composer.json.expected index f91b09f9c44..f28bd66ad32 100644 --- a/tests/packagedcode/data/phpcomposer/a-timer/composer.json.expected +++ b/tests/packagedcode/data/phpcomposer/a-timer/composer.json.expected @@ -69,6 +69,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/jandreasn/a-timer", "repository_homepage_url": "https://packagist.org/packages/jandreasn/a-timer", "repository_download_url": null, diff --git a/tests/packagedcode/data/phpcomposer/composer.lock-expected.json b/tests/packagedcode/data/phpcomposer/composer.lock-expected.json index b389924b5d6..a3fe3134e1d 100644 --- a/tests/packagedcode/data/phpcomposer/composer.lock-expected.json +++ b/tests/packagedcode/data/phpcomposer/composer.lock-expected.json @@ -270,6 +270,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": "https://packagist.org/packages/None", "repository_download_url": null, @@ -391,6 +392,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/doctrine/cache@v1.6.2", "repository_homepage_url": "https://packagist.org/packages/doctrine/cache", "repository_download_url": null, @@ -476,6 +478,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/guzzlehttp/cache-subscriber@0.2.0", "repository_homepage_url": "https://packagist.org/packages/guzzlehttp/cache-subscriber", "repository_download_url": null, @@ -569,6 +572,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/guzzlehttp/guzzle@5.3.3", "repository_homepage_url": "https://packagist.org/packages/guzzlehttp/guzzle", "repository_download_url": null, @@ -670,6 +674,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/guzzlehttp/ringphp@1.1.1", "repository_homepage_url": "https://packagist.org/packages/guzzlehttp/ringphp", "repository_download_url": null, @@ -739,6 +744,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/guzzlehttp/streams@3.0.0", "repository_homepage_url": "https://packagist.org/packages/guzzlehttp/streams", "repository_download_url": null, @@ -903,6 +909,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/prestashop/circuit-breaker@v3.0.0", "repository_homepage_url": "https://packagist.org/packages/prestashop/circuit-breaker", "repository_download_url": null, @@ -972,6 +979,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/react/promise@v2.7.1", "repository_homepage_url": "https://packagist.org/packages/react/promise", "repository_download_url": null, @@ -1047,6 +1055,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/symfony/css-selector@v3.4.31", "repository_homepage_url": "https://packagist.org/packages/symfony/css-selector", "repository_download_url": null, @@ -1138,6 +1147,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/composer/semver@1.5.0", "repository_homepage_url": "https://packagist.org/packages/composer/semver", "repository_download_url": null, @@ -1215,6 +1225,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/composer/xdebug-handler@1.3.3", "repository_homepage_url": "https://packagist.org/packages/composer/xdebug-handler", "repository_download_url": null, @@ -1328,6 +1339,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/doctrine/annotations@v1.4.0", "repository_homepage_url": "https://packagist.org/packages/doctrine/annotations", "repository_download_url": null, @@ -1411,6 +1423,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/doctrine/lexer@1.0.2", "repository_homepage_url": "https://packagist.org/packages/doctrine/lexer", "repository_download_url": null, @@ -1727,6 +1740,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/friendsofphp/php-cs-fixer@v2.15.3", "repository_homepage_url": "https://packagist.org/packages/friendsofphp/php-cs-fixer", "repository_download_url": null, @@ -1804,6 +1818,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/paragonie/random_compat@v2.0.18", "repository_homepage_url": "https://packagist.org/packages/paragonie/random_compat", "repository_download_url": null, @@ -1895,6 +1910,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/php-cs-fixer/diff@v1.3.0", "repository_homepage_url": "https://packagist.org/packages/php-cs-fixer/diff", "repository_download_url": null, @@ -1981,6 +1997,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/prestashop/php-coding-standards@dev-master", "repository_homepage_url": "https://packagist.org/packages/prestashop/php-coding-standards", "repository_download_url": null, @@ -2042,6 +2059,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/psr/log@1.1.0", "repository_homepage_url": "https://packagist.org/packages/psr/log", "repository_download_url": null, @@ -2135,6 +2153,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/squizlabs/php_codesniffer@3.4.2", "repository_homepage_url": "https://packagist.org/packages/squizlabs/php_codesniffer", "repository_download_url": null, @@ -2323,6 +2342,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/symfony/console@v3.4.31", "repository_homepage_url": "https://packagist.org/packages/symfony/console", "repository_download_url": null, @@ -2415,6 +2435,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/symfony/debug@v3.4.31", "repository_homepage_url": "https://packagist.org/packages/symfony/debug", "repository_download_url": null, @@ -2547,6 +2568,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/symfony/event-dispatcher@v3.4.31", "repository_homepage_url": "https://packagist.org/packages/symfony/event-dispatcher", "repository_download_url": null, @@ -2623,6 +2645,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/symfony/filesystem@v3.4.31", "repository_homepage_url": "https://packagist.org/packages/symfony/filesystem", "repository_download_url": null, @@ -2691,6 +2714,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/symfony/finder@v3.4.31", "repository_homepage_url": "https://packagist.org/packages/symfony/finder", "repository_download_url": null, @@ -2759,6 +2783,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/symfony/options-resolver@v3.4.31", "repository_homepage_url": "https://packagist.org/packages/symfony/options-resolver", "repository_download_url": null, @@ -2835,6 +2860,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/symfony/polyfill-ctype@v1.12.0", "repository_homepage_url": "https://packagist.org/packages/symfony/polyfill-ctype", "repository_download_url": null, @@ -2911,6 +2937,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/symfony/polyfill-mbstring@v1.12.0", "repository_homepage_url": "https://packagist.org/packages/symfony/polyfill-mbstring", "repository_download_url": null, @@ -2987,6 +3014,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/symfony/polyfill-php70@v1.12.0", "repository_homepage_url": "https://packagist.org/packages/symfony/polyfill-php70", "repository_download_url": null, @@ -3055,6 +3083,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/symfony/polyfill-php72@v1.12.0", "repository_homepage_url": "https://packagist.org/packages/symfony/polyfill-php72", "repository_download_url": null, @@ -3123,6 +3152,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/symfony/process@v3.4.31", "repository_homepage_url": "https://packagist.org/packages/symfony/process", "repository_download_url": null, @@ -3191,6 +3221,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/symfony/stopwatch@v3.4.31", "repository_homepage_url": "https://packagist.org/packages/symfony/stopwatch", "repository_download_url": null, diff --git a/tests/packagedcode/data/phpcomposer/fake/composer.json.expected b/tests/packagedcode/data/phpcomposer/fake/composer.json.expected index 6a7ac72e31c..18ab58a90c3 100644 --- a/tests/packagedcode/data/phpcomposer/fake/composer.json.expected +++ b/tests/packagedcode/data/phpcomposer/fake/composer.json.expected @@ -69,6 +69,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/fake/fake", "repository_homepage_url": "https://packagist.org/packages/fake/fake", "repository_download_url": null, diff --git a/tests/packagedcode/data/phpcomposer/fake2/composer.json.expected b/tests/packagedcode/data/phpcomposer/fake2/composer.json.expected index ad5e5dd81fd..85829f33fe2 100644 --- a/tests/packagedcode/data/phpcomposer/fake2/composer.json.expected +++ b/tests/packagedcode/data/phpcomposer/fake2/composer.json.expected @@ -72,6 +72,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/fake/fake", "repository_homepage_url": "https://packagist.org/packages/fake/fake", "repository_download_url": null, diff --git a/tests/packagedcode/data/phpcomposer/framework/composer.json.expected b/tests/packagedcode/data/phpcomposer/framework/composer.json.expected index ac13a934a5d..5584d24bdc1 100644 --- a/tests/packagedcode/data/phpcomposer/framework/composer.json.expected +++ b/tests/packagedcode/data/phpcomposer/framework/composer.json.expected @@ -1165,6 +1165,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/narrowspark/framework", "repository_homepage_url": "https://packagist.org/packages/narrowspark/framework", "repository_download_url": null, diff --git a/tests/packagedcode/data/phpcomposer/modern/composer.json.expected b/tests/packagedcode/data/phpcomposer/modern/composer.json.expected index ce0bc8e55dc..4edf3826fe5 100644 --- a/tests/packagedcode/data/phpcomposer/modern/composer.json.expected +++ b/tests/packagedcode/data/phpcomposer/modern/composer.json.expected @@ -278,6 +278,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/integration-hub", "repository_homepage_url": "https://packagist.org/packages/integration-hub", "repository_download_url": null, diff --git a/tests/packagedcode/data/phpcomposer/slim/composer.json.expected b/tests/packagedcode/data/phpcomposer/slim/composer.json.expected index 4ab6db1d7b5..ad733ee0905 100644 --- a/tests/packagedcode/data/phpcomposer/slim/composer.json.expected +++ b/tests/packagedcode/data/phpcomposer/slim/composer.json.expected @@ -130,6 +130,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/slim/slim", "repository_homepage_url": "https://packagist.org/packages/slim/slim", "repository_download_url": null, diff --git a/tests/packagedcode/data/plugin/about-package-expected.json b/tests/packagedcode/data/plugin/about-package-expected.json index b4cdda44e39..06e78907f2d 100644 --- a/tests/packagedcode/data/plugin/about-package-expected.json +++ b/tests/packagedcode/data/plugin/about-package-expected.json @@ -60,6 +60,9 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": { + "about_resource": "apipkg-1.4-py2.py3-none-any.whl" + }, "purl": "pkg:about/apipkg@1.4", "repository_homepage_url": null, "repository_download_url": null, @@ -116,6 +119,9 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": { + "about_resource": "appdirs-1.4.3-py2.py3-none-any.whl" + }, "purl": "pkg:about/appdirs@1.4.3", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/plugin/bower-package-expected.json b/tests/packagedcode/data/plugin/bower-package-expected.json index 48adbeefc95..521aae107d3 100644 --- a/tests/packagedcode/data/plugin/bower-package-expected.json +++ b/tests/packagedcode/data/plugin/bower-package-expected.json @@ -91,6 +91,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:bower/blue-leaf", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/plugin/cargo-package-expected.json b/tests/packagedcode/data/plugin/cargo-package-expected.json index 7674658a276..5c1af58685e 100644 --- a/tests/packagedcode/data/plugin/cargo-package-expected.json +++ b/tests/packagedcode/data/plugin/cargo-package-expected.json @@ -60,6 +60,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:cargo/clap@2.32.0", "repository_homepage_url": "https://crates.io/crates/clap", "repository_download_url": "https://crates.io/api/v1/crates/clap/2.32.0/download", diff --git a/tests/packagedcode/data/plugin/chef-package-expected.json b/tests/packagedcode/data/plugin/chef-package-expected.json index 3677e069aab..f4ba03bb994 100644 --- a/tests/packagedcode/data/plugin/chef-package-expected.json +++ b/tests/packagedcode/data/plugin/chef-package-expected.json @@ -69,6 +69,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:chef/301@0.1.0", "repository_homepage_url": null, "repository_download_url": "https://supermarket.chef.io/cookbooks/301/versions/0.1.0/download", @@ -128,6 +129,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:chef/301@0.1.0", "repository_homepage_url": null, "repository_download_url": "https://supermarket.chef.io/cookbooks/301/versions/0.1.0/download", diff --git a/tests/packagedcode/data/plugin/com-package-expected.json b/tests/packagedcode/data/plugin/com-package-expected.json new file mode 100644 index 00000000000..f4fb2708e0b --- /dev/null +++ b/tests/packagedcode/data/plugin/com-package-expected.json @@ -0,0 +1,77 @@ +{ + "headers": [ + { + "tool_name": "scancode-toolkit", + "options": { + "input": "", + "--json": "", + "--package": true, + "--processes": "-1", + "--strip-root": true + }, + "notice": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.", + "message": null, + "errors": [], + "extra_data": { + "files_count": 1 + } + } + ], + "files": [ + { + "path": "chcp.com", + "type": "file", + "packages": [ + { + "type": "winexe", + "namespace": null, + "name": "Microsoft\u00ae Windows\u00ae Operating System", + "version": "10.0.17763.1", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Change CodePage Utility", + "release_date": null, + "parties": [ + { + "type": "organization", + "role": "author", + "name": "Microsoft Corporation", + "email": null, + "url": null + } + ], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": "\u00a9 Microsoft Corporation. All rights reserved.", + "license_expression": "unknown", + "declared_license": { + "LegalCopyright": "\u00a9 Microsoft Corporation. All rights reserved.", + "LegalTrademarks": "", + "License": null + }, + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": "pkg:winexe/Microsoft%C2%AE%20Windows%C2%AE%20Operating%20System@10.0.17763.1", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null + } + ], + "scan_errors": [] + } + ] +} \ No newline at end of file diff --git a/tests/packagedcode/data/plugin/conda-package-expected.json b/tests/packagedcode/data/plugin/conda-package-expected.json index 84d2071def5..a859ede81f2 100644 --- a/tests/packagedcode/data/plugin/conda-package-expected.json +++ b/tests/packagedcode/data/plugin/conda-package-expected.json @@ -95,6 +95,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:conda/requests-kerberos@0.8.0", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/plugin/freebsd-package-expected.json b/tests/packagedcode/data/plugin/freebsd-package-expected.json index c109258ede9..c39ab1311db 100644 --- a/tests/packagedcode/data/plugin/freebsd-package-expected.json +++ b/tests/packagedcode/data/plugin/freebsd-package-expected.json @@ -70,6 +70,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:freebsd/dmidecode@2.12?arch=freebsd:10:x86:64&origin=sysutils/dmidecode", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/plugin/haxe-package-expected.json b/tests/packagedcode/data/plugin/haxe-package-expected.json index 22a93859000..51ae0dd85bd 100644 --- a/tests/packagedcode/data/plugin/haxe-package-expected.json +++ b/tests/packagedcode/data/plugin/haxe-package-expected.json @@ -65,6 +65,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:haxe/hxsocketio@0.1.0", "repository_homepage_url": "https://lib.haxe.org/p/hxsocketio", "repository_download_url": "https://lib.haxe.org/p/hxsocketio/0.1.0/download/", diff --git a/tests/packagedcode/data/plugin/help.txt b/tests/packagedcode/data/plugin/help.txt index 4221dbb5a01..2925e36fe60 100644 --- a/tests/packagedcode/data/plugin/help.txt +++ b/tests/packagedcode/data/plugin/help.txt @@ -187,7 +187,7 @@ Package: mozilla -------------------------------------------- Package: msi - class: packagedcode.models:MsiInstallerPackage + class: packagedcode.msi:MsiInstallerPackage extensions: .msi filetypes: msi installer @@ -222,6 +222,12 @@ Package: pods metafiles: *.podspec extensions: .podspec +-------------------------------------------- +Package: pubspec + class: packagedcode.pubspec:PubspecPackage + metafiles: pubspec.yaml, pubspec.lock + extensions: .yaml, .lock + -------------------------------------------- Package: pypi class: packagedcode.pypi:PythonPackage @@ -258,9 +264,15 @@ Package: war extensions: .war filetypes: java archive , zip archive +-------------------------------------------- +Package: windows-update + class: packagedcode.windows:MicrosoftUpdateManifestPackage + extensions: .mum + filetypes: xml 1.0 document + -------------------------------------------- Package: winexe class: packagedcode.win_pe:WindowsExecutable - extensions: .exe, .dll + extensions: .exe, .dll, .mui, .mun, .com, .winmd, .sys, .tlb, .exe_*, .dll_*, .mui_*, .mun_*, .com_*, .winmd_*, .sys_*, .tlb_* filetypes: pe32, for ms windows diff --git a/tests/packagedcode/data/plugin/maven-package-expected.json b/tests/packagedcode/data/plugin/maven-package-expected.json index 681a3738b3d..370503ce1eb 100644 --- a/tests/packagedcode/data/plugin/maven-package-expected.json +++ b/tests/packagedcode/data/plugin/maven-package-expected.json @@ -72,6 +72,7 @@ "source_packages": [ "pkg:maven/adarwin/adarwin@1.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/adarwin/adarwin@1.0", "repository_homepage_url": "https://repo1.maven.org/maven2/adarwin/adarwin/1.0/", "repository_download_url": "https://repo1.maven.org/maven2/adarwin/adarwin/1.0/adarwin-1.0.jar", @@ -125,34 +126,35 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.ant/ant", + "purl": "pkg:maven/org.apache.ant/ant@1.7.0", "requirement": "1.7.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/javax.media/jai-core", + "purl": "pkg:maven/javax.media/jai-core@1.1.2_01", "requirement": "1.1.2_01", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jai/jai-codec", + "purl": "pkg:maven/jai/jai-codec@1.1.2.1", "requirement": "1.1.2.1", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.ant/ant-jai@1.7.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.ant/ant-jai@1.7.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/ant/ant-jai/1.7.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/ant/ant-jai/1.7.0/ant-jai-1.7.0.jar", @@ -206,26 +208,27 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.ant/ant", + "purl": "pkg:maven/org.apache.ant/ant@1.7.0", "requirement": "1.7.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.jcraft/jsch", + "purl": "pkg:maven/com.jcraft/jsch@0.1.29", "requirement": "0.1.29", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.ant/ant-jsch@1.7.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.ant/ant-jsch@1.7.0", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/ant/ant-jsch/1.7.0/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/ant/ant-jsch/1.7.0/ant-jsch-1.7.0.jar", @@ -295,6 +298,7 @@ "source_packages": [ "pkg:maven/aopalliance/aopalliance@1.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/aopalliance/aopalliance@1.0", "repository_homepage_url": "https://repo1.maven.org/maven2/aopalliance/aopalliance/1.0/", "repository_download_url": "https://repo1.maven.org/maven2/aopalliance/aopalliance/1.0/aopalliance-1.0.jar", @@ -351,6 +355,7 @@ "source_packages": [ "pkg:maven/bcel/bcel@5.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/bcel/bcel@5.1", "repository_homepage_url": "https://repo1.maven.org/maven2/bcel/bcel/5.1/", "repository_download_url": "https://repo1.maven.org/maven2/bcel/bcel/5.1/bcel-5.1.jar", @@ -436,6 +441,7 @@ "source_packages": [ "pkg:maven/classworlds/classworlds@1.1-alpha-2?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/classworlds/classworlds@1.1-alpha-2", "repository_homepage_url": "https://repo1.maven.org/maven2/classworlds/classworlds/1.1-alpha-2/", "repository_download_url": "https://repo1.maven.org/maven2/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar", @@ -539,26 +545,27 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/servletapi/servletapi", + "purl": "pkg:maven/servletapi/servletapi@2.3", "requirement": "2.3", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/commons-fileupload/commons-fileupload@1.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/commons-fileupload/commons-fileupload@1.0", "repository_homepage_url": "https://repo1.maven.org/maven2/commons-fileupload/commons-fileupload/1.0/", "repository_download_url": "https://repo1.maven.org/maven2/commons-fileupload/commons-fileupload/1.0/commons-fileupload-1.0.jar", @@ -844,58 +851,59 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/commons-beanutils/commons-beanutils", + "purl": "pkg:maven/commons-beanutils/commons-beanutils@1.7.0", "requirement": "1.7.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-digester/commons-digester", + "purl": "pkg:maven/commons-digester/commons-digester@1.6", "requirement": "1.6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/oro/oro", + "purl": "pkg:maven/oro/oro@2.0.8", "requirement": "2.0.8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/xml-apis/xml-apis", + "purl": "pkg:maven/xml-apis/xml-apis@2.0.2", "requirement": "2.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/commons-validator/commons-validator@1.2.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/commons-validator/commons-validator@1.2.0", "repository_homepage_url": "https://repo1.maven.org/maven2/commons-validator/commons-validator/1.2.0/", "repository_download_url": "https://repo1.maven.org/maven2/commons-validator/commons-validator/1.2.0/commons-validator-1.2.0.jar", @@ -1003,154 +1011,155 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/log4j/log4j", + "purl": "pkg:maven/log4j/log4j@1.2.8", "requirement": "1.2.8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/servletapi/servletapi", + "purl": "pkg:maven/servletapi/servletapi@2.3", "requirement": "2.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/struts/struts", + "purl": "pkg:maven/struts/struts@1.1", "requirement": "1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-configuration/commons-configuration", + "purl": "pkg:maven/commons-configuration/commons-configuration@1.1", "requirement": "1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-collections/commons-collections", + "purl": "pkg:maven/commons-collections/commons-collections@3.1", "requirement": "3.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-lang/commons-lang", + "purl": "pkg:maven/commons-lang/commons-lang@2.0", "requirement": "2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/dom4j/dom4j", + "purl": "pkg:maven/dom4j/dom4j@1.4", "requirement": "1.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.0.4", "requirement": "1.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-digester/commons-digester", + "purl": "pkg:maven/commons-digester/commons-digester@1.6", "requirement": "1.6", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/xerces/xerces", + "purl": "pkg:maven/xerces/xerces@2.2.1", "requirement": "2.2.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/xml-apis/xml-apis", + "purl": "pkg:maven/xml-apis/xml-apis@2.0.2", "requirement": "2.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/xdoclet/xdoclet", + "purl": "pkg:maven/xdoclet/xdoclet@1.2.1", "requirement": "1.2.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-beanutils/commons-beanutils-core", + "purl": "pkg:maven/commons-beanutils/commons-beanutils-core@1.7.0", "requirement": "1.7.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-beanutils/commons-beanutils-bean-collections", + "purl": "pkg:maven/commons-beanutils/commons-beanutils-bean-collections@1.7.0", "requirement": "1.7.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/xdoclet/xdoclet-web-module", + "purl": "pkg:maven/xdoclet/xdoclet-web-module@1.2.1", "requirement": "1.2.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/mx4j/mx4j-jmx", + "purl": "pkg:maven/mx4j/mx4j-jmx@2.1.1", "requirement": "2.1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/mx4j/mx4j-impl", + "purl": "pkg:maven/mx4j/mx4j-impl@2.1.1", "requirement": "2.1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/easyconf/easyconf@0.9.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/easyconf/easyconf@0.9.0", "repository_homepage_url": "https://repo1.maven.org/maven2/easyconf/easyconf/0.9.0/", "repository_download_url": "https://repo1.maven.org/maven2/easyconf/easyconf/0.9.0/easyconf-0.9.0.jar", @@ -1240,50 +1249,51 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.apache.maven/maven-artifact", + "purl": "pkg:maven/org.apache.maven/maven-artifact@2.0.4", "requirement": "2.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-impl", + "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-impl@2.0.4", "requirement": "2.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api", + "purl": "pkg:maven/org.apache.maven.reporting/maven-reporting-api@2.0.4", "requirement": "2.0.4", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.maven.doxia/doxia-core", + "purl": "pkg:maven/org.apache.maven.doxia/doxia-core@1.0-alpha-8", "requirement": "1.0-alpha-8", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/net.sourceforge.findbugs/findbugs", + "purl": "pkg:maven/net.sourceforge.findbugs/findbugs@1.2.0", "requirement": "1.2.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.mojo/findbugs-maven-plugin@1.1.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.mojo/findbugs-maven-plugin@1.1.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/findbugs-maven-plugin/1.1.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/mojo/findbugs-maven-plugin/1.1.1/findbugs-maven-plugin-1.1.1.jar", @@ -1442,42 +1452,43 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/relaxngDatatype/relaxngDatatype", + "purl": "pkg:maven/relaxngDatatype/relaxngDatatype@20020414", "requirement": "20020414", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.sun.xml.bind/jaxb-impl", + "purl": "pkg:maven/com.sun.xml.bind/jaxb-impl@2.1.11", "requirement": "2.1.11", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.sun.xml.bind/jaxb-xjc", + "purl": "pkg:maven/com.sun.xml.bind/jaxb-xjc@2.1.11", "requirement": "2.1.11", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.sun.xsom/xsom", + "purl": "pkg:maven/com.sun.xsom/xsom@20081112", "requirement": "20081112", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/it.assist.jrecordbind/jrecordbind%24%7BartifactId.ext%7D@2.3.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/it.assist.jrecordbind/jrecordbind%24%7BartifactId.ext%7D@2.3.4", "repository_homepage_url": "https://repo1.maven.org/maven2/it/assist/jrecordbind/jrecordbind${artifactId.ext}/2.3.4/", "repository_download_url": "https://repo1.maven.org/maven2/it/assist/jrecordbind/jrecordbind${artifactId.ext}/2.3.4/jrecordbind${artifactId.ext}-2.3.4.jar", @@ -1559,47 +1570,48 @@ "purl": "pkg:maven/ch.qos.logback/logback-core", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/tomcat/catalina", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.mortbay.jetty/jetty", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/com.caucho/resin", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.mortbay.jetty/servlet-api-2.5", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null } ], "contains_source_code": null, "source_packages": [ "pkg:maven/ch.qos.logback/logback-access@0.2.5?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/ch.qos.logback/logback-access@0.2.5", "repository_homepage_url": "https://repo1.maven.org/maven2/ch/qos/logback/logback-access/0.2.5/", "repository_download_url": "https://repo1.maven.org/maven2/ch/qos/logback/logback-access/0.2.5/logback-access-0.2.5.jar", @@ -1738,42 +1750,43 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default", + "purl": "pkg:maven/org.codehaus.plexus/plexus-container-default@1.0-alpha-7", "requirement": "1.0-alpha-7", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/classworlds/classworlds", + "purl": "pkg:maven/classworlds/classworlds@1.1-alpha-2", "requirement": "1.1-alpha-2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/plexus/plexus-utils", + "purl": "pkg:maven/plexus/plexus-utils@1.0.2", "requirement": "1.0.2", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.codehaus.plexus/plexus-interactivity-api@1.0-alpha-4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.codehaus.plexus/plexus-interactivity-api@1.0-alpha-4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/", "repository_download_url": "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar", @@ -1830,6 +1843,7 @@ "source_packages": [ "pkg:maven/ur.urwerk.test.modules/main@1.0.0-SNAPSHOT?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/ur.urwerk.test.modules/main@1.0.0-SNAPSHOT", "repository_homepage_url": "https://repo1.maven.org/maven2/ur/urwerk/test/modules/main/1.0.0-SNAPSHOT/", "repository_download_url": "https://repo1.maven.org/maven2/ur/urwerk/test/modules/main/1.0.0-SNAPSHOT/main-1.0.0-SNAPSHOT.jar", @@ -1937,18 +1951,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.apache.geronimo.specs/specs@1.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.apache.geronimo.specs/specs@1.3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/apache/geronimo/specs/specs/1.3/", "repository_download_url": "https://repo1.maven.org/maven2/org/apache/geronimo/specs/specs/1.3/specs-1.3.jar", @@ -2017,530 +2032,531 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/aopalliance/aopalliance", + "purl": "pkg:maven/aopalliance/aopalliance@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/asm/asm", + "purl": "pkg:maven/asm/asm@2.2.3", "requirement": "2.2.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/asm/asm-commons", + "purl": "pkg:maven/asm/asm-commons@2.2.3", "requirement": "2.2.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/asm/asm-util", + "purl": "pkg:maven/asm/asm-util@2.2.3", "requirement": "2.2.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/aspectj/aspectjrt", + "purl": "pkg:maven/aspectj/aspectjrt@1.5.4", "requirement": "1.5.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/aspectj/aspectjweaver", + "purl": "pkg:maven/aspectj/aspectjweaver@1.5.4", "requirement": "1.5.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/backport-util-concurrent/backport-util-concurrent", + "purl": "pkg:maven/backport-util-concurrent/backport-util-concurrent@3.0", "requirement": "3.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/c3p0/c3p0", + "purl": "pkg:maven/c3p0/c3p0@0.9.1.2", "requirement": "0.9.1.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/cglib/cglib-nodep", + "purl": "pkg:maven/cglib/cglib-nodep@2.1_3", "requirement": "2.1_3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-attributes/commons-attributes-api", + "purl": "pkg:maven/commons-attributes/commons-attributes-api@2.2", "requirement": "2.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-attributes/commons-attributes-compiler", + "purl": "pkg:maven/commons-attributes/commons-attributes-compiler@2.2", "requirement": "2.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-beanutils/commons-beanutils", + "purl": "pkg:maven/commons-beanutils/commons-beanutils@1.7.0", "requirement": "1.7.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-collections/commons-collections", + "purl": "pkg:maven/commons-collections/commons-collections@3.2", "requirement": "3.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-dbcp/commons-dbcp", + "purl": "pkg:maven/commons-dbcp/commons-dbcp@1.2.2", "requirement": "1.2.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-fileupload/commons-fileupload", + "purl": "pkg:maven/commons-fileupload/commons-fileupload@1.2", "requirement": "1.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-httpclient/commons-httpclient", + "purl": "pkg:maven/commons-httpclient/commons-httpclient@3.1", "requirement": "3.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.1.1", "requirement": "1.1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-pool/commons-pool", + "purl": "pkg:maven/commons-pool/commons-pool@1.3", "requirement": "1.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.bea.wlplatform/commonj-twm", + "purl": "pkg:maven/com.bea.wlplatform/commonj-twm@1.1", "requirement": "1.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.experlog/xapool", + "purl": "pkg:maven/com.experlog/xapool@1.5.0", "requirement": "1.5.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.ibatis/ibatis-sqlmap", + "purl": "pkg:maven/org.apache.ibatis/ibatis-sqlmap@2.3.0.677", "requirement": "2.3.0.677", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.jamonapi/jamon", + "purl": "pkg:maven/com.jamonapi/jamon@2.4", "requirement": "2.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.lowagie/itext", + "purl": "pkg:maven/com.lowagie/itext@2.0.7", "requirement": "2.0.7", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.oracle.toplink/toplink", + "purl": "pkg:maven/com.oracle.toplink/toplink@10.1.3", "requirement": "10.1.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.oracle/toplink-essentials", + "purl": "pkg:maven/com.oracle/toplink-essentials@2.41", "requirement": "2.41", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.oracle/oc4j", + "purl": "pkg:maven/com.oracle/oc4j@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/freemarker/freemarker", + "purl": "pkg:maven/freemarker/freemarker@2.3.12", "requirement": "2.3.12", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/groovy/groovy", + "purl": "pkg:maven/groovy/groovy@1.5.5", "requirement": "1.5.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/hessian/hessian", + "purl": "pkg:maven/hessian/hessian@3.1.3", "requirement": "3.1.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jasperreports/jasperreports", + "purl": "pkg:maven/jasperreports/jasperreports@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jexcelapi/jxl", + "purl": "pkg:maven/jexcelapi/jxl@2.6.6", "requirement": "2.6.6", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jotm/jotm", + "purl": "pkg:maven/jotm/jotm@2.0.10", "requirement": "2.0.10", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jruby/jruby-bin", + "purl": "pkg:maven/jruby/jruby-bin@1.0.1", "requirement": "1.0.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/junit/junit", + "purl": "pkg:maven/junit/junit@3.8.1", "requirement": "3.8.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/log4j/log4j", + "purl": "pkg:maven/log4j/log4j@1.2.15", "requirement": "1.2.15", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/net.sf.ehcache/ehcache", + "purl": "pkg:maven/net.sf.ehcache/ehcache@1.4.1", "requirement": "1.4.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.axis/axis", + "purl": "pkg:maven/org.apache.axis/axis@1.4", "requirement": "1.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.tiles/tiles-api", + "purl": "pkg:maven/org.apache.tiles/tiles-api@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.tiles/tiles-core", + "purl": "pkg:maven/org.apache.tiles/tiles-core@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.tiles/tiles-jsp", + "purl": "pkg:maven/org.apache.tiles/tiles-jsp@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.beanshell/bsh", + "purl": "pkg:maven/org.beanshell/bsh@2.0b4", "requirement": "2.0b4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.hibernate/hibernate", + "purl": "pkg:maven/org.hibernate/hibernate@3.2.6.ga", "requirement": "3.2.6.ga", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.hibernate/hibernate-entitymanager", + "purl": "pkg:maven/org.hibernate/hibernate-entitymanager@3.3.2.ga", "requirement": "3.3.2.ga", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/poi/poi", + "purl": "pkg:maven/poi/poi@3.0.1", "requirement": "3.0.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/opensymphony/quartz-all", + "purl": "pkg:maven/opensymphony/quartz-all@1.6.0", "requirement": "1.6.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/struts/struts", + "purl": "pkg:maven/struts/struts@1.2.9", "requirement": "1.2.9", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/taglibs/standard", + "purl": "pkg:maven/taglibs/standard@1.1.2", "requirement": "1.1.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/tomcat/catalina", + "purl": "pkg:maven/tomcat/catalina@5.5.23", "requirement": "5.5.23", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/velocity/velocity", + "purl": "pkg:maven/velocity/velocity@1.5", "requirement": "1.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/velocity-tools/velocity-tools-generic", + "purl": "pkg:maven/velocity-tools/velocity-tools-generic@1.4", "requirement": "1.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/velocity-tools/velocity-tools-view", + "purl": "pkg:maven/velocity-tools/velocity-tools-view@1.4", "requirement": "1.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.activation/activation", + "purl": "pkg:maven/javax.activation/activation@1.1", "requirement": "1.1", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.ejb/ejb", + "purl": "pkg:maven/javax.ejb/ejb@3.0", "requirement": "3.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.faces/jsf-api", + "purl": "pkg:maven/javax.faces/jsf-api@1.1", "requirement": "1.1", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.jdo/jdo2-api", + "purl": "pkg:maven/javax.jdo/jdo2-api@2.0", "requirement": "2.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.jms/jms", + "purl": "pkg:maven/javax.jms/jms@1.1", "requirement": "1.1", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.mail/mail", + "purl": "pkg:maven/javax.mail/mail@1.4", "requirement": "1.4", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.persistence/persistence-api", + "purl": "pkg:maven/javax.persistence/persistence-api@1.0", "requirement": "1.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.portlet/portlet-api", + "purl": "pkg:maven/javax.portlet/portlet-api@1.0", "requirement": "1.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.resource/connector-api", + "purl": "pkg:maven/javax.resource/connector-api@1.5", "requirement": "1.5", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/jsp-api", + "purl": "pkg:maven/javax.servlet/jsp-api@2.0", "requirement": "2.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/jstl", + "purl": "pkg:maven/javax.servlet/jstl@1.1.0", "requirement": "1.1.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/servlet-api", + "purl": "pkg:maven/javax.servlet/servlet-api@2.4", "requirement": "2.4", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.transaction/jta", + "purl": "pkg:maven/javax.transaction/jta@1.1", "requirement": "1.1", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.xml/jaxrpc-api", + "purl": "pkg:maven/javax.xml/jaxrpc-api@1.1", "requirement": "1.1", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.springframework/spring@2.5.4?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.springframework/spring@2.5.4", "repository_homepage_url": "https://repo1.maven.org/maven2/org/springframework/spring/2.5.4/", "repository_download_url": "https://repo1.maven.org/maven2/org/springframework/spring/2.5.4/spring-2.5.4.jar", @@ -2609,138 +2625,139 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/aopalliance/aopalliance", + "purl": "pkg:maven/aopalliance/aopalliance@1.0", "requirement": "1.0", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.1.1", "requirement": "1.1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.oracle/toplink-essentials", + "purl": "pkg:maven/com.oracle/toplink-essentials@2.41", "requirement": "2.41", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/com.oracle.toplink/toplink", + "purl": "pkg:maven/com.oracle.toplink/toplink@10.1.3", "requirement": "10.1.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.ibatis/ibatis-sqlmap", + "purl": "pkg:maven/org.apache.ibatis/ibatis-sqlmap@2.3.0", "requirement": "2.3.0", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.hibernate/hibernate", + "purl": "pkg:maven/org.hibernate/hibernate@3.2.6.ga", "requirement": "3.2.6.ga", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.hibernate/hibernate-entitymanager", + "purl": "pkg:maven/org.hibernate/hibernate-entitymanager@3.3.1.ga", "requirement": "3.3.1.ga", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-aop", + "purl": "pkg:maven/org.springframework/spring-aop@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-beans", + "purl": "pkg:maven/org.springframework/spring-beans@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-context", + "purl": "pkg:maven/org.springframework/spring-context@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-core", + "purl": "pkg:maven/org.springframework/spring-core@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-jdbc", + "purl": "pkg:maven/org.springframework/spring-jdbc@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-tx", + "purl": "pkg:maven/org.springframework/spring-tx@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-web", + "purl": "pkg:maven/org.springframework/spring-web@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.jdo/jdo2-api", + "purl": "pkg:maven/javax.jdo/jdo2-api@2.0", "requirement": "2.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.persistence/persistence-api", + "purl": "pkg:maven/javax.persistence/persistence-api@1.0", "requirement": "1.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.springframework/spring-orm@2.5.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.springframework/spring-orm@2.5.3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/springframework/spring-orm/2.5.3/", "repository_download_url": "https://repo1.maven.org/maven2/org/springframework/spring-orm/2.5.3/spring-orm-2.5.3.jar", @@ -2809,186 +2826,187 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/commons-attributes/commons-attributes-api", + "purl": "pkg:maven/commons-attributes/commons-attributes-api@2.2", "requirement": "2.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-attributes/commons-attributes-compiler", + "purl": "pkg:maven/commons-attributes/commons-attributes-compiler@2.2", "requirement": "2.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/commons-logging/commons-logging", + "purl": "pkg:maven/commons-logging/commons-logging@1.1.1", "requirement": "1.1.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/com.lowagie/itext", + "purl": "pkg:maven/com.lowagie/itext@2.0.7", "requirement": "2.0.7", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/freemarker/freemarker", + "purl": "pkg:maven/freemarker/freemarker@2.3.12", "requirement": "2.3.12", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jasperreports/jasperreports", + "purl": "pkg:maven/jasperreports/jasperreports@2.0.2", "requirement": "2.0.2", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/jexcelapi/jxl", + "purl": "pkg:maven/jexcelapi/jxl@2.6.6", "requirement": "2.6.6", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.tiles/tiles-api", + "purl": "pkg:maven/org.apache.tiles/tiles-api@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.tiles/tiles-core", + "purl": "pkg:maven/org.apache.tiles/tiles-core@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.apache.tiles/tiles-jsp", + "purl": "pkg:maven/org.apache.tiles/tiles-jsp@2.0.5", "requirement": "2.0.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/poi/poi", + "purl": "pkg:maven/poi/poi@3.0.1", "requirement": "3.0.1", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/velocity/velocity", + "purl": "pkg:maven/velocity/velocity@1.5", "requirement": "1.5", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/velocity-tools/velocity-tools-generic", + "purl": "pkg:maven/velocity-tools/velocity-tools-generic@1.4", "requirement": "1.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/velocity-tools/velocity-tools-view", + "purl": "pkg:maven/velocity-tools/velocity-tools-view@1.4", "requirement": "1.4", "scope": "compile", - "is_runtime": true, + "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-beans", + "purl": "pkg:maven/org.springframework/spring-beans@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-context", + "purl": "pkg:maven/org.springframework/spring-context@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-context-support", + "purl": "pkg:maven/org.springframework/spring-context-support@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-core", + "purl": "pkg:maven/org.springframework/spring-core@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/org.springframework/spring-web", + "purl": "pkg:maven/org.springframework/spring-web@2.5.3", "requirement": "2.5.3", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/jsp-api", + "purl": "pkg:maven/javax.servlet/jsp-api@2.0", "requirement": "2.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/jstl", + "purl": "pkg:maven/javax.servlet/jstl@1.1.0", "requirement": "1.1.0", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true }, { - "purl": "pkg:maven/javax.servlet/servlet-api", + "purl": "pkg:maven/javax.servlet/servlet-api@2.4", "requirement": "2.4", "scope": "provided", "is_runtime": true, "is_optional": false, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.springframework/spring-webmvc@2.5.3?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.springframework/spring-webmvc@2.5.3", "repository_homepage_url": "https://repo1.maven.org/maven2/org/springframework/spring-webmvc/2.5.3/", "repository_download_url": "https://repo1.maven.org/maven2/org/springframework/spring-webmvc/2.5.3/spring-webmvc-2.5.3.jar", @@ -3050,18 +3068,19 @@ "root_path": null, "dependencies": [ { - "purl": "pkg:maven/org.mockito/mockito-all", + "purl": "pkg:maven/org.mockito/mockito-all@1.8.1", "requirement": "1.8.1", "scope": "test", "is_runtime": false, "is_optional": true, - "is_resolved": false + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/org.jvnet.hudson.plugins/startup-trigger-plugin@0.1?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/org.jvnet.hudson.plugins/startup-trigger-plugin@0.1", "repository_homepage_url": "https://repo1.maven.org/maven2/org/jvnet/hudson/plugins/startup-trigger-plugin/0.1/", "repository_download_url": "https://repo1.maven.org/maven2/org/jvnet/hudson/plugins/startup-trigger-plugin/0.1/startup-trigger-plugin-0.1.jar", @@ -3172,63 +3191,64 @@ "purl": "pkg:maven/junit/junit", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.hamcrest/hamcrest-core", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.mockito/mockito-core", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven/maven-plugin-api", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.apache.maven.plugin-tools/maven-plugin-annotations", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { "purl": "pkg:maven/org.codehaus.plexus/plexus-utils", "requirement": null, "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": null }, { - "purl": "pkg:maven/org.dom4j/dom4j", + "purl": "pkg:maven/org.dom4j/dom4j@2.0.1", "requirement": "2.0.1", "scope": "compile", - "is_runtime": true, - "is_optional": false, - "is_resolved": false + "is_runtime": false, + "is_optional": true, + "is_resolved": true } ], "contains_source_code": null, "source_packages": [ "pkg:maven/au.com.acegi/xml-format-maven-plugin@3.0.6?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/au.com.acegi/xml-format-maven-plugin@3.0.6", "repository_homepage_url": "https://repo1.maven.org/maven2/au/com/acegi/xml-format-maven-plugin/3.0.6/", "repository_download_url": "https://repo1.maven.org/maven2/au/com/acegi/xml-format-maven-plugin/3.0.6/xml-format-maven-plugin-3.0.6.jar", diff --git a/tests/packagedcode/data/plugin/mui-package-expected.json b/tests/packagedcode/data/plugin/mui-package-expected.json new file mode 100644 index 00000000000..85a520d7a69 --- /dev/null +++ b/tests/packagedcode/data/plugin/mui-package-expected.json @@ -0,0 +1,77 @@ +{ + "headers": [ + { + "tool_name": "scancode-toolkit", + "options": { + "input": "", + "--json": "", + "--package": true, + "--processes": "-1", + "--strip-root": true + }, + "notice": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.", + "message": null, + "errors": [], + "extra_data": { + "files_count": 1 + } + } + ], + "files": [ + { + "path": "clfs.sys.mui", + "type": "file", + "packages": [ + { + "type": "winexe", + "namespace": null, + "name": "Microsoft\u00ae Windows\u00ae Operating System", + "version": "10.0.18362.1256", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Common Log File System Driver", + "release_date": null, + "parties": [ + { + "type": "organization", + "role": "author", + "name": "Microsoft Corporation", + "email": null, + "url": null + } + ], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": "\u00a9 Microsoft Corporation. All rights reserved.", + "license_expression": "unknown", + "declared_license": { + "LegalCopyright": "\u00a9 Microsoft Corporation. All rights reserved.", + "LegalTrademarks": "", + "License": null + }, + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": "pkg:winexe/Microsoft%C2%AE%20Windows%C2%AE%20Operating%20System@10.0.18362.1256", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null + } + ], + "scan_errors": [] + } + ] +} \ No newline at end of file diff --git a/tests/packagedcode/data/plugin/mum-package-expected.json b/tests/packagedcode/data/plugin/mum-package-expected.json new file mode 100644 index 00000000000..b1a9caaba3f --- /dev/null +++ b/tests/packagedcode/data/plugin/mum-package-expected.json @@ -0,0 +1,73 @@ +{ + "headers": [ + { + "tool_name": "scancode-toolkit", + "options": { + "input": "", + "--json": "", + "--package": true, + "--processes": "-1", + "--strip-root": true + }, + "notice": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.", + "message": null, + "errors": [], + "extra_data": { + "files_count": 1 + } + } + ], + "files": [ + { + "path": "test.mum", + "type": "file", + "packages": [ + { + "type": "windows-update", + "namespace": null, + "name": "Package_1_for_KB4601060", + "version": "10.0.3770.4", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Fix for KB4601060", + "release_date": null, + "parties": [ + { + "type": "organization", + "role": "owner", + "name": "Microsoft Corporation", + "email": null, + "url": null + } + ], + "keywords": [], + "homepage_url": "http://support.microsoft.com/?kbid=4601060", + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": "Microsoft Corporation", + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": "pkg:windows-update/Package_1_for_KB4601060@10.0.3770.4", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null + } + ], + "scan_errors": [] + } + ] +} \ No newline at end of file diff --git a/tests/packagedcode/data/plugin/mun-package-expected.json b/tests/packagedcode/data/plugin/mun-package-expected.json new file mode 100644 index 00000000000..0429a71d1d4 --- /dev/null +++ b/tests/packagedcode/data/plugin/mun-package-expected.json @@ -0,0 +1,77 @@ +{ + "headers": [ + { + "tool_name": "scancode-toolkit", + "options": { + "input": "", + "--json": "", + "--package": true, + "--processes": "-1", + "--strip-root": true + }, + "notice": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.", + "message": null, + "errors": [], + "extra_data": { + "files_count": 1 + } + } + ], + "files": [ + { + "path": "crypt32.dll.mun", + "type": "file", + "packages": [ + { + "type": "winexe", + "namespace": null, + "name": "Microsoft\u00ae Windows\u00ae Operating System", + "version": "10.0.18362.1256", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Crypto API32", + "release_date": null, + "parties": [ + { + "type": "organization", + "role": "author", + "name": "Microsoft Corporation", + "email": null, + "url": null + } + ], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": "\u00a9 Microsoft Corporation. All rights reserved.", + "license_expression": "unknown", + "declared_license": { + "LegalCopyright": "\u00a9 Microsoft Corporation. All rights reserved.", + "LegalTrademarks": "", + "License": null + }, + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": "pkg:winexe/Microsoft%C2%AE%20Windows%C2%AE%20Operating%20System@10.0.18362.1256", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null + } + ], + "scan_errors": [] + } + ] +} \ No newline at end of file diff --git a/tests/packagedcode/data/plugin/npm-package-expected.json b/tests/packagedcode/data/plugin/npm-package-expected.json index c7183f7c943..1239a7df5a4 100644 --- a/tests/packagedcode/data/plugin/npm-package-expected.json +++ b/tests/packagedcode/data/plugin/npm-package-expected.json @@ -81,6 +81,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/cookie-signature@1.0.3", "repository_homepage_url": "https://www.npmjs.com/package/cookie-signature", "repository_download_url": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.3.tgz", diff --git a/tests/packagedcode/data/plugin/nuget-package-expected.json b/tests/packagedcode/data/plugin/nuget-package-expected.json index a673ad94241..122953b435a 100644 --- a/tests/packagedcode/data/plugin/nuget-package-expected.json +++ b/tests/packagedcode/data/plugin/nuget-package-expected.json @@ -67,6 +67,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:nuget/Castle.Core@4.2.1", "repository_homepage_url": "https://www.nuget.org/packages/Castle.Core/4.2.1", "repository_download_url": "https://www.nuget.org/api/v2/package/Castle.Core/4.2.1", diff --git a/tests/packagedcode/data/plugin/opam-package-expected.json b/tests/packagedcode/data/plugin/opam-package-expected.json index 55c4273c2f4..19c76ec6550 100644 --- a/tests/packagedcode/data/plugin/opam-package-expected.json +++ b/tests/packagedcode/data/plugin/opam-package-expected.json @@ -135,6 +135,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/plugin/phpcomposer-package-expected.json b/tests/packagedcode/data/plugin/phpcomposer-package-expected.json index e4e99fb5f6f..78ef6e886fb 100644 --- a/tests/packagedcode/data/plugin/phpcomposer-package-expected.json +++ b/tests/packagedcode/data/plugin/phpcomposer-package-expected.json @@ -92,6 +92,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/jandreasn/a-timer", "repository_homepage_url": "https://packagist.org/packages/jandreasn/a-timer", "repository_download_url": null, diff --git a/tests/packagedcode/data/plugin/pubspec-expected.json b/tests/packagedcode/data/plugin/pubspec-expected.json new file mode 100644 index 00000000000..a2c19fb78b0 --- /dev/null +++ b/tests/packagedcode/data/plugin/pubspec-expected.json @@ -0,0 +1,28 @@ +{ + "headers": [ + { + "tool_name": "scancode-toolkit", + "options": { + "input": "", + "--json": "", + "--package": true, + "--processes": "-1", + "--strip-root": true + }, + "notice": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.", + "message": null, + "errors": [], + "extra_data": { + "files_count": 1 + } + } + ], + "files": [ + { + "path": "authors-pubspec.yaml", + "type": "file", + "packages": [], + "scan_errors": [] + } + ] +} \ No newline at end of file diff --git a/tests/packagedcode/data/plugin/pubspec-lock-expected.json b/tests/packagedcode/data/plugin/pubspec-lock-expected.json new file mode 100644 index 00000000000..8165992c6dd --- /dev/null +++ b/tests/packagedcode/data/plugin/pubspec-lock-expected.json @@ -0,0 +1,28 @@ +{ + "headers": [ + { + "tool_name": "scancode-toolkit", + "options": { + "input": "", + "--json": "", + "--package": true, + "--processes": "-1", + "--strip-root": true + }, + "notice": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.", + "message": null, + "errors": [], + "extra_data": { + "files_count": 1 + } + } + ], + "files": [ + { + "path": "dart-pubspec.lock", + "type": "file", + "packages": [], + "scan_errors": [] + } + ] +} \ No newline at end of file diff --git a/tests/packagedcode/data/plugin/python-package-expected.json b/tests/packagedcode/data/plugin/python-package-expected.json index 81a92971d09..bbe3c4be0a4 100644 --- a/tests/packagedcode/data/plugin/python-package-expected.json +++ b/tests/packagedcode/data/plugin/python-package-expected.json @@ -77,6 +77,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/six@1.10.0", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/s/six/six-1.10.0.tar.gz", @@ -129,6 +130,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/ticketimport@0.7a", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/T/TicketImport/TicketImport-0.7a.tar.gz", @@ -308,6 +310,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, @@ -371,6 +374,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/atomicwrites@1.2.1", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/a/atomicwrites/atomicwrites-1.2.1.tar.gz", @@ -413,6 +417,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:chef/six@1.10.0", "repository_homepage_url": null, "repository_download_url": "https://supermarket.chef.io/cookbooks/six/versions/1.10.0/download", @@ -480,6 +485,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, @@ -532,6 +538,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/arpy@0.1.1", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/a/arpy/arpy-0.1.1.tar.gz", diff --git a/tests/packagedcode/data/plugin/rpm-package-expected.json b/tests/packagedcode/data/plugin/rpm-package-expected.json index ef425608c07..f9242955418 100644 --- a/tests/packagedcode/data/plugin/rpm-package-expected.json +++ b/tests/packagedcode/data/plugin/rpm-package-expected.json @@ -54,6 +54,7 @@ "source_packages": [ "pkg:rpm/alfandega@2.0-1.7.3?arch=src" ], + "extra_data": {}, "purl": "pkg:rpm/alfandega@2.0-1.7.3", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/plugin/rubygems-package-expected.json b/tests/packagedcode/data/plugin/rubygems-package-expected.json index 30f099ff0a6..1b8b262fb60 100644 --- a/tests/packagedcode/data/plugin/rubygems-package-expected.json +++ b/tests/packagedcode/data/plugin/rubygems-package-expected.json @@ -188,6 +188,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/m2r@2.1.0", "repository_homepage_url": "https://rubygems.org/gems/m2r/versions/2.1.0", "repository_download_url": "https://rubygems.org/downloads/m2r-2.1.0.gem", diff --git a/tests/packagedcode/data/plugin/sys-package-expected.json b/tests/packagedcode/data/plugin/sys-package-expected.json new file mode 100644 index 00000000000..f4a480ff00f --- /dev/null +++ b/tests/packagedcode/data/plugin/sys-package-expected.json @@ -0,0 +1,77 @@ +{ + "headers": [ + { + "tool_name": "scancode-toolkit", + "options": { + "input": "", + "--json": "", + "--package": true, + "--processes": "-1", + "--strip-root": true + }, + "notice": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.", + "message": null, + "errors": [], + "extra_data": { + "files_count": 1 + } + } + ], + "files": [ + { + "path": "tbs.sys", + "type": "file", + "packages": [ + { + "type": "winexe", + "namespace": null, + "name": "Microsoft\u00ae Windows\u00ae Operating System", + "version": "10.0.17763.1697", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Export driver for kernel mode TPM API", + "release_date": null, + "parties": [ + { + "type": "organization", + "role": "author", + "name": "Microsoft Corporation", + "email": null, + "url": null + } + ], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": "\u00a9 Microsoft Corporation. All rights reserved.", + "license_expression": "unknown", + "declared_license": { + "LegalCopyright": "\u00a9 Microsoft Corporation. All rights reserved.", + "LegalTrademarks": "", + "License": null + }, + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": "pkg:winexe/Microsoft%C2%AE%20Windows%C2%AE%20Operating%20System@10.0.17763.1697", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null + } + ], + "scan_errors": [] + } + ] +} \ No newline at end of file diff --git a/tests/packagedcode/data/plugin/tlb-package-expected.json b/tests/packagedcode/data/plugin/tlb-package-expected.json new file mode 100644 index 00000000000..5121a44ca9a --- /dev/null +++ b/tests/packagedcode/data/plugin/tlb-package-expected.json @@ -0,0 +1,77 @@ +{ + "headers": [ + { + "tool_name": "scancode-toolkit", + "options": { + "input": "", + "--json": "", + "--package": true, + "--processes": "-1", + "--strip-root": true + }, + "notice": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.", + "message": null, + "errors": [], + "extra_data": { + "files_count": 1 + } + } + ], + "files": [ + { + "path": "stdole2.tlb", + "type": "file", + "packages": [ + { + "type": "winexe", + "namespace": null, + "name": "Microsoft\u00ae Windows\u00ae Operating System", + "version": "10.0.18362.1256", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "STDOLE2.TLB", + "release_date": null, + "parties": [ + { + "type": "organization", + "role": "author", + "name": "Microsoft Corporation", + "email": null, + "url": null + } + ], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": "\u00a9 Microsoft Corporation. All rights reserved.", + "license_expression": "unknown", + "declared_license": { + "LegalCopyright": "\u00a9 Microsoft Corporation. All rights reserved.", + "LegalTrademarks": "", + "License": null + }, + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": "pkg:winexe/Microsoft%C2%AE%20Windows%C2%AE%20Operating%20System@10.0.18362.1256", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null + } + ], + "scan_errors": [] + } + ] +} \ No newline at end of file diff --git a/tests/packagedcode/data/plugin/win_pe-package-expected.json b/tests/packagedcode/data/plugin/win_pe-package-expected.json new file mode 100644 index 00000000000..5c81cc14f38 --- /dev/null +++ b/tests/packagedcode/data/plugin/win_pe-package-expected.json @@ -0,0 +1,77 @@ +{ + "headers": [ + { + "tool_name": "scancode-toolkit", + "options": { + "input": "", + "--json": "", + "--package": true, + "--processes": "-1", + "--strip-root": true + }, + "notice": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.", + "message": null, + "errors": [], + "extra_data": { + "files_count": 1 + } + } + ], + "files": [ + { + "path": "file.exe", + "type": "file", + "packages": [ + { + "type": "winexe", + "namespace": null, + "name": "File", + "version": "5.03.3414.16721", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "File: determine file type", + "release_date": null, + "parties": [ + { + "type": "organization", + "role": "author", + "name": "GnuWin32 ", + "email": null, + "url": null + } + ], + "keywords": [], + "homepage_url": "http://www.darwinsys.com/file/", + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": "\u00a9 2009 Ian F. Darwin", + "license_expression": "unknown", + "declared_license": { + "LegalCopyright": "\u00a9 2009 Ian F. Darwin", + "LegalTrademarks": "GnuWin32\u00ae, File\u00ae, file\u00ae", + "License": "Copyright (c) Ian F. Darwin 1986, 1987, 1989, 1990, 1991, 1992, 1994, 1995. Software written by Ian F. Darwin and others; maintained 1994-2004 Christos Zoulas. This software is not subject to any export provision of the United States Department of Commerce, and may be exported to any country or planet. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice immediately at the beginning of the file, without modification, this list of conditions, and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + }, + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": "pkg:winexe/File@5.03.3414.16721", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null + } + ], + "scan_errors": [] + } + ] +} \ No newline at end of file diff --git a/tests/packagedcode/data/plugin/winmd-package-expected.json b/tests/packagedcode/data/plugin/winmd-package-expected.json new file mode 100644 index 00000000000..036f0ff0736 --- /dev/null +++ b/tests/packagedcode/data/plugin/winmd-package-expected.json @@ -0,0 +1,77 @@ +{ + "headers": [ + { + "tool_name": "scancode-toolkit", + "options": { + "input": "", + "--json": "", + "--package": true, + "--processes": "-1", + "--strip-root": true + }, + "notice": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.", + "message": null, + "errors": [], + "extra_data": { + "files_count": 1 + } + } + ], + "files": [ + { + "path": "Windows.AI.winmd", + "type": "file", + "packages": [ + { + "type": "winexe", + "namespace": null, + "name": "Windows SDK", + "version": "10.0.10011.16384", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Windows SDK metadata", + "release_date": null, + "parties": [ + { + "type": "organization", + "role": "author", + "name": "Microsoft Corporation", + "email": null, + "url": null + } + ], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": "\u00a9 Microsoft Corporation. All rights reserved.", + "license_expression": "unknown", + "declared_license": { + "LegalCopyright": "\u00a9 Microsoft Corporation. All rights reserved.", + "LegalTrademarks": "", + "License": null + }, + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": "pkg:winexe/Windows%20SDK@10.0.10011.16384", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null + } + ], + "scan_errors": [] + } + ] +} \ No newline at end of file diff --git a/tests/packagedcode/data/pubspec/locks/dart-pubspec.lock b/tests/packagedcode/data/pubspec/locks/dart-pubspec.lock new file mode 100644 index 00000000000..ed8114f1577 --- /dev/null +++ b/tests/packagedcode/data/pubspec/locks/dart-pubspec.lock @@ -0,0 +1,397 @@ +# Generated by pub +# See https://dart.dev/tools/pub/glossary#lockfile +packages: + _fe_analyzer_shared: + dependency: transitive + description: + name: _fe_analyzer_shared + url: "https://pub.dartlang.org" + source: hosted + version: "22.0.0" + analyzer: + dependency: "direct main" + description: + name: analyzer + url: "https://pub.dartlang.org" + source: hosted + version: "1.7.1" + args: + dependency: transitive + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + async: + dependency: transitive + description: + name: async + url: "https://pub.dartlang.org" + source: hosted + version: "2.7.0" + boolean_selector: + dependency: transitive + description: + name: boolean_selector + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.0" + charcode: + dependency: transitive + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.3.1" + cli_util: + dependency: transitive + description: + name: cli_util + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.2" + collection: + dependency: transitive + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.15.0" + convert: + dependency: transitive + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "3.0.1" + coverage: + dependency: transitive + description: + name: coverage + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + crypto: + dependency: transitive + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "3.0.1" + csslib: + dependency: transitive + description: + name: csslib + url: "https://pub.dartlang.org" + source: hosted + version: "0.17.0" + dartdoc: + dependency: "direct main" + description: + name: dartdoc + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.0" + file: + dependency: transitive + description: + name: file + url: "https://pub.dartlang.org" + source: hosted + version: "6.1.2" + frontend_server_client: + dependency: transitive + description: + name: frontend_server_client + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.0" + glob: + dependency: transitive + description: + name: glob + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.1" + html: + dependency: transitive + description: + name: html + url: "https://pub.dartlang.org" + source: hosted + version: "0.15.0" + http: + dependency: "direct dev" + description: + name: http + url: "https://pub.dartlang.org" + source: hosted + version: "0.13.3" + http_multi_server: + dependency: transitive + description: + name: http_multi_server + url: "https://pub.dartlang.org" + source: hosted + version: "3.0.1" + http_parser: + dependency: transitive + description: + name: http_parser + url: "https://pub.dartlang.org" + source: hosted + version: "4.0.0" + io: + dependency: transitive + description: + name: io + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.2" + js: + dependency: transitive + description: + name: js + url: "https://pub.dartlang.org" + source: hosted + version: "0.6.3" + json_annotation: + dependency: transitive + description: + name: json_annotation + url: "https://pub.dartlang.org" + source: hosted + version: "4.0.1" + logging: + dependency: transitive + description: + name: logging + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1" + markdown: + dependency: transitive + description: + name: markdown + url: "https://pub.dartlang.org" + source: hosted + version: "4.0.0" + matcher: + dependency: transitive + description: + name: matcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.12.10" + meta: + dependency: "direct main" + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.3.0" + mime: + dependency: transitive + description: + name: mime + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.0" + node_preamble: + dependency: transitive + description: + name: node_preamble + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.1" + package_config: + dependency: transitive + description: + name: package_config + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.0" + path: + dependency: "direct main" + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.8.0" + pedantic: + dependency: transitive + description: + name: pedantic + url: "https://pub.dartlang.org" + source: hosted + version: "1.11.1" + pool: + dependency: transitive + description: + name: pool + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.0" + pub_dartdoc_data: + dependency: "direct main" + description: + path: "../pub_dartdoc_data" + relative: true + source: path + version: "0.0.0" + pub_semver: + dependency: transitive + description: + name: pub_semver + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.0" + shelf: + dependency: transitive + description: + name: shelf + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.4" + shelf_packages_handler: + dependency: transitive + description: + name: shelf_packages_handler + url: "https://pub.dartlang.org" + source: hosted + version: "3.0.0" + shelf_static: + dependency: transitive + description: + name: shelf_static + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.0" + shelf_web_socket: + dependency: transitive + description: + name: shelf_web_socket + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1" + source_map_stack_trace: + dependency: transitive + description: + name: source_map_stack_trace + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.0" + source_maps: + dependency: transitive + description: + name: source_maps + url: "https://pub.dartlang.org" + source: hosted + version: "0.10.10" + source_span: + dependency: transitive + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.8.1" + stack_trace: + dependency: transitive + description: + name: stack_trace + url: "https://pub.dartlang.org" + source: hosted + version: "1.10.0" + stream_channel: + dependency: transitive + description: + name: stream_channel + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.0" + string_scanner: + dependency: transitive + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + tar: + dependency: "direct dev" + description: + name: tar + url: "https://pub.dartlang.org" + source: hosted + version: "0.4.0" + term_glyph: + dependency: transitive + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.2.0" + test: + dependency: "direct dev" + description: + name: test + url: "https://pub.dartlang.org" + source: hosted + version: "1.17.9" + test_api: + dependency: transitive + description: + name: test_api + url: "https://pub.dartlang.org" + source: hosted + version: "0.4.1" + test_core: + dependency: transitive + description: + name: test_core + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.29" + typed_data: + dependency: transitive + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.3.0" + vm_service: + dependency: transitive + description: + name: vm_service + url: "https://pub.dartlang.org" + source: hosted + version: "7.1.0" + watcher: + dependency: transitive + description: + name: watcher + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.0" + web_socket_channel: + dependency: transitive + description: + name: web_socket_channel + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.0" + webkit_inspection_protocol: + dependency: transitive + description: + name: webkit_inspection_protocol + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.0" + yaml: + dependency: transitive + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "3.1.0" +sdks: + dart: ">=2.12.0 <3.0.0" diff --git a/tests/packagedcode/data/pubspec/locks/dart-pubspec.lock-expected.json b/tests/packagedcode/data/pubspec/locks/dart-pubspec.lock-expected.json new file mode 100644 index 00000000000..b11d9f5d81b --- /dev/null +++ b/tests/packagedcode/data/pubspec/locks/dart-pubspec.lock-expected.json @@ -0,0 +1,493 @@ +{ + "type": "pubspec", + "namespace": null, + "name": null, + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "dart", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [ + { + "purl": "pkg:pubspec/dart", + "requirement": ">=2.12.0 <3.0.0", + "scope": "sdk", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + }, + { + "purl": "pkg:pubspec/_fe_analyzer_shared@22.0.0", + "requirement": "22.0.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/analyzer@1.7.1", + "requirement": "1.7.1", + "scope": "direct main", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/args@2.1.1", + "requirement": "2.1.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/async@2.7.0", + "requirement": "2.7.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/boolean_selector@2.1.0", + "requirement": "2.1.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/charcode@1.3.1", + "requirement": "1.3.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/cli_util@0.3.2", + "requirement": "0.3.2", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/collection@1.15.0", + "requirement": "1.15.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/convert@3.0.1", + "requirement": "3.0.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/coverage@1.0.3", + "requirement": "1.0.3", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/crypto@3.0.1", + "requirement": "3.0.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/csslib@0.17.0", + "requirement": "0.17.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/dartdoc@1.0.0", + "requirement": "1.0.0", + "scope": "direct main", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/file@6.1.2", + "requirement": "6.1.2", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/frontend_server_client@2.1.0", + "requirement": "2.1.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/glob@2.0.1", + "requirement": "2.0.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/html@0.15.0", + "requirement": "0.15.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/http@0.13.3", + "requirement": "0.13.3", + "scope": "direct dev", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/http_multi_server@3.0.1", + "requirement": "3.0.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/http_parser@4.0.0", + "requirement": "4.0.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/io@1.0.2", + "requirement": "1.0.2", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/js@0.6.3", + "requirement": "0.6.3", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/json_annotation@4.0.1", + "requirement": "4.0.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/logging@1.0.1", + "requirement": "1.0.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/markdown@4.0.0", + "requirement": "4.0.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/matcher@0.12.10", + "requirement": "0.12.10", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/meta@1.3.0", + "requirement": "1.3.0", + "scope": "direct main", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/mime@1.0.0", + "requirement": "1.0.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/node_preamble@2.0.1", + "requirement": "2.0.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/package_config@2.0.0", + "requirement": "2.0.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/path@1.8.0", + "requirement": "1.8.0", + "scope": "direct main", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/pedantic@1.11.1", + "requirement": "1.11.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/pool@1.5.0", + "requirement": "1.5.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/pub_dartdoc_data@0.0.0", + "requirement": "0.0.0", + "scope": "direct main", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/pub_semver@2.0.0", + "requirement": "2.0.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/shelf@1.1.4", + "requirement": "1.1.4", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/shelf_packages_handler@3.0.0", + "requirement": "3.0.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/shelf_static@1.0.0", + "requirement": "1.0.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/shelf_web_socket@1.0.1", + "requirement": "1.0.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/source_map_stack_trace@2.1.0", + "requirement": "2.1.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/source_maps@0.10.10", + "requirement": "0.10.10", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/source_span@1.8.1", + "requirement": "1.8.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/stack_trace@1.10.0", + "requirement": "1.10.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/stream_channel@2.1.0", + "requirement": "2.1.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/string_scanner@1.1.0", + "requirement": "1.1.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/tar@0.4.0", + "requirement": "0.4.0", + "scope": "direct dev", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/term_glyph@1.2.0", + "requirement": "1.2.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/test@1.17.9", + "requirement": "1.17.9", + "scope": "direct dev", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/test_api@0.4.1", + "requirement": "0.4.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/test_core@0.3.29", + "requirement": "0.3.29", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/typed_data@1.3.0", + "requirement": "1.3.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/vm_service@7.1.0", + "requirement": "7.1.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/watcher@1.0.0", + "requirement": "1.0.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/web_socket_channel@2.1.0", + "requirement": "2.1.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/webkit_inspection_protocol@1.0.0", + "requirement": "1.0.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/yaml@3.1.0", + "requirement": "3.1.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + } + ], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": null, + "repository_homepage_url": "https://pub.dev/packages/None/versions/None", + "repository_download_url": "https://pub.dartlang.org/packages/None/versions/None.tar.gz", + "api_data_url": "https://pub.dev/api/packages/None/versions/None" +} \ No newline at end of file diff --git a/tests/packagedcode/data/pubspec/locks/stock-pubspec.lock b/tests/packagedcode/data/pubspec/locks/stock-pubspec.lock new file mode 100644 index 00000000000..a20315a5f07 --- /dev/null +++ b/tests/packagedcode/data/pubspec/locks/stock-pubspec.lock @@ -0,0 +1,285 @@ +# Generated by pub +# See https://dart.dev/tools/pub/glossary#lockfile +packages: + async: + dependency: transitive + description: + name: async + url: "https://pub.dartlang.org" + source: hosted + version: "2.6.1" + boolean_selector: + dependency: transitive + description: + name: boolean_selector + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.0" + characters: + dependency: transitive + description: + name: characters + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + charcode: + dependency: transitive + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.2.0" + clock: + dependency: transitive + description: + name: clock + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + collection: + dependency: transitive + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.15.0" + cupertino_icons: + dependency: "direct main" + description: + name: cupertino_icons + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + equatable: + dependency: transitive + description: + name: equatable + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.3" + fake_async: + dependency: transitive + description: + name: fake_async + url: "https://pub.dartlang.org" + source: hosted + version: "1.2.0" + firebase_auth: + dependency: "direct main" + description: + name: firebase_auth + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.0" + firebase_auth_platform_interface: + dependency: transitive + description: + name: firebase_auth_platform_interface + url: "https://pub.dartlang.org" + source: hosted + version: "5.0.0" + firebase_auth_web: + dependency: transitive + description: + name: firebase_auth_web + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.0" + firebase_core: + dependency: "direct main" + description: + name: firebase_core + url: "https://pub.dartlang.org" + source: hosted + version: "1.3.0" + firebase_core_platform_interface: + dependency: transitive + description: + name: firebase_core_platform_interface + url: "https://pub.dartlang.org" + source: hosted + version: "4.0.1" + firebase_core_web: + dependency: transitive + description: + name: firebase_core_web + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + fl_chart: + dependency: "direct main" + description: + name: fl_chart + url: "https://pub.dartlang.org" + source: hosted + version: "0.36.2" + flutter: + dependency: "direct main" + description: flutter + source: sdk + version: "0.0.0" + flutter_svg: + dependency: "direct main" + description: + name: flutter_svg + url: "https://pub.dartlang.org" + source: hosted + version: "0.22.0" + flutter_test: + dependency: "direct dev" + description: flutter + source: sdk + version: "0.0.0" + flutter_web_plugins: + dependency: transitive + description: flutter + source: sdk + version: "0.0.0" + http_parser: + dependency: transitive + description: + name: http_parser + url: "https://pub.dartlang.org" + source: hosted + version: "4.0.0" + intl: + dependency: transitive + description: + name: intl + url: "https://pub.dartlang.org" + source: hosted + version: "0.17.0" + js: + dependency: transitive + description: + name: js + url: "https://pub.dartlang.org" + source: hosted + version: "0.6.3" + matcher: + dependency: transitive + description: + name: matcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.12.10" + meta: + dependency: transitive + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.3.0" + path: + dependency: transitive + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.8.0" + path_drawing: + dependency: transitive + description: + name: path_drawing + url: "https://pub.dartlang.org" + source: hosted + version: "0.5.1" + path_parsing: + dependency: transitive + description: + name: path_parsing + url: "https://pub.dartlang.org" + source: hosted + version: "0.2.1" + pedantic: + dependency: transitive + description: + name: pedantic + url: "https://pub.dartlang.org" + source: hosted + version: "1.11.1" + petitparser: + dependency: transitive + description: + name: petitparser + url: "https://pub.dartlang.org" + source: hosted + version: "4.1.0" + plugin_platform_interface: + dependency: transitive + description: + name: plugin_platform_interface + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.1" + sky_engine: + dependency: transitive + description: flutter + source: sdk + version: "0.0.99" + source_span: + dependency: transitive + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.8.1" + stack_trace: + dependency: transitive + description: + name: stack_trace + url: "https://pub.dartlang.org" + source: hosted + version: "1.10.0" + stream_channel: + dependency: transitive + description: + name: stream_channel + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.0" + string_scanner: + dependency: transitive + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + term_glyph: + dependency: transitive + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.2.0" + test_api: + dependency: transitive + description: + name: test_api + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.0" + typed_data: + dependency: transitive + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.3.0" + vector_math: + dependency: transitive + description: + name: vector_math + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.0" + xml: + dependency: transitive + description: + name: xml + url: "https://pub.dartlang.org" + source: hosted + version: "5.1.2" +sdks: + dart: ">=2.12.0 <3.0.0" + flutter: ">=1.24.0-7.0" diff --git a/tests/packagedcode/data/pubspec/locks/stock-pubspec.lock-expected.json b/tests/packagedcode/data/pubspec/locks/stock-pubspec.lock-expected.json new file mode 100644 index 00000000000..2db590a08b3 --- /dev/null +++ b/tests/packagedcode/data/pubspec/locks/stock-pubspec.lock-expected.json @@ -0,0 +1,381 @@ +{ + "type": "pubspec", + "namespace": null, + "name": null, + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "dart", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [ + { + "purl": "pkg:pubspec/dart", + "requirement": ">=2.12.0 <3.0.0", + "scope": "sdk", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + }, + { + "purl": "pkg:pubspec/flutter", + "requirement": ">=1.24.0-7.0", + "scope": "sdk", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + }, + { + "purl": "pkg:pubspec/async@2.6.1", + "requirement": "2.6.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/boolean_selector@2.1.0", + "requirement": "2.1.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/characters@1.1.0", + "requirement": "1.1.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/charcode@1.2.0", + "requirement": "1.2.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/clock@1.1.0", + "requirement": "1.1.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/collection@1.15.0", + "requirement": "1.15.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/cupertino_icons@1.0.3", + "requirement": "1.0.3", + "scope": "direct main", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/equatable@2.0.3", + "requirement": "2.0.3", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/fake_async@1.2.0", + "requirement": "1.2.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/firebase_auth@2.0.0", + "requirement": "2.0.0", + "scope": "direct main", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/firebase_auth_platform_interface@5.0.0", + "requirement": "5.0.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/firebase_auth_web@2.0.0", + "requirement": "2.0.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/firebase_core@1.3.0", + "requirement": "1.3.0", + "scope": "direct main", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/firebase_core_platform_interface@4.0.1", + "requirement": "4.0.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/firebase_core_web@1.1.0", + "requirement": "1.1.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/fl_chart@0.36.2", + "requirement": "0.36.2", + "scope": "direct main", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/flutter@0.0.0", + "requirement": "0.0.0", + "scope": "direct main", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/flutter_svg@0.22.0", + "requirement": "0.22.0", + "scope": "direct main", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/flutter_test@0.0.0", + "requirement": "0.0.0", + "scope": "direct dev", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/flutter_web_plugins@0.0.0", + "requirement": "0.0.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/http_parser@4.0.0", + "requirement": "4.0.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/intl@0.17.0", + "requirement": "0.17.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/js@0.6.3", + "requirement": "0.6.3", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/matcher@0.12.10", + "requirement": "0.12.10", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/meta@1.3.0", + "requirement": "1.3.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/path@1.8.0", + "requirement": "1.8.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/path_drawing@0.5.1", + "requirement": "0.5.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/path_parsing@0.2.1", + "requirement": "0.2.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/pedantic@1.11.1", + "requirement": "1.11.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/petitparser@4.1.0", + "requirement": "4.1.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/plugin_platform_interface@2.0.1", + "requirement": "2.0.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/sky_engine@0.0.99", + "requirement": "0.0.99", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/source_span@1.8.1", + "requirement": "1.8.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/stack_trace@1.10.0", + "requirement": "1.10.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/stream_channel@2.1.0", + "requirement": "2.1.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/string_scanner@1.1.0", + "requirement": "1.1.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/term_glyph@1.2.0", + "requirement": "1.2.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/test_api@0.3.0", + "requirement": "0.3.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/typed_data@1.3.0", + "requirement": "1.3.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/vector_math@2.1.0", + "requirement": "2.1.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/xml@5.1.2", + "requirement": "5.1.2", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + } + ], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": null, + "repository_homepage_url": "https://pub.dev/packages/None/versions/None", + "repository_download_url": "https://pub.dartlang.org/packages/None/versions/None.tar.gz", + "api_data_url": "https://pub.dev/api/packages/None/versions/None" +} \ No newline at end of file diff --git a/tests/packagedcode/data/pubspec/locks/weather-pubspec.lock b/tests/packagedcode/data/pubspec/locks/weather-pubspec.lock new file mode 100644 index 00000000000..d349892878e --- /dev/null +++ b/tests/packagedcode/data/pubspec/locks/weather-pubspec.lock @@ -0,0 +1,482 @@ +# Generated by pub +# See https://dart.dev/tools/pub/glossary#lockfile +packages: + _fe_analyzer_shared: + dependency: transitive + description: + name: _fe_analyzer_shared + url: "https://pub.dartlang.org" + source: hosted + version: "22.0.0" + analyzer: + dependency: transitive + description: + name: analyzer + url: "https://pub.dartlang.org" + source: hosted + version: "1.7.1" + args: + dependency: transitive + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.1" + async: + dependency: transitive + description: + name: async + url: "https://pub.dartlang.org" + source: hosted + version: "2.6.1" + boolean_selector: + dependency: transitive + description: + name: boolean_selector + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.0" + build: + dependency: transitive + description: + name: build + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.2" + build_config: + dependency: transitive + description: + name: build_config + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.0" + build_daemon: + dependency: transitive + description: + name: build_daemon + url: "https://pub.dartlang.org" + source: hosted + version: "3.0.0" + build_resolvers: + dependency: transitive + description: + name: build_resolvers + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.3" + build_runner: + dependency: "direct dev" + description: + name: build_runner + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.5" + build_runner_core: + dependency: transitive + description: + name: build_runner_core + url: "https://pub.dartlang.org" + source: hosted + version: "7.0.0" + built_collection: + dependency: "direct main" + description: + name: built_collection + url: "https://pub.dartlang.org" + source: hosted + version: "5.1.0" + built_value: + dependency: "direct main" + description: + name: built_value + url: "https://pub.dartlang.org" + source: hosted + version: "8.1.0" + built_value_generator: + dependency: "direct dev" + description: + name: built_value_generator + url: "https://pub.dartlang.org" + source: hosted + version: "8.1.0" + characters: + dependency: transitive + description: + name: characters + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + charcode: + dependency: transitive + description: + name: charcode + url: "https://pub.dartlang.org" + source: hosted + version: "1.2.0" + checked_yaml: + dependency: transitive + description: + name: checked_yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.1" + cli_util: + dependency: transitive + description: + name: cli_util + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.2" + clock: + dependency: transitive + description: + name: clock + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + code_builder: + dependency: transitive + description: + name: code_builder + url: "https://pub.dartlang.org" + source: hosted + version: "4.0.0" + collection: + dependency: transitive + description: + name: collection + url: "https://pub.dartlang.org" + source: hosted + version: "1.15.0" + convert: + dependency: transitive + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "3.0.1" + crypto: + dependency: transitive + description: + name: crypto + url: "https://pub.dartlang.org" + source: hosted + version: "3.0.1" + cupertino_icons: + dependency: "direct main" + description: + name: cupertino_icons + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + dart_style: + dependency: transitive + description: + name: dart_style + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.1" + fake_async: + dependency: transitive + description: + name: fake_async + url: "https://pub.dartlang.org" + source: hosted + version: "1.2.0" + file: + dependency: transitive + description: + name: file + url: "https://pub.dartlang.org" + source: hosted + version: "6.1.2" + fixnum: + dependency: transitive + description: + name: fixnum + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.0" + flutter: + dependency: "direct main" + description: flutter + source: sdk + version: "0.0.0" + flutter_redux: + dependency: "direct main" + description: + name: flutter_redux + url: "https://pub.dartlang.org" + source: hosted + version: "0.8.2" + flutter_test: + dependency: "direct dev" + description: flutter + source: sdk + version: "0.0.0" + frontend_server_client: + dependency: transitive + description: + name: frontend_server_client + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.0" + glob: + dependency: transitive + description: + name: glob + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.1" + graphs: + dependency: transitive + description: + name: graphs + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.0" + http: + dependency: "direct main" + description: + name: http + url: "https://pub.dartlang.org" + source: hosted + version: "0.13.3" + http_multi_server: + dependency: transitive + description: + name: http_multi_server + url: "https://pub.dartlang.org" + source: hosted + version: "3.0.1" + http_parser: + dependency: transitive + description: + name: http_parser + url: "https://pub.dartlang.org" + source: hosted + version: "4.0.0" + io: + dependency: transitive + description: + name: io + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.2" + js: + dependency: transitive + description: + name: js + url: "https://pub.dartlang.org" + source: hosted + version: "0.6.3" + json_annotation: + dependency: transitive + description: + name: json_annotation + url: "https://pub.dartlang.org" + source: hosted + version: "4.0.1" + logging: + dependency: transitive + description: + name: logging + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1" + matcher: + dependency: transitive + description: + name: matcher + url: "https://pub.dartlang.org" + source: hosted + version: "0.12.10" + meta: + dependency: transitive + description: + name: meta + url: "https://pub.dartlang.org" + source: hosted + version: "1.3.0" + mime: + dependency: transitive + description: + name: mime + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.0" + package_config: + dependency: transitive + description: + name: package_config + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.0" + path: + dependency: transitive + description: + name: path + url: "https://pub.dartlang.org" + source: hosted + version: "1.8.0" + pedantic: + dependency: transitive + description: + name: pedantic + url: "https://pub.dartlang.org" + source: hosted + version: "1.11.1" + pool: + dependency: transitive + description: + name: pool + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.0" + pub_semver: + dependency: transitive + description: + name: pub_semver + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.0" + pubspec_parse: + dependency: transitive + description: + name: pubspec_parse + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.0" + quiver: + dependency: transitive + description: + name: quiver + url: "https://pub.dartlang.org" + source: hosted + version: "3.0.1" + redux: + dependency: "direct main" + description: + name: redux + url: "https://pub.dartlang.org" + source: hosted + version: "5.0.0" + shelf: + dependency: transitive + description: + name: shelf + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.4" + shelf_web_socket: + dependency: transitive + description: + name: shelf_web_socket + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1" + sky_engine: + dependency: transitive + description: flutter + source: sdk + version: "0.0.99" + source_gen: + dependency: transitive + description: + name: source_gen + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.2" + source_span: + dependency: transitive + description: + name: source_span + url: "https://pub.dartlang.org" + source: hosted + version: "1.8.1" + stack_trace: + dependency: transitive + description: + name: stack_trace + url: "https://pub.dartlang.org" + source: hosted + version: "1.10.0" + stream_channel: + dependency: transitive + description: + name: stream_channel + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.0" + stream_transform: + dependency: transitive + description: + name: stream_transform + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.0" + string_scanner: + dependency: transitive + description: + name: string_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" + term_glyph: + dependency: transitive + description: + name: term_glyph + url: "https://pub.dartlang.org" + source: hosted + version: "1.2.0" + test_api: + dependency: transitive + description: + name: test_api + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.0" + timing: + dependency: transitive + description: + name: timing + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.0" + typed_data: + dependency: transitive + description: + name: typed_data + url: "https://pub.dartlang.org" + source: hosted + version: "1.3.0" + vector_math: + dependency: transitive + description: + name: vector_math + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.0" + watcher: + dependency: transitive + description: + name: watcher + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.0" + web_socket_channel: + dependency: transitive + description: + name: web_socket_channel + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.0" + yaml: + dependency: transitive + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "3.1.0" +sdks: + dart: ">=2.12.0 <3.0.0" diff --git a/tests/packagedcode/data/pubspec/locks/weather-pubspec.lock-expected.json b/tests/packagedcode/data/pubspec/locks/weather-pubspec.lock-expected.json new file mode 100644 index 00000000000..712879d5eb8 --- /dev/null +++ b/tests/packagedcode/data/pubspec/locks/weather-pubspec.lock-expected.json @@ -0,0 +1,597 @@ +{ + "type": "pubspec", + "namespace": null, + "name": null, + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "dart", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [ + { + "purl": "pkg:pubspec/dart", + "requirement": ">=2.12.0 <3.0.0", + "scope": "sdk", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + }, + { + "purl": "pkg:pubspec/_fe_analyzer_shared@22.0.0", + "requirement": "22.0.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/analyzer@1.7.1", + "requirement": "1.7.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/args@2.1.1", + "requirement": "2.1.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/async@2.6.1", + "requirement": "2.6.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/boolean_selector@2.1.0", + "requirement": "2.1.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/build@2.0.2", + "requirement": "2.0.2", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/build_config@1.0.0", + "requirement": "1.0.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/build_daemon@3.0.0", + "requirement": "3.0.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/build_resolvers@2.0.3", + "requirement": "2.0.3", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/build_runner@2.0.5", + "requirement": "2.0.5", + "scope": "direct dev", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/build_runner_core@7.0.0", + "requirement": "7.0.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/built_collection@5.1.0", + "requirement": "5.1.0", + "scope": "direct main", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/built_value@8.1.0", + "requirement": "8.1.0", + "scope": "direct main", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/built_value_generator@8.1.0", + "requirement": "8.1.0", + "scope": "direct dev", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/characters@1.1.0", + "requirement": "1.1.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/charcode@1.2.0", + "requirement": "1.2.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/checked_yaml@2.0.1", + "requirement": "2.0.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/cli_util@0.3.2", + "requirement": "0.3.2", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/clock@1.1.0", + "requirement": "1.1.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/code_builder@4.0.0", + "requirement": "4.0.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/collection@1.15.0", + "requirement": "1.15.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/convert@3.0.1", + "requirement": "3.0.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/crypto@3.0.1", + "requirement": "3.0.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/cupertino_icons@1.0.3", + "requirement": "1.0.3", + "scope": "direct main", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/dart_style@2.0.1", + "requirement": "2.0.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/fake_async@1.2.0", + "requirement": "1.2.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/file@6.1.2", + "requirement": "6.1.2", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/fixnum@1.0.0", + "requirement": "1.0.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/flutter@0.0.0", + "requirement": "0.0.0", + "scope": "direct main", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/flutter_redux@0.8.2", + "requirement": "0.8.2", + "scope": "direct main", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/flutter_test@0.0.0", + "requirement": "0.0.0", + "scope": "direct dev", + "is_runtime": false, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/frontend_server_client@2.1.0", + "requirement": "2.1.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/glob@2.0.1", + "requirement": "2.0.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/graphs@2.0.0", + "requirement": "2.0.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/http@0.13.3", + "requirement": "0.13.3", + "scope": "direct main", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/http_multi_server@3.0.1", + "requirement": "3.0.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/http_parser@4.0.0", + "requirement": "4.0.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/io@1.0.2", + "requirement": "1.0.2", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/js@0.6.3", + "requirement": "0.6.3", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/json_annotation@4.0.1", + "requirement": "4.0.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/logging@1.0.1", + "requirement": "1.0.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/matcher@0.12.10", + "requirement": "0.12.10", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/meta@1.3.0", + "requirement": "1.3.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/mime@1.0.0", + "requirement": "1.0.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/package_config@2.0.0", + "requirement": "2.0.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/path@1.8.0", + "requirement": "1.8.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/pedantic@1.11.1", + "requirement": "1.11.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/pool@1.5.0", + "requirement": "1.5.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/pub_semver@2.0.0", + "requirement": "2.0.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/pubspec_parse@1.0.0", + "requirement": "1.0.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/quiver@3.0.1", + "requirement": "3.0.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/redux@5.0.0", + "requirement": "5.0.0", + "scope": "direct main", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/shelf@1.1.4", + "requirement": "1.1.4", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/shelf_web_socket@1.0.1", + "requirement": "1.0.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/sky_engine@0.0.99", + "requirement": "0.0.99", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/source_gen@1.0.2", + "requirement": "1.0.2", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/source_span@1.8.1", + "requirement": "1.8.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/stack_trace@1.10.0", + "requirement": "1.10.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/stream_channel@2.1.0", + "requirement": "2.1.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/stream_transform@2.0.0", + "requirement": "2.0.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/string_scanner@1.1.0", + "requirement": "1.1.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/term_glyph@1.2.0", + "requirement": "1.2.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/test_api@0.3.0", + "requirement": "0.3.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/timing@1.0.0", + "requirement": "1.0.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/typed_data@1.3.0", + "requirement": "1.3.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/vector_math@2.1.0", + "requirement": "2.1.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/watcher@1.0.0", + "requirement": "1.0.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/web_socket_channel@2.1.0", + "requirement": "2.1.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/yaml@3.1.0", + "requirement": "3.1.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + } + ], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": null, + "repository_homepage_url": "https://pub.dev/packages/None/versions/None", + "repository_download_url": "https://pub.dartlang.org/packages/None/versions/None.tar.gz", + "api_data_url": "https://pub.dev/api/packages/None/versions/None" +} \ No newline at end of file diff --git a/tests/packagedcode/data/pubspec/mini-pubspec.lock b/tests/packagedcode/data/pubspec/mini-pubspec.lock new file mode 100644 index 00000000000..5464f980ac6 --- /dev/null +++ b/tests/packagedcode/data/pubspec/mini-pubspec.lock @@ -0,0 +1,41 @@ +# Generated by pub +# See https://dart.dev/tools/pub/glossary#lockfile +packages: + async: + dependency: transitive + description: + name: async + url: "https://pub.dartlang.org" + source: hosted + version: "2.6.1" + cupertino_icons: + dependency: "direct main" + description: + name: cupertino_icons + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.3" + equatable: + dependency: transitive + description: + name: equatable + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.3" + fake_async: + dependency: transitive + description: + name: fake_async + url: "https://pub.dartlang.org" + source: hosted + version: "1.2.0" + firebase_auth: + dependency: "direct main" + description: + name: firebase_auth + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.0" +sdks: + dart: ">=2.12.0 <3.0.0" + flutter: ">=1.24.0-7.0" diff --git a/tests/packagedcode/data/pubspec/mini-pubspec.lock-expected.json b/tests/packagedcode/data/pubspec/mini-pubspec.lock-expected.json new file mode 100644 index 00000000000..2c1b23c1728 --- /dev/null +++ b/tests/packagedcode/data/pubspec/mini-pubspec.lock-expected.json @@ -0,0 +1,93 @@ +{ + "type": "pubspec", + "namespace": null, + "name": null, + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "dart", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [ + { + "purl": "pkg:pubspec/dart", + "requirement": ">=2.12.0 <3.0.0", + "scope": "sdk", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + }, + { + "purl": "pkg:pubspec/flutter", + "requirement": ">=1.24.0-7.0", + "scope": "sdk", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + }, + { + "purl": "pkg:pubspec/async@2.6.1", + "requirement": "2.6.1", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/cupertino_icons@1.0.3", + "requirement": "1.0.3", + "scope": "direct main", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/equatable@2.0.3", + "requirement": "2.0.3", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/fake_async@1.2.0", + "requirement": "1.2.0", + "scope": "transitive", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/firebase_auth@2.0.0", + "requirement": "2.0.0", + "scope": "direct main", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + } + ], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": null, + "repository_homepage_url": "https://pub.dev/packages/None/versions/None", + "repository_download_url": "https://pub.dartlang.org/packages/None/versions/None.tar.gz", + "api_data_url": "https://pub.dev/api/packages/None/versions/None" +} \ No newline at end of file diff --git a/tests/packagedcode/data/pubspec/specs/authors-pubspec.yaml b/tests/packagedcode/data/pubspec/specs/authors-pubspec.yaml new file mode 100644 index 00000000000..5482d6a8eef --- /dev/null +++ b/tests/packagedcode/data/pubspec/specs/authors-pubspec.yaml @@ -0,0 +1,13 @@ +name: openapi +version: 1.0.0 +description: OpenAPI API client +author: John Does +authors: + - Author +homepage: homepage +environment: + sdk: '>=2.0.0 <3.0.0' +dependencies: + http: '>=0.12.0 <0.13.0' +dev_dependencies: + test: ^1.3.0 diff --git a/tests/packagedcode/data/pubspec/specs/authors-pubspec.yaml-expected.json b/tests/packagedcode/data/pubspec/specs/authors-pubspec.yaml-expected.json new file mode 100644 index 00000000000..a0544230168 --- /dev/null +++ b/tests/packagedcode/data/pubspec/specs/authors-pubspec.yaml-expected.json @@ -0,0 +1,76 @@ +{ + "type": "pubspec", + "namespace": null, + "name": "openapi", + "version": "1.0.0", + "qualifiers": {}, + "subpath": null, + "primary_language": "dart", + "description": "OpenAPI API client", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "John Does", + "email": null, + "url": null + }, + { + "type": "person", + "role": "author", + "name": "Author ", + "email": null, + "url": null + } + ], + "keywords": [], + "homepage_url": "homepage", + "download_url": "https://pub.dartlang.org/packages/openapi/versions/1.0.0.tar.gz", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [ + { + "purl": "pkg:pubspec/http", + "requirement": ">=0.12.0 <0.13.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + }, + { + "purl": "pkg:pubspec/test", + "requirement": "^1.3.0", + "scope": "dev_dependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false + }, + { + "purl": "pkg:pubspec/sdk", + "requirement": ">=2.0.0 <3.0.0", + "scope": "environment", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + } + ], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": "pkg:pubspec/openapi@1.0.0", + "repository_homepage_url": "https://pub.dev/packages/openapi/versions/1.0.0", + "repository_download_url": "https://pub.dartlang.org/packages/openapi/versions/1.0.0.tar.gz", + "api_data_url": "https://pub.dev/api/packages/openapi/versions/1.0.0" +} \ No newline at end of file diff --git a/tests/packagedcode/data/pubspec/specs/deps-versions-dict-pubspec.yaml b/tests/packagedcode/data/pubspec/specs/deps-versions-dict-pubspec.yaml new file mode 100644 index 00000000000..e11fe1e02d0 --- /dev/null +++ b/tests/packagedcode/data/pubspec/specs/deps-versions-dict-pubspec.yaml @@ -0,0 +1,17 @@ +name: foobar +version: 1.0.0+1 + +environment: + sdk: ">=2.0.0-dev.68.0 <3.0.0" + +dependencies: + flutter: + sdk: flutter + rxdart: ^0.18.0 + # Use with the CupertinoIcons class for iOS style icons. + cupertino_icons: ^0.1.2 + + +dev_dependencies: + flutter_test: + sdk: flutter diff --git a/tests/packagedcode/data/pubspec/specs/deps-versions-dict-pubspec.yaml-expected.json b/tests/packagedcode/data/pubspec/specs/deps-versions-dict-pubspec.yaml-expected.json new file mode 100644 index 00000000000..8344b19567c --- /dev/null +++ b/tests/packagedcode/data/pubspec/specs/deps-versions-dict-pubspec.yaml-expected.json @@ -0,0 +1,77 @@ +{ + "type": "pubspec", + "namespace": null, + "name": "foobar", + "version": "1.0.0+1", + "qualifiers": {}, + "subpath": null, + "primary_language": "dart", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": "https://pub.dartlang.org/packages/foobar/versions/1.0.0+1.tar.gz", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [ + { + "purl": "pkg:pubspec/flutter", + "requirement": "sdk: flutter", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + }, + { + "purl": "pkg:pubspec/rxdart", + "requirement": "^0.18.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + }, + { + "purl": "pkg:pubspec/cupertino_icons", + "requirement": "^0.1.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + }, + { + "purl": "pkg:pubspec/flutter_test", + "requirement": "sdk: flutter", + "scope": "dev_dependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false + }, + { + "purl": "pkg:pubspec/sdk", + "requirement": ">=2.0.0-dev.68.0 <3.0.0", + "scope": "environment", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + } + ], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": "pkg:pubspec/foobar@1.0.0%2B1", + "repository_homepage_url": "https://pub.dev/packages/foobar/versions/1.0.0+1", + "repository_download_url": "https://pub.dartlang.org/packages/foobar/versions/1.0.0+1.tar.gz", + "api_data_url": "https://pub.dev/api/packages/foobar/versions/1.0.0+1" +} \ No newline at end of file diff --git a/tests/packagedcode/data/pubspec/specs/many-deps-pubspec.yaml b/tests/packagedcode/data/pubspec/specs/many-deps-pubspec.yaml new file mode 100644 index 00000000000..e22b6c38ddd --- /dev/null +++ b/tests/packagedcode/data/pubspec/specs/many-deps-pubspec.yaml @@ -0,0 +1,14 @@ +name: built_collection +version: 5.1.0 +description: > + Immutable collections based on the SDK collections. Each SDK collection class + is split into a new immutable collection class and a corresponding mutable + builder class. +homepage: https://github.com/google/built_collection.dart + +environment: + sdk: '>=2.12.0-0 <3.0.0' + +dev_dependencies: + pedantic: ^1.4.0 + test: ^1.16.0-nullsafety diff --git a/tests/packagedcode/data/pubspec/specs/many-deps-pubspec.yaml-expected.json b/tests/packagedcode/data/pubspec/specs/many-deps-pubspec.yaml-expected.json new file mode 100644 index 00000000000..ce0924df3d0 --- /dev/null +++ b/tests/packagedcode/data/pubspec/specs/many-deps-pubspec.yaml-expected.json @@ -0,0 +1,61 @@ +{ + "type": "pubspec", + "namespace": null, + "name": "built_collection", + "version": "5.1.0", + "qualifiers": {}, + "subpath": null, + "primary_language": "dart", + "description": "Immutable collections based on the SDK collections. Each SDK collection class is split into a new immutable collection class and a corresponding mutable builder class.\n", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": "https://github.com/google/built_collection.dart", + "download_url": "https://pub.dartlang.org/packages/built_collection/versions/5.1.0.tar.gz", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [ + { + "purl": "pkg:pubspec/pedantic", + "requirement": "^1.4.0", + "scope": "dev_dependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false + }, + { + "purl": "pkg:pubspec/test", + "requirement": "^1.16.0-nullsafety", + "scope": "dev_dependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false + }, + { + "purl": "pkg:pubspec/sdk", + "requirement": ">=2.12.0-0 <3.0.0", + "scope": "environment", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + } + ], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": "pkg:pubspec/built_collection@5.1.0", + "repository_homepage_url": "https://pub.dev/packages/built_collection/versions/5.1.0", + "repository_download_url": "https://pub.dartlang.org/packages/built_collection/versions/5.1.0.tar.gz", + "api_data_url": "https://pub.dev/api/packages/built_collection/versions/5.1.0" +} \ No newline at end of file diff --git a/tests/packagedcode/data/pubspec/specs/mini-deps-pubspec.yaml b/tests/packagedcode/data/pubspec/specs/mini-deps-pubspec.yaml new file mode 100644 index 00000000000..3b416d0c883 --- /dev/null +++ b/tests/packagedcode/data/pubspec/specs/mini-deps-pubspec.yaml @@ -0,0 +1,17 @@ +name: flutter_oss_licenses +description: A tool for generating detail and better OSS license list using pubspec.lock. +homepage: https://github.com/espresso3389/flutter_oss_licenses +version: "1.0.1" + +environment: + sdk: '>=2.12.0 <3.0.0' + +executables: + generate: + +dependencies: + path: 1.7.0 + meta: ^1.2.4 + yaml: ^3.1.0 + +dev_dependencies: diff --git a/tests/packagedcode/data/pubspec/specs/mini-deps-pubspec.yaml-expected.json b/tests/packagedcode/data/pubspec/specs/mini-deps-pubspec.yaml-expected.json new file mode 100644 index 00000000000..25e2abfedb4 --- /dev/null +++ b/tests/packagedcode/data/pubspec/specs/mini-deps-pubspec.yaml-expected.json @@ -0,0 +1,73 @@ +{ + "type": "pubspec", + "namespace": null, + "name": "flutter_oss_licenses", + "version": "1.0.1", + "qualifiers": {}, + "subpath": null, + "primary_language": "dart", + "description": "A tool for generating detail and better OSS license list using pubspec.lock.", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": "https://github.com/espresso3389/flutter_oss_licenses", + "download_url": "https://pub.dartlang.org/packages/flutter_oss_licenses/versions/1.0.1.tar.gz", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [ + { + "purl": "pkg:pubspec/path@1.7.0", + "requirement": "1.7.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pubspec/meta", + "requirement": "^1.2.4", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + }, + { + "purl": "pkg:pubspec/yaml", + "requirement": "^3.1.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + }, + { + "purl": "pkg:pubspec/sdk", + "requirement": ">=2.12.0 <3.0.0", + "scope": "environment", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + } + ], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "executables": { + "generate": "" + } + }, + "purl": "pkg:pubspec/flutter_oss_licenses@1.0.1", + "repository_homepage_url": "https://pub.dev/packages/flutter_oss_licenses/versions/1.0.1", + "repository_download_url": "https://pub.dartlang.org/packages/flutter_oss_licenses/versions/1.0.1.tar.gz", + "api_data_url": "https://pub.dev/api/packages/flutter_oss_licenses/versions/1.0.1" +} \ No newline at end of file diff --git a/tests/packagedcode/data/pubspec/specs/publish-pubspec.yaml b/tests/packagedcode/data/pubspec/specs/publish-pubspec.yaml new file mode 100644 index 00000000000..c7399a170c2 --- /dev/null +++ b/tests/packagedcode/data/pubspec/specs/publish-pubspec.yaml @@ -0,0 +1,20 @@ +name: 'mock_name' +version: 1.1.0 +description: mock description +author: Mock Author +homepage: https://github.com/Workiva/mock_name +publish_to: https://pub.workiva.org + +environment: + sdk: '>=1.23.0 <2.0.0' + +executables: + abide: + +dependencies: + yaml: ^2.1.12 + args: '>=0.13.0 <2.0.0' + resource: ^2.1.2 + +dev_dependencies: + mockito: ^0.11.0 diff --git a/tests/packagedcode/data/pubspec/specs/publish-pubspec.yaml-expected.json b/tests/packagedcode/data/pubspec/specs/publish-pubspec.yaml-expected.json new file mode 100644 index 00000000000..e3ebc31633c --- /dev/null +++ b/tests/packagedcode/data/pubspec/specs/publish-pubspec.yaml-expected.json @@ -0,0 +1,90 @@ +{ + "type": "pubspec", + "namespace": null, + "name": "mock_name", + "version": "1.1.0", + "qualifiers": {}, + "subpath": null, + "primary_language": "dart", + "description": "mock description", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Mock Author ", + "email": null, + "url": null + } + ], + "keywords": [], + "homepage_url": "https://github.com/Workiva/mock_name", + "download_url": "https://pub.dartlang.org/packages/mock_name/versions/1.1.0.tar.gz", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [ + { + "purl": "pkg:pubspec/yaml", + "requirement": "^2.1.12", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + }, + { + "purl": "pkg:pubspec/args", + "requirement": ">=0.13.0 <2.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + }, + { + "purl": "pkg:pubspec/resource", + "requirement": "^2.1.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + }, + { + "purl": "pkg:pubspec/mockito", + "requirement": "^0.11.0", + "scope": "dev_dependencies", + "is_runtime": false, + "is_optional": true, + "is_resolved": false + }, + { + "purl": "pkg:pubspec/sdk", + "requirement": ">=1.23.0 <2.0.0", + "scope": "environment", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + } + ], + "contains_source_code": null, + "source_packages": [], + "extra_data": { + "executables": { + "abide": "" + }, + "publish_to": "https://pub.workiva.org" + }, + "purl": "pkg:pubspec/mock_name@1.1.0", + "repository_homepage_url": "https://pub.dev/packages/mock_name/versions/1.1.0", + "repository_download_url": "https://pub.dartlang.org/packages/mock_name/versions/1.1.0.tar.gz", + "api_data_url": "https://pub.dev/api/packages/mock_name/versions/1.1.0" +} \ No newline at end of file diff --git a/tests/packagedcode/data/pubspec/specs/simple-pubspec.yaml b/tests/packagedcode/data/pubspec/specs/simple-pubspec.yaml new file mode 100644 index 00000000000..021727201bc --- /dev/null +++ b/tests/packagedcode/data/pubspec/specs/simple-pubspec.yaml @@ -0,0 +1,12 @@ +name: painter +description: A simple widget to paint with your fingers. Supports setting a background color, undo and export to png! +version: 2.0.0 +repository: https://github.com/EPNW/painter + +environment: + sdk: ">=2.12.0 <3.0.0" + flutter: ">=2.0.0" + +dependencies: + flutter: + sdk: flutter diff --git a/tests/packagedcode/data/pubspec/specs/simple-pubspec.yaml-expected.json b/tests/packagedcode/data/pubspec/specs/simple-pubspec.yaml-expected.json new file mode 100644 index 00000000000..3f135a30fa2 --- /dev/null +++ b/tests/packagedcode/data/pubspec/specs/simple-pubspec.yaml-expected.json @@ -0,0 +1,61 @@ +{ + "type": "pubspec", + "namespace": null, + "name": "painter", + "version": "2.0.0", + "qualifiers": {}, + "subpath": null, + "primary_language": "dart", + "description": "A simple widget to paint with your fingers. Supports setting a background color, undo and export to png!", + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": "https://pub.dartlang.org/packages/painter/versions/2.0.0.tar.gz", + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": "https://github.com/EPNW/painter", + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [ + { + "purl": "pkg:pubspec/flutter", + "requirement": "sdk: flutter", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + }, + { + "purl": "pkg:pubspec/sdk", + "requirement": ">=2.12.0 <3.0.0", + "scope": "environment", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + }, + { + "purl": "pkg:pubspec/flutter", + "requirement": ">=2.0.0", + "scope": "environment", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + } + ], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": "pkg:pubspec/painter@2.0.0", + "repository_homepage_url": "https://pub.dev/packages/painter/versions/2.0.0", + "repository_download_url": "https://pub.dartlang.org/packages/painter/versions/2.0.0.tar.gz", + "api_data_url": "https://pub.dev/api/packages/painter/versions/2.0.0" +} \ No newline at end of file diff --git a/tests/packagedcode/data/pypi/archive/atomicwrites-1.2.1-py2.py3-none-any.whl-expected.json b/tests/packagedcode/data/pypi/archive/atomicwrites-1.2.1-py2.py3-none-any.whl-expected.json index 62e511cff22..be6c5f434ab 100644 --- a/tests/packagedcode/data/pypi/archive/atomicwrites-1.2.1-py2.py3-none-any.whl-expected.json +++ b/tests/packagedcode/data/pypi/archive/atomicwrites-1.2.1-py2.py3-none-any.whl-expected.json @@ -49,6 +49,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/atomicwrites@1.2.1", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/a/atomicwrites/atomicwrites-1.2.1.tar.gz", diff --git a/tests/packagedcode/data/pypi/archive/commoncode-21.5.12-py3.9.egg-expected.json b/tests/packagedcode/data/pypi/archive/commoncode-21.5.12-py3.9.egg-expected.json index 8eedc2f2be4..a146dda6f72 100644 --- a/tests/packagedcode/data/pypi/archive/commoncode-21.5.12-py3.9.egg-expected.json +++ b/tests/packagedcode/data/pypi/archive/commoncode-21.5.12-py3.9.egg-expected.json @@ -152,6 +152,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/commoncode@21.5.12", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/c/commoncode/commoncode-21.5.12.tar.gz", diff --git a/tests/packagedcode/data/pypi/develop/scancode_toolkit.egg-info-expected.json b/tests/packagedcode/data/pypi/develop/scancode_toolkit.egg-info-expected.json index 5ac391d7952..74cc6bb2d7b 100644 --- a/tests/packagedcode/data/pypi/develop/scancode_toolkit.egg-info-expected.json +++ b/tests/packagedcode/data/pypi/develop/scancode_toolkit.egg-info-expected.json @@ -491,6 +491,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/scancode-toolkit@21.3.31", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/s/scancode-toolkit/scancode-toolkit-21.3.31.tar.gz", diff --git a/tests/packagedcode/data/pypi/metadata/METADATA-expected.json b/tests/packagedcode/data/pypi/metadata/METADATA-expected.json index a51b64bb560..5542bf48bdb 100644 --- a/tests/packagedcode/data/pypi/metadata/METADATA-expected.json +++ b/tests/packagedcode/data/pypi/metadata/METADATA-expected.json @@ -47,6 +47,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/six@1.10.0", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/s/six/six-1.10.0.tar.gz", diff --git a/tests/packagedcode/data/pypi/metadata/PKG-INFO-expected.json b/tests/packagedcode/data/pypi/metadata/PKG-INFO-expected.json index 8f2dc5929ca..d2cd8d860e4 100644 --- a/tests/packagedcode/data/pypi/metadata/PKG-INFO-expected.json +++ b/tests/packagedcode/data/pypi/metadata/PKG-INFO-expected.json @@ -49,6 +49,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/python-mimeparse@1.6.0", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/p/python-mimeparse/python-mimeparse-1.6.0.tar.gz", diff --git a/tests/packagedcode/data/pypi/metadata/v10/PKG-INFO-expected.json b/tests/packagedcode/data/pypi/metadata/v10/PKG-INFO-expected.json index f7fa97ea884..bbf28098312 100644 --- a/tests/packagedcode/data/pypi/metadata/v10/PKG-INFO-expected.json +++ b/tests/packagedcode/data/pypi/metadata/v10/PKG-INFO-expected.json @@ -38,6 +38,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/prompt-toolkit@0.53.1", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/p/prompt-toolkit/prompt-toolkit-0.53.1.tar.gz", diff --git a/tests/packagedcode/data/pypi/metadata/v11/PKG-INFO-expected.json b/tests/packagedcode/data/pypi/metadata/v11/PKG-INFO-expected.json index 8f2dc5929ca..d2cd8d860e4 100644 --- a/tests/packagedcode/data/pypi/metadata/v11/PKG-INFO-expected.json +++ b/tests/packagedcode/data/pypi/metadata/v11/PKG-INFO-expected.json @@ -49,6 +49,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/python-mimeparse@1.6.0", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/p/python-mimeparse/python-mimeparse-1.6.0.tar.gz", diff --git a/tests/packagedcode/data/pypi/metadata/v12/PKG-INFO-expected.json b/tests/packagedcode/data/pypi/metadata/v12/PKG-INFO-expected.json index 821354df723..26704134194 100644 --- a/tests/packagedcode/data/pypi/metadata/v12/PKG-INFO-expected.json +++ b/tests/packagedcode/data/pypi/metadata/v12/PKG-INFO-expected.json @@ -62,6 +62,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/pyldap@2.4.45", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/p/pyldap/pyldap-2.4.45.tar.gz", diff --git a/tests/packagedcode/data/pypi/metadata/v20/PKG-INFO-expected.json b/tests/packagedcode/data/pypi/metadata/v20/PKG-INFO-expected.json index 1aaad2ceaf1..b717274923b 100644 --- a/tests/packagedcode/data/pypi/metadata/v20/PKG-INFO-expected.json +++ b/tests/packagedcode/data/pypi/metadata/v20/PKG-INFO-expected.json @@ -87,6 +87,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/pymongo@3.6.1", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/p/pymongo/pymongo-3.6.1.tar.gz", diff --git a/tests/packagedcode/data/pypi/metadata/v21/PKG-INFO-expected.json b/tests/packagedcode/data/pypi/metadata/v21/PKG-INFO-expected.json index 158cb6ee1b0..e86f816a12d 100644 --- a/tests/packagedcode/data/pypi/metadata/v21/PKG-INFO-expected.json +++ b/tests/packagedcode/data/pypi/metadata/v21/PKG-INFO-expected.json @@ -54,6 +54,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/pbr@4.0.1", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/p/pbr/pbr-4.0.1.tar.gz", diff --git a/tests/packagedcode/data/pypi/pipfile.lock/sample1/Pipfile.lock-expected.json b/tests/packagedcode/data/pypi/pipfile.lock/sample1/Pipfile.lock-expected.json index 8c40ff981de..897f56a58f6 100644 --- a/tests/packagedcode/data/pypi/pipfile.lock/sample1/Pipfile.lock-expected.json +++ b/tests/packagedcode/data/pypi/pipfile.lock/sample1/Pipfile.lock-expected.json @@ -101,6 +101,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/pipfile.lock/sample1/output.expected.json b/tests/packagedcode/data/pypi/pipfile.lock/sample1/output.expected.json new file mode 100644 index 00000000000..535d08d85a1 --- /dev/null +++ b/tests/packagedcode/data/pypi/pipfile.lock/sample1/output.expected.json @@ -0,0 +1,109 @@ +{ + "type": "pypi", + "namespace": null, + "name": null, + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": "813f8e1b624fd42eee7d681228d7aca1fce209e1d60bf21c3eb33a73f7268d57", + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [ + { + "purl": "pkg:pypi/django@1.7.1", + "requirement": "==1.7.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/feedparser@5.1.1", + "requirement": "==5.1.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/pyasn1@0.4.2", + "requirement": "==0.4.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/pycrypto@2.4", + "requirement": "==2.4", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/pyjwt@0.4.2", + "requirement": "==0.4.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/raven@1.9.4", + "requirement": "==1.9.4", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/requests@2.2.1", + "requirement": "==2.2.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/rsa@3.4", + "requirement": "==3.4", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/simplejson@2.4.0", + "requirement": "==2.4.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + } + ], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": null, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/pypi/pipfile.lock/sample2/Pipfile.lock-expected.json b/tests/packagedcode/data/pypi/pipfile.lock/sample2/Pipfile.lock-expected.json index 409018b1bfc..438a8846788 100644 --- a/tests/packagedcode/data/pypi/pipfile.lock/sample2/Pipfile.lock-expected.json +++ b/tests/packagedcode/data/pypi/pipfile.lock/sample2/Pipfile.lock-expected.json @@ -165,6 +165,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/pipfile.lock/sample2/output.expected.json b/tests/packagedcode/data/pypi/pipfile.lock/sample2/output.expected.json new file mode 100644 index 00000000000..477e71760cb --- /dev/null +++ b/tests/packagedcode/data/pypi/pipfile.lock/sample2/output.expected.json @@ -0,0 +1,173 @@ +{ + "type": "pypi", + "namespace": null, + "name": null, + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": "6e45251662433bf51f96fb3d2204b65416fece329d60e6235c0f0edc416cfe24", + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [ + { + "purl": "pkg:pypi/atomicwrites@1.1.5", + "requirement": "==1.1.5", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/attrs@18.1.0", + "requirement": "==18.1.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/contextlib2@0.5.5", + "requirement": "==0.5.5", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/coverage@4.5.1", + "requirement": "==4.5.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/funcsigs@1.0.2", + "requirement": "==1.0.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/mock@2.0.0", + "requirement": "==2.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/more-itertools@4.2.0", + "requirement": "==4.2.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/pbr@4.2.0", + "requirement": "==4.2.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/pluggy@0.6.0", + "requirement": "==0.6.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/py@1.5.4", + "requirement": "==1.5.4", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/pytest@3.6.3", + "requirement": "==3.6.3", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/pytest-cov@2.5.1", + "requirement": "==2.5.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/pytest-vcr@0.3.0", + "requirement": "==0.3.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/pyyaml@3.13", + "requirement": "==3.13", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/six@1.11.0", + "requirement": "==1.11.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/vcrpy@1.13.0", + "requirement": "==1.13.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/wrapt@1.10.11", + "requirement": "==1.10.11", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + } + ], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": null, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/pypi/pipfile.lock/sample3/Pipfile.lock-expected.json b/tests/packagedcode/data/pypi/pipfile.lock/sample3/Pipfile.lock-expected.json index debdb5ebd18..93161fd24ab 100644 --- a/tests/packagedcode/data/pypi/pipfile.lock/sample3/Pipfile.lock-expected.json +++ b/tests/packagedcode/data/pypi/pipfile.lock/sample3/Pipfile.lock-expected.json @@ -37,6 +37,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/pipfile.lock/sample3/output.expected.json b/tests/packagedcode/data/pypi/pipfile.lock/sample3/output.expected.json new file mode 100644 index 00000000000..7579c989e5c --- /dev/null +++ b/tests/packagedcode/data/pypi/pipfile.lock/sample3/output.expected.json @@ -0,0 +1,45 @@ +{ + "type": "pypi", + "namespace": null, + "name": null, + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": "98012973e54d083ef515d6438e1fcd8218aefac3da6adde13a26ee32af0b7e6f", + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [ + { + "purl": "pkg:pypi/python-baseconv@1.2.2", + "requirement": "==1.2.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + } + ], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": null, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/pypi/pipfile.lock/sample4/Pipfile.lock-expected.json b/tests/packagedcode/data/pypi/pipfile.lock/sample4/Pipfile.lock-expected.json index 9828a94e43c..53a049141a7 100644 --- a/tests/packagedcode/data/pypi/pipfile.lock/sample4/Pipfile.lock-expected.json +++ b/tests/packagedcode/data/pypi/pipfile.lock/sample4/Pipfile.lock-expected.json @@ -133,6 +133,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/pipfile.lock/sample4/output.expected.json b/tests/packagedcode/data/pypi/pipfile.lock/sample4/output.expected.json new file mode 100644 index 00000000000..a4ca3b3dc7c --- /dev/null +++ b/tests/packagedcode/data/pypi/pipfile.lock/sample4/output.expected.json @@ -0,0 +1,141 @@ +{ + "type": "pypi", + "namespace": null, + "name": null, + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": "24931cad8ca14fb20d62933a3be5a0544d1dc47f4c3bce54f17ce74037fc7c23", + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [ + { + "purl": "pkg:pypi/functools32@3.2.3.post2", + "requirement": "==3.2.3.post2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/urllib3@1.24.2", + "requirement": "==1.24.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/alabaster@0.7.12", + "requirement": "==0.7.12", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/attrs@19.3.0", + "requirement": "==19.3.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/certifi@2019.9.11", + "requirement": "==2019.9.11", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/markupsafe@1.1.1", + "requirement": "==1.1.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/packaging@19.2", + "requirement": "==19.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/parver@0.2.0", + "requirement": "==0.2.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/pkginfo@1.5.0.1", + "requirement": "==1.5.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/pygments@2.4.2", + "requirement": "==2.4.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/six@1.12.0", + "requirement": "==1.12.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/toml@0.10.0", + "requirement": "==0.10.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/wheel@0.32.3", + "requirement": "==0.32.3", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + } + ], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": null, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/pypi/pipfile.lock/sample5/Pipfile.lock-expected.json b/tests/packagedcode/data/pypi/pipfile.lock/sample5/Pipfile.lock-expected.json index 8c40ff981de..897f56a58f6 100644 --- a/tests/packagedcode/data/pypi/pipfile.lock/sample5/Pipfile.lock-expected.json +++ b/tests/packagedcode/data/pypi/pipfile.lock/sample5/Pipfile.lock-expected.json @@ -101,6 +101,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/pipfile.lock/sample5/output.expected.json b/tests/packagedcode/data/pypi/pipfile.lock/sample5/output.expected.json new file mode 100644 index 00000000000..535d08d85a1 --- /dev/null +++ b/tests/packagedcode/data/pypi/pipfile.lock/sample5/output.expected.json @@ -0,0 +1,109 @@ +{ + "type": "pypi", + "namespace": null, + "name": null, + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": "813f8e1b624fd42eee7d681228d7aca1fce209e1d60bf21c3eb33a73f7268d57", + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [ + { + "purl": "pkg:pypi/django@1.7.1", + "requirement": "==1.7.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/feedparser@5.1.1", + "requirement": "==5.1.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/pyasn1@0.4.2", + "requirement": "==0.4.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/pycrypto@2.4", + "requirement": "==2.4", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/pyjwt@0.4.2", + "requirement": "==0.4.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/raven@1.9.4", + "requirement": "==1.9.4", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/requests@2.2.1", + "requirement": "==2.2.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/rsa@3.4", + "requirement": "==3.4", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/simplejson@2.4.0", + "requirement": "==2.4.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + } + ], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": null, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/pypi/requirements_txt/basic/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/basic/output.expected.json index f2c2a0e038d..a5bd1068e28 100644 --- a/tests/packagedcode/data/pypi/requirements_txt/basic/output.expected.json +++ b/tests/packagedcode/data/pypi/requirements_txt/basic/output.expected.json @@ -53,6 +53,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/requirements_txt/comments_and_empties/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/comments_and_empties/output.expected.json index d42a6eb082a..cf75d0c7a01 100644 --- a/tests/packagedcode/data/pypi/requirements_txt/comments_and_empties/output.expected.json +++ b/tests/packagedcode/data/pypi/requirements_txt/comments_and_empties/output.expected.json @@ -37,6 +37,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/requirements_txt/complex/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/complex/output.expected.json index ffe479322c8..82faebaf896 100644 --- a/tests/packagedcode/data/pypi/requirements_txt/complex/output.expected.json +++ b/tests/packagedcode/data/pypi/requirements_txt/complex/output.expected.json @@ -45,6 +45,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/requirements_txt/dev/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/dev/output.expected.json index c4bea92b29e..0962066d53d 100644 --- a/tests/packagedcode/data/pypi/requirements_txt/dev/output.expected.json +++ b/tests/packagedcode/data/pypi/requirements_txt/dev/output.expected.json @@ -53,6 +53,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/requirements_txt/double_extras/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/double_extras/output.expected.json index e8557a124de..596eb192581 100644 --- a/tests/packagedcode/data/pypi/requirements_txt/double_extras/output.expected.json +++ b/tests/packagedcode/data/pypi/requirements_txt/double_extras/output.expected.json @@ -45,6 +45,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/requirements_txt/editable/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/editable/output.expected.json index eaa89d96815..4f520fc7d68 100644 --- a/tests/packagedcode/data/pypi/requirements_txt/editable/output.expected.json +++ b/tests/packagedcode/data/pypi/requirements_txt/editable/output.expected.json @@ -28,6 +28,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/requirements_txt/eol_comment/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/eol_comment/output.expected.json index 88d72df9915..1551016c007 100644 --- a/tests/packagedcode/data/pypi/requirements_txt/eol_comment/output.expected.json +++ b/tests/packagedcode/data/pypi/requirements_txt/eol_comment/output.expected.json @@ -37,6 +37,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/requirements_txt/local_paths_and_files/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/local_paths_and_files/output.expected.json index eaa89d96815..4f520fc7d68 100644 --- a/tests/packagedcode/data/pypi/requirements_txt/local_paths_and_files/output.expected.json +++ b/tests/packagedcode/data/pypi/requirements_txt/local_paths_and_files/output.expected.json @@ -28,6 +28,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/requirements_txt/many_specs/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/many_specs/output.expected.json index e00223ea748..ba97046f96a 100644 --- a/tests/packagedcode/data/pypi/requirements_txt/many_specs/output.expected.json +++ b/tests/packagedcode/data/pypi/requirements_txt/many_specs/output.expected.json @@ -37,6 +37,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/requirements_txt/mixed/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/mixed/output.expected.json index 80eaadc17a1..33d11d6c068 100644 --- a/tests/packagedcode/data/pypi/requirements_txt/mixed/output.expected.json +++ b/tests/packagedcode/data/pypi/requirements_txt/mixed/output.expected.json @@ -53,6 +53,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/requirements_txt/pinned/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/pinned/output.expected.json index a0fd8c1d927..11414a540a9 100644 --- a/tests/packagedcode/data/pypi/requirements_txt/pinned/output.expected.json +++ b/tests/packagedcode/data/pypi/requirements_txt/pinned/output.expected.json @@ -53,6 +53,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/requirements_txt/repeated/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/repeated/output.expected.json index c932b3ca773..f209f53f9cf 100644 --- a/tests/packagedcode/data/pypi/requirements_txt/repeated/output.expected.json +++ b/tests/packagedcode/data/pypi/requirements_txt/repeated/output.expected.json @@ -37,6 +37,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/requirements_txt/requirements_in/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/requirements_in/output.expected.json index 5b29958e49a..64fcbaedbdf 100644 --- a/tests/packagedcode/data/pypi/requirements_txt/requirements_in/output.expected.json +++ b/tests/packagedcode/data/pypi/requirements_txt/requirements_in/output.expected.json @@ -45,6 +45,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/requirements_txt/sample1/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/sample1/output.expected.json new file mode 100644 index 00000000000..04af7f3ed96 --- /dev/null +++ b/tests/packagedcode/data/pypi/requirements_txt/sample1/output.expected.json @@ -0,0 +1,61 @@ +{ + "type": "pypi", + "namespace": null, + "name": null, + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [ + { + "purl": "pkg:pypi/setuptools", + "requirement": ">=32.0.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + }, + { + "purl": "pkg:pypi/nose", + "requirement": ">=1.3.7", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + }, + { + "purl": "pkg:pypi/chardet", + "requirement": ">=3.0.4", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + } + ], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": null, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/pypi/requirements_txt/sample10/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/sample10/output.expected.json new file mode 100644 index 00000000000..234eed59464 --- /dev/null +++ b/tests/packagedcode/data/pypi/requirements_txt/sample10/output.expected.json @@ -0,0 +1,36 @@ +{ + "type": "pypi", + "namespace": null, + "name": null, + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": null, + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": null, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/pypi/requirements_txt/sample11/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/sample11/output.expected.json new file mode 100644 index 00000000000..d483a777567 --- /dev/null +++ b/tests/packagedcode/data/pypi/requirements_txt/sample11/output.expected.json @@ -0,0 +1,53 @@ +{ + "type": "pypi", + "namespace": null, + "name": null, + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [ + { + "purl": "pkg:pypi/mypackage@3.0", + "requirement": "==3.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/fizzy", + "requirement": null, + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + } + ], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": null, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/pypi/requirements_txt/sample13/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/sample13/output.expected.json new file mode 100644 index 00000000000..234eed59464 --- /dev/null +++ b/tests/packagedcode/data/pypi/requirements_txt/sample13/output.expected.json @@ -0,0 +1,36 @@ +{ + "type": "pypi", + "namespace": null, + "name": null, + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": null, + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": null, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/pypi/requirements_txt/sample14/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/sample14/output.expected.json new file mode 100644 index 00000000000..234eed59464 --- /dev/null +++ b/tests/packagedcode/data/pypi/requirements_txt/sample14/output.expected.json @@ -0,0 +1,36 @@ +{ + "type": "pypi", + "namespace": null, + "name": null, + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": null, + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": null, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/pypi/requirements_txt/sample15/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/sample15/output.expected.json new file mode 100644 index 00000000000..234eed59464 --- /dev/null +++ b/tests/packagedcode/data/pypi/requirements_txt/sample15/output.expected.json @@ -0,0 +1,36 @@ +{ + "type": "pypi", + "namespace": null, + "name": null, + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": null, + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": null, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/pypi/requirements_txt/sample16/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/sample16/output.expected.json new file mode 100644 index 00000000000..8d13e604aa6 --- /dev/null +++ b/tests/packagedcode/data/pypi/requirements_txt/sample16/output.expected.json @@ -0,0 +1,61 @@ +{ + "type": "pypi", + "namespace": null, + "name": null, + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [ + { + "purl": "pkg:pypi/django", + "requirement": "<1.6,>=1.5", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + }, + { + "purl": "pkg:pypi/numpy", + "requirement": null, + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + }, + { + "purl": "pkg:pypi/docparser", + "requirement": null, + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + } + ], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": null, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/pypi/requirements_txt/sample17/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/sample17/output.expected.json new file mode 100644 index 00000000000..4c63e17c01e --- /dev/null +++ b/tests/packagedcode/data/pypi/requirements_txt/sample17/output.expected.json @@ -0,0 +1,45 @@ +{ + "type": "pypi", + "namespace": null, + "name": null, + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [ + { + "purl": "pkg:pypi/distutils2@1.0a3", + "requirement": "==1.0a3", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + } + ], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": null, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/pypi/requirements_txt/sample18/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/sample18/output.expected.json new file mode 100644 index 00000000000..bf5ce33cebd --- /dev/null +++ b/tests/packagedcode/data/pypi/requirements_txt/sample18/output.expected.json @@ -0,0 +1,45 @@ +{ + "type": "pypi", + "namespace": null, + "name": null, + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [ + { + "purl": "pkg:pypi/pickything@2.4c1", + "requirement": "!=1.9.6,<1.6,<2.0a0,==2.4c1,>1.9", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + } + ], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": null, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/pypi/requirements_txt/sample19/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/sample19/output.expected.json new file mode 100644 index 00000000000..234eed59464 --- /dev/null +++ b/tests/packagedcode/data/pypi/requirements_txt/sample19/output.expected.json @@ -0,0 +1,36 @@ +{ + "type": "pypi", + "namespace": null, + "name": null, + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": null, + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": null, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/pypi/requirements_txt/sample2/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/sample2/output.expected.json new file mode 100644 index 00000000000..4d4536d0010 --- /dev/null +++ b/tests/packagedcode/data/pypi/requirements_txt/sample2/output.expected.json @@ -0,0 +1,61 @@ +{ + "type": "pypi", + "namespace": null, + "name": null, + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [ + { + "purl": "pkg:pypi/aiohttp@3.6.2", + "requirement": "==3.6.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/async-timeout@3.0.1", + "requirement": "==3.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/attrs@19.3.0", + "requirement": "==19.3.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + } + ], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": null, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/pypi/requirements_txt/sample20/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/sample20/output.expected.json new file mode 100644 index 00000000000..234eed59464 --- /dev/null +++ b/tests/packagedcode/data/pypi/requirements_txt/sample20/output.expected.json @@ -0,0 +1,36 @@ +{ + "type": "pypi", + "namespace": null, + "name": null, + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": null, + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": null, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/pypi/requirements_txt/sample21/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/sample21/output.expected.json new file mode 100644 index 00000000000..234eed59464 --- /dev/null +++ b/tests/packagedcode/data/pypi/requirements_txt/sample21/output.expected.json @@ -0,0 +1,36 @@ +{ + "type": "pypi", + "namespace": null, + "name": null, + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": null, + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": null, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/pypi/requirements_txt/sample3/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/sample3/output.expected.json new file mode 100644 index 00000000000..d1db2a7825e --- /dev/null +++ b/tests/packagedcode/data/pypi/requirements_txt/sample3/output.expected.json @@ -0,0 +1,61 @@ +{ + "type": "pypi", + "namespace": null, + "name": null, + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [ + { + "purl": "pkg:pypi/prompt-toolkit", + "requirement": ">=1.0.14", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + }, + { + "purl": "pkg:pypi/pygments@2.2.0", + "requirement": "==2.2.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/regex", + "requirement": null, + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + } + ], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": null, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/pypi/requirements_txt/sample4/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/sample4/output.expected.json new file mode 100644 index 00000000000..4b90017c922 --- /dev/null +++ b/tests/packagedcode/data/pypi/requirements_txt/sample4/output.expected.json @@ -0,0 +1,53 @@ +{ + "type": "pypi", + "namespace": null, + "name": null, + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [ + { + "purl": "pkg:pypi/setuptools", + "requirement": null, + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + }, + { + "purl": "pkg:pypi/nose", + "requirement": null, + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + } + ], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": null, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/pypi/requirements_txt/sample5/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/sample5/output.expected.json new file mode 100644 index 00000000000..d1db2a7825e --- /dev/null +++ b/tests/packagedcode/data/pypi/requirements_txt/sample5/output.expected.json @@ -0,0 +1,61 @@ +{ + "type": "pypi", + "namespace": null, + "name": null, + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [ + { + "purl": "pkg:pypi/prompt-toolkit", + "requirement": ">=1.0.14", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + }, + { + "purl": "pkg:pypi/pygments@2.2.0", + "requirement": "==2.2.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/regex", + "requirement": null, + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + } + ], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": null, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/pypi/requirements_txt/sample6/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/sample6/output.expected.json new file mode 100644 index 00000000000..d1db2a7825e --- /dev/null +++ b/tests/packagedcode/data/pypi/requirements_txt/sample6/output.expected.json @@ -0,0 +1,61 @@ +{ + "type": "pypi", + "namespace": null, + "name": null, + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [ + { + "purl": "pkg:pypi/prompt-toolkit", + "requirement": ">=1.0.14", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + }, + { + "purl": "pkg:pypi/pygments@2.2.0", + "requirement": "==2.2.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/regex", + "requirement": null, + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": false + } + ], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": null, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/pypi/requirements_txt/sample7/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/sample7/output.expected.json new file mode 100644 index 00000000000..4d4536d0010 --- /dev/null +++ b/tests/packagedcode/data/pypi/requirements_txt/sample7/output.expected.json @@ -0,0 +1,61 @@ +{ + "type": "pypi", + "namespace": null, + "name": null, + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [ + { + "purl": "pkg:pypi/aiohttp@3.6.2", + "requirement": "==3.6.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/async-timeout@3.0.1", + "requirement": "==3.0.1", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/attrs@19.3.0", + "requirement": "==19.3.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + } + ], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": null, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/pypi/requirements_txt/sample8/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/sample8/output.expected.json new file mode 100644 index 00000000000..5c7ccbdcdad --- /dev/null +++ b/tests/packagedcode/data/pypi/requirements_txt/sample8/output.expected.json @@ -0,0 +1,45 @@ +{ + "type": "pypi", + "namespace": null, + "name": null, + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [ + { + "purl": "pkg:pypi/req@1.0", + "requirement": "==1.0", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + } + ], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": null, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/pypi/requirements_txt/sample9/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/sample9/output.expected.json new file mode 100644 index 00000000000..2b6e20e934d --- /dev/null +++ b/tests/packagedcode/data/pypi/requirements_txt/sample9/output.expected.json @@ -0,0 +1,53 @@ +{ + "type": "pypi", + "namespace": null, + "name": null, + "version": null, + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [ + { + "purl": "pkg:pypi/babel@0.9.6", + "requirement": "==0.9.6", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + }, + { + "purl": "pkg:pypi/django-uuidfield@0.2", + "requirement": "==0.2", + "scope": "dependencies", + "is_runtime": true, + "is_optional": false, + "is_resolved": true + } + ], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": null, + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/pypi/requirements_txt/urls_wth_checksums/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/urls_wth_checksums/output.expected.json index eaa89d96815..4f520fc7d68 100644 --- a/tests/packagedcode/data/pypi/requirements_txt/urls_wth_checksums/output.expected.json +++ b/tests/packagedcode/data/pypi/requirements_txt/urls_wth_checksums/output.expected.json @@ -28,6 +28,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/requirements_txt/vcs-git/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/vcs-git/output.expected.json index eaa89d96815..4f520fc7d68 100644 --- a/tests/packagedcode/data/pypi/requirements_txt/vcs-git/output.expected.json +++ b/tests/packagedcode/data/pypi/requirements_txt/vcs-git/output.expected.json @@ -28,6 +28,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/requirements_txt/vcs_editable/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/vcs_editable/output.expected.json index eaa89d96815..4f520fc7d68 100644 --- a/tests/packagedcode/data/pypi/requirements_txt/vcs_editable/output.expected.json +++ b/tests/packagedcode/data/pypi/requirements_txt/vcs_editable/output.expected.json @@ -28,6 +28,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/requirements_txt/vcs_eggs/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/vcs_eggs/output.expected.json index eaa89d96815..4f520fc7d68 100644 --- a/tests/packagedcode/data/pypi/requirements_txt/vcs_eggs/output.expected.json +++ b/tests/packagedcode/data/pypi/requirements_txt/vcs_eggs/output.expected.json @@ -28,6 +28,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/requirements_txt/vcs_extras_require/output.expected.json b/tests/packagedcode/data/pypi/requirements_txt/vcs_extras_require/output.expected.json index eaa89d96815..4f520fc7d68 100644 --- a/tests/packagedcode/data/pypi/requirements_txt/vcs_extras_require/output.expected.json +++ b/tests/packagedcode/data/pypi/requirements_txt/vcs_extras_require/output.expected.json @@ -28,6 +28,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/setup.py/arpy_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/arpy_setup.py-expected.json index d106678c405..9b93fc3266e 100644 --- a/tests/packagedcode/data/pypi/setup.py/arpy_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/arpy_setup.py-expected.json @@ -38,6 +38,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/arpy@0.1.1", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/a/arpy/arpy-0.1.1.tar.gz", diff --git a/tests/packagedcode/data/pypi/setup.py/boolean2_py_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/boolean2_py_setup.py-expected.json index e1f8de07ed1..38989d3db9e 100644 --- a/tests/packagedcode/data/pypi/setup.py/boolean2_py_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/boolean2_py_setup.py-expected.json @@ -56,6 +56,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/boolean.py@1.2", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/b/boolean.py/boolean.py-1.2.tar.gz", diff --git a/tests/packagedcode/data/pypi/setup.py/container_check_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/container_check_setup.py-expected.json index 19cd5a33eef..888531f1c5e 100644 --- a/tests/packagedcode/data/pypi/setup.py/container_check_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/container_check_setup.py-expected.json @@ -52,6 +52,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/container-check@1.0.6", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/c/container-check/container-check-1.0.6.tar.gz", diff --git a/tests/packagedcode/data/pypi/setup.py/fb303_py_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/fb303_py_setup.py-expected.json index b369365b5c9..cecb4e657b9 100644 --- a/tests/packagedcode/data/pypi/setup.py/fb303_py_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/fb303_py_setup.py-expected.json @@ -48,6 +48,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/thrift-fb303@0.10.0", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/t/thrift_fb303/thrift_fb303-0.10.0.tar.gz", diff --git a/tests/packagedcode/data/pypi/setup.py/frell_src_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/frell_src_setup.py-expected.json index 56ff874ca28..003a6a939e8 100644 --- a/tests/packagedcode/data/pypi/setup.py/frell_src_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/frell_src_setup.py-expected.json @@ -38,6 +38,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/%40name%40", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/setup.py/gyp_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/gyp_setup.py-expected.json index 5a758e008ab..f0a878af49a 100644 --- a/tests/packagedcode/data/pypi/setup.py/gyp_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/gyp_setup.py-expected.json @@ -36,6 +36,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/gyp@0.1", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/g/gyp/gyp-0.1.tar.gz", diff --git a/tests/packagedcode/data/pypi/setup.py/interlap_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/interlap_setup.py-expected.json index bab7a2f8082..8a7796fd9e8 100644 --- a/tests/packagedcode/data/pypi/setup.py/interlap_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/interlap_setup.py-expected.json @@ -52,6 +52,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/interlap", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/setup.py/mb_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/mb_setup.py-expected.json index e0a7743e534..3ac76d404ed 100644 --- a/tests/packagedcode/data/pypi/setup.py/mb_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/mb_setup.py-expected.json @@ -38,6 +38,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/mb@2.19.0", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/m/mb/mb-2.19.0.tar.gz", diff --git a/tests/packagedcode/data/pypi/setup.py/ntfs_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/ntfs_setup.py-expected.json index 9f7db97fbba..1c37d74bbd5 100644 --- a/tests/packagedcode/data/pypi/setup.py/ntfs_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/ntfs_setup.py-expected.json @@ -49,6 +49,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/ntfsutils", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/setup.py/nvchecker_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/nvchecker_setup.py-expected.json index 60faf984ef5..6661b54ecc4 100644 --- a/tests/packagedcode/data/pypi/setup.py/nvchecker_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/nvchecker_setup.py-expected.json @@ -76,6 +76,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/nvchecker", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/setup.py/oi_agents_common_code_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/oi_agents_common_code_setup.py-expected.json index bbe84b8124d..aafcb803b0a 100644 --- a/tests/packagedcode/data/pypi/setup.py/oi_agents_common_code_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/oi_agents_common_code_setup.py-expected.json @@ -51,6 +51,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/agents-common", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/setup.py/packageurl_python_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/packageurl_python_setup.py-expected.json index 780f402136c..2b66a5e87a9 100644 --- a/tests/packagedcode/data/pypi/setup.py/packageurl_python_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/packageurl_python_setup.py-expected.json @@ -56,6 +56,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/packageurl-python@0.8.5", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/p/packageurl-python/packageurl-python-0.8.5.tar.gz", diff --git a/tests/packagedcode/data/pypi/setup.py/pipdeptree_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/pipdeptree_setup.py-expected.json index 0b5f6f836f9..e25dabafc20 100644 --- a/tests/packagedcode/data/pypi/setup.py/pipdeptree_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/pipdeptree_setup.py-expected.json @@ -51,6 +51,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/pipdeptree", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/setup.py/pydep_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/pydep_setup.py-expected.json index e9457fbd02c..7e14bc21345 100644 --- a/tests/packagedcode/data/pypi/setup.py/pydep_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/pydep_setup.py-expected.json @@ -45,6 +45,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/pydep@0.0", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/p/pydep/pydep-0.0.tar.gz", diff --git a/tests/packagedcode/data/pypi/setup.py/pyrpm_2_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/pyrpm_2_setup.py-expected.json index 5ffcb9965ff..8f51ca5f900 100644 --- a/tests/packagedcode/data/pypi/setup.py/pyrpm_2_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/pyrpm_2_setup.py-expected.json @@ -53,6 +53,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/pyrpm-02strich@0.5.3", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/p/pyrpm-02strich/pyrpm-02strich-0.5.3.tar.gz", diff --git a/tests/packagedcode/data/pypi/setup.py/python_publicsuffix_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/python_publicsuffix_setup.py-expected.json index 88ca5278ef0..f1077438ba5 100644 --- a/tests/packagedcode/data/pypi/setup.py/python_publicsuffix_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/python_publicsuffix_setup.py-expected.json @@ -46,6 +46,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/publicsuffix@1.1.1", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/p/publicsuffix/publicsuffix-1.1.1.tar.gz", diff --git a/tests/packagedcode/data/pypi/setup.py/repology_py_libversion_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/repology_py_libversion_setup.py-expected.json index 30471a27d23..e1faff3a7c2 100644 --- a/tests/packagedcode/data/pypi/setup.py/repology_py_libversion_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/repology_py_libversion_setup.py-expected.json @@ -51,6 +51,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/libversion", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/setup.py/saneyaml_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/saneyaml_setup.py-expected.json index f00b9f4e5b2..bffe5ca2474 100644 --- a/tests/packagedcode/data/pypi/setup.py/saneyaml_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/saneyaml_setup.py-expected.json @@ -65,6 +65,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/saneyaml@0.2dev", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/s/saneyaml/saneyaml-0.2dev.tar.gz", diff --git a/tests/packagedcode/data/pypi/setup.py/setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/setup.py-expected.json index 4418ea27bc9..6d7e98c8c6e 100644 --- a/tests/packagedcode/data/pypi/setup.py/setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/setup.py-expected.json @@ -222,6 +222,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/scancode-toolkit@1.5.0", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/s/scancode-toolkit/scancode-toolkit-1.5.0.tar.gz", diff --git a/tests/packagedcode/data/pypi/setup.py/setuppycheck_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/setuppycheck_setup.py-expected.json index 24707dc2377..7bd0e99c38c 100644 --- a/tests/packagedcode/data/pypi/setup.py/setuppycheck_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/setuppycheck_setup.py-expected.json @@ -49,6 +49,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/setuppycheck", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/setup.py/url_py_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/url_py_setup.py-expected.json index 9d055e5fb7f..890f4e92c8f 100644 --- a/tests/packagedcode/data/pypi/setup.py/url_py_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/url_py_setup.py-expected.json @@ -55,6 +55,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/urlpy@0.2.0.2", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/u/urlpy/urlpy-0.2.0.2.tar.gz", diff --git a/tests/packagedcode/data/pypi/setup.py/venv_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/venv_setup.py-expected.json index fe780d888be..14f88fcb2a0 100644 --- a/tests/packagedcode/data/pypi/setup.py/venv_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/venv_setup.py-expected.json @@ -59,6 +59,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/virtualenv", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/setup.py/xmltodict_setup.py-expected.json b/tests/packagedcode/data/pypi/setup.py/xmltodict_setup.py-expected.json index 8fbec5c99f2..5f15a8e7b47 100644 --- a/tests/packagedcode/data/pypi/setup.py/xmltodict_setup.py-expected.json +++ b/tests/packagedcode/data/pypi/setup.py/xmltodict_setup.py-expected.json @@ -48,6 +48,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/xmltodict", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": null, diff --git a/tests/packagedcode/data/pypi/unpackage_source_parser-expected.json b/tests/packagedcode/data/pypi/unpackage_source_parser-expected.json new file mode 100644 index 00000000000..993a67b6c27 --- /dev/null +++ b/tests/packagedcode/data/pypi/unpackage_source_parser-expected.json @@ -0,0 +1,46 @@ +{ + "type": "pypi", + "namespace": null, + "name": "TicketImport", + "version": "0.7a", + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": "Import CSV and Excel files", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Francois Granade", + "email": "fg@nexb.com", + "url": null + } + ], + "keywords": [], + "homepage_url": "http://nexb.com", + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "unknown", + "declared_license": { + "license": "BSD" + }, + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": "pkg:pypi/ticketimport@0.7a", + "repository_homepage_url": "https://pypi.org/project/TicketImport", + "repository_download_url": "https://pypi.io/packages/source/T/TicketImport/TicketImport-0.7a.tar.gz", + "api_data_url": "http://pypi.python.org/pypi/TicketImport/0.7a/json" +} \ No newline at end of file diff --git a/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.0/PyJPString-0.0.3-expected.json b/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.0/PyJPString-0.0.3-expected.json index f7624e89bf6..34c11d2866e 100644 --- a/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.0/PyJPString-0.0.3-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.0/PyJPString-0.0.3-expected.json @@ -41,6 +41,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/pyjpstring@0.0.3", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/P/PyJPString/PyJPString-0.0.3.tar.gz", diff --git a/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.0/PyJPString-0.0.3-subdir-expected.json b/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.0/PyJPString-0.0.3-subdir-expected.json index 0240e9619e1..6047ea679e4 100644 --- a/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.0/PyJPString-0.0.3-subdir-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.0/PyJPString-0.0.3-subdir-expected.json @@ -74,6 +74,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/pyjpstring@0.0.3", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/P/PyJPString/PyJPString-0.0.3.tar.gz", diff --git a/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.1/python-mimeparse-1.6.0-expected.json b/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.1/python-mimeparse-1.6.0-expected.json index 8f2dc5929ca..d2cd8d860e4 100644 --- a/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.1/python-mimeparse-1.6.0-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.1/python-mimeparse-1.6.0-expected.json @@ -49,6 +49,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/python-mimeparse@1.6.0", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/p/python-mimeparse/python-mimeparse-1.6.0.tar.gz", diff --git a/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.1/pyup-django-0.4.0-expected.json b/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.1/pyup-django-0.4.0-expected.json index bfb56602462..678ff79b576 100644 --- a/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.1/pyup-django-0.4.0-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.1/pyup-django-0.4.0-expected.json @@ -53,6 +53,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/pyup-django@0.4.0", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/p/pyup-django/pyup-django-0.4.0.tar.gz", diff --git a/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.2/anonapi-0.0.19-expected.json b/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.2/anonapi-0.0.19-expected.json index bc762a9aac0..2e7c0b7e9f2 100644 --- a/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.2/anonapi-0.0.19-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_sdist/metadata-1.2/anonapi-0.0.19-expected.json @@ -48,6 +48,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/anonapi@0.0.19", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/a/anonapi/anonapi-0.0.19.tar.gz", diff --git a/tests/packagedcode/data/pypi/unpacked_sdist/metadata-2.1/commoncode-21.5.12-expected.json b/tests/packagedcode/data/pypi/unpacked_sdist/metadata-2.1/commoncode-21.5.12-expected.json index 4c4a38b8d6d..0102ddfe7b8 100644 --- a/tests/packagedcode/data/pypi/unpacked_sdist/metadata-2.1/commoncode-21.5.12-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_sdist/metadata-2.1/commoncode-21.5.12-expected.json @@ -47,6 +47,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/commoncode@21.5.12", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/c/commoncode/commoncode-21.5.12.tar.gz", diff --git a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/Jinja2-2.10.dist-info-expected.json b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/Jinja2-2.10.dist-info-expected.json index a3d2e9a4e86..596231b4fea 100644 --- a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/Jinja2-2.10.dist-info-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/Jinja2-2.10.dist-info-expected.json @@ -75,6 +75,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/jinja2@2.10", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/J/Jinja2/Jinja2-2.10.tar.gz", diff --git a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/python_mimeparse-1.6.0.dist-info-expected.json b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/python_mimeparse-1.6.0.dist-info-expected.json index 8f2dc5929ca..d2cd8d860e4 100644 --- a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/python_mimeparse-1.6.0.dist-info-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/python_mimeparse-1.6.0.dist-info-expected.json @@ -49,6 +49,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/python-mimeparse@1.6.0", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/p/python-mimeparse/python-mimeparse-1.6.0.tar.gz", diff --git a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/toml-0.10.1.dist-info-expected.json b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/toml-0.10.1.dist-info-expected.json index fab947da9fa..6536fe22a8b 100644 --- a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/toml-0.10.1.dist-info-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/toml-0.10.1.dist-info-expected.json @@ -58,6 +58,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/toml@0.10.1", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/t/toml/toml-0.10.1.tar.gz", diff --git a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/urllib3-1.26.4.dist-info-expected.json b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/urllib3-1.26.4.dist-info-expected.json index 60038ee0972..b801d15830b 100644 --- a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/urllib3-1.26.4.dist-info-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.0/urllib3-1.26.4.dist-info-expected.json @@ -116,6 +116,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/urllib3@1.26.4", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/u/urllib3/urllib3-1.26.4.tar.gz", diff --git a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/haruka_bot-1.2.3.dist-info-expected.json b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/haruka_bot-1.2.3.dist-info-expected.json index 04d77603fe4..c5e42ef8904 100644 --- a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/haruka_bot-1.2.3.dist-info-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/haruka_bot-1.2.3.dist-info-expected.json @@ -147,6 +147,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/haruka-bot@1.2.3", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/h/haruka-bot/haruka-bot-1.2.3.tar.gz", diff --git a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/pip-20.2.2.dist-info-expected.json b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/pip-20.2.2.dist-info-expected.json index 9e70343b162..534f0337f15 100644 --- a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/pip-20.2.2.dist-info-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/pip-20.2.2.dist-info-expected.json @@ -56,6 +56,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/pip@20.2.2", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/p/pip/pip-20.2.2.tar.gz", diff --git a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/plugincode-21.1.21.dist-info-expected.json b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/plugincode-21.1.21.dist-info-expected.json index acd32da9590..dd80e99d186 100644 --- a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/plugincode-21.1.21.dist-info-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/plugincode-21.1.21.dist-info-expected.json @@ -115,6 +115,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/plugincode@21.1.21", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/p/plugincode/plugincode-21.1.21.tar.gz", diff --git a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/with_sources/anonapi-0.0.19.dist-info-expected.json b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/with_sources/anonapi-0.0.19.dist-info-expected.json index 85f432ffa15..19a6f2fe6c9 100644 --- a/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/with_sources/anonapi-0.0.19.dist-info-expected.json +++ b/tests/packagedcode/data/pypi/unpacked_wheel/metadata-2.1/with_sources/anonapi-0.0.19.dist-info-expected.json @@ -57,6 +57,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:pypi/anonapi@0.0.19", "repository_homepage_url": "https://pypi.org/project/https://pypi.org", "repository_download_url": "https://pypi.org/packages/source/a/anonapi/anonapi-0.0.19.tar.gz", diff --git a/tests/packagedcode/data/pypi/wheel/parse-wheel-expected.json b/tests/packagedcode/data/pypi/wheel/parse-wheel-expected.json new file mode 100644 index 00000000000..491e2c9e4fc --- /dev/null +++ b/tests/packagedcode/data/pypi/wheel/parse-wheel-expected.json @@ -0,0 +1,57 @@ +{ + "type": "pypi", + "namespace": null, + "name": "atomicwrites", + "version": "1.2.1", + "qualifiers": {}, + "subpath": null, + "primary_language": "Python", + "description": "===================\npython-atomicwrites\n===================\n\n.. image:: https://travis-ci.org/untitaker/python-atomicwrites.svg?branch=master\n :target: https://travis-ci.org/untitaker/python-atomicwrites\n\n.. image:: https://ci.appveyor.com/api/projects/status/vadc4le3c27to59x/branch/master?svg=true\n :target: https://ci.appveyor.com/project/untitaker/python-atomicwrites/branch/master\n\nAtomic file writes.\n\n.. code-block:: python\n\n from atomicwrites import atomic_write\n\n with atomic_write('foo.txt', overwrite=True) as f:\n f.write('Hello world.')\n # \"foo.txt\" doesn't exist yet.\n\n # Now it does.\n\n\nFeatures that distinguish it from other similar libraries (see `Alternatives and Credit`_):\n\n- Race-free assertion that the target file doesn't yet exist. This can be\n controlled with the ``overwrite`` parameter.\n\n- Windows support, although not well-tested. The MSDN resources are not very\n explicit about which operations are atomic. I'm basing my assumptions off `a\n comment\n `_\n by `Doug Crook\n `_, who appears\n to be a Microsoft employee:\n\n FAQ: Is MoveFileEx atomic\n Frequently asked question: Is MoveFileEx atomic if the existing and new\n files are both on the same drive?\n\n The simple answer is \"usually, but in some cases it will silently fall-back\n to a non-atomic method, so don't count on it\".\n\n The implementation of MoveFileEx looks something like this: [...]\n\n The problem is if the rename fails, you might end up with a CopyFile, which\n is definitely not atomic.\n\n If you really need atomic-or-nothing, you can try calling\n NtSetInformationFile, which is unsupported but is much more likely to be\n atomic. \n\n- Simple high-level API that wraps a very flexible class-based API.\n\n- Consistent error handling across platforms.\n\n\nHow it works\n============\n\nIt uses a temporary file in the same directory as the given path. This ensures\nthat the temporary file resides on the same filesystem.\n\nThe temporary file will then be atomically moved to the target location: On\nPOSIX, it will use ``rename`` if files should be overwritten, otherwise a\ncombination of ``link`` and ``unlink``. On Windows, it uses MoveFileEx_ through\nstdlib's ``ctypes`` with the appropriate flags.\n\nNote that with ``link`` and ``unlink``, there's a timewindow where the file\nmight be available under two entries in the filesystem: The name of the\ntemporary file, and the name of the target file.\n\nAlso note that the permissions of the target file may change this way. In some\nsituations a ``chmod`` can be issued without any concurrency problems, but\nsince that is not always the case, this library doesn't do it by itself.\n\n.. _MoveFileEx: https://msdn.microsoft.com/en-us/library/windows/desktop/aa365240%28v=vs.85%29.aspx\n\nfsync\n-----\n\nOn POSIX, ``fsync`` is invoked on the temporary file after it is written (to\nflush file content and metadata), and on the parent directory after the file is\nmoved (to flush filename).\n\n``fsync`` does not take care of disks' internal buffers, but there don't seem\nto be any standard POSIX APIs for that. On OS X, ``fcntl`` is used with\n``F_FULLFSYNC`` instead of ``fsync`` for that reason.\n\nOn Windows, `_commit `_\nis used, but there are no guarantees about disk internal buffers.\n\nAlternatives and Credit\n=======================\n\nAtomicwrites is directly inspired by the following libraries (and shares a\nminimal amount of code):\n\n- The Trac project's `utility functions\n `_,\n also used in `Werkzeug `_ and\n `mitsuhiko/python-atomicfile\n `_. The idea to use\n ``ctypes`` instead of ``PyWin32`` originated there.\n\n- `abarnert/fatomic `_. Windows support\n (based on ``PyWin32``) was originally taken from there.\n\nOther alternatives to atomicwrites include:\n\n- `sashka/atomicfile `_. Originally I\n considered using that, but at the time it was lacking a lot of features I\n needed (Windows support, overwrite-parameter, overriding behavior through\n subclassing).\n\n- The `Boltons library collection `_\n features a class for atomic file writes, which seems to have a very similar\n ``overwrite`` parameter. It is lacking Windows support though.\n\nLicense\n=======\n\nLicensed under the MIT, see ``LICENSE``.\n\n\n", + "release_date": null, + "parties": [ + { + "type": "person", + "role": "author", + "name": "Markus Unterwaditzer", + "email": "markus@unterwaditzer.net", + "url": null + } + ], + "keywords": [ + "Programming Language :: Python :: 2", + "Programming Language :: Python :: 2.7", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.4", + "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: Implementation :: CPython" + ], + "homepage_url": "https://github.com/untitaker/python-atomicwrites", + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": "mit", + "declared_license": { + "license": "MIT", + "classifiers": [ + "License :: OSI Approved :: MIT License" + ] + }, + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": "pkg:pypi/atomicwrites@1.2.1", + "repository_homepage_url": "https://pypi.org/project/atomicwrites", + "repository_download_url": "https://pypi.io/packages/source/a/atomicwrites/atomicwrites-1.2.1.tar.gz", + "api_data_url": "http://pypi.python.org/pypi/atomicwrites/1.2.1/json" +} \ No newline at end of file diff --git a/tests/packagedcode/data/readme/android/basic/README.android.expected b/tests/packagedcode/data/readme/android/basic/README.android.expected index 9d194532416..27b351aa2da 100644 --- a/tests/packagedcode/data/readme/android/basic/README.android.expected +++ b/tests/packagedcode/data/readme/android/basic/README.android.expected @@ -28,6 +28,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:readme/libaom@v1.0.0", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/readme/chromium/basic/README.chromium.expected b/tests/packagedcode/data/readme/chromium/basic/README.chromium.expected index ddf89c17d2a..93908cf3bc0 100644 --- a/tests/packagedcode/data/readme/chromium/basic/README.chromium.expected +++ b/tests/packagedcode/data/readme/chromium/basic/README.chromium.expected @@ -28,6 +28,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:readme/tsproxy@a2f578febcd79b751d948f615bbde8f6189fbeed%20%28commit%20hash%29", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/readme/facebook/basic/README.facebook.expected b/tests/packagedcode/data/readme/facebook/basic/README.facebook.expected index f92832c61a3..6838935d8c0 100644 --- a/tests/packagedcode/data/readme/facebook/basic/README.facebook.expected +++ b/tests/packagedcode/data/readme/facebook/basic/README.facebook.expected @@ -28,6 +28,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:readme/setuptools@18.5", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/readme/facebook/capital-filename/README.FACEBOOK.expected b/tests/packagedcode/data/readme/facebook/capital-filename/README.FACEBOOK.expected index f92832c61a3..6838935d8c0 100644 --- a/tests/packagedcode/data/readme/facebook/capital-filename/README.FACEBOOK.expected +++ b/tests/packagedcode/data/readme/facebook/capital-filename/README.FACEBOOK.expected @@ -28,6 +28,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:readme/setuptools@18.5", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/readme/facebook/download-link-as-download_url/README.facebook.expected b/tests/packagedcode/data/readme/facebook/download-link-as-download_url/README.facebook.expected index 3d56da10e81..6ec634fd47d 100644 --- a/tests/packagedcode/data/readme/facebook/download-link-as-download_url/README.facebook.expected +++ b/tests/packagedcode/data/readme/facebook/download-link-as-download_url/README.facebook.expected @@ -28,6 +28,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:readme/mbed%20TLS@2.16.4", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/readme/facebook/downloaded-from-as-download_url/README.facebook.expected b/tests/packagedcode/data/readme/facebook/downloaded-from-as-download_url/README.facebook.expected index 3d56da10e81..6ec634fd47d 100644 --- a/tests/packagedcode/data/readme/facebook/downloaded-from-as-download_url/README.facebook.expected +++ b/tests/packagedcode/data/readme/facebook/downloaded-from-as-download_url/README.facebook.expected @@ -28,6 +28,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:readme/mbed%20TLS@2.16.4", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/readme/facebook/missing-type/README.facebook.expected b/tests/packagedcode/data/readme/facebook/missing-type/README.facebook.expected index d0531dcbb75..f9964dbada0 100644 --- a/tests/packagedcode/data/readme/facebook/missing-type/README.facebook.expected +++ b/tests/packagedcode/data/readme/facebook/missing-type/README.facebook.expected @@ -28,6 +28,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:readme/missing-type", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/readme/facebook/project-as-name/README.facebook.expected b/tests/packagedcode/data/readme/facebook/project-as-name/README.facebook.expected index ff3659cbdff..3e0a29cb34e 100644 --- a/tests/packagedcode/data/readme/facebook/project-as-name/README.facebook.expected +++ b/tests/packagedcode/data/readme/facebook/project-as-name/README.facebook.expected @@ -28,6 +28,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:readme/mbed%20TLS@2.16.4", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/readme/facebook/source-as-homepage_url/README.facebook.expected b/tests/packagedcode/data/readme/facebook/source-as-homepage_url/README.facebook.expected index ff3659cbdff..3e0a29cb34e 100644 --- a/tests/packagedcode/data/readme/facebook/source-as-homepage_url/README.facebook.expected +++ b/tests/packagedcode/data/readme/facebook/source-as-homepage_url/README.facebook.expected @@ -28,6 +28,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:readme/mbed%20TLS@2.16.4", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/readme/facebook/use-parent-dir-name-as-package-name/setuptools/README.facebook.expected b/tests/packagedcode/data/readme/facebook/use-parent-dir-name-as-package-name/setuptools/README.facebook.expected index f92832c61a3..6838935d8c0 100644 --- a/tests/packagedcode/data/readme/facebook/use-parent-dir-name-as-package-name/setuptools/README.facebook.expected +++ b/tests/packagedcode/data/readme/facebook/use-parent-dir-name-as-package-name/setuptools/README.facebook.expected @@ -28,6 +28,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:readme/setuptools@18.5", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/readme/facebook/website-as-homepage_url/README.facebook.expected b/tests/packagedcode/data/readme/facebook/website-as-homepage_url/README.facebook.expected index ff3659cbdff..3e0a29cb34e 100644 --- a/tests/packagedcode/data/readme/facebook/website-as-homepage_url/README.facebook.expected +++ b/tests/packagedcode/data/readme/facebook/website-as-homepage_url/README.facebook.expected @@ -28,6 +28,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:readme/mbed%20TLS@2.16.4", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/readme/google/basic/README.google.expected b/tests/packagedcode/data/readme/google/basic/README.google.expected index a0a5bb01e3c..5de583d4094 100644 --- a/tests/packagedcode/data/readme/google/basic/README.google.expected +++ b/tests/packagedcode/data/readme/google/basic/README.google.expected @@ -28,6 +28,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:readme/lunit@0.5", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/readme/thirdparty/basic/README.thirdparty.expected b/tests/packagedcode/data/readme/thirdparty/basic/README.thirdparty.expected index 26b05952682..7b1a6a05e65 100644 --- a/tests/packagedcode/data/readme/thirdparty/basic/README.thirdparty.expected +++ b/tests/packagedcode/data/readme/thirdparty/basic/README.thirdparty.expected @@ -28,6 +28,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:readme/colorama@0.2.4", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/rpm_installed/distro-xmlish/centos-8-rpms.xmlish-expected.json b/tests/packagedcode/data/rpm_installed/distro-xmlish/centos-8-rpms.xmlish-expected.json index 14687c78e87..6ff142a02fa 100644 --- a/tests/packagedcode/data/rpm_installed/distro-xmlish/centos-8-rpms.xmlish-expected.json +++ b/tests/packagedcode/data/rpm_installed/distro-xmlish/centos-8-rpms.xmlish-expected.json @@ -31,6 +31,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:rpm/python3-setuptools-wheel@39.2.0?arch=noarch", "repository_homepage_url": null, "repository_download_url": null, @@ -102,6 +103,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:rpm/centos-gpg-keys@8.1?arch=noarch", "repository_homepage_url": null, "repository_download_url": null, @@ -165,6 +167,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:rpm/langpacks-en@1.0?arch=noarch", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/rpm_installed/distro-xmlish/fc33-rpms.xmlish-expected.json b/tests/packagedcode/data/rpm_installed/distro-xmlish/fc33-rpms.xmlish-expected.json index 1cdeebb58ae..10301659504 100644 --- a/tests/packagedcode/data/rpm_installed/distro-xmlish/fc33-rpms.xmlish-expected.json +++ b/tests/packagedcode/data/rpm_installed/distro-xmlish/fc33-rpms.xmlish-expected.json @@ -31,6 +31,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:rpm/libgcc@10.1.1?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, @@ -158,6 +159,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:rpm/fedora-release-identity-container@33?arch=noarch", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/rpm_installed/distro-xmlish/openmandriva-rpms.xmlish-expected.json b/tests/packagedcode/data/rpm_installed/distro-xmlish/openmandriva-rpms.xmlish-expected.json index dfe65819210..42781a8f4be 100644 --- a/tests/packagedcode/data/rpm_installed/distro-xmlish/openmandriva-rpms.xmlish-expected.json +++ b/tests/packagedcode/data/rpm_installed/distro-xmlish/openmandriva-rpms.xmlish-expected.json @@ -31,6 +31,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:rpm/chkconfig@1.11?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, @@ -838,6 +839,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:rpm/lib64ncursesw6@6.2?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/rpm_installed/distro-xmlish/opensuse-rpms.xmlish-expected.json b/tests/packagedcode/data/rpm_installed/distro-xmlish/opensuse-rpms.xmlish-expected.json index 1f46981eaa8..e85bb533b58 100644 --- a/tests/packagedcode/data/rpm_installed/distro-xmlish/opensuse-rpms.xmlish-expected.json +++ b/tests/packagedcode/data/rpm_installed/distro-xmlish/opensuse-rpms.xmlish-expected.json @@ -31,6 +31,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:rpm/boost-license1_71_0@1.71.0?arch=noarch", "repository_homepage_url": null, "repository_download_url": null, @@ -86,6 +87,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:rpm/cracklib-dict-small@2.9.6?arch=x86_64", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/rpm_installed/distro-xmlish/rhel-rpms.xmlish-expected.json b/tests/packagedcode/data/rpm_installed/distro-xmlish/rhel-rpms.xmlish-expected.json index 1ac020c6c71..986f5fff39f 100644 --- a/tests/packagedcode/data/rpm_installed/distro-xmlish/rhel-rpms.xmlish-expected.json +++ b/tests/packagedcode/data/rpm_installed/distro-xmlish/rhel-rpms.xmlish-expected.json @@ -31,6 +31,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:rpm/setup@2.12.2?arch=noarch", "repository_homepage_url": null, "repository_download_url": null, @@ -366,6 +367,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:rpm/basesystem@11?arch=noarch", "repository_homepage_url": null, "repository_download_url": null, @@ -404,6 +406,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:rpm/ncurses-base@6.1?arch=noarch", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/rpm_installed/xmlish/centos-5-rpms.xmlish-expected.json b/tests/packagedcode/data/rpm_installed/xmlish/centos-5-rpms.xmlish-expected.json index 7f080a5c010..12c3210a7b8 100644 --- a/tests/packagedcode/data/rpm_installed/xmlish/centos-5-rpms.xmlish-expected.json +++ b/tests/packagedcode/data/rpm_installed/xmlish/centos-5-rpms.xmlish-expected.json @@ -31,6 +31,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:rpm/setup@2.5.58?arch=noarch", "repository_homepage_url": null, "repository_download_url": null, @@ -294,6 +295,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:rpm/basesystem@8.0?arch=noarch", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/rpm_installed/xmlish/centos-5-rpms.xmlish-with-license-expected.json b/tests/packagedcode/data/rpm_installed/xmlish/centos-5-rpms.xmlish-with-license-expected.json index 418e7260731..ee7c31630ab 100644 --- a/tests/packagedcode/data/rpm_installed/xmlish/centos-5-rpms.xmlish-with-license-expected.json +++ b/tests/packagedcode/data/rpm_installed/xmlish/centos-5-rpms.xmlish-with-license-expected.json @@ -31,6 +31,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:rpm/setup@2.5.58?arch=noarch", "repository_homepage_url": null, "repository_download_url": null, @@ -294,6 +295,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:rpm/basesystem@8.0?arch=noarch", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/rubygems/gem/a_okay-0.1.0.gem.json b/tests/packagedcode/data/rubygems/gem/a_okay-0.1.0.gem.json index 17f557c4780..912c6f170fc 100644 --- a/tests/packagedcode/data/rubygems/gem/a_okay-0.1.0.gem.json +++ b/tests/packagedcode/data/rubygems/gem/a_okay-0.1.0.gem.json @@ -37,6 +37,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/a_okay@0.1.0", "repository_homepage_url": "https://rubygems.org/gems/a_okay/versions/0.1.0", "repository_download_url": "https://rubygems.org/downloads/a_okay-0.1.0.gem", diff --git a/tests/packagedcode/data/rubygems/gem/action_tracker-1.0.2.gem.json b/tests/packagedcode/data/rubygems/gem/action_tracker-1.0.2.gem.json index 0f1e014fb8a..8ac6276aeef 100644 --- a/tests/packagedcode/data/rubygems/gem/action_tracker-1.0.2.gem.json +++ b/tests/packagedcode/data/rubygems/gem/action_tracker-1.0.2.gem.json @@ -127,6 +127,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/action_tracker@1.0.2", "repository_homepage_url": "https://rubygems.org/gems/action_tracker/versions/1.0.2", "repository_download_url": "https://rubygems.org/downloads/action_tracker-1.0.2.gem", diff --git a/tests/packagedcode/data/rubygems/gem/archive-tar-minitar-0.5.2.gem.json b/tests/packagedcode/data/rubygems/gem/archive-tar-minitar-0.5.2.gem.json index 7f602318ede..b4d20ce2e6b 100644 --- a/tests/packagedcode/data/rubygems/gem/archive-tar-minitar-0.5.2.gem.json +++ b/tests/packagedcode/data/rubygems/gem/archive-tar-minitar-0.5.2.gem.json @@ -37,6 +37,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/archive-tar-minitar@0.5.2", "repository_homepage_url": "https://rubygems.org/gems/archive-tar-minitar/versions/0.5.2", "repository_download_url": "https://rubygems.org/downloads/archive-tar-minitar-0.5.2.gem", diff --git a/tests/packagedcode/data/rubygems/gem/blankslate-3.1.3.gem.json b/tests/packagedcode/data/rubygems/gem/blankslate-3.1.3.gem.json index bdb35bce149..a8d8ea02b8c 100644 --- a/tests/packagedcode/data/rubygems/gem/blankslate-3.1.3.gem.json +++ b/tests/packagedcode/data/rubygems/gem/blankslate-3.1.3.gem.json @@ -68,6 +68,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/blankslate@3.1.3", "repository_homepage_url": "https://rubygems.org/gems/blankslate/versions/3.1.3", "repository_download_url": "https://rubygems.org/downloads/blankslate-3.1.3.gem", diff --git a/tests/packagedcode/data/rubygems/gem/m2r-2.1.0.gem.json b/tests/packagedcode/data/rubygems/gem/m2r-2.1.0.gem.json index 31effce7965..0f4ca0941bf 100644 --- a/tests/packagedcode/data/rubygems/gem/m2r-2.1.0.gem.json +++ b/tests/packagedcode/data/rubygems/gem/m2r-2.1.0.gem.json @@ -165,6 +165,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/m2r@2.1.0", "repository_homepage_url": "https://rubygems.org/gems/m2r/versions/2.1.0", "repository_download_url": "https://rubygems.org/downloads/m2r-2.1.0.gem", diff --git a/tests/packagedcode/data/rubygems/gem/mysmallidea-address_standardization-0.4.1.gem.json b/tests/packagedcode/data/rubygems/gem/mysmallidea-address_standardization-0.4.1.gem.json index 00eae8c5dde..a3938b9474d 100644 --- a/tests/packagedcode/data/rubygems/gem/mysmallidea-address_standardization-0.4.1.gem.json +++ b/tests/packagedcode/data/rubygems/gem/mysmallidea-address_standardization-0.4.1.gem.json @@ -62,6 +62,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/mysmallidea-address_standardization@0.4.1", "repository_homepage_url": "https://rubygems.org/gems/mysmallidea-address_standardization/versions/0.4.1", "repository_download_url": "https://rubygems.org/downloads/mysmallidea-address_standardization-0.4.1.gem", diff --git a/tests/packagedcode/data/rubygems/gem/mysmallidea-mad_mimi_mailer-0.0.9.gem.json b/tests/packagedcode/data/rubygems/gem/mysmallidea-mad_mimi_mailer-0.0.9.gem.json index 60dd7a422e4..723ac123134 100644 --- a/tests/packagedcode/data/rubygems/gem/mysmallidea-mad_mimi_mailer-0.0.9.gem.json +++ b/tests/packagedcode/data/rubygems/gem/mysmallidea-mad_mimi_mailer-0.0.9.gem.json @@ -37,6 +37,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/mysmallidea-mad_mimi_mailer@0.0.9", "repository_homepage_url": "https://rubygems.org/gems/mysmallidea-mad_mimi_mailer/versions/0.0.9", "repository_download_url": "https://rubygems.org/downloads/mysmallidea-mad_mimi_mailer-0.0.9.gem", diff --git a/tests/packagedcode/data/rubygems/gem/new/dependabot-omnibus-0.87.15.gem.json b/tests/packagedcode/data/rubygems/gem/new/dependabot-omnibus-0.87.15.gem.json index 9760d66d150..831120f7aeb 100644 --- a/tests/packagedcode/data/rubygems/gem/new/dependabot-omnibus-0.87.15.gem.json +++ b/tests/packagedcode/data/rubygems/gem/new/dependabot-omnibus-0.87.15.gem.json @@ -128,6 +128,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/dependabot-omnibus@0.87.15", "repository_homepage_url": "https://rubygems.org/gems/dependabot-omnibus/versions/0.87.15", "repository_download_url": "https://rubygems.org/downloads/dependabot-omnibus-0.87.15.gem", diff --git a/tests/packagedcode/data/rubygems/gem/new/hiredis-0.6.3-java.gem.json b/tests/packagedcode/data/rubygems/gem/new/hiredis-0.6.3-java.gem.json index 2c4f8317b13..572abedfb94 100644 --- a/tests/packagedcode/data/rubygems/gem/new/hiredis-0.6.3-java.gem.json +++ b/tests/packagedcode/data/rubygems/gem/new/hiredis-0.6.3-java.gem.json @@ -66,6 +66,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/hiredis@0.6.3?platform=java", "repository_homepage_url": "https://rubygems.org/gems/hiredis/versions/0.6.3", "repository_download_url": "https://rubygems.org/downloads/hiredis-0.6.3-java.gem", diff --git a/tests/packagedcode/data/rubygems/gem/new/int_time-0.0.2.gem.json b/tests/packagedcode/data/rubygems/gem/new/int_time-0.0.2.gem.json index 238208f67cf..1e2b448ff9c 100644 --- a/tests/packagedcode/data/rubygems/gem/new/int_time-0.0.2.gem.json +++ b/tests/packagedcode/data/rubygems/gem/new/int_time-0.0.2.gem.json @@ -39,6 +39,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/int_time@0.0.2", "repository_homepage_url": "https://rubygems.org/gems/int_time/versions/0.0.2", "repository_download_url": "https://rubygems.org/downloads/int_time-0.0.2.gem", diff --git a/tests/packagedcode/data/rubygems/gem/new/jaro_winkler-1.5.1-java.gem.json b/tests/packagedcode/data/rubygems/gem/new/jaro_winkler-1.5.1-java.gem.json index 04c4424c410..e30112f07ce 100644 --- a/tests/packagedcode/data/rubygems/gem/new/jaro_winkler-1.5.1-java.gem.json +++ b/tests/packagedcode/data/rubygems/gem/new/jaro_winkler-1.5.1-java.gem.json @@ -74,6 +74,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/jaro_winkler@1.5.1?platform=java", "repository_homepage_url": "https://rubygems.org/gems/jaro_winkler/versions/1.5.1", "repository_download_url": "https://rubygems.org/downloads/jaro_winkler-1.5.1-java.gem", diff --git a/tests/packagedcode/data/rubygems/gem/new/rubocop-0.62.0.gem.json b/tests/packagedcode/data/rubygems/gem/new/rubocop-0.62.0.gem.json index 825d100e077..697b361fe99 100644 --- a/tests/packagedcode/data/rubygems/gem/new/rubocop-0.62.0.gem.json +++ b/tests/packagedcode/data/rubygems/gem/new/rubocop-0.62.0.gem.json @@ -126,6 +126,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/rubocop@0.62.0", "repository_homepage_url": "https://rubygems.org/gems/rubocop/versions/0.62.0", "repository_download_url": "https://rubygems.org/downloads/rubocop-0.62.0.gem", diff --git a/tests/packagedcode/data/rubygems/gem/ng-rails-csrf-0.1.0.gem.json b/tests/packagedcode/data/rubygems/gem/ng-rails-csrf-0.1.0.gem.json index fbfbcfb3c74..f86bd475e2a 100644 --- a/tests/packagedcode/data/rubygems/gem/ng-rails-csrf-0.1.0.gem.json +++ b/tests/packagedcode/data/rubygems/gem/ng-rails-csrf-0.1.0.gem.json @@ -37,6 +37,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/ng-rails-csrf@0.1.0", "repository_homepage_url": "https://rubygems.org/gems/ng-rails-csrf/versions/0.1.0", "repository_download_url": "https://rubygems.org/downloads/ng-rails-csrf-0.1.0.gem", diff --git a/tests/packagedcode/data/rubygems/gem/small-0.2.gem.json b/tests/packagedcode/data/rubygems/gem/small-0.2.gem.json index e34c961daf5..d6fb4a98364 100644 --- a/tests/packagedcode/data/rubygems/gem/small-0.2.gem.json +++ b/tests/packagedcode/data/rubygems/gem/small-0.2.gem.json @@ -37,6 +37,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/small@0.2", "repository_homepage_url": "https://rubygems.org/gems/small/versions/0.2", "repository_download_url": "https://rubygems.org/downloads/small-0.2.gem", diff --git a/tests/packagedcode/data/rubygems/gem/small_wonder-0.1.10.gem.json b/tests/packagedcode/data/rubygems/gem/small_wonder-0.1.10.gem.json index d3913f8ed19..5bd280a5489 100644 --- a/tests/packagedcode/data/rubygems/gem/small_wonder-0.1.10.gem.json +++ b/tests/packagedcode/data/rubygems/gem/small_wonder-0.1.10.gem.json @@ -126,6 +126,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/small_wonder@0.1.10", "repository_homepage_url": "https://rubygems.org/gems/small_wonder/versions/0.1.10", "repository_download_url": "https://rubygems.org/downloads/small_wonder-0.1.10.gem", diff --git a/tests/packagedcode/data/rubygems/gem/sprockets-vendor_gems-0.1.3.gem.json b/tests/packagedcode/data/rubygems/gem/sprockets-vendor_gems-0.1.3.gem.json index 7265001f599..026f3673c8d 100644 --- a/tests/packagedcode/data/rubygems/gem/sprockets-vendor_gems-0.1.3.gem.json +++ b/tests/packagedcode/data/rubygems/gem/sprockets-vendor_gems-0.1.3.gem.json @@ -78,6 +78,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/sprockets-vendor_gems@0.1.3", "repository_homepage_url": "https://rubygems.org/gems/sprockets-vendor_gems/versions/0.1.3", "repository_download_url": "https://rubygems.org/downloads/sprockets-vendor_gems-0.1.3.gem", diff --git a/tests/packagedcode/data/rubygems/gemfile-lock/Gemfile.lock.expected b/tests/packagedcode/data/rubygems/gemfile-lock/Gemfile.lock.expected index 53e4e86b04f..dddfa5f1c6b 100644 --- a/tests/packagedcode/data/rubygems/gemfile-lock/Gemfile.lock.expected +++ b/tests/packagedcode/data/rubygems/gemfile-lock/Gemfile.lock.expected @@ -542,6 +542,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, @@ -602,6 +603,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/actioncable@5.0.6", "repository_homepage_url": "https://rubygems.org/gems/actioncable/versions/5.0.6", "repository_download_url": "https://rubygems.org/downloads/actioncable-5.0.6.gem", @@ -686,6 +688,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/actionpack@5.0.6", "repository_homepage_url": "https://rubygems.org/gems/actionpack/versions/5.0.6", "repository_download_url": "https://rubygems.org/downloads/actionpack-5.0.6.gem", @@ -721,6 +724,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/nio4r@2.1.0", "repository_homepage_url": "https://rubygems.org/gems/nio4r/versions/2.1.0", "repository_download_url": "https://rubygems.org/downloads/nio4r-2.1.0.gem", @@ -765,6 +769,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/websocket-driver@0.6.5", "repository_homepage_url": "https://rubygems.org/gems/websocket-driver/versions/0.6.5", "repository_download_url": "https://rubygems.org/downloads/websocket-driver-0.6.5.gem", @@ -841,6 +846,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/actionmailer@5.0.6", "repository_homepage_url": "https://rubygems.org/gems/actionmailer/versions/5.0.6", "repository_download_url": "https://rubygems.org/downloads/actionmailer-5.0.6.gem", @@ -917,6 +923,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/actionview@5.0.6", "repository_homepage_url": "https://rubygems.org/gems/actionview/versions/5.0.6", "repository_download_url": "https://rubygems.org/downloads/actionview-5.0.6.gem", @@ -969,6 +976,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/activejob@5.0.6", "repository_homepage_url": "https://rubygems.org/gems/activejob/versions/5.0.6", "repository_download_url": "https://rubygems.org/downloads/activejob-5.0.6.gem", @@ -1013,6 +1021,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/mail@2.6.6", "repository_homepage_url": "https://rubygems.org/gems/mail/versions/2.6.6", "repository_download_url": "https://rubygems.org/downloads/mail-2.6.6.gem", @@ -1065,6 +1074,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/rails-dom-testing@2.0.3", "repository_homepage_url": "https://rubygems.org/gems/rails-dom-testing/versions/2.0.3", "repository_download_url": "https://rubygems.org/downloads/rails-dom-testing-2.0.3.gem", @@ -1133,6 +1143,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/activesupport@5.0.6", "repository_homepage_url": "https://rubygems.org/gems/activesupport/versions/5.0.6", "repository_download_url": "https://rubygems.org/downloads/activesupport-5.0.6.gem", @@ -1168,6 +1179,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/rack@2.0.3", "repository_homepage_url": "https://rubygems.org/gems/rack/versions/2.0.3", "repository_download_url": "https://rubygems.org/downloads/rack-2.0.3.gem", @@ -1212,6 +1224,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/rack-test@0.6.3", "repository_homepage_url": "https://rubygems.org/gems/rack-test/versions/0.6.3", "repository_download_url": "https://rubygems.org/downloads/rack-test-0.6.3.gem", @@ -1256,6 +1269,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/rails-html-sanitizer@1.0.3", "repository_homepage_url": "https://rubygems.org/gems/rails-html-sanitizer/versions/1.0.3", "repository_download_url": "https://rubygems.org/downloads/rails-html-sanitizer-1.0.3.gem", @@ -1291,6 +1305,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/builder@3.2.3", "repository_homepage_url": "https://rubygems.org/gems/builder/versions/3.2.3", "repository_download_url": "https://rubygems.org/downloads/builder-3.2.3.gem", @@ -1326,6 +1341,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/erubis@2.7.0", "repository_homepage_url": "https://rubygems.org/gems/erubis/versions/2.7.0", "repository_download_url": "https://rubygems.org/downloads/erubis-2.7.0.gem", @@ -1370,6 +1386,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/globalid@0.4.0", "repository_homepage_url": "https://rubygems.org/gems/globalid/versions/0.4.0", "repository_download_url": "https://rubygems.org/downloads/globalid-0.4.0.gem", @@ -1414,6 +1431,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/activemodel@5.0.6", "repository_homepage_url": "https://rubygems.org/gems/activemodel/versions/5.0.6", "repository_download_url": "https://rubygems.org/downloads/activemodel-5.0.6.gem", @@ -1474,6 +1492,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/activerecord@5.0.6", "repository_homepage_url": "https://rubygems.org/gems/activerecord/versions/5.0.6", "repository_download_url": "https://rubygems.org/downloads/activerecord-5.0.6.gem", @@ -1509,6 +1528,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/arel@7.1.4", "repository_homepage_url": "https://rubygems.org/gems/arel/versions/7.1.4", "repository_download_url": "https://rubygems.org/downloads/arel-7.1.4.gem", @@ -1544,6 +1564,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/concurrent-ruby@1.0.5", "repository_homepage_url": "https://rubygems.org/gems/concurrent-ruby/versions/1.0.5", "repository_download_url": "https://rubygems.org/downloads/concurrent-ruby-1.0.5.gem", @@ -1579,6 +1600,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/i18n@0.8.6", "repository_homepage_url": "https://rubygems.org/gems/i18n/versions/0.8.6", "repository_download_url": "https://rubygems.org/downloads/i18n-0.8.6.gem", @@ -1614,6 +1636,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/minitest@5.10.3", "repository_homepage_url": "https://rubygems.org/gems/minitest/versions/5.10.3", "repository_download_url": "https://rubygems.org/downloads/minitest-5.10.3.gem", @@ -1658,6 +1681,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/tzinfo@1.2.3", "repository_homepage_url": "https://rubygems.org/gems/tzinfo/versions/1.2.3", "repository_download_url": "https://rubygems.org/downloads/tzinfo-1.2.3.gem", @@ -1693,6 +1717,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/bindex@0.5.0", "repository_homepage_url": "https://rubygems.org/gems/bindex/versions/0.5.0", "repository_download_url": "https://rubygems.org/downloads/bindex-0.5.0.gem", @@ -1728,6 +1753,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/byebug@9.1.0", "repository_homepage_url": "https://rubygems.org/gems/byebug/versions/9.1.0", "repository_download_url": "https://rubygems.org/downloads/byebug-9.1.0.gem", @@ -1780,6 +1806,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/coffee-rails@4.2.2", "repository_homepage_url": "https://rubygems.org/gems/coffee-rails/versions/4.2.2", "repository_download_url": "https://rubygems.org/downloads/coffee-rails-4.2.2.gem", @@ -1832,6 +1859,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/coffee-script@2.4.1", "repository_homepage_url": "https://rubygems.org/gems/coffee-script/versions/2.4.1", "repository_download_url": "https://rubygems.org/downloads/coffee-script-2.4.1.gem", @@ -1908,6 +1936,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/railties@5.0.6", "repository_homepage_url": "https://rubygems.org/gems/railties/versions/5.0.6", "repository_download_url": "https://rubygems.org/downloads/railties-5.0.6.gem", @@ -1943,6 +1972,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/coffee-script-source@1.12.2", "repository_homepage_url": "https://rubygems.org/gems/coffee-script-source/versions/1.12.2", "repository_download_url": "https://rubygems.org/downloads/coffee-script-source-1.12.2.gem", @@ -1978,6 +2008,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/execjs@2.7.0", "repository_homepage_url": "https://rubygems.org/gems/execjs/versions/2.7.0", "repository_download_url": "https://rubygems.org/downloads/execjs-2.7.0.gem", @@ -2013,6 +2044,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/crass@1.0.2", "repository_homepage_url": "https://rubygems.org/gems/crass/versions/1.0.2", "repository_download_url": "https://rubygems.org/downloads/crass-1.0.2.gem", @@ -2048,6 +2080,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/ffi@1.9.18", "repository_homepage_url": "https://rubygems.org/gems/ffi/versions/1.9.18", "repository_download_url": "https://rubygems.org/downloads/ffi-1.9.18.gem", @@ -2100,6 +2133,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/jbuilder@2.7.0", "repository_homepage_url": "https://rubygems.org/gems/jbuilder/versions/2.7.0", "repository_download_url": "https://rubygems.org/downloads/jbuilder-2.7.0.gem", @@ -2135,6 +2169,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/multi_json@1.12.2", "repository_homepage_url": "https://rubygems.org/gems/multi_json/versions/1.12.2", "repository_download_url": "https://rubygems.org/downloads/multi_json-1.12.2.gem", @@ -2195,6 +2230,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/jquery-rails@4.3.1", "repository_homepage_url": "https://rubygems.org/gems/jquery-rails/versions/4.3.1", "repository_download_url": "https://rubygems.org/downloads/jquery-rails-4.3.1.gem", @@ -2230,6 +2266,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/thor@0.20.0", "repository_homepage_url": "https://rubygems.org/gems/thor/versions/0.20.0", "repository_download_url": "https://rubygems.org/downloads/thor-0.20.0.gem", @@ -2282,6 +2319,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/listen@3.0.8", "repository_homepage_url": "https://rubygems.org/gems/listen/versions/3.0.8", "repository_download_url": "https://rubygems.org/downloads/listen-3.0.8.gem", @@ -2317,6 +2355,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/rb-fsevent@0.10.2", "repository_homepage_url": "https://rubygems.org/gems/rb-fsevent/versions/0.10.2", "repository_download_url": "https://rubygems.org/downloads/rb-fsevent-0.10.2.gem", @@ -2361,6 +2400,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/rb-inotify@0.9.10", "repository_homepage_url": "https://rubygems.org/gems/rb-inotify/versions/0.9.10", "repository_download_url": "https://rubygems.org/downloads/rb-inotify-0.9.10.gem", @@ -2413,6 +2453,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/loofah@2.1.1", "repository_homepage_url": "https://rubygems.org/gems/loofah/versions/2.1.1", "repository_download_url": "https://rubygems.org/downloads/loofah-2.1.1.gem", @@ -2457,6 +2498,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/nokogiri@1.8.1", "repository_homepage_url": "https://rubygems.org/gems/nokogiri/versions/1.8.1", "repository_download_url": "https://rubygems.org/downloads/nokogiri-1.8.1.gem", @@ -2501,6 +2543,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/mime-types@3.1", "repository_homepage_url": "https://rubygems.org/gems/mime-types/versions/3.1", "repository_download_url": "https://rubygems.org/downloads/mime-types-3.1.gem", @@ -2536,6 +2579,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/method_source@0.9.0", "repository_homepage_url": "https://rubygems.org/gems/method_source/versions/0.9.0", "repository_download_url": "https://rubygems.org/downloads/method_source-0.9.0.gem", @@ -2571,6 +2615,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/mime-types-data@3.2016.0521", "repository_homepage_url": "https://rubygems.org/gems/mime-types-data/versions/3.2016.0521", "repository_download_url": "https://rubygems.org/downloads/mime-types-data-3.2016.0521.gem", @@ -2606,6 +2651,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/mini_portile2@2.3.0", "repository_homepage_url": "https://rubygems.org/gems/mini_portile2/versions/2.3.0", "repository_download_url": "https://rubygems.org/downloads/mini_portile2-2.3.0.gem", @@ -2641,6 +2687,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/puma@3.10.0", "repository_homepage_url": "https://rubygems.org/gems/puma/versions/3.10.0", "repository_download_url": "https://rubygems.org/downloads/puma-3.10.0.gem", @@ -2757,6 +2804,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/rails@5.0.6", "repository_homepage_url": "https://rubygems.org/gems/rails/versions/5.0.6", "repository_download_url": "https://rubygems.org/downloads/rails-5.0.6.gem", @@ -2817,6 +2865,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/sprockets-rails@3.2.1", "repository_homepage_url": "https://rubygems.org/gems/sprockets-rails/versions/3.2.1", "repository_download_url": "https://rubygems.org/downloads/sprockets-rails-3.2.1.gem", @@ -2852,6 +2901,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/rake@12.1.0", "repository_homepage_url": "https://rubygems.org/gems/rake/versions/12.1.0", "repository_download_url": "https://rubygems.org/downloads/rake-12.1.0.gem", @@ -2896,6 +2946,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/sass@3.5.2", "repository_homepage_url": "https://rubygems.org/gems/sass/versions/3.5.2", "repository_download_url": "https://rubygems.org/downloads/sass-3.5.2.gem", @@ -2948,6 +2999,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/sass-listen@4.0.0", "repository_homepage_url": "https://rubygems.org/gems/sass-listen/versions/4.0.0", "repository_download_url": "https://rubygems.org/downloads/sass-listen-4.0.0.gem", @@ -3024,6 +3076,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/sass-rails@5.0.6", "repository_homepage_url": "https://rubygems.org/gems/sass-rails/versions/5.0.6", "repository_download_url": "https://rubygems.org/downloads/sass-rails-5.0.6.gem", @@ -3076,6 +3129,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/sprockets@3.7.1", "repository_homepage_url": "https://rubygems.org/gems/sprockets/versions/3.7.1", "repository_download_url": "https://rubygems.org/downloads/sprockets-3.7.1.gem", @@ -3111,6 +3165,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/tilt@2.0.8", "repository_homepage_url": "https://rubygems.org/gems/tilt/versions/2.0.8", "repository_download_url": "https://rubygems.org/downloads/tilt-2.0.8.gem", @@ -3155,6 +3210,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/spring@2.0.2", "repository_homepage_url": "https://rubygems.org/gems/spring/versions/2.0.2", "repository_download_url": "https://rubygems.org/downloads/spring-2.0.2.gem", @@ -3207,6 +3263,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/spring-watcher-listen@2.0.1", "repository_homepage_url": "https://rubygems.org/gems/spring-watcher-listen/versions/2.0.1", "repository_download_url": "https://rubygems.org/downloads/spring-watcher-listen-2.0.1.gem", @@ -3242,6 +3299,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/sqlite3@1.3.13", "repository_homepage_url": "https://rubygems.org/gems/sqlite3/versions/1.3.13", "repository_download_url": "https://rubygems.org/downloads/sqlite3-1.3.13.gem", @@ -3277,6 +3335,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/thread_safe@0.3.6", "repository_homepage_url": "https://rubygems.org/gems/thread_safe/versions/0.3.6", "repository_download_url": "https://rubygems.org/downloads/thread_safe-0.3.6.gem", @@ -3321,6 +3380,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/turbolinks@5.0.1", "repository_homepage_url": "https://rubygems.org/gems/turbolinks/versions/5.0.1", "repository_download_url": "https://rubygems.org/downloads/turbolinks-5.0.1.gem", @@ -3356,6 +3416,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/turbolinks-source@5.0.3", "repository_homepage_url": "https://rubygems.org/gems/turbolinks-source/versions/5.0.3", "repository_download_url": "https://rubygems.org/downloads/turbolinks-source-5.0.3.gem", @@ -3400,6 +3461,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/uglifier@3.2.0", "repository_homepage_url": "https://rubygems.org/gems/uglifier/versions/3.2.0", "repository_download_url": "https://rubygems.org/downloads/uglifier-3.2.0.gem", @@ -3468,6 +3530,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/web-console@3.5.1", "repository_homepage_url": "https://rubygems.org/gems/web-console/versions/3.5.1", "repository_download_url": "https://rubygems.org/downloads/web-console-3.5.1.gem", @@ -3503,6 +3566,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/websocket-extensions@0.1.2", "repository_homepage_url": "https://rubygems.org/gems/websocket-extensions/versions/0.1.2", "repository_download_url": "https://rubygems.org/downloads/websocket-extensions-0.1.2.gem", @@ -3538,6 +3602,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/tzinfo-data", "repository_homepage_url": "https://rubygems.org/gems/tzinfo-data", "repository_download_url": null, diff --git a/tests/packagedcode/data/rubygems/gemspec/address_standardization.gemspec.expected.json b/tests/packagedcode/data/rubygems/gemspec/address_standardization.gemspec.expected.json index d3320b4ae69..60450c06add 100644 --- a/tests/packagedcode/data/rubygems/gemspec/address_standardization.gemspec.expected.json +++ b/tests/packagedcode/data/rubygems/gemspec/address_standardization.gemspec.expected.json @@ -69,6 +69,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/mysmallidea-address_standardization@0.4.1", "repository_homepage_url": "https://rubygems.org/gems/mysmallidea-address_standardization/versions/0.4.1", "repository_download_url": "https://rubygems.org/downloads/mysmallidea-address_standardization-0.4.1.gem", diff --git a/tests/packagedcode/data/rubygems/gemspec/arel.gemspec.expected.json b/tests/packagedcode/data/rubygems/gemspec/arel.gemspec.expected.json index adec2fe27c7..9277396da82 100644 --- a/tests/packagedcode/data/rubygems/gemspec/arel.gemspec.expected.json +++ b/tests/packagedcode/data/rubygems/gemspec/arel.gemspec.expected.json @@ -103,6 +103,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/arel@2.0.7.beta.20110429111451", "repository_homepage_url": "https://rubygems.org/gems/arel/versions/2.0.7.beta.20110429111451", "repository_download_url": "https://rubygems.org/downloads/arel-2.0.7.beta.20110429111451.gem", diff --git a/tests/packagedcode/data/rubygems/gemspec/cat.gemspec.expected.json b/tests/packagedcode/data/rubygems/gemspec/cat.gemspec.expected.json index 33c2e80d4c9..b807876c4c4 100644 --- a/tests/packagedcode/data/rubygems/gemspec/cat.gemspec.expected.json +++ b/tests/packagedcode/data/rubygems/gemspec/cat.gemspec.expected.json @@ -93,6 +93,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/cat_@12", "repository_homepage_url": "https://rubygems.org/gems/cat_/versions/12", "repository_download_url": "https://rubygems.org/downloads/cat_-12.gem", diff --git a/tests/packagedcode/data/rubygems/gemspec/github.gemspec.expected.json b/tests/packagedcode/data/rubygems/gemspec/github.gemspec.expected.json index 23af11c8f3c..df8c0d44dee 100644 --- a/tests/packagedcode/data/rubygems/gemspec/github.gemspec.expected.json +++ b/tests/packagedcode/data/rubygems/gemspec/github.gemspec.expected.json @@ -130,6 +130,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/github@GitHub::VERSION", "repository_homepage_url": "https://rubygems.org/gems/github/versions/GitHub::VERSION", "repository_download_url": "https://rubygems.org/downloads/github-GitHub::VERSION.gem", diff --git a/tests/packagedcode/data/rubygems/gemspec/mecab-ruby.gemspec.expected.json b/tests/packagedcode/data/rubygems/gemspec/mecab-ruby.gemspec.expected.json index 7ce91a29792..25e2690b1c9 100644 --- a/tests/packagedcode/data/rubygems/gemspec/mecab-ruby.gemspec.expected.json +++ b/tests/packagedcode/data/rubygems/gemspec/mecab-ruby.gemspec.expected.json @@ -44,6 +44,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/mecab-ruby@0.99", "repository_homepage_url": "https://rubygems.org/gems/mecab-ruby/versions/0.99", "repository_download_url": "https://rubygems.org/downloads/mecab-ruby-0.99.gem", diff --git a/tests/packagedcode/data/rubygems/gemspec/oj.gemspec.expected.json b/tests/packagedcode/data/rubygems/gemspec/oj.gemspec.expected.json index a94611e8e72..abe339dcdbe 100644 --- a/tests/packagedcode/data/rubygems/gemspec/oj.gemspec.expected.json +++ b/tests/packagedcode/data/rubygems/gemspec/oj.gemspec.expected.json @@ -77,6 +77,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/oj@::Oj::VERSION", "repository_homepage_url": "https://rubygems.org/gems/oj/versions/::Oj::VERSION", "repository_download_url": "https://rubygems.org/downloads/oj-::Oj::VERSION.gem", diff --git a/tests/packagedcode/data/rubygems/gemspec/rubocop.gemspec.expected.json b/tests/packagedcode/data/rubygems/gemspec/rubocop.gemspec.expected.json index aa86ed3a82b..8c0734037df 100644 --- a/tests/packagedcode/data/rubygems/gemspec/rubocop.gemspec.expected.json +++ b/tests/packagedcode/data/rubygems/gemspec/rubocop.gemspec.expected.json @@ -131,6 +131,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/rubocop@RuboCop::Version::STRING", "repository_homepage_url": "https://rubygems.org/gems/rubocop/versions/RuboCop::Version::STRING", "repository_download_url": "https://rubygems.org/downloads/rubocop-RuboCop::Version::STRING.gem", diff --git a/tests/packagedcode/data/rubygems/gemspec/with_variables.gemspec.expected.json b/tests/packagedcode/data/rubygems/gemspec/with_variables.gemspec.expected.json index 3df76607058..e2d81ecc11d 100644 --- a/tests/packagedcode/data/rubygems/gemspec/with_variables.gemspec.expected.json +++ b/tests/packagedcode/data/rubygems/gemspec/with_variables.gemspec.expected.json @@ -117,6 +117,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:gem/ProviderDSL::GemDescription::NAME@ProviderDSL::GemDescription::VERSION", "repository_homepage_url": "https://rubygems.org/gems/ProviderDSL::GemDescription::NAME/versions/ProviderDSL::GemDescription::VERSION", "repository_download_url": "https://rubygems.org/downloads/ProviderDSL::GemDescription::NAME-ProviderDSL::GemDescription::VERSION.gem", diff --git a/tests/packagedcode/data/win_pe/Microsoft.Practices.EnterpriseLibrary.Caching.dll.package-expected.json b/tests/packagedcode/data/win_pe/Microsoft.Practices.EnterpriseLibrary.Caching.dll.package-expected.json index 3e5c4ef5b20..26c008226b3 100644 --- a/tests/packagedcode/data/win_pe/Microsoft.Practices.EnterpriseLibrary.Caching.dll.package-expected.json +++ b/tests/packagedcode/data/win_pe/Microsoft.Practices.EnterpriseLibrary.Caching.dll.package-expected.json @@ -40,6 +40,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:winexe/Microsoft%20Enterprise%20Library%20for%20.NET@2.0.0.0", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/win_pe/Moq.Silverlight.dll.package-expected.json b/tests/packagedcode/data/win_pe/Moq.Silverlight.dll.package-expected.json index 82700fecf45..8e9714c4a11 100644 --- a/tests/packagedcode/data/win_pe/Moq.Silverlight.dll.package-expected.json +++ b/tests/packagedcode/data/win_pe/Moq.Silverlight.dll.package-expected.json @@ -40,6 +40,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:winexe/Moq@4.2.1507.0118", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/win_pe/Windows.AI.winmd b/tests/packagedcode/data/win_pe/Windows.AI.winmd new file mode 100644 index 00000000000..a1c818e1366 Binary files /dev/null and b/tests/packagedcode/data/win_pe/Windows.AI.winmd differ diff --git a/tests/packagedcode/data/win_pe/Windows.AI.winmd.expected.json b/tests/packagedcode/data/win_pe/Windows.AI.winmd.expected.json new file mode 100644 index 00000000000..a7a86d981b2 --- /dev/null +++ b/tests/packagedcode/data/win_pe/Windows.AI.winmd.expected.json @@ -0,0 +1,23 @@ +{ + "Full Version": null, + "ProductVersion": "10.0.10011.16384", + "FileVersion": "10.0.10011.16384", + "Assembly Version": null, + "BuildDate": null, + "ProductName": "Windows SDK", + "OriginalFilename": "", + "InternalName": "", + "License": null, + "LegalCopyright": "\u00a9 Microsoft Corporation. All rights reserved.", + "LegalTrademarks": null, + "LegalTrademarks1": null, + "LegalTrademarks2": null, + "LegalTrademarks3": null, + "FileDescription": "Windows SDK metadata", + "Comments": null, + "CompanyName": "Microsoft Corporation", + "Company": null, + "URL": null, + "WWW": null, + "extra_data": {} +} \ No newline at end of file diff --git a/tests/packagedcode/data/win_pe/Windows.AI.winmd.package-expected.json b/tests/packagedcode/data/win_pe/Windows.AI.winmd.package-expected.json new file mode 100644 index 00000000000..6b68677dd7b --- /dev/null +++ b/tests/packagedcode/data/win_pe/Windows.AI.winmd.package-expected.json @@ -0,0 +1,48 @@ +{ + "type": "winexe", + "namespace": null, + "name": "Windows SDK", + "version": "10.0.10011.16384", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Windows SDK metadata", + "release_date": null, + "parties": [ + { + "type": "organization", + "role": "author", + "name": "Microsoft Corporation", + "email": null, + "url": null + } + ], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": "\u00a9 Microsoft Corporation. All rights reserved.", + "license_expression": null, + "declared_license": { + "LegalCopyright": "\u00a9 Microsoft Corporation. All rights reserved.", + "LegalTrademarks": "", + "License": null + }, + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": "pkg:winexe/Windows%20SDK@10.0.10011.16384", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/win_pe/_ctypes_test.pyd.package-expected.json b/tests/packagedcode/data/win_pe/_ctypes_test.pyd.package-expected.json index 1a66274a018..3287b345d48 100644 --- a/tests/packagedcode/data/win_pe/_ctypes_test.pyd.package-expected.json +++ b/tests/packagedcode/data/win_pe/_ctypes_test.pyd.package-expected.json @@ -32,6 +32,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/win_pe/chcp.com b/tests/packagedcode/data/win_pe/chcp.com new file mode 100644 index 00000000000..e427151ddbf Binary files /dev/null and b/tests/packagedcode/data/win_pe/chcp.com differ diff --git a/tests/packagedcode/data/win_pe/chcp.com.expected.json b/tests/packagedcode/data/win_pe/chcp.com.expected.json new file mode 100644 index 00000000000..f32b310f048 --- /dev/null +++ b/tests/packagedcode/data/win_pe/chcp.com.expected.json @@ -0,0 +1,23 @@ +{ + "Full Version": null, + "ProductVersion": "10.0.17763.1", + "FileVersion": "10.0.17763.1 (WinBuild.160101.0800)", + "Assembly Version": null, + "BuildDate": null, + "ProductName": "Microsoft\u00ae Windows\u00ae Operating System", + "OriginalFilename": "CHCP.COM", + "InternalName": "chcp", + "License": null, + "LegalCopyright": "\u00a9 Microsoft Corporation. All rights reserved.", + "LegalTrademarks": null, + "LegalTrademarks1": null, + "LegalTrademarks2": null, + "LegalTrademarks3": null, + "FileDescription": "Change CodePage Utility", + "Comments": null, + "CompanyName": "Microsoft Corporation", + "Company": null, + "URL": null, + "WWW": null, + "extra_data": {} +} \ No newline at end of file diff --git a/tests/packagedcode/data/win_pe/chcp.com.package-expected.json b/tests/packagedcode/data/win_pe/chcp.com.package-expected.json new file mode 100644 index 00000000000..b65d35f186b --- /dev/null +++ b/tests/packagedcode/data/win_pe/chcp.com.package-expected.json @@ -0,0 +1,48 @@ +{ + "type": "winexe", + "namespace": null, + "name": "Microsoft\u00ae Windows\u00ae Operating System", + "version": "10.0.17763.1", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Change CodePage Utility", + "release_date": null, + "parties": [ + { + "type": "organization", + "role": "author", + "name": "Microsoft Corporation", + "email": null, + "url": null + } + ], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": "\u00a9 Microsoft Corporation. All rights reserved.", + "license_expression": null, + "declared_license": { + "LegalCopyright": "\u00a9 Microsoft Corporation. All rights reserved.", + "LegalTrademarks": "", + "License": null + }, + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": "pkg:winexe/Microsoft%C2%AE%20Windows%C2%AE%20Operating%20System@10.0.17763.1", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/win_pe/clfs.sys.mui b/tests/packagedcode/data/win_pe/clfs.sys.mui new file mode 100644 index 00000000000..e5a4ba3e31a Binary files /dev/null and b/tests/packagedcode/data/win_pe/clfs.sys.mui differ diff --git a/tests/packagedcode/data/win_pe/clfs.sys.mui.expected.json b/tests/packagedcode/data/win_pe/clfs.sys.mui.expected.json new file mode 100644 index 00000000000..f4c972a0396 --- /dev/null +++ b/tests/packagedcode/data/win_pe/clfs.sys.mui.expected.json @@ -0,0 +1,23 @@ +{ + "Full Version": null, + "ProductVersion": "10.0.18362.1256", + "FileVersion": "10.0.18362.1256 (WinBuild.160101.0800)", + "Assembly Version": null, + "BuildDate": null, + "ProductName": "Microsoft\u00ae Windows\u00ae Operating System", + "OriginalFilename": "Clfs.Sys.MUI", + "InternalName": "clfs.sys", + "License": null, + "LegalCopyright": "\u00a9 Microsoft Corporation. All rights reserved.", + "LegalTrademarks": null, + "LegalTrademarks1": null, + "LegalTrademarks2": null, + "LegalTrademarks3": null, + "FileDescription": "Common Log File System Driver", + "Comments": null, + "CompanyName": "Microsoft Corporation", + "Company": null, + "URL": null, + "WWW": null, + "extra_data": {} +} \ No newline at end of file diff --git a/tests/packagedcode/data/win_pe/clfs.sys.mui.package-expected.json b/tests/packagedcode/data/win_pe/clfs.sys.mui.package-expected.json new file mode 100644 index 00000000000..e102673e32c --- /dev/null +++ b/tests/packagedcode/data/win_pe/clfs.sys.mui.package-expected.json @@ -0,0 +1,48 @@ +{ + "type": "winexe", + "namespace": null, + "name": "Microsoft\u00ae Windows\u00ae Operating System", + "version": "10.0.18362.1256", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Common Log File System Driver", + "release_date": null, + "parties": [ + { + "type": "organization", + "role": "author", + "name": "Microsoft Corporation", + "email": null, + "url": null + } + ], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": "\u00a9 Microsoft Corporation. All rights reserved.", + "license_expression": null, + "declared_license": { + "LegalCopyright": "\u00a9 Microsoft Corporation. All rights reserved.", + "LegalTrademarks": "", + "License": null + }, + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": "pkg:winexe/Microsoft%C2%AE%20Windows%C2%AE%20Operating%20System@10.0.18362.1256", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/win_pe/crypt32.dll.mun b/tests/packagedcode/data/win_pe/crypt32.dll.mun new file mode 100644 index 00000000000..6b537b2dd15 Binary files /dev/null and b/tests/packagedcode/data/win_pe/crypt32.dll.mun differ diff --git a/tests/packagedcode/data/win_pe/crypt32.dll.mun.expected.json b/tests/packagedcode/data/win_pe/crypt32.dll.mun.expected.json new file mode 100644 index 00000000000..d4eea7da1d6 --- /dev/null +++ b/tests/packagedcode/data/win_pe/crypt32.dll.mun.expected.json @@ -0,0 +1,23 @@ +{ + "Full Version": null, + "ProductVersion": "10.0.18362.1256", + "FileVersion": "10.0.18362.1256 (WinBuild.160101.0800)", + "Assembly Version": null, + "BuildDate": null, + "ProductName": "Microsoft\u00ae Windows\u00ae Operating System", + "OriginalFilename": "CRYPT32.DLL", + "InternalName": "CRYPT32.DLL", + "License": null, + "LegalCopyright": "\u00a9 Microsoft Corporation. All rights reserved.", + "LegalTrademarks": null, + "LegalTrademarks1": null, + "LegalTrademarks2": null, + "LegalTrademarks3": null, + "FileDescription": "Crypto API32", + "Comments": null, + "CompanyName": "Microsoft Corporation", + "Company": null, + "URL": null, + "WWW": null, + "extra_data": {} +} \ No newline at end of file diff --git a/tests/packagedcode/data/win_pe/crypt32.dll.mun.package-expected.json b/tests/packagedcode/data/win_pe/crypt32.dll.mun.package-expected.json new file mode 100644 index 00000000000..3787efa2617 --- /dev/null +++ b/tests/packagedcode/data/win_pe/crypt32.dll.mun.package-expected.json @@ -0,0 +1,48 @@ +{ + "type": "winexe", + "namespace": null, + "name": "Microsoft\u00ae Windows\u00ae Operating System", + "version": "10.0.18362.1256", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Crypto API32", + "release_date": null, + "parties": [ + { + "type": "organization", + "role": "author", + "name": "Microsoft Corporation", + "email": null, + "url": null + } + ], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": "\u00a9 Microsoft Corporation. All rights reserved.", + "license_expression": null, + "declared_license": { + "LegalCopyright": "\u00a9 Microsoft Corporation. All rights reserved.", + "LegalTrademarks": "", + "License": null + }, + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": "pkg:winexe/Microsoft%C2%AE%20Windows%C2%AE%20Operating%20System@10.0.18362.1256", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/win_pe/euc-jp.so.package-expected.json b/tests/packagedcode/data/win_pe/euc-jp.so.package-expected.json index 1a66274a018..3287b345d48 100644 --- a/tests/packagedcode/data/win_pe/euc-jp.so.package-expected.json +++ b/tests/packagedcode/data/win_pe/euc-jp.so.package-expected.json @@ -32,6 +32,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": null, "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/win_pe/file.exe.package-expected.json b/tests/packagedcode/data/win_pe/file.exe.package-expected.json index 85da92c5730..93fc4327c06 100644 --- a/tests/packagedcode/data/win_pe/file.exe.package-expected.json +++ b/tests/packagedcode/data/win_pe/file.exe.package-expected.json @@ -40,6 +40,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:winexe/File@5.03.3414.16721", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/win_pe/libiconv2.dll.package-expected.json b/tests/packagedcode/data/win_pe/libiconv2.dll.package-expected.json index 26d6e8745ae..e525e894e7d 100644 --- a/tests/packagedcode/data/win_pe/libiconv2.dll.package-expected.json +++ b/tests/packagedcode/data/win_pe/libiconv2.dll.package-expected.json @@ -40,6 +40,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:winexe/LibIconv@1.9.2.1519", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/win_pe/libintl3.dll.package-expected.json b/tests/packagedcode/data/win_pe/libintl3.dll.package-expected.json index 0bceb30c661..3cdf034e221 100644 --- a/tests/packagedcode/data/win_pe/libintl3.dll.package-expected.json +++ b/tests/packagedcode/data/win_pe/libintl3.dll.package-expected.json @@ -40,6 +40,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:winexe/GetText@0.14.4.1952", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/win_pe/stdole2.tlb b/tests/packagedcode/data/win_pe/stdole2.tlb new file mode 100644 index 00000000000..d0360bda9f7 Binary files /dev/null and b/tests/packagedcode/data/win_pe/stdole2.tlb differ diff --git a/tests/packagedcode/data/win_pe/stdole2.tlb.expected.json b/tests/packagedcode/data/win_pe/stdole2.tlb.expected.json new file mode 100644 index 00000000000..c80f73252c1 --- /dev/null +++ b/tests/packagedcode/data/win_pe/stdole2.tlb.expected.json @@ -0,0 +1,23 @@ +{ + "Full Version": null, + "ProductVersion": "10.0.18362.1256", + "FileVersion": "10.0.18362.1256 (WinBuild.160101.0800)", + "Assembly Version": null, + "BuildDate": null, + "ProductName": "Microsoft\u00ae Windows\u00ae Operating System", + "OriginalFilename": "STDOLE2.TLB", + "InternalName": "STDOLE2.TLB", + "License": null, + "LegalCopyright": "\u00a9 Microsoft Corporation. All rights reserved.", + "LegalTrademarks": null, + "LegalTrademarks1": null, + "LegalTrademarks2": null, + "LegalTrademarks3": null, + "FileDescription": "STDOLE2.TLB", + "Comments": null, + "CompanyName": "Microsoft Corporation", + "Company": null, + "URL": null, + "WWW": null, + "extra_data": {} +} \ No newline at end of file diff --git a/tests/packagedcode/data/win_pe/stdole2.tlb.package-expected.json b/tests/packagedcode/data/win_pe/stdole2.tlb.package-expected.json new file mode 100644 index 00000000000..724ed3a62a7 --- /dev/null +++ b/tests/packagedcode/data/win_pe/stdole2.tlb.package-expected.json @@ -0,0 +1,48 @@ +{ + "type": "winexe", + "namespace": null, + "name": "Microsoft\u00ae Windows\u00ae Operating System", + "version": "10.0.18362.1256", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "STDOLE2.TLB", + "release_date": null, + "parties": [ + { + "type": "organization", + "role": "author", + "name": "Microsoft Corporation", + "email": null, + "url": null + } + ], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": "\u00a9 Microsoft Corporation. All rights reserved.", + "license_expression": null, + "declared_license": { + "LegalCopyright": "\u00a9 Microsoft Corporation. All rights reserved.", + "LegalTrademarks": "", + "License": null + }, + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": "pkg:winexe/Microsoft%C2%AE%20Windows%C2%AE%20Operating%20System@10.0.18362.1256", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/win_pe/tbs.sys b/tests/packagedcode/data/win_pe/tbs.sys new file mode 100644 index 00000000000..182440e9bba Binary files /dev/null and b/tests/packagedcode/data/win_pe/tbs.sys differ diff --git a/tests/packagedcode/data/win_pe/tbs.sys.expected.json b/tests/packagedcode/data/win_pe/tbs.sys.expected.json new file mode 100644 index 00000000000..247a8632e0d --- /dev/null +++ b/tests/packagedcode/data/win_pe/tbs.sys.expected.json @@ -0,0 +1,23 @@ +{ + "Full Version": null, + "ProductVersion": "10.0.17763.1697", + "FileVersion": "10.0.17763.1697 (WinBuild.160101.0800)", + "Assembly Version": null, + "BuildDate": null, + "ProductName": "Microsoft\u00ae Windows\u00ae Operating System", + "OriginalFilename": "TBS.SYS", + "InternalName": "TBS.SYS", + "License": null, + "LegalCopyright": "\u00a9 Microsoft Corporation. All rights reserved.", + "LegalTrademarks": null, + "LegalTrademarks1": null, + "LegalTrademarks2": null, + "LegalTrademarks3": null, + "FileDescription": "Export driver for kernel mode TPM API", + "Comments": null, + "CompanyName": "Microsoft Corporation", + "Company": null, + "URL": null, + "WWW": null, + "extra_data": {} +} \ No newline at end of file diff --git a/tests/packagedcode/data/win_pe/tbs.sys.package-expected.json b/tests/packagedcode/data/win_pe/tbs.sys.package-expected.json new file mode 100644 index 00000000000..42120c8a901 --- /dev/null +++ b/tests/packagedcode/data/win_pe/tbs.sys.package-expected.json @@ -0,0 +1,48 @@ +{ + "type": "winexe", + "namespace": null, + "name": "Microsoft\u00ae Windows\u00ae Operating System", + "version": "10.0.17763.1697", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Export driver for kernel mode TPM API", + "release_date": null, + "parties": [ + { + "type": "organization", + "role": "author", + "name": "Microsoft Corporation", + "email": null, + "url": null + } + ], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": "\u00a9 Microsoft Corporation. All rights reserved.", + "license_expression": null, + "declared_license": { + "LegalCopyright": "\u00a9 Microsoft Corporation. All rights reserved.", + "LegalTrademarks": "", + "License": null + }, + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": "pkg:winexe/Microsoft%C2%AE%20Windows%C2%AE%20Operating%20System@10.0.17763.1697", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/data/win_pe/tre4.dll.package-expected.json b/tests/packagedcode/data/win_pe/tre4.dll.package-expected.json index 307d764c444..55d9860b82b 100644 --- a/tests/packagedcode/data/win_pe/tre4.dll.package-expected.json +++ b/tests/packagedcode/data/win_pe/tre4.dll.package-expected.json @@ -40,6 +40,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:winexe/Tre@0.7.5.3276", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/win_pe/zlib1.dll.package-expected.json b/tests/packagedcode/data/win_pe/zlib1.dll.package-expected.json index 8bca2704d9b..f69c17947d1 100644 --- a/tests/packagedcode/data/win_pe/zlib1.dll.package-expected.json +++ b/tests/packagedcode/data/win_pe/zlib1.dll.package-expected.json @@ -40,6 +40,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:winexe/Zlib@1.2.3.2532", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/packagedcode/data/win_reg/SOFTWARE-dotnet-installation.expected b/tests/packagedcode/data/win_reg/SOFTWARE-dotnet-installation.expected new file mode 100644 index 00000000000..095d4a5ee34 --- /dev/null +++ b/tests/packagedcode/data/win_reg/SOFTWARE-dotnet-installation.expected @@ -0,0 +1,41 @@ +[ + { + "type": "windows-program", + "namespace": null, + "name": "Microsoft .NET Framework", + "version": "4.8.04084", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": null, + "release_date": null, + "parties": [], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "installed_files": [], + "extra_data": { + "install_location": "C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\" + }, + "purl": "pkg:windows-program/Microsoft%20.NET%20Framework@4.8.04084", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null + } +] \ No newline at end of file diff --git a/tests/packagedcode/data/win_reg/SOFTWARE-installed-programs.expected b/tests/packagedcode/data/win_reg/SOFTWARE-installed-programs.expected new file mode 100644 index 00000000000..b55ecd3f174 --- /dev/null +++ b/tests/packagedcode/data/win_reg/SOFTWARE-installed-programs.expected @@ -0,0 +1,345 @@ +[ + { + "type": "windows-program", + "namespace": null, + "name": "Python 3.9.5 Tcl/Tk Support (64-bit)", + "version": "3.9.5150.0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": null, + "release_date": null, + "parties": [ + { + "type": "organization", + "role": "publisher", + "name": "Python Software Foundation", + "email": null, + "url": null + } + ], + "keywords": [], + "homepage_url": 0, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "installed_files": [], + "extra_data": { + "known_program_files": [ + "MsiExec.exe /I{351016A7-AED4-4824-8D2E-2F9ED497CF77}" + ] + }, + "purl": "pkg:windows-program/Python%203.9.5%20Tcl/Tk%20Support%20%2864-bit%29@3.9.5150.0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null + }, + { + "type": "windows-program", + "namespace": null, + "name": "Python 3.9.5 Utility Scripts (64-bit)", + "version": "3.9.5150.0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": null, + "release_date": null, + "parties": [ + { + "type": "organization", + "role": "publisher", + "name": "Python Software Foundation", + "email": null, + "url": null + } + ], + "keywords": [], + "homepage_url": 0, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "installed_files": [], + "extra_data": { + "known_program_files": [ + "MsiExec.exe /I{420E50F6-A8E8-4098-A321-7DF6B3C3BA82}" + ] + }, + "purl": "pkg:windows-program/Python%203.9.5%20Utility%20Scripts%20%2864-bit%29@3.9.5150.0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null + }, + { + "type": "windows-program", + "namespace": null, + "name": "Python 3.9.5 Add to Path (64-bit)", + "version": "3.9.5150.0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": null, + "release_date": null, + "parties": [ + { + "type": "organization", + "role": "publisher", + "name": "Python Software Foundation", + "email": null, + "url": null + } + ], + "keywords": [], + "homepage_url": 0, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "installed_files": [], + "extra_data": { + "known_program_files": [ + "MsiExec.exe /I{6504EEE5-2172-4D34-A76D-0372356396B4}" + ] + }, + "purl": "pkg:windows-program/Python%203.9.5%20Add%20to%20Path%20%2864-bit%29@3.9.5150.0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null + }, + { + "type": "windows-program", + "namespace": null, + "name": "Python 3.9.5 Executables (64-bit)", + "version": "3.9.5150.0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": null, + "release_date": null, + "parties": [ + { + "type": "organization", + "role": "publisher", + "name": "Python Software Foundation", + "email": null, + "url": null + } + ], + "keywords": [], + "homepage_url": 0, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "installed_files": [], + "extra_data": { + "known_program_files": [ + "MsiExec.exe /I{843C07B6-040E-4E83-B244-5383247D70AB}" + ] + }, + "purl": "pkg:windows-program/Python%203.9.5%20Executables%20%2864-bit%29@3.9.5150.0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null + }, + { + "type": "windows-program", + "namespace": null, + "name": "Python 3.9.5 Development Libraries (64-bit)", + "version": "3.9.5150.0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": null, + "release_date": null, + "parties": [ + { + "type": "organization", + "role": "publisher", + "name": "Python Software Foundation", + "email": null, + "url": null + } + ], + "keywords": [], + "homepage_url": 0, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "installed_files": [], + "extra_data": { + "known_program_files": [ + "MsiExec.exe /I{AEE58901-97A1-422A-B964-4FD9BF3327B8}" + ] + }, + "purl": "pkg:windows-program/Python%203.9.5%20Development%20Libraries%20%2864-bit%29@3.9.5150.0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null + }, + { + "type": "windows-program", + "namespace": null, + "name": "Python 3.9.5 Standard Library (64-bit)", + "version": "3.9.5150.0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": null, + "release_date": null, + "parties": [ + { + "type": "organization", + "role": "publisher", + "name": "Python Software Foundation", + "email": null, + "url": null + } + ], + "keywords": [], + "homepage_url": 0, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "installed_files": [], + "extra_data": { + "known_program_files": [ + "MsiExec.exe /I{F4DC18F4-6323-4BE8-A322-38268831BC24}" + ] + }, + "purl": "pkg:windows-program/Python%203.9.5%20Standard%20Library%20%2864-bit%29@3.9.5150.0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null + }, + { + "type": "windows-program", + "namespace": null, + "name": "Python 3.9.5 Core Interpreter (64-bit)", + "version": "3.9.5150.0", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": null, + "release_date": null, + "parties": [ + { + "type": "organization", + "role": "publisher", + "name": "Python Software Foundation", + "email": null, + "url": null + } + ], + "keywords": [], + "homepage_url": 0, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "installed_files": [], + "extra_data": { + "known_program_files": [ + "MsiExec.exe /I{FBB6299D-CB58-4177-B6A0-63BFB1C8C3AE}" + ] + }, + "purl": "pkg:windows-program/Python%203.9.5%20Core%20Interpreter%20%2864-bit%29@3.9.5150.0", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null + } +] \ No newline at end of file diff --git a/tests/packagedcode/data/win_reg/SOFTWARE-registry-entries.json b/tests/packagedcode/data/win_reg/SOFTWARE-registry-entries.json new file mode 100644 index 00000000000..fdadd40ae37 --- /dev/null +++ b/tests/packagedcode/data/win_reg/SOFTWARE-registry-entries.json @@ -0,0 +1,1395 @@ +[ + { + "subkey_name": "v4.0", + "path": "\\Microsoft\\NET Framework Setup\\NDP\\CDF\\v4.0", + "timestamp": "2021-06-05T00:07:27.475624+00:00", + "values_count": 5, + "values": [ + { + "name": "HttpNamespaceReservationInstalled", + "value": 1, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "NetTcpPortSharingInstalled", + "value": 1, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "NonHttpActivationInstalled", + "value": 1, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "SMSvcHostPath", + "value": "C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "WMIInstalled", + "value": 1, + "value_type": "REG_DWORD", + "is_corrupted": false + } + ], + "actual_path": null + }, + { + "subkey_name": "CDF", + "path": "\\Microsoft\\NET Framework Setup\\NDP\\CDF", + "timestamp": "2019-12-07T09:15:14.299770+00:00", + "values_count": 0, + "values": [], + "actual_path": null + }, + { + "subkey_name": "1033", + "path": "\\Microsoft\\NET Framework Setup\\NDP\\v4\\Client\\1033", + "timestamp": "2019-12-07T09:15:14.299770+00:00", + "values_count": 6, + "values": [ + { + "name": "CBS", + "value": 1, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "Install", + "value": 1, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "Release", + "value": 528372, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "Servicing", + "value": 0, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "TargetVersion", + "value": "4.0.0", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Version", + "value": "4.8.04084", + "value_type": "REG_SZ", + "is_corrupted": false + } + ], + "actual_path": null + }, + { + "subkey_name": "Client", + "path": "\\Microsoft\\NET Framework Setup\\NDP\\v4\\Client", + "timestamp": "2021-06-05T00:07:27.475624+00:00", + "values_count": 7, + "values": [ + { + "name": "CBS", + "value": 1, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "Install", + "value": 1, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "InstallPath", + "value": "C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Release", + "value": 528372, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "Servicing", + "value": 0, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "TargetVersion", + "value": "4.0.0", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Version", + "value": "4.8.04084", + "value_type": "REG_SZ", + "is_corrupted": false + } + ], + "actual_path": null + }, + { + "subkey_name": "1033", + "path": "\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full\\1033", + "timestamp": "2019-12-07T09:15:14.284198+00:00", + "values_count": 6, + "values": [ + { + "name": "CBS", + "value": 1, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "Install", + "value": 1, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "Release", + "value": 528372, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "Servicing", + "value": 0, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "TargetVersion", + "value": "4.0.0", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Version", + "value": "4.8.04084", + "value_type": "REG_SZ", + "is_corrupted": false + } + ], + "actual_path": null + }, + { + "subkey_name": "Full", + "path": "\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full", + "timestamp": "2021-06-05T00:07:27.475624+00:00", + "values_count": 7, + "values": [ + { + "name": "CBS", + "value": 1, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "Install", + "value": 1, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "InstallPath", + "value": "C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Release", + "value": 528372, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "Servicing", + "value": 0, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "TargetVersion", + "value": "4.0.0", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Version", + "value": "4.8.04084", + "value_type": "REG_SZ", + "is_corrupted": false + } + ], + "actual_path": null + }, + { + "subkey_name": "v4", + "path": "\\Microsoft\\NET Framework Setup\\NDP\\v4", + "timestamp": "2019-12-07T09:15:14.284198+00:00", + "values_count": 0, + "values": [], + "actual_path": null + }, + { + "subkey_name": "Client", + "path": "\\Microsoft\\NET Framework Setup\\NDP\\v4.0\\Client", + "timestamp": "2019-12-07T09:15:14.284198+00:00", + "values_count": 2, + "values": [ + { + "name": "Install", + "value": 1, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "Version", + "value": "4.0.0.0", + "value_type": "REG_SZ", + "is_corrupted": false + } + ], + "actual_path": null + }, + { + "subkey_name": "v4.0", + "path": "\\Microsoft\\NET Framework Setup\\NDP\\v4.0", + "timestamp": "2019-12-07T09:15:14.284198+00:00", + "values_count": 1, + "values": [ + { + "name": "(default)", + "value": "deprecated", + "value_type": "REG_SZ", + "is_corrupted": false + } + ], + "actual_path": null + }, + { + "subkey_name": "NDP", + "path": "\\Microsoft\\NET Framework Setup\\NDP", + "timestamp": "2019-12-07T09:15:14.284198+00:00", + "values_count": 0, + "values": [], + "actual_path": null + }, + { + "subkey_name": "OS Integration", + "path": "\\Microsoft\\NET Framework Setup\\OS Integration", + "timestamp": "2019-12-07T09:15:14.284198+00:00", + "values_count": 1, + "values": [ + { + "name": "v4", + "value": 1, + "value_type": "REG_DWORD", + "is_corrupted": false + } + ], + "actual_path": null + }, + { + "subkey_name": "NET Framework Setup", + "path": "\\Microsoft\\NET Framework Setup", + "timestamp": "2019-12-07T09:15:14.284198+00:00", + "values_count": 0, + "values": [], + "actual_path": null + }, + { + "subkey_name": "{351016A7-AED4-4824-8D2E-2F9ED497CF77}", + "path": "\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{351016A7-AED4-4824-8D2E-2F9ED497CF77}", + "timestamp": "2021-06-09T16:10:33.110762+00:00", + "values_count": 24, + "values": [ + { + "name": "AuthorizedCDFPrefix", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Comments", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Contact", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "DisplayVersion", + "value": "3.9.5150.0", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "HelpLink", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "HelpTelephone", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "InstallDate", + "value": "20210609", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "InstallLocation", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "InstallSource", + "value": "C:\\ProgramData\\Package Cache\\{351016A7-AED4-4824-8D2E-2F9ED497CF77}v3.9.5150.0\\", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "ModifyPath", + "value": "MsiExec.exe /I{351016A7-AED4-4824-8D2E-2F9ED497CF77}", + "value_type": "REG_EXPAND_SZ", + "is_corrupted": false + }, + { + "name": "Publisher", + "value": "Python Software Foundation", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Readme", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Size", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "EstimatedSize", + "value": 16612, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "SystemComponent", + "value": 1, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "UninstallString", + "value": "MsiExec.exe /I{351016A7-AED4-4824-8D2E-2F9ED497CF77}", + "value_type": "REG_EXPAND_SZ", + "is_corrupted": false + }, + { + "name": "URLInfoAbout", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "URLUpdateInfo", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "VersionMajor", + "value": 3, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "VersionMinor", + "value": 9, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "WindowsInstaller", + "value": 1, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "Version", + "value": 50926622, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "Language", + "value": 1033, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "DisplayName", + "value": "Python 3.9.5 Tcl/Tk Support (64-bit)", + "value_type": "REG_SZ", + "is_corrupted": false + } + ], + "actual_path": null + }, + { + "subkey_name": "{420E50F6-A8E8-4098-A321-7DF6B3C3BA82}", + "path": "\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{420E50F6-A8E8-4098-A321-7DF6B3C3BA82}", + "timestamp": "2021-06-09T16:10:18.626452+00:00", + "values_count": 24, + "values": [ + { + "name": "AuthorizedCDFPrefix", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Comments", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Contact", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "DisplayVersion", + "value": "3.9.5150.0", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "HelpLink", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "HelpTelephone", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "InstallDate", + "value": "20210609", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "InstallLocation", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "InstallSource", + "value": "C:\\ProgramData\\Package Cache\\{420E50F6-A8E8-4098-A321-7DF6B3C3BA82}v3.9.5150.0\\", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "ModifyPath", + "value": "MsiExec.exe /I{420E50F6-A8E8-4098-A321-7DF6B3C3BA82}", + "value_type": "REG_EXPAND_SZ", + "is_corrupted": false + }, + { + "name": "Publisher", + "value": "Python Software Foundation", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Readme", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Size", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "EstimatedSize", + "value": 732, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "SystemComponent", + "value": 1, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "UninstallString", + "value": "MsiExec.exe /I{420E50F6-A8E8-4098-A321-7DF6B3C3BA82}", + "value_type": "REG_EXPAND_SZ", + "is_corrupted": false + }, + { + "name": "URLInfoAbout", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "URLUpdateInfo", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "VersionMajor", + "value": 3, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "VersionMinor", + "value": 9, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "WindowsInstaller", + "value": 1, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "Version", + "value": 50926622, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "Language", + "value": 1033, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "DisplayName", + "value": "Python 3.9.5 Utility Scripts (64-bit)", + "value_type": "REG_SZ", + "is_corrupted": false + } + ], + "actual_path": null + }, + { + "subkey_name": "{6504EEE5-2172-4D34-A76D-0372356396B4}", + "path": "\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{6504EEE5-2172-4D34-A76D-0372356396B4}", + "timestamp": "2021-06-09T16:10:34.877106+00:00", + "values_count": 24, + "values": [ + { + "name": "AuthorizedCDFPrefix", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Comments", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Contact", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "DisplayVersion", + "value": "3.9.5150.0", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "HelpLink", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "HelpTelephone", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "InstallDate", + "value": "20210609", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "InstallLocation", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "InstallSource", + "value": "C:\\ProgramData\\Package Cache\\{6504EEE5-2172-4D34-A76D-0372356396B4}v3.9.5150.0\\", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "ModifyPath", + "value": "MsiExec.exe /I{6504EEE5-2172-4D34-A76D-0372356396B4}", + "value_type": "REG_EXPAND_SZ", + "is_corrupted": false + }, + { + "name": "Publisher", + "value": "Python Software Foundation", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Readme", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Size", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "EstimatedSize", + "value": 40, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "SystemComponent", + "value": 1, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "UninstallString", + "value": "MsiExec.exe /I{6504EEE5-2172-4D34-A76D-0372356396B4}", + "value_type": "REG_EXPAND_SZ", + "is_corrupted": false + }, + { + "name": "URLInfoAbout", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "URLUpdateInfo", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "VersionMajor", + "value": 3, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "VersionMinor", + "value": 9, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "WindowsInstaller", + "value": 1, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "Version", + "value": 50926622, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "Language", + "value": 1033, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "DisplayName", + "value": "Python 3.9.5 Add to Path (64-bit)", + "value_type": "REG_SZ", + "is_corrupted": false + } + ], + "actual_path": null + }, + { + "subkey_name": "{843C07B6-040E-4E83-B244-5383247D70AB}", + "path": "\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{843C07B6-040E-4E83-B244-5383247D70AB}", + "timestamp": "2021-06-09T16:10:08.485746+00:00", + "values_count": 24, + "values": [ + { + "name": "AuthorizedCDFPrefix", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Comments", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Contact", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "DisplayVersion", + "value": "3.9.5150.0", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "HelpLink", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "HelpTelephone", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "InstallDate", + "value": "20210609", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "InstallLocation", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "InstallSource", + "value": "C:\\ProgramData\\Package Cache\\{843C07B6-040E-4E83-B244-5383247D70AB}v3.9.5150.0\\", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "ModifyPath", + "value": "MsiExec.exe /I{843C07B6-040E-4E83-B244-5383247D70AB}", + "value_type": "REG_EXPAND_SZ", + "is_corrupted": false + }, + { + "name": "Publisher", + "value": "Python Software Foundation", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Readme", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Size", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "EstimatedSize", + "value": 1624, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "SystemComponent", + "value": 1, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "UninstallString", + "value": "MsiExec.exe /I{843C07B6-040E-4E83-B244-5383247D70AB}", + "value_type": "REG_EXPAND_SZ", + "is_corrupted": false + }, + { + "name": "URLInfoAbout", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "URLUpdateInfo", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "VersionMajor", + "value": 3, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "VersionMinor", + "value": 9, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "WindowsInstaller", + "value": 1, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "Version", + "value": 50926622, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "Language", + "value": 1033, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "DisplayName", + "value": "Python 3.9.5 Executables (64-bit)", + "value_type": "REG_SZ", + "is_corrupted": false + } + ], + "actual_path": null + }, + { + "subkey_name": "{AEE58901-97A1-422A-B964-4FD9BF3327B8}", + "path": "\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{AEE58901-97A1-422A-B964-4FD9BF3327B8}", + "timestamp": "2021-06-09T16:10:07.516984+00:00", + "values_count": 24, + "values": [ + { + "name": "AuthorizedCDFPrefix", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Comments", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Contact", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "DisplayVersion", + "value": "3.9.5150.0", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "HelpLink", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "HelpTelephone", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "InstallDate", + "value": "20210609", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "InstallLocation", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "InstallSource", + "value": "C:\\ProgramData\\Package Cache\\{AEE58901-97A1-422A-B964-4FD9BF3327B8}v3.9.5150.0\\", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "ModifyPath", + "value": "MsiExec.exe /I{AEE58901-97A1-422A-B964-4FD9BF3327B8}", + "value_type": "REG_EXPAND_SZ", + "is_corrupted": false + }, + { + "name": "Publisher", + "value": "Python Software Foundation", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Readme", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Size", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "EstimatedSize", + "value": 1504, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "SystemComponent", + "value": 1, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "UninstallString", + "value": "MsiExec.exe /I{AEE58901-97A1-422A-B964-4FD9BF3327B8}", + "value_type": "REG_EXPAND_SZ", + "is_corrupted": false + }, + { + "name": "URLInfoAbout", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "URLUpdateInfo", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "VersionMajor", + "value": 3, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "VersionMinor", + "value": 9, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "WindowsInstaller", + "value": 1, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "Version", + "value": 50926622, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "Language", + "value": 1033, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "DisplayName", + "value": "Python 3.9.5 Development Libraries (64-bit)", + "value_type": "REG_SZ", + "is_corrupted": false + } + ], + "actual_path": null + }, + { + "subkey_name": "{F4DC18F4-6323-4BE8-A322-38268831BC24}", + "path": "\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{F4DC18F4-6323-4BE8-A322-38268831BC24}", + "timestamp": "2021-06-09T16:10:17.032632+00:00", + "values_count": 24, + "values": [ + { + "name": "AuthorizedCDFPrefix", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Comments", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Contact", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "DisplayVersion", + "value": "3.9.5150.0", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "HelpLink", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "HelpTelephone", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "InstallDate", + "value": "20210609", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "InstallLocation", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "InstallSource", + "value": "C:\\ProgramData\\Package Cache\\{F4DC18F4-6323-4BE8-A322-38268831BC24}v3.9.5150.0\\", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "ModifyPath", + "value": "MsiExec.exe /I{F4DC18F4-6323-4BE8-A322-38268831BC24}", + "value_type": "REG_EXPAND_SZ", + "is_corrupted": false + }, + { + "name": "Publisher", + "value": "Python Software Foundation", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Readme", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Size", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "EstimatedSize", + "value": 27552, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "SystemComponent", + "value": 1, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "UninstallString", + "value": "MsiExec.exe /I{F4DC18F4-6323-4BE8-A322-38268831BC24}", + "value_type": "REG_EXPAND_SZ", + "is_corrupted": false + }, + { + "name": "URLInfoAbout", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "URLUpdateInfo", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "VersionMajor", + "value": 3, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "VersionMinor", + "value": 9, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "WindowsInstaller", + "value": 1, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "Version", + "value": 50926622, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "Language", + "value": 1033, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "DisplayName", + "value": "Python 3.9.5 Standard Library (64-bit)", + "value_type": "REG_SZ", + "is_corrupted": false + } + ], + "actual_path": null + }, + { + "subkey_name": "{FBB6299D-CB58-4177-B6A0-63BFB1C8C3AE}", + "path": "\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{FBB6299D-CB58-4177-B6A0-63BFB1C8C3AE}", + "timestamp": "2021-06-09T16:10:05.595166+00:00", + "values_count": 24, + "values": [ + { + "name": "AuthorizedCDFPrefix", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Comments", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Contact", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "DisplayVersion", + "value": "3.9.5150.0", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "HelpLink", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "HelpTelephone", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "InstallDate", + "value": "20210609", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "InstallLocation", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "InstallSource", + "value": "C:\\ProgramData\\Package Cache\\{FBB6299D-CB58-4177-B6A0-63BFB1C8C3AE}v3.9.5150.0\\", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "ModifyPath", + "value": "MsiExec.exe /I{FBB6299D-CB58-4177-B6A0-63BFB1C8C3AE}", + "value_type": "REG_EXPAND_SZ", + "is_corrupted": false + }, + { + "name": "Publisher", + "value": "Python Software Foundation", + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Readme", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "Size", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "EstimatedSize", + "value": 4404, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "SystemComponent", + "value": 1, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "UninstallString", + "value": "MsiExec.exe /I{FBB6299D-CB58-4177-B6A0-63BFB1C8C3AE}", + "value_type": "REG_EXPAND_SZ", + "is_corrupted": false + }, + { + "name": "URLInfoAbout", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "URLUpdateInfo", + "value": 0, + "value_type": "REG_SZ", + "is_corrupted": false + }, + { + "name": "VersionMajor", + "value": 3, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "VersionMinor", + "value": 9, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "WindowsInstaller", + "value": 1, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "Version", + "value": 50926622, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "Language", + "value": 1033, + "value_type": "REG_DWORD", + "is_corrupted": false + }, + { + "name": "DisplayName", + "value": "Python 3.9.5 Core Interpreter (64-bit)", + "value_type": "REG_SZ", + "is_corrupted": false + } + ], + "actual_path": null + }, + { + "subkey_name": "Uninstall", + "path": "\\Microsoft\\Windows\\CurrentVersion\\Uninstall", + "timestamp": "2021-06-09T16:10:34.877106+00:00", + "values_count": 0, + "values": [], + "actual_path": null + } +] \ No newline at end of file diff --git a/tests/packagedcode/data/win_reg/get_installed_packages_docker/expected-results b/tests/packagedcode/data/win_reg/get_installed_packages_docker/expected-results new file mode 100644 index 00000000000..4b3e1a39fc4 --- /dev/null +++ b/tests/packagedcode/data/win_reg/get_installed_packages_docker/expected-results @@ -0,0 +1,154 @@ +[ + { + "type": "windows-program", + "namespace": null, + "name": "Test", + "version": "0.0.1", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": null, + "release_date": null, + "parties": [ + { + "type": "organization", + "role": "publisher", + "name": "Test Publisher", + "email": null, + "url": null + } + ], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "installed_files": [ + { + "path": "Files/Program Files/Test/Test.dat", + "size": 0, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null + }, + { + "path": "Files/Program Files/Test/Test.exe", + "size": 0, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null + }, + { + "path": "Files/Program Files/Test/Uninstall.exe", + "size": 0, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null + } + ], + "extra_data": { + "install_location": "C:\\Program Files\\Test\\", + "known_program_files": [ + "C:\\Program Files\\Test\\Test.exe", + "C:\\Program Files\\Test\\Uninstall.exe" + ] + }, + "purl": "pkg:windows-program/Test@0.0.1", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null + }, + { + "type": "windows-program", + "namespace": null, + "name": "Test2", + "version": "0.0.1", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": null, + "release_date": null, + "parties": [ + { + "type": "organization", + "role": "publisher", + "name": "Test Publisher", + "email": null, + "url": null + } + ], + "keywords": [], + "homepage_url": null, + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": null, + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "installed_files": [ + { + "path": "Files/Program Files (x86)/Test2/Test2.dat", + "size": 0, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null + }, + { + "path": "Files/Program Files (x86)/Test2/Test2.exe", + "size": 0, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null + }, + { + "path": "Files/Program Files (x86)/Test2/Uninstall.exe", + "size": 0, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null + } + ], + "extra_data": { + "install_location": "C:\\Program Files (x86)\\Test2\\", + "known_program_files": [ + "C:\\Program Files (x86)\\Test2\\Test2.exe", + "C:\\Program Files (x86)\\Test2\\Uninstall.exe" + ] + }, + "purl": "pkg:windows-program/Test2@0.0.1", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null + } +] \ No newline at end of file diff --git a/tests/packagedcode/data/win_reg/get_installed_packages_docker/layer/Files/Program Files (x86)/Test2/Test2.dat b/tests/packagedcode/data/win_reg/get_installed_packages_docker/layer/Files/Program Files (x86)/Test2/Test2.dat new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/packagedcode/data/win_reg/get_installed_packages_docker/layer/Files/Program Files (x86)/Test2/Test2.exe b/tests/packagedcode/data/win_reg/get_installed_packages_docker/layer/Files/Program Files (x86)/Test2/Test2.exe new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/packagedcode/data/win_reg/get_installed_packages_docker/layer/Files/Program Files (x86)/Test2/Uninstall.exe b/tests/packagedcode/data/win_reg/get_installed_packages_docker/layer/Files/Program Files (x86)/Test2/Uninstall.exe new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/packagedcode/data/win_reg/get_installed_packages_docker/layer/Files/Program Files/Test/Test.dat b/tests/packagedcode/data/win_reg/get_installed_packages_docker/layer/Files/Program Files/Test/Test.dat new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/packagedcode/data/win_reg/get_installed_packages_docker/layer/Files/Program Files/Test/Test.exe b/tests/packagedcode/data/win_reg/get_installed_packages_docker/layer/Files/Program Files/Test/Test.exe new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/packagedcode/data/win_reg/get_installed_packages_docker/layer/Files/Program Files/Test/Uninstall.exe b/tests/packagedcode/data/win_reg/get_installed_packages_docker/layer/Files/Program Files/Test/Uninstall.exe new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/packagedcode/data/win_reg/get_installed_packages_docker/layer/Hives/Software_Delta b/tests/packagedcode/data/win_reg/get_installed_packages_docker/layer/Hives/Software_Delta new file mode 100644 index 00000000000..e99994e64bc Binary files /dev/null and b/tests/packagedcode/data/win_reg/get_installed_packages_docker/layer/Hives/Software_Delta differ diff --git a/tests/packagedcode/data/windows/mum/test.mum b/tests/packagedcode/data/windows/mum/test.mum new file mode 100644 index 00000000000..1b879bcf896 --- /dev/null +++ b/tests/packagedcode/data/windows/mum/test.mum @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/packagedcode/data/windows/mum/test.mum.expected b/tests/packagedcode/data/windows/mum/test.mum.expected new file mode 100644 index 00000000000..e9d597a3371 --- /dev/null +++ b/tests/packagedcode/data/windows/mum/test.mum.expected @@ -0,0 +1,44 @@ +{ + "type": "windows-update", + "namespace": null, + "name": "Package_1_for_KB4601060", + "version": "10.0.3770.4", + "qualifiers": {}, + "subpath": null, + "primary_language": null, + "description": "Fix for KB4601060", + "release_date": null, + "parties": [ + { + "type": "organization", + "role": "owner", + "name": "Microsoft Corporation", + "email": null, + "url": null + } + ], + "keywords": [], + "homepage_url": "http://support.microsoft.com/?kbid=4601060", + "download_url": null, + "size": null, + "sha1": null, + "md5": null, + "sha256": null, + "sha512": null, + "bug_tracking_url": null, + "code_view_url": null, + "vcs_url": null, + "copyright": "Microsoft Corporation", + "license_expression": null, + "declared_license": null, + "notice_text": null, + "root_path": null, + "dependencies": [], + "contains_source_code": null, + "source_packages": [], + "extra_data": {}, + "purl": "pkg:windows-update/Package_1_for_KB4601060@10.0.3770.4", + "repository_homepage_url": null, + "repository_download_url": null, + "api_data_url": null +} \ No newline at end of file diff --git a/tests/packagedcode/packages_test_utils.py b/tests/packagedcode/packages_test_utils.py index 2dd8f4811fb..1b08c95adfe 100644 --- a/tests/packagedcode/packages_test_utils.py +++ b/tests/packagedcode/packages_test_utils.py @@ -9,44 +9,49 @@ import json import os -import shutil from commoncode import testcase +from commoncode import text class PackageTester(testcase.FileBasedTesting): test_data_dir = os.path.join(os.path.dirname(__file__), 'data') + def check_package_parse( + self, + package_function, + manifest_loc, + expected_loc, + regen=False, + ): + """ + Helper to test the creation of a package object with ``package_function`` + and test it against an expected JSON file. + """ + manifest_loc = self.get_test_loc(manifest_loc, must_exist=True) + package = package_function(manifest_loc) + if not package: + raise Exception(f'Failed to parse package: {manifest_loc}') + return self.check_package(package, expected_loc, regen) + def check_package(self, package, expected_loc, regen=False): """ Helper to test a package object against an expected JSON file. """ - expected_loc = self.get_test_loc(expected_loc) package.license_expression = package.compute_normalized_license() results = package.to_dict() - if regen: - regened_exp_loc = self.get_temp_file() - with open(regened_exp_loc, 'w') as ex: - json.dump(results, ex, indent=2, separators=(',', ': ')) - - expected_dir = os.path.dirname(expected_loc) - if not os.path.exists(expected_dir): - os.makedirs(expected_dir) - shutil.copy(regened_exp_loc, expected_loc) - - with open(expected_loc) as ex: - expected = json.load(ex) - - try: - assert results == expected - except AssertionError: - assert json.dumps(results, indent=2) == json.dumps(expected, indent=2) + expected_loc = self.get_test_loc(expected_loc, must_exist=False) + check_result_equals_expected_json( + result=results, + expected_loc=expected_loc, + regen=regen, + ) def check_packages(self, packages, expected_loc, regen=False): """ - Helper to test multiple package objects against an expected JSON file. + Helper to test a list of package objects against an expected JSON file. """ expected_loc = self.get_test_loc(expected_loc) @@ -55,33 +60,107 @@ def check_packages(self, packages, expected_loc, regen=False): package.license_expression = package.compute_normalized_license() results.append(package.to_dict()) - if regen: - regened_exp_loc = self.get_temp_file() - with open(regened_exp_loc, 'w') as ex: - json.dump(results, ex, indent=2, separators=(',', ': ')) - - expected_dir = os.path.dirname(expected_loc) - if not os.path.exists(expected_dir): - os.makedirs(expected_dir) - shutil.copy(regened_exp_loc, expected_loc) - - with open(expected_loc, 'rb') as ex: - expected_packages = json.load(ex, encoding='utf-8') - - for expected_package, result in zip(expected_packages, results): - assert result == expected_package + check_result_equals_expected_json( + result=results, + expected_loc=expected_loc, + regen=regen, + ) -def check_result_equals_expected_json(result, expected, regen=False): +def check_result_equals_expected_json(result, expected_loc, regen=False): """ - Check equality between a result collection and an expected JSON file. - Regen the expected file if regen is True. + Check equality between a result collection and the data in an expected_loc + JSON file. Regen the expected file if regen is True. """ if regen: - with open(expected, 'w') as ex: - ex.write(json.dumps(result, indent=2)) + expected = result - with open(expected) as ex: - expected = json.loads(ex.read()) + expected_dir = os.path.dirname(expected_loc) + if not os.path.exists(expected_dir): + os.makedirs(expected_dir) + + with open(expected_loc, 'w') as ex: + json.dump(expected, ex, indent=2, separators=(',', ': ')) + else: + with open(expected_loc) as ex: + expected = json.load(ex) assert result == expected + + +def get_test_files(location, test_file_suffix): + """ + Walk directory at ``location`` and yield location-relative paths to test + files matching ``test_file_suffix``). + """ + assert os.path.exists(location), f'Missing location: {location!r}' + + # NOTE we do not use commoncode here as we want NO files spkipped for testing + for base_dir, _dirs, files in os.walk(location): + for file_name in files: + if not file_name.endswith(test_file_suffix): + continue + + file_path = os.path.join(base_dir, file_name) + file_path = file_path.replace(location, '', 1) + file_path = file_path.strip(os.path.sep) + yield file_path + + +def create_test_function( + test_file_loc, + tested_function, + test_name, + regen=False, +): + """ + Return a test function closed on test arguments to run + `tested_function(test_file_loc)`. + """ + + def test_proper(self): + test_loc = self.get_test_loc(test_file_loc, must_exist=True) + result = tested_function(test_loc) + check_result_equals_expected_json( + result=result, + expected_loc=test_loc + '-expected.json', + regen=regen, + ) + + test_proper.__name__ = test_name + return test_proper + + +def build_tests( + test_dir, + test_file_suffix, + clazz, + tested_function, + test_method_prefix, + regen=False, +): + """ + Dynamically build test methods from files in ``test_dir`` ending with + ``test_file_suffix`` and attach a test method to the ``clazz`` test class. + + For each method: + - run ``tested_function`` with a test file with``test_file_suffix`` + ``tested_function`` should return a JSON-serializable object. + - set the name prefixed with ``test_method_prefix``. + - check that a test expected file named -expected.json` + has content matching the results of the ``tested_function`` returned value. + """ + assert issubclass(clazz, PackageTester) + + # loop through all items and attach a test method to our test class + for test_file_path in get_test_files(test_dir, test_file_suffix): + test_name = test_method_prefix + text.python_safe_name(test_file_path) + test_file_loc = os.path.join(test_dir, test_file_path) + + test_method = create_test_function( + test_file_loc=test_file_loc, + tested_function=tested_function, + test_name=test_name, + regen=regen, + ) + setattr(clazz, test_name, test_method) diff --git a/tests/packagedcode/test_alpine.py b/tests/packagedcode/test_alpine.py index 708b40c6c26..d3a24afea8f 100644 --- a/tests/packagedcode/test_alpine.py +++ b/tests/packagedcode/test_alpine.py @@ -10,12 +10,16 @@ import os.path from packagedcode import alpine + +from packages_test_utils import build_tests from packages_test_utils import check_result_equals_expected_json from packages_test_utils import PackageTester +test_data_dir = os.path.join(os.path.dirname(__file__), 'data') + -class TestAlpinePackage(PackageTester): - test_data_dir = os.path.join(os.path.dirname(__file__), 'data') +class TestAlpineInstalledPackage(PackageTester): + test_data_dir = test_data_dir def test_parse_alpine_installed_db_small(self): test_installed = self.get_test_loc('alpine/small-installed/installed') @@ -38,3 +42,38 @@ def test_parse_alpine_installed_db_full(self): expected = test_installed + '-expected.json' check_result_equals_expected_json(result, expected, regen=False) + +def apkbuild_tester(location): + return alpine.parse_apkbuild(location, strict=True).to_dict() + + +class TestAlpineApkbuildDatadriven(PackageTester): + test_data_dir = test_data_dir + + +build_tests( + test_dir=os.path.join(test_data_dir, 'alpine/apkbuild'), + clazz=TestAlpineApkbuildDatadriven, + test_method_prefix='test_', + tested_function=apkbuild_tester, + test_file_suffix='APKBUILD', + regen=False, +) + + +def apkbuild_problems_tester(location): + return alpine.parse_apkbuild(location, strict=True).to_dict() + + +class TestAlpineApkbuildProblemsDatadriven(PackageTester): + test_data_dir = test_data_dir + + +build_tests( + test_dir=os.path.join(test_data_dir, 'alpine/apkbuild-problems'), + clazz=TestAlpineApkbuildProblemsDatadriven, + test_method_prefix='test_', + tested_function=apkbuild_problems_tester, + test_file_suffix='APKBUILD', + regen=False, +) diff --git a/tests/packagedcode/test_alpine_license.py b/tests/packagedcode/test_alpine_license.py new file mode 100644 index 00000000000..e0b59f2c8c3 --- /dev/null +++ b/tests/packagedcode/test_alpine_license.py @@ -0,0 +1,135 @@ +# +# Copyright (c) nexB Inc. and others. All rights reserved. +# ScanCode is a trademark of nexB Inc. +# SPDX-License-Identifier: Apache-2.0 +# See http://www.apache.org/licenses/LICENSE-2.0 for the license text. +# See https://github.com/nexB/scancode-toolkit for support or download. +# See https://aboutcode.org for more information about nexB OSS projects. +# + +from os.path import abspath +from os.path import dirname +from os.path import exists +from os.path import join + +import unittest + +import attr +import saneyaml +from license_expression import Licensing + +import packages_test_utils +from commoncode import text +from commoncode import fileutils + +from packagedcode import alpine + +""" +Data-driven tests using tests and expectations stored in YAML files. +Test functions are attached to test classes at module import time +""" + + +@attr.attrs(slots=True) +class AlpineLicenseTest(object): + """ + A license detection test is used to verify that Alpine declared license + detection works correctly + + It consists of one YAML file with test data and expectation and a pacakge + reference. + """ + declared_license = attr.attrib() + license_expression = attr.attrib() + data_file = attr.attrib(default=None) + + licensing = Licensing() + + @classmethod + def from_file(cls, data_file): + with open(data_file) as df: + data = saneyaml.load(df.read()) + data['data_file'] = data_file + alptest = cls(**data) + alptest.license_expression = cls.licensing.parse( + alptest.license_expression).render() + return alptest + + def to_dict(self): + dct = attr.asdict(self) + dct.pop('data_file') + return dct + + def dump(self): + parent = fileutils.parent_directory(self.data_file) + if not exists(parent): + fileutils.create_dir(parent) + with open(self.data_file, 'w') as df: + df.write(saneyaml.dump(self.to_dict())) + + def get_test_method_name(self): + dfn = fileutils.file_base_name(self.data_file.lower()) + test_name = f'test_alpine_license_detection_{dfn}' + return text.python_safe_name(test_name) + + @staticmethod + def from_dir(test_dir): + """ + Return an iterable of AlpineLicenseTest objects loaded from `test_dir` + """ + test_files = packages_test_utils.get_test_files(test_dir, '.yml') + test_files = (join(test_dir, f) for f in test_files) + return map(AlpineLicenseTest.from_file, test_files) + + +def build_tests(test_dir, clazz, regen=False): + """ + Dynamically build license_test methods from a ``test_dir`` of AlpineLicenseTest + and attach these method to the ``clazz ``license test class. + """ + license_tests = AlpineLicenseTest.from_dir(test_dir) + for license_test in license_tests: + test_method = make_test(license_test, regen=regen) + test_name = license_test.get_test_method_name() + + if hasattr(clazz, test_name): + msg = f'Duplicated test method name: {test_name}: file://{license_test.data_file}' + raise Exception(msg) + + test_method.__name__ = test_name + setattr(clazz, test_name, test_method) + + +def make_test(license_test, regen=False): + """ + Build and return a test function closing on tests arguments for a + license_test LicenseTest object. + """ + + def closure_test_function(*args, **kwargs): + declared = license_test.declared_license + _cleaned, detected = alpine.detect_declared_license(declared) + + if regen: + license_test.license_expression = detected + license_test.dump() + return + + if detected != license_test.license_expression: + # On failure, we compare against more result data to get additional + # failure details, including the test_file + expected = [license_test.to_dict(), f'file://{license_test.data_file}'] + + assert detected == expected + + return closure_test_function + + +TEST_DIR = abspath(join(dirname(__file__), 'data/alpine/licenses')) + + +class TestAlpineLicenseDataDriven(unittest.TestCase): + pass + + +build_tests(TEST_DIR, clazz=TestAlpineLicenseDataDriven, regen=False) diff --git a/tests/packagedcode/test_bashlex.py b/tests/packagedcode/test_bashlex.py new file mode 100644 index 00000000000..09349b25dfe --- /dev/null +++ b/tests/packagedcode/test_bashlex.py @@ -0,0 +1,59 @@ +# +# Copyright (c) nexB Inc. and others. All rights reserved. +# ScanCode is a trademark of nexB Inc. +# SPDX-License-Identifier: Apache-2.0 +# See http://www.apache.org/licenses/LICENSE-2.0 for the license text. +# See https://github.com/nexB/scancode-toolkit for support or download. +# See https://aboutcode.org for more information about nexB OSS projects. +# + +import os.path +from functools import partial + +import attr + +from packagedcode.bashlex import BashShellLexer + +from packages_test_utils import build_tests +from packages_test_utils import PackageTester + +test_data_dir = os.path.join(os.path.dirname(__file__), 'data') + + +@attr.s +class PygmentsToken: + pos = attr.ib() + type = attr.ib() + value = attr.ib() + + def to_dict(self): + return attr.asdict(self) + + @classmethod + def lex(cls, lexer, text): + """ + Return a list of token mappings by running the ``lexer`` on the ``text`` + string. + """ + return [cls(*ts).to_dict() for ts in lexer().get_tokens_unprocessed(text)] + + +class TestBashlexDatadriven(PackageTester): + test_data_dir = test_data_dir + + +def lexer_tester(location, lexer_class): + with open(location) as inp: + text = inp.read() + return PygmentsToken.lex(lexer_class, text) + + +build_tests( + test_dir=os.path.join(test_data_dir, 'bashlex'), + test_file_suffix=('.sh', 'APKBUILD', 'PKGBUILD',), + clazz=TestBashlexDatadriven, + tested_function=partial(lexer_tester, lexer_class=BashShellLexer), + test_method_prefix='test_collect_shell_variables_', + regen=False, +) + diff --git a/tests/packagedcode/test_bashparse.py b/tests/packagedcode/test_bashparse.py new file mode 100644 index 00000000000..7f1ab81a3f1 --- /dev/null +++ b/tests/packagedcode/test_bashparse.py @@ -0,0 +1,664 @@ +# +# Copyright (c) nexB Inc. and others. All rights reserved. +# ScanCode is a trademark of nexB Inc. +# SPDX-License-Identifier: Apache-2.0 +# See http://www.apache.org/licenses/LICENSE-2.0 for the license text. +# See https://github.com/nexB/scancode-toolkit for support or download. +# See https://aboutcode.org for more information about nexB OSS projects. +# + +import os.path + +import pygmars + +from packagedcode import bashparse +from packagedcode.bashparse import ShellVariable + +from packages_test_utils import build_tests +from packages_test_utils import PackageTester + +test_data_dir = os.path.join(os.path.dirname(__file__), 'data') + + +class TestBashParserDatadriven(PackageTester): + test_data_dir = test_data_dir + + +def tree_to_dict(o): + if isinstance(o, pygmars.Token): + return dict(label=o.label, value=o.value, start_line=o.start_line, pos=o.pos) + elif isinstance(o, pygmars.tree.Tree): + return {o.label: [tree_to_dict(child) for child in o]} + + +build_tests( + test_dir=os.path.join(test_data_dir, 'bashparse'), + test_file_suffix='.sh', + clazz=TestBashParserDatadriven, + tested_function=lambda loc: list(bashparse.collect_shell_variables(loc, resolve=True)), + test_method_prefix='test_collect_shell_variables_', + regen=False, +) + + +class TestBashParser(PackageTester): + test_data_dir = os.path.join(os.path.dirname(__file__), 'data') + + def test_get_tokens(self): + text = ''' +# Contributor: Natanael Copa +pkgname=gcc + +pkgname="$pkgname$_target" +foo=bar +baz=$foo +bez=${foo} +gnat() { + pkgdesc="Ada support for GCC" +} +''' + + expected = [ + {'label': 'TEXT-WS-LF', + 'pos': 0, + 'start_line': 1, + 'value': '\n'}, + {'label': 'COMMENT', + 'pos': 1, + 'start_line': 2, + 'value': '# Contributor: Natanael Copa '}, + {'label': 'TEXT-WS-LF', + 'pos': 53, + 'start_line': 2, + 'value': '\n'}, + {'label': 'NAME-VARIABLE', + 'pos': 54, + 'start_line': 3, + 'value': 'pkgname'}, + {'label': 'OPERATOR-EQUAL', + 'pos': 61, + 'start_line': 3, + 'value': '='}, + {'label': 'TEXT', + 'pos': 62, + 'start_line': 3, + 'value': 'gcc'}, + {'label': 'TEXT-WS-LF', + 'pos': 65, + 'start_line': 3, + 'value': '\n' + '\n'}, + {'label': 'NAME-VARIABLE', + 'pos': 67, + 'start_line': 5, + 'value': 'pkgname'}, + {'label': 'OPERATOR-EQUAL', + 'pos': 74, + 'start_line': 5, + 'value': '='}, + {'label': 'LITERAL-STRING-DOUBLE', + 'pos': 75, + 'start_line': 5, + 'value': '"$pkgname$_target"'}, + {'label': 'TEXT-WS-LF', + 'pos': 93, + 'start_line': 5, + 'value': '\n'}, + {'label': 'NAME-VARIABLE', + 'pos': 94, + 'start_line': 6, + 'value': 'foo'}, + {'label': 'OPERATOR-EQUAL', + 'pos': 97, + 'start_line': 6, + 'value': '='}, + {'label': 'TEXT', + 'pos': 98, + 'start_line': 6, + 'value': 'bar'}, + {'label': 'TEXT-WS-LF', + 'pos': 101, + 'start_line': 6, + 'value': '\n'}, + {'label': 'NAME-VARIABLE', + 'pos': 102, + 'start_line': 7, + 'value': 'baz'}, + {'label': 'OPERATOR-EQUAL', + 'pos': 105, + 'start_line': 7, + 'value': '='}, + {'label': 'TEXT', + 'pos': 106, + 'start_line': 7, + 'value': '$foo'}, + {'label': 'TEXT-WS-LF', + 'pos': 110, + 'start_line': 7, + 'value': '\n'}, + {'label': 'NAME-VARIABLE', + 'pos': 111, + 'start_line': 8, + 'value': 'bez'}, + {'label': 'OPERATOR-EQUAL', + 'pos': 114, + 'start_line': 8, + 'value': '='}, + {'label': 'TEXT', + 'pos': 115, + 'start_line': 8, + 'value': '${foo}'}, + {'label': 'TEXT-WS-LF', + 'pos': 121, + 'start_line': 8, + 'value': '\n'}, + {'label': 'TEXT', + 'pos': 122, + 'start_line': 9, + 'value': 'gnat()'}, + {'label': 'TEXT-WS', + 'pos': 128, + 'start_line': 9, + 'value': ' '}, + {'label': 'TEXT', + 'pos': 129, + 'start_line': 9, + 'value': '{'}, + {'label': 'TEXT-WS-LF', + 'pos': 130, + 'start_line': 9, + 'value': '\n'}, + {'label': 'TEXT-WS', + 'pos': 131, + 'start_line': 10, + 'value': ' '}, + {'label': 'TEXT', + 'pos': 135, + 'start_line': 10, + 'value': 'pkgdesc="Ada'}, + {'label': 'TEXT-WS', + 'pos': 147, + 'start_line': 10, + 'value': ' '}, + {'label': 'TEXT', + 'pos': 148, + 'start_line': 10, + 'value': 'support'}, + {'label': 'TEXT-WS', + 'pos': 155, + 'start_line': 10, + 'value': ' '}, + {'label': 'TEXT', + 'pos': 156, + 'start_line': 10, + 'value': 'for'}, + {'label': 'TEXT-WS', + 'pos': 159, + 'start_line': 10, + 'value': ' '}, + {'label': 'TEXT', + 'pos': 160, + 'start_line': 10, + 'value': 'GCC"'}, + {'label': 'TEXT-WS-LF', + 'pos': 164, + 'start_line': 10, + 'value': '\n'}, + {'label': 'TEXT', + 'pos': 165, + 'start_line': 11, + 'value': '}'}, + {'label': 'TEXT-WS-LF', + 'pos': 166, + 'start_line': 11, + 'value': '\n'}, + ] + + result = [tree_to_dict(o) for o in bashparse.get_tokens(text)] + assert result == expected + + def test_parse_shell_with_variables_grammar_can_parse(self): + text = ''' +# Contributor: Natanael Copa +pkgname=gcc + +pkgname="$pkgname$_target" +pkgrel=2 +license="GPL-2.0-or-later + LGPL-2.1-or-later" + license="GPL-2.0-or-later + LGPL-2.1-or-later" + +gnat() { + pkgdesc="Ada support for GCC" +} +''' + + result = tree_to_dict(bashparse.parse_shell(text)) + assert result == EXPECTED_SIMPLE + + def test_get_tokens_simple(self): + text = ''' +foo=bar +baz=$foo +bez=${foo} +''' + + expected = [ + {'label': 'TEXT-WS-LF', + 'pos': 0, + 'start_line': 1, + 'value': '\n'}, + {'label': 'NAME-VARIABLE', + 'pos': 1, + 'start_line': 2, + 'value': 'foo'}, + {'label': 'OPERATOR-EQUAL', + 'pos': 4, + 'start_line': 2, + 'value': '='}, + {'label': 'TEXT', + 'pos': 5, + 'start_line': 2, + 'value': 'bar'}, + {'label': 'TEXT-WS-LF', + 'pos': 8, + 'start_line': 2, + 'value': '\n'}, + {'label': 'NAME-VARIABLE', + 'pos': 9, + 'start_line': 3, + 'value': 'baz'}, + {'label': 'OPERATOR-EQUAL', + 'pos': 12, + 'start_line': 3, + 'value': '='}, + {'label': 'TEXT', + 'pos': 13, + 'start_line': 3, + 'value': '$foo'}, + {'label': 'TEXT-WS-LF', + 'pos': 17, + 'start_line': 3, + 'value': '\n'}, + {'label': 'NAME-VARIABLE', + 'pos': 18, + 'start_line': 4, + 'value': 'bez'}, + {'label': 'OPERATOR-EQUAL', + 'pos': 21, + 'start_line': 4, + 'value': '='}, + {'label': 'TEXT', + 'pos': 22, + 'start_line': 4, + 'value': '${foo}'}, + {'label': 'TEXT-WS-LF', + 'pos': 28, + 'start_line': 4, + 'value': '\n'}, + ] + + result = [tree_to_dict(o) for o in bashparse.get_tokens(text)] + assert result == expected + + def test_collect_shell_variables_from_text_can_resolve(self): + text = ''' +foo=bar +baz=$foo +bez=${baz} +''' + result, errors = bashparse.collect_shell_variables_from_text(text) + expected = [ + ShellVariable(name='foo', value='bar'), + ShellVariable(name='baz', value='$foo'), + ShellVariable(name='bez', value='${baz}'), + ] + assert result == expected + + expected = [] + assert errors == expected + + result, errors = bashparse.collect_shell_variables_from_text(text, resolve=True) + expected = [ + ShellVariable(name='foo', value='bar'), + ShellVariable(name='baz', value='bar'), + ShellVariable(name='bez', value='bar'), + ] + assert result == expected + + expected = [] + assert errors == expected + + def test_collect_shell_variables_from_text_can_parse_single_quoted_vars(self): + text = "\nlicense='AGPL3'" + result, errors = bashparse.collect_shell_variables_from_text(text) + expected = [ShellVariable(name='license', value='AGPL3')] + assert result == expected + expected = [] + assert errors == expected + + def test_collect_shell_variables_from_text_can_parse_var_at_start(self): + text = "foo=bar" + result, errors = bashparse.collect_shell_variables_from_text(text) + expected = [ + ShellVariable(name='foo', value='bar'), + ] + assert result == expected + expected = [] + assert errors == expected + + def test_collect_shell_variables_from_text_can_parse_empty_var(self): + text = "foo=\nbar=baz\nlicense=\n" + result, errors = bashparse.collect_shell_variables_from_text(text) + expected = [ + ShellVariable(name='foo', value=''), + ShellVariable(name='bar', value='baz'), + ShellVariable(name='license', value=''), + ] + assert result == expected + expected = [] + assert errors == expected + + def test_collect_shell_variables_from_text_can_parse_trailing_comments(self): + text = '\noptions="!check" # out of disk space (>35GB)' + result, errors = bashparse.collect_shell_variables_from_text(text) + expected = [ShellVariable(name='options', value='!check')] + assert result == expected + expected = [] + assert errors == expected + + def test_collect_shell_variables_from_text_as_dict_does_not_munge_spaces_on_expand(self): + text = """ +pkgname=cairo +pkgver=1.16.0 +depends= +depends_dev="fontconfig-dev freetype-dev libxrender-dev pixman-dev + xcb-util-dev libxext-dev $pkgname-tools" +makedepends="$depends_dev zlib-dev expat-dev glib-dev libpng-dev autoconf automake libtool" +subpackages="$pkgname-dev $pkgname-doc $pkgname-gobject $pkgname-tools $pkgname-dbg" +source="https://cairographics.org/releases/cairo-$pkgver.tar.xz" +""" + result, errors = bashparse.collect_shell_variables_from_text_as_dict(text, resolve=True) + expected = [] + assert errors == expected + expected = { + 'depends': '', + 'depends_dev': + 'fontconfig-dev freetype-dev libxrender-dev pixman-dev\n ' + 'xcb-util-dev libxext-dev cairo-tools', + 'makedepends': + 'fontconfig-dev freetype-dev libxrender-dev pixman-dev\n ' + 'xcb-util-dev libxext-dev cairo-tools zlib-dev expat-dev ' + 'glib-dev libpng-dev autoconf automake libtool', + 'pkgname': 'cairo', + 'pkgver': '1.16.0', + 'source': 'https://cairographics.org/releases/cairo-1.16.0.tar.xz', + 'subpackages': 'cairo-dev cairo-doc cairo-gobject cairo-tools cairo-dbg', + } + assert result == expected + + def test_collect_shell_variables_from_text_can_parse_combo_single_quote_and_trailing_comments(self): + text = ''' +arch="x86_64 ppc64le aarch64" +options="!check" # out of disk space (>35GB) +license='AGPL3' +pkgusers="mongodb" +option2s='!baz' # out of disk space (>35GB) +options=duplicate +''' + result, errors = bashparse.collect_shell_variables_from_text(text) + expected = [ + ShellVariable(name='arch', value='x86_64 ppc64le aarch64'), + ShellVariable(name='options', value='!check'), + ShellVariable(name='license', value='AGPL3'), + ShellVariable(name='pkgusers', value='mongodb'), + ShellVariable(name='option2s', value='!baz'), + ShellVariable(name='options', value='duplicate'), + ] + assert result == expected + expected = ["Duplicate variable name: 'options' value: 'duplicate' existing value: '!check'"] + assert errors == expected + + def test_collect_shell_variables_from_text_filters_on_needed_variables(self): + text = ''' +arch="x86_64" +options="foo" +license='AGPL3' +options=duplicate +''' + + result, errors = bashparse.collect_shell_variables_from_text( + text=text, + needed_variables=set(['license']), + ) + expected = [ + ShellVariable(name='license', value='AGPL3'), + ] + assert result == expected + expected = [] + assert errors == expected + + def test_collect_shell_variables_from_text_simple(self): + result, errors = bashparse.collect_shell_variables_from_text(TEST_TEXT1) + expected = [ + ShellVariable(name='pkgname', value='gcc'), + ShellVariable(name='_pkgbase', value='10.3.1'), + ShellVariable(name='pkgver', value='10.3.1_git20210424'), + ShellVariable(name='pkgname', value='$pkgname$_target'), + ShellVariable(name='pkgrel', value='2'), + ShellVariable(name='pkgdesc', value='The GNU Compiler Collection'), + ShellVariable(name='url', value='https://gcc.gnu.org'), + ShellVariable(name='arch', value='all'), + ShellVariable(name='license', value='GPL-2.0-or-later LGPL-2.1-or-later'), + ShellVariable(name='_gccrel', value='$pkgver-r$pkgrel'), + ShellVariable(name='depends', value='binutils$_target'), + ShellVariable(name='makedepends_build', value='gcc$_cross g++$_cross bison flex texinfo gawk zip gmp-dev mpfr-dev mpc1-dev zlib-dev'), + ShellVariable(name='makedepends_host', value='linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev !gettext-dev libucontext-dev'), + ShellVariable(name='makedepends', value='$makedepends_build $makedepends_host'), + ShellVariable(name='source', value='https://dev.alpinelinux.org/~nenolod/gcc-${pkgver}.tar.xz\n 0001-posix_memalign.patch\n '), + ShellVariable(name='sha512sums', value='0ef281e6633b8bef7ce24d1448ec7b96aef66e414f90821a9 gcc-10.3.1_git20210424.tar.xz\nd1e10db83a04c02d99f9f6ce03f9 0001-posix_memalign.patch\n'), + ] + assert result == expected + assert errors == ["Duplicate variable name: 'pkgname' value: '$pkgname$_target' existing value: 'gcc'"] + + +TEST_TEXT1 = ''' +# Contributor: Natanael Copa +# Maintainer: Ariadne Conill +pkgname=gcc +_pkgbase=10.3.1 +pkgver=10.3.1_git20210424 +pkgname="$pkgname$_target" +pkgrel=2 +pkgdesc="The GNU Compiler Collection" +url="https://gcc.gnu.org" +arch="all" +license="GPL-2.0-or-later LGPL-2.1-or-later" +_gccrel=$pkgver-r$pkgrel +depends="binutils$_target" +makedepends_build="gcc$_cross g++$_cross bison flex texinfo gawk zip gmp-dev mpfr-dev mpc1-dev zlib-dev" +makedepends_host="linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev !gettext-dev libucontext-dev" + +makedepends="$makedepends_build $makedepends_host" + +source="https://dev.alpinelinux.org/~nenolod/gcc-${pkgver}.tar.xz + 0001-posix_memalign.patch + " + +gnat() { + pkgdesc="Ada support for GCC" + depends="gcc=$_gccrel" +} + +sha512sums="0ef281e6633b8bef7ce24d1448ec7b96aef66e414f90821a9 gcc-10.3.1_git20210424.tar.xz +d1e10db83a04c02d99f9f6ce03f9 0001-posix_memalign.patch +" + +''' + +EXPECTED_SIMPLE = { +'ROOT': [{'label': 'TEXT-WS-LF', + 'pos': 0, + 'start_line': 1, + 'value': '\n'}, + {'label': 'COMMENT', + 'pos': 1, + 'start_line': 2, + 'value': '# Contributor: Natanael Copa '}, + {'SHELL-VARIABLE': [{'label': 'TEXT-WS-LF', + 'pos': 53, + 'start_line': 2, + 'value': '\n'}, + {'label': 'NAME-VARIABLE', + 'pos': 54, + 'start_line': 3, + 'value': 'pkgname'}, + {'label': 'OPERATOR-EQUAL', + 'pos': 61, + 'start_line': 3, + 'value': '='}, + {'label': 'TEXT', + 'pos': 62, + 'start_line': 3, + 'value': 'gcc'}]}, + {'SHELL-VARIABLE': [{'label': 'TEXT-WS-LF', + 'pos': 65, + 'start_line': 3, + 'value': '\n' + '\n'}, + {'label': 'NAME-VARIABLE', + 'pos': 67, + 'start_line': 5, + 'value': 'pkgname'}, + {'label': 'OPERATOR-EQUAL', + 'pos': 74, + 'start_line': 5, + 'value': '='}, + {'label': 'LITERAL-STRING-DOUBLE', + 'pos': 75, + 'start_line': 5, + 'value': '"$pkgname$_target"'}]}, + {'SHELL-VARIABLE': [{'label': 'TEXT-WS-LF', + 'pos': 93, + 'start_line': 5, + 'value': '\n'}, + {'label': 'NAME-VARIABLE', + 'pos': 94, + 'start_line': 6, + 'value': 'pkgrel'}, + {'label': 'OPERATOR-EQUAL', + 'pos': 100, + 'start_line': 6, + 'value': '='}, + {'label': 'TEXT', + 'pos': 101, + 'start_line': 6, + 'value': '2'}]}, + {'SHELL-VARIABLE': [{'label': 'TEXT-WS-LF', + 'pos': 102, + 'start_line': 6, + 'value': '\n'}, + {'label': 'NAME-VARIABLE', + 'pos': 103, + 'start_line': 7, + 'value': 'license'}, + {'label': 'OPERATOR-EQUAL', + 'pos': 110, + 'start_line': 7, + 'value': '='}, + {'label': 'LITERAL-STRING-DOUBLE', + 'pos': 111, + 'start_line': 7, + 'value': '"GPL-2.0-or-later\n' + ' LGPL-2.1-or-later"'}]}, + {'label': 'TEXT-WS-LF', + 'pos': 148, + 'start_line': 8, + 'value': '\n'}, + {'label': 'TEXT-WS', + 'pos': 149, + 'start_line': 9, + 'value': ' '}, + {'label': 'TEXT', + 'pos': 153, + 'start_line': 9, + 'value': 'license="GPL-2.0-or-later'}, + {'label': 'TEXT-WS-LF', + 'pos': 178, + 'start_line': 9, + 'value': '\n'}, + {'label': 'TEXT-WS', + 'pos': 179, + 'start_line': 10, + 'value': ' '}, + {'label': 'TEXT', + 'pos': 184, + 'start_line': 10, + 'value': 'LGPL-2.1-or-later"'}, + {'label': 'TEXT-WS-LF', + 'pos': 202, + 'start_line': 10, + 'value': '\n' + '\n'}, + {'label': 'TEXT', + 'pos': 204, + 'start_line': 12, + 'value': 'gnat()'}, + {'label': 'TEXT-WS', + 'pos': 210, + 'start_line': 12, + 'value': ' '}, + {'label': 'TEXT', + 'pos': 211, + 'start_line': 12, + 'value': '{'}, + {'label': 'TEXT-WS-LF', + 'pos': 212, + 'start_line': 12, + 'value': '\n'}, + {'label': 'TEXT-WS', + 'pos': 213, + 'start_line': 13, + 'value': ' '}, + {'label': 'TEXT', + 'pos': 217, + 'start_line': 13, + 'value': 'pkgdesc="Ada'}, + {'label': 'TEXT-WS', + 'pos': 229, + 'start_line': 13, + 'value': ' '}, + {'label': 'TEXT', + 'pos': 230, + 'start_line': 13, + 'value': 'support'}, + {'label': 'TEXT-WS', + 'pos': 237, + 'start_line': 13, + 'value': ' '}, + {'label': 'TEXT', + 'pos': 238, + 'start_line': 13, + 'value': 'for'}, + {'label': 'TEXT-WS', + 'pos': 241, + 'start_line': 13, + 'value': ' '}, + {'label': 'TEXT', + 'pos': 242, + 'start_line': 13, + 'value': 'GCC"'}, + {'label': 'TEXT-WS-LF', + 'pos': 246, + 'start_line': 13, + 'value': '\n'}, + {'label': 'TEXT', + 'pos': 247, + 'start_line': 14, + 'value': '}'}, + {'label': 'TEXT-WS-LF', + 'pos': 248, + 'start_line': 14, + 'value': '\n'}], +} diff --git a/tests/packagedcode/test_debian.py b/tests/packagedcode/test_debian.py index fcac4da0083..60b13e7b808 100644 --- a/tests/packagedcode/test_debian.py +++ b/tests/packagedcode/test_debian.py @@ -110,9 +110,9 @@ def test_missing_md5sum_file(self): test_pkg = debian.DebianPackage( name='libatk-adaptor', - multi_arch='same', qualifiers={'arch':'amd64'} ) + test_pkg.set_multi_arch('same') assert test_pkg.get_list_of_installed_files(test_info_dir) == [] @@ -123,9 +123,9 @@ def test_multi_arch_is_same(self): test_pkg = debian.DebianPackage( name='libatk-adaptor', - multi_arch='same', qualifiers={'arch':'amd64'} ) + test_pkg.set_multi_arch('same') expected = [ models.PackageFile('/usr/lib/gnome-settings-daemon-3.0/gtk-modules/at-spi2-atk.desktop', md5='34900bd11562f427776ed2c05ba6002d'), @@ -146,9 +146,9 @@ def test_multi_arch_is_foreign(self): test_pkg = debian.DebianPackage( name='fonts-sil-abyssinica', - multi_arch='foreign', qualifiers={'arch':'amd64'} ) + test_pkg.set_multi_arch('foreign') expected = [ models.PackageFile('/usr/share/bug/fonts-sil-abyssinica/presubj', md5='7faf213b3c06e818b9976cc2ae5af51a'), diff --git a/tests/packagedcode/test_debian_copyright.py b/tests/packagedcode/test_debian_copyright.py index ddc5a0b28a1..2e0dfeae6e5 100644 --- a/tests/packagedcode/test_debian_copyright.py +++ b/tests/packagedcode/test_debian_copyright.py @@ -7,15 +7,13 @@ # See https://aboutcode.org for more information about nexB OSS projects. # -import io from os import path from os import walk -from debian_inspector.copyright import DebianCopyright - +import saneyaml from commoncode.testcase import FileBasedTesting from commoncode import text -import saneyaml +from debian_inspector.copyright import DebianCopyright from packagedcode import debian_copyright @@ -31,51 +29,92 @@ def check_expected_parse_copyright_file( at `expected_loc` location. Regen the expected file if `regen` is True. """ if with_details: - filter_licenses=False - skip_debian_packaging=False - simplify_licenses=False - unique_copyrights=False + filter_duplicates = False + skip_debian_packaging = False + simplify_licenses = False + unique_copyrights = False else: - filter_licenses=True - skip_debian_packaging=True - simplify_licenses=False - unique_copyrights=True + filter_duplicates = True + skip_debian_packaging = True + simplify_licenses = True + unique_copyrights = True + + dc = debian_copyright.parse_copyright_file( + location=test_loc, + check_consistency=False, + ) - dc = debian_copyright.parse_copyright_file(location=test_loc) declared_license = dc.get_declared_license( - filter_licenses=filter_licenses, + filter_duplicates=filter_duplicates, skip_debian_packaging=skip_debian_packaging, - simplify_licenses=simplify_licenses, ) + license_expression = dc.get_license_expression( - filter_licenses=filter_licenses, skip_debian_packaging=skip_debian_packaging, simplify_licenses=simplify_licenses, - ) - copyright = dc.get_copyright( + ).strip() + + copyrght = dc.get_copyright( skip_debian_packaging=skip_debian_packaging, unique_copyrights=unique_copyrights, - ) + ).strip() - parsed = declared_license, license_expression, copyright - - result = saneyaml.dump(list(parsed)) - if regen: - with io.open(expected_loc, 'w', encoding='utf-8') as reg: - reg.write(result) + primary_license = dc.primary_license + + match_details = list(map(get_match_details, dc.license_matches)) - with io.open(expected_loc, encoding='utf-8') as ex: - expected = ex.read() + results = { + 'primary_license': primary_license, + 'declared_license': declared_license, + 'license_expression': license_expression, + 'copyright': copyrght, + 'matches': match_details, + } + + if regen: + expected = results + with open(expected_loc, 'w') as res: + res.write(saneyaml.dump(results)) + else: + with open(expected_loc) as ex: + expected = saneyaml.load(ex.read()) - if result != expected: + if ( + saneyaml.dump(results) != saneyaml.dump(expected) + or 'unknown-license-reference' in license_expression + ): - expected = '\n'.join([ + expected = [ 'file://' + test_loc, 'file://' + expected_loc, - expected - ]) + expected, + ] + + assert saneyaml.dump([results]) == saneyaml.dump(expected) + - assert result == expected +def get_match_details(match): + """ + Return a mapping of match details for LicenseMatch ``match``. + """ + details = {} + details['score'] = str(match.score()) + details['start_line'] = str(match.start_line) + details['end_line'] = str(match.end_line) + details['matcher'] = match.matcher + details['rule_length'] = str(match.rule.length) + details['matched_length'] = str(match.len()) + details['match_coverage'] = str(match.coverage()) + details['rule_relevance'] = str(match.rule.relevance) + details['identifier'] = match.rule.identifier + details['license_expression'] = match.rule.license_expression + details['is_license_text'] = match.rule.is_license_text + details['is_license_notice'] = match.rule.is_license_notice + details['is_license_reference'] = match.rule.is_license_reference + details['is_license_tag'] = match.rule.is_license_tag + details['is_license_intro'] = match.rule.is_license_intro + details['matched_text'] = match.matched_text(whole_lines=False, highlight=True).strip() + return details def relative_walk(dir_path): @@ -106,7 +145,11 @@ def create_test_function( # closure on the test params def test_func(self): check_expected_parse_copyright_file( - test_loc, expected_loc, with_details=with_details, regen=regen) + test_loc, + expected_loc, + with_details=with_details, + regen=regen, + ) # set a proper function name to display in reports and use in discovery if isinstance(test_name, bytes): @@ -177,18 +220,34 @@ class TestDebianSlimCopyrightLicenseDetection(FileBasedTesting): ) +class TestDebianMiscCopyrightLicenseDetection(FileBasedTesting): + # pytestmark = pytest.mark.scanslow + test_data_dir = path.join(path.dirname(__file__), 'data') + + +build_tests( + test_dir='debian/copyright/debian-misc', + prefix='test_debian_misc_parse_copyright_file_', + clazz=TestDebianMiscCopyrightLicenseDetection, + regen=False, +) + + class TestDebianDetector(FileBasedTesting): test_data_dir = path.join(path.dirname(__file__), 'data/debian/copyright/') def test_add_unknown_matches(self): - - matches = debian_copyright.add_unknown_matches(name='foo',text='bar') + + matches = debian_copyright.add_unknown_matches(name='foo', text='bar') assert len(matches) == 1 - + + match = matches[0] + assert match.matched_text() == "License: foo\n bar" + class TestEnhancedDebianCopyright(FileBasedTesting): test_data_dir = path.join(path.dirname(__file__), 'data/debian/copyright/') - + def test_is_paragraph_debian_packaging(self): test_file = self.get_test_loc("debian-slim-2021-04-07/usr/share/doc/libhogweed6/copyright") edebian_copyright = debian_copyright.EnhancedDebianCopyright(debian_copyright=DebianCopyright.from_file(test_file)) @@ -208,14 +267,14 @@ def test_get_header_para(self): assert header_para.license.name == "LGPL-3+ or GPL-2+" assert header_para.upstream_name.value == "Nettle" assert header_para.source.text == "http://www.lysator.liu.se/~nisse/nettle/" - + def test_get_files_paras(self): test_file = self.get_test_loc("debian-2019-11-15/main/c/cryptsetup/stable_copyright") edebian_copyright = debian_copyright.EnhancedDebianCopyright(debian_copyright=DebianCopyright.from_file(test_file)) files_paras = edebian_copyright.file_paragraphs assert len(files_paras) == 15 assert files_paras[1].license.name == "GPL-2+" - + def test_get_license_paras(self): test_file = self.get_test_loc("debian-2019-11-15/main/c/cryptsetup/stable_copyright") edebian_copyright = debian_copyright.EnhancedDebianCopyright(debian_copyright=DebianCopyright.from_file(test_file)) @@ -229,7 +288,6 @@ def test_get_paras_with_license_text(self): paras_with_license = edebian_copyright.paragraphs_with_license_text assert isinstance(paras_with_license[0], debian_copyright.CopyrightHeaderParagraph) assert isinstance(paras_with_license[1], debian_copyright.CopyrightFilesParagraph) - def test_get_other_paras(self): test_file = self.get_test_loc("crafted_for_tests/test_other_paras") @@ -237,23 +295,23 @@ def test_get_other_paras(self): other_paras = edebian_copyright.other_paragraphs assert len(other_paras) == 1 assert other_paras[0].extra_data["unknown"].text == "Example of other paras." - + def test_get_duplicate_license_paras(self): test_file = self.get_test_loc("crafted_for_tests/test_duplicate_license_para_name") edebian_copyright = debian_copyright.EnhancedDebianCopyright(debian_copyright=DebianCopyright.from_file(test_file)) duplicate_paras = edebian_copyright.duplicate_license_paragraphs assert len(duplicate_paras) == 1 - duplicate_paras[0].license.name == "GPL-2+" - + assert duplicate_paras[0].license.name == "GPL-2+" + def test_if_structured_copyright_file(self): test_file = self.get_test_loc("debian-slim-2021-04-07/usr/share/doc/libhogweed6/copyright") content = debian_copyright.unicode_text(test_file) - assert debian_copyright.is_machine_readable_copyright(content) + assert debian_copyright.EnhancedDebianCopyright.is_machine_readable_copyright(content) def test_if_not_structured_copyright_file(self): test_file = self.get_test_loc("debian-2019-11-15/main/p/pulseaudio/stable_copyright") content = debian_copyright.unicode_text(test_file) - assert not debian_copyright.is_machine_readable_copyright(content) + assert not debian_copyright.EnhancedDebianCopyright.is_machine_readable_copyright(content) def test_multiple_blank_lines_is_valid_paragraph(self): test_file = self.get_test_loc("debian-slim-gpgv.copyright") diff --git a/tests/packagedcode/test_haxe.py b/tests/packagedcode/test_haxe.py index d1d2e402ba4..99034c94339 100644 --- a/tests/packagedcode/test_haxe.py +++ b/tests/packagedcode/test_haxe.py @@ -21,25 +21,25 @@ def test_parse_basic(self): test_file = self.get_test_loc('haxe/basic/haxelib.json') expected_loc = self.get_test_loc('haxe/basic/haxelib.json.expected') package = haxe.parse(test_file) - self.check_package(package, expected_loc) + self.check_package(package, expected_loc, regen=False) def test_parse_basic2(self): test_file = self.get_test_loc('haxe/basic2/haxelib.json') expected_loc = self.get_test_loc('haxe/basic2/haxelib.json.expected') package = haxe.parse(test_file) - self.check_package(package, expected_loc) + self.check_package(package, expected_loc, regen=False) def test_parse_deps(self): test_file = self.get_test_loc('haxe/deps/haxelib.json') expected_loc = self.get_test_loc('haxe/deps/haxelib.json.expected') package = haxe.parse(test_file) - self.check_package(package, expected_loc) + self.check_package(package, expected_loc, regen=False) def test_parse_tags(self): test_file = self.get_test_loc('haxe/tags/haxelib.json') expected_loc = self.get_test_loc('haxe/tags/haxelib.json.expected') package = haxe.parse(test_file) - self.check_package(package, expected_loc) + self.check_package(package, expected_loc, regen=False) def test_root_dir(self): test_file = self.get_test_loc('haxe/tags/haxelib.json') diff --git a/tests/packagedcode/test_maven.py b/tests/packagedcode/test_maven.py index 9d68e467ec5..4a1a79033fe 100644 --- a/tests/packagedcode/test_maven.py +++ b/tests/packagedcode/test_maven.py @@ -204,7 +204,7 @@ def test_parse_to_package_and_validate(self): def test_parse_to_package_then_back(self): test_file = self.get_test_loc('maven_misc/spring-beans-4.2.2.RELEASE.pom.xml') package = maven.parse(test_file) - package2 = maven.MavenPomPackage(**package.to_dict(exclude_properties=True)) + package2 = maven.MavenPomPackage.create(**package.to_dict()) assert package2.to_dict().items() == package.to_dict().items() def test_package_root_is_properly_returned_for_metainf_poms(self): diff --git a/tests/packagedcode/test_msi.py b/tests/packagedcode/test_msi.py new file mode 100644 index 00000000000..8a7f9b80fe8 --- /dev/null +++ b/tests/packagedcode/test_msi.py @@ -0,0 +1,68 @@ +# +# Copyright (c) nexB Inc. and others. All rights reserved. +# ScanCode is a trademark of nexB Inc. +# SPDX-License-Identifier: Apache-2.0 +# See http://www.apache.org/licenses/LICENSE-2.0 for the license text. +# See https://github.com/nexB/scancode-toolkit for support or download. +# See https://aboutcode.org for more information about nexB OSS projects. +# + +import os + +import pytest + +from commoncode.system import on_linux + +from packagedcode.models import Party +from packagedcode.msi import create_package_from_msiinfo_results +from packagedcode.msi import MsiInstallerPackage +from packagedcode.msi import parse_msiinfo_suminfo_output + +from packages_test_utils import PackageTester + + +@pytest.mark.skipif(not on_linux, reason='msiinfo only runs on Linux') +class TestMsi(PackageTester): + test_data_dir = os.path.join(os.path.dirname(__file__), 'data') + + python_3_9_5_add_to_path_results = { + 'Title': 'Installation Database', + 'Subject': 'Python 3.9.5 Add to Path (64-bit)', + 'Author': 'Python Software Foundation', + 'Keywords': 'Installer', + 'Comments': 'This installer database contains the logic and data required to install Python 3.9.5 Add to Path (64-bit).', + 'Template': 'x64;1033', + 'Revision number (UUID)': '{33F421A1-6B08-4919-A6AB-62A429A0E739}', + 'Created': 'Mon May 3 10:41:02 2021', + 'Last saved': 'Mon May 3 10:41:02 2021', + 'Version': '300 (12c)', + 'Source': '10 (a)', + 'Application': 'Windows Installer XML Toolset (3.11.1.2318)', + 'Security': '2 (2)' + } + + def test_msi_parse_msiinfo_suminfo_output(self): + test_file = self.get_test_loc('msi/python-add-to-path-msiinfo-results.txt') + expected_loc = self.get_test_loc('msi/python-add-to-path-msiinfo-results.expected') + with open(test_file) as f: + msiinfo_results = f.read() + result = parse_msiinfo_suminfo_output(msiinfo_results) + self.assertEqual(result, self.python_3_9_5_add_to_path_results) + + def test_msi_create_package_from_msiinfo_results(self): + result = create_package_from_msiinfo_results(self.python_3_9_5_add_to_path_results) + expected = MsiInstallerPackage( + name='Python 3.9.5 Add to Path (64-bit)', + version='v 3.9.5', + description='This installer database contains the logic and data required to install Python 3.9.5 Add to Path (64-bit).', + parties=[ + Party( + type=None, + role='author', + name='Python Software Foundation' + ) + ], + keywords='Installer', + extra_data=self.python_3_9_5_add_to_path_results + ) + self.assertEqual(result, expected) diff --git a/tests/packagedcode/test_package_models.py b/tests/packagedcode/test_package_models.py index c450e610091..43934483fdb 100644 --- a/tests/packagedcode/test_package_models.py +++ b/tests/packagedcode/test_package_models.py @@ -51,6 +51,7 @@ def test_Package_creation_and_dump(self): ('dependencies', []), ('contains_source_code', None), ('source_packages', []), + ('extra_data', {}), ('purl', u'pkg:android/someAndroidPAcakge'), ('repository_homepage_url', None), ('repository_download_url', None), diff --git a/tests/packagedcode/test_plugin.py b/tests/packagedcode/test_plugin.py index 41b93315676..7a23a9e7a96 100644 --- a/tests/packagedcode/test_plugin.py +++ b/tests/packagedcode/test_plugin.py @@ -139,3 +139,73 @@ def test_package_command_scan_cran_r_package(self): expected_file = self.get_test_loc('plugin/cran-package-expected.json') run_scan_click(['--package', '--strip-root', '--processes', '-1', test_dir, '--json', result_file]) check_json_scan(expected_file, result_file, regen=False) + + def test_package_command_scan_win_pe(self): + test_dir = self.get_test_loc('win_pe/file.exe') + result_file = self.get_temp_file('json') + expected_file = self.get_test_loc('plugin/win_pe-package-expected.json') + run_scan_click(['--package', '--strip-root', '--processes', '-1', test_dir, '--json', result_file]) + check_json_scan(expected_file, result_file, regen=False) + + def test_package_command_scan_mum(self): + test_dir = self.get_test_loc('windows/mum/test.mum') + result_file = self.get_temp_file('json') + expected_file = self.get_test_loc('plugin/mum-package-expected.json') + run_scan_click(['--package', '--strip-root', '--processes', '-1', test_dir, '--json', result_file]) + check_json_scan(expected_file, result_file, regen=False) + + def test_package_command_scan_pubspec_package(self): + test_dir = self.get_test_loc('pubspec/specs/authors-pubspec.yaml') + result_file = self.get_temp_file('json') + expected_file = self.get_test_loc('plugin/pubspec-expected.json', must_exist=False) + run_scan_click(['--package', '--strip-root', '--processes', '-1', test_dir, '--json', result_file]) + check_json_scan(expected_file, result_file, regen=False) + + def test_package_command_scan_pubspec_lock_package(self): + test_dir = self.get_test_loc('pubspec/locks/dart-pubspec.lock') + result_file = self.get_temp_file('json') + expected_file = self.get_test_loc('plugin/pubspec-lock-expected.json', must_exist=False) + run_scan_click(['--package', '--strip-root', '--processes', '-1', test_dir, '--json', result_file]) + check_json_scan(expected_file, result_file, regen=False) + + def test_package_command_scan_mui(self): + test_dir = self.get_test_loc('win_pe/clfs.sys.mui') + result_file = self.get_temp_file('json') + expected_file = self.get_test_loc('plugin/mui-package-expected.json') + run_scan_click(['--package', '--strip-root', '--processes', '-1', test_dir, '--json', result_file]) + check_json_scan(expected_file, result_file, regen=False) + + def test_package_command_scan_mun(self): + test_dir = self.get_test_loc('win_pe/crypt32.dll.mun') + result_file = self.get_temp_file('json') + expected_file = self.get_test_loc('plugin/mun-package-expected.json') + run_scan_click(['--package', '--strip-root', '--processes', '-1', test_dir, '--json', result_file]) + check_json_scan(expected_file, result_file, regen=False) + + def test_package_command_scan_com(self): + test_dir = self.get_test_loc('win_pe/chcp.com') + result_file = self.get_temp_file('json') + expected_file = self.get_test_loc('plugin/com-package-expected.json') + run_scan_click(['--package', '--strip-root', '--processes', '-1', test_dir, '--json', result_file]) + check_json_scan(expected_file, result_file, regen=False) + + def test_package_command_scan_tlb(self): + test_dir = self.get_test_loc('win_pe/stdole2.tlb') + result_file = self.get_temp_file('json') + expected_file = self.get_test_loc('plugin/tlb-package-expected.json') + run_scan_click(['--package', '--strip-root', '--processes', '-1', test_dir, '--json', result_file]) + check_json_scan(expected_file, result_file, regen=False) + + def test_package_command_scan_sys(self): + test_dir = self.get_test_loc('win_pe/tbs.sys') + result_file = self.get_temp_file('json') + expected_file = self.get_test_loc('plugin/sys-package-expected.json') + run_scan_click(['--package', '--strip-root', '--processes', '-1', test_dir, '--json', result_file]) + check_json_scan(expected_file, result_file, regen=False) + + def test_package_command_scan_winmd(self): + test_dir = self.get_test_loc('win_pe/Windows.AI.winmd') + result_file = self.get_temp_file('json') + expected_file = self.get_test_loc('plugin/winmd-package-expected.json') + run_scan_click(['--package', '--strip-root', '--processes', '-1', test_dir, '--json', result_file]) + check_json_scan(expected_file, result_file, regen=False) diff --git a/tests/packagedcode/test_pubspec.py b/tests/packagedcode/test_pubspec.py new file mode 100644 index 00000000000..caf507a29f9 --- /dev/null +++ b/tests/packagedcode/test_pubspec.py @@ -0,0 +1,55 @@ +# +# Copyright (c) nexB Inc. and others. All rights reserved. +# ScanCode is a trademark of nexB Inc. +# SPDX-License-Identifier: Apache-2.0 +# See http://www.apache.org/licenses/LICENSE-2.0 for the license text. +# See https://github.com/nexB/scancode-toolkit for support or download. +# See https://aboutcode.org for more information about nexB OSS projects. +# + +import os.path + +from packagedcode import pubspec + +from packages_test_utils import check_result_equals_expected_json +from packages_test_utils import build_tests +from packages_test_utils import PackageTester + +test_data_dir = os.path.join(os.path.dirname(__file__), 'data') + + +class TestPubspecDatadriven(PackageTester): + test_data_dir = test_data_dir + + def test_parse_lock(self): + test_loc = self.get_test_loc('pubspec/mini-pubspec.lock') + expected_loc = self.get_test_loc('pubspec/mini-pubspec.lock-expected.json', must_exist=False) + result = pubspec.parse_lock(test_loc).to_dict() + check_result_equals_expected_json(result, expected_loc, regen=False) + + +def pub_tester(location,): + return pubspec.parse_pub(location).to_dict() + + +def lock_tester(location,): + return pubspec.parse_lock(location).to_dict() + + +build_tests( + test_dir=os.path.join(test_data_dir, 'pubspec/specs'), + clazz=TestPubspecDatadriven, + test_method_prefix='test_pubspec_yaml', + tested_function=pub_tester, + test_file_suffix='pubspec.yaml', + regen=False, +) + +build_tests( + test_dir=os.path.join(test_data_dir, 'pubspec/locks'), + clazz=TestPubspecDatadriven, + test_method_prefix='test_pubspec_lock', + tested_function=lock_tester, + test_file_suffix='pubspec.lock', + regen=False, +) diff --git a/tests/packagedcode/test_rpm.py b/tests/packagedcode/test_rpm.py index fea8d842362..f98f2cfa61d 100644 --- a/tests/packagedcode/test_rpm.py +++ b/tests/packagedcode/test_rpm.py @@ -61,6 +61,7 @@ def test_parse_to_package(self): ('dependencies', []), ('contains_source_code', None), ('source_packages', [ 'pkg:rpm/libproxy@0.3.0-4.el6_3?arch=src']), + ('extra_data', {}), ('purl', 'pkg:rpm/libproxy-bin@0.3.0-4.el6_3'), ('repository_homepage_url', None), ('repository_download_url', None), diff --git a/tests/packagedcode/test_win_pe.py b/tests/packagedcode/test_win_pe.py index db8365fba94..37e4d77ba1e 100644 --- a/tests/packagedcode/test_win_pe.py +++ b/tests/packagedcode/test_win_pe.py @@ -37,48 +37,63 @@ def check_win_pe(self, test_file, regen=False): def test_win_pe_ctypes_test_pyd(self): test_file = self.get_test_loc('win_pe/_ctypes_test.pyd') - expected_file = self.get_test_loc('win_pe/_ctypes_test.pyd.expected.json') - self.check_win_pe(test_file, expected_file) + self.check_win_pe(test_file, regen=False) def test_win_pe_euc_jp_so(self): test_file = self.get_test_loc('win_pe/euc-jp.so') - expected_file = self.get_test_loc('win_pe/euc-jp.so.expected.json') - self.check_win_pe(test_file, expected_file) + self.check_win_pe(test_file, regen=False) def test_win_pe_file_exe(self): test_file = self.get_test_loc('win_pe/file.exe') - expected_file = self.get_test_loc('win_pe/file.exe.expected.json') - self.check_win_pe(test_file, expected_file) + self.check_win_pe(test_file, regen=False) def test_win_pe_libiconv2_dll(self): test_file = self.get_test_loc('win_pe/libiconv2.dll') - expected_file = self.get_test_loc('win_pe/libiconv2.dll.expected.json') - self.check_win_pe(test_file, expected_file) + self.check_win_pe(test_file, regen=False) def test_win_pe_libintl3_dll(self): test_file = self.get_test_loc('win_pe/libintl3.dll') - expected_file = self.get_test_loc('win_pe/libintl3.dll.expected.json') - self.check_win_pe(test_file, expected_file) + self.check_win_pe(test_file, regen=False) def test_win_pe_microsoft_practices_enterpriselibrary_caching_dll(self): test_file = self.get_test_loc('win_pe/Microsoft.Practices.EnterpriseLibrary.Caching.dll') - expected_file = self.get_test_loc('win_pe/Microsoft.Practices.EnterpriseLibrary.Caching.dll.expected.json') - self.check_win_pe(test_file, expected_file) + self.check_win_pe(test_file, regen=False) def test_win_pe_tre4_dll(self): test_file = self.get_test_loc('win_pe/tre4.dll') - expected_file = self.get_test_loc('win_pe/tre4.dll.expected.json') - self.check_win_pe(test_file, expected_file) + self.check_win_pe(test_file, regen=False) def test_win_pe_zlib1_dll(self): test_file = self.get_test_loc('win_pe/zlib1.dll') - expected_file = self.get_test_loc('win_pe/zlib1.dll.expected.json') - self.check_win_pe(test_file, expected_file) + self.check_win_pe(test_file, regen=False) def test_win_pe_Moq_Silverlight_dll(self): test_file = self.get_test_loc('win_pe/Moq.Silverlight.dll') - expected_file = self.get_test_loc('win_pe/Moq.Silverlight.dll.expected.json') - self.check_win_pe(test_file, expected_file) + self.check_win_pe(test_file, regen=False) + + def test_win_pe_clfs_sys_mui(self): + test_file = self.get_test_loc('win_pe/clfs.sys.mui') + self.check_win_pe(test_file, regen=False) + + def test_win_pe_crypt32_dll_mun(self): + test_file = self.get_test_loc('win_pe/crypt32.dll.mun') + self.check_win_pe(test_file, regen=False) + + def test_win_pe_stdole2_tlb(self): + test_file = self.get_test_loc('win_pe/stdole2.tlb') + self.check_win_pe(test_file, regen=False) + + def test_win_pe_tbs_sys(self): + test_file = self.get_test_loc('win_pe/tbs.sys') + self.check_win_pe(test_file, regen=False) + + def test_win_pe_Windows_AI_winmd(self): + test_file = self.get_test_loc('win_pe/Windows.AI.winmd') + self.check_win_pe(test_file, regen=False) + + def test_win_pe_chcp_com(self): + test_file = self.get_test_loc('win_pe/chcp.com') + self.check_win_pe(test_file, regen=False) class TestWinPeParseToPackage(TestWinPePeInfo): diff --git a/tests/packagedcode/test_win_reg.py b/tests/packagedcode/test_win_reg.py new file mode 100644 index 00000000000..ea3cc0f6175 --- /dev/null +++ b/tests/packagedcode/test_win_reg.py @@ -0,0 +1,66 @@ +# +# Copyright (c) nexB Inc. and others. All rights reserved. +# ScanCode is a trademark of nexB Inc. +# SPDX-License-Identifier: Apache-2.0 +# See http://www.apache.org/licenses/LICENSE-2.0 for the license text. +# See https://github.com/nexB/scancode-toolkit for support or download. +# See https://aboutcode.org for more information about nexB OSS projects. +# + +import json +import os + +import pytest + +from commoncode.system import on_linux +from packagedcode.models import PackageFile +from packagedcode.win_reg import create_absolute_installed_file_path +from packagedcode.win_reg import get_installed_packages +from packagedcode.win_reg import _report_installed_dotnet_versions +from packagedcode.win_reg import _report_installed_programs +from packagedcode.win_reg import remove_drive_letter + +from packages_test_utils import check_result_equals_expected_json +from packages_test_utils import PackageTester + + +@pytest.mark.skipif(not on_linux, reason='We only configure regipy for use on Linux') +class TestWinReg(PackageTester): + test_data_dir = os.path.join(os.path.dirname(__file__), 'data') + + def test_win_reg__report_installed_dotnet_versions(self): + test_file = self.get_test_loc('win_reg/SOFTWARE-registry-entries.json') + expected_loc = self.get_test_loc('win_reg/SOFTWARE-dotnet-installation.expected') + with open(test_file) as f: + software_registry_entries = json.load(f) + results = [p.to_dict(_detailed=True) + for p in _report_installed_dotnet_versions(software_registry_entries)] + check_result_equals_expected_json(results, expected_loc, regen=False) + + def test_win_reg__report_installed_programs(self): + test_file = self.get_test_loc('win_reg/SOFTWARE-registry-entries.json') + expected_loc = self.get_test_loc('win_reg/SOFTWARE-installed-programs.expected') + with open(test_file) as f: + software_registry_entries = json.load(f) + results = [p.to_dict(_detailed=True) + for p in _report_installed_programs(software_registry_entries)] + check_result_equals_expected_json(results, expected_loc, regen=False) + + def test_win_reg_remove_drive_letter(self): + test_path = 'C:\\Users\\Test\\Desktop' + expected_path = 'Users/Test/Desktop' + result = remove_drive_letter(test_path) + self.assertEqual(result, expected_path) + + def test_win_reg_create_absolute_installed_file_path(self): + root_dir = '/home/test/c/' + test_path = 'C:\\Program Files\\Test Program\\' + result = create_absolute_installed_file_path(root_dir, test_path) + expected_path = '/home/test/c/Program Files/Test Program' + self.assertEqual(result, expected_path) + + def test_win_reg_get_installed_packages(self): + test_root_dir = self.get_test_loc('win_reg/get_installed_packages_docker/layer') + expected_loc = self.get_test_loc('win_reg/get_installed_packages_docker/expected-results') + results = list(p.to_dict(_detailed=True) for p in get_installed_packages(test_root_dir)) + check_result_equals_expected_json(results, expected_loc, regen=False) diff --git a/tests/packagedcode/test_windows.py b/tests/packagedcode/test_windows.py new file mode 100644 index 00000000000..19212f2ab80 --- /dev/null +++ b/tests/packagedcode/test_windows.py @@ -0,0 +1,24 @@ +# +# Copyright (c) nexB Inc. and others. All rights reserved. +# ScanCode is a trademark of nexB Inc. +# SPDX-License-Identifier: Apache-2.0 +# See http://www.apache.org/licenses/LICENSE-2.0 for the license text. +# See https://github.com/nexB/scancode-toolkit for support or download. +# See https://aboutcode.org for more information about nexB OSS projects. +# + +import os + +from packagedcode.windows import parse + +from packages_test_utils import PackageTester + + +class TestWindows(PackageTester): + test_data_dir = os.path.join(os.path.dirname(__file__), 'data') + + def test_windows_mum_parse(self): + test_file = self.get_test_loc('windows/mum/test.mum') + expected_loc = self.get_test_loc('windows/mum/test.mum.expected') + package = parse(test_file) + self.check_package(package, expected_loc, regen=False) diff --git a/tests/scancode/data/composer/composer.expected.json b/tests/scancode/data/composer/composer.expected.json index fe4fb39850b..e5d96a812ec 100644 --- a/tests/scancode/data/composer/composer.expected.json +++ b/tests/scancode/data/composer/composer.expected.json @@ -123,6 +123,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:composer/laravel/laravel", "repository_homepage_url": "https://packagist.org/packages/laravel/laravel", "repository_download_url": null, diff --git a/tests/scancode/data/help/help.txt b/tests/scancode/data/help/help.txt index 0c12e37f434..ece0573792d 100644 --- a/tests/scancode/data/help/help.txt +++ b/tests/scancode/data/help/help.txt @@ -39,6 +39,7 @@ Options: --json FILE Write scan output as compact JSON to FILE. --json-pp FILE Write scan output as pretty-printed JSON to FILE. --json-lines FILE Write scan output as JSON Lines to FILE. + --yaml FILE Write scan output as YAML to FILE. --csv FILE Write scan output as CSV to FILE. --html FILE Write scan output as HTML to FILE. --custom-output FILE Write scan output to FILE formatted with the custom diff --git a/tests/scancode/data/info/all.expected.json b/tests/scancode/data/info/all.expected.json index 4e88ce3489e..ac8fa6b2cb7 100644 --- a/tests/scancode/data/info/all.expected.json +++ b/tests/scancode/data/info/all.expected.json @@ -295,6 +295,7 @@ "short_name": "BSD-Original-UC", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change", "text_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", @@ -311,11 +312,13 @@ "licenses": [ "bsd-original-uc" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 243, "matched_length": 243, @@ -332,21 +335,21 @@ { "value": "Copyright (c) 1993 The Regents of the University of California", "start_line": 22, - "end_line": 23 + "end_line": 22 } ], "holders": [ { "value": "The Regents of the University of California", "start_line": 22, - "end_line": 23 + "end_line": 22 } ], "authors": [ { "value": "the University of California, Berkeley and its contributors", "start_line": 35, - "end_line": 37 + "end_line": 36 } ], "files_count": 0, @@ -413,6 +416,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -430,11 +434,16 @@ "gpl-2.0", "bsd-new" ], + "referenced_filenames": [ + "COPYING", + "README" + ], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 50, "matched_length": 50, @@ -449,6 +458,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -466,11 +476,16 @@ "gpl-2.0", "bsd-new" ], + "referenced_filenames": [ + "COPYING", + "README" + ], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 50, "matched_length": 50, diff --git a/tests/scancode/data/info/all.rooted.expected.json b/tests/scancode/data/info/all.rooted.expected.json index 5478cff0e43..24234e09194 100644 --- a/tests/scancode/data/info/all.rooted.expected.json +++ b/tests/scancode/data/info/all.rooted.expected.json @@ -147,6 +147,7 @@ "short_name": "BSD-Original-UC", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change", "text_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", @@ -163,11 +164,13 @@ "licenses": [ "bsd-original-uc" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 243, "matched_length": 243, @@ -184,21 +187,21 @@ { "value": "Copyright (c) 1993 The Regents of the University of California", "start_line": 22, - "end_line": 23 + "end_line": 22 } ], "holders": [ { "value": "The Regents of the University of California", "start_line": 22, - "end_line": 23 + "end_line": 22 } ], "authors": [ { "value": "the University of California, Berkeley and its contributors", "start_line": 35, - "end_line": 37 + "end_line": 36 } ], "emails": [ @@ -247,6 +250,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -264,11 +268,16 @@ "gpl-2.0", "bsd-new" ], + "referenced_filenames": [ + "COPYING", + "README" + ], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 50, "matched_length": 50, @@ -283,6 +292,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -300,11 +310,16 @@ "gpl-2.0", "bsd-new" ], + "referenced_filenames": [ + "COPYING", + "README" + ], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 50, "matched_length": 50, diff --git a/tests/scancode/data/license_text/test.expected b/tests/scancode/data/license_text/test.expected index 97fbb9c6dc2..fc9432cde5e 100644 --- a/tests/scancode/data/license_text/test.expected +++ b/tests/scancode/data/license_text/test.expected @@ -29,6 +29,7 @@ "short_name": "LGPL 2.1", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/lgpl-2.1.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.1.txt", @@ -45,11 +46,13 @@ "licenses": [ "lgpl-2.1" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 4, "matched_length": 4, diff --git a/tests/scancode/data/plugin_consolidate/clear-summary-expected.json b/tests/scancode/data/plugin_consolidate/clear-summary-expected.json index 514cbd7b8ff..41854471378 100644 --- a/tests/scancode/data/plugin_consolidate/clear-summary-expected.json +++ b/tests/scancode/data/plugin_consolidate/clear-summary-expected.json @@ -98,6 +98,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -178,6 +179,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -258,6 +260,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -338,6 +341,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", diff --git a/tests/scancode/data/plugin_consolidate/component-package-build-expected.json b/tests/scancode/data/plugin_consolidate/component-package-build-expected.json index ded54ce4820..df693b870a8 100644 --- a/tests/scancode/data/plugin_consolidate/component-package-build-expected.json +++ b/tests/scancode/data/plugin_consolidate/component-package-build-expected.json @@ -298,6 +298,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -378,6 +379,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -458,6 +460,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -538,6 +541,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -649,6 +653,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -767,6 +772,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -847,6 +853,7 @@ "short_name": "unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": true, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -879,6 +886,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", diff --git a/tests/scancode/data/plugin_consolidate/component-package-expected.json b/tests/scancode/data/plugin_consolidate/component-package-expected.json index f3047630455..e29d733ddef 100644 --- a/tests/scancode/data/plugin_consolidate/component-package-expected.json +++ b/tests/scancode/data/plugin_consolidate/component-package-expected.json @@ -186,6 +186,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -266,6 +267,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -346,6 +348,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -426,6 +429,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -537,6 +541,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -655,6 +660,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -735,6 +741,7 @@ "short_name": "unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": true, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -767,6 +774,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", diff --git a/tests/scancode/data/plugin_consolidate/license-holder-rollup-expected.json b/tests/scancode/data/plugin_consolidate/license-holder-rollup-expected.json index e8f29aafe75..4054c57e2e6 100644 --- a/tests/scancode/data/plugin_consolidate/license-holder-rollup-expected.json +++ b/tests/scancode/data/plugin_consolidate/license-holder-rollup-expected.json @@ -194,6 +194,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -226,6 +227,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -371,6 +373,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -403,6 +406,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -517,6 +521,7 @@ "short_name": "unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": true, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -549,6 +554,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", diff --git a/tests/scancode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json b/tests/scancode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json index ad66e496e10..938d493f8b7 100644 --- a/tests/scancode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json +++ b/tests/scancode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json @@ -99,6 +99,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -131,6 +132,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -222,6 +224,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -254,6 +257,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", diff --git a/tests/scancode/data/plugin_consolidate/no-summary-expected.json b/tests/scancode/data/plugin_consolidate/no-summary-expected.json index 24b5e1d7bd8..443cc0e020e 100644 --- a/tests/scancode/data/plugin_consolidate/no-summary-expected.json +++ b/tests/scancode/data/plugin_consolidate/no-summary-expected.json @@ -79,6 +79,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -157,6 +158,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -235,6 +237,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -313,6 +316,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", diff --git a/tests/scancode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json b/tests/scancode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json index cd058205491..ecc8663fcbf 100644 --- a/tests/scancode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json +++ b/tests/scancode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json @@ -184,6 +184,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -302,6 +303,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -382,6 +384,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -462,6 +465,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -542,6 +546,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -622,6 +627,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", diff --git a/tests/scancode/data/plugin_consolidate/package-fileset-expected.json b/tests/scancode/data/plugin_consolidate/package-fileset-expected.json index a706fe3d64d..2b5a99dd02c 100644 --- a/tests/scancode/data/plugin_consolidate/package-fileset-expected.json +++ b/tests/scancode/data/plugin_consolidate/package-fileset-expected.json @@ -132,6 +132,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -238,6 +239,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -318,6 +320,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -398,6 +401,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", diff --git a/tests/scancode/data/plugin_consolidate/package-manifest-expected.json b/tests/scancode/data/plugin_consolidate/package-manifest-expected.json index 1240d80ba67..0e50180b962 100644 --- a/tests/scancode/data/plugin_consolidate/package-manifest-expected.json +++ b/tests/scancode/data/plugin_consolidate/package-manifest-expected.json @@ -128,6 +128,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", diff --git a/tests/scancode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json b/tests/scancode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json index d263afdfe9c..bf5573444c1 100644 --- a/tests/scancode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json +++ b/tests/scancode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json @@ -114,6 +114,7 @@ "short_name": "MIT License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://opensource.org/licenses/mit-license.php", "text_url": "http://opensource.org/licenses/mit-license.php", @@ -194,6 +195,7 @@ "short_name": "MIT License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://opensource.org/licenses/mit-license.php", "text_url": "http://opensource.org/licenses/mit-license.php", @@ -274,6 +276,7 @@ "short_name": "MIT License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://opensource.org/licenses/mit-license.php", "text_url": "http://opensource.org/licenses/mit-license.php", @@ -387,6 +390,7 @@ "short_name": "MIT License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://opensource.org/licenses/mit-license.php", "text_url": "http://opensource.org/licenses/mit-license.php", diff --git a/tests/scancode/data/plugin_consolidate/return-nested-local-majority-expected.json b/tests/scancode/data/plugin_consolidate/return-nested-local-majority-expected.json index 0556d0a4134..efec6fa4a69 100644 --- a/tests/scancode/data/plugin_consolidate/return-nested-local-majority-expected.json +++ b/tests/scancode/data/plugin_consolidate/return-nested-local-majority-expected.json @@ -147,6 +147,7 @@ "short_name": "unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": true, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -179,6 +180,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -260,6 +262,7 @@ "short_name": "unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": true, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -292,6 +295,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -406,6 +410,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -438,6 +443,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -519,6 +525,7 @@ "short_name": "unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": true, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -551,6 +558,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", diff --git a/tests/scancode/data/plugin_only_findings/basic.expected.json b/tests/scancode/data/plugin_only_findings/basic.expected.json index ce703b94a21..6cd0ff8822b 100644 --- a/tests/scancode/data/plugin_only_findings/basic.expected.json +++ b/tests/scancode/data/plugin_only_findings/basic.expected.json @@ -47,6 +47,7 @@ "short_name": "BSD-Original-UC", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change", "text_url": "http://www.xfree86.org/3.3.6/COPYRIGHT2.html", @@ -63,11 +64,13 @@ "licenses": [ "bsd-original-uc" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 243, "matched_length": 243, @@ -84,21 +87,21 @@ { "value": "Copyright (c) 1993 The Regents of the University of California", "start_line": 22, - "end_line": 23 + "end_line": 22 } ], "holders": [ { "value": "The Regents of the University of California", "start_line": 22, - "end_line": 23 + "end_line": 22 } ], "authors": [ { "value": "the University of California, Berkeley and its contributors", "start_line": 35, - "end_line": 37 + "end_line": 36 } ], "packages": [], @@ -134,6 +137,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -151,11 +155,16 @@ "gpl-2.0", "bsd-new" ], + "referenced_filenames": [ + "COPYING", + "README" + ], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 50, "matched_length": 50, @@ -170,6 +179,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -187,11 +197,16 @@ "gpl-2.0", "bsd-new" ], + "referenced_filenames": [ + "COPYING", + "README" + ], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 50, "matched_length": 50, diff --git a/tests/scancode/data/rpm/fping-2.4-0.b2.rhfc1.dag.i386.rpm.expected.json b/tests/scancode/data/rpm/fping-2.4-0.b2.rhfc1.dag.i386.rpm.expected.json index c02e9f6541a..a670ba570dd 100644 --- a/tests/scancode/data/rpm/fping-2.4-0.b2.rhfc1.dag.i386.rpm.expected.json +++ b/tests/scancode/data/rpm/fping-2.4-0.b2.rhfc1.dag.i386.rpm.expected.json @@ -60,6 +60,7 @@ "source_packages": [ "pkg:rpm/fping@2.4-0.b2.rhfc1.dag?arch=src" ], + "extra_data": {}, "purl": "pkg:rpm/fping@2.4-0.b2.rhfc1.dag", "repository_homepage_url": null, "repository_download_url": null, diff --git a/tests/scancode/data/virtual_idempotent/codebase.json b/tests/scancode/data/virtual_idempotent/codebase.json index 5fc5c0b0e22..9dfee9e38f0 100644 --- a/tests/scancode/data/virtual_idempotent/codebase.json +++ b/tests/scancode/data/virtual_idempotent/codebase.json @@ -1109,6 +1109,7 @@ "short_name": "JBoss EULA", "category": "Proprietary Free", "is_exception": false, + "is_unknown": false, "owner": "JBoss Community", "homepage_url": "", "text_url": "http://repository.jboss.org/licenses/jbossorg-eula.txt", @@ -1256,6 +1257,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -1510,6 +1512,7 @@ "short_name": "Apache 1.1", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://apache.org/licenses/LICENSE-1.1", @@ -1649,6 +1652,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -1769,6 +1773,7 @@ "short_name": "MIT License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://opensource.org/licenses/mit-license.php", "text_url": "http://opensource.org/licenses/mit-license.php", @@ -1896,6 +1901,7 @@ "short_name": "CPL 1.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "IBM", "homepage_url": "http://www.eclipse.org/legal/cpl-v10.html", "text_url": "http://www.eclipse.org/legal/cpl-v10.html", @@ -2005,6 +2011,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -2275,6 +2282,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -2414,6 +2422,7 @@ "short_name": "CC-BY-2.5", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Creative Commons", "homepage_url": "http://creativecommons.org/licenses/by/2.5/", "text_url": "http://creativecommons.org/licenses/by/2.5/legalcode", @@ -2552,6 +2561,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -2849,6 +2859,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -2976,6 +2987,7 @@ "short_name": "Public Domain", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": "http://www.linfo.org/publicdomain.html", "text_url": "", @@ -3009,6 +3021,7 @@ "short_name": "Public Domain", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": "http://www.linfo.org/publicdomain.html", "text_url": "", @@ -3327,6 +3340,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -3448,6 +3462,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -3591,6 +3606,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -3624,6 +3640,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -3746,6 +3763,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -3884,6 +3902,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -4005,6 +4024,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -4197,6 +4217,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -4231,6 +4252,7 @@ "short_name": "Ada linking exception to GPL 2.0 or later", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Dmitriy Anisimkov", "homepage_url": "", "text_url": "", @@ -4529,6 +4551,7 @@ "short_name": "Boost 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Boost", "homepage_url": "http://www.boost.org/users/license.html", "text_url": "http://www.boost.org/LICENSE_1_0.txt", @@ -4656,6 +4679,7 @@ "short_name": "Boost 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Boost", "homepage_url": "http://www.boost.org/users/license.html", "text_url": "http://www.boost.org/LICENSE_1_0.txt", @@ -4765,6 +4789,7 @@ "short_name": "Boost 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Boost", "homepage_url": "http://www.boost.org/users/license.html", "text_url": "http://www.boost.org/LICENSE_1_0.txt", @@ -4963,6 +4988,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -5192,6 +5218,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -5313,6 +5340,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -5517,6 +5545,7 @@ "short_name": "CMR License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "CMR - Christian Michelsen Research AS", "homepage_url": "", "text_url": "", diff --git a/tests/summarycode/data/copyright_summary/summary.expected.json b/tests/summarycode/data/copyright_summary/summary.expected.json index b9fd737d93b..594e19e6fd3 100644 --- a/tests/summarycode/data/copyright_summary/summary.expected.json +++ b/tests/summarycode/data/copyright_summary/summary.expected.json @@ -168,14 +168,14 @@ { "value": "Copyright 2005, JBoss Inc., and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "JBoss Inc., and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [], @@ -188,21 +188,21 @@ { "value": "Copyright (c) 2005 Brian Goetz and Tim Peierls", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "Brian Goetz and Tim Peierls", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [ { "value": "Bela Ban", - "start_line": 9, - "end_line": 11 + "start_line": 10, + "end_line": 10 } ], "scan_errors": [] @@ -214,14 +214,14 @@ { "value": "Copyright 2010, Red Hat, Inc. and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "Red Hat, Inc. and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [], @@ -236,7 +236,7 @@ { "value": "Bela Ban", "start_line": 4, - "end_line": 5 + "end_line": 4 } ], "scan_errors": [] @@ -250,7 +250,7 @@ { "value": "Bela Ban", "start_line": 3, - "end_line": 4 + "end_line": 3 } ], "scan_errors": [] @@ -262,14 +262,14 @@ { "value": "Copyright 2009, Red Hat Middleware LLC, and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "Red Hat Middleware LLC, and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [], @@ -283,8 +283,8 @@ "authors": [ { "value": "Bela Ban", - "start_line": 1, - "end_line": 4 + "start_line": 3, + "end_line": 3 } ], "scan_errors": [] @@ -312,14 +312,14 @@ { "value": "Copyright (c) 1995-2011 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -352,14 +352,14 @@ { "value": "Copyright (c) 1995-2013 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -408,14 +408,14 @@ { "value": "Copyright (c) 1995-2011 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -428,14 +428,14 @@ { "value": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly and Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -448,14 +448,14 @@ { "value": "Copyright (c) 1995-2012 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -476,14 +476,14 @@ { "value": "Copyright (c) 2004 by Henrik Ravn", "start_line": 14, - "end_line": 16 + "end_line": 14 } ], "holders": [ { "value": "Henrik Ravn", "start_line": 14, - "end_line": 16 + "end_line": 14 } ], "authors": [], @@ -538,7 +538,7 @@ { "value": "Gilles Vollant", "start_line": 12, - "end_line": 15 + "end_line": 12 } ], "scan_errors": [] @@ -558,14 +558,14 @@ { "value": "Copyright (c) 1995-2008 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -578,14 +578,14 @@ { "value": "Copyright (c) 2003 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -612,7 +612,7 @@ "holders": [ { "value": "Christian Michelsen Research AS Advanced Computing", - "start_line": 3, + "start_line": 4, "end_line": 5 } ], @@ -646,14 +646,14 @@ { "value": "Copyright (c) 1995-2005, 2010, 2011, 2012 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -666,14 +666,14 @@ { "value": "Copyright (c) 1995-2013 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], diff --git a/tests/summarycode/data/copyright_summary/summary2.expected.json b/tests/summarycode/data/copyright_summary/summary2.expected.json index eabbe43f490..4be1e2d909d 100644 --- a/tests/summarycode/data/copyright_summary/summary2.expected.json +++ b/tests/summarycode/data/copyright_summary/summary2.expected.json @@ -60,11 +60,11 @@ { "value": "Copyright (c) Mort Bay Consulting Pty. Ltd. (Australia) and others", "start_line": 44, - "end_line": 46 + "end_line": 45 }, { "value": "copyright Sun Microsystems Inc.", - "start_line": 44, + "start_line": 46, "end_line": 46 } ], @@ -72,11 +72,11 @@ { "value": "Mort Bay Consulting Pty. Ltd. (Australia) and others", "start_line": 44, - "end_line": 46 + "end_line": 45 }, { "value": "Sun Microsystems Inc.", - "start_line": 44, + "start_line": 46, "end_line": 46 } ], diff --git a/tests/summarycode/data/copyright_summary/summary_details.expected.json b/tests/summarycode/data/copyright_summary/summary_details.expected.json index 07de1b9a931..85ec6adeb5d 100644 --- a/tests/summarycode/data/copyright_summary/summary_details.expected.json +++ b/tests/summarycode/data/copyright_summary/summary_details.expected.json @@ -400,14 +400,14 @@ { "value": "Copyright 2005, JBoss Inc., and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "JBoss Inc., and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [], @@ -440,21 +440,21 @@ { "value": "Copyright (c) 2005 Brian Goetz and Tim Peierls", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "Brian Goetz and Tim Peierls", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [ { "value": "Bela Ban", - "start_line": 9, - "end_line": 11 + "start_line": 10, + "end_line": 10 } ], "summary": { @@ -486,14 +486,14 @@ { "value": "Copyright 2010, Red Hat, Inc. and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "Red Hat, Inc. and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [], @@ -528,7 +528,7 @@ { "value": "Bela Ban", "start_line": 4, - "end_line": 5 + "end_line": 4 } ], "summary": { @@ -562,7 +562,7 @@ { "value": "Bela Ban", "start_line": 3, - "end_line": 4 + "end_line": 3 } ], "summary": { @@ -594,14 +594,14 @@ { "value": "Copyright 2009, Red Hat Middleware LLC, and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "Red Hat Middleware LLC, and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [], @@ -635,8 +635,8 @@ "authors": [ { "value": "Bela Ban", - "start_line": 1, - "end_line": 4 + "start_line": 3, + "end_line": 3 } ], "summary": { @@ -740,14 +740,14 @@ { "value": "Copyright (c) 1995-2011 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -820,14 +820,14 @@ { "value": "Copyright (c) 1995-2013 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1012,14 +1012,14 @@ { "value": "Copyright (c) 1995-2011 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1052,14 +1052,14 @@ { "value": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly and Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1092,14 +1092,14 @@ { "value": "Copyright (c) 1995-2012 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1164,14 +1164,14 @@ { "value": "Copyright (c) 2004 by Henrik Ravn", "start_line": 14, - "end_line": 16 + "end_line": 14 } ], "holders": [ { "value": "Henrik Ravn", "start_line": 14, - "end_line": 16 + "end_line": 14 } ], "authors": [], @@ -1286,7 +1286,7 @@ { "value": "Gilles Vollant", "start_line": 12, - "end_line": 15 + "end_line": 12 } ], "summary": { @@ -1346,14 +1346,14 @@ { "value": "Copyright (c) 1995-2008 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1386,14 +1386,14 @@ { "value": "Copyright (c) 2003 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1460,7 +1460,7 @@ "holders": [ { "value": "Christian Michelsen Research AS Advanced Computing", - "start_line": 3, + "start_line": 4, "end_line": 5 } ], @@ -1534,14 +1534,14 @@ { "value": "Copyright (c) 1995-2005, 2010, 2011, 2012 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1574,14 +1574,14 @@ { "value": "Copyright (c) 1995-2013 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], diff --git a/tests/summarycode/data/copyright_summary/summary_details.expected2.json b/tests/summarycode/data/copyright_summary/summary_details.expected2.json index f0667e67863..090d1da5632 100644 --- a/tests/summarycode/data/copyright_summary/summary_details.expected2.json +++ b/tests/summarycode/data/copyright_summary/summary_details.expected2.json @@ -400,14 +400,14 @@ { "value": "Copyright 2005, JBoss Inc., and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "JBoss Inc., and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [], @@ -440,21 +440,21 @@ { "value": "Copyright (c) 2005 Brian Goetz and Tim Peierls", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "Brian Goetz and Tim Peierls", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [ { "value": "Bela Ban", - "start_line": 9, - "end_line": 11 + "start_line": 10, + "end_line": 10 } ], "summary": { @@ -486,14 +486,14 @@ { "value": "Copyright 2010, Red Hat, Inc. and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "Red Hat, Inc. and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [], @@ -528,7 +528,7 @@ { "value": "Bela Ban", "start_line": 4, - "end_line": 5 + "end_line": 4 } ], "summary": { @@ -562,7 +562,7 @@ { "value": "Bela Ban", "start_line": 3, - "end_line": 4 + "end_line": 3 } ], "summary": { @@ -594,14 +594,14 @@ { "value": "Copyright 2009, Red Hat Middleware LLC, and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "Red Hat Middleware LLC, and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [], @@ -635,8 +635,8 @@ "authors": [ { "value": "Bela Ban", - "start_line": 1, - "end_line": 4 + "start_line": 3, + "end_line": 3 } ], "summary": { @@ -740,14 +740,14 @@ { "value": "Copyright (c) 1995-2011 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -820,14 +820,14 @@ { "value": "Copyright (c) 1995-2013 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1012,14 +1012,14 @@ { "value": "Copyright (c) 1995-2011 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1052,14 +1052,14 @@ { "value": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly and Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1092,14 +1092,14 @@ { "value": "Copyright (c) 1995-2012 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1164,14 +1164,14 @@ { "value": "Copyright (c) 2004 by Henrik Ravn", "start_line": 14, - "end_line": 16 + "end_line": 14 } ], "holders": [ { "value": "Henrik Ravn", "start_line": 14, - "end_line": 16 + "end_line": 14 } ], "authors": [], @@ -1286,7 +1286,7 @@ { "value": "Gilles Vollant", "start_line": 12, - "end_line": 15 + "end_line": 12 } ], "summary": { @@ -1346,14 +1346,14 @@ { "value": "Copyright (c) 1995-2008 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1386,14 +1386,14 @@ { "value": "Copyright (c) 2003 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1460,7 +1460,7 @@ "holders": [ { "value": "Christian Michelsen Research AS Advanced Computing", - "start_line": 3, + "start_line": 4, "end_line": 5 } ], @@ -1534,14 +1534,14 @@ { "value": "Copyright (c) 1995-2005, 2010, 2011, 2012 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1574,14 +1574,14 @@ { "value": "Copyright (c) 1995-2013 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], diff --git a/tests/summarycode/data/copyright_summary/summary_key_files.expected.json b/tests/summarycode/data/copyright_summary/summary_key_files.expected.json index 29a90cb82a8..d341278ffd9 100644 --- a/tests/summarycode/data/copyright_summary/summary_key_files.expected.json +++ b/tests/summarycode/data/copyright_summary/summary_key_files.expected.json @@ -307,14 +307,14 @@ { "value": "Copyright 2005, JBoss Inc., and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "JBoss Inc., and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [], @@ -351,21 +351,21 @@ { "value": "Copyright (c) 2005 Brian Goetz and Tim Peierls", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "Brian Goetz and Tim Peierls", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [ { "value": "Bela Ban", - "start_line": 9, - "end_line": 11 + "start_line": 10, + "end_line": 10 } ], "is_legal": false, @@ -401,14 +401,14 @@ { "value": "Copyright 2010, Red Hat, Inc. and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "Red Hat, Inc. and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [], @@ -447,7 +447,7 @@ { "value": "Bela Ban", "start_line": 4, - "end_line": 5 + "end_line": 4 } ], "is_legal": false, @@ -485,7 +485,7 @@ { "value": "Bela Ban", "start_line": 3, - "end_line": 4 + "end_line": 3 } ], "is_legal": false, @@ -521,14 +521,14 @@ { "value": "Copyright 2009, Red Hat Middleware LLC, and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "Red Hat Middleware LLC, and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [], @@ -566,8 +566,8 @@ "authors": [ { "value": "Bela Ban", - "start_line": 1, - "end_line": 4 + "start_line": 3, + "end_line": 3 } ], "is_legal": false, @@ -667,14 +667,14 @@ { "value": "Copyright (c) 1995-2011 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -755,14 +755,14 @@ { "value": "Copyright (c) 1995-2013 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -907,14 +907,14 @@ { "value": "Copyright (c) 1995-2011 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -951,14 +951,14 @@ { "value": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly and Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -995,14 +995,14 @@ { "value": "Copyright (c) 1995-2012 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1071,14 +1071,14 @@ { "value": "Copyright (c) 2004 by Henrik Ravn", "start_line": 14, - "end_line": 16 + "end_line": 14 } ], "holders": [ { "value": "Henrik Ravn", "start_line": 14, - "end_line": 16 + "end_line": 14 } ], "authors": [], @@ -1205,7 +1205,7 @@ { "value": "Gilles Vollant", "start_line": 12, - "end_line": 15 + "end_line": 12 } ], "is_legal": false, @@ -1273,14 +1273,14 @@ { "value": "Copyright (c) 1995-2008 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1317,14 +1317,14 @@ { "value": "Copyright (c) 2003 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1399,7 +1399,7 @@ "holders": [ { "value": "Christian Michelsen Research AS Advanced Computing", - "start_line": 3, + "start_line": 4, "end_line": 5 } ], @@ -1481,14 +1481,14 @@ { "value": "Copyright (c) 1995-2005, 2010, 2011, 2012 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1525,14 +1525,14 @@ { "value": "Copyright (c) 1995-2013 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], diff --git a/tests/summarycode/data/end-2-end/bug-1141.expected.json b/tests/summarycode/data/end-2-end/bug-1141.expected.json index b7269153314..b6b6146e245 100644 --- a/tests/summarycode/data/end-2-end/bug-1141.expected.json +++ b/tests/summarycode/data/end-2-end/bug-1141.expected.json @@ -293,6 +293,7 @@ "short_name": "GPL 3.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", @@ -309,11 +310,13 @@ "licenses": [ "gpl-3.0-plus" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "1-hash", "rule_length": 102, "matched_length": 102, @@ -520,6 +523,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -536,11 +540,13 @@ "licenses": [ "gpl-2.0-plus" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 102, "matched_length": 102, @@ -564,7 +570,7 @@ { "value": "Members of the Gmerlin project", "start_line": 4, - "end_line": 6 + "end_line": 4 } ], "authors": [], diff --git a/tests/summarycode/data/full_summary/summary.expected.json b/tests/summarycode/data/full_summary/summary.expected.json index 227ff1a0c63..2c2b88b4c05 100644 --- a/tests/summarycode/data/full_summary/summary.expected.json +++ b/tests/summarycode/data/full_summary/summary.expected.json @@ -3035,6 +3035,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/npm@2.13.5", "repository_homepage_url": "https://www.npmjs.com/package/npm", "repository_download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", @@ -3169,6 +3170,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -3185,11 +3187,13 @@ "licenses": [ "lgpl-2.1-plus" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 125, "matched_length": 125, @@ -3206,14 +3210,14 @@ { "value": "Copyright 2005, JBoss Inc., and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "JBoss Inc., and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [], @@ -3250,6 +3254,7 @@ "short_name": "CC-BY-2.5", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Creative Commons", "homepage_url": "http://creativecommons.org/licenses/by/2.5/", "text_url": "http://creativecommons.org/licenses/by/2.5/legalcode", @@ -3266,11 +3271,13 @@ "licenses": [ "cc-by-2.5" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 14, "matched_length": 14, @@ -3287,21 +3294,21 @@ { "value": "Copyright (c) 2005 Brian Goetz and Tim Peierls", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "Brian Goetz and Tim Peierls", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [ { "value": "Bela Ban", - "start_line": 9, - "end_line": 11 + "start_line": 10, + "end_line": 10 } ], "packages": [], @@ -3337,6 +3344,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -3353,11 +3361,13 @@ "licenses": [ "lgpl-2.1-plus" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 125, "matched_length": 125, @@ -3374,14 +3384,14 @@ { "value": "Copyright 2010, Red Hat, Inc. and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "Red Hat, Inc. and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [], @@ -3419,7 +3429,7 @@ { "value": "Bela Ban", "start_line": 4, - "end_line": 5 + "end_line": 4 } ], "packages": [], @@ -3456,7 +3466,7 @@ { "value": "Bela Ban", "start_line": 3, - "end_line": 4 + "end_line": 3 } ], "packages": [], @@ -3492,6 +3502,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -3508,11 +3519,13 @@ "licenses": [ "lgpl-2.1-plus" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 125, "matched_length": 125, @@ -3529,14 +3542,14 @@ { "value": "Copyright 2009, Red Hat Middleware LLC, and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "Red Hat Middleware LLC, and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [], @@ -3573,8 +3586,8 @@ "authors": [ { "value": "Bela Ban", - "start_line": 1, - "end_line": 4 + "start_line": 3, + "end_line": 3 } ], "packages": [], @@ -3672,6 +3685,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -3688,11 +3702,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -3709,14 +3727,14 @@ { "value": "Copyright (c) 1995-2011 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -3753,6 +3771,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -3769,11 +3788,13 @@ "licenses": [ "zlib" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 144, "matched_length": 144, @@ -3834,6 +3855,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -3850,11 +3872,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -3871,14 +3897,14 @@ { "value": "Copyright (c) 1995-2013 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -3915,6 +3941,7 @@ "short_name": "CC0-1.0", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Creative Commons", "homepage_url": "http://creativecommons.org/publicdomain/zero/1.0/", "text_url": "http://creativecommons.org/publicdomain/zero/1.0/legalcode", @@ -3931,11 +3958,13 @@ "licenses": [ "cc0-1.0" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "3-seq", "rule_length": 975, "matched_length": 967, @@ -3984,6 +4013,7 @@ "short_name": "Artistic 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Perl Foundation", "homepage_url": "http://www.perlfoundation.org/", "text_url": "https://www.perlfoundation.org/artistic_license_2_0", @@ -4000,11 +4030,13 @@ "licenses": [ "artistic-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -4023,7 +4055,7 @@ { "value": "name' Isaac Z.", "start_line": 16, - "end_line": 18 + "end_line": 17 } ], "packages": [ @@ -6859,6 +6891,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/npm@2.13.5", "repository_homepage_url": "https://www.npmjs.com/package/npm", "repository_download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", @@ -6965,6 +6998,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -6982,11 +7016,13 @@ "gpl-2.0-plus", "ada-linking-exception" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 176, "matched_length": 176, @@ -7001,6 +7037,7 @@ "short_name": "Ada linking exception to GPL 2.0 or later", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Dmitriy Anisimkov", "homepage_url": null, "text_url": "", @@ -7018,11 +7055,13 @@ "gpl-2.0-plus", "ada-linking-exception" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 176, "matched_length": 176, @@ -7083,6 +7122,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -7099,11 +7139,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -7120,14 +7164,14 @@ { "value": "Copyright (c) 1995-2011 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -7164,6 +7208,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -7180,11 +7225,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -7201,14 +7250,14 @@ { "value": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly and Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -7245,6 +7294,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -7261,11 +7311,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -7282,14 +7336,14 @@ { "value": "Copyright (c) 1995-2012 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -7356,14 +7410,14 @@ { "value": "Copyright (c) 2004 by Henrik Ravn", "start_line": 14, - "end_line": 16 + "end_line": 14 } ], "holders": [ { "value": "Henrik Ravn", "start_line": 14, - "end_line": 16 + "end_line": 14 } ], "authors": [], @@ -7400,6 +7454,7 @@ "short_name": "Boost 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Boost", "homepage_url": "http://www.boost.org/users/license.html", "text_url": "http://www.boost.org/LICENSE_1_0.txt", @@ -7416,11 +7471,15 @@ "licenses": [ "boost-1.0" ], + "referenced_filenames": [ + "LICENSE_1_0.txt" + ], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 32, "matched_length": 32, @@ -7512,6 +7571,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -7528,11 +7588,13 @@ "licenses": [ "zlib" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 132, "matched_length": 132, @@ -7563,7 +7625,7 @@ { "value": "Gilles Vollant", "start_line": 12, - "end_line": 15 + "end_line": 12 } ], "packages": [], @@ -7630,6 +7692,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -7646,11 +7709,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -7667,14 +7734,14 @@ { "value": "Copyright (c) 1995-2008 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -7711,6 +7778,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -7727,11 +7795,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -7748,14 +7820,14 @@ { "value": "Copyright (c) 2003 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -7823,6 +7895,7 @@ "short_name": "MIT Old Style", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", "text_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", @@ -7839,11 +7912,13 @@ "licenses": [ "mit-old-style" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 71, "matched_length": 71, @@ -7866,7 +7941,7 @@ "holders": [ { "value": "Christian Michelsen Research AS Advanced Computing", - "start_line": 3, + "start_line": 4, "end_line": 5 } ], @@ -7904,6 +7979,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -7920,11 +7996,13 @@ "licenses": [ "zlib" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 144, "matched_length": 144, @@ -7985,6 +8063,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -8001,11 +8080,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -8022,14 +8105,14 @@ { "value": "Copyright (c) 1995-2005, 2010, 2011, 2012 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -8066,6 +8149,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -8082,11 +8166,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -8103,14 +8191,14 @@ { "value": "Copyright (c) 1995-2013 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], diff --git a/tests/summarycode/data/full_summary/summary_by_facet.expected.json b/tests/summarycode/data/full_summary/summary_by_facet.expected.json index 545a11df3c1..34b879c5200 100644 --- a/tests/summarycode/data/full_summary/summary_by_facet.expected.json +++ b/tests/summarycode/data/full_summary/summary_by_facet.expected.json @@ -651,6 +651,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -667,11 +668,13 @@ "licenses": [ "lgpl-2.1-plus" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 125, "matched_length": 125, @@ -688,14 +691,14 @@ { "value": "Copyright 2005, JBoss Inc., and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "JBoss Inc., and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [], @@ -734,6 +737,7 @@ "short_name": "CC-BY-2.5", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Creative Commons", "homepage_url": "http://creativecommons.org/licenses/by/2.5/", "text_url": "http://creativecommons.org/licenses/by/2.5/legalcode", @@ -750,11 +754,13 @@ "licenses": [ "cc-by-2.5" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 14, "matched_length": 14, @@ -771,21 +777,21 @@ { "value": "Copyright (c) 2005 Brian Goetz and Tim Peierls", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "Brian Goetz and Tim Peierls", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [ { "value": "Bela Ban", - "start_line": 9, - "end_line": 11 + "start_line": 10, + "end_line": 10 } ], "facets": [ @@ -823,6 +829,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -839,11 +846,13 @@ "licenses": [ "lgpl-2.1-plus" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 125, "matched_length": 125, @@ -860,14 +869,14 @@ { "value": "Copyright 2010, Red Hat, Inc. and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "Red Hat, Inc. and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [], @@ -907,7 +916,7 @@ { "value": "Bela Ban", "start_line": 4, - "end_line": 5 + "end_line": 4 } ], "facets": [ @@ -946,7 +955,7 @@ { "value": "Bela Ban", "start_line": 3, - "end_line": 4 + "end_line": 3 } ], "facets": [ @@ -984,6 +993,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -1000,11 +1010,13 @@ "licenses": [ "lgpl-2.1-plus" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 125, "matched_length": 125, @@ -1021,14 +1033,14 @@ { "value": "Copyright 2009, Red Hat Middleware LLC, and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "Red Hat Middleware LLC, and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [], @@ -1067,8 +1079,8 @@ "authors": [ { "value": "Bela Ban", - "start_line": 1, - "end_line": 4 + "start_line": 3, + "end_line": 3 } ], "facets": [ @@ -1170,6 +1182,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1186,11 +1199,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -1207,14 +1224,14 @@ { "value": "Copyright (c) 1995-2011 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1253,6 +1270,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1269,11 +1287,13 @@ "licenses": [ "zlib" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 144, "matched_length": 144, @@ -1336,6 +1356,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1352,11 +1373,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -1373,14 +1398,14 @@ { "value": "Copyright (c) 1995-2013 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1419,6 +1444,7 @@ "short_name": "CC0-1.0", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Creative Commons", "homepage_url": "http://creativecommons.org/publicdomain/zero/1.0/", "text_url": "http://creativecommons.org/publicdomain/zero/1.0/legalcode", @@ -1435,11 +1461,13 @@ "licenses": [ "cc0-1.0" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "3-seq", "rule_length": 975, "matched_length": 967, @@ -1490,6 +1518,7 @@ "short_name": "Artistic 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Perl Foundation", "homepage_url": "http://www.perlfoundation.org/", "text_url": "https://www.perlfoundation.org/artistic_license_2_0", @@ -1506,11 +1535,13 @@ "licenses": [ "artistic-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -1529,7 +1560,7 @@ { "value": "name' Isaac Z.", "start_line": 16, - "end_line": 18 + "end_line": 17 } ], "facets": [ @@ -1629,6 +1660,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -1646,11 +1678,13 @@ "gpl-2.0-plus", "ada-linking-exception" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 176, "matched_length": 176, @@ -1665,6 +1699,7 @@ "short_name": "Ada linking exception to GPL 2.0 or later", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Dmitriy Anisimkov", "homepage_url": null, "text_url": "", @@ -1682,11 +1717,13 @@ "gpl-2.0-plus", "ada-linking-exception" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 176, "matched_length": 176, @@ -1749,6 +1786,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1765,11 +1803,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -1786,14 +1828,14 @@ { "value": "Copyright (c) 1995-2011 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1832,6 +1874,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1848,11 +1891,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -1869,14 +1916,14 @@ { "value": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly and Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1915,6 +1962,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1931,11 +1979,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -1952,14 +2004,14 @@ { "value": "Copyright (c) 1995-2012 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -2028,14 +2080,14 @@ { "value": "Copyright (c) 2004 by Henrik Ravn", "start_line": 14, - "end_line": 16 + "end_line": 14 } ], "holders": [ { "value": "Henrik Ravn", "start_line": 14, - "end_line": 16 + "end_line": 14 } ], "authors": [], @@ -2074,6 +2126,7 @@ "short_name": "Boost 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Boost", "homepage_url": "http://www.boost.org/users/license.html", "text_url": "http://www.boost.org/LICENSE_1_0.txt", @@ -2090,11 +2143,15 @@ "licenses": [ "boost-1.0" ], + "referenced_filenames": [ + "LICENSE_1_0.txt" + ], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 32, "matched_length": 32, @@ -2188,6 +2245,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -2204,11 +2262,13 @@ "licenses": [ "zlib" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 132, "matched_length": 132, @@ -2239,7 +2299,7 @@ { "value": "Gilles Vollant", "start_line": 12, - "end_line": 15 + "end_line": 12 } ], "facets": [ @@ -2308,6 +2368,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -2324,11 +2385,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -2345,14 +2410,14 @@ { "value": "Copyright (c) 1995-2008 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -2391,6 +2456,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -2407,11 +2473,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -2428,14 +2498,14 @@ { "value": "Copyright (c) 2003 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -2505,6 +2575,7 @@ "short_name": "MIT Old Style", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", "text_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", @@ -2521,11 +2592,13 @@ "licenses": [ "mit-old-style" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 71, "matched_length": 71, @@ -2548,7 +2621,7 @@ "holders": [ { "value": "Christian Michelsen Research AS Advanced Computing", - "start_line": 3, + "start_line": 4, "end_line": 5 } ], @@ -2588,6 +2661,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -2604,11 +2678,13 @@ "licenses": [ "zlib" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 144, "matched_length": 144, @@ -2671,6 +2747,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -2687,11 +2764,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -2708,14 +2789,14 @@ { "value": "Copyright (c) 1995-2005, 2010, 2011, 2012 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -2754,6 +2835,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -2770,11 +2852,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -2791,14 +2877,14 @@ { "value": "Copyright (c) 1995-2013 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], diff --git a/tests/summarycode/data/full_summary/summary_details.expected.json b/tests/summarycode/data/full_summary/summary_details.expected.json index a7e840503c1..18719c054be 100644 --- a/tests/summarycode/data/full_summary/summary_details.expected.json +++ b/tests/summarycode/data/full_summary/summary_details.expected.json @@ -660,6 +660,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -676,11 +677,13 @@ "licenses": [ "lgpl-2.1-plus" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 125, "matched_length": 125, @@ -697,14 +700,14 @@ { "value": "Copyright 2005, JBoss Inc., and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "JBoss Inc., and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [], @@ -773,6 +776,7 @@ "short_name": "CC-BY-2.5", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Creative Commons", "homepage_url": "http://creativecommons.org/licenses/by/2.5/", "text_url": "http://creativecommons.org/licenses/by/2.5/legalcode", @@ -789,11 +793,13 @@ "licenses": [ "cc-by-2.5" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 14, "matched_length": 14, @@ -810,21 +816,21 @@ { "value": "Copyright (c) 2005 Brian Goetz and Tim Peierls", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "Brian Goetz and Tim Peierls", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [ { "value": "Bela Ban", - "start_line": 9, - "end_line": 11 + "start_line": 10, + "end_line": 10 } ], "packages": [], @@ -892,6 +898,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -908,11 +915,13 @@ "licenses": [ "lgpl-2.1-plus" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 125, "matched_length": 125, @@ -929,14 +938,14 @@ { "value": "Copyright 2010, Red Hat, Inc. and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "Red Hat, Inc. and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [], @@ -1006,7 +1015,7 @@ { "value": "Bela Ban", "start_line": 4, - "end_line": 5 + "end_line": 4 } ], "packages": [], @@ -1075,7 +1084,7 @@ { "value": "Bela Ban", "start_line": 3, - "end_line": 4 + "end_line": 3 } ], "packages": [], @@ -1143,6 +1152,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -1159,11 +1169,13 @@ "licenses": [ "lgpl-2.1-plus" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 125, "matched_length": 125, @@ -1180,14 +1192,14 @@ { "value": "Copyright 2009, Red Hat Middleware LLC, and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "Red Hat Middleware LLC, and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [], @@ -1256,8 +1268,8 @@ "authors": [ { "value": "Bela Ban", - "start_line": 1, - "end_line": 4 + "start_line": 3, + "end_line": 3 } ], "packages": [], @@ -1467,6 +1479,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1483,11 +1496,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -1504,14 +1521,14 @@ { "value": "Copyright (c) 1995-2011 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1580,6 +1597,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1596,11 +1614,13 @@ "licenses": [ "zlib" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 144, "matched_length": 144, @@ -1693,6 +1713,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1709,11 +1730,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -1730,14 +1755,14 @@ { "value": "Copyright (c) 1995-2013 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1806,6 +1831,7 @@ "short_name": "CC0-1.0", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Creative Commons", "homepage_url": "http://creativecommons.org/publicdomain/zero/1.0/", "text_url": "http://creativecommons.org/publicdomain/zero/1.0/legalcode", @@ -1822,11 +1848,13 @@ "licenses": [ "cc0-1.0" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "3-seq", "rule_length": 975, "matched_length": 967, @@ -1907,6 +1935,7 @@ "short_name": "Artistic 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Perl Foundation", "homepage_url": "http://www.perlfoundation.org/", "text_url": "https://www.perlfoundation.org/artistic_license_2_0", @@ -1923,11 +1952,13 @@ "licenses": [ "artistic-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -1946,7 +1977,7 @@ { "value": "name' Isaac Z.", "start_line": 16, - "end_line": 18 + "end_line": 17 } ], "packages": [ @@ -4782,6 +4813,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/npm@2.13.5", "repository_homepage_url": "https://www.npmjs.com/package/npm", "repository_download_url": "https://registry.npmjs.org/npm/-/npm-2.13.5.tgz", @@ -5068,6 +5100,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -5085,11 +5118,13 @@ "gpl-2.0-plus", "ada-linking-exception" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 176, "matched_length": 176, @@ -5104,6 +5139,7 @@ "short_name": "Ada linking exception to GPL 2.0 or later", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Dmitriy Anisimkov", "homepage_url": null, "text_url": "", @@ -5121,11 +5157,13 @@ "gpl-2.0-plus", "ada-linking-exception" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 176, "matched_length": 176, @@ -5218,6 +5256,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -5234,11 +5273,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -5255,14 +5298,14 @@ { "value": "Copyright (c) 1995-2011 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -5331,6 +5374,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -5347,11 +5391,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -5368,14 +5416,14 @@ { "value": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly and Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -5444,6 +5492,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -5460,11 +5509,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -5481,14 +5534,14 @@ { "value": "Copyright (c) 1995-2012 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -5627,14 +5680,14 @@ { "value": "Copyright (c) 2004 by Henrik Ravn", "start_line": 14, - "end_line": 16 + "end_line": 14 } ], "holders": [ { "value": "Henrik Ravn", "start_line": 14, - "end_line": 16 + "end_line": 14 } ], "authors": [], @@ -5703,6 +5756,7 @@ "short_name": "Boost 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Boost", "homepage_url": "http://www.boost.org/users/license.html", "text_url": "http://www.boost.org/LICENSE_1_0.txt", @@ -5719,11 +5773,15 @@ "licenses": [ "boost-1.0" ], + "referenced_filenames": [ + "LICENSE_1_0.txt" + ], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 32, "matched_length": 32, @@ -5879,6 +5937,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -5895,11 +5954,13 @@ "licenses": [ "zlib" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 132, "matched_length": 132, @@ -5930,7 +5991,7 @@ { "value": "Gilles Vollant", "start_line": 12, - "end_line": 15 + "end_line": 12 } ], "packages": [], @@ -6061,6 +6122,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -6077,11 +6139,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -6098,14 +6164,14 @@ { "value": "Copyright (c) 1995-2008 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -6174,6 +6240,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -6190,11 +6257,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -6211,14 +6282,14 @@ { "value": "Copyright (c) 2003 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -6350,6 +6421,7 @@ "short_name": "MIT Old Style", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", "text_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", @@ -6366,11 +6438,13 @@ "licenses": [ "mit-old-style" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 71, "matched_length": 71, @@ -6393,7 +6467,7 @@ "holders": [ { "value": "Christian Michelsen Research AS Advanced Computing", - "start_line": 3, + "start_line": 4, "end_line": 5 } ], @@ -6463,6 +6537,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -6479,11 +6554,13 @@ "licenses": [ "zlib" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 144, "matched_length": 144, @@ -6576,6 +6653,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -6592,11 +6670,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -6613,14 +6695,14 @@ { "value": "Copyright (c) 1995-2005, 2010, 2011, 2012 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -6689,6 +6771,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -6705,11 +6788,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -6726,14 +6813,14 @@ { "value": "Copyright (c) 1995-2013 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], diff --git a/tests/summarycode/data/full_summary/summary_key_files-details.expected.json-lines b/tests/summarycode/data/full_summary/summary_key_files-details.expected.json-lines index 6de37e93b9d..0e0b2f40552 100644 --- a/tests/summarycode/data/full_summary/summary_key_files-details.expected.json-lines +++ b/tests/summarycode/data/full_summary/summary_key_files-details.expected.json-lines @@ -322,6 +322,7 @@ "short_name": "CC0-1.0", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Creative Commons", "homepage_url": "http://creativecommons.org/publicdomain/zero/1.0/", "text_url": "http://creativecommons.org/publicdomain/zero/1.0/legalcode", @@ -338,11 +339,13 @@ "licenses": [ "cc0-1.0" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "3-seq", "rule_length": 975, "matched_length": 967, @@ -399,6 +402,7 @@ "short_name": "Artistic 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Perl Foundation", "homepage_url": "http://www.perlfoundation.org/", "text_url": "https://www.perlfoundation.org/artistic_license_2_0", @@ -415,11 +419,13 @@ "licenses": [ "artistic-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -438,7 +444,7 @@ { "value": "name' Isaac Z.", "start_line": 16, - "end_line": 18 + "end_line": 17 } ], "is_legal": false, @@ -560,6 +566,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -576,11 +583,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -597,14 +608,14 @@ { "value": "Copyright (c) 1995-2011 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -649,6 +660,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -665,11 +677,13 @@ "licenses": [ "zlib" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 144, "matched_length": 144, @@ -738,6 +752,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -754,11 +769,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -775,14 +794,14 @@ { "value": "Copyright (c) 1995-2013 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -905,6 +924,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -921,11 +941,13 @@ "licenses": [ "lgpl-2.1-plus" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 125, "matched_length": 125, @@ -942,14 +964,14 @@ { "value": "Copyright 2005, JBoss Inc., and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "JBoss Inc., and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [], @@ -994,6 +1016,7 @@ "short_name": "CC-BY-2.5", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Creative Commons", "homepage_url": "http://creativecommons.org/licenses/by/2.5/", "text_url": "http://creativecommons.org/licenses/by/2.5/legalcode", @@ -1010,11 +1033,13 @@ "licenses": [ "cc-by-2.5" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 14, "matched_length": 14, @@ -1031,21 +1056,21 @@ { "value": "Copyright (c) 2005 Brian Goetz and Tim Peierls", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "Brian Goetz and Tim Peierls", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [ { "value": "Bela Ban", - "start_line": 9, - "end_line": 11 + "start_line": 10, + "end_line": 10 } ], "is_legal": false, @@ -1089,6 +1114,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -1105,11 +1131,13 @@ "licenses": [ "lgpl-2.1-plus" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 125, "matched_length": 125, @@ -1126,14 +1154,14 @@ { "value": "Copyright 2010, Red Hat, Inc. and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "Red Hat, Inc. and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [], @@ -1179,7 +1207,7 @@ { "value": "Bela Ban", "start_line": 4, - "end_line": 5 + "end_line": 4 } ], "is_legal": false, @@ -1224,7 +1252,7 @@ { "value": "Bela Ban", "start_line": 3, - "end_line": 4 + "end_line": 3 } ], "is_legal": false, @@ -1268,6 +1296,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -1284,11 +1313,13 @@ "licenses": [ "lgpl-2.1-plus" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 125, "matched_length": 125, @@ -1305,14 +1336,14 @@ { "value": "Copyright 2009, Red Hat Middleware LLC, and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "Red Hat Middleware LLC, and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [], @@ -1357,8 +1388,8 @@ "authors": [ { "value": "Bela Ban", - "start_line": 1, - "end_line": 4 + "start_line": 3, + "end_line": 3 } ], "is_legal": false, @@ -1441,6 +1472,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1457,11 +1489,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -1478,14 +1514,14 @@ { "value": "Copyright (c) 1995-2011 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1530,6 +1566,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1546,11 +1583,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -1567,14 +1608,14 @@ { "value": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly and Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1619,6 +1660,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1635,11 +1677,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -1656,14 +1702,14 @@ { "value": "Copyright (c) 1995-2012 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1708,6 +1754,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1724,11 +1771,13 @@ "licenses": [ "zlib" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 144, "matched_length": 144, @@ -1797,6 +1846,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1813,11 +1863,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -1834,14 +1888,14 @@ { "value": "Copyright (c) 1995-2005, 2010, 2011, 2012 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1886,6 +1940,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1902,11 +1957,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -1923,14 +1982,14 @@ { "value": "Copyright (c) 1995-2013 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -2014,6 +2073,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -2031,11 +2091,13 @@ "gpl-2.0-plus", "ada-linking-exception" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 176, "matched_length": 176, @@ -2050,6 +2112,7 @@ "short_name": "Ada linking exception to GPL 2.0 or later", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Dmitriy Anisimkov", "homepage_url": null, "text_url": "", @@ -2067,11 +2130,13 @@ "gpl-2.0-plus", "ada-linking-exception" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 176, "matched_length": 176, @@ -2178,14 +2243,14 @@ { "value": "Copyright (c) 2004 by Henrik Ravn", "start_line": 14, - "end_line": 16 + "end_line": 14 } ], "holders": [ { "value": "Henrik Ravn", "start_line": 14, - "end_line": 16 + "end_line": 14 } ], "authors": [], @@ -2230,6 +2295,7 @@ "short_name": "Boost 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Boost", "homepage_url": "http://www.boost.org/users/license.html", "text_url": "http://www.boost.org/LICENSE_1_0.txt", @@ -2246,11 +2312,15 @@ "licenses": [ "boost-1.0" ], + "referenced_filenames": [ + "LICENSE_1_0.txt" + ], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 32, "matched_length": 32, @@ -2358,6 +2428,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -2374,11 +2445,13 @@ "licenses": [ "zlib" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 132, "matched_length": 132, @@ -2409,7 +2482,7 @@ { "value": "Gilles Vollant", "start_line": 12, - "end_line": 15 + "end_line": 12 } ], "is_legal": false, @@ -2492,6 +2565,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -2508,11 +2582,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -2529,14 +2607,14 @@ { "value": "Copyright (c) 1995-2008 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -2581,6 +2659,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -2597,11 +2676,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -2618,14 +2701,14 @@ { "value": "Copyright (c) 2003 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -2709,6 +2792,7 @@ "short_name": "MIT Old Style", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", "text_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", @@ -2725,11 +2809,13 @@ "licenses": [ "mit-old-style" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 71, "matched_length": 71, @@ -2752,7 +2838,7 @@ "holders": [ { "value": "Christian Michelsen Research AS Advanced Computing", - "start_line": 3, + "start_line": 4, "end_line": 5 } ], diff --git a/tests/summarycode/data/full_summary/summary_key_files.expected.json b/tests/summarycode/data/full_summary/summary_key_files.expected.json index 49ed8775bfd..5df2ff745bc 100644 --- a/tests/summarycode/data/full_summary/summary_key_files.expected.json +++ b/tests/summarycode/data/full_summary/summary_key_files.expected.json @@ -381,6 +381,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -397,11 +398,13 @@ "licenses": [ "lgpl-2.1-plus" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 125, "matched_length": 125, @@ -418,14 +421,14 @@ { "value": "Copyright 2005, JBoss Inc., and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "JBoss Inc., and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [], @@ -466,6 +469,7 @@ "short_name": "CC-BY-2.5", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Creative Commons", "homepage_url": "http://creativecommons.org/licenses/by/2.5/", "text_url": "http://creativecommons.org/licenses/by/2.5/legalcode", @@ -482,11 +486,13 @@ "licenses": [ "cc-by-2.5" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 14, "matched_length": 14, @@ -503,21 +509,21 @@ { "value": "Copyright (c) 2005 Brian Goetz and Tim Peierls", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "Brian Goetz and Tim Peierls", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [ { "value": "Bela Ban", - "start_line": 9, - "end_line": 11 + "start_line": 10, + "end_line": 10 } ], "is_legal": false, @@ -557,6 +563,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -573,11 +580,13 @@ "licenses": [ "lgpl-2.1-plus" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 125, "matched_length": 125, @@ -594,14 +603,14 @@ { "value": "Copyright 2010, Red Hat, Inc. and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "Red Hat, Inc. and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [], @@ -643,7 +652,7 @@ { "value": "Bela Ban", "start_line": 4, - "end_line": 5 + "end_line": 4 } ], "is_legal": false, @@ -684,7 +693,7 @@ { "value": "Bela Ban", "start_line": 3, - "end_line": 4 + "end_line": 3 } ], "is_legal": false, @@ -724,6 +733,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -740,11 +750,13 @@ "licenses": [ "lgpl-2.1-plus" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 125, "matched_length": 125, @@ -761,14 +773,14 @@ { "value": "Copyright 2009, Red Hat Middleware LLC, and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "holders": [ { "value": "Red Hat Middleware LLC, and individual contributors", "start_line": 3, - "end_line": 5 + "end_line": 3 } ], "authors": [], @@ -809,8 +821,8 @@ "authors": [ { "value": "Bela Ban", - "start_line": 1, - "end_line": 4 + "start_line": 3, + "end_line": 3 } ], "is_legal": false, @@ -920,6 +932,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -936,11 +949,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -957,14 +974,14 @@ { "value": "Copyright (c) 1995-2011 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1005,6 +1022,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1021,11 +1039,13 @@ "licenses": [ "zlib" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 144, "matched_length": 144, @@ -1090,6 +1110,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1106,11 +1127,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -1127,14 +1152,14 @@ { "value": "Copyright (c) 1995-2013 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1175,6 +1200,7 @@ "short_name": "CC0-1.0", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Creative Commons", "homepage_url": "http://creativecommons.org/publicdomain/zero/1.0/", "text_url": "http://creativecommons.org/publicdomain/zero/1.0/legalcode", @@ -1191,11 +1217,13 @@ "licenses": [ "cc0-1.0" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "3-seq", "rule_length": 975, "matched_length": 967, @@ -1248,6 +1276,7 @@ "short_name": "Artistic 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Perl Foundation", "homepage_url": "http://www.perlfoundation.org/", "text_url": "https://www.perlfoundation.org/artistic_license_2_0", @@ -1264,11 +1293,13 @@ "licenses": [ "artistic-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -1287,7 +1318,7 @@ { "value": "name' Isaac Z.", "start_line": 16, - "end_line": 18 + "end_line": 17 } ], "is_legal": false, @@ -1397,6 +1428,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -1414,11 +1446,13 @@ "gpl-2.0-plus", "ada-linking-exception" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 176, "matched_length": 176, @@ -1433,6 +1467,7 @@ "short_name": "Ada linking exception to GPL 2.0 or later", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Dmitriy Anisimkov", "homepage_url": null, "text_url": "", @@ -1450,11 +1485,13 @@ "gpl-2.0-plus", "ada-linking-exception" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 176, "matched_length": 176, @@ -1519,6 +1556,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1535,11 +1573,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -1556,14 +1598,14 @@ { "value": "Copyright (c) 1995-2011 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1604,6 +1646,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1620,11 +1663,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -1641,14 +1688,14 @@ { "value": "Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly and Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1689,6 +1736,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1705,11 +1753,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -1726,14 +1778,14 @@ { "value": "Copyright (c) 1995-2012 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -1808,14 +1860,14 @@ { "value": "Copyright (c) 2004 by Henrik Ravn", "start_line": 14, - "end_line": 16 + "end_line": 14 } ], "holders": [ { "value": "Henrik Ravn", "start_line": 14, - "end_line": 16 + "end_line": 14 } ], "authors": [], @@ -1856,6 +1908,7 @@ "short_name": "Boost 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Boost", "homepage_url": "http://www.boost.org/users/license.html", "text_url": "http://www.boost.org/LICENSE_1_0.txt", @@ -1872,11 +1925,15 @@ "licenses": [ "boost-1.0" ], + "referenced_filenames": [ + "LICENSE_1_0.txt" + ], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 32, "matched_length": 32, @@ -1976,6 +2033,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1992,11 +2050,13 @@ "licenses": [ "zlib" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 132, "matched_length": 132, @@ -2027,7 +2087,7 @@ { "value": "Gilles Vollant", "start_line": 12, - "end_line": 15 + "end_line": 12 } ], "is_legal": false, @@ -2102,6 +2162,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -2118,11 +2179,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -2139,14 +2204,14 @@ { "value": "Copyright (c) 1995-2008 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -2187,6 +2252,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -2203,11 +2269,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -2224,14 +2294,14 @@ { "value": "Copyright (c) 2003 Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Mark Adler", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -2307,6 +2377,7 @@ "short_name": "MIT Old Style", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", "text_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", @@ -2323,11 +2394,13 @@ "licenses": [ "mit-old-style" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 71, "matched_length": 71, @@ -2350,7 +2423,7 @@ "holders": [ { "value": "Christian Michelsen Research AS Advanced Computing", - "start_line": 3, + "start_line": 4, "end_line": 5 } ], @@ -2392,6 +2465,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -2408,11 +2482,13 @@ "licenses": [ "zlib" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 144, "matched_length": 144, @@ -2477,6 +2553,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -2493,11 +2570,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -2514,14 +2595,14 @@ { "value": "Copyright (c) 1995-2005, 2010, 2011, 2012 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], @@ -2562,6 +2643,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -2578,11 +2660,15 @@ "licenses": [ "zlib" ], + "referenced_filenames": [ + "zlib.h" + ], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 12, "matched_length": 12, @@ -2599,14 +2685,14 @@ { "value": "Copyright (c) 1995-2013 Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "holders": [ { "value": "Jean-loup Gailly", "start_line": 2, - "end_line": 3 + "end_line": 2 } ], "authors": [], diff --git a/tests/summarycode/data/packages/expected.json b/tests/summarycode/data/packages/expected.json index fca653bdfcf..45e7764ce56 100644 --- a/tests/summarycode/data/packages/expected.json +++ b/tests/summarycode/data/packages/expected.json @@ -57,6 +57,7 @@ "source_packages": [ "pkg:maven/aopalliance/aopalliance@1.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/aopalliance/aopalliance@1.0", "repository_homepage_url": "https://repo1.maven.org/maven2/aopalliance/aopalliance/1.0/", "repository_download_url": "https://repo1.maven.org/maven2/aopalliance/aopalliance/1.0/aopalliance-1.0.jar", @@ -116,6 +117,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:freebsd/dmidecode@2.12?arch=freebsd:10:x86:64&origin=sysutils/dmidecode", "repository_homepage_url": null, "repository_download_url": null, @@ -656,6 +658,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/%40ionic/app-scripts@3.0.1-201710301651", "repository_homepage_url": "https://www.npmjs.com/package/@ionic/app-scripts", "repository_download_url": "https://registry.npmjs.org/@ionic/app-scripts/-/app-scripts-3.0.1-201710301651.tgz", @@ -737,6 +740,7 @@ "source_packages": [ "pkg:maven/aopalliance/aopalliance@1.0?classifier=sources" ], + "extra_data": {}, "purl": "pkg:maven/aopalliance/aopalliance@1.0", "repository_homepage_url": "https://repo1.maven.org/maven2/aopalliance/aopalliance/1.0/", "repository_download_url": "https://repo1.maven.org/maven2/aopalliance/aopalliance/1.0/aopalliance-1.0.jar", @@ -815,6 +819,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:freebsd/dmidecode@2.12?arch=freebsd:10:x86:64&origin=sysutils/dmidecode", "repository_homepage_url": null, "repository_download_url": null, @@ -1368,6 +1373,7 @@ ], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/%40ionic/app-scripts@3.0.1-201710301651", "repository_homepage_url": "https://www.npmjs.com/package/@ionic/app-scripts", "repository_download_url": "https://registry.npmjs.org/@ionic/app-scripts/-/app-scripts-3.0.1-201710301651.tgz", diff --git a/tests/summarycode/data/plugin_consolidate/component-package-build-expected.json b/tests/summarycode/data/plugin_consolidate/component-package-build-expected.json index 9df39d5dcc0..875aace7d0b 100644 --- a/tests/summarycode/data/plugin_consolidate/component-package-build-expected.json +++ b/tests/summarycode/data/plugin_consolidate/component-package-build-expected.json @@ -98,6 +98,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/test-package@0.0.1", "repository_homepage_url": "https://www.npmjs.com/package/test-package", "repository_download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", @@ -244,6 +245,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:buck/demo", "repository_homepage_url": null, "repository_download_url": null, @@ -320,6 +322,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -336,11 +339,13 @@ "licenses": [ "apache-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -357,14 +362,14 @@ { "value": "Copyright (c) The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "holders": [ { "value": "The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "authors": [], @@ -404,6 +409,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -420,11 +426,13 @@ "licenses": [ "apache-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -441,14 +449,14 @@ { "value": "Copyright (c) The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "holders": [ { "value": "The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "authors": [], @@ -488,6 +496,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -504,11 +513,13 @@ "licenses": [ "apache-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -525,14 +536,14 @@ { "value": "Copyright (c) The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "holders": [ { "value": "The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "authors": [], @@ -572,6 +583,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -588,11 +600,13 @@ "licenses": [ "lgpl-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -609,14 +623,14 @@ { "value": "Copyright (c) nexB, Inc.", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "holders": [ { "value": "nexB, Inc.", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "authors": [], @@ -690,6 +704,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -706,11 +721,13 @@ "licenses": [ "apache-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 4, "matched_length": 4, @@ -727,14 +744,14 @@ { "value": "Copyright (c) The Apache Software", "start_line": 4, - "end_line": 5 + "end_line": 4 } ], "holders": [ { "value": "The Apache Software", "start_line": 4, - "end_line": 5 + "end_line": 4 } ], "authors": [], @@ -771,6 +788,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/test-package@0.0.1", "repository_homepage_url": "https://www.npmjs.com/package/test-package", "repository_download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", @@ -812,6 +830,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -828,11 +847,13 @@ "licenses": [ "apache-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -849,14 +870,14 @@ { "value": "Copyright (c) The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "holders": [ { "value": "The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "authors": [], @@ -896,6 +917,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -912,11 +934,13 @@ "licenses": [ "gpl-1.0-plus" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 7, "matched_length": 7, @@ -933,14 +957,14 @@ { "value": "copyright (c) 2017 IBM Corp.", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "holders": [ { "value": "IBM Corp.", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "authors": [], diff --git a/tests/summarycode/data/plugin_consolidate/component-package-expected.json b/tests/summarycode/data/plugin_consolidate/component-package-expected.json index 0fe92fe3667..025db6c2740 100644 --- a/tests/summarycode/data/plugin_consolidate/component-package-expected.json +++ b/tests/summarycode/data/plugin_consolidate/component-package-expected.json @@ -86,6 +86,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/test-package@0.0.1", "repository_homepage_url": "https://www.npmjs.com/package/test-package", "repository_download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", @@ -204,6 +205,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -220,11 +222,13 @@ "licenses": [ "apache-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -241,14 +245,14 @@ { "value": "Copyright (c) The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "holders": [ { "value": "The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "authors": [], @@ -288,6 +292,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -304,11 +309,13 @@ "licenses": [ "apache-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -325,14 +332,14 @@ { "value": "Copyright (c) The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "holders": [ { "value": "The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "authors": [], @@ -372,6 +379,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -388,11 +396,13 @@ "licenses": [ "apache-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -409,14 +419,14 @@ { "value": "Copyright (c) The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "holders": [ { "value": "The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "authors": [], @@ -456,6 +466,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -472,11 +483,13 @@ "licenses": [ "lgpl-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -493,14 +506,14 @@ { "value": "Copyright (c) nexB, Inc.", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "holders": [ { "value": "nexB, Inc.", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "authors": [], @@ -574,6 +587,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -590,11 +604,13 @@ "licenses": [ "apache-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 4, "matched_length": 4, @@ -611,14 +627,14 @@ { "value": "Copyright (c) The Apache Software", "start_line": 4, - "end_line": 5 + "end_line": 4 } ], "holders": [ { "value": "The Apache Software", "start_line": 4, - "end_line": 5 + "end_line": 4 } ], "authors": [], @@ -655,6 +671,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/test-package@0.0.1", "repository_homepage_url": "https://www.npmjs.com/package/test-package", "repository_download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", @@ -696,6 +713,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -712,11 +730,13 @@ "licenses": [ "apache-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -733,14 +753,14 @@ { "value": "Copyright (c) The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "holders": [ { "value": "The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "authors": [], @@ -780,6 +800,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -796,11 +817,13 @@ "licenses": [ "gpl-1.0-plus" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 7, "matched_length": 7, @@ -817,14 +840,14 @@ { "value": "copyright (c) 2017 IBM Corp.", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "holders": [ { "value": "IBM Corp.", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "authors": [], diff --git a/tests/summarycode/data/plugin_consolidate/e2fsprogs-expected.json b/tests/summarycode/data/plugin_consolidate/e2fsprogs-expected.json index 67b342214d9..cd508f46843 100644 --- a/tests/summarycode/data/plugin_consolidate/e2fsprogs-expected.json +++ b/tests/summarycode/data/plugin_consolidate/e2fsprogs-expected.json @@ -1293,6 +1293,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -1428,6 +1429,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -1643,6 +1645,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -1678,6 +1681,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -1713,6 +1717,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -1748,6 +1753,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -1783,6 +1789,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -1815,6 +1822,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -2028,6 +2036,7 @@ "short_name": "DCO 1.1", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Linux Foundation", "homepage_url": "https://developercertificate.org/", "text_url": "https://developercertificate.org/", @@ -2060,6 +2069,7 @@ "short_name": "DCO 1.1", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Linux Foundation", "homepage_url": "https://developercertificate.org/", "text_url": "https://developercertificate.org/", @@ -2128,6 +2138,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -2161,6 +2172,7 @@ "short_name": "Autoconf macro exception", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://www.gnu.org/software/autoconf-archive/", "text_url": "", @@ -2194,6 +2206,7 @@ "short_name": "FSF All Permissive License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html", "text_url": "", @@ -2226,6 +2239,7 @@ "short_name": "FSF All Permissive License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html", "text_url": "", @@ -2348,6 +2362,7 @@ "short_name": "FSF Unlimited License No Warranty", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.fsf.org/licensing/licenses/", "text_url": "http://www.fsf.org/licensing/licenses/", @@ -2380,6 +2395,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -2412,6 +2428,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -2444,6 +2461,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -2476,6 +2494,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -2508,6 +2527,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -2540,6 +2560,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -2572,6 +2593,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -2604,6 +2626,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -2636,6 +2659,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -2668,6 +2692,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -2700,6 +2725,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -2732,6 +2758,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -2764,6 +2791,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -2796,6 +2824,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -2828,6 +2857,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -2861,6 +2891,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -2894,6 +2925,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -2926,6 +2958,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -2958,6 +2991,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -2990,6 +3024,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -3022,6 +3057,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -3054,6 +3090,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -3086,6 +3123,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -3119,6 +3157,7 @@ "short_name": "Autoconf simple exception to GPL-2.0", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob;f=config.guess;h=a7448442748cc6f98a066d2d1051fad3b043761a;hb=HEAD", "text_url": "", @@ -3152,6 +3191,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -3184,6 +3224,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -3216,6 +3257,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -3248,6 +3290,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -3280,6 +3323,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -3312,6 +3356,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -3344,6 +3389,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -3376,6 +3422,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -3408,6 +3455,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -3440,6 +3488,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -3472,6 +3521,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -4027,6 +4077,7 @@ "short_name": "GPL 3.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", @@ -4060,6 +4111,7 @@ "short_name": "Autoconf simple exception", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob;f=config.guess;h=a7448442748cc6f98a066d2d1051fad3b043761a;hb=HEAD", "text_url": "", @@ -4093,6 +4145,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -4248,6 +4301,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -4341,6 +4395,7 @@ "short_name": "GPL 3.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", @@ -4374,6 +4429,7 @@ "short_name": "Autoconf simple exception", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob;f=config.guess;h=a7448442748cc6f98a066d2d1051fad3b043761a;hb=HEAD", "text_url": "", @@ -4407,6 +4463,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -4548,6 +4605,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -4581,6 +4639,7 @@ "short_name": "GNU Libtool exception to GPL 2.0", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://git.savannah.gnu.org/cgit/libtool.git/tree/m4/libtool.m4", "text_url": "", @@ -4614,6 +4673,7 @@ "short_name": "GPL 3.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", @@ -4647,6 +4707,7 @@ "short_name": "GNU Libtool exception to GPL 2.0", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://git.savannah.gnu.org/cgit/libtool.git/tree/m4/libtool.m4", "text_url": "", @@ -4680,6 +4741,7 @@ "short_name": "GPL 3.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", @@ -4841,6 +4903,7 @@ "short_name": "Public Domain", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": "http://www.linfo.org/publicdomain.html", "text_url": "", @@ -4984,6 +5047,7 @@ "short_name": "FSF Free Software License", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.fsf.org/licensing/licenses/", "text_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License", @@ -5016,6 +5080,7 @@ "short_name": "FSF Free Software License", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.fsf.org/licensing/licenses/", "text_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License", @@ -5048,6 +5113,7 @@ "short_name": "FSF Free Software License", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.fsf.org/licensing/licenses/", "text_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License", @@ -5240,6 +5306,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -5687,6 +5754,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -6018,6 +6086,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -6099,6 +6168,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -6203,6 +6273,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -6236,6 +6307,7 @@ "short_name": "Generic patent disclaimer", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -6361,6 +6433,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -6602,6 +6675,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -7080,6 +7154,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -7112,6 +7187,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -7144,6 +7220,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -7176,6 +7253,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -7208,6 +7286,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -7240,6 +7319,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -7272,6 +7352,7 @@ "short_name": "LGPL 2.1", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/lgpl-2.1.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.1.txt", @@ -7304,6 +7385,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -7750,6 +7832,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -7785,6 +7868,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -7820,6 +7904,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -7855,6 +7940,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -7890,6 +7976,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -7922,6 +8009,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -8113,6 +8201,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -8145,6 +8234,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -8484,6 +8574,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -8516,6 +8607,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -9175,6 +9267,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -9349,6 +9442,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -9640,6 +9734,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -9797,6 +9892,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -10536,6 +10632,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -10667,6 +10764,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -11115,6 +11213,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -11196,6 +11295,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -11289,6 +11389,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -11414,6 +11515,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -11495,6 +11597,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -11576,6 +11679,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -11657,6 +11761,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -11738,6 +11843,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -11819,6 +11925,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -11900,6 +12007,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -11981,6 +12089,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -12084,6 +12193,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -12187,6 +12297,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -12290,6 +12401,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -12371,6 +12483,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -12452,6 +12565,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -12533,6 +12647,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -12614,6 +12729,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -12695,6 +12811,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -12776,6 +12893,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -12857,6 +12975,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -12938,6 +13057,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -13019,6 +13139,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -13778,6 +13899,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -13810,6 +13932,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -14396,6 +14519,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -14428,6 +14552,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -14592,6 +14717,7 @@ "short_name": "LGPL 3.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", @@ -14931,6 +15057,7 @@ "short_name": "Proprietary License", "category": "Proprietary Free", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -14963,6 +15090,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -15255,6 +15383,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -15287,6 +15416,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -15419,6 +15549,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -15710,6 +15841,7 @@ "short_name": "Latex2e License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "LaTeX", "homepage_url": "https://fedoraproject.org/wiki/Licensing/Latex2e", "text_url": "", @@ -15742,6 +15874,7 @@ "short_name": "Latex2e License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "LaTeX", "homepage_url": "https://fedoraproject.org/wiki/Licensing/Latex2e", "text_url": "", @@ -15834,6 +15967,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -15867,6 +16001,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -16161,6 +16296,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -16242,6 +16378,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -16323,6 +16460,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -16404,6 +16542,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -16497,6 +16636,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -16578,6 +16718,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -16659,6 +16800,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -16740,6 +16882,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -16821,6 +16964,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -16902,6 +17046,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -16983,6 +17128,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -17064,6 +17210,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -17143,6 +17290,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -17256,6 +17404,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -17337,6 +17486,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -17438,6 +17588,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -17519,6 +17670,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -17632,6 +17784,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -17719,6 +17872,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -17806,6 +17960,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -17887,6 +18042,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -17968,6 +18124,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -18049,6 +18206,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -18130,6 +18288,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -18211,6 +18370,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -18292,6 +18452,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -18373,6 +18534,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -18454,6 +18616,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -18567,6 +18730,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -18646,6 +18810,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -18737,6 +18902,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -18818,6 +18984,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -18899,6 +19066,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -19024,6 +19192,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -19105,6 +19274,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -19186,6 +19356,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -19267,6 +19438,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -19348,6 +19520,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -19380,6 +19553,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -19466,6 +19640,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -19498,6 +19673,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -19613,6 +19789,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -19645,6 +19822,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -19996,6 +20174,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -20178,6 +20357,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -20563,6 +20743,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -21494,6 +21675,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -22119,6 +22301,7 @@ "short_name": "Public Domain", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": "http://www.linfo.org/publicdomain.html", "text_url": "", @@ -22258,6 +22441,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -22371,6 +22555,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -22452,6 +22637,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -22544,6 +22730,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -22625,6 +22812,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -22706,6 +22894,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -22787,6 +22976,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -22868,6 +23058,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -22949,6 +23140,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -23030,6 +23222,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -23123,6 +23316,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -23216,6 +23410,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -23297,6 +23492,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -23390,6 +23586,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -23471,6 +23668,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -23552,6 +23750,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -23633,6 +23832,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -23726,6 +23926,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -23807,6 +24008,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -23888,6 +24090,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -23981,6 +24184,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -24062,6 +24266,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -24155,6 +24360,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -24236,6 +24442,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -24323,6 +24530,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -24404,6 +24612,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -24518,6 +24727,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -24611,6 +24821,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -24692,6 +24903,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -24773,6 +24985,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -24854,6 +25067,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -24935,6 +25149,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -25028,6 +25243,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -25121,6 +25337,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -25153,6 +25370,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -25186,6 +25404,7 @@ "short_name": "Bison exception to GPL 2.0 or later", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": null, "text_url": "", @@ -25296,6 +25515,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -25389,6 +25609,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -25470,6 +25691,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -25551,6 +25773,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -25632,6 +25855,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -25713,6 +25937,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -25806,6 +26031,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -25899,6 +26125,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -25992,6 +26219,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -26085,6 +26313,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -26178,6 +26407,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -26259,6 +26489,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -26340,6 +26571,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -26421,6 +26653,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -26502,6 +26735,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -26583,6 +26817,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -27047,6 +27282,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -27134,6 +27370,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -27257,6 +27494,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -27380,6 +27618,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -27471,6 +27710,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -27562,6 +27802,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -27663,6 +27904,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -27754,6 +27996,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -27835,6 +28078,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -27867,6 +28111,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -27899,6 +28144,7 @@ "short_name": "Other Copyleft Licenses", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "nexB", "homepage_url": null, "text_url": "", @@ -28040,6 +28286,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -28121,6 +28368,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -28255,6 +28503,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -28356,6 +28605,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -28447,6 +28697,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -28538,6 +28789,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -28629,6 +28881,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -30000,6 +30253,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -30081,6 +30335,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -30324,6 +30579,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -30411,6 +30667,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -30498,6 +30755,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -30597,6 +30855,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -30678,6 +30937,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -30765,6 +31025,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -30852,6 +31113,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -30939,6 +31201,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -31026,6 +31289,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -31113,6 +31377,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -31200,6 +31465,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -31287,6 +31553,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -31374,6 +31641,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -31461,6 +31729,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -31548,6 +31817,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -31635,6 +31905,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -31722,6 +31993,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -31825,6 +32097,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -31912,6 +32185,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -31999,6 +32273,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -32086,6 +32361,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -32173,6 +32449,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -32260,6 +32537,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -32347,6 +32625,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -32414,6 +32693,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -32501,6 +32781,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -32588,6 +32869,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -32675,6 +32957,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -32902,6 +33185,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -33051,6 +33335,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -33083,6 +33368,7 @@ "short_name": "unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -33115,6 +33401,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -33212,6 +33499,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -33382,6 +33670,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -33461,6 +33750,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -33604,6 +33894,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -33677,6 +33968,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -33750,6 +34042,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -34296,6 +34589,7 @@ "short_name": "Paul Mackerras Binary License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Paul Mackerras", "homepage_url": null, "text_url": "", @@ -34523,6 +34817,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -34556,6 +34851,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -34705,6 +35001,7 @@ "short_name": "BSLA", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": null, "text_url": "", @@ -34924,6 +35221,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -35005,6 +35303,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -35086,6 +35385,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -35167,6 +35467,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -35248,6 +35549,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -35339,6 +35641,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -35420,6 +35723,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -35501,6 +35805,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -35582,6 +35887,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -35663,6 +35969,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -35750,6 +36057,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -35831,6 +36139,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -35912,6 +36221,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -35999,6 +36309,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -36092,6 +36403,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -36173,6 +36485,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -36254,6 +36567,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -36335,6 +36649,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -36416,6 +36731,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -36497,6 +36813,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -36578,6 +36895,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -36659,6 +36977,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -36740,6 +37059,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -36807,6 +37127,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -36894,6 +37215,7 @@ "short_name": "Public Domain", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": "http://www.linfo.org/publicdomain.html", "text_url": "", @@ -36927,6 +37249,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -36960,6 +37283,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -37077,6 +37401,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -37174,6 +37499,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -37255,6 +37581,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -37336,6 +37663,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -37421,6 +37749,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -37502,6 +37831,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -37583,6 +37913,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -37615,6 +37946,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -37725,6 +38057,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -37817,6 +38150,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -37898,6 +38232,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -37979,6 +38314,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -38060,6 +38396,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -38141,6 +38478,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -38334,6 +38672,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -38447,6 +38786,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -38560,6 +38900,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -38641,6 +38982,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -38771,6 +39113,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -38869,6 +39212,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -38950,6 +39294,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -39097,6 +39442,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -39178,6 +39524,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -39259,6 +39606,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -39340,6 +39688,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -39421,6 +39770,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -39502,6 +39852,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -39615,6 +39966,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -39696,6 +40048,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -39777,6 +40130,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -39869,6 +40223,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -40025,6 +40380,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -40106,6 +40462,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -40187,6 +40544,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -40268,6 +40626,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -40349,6 +40708,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -40430,6 +40790,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -40511,6 +40872,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -40598,6 +40960,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -40679,6 +41042,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -40792,6 +41156,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -40873,6 +41238,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -40954,6 +41320,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -41067,6 +41434,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -41190,6 +41558,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -41271,6 +41640,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -41352,6 +41722,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -41433,6 +41804,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -41514,6 +41886,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -41595,6 +41968,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -41676,6 +42050,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -41757,6 +42132,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -41838,6 +42214,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -41919,6 +42296,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -42016,6 +42394,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -42114,6 +42493,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -42195,6 +42575,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -42276,6 +42657,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -42357,6 +42739,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -42450,6 +42833,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -42543,6 +42927,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -42646,6 +43031,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -42733,6 +43119,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -42814,6 +43201,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -42895,6 +43283,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -42974,6 +43363,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -43055,6 +43445,7 @@ "short_name": "Public Domain", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": "http://www.linfo.org/publicdomain.html", "text_url": "", @@ -43088,6 +43479,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -43121,6 +43513,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -43209,6 +43602,7 @@ "short_name": "Public Domain", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": "http://www.linfo.org/publicdomain.html", "text_url": "", @@ -43242,6 +43636,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -43275,6 +43670,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -43395,6 +43791,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -43476,6 +43873,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -43589,6 +43987,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -43704,6 +44103,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -43849,6 +44249,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -43994,6 +44395,7 @@ "short_name": "Other Copyleft Licenses", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "nexB", "homepage_url": null, "text_url": "", @@ -44157,6 +44559,7 @@ "short_name": "Other Copyleft Licenses", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "nexB", "homepage_url": null, "text_url": "", @@ -44224,6 +44627,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -44338,6 +44742,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -44419,6 +44824,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -44500,6 +44906,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -44677,6 +45084,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -44758,6 +45166,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -44871,6 +45280,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -44952,6 +45362,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -45033,6 +45444,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -45114,6 +45526,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -45195,6 +45608,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -45308,6 +45722,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -45389,6 +45804,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -45470,6 +45886,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -45563,6 +45980,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -45644,6 +46062,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -45757,6 +46176,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -45838,6 +46258,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -45919,6 +46340,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -46000,6 +46422,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -46081,6 +46504,7 @@ "short_name": "Theodore Ts'o license", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Theodore Ts'o", "homepage_url": null, "text_url": "", @@ -46336,6 +46760,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -46415,6 +46840,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -46488,6 +46914,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -46567,6 +46994,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -46640,6 +47068,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -46713,6 +47142,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -46786,6 +47216,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -46859,6 +47290,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -46932,6 +47364,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -47089,6 +47522,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -47162,6 +47596,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -47235,6 +47670,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -47308,6 +47744,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -47381,6 +47818,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -47454,6 +47892,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -47597,6 +48036,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -47798,6 +48238,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -47984,6 +48425,7 @@ "short_name": "ISC License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "ISC - Internet Systems Consortium", "homepage_url": "https://www.isc.org/software/license", "text_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_with_legal_disclaimer_2", @@ -48065,6 +48507,7 @@ "short_name": "ISC License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "ISC - Internet Systems Consortium", "homepage_url": "https://www.isc.org/software/license", "text_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_with_legal_disclaimer_2", @@ -48242,6 +48685,7 @@ "short_name": "Other Permissive Licenses", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "nexB", "homepage_url": null, "text_url": "", @@ -48329,6 +48773,7 @@ "short_name": "Other Permissive Licenses", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "nexB", "homepage_url": null, "text_url": "", @@ -48556,6 +49001,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -48648,6 +49094,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -48761,6 +49208,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -48793,6 +49241,7 @@ "short_name": "MIT With Modification Obligations", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": null, "text_url": "", @@ -48891,6 +49340,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -48923,6 +49373,7 @@ "short_name": "MIT With Modification Obligations", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": null, "text_url": "", @@ -49015,6 +49466,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -49096,6 +49548,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -49481,6 +49934,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -49580,6 +50034,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -49661,6 +50116,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -49774,6 +50230,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -49855,6 +50312,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -49986,6 +50444,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -50067,6 +50526,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -50148,6 +50608,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -50229,6 +50690,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -50310,6 +50772,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -50391,6 +50854,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -50472,6 +50936,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -50569,6 +51034,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -50682,6 +51148,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -50763,6 +51230,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -50854,6 +51322,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -50945,6 +51414,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -51036,6 +51506,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -51127,6 +51598,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -51218,6 +51690,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -51309,6 +51782,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -51400,6 +51874,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -51513,6 +51988,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -51604,6 +52080,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -51866,6 +52343,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -51989,6 +52467,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -52114,6 +52593,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -52211,6 +52691,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -52350,6 +52831,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -52435,6 +52917,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -52554,6 +53037,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -52663,6 +53147,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -52809,6 +53294,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -52939,6 +53425,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -53062,6 +53549,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -53161,6 +53649,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -53242,6 +53731,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -53323,6 +53813,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -53422,6 +53913,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -53515,6 +54007,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -53582,6 +54075,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -53681,6 +54175,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -53999,6 +54494,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -54130,6 +54626,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -54211,6 +54708,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -54310,6 +54808,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -54423,6 +54922,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -54510,6 +55010,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -54640,6 +55141,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -54731,6 +55233,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -54818,6 +55321,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -54897,6 +55401,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -54978,6 +55483,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -55065,6 +55571,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -55206,6 +55713,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -55355,6 +55863,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -55454,6 +55963,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -55541,6 +56051,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -55654,6 +56165,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -55735,6 +56247,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -55844,6 +56357,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -56105,6 +56619,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -56217,6 +56732,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -56284,6 +56800,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -56365,6 +56882,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -56446,6 +56964,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -56545,6 +57064,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -56670,6 +57190,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -56767,6 +57288,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -56915,6 +57437,7 @@ "short_name": "Other Permissive Licenses", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "nexB", "homepage_url": null, "text_url": "", @@ -57233,6 +57756,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -57400,6 +57924,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -57567,6 +58092,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -57729,6 +58255,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -57847,6 +58374,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -58074,6 +58602,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -58231,6 +58760,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -58392,6 +58922,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -58549,6 +59080,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -58722,6 +59254,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -58875,6 +59408,7 @@ "short_name": "Other Permissive Licenses", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "nexB", "homepage_url": null, "text_url": "", @@ -59058,6 +59592,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -59219,6 +59754,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -59376,6 +59912,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -59543,6 +60080,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -59700,6 +60238,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -59921,6 +60460,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -60069,6 +60609,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -60225,6 +60766,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -60392,6 +60934,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -60564,6 +61107,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -60747,6 +61291,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -60964,6 +61509,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -61056,6 +61602,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -61148,6 +61695,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -61229,6 +61777,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -61344,6 +61893,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -61436,6 +61986,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -61528,6 +62079,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -61609,6 +62161,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -61733,6 +62286,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -61923,6 +62477,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -61955,6 +62510,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -62087,6 +62643,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -62242,6 +62799,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -62274,6 +62832,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -62400,6 +62959,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -62555,6 +63115,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -106236,6 +106797,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -106317,6 +106879,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -106398,6 +106961,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -106735,6 +107299,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -106816,6 +107381,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -106897,6 +107463,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -106978,6 +107545,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -107091,6 +107659,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -107172,6 +107741,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -107253,6 +107823,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -107334,6 +107905,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -115651,6 +116223,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -115994,6 +116567,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -116328,6 +116902,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", diff --git a/tests/summarycode/data/plugin_consolidate/e2fsprogs.json b/tests/summarycode/data/plugin_consolidate/e2fsprogs.json index a3f87271b7a..f0746874d3d 100644 --- a/tests/summarycode/data/plugin_consolidate/e2fsprogs.json +++ b/tests/summarycode/data/plugin_consolidate/e2fsprogs.json @@ -151,6 +151,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -240,6 +241,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -273,6 +275,7 @@ "short_name": "Autoconf macro exception", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://www.gnu.org/software/autoconf-archive/", "text_url": "", @@ -306,6 +309,7 @@ "short_name": "FSF All Permissive License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html", "text_url": "", @@ -338,6 +342,7 @@ "short_name": "FSF All Permissive License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html", "text_url": "", @@ -457,6 +462,7 @@ "short_name": "FSF Unlimited License No Warranty", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.fsf.org/licensing/licenses/", "text_url": "http://www.fsf.org/licensing/licenses/", @@ -489,6 +495,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -521,6 +528,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -553,6 +561,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -585,6 +594,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -617,6 +627,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -649,6 +660,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -681,6 +693,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -713,6 +726,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -745,6 +759,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -777,6 +792,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -809,6 +825,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -841,6 +858,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -873,6 +891,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -905,6 +924,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -937,6 +957,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -970,6 +991,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -1003,6 +1025,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -1035,6 +1058,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -1067,6 +1091,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -1099,6 +1124,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -1131,6 +1157,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -1163,6 +1190,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -1195,6 +1223,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -1228,6 +1257,7 @@ "short_name": "Autoconf simple exception to GPL-2.0", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob;f=config.guess;h=a7448442748cc6f98a066d2d1051fad3b043761a;hb=HEAD", "text_url": "", @@ -1261,6 +1291,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -1293,6 +1324,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -1325,6 +1357,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -1357,6 +1390,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -1389,6 +1423,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -1421,6 +1456,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -1453,6 +1489,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -1485,6 +1522,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -1517,6 +1555,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -1549,6 +1588,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -1581,6 +1621,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -2145,6 +2186,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -2262,6 +2304,7 @@ "short_name": "FSF Free Software License", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.fsf.org/licensing/licenses/", "text_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License", @@ -2294,6 +2337,7 @@ "short_name": "FSF Free Software License", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.fsf.org/licensing/licenses/", "text_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License", @@ -2326,6 +2370,7 @@ "short_name": "FSF Free Software License", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.fsf.org/licensing/licenses/", "text_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License", @@ -2465,6 +2510,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -2497,6 +2543,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -2583,6 +2630,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -2615,6 +2663,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -2822,6 +2871,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -2857,6 +2907,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -2892,6 +2943,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -2927,6 +2979,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -2962,6 +3015,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -2994,6 +3048,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -3204,6 +3259,7 @@ "short_name": "DCO 1.1", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Linux Foundation", "homepage_url": "https://developercertificate.org/", "text_url": "https://developercertificate.org/", @@ -3236,6 +3292,7 @@ "short_name": "DCO 1.1", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Linux Foundation", "homepage_url": "https://developercertificate.org/", "text_url": "https://developercertificate.org/", @@ -3304,6 +3361,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -3447,6 +3505,7 @@ "short_name": "GPL 3.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", @@ -3480,6 +3539,7 @@ "short_name": "Autoconf simple exception", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob;f=config.guess;h=a7448442748cc6f98a066d2d1051fad3b043761a;hb=HEAD", "text_url": "", @@ -3513,6 +3573,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -3666,6 +3727,7 @@ "short_name": "FSF-Unlimited", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://fedoraproject.org/wiki/Licensing/FSF_Unlimited_License#License_Retention_Variant", "text_url": "", @@ -3757,6 +3819,7 @@ "short_name": "GPL 3.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", @@ -3790,6 +3853,7 @@ "short_name": "Autoconf simple exception", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob;f=config.guess;h=a7448442748cc6f98a066d2d1051fad3b043761a;hb=HEAD", "text_url": "", @@ -3823,6 +3887,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -3962,6 +4027,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -3995,6 +4061,7 @@ "short_name": "GNU Libtool exception to GPL 2.0", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://git.savannah.gnu.org/cgit/libtool.git/tree/m4/libtool.m4", "text_url": "", @@ -4028,6 +4095,7 @@ "short_name": "GPL 3.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", @@ -4061,6 +4129,7 @@ "short_name": "GNU Libtool exception to GPL 2.0", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://git.savannah.gnu.org/cgit/libtool.git/tree/m4/libtool.m4", "text_url": "", @@ -4094,6 +4163,7 @@ "short_name": "GPL 3.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", "text_url": "http://www.gnu.org/licenses/gpl-3.0-standalone.html", @@ -4253,6 +4323,7 @@ "short_name": "Public Domain", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": "http://www.linfo.org/publicdomain.html", "text_url": "", @@ -4396,6 +4467,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -4633,6 +4705,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -4712,6 +4785,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -4813,6 +4887,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -4846,6 +4921,7 @@ "short_name": "Generic patent disclaimer", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -4969,6 +5045,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -5080,6 +5157,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -5523,6 +5601,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -5896,6 +5975,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -5928,6 +6008,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -5960,6 +6041,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -5992,6 +6074,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -6024,6 +6107,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -6056,6 +6140,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -6088,6 +6173,7 @@ "short_name": "LGPL 2.1", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/lgpl-2.1.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.1.txt", @@ -6120,6 +6206,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -6566,6 +6653,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -6601,6 +6689,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -6636,6 +6725,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -6671,6 +6761,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -6706,6 +6797,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -6738,6 +6830,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -6922,6 +7015,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -6954,6 +7048,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -7287,6 +7382,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -7319,6 +7415,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -7972,6 +8069,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -8143,6 +8241,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -8432,6 +8531,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -8587,6 +8687,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -9068,6 +9169,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -9229,6 +9331,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -10219,6 +10322,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -10298,6 +10402,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -10389,6 +10494,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -10512,6 +10618,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -10591,6 +10698,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -10670,6 +10778,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -10749,6 +10858,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -10828,6 +10938,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -10907,6 +11018,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -10986,6 +11098,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -11065,6 +11178,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -11164,6 +11278,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -11263,6 +11378,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -11364,6 +11480,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -11443,6 +11560,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -11554,6 +11672,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -11633,6 +11752,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -11712,6 +11832,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -11791,6 +11912,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -11870,6 +11992,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -11949,6 +12072,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -12028,6 +12152,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -12107,6 +12232,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -12250,6 +12376,7 @@ "short_name": "Latex2e License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "LaTeX", "homepage_url": "https://fedoraproject.org/wiki/Licensing/Latex2e", "text_url": "", @@ -12282,6 +12409,7 @@ "short_name": "Latex2e License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "LaTeX", "homepage_url": "https://fedoraproject.org/wiki/Licensing/Latex2e", "text_url": "", @@ -12404,6 +12532,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -12437,6 +12566,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -13166,6 +13296,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -13198,6 +13329,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -13784,6 +13916,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -13816,6 +13949,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -13980,6 +14114,7 @@ "short_name": "LGPL 3.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/lgpl-3.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-3.0-standalone.html", @@ -14319,6 +14454,7 @@ "short_name": "Proprietary License", "category": "Proprietary Free", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -14351,6 +14487,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -14643,6 +14780,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -14675,6 +14813,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -14807,6 +14946,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -15142,6 +15282,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -15253,6 +15394,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -15332,6 +15474,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -15411,6 +15554,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -15502,6 +15646,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -15581,6 +15726,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -15660,6 +15806,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -15739,6 +15886,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -15818,6 +15966,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -15897,6 +16046,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -15976,6 +16126,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -16055,6 +16206,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -16134,6 +16286,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -16245,6 +16398,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -16324,6 +16478,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -16423,6 +16578,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -16534,6 +16690,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -16645,6 +16802,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -16730,6 +16888,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -16815,6 +16974,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -16894,6 +17054,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -16973,6 +17134,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -17052,6 +17214,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -17131,6 +17294,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -17210,6 +17374,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -17289,6 +17454,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -17368,6 +17534,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -17447,6 +17614,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -17558,6 +17726,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -17637,6 +17806,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -17728,6 +17898,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -17807,6 +17978,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -17886,6 +18058,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -18009,6 +18182,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -18088,6 +18262,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -18167,6 +18342,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -18246,6 +18422,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -18401,6 +18578,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -18433,6 +18611,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -18873,6 +19052,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -19394,6 +19574,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -19569,6 +19750,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -20127,6 +20309,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -20814,6 +20997,7 @@ "short_name": "Public Domain", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": "http://www.linfo.org/publicdomain.html", "text_url": "", @@ -20951,6 +21135,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -21030,6 +21215,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -21120,6 +21306,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -21199,6 +21386,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -21278,6 +21466,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -21357,6 +21546,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -21436,6 +21626,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -21515,6 +21706,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -21594,6 +21786,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -21685,6 +21878,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -21776,6 +21970,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -21855,6 +22050,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -21946,6 +22142,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -22025,6 +22222,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -22104,6 +22302,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -22183,6 +22382,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -22274,6 +22474,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -22353,6 +22554,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -22432,6 +22634,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -22523,6 +22726,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -22602,6 +22806,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -22693,6 +22898,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -22772,6 +22978,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -22857,6 +23064,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -22936,6 +23144,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -23048,6 +23257,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -23139,6 +23349,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -23218,6 +23429,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -23297,6 +23509,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -23376,6 +23589,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -23455,6 +23669,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -23534,6 +23749,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -23625,6 +23841,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -23716,6 +23933,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -23748,6 +23966,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -23781,6 +24000,7 @@ "short_name": "Bison exception to GPL 2.0 or later", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": null, "text_url": "", @@ -23889,6 +24109,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -23980,6 +24201,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -24059,6 +24281,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -24138,6 +24361,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -24217,6 +24441,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -24296,6 +24521,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -24387,6 +24613,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -24478,6 +24705,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -24569,6 +24797,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -24660,6 +24889,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -24751,6 +24981,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -24830,6 +25061,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -24909,6 +25141,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -24988,6 +25221,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -25099,6 +25333,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -25178,6 +25413,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -25413,6 +25649,7 @@ "short_name": "Theodore Ts'o license", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Theodore Ts'o", "homepage_url": null, "text_url": "", @@ -25792,6 +26029,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -25945,6 +26183,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -26034,6 +26273,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -26123,6 +26363,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -26212,6 +26453,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -26311,6 +26553,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -26400,6 +26643,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -26479,6 +26723,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -26511,6 +26756,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -26543,6 +26789,7 @@ "short_name": "Other Copyleft Licenses", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "nexB", "homepage_url": null, "text_url": "", @@ -26684,6 +26931,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -26763,6 +27011,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -26848,6 +27097,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -26979,6 +27229,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -27078,6 +27329,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -27167,6 +27419,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -27256,6 +27509,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -27345,6 +27599,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -27466,6 +27721,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -27545,6 +27801,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -28948,6 +29205,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -29033,6 +29291,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -29132,6 +29391,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -29211,6 +29471,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -29296,6 +29557,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -29381,6 +29643,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -29466,6 +29729,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -29551,6 +29815,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -29636,6 +29901,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -29721,6 +29987,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -29806,6 +30073,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -29891,6 +30159,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -29976,6 +30245,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -30061,6 +30331,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -30146,6 +30417,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -30231,6 +30503,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -30331,6 +30604,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -30416,6 +30690,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -30501,6 +30776,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -30586,6 +30862,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -30671,6 +30948,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -30756,6 +31034,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -30841,6 +31120,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -30926,6 +31206,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -30993,6 +31274,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -31078,6 +31360,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -31163,6 +31446,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -31248,6 +31532,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -31435,6 +31720,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -31584,6 +31870,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -31616,6 +31903,7 @@ "short_name": "unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -31648,6 +31936,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -31745,6 +32034,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -31910,6 +32200,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -31989,6 +32280,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -32132,6 +32424,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -32205,6 +32498,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -32278,6 +32572,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -32377,6 +32672,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -32410,6 +32706,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -32557,6 +32854,7 @@ "short_name": "BSLA", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": null, "text_url": "", @@ -33114,6 +33412,7 @@ "short_name": "Paul Mackerras Binary License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Paul Mackerras", "homepage_url": null, "text_url": "", @@ -33371,6 +33670,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -33450,6 +33750,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -33529,6 +33830,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -33608,6 +33910,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -33731,6 +34034,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -33822,6 +34126,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -33901,6 +34206,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -33980,6 +34286,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -34059,6 +34366,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -34138,6 +34446,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -34223,6 +34532,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -34302,6 +34612,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -34381,6 +34692,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -34466,6 +34778,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -34557,6 +34870,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -34636,6 +34950,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -34715,6 +35030,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -34794,6 +35110,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -34873,6 +35190,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -34952,6 +35270,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -35031,6 +35350,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -35110,6 +35430,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -35189,6 +35510,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -35256,6 +35578,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -35341,6 +35664,7 @@ "short_name": "Public Domain", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": "http://www.linfo.org/publicdomain.html", "text_url": "", @@ -35374,6 +35698,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -35407,6 +35732,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -35524,6 +35850,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -35619,6 +35946,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -35698,6 +36026,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -35777,6 +36106,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -35862,6 +36192,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -35941,6 +36272,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -36020,6 +36352,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -36052,6 +36385,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -36158,6 +36492,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -36247,6 +36582,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -36326,6 +36662,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -36405,6 +36742,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -36484,6 +36822,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -36563,6 +36902,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -36752,6 +37092,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -36863,6 +37204,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -36974,6 +37316,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -37053,6 +37396,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -37181,6 +37525,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -37276,6 +37621,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -37355,6 +37701,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -37500,6 +37847,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -37579,6 +37927,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -37658,6 +38007,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -37737,6 +38087,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -37816,6 +38167,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -37895,6 +38247,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -38006,6 +38359,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -38085,6 +38439,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -38164,6 +38519,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -38253,6 +38609,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -38406,6 +38763,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -38485,6 +38843,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -38564,6 +38923,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -38643,6 +39003,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -38722,6 +39083,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -38801,6 +39163,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -38880,6 +39243,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -38965,6 +39329,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -39044,6 +39409,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -39155,6 +39521,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -39234,6 +39601,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -39313,6 +39681,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -39424,6 +39793,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -39547,6 +39917,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -39626,6 +39997,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -39705,6 +40077,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -39816,6 +40189,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -39895,6 +40269,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -39974,6 +40349,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -40053,6 +40429,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -40132,6 +40509,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -40211,6 +40589,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -40290,6 +40669,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -40385,6 +40765,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -40480,6 +40861,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -40559,6 +40941,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -40638,6 +41021,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -40717,6 +41101,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -40808,6 +41193,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -40899,6 +41285,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -40999,6 +41386,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -41084,6 +41472,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -41163,6 +41552,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -41242,6 +41632,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -41321,6 +41712,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -41400,6 +41792,7 @@ "short_name": "Public Domain", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": "http://www.linfo.org/publicdomain.html", "text_url": "", @@ -41433,6 +41826,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -41466,6 +41860,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -41552,6 +41947,7 @@ "short_name": "Public Domain", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": "http://www.linfo.org/publicdomain.html", "text_url": "", @@ -41585,6 +41981,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -41618,6 +42015,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -41736,6 +42134,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -41815,6 +42214,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -41894,6 +42294,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -42005,6 +42406,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -42084,6 +42486,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -42193,6 +42596,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -42272,6 +42676,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -42351,6 +42756,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -42526,6 +42932,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -42605,6 +43012,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -42716,6 +43124,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -42795,6 +43204,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -42874,6 +43284,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -42953,6 +43364,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -43032,6 +43444,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -43143,6 +43556,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -43222,6 +43636,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -43301,6 +43716,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -43392,6 +43808,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -43471,6 +43888,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -43582,6 +44000,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -43661,6 +44080,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -43740,6 +44160,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -43819,6 +44240,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -43994,6 +44416,7 @@ "short_name": "LGPL 2.0 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html", @@ -44135,6 +44558,7 @@ "short_name": "Other Copyleft Licenses", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "nexB", "homepage_url": null, "text_url": "", @@ -44298,6 +44722,7 @@ "short_name": "Other Copyleft Licenses", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "nexB", "homepage_url": null, "text_url": "", @@ -44505,6 +44930,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -44584,6 +45010,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -44657,6 +45084,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -44736,6 +45164,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -44809,6 +45238,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -44882,6 +45312,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -44955,6 +45386,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -45028,6 +45460,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -45133,6 +45566,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -45288,6 +45722,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -45361,6 +45796,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -45434,6 +45870,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -45507,6 +45944,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -45580,6 +46018,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -45653,6 +46092,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -45796,6 +46236,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -45997,6 +46438,7 @@ "short_name": "MIT Old Style no advertising", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_.28no_advertising_without_permission.29", "text_url": "", @@ -46146,6 +46588,7 @@ "short_name": "ISC License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "ISC - Internet Systems Consortium", "homepage_url": "https://www.isc.org/software/license", "text_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_with_legal_disclaimer_2", @@ -46225,6 +46668,7 @@ "short_name": "ISC License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "ISC - Internet Systems Consortium", "homepage_url": "https://www.isc.org/software/license", "text_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style_with_legal_disclaimer_2", @@ -46400,6 +46844,7 @@ "short_name": "Other Permissive Licenses", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "nexB", "homepage_url": null, "text_url": "", @@ -46485,6 +46930,7 @@ "short_name": "Other Permissive Licenses", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "nexB", "homepage_url": null, "text_url": "", @@ -46742,6 +47188,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -46831,6 +47278,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -46942,6 +47390,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -46974,6 +47423,7 @@ "short_name": "MIT With Modification Obligations", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": null, "text_url": "", @@ -47070,6 +47520,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -47102,6 +47553,7 @@ "short_name": "MIT With Modification Obligations", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": null, "text_url": "", @@ -47192,6 +47644,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -47271,6 +47724,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -47652,6 +48106,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -47731,6 +48186,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -47842,6 +48298,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -47921,6 +48378,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -47988,6 +48446,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -48117,6 +48576,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -48228,6 +48688,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -48307,6 +48768,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -48386,6 +48848,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -48465,6 +48928,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -48544,6 +49008,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -48623,6 +49088,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -48720,6 +49186,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -48831,6 +49298,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -48922,6 +49390,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -49013,6 +49482,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -49104,6 +49574,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -49195,6 +49666,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -49286,6 +49758,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -49377,6 +49850,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -49468,6 +49942,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -49579,6 +50054,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -49670,6 +50146,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -49749,6 +50226,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -49969,6 +50447,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -50089,6 +50568,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -50212,6 +50692,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -50309,6 +50790,7 @@ "short_name": "LGPL 2.1 or later", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html", @@ -50448,6 +50930,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -50533,6 +51016,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -50650,6 +51134,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -50757,6 +51242,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -50901,6 +51387,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -51029,6 +51516,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -51152,6 +51640,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -51249,6 +51738,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -51328,6 +51818,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -51407,6 +51898,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -51504,6 +51996,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -51595,6 +52088,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -51662,6 +52156,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -51759,6 +52254,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -52075,6 +52571,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -52204,6 +52701,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -52283,6 +52781,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -52380,6 +52879,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -52491,6 +52991,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -52576,6 +53077,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -52704,6 +53206,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -52795,6 +53298,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -52880,6 +53384,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -52959,6 +53464,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -53038,6 +53544,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -53123,6 +53630,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -53262,6 +53770,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -53443,6 +53952,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -53540,6 +54050,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -53625,6 +54136,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -53736,6 +54248,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -53815,6 +54328,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -53922,6 +54436,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -54183,6 +54698,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -54293,6 +54809,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -54360,6 +54877,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -54439,6 +54957,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -54518,6 +55037,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -54615,6 +55135,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -54738,6 +55259,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -54835,6 +55357,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -55064,6 +55587,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -55229,6 +55753,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -55394,6 +55919,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -55554,6 +56080,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -55670,6 +56197,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -55895,6 +56423,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -56050,6 +56579,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -56209,6 +56739,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -56364,6 +56895,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -56534,6 +57066,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -56687,6 +57220,7 @@ "short_name": "Other Permissive Licenses", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "nexB", "homepage_url": null, "text_url": "", @@ -56868,6 +57402,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -57011,6 +57546,7 @@ "short_name": "Other Permissive Licenses", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "nexB", "homepage_url": null, "text_url": "", @@ -57182,6 +57718,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -57337,6 +57874,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -57502,6 +58040,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -57689,6 +58228,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -57951,6 +58491,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -58099,6 +58640,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -58253,6 +58795,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -58418,6 +58961,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -58588,6 +59132,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -58768,6 +59313,7 @@ "short_name": "Free unknown", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -58948,6 +59494,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -59037,6 +59584,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -59158,6 +59706,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -59237,6 +59786,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -59348,6 +59898,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -59437,6 +59988,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -59526,6 +60078,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -59605,6 +60158,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -59726,6 +60280,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -59879,6 +60434,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -59911,6 +60467,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -60041,6 +60598,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -60196,6 +60754,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -60228,6 +60787,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -60352,6 +60912,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -60507,6 +61068,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -104380,6 +104942,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -104459,6 +105022,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -104570,6 +105134,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -104649,6 +105214,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -104760,6 +105326,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -104839,6 +105406,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -104918,6 +105486,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -104997,6 +105566,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -105332,6 +105902,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -105411,6 +105982,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -105490,6 +106062,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -113581,6 +114154,7 @@ "short_name": "LGPL 2.0", "category": "Copyleft Limited", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html", "text_url": "http://www.gnu.org/licenses/lgpl-2.0.html", @@ -113954,6 +114528,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", diff --git a/tests/summarycode/data/plugin_consolidate/license-holder-rollup-expected.json b/tests/summarycode/data/plugin_consolidate/license-holder-rollup-expected.json index 0028255627a..a5622a60355 100644 --- a/tests/summarycode/data/plugin_consolidate/license-holder-rollup-expected.json +++ b/tests/summarycode/data/plugin_consolidate/license-holder-rollup-expected.json @@ -196,6 +196,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -212,11 +213,13 @@ "licenses": [ "gpl-1.0-plus" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -231,6 +234,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -247,11 +251,13 @@ "licenses": [ "gpl-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -269,14 +275,14 @@ { "value": "Copyright (c) omega.com", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "holders": [ { "value": "omega.com", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "authors": [], @@ -382,6 +388,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -398,11 +405,13 @@ "licenses": [ "gpl-1.0-plus" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -417,6 +426,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -433,11 +443,13 @@ "licenses": [ "gpl-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -455,14 +467,14 @@ { "value": "Copyright (c) IBM Corp.", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "holders": [ { "value": "IBM Corp.", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "authors": [], @@ -536,6 +548,7 @@ "short_name": "Unknown License reference", "category": "Unstated License", "is_exception": false, + "is_unknown": true, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -552,11 +565,13 @@ "licenses": [ "unknown-license-reference" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": true, + "has_unknown": true, "matcher": "2-aho", "rule_length": 2, "matched_length": 2, @@ -571,6 +586,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -587,11 +603,13 @@ "licenses": [ "apache-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -609,14 +627,14 @@ { "value": "Copyright (c) Oracle Corp.", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "holders": [ { "value": "Oracle Corp.", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "authors": [], diff --git a/tests/summarycode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json b/tests/summarycode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json index a428b658723..82b0eb67444 100644 --- a/tests/summarycode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json +++ b/tests/summarycode/data/plugin_consolidate/multiple-same-holder-and-license-expected.json @@ -100,6 +100,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -116,11 +117,13 @@ "licenses": [ "gpl-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 4, "matched_length": 4, @@ -135,6 +138,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -151,11 +155,13 @@ "licenses": [ "gpl-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 4, "matched_length": 4, @@ -173,11 +179,11 @@ { "value": "Copyright (c) IBM Corp.", "start_line": 1, - "end_line": 2 + "end_line": 1 }, { "value": "Copyright (c) IBM Corp.", - "start_line": 1, + "start_line": 2, "end_line": 2 } ], @@ -185,11 +191,11 @@ { "value": "IBM Corp.", "start_line": 1, - "end_line": 2 + "end_line": 1 }, { "value": "IBM Corp.", - "start_line": 1, + "start_line": 2, "end_line": 2 } ], @@ -230,6 +236,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -246,11 +253,13 @@ "licenses": [ "gpl-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 4, "matched_length": 4, @@ -265,6 +274,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -281,11 +291,13 @@ "licenses": [ "gpl-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 4, "matched_length": 4, @@ -303,11 +315,11 @@ { "value": "Copyright (c) IBM Corp.", "start_line": 1, - "end_line": 2 + "end_line": 1 }, { "value": "Copyright (c) IBM Corp.", - "start_line": 1, + "start_line": 2, "end_line": 2 } ], @@ -315,11 +327,11 @@ { "value": "IBM Corp.", "start_line": 1, - "end_line": 2 + "end_line": 1 }, { "value": "IBM Corp.", - "start_line": 1, + "start_line": 2, "end_line": 2 } ], diff --git a/tests/summarycode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json b/tests/summarycode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json index 8ae172b465f..170c2652313 100644 --- a/tests/summarycode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json +++ b/tests/summarycode/data/plugin_consolidate/package-files-not-counted-in-license-holders-expected.json @@ -70,6 +70,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/test-package@0.0.1", "repository_homepage_url": "https://www.npmjs.com/package/test-package", "repository_download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", @@ -187,6 +188,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -203,11 +205,13 @@ "licenses": [ "apache-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 4, "matched_length": 4, @@ -224,14 +228,14 @@ { "value": "Copyright (c) The Apache Software", "start_line": 4, - "end_line": 5 + "end_line": 4 } ], "holders": [ { "value": "The Apache Software", "start_line": 4, - "end_line": 5 + "end_line": 4 } ], "authors": [], @@ -268,6 +272,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/test-package@0.0.1", "repository_homepage_url": "https://www.npmjs.com/package/test-package", "repository_download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", @@ -309,6 +314,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -325,11 +331,13 @@ "licenses": [ "apache-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -346,14 +354,14 @@ { "value": "Copyright (c) The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "holders": [ { "value": "The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "authors": [], @@ -393,6 +401,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -409,11 +418,13 @@ "licenses": [ "apache-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -430,14 +441,14 @@ { "value": "Copyright (c) The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "holders": [ { "value": "The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "authors": [], @@ -477,6 +488,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -493,11 +505,13 @@ "licenses": [ "apache-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -514,14 +528,14 @@ { "value": "Copyright (c) The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "holders": [ { "value": "The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "authors": [], @@ -561,6 +575,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -577,11 +592,13 @@ "licenses": [ "apache-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -598,14 +615,14 @@ { "value": "Copyright (c) The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "holders": [ { "value": "The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "authors": [], @@ -645,6 +662,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -661,11 +679,13 @@ "licenses": [ "apache-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -682,14 +702,14 @@ { "value": "Copyright (c) The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "holders": [ { "value": "The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "authors": [], diff --git a/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json b/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json index edf8663b14f..098c44f6ada 100644 --- a/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json +++ b/tests/summarycode/data/plugin_consolidate/package-fileset-expected.json @@ -53,6 +53,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/test-package@0.0.1", "repository_homepage_url": "https://www.npmjs.com/package/test-package", "repository_download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", @@ -134,6 +135,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -150,11 +152,13 @@ "licenses": [ "apache-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 4, "matched_length": 4, @@ -203,6 +207,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/test-package@0.0.1", "repository_homepage_url": "https://www.npmjs.com/package/test-package", "repository_download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", @@ -244,6 +249,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -260,11 +266,13 @@ "licenses": [ "apache-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -281,14 +289,14 @@ { "value": "Copyright (c) The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "holders": [ { "value": "The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "authors": [], @@ -328,6 +336,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -344,11 +353,13 @@ "licenses": [ "apache-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -365,14 +376,14 @@ { "value": "Copyright (c) The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "holders": [ { "value": "The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "authors": [], @@ -412,6 +423,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -428,11 +440,13 @@ "licenses": [ "apache-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -449,14 +463,14 @@ { "value": "Copyright (c) The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "holders": [ { "value": "The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "authors": [], diff --git a/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json b/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json index 4cb938d0ea1..fbcc873db4a 100644 --- a/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json +++ b/tests/summarycode/data/plugin_consolidate/package-manifest-expected.json @@ -53,6 +53,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/test-package@0.0.1", "repository_homepage_url": "https://www.npmjs.com/package/test-package", "repository_download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", @@ -130,6 +131,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -146,11 +148,13 @@ "licenses": [ "apache-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 4, "matched_length": 4, @@ -199,6 +203,7 @@ "dependencies": [], "contains_source_code": null, "source_packages": [], + "extra_data": {}, "purl": "pkg:npm/test-package@0.0.1", "repository_homepage_url": "https://www.npmjs.com/package/test-package", "repository_download_url": "https://registry.npmjs.org/test-package/-/test-package-0.0.1.tgz", diff --git a/tests/summarycode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json b/tests/summarycode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json index dab17481e91..77a29331245 100644 --- a/tests/summarycode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json +++ b/tests/summarycode/data/plugin_consolidate/report-subdirectory-with-minority-origin-expected.json @@ -116,6 +116,7 @@ "short_name": "MIT License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://opensource.org/licenses/mit-license.php", "text_url": "http://opensource.org/licenses/mit-license.php", @@ -132,11 +133,13 @@ "licenses": [ "mit" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 161, "matched_length": 161, @@ -200,6 +203,7 @@ "short_name": "MIT License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://opensource.org/licenses/mit-license.php", "text_url": "http://opensource.org/licenses/mit-license.php", @@ -216,11 +220,13 @@ "licenses": [ "mit" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 161, "matched_length": 161, @@ -284,6 +290,7 @@ "short_name": "MIT License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://opensource.org/licenses/mit-license.php", "text_url": "http://opensource.org/licenses/mit-license.php", @@ -300,11 +307,13 @@ "licenses": [ "mit" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 161, "matched_length": 161, @@ -402,6 +411,7 @@ "short_name": "MIT License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://opensource.org/licenses/mit-license.php", "text_url": "http://opensource.org/licenses/mit-license.php", @@ -418,11 +428,13 @@ "licenses": [ "mit" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 161, "matched_length": 161, diff --git a/tests/summarycode/data/plugin_consolidate/return-nested-local-majority-expected.json b/tests/summarycode/data/plugin_consolidate/return-nested-local-majority-expected.json index 1598d09a477..a19c9cc6ecb 100644 --- a/tests/summarycode/data/plugin_consolidate/return-nested-local-majority-expected.json +++ b/tests/summarycode/data/plugin_consolidate/return-nested-local-majority-expected.json @@ -148,6 +148,7 @@ "short_name": "Unknown License reference", "category": "Unstated License", "is_exception": false, + "is_unknown": true, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -164,11 +165,13 @@ "licenses": [ "unknown-license-reference" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": true, + "has_unknown": true, "matcher": "2-aho", "rule_length": 2, "matched_length": 2, @@ -183,6 +186,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -199,11 +203,13 @@ "licenses": [ "apache-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -221,14 +227,14 @@ { "value": "Copyright (c) The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "holders": [ { "value": "The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "authors": [], @@ -268,6 +274,7 @@ "short_name": "Unknown License reference", "category": "Unstated License", "is_exception": false, + "is_unknown": true, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -284,11 +291,13 @@ "licenses": [ "unknown-license-reference" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": true, + "has_unknown": true, "matcher": "2-aho", "rule_length": 2, "matched_length": 2, @@ -303,6 +312,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -319,11 +329,13 @@ "licenses": [ "apache-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -341,14 +353,14 @@ { "value": "Copyright (c) The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "holders": [ { "value": "The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "authors": [], @@ -422,6 +434,7 @@ "short_name": "GPL 1.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html", @@ -438,11 +451,13 @@ "licenses": [ "gpl-1.0-plus" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -457,6 +472,7 @@ "short_name": "GPL 2.0", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/gpl-2.0.html", "text_url": "http://www.gnu.org/licenses/gpl-2.0.txt", @@ -473,11 +489,13 @@ "licenses": [ "gpl-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -495,14 +513,14 @@ { "value": "Copyright (c) IBM Corp.", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "holders": [ { "value": "IBM Corp.", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "authors": [], @@ -542,6 +560,7 @@ "short_name": "Unknown License reference", "category": "Unstated License", "is_exception": false, + "is_unknown": true, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -558,11 +577,13 @@ "licenses": [ "unknown-license-reference" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": true, + "has_unknown": true, "matcher": "2-aho", "rule_length": 2, "matched_length": 2, @@ -577,6 +598,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -593,11 +615,13 @@ "licenses": [ "apache-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 3, "matched_length": 3, @@ -615,14 +639,14 @@ { "value": "Copyright (c) The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "holders": [ { "value": "The Apache Software Foundation", "start_line": 1, - "end_line": 2 + "end_line": 1 } ], "authors": [], diff --git a/tests/summarycode/data/plugin_consolidate/zlib-expected.json b/tests/summarycode/data/plugin_consolidate/zlib-expected.json index af13294937b..7447e60e6d2 100644 --- a/tests/summarycode/data/plugin_consolidate/zlib-expected.json +++ b/tests/summarycode/data/plugin_consolidate/zlib-expected.json @@ -798,6 +798,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -879,6 +880,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1068,6 +1070,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1282,6 +1285,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1697,6 +1701,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -1730,6 +1735,7 @@ "short_name": "Ada linking exception to GPL 2.0 or later", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Dmitriy Anisimkov", "homepage_url": null, "text_url": "", @@ -1824,6 +1830,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -1857,6 +1864,7 @@ "short_name": "Ada linking exception to GPL 2.0 or later", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Dmitriy Anisimkov", "homepage_url": null, "text_url": "", @@ -1939,6 +1947,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -1972,6 +1981,7 @@ "short_name": "Ada linking exception to GPL 2.0 or later", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Dmitriy Anisimkov", "homepage_url": null, "text_url": "", @@ -2119,6 +2129,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -2152,6 +2163,7 @@ "short_name": "Ada linking exception to GPL 2.0 or later", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Dmitriy Anisimkov", "homepage_url": null, "text_url": "", @@ -2234,6 +2246,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -2267,6 +2280,7 @@ "short_name": "Ada linking exception to GPL 2.0 or later", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Dmitriy Anisimkov", "homepage_url": null, "text_url": "", @@ -2349,6 +2363,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -2382,6 +2397,7 @@ "short_name": "Ada linking exception to GPL 2.0 or later", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Dmitriy Anisimkov", "homepage_url": null, "text_url": "", @@ -2464,6 +2480,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -2497,6 +2514,7 @@ "short_name": "Ada linking exception to GPL 2.0 or later", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Dmitriy Anisimkov", "homepage_url": null, "text_url": "", @@ -2579,6 +2597,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -2612,6 +2631,7 @@ "short_name": "Ada linking exception to GPL 2.0 or later", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Dmitriy Anisimkov", "homepage_url": null, "text_url": "", @@ -2694,6 +2714,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -2727,6 +2748,7 @@ "short_name": "Ada linking exception to GPL 2.0 or later", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Dmitriy Anisimkov", "homepage_url": null, "text_url": "", @@ -2809,6 +2831,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -2842,6 +2865,7 @@ "short_name": "Ada linking exception to GPL 2.0 or later", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Dmitriy Anisimkov", "homepage_url": null, "text_url": "", @@ -2988,6 +3012,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -3133,6 +3158,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -3322,6 +3348,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -3403,6 +3430,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -3970,6 +3998,7 @@ "short_name": "Boost 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Boost", "homepage_url": "http://www.boost.org/users/license.html", "text_url": "http://www.boost.org/LICENSE_1_0.txt", @@ -4057,6 +4086,7 @@ "short_name": "Boost 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Boost", "homepage_url": "http://www.boost.org/users/license.html", "text_url": "http://www.boost.org/LICENSE_1_0.txt", @@ -4144,6 +4174,7 @@ "short_name": "Boost 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Boost", "homepage_url": "http://www.boost.org/users/license.html", "text_url": "http://www.boost.org/LICENSE_1_0.txt", @@ -4231,6 +4262,7 @@ "short_name": "Boost 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Boost", "homepage_url": "http://www.boost.org/users/license.html", "text_url": "http://www.boost.org/LICENSE_1_0.txt", @@ -4318,6 +4350,7 @@ "short_name": "Boost 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Boost", "homepage_url": "http://www.boost.org/users/license.html", "text_url": "http://www.boost.org/LICENSE_1_0.txt", @@ -4437,6 +4470,7 @@ "short_name": "Boost 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Boost", "homepage_url": "http://www.boost.org/users/license.html", "text_url": "http://www.boost.org/LICENSE_1_0.txt", @@ -4524,6 +4558,7 @@ "short_name": "Boost 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Boost", "homepage_url": "http://www.boost.org/users/license.html", "text_url": "http://www.boost.org/LICENSE_1_0.txt", @@ -4611,6 +4646,7 @@ "short_name": "Boost 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Boost", "homepage_url": "http://www.boost.org/users/license.html", "text_url": "http://www.boost.org/LICENSE_1_0.txt", @@ -4703,6 +4739,7 @@ "short_name": "Boost 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Boost", "homepage_url": "http://www.boost.org/users/license.html", "text_url": "http://www.boost.org/LICENSE_1_0.txt", @@ -4770,6 +4807,7 @@ "short_name": "Boost 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Boost", "homepage_url": "http://www.boost.org/users/license.html", "text_url": "http://www.boost.org/LICENSE_1_0.txt", @@ -4891,6 +4929,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -5073,6 +5112,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -5154,6 +5194,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -5267,6 +5308,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -5348,6 +5390,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -5439,6 +5482,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -5554,6 +5598,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -5668,6 +5713,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -5939,6 +5985,7 @@ "short_name": "MIT Old Style", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", "text_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", @@ -6090,6 +6137,7 @@ "short_name": "Other Permissive Licenses", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "nexB", "homepage_url": null, "text_url": "", @@ -6427,6 +6475,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -6543,6 +6592,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -6822,6 +6872,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -6940,6 +6991,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -7246,6 +7298,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -8111,6 +8164,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -8186,6 +8240,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -8261,6 +8316,7 @@ "short_name": "Info-Zip License 2009-01", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "info-zip", "homepage_url": "http://www.info-zip.org/", "text_url": "ftp://ftp.info-zip.org/pub/infozip/license.html", @@ -8440,6 +8496,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -8639,6 +8696,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -8779,6 +8837,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -8882,6 +8941,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -9049,6 +9109,7 @@ "short_name": "Unknown License reference", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -9232,6 +9293,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -9319,6 +9381,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -9406,6 +9469,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -11724,6 +11788,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -11843,6 +11908,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -11946,6 +12012,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -11978,6 +12045,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -12144,6 +12212,7 @@ "short_name": "Peter Deutsch Document License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Peter Deutsch", "homepage_url": "http://www.ietf.org/rfc/rfc1952.txt", "text_url": "http://www.ietf.org/rfc/rfc1952.txt", @@ -12267,6 +12336,7 @@ "short_name": "Peter Deutsch Document License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Peter Deutsch", "homepage_url": "http://www.ietf.org/rfc/rfc1952.txt", "text_url": "http://www.ietf.org/rfc/rfc1952.txt", @@ -12390,6 +12460,7 @@ "short_name": "Peter Deutsch Document License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Peter Deutsch", "homepage_url": "http://www.ietf.org/rfc/rfc1952.txt", "text_url": "http://www.ietf.org/rfc/rfc1952.txt", @@ -12671,6 +12742,7 @@ "short_name": "Public Domain", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": "http://www.linfo.org/publicdomain.html", "text_url": "", @@ -12738,6 +12810,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -12829,6 +12902,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -12926,6 +13000,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -13013,6 +13088,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -13094,6 +13170,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -13181,6 +13258,7 @@ "short_name": "Public Domain", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": "http://www.linfo.org/publicdomain.html", "text_url": "", @@ -13272,6 +13350,7 @@ "short_name": "Public Domain", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": "http://www.linfo.org/publicdomain.html", "text_url": "", @@ -13339,6 +13418,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -13420,6 +13500,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -13501,6 +13582,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -13582,6 +13664,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -13663,6 +13746,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -13744,6 +13828,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -13825,6 +13910,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -13906,6 +13992,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -13987,6 +14074,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -14100,6 +14188,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -14181,6 +14270,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -14262,6 +14352,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -14353,6 +14444,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -14547,6 +14639,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -14628,6 +14721,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -14913,6 +15007,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -15140,6 +15235,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -15574,6 +15670,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -15655,6 +15752,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -15736,6 +15834,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -15855,6 +15954,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -15974,6 +16074,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -16264,6 +16365,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -16391,6 +16493,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -16631,6 +16734,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -16712,6 +16816,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -16793,6 +16898,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -16874,6 +16980,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -17028,6 +17135,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -17177,6 +17285,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -17409,6 +17518,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -17490,6 +17600,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", diff --git a/tests/summarycode/data/plugin_consolidate/zlib.json b/tests/summarycode/data/plugin_consolidate/zlib.json index 4cbac2a549c..96a3f2973cb 100644 --- a/tests/summarycode/data/plugin_consolidate/zlib.json +++ b/tests/summarycode/data/plugin_consolidate/zlib.json @@ -87,6 +87,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -303,6 +304,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -430,6 +432,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -547,6 +550,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -648,6 +652,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -680,6 +685,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -859,6 +865,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -938,6 +945,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1017,6 +1025,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1096,6 +1105,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1175,6 +1185,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1286,6 +1297,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1365,6 +1377,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1444,6 +1457,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1555,6 +1569,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1634,6 +1649,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1713,6 +1729,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1802,6 +1819,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -1962,6 +1980,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -2041,6 +2060,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -2260,6 +2280,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -2377,6 +2398,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -2456,6 +2478,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -2535,6 +2558,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -2614,6 +2638,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -2693,6 +2718,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -2845,6 +2871,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -2992,6 +3019,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -3222,6 +3250,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -3301,6 +3330,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -3790,6 +3820,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -3823,6 +3854,7 @@ "short_name": "Ada linking exception to GPL 2.0 or later", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Dmitriy Anisimkov", "homepage_url": null, "text_url": "", @@ -3915,6 +3947,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -3948,6 +3981,7 @@ "short_name": "Ada linking exception to GPL 2.0 or later", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Dmitriy Anisimkov", "homepage_url": null, "text_url": "", @@ -4028,6 +4062,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -4061,6 +4096,7 @@ "short_name": "Ada linking exception to GPL 2.0 or later", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Dmitriy Anisimkov", "homepage_url": null, "text_url": "", @@ -4206,6 +4242,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -4239,6 +4276,7 @@ "short_name": "Ada linking exception to GPL 2.0 or later", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Dmitriy Anisimkov", "homepage_url": null, "text_url": "", @@ -4319,6 +4357,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -4352,6 +4391,7 @@ "short_name": "Ada linking exception to GPL 2.0 or later", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Dmitriy Anisimkov", "homepage_url": null, "text_url": "", @@ -4432,6 +4472,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -4465,6 +4506,7 @@ "short_name": "Ada linking exception to GPL 2.0 or later", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Dmitriy Anisimkov", "homepage_url": null, "text_url": "", @@ -4545,6 +4587,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -4578,6 +4621,7 @@ "short_name": "Ada linking exception to GPL 2.0 or later", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Dmitriy Anisimkov", "homepage_url": null, "text_url": "", @@ -4658,6 +4702,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -4691,6 +4736,7 @@ "short_name": "Ada linking exception to GPL 2.0 or later", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Dmitriy Anisimkov", "homepage_url": null, "text_url": "", @@ -4771,6 +4817,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -4804,6 +4851,7 @@ "short_name": "Ada linking exception to GPL 2.0 or later", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Dmitriy Anisimkov", "homepage_url": null, "text_url": "", @@ -4884,6 +4932,7 @@ "short_name": "GPL 2.0 or later", "category": "Copyleft", "is_exception": false, + "is_unknown": false, "owner": "Free Software Foundation (FSF)", "homepage_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", "text_url": "http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html", @@ -4917,6 +4966,7 @@ "short_name": "Ada linking exception to GPL 2.0 or later", "category": "Copyleft Limited", "is_exception": true, + "is_unknown": false, "owner": "Dmitriy Anisimkov", "homepage_url": null, "text_url": "", @@ -5061,6 +5111,7 @@ "short_name": "BSD-3-Clause", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Regents of the University of California", "homepage_url": "http://www.opensource.org/licenses/BSD-3-Clause", "text_url": "http://www.opensource.org/licenses/BSD-3-Clause", @@ -5160,6 +5211,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -5321,6 +5373,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -5400,6 +5453,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -5949,6 +6003,7 @@ "short_name": "Boost 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Boost", "homepage_url": "http://www.boost.org/users/license.html", "text_url": "http://www.boost.org/LICENSE_1_0.txt", @@ -6016,6 +6071,7 @@ "short_name": "Boost 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Boost", "homepage_url": "http://www.boost.org/users/license.html", "text_url": "http://www.boost.org/LICENSE_1_0.txt", @@ -6177,6 +6233,7 @@ "short_name": "Boost 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Boost", "homepage_url": "http://www.boost.org/users/license.html", "text_url": "http://www.boost.org/LICENSE_1_0.txt", @@ -6262,6 +6319,7 @@ "short_name": "Boost 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Boost", "homepage_url": "http://www.boost.org/users/license.html", "text_url": "http://www.boost.org/LICENSE_1_0.txt", @@ -6347,6 +6405,7 @@ "short_name": "Boost 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Boost", "homepage_url": "http://www.boost.org/users/license.html", "text_url": "http://www.boost.org/LICENSE_1_0.txt", @@ -6432,6 +6491,7 @@ "short_name": "Boost 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Boost", "homepage_url": "http://www.boost.org/users/license.html", "text_url": "http://www.boost.org/LICENSE_1_0.txt", @@ -6517,6 +6577,7 @@ "short_name": "Boost 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Boost", "homepage_url": "http://www.boost.org/users/license.html", "text_url": "http://www.boost.org/LICENSE_1_0.txt", @@ -6634,6 +6695,7 @@ "short_name": "Boost 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Boost", "homepage_url": "http://www.boost.org/users/license.html", "text_url": "http://www.boost.org/LICENSE_1_0.txt", @@ -6719,6 +6781,7 @@ "short_name": "Boost 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Boost", "homepage_url": "http://www.boost.org/users/license.html", "text_url": "http://www.boost.org/LICENSE_1_0.txt", @@ -6804,6 +6867,7 @@ "short_name": "Boost 1.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Boost", "homepage_url": "http://www.boost.org/users/license.html", "text_url": "http://www.boost.org/LICENSE_1_0.txt", @@ -6926,6 +6990,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -7074,6 +7139,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -7153,6 +7219,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -7264,6 +7331,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -7343,6 +7411,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -7432,6 +7501,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -7575,6 +7645,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -7686,6 +7757,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -7952,6 +8024,7 @@ "short_name": "MIT Old Style", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", "text_url": "http://fedoraproject.org/wiki/Licensing:MIT#Old_Style", @@ -8101,6 +8174,7 @@ "short_name": "Other Permissive Licenses", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "nexB", "homepage_url": null, "text_url": "", @@ -8438,6 +8512,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -8554,6 +8629,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -8831,6 +8907,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -8947,6 +9024,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -9957,6 +10035,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -10063,6 +10142,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -10136,6 +10216,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -10209,6 +10290,7 @@ "short_name": "Info-Zip License 2009-01", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "info-zip", "homepage_url": "http://www.info-zip.org/", "text_url": "ftp://ftp.info-zip.org/pub/infozip/license.html", @@ -10381,6 +10463,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -10571,6 +10654,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -10703,6 +10787,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -10802,6 +10887,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -10963,6 +11049,7 @@ "short_name": "Unknown License reference", "category": "Unstated License", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": null, "text_url": "", @@ -11106,6 +11193,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -11191,6 +11279,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -11276,6 +11365,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -13701,6 +13791,7 @@ "short_name": "Peter Deutsch Document License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Peter Deutsch", "homepage_url": "http://www.ietf.org/rfc/rfc1952.txt", "text_url": "http://www.ietf.org/rfc/rfc1952.txt", @@ -13822,6 +13913,7 @@ "short_name": "Peter Deutsch Document License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Peter Deutsch", "homepage_url": "http://www.ietf.org/rfc/rfc1952.txt", "text_url": "http://www.ietf.org/rfc/rfc1952.txt", @@ -13943,6 +14035,7 @@ "short_name": "Peter Deutsch Document License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Peter Deutsch", "homepage_url": "http://www.ietf.org/rfc/rfc1952.txt", "text_url": "http://www.ietf.org/rfc/rfc1952.txt", @@ -14188,6 +14281,7 @@ "short_name": "Public Domain", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": "http://www.linfo.org/publicdomain.html", "text_url": "", @@ -14255,6 +14349,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -14344,6 +14439,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -14439,6 +14535,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -14524,6 +14621,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -14603,6 +14701,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -14720,6 +14819,7 @@ "short_name": "Public Domain", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": "http://www.linfo.org/publicdomain.html", "text_url": "", @@ -14809,6 +14909,7 @@ "short_name": "Public Domain", "category": "Public Domain", "is_exception": false, + "is_unknown": false, "owner": "Unspecified", "homepage_url": "http://www.linfo.org/publicdomain.html", "text_url": "", @@ -14876,6 +14977,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -15019,6 +15121,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -15098,6 +15201,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -15425,6 +15529,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -15654,6 +15759,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -16038,6 +16144,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -16117,6 +16224,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -16196,6 +16304,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -16490,6 +16599,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", @@ -16613,6 +16723,7 @@ "short_name": "ZLIB License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "zlib", "homepage_url": "http://www.zlib.net/", "text_url": "http://www.gzip.org/zlib/zlib_license.html", diff --git a/tests/summarycode/data/score/basic-expected.json b/tests/summarycode/data/score/basic-expected.json index 3835635b406..883106a357e 100644 --- a/tests/summarycode/data/score/basic-expected.json +++ b/tests/summarycode/data/score/basic-expected.json @@ -90,6 +90,7 @@ "short_name": "MIT License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://opensource.org/licenses/mit-license.php", "text_url": "http://opensource.org/licenses/mit-license.php", @@ -106,11 +107,13 @@ "licenses": [ "mit" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 161, "matched_length": 161, @@ -163,6 +166,7 @@ "short_name": "MIT License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://opensource.org/licenses/mit-license.php", "text_url": "http://opensource.org/licenses/mit-license.php", @@ -179,11 +183,13 @@ "licenses": [ "mit" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 161, "matched_length": 161, @@ -248,6 +254,7 @@ "short_name": "MIT License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://opensource.org/licenses/mit-license.php", "text_url": "http://opensource.org/licenses/mit-license.php", @@ -264,11 +271,13 @@ "licenses": [ "mit" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 2, "matched_length": 2, @@ -287,7 +296,7 @@ { "value": "Alexander Plavinski ", "start_line": 6, - "end_line": 8 + "end_line": 6 } ], "is_legal": false, diff --git a/tests/summarycode/data/score/consistent_licenses-expected.json b/tests/summarycode/data/score/consistent_licenses-expected.json index 007a95678e4..3c6009854a6 100644 --- a/tests/summarycode/data/score/consistent_licenses-expected.json +++ b/tests/summarycode/data/score/consistent_licenses-expected.json @@ -125,6 +125,7 @@ "short_name": "MIT License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://opensource.org/licenses/mit-license.php", "text_url": "http://opensource.org/licenses/mit-license.php", @@ -141,11 +142,13 @@ "licenses": [ "mit" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 2, "matched_length": 2, @@ -164,7 +167,7 @@ { "value": "Alexander Plavinski ", "start_line": 6, - "end_line": 8 + "end_line": 6 } ], "is_legal": false, @@ -239,6 +242,7 @@ "short_name": "MIT License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://opensource.org/licenses/mit-license.php", "text_url": "http://opensource.org/licenses/mit-license.php", @@ -255,11 +259,13 @@ "licenses": [ "mit" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "1-spdx-id", "rule_length": 4, "matched_length": 4, diff --git a/tests/summarycode/data/score/consistent_licenses_not-expected.json b/tests/summarycode/data/score/consistent_licenses_not-expected.json index 64b3731daf8..00b8260ad62 100644 --- a/tests/summarycode/data/score/consistent_licenses_not-expected.json +++ b/tests/summarycode/data/score/consistent_licenses_not-expected.json @@ -125,6 +125,7 @@ "short_name": "MIT License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://opensource.org/licenses/mit-license.php", "text_url": "http://opensource.org/licenses/mit-license.php", @@ -141,11 +142,13 @@ "licenses": [ "mit" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 2, "matched_length": 2, @@ -164,7 +167,7 @@ { "value": "Alexander Plavinski ", "start_line": 6, - "end_line": 8 + "end_line": 6 } ], "is_legal": false, @@ -239,6 +242,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -255,11 +259,13 @@ "licenses": [ "apache-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "1-spdx-id", "rule_length": 6, "matched_length": 6, diff --git a/tests/summarycode/data/score/consistent_licenses_not_spdx-expected.json b/tests/summarycode/data/score/consistent_licenses_not_spdx-expected.json index a03c64607bf..441deca80cd 100644 --- a/tests/summarycode/data/score/consistent_licenses_not_spdx-expected.json +++ b/tests/summarycode/data/score/consistent_licenses_not_spdx-expected.json @@ -90,6 +90,7 @@ "short_name": "MIT Xfig Variant", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Xfig Project", "homepage_url": "http://www.xfig.org", "text_url": "", @@ -106,11 +107,13 @@ "licenses": [ "mit-xfig" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 81, "matched_length": 81, @@ -164,7 +167,7 @@ { "value": "Alexander Plavinski ", "start_line": 6, - "end_line": 8 + "end_line": 6 } ], "is_legal": false, @@ -239,6 +242,7 @@ "short_name": "MIT Xfig Variant", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Xfig Project", "homepage_url": "http://www.xfig.org", "text_url": "", @@ -255,11 +259,13 @@ "licenses": [ "mit-xfig" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "1-hash", "rule_length": 81, "matched_length": 81, diff --git a/tests/summarycode/data/score/file_coverage-expected.json b/tests/summarycode/data/score/file_coverage-expected.json index 2fb49f64417..167668a3e2b 100644 --- a/tests/summarycode/data/score/file_coverage-expected.json +++ b/tests/summarycode/data/score/file_coverage-expected.json @@ -125,6 +125,7 @@ "short_name": "MIT License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://opensource.org/licenses/mit-license.php", "text_url": "http://opensource.org/licenses/mit-license.php", @@ -141,11 +142,13 @@ "licenses": [ "mit" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 2, "matched_length": 2, @@ -164,7 +167,7 @@ { "value": "Alexander Plavinski ", "start_line": 6, - "end_line": 8 + "end_line": 6 } ], "is_legal": false, @@ -239,6 +242,7 @@ "short_name": "MIT License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://opensource.org/licenses/mit-license.php", "text_url": "http://opensource.org/licenses/mit-license.php", @@ -255,11 +259,13 @@ "licenses": [ "mit" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "1-spdx-id", "rule_length": 4, "matched_length": 4, diff --git a/tests/summarycode/data/score/full_text-expected.json b/tests/summarycode/data/score/full_text-expected.json index c457dd667dc..6bd9ffaab56 100644 --- a/tests/summarycode/data/score/full_text-expected.json +++ b/tests/summarycode/data/score/full_text-expected.json @@ -125,6 +125,7 @@ "short_name": "MIT License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://opensource.org/licenses/mit-license.php", "text_url": "http://opensource.org/licenses/mit-license.php", @@ -141,11 +142,13 @@ "licenses": [ "mit" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 2, "matched_length": 2, @@ -164,7 +167,7 @@ { "value": "Alexander Plavinski ", "start_line": 6, - "end_line": 8 + "end_line": 6 } ], "is_legal": false, @@ -239,6 +242,7 @@ "short_name": "MIT License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://opensource.org/licenses/mit-license.php", "text_url": "http://opensource.org/licenses/mit-license.php", @@ -255,11 +259,13 @@ "licenses": [ "mit" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "1-hash", "rule_length": 161, "matched_length": 161, @@ -312,6 +318,7 @@ "short_name": "MIT License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://opensource.org/licenses/mit-license.php", "text_url": "http://opensource.org/licenses/mit-license.php", @@ -328,11 +335,13 @@ "licenses": [ "mit" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "1-spdx-id", "rule_length": 4, "matched_length": 4, diff --git a/tests/summarycode/data/score/full_text_in_key_files-expected.json b/tests/summarycode/data/score/full_text_in_key_files-expected.json index e2751133615..98a01963a61 100644 --- a/tests/summarycode/data/score/full_text_in_key_files-expected.json +++ b/tests/summarycode/data/score/full_text_in_key_files-expected.json @@ -90,6 +90,7 @@ "short_name": "MIT License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://opensource.org/licenses/mit-license.php", "text_url": "http://opensource.org/licenses/mit-license.php", @@ -106,11 +107,13 @@ "licenses": [ "mit" ], + "referenced_filenames": [], "is_license_text": true, "is_license_notice": false, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "1-hash", "rule_length": 161, "matched_length": 161, @@ -198,6 +201,7 @@ "short_name": "MIT License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://opensource.org/licenses/mit-license.php", "text_url": "http://opensource.org/licenses/mit-license.php", @@ -214,11 +218,13 @@ "licenses": [ "mit" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 2, "matched_length": 2, @@ -237,7 +243,7 @@ { "value": "Alexander Plavinski ", "start_line": 6, - "end_line": 8 + "end_line": 6 } ], "is_legal": false, @@ -312,6 +318,7 @@ "short_name": "MIT License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://opensource.org/licenses/mit-license.php", "text_url": "http://opensource.org/licenses/mit-license.php", @@ -328,11 +335,13 @@ "licenses": [ "mit" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "1-spdx-id", "rule_length": 4, "matched_length": 4, diff --git a/tests/summarycode/data/score/spdx_licenses-expected.json b/tests/summarycode/data/score/spdx_licenses-expected.json index fa1464f9dbc..60b6241d486 100644 --- a/tests/summarycode/data/score/spdx_licenses-expected.json +++ b/tests/summarycode/data/score/spdx_licenses-expected.json @@ -125,6 +125,7 @@ "short_name": "MIT License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://opensource.org/licenses/mit-license.php", "text_url": "http://opensource.org/licenses/mit-license.php", @@ -141,11 +142,13 @@ "licenses": [ "mit" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 2, "matched_length": 2, @@ -164,7 +167,7 @@ { "value": "Alexander Plavinski ", "start_line": 6, - "end_line": 8 + "end_line": 6 } ], "is_legal": false, @@ -239,6 +242,7 @@ "short_name": "MIT License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://opensource.org/licenses/mit-license.php", "text_url": "http://opensource.org/licenses/mit-license.php", @@ -255,11 +259,13 @@ "licenses": [ "mit" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "1-spdx-id", "rule_length": 4, "matched_length": 4, @@ -312,6 +318,7 @@ "short_name": "Apache 2.0", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "Apache Software Foundation", "homepage_url": "http://www.apache.org/licenses/", "text_url": "http://www.apache.org/licenses/LICENSE-2.0", @@ -328,11 +335,13 @@ "licenses": [ "apache-2.0" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": true, "is_license_reference": false, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 4, "matched_length": 4, diff --git a/tests/summarycode/data/score/spdx_licenses_not-expected.json b/tests/summarycode/data/score/spdx_licenses_not-expected.json index 38aa30d7d0b..5d6a4508fdc 100644 --- a/tests/summarycode/data/score/spdx_licenses_not-expected.json +++ b/tests/summarycode/data/score/spdx_licenses_not-expected.json @@ -125,6 +125,7 @@ "short_name": "MIT License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://opensource.org/licenses/mit-license.php", "text_url": "http://opensource.org/licenses/mit-license.php", @@ -141,11 +142,13 @@ "licenses": [ "mit" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 2, "matched_length": 2, @@ -164,7 +167,7 @@ { "value": "Alexander Plavinski ", "start_line": 6, - "end_line": 8 + "end_line": 6 } ], "is_legal": false, @@ -239,6 +242,7 @@ "short_name": "MIT License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://opensource.org/licenses/mit-license.php", "text_url": "http://opensource.org/licenses/mit-license.php", @@ -255,11 +259,13 @@ "licenses": [ "mit" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "1-spdx-id", "rule_length": 4, "matched_length": 4, @@ -312,6 +318,7 @@ "short_name": "Other Permissive Licenses", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "nexB", "homepage_url": null, "text_url": "", @@ -328,11 +335,13 @@ "licenses": [ "other-permissive" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": true, "is_license_tag": false, "is_license_intro": false, + "has_unknown": false, "matcher": "1-hash", "rule_length": 16, "matched_length": 16, diff --git a/tests/summarycode/data/score/top_declared-expected.json b/tests/summarycode/data/score/top_declared-expected.json index 296de60cabe..8648f444310 100644 --- a/tests/summarycode/data/score/top_declared-expected.json +++ b/tests/summarycode/data/score/top_declared-expected.json @@ -160,6 +160,7 @@ "short_name": "MIT License", "category": "Permissive", "is_exception": false, + "is_unknown": false, "owner": "MIT", "homepage_url": "http://opensource.org/licenses/mit-license.php", "text_url": "http://opensource.org/licenses/mit-license.php", @@ -176,11 +177,13 @@ "licenses": [ "mit" ], + "referenced_filenames": [], "is_license_text": false, "is_license_notice": false, "is_license_reference": false, "is_license_tag": true, "is_license_intro": false, + "has_unknown": false, "matcher": "2-aho", "rule_length": 2, "matched_length": 2, @@ -199,7 +202,7 @@ { "value": "Alexander Plavinski ", "start_line": 6, - "end_line": 8 + "end_line": 6 } ], "is_legal": false, diff --git a/tests/summarycode/data/score/top_declared_not-expected.json b/tests/summarycode/data/score/top_declared_not-expected.json index df5bbb2e02e..33a90620a77 100644 --- a/tests/summarycode/data/score/top_declared_not-expected.json +++ b/tests/summarycode/data/score/top_declared_not-expected.json @@ -161,7 +161,7 @@ { "value": "Alexander Plavinski ", "start_line": 6, - "end_line": 8 + "end_line": 6 } ], "is_legal": false, diff --git a/tests/summarycode/test_generated.py b/tests/summarycode/test_generated.py index e7cc81a0957..84fd336605e 100644 --- a/tests/summarycode/test_generated.py +++ b/tests/summarycode/test_generated.py @@ -20,9 +20,9 @@ class TestGeneratedCode(FileBasedTesting): def test_basic(self): expected = [ - '// This file was generated by the JavaTM Architecture ' - 'for XML Binding(JAXB) Reference Implementation', - '// Generated on: 2011.08.01 at 11:35:59 AM CEST' + '// This file was generated by the JavaTM Architecture '.lower() + + 'for XML Binding(JAXB) Reference Implementation'.lower(), + '// Generated on: 2011.08.01 at 11:35:59 AM CEST'.lower() ] test_file = self.get_test_loc('generated/simple/generated_1.java') result = list(generated.get_generated_code_hint(location=test_file)) @@ -30,44 +30,44 @@ def test_basic(self): def test_basic_alt(self): expected = [ - '// This file was generated by the JavaTM Architecture ' - 'for XML Binding(JAXB) Reference Implementation', - '// Generated on: 2013.11.15 at 04:17:00 PM CET' + '// This file was generated by the JavaTM Architecture '.lower() + + 'for XML Binding(JAXB) Reference Implementation'.lower(), + '// Generated on: 2013.11.15 at 04:17:00 PM CET'.lower() ] test_file = self.get_test_loc('generated/simple/generated_3.java') result = list(generated.get_generated_code_hint(location=test_file)) assert result == expected def test_basic2(self): - expected = ['* This class was generated by the JAX-WS RI.'] + expected = ['* This class was generated by the JAX-WS RI.'.lower()] test_file = self.get_test_loc('generated/simple/generated_2.java') result = list(generated.get_generated_code_hint(location=test_file)) assert result == expected def test_basic3(self): - expected = ['/* This class was automatically generated'] + expected = ['/* This class was automatically generated'.lower()] test_file = self.get_test_loc('generated/simple/generated_4.java') result = list(generated.get_generated_code_hint(location=test_file)) assert result == expected def test_basic4(self): expected = [ - '*

The following schema fragment specifies the ' - 'expected content contained within this class.' + '*

The following schema fragment specifies the '.lower() + + 'expected content contained within this class.'.lower() ] test_file = self.get_test_loc('generated/simple/generated_5.java') result = list(generated.get_generated_code_hint(location=test_file)) assert result == expected def test_basic5(self): - expected = ['/* DO NOT EDIT THIS FILE - it is machine generated */'] + expected = ['/* DO NOT EDIT THIS FILE - it is machine generated */'.lower()] test_file = self.get_test_loc('generated/simple/generated_6.c') result = list(generated.get_generated_code_hint(location=test_file)) assert result == expected def test_configure(self): expected = [ - '# Generated by GNU Autoconf 2.64 for Apache CouchDB 1.0.1.' + '# Generated by GNU Autoconf 2.64 for Apache CouchDB 1.0.1.'.lower() ] test_file = self.get_test_loc('generated/simple/configure') result = list(generated.get_generated_code_hint(location=test_file)) @@ -75,7 +75,7 @@ def test_configure(self): def test_tomcat_jspc(self): expected = [ - '